marketplacepos 3.10.0 → 3.10.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-SOPDRQWM.js → chunk-223SSA62.js} +1 -1
- package/Marketplace/{chunk-SHX3JAGT.js → chunk-2HHCA3NK.js} +1 -1
- package/Marketplace/{chunk-L6CJT6UC.js → chunk-2OVWEFCG.js} +1 -1
- package/Marketplace/{chunk-FA44W5LU.js → chunk-2TS2HEE6.js} +1 -1
- package/Marketplace/{chunk-GR5OKYJS.js → chunk-3ZPC3DOZ.js} +1 -1
- package/Marketplace/{chunk-7MM3ONJ5.js → chunk-4R2X6SN5.js} +1 -1
- package/Marketplace/{chunk-SQR4ZRTF.js → chunk-5VJQDJRJ.js} +1 -1
- package/Marketplace/{chunk-WOHUGR5B.js → chunk-6C4L2S7S.js} +1 -1
- package/Marketplace/{chunk-L7Q6GF26.js → chunk-6NGKE364.js} +1 -1
- package/Marketplace/{chunk-YILL4GKX.js → chunk-6ORTAB6O.js} +1 -1
- package/Marketplace/{chunk-4PF4YRRT.js → chunk-7C4NOK37.js} +1 -1
- package/Marketplace/{chunk-I5POPG3M.js → chunk-7RZLTDIS.js} +1 -1
- package/Marketplace/{chunk-PNLW4YVH.js → chunk-B6BTNEL5.js} +1 -1
- package/Marketplace/{chunk-VCLTTDX7.js → chunk-C6SMFVRJ.js} +1 -1
- package/Marketplace/{chunk-XLZ3ZJTK.js → chunk-CCMD33HH.js} +1 -1
- package/Marketplace/{chunk-4HJGWXQ3.js → chunk-CD5AKGA4.js} +1 -1
- package/Marketplace/{chunk-NN3SPEH5.js → chunk-DDXVCGNF.js} +1 -1
- package/Marketplace/{chunk-WKDJS327.js → chunk-DG6KCZ24.js} +1 -1
- package/Marketplace/{chunk-UW4B35JC.js → chunk-DITYFI3U.js} +1 -1
- package/Marketplace/{chunk-XDU5GZAR.js → chunk-EJMJP3AQ.js} +2 -2
- package/Marketplace/{chunk-FBXFQ4G2.js → chunk-FGIAQ42H.js} +9 -9
- package/Marketplace/{chunk-32LBRSCJ.js → chunk-G7RXTLDR.js} +1 -1
- package/Marketplace/{chunk-7KXQRJHI.js → chunk-GK4USVUZ.js} +1 -1
- package/Marketplace/{chunk-3KM6M3SV.js → chunk-GRHKW2KQ.js} +1 -1
- package/Marketplace/{chunk-POSHHHMT.js → chunk-H6M6M4LW.js} +1 -1
- package/Marketplace/{chunk-LAEELPPC.js → chunk-I2G5J34U.js} +1 -1
- package/Marketplace/{chunk-HT7RDS3I.js → chunk-JN7U2QOU.js} +1 -1
- package/Marketplace/{chunk-O3IHPLVP.js → chunk-L3QJXWW4.js} +1 -1
- package/Marketplace/{chunk-SQGOM2WU.js → chunk-LPSC67EP.js} +1 -1
- package/Marketplace/{chunk-NJM2XHQY.js → chunk-M4MZ4PBS.js} +1 -1
- package/Marketplace/{chunk-6NPWPFG3.js → chunk-MB5EFAFQ.js} +1 -1
- package/Marketplace/{chunk-FDI2UIO2.js → chunk-MFWCFDSI.js} +1 -1
- package/Marketplace/{chunk-PZX3AESM.js → chunk-MIITW5F3.js} +1 -1
- package/Marketplace/{chunk-KB7PR6DP.js → chunk-MQ5YF2EQ.js} +1 -1
- package/Marketplace/{chunk-ZRFFM47Q.js → chunk-NNZ2QIAF.js} +1 -1
- package/Marketplace/{chunk-6D7NMKRE.js → chunk-NX7MGO3M.js} +1 -1
- package/Marketplace/{chunk-ULR2QT4D.js → chunk-NZ5PGMTU.js} +1 -1
- package/Marketplace/chunk-OZAOB2RM.js +1 -0
- package/Marketplace/{chunk-7RTQ2IDL.js → chunk-PHYOU4H6.js} +1 -1
- package/Marketplace/{chunk-WCQU2HIE.js → chunk-PIKZDDIU.js} +2 -2
- package/Marketplace/chunk-POHGR6GW.js +5 -0
- package/Marketplace/{chunk-ECAAF5I6.js → chunk-RS4FBR2B.js} +1 -1
- package/Marketplace/{chunk-3SVOLAII.js → chunk-RTSSYFK3.js} +1 -1
- package/Marketplace/{chunk-KPPQNI2R.js → chunk-TZRTEOJA.js} +1 -1
- package/Marketplace/{chunk-ZMC2DAP2.js → chunk-UYBYAC3J.js} +1 -1
- package/Marketplace/{chunk-TBOHCD6E.js → chunk-UZO2VDKA.js} +1 -1
- package/Marketplace/chunk-V3BUL62F.js +1 -0
- package/Marketplace/{chunk-OV2NRCQ5.js → chunk-V6IO53G5.js} +1 -1
- package/Marketplace/{chunk-RUB4SQ54.js → chunk-VA2Y75VY.js} +1 -1
- package/Marketplace/{chunk-2WK2VI24.js → chunk-VGBWD4JQ.js} +1 -1
- package/Marketplace/{chunk-ORA63EP5.js → chunk-VWCDA6IC.js} +1 -1
- package/Marketplace/{chunk-JYZZ37SG.js → chunk-WKWDPKZH.js} +1 -1
- package/Marketplace/{chunk-35L7AOGR.js → chunk-WTRYN5E5.js} +1 -1
- package/Marketplace/{chunk-OZKNF6S2.js → chunk-XT3VATZ2.js} +1 -1
- package/Marketplace/{chunk-P3IVG6BD.js → chunk-Y3MMZORK.js} +1 -1
- package/Marketplace/{chunk-YGL3QYTJ.js → chunk-YBOYS5WI.js} +1 -1
- package/Marketplace/{chunk-BLMEJMMZ.js → chunk-Z24AOV6E.js} +1 -1
- package/Marketplace/index.html +2 -2
- package/Marketplace/main-2KHAM5PJ.js +1 -0
- package/Marketplace/{styles-SUQABHBL.css → styles-U2EKFDJI.css} +1 -1
- package/package.json +1 -1
- package/Marketplace/chunk-LBQ2LOYA.js +0 -1
- package/Marketplace/chunk-QTQ6GNKJ.js +0 -5
- package/Marketplace/chunk-SUMLYFC7.js +0 -1
- package/Marketplace/main-525IC5TZ.js +0 -1
- /package/Marketplace/{chunk-ZKZWHDGN.js → chunk-NNG6BZAM.js} +0 -0
- /package/Marketplace/{chunk-OOD7TLAL.js → chunk-ODLFLX6Z.js} +0 -0
- /package/Marketplace/{chunk-4RJDBICZ.js → chunk-SDNS6DZW.js} +0 -0
- /package/Marketplace/{polyfills-ZMM4NOHE.js → polyfills-OPLU3AGL.js} +0 -0
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"marketplacepos","version":"3.10.
|
|
1
|
+
{"name":"marketplacepos","version":"3.10.2"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-SHX3JAGT.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-ZKZWHDGN.js";
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{a as ee,b as ne,c as ie,d as oe,e as re,f as ae}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-ZMC2DAP2.js";import{b as te}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-YGL3QYTJ.js";import{a as Y,b as Z}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-3KM6M3SV.js";import{a as J}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-NJM2XHQY.js";import{k as q}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-XDU5GZAR.js";import{a as V}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-L6CJT6UC.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-SHX3JAGT.js";import{C as Q,D as X}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-SQR4ZRTF.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-NN3SPEH5.js";import{c as W,h as z,k as G,u as K}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-FDI2UIO2.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-7RTQ2IDL.js";import{$ as T,$a as o,Ac as $,Ga as l,Ha as E,La as O,Qa as p,Wa as c,aa as N,ab as a,ac as w,bb as d,bc as R,ca as U,cb as u,cc as P,db as f,ea as h,fa as k,fb as y,ic as A,ja as S,jb as _,ka as v,lb as g,qb as C,rb as m,sb as F,tb as L,vb as B,wc as H,yb as b,yc as j,za as M}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-FA44W5LU.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-ZKZWHDGN.js";var de=e=>[e];function ue(e,t){if(e&1&&(u(0),o(1,"a",9),m(2),a(),f()),e&2){let s=t.$implicit;l(1),p("routerLink",b(2,de,s.url)),l(1),L(" ",s.title,"")}}var pe=(()=>{let t=class t{constructor(){this.tabs=[{Title:"Download By Url",Url:"/menu/products/download/by-url",Description:"Download products information by product URL as a parameter"}],this.moreMenu=[{title:"Sold In Channel",url:"/menu/products/status/sold-in-channel"},{title:"In POS",url:"/menu/products/status/in-pos"},{title:"Not In Channel",url:"/menu/products/status/not-in-channel"},{title:"Duplicate SKU",url:"/menu/products/status/duplicate-sku"}]}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=h({type:t,selectors:[["app-download"]],decls:12,vars:2,consts:[[1,"navbar","page-nav","navbar-default","py-0","navbar-expand-lg"],[1,"container-fluid","d-flex","align-items-center","justify-content-between"],[3,"Tabs"],[1,"dropdown","me-6"],["role","button","data-bs-toggle","dropdown","aria-expanded","false",1,"text-dark"],[1,"fa-solid","fa-bars","fa-lg"],[1,"dropdown-menu","dropdown-menu-end","row"],[1,"d-block"],[4,"ngFor","ngForOf"],[1,"dropdown-item",3,"routerLink"]],template:function(i,r){i&1&&(o(0,"nav",0)(1,"div",1)(2,"div"),d(3,"nav-tab",2),a()(),o(4,"div")(5,"div",3)(6,"a",4),d(7,"i",5),a(),o(8,"div",6)(9,"div",7),c(10,ue,3,4,"ng-container",8),a()()()()(),d(11,"router-outlet")),i&2&&(l(3),p("Tabs",r.tabs),l(7),p("ngForOf",r.moreMenu))},dependencies:[w,Y,H,j]});let e=t;return e})();var I=(()=>{let t=class t{constructor(n){this.httpService=n}download(n){let i="/api/Product/downloadurl";return this.httpService.post(i,n)}};t.\u0275fac=function(i){return new(i||t)(U(V))},t.\u0275prov=T({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function ge(e,t){if(e&1&&(o(0,"th"),m(1),a()),e&2){let s=t.$implicit;l(1),F(s.column)}}function _e(e,t){if(e&1&&(u(0),o(1,"td"),d(2,"span",6),a(),f()),e&2){let s=t.$implicit,n=g().$implicit;l(2),p("innerHTML",n[s.prop],M)}}var he=e=>({"background-color":e});function Se(e,t){if(e&1&&(o(0,"tr",5),c(1,_e,3,1,"ng-container",3),a()),e&2){let s=t.$implicit,n=g();p("ngStyle",b(2,he,s.Status>200?"#F4D6D5":"#DEE9C9")),l(1),p("ngForOf",n.configs)}}var se=(()=>{let t=class t{constructor(){this.eventClose=new O}ngOnInit(){}onClose(){this.eventClose.emit()}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=h({type:t,selectors:[["app-response-api-list"]],inputs:{configs:"configs",data:"data",status:"status"},outputs:{eventClose:"onClose"},decls:7,vars:2,consts:[[1,"table-responsive"],[1,"table"],[1,"thead-light"],[4,"ngFor","ngForOf"],[3,"ngStyle",4,"ngFor","ngForOf"],[3,"ngStyle"],[3,"innerHTML"]],template:function(i,r){i&1&&(o(0,"div",0)(1,"table",1)(2,"thead",2)(3,"tr"),c(4,ge,2,1,"th",3),a()(),o(5,"tbody"),c(6,Se,2,4,"tr",4),a()()()),i&2&&(l(4),p("ngForOf",r.configs),l(2),p("ngForOf",r.data))},dependencies:[w,P]});let e=t;return e})();function ye(e,t){if(e&1){let s=y();u(0),o(1,"button",23),_("click",function(){S(s);let i=g(),r=C(11);return v(i.onNewStepperState(r))}),d(2,"i",24),m(3," New "),a(),f()}}function Ce(e,t){if(e&1){let s=y();u(0),o(1,"button",23),_("click",function(){S(s),g();let i=C(11);return v(i.previous())}),m(2," Back "),a(),f()}}function be(e,t){if(e&1){let s=y();u(0),o(1,"button",25),_("click",function(){S(s);let i=g(),r=C(11);return v(i.onStepperNext(r))}),m(2," Next "),a(),f()}}function we(e,t){if(e&1){let s=y();u(0),o(1,"button",26),_("click",function(){S(s);let i=g(),r=C(11);return v(i.onSubmit(r))}),m(2,"Download"),a(),f()}if(e&2){let s=g();l(1),p("disabled",!s.urls)}}function xe(e,t){e&1&&m(0,"Instruction")}function Ie(e,t){e&1&&m(0,"Download")}function De(e,t){e&1&&m(0,"Finish")}function Ee(e,t){e&1&&d(0,"i",27)}function Te(e,t){e&1&&d(0,"i",28)}function Ne(e,t){e&1&&d(0,"i",29)}var me=(()=>{let t=class t{constructor(n,i){this.downloadService=n,this.authService=i,this.configs=[{column:"Url",prop:"URL"},{column:"POS",prop:"Name"},{column:"Exception",prop:"Message"}],this.downloadResponses=[],this.stepperState="DOWNLOAD",this.urlPlaceholder=`https://tokopedia.com/tokoriyanadi/kaos-polos-biru
|
|
2
|
-
https://tokopedia.com/tokoriyanadi/Celana-Chinos-Coklat`,this.currentDomain=this.authService.getDomain()}onStepperChange(n){this.stepperState=n.selectedStep.state}onSubmit(n){let i=this.urls.split(/\r?\n/);this.downloadService.download(i).subscribe(r=>{this.downloadResponses=r,this.mappingLinkToProduct(),this.onStepperNext(n)})}mappingLinkToProduct(){this.downloadResponses=this.downloadResponses.map(n=>(n.Name=n?.Name?`<a href="${this.currentDomain}/menu/Products/Catalog/Products/Info?ID=${n.ID}" target="_blank">
|
|
3
|
-
${n?.Name}
|
|
4
|
-
</a>`:"-",n))}onNewStepperState(n){this.downloadResponses=[],this.urls=null,this.stepperState="DOWNLOAD",n.reset(),this.onStepperNext(n)}onStepperNext(n){n.selected.completed=!0,n.next()}};t.\u0275fac=function(i){return new(i||t)(E(I),E(q))},t.\u0275cmp=h({type:t,selectors:[["app-by-url"]],features:[B([{provide:ee,useValue:{displayDefaultIndicatorType:!1}}])],decls:41,vars:15,consts:[["headerTitle","Tokopedia - Product Download By Url",3,"hideSearchBox","hideSearchDropdown"],[4,"ngIf"],[1,"container-fluid","mt-3"],[1,"row"],[1,"col-12"],["labelPosition","bottom","linear","",1,"stepper-downloadByUrl",3,"selectedIndex","selectionChange"],["stepper",""],["state","GUIDE",3,"editable","completed"],["matStepLabel",""],[1,"mt-8"],[1,"card","border","w-50"],[1,"card-header","py-6"],[1,"text-primary"],[1,"card-body",2,"padding-left","0px"],[1,"mt-6"],["href","https://seller.tokopedia.com","target","_blank"],["state","DOWNLOAD",3,"editable","completed"],["name","url","cols","30","rows","25",1,"form-control",3,"placeholder","ngModel","ngModelChange"],["state","FINISH"],["status","error",3,"data","configs"],["matStepperIcon","GUIDE"],["matStepperIcon","DOWNLOAD"],["matStepperIcon","FINISH"],[1,"btn","btn-outline-secondary","btn-fill","btn-lg",3,"click"],["aria-hidden","true",1,"fa","fa-file-alt","me-2"],["type","button",1,"btn","btn-outline-secondary","btn-fill","btn-lg","ms-3",3,"click"],["role","button",1,"btn","btn-success","btn-fill","btn-lg","text-white","ms-3",3,"disabled","click"],[1,"fa-solid","fa-info"],[1,"fa-solid","fa-download"],[1,"fa-sharp","fa-solid","fa-flag"]],template:function(i,r){i&1&&(o(0,"mainpanel",0)(1,"actions"),c(2,ye,4,0,"ng-container",1)(3,Ce,3,0,"ng-container",1)(4,be,3,0,"ng-container",1)(5,we,3,1,"ng-container",1),a(),o(6,"content")(7,"div",2)(8,"div",3)(9,"div",4)(10,"mat-stepper",5,6),_("selectionChange",function(D){return r.onStepperChange(D)}),o(12,"mat-step",7),c(13,xe,1,0,"ng-template",8),o(14,"div",9)(15,"div",10)(16,"div",11)(17,"h4",12),m(18,"Note"),a()(),o(19,"div",13)(20,"ol",14)(21,"li"),m(22," Use this form to Download Products from Tokopedia using product URL "),a(),o(23,"li"),m(24," Copy Product URL from "),o(25,"a",15),m(26,"https://seller.tokopedia.com/ "),a(),m(27," and paste in this form "),a(),o(28,"li"),m(29," Use New Line when you want to input several product URLs "),a()()()()()(),o(30,"mat-step",16),c(31,Ie,1,0,"ng-template",8),o(32,"div",9)(33,"textarea",17),_("ngModelChange",function(D){return r.urls=D}),a()()(),o(34,"mat-step",18),c(35,De,1,0,"ng-template",8),o(36,"div",9),d(37,"app-response-api-list",19),a()(),c(38,Ee,1,0,"ng-template",20)(39,Te,1,0,"ng-template",21)(40,Ne,1,0,"ng-template",22),a()()()()()()),i&2&&(p("hideSearchBox",!0)("hideSearchDropdown",!0),l(2),p("ngIf",r.stepperState=="FINISH"),l(1),p("ngIf",r.stepperState=="DOWNLOAD"),l(1),p("ngIf",r.stepperState=="GUIDE"),l(1),p("ngIf",r.stepperState=="DOWNLOAD"),l(5),p("selectedIndex",1),l(2),p("editable",r.stepperState!="FINISH")("completed",!0),l(18),p("editable",r.stepperState!="FINISH")("completed",!1),l(3),p("placeholder",r.urlPlaceholder)("ngModel",r.urls),l(4),p("data",r.downloadResponses)("configs",r.configs))},dependencies:[R,W,z,G,Q,oe,ne,re,ie,se],styles:[`.card-header{background-color:#00000008}mat-stepper.stepper-downloadByUrl>div.mat-horizontal-stepper-wrapper>div.mat-horizontal-stepper-header-container{position:relative;width:60%;left:18%}mat-stepper.stepper-downloadByUrl>div.mat-horizontal-stepper-wrapper>div.mat-horizontal-stepper-header-container mat-step-header>div.mat-step-label{padding-top:8px}
|
|
5
|
-
`],encapsulation:2});let e=t;return e})();var Ue=[{path:"",component:pe,children:[{path:"by-url",component:me,data:{title:"Download Product By Url"},canActivate:[J]},{pathMatch:"full",path:"",redirectTo:"by-url"}]}],ot=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=k({type:t}),t.\u0275inj=N({providers:[I],imports:[A,K,Z,X,ae,te,$.forChild(Ue)]});let e=t;return e})();export{ot as DownloadModule};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as h}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-7KXQRJHI.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-4PF4YRRT.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-PZX3AESM.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-POSHHHMT.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-OV2NRCQ5.js";import{b as u}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-3KM6M3SV.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-KPPQNI2R.js";import{a as f}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-NJM2XHQY.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-XDU5GZAR.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-L6CJT6UC.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-SHX3JAGT.js";import{D as l}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-SQR4ZRTF.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-NN3SPEH5.js";import{u as d}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-FDI2UIO2.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-7RTQ2IDL.js";import{Ac as m,aa as r,bb as c,ea as a,fa as i,ic as n,wc as s}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-FA44W5LU.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-ZKZWHDGN.js";var C=(()=>{let t=class t{constructor(){}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=a({type:t,selectors:[["app-report"]],decls:1,vars:0,template:function(e,O){e&1&&c(0,"router-outlet")},dependencies:[s],styles:["ul[_ngcontent-%COMP%] > li.dropdown-item[_ngcontent-%COMP%]{font-size:.6875rem!important}"]});let o=t;return o})();var y=[{path:"",component:C,children:[{path:"",redirectTo:"order",pathMatch:"full"},{path:"order",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-6D7NMKRE.js").then(o=>o.OrderModule),canActivate:[f]}]}],g=(()=>{let t=class t{};t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i({type:t}),t.\u0275inj=r({imports:[n,m.forChild(y)]});let o=t;return o})();var z=(()=>{let t=class t{};t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i({type:t}),t.\u0275inj=r({imports:[n,u,g,d,l,m,h]});let o=t;return o})();export{z as ReportModule};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{f as je}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-KPPQNI2R.js";import{a as Pe,b as F,c as we,d as B,e as Te,f as Fe,g as Be,h as Re,i as Ee,k as R}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-XDU5GZAR.js";import{a as Me}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-L6CJT6UC.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-SHX3JAGT.js";import{p as Ne}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-NN3SPEH5.js";import{f as He}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-7RTQ2IDL.js";import{$ as _,$a as p,$b as fe,A as ee,Ac as z,B as j,C as te,Cc as Ie,Dc as Y,E as ne,Fb as pe,G as L,Ga as r,Gb as ue,Gc as h,Ha as f,Hc as De,Ic as G,Jc as X,K as oe,M as ie,Na as m,Pa as q,Qa as a,Ra as s,Rb as ge,Sa as b,T as A,Ta as D,Wa as P,X as re,_b as me,aa as y,ab as u,bb as l,bc as w,ca as v,cc as ke,e as H,ea as g,eb as ce,ec as be,fa as M,fb as V,ga as se,ic as he,ja as U,jb as W,ka as $,lb as d,na as k,nc as I,o as K,oc as Ce,q as E,qc as _e,rb as S,rc as ve,s as Q,sb as le,sc as ye,tb as de,uc as xe,vc as Se,wc as Oe,xc as T,y as N,yb as O,za as ae}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-FA44W5LU.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-ZKZWHDGN.js";function Ze(e,o){e&1&&ce(0)}function Ke(e,o){if(e&1&&l(0,"sk-cube-grid",4),e&2){let n=d(2);a("backgroundColor",n.backgroundColor)}}function Qe(e,o){if(e&1&&l(0,"sk-chasing-dots",4),e&2){let n=d(2);a("backgroundColor",n.backgroundColor)}}function et(e,o){if(e&1&&l(0,"sk-double-bounce",4),e&2){let n=d(2);a("backgroundColor",n.backgroundColor)}}function tt(e,o){if(e&1&&l(0,"sk-rotating-plane",4),e&2){let n=d(2);a("backgroundColor",n.backgroundColor)}}function nt(e,o){if(e&1&&l(0,"sk-spinner-pulse",4),e&2){let n=d(2);a("backgroundColor",n.backgroundColor)}}function ot(e,o){if(e&1&&l(0,"sk-three-bounce",4),e&2){let n=d(2);a("backgroundColor",n.backgroundColor)}}function it(e,o){if(e&1&&l(0,"sk-wandering-cubes",4),e&2){let n=d(2);a("backgroundColor",n.backgroundColor)}}function rt(e,o){if(e&1&&l(0,"sk-wave",4),e&2){let n=d(2);a("backgroundColor",n.backgroundColor)}}var st=e=>({"background-color":e});function at(e,o){if(e&1&&(p(0,"div",1),P(1,Ze,1,0,"ng-container",2)(2,Ke,1,1,"sk-cube-grid",3)(3,Qe,1,1,"sk-chasing-dots",3)(4,et,1,1,"sk-double-bounce",3)(5,tt,1,1,"sk-rotating-plane",3)(6,nt,1,1,"sk-spinner-pulse",3)(7,ot,1,1,"sk-three-bounce",3)(8,it,1,1,"sk-wandering-cubes",3)(9,rt,1,1,"sk-wave",3),u()),e&2){let n=d();s("opacity",n.opacity),b("backdrop",n.backdrop),a("ngStyle",O(14,st,n.backdrop?n.backdropBackgroundColor:"transparent")),r(1),a("ngComponentOutlet",n.entryComponent),r(1),a("ngIf",n.spinner===n.spinkit.skCubeGrid),r(1),a("ngIf",n.spinner===n.spinkit.skChasingDots),r(1),a("ngIf",n.spinner===n.spinkit.skDoubleBounce),r(1),a("ngIf",n.spinner===n.spinkit.skRotatingPlane),r(1),a("ngIf",n.spinner===n.spinkit.skSpinnerPulse),r(1),a("ngIf",n.spinner===n.spinkit.skThreeBounce),r(1),a("ngIf",n.spinner===n.spinkit.skWanderingCubes),r(1),a("ngIf",n.spinner===n.spinkit.skWave)}}var C=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=se({type:e,inputs:{backgroundColor:"backgroundColor"}}),e})(),ct=(()=>{class e extends C{}return e.\u0275fac=(()=>{let o;return function(t){return(o||(o=k(e)))(t||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-chasing-dots"]],features:[m],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(n,t){n&1&&(p(0,"div",0),l(1,"div",1)(2,"div",2),u()),n&2&&(b("colored",!t.backgroundColor),r(1),s("background-color",t.backgroundColor),r(1),s("background-color",t.backgroundColor))},styles:[".sk-chasing-dots[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative;text-align:center;animation:_ngcontent-%COMP%_sk-chasingDotsRotate 2s infinite linear}.sk-chasing-dots[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:60%;height:60%;display:inline-block;position:absolute;top:0;border-radius:100%;animation:_ngcontent-%COMP%_sk-chasingDotsBounce 2s infinite ease-in-out}.sk-chasing-dots[_ngcontent-%COMP%] .sk-dot2[_ngcontent-%COMP%]{top:auto;bottom:0;animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-chasingDotsRotate{to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_sk-chasingDotsBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),e})(),lt=(()=>{class e extends C{}return e.\u0275fac=(()=>{let o;return function(t){return(o||(o=k(e)))(t||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-cube-grid"]],features:[m],decls:10,vars:20,consts:[[1,"sk-cube-grid"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"],[1,"sk-cube","sk-cube3"],[1,"sk-cube","sk-cube4"],[1,"sk-cube","sk-cube5"],[1,"sk-cube","sk-cube6"],[1,"sk-cube","sk-cube7"],[1,"sk-cube","sk-cube8"],[1,"sk-cube","sk-cube9"]],template:function(n,t){n&1&&(p(0,"div",0),l(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9),u()),n&2&&(b("colored",!t.backgroundColor),r(1),s("background-color",t.backgroundColor),r(1),s("background-color",t.backgroundColor),r(1),s("background-color",t.backgroundColor),r(1),s("background-color",t.backgroundColor),r(1),s("background-color",t.backgroundColor),r(1),s("background-color",t.backgroundColor),r(1),s("background-color",t.backgroundColor),r(1),s("background-color",t.backgroundColor),r(1),s("background-color",t.backgroundColor))},styles:[".sk-cube-grid[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:33.33%;height:33.33%;float:left;animation:_ngcontent-%COMP%_sk-cubeGridScaleDelay 1.3s infinite ease-in-out}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube1[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube3[_ngcontent-%COMP%]{animation-delay:.4s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube4[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube5[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube6[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube7[_ngcontent-%COMP%]{animation-delay:0s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube8[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube9[_ngcontent-%COMP%]{animation-delay:.2s}@keyframes _ngcontent-%COMP%_sk-cubeGridScaleDelay{0%,70%,to{transform:scaleZ(1)}35%{transform:scale3D(0,0,1)}}"]}),e})(),dt=(()=>{class e extends C{}return e.\u0275fac=(()=>{let o;return function(t){return(o||(o=k(e)))(t||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-double-bounce"]],features:[m],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(n,t){n&1&&(p(0,"div",0),l(1,"div",1)(2,"div",2),u()),n&2&&(b("colored",!t.backgroundColor),r(1),s("background-color",t.backgroundColor),r(1),s("background-color",t.backgroundColor))},styles:[".sk-double-bounce[_ngcontent-%COMP%]{top:50%;width:40px;height:40px;position:relative;margin:auto}.sk-double-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;background-color:#333;opacity:.6;position:absolute;top:0;left:0;animation:_ngcontent-%COMP%_sk-doubleBounce 2s infinite ease-in-out}.sk-double-bounce[_ngcontent-%COMP%] .sk-double-bounce2[_ngcontent-%COMP%]{animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-doubleBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),e})(),pt=(()=>{class e extends C{}return e.\u0275fac=(()=>{let o;return function(t){return(o||(o=k(e)))(t||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-rotating-plane"]],features:[m],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(n,t){n&1&&l(0,"div",0),n&2&&s("background-color",t.backgroundColor)},styles:[".sk-rotating-plane[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;animation:_ngcontent-%COMP%_sk-rotatePlane 1.2s infinite ease-in-out}@keyframes _ngcontent-%COMP%_sk-rotatePlane{0%{transform:perspective(120px) rotateX(0) rotateY(0)}50%{transform:perspective(120px) rotateX(-180.1deg) rotateY(0)}to{transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}"]}),e})(),ut=(()=>{class e extends C{}return e.\u0275fac=(()=>{let o;return function(t){return(o||(o=k(e)))(t||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-spinner-pulse"]],features:[m],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(n,t){n&1&&l(0,"div",0),n&2&&s("background-color",t.backgroundColor)},styles:[".sk-spinner-pulse[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;border-radius:100%;animation:_ngcontent-%COMP%_sk-pulseScaleOut 1s infinite ease-in-out}@keyframes _ngcontent-%COMP%_sk-pulseScaleOut{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}"]}),e})(),gt=(()=>{class e extends C{}return e.\u0275fac=(()=>{let o;return function(t){return(o||(o=k(e)))(t||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-three-bounce"]],features:[m],decls:4,vars:8,consts:[[1,"sk-three-bounce"],[1,"sk-child","sk-bounce1"],[1,"sk-child","sk-bounce2"],[1,"sk-child","sk-bounce3"]],template:function(n,t){n&1&&(p(0,"div",0),l(1,"div",1)(2,"div",2)(3,"div",3),u()),n&2&&(b("colored",!t.backgroundColor),r(1),s("background-color",t.backgroundColor),r(1),s("background-color",t.backgroundColor),r(1),s("background-color",t.backgroundColor))},styles:[".sk-three-bounce[_ngcontent-%COMP%]{top:50%;position:relative;margin:auto;width:80px;text-align:center}.sk-three-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:100%;display:inline-block;animation:_ngcontent-%COMP%_sk-three-bounce 1.4s ease-in-out 0s infinite both}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce1[_ngcontent-%COMP%]{animation-delay:-.32s}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce2[_ngcontent-%COMP%]{animation-delay:-.16s}@keyframes _ngcontent-%COMP%_sk-three-bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}"]}),e})(),mt=(()=>{class e extends C{}return e.\u0275fac=(()=>{let o;return function(t){return(o||(o=k(e)))(t||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-wandering-cubes"]],features:[m],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(n,t){n&1&&(p(0,"div",0),l(1,"div",1)(2,"div",2),u()),n&2&&(b("colored",!t.backgroundColor),r(1),s("background-color",t.backgroundColor),r(1),s("background-color",t.backgroundColor))},styles:[".sk-wandering-cubes[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:10px;height:10px;position:absolute;top:0;left:0;animation:_ngcontent-%COMP%_sk-wanderingCube 1.8s ease-in-out -1.8s infinite both}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:-.9s}@keyframes _ngcontent-%COMP%_sk-wanderingCube{0%{transform:rotate(0)}25%{transform:translate(30px) rotate(-90deg) scale(.5)}50%{transform:translate(30px) translateY(30px) rotate(-179deg)}50.1%{transform:translate(30px) translateY(30px) rotate(-180deg)}75%{transform:translate(0) translateY(30px) rotate(-270deg) scale(.5)}to{transform:rotate(-360deg)}}"]}),e})(),ft=(()=>{class e extends C{}return e.\u0275fac=(()=>{let o;return function(t){return(o||(o=k(e)))(t||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-wave"]],features:[m],decls:6,vars:12,consts:[[1,"sk-wave"],[1,"sk-rect","sk-rect1"],[1,"sk-rect","sk-rect2"],[1,"sk-rect","sk-rect3"],[1,"sk-rect","sk-rect4"],[1,"sk-rect","sk-rect5"]],template:function(n,t){n&1&&(p(0,"div",0),l(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),u()),n&2&&(b("colored",!t.backgroundColor),r(1),s("background-color",t.backgroundColor),r(1),s("background-color",t.backgroundColor),r(1),s("background-color",t.backgroundColor),r(1),s("background-color",t.backgroundColor),r(1),s("background-color",t.backgroundColor))},styles:[".sk-wave[_ngcontent-%COMP%]{position:relative;top:50%;margin:auto;width:50px;height:40px;text-align:center;font-size:10px}.sk-wave[_ngcontent-%COMP%] .sk-rect[_ngcontent-%COMP%]{float:left;margin-right:1px;height:100%;width:6px;display:inline-block;animation:_ngcontent-%COMP%_sk-waveStretchDelay 1.2s infinite ease-in-out}.sk-wave[_ngcontent-%COMP%] .sk-rect1[_ngcontent-%COMP%]{animation-delay:-1.2s}.sk-wave[_ngcontent-%COMP%] .sk-rect2[_ngcontent-%COMP%]{animation-delay:-1.1s}.sk-wave[_ngcontent-%COMP%] .sk-rect3[_ngcontent-%COMP%]{animation-delay:-1s}.sk-wave[_ngcontent-%COMP%] .sk-rect4[_ngcontent-%COMP%]{animation-delay:-.9s}.sk-wave[_ngcontent-%COMP%] .sk-rect5[_ngcontent-%COMP%]{animation-delay:-.8s}@keyframes _ngcontent-%COMP%_sk-waveStretchDelay{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}"]}),e})(),Le={skChasingDots:"sk-chasing-dots",skCubeGrid:"sk-cube-grid",skDoubleBounce:"sk-double-bounce",skRotatingPlane:"sk-rotationg-plane",skSpinnerPulse:"sk-spinner-pulse",skThreeBounce:"sk-three-bounce",skWanderingCubes:"sk-wandering-cubes",skWave:"sk-wave"};var J=(()=>{class e{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new H(1),this._filteredUrlPatterns=[],this._filteredMethods=[],this._filteredHeaders=[],this._forceByPass=!1}get pendingRequestsStatus$(){return this._pendingRequestsStatus$.asObservable()}get pendingRequests(){return this._pendingRequests}get filteredUrlPatterns(){return this._filteredUrlPatterns}set filteredMethods(n){this._filteredMethods=n}set filteredHeaders(n){this._filteredHeaders=n}set forceByPass(n){this._forceByPass=n}shouldBypassUrl(n){return this._filteredUrlPatterns.some(t=>t.test(n))}shouldBypassMethod(n){return this._filteredMethods.some(t=>t.toUpperCase()===n.method.toUpperCase())}shouldBypassHeader(n){return this._filteredHeaders.some(t=>n.headers.has(t))}shouldBypass(n){return this._forceByPass||this.shouldBypassUrl(n.urlWithParams)||this.shouldBypassMethod(n)||this.shouldBypassHeader(n)}intercept(n,t){let i=this.shouldBypass(n);return i||(this._pendingRequests++,this._pendingRequests===1&&this._pendingRequestsStatus$.next(!0)),t.handle(n).pipe(ie(()=>{i||(this._pendingRequests--,this._pendingRequests===0&&this._pendingRequestsStatus$.next(!1))}))}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),kt=[{provide:I,useExisting:J,multi:!0}],bt=(()=>{class e{constructor(n){this.pendingRequestsInterceptor=n,this._visibility$=new H(1)}get visibility$(){return this._visibility$.asObservable()}show(){this.pendingRequestsInterceptor.forceByPass=!0,this._visibility$.next(!0)}hide(){this._visibility$.next(!1),this.pendingRequestsInterceptor.forceByPass=!1}}return e.\u0275fac=function(n){return new(n||e)(v(J))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Ae=(()=>{class e{constructor(n,t){this.pendingRequestsInterceptor=n,this.spinnerVisibility=t,this.spinkit=Le,this.visibleUntil=Date.now(),this.backdrop=!0,this.debounceDelay=0,this.entryComponent=null,this.extraDuration=0,this.filteredHeaders=[],this.filteredMethods=[],this.filteredUrlPatterns=[],this.minDuration=0,this.opacity=".7",this.backdropBackgroundColor="#f1f1f1",this.spinner=Le.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){let[n,t]=te(this.pendingRequestsInterceptor.pendingRequestsStatus$,i=>i);this.isVisible$=ee(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe(A(()=>n.pipe(L(()=>N(this.debounceDelay))))),n.pipe(A(()=>t.pipe(L(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe(oe(),re(i=>this.updateExpirationDelay(i)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent&&(this.spinner=null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns.length&&this.filteredUrlPatterns.forEach(n=>this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(n)))}initFilteredMethods(){this.pendingRequestsInterceptor.filteredMethods=this.filteredMethods}initFilteredHeaders(){this.pendingRequestsInterceptor.filteredHeaders=this.filteredHeaders}updateExpirationDelay(n){n&&(this.visibleUntil=Date.now()+this.minDuration)}getVisibilityTimer$(){return N(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return e.\u0275fac=function(n){return new(n||e)(f(J),f(bt))},e.\u0275cmp=g({type:e,selectors:[["ng-http-loader"]],inputs:{backdrop:"backdrop",backgroundColor:"backgroundColor",debounceDelay:"debounceDelay",entryComponent:"entryComponent",extraDuration:"extraDuration",filteredHeaders:"filteredHeaders",filteredMethods:"filteredMethods",filteredUrlPatterns:"filteredUrlPatterns",minDuration:"minDuration",opacity:"opacity",backdropBackgroundColor:"backdropBackgroundColor",spinner:"spinner"},decls:2,vars:3,consts:[["id","spinner",3,"backdrop","opacity","ngStyle",4,"ngIf"],["id","spinner",3,"ngStyle"],[4,"ngComponentOutlet"],[3,"backgroundColor",4,"ngIf"],[3,"backgroundColor"]],template:function(n,t){n&1&&(P(0,at,10,16,"div",0),pe(1,"async")),n&2&&a("ngIf",ue(1,1,t.isVisible$))},dependencies:[fe,w,ke,lt,ct,dt,pt,ut,gt,mt,ft,be],styles:["#spinner[_ngcontent-%COMP%]{top:50%;left:50%;transform:translate(-50%,-50%);position:fixed;z-index:9999}#spinner.backdrop[_ngcontent-%COMP%]{top:0;left:0;height:100%;width:100%;display:flex;align-items:center;justify-content:center;transform:none} .colored-parent, .colored>div{background-color:#333}"]}),e})(),Ue=(()=>{class e{static forRoot(){return{ngModule:e,providers:[kt]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=M({type:e}),e.\u0275inj=y({imports:[he]}),e})();var Ct=[{path:"",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-JYZZ37SG.js").then(e=>e.LoginModule)},{path:"menu",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.10.0/Marketplace/chunk-SQGOM2WU.js").then(e=>e.MenuModule)},{path:"**",redirectTo:"",pathMatch:"full"}],$e=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275mod=M({type:o}),o.\u0275inj=y({imports:[z.forRoot(Ct),z]});let e=o;return e})();var qe=(()=>{let o=class o{constructor(t,i,c){this._router=t,this.titleService=i,this.activatedRoute=c}ngOnInit(){this.overrideDateToJsonFunction(),this._router.events.pipe(j(t=>t instanceof xe)).pipe(E(()=>this.activatedRoute),E(t=>{for(;t.firstChild;)t=t.firstChild;return t}),j(t=>t.outlet==="primary"),Q(t=>t.data)).subscribe(t=>{let i=" | Marketplace";t.title=="Dealpos x Marketplace"&&(i=""),this.titleService.setTitle(t.title+i)})}overrideDateToJsonFunction(){Date.prototype.toJSON=function(){return this.getFullYear()+"-"+t(this.getMonth()+1)+"-"+t(this.getDate())+"T"+t(this.getHours())+":"+t(this.getMinutes())+":"+t(this.getSeconds())+".000"};function t(i){return i<10?"0"+i:i}}};o.\u0275fac=function(i){return new(i||o)(f(T),f(ye),f(Se))},o.\u0275cmp=g({type:o,selectors:[["app-root"]],decls:2,vars:0,template:function(i,c){i&1&&l(0,"ng-http-loader")(1,"router-outlet")},dependencies:[Oe,Ae]});let e=o;return e})();var Ve=(()=>{let o=class o{constructor(t){this._router=t}intercept(t,i){let c=JSON.parse(window.localStorage.getItem("user")),Z=new Date;if(c!=null){let Xe=new Date(c.Token.expiredAt);Z<Xe?t=t.clone({setHeaders:{"Content-Type":"application/json",Authorization:`Bearer ${c.Token.access_token}`}}):t=t.clone({setHeaders:{"Content-Type":"application/json"}})}else t=t.clone({setHeaders:{"Content-Type":"application/json"}});return i.handle(t)}};o.\u0275fac=function(i){return new(i||o)(v(T))},o.\u0275prov=_({token:o,factory:o.\u0275fac});let e=o;return e})();var Mt=["custom-toast-component",""];function Pt(e,o){if(e&1){let n=V();p(0,"a",11),W("click",function(){U(n);let i=d(2);return $(i.remove())}),S(1," x "),u()}}function xt(e,o){if(e&1&&(p(0,"div",6)(1,"div",7)(2,"div",8)(3,"h4"),S(4),u()()(),p(5,"div",9),P(6,Pt,2,0,"a",10),u()()),e&2){let n=d();s("display",n.state.value==="inactive"?"none":""),r(2),D(n.options.titleClass),q("aria-label",n.title),r(2),le(n.title),r(2),a("ngIf",n.options.closeButton)}}var We=e=>({notitle:e});function St(e,o){if(e&1&&l(0,"div",12),e&2){let n=d();D(n.options.messageClass),a("ngClass",O(4,We,n.title==null))("innerHTML",n.message,ae)}}function Ot(e,o){if(e&1&&(p(0,"div",13),S(1),u()),e&2){let n=d();D(n.options.messageClass),a("ngClass",O(5,We,n.title==null)),q("aria-label",n.message),r(1),de(" ",n.message," ")}}function It(e,o){if(e&1){let n=V();p(0,"a",11),W("click",function(){U(n);let i=d();return $(i.remove())}),S(1," x "),u()}}function Dt(e,o){if(e&1&&(p(0,"div"),l(1,"div",14),u()),e&2){let n=d();r(1),s("width",n.width+"%")}}var ze=(()=>{let o=class o extends Te{constructor(t,i){super(t,i),this.toastrService=t,this.toastPackage=i}ngOnInit(){}action(t){return t.stopPropagation(),this.toastPackage.triggerAction(),!1}};o.\u0275fac=function(i){return new(i||o)(f(B),f(we))},o.\u0275cmp=g({type:o,selectors:[["","custom-toast-component",""]],features:[m],attrs:Mt,decls:6,vars:5,consts:[[1,"toast-case"],["class","row toast-header",3,"display",4,"ngIf"],["class","toast-body ps-1 text-start","role","alert","aria-live","polite",3,"ngClass","class","innerHTML",4,"ngIf"],["class","toast-body ps-1 text-start","role","alert","aria-live","polite",3,"ngClass","class",4,"ngIf"],["class","btn toast-close-button btn-sm ",3,"click",4,"ngIf"],[4,"ngIf"],[1,"row","toast-header"],[1,"col-9","g-0"],[1,"text-start","ps-1"],[1,"col-auto","mt-5","pe-0"],["class","btn toast-close-button btn-sm",3,"click",4,"ngIf"],[1,"btn","toast-close-button","btn-sm",3,"click"],["role","alert","aria-live","polite",1,"toast-body","ps-1","text-start",3,"ngClass","innerHTML"],["role","alert","aria-live","polite",1,"toast-body","ps-1","text-start",3,"ngClass"],[1,"toast-progress"]],template:function(i,c){i&1&&(p(0,"div",0),P(1,xt,7,7,"div",1)(2,St,1,6,"div",2)(3,Ot,2,7,"div",3)(4,It,2,0,"a",4)(5,Dt,2,2,"div",5),u()),i&2&&(r(1),a("ngIf",c.title),r(1),a("ngIf",c.message&&c.options.enableHtml),r(1),a("ngIf",c.message&&!c.options.enableHtml),r(1),a("ngIf",c.options.closeButton&&c.title==null),r(1),a("ngIf",c.options.progressBar))},dependencies:[me,w],styles:["[_nghost-%COMP%]{background-color:#fff;position:relative;overflow:hidden;margin:0 0 6px;width:300px;border-radius:3px;color:#141414;pointer-events:all;cursor:pointer}.toast-success[_nghost-%COMP%]{border:1.8px solid rgb(81,163,81)}.toast-info[_nghost-%COMP%]{border:1.8px solid rgb(47,150,180)}.toast-error[_nghost-%COMP%]{border:1.8px solid rgb(189,54,47)}.toast-warning[_nghost-%COMP%]{border:1.8px solid rgb(248,148,6)}.toast-case[_ngcontent-%COMP%]{margin-left:0}.toast-header[_ngcontent-%COMP%]{background-clip:padding-box;border-bottom:solid;border-width:1px;padding-bottom:0rem;padding-top:0rem;padding-right:0;margin-left:0}.toast-title[_ngcontent-%COMP%]{color:#000}.toast-body[_ngcontent-%COMP%]{padding-top:.6rem}.notitle[_ngcontent-%COMP%]{margin-bottom:-1rem}.toast-close-button-custom[_ngcontent-%COMP%]{right:.2em!important;top:-1.3em!important}.toast-close-button-notitle[_ngcontent-%COMP%]{right:.1em!important;top:-1.3em!important}"],data:{animation:[Ie("flyInOut",[De("inactive",h({opacity:0})),X("inactive => active",Y("400ms ease-out",G([h({transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:0}),h({transform:"skewX(20deg)",opacity:1}),h({transform:"skewX(-5deg)",opacity:1}),h({transform:"none",opacity:1})]))),X("active => removed",Y("400ms ease-out",G([h({opacity:1}),h({transform:"translate3d(100%, 0, 0) skewX(30deg)",opacity:0})])))])]}});let e=o;return e})();var Ye=(()=>{let o=class o{constructor(t,i){this.authService=t,this.toastr=i}intercept(t,i){return i.handle(t).pipe(ne(c=>(this.handlerError(c),K(()=>c))))}handlerError(t){if(!this.unauthorizedErrorHandling(t)&&!Array.isArray(t?.error?.Message)){let c=this.errorMessageHandling(t);this.toastr.error(c.message!=""?c.message:"An unknown error has occured!",c.header,{enableHtml:!0})}}unauthorizedErrorHandling(t){let i=!1;return t.status==401&&(localStorage.getItem("Token")?this.tokenExpiredErrorHandling(t):this.toastr.error("Your session has expired. Please login again.","Session Expired").onShown.subscribe(()=>this.authService.logout()),i=!0),i}tokenExpiredErrorHandling(t){if(this.authService.isActiveToken()){let i=this.errorMessageHandling(t);this.toastr.error(i.message,i.header)}else this.toastr.error("Your session has expired. Please login again.","Session Expired").onShown.subscribe(()=>this.authService.logout())}errorMessageHandling(t){let i="API Error",c="Exception Message";return t.error?(i="API Error - "+t.status,t.error.Message&&(t.error.Message.indexOf("Message")!=-1?c=JSON.parse(t.error.Message).Message:c=t.error.Message)):t.message&&(i="API Error - "+t.name,c=t.message),{header:i,message:c}}};o.\u0275fac=function(i){return new(i||o)(v(R),v(B))},o.\u0275prov=_({token:o,factory:o.\u0275fac,providedIn:"root"});let e=o;return e})();var wt={name:"MarketplaceDB",version:1,objectStoresMeta:[{store:"Categories",storeConfig:{keyPath:null,autoIncrement:!1},storeSchema:[]}]},Ge=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275mod=M({type:o,bootstrap:[qe]}),o.\u0275inj=y({providers:[{provide:I,useClass:Ve,multi:!0},{provide:je,useValue:{subscriptSizing:"dynamic"}},Me,Pe,{provide:ge,useFactory:t=>function(){t.loadPermissions()},deps:[R],multi:!0},{provide:I,useClass:Ye,multi:!0}],imports:[ve,$e,Ne,Fe.forRoot({toastComponent:ze,positionClass:"toast-bottom-right",closeButton:!0}),Ce,Ee.forRoot(wt),Ue.forRoot(),Be.initializeApp(F.firebaseConfig),Re,He.forRoot()]});let e=o;return e})();F.production&&void 0;_e().bootstrapModule(Ge).catch(e=>console.error(e));
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|