dealpos 25.41.2 → 25.41.4
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-HVMUCZ5I.js → chunk-24QKQISF.js} +1 -1
- package/browser/{chunk-PPWXHE7X.js → chunk-2BNZCUNP.js} +1 -1
- package/browser/{chunk-XU5SOTZS.js → chunk-2EXFDYJN.js} +1 -1
- package/browser/{chunk-F4FAZ5ZL.js → chunk-2J7JBH5Q.js} +1 -1
- package/browser/{chunk-QHX74QID.js → chunk-2MVRUWW3.js} +1 -1
- package/browser/{chunk-V3YO2TDM.js → chunk-2QXPXRI6.js} +1 -1
- package/browser/{chunk-ILF7FISN.js → chunk-2U6W2RNU.js} +1 -1
- package/browser/{chunk-FBH7LG5C.js → chunk-2XAVDG2R.js} +1 -1
- package/browser/{chunk-X4LYU5XA.js → chunk-36CZUBXB.js} +1 -1
- package/browser/{chunk-UBMYMSUW.js → chunk-3D3ELK7I.js} +1 -1
- package/browser/{chunk-XUVY2IO6.js → chunk-3FE73ETM.js} +1 -1
- package/browser/{chunk-3MDUYQJU.js → chunk-3ITPIAO7.js} +1 -1
- package/browser/{chunk-HV6ZFQAQ.js → chunk-3UUHT4HG.js} +1 -1
- package/browser/{chunk-HUMRIGHZ.js → chunk-46WFGTJC.js} +1 -1
- package/browser/{chunk-DE2STA2G.js → chunk-4XFE7DMP.js} +2 -2
- package/browser/{chunk-SDADDOK4.js → chunk-4XFOSHBI.js} +1 -1
- package/browser/{chunk-N5QWMN2M.js → chunk-5POWTQ67.js} +1 -1
- package/browser/{chunk-L2PLXSAS.js → chunk-5YBGDA3S.js} +1 -1
- package/browser/{chunk-OFGVLEEZ.js → chunk-62VDXLDP.js} +1 -1
- package/browser/{chunk-RP636SRQ.js → chunk-66BLMMOK.js} +1 -1
- package/browser/{chunk-KZTKYVZF.js → chunk-6JJK75CC.js} +1 -1
- package/browser/{chunk-34DMF3QT.js → chunk-74QSXJ42.js} +1 -1
- package/browser/{chunk-JY5XX3QX.js → chunk-757ORJKN.js} +2 -2
- package/browser/{chunk-45BASVRZ.js → chunk-7G4UPOQP.js} +1 -1
- package/browser/{chunk-BAORXMVG.js → chunk-A5XBD65B.js} +1 -1
- package/browser/{chunk-FRO3O6SU.js → chunk-A6ZPTR67.js} +1 -1
- package/browser/{chunk-PZID6T4A.js → chunk-AC24RKU6.js} +1 -1
- package/browser/{chunk-J3C5CJEH.js → chunk-AJHV3SOU.js} +1 -1
- package/browser/{chunk-H54MTXKN.js → chunk-ATAC2AND.js} +1 -1
- package/browser/{chunk-W4BJ4JBG.js → chunk-BH4ZE4CF.js} +1 -1
- package/browser/{chunk-MFIRFGE2.js → chunk-BYEI3PJ6.js} +1 -1
- package/browser/{chunk-DNLMIUJF.js → chunk-C3WNOC5F.js} +1 -1
- package/browser/{chunk-QE22VQQ7.js → chunk-CIR6MTD4.js} +1 -1
- package/browser/{chunk-ZKRFSVUW.js → chunk-CKRE4XBG.js} +2 -2
- package/browser/{chunk-SQC25JWL.js → chunk-D32G7TJK.js} +1 -1
- package/browser/{chunk-B73NC3X2.js → chunk-DAMKEWK6.js} +1 -1
- package/browser/{chunk-EPBMDUPY.js → chunk-DF2W7YLH.js} +1 -1
- package/browser/{chunk-SO3422SX.js → chunk-DMK6CUHM.js} +1 -1
- package/browser/{chunk-7USMFPWJ.js → chunk-DVOCY3CZ.js} +1 -1
- package/browser/{chunk-4E2C3JC6.js → chunk-E3SP7B7S.js} +1 -1
- package/browser/{chunk-LDEAORXA.js → chunk-EDZXH4US.js} +1 -1
- package/browser/{chunk-DINWVJP7.js → chunk-EGOF4SFE.js} +1 -1
- package/browser/{chunk-4VMXYBU3.js → chunk-EGRPFCSJ.js} +2 -2
- package/browser/{chunk-Z3OYXF5N.js → chunk-EKOCQO55.js} +1 -1
- package/browser/{chunk-YQEL63SF.js → chunk-ESHN7M3P.js} +1 -1
- package/browser/{chunk-CIEDGY7H.js → chunk-FKYQUS5M.js} +1 -1
- package/browser/{chunk-EYV7AZ42.js → chunk-GBAAG52Z.js} +1 -1
- package/browser/{chunk-UESUOHI6.js → chunk-GLQBFUNO.js} +1 -1
- package/browser/{chunk-GZ2EJLH3.js → chunk-GVGUEGZI.js} +1 -1
- package/browser/{chunk-BAL3IIDS.js → chunk-H4CCCG5S.js} +1 -1
- package/browser/{chunk-HBC5DBVS.js → chunk-HS3NKKBN.js} +1 -1
- package/browser/chunk-I3O4QZ4X.js +1 -0
- package/browser/{chunk-TNLZPCYK.js → chunk-I4I6FJDX.js} +1 -1
- package/browser/{chunk-ZC4V4XIM.js → chunk-INWN4VE6.js} +1 -1
- package/browser/{chunk-6IIF7CKF.js → chunk-JJ4V6TS4.js} +1 -1
- package/browser/{chunk-24OZA3GF.js → chunk-K4P3FNHD.js} +1 -1
- package/browser/{chunk-G7VSP6EW.js → chunk-K5AWJ3PF.js} +1 -1
- package/browser/{chunk-LID6CN6L.js → chunk-K6YXV6DF.js} +1 -1
- package/browser/{chunk-YDXY6QHK.js → chunk-KEUOT5UT.js} +1 -1
- package/browser/{chunk-E4R5MW6J.js → chunk-KHIJN7MP.js} +14 -14
- package/browser/{chunk-AFYPHUZX.js → chunk-KMO6SBV2.js} +1 -1
- package/browser/{chunk-RZFAYPJW.js → chunk-KST6UNFB.js} +1 -1
- package/browser/{chunk-NPTTEU4B.js → chunk-LE5ZGH7A.js} +1 -1
- package/browser/{chunk-5DDIIEIO.js → chunk-LFRP6C5Y.js} +1 -1
- package/browser/{chunk-D5LBI5TH.js → chunk-LIVWB266.js} +1 -1
- package/browser/{chunk-PJHIUSNN.js → chunk-LJW6HW5T.js} +1 -1
- package/browser/{chunk-AKTKAREU.js → chunk-LX2RVE4Q.js} +1 -1
- package/browser/{chunk-UERDXH3W.js → chunk-MEMBBEAI.js} +1 -1
- package/browser/{chunk-SSE7KV5S.js → chunk-MPJPWARV.js} +1 -1
- package/browser/{chunk-VP42CBUF.js → chunk-NOEPKA4W.js} +1 -1
- package/browser/{chunk-6CJCT6YT.js → chunk-NRDJEOWR.js} +1 -1
- package/browser/{chunk-AAR4B3HZ.js → chunk-NTIVPZGS.js} +2 -2
- package/browser/{chunk-IXHBD564.js → chunk-NVGKWF2G.js} +1 -1
- package/browser/{chunk-I45IV26L.js → chunk-NXN7NE47.js} +1 -1
- package/browser/{chunk-UZFW2WNI.js → chunk-O5RZTQKV.js} +1 -1
- package/browser/{chunk-Z7LRKY4R.js → chunk-OGI634A2.js} +1 -1
- package/browser/{chunk-TLWH7QTW.js → chunk-OINGZOF4.js} +1 -1
- package/browser/{chunk-QHYHGORX.js → chunk-OK4CL2M4.js} +1 -1
- package/browser/{chunk-R5IO2SN4.js → chunk-P6TNAQ2F.js} +1 -1
- package/browser/{chunk-3VQLYVVB.js → chunk-PRGXQYOR.js} +1 -1
- package/browser/{chunk-O3HYW3PV.js → chunk-QKCOYSSN.js} +1 -1
- package/browser/{chunk-2F5STFEV.js → chunk-QTXCHVAR.js} +1 -1
- package/browser/{chunk-Y3CUYCSX.js → chunk-RB6SQ4EV.js} +1 -1
- package/browser/{chunk-ZIQAYIU4.js → chunk-RNILXGHZ.js} +1 -1
- package/browser/{chunk-ZFNJGBST.js → chunk-RTIMT7MB.js} +1 -1
- package/browser/{chunk-CSAGSFL3.js → chunk-S32IOJJR.js} +1 -1
- package/browser/{chunk-NA7ZJQET.js → chunk-SETNDGZG.js} +1 -1
- package/browser/{chunk-W2NHEKCW.js → chunk-SGIO47PC.js} +1 -1
- package/browser/{chunk-5PE5X2VB.js → chunk-SW2DBPIJ.js} +1 -1
- package/browser/{chunk-5TV4QYNO.js → chunk-T6L7V6VB.js} +1 -1
- package/browser/{chunk-YYR3XEAQ.js → chunk-T7EVNQJZ.js} +1 -1
- package/browser/{chunk-FZNAOCWZ.js → chunk-T7JKTLRY.js} +2 -2
- package/browser/{chunk-EPYFG6SH.js → chunk-T7UL42MO.js} +1 -1
- package/browser/{chunk-JJK4XCMN.js → chunk-TBQRBWDN.js} +1 -1
- package/browser/{chunk-DOTR5PYR.js → chunk-TDFRMUQQ.js} +1 -1
- package/browser/{chunk-WIB47ZGF.js → chunk-TDG64PZU.js} +1 -1
- package/browser/{chunk-S4FLFLTR.js → chunk-TU4DJ5OY.js} +1 -1
- package/browser/{chunk-GHLCUW72.js → chunk-TXL4UCFA.js} +1 -1
- package/browser/{chunk-65CKGM2C.js → chunk-U4QA2337.js} +1 -1
- package/browser/{chunk-M7G3WT32.js → chunk-UEKHGOJL.js} +1 -1
- package/browser/{chunk-BT6BH634.js → chunk-ULF57NM6.js} +1 -1
- package/browser/{chunk-6BXO4MVU.js → chunk-UMLR3NXV.js} +1 -1
- package/browser/{chunk-GVI4QM2F.js → chunk-UNFJ7644.js} +1 -1
- package/browser/{chunk-3XMWVJ2L.js → chunk-V5O3E5XQ.js} +1 -1
- package/browser/{chunk-WA5AGHFF.js → chunk-V7RYZJVN.js} +1 -1
- package/browser/{chunk-7KXMZBQB.js → chunk-V7XF5OHI.js} +1 -1
- package/browser/{chunk-4CRQAT4Y.js → chunk-VF6HKAFR.js} +1 -1
- package/browser/chunk-VKT5PPFS.js +1 -0
- package/browser/{chunk-6ZEEVCRE.js → chunk-W6BB4ADK.js} +1 -1
- package/browser/{chunk-AD5C5J25.js → chunk-WIRVWYB3.js} +1 -1
- package/browser/{chunk-KMA5VOEA.js → chunk-WS5EBPC2.js} +1 -1
- package/browser/{chunk-LOMNHHBV.js → chunk-WUBF7SHA.js} +1 -1
- package/browser/{chunk-N22LFPQL.js → chunk-WVFDCBPZ.js} +2 -2
- package/browser/{chunk-QJWMNNK6.js → chunk-XAZ4U5H6.js} +2 -2
- package/browser/{chunk-2EQ7Y56O.js → chunk-XR7Q6MPP.js} +2 -2
- package/browser/{chunk-GVSOBS5Q.js → chunk-Y2V6RDWT.js} +2 -2
- package/browser/{chunk-XHAPRGGF.js → chunk-Y726HBE5.js} +1 -1
- package/browser/{chunk-K3367VWX.js → chunk-YG2JH54R.js} +1 -1
- package/browser/{chunk-BZHL4W7T.js → chunk-YK6QAFHR.js} +1 -1
- package/browser/{chunk-5MZEP3D7.js → chunk-YUZ32SM6.js} +1 -1
- package/browser/chunk-YWZWCZZB.js +1 -0
- package/browser/{chunk-LGCRFIIA.js → chunk-YXVAJ7AI.js} +1 -1
- package/browser/{chunk-SN3DTCGO.js → chunk-YYZIKSOW.js} +1 -1
- package/browser/{chunk-3CCLSY4U.js → chunk-Z3VGSV3R.js} +1 -1
- package/browser/{chunk-GMX2JWEW.js → chunk-Z3VZQOTA.js} +1 -1
- package/browser/{chunk-7S5F6JOF.js → chunk-ZEWGIKVI.js} +1 -1
- package/browser/chunk-ZFQRWOU2.js +1 -0
- package/browser/{chunk-WEAIMPRM.js → chunk-ZJDIZNTX.js} +1 -1
- package/browser/{chunk-4SOJX57D.js → chunk-ZJMIEPWF.js} +1 -1
- package/browser/index.html +2 -2
- package/browser/{main-6UNPCULN.js → main-YLCIT32A.js} +2 -2
- package/package.json +1 -1
- package/browser/chunk-7E6SMB44.js +0 -1
- package/browser/chunk-EZCQYLCW.js +0 -1
- package/browser/chunk-PQUVDF3D.js +0 -1
- package/browser/chunk-Y4MHZTLF.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as X,b as Z}from"./chunk-
|
|
1
|
+
import{a as X,b as Z}from"./chunk-5POWTQ67.js";import{d as Q,e as W}from"./chunk-ATAC2AND.js";import"./chunk-OK4CL2M4.js";import{a as z,b as J}from"./chunk-Y726HBE5.js";import"./chunk-OI2RWAOV.js";import"./chunk-7LXPGNYF.js";import"./chunk-7G4UPOQP.js";import"./chunk-XOQ4SW2R.js";import{O as K}from"./chunk-ZJMIEPWF.js";import"./chunk-6BL2JKZG.js";import"./chunk-REQUYIUO.js";import"./chunk-T2PMKO3M.js";import"./chunk-2FWFPV5I.js";import"./chunk-OE7PM4Y4.js";import"./chunk-CB33ZMNF.js";import"./chunk-OINGZOF4.js";import"./chunk-I4I6FJDX.js";import{d as Y}from"./chunk-TYBAV5LT.js";import"./chunk-QKCOYSSN.js";import{$a as i,Ac as H,Bc as _,Fc as w,Ib as a,Jb as o,Kb as c,Lb as C,Mb as v,Od as k,Rb as d,Rd as A,Td as G,Y as b,Yd as U,Zc as B,aa as M,cd as $,db as x,dc as R,ec as l,ed as q,fa as P,gc as s,jd as j,kb as D,mc as T,na as y,nc as O,ob as L,oc as f,qb as u,qc as N,rc as V,t as E,u as h,vb as r,zc as g}from"./chunk-DJOHANFC.js";import{a as S,b as F}from"./chunk-7DCB7DB2.js";var ne=()=>["/menu/Logistics/Setup/Courier/Form"],ie=t=>({ID:t});function oe(t,p){if(t&1&&(a(0,"a",18),c(1,"i",19),l(2,"Edit"),o()),t&2){d();let e=f(0);r("routerLink",N(2,ne))("queryParams",V(3,ie,e==null||e.Form==null?null:e.Form.ID))}}function re(t,p){if(t&1&&(C(0),l(1),v()),t&2){d(2);let e=f(0);i(),s(" / ",e.Form.Creator," ")}}function ae(t,p){if(t&1&&(C(0),l(1),g(2,"date"),u(3,re,2,1,"ng-container",20),v()),t&2){d();let e=f(0);i(),s(" ",_(2,2,e.Form.Created,"dd MMM yyyy HH:mm")," "),i(2),r("ngIf",e==null||e.Form==null?null:e.Form.Creator)}}function le(t,p){t&1&&l(0,"-")}function me(t,p){if(t&1&&(C(0),l(1),v()),t&2){d(2);let e=f(0);i(),s(" / ",e.Form.Modifier," ")}}function pe(t,p){if(t&1&&(a(0,"span",21)(1,"b"),l(2,"Modified:"),o(),l(3),g(4,"date"),u(5,me,2,1,"ng-container",20),o()),t&2){d();let e=f(0);i(3),s(" ",_(4,2,e==null||e.Form==null?null:e.Form.Modified,"dd MMM yyyy HH:mm")," "),i(2),r("ngIf",(e==null||e.Form==null?null:e.Form.Modified)&&(e==null||e.Form==null?null:e.Form.Modifier))}}var ee=class t extends z{constructor(e,m){super(e);this.pageSetupService=e;this.role=m;this.initCourierInfo()}httpService=y(U);activeRoute=y(k);courierInfo$;ngOnInit(){}initCourierInfo(){this.courierInfo$=h([this.menuData$,this.activeRoute.queryParams]).pipe(M(([e,m])=>this.httpService.get(`${K.GetCourierInfo}/${m.ID}`)),E(e=>{let m=e?.Form?.EntityName?e?.Form?.EntityName?.join(", "):"";return e.Form=F(S({},e.Form),{Entity:m}),e}),P(e=>{this.menuData.H=e?.PageTitle||"Courier Info"}),b(1))}static \u0275fac=function(m){return new(m||t)(x(J),x(Y))};static \u0275cmp=D({type:t,selectors:[["app-courier-info"]],features:[L],decls:33,vars:13,consts:[["createdDash",""],[3,"pageData","hideSearchBox","hideSearchDropdown"],["class","btn btn-outline-secondary me-3","role","button","matTooltipPosition","above","matTooltip","Edit",3,"routerLink","queryParams",4,"ngIf"],[1,"container-fluid","mt-5"],[1,"row"],[1,"col-sm-12"],[1,"card"],[1,"card-header"],[1,"card-body"],[1,"col-6"],[1,"form-floating-outline"],["labelValue","Name",3,"inputValue"],["labelValue","Suspend",3,"inputValue"],["labelValue","Destination Outlet Filter",3,"inputValue"],[1,"alert","alert-warning"],["aria-hidden","true",1,"fa","fa-file-text-o"],[4,"ngIf","ngIfElse"],["class","ms-3",4,"ngIf"],["role","button","matTooltipPosition","above","matTooltip","Edit",1,"btn","btn-outline-secondary","me-3",3,"routerLink","queryParams"],["aria-hidden","true",1,"fa-solid","fa-pen-to-square","me-3"],[4,"ngIf"],[1,"ms-3"]],template:function(m,I){if(m&1&&(T(0),g(1,"async"),a(2,"mainpanel-cmp",1)(3,"actions"),u(4,oe,3,5,"a",2),o(),a(5,"content")(6,"div",3)(7,"div",4)(8,"div",5)(9,"div",6)(10,"div",7)(11,"h3"),l(12,"General"),o()(),a(13,"div",8)(14,"div",4)(15,"div",9)(16,"div",10),c(17,"POS-info-page-input",11),o()(),a(18,"div",9)(19,"div",10),c(20,"POS-info-page-input",12),o()(),a(21,"div",9)(22,"div",10),c(23,"POS-info-page-input",13),o()()()()()()(),a(24,"div",14),c(25,"i",15),a(26,"span")(27,"b"),l(28,"Created: "),o(),u(29,ae,4,5,"ng-container",16)(30,le,1,0,"ng-template",null,0,w),o(),u(32,pe,6,5,"span",17),o()()()()),m&2){let te=R(31),n=O(H(1,10,I.courierInfo$));i(2),r("pageData",I.menuData)("hideSearchBox",!0)("hideSearchDropdown",!0),i(2),r("ngIf",I.role.logistic.Edit),i(13),r("inputValue",n==null||n.Form==null?null:n.Form.Name),i(3),r("inputValue",!(n==null||n.Form==null)&&n.Form.Bin?"Yes":"No"),i(3),r("inputValue",n==null||n.Form==null?null:n.Form.Entity),i(6),r("ngIf",n==null||n.Form==null?null:n.Form.Created)("ngIfElse",te),i(3),r("ngIf",n==null||n.Form==null?null:n.Form.Modified)}},dependencies:[j,B,$,q,W,Q,G,A,Z,X],encapsulation:2})};export{ee as CourierInfoComponent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as ue}from"./chunk-I2O3VGCS.js";import{A as se,q as pe,x as le,z as me}from"./chunk-
|
|
1
|
+
import{a as ue}from"./chunk-I2O3VGCS.js";import{A as se,q as pe,x as le,z as me}from"./chunk-7G4UPOQP.js";import{O as ce}from"./chunk-ZJMIEPWF.js";import{a as re}from"./chunk-2FWFPV5I.js";import{G as ne,a as X,c as Z,h as ee,l as te,s as ie}from"./chunk-CB33ZMNF.js";import{a as q,d as ae}from"./chunk-TYBAV5LT.js";import{$a as a,$b as k,Ac as O,D as A,E as s,Fc as G,Ib as r,Jb as l,Kb as d,M as w,Ob as R,Qb as $,Qc as L,Rb as _,Vd as J,Wa as F,Yc as z,Yd as oe,Zb as N,Zc as W,_b as j,aa as M,bc as U,cc as H,cd as B,d as E,db as h,dc as C,ec as f,fa as m,fc as g,ga as S,gb as D,gd as K,jd as Y,kb as T,na as v,o as V,pc as Q,qb as u,t as b,va as x,vb as p,wa as P,xb as y,zc as I}from"./chunk-DJOHANFC.js";var de=["searchFilter"];function ge(o,t){o&1&&d(0,"i",8)}function ve(o,t){if(o&1&&d(0,"img",15),o&2){let i=_().$implicit;p("src",i.ImgUrl,F)}}function he(o,t){o&1&&(r(0,"div",16),d(1,"i",17),l())}function ye(o,t){if(o&1&&(r(0,"mat-option",9)(1,"div",10)(2,"div",11)(3,"div"),u(4,ve,1,1,"img",12)(5,he,2,0,"ng-template",null,2,G),l(),r(7,"div",13)(8,"div"),f(9),l(),r(10,"small",14),f(11),l()()(),r(12,"span"),f(13),I(14,"number"),l()()()),o&2){let i=t.$implicit,n=C(6),e=_();p("value",i),a(4),p("ngIf",i.ImgUrl)("ngIfElse",n),a(5),g(i.Value),a(2),g(i.Code),a(2),g(O(14,6,i[e.amountProperty]))}}var fe=class o{constructor(t,i){this.http=t;L(()=>{let n=this.searchFilter().nativeElement;i.searchFilterNativeEl=n})}searchFilter=D("searchFilter");toastr=v(J);role=v(ae);isOnModalVariant=!1;autocompleteEndpoint=ce.GetVariantSuggestions;outletID;inputID;amountProperty="UnitPrice";filteredVariants$;variant=new te("");barcodeInput;_onEnter=new E;onEnter$=this._onEnter.asObservable();focusInterval;disabled=!1;onChange=t=>{};onTouched=()=>{};ngOnDestroy(){clearInterval(this.focusInterval)}ngAfterViewInit(){}keepInputFocus(){this.barcodeInput.nativeElement.focus(),this.focusInterval=setInterval(()=>{document.activeElement!==this.barcodeInput.nativeElement&&this.barcodeInput.nativeElement.focus()},200)}ngOnInit(){this.filteredVariants$=this.variant.valueChanges.pipe(s(e=>typeof e=="string"&&e.length>=3||e===""),w(300),M(e=>e===""?V([]):this.http.get(this.autocompleteEndpoint,[{key:"Prefix",value:e},{key:"Count",value:100},{key:"EntityID",value:this.outletID}]).pipe(m(c=>{c?.length==0&&this.toastr.warning(`Product with name ${e} is not found`,re.Warning)}))));let t=this.variant.valueChanges.pipe(s(e=>typeof e!="string"&&!e.OnSet),m(e=>this.onChange({type:"ID",str:e.Key,value:e.Value}))),i=this.onEnter$.pipe(S(this.variant.valueChanges),b(([e,c])=>c),s(e=>typeof e=="string"),m(e=>this.onChange({type:"Code",str:e})));A(t,i).pipe(s(()=>!this.isOnModalVariant),m(()=>this.variant.setValue("")),m(()=>this.onChange(null))).subscribe()}writeValue(t){if(typeof t!="string"&&q.IsNotEmpty(t)){let i={Key:t.str,Value:t.value,OnSet:!0};this.variant.setValue(i)}}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t}onEnter(){this._onEnter.next()}displayFn(t){return t&&t.Value?t.Value:""}static \u0275fac=function(i){return new(i||o)(h(oe),h(ue))};static \u0275cmp=T({type:o,selectors:[["POS-variant-autocomplete"]],viewQuery:function(i,n){if(i&1&&(U(n.searchFilter,de,5),N(de,7)),i&2){H();let e;j(e=k())&&(n.barcodeInput=e.first)}},inputs:{isOnModalVariant:"isOnModalVariant",autocompleteEndpoint:"autocompleteEndpoint",outletID:"outletID",inputID:"inputID",amountProperty:"amountProperty"},features:[Q([{provide:X,multi:!0,useExisting:o}])],decls:8,vars:14,consts:[["searchFilter",""],["auto","matAutocomplete"],["EMPTY_IMAGE",""],[1,"position-relative"],["class","fa fa-barcode position-absolute",4,"ngIf"],["type","text","placeholder","Search product by name/code",1,"example-input",3,"keydown.enter","formControl","matAutocomplete","id"],["autoActiveFirstOption","",3,"displayWith"],[3,"value",4,"ngFor","ngForOf"],[1,"fa","fa-barcode","position-absolute"],[3,"value"],[1,"d-flex","align-items-center","justify-content-between"],[1,"d-flex","align-items-center","justify-content-start"],["width","30","height","30","class","me-2",3,"src",4,"ngIf","ngIfElse"],[1,"ms-3"],[1,"opacity-75"],["width","30","height","30",1,"me-2",3,"src"],[1,"empty-image","d-flex","justify-content-center","align-items-center","me-2"],[1,"fa-solid","fa-image","fa-image-autocomplete",2,"color","#b4b4b4c2"]],template:function(i,n){if(i&1){let e=R();r(0,"div",3),u(1,ge,1,0,"i",4),r(2,"input",5,0),$("keydown.enter",function(){return x(e),P(n.onEnter())}),l(),r(4,"mat-autocomplete",6,1),u(6,ye,15,8,"mat-option",7),I(7,"async"),l()()}if(i&2){let e=C(5);y("px-0",n.isOnModalVariant)("px-5",!n.isOnModalVariant),a(),p("ngIf",!n.isOnModalVariant),a(),y("px-6",n.isOnModalVariant),p("formControl",n.variant)("matAutocomplete",e)("id",n.inputID),a(2),p("displayWith",n.displayFn),a(2),p("ngForOf",O(7,12,n.filteredVariants$))}},dependencies:[Y,z,W,B,K,se,le,pe,me,ne,Z,ee,ie],styles:["input[_ngcontent-%COMP%]{height:38px!important;border-radius:.375rem;border:1px solid #ced4da;width:100%;padding-left:32px}input[_ngcontent-%COMP%]::placeholder{color:#ced4da}i[_ngcontent-%COMP%]{top:13px;left:23px}div[_ngcontent-%COMP%] > .empty-image[_ngcontent-%COMP%]{height:32px;width:30px;border:solid 1px #dddddd}.fa-image-autocomplete[_ngcontent-%COMP%]{font-size:20px}div.mat-mdc-autocomplete-panel[_ngcontent-%COMP%] mat-option.mat-mdc-option[_ngcontent-%COMP%]{margin:.1rem 0;overflow:visible;line-height:initial;word-wrap:break-word;white-space:pre-wrap}div.mat-mdc-autocomplete-panel[_ngcontent-%COMP%] mat-option.mat-mdc-option[_ngcontent-%COMP%] span.mdc-list-item__primary-text[_ngcontent-%COMP%]{white-space:normal}.mat-mdc-option[_ngcontent-%COMP%]{font-size:13px;height:auto!important;padding:10px 6px!important} .mdc-list-item__primary-text{margin-right:0;width:100%}"]})};export{fe as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./chunk-
|
|
1
|
+
import{a as r}from"./chunk-Y726HBE5.js";import{K as a}from"./chunk-DJOHANFC.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};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$a as n,Ac as g,Db as v,Fa as d,Ib as a,Jb as o,Kb as b,Ob as D,Qb as f,Rb as c,Zc as w,ec as l,fc as P,gc as C,gd as h,jd as I,kb as T,qb as x,va as s,vb as _,wa as m,zc as u}from"./chunk-DJOHANFC.js";function k(e,p){if(e&1){let t=D();a(0,"span",6),f("click",function(){s(t);let r=c();return m(r.onFetchTotalData())}),a(1,"i",7),l(2,"?"),o()()}}function y(e,p){if(e&1&&(a(0,"span"),l(1),u(2,"number"),o()),e&2){let t=c();n(),P(g(2,1,t.totalData))}}function N(e,p){if(e&1){let t=D();a(0,"div",5)(1,"a",8),f("click",function(){s(t);let r=c();return m(r.onNextPage())}),b(2,"i",9),l(3," Next"),o(),a(4,"a",10),f("click",function(){s(t);let r=c();return m(r.onConcatAllData())}),b(5,"i",11),l(6," Show All"),o()()}}var E=class e{fetchTotalData=new d;nextPage=new d;concatAllData=new d;nextPageDisabled=!1;pageNumber=1;totalData=0;totalCurrentRow=0;isFetchTotalData=!1;goToLast=!1;onFetchTotalData(){this.fetchTotalData.emit()}onNextPage(){this.nextPage.emit()}onConcatAllData(){this.concatAllData.emit()}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=T({type:e,selectors:[["infinite-pagination"]],inputs:{nextPageDisabled:"nextPageDisabled",pageNumber:"pageNumber",totalData:"totalData",totalCurrentRow:"totalCurrentRow",isFetchTotalData:"isFetchTotalData",goToLast:"goToLast"},outputs:{fetchTotalData:"fetchTotalData",nextPage:"nextPage",concatAllData:"concatAllData"},decls:10,vars:9,consts:[[1,"d-flex","justify-content-between","mt-5"],[1,"me-auto","d-sm-block","collapse","mt-3"],[1,"fw-bold","fst-italic","hidden-xxs"],["style","cursor: pointer",3,"click",4,"ngIf"],[4,"ngIf"],[1,"btn-group"],[2,"cursor","pointer",3,"click"],["matTooltipPosition","above","matTooltip","Retrieve rows count",1,"border","p-3"],["role","button","matTooltipPosition","above","matTooltip","Load next page",1,"btn","btn-outline-secondary","btn-sm","text-primary",3,"click"],[1,"fa-solid","fa-arrow-right"],["role","button","matTooltipPosition","above","matTooltip","Load all products",1,"btn","btn-outline-secondary","btn-sm","text-primary",3,"click"],[1,"fa-solid","fa-share"]],template:function(t,i){t&1&&(a(0,"div",0)(1,"div",1)(2,"div",2),l(3),u(4,"number"),x(5,k,3,0,"span",3)(6,y,3,3,"span",4),l(7),u(8,"number"),o()(),x(9,N,7,0,"div",5),o()),t&2&&(n(3),C(" Showing 1 - ",g(4,5,i.totalCurrentRow)," of "),n(2),_("ngIf",!i.isFetchTotalData),n(),_("ngIf",i.isFetchTotalData),n(),C(" records ~ ",g(8,7,i.pageNumber)," Page "),n(2),v(i.nextPageDisabled&&!i.goToLast?9:-1))},dependencies:[I,w,h],encapsulation:2})};export{E as a};
|
|
1
|
+
import{$a as n,Ac as g,Db as v,Fa as d,Ib as a,Jb as o,Kb as b,Ob as D,Qb as f,Rb as c,Zc as w,ec as l,fc as P,gc as C,gd as h,jd as I,kb as T,qb as x,va as s,vb as _,wa as m,zc as u}from"./chunk-DJOHANFC.js";function k(e,p){if(e&1){let t=D();a(0,"span",6),f("click",function(){s(t);let r=c();return m(r.onFetchTotalData())}),a(1,"i",7),l(2,"?"),o()()}}function y(e,p){if(e&1&&(a(0,"span"),l(1),u(2,"number"),o()),e&2){let t=c();n(),P(g(2,1,t.totalData))}}function N(e,p){if(e&1){let t=D();a(0,"div",5)(1,"a",8),f("click",function(){s(t);let r=c();return m(r.onNextPage())}),b(2,"i",9),l(3," Next"),o(),a(4,"a",10),f("click",function(){s(t);let r=c();return m(r.onConcatAllData())}),b(5,"i",11),l(6," Show All"),o()()}}var E=class e{fetchTotalData=new d;nextPage=new d;concatAllData=new d;nextPageDisabled=!1;pageNumber=1;totalData=0;totalCurrentRow=0;isFetchTotalData=!1;goToLast=!1;onFetchTotalData(){this.fetchTotalData.emit()}onNextPage(){this.nextPage.emit()}onConcatAllData(){this.concatAllData.emit()}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=T({type:e,selectors:[["infinite-pagination"]],inputs:{nextPageDisabled:"nextPageDisabled",pageNumber:"pageNumber",totalData:"totalData",totalCurrentRow:"totalCurrentRow",isFetchTotalData:"isFetchTotalData",goToLast:"goToLast"},outputs:{fetchTotalData:"fetchTotalData",nextPage:"nextPage",concatAllData:"concatAllData"},decls:10,vars:9,consts:[[1,"d-flex","justify-content-between","mt-5"],[1,"me-auto","d-sm-block","collapse","mt-3"],[1,"fw-bold","fst-italic","hidden-xxs"],["style","cursor: pointer",3,"click",4,"ngIf"],[4,"ngIf"],[1,"btn-group"],[2,"cursor","pointer",3,"click"],["matTooltipPosition","above","matTooltip","Retrieve rows count",1,"border","p-3"],["role","button","matTooltipPosition","above","matTooltip","Load next page",1,"btn","btn-outline-secondary","btn-sm","text-primary",3,"click"],[1,"fa-solid","fa-arrow-right"],["role","button","matTooltipPosition","above","matTooltip","Load all products",1,"btn","btn-outline-secondary","btn-sm","text-primary",3,"click"],[1,"fa-solid","fa-share"]],template:function(t,i){t&1&&(a(0,"div",0)(1,"div",1)(2,"div",2),l(3),u(4,"number"),x(5,k,3,0,"span",3)(6,y,3,3,"span",4),l(7),u(8,"number"),o()(),x(9,N,7,0,"div",5),o()),t&2&&(n(3),C(" Showing 1 - ",g(4,5,i.totalCurrentRow)," of "),n(2),_("ngIf",!i.isFetchTotalData),n(),_("ngIf",i.isFetchTotalData),n(),C(" records ~ ",g(8,7,i.pageNumber)," Page "),n(2),v(!i.nextPageDisabled&&!i.goToLast?9:-1))},dependencies:[I,w,h],encapsulation:2})};export{E as a};
|