dealpos 25.41.3 → 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.
Files changed (135) hide show
  1. package/browser/{chunk-MWQQC4XE.js → chunk-24QKQISF.js} +1 -1
  2. package/browser/{chunk-BWWKUWPU.js → chunk-2BNZCUNP.js} +1 -1
  3. package/browser/{chunk-XU5SOTZS.js → chunk-2EXFDYJN.js} +1 -1
  4. package/browser/{chunk-ZEYY4NI2.js → chunk-2J7JBH5Q.js} +1 -1
  5. package/browser/{chunk-G6ZQA47T.js → chunk-2MVRUWW3.js} +1 -1
  6. package/browser/{chunk-5FMYOBKP.js → chunk-2QXPXRI6.js} +1 -1
  7. package/browser/{chunk-ILF7FISN.js → chunk-2U6W2RNU.js} +1 -1
  8. package/browser/{chunk-3HGQ6VA3.js → chunk-2XAVDG2R.js} +1 -1
  9. package/browser/{chunk-3C6ELYCG.js → chunk-36CZUBXB.js} +1 -1
  10. package/browser/{chunk-CEWIZH2D.js → chunk-3D3ELK7I.js} +1 -1
  11. package/browser/{chunk-XUVY2IO6.js → chunk-3FE73ETM.js} +1 -1
  12. package/browser/{chunk-MSKOV2RA.js → chunk-3ITPIAO7.js} +1 -1
  13. package/browser/{chunk-HV6ZFQAQ.js → chunk-3UUHT4HG.js} +1 -1
  14. package/browser/{chunk-HUMRIGHZ.js → chunk-46WFGTJC.js} +1 -1
  15. package/browser/{chunk-GPCFKZB6.js → chunk-4XFE7DMP.js} +2 -2
  16. package/browser/{chunk-ZEDVQYXH.js → chunk-4XFOSHBI.js} +1 -1
  17. package/browser/{chunk-N5QWMN2M.js → chunk-5POWTQ67.js} +1 -1
  18. package/browser/{chunk-L2PLXSAS.js → chunk-5YBGDA3S.js} +1 -1
  19. package/browser/{chunk-X44SOZNW.js → chunk-62VDXLDP.js} +1 -1
  20. package/browser/{chunk-5BY3OQNX.js → chunk-66BLMMOK.js} +1 -1
  21. package/browser/{chunk-KZTKYVZF.js → chunk-6JJK75CC.js} +1 -1
  22. package/browser/{chunk-VV7L7X33.js → chunk-74QSXJ42.js} +1 -1
  23. package/browser/{chunk-PZRVUFEQ.js → chunk-757ORJKN.js} +2 -2
  24. package/browser/{chunk-45BASVRZ.js → chunk-7G4UPOQP.js} +1 -1
  25. package/browser/{chunk-BAORXMVG.js → chunk-A5XBD65B.js} +1 -1
  26. package/browser/{chunk-EUZWX7OP.js → chunk-A6ZPTR67.js} +1 -1
  27. package/browser/{chunk-EV7CDK2S.js → chunk-AC24RKU6.js} +1 -1
  28. package/browser/{chunk-J3C5CJEH.js → chunk-AJHV3SOU.js} +1 -1
  29. package/browser/{chunk-SFCQJQF3.js → chunk-ATAC2AND.js} +1 -1
  30. package/browser/{chunk-SMW5YQZJ.js → chunk-BH4ZE4CF.js} +1 -1
  31. package/browser/{chunk-BAXQFKT2.js → chunk-BYEI3PJ6.js} +1 -1
  32. package/browser/{chunk-DNLMIUJF.js → chunk-C3WNOC5F.js} +1 -1
  33. package/browser/{chunk-ET53BRO2.js → chunk-CIR6MTD4.js} +1 -1
  34. package/browser/{chunk-NKHFNNJE.js → chunk-CKRE4XBG.js} +2 -2
  35. package/browser/{chunk-NHP3HQCR.js → chunk-D32G7TJK.js} +1 -1
  36. package/browser/{chunk-B73NC3X2.js → chunk-DAMKEWK6.js} +1 -1
  37. package/browser/{chunk-EPBMDUPY.js → chunk-DF2W7YLH.js} +1 -1
  38. package/browser/{chunk-4DT4J5SA.js → chunk-DMK6CUHM.js} +1 -1
  39. package/browser/{chunk-7USMFPWJ.js → chunk-DVOCY3CZ.js} +1 -1
  40. package/browser/{chunk-4E2C3JC6.js → chunk-E3SP7B7S.js} +1 -1
  41. package/browser/{chunk-2E4PNSTT.js → chunk-EDZXH4US.js} +1 -1
  42. package/browser/{chunk-DINWVJP7.js → chunk-EGOF4SFE.js} +1 -1
  43. package/browser/{chunk-MACI2QKN.js → chunk-EGRPFCSJ.js} +2 -2
  44. package/browser/{chunk-AMNMXSBW.js → chunk-EKOCQO55.js} +1 -1
  45. package/browser/{chunk-YQEL63SF.js → chunk-ESHN7M3P.js} +1 -1
  46. package/browser/{chunk-ZUQOVN3G.js → chunk-FKYQUS5M.js} +1 -1
  47. package/browser/{chunk-Q6WPU7FA.js → chunk-GBAAG52Z.js} +1 -1
  48. package/browser/{chunk-UESUOHI6.js → chunk-GLQBFUNO.js} +1 -1
  49. package/browser/{chunk-FUQBPPS7.js → chunk-GVGUEGZI.js} +1 -1
  50. package/browser/{chunk-HKHEVZ4F.js → chunk-HS3NKKBN.js} +1 -1
  51. package/browser/chunk-I3O4QZ4X.js +1 -0
  52. package/browser/{chunk-M3WKPJ2B.js → chunk-I4I6FJDX.js} +1 -1
  53. package/browser/{chunk-LCACDZMC.js → chunk-INWN4VE6.js} +1 -1
  54. package/browser/{chunk-T4K6XLBG.js → chunk-JJ4V6TS4.js} +1 -1
  55. package/browser/{chunk-24OZA3GF.js → chunk-K4P3FNHD.js} +1 -1
  56. package/browser/{chunk-V7USIKBO.js → chunk-K5AWJ3PF.js} +1 -1
  57. package/browser/{chunk-JVR63RQB.js → chunk-K6YXV6DF.js} +1 -1
  58. package/browser/{chunk-6ZRIMZHA.js → chunk-KEUOT5UT.js} +1 -1
  59. package/browser/{chunk-UCIQAWIS.js → chunk-KHIJN7MP.js} +14 -14
  60. package/browser/{chunk-SWF5BE5P.js → chunk-KMO6SBV2.js} +1 -1
  61. package/browser/{chunk-6YPVUOD7.js → chunk-KST6UNFB.js} +1 -1
  62. package/browser/{chunk-NPTTEU4B.js → chunk-LE5ZGH7A.js} +1 -1
  63. package/browser/{chunk-5DDIIEIO.js → chunk-LFRP6C5Y.js} +1 -1
  64. package/browser/{chunk-ABSSU2NG.js → chunk-LIVWB266.js} +1 -1
  65. package/browser/{chunk-PJHIUSNN.js → chunk-LJW6HW5T.js} +1 -1
  66. package/browser/{chunk-7KSMBMSW.js → chunk-LX2RVE4Q.js} +1 -1
  67. package/browser/{chunk-O3EERFQN.js → chunk-MEMBBEAI.js} +1 -1
  68. package/browser/{chunk-OGM24Q2D.js → chunk-MPJPWARV.js} +1 -1
  69. package/browser/{chunk-IVUIJMPR.js → chunk-NOEPKA4W.js} +1 -1
  70. package/browser/{chunk-6CJCT6YT.js → chunk-NRDJEOWR.js} +1 -1
  71. package/browser/{chunk-C5J6BILV.js → chunk-NTIVPZGS.js} +2 -2
  72. package/browser/{chunk-LDYXX7R3.js → chunk-NVGKWF2G.js} +1 -1
  73. package/browser/{chunk-5YEXNQCT.js → chunk-NXN7NE47.js} +1 -1
  74. package/browser/{chunk-UZFW2WNI.js → chunk-O5RZTQKV.js} +1 -1
  75. package/browser/{chunk-Z7LRKY4R.js → chunk-OGI634A2.js} +1 -1
  76. package/browser/{chunk-YHDEAPG3.js → chunk-OINGZOF4.js} +1 -1
  77. package/browser/{chunk-WRHYTFLY.js → chunk-OK4CL2M4.js} +1 -1
  78. package/browser/{chunk-R5IO2SN4.js → chunk-P6TNAQ2F.js} +1 -1
  79. package/browser/{chunk-3VQLYVVB.js → chunk-PRGXQYOR.js} +1 -1
  80. package/browser/{chunk-2DQBDX5E.js → chunk-QKCOYSSN.js} +1 -1
  81. package/browser/{chunk-2F5STFEV.js → chunk-QTXCHVAR.js} +1 -1
  82. package/browser/{chunk-Y3CUYCSX.js → chunk-RB6SQ4EV.js} +1 -1
  83. package/browser/{chunk-MVI65ECT.js → chunk-RNILXGHZ.js} +1 -1
  84. package/browser/{chunk-GAZ6XT73.js → chunk-RTIMT7MB.js} +1 -1
  85. package/browser/{chunk-CSAGSFL3.js → chunk-S32IOJJR.js} +1 -1
  86. package/browser/{chunk-4VQWWUZQ.js → chunk-SETNDGZG.js} +1 -1
  87. package/browser/{chunk-W2NHEKCW.js → chunk-SGIO47PC.js} +1 -1
  88. package/browser/{chunk-3XIXVYS4.js → chunk-SW2DBPIJ.js} +1 -1
  89. package/browser/{chunk-5TV4QYNO.js → chunk-T6L7V6VB.js} +1 -1
  90. package/browser/{chunk-YYR3XEAQ.js → chunk-T7EVNQJZ.js} +1 -1
  91. package/browser/{chunk-BJQ54S6Z.js → chunk-T7JKTLRY.js} +2 -2
  92. package/browser/{chunk-EPYFG6SH.js → chunk-T7UL42MO.js} +1 -1
  93. package/browser/{chunk-JJK4XCMN.js → chunk-TBQRBWDN.js} +1 -1
  94. package/browser/{chunk-DOTR5PYR.js → chunk-TDFRMUQQ.js} +1 -1
  95. package/browser/{chunk-WIB47ZGF.js → chunk-TDG64PZU.js} +1 -1
  96. package/browser/{chunk-S4FLFLTR.js → chunk-TU4DJ5OY.js} +1 -1
  97. package/browser/{chunk-ZKO7GVNO.js → chunk-TXL4UCFA.js} +1 -1
  98. package/browser/{chunk-GA554R72.js → chunk-U4QA2337.js} +1 -1
  99. package/browser/{chunk-BYDCQMR7.js → chunk-UEKHGOJL.js} +1 -1
  100. package/browser/{chunk-BT6BH634.js → chunk-ULF57NM6.js} +1 -1
  101. package/browser/{chunk-RDWRQIJV.js → chunk-UMLR3NXV.js} +1 -1
  102. package/browser/{chunk-KLNPXOJ5.js → chunk-UNFJ7644.js} +1 -1
  103. package/browser/{chunk-3XMWVJ2L.js → chunk-V5O3E5XQ.js} +1 -1
  104. package/browser/{chunk-WA5AGHFF.js → chunk-V7RYZJVN.js} +1 -1
  105. package/browser/{chunk-7KXMZBQB.js → chunk-V7XF5OHI.js} +1 -1
  106. package/browser/{chunk-4CRQAT4Y.js → chunk-VF6HKAFR.js} +1 -1
  107. package/browser/chunk-VKT5PPFS.js +1 -0
  108. package/browser/{chunk-6ZEEVCRE.js → chunk-W6BB4ADK.js} +1 -1
  109. package/browser/{chunk-AD5C5J25.js → chunk-WIRVWYB3.js} +1 -1
  110. package/browser/{chunk-6WKUSM4P.js → chunk-WS5EBPC2.js} +1 -1
  111. package/browser/{chunk-LOMNHHBV.js → chunk-WUBF7SHA.js} +1 -1
  112. package/browser/{chunk-JSMI5ZR4.js → chunk-WVFDCBPZ.js} +2 -2
  113. package/browser/{chunk-EHW56RWW.js → chunk-XAZ4U5H6.js} +2 -2
  114. package/browser/{chunk-PVWFJKSW.js → chunk-XR7Q6MPP.js} +2 -2
  115. package/browser/{chunk-YMA57E2M.js → chunk-Y2V6RDWT.js} +2 -2
  116. package/browser/{chunk-6LQ6DVZN.js → chunk-Y726HBE5.js} +1 -1
  117. package/browser/{chunk-Z2U7HIL5.js → chunk-YG2JH54R.js} +1 -1
  118. package/browser/{chunk-GYJUMROD.js → chunk-YK6QAFHR.js} +1 -1
  119. package/browser/{chunk-QTEEAYLA.js → chunk-YUZ32SM6.js} +1 -1
  120. package/browser/chunk-YWZWCZZB.js +1 -0
  121. package/browser/{chunk-VFFCV3EX.js → chunk-YXVAJ7AI.js} +1 -1
  122. package/browser/{chunk-SN3DTCGO.js → chunk-YYZIKSOW.js} +1 -1
  123. package/browser/{chunk-3CCLSY4U.js → chunk-Z3VGSV3R.js} +1 -1
  124. package/browser/{chunk-XXCIMR5I.js → chunk-Z3VZQOTA.js} +1 -1
  125. package/browser/{chunk-YAO3JFMU.js → chunk-ZEWGIKVI.js} +1 -1
  126. package/browser/chunk-ZFQRWOU2.js +1 -0
  127. package/browser/{chunk-WEAIMPRM.js → chunk-ZJDIZNTX.js} +1 -1
  128. package/browser/{chunk-4SOJX57D.js → chunk-ZJMIEPWF.js} +1 -1
  129. package/browser/index.html +2 -2
  130. package/browser/{main-JSZQET37.js → main-YLCIT32A.js} +2 -2
  131. package/package.json +1 -1
  132. package/browser/chunk-6MYRWSZC.js +0 -1
  133. package/browser/chunk-ITQTUFNF.js +0 -1
  134. package/browser/chunk-JQ5JMDRA.js +0 -1
  135. package/browser/chunk-Q3AG7LWW.js +0 -1
@@ -1 +1 @@
1
- import{a as X,b as Z}from"./chunk-N5QWMN2M.js";import{d as Q,e as W}from"./chunk-SFCQJQF3.js";import"./chunk-WRHYTFLY.js";import{a as z,b as J}from"./chunk-6LQ6DVZN.js";import"./chunk-OI2RWAOV.js";import"./chunk-7LXPGNYF.js";import"./chunk-45BASVRZ.js";import"./chunk-XOQ4SW2R.js";import{O as K}from"./chunk-4SOJX57D.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-YHDEAPG3.js";import"./chunk-M3WKPJ2B.js";import{d as Y}from"./chunk-TYBAV5LT.js";import"./chunk-2DQBDX5E.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
+ 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-45BASVRZ.js";import{O as ce}from"./chunk-4SOJX57D.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
+ 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-6LQ6DVZN.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
+ 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};