dealpos 25.35.0 → 25.35.1
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/browser/{chunk-AMVKJINW.js → chunk-2766CBQU.js} +1 -1
- package/browser/{chunk-Z32KNNLJ.js → chunk-2FSZUUQP.js} +1 -1
- package/browser/{chunk-4SD7QLKT.js → chunk-34QCNJH3.js} +1 -1
- package/browser/{chunk-Y3S3P6H6.js → chunk-3AY3BZNI.js} +1 -1
- package/browser/{chunk-V4RMUXVG.js → chunk-3DFVMZGU.js} +1 -1
- package/browser/{chunk-ZGZFS5F3.js → chunk-3GFJDGM7.js} +1 -1
- package/browser/{chunk-6BGIQ2TR.js → chunk-3O4GNGWN.js} +1 -1
- package/browser/{chunk-HCCKG5TU.js → chunk-3XSCHJBQ.js} +1 -1
- package/browser/{chunk-IEYFQYBN.js → chunk-3ZDDH7CJ.js} +1 -1
- package/browser/chunk-43V3SW6V.js +1 -0
- package/browser/{chunk-57I42Y5O.js → chunk-4JJZP56N.js} +1 -1
- package/browser/{chunk-3CZPBSIO.js → chunk-4MY4AG7R.js} +1 -1
- package/browser/{chunk-D52N3GTW.js → chunk-53T5DMNY.js} +1 -1
- package/browser/{chunk-L2URUGUC.js → chunk-5W7J67BI.js} +1 -1
- package/browser/{chunk-JAUYUM55.js → chunk-6BK25JQ2.js} +1 -1
- package/browser/{chunk-SW2O7GUR.js → chunk-6BQ5KQE5.js} +1 -1
- package/browser/{chunk-63QFRYZ6.js → chunk-6HI5Q42V.js} +1 -1
- package/browser/{chunk-RSEOPD7O.js → chunk-7LVND3SO.js} +1 -1
- package/browser/{chunk-UMO3DTSP.js → chunk-7OHS7GGR.js} +1 -1
- package/browser/{chunk-OZWALGSJ.js → chunk-7S2SHB7E.js} +1 -1
- package/browser/{chunk-QKSFZRSN.js → chunk-7SNT6DIY.js} +2 -2
- package/browser/{chunk-6TVZGUJT.js → chunk-7YRDPDDJ.js} +1 -1
- package/browser/{chunk-OUBPYXIU.js → chunk-A2UILJ3G.js} +1 -1
- package/browser/{chunk-QOZHIZ3D.js → chunk-AM4K7VSL.js} +1 -1
- package/browser/{chunk-HCPN4UYS.js → chunk-ANESQVY4.js} +1 -1
- package/browser/chunk-B4MIOMFY.js +218 -0
- package/browser/{chunk-DESKSVRN.js → chunk-BFYXXJX5.js} +1 -1
- package/browser/{chunk-K23ZJXPE.js → chunk-BIA32MUQ.js} +2 -2
- package/browser/{chunk-3SFLS7AA.js → chunk-DTIWIZAF.js} +1 -1
- package/browser/chunk-DYCGOJEI.js +1 -0
- package/browser/{chunk-OQ6O7X6A.js → chunk-DZR4HR3V.js} +2 -2
- package/browser/{chunk-76EL4EMC.js → chunk-E53GH46E.js} +1 -1
- package/browser/{chunk-6ZH2PX4X.js → chunk-E6WAWCVM.js} +1 -1
- package/browser/{chunk-HBG3WWD2.js → chunk-FXF3CZHR.js} +1 -1
- package/browser/{chunk-2AZ5GQLM.js → chunk-FZ6OXVRF.js} +1 -1
- package/browser/{chunk-DBZE6I2A.js → chunk-G6YDN74M.js} +1 -1
- package/browser/{chunk-A5K5JIX5.js → chunk-GNWZZTUM.js} +1 -1
- package/browser/{chunk-PR6TKJAP.js → chunk-GVVAZDAH.js} +1 -1
- package/browser/{chunk-FSZAZE2R.js → chunk-GX2FRFKJ.js} +1 -1
- package/browser/{chunk-BIZ6WNX4.js → chunk-HC43XRYO.js} +1 -1
- package/browser/{chunk-MXBQE7OC.js → chunk-HMYXRXMU.js} +1 -1
- package/browser/{chunk-MWXOUBR7.js → chunk-HX4MQJ5S.js} +1 -1
- package/browser/{chunk-SEMTZ44I.js → chunk-IJB4UV6O.js} +1 -1
- package/browser/chunk-IJQPLU7Y.js +1 -0
- package/browser/{chunk-CGWIZIB5.js → chunk-IPEY3FYO.js} +1 -1
- package/browser/{chunk-6ESGXS4E.js → chunk-IPT2M2BI.js} +1 -1
- package/browser/chunk-JADCHWZ7.js +1 -0
- package/browser/{chunk-XUQXBJW4.js → chunk-JPZQ6WUN.js} +1 -1
- package/browser/{chunk-KYJHS3TQ.js → chunk-KXXXUEET.js} +1 -1
- package/browser/{chunk-526RUIWM.js → chunk-M3GDT4VK.js} +1 -1
- package/browser/{chunk-XTY72JVR.js → chunk-M7DLH62Y.js} +1 -1
- package/browser/{chunk-LCWINJ3S.js → chunk-MTTYVYZR.js} +1 -1
- package/browser/{chunk-XZLPWBP4.js → chunk-NU2RYCZP.js} +1 -1
- package/browser/{chunk-LUHVAYU5.js → chunk-O7SLYO56.js} +2 -2
- package/browser/{chunk-MBR7OUSZ.js → chunk-OH7LXBVM.js} +1 -1
- package/browser/{chunk-EQDPTRJH.js → chunk-ORQNNEMX.js} +1 -1
- package/browser/chunk-P2KAE5YM.js +12 -0
- package/browser/{chunk-C2FSCGTV.js → chunk-PEJQ3PAR.js} +1 -1
- package/browser/{chunk-MQEWLL64.js → chunk-PJ3GC36H.js} +2 -2
- package/browser/{chunk-QSJLS5MY.js → chunk-PYE7OONS.js} +1 -1
- package/browser/{chunk-V2B2HCUQ.js → chunk-Q72OT36E.js} +1 -1
- package/browser/{chunk-KETVOLOA.js → chunk-QND5TRRL.js} +1 -1
- package/browser/{chunk-A5SP3OU6.js → chunk-QNRJHTV4.js} +1 -1
- package/browser/{chunk-XRJUYMUR.js → chunk-RWHZGR5I.js} +1 -1
- package/browser/{chunk-Y6RS2MIM.js → chunk-SUQPLO6J.js} +1 -1
- package/browser/{chunk-BQPDBCK4.js → chunk-T3UD2BIM.js} +1 -1
- package/browser/{chunk-SBLXPQX4.js → chunk-TLB32ZLG.js} +4 -4
- package/browser/{chunk-WAWMS353.js → chunk-UGSSRWE7.js} +1 -1
- package/browser/{chunk-EQT5AA72.js → chunk-X64V2BD6.js} +1 -1
- package/browser/{chunk-GSVFEJ5F.js → chunk-XOH52E2X.js} +1 -1
- package/browser/{chunk-HJD2CCUZ.js → chunk-Y4TUJFQT.js} +1 -1
- package/browser/{chunk-PSRZCYR5.js → chunk-Y7HFAPAX.js} +1 -1
- package/browser/{chunk-UDET2HLI.js → chunk-ZHO5KMQM.js} +1 -1
- package/browser/{chunk-54GRLNFA.js → chunk-ZV673CNQ.js} +1 -1
- package/browser/index.html +2 -2
- package/browser/{main-GPFLRGDB.js → main-7OQ7F5EZ.js} +2 -2
- package/package.json +1 -1
- package/browser/chunk-32UK4H6W.js +0 -218
- package/browser/chunk-3Q63PZEI.js +0 -1
- package/browser/chunk-3SZM464L.js +0 -1
- package/browser/chunk-4V77U4UK.js +0 -1
- package/browser/chunk-ILGKKLNX.js +0 -12
- package/browser/chunk-PWX7DNOH.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as R,b as j}from"./chunk-YXO5HYS3.js";import{u as N,v as U,w as $}from"./chunk-LPQODANI.js";import{e as D,f as I}from"./chunk-D35OBUDE.js";import{D as E,h as A,o as V}from"./chunk-P7HKWFZT.js";import{$a as d,Db as w,Eb as v,Gb as F,Hb as y,Ib as n,Jb as a,Ma as _,Ob as h,Pc as S,Qb as b,Rb as p,Wc as T,ec as l,fc as f,gc as L,jd as P,kb as C,na as x,qb as M,rc as O,va as m,vb as g,wa as s}from"./chunk-DZT5XHBQ.js";import{a as k,b as u}from"./chunk-7DCB7DB2.js";var z=r=>({"bg-gradient-warning":r});function B(r,c){if(r&1){let e=h();n(0,"div",7)(1,"label",10)(2,"mat-checkbox",11),b("change",function(t){m(e);let i=p();return s(i.selectAll(t))}),n(3,"span",12),l(4,"Select All Users"),a(),n(5,"span",13),l(6),a()()()()}if(r&2){let e=p();d(6),L("",e.selectedUsers().length," selected")}}function G(r,c){if(r&1){let e=h();n(0,"div",14),b("click",function(){let t=m(e).$implicit,i=p();return s(i.onSelect(t))})("keydown.enter",function(){let t=m(e).$implicit,i=p();return s(i.onSelect(t))})("keydown.space",function(t){let i=m(e).$implicit;return p().onSelect(i),s(t.preventDefault())}),n(1,"mat-checkbox",15),b("change",function(){let t=m(e).$implicit,i=p();return s(i.onSelect(t))})("click",function(t){return m(e),s(t.stopPropagation())}),n(2,"span",16),l(3),a(),n(4,"span",17),l(5),a()()()}if(r&2){let e=c.$implicit;g("ngClass",O(4,z,e.Type===2)),d(),g("ngModel",e.check),d(2),f(e.LoginID),d(2),f(e.Email)}}var W=class r{data=x(I);dialogRef=x(D);modalConfig=new N;userAccess=_(this.data);selectedUsers=S(()=>this.userAccess().filter(c=>c.check));constructor(){this.modalConfig.title="Logout these Users",this.modalConfig.customWidth="400px",this.modalConfig.okText="Force Logout"}selectAll(c){let e=c.checked;this.userAccess.update(o=>o.map(t=>u(k({},t),{check:e})))}onSelect(c){this.userAccess.update(e=>e.map(o=>o===c?u(k({},o),{check:!o.check}):o))}onClose(){this.dialogRef.close()}onOk(){let c=this.userAccess().filter(e=>e.check);this.dialogRef.close(c)}static \u0275fac=function(e){return new(e||r)};static \u0275cmp=C({type:r,selectors:[["app-modal-confirm-force-logout"]],decls:17,vars:2,consts:[[3,"onCancel","onClose","onOk","config"],[1,"card","warning-banner","mb-0","p-0"],[1,"card-body","d-flex","justify-content-start","align-items-center","gap-4","p-6"],[1,"fs-2"],[1,"text-white"],[1,"warning-msg","mb-0","text-white","lh-sm","mt-2"],[1,"mt-8"],[1,"select-all-container"],["id","userList",1,"user-list"],["role","button","tabindex","0",1,"user-item","pos-checkbox-green",3,"ngClass"],[1,"checkbox-container","pos-checkbox-green"],[3,"change"],[1,"select-all-label","fw-bold"],["id","selectedCount",1,"selected-count","ms-4"],["role","button","tabindex","0",1,"user-item","pos-checkbox-green",3,"click","keydown.enter","keydown.space","ngClass"],[1,"pos-checkbox-green",3,"change","click","ngModel"],[1,"fw-bold","d-block"],[1,"fw-normal","text-muted","small","d-block","mt-3"]],template:function(e,o){e&1&&(n(0,"modal-material",0),b("onCancel",function(){return o.onClose()})("onClose",function(){return o.onClose()})("onOk",function(){return o.onOk()}),n(1,"content")(2,"div",1)(3,"div",2)(4,"div")(5,"span",3),l(6," \u26A0\uFE0F "),a()(),n(7,"div")(8,"h5",4),l(9,"Warning: Forced Logout"),a(),n(10,"p",5),l(11," Selected users will be immediately logged out and their sessions terminated. "),a()()()(),n(12,"div",6),M(13,B,7,1,"div",7),n(14,"div",8),F(15,G,6,6,"div",9,v),a()()()()),e&2&&(g("config",o.modalConfig),d(13),w(o.userAccess().length>1?13:-1),d(2),y(o.userAccess()))},dependencies:[P,T,$,U,j,R,E,A,V],styles:["ul[_ngcontent-%COMP%]{list-style-type:none}.warning-banner[_ngcontent-%COMP%]{background:linear-gradient(135deg,#ff6b6b,#ee5a52);color:#fff;padding:16px;box-shadow:0 4px 15px #ff6b6b4d}.select-all-container[_ngcontent-%COMP%]{background:#f8f9fa;padding:6px;border-radius:12px;margin-bottom:16px;border:2px solid #e9ecef;transition:all .3s ease}.select-all-container[_ngcontent-%COMP%]:hover{border-color:#89b03e;background:#f0f7e8}.selected-count[_ngcontent-%COMP%]{background:#89b03e;color:#fff;padding:4px 8px;border-radius:12px;font-size:12px;font-weight:600}.user-list[_ngcontent-%COMP%]{max-height:159px;overflow-y:auto;border:1px solid #e9ecef;border-radius:12px;background:#fff}.user-item[_ngcontent-%COMP%]{padding:6px;border-bottom:1px solid #f1f3f4;display:flex;align-items:center;gap:12px;transition:all .3s ease;cursor:pointer;min-height:52px}.user-item[_ngcontent-%COMP%]:last-child{border-bottom:none}.user-item[_ngcontent-%COMP%]:hover{background:#f8f9fa}.user-item.selected[_ngcontent-%COMP%]{background:#e8f5e8} .pos-checkbox-green .mat-checkbox.mat-accent .mat-checkbox-frame{border-color:#89b03e!important} .pos-checkbox-green .mat-checkbox-checked.mat-accent .mat-checkbox-frame{border-color:#89b03e!important} .pos-checkbox-green .mat-checkbox-checked.mat-accent .mat-checkbox-background{border-color:#89b03e!important;background-color:#89b03e!important} .pos-checkbox-green .mat-checkbox-ripple .mat-ripple-element{background-color:#89b03e!important} .pos-checkbox-green .mat-checkbox-frame, .pos-checkbox-green .mat-checkbox .mat-checkbox-frame{border-color:#89b03e!important} .pos-checkbox-green .mat-checkbox.mat-primary .mat-checkbox-frame{border-color:#89b03e!important} .pos-checkbox-green .mat-checkbox.mat-primary .mat-checkbox-background{background-color:#89b03e!important;border-color:#89b03e!important} .pos-checkbox-green .mat-ripple-element, .pos-checkbox-green .mat-checkbox .mat-ripple-element{background-color:#89b03e!important} .pos-checkbox-green .mat-mdc-checkbox .mdc-checkbox__background{background-color:transparent} .pos-checkbox-green .mat-mdc-checkbox.mat-mdc-checkbox-checked .mdc-checkbox__background, .pos-checkbox-green .mat-mdc-checkbox.mat-mdc-checkbox-checked .mdc-checkbox__mixedmark{background-color:#89b03e!important;color:#fff!important;border-color:#89b03e!important} .pos-checkbox-green .mat-mdc-checkbox.mat-mdc-checkbox-checked .mdc-checkbox__checkmark-path{stroke:#fff!important} .pos-checkbox-green .mat-mdc-checkbox .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:#89b03e!important} .pos-checkbox-green .mat-mdc-checkbox.mat-primary .mdc-checkbox__background, .pos-checkbox-green .mat-primary .mdc-checkbox__background{border-color:#89b03e!important;background-color:#89b03e!important} .pos-checkbox-green .mat-mdc-checkbox .mdc-checkbox__native-control:checked~.mdc-checkbox__background{border-color:#89b03e!important;background-color:#89b03e!important} .pos-checkbox-green .mat-mdc-checkbox.mat-primary.mat-mdc-checkbox-checked .mdc-checkbox__checkmark-path{stroke:#fff!important}.user-list[_ngcontent-%COMP%]::-webkit-scrollbar{width:6px}.user-list[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.user-list[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#89b03e;border-radius:3px}.user-list[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#7a9e37}"]})};export{W as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as U,d as W}from"./chunk-
|
|
1
|
+
import{c as U,d as W}from"./chunk-Y4TUJFQT.js";import{a as X,b as Y}from"./chunk-VYUMNVGD.js";import{b as K,c as Q}from"./chunk-CIBQBSM6.js";import{a as A}from"./chunk-ZT4RBJMM.js";import{ja as J}from"./chunk-3PYW74LR.js";import{D as G,h as B,o as q}from"./chunk-P7HKWFZT.js";import{a as C}from"./chunk-AHCRE4GP.js";import{$a as _,Ac as k,Db as H,Fa as M,Fc as F,Ib as c,Jb as m,Nb as L,Ob as V,Qb as j,Rb as n,Y as S,Yd as d,bd as N,ca as h,cd as P,d as x,db as b,dc as I,ec as v,fa as T,ga as u,gc as E,ja as w,jd as z,kb as $,ma as O,na as D,o as f,qb as a,va as p,vb as l,wa as g,zc as R}from"./chunk-DZT5XHBQ.js";var y=class o{signalRClient=D(A);continuedCategories$;allCategories$;_onOpenTreeSelector=new x;onOpenTreeSelector$=this._onOpenTreeSelector.asObservable();constructor(t){this.continuedCategories$=this.onOpenTreeSelector$.pipe(u(this.signalRClient.recacheCategory$),h((e,[i,r])=>r||!e.length?(this.signalRClient.resetCategoryCache(),t.post("/api/catalog/product/GetProductStorageOptions")):f(e),[]),S(1)),this.allCategories$=this.onOpenTreeSelector$.pipe(u(this.signalRClient.recacheCategory$),h((e,[i,r])=>r||!e.length?t.get("/API/catalog/category/SelectOptions"):f(e),[]),S(1))}onOpenTreeSelector(){this._onOpenTreeSelector.next(!0)}forceLoadCategories(){this._onOpenTreeSelector.next(!0)}static \u0275fac=function(e){return new(e||o)(O(d))};static \u0275prov=w({token:o,factory:o.\u0275fac,providedIn:"root"})};function ie(o,t){o&1&&L(0)}function re(o,t){if(o&1&&(c(0,"p-floatLabel",1),a(1,ie,1,0,"ng-container",2),c(2,"label",3),v(3,"Category"),m()()),o&2){n();let e=I(3);_(),l("ngTemplateOutlet",e)}}function ne(o,t){o&1&&L(0)}function ae(o,t){if(o&1&&a(0,ne,1,0,"ng-container",2),o&2){n();let e=I(3);l("ngTemplateOutlet",e)}}function le(o,t){if(o&1&&(c(0,"div",6),v(1),m()),o&2){let e=n(2);l("matTooltip",e.selectedCategoryLabel),_(),E(" ",e.selectedCategoryLabel," ")}}function ce(o,t){if(o&1){let e=V();c(0,"p-treeSelect",4),R(1,"async"),j("click",function(){p(e);let r=n();return g(r.loadCategories())})("ngModelChange",function(r){p(e);let s=n();return g(s.onSelectCategory(r))})("onClear",function(){p(e);let r=n();return g(r.onClear())}),a(2,le,2,2,"ng-template",5),m()}if(o&2){let e=n();l("options",k(1,3,e.categories$))("ngModel",e.selectedCategory)("showClear",e.showClear)}}var Z=class o{constructor(t,e){this.http=t;this.treeSelector=e}continuedCategoriesOnly=!0;categories=[];showClear=!1;showLabel=!1;isInitializedCategoryLabel=!1;selectedCategory;selectedCategoryID;selectedCategoryIDChange=new M;selectedCategoryLabel;top=0;isLoadCategories=!1;categories$;ngAfterViewInit(){let t=document.querySelector("body");this.top=t.getBoundingClientRect().top*-1}ngOnInit(){this.isInitializedCategoryLabel&&(C.IsEmpty(this.selectedCategoryID)&&C.IsNotEmpty(this.categories)&&(this.selectedCategoryID=this.categories[0]?.key),this.selectedCategory=this.findSelectedCategory(this.categories,this.selectedCategoryID),this.generateLabelSelectedCategory(this.selectedCategory)),this.categories$=this.continuedCategoriesOnly?this.treeSelector.continuedCategories$:this.treeSelector.allCategories$,this.categories$=this.categories$.pipe(T(t=>{this.selectedCategory=this.findSelectedCategory(t,this.selectedCategoryID),this.generateLabelSelectedCategory(this.selectedCategory)}))}onSelectCategory(t){this.selectedCategory=t,this.generateLabelSelectedCategory(this.selectedCategory),this.selectedCategoryID=t?.key,this.selectedCategoryIDChange.emit(this.selectedCategoryID)}generateLabelSelectedCategory(t){if(t){let e=[];this.selectedCategoryLabel="";do e=[...e,t.label],t=t.parent;while(t!==void 0);this.selectedCategoryLabel=e.reverse().join("/")}else this.selectedCategoryLabel="Select Storage Location"}findSelectedCategory(t,e){if(C.IsNotEmpty(e))for(let i of t){if(i.key===e)return i;{i.children=i.children?i.children:[],i.children=i.children.map(s=>(s.parent=i,s));let r=this.findSelectedCategory(i.children,e);if(r)return r}}else return null}loadCategories(){this.treeSelector.onOpenTreeSelector()}onClear(){this.selectedCategoryID=null,this.selectedCategoryIDChange.emit(this.selectedCategoryID)}static \u0275fac=function(e){return new(e||o)(b(d),b(y))};static \u0275cmp=$({type:o,selectors:[["POS-storage-location-select"]],inputs:{continuedCategoriesOnly:"continuedCategoriesOnly",categories:"categories",showClear:"showClear",showLabel:"showLabel",isInitializedCategoryLabel:"isInitializedCategoryLabel",selectedCategoryID:"selectedCategoryID"},outputs:{selectedCategoryIDChange:"selectedCategoryIDChange"},decls:4,vars:1,consts:[["categorySelectTemplate",""],["variant","on",1,"w-100"],[4,"ngTemplateOutlet"],["for","selectCategory",1,"tree-category-label"],["appendTo","body","selectionMode","single","filter","true","filterInputAutoFocus","true","scrollHeight","250px","inputId","selectCategory","placeholder","Select Storage Location",3,"click","ngModelChange","onClear","options","ngModel","showClear"],["pTemplate","value"],["matTooltipPosition","above",3,"matTooltip"]],template:function(e,i){e&1&&a(0,re,4,1,"p-floatLabel",1)(1,ae,1,1,"ng-container")(2,ce,3,5,"ng-template",null,0,F),e&2&&H(i.showLabel?0:1)},dependencies:[z,N,P,Q,K,W,U,J,G,B,q,Y,X],styles:[".p-popover.p-component{z-index:10000000000000000000000!important} .p-treeselect-panel .p-treeselect-items-wrapper .p-tree{padding-left:4px!important} .p-float-label .p-inputwrapper-filled~label.tree-category-label{left:.5rem!important}"]})};export{Z as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./chunk-
|
|
1
|
+
import{a as r}from"./chunk-7S2SHB7E.js";import{K as a}from"./chunk-DZT5XHBQ.js";var s=class extends r{constructor(t,e,o,n){super(t);this.httpService=e;let p=this.getInfoID(n);this.menuData$.pipe(a(()=>this.getBindDataObservable(o,p))).subscribe({next:i=>{this.bindData(i),this.postBindData(i)}})}data;getInfoID(t){return t.snapshot.queryParams.ID}getBindDataObservable(t,e){return this.httpService.post(`/API/${t}`,{ID:e})}bindData(t){this.data=t}postBindData(t){}};export{s as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-7OHS7GGR.js";import"./chunk-NJIOGT5G.js";import"./chunk-M3GDT4VK.js";import"./chunk-QN43EVQB.js";import"./chunk-3RK6DDJD.js";import"./chunk-L2EDFSBR.js";import"./chunk-JKYTSC2D.js";import"./chunk-FD5YMPRL.js";import"./chunk-MV3QRRW6.js";import"./chunk-7ENHJR7R.js";import"./chunk-B4MIOMFY.js";import"./chunk-NU2RYCZP.js";import"./chunk-7S2SHB7E.js";import"./chunk-AZT6QE56.js";import"./chunk-5UL73W4S.js";import"./chunk-LPQODANI.js";import"./chunk-CIBQBSM6.js";import"./chunk-2454AQDI.js";import"./chunk-D35OBUDE.js";import"./chunk-567HXZXC.js";import"./chunk-AAJJTF33.js";import"./chunk-2FWFPV5I.js";import"./chunk-3PYW74LR.js";import"./chunk-P7HKWFZT.js";import"./chunk-HC43XRYO.js";import"./chunk-ZHO5KMQM.js";import"./chunk-AHCRE4GP.js";import"./chunk-MTTYVYZR.js";import"./chunk-DZT5XHBQ.js";import"./chunk-7DCB7DB2.js";export{a as SensitiveFieldComponent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as re}from"./chunk-SRISQ4G6.js";import{a as ae,b as oe}from"./chunk-V4NC35JB.js";import"./chunk-W2UCLTBY.js";import"./chunk-34GJS34C.js";import"./chunk-NHVOGEOO.js";import"./chunk-AYBLEFQB.js";import"./chunk-LCUJHXDF.js";import{d as ie,e as ne}from"./chunk-C7JM4PAG.js";import"./chunk-SJAXFGTZ.js";import"./chunk-3RK6DDJD.js";import"./chunk-L2EDFSBR.js";import"./chunk-WLWH7QQ2.js";import"./chunk-TEFNN3TY.js";import"./chunk-DZ2WZ4PS.js";import"./chunk-JKYTSC2D.js";import"./chunk-TGAOY65D.js";import{e as ee}from"./chunk-FU4B6BUR.js";import"./chunk-VQ7WKMGF.js";import{a as K}from"./chunk-
|
|
1
|
+
import{a as re}from"./chunk-SRISQ4G6.js";import{a as ae,b as oe}from"./chunk-V4NC35JB.js";import"./chunk-W2UCLTBY.js";import"./chunk-34GJS34C.js";import"./chunk-NHVOGEOO.js";import"./chunk-AYBLEFQB.js";import"./chunk-LCUJHXDF.js";import{d as ie,e as ne}from"./chunk-C7JM4PAG.js";import"./chunk-SJAXFGTZ.js";import"./chunk-3RK6DDJD.js";import"./chunk-L2EDFSBR.js";import"./chunk-WLWH7QQ2.js";import"./chunk-TEFNN3TY.js";import"./chunk-DZ2WZ4PS.js";import"./chunk-JKYTSC2D.js";import"./chunk-TGAOY65D.js";import{e as ee}from"./chunk-FU4B6BUR.js";import"./chunk-VQ7WKMGF.js";import{a as K}from"./chunk-QND5TRRL.js";import"./chunk-ANESQVY4.js";import"./chunk-MHBOKOSN.js";import"./chunk-S6TMUVGC.js";import"./chunk-PPWHSAY6.js";import"./chunk-FD5YMPRL.js";import"./chunk-MV3QRRW6.js";import"./chunk-6ZOGADBZ.js";import{a as te}from"./chunk-3AY3BZNI.js";import{a as J,h as Z,i as $}from"./chunk-B4MIOMFY.js";import"./chunk-NU2RYCZP.js";import{b as X}from"./chunk-7S2SHB7E.js";import"./chunk-AZT6QE56.js";import"./chunk-5UL73W4S.js";import"./chunk-LPQODANI.js";import"./chunk-CIBQBSM6.js";import{P as Y}from"./chunk-2454AQDI.js";import"./chunk-ZT4RBJMM.js";import"./chunk-GIKR6Y2K.js";import{e as Q}from"./chunk-VMY3JQDA.js";import"./chunk-D35OBUDE.js";import"./chunk-567HXZXC.js";import"./chunk-WEJYVCCX.js";import"./chunk-AAJJTF33.js";import{a as z}from"./chunk-2FWFPV5I.js";import"./chunk-3PYW74LR.js";import{D as U,h as j,o as G}from"./chunk-P7HKWFZT.js";import"./chunk-HC43XRYO.js";import"./chunk-ZHO5KMQM.js";import"./chunk-AHCRE4GP.js";import"./chunk-MTTYVYZR.js";import{$a as c,Ac as x,Db as A,Eb as E,Fc as O,Gb as V,Hb as W,Ib as n,Jb as a,Kb as S,Lb as D,Mb as v,Ob as T,Qb as y,Rb as s,Vd as H,Y as k,Yd as q,Zc as L,cd as N,db as h,ec as u,fa as I,jc as g,jd as R,kb as P,kc as _,lc as f,na as B,ob as M,qb as C,va as p,vb as l,wa as m,zc as b}from"./chunk-DZT5XHBQ.js";import"./chunk-7DCB7DB2.js";function pe(o,d){if(o&1){let t=T();n(0,"button",7),y("click",function(){p(t);let e=s();return m(e.onPrint())}),S(1,"i",8),n(2,"span"),u(3,"Print"),a()()}}function me(o,d){if(o&1){let t=T();n(0,"div",9)(1,"h6"),u(2,"Outlet"),a(),n(3,"outlet-selector",10),f("ngModelChange",function(e){p(t);let i=s();return _(i.pageData.Filter.EntityID,e)||(i.pageData.Filter.EntityID=e),m(e)}),a(),n(4,"h6"),u(5,"Sales Order Tag"),a(),n(6,"ng-select",11),f("ngModelChange",function(e){p(t);let i=s();return _(i.pageData.Filter.SalesOrderTagID,e)||(i.pageData.Filter.SalesOrderTagID=e),m(e)}),a(),n(7,"h6"),u(8,"From"),a(),n(9,"div",12)(10,"div",13)(11,"datepicker",14),f("dateChange",function(e){p(t);let i=s();return _(i.pageData.Filter.From,e)||(i.pageData.Filter.From=e),m(e)}),a()(),n(12,"div",13)(13,"app-timepicker",15),f("timeChange",function(e){p(t);let i=s();return _(i.pageData.Filter.StartTime,e)||(i.pageData.Filter.StartTime=e),m(e)}),a()()(),n(14,"h6"),u(15,"To"),a(),n(16,"div",12)(17,"div",13)(18,"datepicker",16),f("dateChange",function(e){p(t);let i=s();return _(i.pageData.Filter.To,e)||(i.pageData.Filter.To=e),m(e)}),a()(),n(19,"div",13)(20,"app-timepicker",15),f("timeChange",function(e){p(t);let i=s();return _(i.pageData.Filter.EndTime,e)||(i.pageData.Filter.EndTime=e),m(e)}),a()()()()}if(o&2){let t=s();c(3),l("accessType",2),g("ngModel",t.pageData.Filter.EntityID),c(3),l("items",t.pageData==null||t.pageData.Options==null?null:t.pageData.Options.SalesOrderTags),g("ngModel",t.pageData.Filter.SalesOrderTagID),c(5),l("isFloatingLabel",!1),g("date",t.pageData.Filter.From),l("hidelClearBtn",!0),c(2),g("time",t.pageData.Filter.StartTime),l("fullWidth",!0),c(5),l("isFloatingLabel",!1)("hidelClearBtn",!0),g("date",t.pageData.Filter.To),c(2),g("time",t.pageData.Filter.EndTime),l("fullWidth",!0)}}function ce(o,d){o&1&&(D(0),n(1,"div",20),u(2,"\xA0"),a(),v())}function se(o,d){if(o&1&&(S(0,"pos-receipt-a4",17),n(1,"div",18),S(2,"div",19),a(),C(3,ce,3,0,"ng-container",6)),o&2){let t=d.$implicit,r=d.$index,e=s().ngIf,i=s();l("data",t)("printTemplate",i.printTemplates==null?null:i.printTemplates.get(t.PrintTemplateID))("config",e.AppConfig)("workOrderMode",!1)("fullMode",!0)("stylesheet",e.StylesSheet),c(3),l("ngIf",r!==(e.Data==null?null:e.Data.length)-1)}}function de(o,d){if(o&1&&(D(0),V(1,se,4,7,null,null,E),v()),o&2){let t=d.ngIf;c(),W(t.Data)}}var le=class o extends K{constructor(t,r,e){super(t,r,"Tool/GetBulkPrintLoader","Tool/GetBulkPrintLoader",e,null,!0);this.httpService=r}dialogFilter=B(J);receipts$;printTemplates;preInitList(){this.pageData.Filter.From=new Date,this.pageData.Filter.To=new Date,this.pageData.Filter.StartTime="00:00",this.pageData.Filter.EndTime="23:59"}onFilter(){this.receipts$=this.httpService.post(Y.GetBulkPrintA4,this.pageData.Filter).pipe(I(t=>{t?.Data?.length==0?this.toastrService.info("There are no transaction",z.Info):this.generatePrintTemplate(t.PrintTemplates)}),k(1))}generatePrintTemplate(t=[]){this.printTemplates=new Map(t.map(r=>[r.ID,r]))}onNewPrint(){this.dialogFilter.openDialog()}onPrint(){window.setTimeout(function(){window.print()},500)}static \u0275fac=function(r){return new(r||o)(h(X),h(q),h(H))};static \u0275cmp=P({type:o,selectors:[["bulk-invoice-A4"]],features:[M],decls:13,vars:10,consts:[["pageFilterTemplate",""],[3,"textChange","onSubmit","pageData","hideSearchBox","text","hideSearchDropdown"],[1,"btn","btn-outline-secondary","me-3"],[1,"btn","btn-success",3,"click"],["filters",""],[1,"container-fluid","mt-5"],[4,"ngIf"],[1,"btn","btn-outline-secondary","me-3",3,"click"],[1,"fa","fa-print","me-3"],[1,"dialog-filter"],["placeholder","Choose an Outlet",3,"ngModelChange","accessType","ngModel"],["bindLabel","Name","bindValue","ID","placeholder","Choose Sales Order Tag",3,"ngModelChange","items","ngModel"],[1,"d-flex","align-items-center","gap-5"],[1,"w-100"],["placeholder","From","appearance","outline","name","From",1,"me-4",3,"dateChange","isFloatingLabel","date","hidelClearBtn"],[3,"timeChange","time","fullWidth"],["placeholder","To","appearance","outline","name","To",1,"me-4",3,"dateChange","isFloatingLabel","hidelClearBtn","date"],[3,"data","printTemplate","config","workOrderMode","fullMode","stylesheet"],[1,"d-print-none","mt-8"],[2,"border-top-style","dotted","margin-bottom","5px"],[1,"page-break"]],template:function(r,e){if(r&1){let i=T();n(0,"mainpanel-cmp",1),f("textChange",function(w){return p(i),_(e.pageData.Filter.Number,w)||(e.pageData.Filter.Number=w),m(w)}),y("onSubmit",function(){return p(i),m(e.onFilter())}),n(1,"actions"),C(2,pe,4,0,"button",2),b(3,"async"),n(4,"button",3),y("click",function(){return p(i),m(e.onNewPrint())}),u(5,"New"),a()(),n(6,"div",4),C(7,me,21,14,"ng-template",null,0,O),a(),n(9,"content")(10,"div",5),C(11,de,3,0,"ng-container",6),b(12,"async"),a()()()}if(r&2){let i;l("pageData",e.menuData)("hideSearchBox",!0),g("text",e.pageData.Filter.Number),l("hideSearchDropdown",!0),c(2),A(((i=x(3,6,e.receipts$))==null||i.Data==null?null:i.Data.length)>0?2:-1),c(9),l("ngIf",x(12,8,e.printTemplates&&e.receipts$))}},dependencies:[R,L,N,oe,ae,$,Z,te,Q,ne,ie,ee,U,j,G,re],styles:["input.p-inputtext{height:46.63px;border-color:#0000001f!important} input.p-inputtext :hover{border-color:#0000001f!important}@media print{.page-break[_ngcontent-%COMP%]{page-break-after:always}}"]})};export{le as BulkInvoiceA4Component};
|