dealposbarcode 25.38.0 → 25.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{chunk-6TONCND5.js → chunk-3JLQEX7D.js} +1 -1
- package/{chunk-HUVXW473.js → chunk-433Z233F.js} +1 -1
- package/{chunk-REF66XVH.js → chunk-6IWB7I3Q.js} +12 -10
- package/{chunk-7VRU5A7U.js → chunk-6PE7DC5F.js} +1 -1
- package/{chunk-PEOWQ4QO.js → chunk-FKQE2XFN.js} +1 -1
- package/{chunk-JQZ6FBWP.js → chunk-LGTZUZQ4.js} +1 -1
- package/index.html +3 -3
- package/{main-RKMGYE3I.js → main-3BV44MDF.js} +2 -2
- package/ngsw.json +16 -16
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as q,b as v,c as G,d as J,e as K,f as Q,g as X,h as Y,i as Z}from"./chunk-
|
|
1
|
+
import{a as q,b as v,c as G,d as J,e as K,f as Q,g as X,h as Y,i as Z}from"./chunk-6IWB7I3Q.js";import"./chunk-BVFPFG2Y.js";import{d as W}from"./chunk-WV652PSI.js";import"./chunk-433Z233F.js";import{I as j,J as O,R as $,_ as V,da as U,l as P,m as z,n as B,q as N,r as H}from"./chunk-AJDEWWQT.js";import{$b as w,Ab as L,Ad as E,C as k,Da as n,Ec as f,Fc as D,Ha as p,I as y,J as F,Nc as R,Rb as u,Ub as S,Vb as r,Xa as M,Z as g,a as x,b as C,ec as l,fc as m,gc as o,nc as h,oc as b,od as A,ta as T,wb as I,zb as _}from"./chunk-PNNBJ4WR.js";var se=e=>({"show-sidebar":e}),ee=(()=>{class e{constructor(i){this.router=i,this.storeService=n(v)}Logo(){this.storeService.onChangeOptions({expandLogo:!this.storeService.options().expandLogo})}ngOnInit(){this.storeService.onChangeOptions({defaultSidebar:this.storeService.options().sidebartype}),this.handleSidebar()}onResize(i){this.handleSidebar()}handleSidebar(){switch(this.storeService.onChangeOptions({innerWidth:window.innerWidth}),this.storeService.options().defaultSidebar){case"full":case"iconbar":this.storeService.options().innerWidth<1170?this.storeService.onChangeOptions({sidebartype:"mini-sidebar"}):this.storeService.onChangeOptions({sidebartype:this.storeService.options().defaultSidebar});break;case"overlay":this.storeService.options().innerWidth<767?this.storeService.onChangeOptions({sidebartype:"mini-sidebar"}):this.storeService.onChangeOptions({sidebartype:this.storeService.options().defaultSidebar});break;default:}}toggleSidebarType(){switch(this.storeService.options().sidebartype){case"full":case"iconbar":this.storeService.onChangeOptions({sidebartype:"mini-sidebar"});break;case"overlay":this.storeService.onChangeOptions({showMobileMenu:!this.storeService.options().showMobileMenu});break;case"mini-sidebar":this.storeService.options().defaultSidebar==="mini-sidebar"?this.storeService.onChangeOptions({sidebartype:"full"}):this.storeService.onChangeOptions({sidebartype:this.storeService.options().defaultSidebar});break;default:}}handleClick(i){this.storeService.onChangeOptions({showMobileMenu:i})}static{this.\u0275fac=function(a){return new(a||e)(L(B))}}static{this.\u0275cmp=p({type:e,selectors:[["app-full-layout"]],hostBindings:function(a,t){a&1&&h("resize",function(d){return t.onResize(d)},!1,I)},standalone:!0,features:[f],decls:5,vars:12,consts:[["id","main-wrapper",2,"height","100vh",3,"ngClass","dir"],[1,"left-sidebar","pt-0",3,"mouseover","mouseout"],[3,"notify","showClass"],[1,"page-wrapper","flex-grow-1","pt-0","z-0",2,"height","inherit"]],template:function(a,t){a&1&&(l(0,"div",0)(1,"aside",1),h("mouseover",function(){return t.Logo()})("mouseout",function(){return t.Logo()}),l(2,"app-vertical-sidebar",2),h("notify",function(d){return t.handleClick(d)}),m()(),l(3,"div",3),o(4,"router-outlet"),m()()),a&2&&(r("ngClass",D(10,se,t.storeService.options().showMobileMenu))("dir",t.storeService.options().dir),S("data-theme",t.storeService.options().theme)("data-layout",t.storeService.options().layout)("data-sidebartype",t.storeService.options().sidebartype)("data-sidebar-position",t.storeService.options().sidebarpos)("data-header-position",t.storeService.options().headerpos)("data-boxed-layout",t.storeService.options().boxed),_(),S("data-sidebarbg",t.storeService.options().sidebarbg),_(),r("showClass",t.storeService.options().showMobileMenu))},dependencies:[N,z,J,G,V,j,O,E,A,$]})}}return e})();function ne(e,c){e&1&&o(0,"choose-product")}function oe(e,c){if(e&1&&o(0,"app-barcode-preview",1),e&2){let i=b().$implicit;r("items",i)}}function re(e,c){if(e&1&&o(0,"app-label-preview",2),e&2){let i=b(3);r("item",i.storeService.expandProductItem()[0])}}function le(e,c){if(e&1&&u(0,oe,1,1,"app-barcode-preview",1)(1,re,1,1,"app-label-preview",2),e&2){let i=b(2);w(i.printMode==="barcode"?0:1)}}function ce(e,c){e&1&&(l(0,"app-customize-label"),u(1,le,2,1,"ng-template",null,0,R),m())}function de(e,c){e&1&&o(0,"app-print-preview")}var te=(()=>{class e{constructor(){this.storeService=n(v),this.httpService=n(U),this.destroyRef=n(M),this.routes=n(P)}get printMode(){return console.log("printMode",this.routes.snapshot.queryParamMap.get("printMode")),this.routes.snapshot.queryParamMap.get("printMode")}ngOnInit(){this.storeService.onReset(),console.log(localStorage.getItem("Domain"))}checkProtocol(i){return!!i.match(/^(https?):\/\//)}ngAfterViewInit(){let i=localStorage.getItem("Domain"),a=this.checkProtocol(i)?new URL(i).hostname:i;F([this.httpService.post("api/Config/PaperConfig",{SubDomain:a},void 0).pipe(g(t=>k({error:t}))),this.httpService.get("/API/V3/Tax",void 0,`https://${a}`).pipe(g(t=>k({error:t})))]).pipe(H(this.destroyRef),W("response"),y(([t,s])=>"error"in t||"error"in s?(console.warn("Error in one or more requests",{paperConfig:t,taxs:s}),{paperConfig:null,taxs:null}):{paperConfig:t,taxs:s}),T(({paperConfig:t,taxs:s})=>{t&&(this.storeService.onChangePaperConfig(C(x({},t),{PaperFormats:t.PaperFormats.map(d=>C(x({},d),{OutletID:null}))})),t.PaperFormats.length>0&&this.storeService.onChangePaperConfiguration(t.PaperFormats[0])),s&&this.storeService.onChangeTaxs(s)})).subscribe()}static{this.\u0275fac=function(a){return new(a||e)}}static{this.\u0275cmp=p({type:e,selectors:[["app-dashboard"]],standalone:!0,features:[f],decls:3,vars:1,consts:[["content",""],[3,"items"],[3,"item"]],template:function(a,t){if(a&1&&u(0,ne,1,0,"choose-product")(1,ce,3,0,"app-customize-label")(2,de,1,0,"app-print-preview"),a&2){let s;w((s=t.storeService.stepper$().state)===0?0:s===1?1:s===2?2:-1)}},dependencies:[q,K,X,Z,Y,Q]})}}return e})();var lt=[{path:"",children:[{path:"",component:te},{path:"v2/print-mode",loadComponent:()=>import("./chunk-QCOAAL7X.js").then(e=>e.PrintModeSelectorComponent)},{path:"shelf",component:ee,children:[{path:"barcode",loadComponent:()=>import("./chunk-FKQE2XFN.js").then(e=>e.ShelfBarcodeComponent)},{path:"price-label",loadComponent:()=>import("./chunk-6PE7DC5F.js").then(e=>e.ShelfLabelComponent)}]}]}];export{lt as dashboardRoutes};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var e={production:!0,firebaseConfig:{apiKey:"AIzaSyDnnitFXpM8TglWKNpzu4ChgF98n25Rgvw",authDomain:"auth.dealpos.com",projectId:"devops-signin",storageBucket:"devops-signin.appspot.com",messagingSenderId:"412465165194",appId:"1:412465165194:web:03d806f6b6ab6f8b460e73",measurementId:"G-MNDBRJ5XZD"},version:"25.
|
|
1
|
+
var e={production:!0,firebaseConfig:{apiKey:"AIzaSyDnnitFXpM8TglWKNpzu4ChgF98n25Rgvw",authDomain:"auth.dealpos.com",projectId:"devops-signin",storageBucket:"devops-signin.appspot.com",messagingSenderId:"412465165194",appId:"1:412465165194:web:03d806f6b6ab6f8b460e73",measurementId:"G-MNDBRJ5XZD"},version:"25.40.0"};export{e as a};
|