marketplacepos 3.6.0 → 3.6.2
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/Marketplace/{chunk-DKPFXQNF.js → chunk-2GCJVDVN.js} +1 -1
- package/Marketplace/chunk-2KGUHH44.js +1 -0
- package/Marketplace/{chunk-JWESCPR3.js → chunk-45NXB6RE.js} +1 -1
- package/Marketplace/{chunk-FTYEJYHR.js → chunk-46GC4FG7.js} +1 -1
- package/Marketplace/{chunk-37HLVAAU.js → chunk-4YRDQUI3.js} +1 -1
- package/Marketplace/{chunk-KDJNHDU2.js → chunk-5LHF6NCK.js} +1 -1
- package/Marketplace/{chunk-4TY6WDXS.js → chunk-66UC4STB.js} +1 -1
- package/Marketplace/{chunk-PUSB4EIC.js → chunk-6M2Q3GGB.js} +1 -1
- package/Marketplace/{chunk-NAXDUEX4.js → chunk-7EYB3DHT.js} +1 -1
- package/Marketplace/{chunk-JUIDNG6B.js → chunk-7JWQMOH7.js} +1 -1
- package/Marketplace/{chunk-2GUSUJKR.js → chunk-7V6UQDFG.js} +1 -1
- package/Marketplace/{chunk-CIGF5YG5.js → chunk-A4X2AUOC.js} +1 -1
- package/Marketplace/{chunk-KTPCOMZ2.js → chunk-BATYANE3.js} +1 -1
- package/Marketplace/{chunk-6YFZBURX.js → chunk-BREDWZJ7.js} +1 -1
- package/Marketplace/chunk-BVGNNSM2.js +1 -0
- package/Marketplace/{chunk-YK6VKTWV.js → chunk-BVMOK3VE.js} +1 -1
- package/Marketplace/{chunk-FBU5QXHN.js → chunk-BW5REXI6.js} +1 -1
- package/Marketplace/{chunk-PP4T4PLJ.js → chunk-BYPWQ2HT.js} +1 -1
- package/Marketplace/{chunk-35GLPUIA.js → chunk-CBOPSK2G.js} +1 -1
- package/Marketplace/{chunk-WNUGQVRM.js → chunk-DKGYGZK7.js} +1 -1
- package/Marketplace/{chunk-JGYSNRH6.js → chunk-DQRS5DAE.js} +1 -1
- package/Marketplace/{chunk-MIAEM23L.js → chunk-DZKSVYPR.js} +1 -1
- package/Marketplace/{chunk-YS2YJHB3.js → chunk-EAYXHDLW.js} +1 -1
- package/Marketplace/{chunk-ISJRZPJX.js → chunk-EOM22W74.js} +1 -1
- package/Marketplace/{chunk-3G5KO3TI.js → chunk-ERRFLL6T.js} +1 -1
- package/Marketplace/{chunk-IPSBLHOU.js → chunk-F45ZZTMU.js} +1 -1
- package/Marketplace/{chunk-3ZNOGHL3.js → chunk-FH2STK2T.js} +1 -1
- package/Marketplace/{chunk-Q2ZCP6BL.js → chunk-FO3KSKQ6.js} +1 -1
- package/Marketplace/{chunk-AO2MXRCQ.js → chunk-GF526R3A.js} +1 -1
- package/Marketplace/{chunk-SFDY7NUA.js → chunk-GMNZLOVM.js} +1 -1
- package/Marketplace/{chunk-VX5ROJLM.js → chunk-HUDF4XGA.js} +1 -1
- package/Marketplace/{chunk-BUG6II55.js → chunk-HXRWGEJ5.js} +1 -1
- package/Marketplace/{chunk-I7PLLVEH.js → chunk-I3M6GHUE.js} +1 -1
- package/Marketplace/{chunk-QC4HQRFC.js → chunk-J2UWP2SN.js} +1 -1
- package/Marketplace/{chunk-SY5WIR62.js → chunk-JSCR55UZ.js} +3 -3
- package/Marketplace/{chunk-HVNMMTYL.js → chunk-KM23UFSR.js} +1 -1
- package/Marketplace/{chunk-YBAPXY6T.js → chunk-L3TBTXVF.js} +1 -1
- package/Marketplace/{chunk-3KJSV75O.js → chunk-LXDCPBTR.js} +1 -1
- package/Marketplace/chunk-MO3YBEXE.js +1 -0
- package/Marketplace/{chunk-233MWU5I.js → chunk-NZQHBWBK.js} +2 -2
- package/Marketplace/{chunk-K5FAZTRK.js → chunk-PFXGXQHO.js} +1 -1
- package/Marketplace/{chunk-SUY2H7ZI.js → chunk-PXAUQQ7Y.js} +1 -1
- package/Marketplace/{chunk-ZXU3FVPS.js → chunk-QYZDV3KB.js} +1 -1
- package/Marketplace/{chunk-W7OIIPRU.js → chunk-QZ6GD3DK.js} +1 -1
- package/Marketplace/{chunk-2Y66HZFD.js → chunk-RISSBTN2.js} +1 -1
- package/Marketplace/{chunk-MLMGMDJA.js → chunk-RNPQSH4X.js} +1 -1
- package/Marketplace/{chunk-53K2CWAN.js → chunk-RQYJJ3EK.js} +1 -1
- package/Marketplace/{chunk-V752HOUZ.js → chunk-RWYXA653.js} +1 -1
- package/Marketplace/{chunk-HEYRRICW.js → chunk-SB5XTLLY.js} +1 -1
- package/Marketplace/{chunk-2FZAKLVH.js → chunk-TAD43MYD.js} +1 -1
- package/Marketplace/{chunk-ZVELVZIL.js → chunk-TG2NAWXW.js} +1 -1
- package/Marketplace/{chunk-G4PZ5CPL.js → chunk-TPFTT632.js} +1 -1
- package/Marketplace/{chunk-IOUI2FZD.js → chunk-UV6KK4W6.js} +1 -1
- package/Marketplace/{chunk-IM6ZDC7I.js → chunk-V7X66MWE.js} +1 -1
- package/Marketplace/{chunk-UTRK7TTD.js → chunk-XAU4KWDG.js} +1 -1
- package/Marketplace/{chunk-R2U2NYVL.js → chunk-XDJYCAPB.js} +1 -1
- package/Marketplace/{chunk-Q6Y22NLN.js → chunk-XJMXZWZW.js} +1 -1
- package/Marketplace/{chunk-UTSC6PL6.js → chunk-YBEJ6DSM.js} +1 -1
- package/Marketplace/{chunk-M3XCT7JY.js → chunk-YO44EPAG.js} +1 -1
- package/Marketplace/{chunk-NEAQH3FX.js → chunk-Z4L57D42.js} +1 -1
- package/Marketplace/{chunk-MGVAWFYU.js → chunk-ZHLG7GCJ.js} +1 -1
- package/Marketplace/{chunk-7ARC4G4F.js → chunk-ZJYHLYQC.js} +1 -1
- package/Marketplace/{chunk-5LICD27P.js → chunk-ZLHGVQE6.js} +2 -2
- package/Marketplace/{chunk-MBHOZDLB.js → chunk-ZRTKOAYD.js} +1 -1
- package/Marketplace/index.html +2 -2
- package/Marketplace/{main-ICOUGZTS.js → main-JR4ZU2LJ.js} +1 -1
- package/Marketplace/{styles-XDRE2JJC.css → styles-DXZCV23O.css} +1 -1
- package/package.json +1 -1
- package/Marketplace/chunk-E64JNFG7.js +0 -1
- package/Marketplace/chunk-UWU5GEHX.js +0 -1
- package/Marketplace/chunk-V3NJFGV3.js +0 -1
- /package/Marketplace/{chunk-6RUGKYFT.js → chunk-72VLH7XK.js} +0 -0
- /package/Marketplace/{chunk-6HLIRI7N.js → chunk-GCXKRLIU.js} +0 -0
- /package/Marketplace/{chunk-V6VYUZWG.js → chunk-NXHCLVII.js} +0 -0
- /package/Marketplace/{chunk-ZLME6FEU.js → chunk-OUASU5FP.js} +0 -0
- /package/Marketplace/{chunk-KPTAVWMG.js → chunk-YD4CXLB4.js} +0 -0
- /package/Marketplace/{polyfills-L2ZK4WXQ.js → polyfills-ON52FDZY.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as Z,e as $,h as C}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.
|
|
1
|
+
import{d as Z,e as $,h as C}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-2GCJVDVN.js";import{J as M,O as q,U,a as _,e as b,h as p,i as w,j as z}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-45NXB6RE.js";import{e as P,g as O,j as B,n as V}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-BREDWZJ7.js";import{$ as A,Ba as x,Ga as r,Ka as f,La as N,Na as L,Qa as D,aa as u,ba as T,c as d,ca as y,eb as j,fa as m,ga as E,hb as I,ia as S,j as F,tb as k}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-ZHLG7GCJ.js";var K=z({passive:!0}),G=(()=>{let i=class i{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return F;let t=b(e),s=this._monitoredElements.get(t);if(s)return s.subject;let o=new d,a="cdk-text-field-autofilled",c=l=>{l.animationName==="cdk-text-field-autofill-start"&&!t.classList.contains(a)?(t.classList.add(a),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!0}))):l.animationName==="cdk-text-field-autofill-end"&&t.classList.contains(a)&&(t.classList.remove(a),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",c,K),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:o,unlisten:()=>{t.removeEventListener("animationstart",c,K)}}),o}stopMonitoring(e){let t=b(e),s=this._monitoredElements.get(t);s&&(s.unlisten(),s.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}};i.\u0275fac=function(t){return new(t||i)(y(p),y(f))},i.\u0275prov=A({token:i,factory:i.\u0275fac,providedIn:"root"});let n=i;return n})();var W=(()=>{let i=class i{};i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=m({type:i}),i.\u0275inj=u({});let n=i;return n})();var ie=new T("MAT_INPUT_VALUE_ACCESSOR"),se=["button","checkbox","file","hidden","image","radio","range","reset","submit"],ne=0,re=q(class{constructor(n,i,Y,e){this._defaultErrorStateMatcher=n,this._parentForm=i,this._parentFormGroup=Y,this.ngControl=e,this.stateChanges=new d}}),He=(()=>{let i=class i extends re{get disabled(){return this._disabled}set disabled(e){this._disabled=_(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(P.required)??!1}set required(e){this._required=_(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&w().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=_(e)}constructor(e,t,s,o,a,c,l,X,J,R){super(c,o,a,s),this._elementRef=e,this._platform=t,this._autofillMonitor=X,this._formField=R,this._uid=`mat-input-${ne++}`,this.focused=!1,this.stateChanges=new d,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(v=>w().has(v)),this._iOSKeyupListener=v=>{let h=v.target;!h.value&&h.selectionStart===0&&h.selectionEnd===0&&(h.setSelectionRange(1,1),h.setSelectionRange(0,0))};let g=this._elementRef.nativeElement,H=g.nodeName.toLowerCase();this._inputValueAccessor=l||g,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&J.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect=H==="select",this._isTextarea=H==="textarea",this._isInFormField=!!R,this._isNativeSelect&&(this.controlType=g.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let t=this._elementRef.nativeElement;this._previousPlaceholder=e,e?t.setAttribute("placeholder",e):t.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){se.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}else return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}};i.\u0275fac=function(t){return new(t||i)(r(x),r(p),r(O,10),r(B,8),r(V,8),r(U),r(ie,10),r(G),r(f),r($,8))},i.\u0275dir=E({type:i,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(t,s){t&1&&I("focus",function(){return s._focusChanged(!0)})("blur",function(){return s._focusChanged(!1)})("input",function(){return s._onInput()}),t&2&&(j("id",s.id)("disabled",s.disabled)("required",s.required),L("name",s.name||null)("readonly",s.readonly&&!s._isNativeSelect||null)("aria-invalid",s.empty&&s.required?null:s.errorState)("aria-required",s.required)("id",s.id),D("mat-input-server",s._isServer)("mat-mdc-form-field-textarea-control",s._isInFormField&&s._isTextarea)("mat-mdc-form-field-input-control",s._isInFormField)("mdc-text-field__input",s._isInFormField)("mat-mdc-native-select-inline",s._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[k([{provide:Z,useExisting:i}]),N,S]});let n=i;return n})(),Fe=(()=>{let i=class i{};i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=m({type:i}),i.\u0275inj=u({imports:[M,C,C,W,M]});let n=i;return n})();export{ie as a,He as b,Fe as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as A}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.
|
|
1
|
+
import{a as A}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-QZ6GD3DK.js";import{a as R}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-OUASU5FP.js";import{b as v,c as y}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-UV6KK4W6.js";import{a as M,b as O}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-PFXGXQHO.js";import{b,c as x}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-TAD43MYD.js";import{h as _,k as u}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-BREDWZJ7.js";import{c as N}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-YD4CXLB4.js";import{$a as k,Fa as r,Ga as d,Oa as a,Ua as C,Za as s,Zb as g,_a as c,db as D,ea as h,hb as p,ja as I,ka as T,pb as f,qb as w,rb as F,za as S}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-ZHLG7GCJ.js";function $(i,n){if(i&1){let m=D();s(0,"li")(1,"mat-checkbox",4),p("ngModelChange",function(e){let l=I(m).$implicit;return T(l.selected=e)}),s(2,"div",5)(3,"h5",6),f(4),c()()()()}if(i&2){let m=n.$implicit;r(1),a("ngModel",m.selected),r(3),w(m.Name)}}var q=(()=>{let n=class n{constructor(o,e){this.data=o,this.dialogRef=e,this.selectedItems=this.data.selectedItems,this.channels=this.data.channels}ngOnInit(){this.initModalConfig()}initModalConfig(){this.modalConfig=new v,this.modalConfig.title="Updating Inventory"}onOk(){this.dialogRef.close(this.channels)}onClose(){this.dialogRef.close()}getSelectedChannel(){return this.channels.filter(o=>o.selected)}};n.\u0275fac=function(e){return new(e||n)(d(O),d(M))},n.\u0275cmp=h({type:n,selectors:[["app-modal-update-channels"]],decls:5,vars:3,consts:[[3,"dynamicValidated","config","onOk","onClose","onCancel"],["content",""],[1,"no-bullet"],[4,"ngFor","ngForOf"],[3,"ngModel","ngModelChange"],[1,"d-flex"],[1,"fw-light","me-2","my-auto"]],template:function(e,t){if(e&1&&(s(0,"modal-material",0),p("onOk",function(){return t.onOk()})("onClose",function(){return t.onClose()})("onCancel",function(){return t.onClose()}),s(1,"div",1)(2,"div")(3,"ul",2),C(4,$,5,2,"li",3),c()()()()),e&2){let l;a("dynamicValidated",((l=t.getSelectedChannel())==null?null:l.length)>0)("config",t.modalConfig),r(4),a("ngForOf",t.channels)}},dependencies:[g,_,u,A,y],styles:[".no-bullet[_ngcontent-%COMP%]{list-style-type:none}mat-form-field[_ngcontent-%COMP%]{width:100%;height:100%}.mat-dialog-title[_ngcontent-%COMP%]{margin-bottom:0%;margin-left:24px}.vertical-radio[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:15px 0}"]});let i=n;return i})();function G(i,n){if(i&1&&(s(0,"ng-option",4),k(1,"img",5),f(2),c()),i&2){let m=n.$implicit;a("value",m.ID),r(1),a("src",m.Img,S),r(1),F("",m.Name," ")}}var Z=(()=>{let n=class n{constructor(o,e){this.data=o,this.dialogRef=e,this.channelOptions=o.channelOptions,this.channel=o.selectedChannel?o.selectedChannel:new R}ngOnInit(){this.initModalConfig()}initModalConfig(){this.modalConfig=new v,this.modalConfig.title="Choose Channel",this.modalConfig.customWidth="350px",this.modalConfig.okText="SAVE"}onSelectChannel(o){let e=this.channelOptions.find(t=>t.ID==o);this.channel=e,this.channel&&(this.channel.logo=N.getChannelLogoByTypeId(e.TypeID))}onClose(){this.dialogRef.close()}onOk(){this.dialogRef.close(this.channel)}};n.\u0275fac=function(e){return new(e||n)(d(O),d(M))},n.\u0275cmp=h({type:n,selectors:[["app-modal-choose-channel"]],decls:4,vars:4,consts:[[3,"config","onClose","onCancel","onOk"],["content",""],["appendTo","body",3,"clearable","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[2,"width","18px","margin-right","10px",3,"src"]],template:function(e,t){e&1&&(s(0,"modal-material",0),p("onClose",function(){return t.onClose()})("onCancel",function(){return t.onClose()})("onOk",function(){return t.onOk()}),s(1,"div",1)(2,"ng-select",2),p("ngModelChange",function(U){return t.onSelectChannel(U)}),C(3,G,3,3,"ng-option",3),c()()()),e&2&&(a("config",t.modalConfig),r(2),a("clearable",!1)("ngModel",t.channel.ID),r(1),a("ngForOf",t.channelOptions))},dependencies:[g,_,u,y,x,b]});let i=n;return i})();export{q as a,Z as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as be}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-YS2YJHB3.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-ZVELVZIL.js";import{a as ue}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-7ARC4G4F.js";import{b as ke}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-3G5KO3TI.js";import{a as _e}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-KTPCOMZ2.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-YK6VKTWV.js";import{a as se}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-35GLPUIA.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-I7PLLVEH.js";import{b as Te}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-W7OIIPRU.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-ZLME6FEU.js";import{a as C}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-6HLIRI7N.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-PUSB4EIC.js";import{c as Se}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-IOUI2FZD.js";import{g as ye}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-K5FAZTRK.js";import{c as De}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-BUG6II55.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-VX5ROJLM.js";import{b as ge,c as fe}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-V752HOUZ.js";import{c as Ee}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-PP4T4PLJ.js";import{b as Pe}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-HVNMMTYL.js";import{h as we}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-DKPFXQNF.js";import{d as he}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-2FZAKLVH.js";import{a as g}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-G4PZ5CPL.js";import{a as ve,t as Ie,u as k,w as Oe}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-IM6ZDC7I.js";import{E as xe,J as L,t as Ce,w as Me}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-JWESCPR3.js";import{u as pe}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-6YFZBURX.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-KPTAVWMG.js";import{$a as _,Ba as q,Cb as K,Da as Y,Db as ee,Fa as r,Ga as c,Hc as le,Ic as me,Jc as de,Ka as Z,Kc as ce,Lb as w,Lc as R,Ma as J,Oa as m,Qa as x,Ra as A,Sb as P,Ua as u,V as U,Vb as te,Xb as ie,Za as s,Zb as ne,_a as l,_b as oe,aa as f,ab as I,bb as O,bc as ae,c as z,cc as re,da as N,db as Q,ea as $,fa as h,fc as S,ga as F,hb as y,ja as H,jb as d,ka as V,ob as E,pb as p,q as j,qb as B,rb as b,sb as X,va as W,za as G}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-MGVAWFYU.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-6RUGKYFT.js";var D=class{constructor(){this.menus=[{Icon:"fa-solid fa-chart-pie",Title:"Dashboard",Url:"/menu/dashboard",Roles:[C.dashboardView]},{Icon:"fas fa-tag",Title:"Products",Url:"/menu/products",Roles:[]},{Icon:"fas fa-archive",Title:"Inventory",Url:"/menu/inventory",Roles:[]},{Icon:"fas fa-money-bill-alt",Title:"Price",Url:"/menu/price",Roles:[]},{Icon:"fas fa-shopping-cart",Title:"Order",Url:"/menu/Order",Roles:[C.orderView]},{Icon:"fas fa-clipboard-list",Title:"Sync Log",Url:"/menu/sync-log",Roles:[C.orderView]},{Icon:"fas fa-dolly",Title:"Logistic",Url:"/menu/Logistic",Roles:[]},{Icon:"fas fa-cog",Title:"Channel",Url:"/menu/channel",Roles:[C.channelView]},{Icon:"fas fa-file-alt",Title:"Logs",Url:"/menu/log",Roles:[]},{Icon:"fas fa-bell",Title:"Notification",Url:"/menu/notification",Badge:!0,Roles:[]},{Icon:"fas fa-wand-magic-sparkles",Title:"What`s New",Url:`https://changelog.dealpos.com/?categories=cat_nILYcoEQzgGWX&view=complete&v=${ue.version}`,ExternalLink:!0,CustomColor:"#ff2323",Badge:!0,Roles:[]}]}get getMenu(){return this.menus}};var je=0,Ne="mat-badge-content",Ae=(()=>{let i=class i{get color(){return this._color}set color(t){this._setColor(t),this._color=t}get content(){return this._content}set content(t){this._updateRenderedContent(t)}get description(){return this._description}set description(t){this._updateDescription(t)}constructor(t,n,o,v,M){this._ngZone=t,this._elementRef=n,this._ariaDescriber=o,this._renderer=v,this._animationMode=M,this._color="primary",this.overlap=!0,this.position="above after",this.size="medium",this._id=je++,this._isInitialized=!1,this._interactivityChecker=N(Me),this._document=N(te)}isAbove(){return this.position.indexOf("below")===-1}isAfter(){return this.position.indexOf("before")===-1}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&(this._renderer.destroyNode(this._badgeElement),this._inlineBadgeDescription?.remove()),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_isHostInteractive(){return this._interactivityChecker.isFocusable(this._elementRef.nativeElement,{ignoreVisibility:!0})}_createBadgeElement(){let t=this._renderer.createElement("span"),n="mat-badge-active";return t.setAttribute("id",`mat-badge-content-${this._id}`),t.setAttribute("aria-hidden","true"),t.classList.add(Ne),this._animationMode==="NoopAnimations"&&t.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(t),typeof requestAnimationFrame=="function"&&this._animationMode!=="NoopAnimations"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{t.classList.add(n)})}):t.classList.add(n),t}_updateRenderedContent(t){let n=`${t??""}`.trim();this._isInitialized&&n&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=n),this._content=n}_updateDescription(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),(!t||this._isHostInteractive())&&this._removeInlineDescription(),this._description=t,this._isHostInteractive()?this._ariaDescriber.describe(this._elementRef.nativeElement,t):this._updateInlineDescription()}_updateInlineDescription(){this._inlineBadgeDescription||(this._inlineBadgeDescription=this._document.createElement("span"),this._inlineBadgeDescription.classList.add("cdk-visually-hidden")),this._inlineBadgeDescription.textContent=this.description,this._badgeElement?.appendChild(this._inlineBadgeDescription)}_removeInlineDescription(){this._inlineBadgeDescription?.remove(),this._inlineBadgeDescription=void 0}_setColor(t){let n=this._elementRef.nativeElement.classList;n.remove(`mat-badge-${this._color}`),t&&n.add(`mat-badge-${t}`)}_clearExistingBadges(){let t=this._elementRef.nativeElement.querySelectorAll(`:scope > .${Ne}`);for(let n of Array.from(t))n!==this._badgeElement&&n.remove()}};i.\u0275fac=function(n){return new(n||i)(c(Z),c(q),c(Ce),c(Y),c(W,8))},i.\u0275dir=F({type:i,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(n,o){n&2&&x("mat-badge-overlap",o.overlap)("mat-badge-above",o.isAbove())("mat-badge-below",!o.isAbove())("mat-badge-before",!o.isAfter())("mat-badge-after",o.isAfter())("mat-badge-small",o.size==="small")("mat-badge-medium",o.size==="medium")("mat-badge-large",o.size==="large")("mat-badge-hidden",o.hidden||!o.content)("mat-badge-disabled",o.disabled)},inputs:{color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap",P],disabled:["matBadgeDisabled","disabled",P],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden",P]},features:[J]});let e=i;return e})(),Be=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=h({type:i}),i.\u0275inj=f({imports:[xe,L,L]});let e=i;return e})();function $e(e,i){if(e&1&&(I(0),s(1,"p",23),p(2),l(),O()),e&2){let a=d(3).$implicit;r(2),B(a.Title)}}function Fe(e,i){if(e&1&&(s(0,"p"),p(1),l()),e&2){let a=d(3).$implicit;r(1),b("",a.Title," ")}}function He(e,i){if(e&1&&(s(0,"a",21),_(1,"i"),u(2,$e,3,1,"ng-container",18)(3,Fe,2,1,"ng-template",null,22,w),l()),e&2){let a=E(4),t=d(2).$implicit;m("href",t.Url,G),r(1),A(t.Icon),r(1),m("ngIf",t.Badge)("ngIfElse",a)}}function Ve(e,i){if(e&1&&(I(0),u(1,He,5,5,"a",20),O()),e&2){let a=d().$implicit;r(1),m("ngxPermissionsOnly",a.Roles)}}function We(e,i){if(e&1&&(I(0),s(1,"p",27),K(2,"async"),p(3),l(),O()),e&2){let a=d(3).$implicit,t=d();r(1),m("matBadgeHidden",ee(2,2,t.notifications$)==0),r(2),B(a.Title)}}function Ge(e,i){if(e&1&&(s(0,"p"),p(1),l()),e&2){let a=d(3).$implicit;r(1),b("",a.Title," ")}}function qe(e,i){if(e&1&&(s(0,"a",25),_(1,"i"),u(2,We,4,4,"ng-container",18)(3,Ge,2,1,"ng-template",null,26,w),l()),e&2){let a=E(4),t=d(2).$implicit,n=d();m("matTooltip",n.isCollapseSidebar?t.Title:"")("routerLink",t.Url),r(1),A(t.Icon),r(1),m("ngIf",t.Badge)("ngIfElse",a)}}function Ye(e,i){if(e&1&&u(0,qe,5,6,"a",24),e&2){let a=d().$implicit;m("ngxPermissionsOnly",a.Roles)}}function Ze(e,i){if(e&1&&(s(0,"li",17),u(1,Ve,2,1,"ng-container",18)(2,Ye,1,1,"ng-template",null,19,w),l()),e&2){let a=i.$implicit,t=E(3);r(1),m("ngIf",a.ExternalLink)("ngIfElse",t)}}function Je(e,i){if(e&1){let a=Q();s(0,"div",28)(1,"span"),p(2),s(3,"a",29),p(4,"this Article"),l(),p(5," to renew your ShopID! "),l(),s(6,"a",30),y("click",function(){H(a);let n=d();return V(n.CloseWarning())}),_(7,"i",31),l()()}if(e&2){let a=d();r(2),X(" Your Shopee Channel ShopID ",a.ShopID," is expired in (",a.Difference_In_Days,") days, please refer to ")}}var Re=(()=>{let i=class i{constructor(t,n,o,v,M){this._router=t,this.LocalData=n,this.toggleSidebarService=o,this.notificationService=v,this.decodeTokenService=M,this.Menu={},this.Difference_In_Days=0,this.IsExpired=!1,this.destroy$=new z,this.isCollapseSidebar=!1,this.initIntercom(),this.token=M.getParseToken(),this.storeName=this.token.StoreName,this.Menu=new D().getMenu}ngOnInit(){this.subscribeToSidebarChange(),this.initNotifications()}initNotifications(){this.notifications$=this.notificationService.getNotification().pipe(j(t=>t.length))}initIntercom(){var t=localStorage.getItem("Intercom"),n=JSON.parse(t);n==null?window.Intercom("boot",{app_id:"xv1oomgl"}):window.Intercom("boot",{app_id:"xv1oomgl",name:n.Name,email:n.Email,created_at:n.Created,user_hash:n.Hash})}subscribeToSidebarChange(){this.toggleSidebarService.toggleState$.pipe(U(this.destroy$)).subscribe(t=>{this.isNavOpen=t})}CloseWarning(){localStorage.removeItem("channel"),this.IsExpired=!1}user(){this._router.navigate(["/menu/users"])}LogOut(){window.Intercom("shutdown"),window.localStorage.removeItem("user"),window.localStorage.removeItem("Intercom"),window.localStorage.removeItem("channel"),window.localStorage.removeItem("ChannelByRoleUserLogin"),this.LocalData.clearDatabase(),this._router.navigate([""])}onCallapseSidebar(){this.isCollapseSidebar=!this.isCollapseSidebar,this.storeName=this.token.StoreName,this.isCollapseSidebar&&(this.storeName=this.getInitialTitle(this.token.StoreName))}getInitialTitle(t){if(t){let n,o=t.split(" ");return o.length==1?n=o[0].substring(0,2):n=o.shift().charAt(0)+o.pop().charAt(0),n}}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}};i.\u0275fac=function(n){return new(n||i)(c(me),c(_e),c(ve),c(be),c(se))},i.\u0275cmp=$({type:i,selectors:[["app-menu"]],decls:23,vars:8,consts:[[1,"wrapper"],["data-color","green",1,"sidebar",3,"ngClass"],[1,"btn-minimize","d-md-block","d-none","p-0","border-0","bg-white",3,"click"],[1,"fas","cursor",3,"ngClass"],[1,"logo"],[1,"navbar","dropdown","bg-transparent","border-0"],["data-bs-toggle","dropdown","aria-expanded","false",1,"simple-text","text-start","dropdown-toggle","d-flex","align-items-center","justify-content-center","cursor-pointer"],[1,"dropdown-menu"],[1,"dropdown-header","text-dark","border-bottom"],[1,"divider","m-0"],[1,"dropdown-item","h5",2,"cursor","pointer",3,"click"],["aria-hidden","true",1,"fas","fa-sign-out-alt"],[1,"sidebar-wrapper"],[1,"nav"],["routerLinkActive","active",4,"ngFor","ngForOf"],[1,"main-panel"],["class","alert alert-warning d-flex justify-content-between text-dark","role","alert",4,"ngIf"],["routerLinkActive","active"],[4,"ngIf","ngIfElse"],["DEFAULT_ROUTE",""],["class","nav-link position-relative d-block changelog","target","_blank",3,"href",4,"ngxPermissionsOnly"],["target","_blank",1,"nav-link","position-relative","d-block","changelog",3,"href"],["NO_BADGE",""],["matBadge","!","matBadgeColor","warn","matBadgeSize","small",1,"shake-animation"],["class","nav-link position-relative d-block","matTooltipPosition","right",3,"matTooltip","routerLink",4,"ngxPermissionsOnly"],["matTooltipPosition","right",1,"nav-link","position-relative","d-block",3,"matTooltip","routerLink"],["WITHOUT_BADGE",""],["matBadge","!","matBadgeColor","warn","matBadgeSize","small",1,"shake-animation",3,"matBadgeHidden"],["role","alert",1,"alert","alert-warning","d-flex","justify-content-between","text-dark"],["target","_blank","href","https://support.dealpos.com/en/articles/5334947-renew-shopee-authorization"],[1,"alert-link","text-danger",2,"cursor","pointer",3,"click"],[1,"far","fa-times-circle","fa-lg"]],template:function(n,o){n&1&&(s(0,"div",0)(1,"div",1)(2,"button",2),y("click",function(){return o.onCallapseSidebar()}),_(3,"i",3),l(),s(4,"div",4)(5,"div",5)(6,"a",6),p(7),l(),s(8,"div",7)(9,"div",8),p(10),l(),_(11,"div",9),s(12,"a",10),y("click",function(){return o.LogOut()}),_(13,"i",11),p(14,"\xA0 "),s(15,"span"),p(16," Log Out"),l()()()()(),s(17,"div",12)(18,"ul",13),u(19,Ze,4,2,"li",14),l()()(),s(20,"div",15),u(21,Je,8,2,"div",16),_(22,"router-outlet"),l()()),n&2&&(x("nav-open",o.isNavOpen),r(1),m("ngClass",o.isCollapseSidebar?"collapses":""),r(2),m("ngClass",o.isCollapseSidebar?"fa-angle-left":"fa-angle-right"),r(4),b(" ",o.storeName," "),r(3),b("",o.token==null?null:o.token.LID," "),r(9),m("ngForOf",o.Menu),r(2),m("ngIf",o.IsExpired))},dependencies:[ie,ne,oe,le,de,ce,Ie,Ae,ge,ae],styles:[".top-initial[_ngcontent-%COMP%] .dropdown-menu.show[_ngcontent-%COMP%]{top:initial!important}@media (max-width: 468px){.navbar[_ngcontent-%COMP%] .navbar-brand[_ngcontent-%COMP%]{white-space:nowrap;max-width:7em;overflow:hidden;text-overflow:ellipsis}}@media only screen and (min-width: 992px){.sidebar[_ngcontent-%COMP%]{z-index:1050!important;transition:all .3s}.sidebar[_ngcontent-%COMP%] .sidebar-wrapper[_ngcontent-%COMP%]{transition:all .3s}.sidebar[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%]{transition:all .3s}.sidebar[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%] .navbar.fixed-top[_ngcontent-%COMP%]{transition:all .3s}.sidebar.collapses[_ngcontent-%COMP%], .sidebar.collapses[_ngcontent-%COMP%] .sidebar-wrapper[_ngcontent-%COMP%]{width:70px;transition:all .3s}.sidebar.collapses[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] .simple-text[_ngcontent-%COMP%]{background-color:#ffffff3b;border-radius:20px;height:40px;width:40px}.sidebar.collapses[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{padding:10px 0 10px 10px!important;height:50px;text-align:center;margin:10px}.sidebar.collapses[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:none}.sidebar.collapses[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%]{padding-left:70px}.sidebar.collapses[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%] .navbar.fixed-top[_ngcontent-%COMP%]{left:70px!important;transition:all .3s}.sidebar[_ngcontent-%COMP%] .btn-minimize[_ngcontent-%COMP%]{position:absolute;top:17px;right:-20px;z-index:7;-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);border-radius:50%;box-shadow:0 0 0 1px #091e4214,0 2px 4px 1px #091e4214;color:#000;cursor:pointer;height:24px;opacity:0;outline:0;width:24px;-webkit-transform-origin:7px;-ms-transform-origin:7px;transform-origin:7px;transition:opacity .5s;-webkit-transition:opacity .5s}.sidebar[_ngcontent-%COMP%] .btn-minimize[_ngcontent-%COMP%]:hover{color:#2996cc}.sidebar[_ngcontent-%COMP%]:hover .btn-minimize[_ngcontent-%COMP%]{opacity:1;background-color:#fff;position:absolute;top:17px;right:-20px;z-index:7;-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);border:0;border-radius:50%;box-shadow:0 0 0 1px #091e4214,0 2px 4px 1px #091e4214;color:#000;cursor:pointer;height:24px;opacity:0;outline:0;padding:0;width:24px;-webkit-transform-origin:7px;-ms-transform-origin:7px;transform-origin:7px;transition:opacity .5s;-webkit-transition:opacity .5s}.sidebar[_ngcontent-%COMP%]:hover .btn-minimize[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{cursor:pointer}.sidebar[_ngcontent-%COMP%]:hover .btn-minimize[_ngcontent-%COMP%]:hover{color:#2996cc}.sidebar[_ngcontent-%COMP%]:hover:hover .btn-minimize[_ngcontent-%COMP%]{opacity:1}.full-container[_ngcontent-%COMP%]{padding-top:0!important}} p.shake-animation.mat-badge>span.mat-badge-content{animation:_ngcontent-%COMP%_shake-animation 4.72s ease infinite;font-size:12px;transform-origin:50% 50%;right:-14px!important}@keyframes _ngcontent-%COMP%_shake-animation{0%{transform:translate(0)}1.78571%{transform:translate(5px)}3.57143%{transform:translate(0)}5.35714%{transform:translate(5px)}7.14286%{transform:translate(0)}8.92857%{transform:translate(5px)}10.71429%{transform:translate(0)}to{transform:translate(0)}} .changelog:visited p.shake-animation.mat-badge>span.mat-badge-content{color:#77c425;background-color:#77c425;z-index:-1}@media print{.main-panel[_ngcontent-%COMP%]{padding:0!important}}"]});let e=i;return e})();var Qe=[{path:"",component:Re,children:[{path:"",redirectTo:"dashboard",pathMatch:"full"},{path:"dashboard",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-IPSBLHOU.js").then(e=>e.DashboardModule),canActivate:[g],data:{title:"Dashboard"}},{path:"products",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-FTYEJYHR.js").then(e=>e.ProductModule),canActivate:[g],data:{title:"Products"}},{path:"inventory",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-2GUSUJKR.js").then(e=>e.InventoryModule),canActivate:[g],data:{title:"Inventory"}},{path:"price",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-V3NJFGV3.js").then(e=>e.PriceModule),canActivate:[g],data:{title:"Price"}},{path:"Order",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-ZXU3FVPS.js").then(e=>e.OrdersModule),canActivate:[g],data:{title:"Order"}},{path:"sync-log",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-UWU5GEHX.js").then(e=>e.ReportModule),canActivate:[g],data:{title:"Report"}},{path:"Logistic",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-UTSC6PL6.js").then(e=>e.LogisticModule),canActivate:[g],data:{title:"Logistic"}},{path:"channel",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-SY5WIR62.js").then(e=>e.ChannelsModule),canActivate:[g],data:{title:"Marketplace"}},{path:"log",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-NAXDUEX4.js").then(e=>e.LogsModule),canActivate:[g],data:{title:"Orders"}},{path:"notification",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.6.0/Marketplace/chunk-Q2ZCP6BL.js").then(e=>e.NotificationModule),canActivate:[g],data:{title:"Push Notification"}}]}],Le=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=h({type:i}),i.\u0275inj=f({imports:[R.forChild(Qe),R]});let e=i;return e})();var ze=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=h({type:i}),i.\u0275inj=f({imports:[S,pe,ye,Ee,De,we,Pe,Te,k,Se,ke,he]});let e=i;return e})();var xi=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=h({type:i}),i.\u0275inj=f({providers:[re],imports:[S,Le,Oe,k,ze,Be,fe.forChild()]});let e=i;return e})();export{xi as MenuModule};
|
|
1
|
+
import{a as be}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-EAYXHDLW.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-TG2NAWXW.js";import{a as ue}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-ZJYHLYQC.js";import{b as ke}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-ERRFLL6T.js";import{a as _e}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-BATYANE3.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-BVMOK3VE.js";import{a as se}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-CBOPSK2G.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-I3M6GHUE.js";import{b as Te}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-QZ6GD3DK.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-OUASU5FP.js";import{a as C}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-GCXKRLIU.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-6M2Q3GGB.js";import{c as Se}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-UV6KK4W6.js";import{g as ye}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-PFXGXQHO.js";import{c as De}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-HXRWGEJ5.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-HUDF4XGA.js";import{b as ge,c as fe}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-RWYXA653.js";import{c as Ee}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-BYPWQ2HT.js";import{b as Pe}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-KM23UFSR.js";import{h as we}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-2GCJVDVN.js";import{d as he}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-TAD43MYD.js";import{a as g}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-TPFTT632.js";import{a as ve,t as Ie,u as k,w as Oe}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-V7X66MWE.js";import{E as xe,J as L,t as Ce,w as Me}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-45NXB6RE.js";import{u as pe}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-BREDWZJ7.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-YD4CXLB4.js";import{$a as _,Ba as q,Cb as K,Da as Y,Db as ee,Fa as r,Ga as c,Hc as le,Ic as me,Jc as de,Ka as Z,Kc as ce,Lb as w,Lc as R,Ma as J,Oa as m,Qa as x,Ra as A,Sb as P,Ua as u,V as U,Vb as te,Xb as ie,Za as s,Zb as ne,_a as l,_b as oe,aa as f,ab as I,bb as O,bc as ae,c as z,cc as re,da as N,db as Q,ea as $,fa as h,fc as S,ga as F,hb as y,ja as H,jb as d,ka as V,ob as E,pb as p,q as j,qb as B,rb as b,sb as X,va as W,za as G}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-ZHLG7GCJ.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-72VLH7XK.js";var D=class{constructor(){this.menus=[{Icon:"fa-solid fa-chart-pie",Title:"Dashboard",Url:"/menu/dashboard",Roles:[C.dashboardView]},{Icon:"fas fa-tag",Title:"Products",Url:"/menu/products",Roles:[]},{Icon:"fas fa-archive",Title:"Inventory",Url:"/menu/inventory",Roles:[]},{Icon:"fas fa-money-bill-alt",Title:"Price",Url:"/menu/price",Roles:[]},{Icon:"fas fa-shopping-cart",Title:"Order",Url:"/menu/Order",Roles:[C.orderView]},{Icon:"fas fa-clipboard-list",Title:"Sync Log",Url:"/menu/sync-log",Roles:[C.orderView]},{Icon:"fas fa-dolly",Title:"Logistic",Url:"/menu/Logistic",Roles:[]},{Icon:"fas fa-cog",Title:"Channel",Url:"/menu/channel",Roles:[C.channelView]},{Icon:"fas fa-file-alt",Title:"Logs",Url:"/menu/log",Roles:[]},{Icon:"fas fa-bell",Title:"Notification",Url:"/menu/notification",Badge:!0,Roles:[]},{Icon:"fas fa-wand-magic-sparkles",Title:"What`s New",Url:`https://changelog.dealpos.com/?categories=cat_nILYcoEQzgGWX&view=complete&v=${ue.version}`,ExternalLink:!0,CustomColor:"#ff2323",Badge:!0,Roles:[]}]}get getMenu(){return this.menus}};var je=0,Ne="mat-badge-content",Ae=(()=>{let i=class i{get color(){return this._color}set color(t){this._setColor(t),this._color=t}get content(){return this._content}set content(t){this._updateRenderedContent(t)}get description(){return this._description}set description(t){this._updateDescription(t)}constructor(t,n,o,v,M){this._ngZone=t,this._elementRef=n,this._ariaDescriber=o,this._renderer=v,this._animationMode=M,this._color="primary",this.overlap=!0,this.position="above after",this.size="medium",this._id=je++,this._isInitialized=!1,this._interactivityChecker=N(Me),this._document=N(te)}isAbove(){return this.position.indexOf("below")===-1}isAfter(){return this.position.indexOf("before")===-1}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&(this._renderer.destroyNode(this._badgeElement),this._inlineBadgeDescription?.remove()),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_isHostInteractive(){return this._interactivityChecker.isFocusable(this._elementRef.nativeElement,{ignoreVisibility:!0})}_createBadgeElement(){let t=this._renderer.createElement("span"),n="mat-badge-active";return t.setAttribute("id",`mat-badge-content-${this._id}`),t.setAttribute("aria-hidden","true"),t.classList.add(Ne),this._animationMode==="NoopAnimations"&&t.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(t),typeof requestAnimationFrame=="function"&&this._animationMode!=="NoopAnimations"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{t.classList.add(n)})}):t.classList.add(n),t}_updateRenderedContent(t){let n=`${t??""}`.trim();this._isInitialized&&n&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=n),this._content=n}_updateDescription(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),(!t||this._isHostInteractive())&&this._removeInlineDescription(),this._description=t,this._isHostInteractive()?this._ariaDescriber.describe(this._elementRef.nativeElement,t):this._updateInlineDescription()}_updateInlineDescription(){this._inlineBadgeDescription||(this._inlineBadgeDescription=this._document.createElement("span"),this._inlineBadgeDescription.classList.add("cdk-visually-hidden")),this._inlineBadgeDescription.textContent=this.description,this._badgeElement?.appendChild(this._inlineBadgeDescription)}_removeInlineDescription(){this._inlineBadgeDescription?.remove(),this._inlineBadgeDescription=void 0}_setColor(t){let n=this._elementRef.nativeElement.classList;n.remove(`mat-badge-${this._color}`),t&&n.add(`mat-badge-${t}`)}_clearExistingBadges(){let t=this._elementRef.nativeElement.querySelectorAll(`:scope > .${Ne}`);for(let n of Array.from(t))n!==this._badgeElement&&n.remove()}};i.\u0275fac=function(n){return new(n||i)(c(Z),c(q),c(Ce),c(Y),c(W,8))},i.\u0275dir=F({type:i,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(n,o){n&2&&x("mat-badge-overlap",o.overlap)("mat-badge-above",o.isAbove())("mat-badge-below",!o.isAbove())("mat-badge-before",!o.isAfter())("mat-badge-after",o.isAfter())("mat-badge-small",o.size==="small")("mat-badge-medium",o.size==="medium")("mat-badge-large",o.size==="large")("mat-badge-hidden",o.hidden||!o.content)("mat-badge-disabled",o.disabled)},inputs:{color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap",P],disabled:["matBadgeDisabled","disabled",P],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden",P]},features:[J]});let e=i;return e})(),Be=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=h({type:i}),i.\u0275inj=f({imports:[xe,L,L]});let e=i;return e})();function $e(e,i){if(e&1&&(I(0),s(1,"p",23),p(2),l(),O()),e&2){let a=d(3).$implicit;r(2),B(a.Title)}}function Fe(e,i){if(e&1&&(s(0,"p"),p(1),l()),e&2){let a=d(3).$implicit;r(1),b("",a.Title," ")}}function He(e,i){if(e&1&&(s(0,"a",21),_(1,"i"),u(2,$e,3,1,"ng-container",18)(3,Fe,2,1,"ng-template",null,22,w),l()),e&2){let a=E(4),t=d(2).$implicit;m("href",t.Url,G),r(1),A(t.Icon),r(1),m("ngIf",t.Badge)("ngIfElse",a)}}function Ve(e,i){if(e&1&&(I(0),u(1,He,5,5,"a",20),O()),e&2){let a=d().$implicit;r(1),m("ngxPermissionsOnly",a.Roles)}}function We(e,i){if(e&1&&(I(0),s(1,"p",27),K(2,"async"),p(3),l(),O()),e&2){let a=d(3).$implicit,t=d();r(1),m("matBadgeHidden",ee(2,2,t.notifications$)==0),r(2),B(a.Title)}}function Ge(e,i){if(e&1&&(s(0,"p"),p(1),l()),e&2){let a=d(3).$implicit;r(1),b("",a.Title," ")}}function qe(e,i){if(e&1&&(s(0,"a",25),_(1,"i"),u(2,We,4,4,"ng-container",18)(3,Ge,2,1,"ng-template",null,26,w),l()),e&2){let a=E(4),t=d(2).$implicit,n=d();m("matTooltip",n.isCollapseSidebar?t.Title:"")("routerLink",t.Url),r(1),A(t.Icon),r(1),m("ngIf",t.Badge)("ngIfElse",a)}}function Ye(e,i){if(e&1&&u(0,qe,5,6,"a",24),e&2){let a=d().$implicit;m("ngxPermissionsOnly",a.Roles)}}function Ze(e,i){if(e&1&&(s(0,"li",17),u(1,Ve,2,1,"ng-container",18)(2,Ye,1,1,"ng-template",null,19,w),l()),e&2){let a=i.$implicit,t=E(3);r(1),m("ngIf",a.ExternalLink)("ngIfElse",t)}}function Je(e,i){if(e&1){let a=Q();s(0,"div",28)(1,"span"),p(2),s(3,"a",29),p(4,"this Article"),l(),p(5," to renew your ShopID! "),l(),s(6,"a",30),y("click",function(){H(a);let n=d();return V(n.CloseWarning())}),_(7,"i",31),l()()}if(e&2){let a=d();r(2),X(" Your Shopee Channel ShopID ",a.ShopID," is expired in (",a.Difference_In_Days,") days, please refer to ")}}var Re=(()=>{let i=class i{constructor(t,n,o,v,M){this._router=t,this.LocalData=n,this.toggleSidebarService=o,this.notificationService=v,this.decodeTokenService=M,this.Menu={},this.Difference_In_Days=0,this.IsExpired=!1,this.destroy$=new z,this.isCollapseSidebar=!1,this.initIntercom(),this.token=M.getParseToken(),this.storeName=this.token.StoreName,this.Menu=new D().getMenu}ngOnInit(){this.subscribeToSidebarChange(),this.initNotifications()}initNotifications(){this.notifications$=this.notificationService.getNotification().pipe(j(t=>t.length))}initIntercom(){var t=localStorage.getItem("Intercom"),n=JSON.parse(t);n==null?window.Intercom("boot",{app_id:"xv1oomgl"}):window.Intercom("boot",{app_id:"xv1oomgl",name:n.Name,email:n.Email,created_at:n.Created,user_hash:n.Hash})}subscribeToSidebarChange(){this.toggleSidebarService.toggleState$.pipe(U(this.destroy$)).subscribe(t=>{this.isNavOpen=t})}CloseWarning(){localStorage.removeItem("channel"),this.IsExpired=!1}user(){this._router.navigate(["/menu/users"])}LogOut(){window.Intercom("shutdown"),window.localStorage.removeItem("user"),window.localStorage.removeItem("Intercom"),window.localStorage.removeItem("channel"),window.localStorage.removeItem("ChannelByRoleUserLogin"),this.LocalData.clearDatabase(),this._router.navigate([""])}onCallapseSidebar(){this.isCollapseSidebar=!this.isCollapseSidebar,this.storeName=this.token.StoreName,this.isCollapseSidebar&&(this.storeName=this.getInitialTitle(this.token.StoreName))}getInitialTitle(t){if(t){let n,o=t.split(" ");return o.length==1?n=o[0].substring(0,2):n=o.shift().charAt(0)+o.pop().charAt(0),n}}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}};i.\u0275fac=function(n){return new(n||i)(c(me),c(_e),c(ve),c(be),c(se))},i.\u0275cmp=$({type:i,selectors:[["app-menu"]],decls:23,vars:8,consts:[[1,"wrapper"],["data-color","green",1,"sidebar",3,"ngClass"],[1,"btn-minimize","d-md-block","d-none","p-0","border-0","bg-white",3,"click"],[1,"fas","cursor",3,"ngClass"],[1,"logo"],[1,"navbar","dropdown","bg-transparent","border-0"],["data-bs-toggle","dropdown","aria-expanded","false",1,"simple-text","text-start","dropdown-toggle","d-flex","align-items-center","justify-content-center","cursor-pointer"],[1,"dropdown-menu"],[1,"dropdown-header","text-dark","border-bottom"],[1,"divider","m-0"],[1,"dropdown-item","h5",2,"cursor","pointer",3,"click"],["aria-hidden","true",1,"fas","fa-sign-out-alt"],[1,"sidebar-wrapper"],[1,"nav"],["routerLinkActive","active",4,"ngFor","ngForOf"],[1,"main-panel"],["class","alert alert-warning d-flex justify-content-between text-dark","role","alert",4,"ngIf"],["routerLinkActive","active"],[4,"ngIf","ngIfElse"],["DEFAULT_ROUTE",""],["class","nav-link position-relative d-block changelog","target","_blank",3,"href",4,"ngxPermissionsOnly"],["target","_blank",1,"nav-link","position-relative","d-block","changelog",3,"href"],["NO_BADGE",""],["matBadge","!","matBadgeColor","warn","matBadgeSize","small",1,"shake-animation"],["class","nav-link position-relative d-block","matTooltipPosition","right",3,"matTooltip","routerLink",4,"ngxPermissionsOnly"],["matTooltipPosition","right",1,"nav-link","position-relative","d-block",3,"matTooltip","routerLink"],["WITHOUT_BADGE",""],["matBadge","!","matBadgeColor","warn","matBadgeSize","small",1,"shake-animation",3,"matBadgeHidden"],["role","alert",1,"alert","alert-warning","d-flex","justify-content-between","text-dark"],["target","_blank","href","https://support.dealpos.com/en/articles/5334947-renew-shopee-authorization"],[1,"alert-link","text-danger",2,"cursor","pointer",3,"click"],[1,"far","fa-times-circle","fa-lg"]],template:function(n,o){n&1&&(s(0,"div",0)(1,"div",1)(2,"button",2),y("click",function(){return o.onCallapseSidebar()}),_(3,"i",3),l(),s(4,"div",4)(5,"div",5)(6,"a",6),p(7),l(),s(8,"div",7)(9,"div",8),p(10),l(),_(11,"div",9),s(12,"a",10),y("click",function(){return o.LogOut()}),_(13,"i",11),p(14,"\xA0 "),s(15,"span"),p(16," Log Out"),l()()()()(),s(17,"div",12)(18,"ul",13),u(19,Ze,4,2,"li",14),l()()(),s(20,"div",15),u(21,Je,8,2,"div",16),_(22,"router-outlet"),l()()),n&2&&(x("nav-open",o.isNavOpen),r(1),m("ngClass",o.isCollapseSidebar?"collapses":""),r(2),m("ngClass",o.isCollapseSidebar?"fa-angle-left":"fa-angle-right"),r(4),b(" ",o.storeName," "),r(3),b("",o.token==null?null:o.token.LID," "),r(9),m("ngForOf",o.Menu),r(2),m("ngIf",o.IsExpired))},dependencies:[ie,ne,oe,le,de,ce,Ie,Ae,ge,ae],styles:[".top-initial[_ngcontent-%COMP%] .dropdown-menu.show[_ngcontent-%COMP%]{top:initial!important}@media (max-width: 468px){.navbar[_ngcontent-%COMP%] .navbar-brand[_ngcontent-%COMP%]{white-space:nowrap;max-width:7em;overflow:hidden;text-overflow:ellipsis}}@media only screen and (min-width: 992px){.sidebar[_ngcontent-%COMP%]{z-index:1050!important;transition:all .3s}.sidebar[_ngcontent-%COMP%] .sidebar-wrapper[_ngcontent-%COMP%]{transition:all .3s}.sidebar[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%]{transition:all .3s}.sidebar[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%] .navbar.fixed-top[_ngcontent-%COMP%]{transition:all .3s}.sidebar.collapses[_ngcontent-%COMP%], .sidebar.collapses[_ngcontent-%COMP%] .sidebar-wrapper[_ngcontent-%COMP%]{width:70px;transition:all .3s}.sidebar.collapses[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] .simple-text[_ngcontent-%COMP%]{background-color:#ffffff3b;border-radius:20px;height:40px;width:40px}.sidebar.collapses[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{padding:10px 0 10px 10px!important;height:50px;text-align:center;margin:10px}.sidebar.collapses[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:none}.sidebar.collapses[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%]{padding-left:70px}.sidebar.collapses[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%] .navbar.fixed-top[_ngcontent-%COMP%]{left:70px!important;transition:all .3s}.sidebar[_ngcontent-%COMP%] .btn-minimize[_ngcontent-%COMP%]{position:absolute;top:17px;right:-20px;z-index:7;-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);border-radius:50%;box-shadow:0 0 0 1px #091e4214,0 2px 4px 1px #091e4214;color:#000;cursor:pointer;height:24px;opacity:0;outline:0;width:24px;-webkit-transform-origin:7px;-ms-transform-origin:7px;transform-origin:7px;transition:opacity .5s;-webkit-transition:opacity .5s}.sidebar[_ngcontent-%COMP%] .btn-minimize[_ngcontent-%COMP%]:hover{color:#2996cc}.sidebar[_ngcontent-%COMP%]:hover .btn-minimize[_ngcontent-%COMP%]{opacity:1;background-color:#fff;position:absolute;top:17px;right:-20px;z-index:7;-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);border:0;border-radius:50%;box-shadow:0 0 0 1px #091e4214,0 2px 4px 1px #091e4214;color:#000;cursor:pointer;height:24px;opacity:0;outline:0;padding:0;width:24px;-webkit-transform-origin:7px;-ms-transform-origin:7px;transform-origin:7px;transition:opacity .5s;-webkit-transition:opacity .5s}.sidebar[_ngcontent-%COMP%]:hover .btn-minimize[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{cursor:pointer}.sidebar[_ngcontent-%COMP%]:hover .btn-minimize[_ngcontent-%COMP%]:hover{color:#2996cc}.sidebar[_ngcontent-%COMP%]:hover:hover .btn-minimize[_ngcontent-%COMP%]{opacity:1}.full-container[_ngcontent-%COMP%]{padding-top:0!important}} p.shake-animation.mat-badge>span.mat-badge-content{animation:_ngcontent-%COMP%_shake-animation 4.72s ease infinite;font-size:12px;transform-origin:50% 50%;right:-14px!important}@keyframes _ngcontent-%COMP%_shake-animation{0%{transform:translate(0)}1.78571%{transform:translate(5px)}3.57143%{transform:translate(0)}5.35714%{transform:translate(5px)}7.14286%{transform:translate(0)}8.92857%{transform:translate(5px)}10.71429%{transform:translate(0)}to{transform:translate(0)}} .changelog:visited p.shake-animation.mat-badge>span.mat-badge-content{color:#77c425;background-color:#77c425;z-index:-1}@media print{.main-panel[_ngcontent-%COMP%]{padding:0!important}}"]});let e=i;return e})();var Qe=[{path:"",component:Re,children:[{path:"",redirectTo:"dashboard",pathMatch:"full"},{path:"dashboard",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-F45ZZTMU.js").then(e=>e.DashboardModule),canActivate:[g],data:{title:"Dashboard"}},{path:"products",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-46GC4FG7.js").then(e=>e.ProductModule),canActivate:[g],data:{title:"Products"}},{path:"inventory",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-7V6UQDFG.js").then(e=>e.InventoryModule),canActivate:[g],data:{title:"Inventory"}},{path:"price",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-BVGNNSM2.js").then(e=>e.PriceModule),canActivate:[g],data:{title:"Price"}},{path:"Order",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-QYZDV3KB.js").then(e=>e.OrdersModule),canActivate:[g],data:{title:"Order"}},{path:"sync-log",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-2KGUHH44.js").then(e=>e.ReportModule),canActivate:[g],data:{title:"Report"}},{path:"Logistic",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-YBEJ6DSM.js").then(e=>e.LogisticModule),canActivate:[g],data:{title:"Logistic"}},{path:"channel",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-JSCR55UZ.js").then(e=>e.ChannelsModule),canActivate:[g],data:{title:"Marketplace"}},{path:"log",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-7EYB3DHT.js").then(e=>e.LogsModule),canActivate:[g],data:{title:"Orders"}},{path:"notification",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.6.2/Marketplace/chunk-FO3KSKQ6.js").then(e=>e.NotificationModule),canActivate:[g],data:{title:"Push Notification"}}]}],Le=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=h({type:i}),i.\u0275inj=f({imports:[R.forChild(Qe),R]});let e=i;return e})();var ze=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=h({type:i}),i.\u0275inj=f({imports:[S,pe,ye,Ee,De,we,Pe,Te,k,Se,ke,he]});let e=i;return e})();var xi=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=h({type:i}),i.\u0275inj=f({providers:[re],imports:[S,Le,Oe,k,ze,Be,fe.forChild()]});let e=i;return e})();export{xi as MenuModule};
|