PageSourceSearch

https://softcollie.ai/chunk-BPUG7WUM.js

js softcollie.ai collected 2026-10-05 15:03:17 UTC 5,692 bytes, 1 lines download raw bytes

1import{a as U}from"./chunk-6AT5A2BN.js";import{j as V}from"./chunk-5VBVN4XO.js";import"./chunk-UYODVI7O.js";import"./chunk-MOXDLQT4.js";import"./chunk-VLJ55T5Q.js";import"./chunk-ZACTTJ4S.js";import{c as $,e as z}from"./chunk-EKU7OH35.js";import"./chunk-V2PPMFND.js";import{$a as C,Db as g,Ha as E,Ib as x,Lb as M,Mb as S,Nb as r,Ob as i,Tb as B,Vb as P,Wb as s,ba as f,db as n,fc as c,gc as p,gd as F,hc as w,ic as I,jd as b,kd as k,ma as y,md as D,na as O,pb as A,uc as l,vb as m,vc as d,wc as u}from"./chunk-5SAOKRHL.js";import{g as T}from"./chunk-NZN5XTIE.js";var H=(e,a)=>a.id,j=(e,a)=>a.description;function q(e,a){e&1&&(r(0,"p"),c(1),l(2,"translate"),i()),e&2&&(n(),p(d(2,1,"account.loading")))}function L(e,a){e&1&&(r(0,"p",2),c(1),l(2,"translate"),i()),e&2&&(n(),p(d(2,1,"account.noOrders")))}function N(e,a){if(e&1&&(r(0,"a",12),c(1),l(2,"translate"),i()),e&2){let t=s();g("href",t.url,C),n(),w(" ",t.carrier||d(2,2,"account.orders.trackIt")," ")}}function R(e,a){if(e&1&&(r(0,"span"),c(1),i()),e&2){let t=s();n(),I("",t.carrier," ",t.code,"")}}function G(e,a){if(e&1&&m(0,N,3,4,"a",12)(1,R,2,2,"span"),e&2){let t=a;x(t.url?0:t.code?1:-1)}}function J(e,a){if(e&1&&(r(0,"div",7)(1,"span",11),c(2),l(3,"translate"),i(),m(4,G,2,1),i()),e&2){let t,o=s().$implicit;n(2),w(" ",d(3,2,"account.orders.shipment."+a)," "),n(2),x((t=o.tracking)?4:-1,t)}}function K(e,a){if(e&1&&(r(0,"li"),c(1),i()),e&2){let t=a.$implicit;n(),I("",t.quantity,"\xD7 ",t.description,"")}}function Q(e,a){if(e&1&&(r(0,"div",9)(1,"span"),c(2),l(3,"translate"),i(),r(4,"span"),c(5),l(6,"currency"),i()(),r(7,"div",13)(8,"span"),c(9),l(10,"translate"),i(),r(11,"span"),c(12),l(13,"currency"),i()()),e&2){let t=s().$implicit;n(2),p(d(3,4,"cart.serviceFee")),n(3),p(u(6,6,t.platformSurcharge,t.currency)),n(4),p(d(10,9,"cart.totalToPay")),n(3),p(u(13,11,t.chargedTotal,t.currency))}}function W(e,a){if(e&1){let t=B();r(0,"li",4)(1,"div",5)(2,"a",6),P("click",function(_){let v=y(t).$implicit,h=s(2);return O(h.openDetail(v.id,_))}),c(3),i(),r(4,"span"),c(5),l(6,"date"),i()(),m(7,J,5,4,"div",7),r(8,"ul",8),M(9,K,2,2,"li",null,j),i(),r(11,"div",9)(12,"span"),c(13),l(14,"translate"),i(),r(15,"span"),c(16),l(17,"currency"),i()(),m(18,Q,14,14),r(19,"a",10),P("click",function(_){let v=y(t).$implicit,h=s(2);return O(h.openDetail(v.id,_))}),c(20),l(21,"translate"),i()()}if(e&2){let t,o=a.$implicit,_=s(2);n(2),g("href",_.detailHref(o.id),C),n(),p(o.reference),n(2),p(u(6,9,o.createdAt,"dd/MM/yyyy")),n(2),x((t=o.shipmentStatus)?7:-1,t),n(2),S(o.lines),n(4),p(d(14,12,"cart.subtotal")),n(3),p(u(17,14,o.grandTotal,o.currency)),n(2),x(o.platformSurcharge>0?18:-1),n(),g("href",_.detailHref(o.id),C),n(),w(" ",d(21,17,"account.orders.viewDetail")," \u2192 ")}}function X(e,a){if(e&1&&(r(0,"ul",3),M(1,W,22,19,"li",4,H),i()),e&2){let t=s();n(),S(t.store.orders())}}var le=(()=>{class e{constructor(){this.store=f(U),this.nav=f(V),this.platformId=f(E)}ngOnInit(){return T(this,null,function*(){D(this.platformId)&&(yield this.store.loadOrders())})}detailHref(t){return this.nav.href(`/account/orders/${t}`)}openDetail(t,o){o.preventDefault(),this.nav.go(`/account/orders/${t}`)}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=A({type:e,selectors:[["wr-account-orders"]],decls:7,vars:4,consts:[[1,"wr-acc-o"],[1,"wr-acc-o__title"],[1,"wr-acc-o__empty"],[1,"wr-acc-o__list"],[1,"wr-acc-o__item"],[1,"wr-acc-o__row"],[1,"wr-acc-o__ref",3,"click","href"],[1,"wr-acc-o__row","wr-acc-o__shipping"],[1,"wr-acc-o__lines"],[1,"wr-acc-o__row","wr-acc-o__totals"],[1,"wr-acc-o__detail",3,"click","href"],[1,"wr-acc-o__ship-state"],["target","_blank","rel","noopener noreferrer",3,"href"],[1,"wr-acc-o__row","wr-acc-o__totals","wr-acc-o__grand"]],template:function(o,_){o&1&&(r(0,"section",0)(1,"h2",1),c(2),l(3,"translate"),i(),m(4,q,3,3,"p")(5,L,3,3,"p",2)(6,X,3,0,"ul",3),i()),o&2&&(n(2),p(d(3,2,"account.myOrders")),n(2),x(_.store.busy()?4:_.store.orders().length===0?5:6))},dependencies:[k,b,F,z,$],styles:['@charset "UTF-8";.wr-acc-o[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:14px}.wr-acc-o__title[_ngcontent-%COMP%]{font-size:18px;margin:0;font-family:var(--wr-font-heading, inherit)}.wr-acc-o__empty[_ngcontent-%COMP%]{opacity:.7;margin:0}.wr-acc-o__list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}.wr-acc-o__item[_ngcontent-%COMP%]{border:1px solid color-mix(in srgb,currentColor 14%,transparent);border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:7px}.wr-acc-o__row[_ngcontent-%COMP%]{display:flex;justify-content:space-between;gap:12px;font-size:14px}.wr-acc-o__ref[_ngcontent-%COMP%]{color:inherit;font-weight:700;text-decoration:none}.wr-acc-o__ref[_ngcontent-%COMP%]:hover{text-decoration:underline}.wr-acc-o__detail[_ngcontent-%COMP%]{align-self:flex-start;font-size:13px;text-decoration:none;color:var(--wr-primary, #004793)}.wr-acc-o__detail[_ngcontent-%COMP%]:hover{text-decoration:underline}.wr-acc-o__lines[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;font-size:14px;opacity:.8}.wr-acc-o__shipping[_ngcontent-%COMP%]{font-size:13px;align-items:center}.wr-acc-o__ship-state[_ngcontent-%COMP%]{font-weight:600;padding:2px 8px;border-radius:999px;background:color-mix(in srgb,currentColor 10%,transparent)}.wr-acc-o__shipping[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--wr-primary, #004793);font-weight:600}.wr-acc-o__totals[_ngcontent-%COMP%]{opacity:.85}.wr-acc-o__grand[_ngcontent-%COMP%]{font-weight:700;opacity:1;border-top:1px solid color-mix(in srgb,currentColor 14%,transparent);padding-top:6px}'],changeDetection:0})}}return e})();export{le as AccountOrdersComponent};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.