@vendure/admin-ui-plugin 3.8.0-minor-202610110227 → 3.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/admin-ui/browser/{chunk-JNZLUYYA.js → chunk-EGKRCM5I.js} +2 -2
- package/lib/admin-ui/browser/{chunk-JNZLUYYA.js.map → chunk-EGKRCM5I.js.map} +1 -1
- package/lib/admin-ui/browser/{chunk-74LD6DDU.js → chunk-FSSGIU45.js} +2 -2
- package/lib/admin-ui/browser/{chunk-MCG325EU.js → chunk-IWFA46M4.js} +2 -2
- package/lib/admin-ui/browser/{chunk-CCIFJSQI.js → chunk-KCOKP7TM.js} +2 -2
- package/lib/admin-ui/browser/{chunk-QVDHLHIH.js → chunk-L4T3UAHB.js} +2 -2
- package/lib/admin-ui/browser/{chunk-63EYRM6F.js → chunk-MEZOWMXC.js} +2 -2
- package/lib/admin-ui/browser/{chunk-EAFBW3TD.js → chunk-NPLWVR7B.js} +2 -2
- package/lib/admin-ui/browser/{chunk-WS2IXOUU.js → chunk-SH5M3BJI.js} +2 -2
- package/lib/admin-ui/browser/{chunk-O4LH7AMA.js → chunk-XEHXBITP.js} +2 -2
- package/lib/admin-ui/browser/{chunk-7ORIHD4E.js → chunk-Y55M4F5Y.js} +2 -2
- package/lib/admin-ui/browser/index.html +1 -1
- package/lib/admin-ui/browser/main-WG27YQAN.js +2 -0
- package/package.json +4 -4
- package/lib/admin-ui/browser/main-65QHDC2P.js +0 -2
- /package/lib/admin-ui/browser/{chunk-74LD6DDU.js.map → chunk-FSSGIU45.js.map} +0 -0
- /package/lib/admin-ui/browser/{chunk-MCG325EU.js.map → chunk-IWFA46M4.js.map} +0 -0
- /package/lib/admin-ui/browser/{chunk-CCIFJSQI.js.map → chunk-KCOKP7TM.js.map} +0 -0
- /package/lib/admin-ui/browser/{chunk-QVDHLHIH.js.map → chunk-L4T3UAHB.js.map} +0 -0
- /package/lib/admin-ui/browser/{chunk-63EYRM6F.js.map → chunk-MEZOWMXC.js.map} +0 -0
- /package/lib/admin-ui/browser/{chunk-EAFBW3TD.js.map → chunk-NPLWVR7B.js.map} +0 -0
- /package/lib/admin-ui/browser/{chunk-WS2IXOUU.js.map → chunk-SH5M3BJI.js.map} +0 -0
- /package/lib/admin-ui/browser/{chunk-O4LH7AMA.js.map → chunk-XEHXBITP.js.map} +0 -0
- /package/lib/admin-ui/browser/{chunk-7ORIHD4E.js.map → chunk-Y55M4F5Y.js.map} +0 -0
- /package/lib/admin-ui/browser/{main-65QHDC2P.js.map → main-WG27YQAN.js.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as Di}from"./chunk-
|
|
1
|
+
import{a as Di}from"./chunk-FSSGIU45.js";import{$ as Yt,$c as Mn,$e,$f as Re,$g as Gt,Aa as jt,Ac as Fn,Ae as mi,Af as _e,Ag as mo,B as Ai,Ba as ie,Bc as Tn,Be as pi,Bf as ve,Bg as po,Ca as f,Cc as Sn,Cd as Vn,Cf as ye,Da as P,Dc as Dn,Df as be,Ea as C,Ec as In,Ed as $n,Fa as Mt,Fc as xn,Fd as re,Ff as me,Gc as Pn,Gd as Nt,Ge as Yn,Gf as Fe,Gg as gi,H as Ei,Ha as Gi,Hc as Bn,He as J,I as ft,Ia as qi,Ic as kn,Ie as le,Ig as co,Ja as Zi,Jd as ae,Je as di,Jg as hi,K as It,Kd as he,Ke as Xn,Kf as ui,Kg as $,L as Kt,La as q,Lf as Pr,M as Qt,Ma as W,Md as se,Me as Ce,Mf as $t,Mg as uo,Nd as vt,Ne as Rt,Nf as O,O as Mi,Oa as Ui,Od as yt,Oe as Jn,Of as M,P as wi,Pd as bt,Pe as Wt,Pf as V,Q as kt,Qa as a,Qd as Gn,Qf as w,Qg as ue,R as Ti,Ra as s,Rd as qn,Rf as N,Rg as et,S as Ni,Sa as k,T as b,Ta as Hi,Tg as fo,U as F,Ua as ne,Uc as Ln,Uf as ro,Va as de,Vc as ni,Vd as ce,Vf as ao,Vg as Ae,W as Qe,Wa as zi,Wc as oi,Wd as Zn,Wf as so,Xc as ri,Xd as Un,Xe as eo,Xf as Te,Y as Ri,Ya as U,Yc as An,Ye as Ft,Yf as Se,Z as Oi,Za as E,Zc as En,_ as r,_f as De,_g as Ee,a as H,aa as v,ad as xr,af as Ot,ag as Ie,ah as qt,b as ze,bc as ti,be as j,bh as Tt,ca as T,cc as Xi,cf as Vt,ch as Pe,da as Vi,db as B,dc as Ji,dd as wn,df as gt,dh as ht,e as ut,ea as Xt,ec as en,ed as G,ee as Xe,fb as ji,fc as tn,fd as ai,fe as Je,g as _t,ga as A,gc as nn,gf as ci,gg as xe,h as Bi,ha as u,hc as ii,hd as Nn,hf as to,i as ki,ia as Jt,ic as on,id as Rn,ja as o,jb as Wi,jc as rn,jd as ge,jf as Ze,k as Dt,kc as an,kd as On,kg as Ge,la as Lt,lc as sn,ma as l,mc as ln,md as I,n as Z,na as m,nb as D,nc as mn,o as je,oa as c,ob as ei,oc as pn,og as L,p as te,pa as At,pb as Ki,pc as dn,pf as io,qa as Et,qc as cn,rb as Qi,rc as un,re as Hn,sa as S,sc as fn,se as zn,t as Ht,ta as _,tc as gn,te as jn,tf as no,ua as g,uc as hn,ud as Ye,ue as X,vb as Yi,vc as Cn,vd as Q,ve as Wn,vf as oo,vg as fi,wb as wt,wc as _n,wd as R,we as Kn,wg as fe,xa as Si,xc as vn,xd as Y,xe as Qn,y as pe,ya as $i,yc as yn,yd as oe,ye as si,z as Li,za as zt,zb as y,zc as bn,ze as li,zg as lo}from"./chunk-EGKRCM5I.js";var go=(()=>{class t{constructor(e){this.templateRef=e}static{this.\u0275fac=function(n){return new(n||t)(v(Yt))}}static{this.\u0275dir=Xt({type:t,selectors:[["","vdrZoneMemberControls",""]],standalone:!1})}}return t})();var ho=(()=>{class t{constructor(e){this.templateRef=e}static{this.\u0275fac=function(n){return new(n||t)(v(Yt))}}static{this.\u0275dir=Xt({type:t,selectors:[["","vdrZoneMemberListHeader",""]],standalone:!1})}}return t})();var Br=t=>["/settings/countries",t];function kr(t,p){if(t&1&&f(0),t&2){let e=p.item;C(" ",e.id," ")}}function Lr(t,p){if(t&1&&(f(0),a(1,"localeDate")),t&2){let e=p.item;C(" ",k(1,1,e.createdAt,"short")," ")}}function Ar(t,p){if(t&1&&(f(0),a(1,"localeDate")),t&2){let e=p.item;C(" ",k(1,1,e.createdAt,"short")," ")}}function Er(t,p){if(t&1&&(l(0,"a",9)(1,"span"),f(2),m(),c(3,"clr-icon",10),m()),t&2){let e=p.item;o("routerLink",W(2,Br,e.id)),r(2),C(" ",e.name,"")}}function Mr(t,p){if(t&1&&f(0),t&2){let e=p.item;C(" ",e.code," ")}}function wr(t,p){t&1&&(l(0,"vdr-chip",13),f(1),a(2,"translate"),m()),t&2&&(r(),P(s(2,1,"common.enabled")))}function Nr(t,p){t&1&&(l(0,"vdr-chip",14),f(1),a(2,"translate"),m()),t&2&&(r(),P(s(2,1,"common.disabled")))}function Rr(t,p){if(t&1&&u(0,wr,3,3,"vdr-chip",11)(1,Nr,3,3,"vdr-chip",12),t&2){let e=p.item;o("ngIf",e.enabled),r(),o("ngIf",!e.enabled)}}var Ut=(()=>{class t{constructor(e){this.dataService=e,this.selectedMemberIds=[],this.selectionChange=new Qe,this.filterTermControl=new Vn(""),this.currentPage=1,this.itemsPerPage=10,this.selectionManager=new io({multiSelect:!0,itemsAreEqual:(n,i)=>n.id===i.id,additiveMode:!0}),this.membersInput$=new _t,this.activeZoneInput$=new Bi(void 0),this.destroy$=new _t,this.refresh$=new _t}ngOnInit(){let e=Ht(this.activeZoneInput$,this.refresh$).pipe(ft(n=>this.activeZone?this.dataService.query(ti,{zoneId:this.activeZone.id}).mapSingle(({zone:i})=>i?.members??[]):Dt([])));this.members$=Ht(e,this.membersInput$),this.members$.pipe(pe(1)).subscribe(n=>{this.selectionManager.setCurrentItems(n?.filter(i=>this.selectedMemberIds.includes(i.id))??[])}),this.selectionManager.selectionChanges$.pipe(It(this.destroy$)).subscribe(n=>{this.selectionChange.emit(n.map(i=>i.id))}),this.filteredMembers$=je(this.members$,this.filterTermControl.valueChanges.pipe(Ei(""))).pipe(Z(([n,i])=>{if(i){let d=i?.toLocaleLowerCase()??"";return n.filter(h=>h.name.toLocaleLowerCase().includes(d)||h.code.toLocaleLowerCase().includes(d))}else return n})),this.totalItems$=this.filteredMembers$.pipe(Z(n=>n.length))}ngOnChanges(e){"members"in e&&this.membersInput$.next(this.members??[]),"activeZone"in e&&this.activeZoneInput$.next(this.activeZone)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}refresh(){this.refresh$.next()}static{this.\u0275fac=function(n){return new(n||t)(v(G))}}static{this.\u0275cmp=T({type:t,selectors:[["vdr-zone-member-list"]],contentQueries:function(n,i,d){if(n&1&&(Si(d,ho,5),Si(d,go,5)),n&2){let h;zt(h=jt())&&(i.headerTemplate=h.first),zt(h=jt())&&(i.controlsTemplate=h.first)}},inputs:{locationId:"locationId",members:"members",selectedMemberIds:"selectedMemberIds",activeZone:"activeZone"},outputs:{selectionChange:"selectionChange"},standalone:!1,features:[Ni],decls:24,vars:38,consts:[[3,"itemsPerPageChange","pageChange","id","items","totalItems","itemsPerPage","currentPage"],[3,"locationId","hostComponent","selectionManager"],[3,"searchTermControl","searchTermPlaceholder"],["id","id",3,"heading","hiddenByDefault"],["id","created-at",3,"heading","hiddenByDefault"],["id","updated-at",3,"heading","hiddenByDefault"],["id","name",3,"heading","optional"],["id","code",3,"heading"],["id","enabled",3,"heading"],[1,"button-ghost",3,"routerLink"],["shape","arrow right"],["colorType","success",4,"ngIf"],["colorType","warning",4,"ngIf"],["colorType","success"],["colorType","warning"]],template:function(n,i){n&1&&(l(0,"vdr-data-table-2",0),a(1,"async"),a(2,"async"),_("itemsPerPageChange",function(h){return i.itemsPerPage=h})("pageChange",function(h){return i.currentPage=h}),c(3,"vdr-bulk-action-menu",1)(4,"vdr-dt2-search",2),a(5,"translate"),l(6,"vdr-dt2-column",3),a(7,"translate"),u(8,kr,1,1,"ng-template"),m(),l(9,"vdr-dt2-column",4),a(10,"translate"),u(11,Lr,2,4,"ng-template"),m(),l(12,"vdr-dt2-column",5),a(13,"translate"),u(14,Ar,2,4,"ng-template"),m(),l(15,"vdr-dt2-column",6),a(16,"translate"),u(17,Er,4,4,"ng-template"),m(),l(18,"vdr-dt2-column",7),a(19,"translate"),u(20,Mr,1,1,"ng-template"),m(),l(21,"vdr-dt2-column",8),a(22,"translate"),u(23,Rr,2,2,"ng-template"),m()()),n&2&&(o("id",i.locationId)("items",s(1,20,i.filteredMembers$))("totalItems",s(2,22,i.totalItems$))("itemsPerPage",i.itemsPerPage)("currentPage",i.currentPage),r(3),o("locationId",i.locationId)("hostComponent",i)("selectionManager",i.selectionManager),r(),o("searchTermControl",i.filterTermControl)("searchTermPlaceholder",s(5,24,"common.search-by-name")),r(2),o("heading",s(7,26,"common.id"))("hiddenByDefault",!0),r(3),o("heading",s(10,28,"common.created-at"))("hiddenByDefault",!0),r(3),o("heading",s(13,30,"common.updated-at"))("hiddenByDefault",!0),r(3),o("heading",s(16,32,"common.name"))("optional",!1),r(3),o("heading",s(19,34,"common.code")),r(3),o("heading",s(22,36,"common.enabled")))},dependencies:[j,E,ge,Ze,Te,xe,De,Ie,B,I,Ce],styles:[`.members-header[_ngcontent-%COMP%]{background-color:var(--color-component-bg-100);position:sticky;top:0;padding:6px;z-index:5;border-bottom:1px solid var(--color-component-border-200)}.members-header[_ngcontent-%COMP%] .header-title-row[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.members-header[_ngcontent-%COMP%] .clr-input[_ngcontent-%COMP%]{width:100%}
|
|
2
2
|
/*# sourceMappingURL=zone-member-list.component-LZVI4I6F.css.map */`],changeDetection:0})}}return t})();var _o=t=>({zoneName:t});function Or(t,p){if(t&1&&(f(0),a(1,"translate")),t&2){let e=g();P(k(1,1,"settings.add-countries-to-zone",W(4,_o,e.zoneName)))}}function Vr(t,p){if(t&1){let e=S();l(0,"button",3),_("click",function(){b(e);let i=g();return F(i.cancel())}),f(1),a(2,"translate"),m(),l(3,"button",4),_("click",function(){b(e);let i=g();return F(i.add())}),f(4),a(5,"translate"),m()}if(t&2){let e=g();r(),P(s(2,3,"common.cancel")),r(2),o("disabled",!e.selectedMemberIds.length),r(),C(" ",k(5,5,"settings.add-countries-to-zone",W(8,_o,e.zoneName))," ")}}var zp=D`
|
|
3
3
|
query GetZoneMembers($zoneId: ID!) {
|
|
4
4
|
zone(id: $zoneId) {
|
|
@@ -387,4 +387,4 @@ import{a as Di}from"./chunk-74LD6DDU.js";import{$ as Yt,$c as Mn,$e,$f as Re,$g
|
|
|
387
387
|
}
|
|
388
388
|
`,Fr=(()=>{class t extends Ae{constructor(e,n,i){super(),this.dataService=e,this.notificationService=n,this.modalService=i,this.dataTableListId="zone-list",this.selectedMemberIds=[],this.customFields=this.serverConfigService.getCustomFieldsFor("Zone"),this.filters=this.createFilterCollection().addIdFilter().addDateFilters().addFilter({name:"name",type:{kind:"text"},label:"common.name",filterField:"name"}).addCustomFieldFilters(this.customFields).connectToRoute(this.route),this.sorts=this.createSortCollection().defaultSort("createdAt","DESC").addSort({name:"createdAt"}).addSort({name:"updatedAt"}).addSort({name:"name"}).addCustomFieldSorts(this.customFields).connectToRoute(this.route),super.configure({document:kn,getItems:d=>d.zones,setVariables:(d,h)=>({options:{skip:d,take:h,filter:H({name:{contains:this.searchTermControl.value}},this.filters.createFilterInput()),filterOperator:this.searchTermControl.value?wt.OR:wt.AND,sort:this.sorts.createSortInput()}}),refreshListOnChanges:[this.filters.valueChanges,this.sorts.valueChanges]})}ngOnInit(){super.ngOnInit();let e=this.route.paramMap.pipe(Z(n=>n.get("contents")),Ai(),Kt(()=>this.selectedMemberIds=[]));this.activeZone$=je(this.items$,e).pipe(Z(([n,i])=>{if(i)return n.find(d=>d.id===i)})),this.activeIndex$=je(this.items$,e).pipe(Z(([n,i])=>i?n.findIndex(d=>d.id===i):-1))}setLanguage(e){this.dataService.client.setContentLanguage(e).subscribe()}closeMembers(){let e=H({},this.route.snapshot.params);delete e.contents,this.router.navigate(["./",e],{relativeTo:this.route,queryParamsHandling:"preserve"})}addToZone(e){this.modalService.fromComponent(vo,{locals:{zoneName:e.name,zoneId:e.id},size:"md"}).pipe(ft(n=>n?this.dataService.settings.addMembersToZone(e.id,n).pipe(Li(n)):ki)).subscribe({next:n=>{this.notificationService.success("settings.add-countries-to-zone-success",{countryCount:n.length,zoneName:e.name}),this.refreshMemberList()},error:n=>{this.notificationService.error(n)}})}refreshMemberList(){this.zoneMemberList?.refresh()}static{this.\u0275fac=function(n){return new(n||t)(v(G),v(X),v(Qn))}}static{this.\u0275cmp=T({type:t,selectors:[["vdr-zone-list"]],viewQuery:function(n,i){if(n&1&&$i(Ut,5),n&2){let d;zt(d=jt())&&(i.zoneMemberList=d.first)}},standalone:!1,features:[A],decls:15,vars:14,consts:[[3,"languageCodeChange","availableLanguageCodes","currentLanguageCode"],["locationId","zone-list"],["class","btn btn-primary",3,"routerLink",4,"vdrIfPermissions"],[3,"closeClicked","rightPanelOpen"],["vdrSplitViewLeft",""],["vdrSplitViewRight","",3,"splitViewTitle"],[1,"btn","btn-primary",3,"routerLink"],["shape","plus"],[3,"pageChange","itemsPerPageChange","visibleColumnsChange","id","items","itemsPerPage","totalItems","currentPage","filters","activeIndex"],["locationId","zone-list",3,"hostComponent","selectionManager"],[3,"searchTermControl","searchTermPlaceholder"],["id","id",3,"heading","hiddenByDefault"],["id","created-at",3,"heading","hiddenByDefault","sort"],["id","updated-at",3,"heading","hiddenByDefault","sort"],["id","name",3,"heading","optional","sort"],["id","view-contents",3,"heading","optional"],[3,"customField","sort",4,"ngFor","ngForOf"],[1,"button-ghost",3,"routerLink"],["shape","arrow right"],["queryParamsHandling","preserve",1,"button-small","bg-weight-150",3,"routerLink"],["shape","file-group"],[3,"customField","sort"],[4,"ngIf"],[1,"button-ghost","ml-4",3,"click"],["locationId","zone-members-list",3,"selectedMemberIds","activeZone","selectionChange",4,"ngIf"],["locationId","zone-members-list",3,"selectionChange","selectedMemberIds","activeZone"]],template:function(n,i){if(n&1&&(l(0,"vdr-page-block")(1,"vdr-action-bar")(2,"vdr-ab-left")(3,"vdr-language-selector",0),a(4,"async"),a(5,"async"),_("languageCodeChange",function(h){return i.setLanguage(h)}),m()(),l(6,"vdr-ab-right"),c(7,"vdr-action-bar-items",1),u(8,hp,4,5,"a",2),c(9,"vdr-action-bar-dropdown-menu",1),m()()(),l(10,"vdr-split-view",3),a(11,"async"),_("closeClicked",function(){return i.closeMembers()}),u(12,Tp,25,47,"ng-template",4)(13,Ip,2,3,"ng-template",5),a(14,"async"),m()),n&2){let d;r(3),o("availableLanguageCodes",s(4,5,i.availableLanguages$))("currentLanguageCode",s(5,7,i.contentLanguage$)),r(5),o("vdrIfPermissions",q(13,cp)),r(2),o("rightPanelOpen",s(11,9,i.activeZone$)),r(3),o("splitViewTitle",(d=s(14,11,i.activeZone$))==null?null:d.name)}},dependencies:[j,U,E,ge,N,V,w,$,Ge,O,M,Te,xe,De,Ie,Re,po,lo,mo,L,Ut,B,I,Ce],styles:[`.zone-wrapper[_ngcontent-%COMP%]{display:flex;height:calc(100% - 50px)}.zone-wrapper[_ngcontent-%COMP%] .zone-list[_ngcontent-%COMP%]{flex:1;overflow:auto;margin-top:0}.zone-wrapper[_ngcontent-%COMP%] .zone-list[_ngcontent-%COMP%] tr.active[_ngcontent-%COMP%]{background-color:var(--color-component-bg-200)}.zone-members[_ngcontent-%COMP%]{height:100%;width:0;opacity:0;visibility:hidden;overflow:auto;transition:width .3s,opacity .2s .3s,visibility 0s .3s}.zone-members.expanded[_ngcontent-%COMP%]{width:40vw;visibility:visible;opacity:1;padding-inline-start:12px}.zone-members[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{margin:0;background:none;border:none;cursor:pointer}.zone-members[_ngcontent-%COMP%] table.table{margin-top:0}.zone-members[_ngcontent-%COMP%] table.table th{top:0}.zone-members[_ngcontent-%COMP%] .controls[_ngcontent-%COMP%]{display:flex;justify-content:space-between}
|
|
389
389
|
/*# sourceMappingURL=zone-list.component-3Y7UHMX7.css.map */`],changeDetection:0})}}return t})();var Tr={location:"zone-members-list",label:"settings.remove-from-zone",icon:"trash",iconClass:"is-danger",requiresPermission:y.UpdateCustomerGroup,onClick:({injector:t,selection:p,hostComponent:e,clearSelection:n})=>{let i=t.get(G),d=t.get(X),h=e.activeZone,x=p.map(Ve=>Ve.id);i.settings.removeMembersFromZone(h.id,x).subscribe({complete:()=>{d.success("settings.remove-countries-from-zone-success",{countryCount:x.length,zoneName:h.name}),e.refresh(),n()}})}};var df=(()=>{class t extends fo{constructor(e,n){super(e,{__typename:"Administrator",id:"",createdAt:"",updatedAt:"",emailAddress:"",firstName:"",lastName:"",user:{roles:[]}},i=>n.administrator.getActiveAdministrator().mapStream(d=>d.activeAdministrator))}static{this.\u0275fac=function(n){return new(n||t)(kt(Rn),kt(G))}}static{this.\u0275prov=Mi({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Dr=ut(Wt());var Sr=t=>[{path:"profile",component:fe,data:{breadcrumb:"breadcrumb.profile"},resolve:{detail:()=>Ti(G).query(mn).mapSingle(p=>({entity:Dt(p.activeAdministrator)}))},children:t.getPageTabRoutes("profile")},{path:"administrators",component:fe,data:{locationId:"administrator-list",breadcrumb:"breadcrumb.administrators"},children:t.getPageTabRoutes("administrator-list")},{path:"administrators/:id",component:fe,data:{locationId:"administrator-detail",breadcrumb:{label:"breadcrumb.administrators",link:["../","administrators"]}},children:t.getPageTabRoutes("administrator-detail")},{path:"channels",component:fe,data:{locationId:"channel-list",breadcrumb:"breadcrumb.channels"},children:t.getPageTabRoutes("channel-list")},{path:"channels/:id",component:fe,data:{locationId:"channel-detail",breadcrumb:{label:"breadcrumb.channels",link:["../","channels"]}},children:t.getPageTabRoutes("channel-detail")},{path:"stock-locations",component:fe,data:{locationId:"stock-location-list",breadcrumb:"breadcrumb.stock-locations"},children:t.getPageTabRoutes("stock-location-list")},{path:"stock-locations/:id",component:fe,data:{locationId:"stock-location-detail",breadcrumb:{label:"breadcrumb.stock-locations",link:["../","stock-locations"]}},children:t.getPageTabRoutes("stock-location-detail")},{path:"sellers",component:fe,data:{locationId:"seller-list",breadcrumb:"breadcrumb.sellers"},children:t.getPageTabRoutes("seller-list")},{path:"sellers/:id",component:fe,data:{locationId:"seller-detail",breadcrumb:{label:"breadcrumb.sellers",link:["../","sellers"]}},children:t.getPageTabRoutes("seller-detail")},{path:"roles",component:fe,data:{locationId:"role-list",breadcrumb:"breadcrumb.roles"},children:t.getPageTabRoutes("role-list")},{path:"roles/:id",component:fe,data:{locationId:"role-detail",breadcrumb:{label:"breadcrumb.roles",link:["../","roles"]}},children:t.getPageTabRoutes("role-detail")},{path:"tax-categories",component:fe,data:{locationId:"tax-category-list",breadcrumb:"breadcrumb.tax-categories"},children:t.getPageTabRoutes("tax-category-list")},{path:"tax-categories/:id",component:fe,data:{locationId:"tax-category-detail",breadcrumb:{label:"breadcrumb.tax-categories",link:["../","tax-categories"]}},children:t.getPageTabRoutes("tax-category-detail")},{path:"tax-rates",component:fe,data:{locationId:"tax-rate-list",breadcrumb:"breadcrumb.tax-rates"},children:t.getPageTabRoutes("tax-rate-list")},{path:"tax-rates/:id",component:fe,data:{locationId:"tax-rate-detail",breadcrumb:{label:"breadcrumb.tax-rates",link:["../","tax-rates"]}},children:t.getPageTabRoutes("tax-rate-detail")},{path:"countries",component:fe,data:{locationId:"country-list",breadcrumb:"breadcrumb.countries"},children:t.getPageTabRoutes("country-list")},{path:"countries/:id",component:fe,data:{locationId:"country-detail",breadcrumb:{label:"breadcrumb.countries",link:["../","countries"]}},children:t.getPageTabRoutes("country-detail")},{path:"zones",component:fe,data:{locationId:"zone-list",breadcrumb:"breadcrumb.zones"},children:t.getPageTabRoutes("zone-list")},{path:"zones/:id",component:fe,data:{locationId:"zone-detail",breadcrumb:{label:"breadcrumb.zones",link:["../","zones"]}},children:t.getPageTabRoutes("zone-detail")},{path:"shipping-methods",component:fe,data:{locationId:"shipping-method-list",breadcrumb:"breadcrumb.shipping-methods"},children:t.getPageTabRoutes("shipping-method-list")},{path:"shipping-methods/:id",component:fe,data:{locationId:"shipping-method-detail",breadcrumb:{label:"breadcrumb.shipping-methods",link:["../","shipping-methods"]}},children:t.getPageTabRoutes("shipping-method-detail")},{path:"payment-methods",component:fe,data:{locationId:"payment-method-list",breadcrumb:"breadcrumb.payment-methods"},children:t.getPageTabRoutes("payment-method-list")},{path:"payment-methods/:id",component:fe,data:{locationId:"payment-method-detail",breadcrumb:{label:"breadcrumb.payment-methods",link:["../","payment-methods"]}},children:t.getPageTabRoutes("payment-method-detail")},{path:"global-settings",component:fe,data:{breadcrumb:"breadcrumb.global-settings",locationId:"global-setting-detail"},resolve:{detail:()=>Ti(G).query(on).mapSingle(p=>({entity:Dt(p.globalSettings)}))},children:t.getPageTabRoutes("global-setting-detail")}];var bg=(()=>{class t{static{this.hasRegisteredTabsAndBulkActions=!1}constructor(e,n){t.hasRegisteredTabsAndBulkActions||(e.registerBulkAction(Wo),e.registerBulkAction(xo),e.registerBulkAction(So),e.registerBulkAction(Ho),e.registerBulkAction(or),e.registerBulkAction(rr),e.registerBulkAction(nr),e.registerBulkAction(Oo),e.registerBulkAction(Vo),e.registerBulkAction(Ro),e.registerBulkAction(ur),e.registerBulkAction(hr),e.registerBulkAction(Lo),e.registerBulkAction(yr),e.registerBulkAction(Tr),e.registerBulkAction(mr),e.registerBulkAction(pr),e.registerBulkAction(lr),n.registerPageTab({priority:0,location:"seller-list",tab:"breadcrumb.sellers",route:"",component:Ko}),n.registerPageTab({priority:0,location:"seller-detail",tab:"settings.seller",route:"",component:et({component:jo,query:cn,entityKey:"seller",getBreadcrumbs:i=>[{label:i?i.name:"settings.create-new-seller",link:[i?.id]}]})}),n.registerPageTab({priority:0,location:"channel-list",tab:"breadcrumb.channels",route:"",component:Bo}),n.registerPageTab({priority:0,location:"channel-detail",tab:"settings.channel",route:"",component:et({component:Io,query:en,entityKey:"channel",getBreadcrumbs:i=>[{label:i?i.code===Dr.DEFAULT_CHANNEL_CODE?"common.default-channel":i.code:"settings.create-new-channel",link:[i?.id]}]})}),n.registerPageTab({priority:0,location:"administrator-list",tab:"breadcrumb.administrators",route:"",component:Do}),n.registerPageTab({priority:0,location:"administrator-detail",tab:"settings.administrator",route:"",component:et({component:To,query:Xi,entityKey:"administrator",getBreadcrumbs:i=>[{label:i?`${i.firstName} ${i.lastName}`:"admin.create-new-administrator",link:[i?.id]}]})}),n.registerPageTab({priority:0,location:"role-list",tab:"breadcrumb.roles",route:"",component:zo}),n.registerPageTab({priority:0,location:"role-detail",tab:"settings.role",route:"",component:et({component:Uo,query:pn,entityKey:"role",getBreadcrumbs:i=>[{label:i?i.description:"settings.create-new-role",link:[i?.id]}]})}),n.registerPageTab({priority:0,location:"shipping-method-list",tab:"breadcrumb.shipping-methods",route:"",component:ar}),n.registerPageTab({priority:0,location:"shipping-method-detail",tab:"settings.shipping-method",route:"",component:et({component:ir,query:fn,entityKey:"shippingMethod",getBreadcrumbs:i=>[{label:i?i.name:"settings.create-new-shipping-method",link:[i?.id]}]})}),n.registerPageTab({priority:0,location:"shipping-method-list",tab:"settings.test-shipping-methods",route:"test",component:_r}),n.registerPageTab({priority:0,location:"payment-method-list",tab:"breadcrumb.payment-methods",route:"",component:$o}),n.registerPageTab({priority:0,location:"payment-method-detail",tab:"settings.payment-method",route:"",component:et({component:No,query:rn,entityKey:"paymentMethod",getBreadcrumbs:i=>[{label:i?i.name:"settings.create-new-payment-method",link:[i?.id]}]})}),n.registerPageTab({priority:0,location:"tax-category-list",tab:"breadcrumb.tax-categories",route:"",component:fr}),n.registerPageTab({priority:0,location:"tax-category-detail",tab:"settings.tax-category",route:"",component:et({component:cr,query:Dn,entityKey:"taxCategory",getBreadcrumbs:i=>[{label:i?i.name:"settings.create-new-tax-category",link:[i?.id]}]})}),n.registerPageTab({priority:0,location:"tax-rate-list",tab:"breadcrumb.tax-rates",route:"",component:Cr}),n.registerPageTab({priority:0,location:"tax-rate-detail",tab:"settings.tax-rate",route:"",component:et({component:gr,query:xn,entityKey:"taxRate",getBreadcrumbs:i=>[{label:i?i.name:"settings.create-new-tax-rate",link:[i?.id]}]})}),n.registerPageTab({priority:0,location:"country-list",tab:"breadcrumb.countries",route:"",component:Ao}),n.registerPageTab({priority:0,location:"country-detail",tab:"settings.country",route:"",component:et({component:ko,query:nn,entityKey:"country",getBreadcrumbs:i=>[{label:i?i.name:"settings.create-new-country",link:[i?.id]}]})}),n.registerPageTab({priority:0,location:"zone-list",tab:"breadcrumb.zones",route:"",component:Fr}),n.registerPageTab({priority:0,location:"zone-detail",tab:"settings.zone",route:"",component:et({component:vr,query:Bn,entityKey:"zone",getBreadcrumbs:i=>[{label:i?i.name:"settings.create-new-zone",link:[i?.id]}]})}),n.registerPageTab({priority:0,location:"global-setting-detail",tab:"breadcrumb.global-settings",route:"",component:Eo}),n.registerPageTab({priority:0,location:"profile",tab:"breadcrumb.profile",route:"",component:Go}),n.registerPageTab({priority:0,location:"stock-location-list",tab:"catalog.stock-locations",route:"",component:dr}),n.registerPageTab({priority:0,location:"stock-location-detail",tab:"catalog.stock-location",route:"",component:et({component:sr,query:_n,entityKey:"stockLocation",getBreadcrumbs:i=>[{label:i?i.name:"catalog.create-new-stock-location",link:[i?.id]}]})}),t.hasRegisteredTabsAndBulkActions=!0)}static{this.\u0275fac=function(n){return new(n||t)(kt(so),kt(fi))}}static{this.\u0275mod=Vi({type:t})}static{this.\u0275inj=wi({providers:[{provide:Nn,useFactory:e=>Sr(e),multi:!0,deps:[fi]}],imports:[uo,On.forChild([])]})}}return t})();export{vo as AddCountryToZoneDialogComponent,To as AdminDetailComponent,Do as AdministratorListComponent,j0 as CREATE_STOCK_LOCATION,Io as ChannelDetailComponent,Bo as ChannelListComponent,ko as CountryDetailComponent,Ao as CountryListComponent,rd as GET_ADMINISTRATOR_DETAIL,cd as GET_ADMINISTRATOR_LIST,Td as GET_CHANNEL_DETAIL,kd as GET_CHANNEL_LIST,Od as GET_COUNTRY_DETAIL,Hd as GET_COUNTRY_LIST,Xd as GET_GLOBAL_SETTINGS_DETAIL,rc as GET_PAYMENT_METHOD_DETAIL,hc as GET_PAYMENT_METHOD_LIST,Tc as GET_PROFILE_DETAIL,kc as GET_ROLE_DETAIL,Vc as GET_ROLE_LIST,jc as GET_SELLER_DETAIL,P0 as GET_SHIPPING_METHOD_DETAIL,V0 as GET_SHIPPING_METHOD_LIST,z0 as GET_STOCK_LOCATION_DETAIL,ru as GET_STOCK_LOCATION_LIST,cu as GET_TAX_CATEGORY_DETAIL,vu as GET_TAX_CATEGORY_LIST,xu as GET_TAX_RATE_DETAIL,Mu as GET_TAX_RATE_LIST,Hu as GET_ZONE_DETAIL,rf as GET_ZONE_LIST,zp as GET_ZONE_MEMBERS,Eo as GlobalSettingsComponent,No as PaymentMethodDetailComponent,$o as PaymentMethodListComponent,Ci as PermissionGridComponent,Go as ProfileComponent,df as ProfileResolver,Uo as RoleDetailComponent,zo as RoleListComponent,jo as SellerDetailComponent,Ko as SellerListComponent,bg as SettingsModule,Yo as ShippingEligibilityTestResultComponent,ir as ShippingMethodDetailComponent,ar as ShippingMethodListComponent,er as ShippingMethodTestResultComponent,sr as StockLocationDetailComponent,dr as StockLocationListComponent,cr as TaxCategoryDetailComponent,fr as TaxCategoryListComponent,gr as TaxRateDetailComponent,Cr as TaxRateListComponent,bi as TestAddressFormComponent,yi as TestOrderBuilderComponent,_r as TestShippingMethodsComponent,W0 as UPDATE_STOCK_LOCATION,vr as ZoneDetailComponent,Fr as ZoneListComponent,go as ZoneMemberControlsDirective,Ut as ZoneMemberListComponent,ho as ZoneMemberListHeaderDirective,Oo as assignPaymentMethodsToChannelBulkAction,or as assignShippingMethodsToChannelBulkAction,mr as assignStockLocationsToChannelBulkAction,Sr as createRoutes,So as deleteAdministratorsBulkAction,xo as deleteChannelsBulkAction,Lo as deleteCountriesBulkAction,Ro as deletePaymentMethodsBulkAction,Ho as deleteRolesBulkAction,Wo as deleteSellersBulkAction,nr as deleteShippingMethodsBulkAction,lr as deleteStockLocationsBulkAction,ur as deleteTaxCategoriesBulkAction,hr as deleteTaxRatesBulkAction,yr as deleteZonesBulkAction,Vo as removePaymentMethodsFromChannelBulkAction,rr as removeShippingMethodsFromChannelBulkAction,pr as removeStockLocationsFromChannelBulkAction,Tr as removeZoneMembersBulkAction};
|
|
390
|
-
//# sourceMappingURL=chunk-
|
|
390
|
+
//# sourceMappingURL=chunk-SH5M3BJI.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{$a as qn,$b as Xn,$f as Ai,A as Dn,Aa as Ct,Ab as vt,Ad as me,Ae as we,Af as nt,B as ni,Ba as J,Be as We,Bf as Ei,Ca as u,Cd as H,Cf as wt,Cg as $i,Da as v,Dd as pe,De as Di,Df as Pt,E as wn,Ea as g,Ed as oe,Ee as ur,Ef as rt,F as Pn,Fa as ie,Fd as St,Ff as ye,Fg as Er,Ga as di,Gd as $e,Ge as He,Gf as Fi,H as ri,Ha as R,Hd as nr,He as U,I as L,Ia as N,Id as Ot,Ie as ve,Ja as $,Jc as ko,Jd as Ze,Je as Y,K as pn,Kf as Ue,Kg as kt,L as Ye,La as Gt,Ma as A,Mb as zn,Md as It,Me as he,Mg as Fr,Na as Fe,Nd as rr,Ne as k,Nf as Bi,O as oi,Oa as sn,Od as or,Of as Mt,P as Mn,Pa as Rn,Pc as Kn,Pd as ar,Pe as Ao,Pf as Et,Q as Le,Qa as d,Qd as et,Qf as ot,Qg as Lt,Ra as s,Rd as je,Rf as at,Rg as ji,S as Ae,Sa as x,Sd as gi,Sf as ki,T as h,Tc as Zn,U as y,Ua as ee,Ud as un,Ue as fr,V as ai,Va as Re,Vd as lr,Ve as wi,Vg as Br,W as X,Wa as Nn,Wd as Tt,X as En,Xa as $n,Xd as Ci,Xf as Sr,Ya as M,Yb as Yn,Yf as Li,Z as xe,Za as w,Zb as Jn,Zf as Ft,_ as r,_a as jn,_b as mi,_f as Ge,a as G,aa as P,ab as Wn,ac as ui,ad as mt,ag as Or,b as se,ba as Fn,bb as pi,bd as Lo,be as B,bg as Ir,c as In,ca as O,cb as si,cd as er,ce as vi,cf as _r,cg as Tr,ch as kr,da as Bn,db as W,dd as ht,de as Ce,df as gr,dg as Dr,e as Be,ed as K,ee as dr,ef as Cr,fe as tt,fh as qi,g as ke,ga as Ie,gb as Hn,gf as vr,gg as lt,h as Ut,ha as f,hb as ci,hd as tr,he as pr,hf as hr,hg as wr,i as Ee,ia as Ve,ib as Un,id as fi,ie as sr,if as Dt,ig as Qe,ja as o,jd as Ne,je as hi,jf as ue,jg as Pr,k as ce,ka as kn,kd as ir,ke as yi,la as Q,le as xi,lg as fe,ma as a,md as I,me as bi,mg as Mr,n as _e,na as l,nb as be,ne as Si,ng as dt,o as Tn,oa as _,od as _i,oe as Oi,og as pt,pa as T,pe as cr,q as Zt,qa as D,qb as Gn,qe as mr,r as ei,ra as Xe,rb as Qn,rd as yt,re as Ii,rf as yr,sa as S,sb as cn,se as Ti,ta as b,tb as q,tf as xr,ua as m,ud as xt,ue as it,uf as Pe,v as ti,va as Ln,vd as ne,ve as ae,vf as Pi,vg as Vi,wa as An,wb as mn,wd as re,we as te,wg as Bt,x as _t,xa as Vn,xd as z,xe as qe,xg as Ri,y as Oe,ya as li,yb as ct,yd as Ke,ye as Te,yf as br,yg as Ni,z as ii,za as gt,zd as bt,ze as De,zf as Mi}from"./chunk-
|
|
1
|
+
import{$a as qn,$b as Xn,$f as Ai,A as Dn,Aa as Ct,Ab as vt,Ad as me,Ae as we,Af as nt,B as ni,Ba as J,Be as We,Bf as Ei,Ca as u,Cd as H,Cf as wt,Cg as $i,Da as v,Dd as pe,De as Di,Df as Pt,E as wn,Ea as g,Ed as oe,Ee as ur,Ef as rt,F as Pn,Fa as ie,Fd as St,Ff as ye,Fg as Er,Ga as di,Gd as $e,Ge as He,Gf as Fi,H as ri,Ha as R,Hd as nr,He as U,I as L,Ia as N,Id as Ot,Ie as ve,Ja as $,Jc as ko,Jd as Ze,Je as Y,K as pn,Kf as Ue,Kg as kt,L as Ye,La as Gt,Ma as A,Mb as zn,Md as It,Me as he,Mg as Fr,Na as Fe,Nd as rr,Ne as k,Nf as Bi,O as oi,Oa as sn,Od as or,Of as Mt,P as Mn,Pa as Rn,Pc as Kn,Pd as ar,Pe as Ao,Pf as Et,Q as Le,Qa as d,Qd as et,Qf as ot,Qg as Lt,Ra as s,Rd as je,Rf as at,Rg as ji,S as Ae,Sa as x,Sd as gi,Sf as ki,T as h,Tc as Zn,U as y,Ua as ee,Ud as un,Ue as fr,V as ai,Va as Re,Vd as lr,Ve as wi,Vg as Br,W as X,Wa as Nn,Wd as Tt,X as En,Xa as $n,Xd as Ci,Xf as Sr,Ya as M,Yb as Yn,Yf as Li,Z as xe,Za as w,Zb as Jn,Zf as Ft,_ as r,_a as jn,_b as mi,_f as Ge,a as G,aa as P,ab as Wn,ac as ui,ad as mt,ag as Or,b as se,ba as Fn,bb as pi,bd as Lo,be as B,bg as Ir,c as In,ca as O,cb as si,cd as er,ce as vi,cf as _r,cg as Tr,ch as kr,da as Bn,db as W,dd as ht,de as Ce,df as gr,dg as Dr,e as Be,ed as K,ee as dr,ef as Cr,fe as tt,fh as qi,g as ke,ga as Ie,gb as Hn,gf as vr,gg as lt,h as Ut,ha as f,hb as ci,hd as tr,he as pr,hf as hr,hg as wr,i as Ee,ia as Ve,ib as Un,id as fi,ie as sr,if as Dt,ig as Qe,ja as o,jd as Ne,je as hi,jf as ue,jg as Pr,k as ce,ka as kn,kd as ir,ke as yi,la as Q,le as xi,lg as fe,ma as a,md as I,me as bi,mg as Mr,n as _e,na as l,nb as be,ne as Si,ng as dt,o as Tn,oa as _,od as _i,oe as Oi,og as pt,pa as T,pe as cr,q as Zt,qa as D,qb as Gn,qe as mr,r as ei,ra as Xe,rb as Qn,rd as yt,re as Ii,rf as yr,sa as S,sb as cn,se as Ti,ta as b,tb as q,tf as xr,ua as m,ud as xt,ue as it,uf as Pe,v as ti,va as Ln,vd as ne,ve as ae,vf as Pi,vg as Vi,wa as An,wb as mn,wd as re,we as te,wg as Bt,x as _t,xa as Vn,xd as z,xe as qe,xg as Ri,y as Oe,ya as li,yb as ct,yd as Ke,ye as Te,yf as br,yg as Ni,z as ii,za as gt,zd as bt,ze as De,zf as Mi}from"./chunk-EGKRCM5I.js";var Lr=Be(mt());function Wi(t){return(t||[]).filter(e=>e.state==="Settled").map((e,i)=>{let n=e.amount-(0,Lr.summate)(e.refunds.filter(c=>c.state!=="Failed"),"total");return se(G({},e),{refundableAmount:n,amountToRefundControl:new H(0,{nonNullable:!0,validators:[re.min(0),re.max(n)]}),selected:i===0})})}function Vo(t,p){t&1&&(u(0),d(1,"translate")),t&2&&v(s(1,1,"order.add-payment-to-order"))}function Ro(t,p){if(t&1){let e=S();a(0,"button",7),b("click",function(){h(e);let n=m();return y(n.cancel())}),u(1),d(2,"translate"),l(),a(3,"button",8),b("click",function(){h(e);let n=m();return y(n.submit())}),u(4),d(5,"translate"),d(6,"localeCurrency"),l()}if(t&2){let e=m();r(),v(s(2,4,"common.cancel")),r(2),o("disabled",e.form.invalid||e.form.pristine),r(),ie(" ",s(5,6,"order.add-payment")," (",x(6,8,e.outstandingAmount,e.currencyCode),") ")}}var qm=be`
|
|
2
2
|
query GetAddManualPaymentMethodList($options: PaymentMethodListOptions!) {
|
|
3
3
|
paymentMethods(options: $options) {
|
|
4
4
|
items {
|
|
@@ -127,4 +127,4 @@ import{$a as qn,$b as Xn,$f as Ai,A as Dn,Aa as Ct,Ab as vt,Ad as me,Ae as we,Af
|
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
`,Kt=(()=>{class t{constructor(e,i){this.dataService=e,this.router=i}canActivate(e,i){let n=i.url.includes("orders/draft"),c=i.url.includes("/modify"),C=e.paramMap.get("id");return n?C==="create"?this.dataService.order.createDraftOrder().pipe(_e(({createDraftOrder:E})=>this.router.parseUrl(`/orders/draft/${E.id}`))):!0:this.dataService.query(Lm,{id:C}).single$.pipe(_e(({order:E})=>E?.state==="Modifying"&&!c?this.router.parseUrl(`/orders/${C}/modify`):!0))}static{this.\u0275fac=function(i){return new(i||t)(Le(K),Le(fi))}}static{this.\u0275prov=oi({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Bo=t=>[{path:"",component:Bt,data:{locationId:"order-list",breadcrumb:"breadcrumb.orders"},children:t.getPageTabRoutes("order-list")},{path:"draft/:id",component:Bt,canActivate:[Kt],data:{locationId:"draft-order-detail",breadcrumb:{label:"breadcrumb.orders",link:["../"]}},children:t.getPageTabRoutes("draft-order-detail")},{path:":id",component:Bt,canActivate:[Kt],data:{locationId:"order-detail",breadcrumb:{label:"breadcrumb.orders",link:["../"]}},children:t.getPageTabRoutes("order-detail")},{path:":aggregateOrderId/seller-orders/:id",component:Bt,canActivate:[Kt],data:{locationId:"order-detail",breadcrumb:{label:"breadcrumb.orders",link:["../"]}},children:t.getPageTabRoutes("order-detail")},{path:":id/modify",component:Bt,canActivate:[Kt],data:{locationId:"modify-order",breadcrumb:{label:"breadcrumb.orders",link:["../"]}},children:t.getPageTabRoutes("modify-order")}];var Sg=(()=>{class t{static{this.hasRegisteredTabsAndBulkActions=!1}constructor(e){t.hasRegisteredTabsAndBulkActions||(e.registerPageTab({priority:0,location:"order-list",tab:"order.orders",route:"",component:Fo}),e.registerPageTab({priority:0,location:"order-detail",tab:"order.order",route:"",component:ji({component:Do,query:mi,entityKey:"order",getBreadcrumbs:i=>i?.type!==ct.Seller||!i?.aggregateOrder?[{label:`${i?.code}`,link:[i?.id]}]:[{label:`${i?.aggregateOrder?.code}`,link:["/orders/",i?.aggregateOrder?.id]},{label:"breadcrumb.seller-orders",link:["/orders/",i?.aggregateOrder?.id]},{label:`${i?.code}`,link:[i?.id]}]})}),e.registerPageTab({priority:0,location:"draft-order-detail",tab:"order.order",route:"",component:ji({component:Xr,query:mi,entityKey:"order",getBreadcrumbs:i=>[{label:"order.draft-order",link:[i?.id]}]})}),e.registerPageTab({priority:0,location:"modify-order",tab:"order.order",route:"",component:ji({component:Eo,query:mi,entityKey:"order",getBreadcrumbs:i=>[{label:i?.code||"order",link:["/orders/",i?.id]},{label:"breadcrumb.modifying-order",link:[i?.id]}]})}),t.hasRegisteredTabsAndBulkActions=!0)}static{this.\u0275fac=function(i){return new(i||t)(Le(Vi))}}static{this.\u0275mod=Bn({type:t})}static{this.\u0275inj=Mn({providers:[{provide:tr,useFactory:e=>Bo(e),multi:!0,deps:[Vi]}],imports:[Fr,ir.forChild([])]})}}return t})();export{Ar as AddManualPaymentDialogComponent,Vr as CancelOrderDialogComponent,Ui as CouponCodeSelectorComponent,Xr as DraftOrderDetailComponent,Ur as DraftOrderVariantSelectorComponent,Kr as FulfillOrderDialogComponent,no as FulfillmentCardComponent,Zi as FulfillmentDetailComponent,to as FulfillmentStateLabelComponent,n0 as GET_COUPON_CODE_SELECTOR_PROMOTION_LIST,qf as GET_CUSTOMER_ADDRESSES,Lm as GET_ORDER_STATE,Oo as GET_SELLER_ORDERS,Ji as LineFulfillmentComponent,Nt as LineRefundsComponent,ro as ModificationDetailComponent,en as NODE_HEIGHT,_f as ORDER_DETAIL_QUERY,jr as OrderCustomFieldsCardComponent,Hr as OrderDataTableComponent,Do as OrderDetailComponent,st as OrderEditResultType,Eo as OrderEditorComponent,Po as OrderEditsPreviewDialogComponent,Kt as OrderGuard,So as OrderHistoryComponent,ho as OrderHistoryEntryHostComponent,Fo as OrderListComponent,an as OrderModificationSummaryComponent,Sg as OrderModule,vo as OrderPaymentCardComponent,oo as OrderProcessEdgeComponent,ao as OrderProcessGraphComponent,lo as OrderProcessGraphDialogComponent,tn as OrderProcessNodeComponent,$r as OrderStateSelectDialogComponent,$t as OrderTableComponent,Xi as OrderTotalColumnComponent,Vt as OrderTransitionService,rn as PaymentDetailComponent,nn as PaymentForRefundSelectorComponent,_o as PaymentStateLabelComponent,Rf as RefundDetailComponent,uo as RefundOrderDialogComponent,go as RefundStateLabelComponent,gf as SET_ORDER_CUSTOMER_MUTATION,fn as SelectAddressDialogComponent,Qi as SelectCustomerDialogComponent,Yi as SelectShippingMethodDialogComponent,To as SellerOrdersCardComponent,fo as SettleRefundDialogComponent,qt as SimpleItemListComponent,Bo as createRoutes,Wi as getRefundablePayments};
|
|
130
|
-
//# sourceMappingURL=chunk-
|
|
130
|
+
//# sourceMappingURL=chunk-XEHXBITP.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{Bd as Z,Ca as l,Ce as ie,Da as w,Ea as h,Ed as q,Fd as J,Ha as _,He as re,Ia as M,Ja as P,Ma as T,Mg as ae,O as k,P as U,Q as y,Qa as c,Qe as b,Ra as m,Sa as R,Xd as Q,Z as u,Za as B,_ as r,_e as oe,aa as d,ca as L,da as A,db as z,de as X,ee as Y,fe as $,ha as C,id as O,ja as p,kd as V,la as E,ma as o,mb as N,md as W,n as S,na as a,oa as I,od as x,re as ee,sd as D,se as ne,ta as j,te,ua as f,ud as F,vd as H,xd as G,yd as K}from"./chunk-JNZLUYYA.js";var de=t=>({brand:t});function he(t,v){if(t&1&&(o(0,"p",20),l(1," Photo by "),o(2,"a",21),l(3),a(),l(4," on "),o(5,"a",21),l(6,"Unsplash"),a()()),t&2){let e=f();r(2),p("href",e.imageCreatorUrl,u),r(),w(e.imageCreator),r(2),p("href",e.imageUnsplashUrl,u)}}function ue(t,v){if(t&1&&(o(0,"p",22),l(1),a()),t&2){let e=f();r(),w(e.imageLocation)}}function Ce(t,v){if(t&1&&I(0,"img",23),t&2){let e=f();p("src",e.imageUrl,u)("alt",e.imageUrl)}}function fe(t,v){t&1&&I(0,"img",24)}var ge=(()=>{class t{constructor(e,i,n,s){this.authService=e,this.router=i,this.httpClient=n,this.localizationService=s,this.username="",this.password="",this.rememberMe=!1,this.version=ie,this.brand=x().brand,this.hideVendureBranding=x().hideVendureBranding,this.customImageUrl=x().loginImageUrl,this.imageUrl="",this.imageUnsplashUrl="",this.imageLocation="",this.imageCreator="",this.imageCreatorUrl="",this.customImageUrl?this.imageUrl=this.customImageUrl:this.loadImage()}ngOnInit(){this.direction$=this.localizationService.direction$}logIn(){this.errorMessage=void 0,this.authService.logIn(this.username,this.password,this.rememberMe).subscribe(e=>{switch(e.__typename){case"CurrentUser":let i=this.getRedirectRoute();this.router.navigateByUrl(i||"/");break;case"InvalidCredentialsError":case"NativeAuthStrategyError":this.errorMessage=e.message;break}})}loadImage(){this.httpClient.get("https://login-image.vendure.io").toPromise().then(e=>{this.updateImage(e)})}updateImage(e){let i=e.user,n=e.location;this.imageUrl=e.urls.regular+"?utm_source=Vendure+Login+Image&utm_medium=referral",this.imageCreator=i.name,this.imageLocation=n.name,this.imageCreatorUrl=i.links.html+"?utm_source=Vendure+Login+Image&utm_medium=referral",this.imageUnsplashUrl=e.links.html}getRedirectRoute(){let e,i=new RegExp(`${oe}=(.*)`);try{let n=window.location.search.match(i);n&&1<n.length&&(e=atob(decodeURIComponent(n[1])))}catch{}return e}static{this.\u0275fac=function(i){return new(i||t)(d(b),d(O),d(N),d(D))}}static{this.\u0275cmp=L({type:t,selectors:[["vdr-login"]],standalone:!1,decls:36,vars:37,consts:[[1,"login-wrapper",3,"dir"],[1,"login-wrapper-inner"],[1,"login-wrapper-image"],[1,"login-wrapper-image-content"],[1,"login-wrapper-image-title"],[1,"login-wrapper-image-copyright"],["class","creator",4,"ngIf"],["class","location",4,"ngIf"],[3,"src","alt",4,"ngIf"],[1,"login-wrapper-form"],[1,"login-title"],[1,"login-form"],[1,"login-group"],["type","text","name","username","id","login_username",1,"username",3,"ngModelChange","ngModel","placeholder"],["name","password","type","password","id","login_password",1,"password",3,"ngModelChange","ngModel","placeholder"],[1,"login-error",3,"clrAlertType","clrAlertClosable"],[1,"alert-text"],["type","checkbox","clrCheckbox","","id","rememberme","name","rememberme",3,"ngModelChange","ngModel"],["type","submit",1,"button","primary","login-button",3,"click","disabled"],["class","login-wrapper-logo","src","assets/logo-login.webp",4,"ngIf"],[1,"creator"],["target","_blank",3,"href"],[1,"location"],[3,"src","alt"],["src","assets/logo-login.webp",1,"login-wrapper-logo"]],template:function(i,n){i&1&&(o(0,"div",0),c(1,"async"),o(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4),l(6),c(7,"translate"),a(),o(8,"div",5),C(9,he,7,3,"p",6)(10,ue,2,1,"p",7),a()(),C(11,Ce,1,2,"img",8),a(),o(12,"div",9)(13,"p",10),l(14),c(15,"translate"),a(),o(16,"form",11)(17,"div",12)(18,"input",13),c(19,"translate"),P("ngModelChange",function(g){return M(n.username,g)||(n.username=g),g}),a(),o(20,"input",14),c(21,"translate"),P("ngModelChange",function(g){return M(n.password,g)||(n.password=g),g}),a(),o(22,"clr-alert",15)(23,"clr-alert-item")(24,"span",16),l(25),a()()(),o(26,"clr-checkbox-wrapper")(27,"input",17),P("ngModelChange",function(g){return M(n.rememberMe,g)||(n.rememberMe=g),g}),a(),o(28,"label"),l(29),c(30,"translate"),a()(),o(31,"div")(32,"button",18),j("click",function(){return n.logIn()}),l(33),c(34,"translate"),a()()()()(),C(35,fe,1,0,"img",19),a()()),i&2&&(p("dir",m(1,20,n.direction$)),r(6),h(" ",m(7,22,"common.login-image-title")," "),r(3),p("ngIf",n.imageCreator),r(),p("ngIf",n.imageLocation),r(),p("ngIf",n.imageUrl),r(3),h(" ",R(15,24,"common.login-title",T(35,de,n.hideVendureBranding?n.brand:"Vendure"))," "),r(4),_("ngModel",n.username),p("placeholder",m(19,27,"common.username")),r(2),_("ngModel",n.password),p("placeholder",m(21,29,"common.password")),r(2),E("visible",n.errorMessage),p("clrAlertType","danger")("clrAlertClosable",!1),r(3),h(" ",n.errorMessage," "),r(2),_("ngModel",n.rememberMe),r(2),w(m(30,31,"common.remember-me")),r(3),p("disabled",!n.username||!n.password),r(),h(" ",m(34,33,"common.login")," "),r(2),p("ngIf",!n.hideVendureBranding))},dependencies:[ee,ne,te,X,$,Y,B,J,H,F,G,K,q,Z,Q,re,z,W],styles:[`.login-wrapper[_ngcontent-%COMP%]{background:var(--color-weight-100);background-image:none;height:100vh;display:flex;align-items:center;justify-content:center;padding:20px}.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%]{background:var(--login-wrapper-inner-bg);width:1120px;height:590px;display:flex;justify-content:flex-start;align-items:stretch;position:relative;border-radius:var(--border-radius);border:1px solid var(--color-weight-150);overflow:hidden}@media (max-width: 992px){.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%]{flex-direction:column;height:auto;width:100%}}.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-image[_ngcontent-%COMP%]{height:100%;flex-grow:1;position:relative}@media (max-width: 992px){.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-image[_ngcontent-%COMP%]{height:300px}}.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block;width:100%;height:100%;object-fit:cover;object-position:center;position:relative;z-index:1}.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-image[_ngcontent-%COMP%] .login-wrapper-image-content[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;left:0;bottom:0;z-index:10;background:#020024;background:linear-gradient(180deg,#02002400,#000000bf);display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;padding:30px}.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-image[_ngcontent-%COMP%] .login-wrapper-image-content[_ngcontent-%COMP%] .login-wrapper-image-title[_ngcontent-%COMP%]{font-size:1.6rem;font-weight:700;color:#fff;margin-bottom:20px}@media (max-width: 992px){.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-image[_ngcontent-%COMP%] .login-wrapper-image-content[_ngcontent-%COMP%] .login-wrapper-image-title[_ngcontent-%COMP%]{font-size:1.2rem}}.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-image[_ngcontent-%COMP%] .login-wrapper-image-content[_ngcontent-%COMP%] .login-wrapper-image-copyright[_ngcontent-%COMP%]{opacity:.8}.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-image[_ngcontent-%COMP%] .login-wrapper-image-content[_ngcontent-%COMP%] .login-wrapper-image-copyright[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:.6rem;color:#fff;margin:0!important}.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-image[_ngcontent-%COMP%] .login-wrapper-image-content[_ngcontent-%COMP%] .login-wrapper-image-copyright[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff;text-decoration:underline}.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-form[_ngcontent-%COMP%]{height:100%;width:400px;padding:40px;display:flex;flex-direction:column;align-items:stretch;justify-content:center;box-shadow:0 20px 25px #0000001a;overflow:hidden;flex-shrink:0}@media (max-width: 992px){.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-form[_ngcontent-%COMP%]{height:auto;width:100%;padding:20px}}.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-form[_ngcontent-%COMP%] .login-title[_ngcontent-%COMP%]{font-weight:700;font-size:1.2rem;margin-bottom:20px;color:var(--color-weight-600)}.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-form[_ngcontent-%COMP%] .login-group[_ngcontent-%COMP%] input.username[_ngcontent-%COMP%], .login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-form[_ngcontent-%COMP%] .login-group[_ngcontent-%COMP%] input.password[_ngcontent-%COMP%]{display:block;width:100%;margin-bottom:15px;padding:12px 16px!important;background:#fff;font-size:14px;line-height:22px;color:#52667a;outline:none;-webkit-appearance:none}.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-form[_ngcontent-%COMP%] .login-group[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{width:100%!important;margin-top:20px!important}.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-logo[_ngcontent-%COMP%]{width:60px;height:auto;position:absolute;right:20px;top:20px}.login-button[_ngcontent-%COMP%]{width:100%;margin-top:var(--space-unit);justify-content:center}.version[_ngcontent-%COMP%]{flex:1;flex-grow:1;display:flex;align-items:flex-end;justify-content:center;color:var(--color-grey-300)}.version[_ngcontent-%COMP%] span[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{margin-inline-start:5px}.login-error[_ngcontent-%COMP%]{max-height:0;overflow:hidden;display:block}.login-error.visible[_ngcontent-%COMP%]{max-height:46px;transition:max-height .2s;animation:_ngcontent-%COMP%_shake .82s cubic-bezier(.36,.07,.19,.97) both;animation-delay:.2s;transform:translateZ(0);backface-visibility:hidden;perspective:1000px}@keyframes _ngcontent-%COMP%_shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}}.login-wrapper[dir=rtl][_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-logo[_ngcontent-%COMP%]{right:auto;left:20px}.login-wrapper[dir=rtl][_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-image[_ngcontent-%COMP%] .login-wrapper-image-content[_ngcontent-%COMP%]{left:auto;right:0}
|
|
1
|
+
import{Bd as Z,Ca as l,Ce as ie,Da as w,Ea as h,Ed as q,Fd as J,Ha as _,He as re,Ia as M,Ja as P,Ma as T,Mg as ae,O as k,P as U,Q as y,Qa as c,Qe as b,Ra as m,Sa as R,Xd as Q,Z as u,Za as B,_ as r,_e as oe,aa as d,ca as L,da as A,db as z,de as X,ee as Y,fe as $,ha as C,id as O,ja as p,kd as V,la as E,ma as o,mb as N,md as W,n as S,na as a,oa as I,od as x,re as ee,sd as D,se as ne,ta as j,te,ua as f,ud as F,vd as H,xd as G,yd as K}from"./chunk-EGKRCM5I.js";var de=t=>({brand:t});function he(t,v){if(t&1&&(o(0,"p",20),l(1," Photo by "),o(2,"a",21),l(3),a(),l(4," on "),o(5,"a",21),l(6,"Unsplash"),a()()),t&2){let e=f();r(2),p("href",e.imageCreatorUrl,u),r(),w(e.imageCreator),r(2),p("href",e.imageUnsplashUrl,u)}}function ue(t,v){if(t&1&&(o(0,"p",22),l(1),a()),t&2){let e=f();r(),w(e.imageLocation)}}function Ce(t,v){if(t&1&&I(0,"img",23),t&2){let e=f();p("src",e.imageUrl,u)("alt",e.imageUrl)}}function fe(t,v){t&1&&I(0,"img",24)}var ge=(()=>{class t{constructor(e,i,n,s){this.authService=e,this.router=i,this.httpClient=n,this.localizationService=s,this.username="",this.password="",this.rememberMe=!1,this.version=ie,this.brand=x().brand,this.hideVendureBranding=x().hideVendureBranding,this.customImageUrl=x().loginImageUrl,this.imageUrl="",this.imageUnsplashUrl="",this.imageLocation="",this.imageCreator="",this.imageCreatorUrl="",this.customImageUrl?this.imageUrl=this.customImageUrl:this.loadImage()}ngOnInit(){this.direction$=this.localizationService.direction$}logIn(){this.errorMessage=void 0,this.authService.logIn(this.username,this.password,this.rememberMe).subscribe(e=>{switch(e.__typename){case"CurrentUser":let i=this.getRedirectRoute();this.router.navigateByUrl(i||"/");break;case"InvalidCredentialsError":case"NativeAuthStrategyError":this.errorMessage=e.message;break}})}loadImage(){this.httpClient.get("https://login-image.vendure.io").toPromise().then(e=>{this.updateImage(e)})}updateImage(e){let i=e.user,n=e.location;this.imageUrl=e.urls.regular+"?utm_source=Vendure+Login+Image&utm_medium=referral",this.imageCreator=i.name,this.imageLocation=n.name,this.imageCreatorUrl=i.links.html+"?utm_source=Vendure+Login+Image&utm_medium=referral",this.imageUnsplashUrl=e.links.html}getRedirectRoute(){let e,i=new RegExp(`${oe}=(.*)`);try{let n=window.location.search.match(i);n&&1<n.length&&(e=atob(decodeURIComponent(n[1])))}catch{}return e}static{this.\u0275fac=function(i){return new(i||t)(d(b),d(O),d(N),d(D))}}static{this.\u0275cmp=L({type:t,selectors:[["vdr-login"]],standalone:!1,decls:36,vars:37,consts:[[1,"login-wrapper",3,"dir"],[1,"login-wrapper-inner"],[1,"login-wrapper-image"],[1,"login-wrapper-image-content"],[1,"login-wrapper-image-title"],[1,"login-wrapper-image-copyright"],["class","creator",4,"ngIf"],["class","location",4,"ngIf"],[3,"src","alt",4,"ngIf"],[1,"login-wrapper-form"],[1,"login-title"],[1,"login-form"],[1,"login-group"],["type","text","name","username","id","login_username",1,"username",3,"ngModelChange","ngModel","placeholder"],["name","password","type","password","id","login_password",1,"password",3,"ngModelChange","ngModel","placeholder"],[1,"login-error",3,"clrAlertType","clrAlertClosable"],[1,"alert-text"],["type","checkbox","clrCheckbox","","id","rememberme","name","rememberme",3,"ngModelChange","ngModel"],["type","submit",1,"button","primary","login-button",3,"click","disabled"],["class","login-wrapper-logo","src","assets/logo-login.webp",4,"ngIf"],[1,"creator"],["target","_blank",3,"href"],[1,"location"],[3,"src","alt"],["src","assets/logo-login.webp",1,"login-wrapper-logo"]],template:function(i,n){i&1&&(o(0,"div",0),c(1,"async"),o(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4),l(6),c(7,"translate"),a(),o(8,"div",5),C(9,he,7,3,"p",6)(10,ue,2,1,"p",7),a()(),C(11,Ce,1,2,"img",8),a(),o(12,"div",9)(13,"p",10),l(14),c(15,"translate"),a(),o(16,"form",11)(17,"div",12)(18,"input",13),c(19,"translate"),P("ngModelChange",function(g){return M(n.username,g)||(n.username=g),g}),a(),o(20,"input",14),c(21,"translate"),P("ngModelChange",function(g){return M(n.password,g)||(n.password=g),g}),a(),o(22,"clr-alert",15)(23,"clr-alert-item")(24,"span",16),l(25),a()()(),o(26,"clr-checkbox-wrapper")(27,"input",17),P("ngModelChange",function(g){return M(n.rememberMe,g)||(n.rememberMe=g),g}),a(),o(28,"label"),l(29),c(30,"translate"),a()(),o(31,"div")(32,"button",18),j("click",function(){return n.logIn()}),l(33),c(34,"translate"),a()()()()(),C(35,fe,1,0,"img",19),a()()),i&2&&(p("dir",m(1,20,n.direction$)),r(6),h(" ",m(7,22,"common.login-image-title")," "),r(3),p("ngIf",n.imageCreator),r(),p("ngIf",n.imageLocation),r(),p("ngIf",n.imageUrl),r(3),h(" ",R(15,24,"common.login-title",T(35,de,n.hideVendureBranding?n.brand:"Vendure"))," "),r(4),_("ngModel",n.username),p("placeholder",m(19,27,"common.username")),r(2),_("ngModel",n.password),p("placeholder",m(21,29,"common.password")),r(2),E("visible",n.errorMessage),p("clrAlertType","danger")("clrAlertClosable",!1),r(3),h(" ",n.errorMessage," "),r(2),_("ngModel",n.rememberMe),r(2),w(m(30,31,"common.remember-me")),r(3),p("disabled",!n.username||!n.password),r(),h(" ",m(34,33,"common.login")," "),r(2),p("ngIf",!n.hideVendureBranding))},dependencies:[ee,ne,te,X,$,Y,B,J,H,F,G,K,q,Z,Q,re,z,W],styles:[`.login-wrapper[_ngcontent-%COMP%]{background:var(--color-weight-100);background-image:none;height:100vh;display:flex;align-items:center;justify-content:center;padding:20px}.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%]{background:var(--login-wrapper-inner-bg);width:1120px;height:590px;display:flex;justify-content:flex-start;align-items:stretch;position:relative;border-radius:var(--border-radius);border:1px solid var(--color-weight-150);overflow:hidden}@media (max-width: 992px){.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%]{flex-direction:column;height:auto;width:100%}}.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-image[_ngcontent-%COMP%]{height:100%;flex-grow:1;position:relative}@media (max-width: 992px){.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-image[_ngcontent-%COMP%]{height:300px}}.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block;width:100%;height:100%;object-fit:cover;object-position:center;position:relative;z-index:1}.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-image[_ngcontent-%COMP%] .login-wrapper-image-content[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;left:0;bottom:0;z-index:10;background:#020024;background:linear-gradient(180deg,#02002400,#000000bf);display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;padding:30px}.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-image[_ngcontent-%COMP%] .login-wrapper-image-content[_ngcontent-%COMP%] .login-wrapper-image-title[_ngcontent-%COMP%]{font-size:1.6rem;font-weight:700;color:#fff;margin-bottom:20px}@media (max-width: 992px){.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-image[_ngcontent-%COMP%] .login-wrapper-image-content[_ngcontent-%COMP%] .login-wrapper-image-title[_ngcontent-%COMP%]{font-size:1.2rem}}.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-image[_ngcontent-%COMP%] .login-wrapper-image-content[_ngcontent-%COMP%] .login-wrapper-image-copyright[_ngcontent-%COMP%]{opacity:.8}.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-image[_ngcontent-%COMP%] .login-wrapper-image-content[_ngcontent-%COMP%] .login-wrapper-image-copyright[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:.6rem;color:#fff;margin:0!important}.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-image[_ngcontent-%COMP%] .login-wrapper-image-content[_ngcontent-%COMP%] .login-wrapper-image-copyright[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff;text-decoration:underline}.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-form[_ngcontent-%COMP%]{height:100%;width:400px;padding:40px;display:flex;flex-direction:column;align-items:stretch;justify-content:center;box-shadow:0 20px 25px #0000001a;overflow:hidden;flex-shrink:0}@media (max-width: 992px){.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-form[_ngcontent-%COMP%]{height:auto;width:100%;padding:20px}}.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-form[_ngcontent-%COMP%] .login-title[_ngcontent-%COMP%]{font-weight:700;font-size:1.2rem;margin-bottom:20px;color:var(--color-weight-600)}.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-form[_ngcontent-%COMP%] .login-group[_ngcontent-%COMP%] input.username[_ngcontent-%COMP%], .login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-form[_ngcontent-%COMP%] .login-group[_ngcontent-%COMP%] input.password[_ngcontent-%COMP%]{display:block;width:100%;margin-bottom:15px;padding:12px 16px!important;background:#fff;font-size:14px;line-height:22px;color:#52667a;outline:none;-webkit-appearance:none}.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-form[_ngcontent-%COMP%] .login-group[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{width:100%!important;margin-top:20px!important}.login-wrapper[_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-logo[_ngcontent-%COMP%]{width:60px;height:auto;position:absolute;right:20px;top:20px}.login-button[_ngcontent-%COMP%]{width:100%;margin-top:var(--space-unit);justify-content:center}.version[_ngcontent-%COMP%]{flex:1;flex-grow:1;display:flex;align-items:flex-end;justify-content:center;color:var(--color-grey-300)}.version[_ngcontent-%COMP%] span[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{margin-inline-start:5px}.login-error[_ngcontent-%COMP%]{max-height:0;overflow:hidden;display:block}.login-error.visible[_ngcontent-%COMP%]{max-height:46px;transition:max-height .2s;animation:_ngcontent-%COMP%_shake .82s cubic-bezier(.36,.07,.19,.97) both;animation-delay:.2s;transform:translateZ(0);backface-visibility:hidden;perspective:1000px}@keyframes _ngcontent-%COMP%_shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}}.login-wrapper[dir=rtl][_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-logo[_ngcontent-%COMP%]{right:auto;left:20px}.login-wrapper[dir=rtl][_ngcontent-%COMP%] .login-wrapper-inner[_ngcontent-%COMP%] .login-wrapper-image[_ngcontent-%COMP%] .login-wrapper-image-content[_ngcontent-%COMP%]{left:auto;right:0}
|
|
2
2
|
/*# sourceMappingURL=login.component-KNKULIH7.css.map */`]})}}return t})();var le=(()=>{class t{constructor(e,i){this.router=e,this.authService=i}canActivate(e){return this.authService.checkAuthenticatedStatus().pipe(S(i=>(i&&this.router.navigate(["/"]),!i)))}static{this.\u0275fac=function(i){return new(i||t)(y(O),y(b))}}static{this.\u0275prov=k({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var ce=[{path:"",component:ge,pathMatch:"full",canActivate:[le]}];var Be=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=A({type:t})}static{this.\u0275inj=U({imports:[ae,V.forChild(ce)]})}}return t})();export{ge as LoginComponent,le as LoginGuard,Be as LoginModule,ce as loginRoutes};
|
|
3
|
-
//# sourceMappingURL=chunk-
|
|
3
|
+
//# sourceMappingURL=chunk-Y55M4F5Y.js.map
|
|
@@ -10,5 +10,5 @@
|
|
|
10
10
|
<link rel="stylesheet" href="styles-66Q4VSBH.css"></head>
|
|
11
11
|
<body>
|
|
12
12
|
<vdr-root></vdr-root>
|
|
13
|
-
<link rel="modulepreload" href="chunk-
|
|
13
|
+
<link rel="modulepreload" href="chunk-EGKRCM5I.js"><script src="polyfills-BIMCQJWN.js" type="module"></script><script src="main-WG27YQAN.js" type="module"></script></body>
|
|
14
14
|
</html>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Og as d,P as t,Ze as m,da as r,gh as l,kb as e,kd as p,lb as i,ld as a,nd as n}from"./chunk-EGKRCM5I.js";var h=[{path:"login",loadChildren:()=>import("./chunk-Y55M4F5Y.js").then(o=>o.LoginModule)},{path:"",canActivate:[l],component:m,data:{breadcrumb:"breadcrumb.dashboard"},children:[{path:"",pathMatch:"full",loadChildren:()=>import("./chunk-MEZOWMXC.js").then(o=>o.DashboardModule)},{path:"catalog",loadChildren:()=>import("./chunk-NPLWVR7B.js").then(o=>o.CatalogModule)},{path:"customer",loadChildren:()=>import("./chunk-L4T3UAHB.js").then(o=>o.CustomerModule)},{path:"orders",loadChildren:()=>import("./chunk-XEHXBITP.js").then(o=>o.OrderModule)},{path:"marketing",loadChildren:()=>import("./chunk-KCOKP7TM.js").then(o=>o.MarketingModule)},{path:"settings",loadChildren:()=>import("./chunk-SH5M3BJI.js").then(o=>o.SettingsModule)},{path:"system",loadChildren:()=>import("./chunk-IWFA46M4.js").then(o=>o.SystemModule)}]}];var s=(()=>{class o{static{this.\u0275fac=function(c){return new(c||o)}}static{this.\u0275mod=r({type:o,bootstrap:[a]})}static{this.\u0275inj=t({imports:[e,d,p.forRoot(h,{useHash:!1})]})}}return o})();var u={production:!0};u.production&&void 0;n().then(()=>i().bootstrapModule(s)).catch(o=>{console.log(o)});
|
|
2
|
+
//# sourceMappingURL=main-WG27YQAN.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vendure/admin-ui-plugin",
|
|
3
|
-
"version": "3.8.0
|
|
3
|
+
"version": "3.8.0",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"types": "lib/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/express": "^5.0.1",
|
|
27
27
|
"@types/fs-extra": "^11.0.4",
|
|
28
|
-
"@vendure/admin-ui": "
|
|
29
|
-
"@vendure/common": "
|
|
30
|
-
"@vendure/core": "
|
|
28
|
+
"@vendure/admin-ui": "3.8.0",
|
|
29
|
+
"@vendure/common": "3.8.0",
|
|
30
|
+
"@vendure/core": "3.8.0",
|
|
31
31
|
"express": "^5.1.0",
|
|
32
32
|
"rimraf": "^5.0.5",
|
|
33
33
|
"typescript": "5.8.2"
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Og as d,P as t,Ze as m,da as r,gh as l,kb as e,kd as p,lb as i,ld as a,nd as n}from"./chunk-JNZLUYYA.js";var h=[{path:"login",loadChildren:()=>import("./chunk-7ORIHD4E.js").then(o=>o.LoginModule)},{path:"",canActivate:[l],component:m,data:{breadcrumb:"breadcrumb.dashboard"},children:[{path:"",pathMatch:"full",loadChildren:()=>import("./chunk-63EYRM6F.js").then(o=>o.DashboardModule)},{path:"catalog",loadChildren:()=>import("./chunk-EAFBW3TD.js").then(o=>o.CatalogModule)},{path:"customer",loadChildren:()=>import("./chunk-QVDHLHIH.js").then(o=>o.CustomerModule)},{path:"orders",loadChildren:()=>import("./chunk-O4LH7AMA.js").then(o=>o.OrderModule)},{path:"marketing",loadChildren:()=>import("./chunk-CCIFJSQI.js").then(o=>o.MarketingModule)},{path:"settings",loadChildren:()=>import("./chunk-WS2IXOUU.js").then(o=>o.SettingsModule)},{path:"system",loadChildren:()=>import("./chunk-MCG325EU.js").then(o=>o.SystemModule)}]}];var s=(()=>{class o{static{this.\u0275fac=function(c){return new(c||o)}}static{this.\u0275mod=r({type:o,bootstrap:[a]})}static{this.\u0275inj=t({imports:[e,d,p.forRoot(h,{useHash:!1})]})}}return o})();var u={production:!0};u.production&&void 0;n().then(()=>i().bootstrapModule(s)).catch(o=>{console.log(o)});
|
|
2
|
-
//# sourceMappingURL=main-65QHDC2P.js.map
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|