dealpos 25.46.1 → 25.47.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.
Files changed (114) hide show
  1. package/browser/{chunk-UF4JB7JY.js → chunk-2JZS4BMV.js} +1 -1
  2. package/browser/{chunk-NORSMLUM.js → chunk-2LSFBE4Q.js} +1 -1
  3. package/browser/chunk-3GPGJFQV.js +1 -0
  4. package/browser/{chunk-DMQGQTA7.js → chunk-3HS4V7LK.js} +1 -1
  5. package/browser/{chunk-TXTD756I.js → chunk-474F5EIO.js} +1 -1
  6. package/browser/chunk-4ZXLS56M.js +4 -0
  7. package/browser/{chunk-ZOP4QRJ5.js → chunk-5OKSTEWQ.js} +1 -1
  8. package/browser/{chunk-JO2HRK4G.js → chunk-5PUIMWNW.js} +1 -1
  9. package/browser/{chunk-ZNSETEMV.js → chunk-647PQZMJ.js} +1 -1
  10. package/browser/chunk-66MCBKC7.js +1 -0
  11. package/browser/{chunk-XNJI57TR.js → chunk-6SC4T77S.js} +1 -1
  12. package/browser/{chunk-SUIJKKNU.js → chunk-6TGKH2KC.js} +1 -1
  13. package/browser/{chunk-TCCZCKU3.js → chunk-7P3E5NJO.js} +1 -1
  14. package/browser/chunk-AIM6VG2H.js +1 -0
  15. package/browser/{chunk-PCBQ5MJX.js → chunk-BALKIB67.js} +1 -1
  16. package/browser/chunk-BATVMTNZ.js +1 -0
  17. package/browser/{chunk-U35DBD6P.js → chunk-BCD363QF.js} +1 -1
  18. package/browser/{chunk-L75QJKLP.js → chunk-C5S5BG57.js} +1 -1
  19. package/browser/{chunk-Q45XVCPE.js → chunk-CAGQRIPG.js} +1 -1
  20. package/browser/{chunk-MJMWJ6KM.js → chunk-CX7CJIXK.js} +3 -3
  21. package/browser/{chunk-HZQHCXRX.js → chunk-D6Y2NJT7.js} +1 -1
  22. package/browser/{chunk-2YRHUGAG.js → chunk-DGF2U27C.js} +2 -2
  23. package/browser/chunk-DLNZDHGS.js +1 -0
  24. package/browser/{chunk-LKMXVSXC.js → chunk-DM4PGQEH.js} +8 -8
  25. package/browser/{chunk-5UZJWGXF.js → chunk-DSQH2UQV.js} +2 -2
  26. package/browser/chunk-E3LGKC33.js +1 -0
  27. package/browser/{chunk-5NDXC2Q2.js → chunk-EAFSL5ZF.js} +1 -1
  28. package/browser/{chunk-GEGFHXYS.js → chunk-EKORPCX3.js} +1 -1
  29. package/browser/{chunk-MRLNJIME.js → chunk-EZ5EW4QK.js} +1 -1
  30. package/browser/{chunk-IMSP4CUG.js → chunk-FIMFYHCK.js} +1 -1
  31. package/browser/chunk-FQSAJFS6.js +1 -0
  32. package/browser/{chunk-HUQCWL5X.js → chunk-FR66DARJ.js} +1 -1
  33. package/browser/{chunk-7JXTBPO6.js → chunk-GK4I3EKQ.js} +1 -1
  34. package/browser/{chunk-34YS4QAG.js → chunk-GNODCFOP.js} +1 -1
  35. package/browser/{chunk-U5KSGGL5.js → chunk-H4DUHWPT.js} +1 -1
  36. package/browser/{chunk-CB4INKRH.js → chunk-HLML4BKF.js} +1 -1
  37. package/browser/{chunk-3KHAUY4Q.js → chunk-HTJJDQ3V.js} +1 -1
  38. package/browser/{chunk-6SFTCH6L.js → chunk-HU3YNBXW.js} +15 -15
  39. package/browser/{chunk-JBA2HEME.js → chunk-HV4KV3DJ.js} +1 -1
  40. package/browser/{chunk-YII66PEK.js → chunk-I2P6B3IK.js} +1 -1
  41. package/browser/{chunk-QCWVOQ4U.js → chunk-IQDT5K5I.js} +1 -1
  42. package/browser/{chunk-NCBSJKWK.js → chunk-IR2QPNXA.js} +2 -2
  43. package/browser/{chunk-T6SKNBS4.js → chunk-IT6GHGT4.js} +1 -1
  44. package/browser/chunk-IUDUQNN7.js +24 -0
  45. package/browser/{chunk-H6OK7AN4.js → chunk-JEFUIFY4.js} +1 -1
  46. package/browser/chunk-JKMJAL6Y.js +3 -0
  47. package/browser/chunk-JVEVLEGH.js +2 -0
  48. package/browser/{chunk-X4NTI6VE.js → chunk-JWH2AZ3Z.js} +1 -1
  49. package/browser/{chunk-4UXONUIZ.js → chunk-KBISFX5T.js} +1 -1
  50. package/browser/{chunk-K4BVYUUE.js → chunk-KUYGPZRD.js} +1 -1
  51. package/browser/{chunk-5KZDUBOJ.js → chunk-L32BGRA6.js} +1 -1
  52. package/browser/{chunk-AKU4AVU5.js → chunk-LWA7CCEY.js} +4 -4
  53. package/browser/{chunk-IR7BRACV.js → chunk-M5KE2CW7.js} +1 -1
  54. package/browser/{chunk-QQS5ITUF.js → chunk-MA6NB2EZ.js} +1 -1
  55. package/browser/chunk-ME5KGPYC.js +1 -0
  56. package/browser/chunk-MHVF2KXK.js +1 -0
  57. package/browser/{chunk-YGE2LJY6.js → chunk-MSW23AJV.js} +1 -1
  58. package/browser/{chunk-6CFANTH2.js → chunk-NN2EFVJK.js} +1 -1
  59. package/browser/chunk-O5IZN23R.js +14 -0
  60. package/browser/{chunk-EWDEAX6M.js → chunk-OFTORAX4.js} +1 -1
  61. package/browser/chunk-ON47ICI3.js +1 -0
  62. package/browser/{chunk-PTLVRO2T.js → chunk-ORQ3JDJE.js} +1 -1
  63. package/browser/{chunk-F464PNNI.js → chunk-P53EATPC.js} +1 -1
  64. package/browser/{chunk-FHI2YRID.js → chunk-P632SS2L.js} +1 -1
  65. package/browser/{chunk-B4CTAXRS.js → chunk-P7UMAIIW.js} +1 -1
  66. package/browser/{chunk-FV5QAPSD.js → chunk-Q473GHR5.js} +1 -1
  67. package/browser/{chunk-QIHNG7HJ.js → chunk-QIFQFG3V.js} +1 -1
  68. package/browser/{chunk-FDKCQIES.js → chunk-QQ4DCXLE.js} +1 -1
  69. package/browser/{chunk-4PALKQ75.js → chunk-QRTOTG7S.js} +1 -1
  70. package/browser/{chunk-T475ZPAG.js → chunk-QVJJGWXC.js} +16 -16
  71. package/browser/{chunk-25YHVZV6.js → chunk-ROLAW5XO.js} +1 -1
  72. package/browser/chunk-RONQFUCZ.js +1 -0
  73. package/browser/{chunk-F7J5TUAB.js → chunk-RSN23KAR.js} +2 -2
  74. package/browser/{chunk-SCBXIGUC.js → chunk-RYTM3LHN.js} +1 -1
  75. package/browser/chunk-SGSO4UVM.js +1 -0
  76. package/browser/{chunk-IDKR4Z5E.js → chunk-SKE3MW2D.js} +1 -1
  77. package/browser/chunk-T5FBPKPS.js +1 -0
  78. package/browser/{chunk-GJZAWVWD.js → chunk-TH7SO4LD.js} +1 -1
  79. package/browser/{chunk-R4H3DENZ.js → chunk-UBCB4G4S.js} +1 -1
  80. package/browser/{chunk-EOQ6TLK6.js → chunk-UBXEYFKJ.js} +1 -1
  81. package/browser/{chunk-HC2WTBU3.js → chunk-W3EZ4JHD.js} +2 -2
  82. package/browser/{chunk-JGVE3GME.js → chunk-WA4WWHYW.js} +1 -1
  83. package/browser/{chunk-DX24F37F.js → chunk-WBO7PC7R.js} +1 -1
  84. package/browser/{chunk-RNEHGC5X.js → chunk-WDD7INF4.js} +1 -1
  85. package/browser/chunk-WY6RTBDA.js +3 -0
  86. package/browser/{chunk-Q3MH2WHW.js → chunk-XE46ZDV6.js} +1 -1
  87. package/browser/{chunk-2BOU7MZT.js → chunk-YG6ODXQF.js} +1 -1
  88. package/browser/chunk-YMLCHH2G.js +1 -0
  89. package/browser/chunk-YV6MAUKK.js +1 -0
  90. package/browser/{chunk-V77HSR6D.js → chunk-ZSW24KNO.js} +1 -1
  91. package/browser/index.html +2 -2
  92. package/browser/main-VVZRGXWB.js +3 -0
  93. package/package.json +1 -1
  94. package/browser/chunk-2WXO2CVP.js +0 -1
  95. package/browser/chunk-3EJP6UEJ.js +0 -3
  96. package/browser/chunk-56HGOK5G.js +0 -3
  97. package/browser/chunk-7GUNPVLF.js +0 -1
  98. package/browser/chunk-BNFYSCGM.js +0 -1
  99. package/browser/chunk-FR3YFIOJ.js +0 -1
  100. package/browser/chunk-GVPC56QQ.js +0 -4
  101. package/browser/chunk-J4TPORWI.js +0 -1
  102. package/browser/chunk-K6ZANPDY.js +0 -1
  103. package/browser/chunk-LDALTRKQ.js +0 -2
  104. package/browser/chunk-LKBRVKIZ.js +0 -14
  105. package/browser/chunk-LR6FISWP.js +0 -1
  106. package/browser/chunk-NA5O2ACR.js +0 -24
  107. package/browser/chunk-PGCDKIOX.js +0 -1
  108. package/browser/chunk-QBUTQU3U.js +0 -1
  109. package/browser/chunk-TCKWGMV7.js +0 -1
  110. package/browser/chunk-VV564BYL.js +0 -1
  111. package/browser/chunk-VVRBBTBO.js +0 -1
  112. package/browser/chunk-XVDRWDA2.js +0 -1
  113. package/browser/chunk-YFKW562E.js +0 -1
  114. package/browser/main-VEM3F6IE.js +0 -3
@@ -1 +1 @@
1
- import{a as ce,b as de,c as _e,d as se,e as ge,f as ue}from"./chunk-FHI2YRID.js";import"./chunk-KHR4NBM3.js";import"./chunk-GJZAWVWD.js";import"./chunk-H7XFYY6V.js";import"./chunk-XACC6EMJ.js";import{a as te}from"./chunk-HL3ONSX6.js";import{a as ee}from"./chunk-XA4TVPAS.js";import"./chunk-Q2A4MYK3.js";import{e as me}from"./chunk-SO4GMA3Y.js";import"./chunk-PECGNYTX.js";import"./chunk-3RK6DDJD.js";import"./chunk-SARJJ3AZ.js";import"./chunk-DC426G2P.js";import"./chunk-3KSZCJ6T.js";import"./chunk-BYO7FJ4O.js";import"./chunk-CBSYYTXQ.js";import{d as re,e as le}from"./chunk-6WEGHV7F.js";import"./chunk-G4IW5GPY.js";import{c as pe}from"./chunk-IDKR4Z5E.js";import{b as $}from"./chunk-KD7WBOUR.js";import{a as Y}from"./chunk-7JXTBPO6.js";import"./chunk-JO2HRK4G.js";import"./chunk-QFON23YX.js";import"./chunk-FIUZN6JU.js";import{a as ie}from"./chunk-4QM23MMO.js";import{e as oe,f as ae}from"./chunk-PCBQ5MJX.js";import"./chunk-JBA2HEME.js";import"./chunk-JEL3OND6.js";import"./chunk-IDQUQBKL.js";import"./chunk-YRGHPSPV.js";import"./chunk-VYQEM4T2.js";import"./chunk-UTAQ3FRE.js";import"./chunk-M43HNBJQ.js";import"./chunk-KKLNFVVN.js";import"./chunk-X57HWGVJ.js";import"./chunk-5SFUSWFY.js";import"./chunk-534MIVWD.js";import"./chunk-TGEQUV6Z.js";import"./chunk-ZOP4QRJ5.js";import{b as ne}from"./chunk-4PALKQ75.js";import"./chunk-CS6HBROS.js";import"./chunk-JUS6LLVX.js";import"./chunk-QZMZBCE7.js";import{b as U,c as X}from"./chunk-C4WJKF7R.js";import"./chunk-NZYZO47Z.js";import"./chunk-7TBS7SPQ.js";import"./chunk-RLQLFW36.js";import"./chunk-EQLHPWVB.js";import{g as Z}from"./chunk-A45GTZVV.js";import"./chunk-NWSIPELM.js";import"./chunk-6SGN7MNX.js";import"./chunk-L76WVZW6.js";import"./chunk-2FWFPV5I.js";import{oa as K}from"./chunk-O5SLP4JK.js";import{F as G,c as k,h as Q,o as j,q}from"./chunk-RNLSEEMX.js";import"./chunk-U5KSGGL5.js";import"./chunk-25YHVZV6.js";import{d as J}from"./chunk-USJ6ILEE.js";import"./chunk-GVPC56QQ.js";import{$d as N,Bc as _,Cb as p,Cc as s,Db as o,Dc as D,Eb as i,Ed as W,Fb as f,Hc as O,Mb as I,Ob as h,Qb as m,Xa as a,Zd as A,db as C,dc as l,ec as M,ee as z,fc as g,fd as L,hb as B,ic as v,jc as S,kc as b,lb as F,nb as x,oc as V,od as R,rd as H,ta as u,tc as T,ua as y,uc as w,vb as P,xb as E}from"./chunk-JYZTRN6N.js";import"./chunk-WFMAM73Y.js";import"./chunk-SNAKHGZS.js";var Ce=()=>({"min-width":"50rem","font-family":"Roboto, sans-serif"}),xe=()=>["/menu/Products/Catalog/Products"],ye=t=>({CategoryID:t}),ve=()=>["/menu/Inventory/Quantity/Valuation"];function Se(t,c){if(t&1){let e=I();o(0,"button",10),h("click",function(){u(e);let n=m(2);return y(n.openExportModal())}),f(1,"i",11),l(2," Export "),i()}}function be(t,c){if(t&1){let e=I();o(0,"div",12)(1,"h6"),l(2,"Outlet"),i(),o(3,"outlet-selector",13),b("ngModelChange",function(n){u(e);let d=m(2);return S(d.pageData.Filter.ListIDs,n)||(d.pageData.Filter.ListIDs=n),y(n)}),i(),o(4,"h6"),l(5,"Quantity From - To"),i(),o(6,"div",14)(7,"input",15),b("ngModelChange",function(n){u(e);let d=m(2);return S(d.pageData.Filter.QuantityFrom,n)||(d.pageData.Filter.QuantityFrom=n),y(n)}),i(),o(8,"span",16),l(9,"-"),i(),o(10,"input",17),b("ngModelChange",function(n){u(e);let d=m(2);return S(d.pageData.Filter.QuantityTo,n)||(d.pageData.Filter.QuantityTo=n),y(n)}),i()(),o(11,"h6"),l(12,"Discontinued"),i(),o(13,"radio-options",18),b("modelChange",function(n){u(e);let d=m(2);return S(d.pageData.Filter.Discontinued,n)||(d.pageData.Filter.Discontinued=n),y(n)}),i()()}if(t&2){let e=m(2);a(3),p("multiple",!0)("accessType",2),v("ngModel",e.pageData.Filter.ListIDs),a(4),v("ngModel",e.pageData.Filter.QuantityFrom),a(3),v("ngModel",e.pageData.Filter.QuantityTo),a(3),v("model",e.pageData.Filter.Discontinued),p("options",e.pageData.Options.Discontinued)}}function Ie(t,c){t&1&&(o(0,"th",27),l(1," Cost "),f(2,"p-treeTableSortIcon",28),i())}function Te(t,c){t&1&&(o(0,"th",29),l(1," Price "),f(2,"p-treeTableSortIcon",30),i())}function De(t,c){t&1&&(o(0,"th",31),l(1," % "),f(2,"p-treeTableSortIcon",32),i())}function he(t,c){if(t&1&&(o(0,"tr",19)(1,"th",20),l(2," Category "),f(3,"p-treeTableSortIcon",21),i(),o(4,"th",22),l(5," On Hand "),f(6,"p-treeTableSortIcon",23),i(),x(7,Ie,3,0,"th",24)(8,Te,3,0,"th",25)(9,De,3,0,"th",26),i()),t&2){let e=m(2);a(7),p("ngIf",e.roleService.product.Cost),a(),p("ngIf",e.roleService.product.Price),a(),p("ngIf",e.roleService.product.Cost&&e.roleService.product.Price)}}function we(t,c){if(t&1&&(o(0,"td"),l(1),_(2,"amountFraction"),i()),t&2){let e=m().rowData;a(),g(" ",s(2,1,e.DisplayedCost)," ")}}function Be(t,c){if(t&1&&(o(0,"td"),l(1),_(2,"amountFraction"),i()),t&2){let e=m().rowData;a(),g(" ",s(2,1,e.DisplayedPrice)," ")}}function Fe(t,c){if(t&1&&(o(0,"td")(1,"span",38),_(2,"number"),l(3),_(4,"number"),i()()),t&2){let e=m().rowData;a(),p("matTooltip",D(2,2,e.DisplayedPercentage,"1.0-5")+"%"),a(2),g(" ",D(4,5,e.DisplayedPercentage,"1.0-0"),"% ")}}function Pe(t,c){if(t&1&&(o(0,"tr",33)(1,"td"),f(2,"p-treeTableToggler",34),o(3,"a",35),l(4),i()(),o(5,"td")(6,"a",36),_(7,"number"),_(8,"number"),_(9,"number"),l(10),_(11,"quantityFraction"),i()(),x(12,we,3,3,"td",37)(13,Be,3,3,"td",37)(14,Fe,5,8,"td",37),i()),t&2){let e=c.$implicit,r=c.rowData,n=m(2);p("ttRow",e),a(2),p("rowNode",e),a(),p("routerLink",T(21,xe))("queryParams",w(22,ye,r.ID)),a(),M(r.Name),a(2),p("matTooltip",V(r.OnHandIndirect&&r.OnHand?"Direct ("+s(7,13,r.OnHand)+") Indirect ("+s(8,15,r.OnHandIndirect)+")":r.OnHandIndirect?"Indirect ("+s(9,17,r.OnHandIndirect)+")":""))("routerLink",T(24,ve))("queryParams",w(25,ye,r.ID)),a(4),g("",s(11,19,r.DisplayedOnHand)," "),a(2),p("ngIf",n.roleService.product.Cost),a(),p("ngIf",n.roleService.product.Price),a(),p("ngIf",n.roleService.product.Cost&&n.roleService.product.Price)}}function Ee(t,c){if(t&1&&(o(0,"td",40),l(1),_(2,"amountFraction"),i()),t&2){let e=m(3);a(),g(" ",s(2,1,e.data==null||e.data.Aggregate==null?null:e.data.Aggregate.TotalCost)," ")}}function Me(t,c){if(t&1&&(o(0,"td",40),l(1),_(2,"amountFraction"),i()),t&2){let e=m(3);a(),g(" ",s(2,1,e.data==null||e.data.Aggregate==null?null:e.data.Aggregate.TotalPrice)," ")}}function Ve(t,c){if(t&1&&(o(0,"td",40),l(1),_(2,"number"),i()),t&2){let e=m(3);a(),g(" ",D(2,1,e.data==null||e.data.Aggregate==null?null:e.data.Aggregate.TotalPercentage,"1.0-0"),"% ")}}function Oe(t,c){if(t&1&&(o(0,"tr",39)(1,"td",40),l(2,"Total:"),i(),o(3,"td",40),l(4),_(5,"quantityFraction"),i(),x(6,Ee,3,3,"td",41)(7,Me,3,3,"td",41)(8,Ve,3,4,"td",41),i()),t&2){let e=m(2);a(4),g(" ",s(5,4,e.data==null||e.data.Aggregate==null?null:e.data.Aggregate.TotalOnHand)," "),a(2),p("ngIf",e.roleService.product.Cost),a(),p("ngIf",e.roleService.product.Price),a(),p("ngIf",e.roleService.product.Cost&&e.roleService.product.Price)}}function Le(t,c){if(t&1){let e=I();o(0,"mainpanel-cmp",2),h("onSubmit",function(){u(e);let n=m();return y(n.searchFromPageOne())}),b("filterChange",function(n){u(e);let d=m();return S(d.pageData.Filter,n)||(d.pageData.Filter=n),y(n)}),o(1,"actions"),P(2,Se,3,0,"button",3),i(),o(3,"div",4),x(4,be,14,7,"ng-template",null,0,O),i(),o(6,"content")(7,"div",5)(8,"p-treeTable",6),x(9,he,10,3,"ng-template",7)(10,Pe,15,27,"ng-template",8)(11,Oe,9,6,"ng-template",9),i()()()()}if(t&2){let e=m();p("pageData",e.menuData)("hideSearchBox",!0)("isFilterOnDropdown",!1),v("filter",e.pageData.Filter),a(2),E(e.roleService.global.Export?2:-1),a(6),p("value",e.data.data)("scrollable",!0)("scrollable",!0)("tableStyle",T(9,Ce))}}var fe=class t extends Y{constructor(e,r,n,d,Re,He){super(e,r,"Inventory/GetByCategory","InventoryLoader/GetByCategory");this.httpService=r;this.csvConverter=n;this.pageTitle=d;this.roleService=Re;this.dialog=He}openExportModal(){this.dialog.open($,{data:{title:"Inventory By Category",exportTypes:[{ID:"inventoryexport/GetExportInventoryByCategory",Value:"Default",FileName:"Inventory By Category"}],filterExport:this.pageData.Filter,getAllDataLengthAPI:"",pagination:!1}})}static \u0275fac=function(r){return new(r||t)(C(ne),C(z),C(ie),C(W),C(J),C(Z))};static \u0275cmp=B({type:t,selectors:[["app-inventory-by-category"]],features:[F],decls:1,vars:1,consts:[["pageFilterTemplate",""],[3,"pageData","hideSearchBox","isFilterOnDropdown","filter","onSubmit","filterChange",4,"ngIf"],[3,"onSubmit","filterChange","pageData","hideSearchBox","isFilterOnDropdown","filter"],[1,"btn","btn-outline-secondary","me-3"],["filters",""],[1,"container-fluid","mt-3"],[3,"value","scrollable","tableStyle"],["pTemplate","header"],["pTemplate","body"],["pTemplate","footer"],[1,"btn","btn-outline-secondary","me-3",3,"click"],["aria-hidden","true",1,"fa-solid","fa-upload"],[1,"dialog-filter"],["placeholder","Choose Outlet",1,"ng-select-multiple",3,"ngModelChange","multiple","accessType","ngModel"],[1,"d-flex","align-items-center"],["type","number","placeholder","From",1,"form-control",3,"ngModelChange","ngModel"],[1,"mx-3"],["type","number","placeholder","To",1,"form-control",3,"ngModelChange","ngModel"],[3,"modelChange","model","options"],[1,"custom-header"],["ttSortableColumn","Name",1,"text-uppercase"],["field","Name"],["ttSortableColumn","DisplayedOnHand",1,"text-uppercase"],["field","DisplayedOnHand"],["class","text-uppercase","ttSortableColumn","DisplayedCost",4,"ngIf"],["class","text-uppercase","ttSortableColumn","DisplayedPrice",4,"ngIf"],["class","text-uppercase","ttSortableColumn","DisplayedPercentage",4,"ngIf"],["ttSortableColumn","DisplayedCost",1,"text-uppercase"],["field","DisplayedCost"],["ttSortableColumn","DisplayedPrice",1,"text-uppercase"],["field","DisplayedPrice"],["ttSortableColumn","DisplayedPercentage",1,"text-uppercase"],["field","DisplayedPercentage"],[3,"ttRow"],[3,"rowNode"],["target","_blank",3,"routerLink","queryParams"],["matTooltipPosition","above",3,"routerLink","queryParams","matTooltip"],[4,"ngIf"],["matTooltipPosition","above",3,"matTooltip"],[1,"table-footer"],[1,"text-end"],["class","text-end",4,"ngIf"]],template:function(r,n){r&1&&x(0,Le,12,10,"mainpanel-cmp",1),r&2&&p("ngIf",n.data)},dependencies:[H,L,ae,oe,N,A,ue,ce,K,ge,de,_e,se,pe,me,le,re,G,k,q,Q,j,X,U,R,ee,te],styles:[".p-treetable-scrollable-header-box{padding-right:0!important} .p-treetable .p-treetable-thead>tr>th:not(:first-child){text-align:right!important} .p-treetable .p-treetable-tbody>tr>td:not(:first-child){text-align:right!important} .p-treetable-scrollable-footer-box{padding-right:0!important} .table-header-styles, .p-treetable-tfoot td, .p-treetable-thead th{background:#f6f6f6!important;color:#3b3b3b!important;text-transform:uppercase!important;font-weight:700!important;line-height:25px!important;font-size:12px!important;font-family:Roboto,sans-serif!important} .p-component.p-iconwrapper>svg{height:11px!important} .p-treetable .p-treetable-tbody>tr>td{border-bottom-width:1px;border-color:#dee2e6}"]})};export{fe as InventoryByCategoryComponent};
1
+ import{a as ce,b as de,c as _e,d as se,e as ge,f as ue}from"./chunk-P632SS2L.js";import"./chunk-KHR4NBM3.js";import"./chunk-TH7SO4LD.js";import"./chunk-H7XFYY6V.js";import"./chunk-XACC6EMJ.js";import{a as te}from"./chunk-HL3ONSX6.js";import{a as ee}from"./chunk-XA4TVPAS.js";import"./chunk-Q2A4MYK3.js";import{e as me}from"./chunk-SO4GMA3Y.js";import"./chunk-PECGNYTX.js";import"./chunk-3RK6DDJD.js";import"./chunk-SARJJ3AZ.js";import"./chunk-DC426G2P.js";import"./chunk-3KSZCJ6T.js";import"./chunk-BYO7FJ4O.js";import"./chunk-CBSYYTXQ.js";import{d as re,e as le}from"./chunk-6WEGHV7F.js";import"./chunk-G4IW5GPY.js";import{c as pe}from"./chunk-SKE3MW2D.js";import{b as $}from"./chunk-KD7WBOUR.js";import{a as Y}from"./chunk-GK4I3EKQ.js";import"./chunk-5PUIMWNW.js";import"./chunk-QFON23YX.js";import"./chunk-FIUZN6JU.js";import{a as ie}from"./chunk-4QM23MMO.js";import{e as oe,f as ae}from"./chunk-BALKIB67.js";import"./chunk-HV4KV3DJ.js";import"./chunk-JEL3OND6.js";import"./chunk-IDQUQBKL.js";import"./chunk-YRGHPSPV.js";import"./chunk-VYQEM4T2.js";import"./chunk-UTAQ3FRE.js";import"./chunk-M43HNBJQ.js";import"./chunk-KKLNFVVN.js";import"./chunk-X57HWGVJ.js";import"./chunk-5SFUSWFY.js";import"./chunk-534MIVWD.js";import"./chunk-TGEQUV6Z.js";import"./chunk-5OKSTEWQ.js";import{b as ne}from"./chunk-QRTOTG7S.js";import"./chunk-CS6HBROS.js";import"./chunk-JUS6LLVX.js";import"./chunk-QZMZBCE7.js";import{b as U,c as X}from"./chunk-C4WJKF7R.js";import"./chunk-NZYZO47Z.js";import"./chunk-7TBS7SPQ.js";import"./chunk-RLQLFW36.js";import"./chunk-EQLHPWVB.js";import{g as Z}from"./chunk-A45GTZVV.js";import"./chunk-NWSIPELM.js";import"./chunk-6SGN7MNX.js";import"./chunk-L76WVZW6.js";import"./chunk-2FWFPV5I.js";import{oa as K}from"./chunk-O5SLP4JK.js";import{F as G,c as k,h as Q,o as j,q}from"./chunk-RNLSEEMX.js";import"./chunk-H4DUHWPT.js";import"./chunk-ROLAW5XO.js";import{d as J}from"./chunk-USJ6ILEE.js";import"./chunk-4ZXLS56M.js";import{$d as N,Bc as _,Cb as p,Cc as s,Db as o,Dc as D,Eb as i,Ed as W,Fb as f,Hc as O,Mb as I,Ob as h,Qb as m,Xa as a,Zd as A,db as C,dc as l,ec as M,ee as z,fc as g,fd as L,hb as B,ic as v,jc as S,kc as b,lb as F,nb as x,oc as V,od as R,rd as H,ta as u,tc as T,ua as y,uc as w,vb as P,xb as E}from"./chunk-JYZTRN6N.js";import"./chunk-WFMAM73Y.js";import"./chunk-SNAKHGZS.js";var Ce=()=>({"min-width":"50rem","font-family":"Roboto, sans-serif"}),xe=()=>["/menu/Products/Catalog/Products"],ye=t=>({CategoryID:t}),ve=()=>["/menu/Inventory/Quantity/Valuation"];function Se(t,c){if(t&1){let e=I();o(0,"button",10),h("click",function(){u(e);let n=m(2);return y(n.openExportModal())}),f(1,"i",11),l(2," Export "),i()}}function be(t,c){if(t&1){let e=I();o(0,"div",12)(1,"h6"),l(2,"Outlet"),i(),o(3,"outlet-selector",13),b("ngModelChange",function(n){u(e);let d=m(2);return S(d.pageData.Filter.ListIDs,n)||(d.pageData.Filter.ListIDs=n),y(n)}),i(),o(4,"h6"),l(5,"Quantity From - To"),i(),o(6,"div",14)(7,"input",15),b("ngModelChange",function(n){u(e);let d=m(2);return S(d.pageData.Filter.QuantityFrom,n)||(d.pageData.Filter.QuantityFrom=n),y(n)}),i(),o(8,"span",16),l(9,"-"),i(),o(10,"input",17),b("ngModelChange",function(n){u(e);let d=m(2);return S(d.pageData.Filter.QuantityTo,n)||(d.pageData.Filter.QuantityTo=n),y(n)}),i()(),o(11,"h6"),l(12,"Discontinued"),i(),o(13,"radio-options",18),b("modelChange",function(n){u(e);let d=m(2);return S(d.pageData.Filter.Discontinued,n)||(d.pageData.Filter.Discontinued=n),y(n)}),i()()}if(t&2){let e=m(2);a(3),p("multiple",!0)("accessType",2),v("ngModel",e.pageData.Filter.ListIDs),a(4),v("ngModel",e.pageData.Filter.QuantityFrom),a(3),v("ngModel",e.pageData.Filter.QuantityTo),a(3),v("model",e.pageData.Filter.Discontinued),p("options",e.pageData.Options.Discontinued)}}function Ie(t,c){t&1&&(o(0,"th",27),l(1," Cost "),f(2,"p-treeTableSortIcon",28),i())}function Te(t,c){t&1&&(o(0,"th",29),l(1," Price "),f(2,"p-treeTableSortIcon",30),i())}function De(t,c){t&1&&(o(0,"th",31),l(1," % "),f(2,"p-treeTableSortIcon",32),i())}function he(t,c){if(t&1&&(o(0,"tr",19)(1,"th",20),l(2," Category "),f(3,"p-treeTableSortIcon",21),i(),o(4,"th",22),l(5," On Hand "),f(6,"p-treeTableSortIcon",23),i(),x(7,Ie,3,0,"th",24)(8,Te,3,0,"th",25)(9,De,3,0,"th",26),i()),t&2){let e=m(2);a(7),p("ngIf",e.roleService.product.Cost),a(),p("ngIf",e.roleService.product.Price),a(),p("ngIf",e.roleService.product.Cost&&e.roleService.product.Price)}}function we(t,c){if(t&1&&(o(0,"td"),l(1),_(2,"amountFraction"),i()),t&2){let e=m().rowData;a(),g(" ",s(2,1,e.DisplayedCost)," ")}}function Be(t,c){if(t&1&&(o(0,"td"),l(1),_(2,"amountFraction"),i()),t&2){let e=m().rowData;a(),g(" ",s(2,1,e.DisplayedPrice)," ")}}function Fe(t,c){if(t&1&&(o(0,"td")(1,"span",38),_(2,"number"),l(3),_(4,"number"),i()()),t&2){let e=m().rowData;a(),p("matTooltip",D(2,2,e.DisplayedPercentage,"1.0-5")+"%"),a(2),g(" ",D(4,5,e.DisplayedPercentage,"1.0-0"),"% ")}}function Pe(t,c){if(t&1&&(o(0,"tr",33)(1,"td"),f(2,"p-treeTableToggler",34),o(3,"a",35),l(4),i()(),o(5,"td")(6,"a",36),_(7,"number"),_(8,"number"),_(9,"number"),l(10),_(11,"quantityFraction"),i()(),x(12,we,3,3,"td",37)(13,Be,3,3,"td",37)(14,Fe,5,8,"td",37),i()),t&2){let e=c.$implicit,r=c.rowData,n=m(2);p("ttRow",e),a(2),p("rowNode",e),a(),p("routerLink",T(21,xe))("queryParams",w(22,ye,r.ID)),a(),M(r.Name),a(2),p("matTooltip",V(r.OnHandIndirect&&r.OnHand?"Direct ("+s(7,13,r.OnHand)+") Indirect ("+s(8,15,r.OnHandIndirect)+")":r.OnHandIndirect?"Indirect ("+s(9,17,r.OnHandIndirect)+")":""))("routerLink",T(24,ve))("queryParams",w(25,ye,r.ID)),a(4),g("",s(11,19,r.DisplayedOnHand)," "),a(2),p("ngIf",n.roleService.product.Cost),a(),p("ngIf",n.roleService.product.Price),a(),p("ngIf",n.roleService.product.Cost&&n.roleService.product.Price)}}function Ee(t,c){if(t&1&&(o(0,"td",40),l(1),_(2,"amountFraction"),i()),t&2){let e=m(3);a(),g(" ",s(2,1,e.data==null||e.data.Aggregate==null?null:e.data.Aggregate.TotalCost)," ")}}function Me(t,c){if(t&1&&(o(0,"td",40),l(1),_(2,"amountFraction"),i()),t&2){let e=m(3);a(),g(" ",s(2,1,e.data==null||e.data.Aggregate==null?null:e.data.Aggregate.TotalPrice)," ")}}function Ve(t,c){if(t&1&&(o(0,"td",40),l(1),_(2,"number"),i()),t&2){let e=m(3);a(),g(" ",D(2,1,e.data==null||e.data.Aggregate==null?null:e.data.Aggregate.TotalPercentage,"1.0-0"),"% ")}}function Oe(t,c){if(t&1&&(o(0,"tr",39)(1,"td",40),l(2,"Total:"),i(),o(3,"td",40),l(4),_(5,"quantityFraction"),i(),x(6,Ee,3,3,"td",41)(7,Me,3,3,"td",41)(8,Ve,3,4,"td",41),i()),t&2){let e=m(2);a(4),g(" ",s(5,4,e.data==null||e.data.Aggregate==null?null:e.data.Aggregate.TotalOnHand)," "),a(2),p("ngIf",e.roleService.product.Cost),a(),p("ngIf",e.roleService.product.Price),a(),p("ngIf",e.roleService.product.Cost&&e.roleService.product.Price)}}function Le(t,c){if(t&1){let e=I();o(0,"mainpanel-cmp",2),h("onSubmit",function(){u(e);let n=m();return y(n.searchFromPageOne())}),b("filterChange",function(n){u(e);let d=m();return S(d.pageData.Filter,n)||(d.pageData.Filter=n),y(n)}),o(1,"actions"),P(2,Se,3,0,"button",3),i(),o(3,"div",4),x(4,be,14,7,"ng-template",null,0,O),i(),o(6,"content")(7,"div",5)(8,"p-treeTable",6),x(9,he,10,3,"ng-template",7)(10,Pe,15,27,"ng-template",8)(11,Oe,9,6,"ng-template",9),i()()()()}if(t&2){let e=m();p("pageData",e.menuData)("hideSearchBox",!0)("isFilterOnDropdown",!1),v("filter",e.pageData.Filter),a(2),E(e.roleService.global.Export?2:-1),a(6),p("value",e.data.data)("scrollable",!0)("scrollable",!0)("tableStyle",T(9,Ce))}}var fe=class t extends Y{constructor(e,r,n,d,Re,He){super(e,r,"Inventory/GetByCategory","InventoryLoader/GetByCategory");this.httpService=r;this.csvConverter=n;this.pageTitle=d;this.roleService=Re;this.dialog=He}openExportModal(){this.dialog.open($,{data:{title:"Inventory By Category",exportTypes:[{ID:"inventoryexport/GetExportInventoryByCategory",Value:"Default",FileName:"Inventory By Category"}],filterExport:this.pageData.Filter,getAllDataLengthAPI:"",pagination:!1}})}static \u0275fac=function(r){return new(r||t)(C(ne),C(z),C(ie),C(W),C(J),C(Z))};static \u0275cmp=B({type:t,selectors:[["app-inventory-by-category"]],features:[F],decls:1,vars:1,consts:[["pageFilterTemplate",""],[3,"pageData","hideSearchBox","isFilterOnDropdown","filter","onSubmit","filterChange",4,"ngIf"],[3,"onSubmit","filterChange","pageData","hideSearchBox","isFilterOnDropdown","filter"],[1,"btn","btn-outline-secondary","me-3"],["filters",""],[1,"container-fluid","mt-3"],[3,"value","scrollable","tableStyle"],["pTemplate","header"],["pTemplate","body"],["pTemplate","footer"],[1,"btn","btn-outline-secondary","me-3",3,"click"],["aria-hidden","true",1,"fa-solid","fa-upload"],[1,"dialog-filter"],["placeholder","Choose Outlet",1,"ng-select-multiple",3,"ngModelChange","multiple","accessType","ngModel"],[1,"d-flex","align-items-center"],["type","number","placeholder","From",1,"form-control",3,"ngModelChange","ngModel"],[1,"mx-3"],["type","number","placeholder","To",1,"form-control",3,"ngModelChange","ngModel"],[3,"modelChange","model","options"],[1,"custom-header"],["ttSortableColumn","Name",1,"text-uppercase"],["field","Name"],["ttSortableColumn","DisplayedOnHand",1,"text-uppercase"],["field","DisplayedOnHand"],["class","text-uppercase","ttSortableColumn","DisplayedCost",4,"ngIf"],["class","text-uppercase","ttSortableColumn","DisplayedPrice",4,"ngIf"],["class","text-uppercase","ttSortableColumn","DisplayedPercentage",4,"ngIf"],["ttSortableColumn","DisplayedCost",1,"text-uppercase"],["field","DisplayedCost"],["ttSortableColumn","DisplayedPrice",1,"text-uppercase"],["field","DisplayedPrice"],["ttSortableColumn","DisplayedPercentage",1,"text-uppercase"],["field","DisplayedPercentage"],[3,"ttRow"],[3,"rowNode"],["target","_blank",3,"routerLink","queryParams"],["matTooltipPosition","above",3,"routerLink","queryParams","matTooltip"],[4,"ngIf"],["matTooltipPosition","above",3,"matTooltip"],[1,"table-footer"],[1,"text-end"],["class","text-end",4,"ngIf"]],template:function(r,n){r&1&&x(0,Le,12,10,"mainpanel-cmp",1),r&2&&p("ngIf",n.data)},dependencies:[H,L,ae,oe,N,A,ue,ce,K,ge,de,_e,se,pe,me,le,re,G,k,q,Q,j,X,U,R,ee,te],styles:[".p-treetable-scrollable-header-box{padding-right:0!important} .p-treetable .p-treetable-thead>tr>th:not(:first-child){text-align:right!important} .p-treetable .p-treetable-tbody>tr>td:not(:first-child){text-align:right!important} .p-treetable-scrollable-footer-box{padding-right:0!important} .table-header-styles, .p-treetable-tfoot td, .p-treetable-thead th{background:#f6f6f6!important;color:#3b3b3b!important;text-transform:uppercase!important;font-weight:700!important;line-height:25px!important;font-size:12px!important;font-family:Roboto,sans-serif!important} .p-component.p-iconwrapper>svg{height:11px!important} .p-treetable .p-treetable-tbody>tr>td{border-bottom-width:1px;border-color:#dee2e6}"]})};export{fe as InventoryByCategoryComponent};
@@ -1 +1 @@
1
- import{a as r}from"./chunk-4PALKQ75.js";import{K as a}from"./chunk-JYZTRN6N.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-QRTOTG7S.js";import{K as a}from"./chunk-JYZTRN6N.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{f as u}from"./chunk-BALKIB67.js";import"./chunk-5OKSTEWQ.js";import"./chunk-CS6HBROS.js";import"./chunk-JUS6LLVX.js";import"./chunk-QZMZBCE7.js";import"./chunk-C4WJKF7R.js";import"./chunk-NZYZO47Z.js";import"./chunk-A45GTZVV.js";import"./chunk-NWSIPELM.js";import"./chunk-L76WVZW6.js";import"./chunk-2FWFPV5I.js";import"./chunk-O5SLP4JK.js";import"./chunk-RNLSEEMX.js";import"./chunk-H4DUHWPT.js";import"./chunk-ROLAW5XO.js";import"./chunk-USJ6ILEE.js";import"./chunk-4ZXLS56M.js";import{$d as d,Db as o,Eb as m,Fb as p,dc as c,hb as f,ib as i,ma as n,rd as l}from"./chunk-JYZTRN6N.js";import"./chunk-WFMAM73Y.js";import"./chunk-SNAKHGZS.js";var a=class t{menuData={H:"Not Found"};constructor(){}ngOnInit(){}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=f({type:t,selectors:[["POS-not-found-page"]],standalone:!1,decls:12,vars:0,consts:[[1,"container-fluid","mt-12"],[1,"row"],[1,"col-1"],[1,"col-6","d-flex","align-items-center","justify-content-center","pe-0"],[1,"ms-12"],[1,"mb-0","fw-normal",2,"margin-top","20px","font-size","55px"],[1,"fs-4"],[1,"col-5","ps-0"],["src","https://cdn.dealpos.xyz/web-image/MicrosoftTeams-image.jpg","alt","",2,"width","50%"]],template:function(e,y){e&1&&(o(0,"content")(1,"div",0)(2,"div",1),p(3,"div",2),o(4,"div",3)(5,"div",4)(6,"h1",5),c(7," Page Not Found "),m(),o(8,"p",6),c(9,"The page you are trying to access cannot be found"),m()()(),o(10,"div",7),p(11,"img",8),m()()()())},encapsulation:2})};var M=[{path:"",component:a}],r=class t{static \u0275fac=function(e){return new(e||t)};static \u0275mod=i({type:t});static \u0275inj=n({imports:[d.forChild(M),d]})};var N=class t{static \u0275fac=function(e){return new(e||t)};static \u0275mod=i({type:t});static \u0275inj=n({imports:[l,r,u]})};export{N as NotFoundModule};
@@ -0,0 +1 @@
1
+ import{Gb as n,Hb as e,Ib as c,Wd as l,Xa as a,db as r,dc as i,ee as u,fc as d,hb as p}from"./chunk-JYZTRN6N.js";import"./chunk-WFMAM73Y.js";import"./chunk-SNAKHGZS.js";var v=class s{constructor(m,o){this.httpService=m;this.activeRoute=o;document.title="Outlet | Reset Password Form";let t=this.activeRoute.snapshot.queryParams;this.httpService.post("/api/login/ResetPassword",t).subscribe(f=>{this.data=f})}data;ngOnInit(){document.body.classList.add("login-body")}ngOnDestroy(){document.body.classList.remove("login-body")}static \u0275fac=function(o){return new(o||s)(r(u),r(l))};static \u0275cmp=p({type:s,selectors:[["POS-auth-reset-password"]],decls:18,vars:2,consts:[[1,"container-fluid"],[1,"card","mx-auto","bg-primary","text-light"],[1,"card-title"],[1,"text-center"],[1,"card-body"],[1,"fw-normal"],[1,"fixed-bottom"],[1,"d-flex","justify-content-start","mb-11","mx-11","footer-mobile"],["target","_blank","href","http://www.dealpos.com"],["src","https://cdn.dealpos.app/public/logo/dealpos_130.png",1,"ms-3","border-0"]],template:function(o,t){o&1&&(n(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),i(4,"Your New Account Info"),e()(),n(5,"div",4)(6,"div",3)(7,"h3",5),i(8),e(),n(9,"h3",5),i(10),e()()()(),n(11,"div",6)(12,"div",7)(13,"div")(14,"span"),i(15,"powered by :"),e(),c(16,"a",8)(17,"img",9),e()()()()),o&2&&(a(8),d("Login ID: ",t.data==null?null:t.data.Username),a(2),d("Password: ",t.data==null?null:t.data.Password))},styles:[".card[_ngcontent-%COMP%]{width:30%;margin-top:150px;padding:15px}@media screen and (max-width: 768px){.footer-mobile[_ngcontent-%COMP%]{display:flex!important;justify-content:center!important}div.vh-100[_ngcontent-%COMP%]{height:40vh!important}.fixed-bottom[_ngcontent-%COMP%]{position:static!important}input[type=submit][_ngcontent-%COMP%]{width:98%}.card[_ngcontent-%COMP%]{border:none;width:85%}}"]})};export{v as AuthResetPasswordComponent};
@@ -1 +1 @@
1
- import{a as te}from"./chunk-R4OHTTCT.js";import{d as ee}from"./chunk-SO4GMA3Y.js";import{a as z,b as J}from"./chunk-APOV2ZYY.js";import{c as $}from"./chunk-IDKR4Z5E.js";import{b as X}from"./chunk-KD7WBOUR.js";import{a as K}from"./chunk-7JXTBPO6.js";import{e as Z}from"./chunk-PCBQ5MJX.js";import{b as Y}from"./chunk-4PALKQ75.js";import{g as U}from"./chunk-A45GTZVV.js";import{h as q,o as H}from"./chunk-RNLSEEMX.js";import{d as Q}from"./chunk-USJ6ILEE.js";import{Ab as V,Bb as W,Bc as D,Cb as g,Db as i,Dc as x,Eb as r,Fb as M,Hc as B,Mb as C,Ob as h,Qb as c,Wd as O,Xa as l,Zd as j,be as A,db as f,dc as o,ec as v,ee as G,fc as L,hb as E,ic as S,jc as u,kc as y,lb as R,md as N,nb as b,ta as m,ua as s,vb as T,wc as P,xb as F,zb as I,zc as k}from"./chunk-JYZTRN6N.js";var ae=(p,d,t,n,e,a)=>({LogisticServiceID:p,EntityID:d,From:t,To:n,StartTime:e,EndTime:a}),re=(p,d,t)=>({From:p,To:d,LogisticsServiceID:t});function ne(p,d){if(p&1){let t=C();i(0,"button",4),h("click",function(){m(t);let e=c();return s(e.openExportModal())}),M(1,"i",5),o(2," Export "),r()}}function oe(p,d){if(p&1){let t=C();i(0,"div",6)(1,"h6"),o(2,"Outlet"),r(),i(3,"outlet-selector",7),y("ngModelChange",function(e){m(t);let a=c();return u(a.pageData.Filter.EntityID,e)||(a.pageData.Filter.EntityID=e),s(e)}),r(),i(4,"h6"),o(5,"From"),r(),i(6,"datepicker",8),y("dateChange",function(e){m(t);let a=c();return u(a.pageData.Filter.From,e)||(a.pageData.Filter.From=e),s(e)}),r(),i(7,"h6"),o(8,"To"),r(),i(9,"datepicker",9),y("dateChange",function(e){m(t);let a=c();return u(a.pageData.Filter.To,e)||(a.pageData.Filter.To=e),s(e)}),r(),i(10,"h6"),o(11,"Time"),r(),i(12,"div",10)(13,"div",11)(14,"app-timepicker",12),y("timeChange",function(e){m(t);let a=c();return u(a.pageData.Filter.StartTime,e)||(a.pageData.Filter.StartTime=e),s(e)}),r()(),i(15,"div",11)(16,"app-timepicker",12),y("timeChange",function(e){m(t);let a=c();return u(a.pageData.Filter.EndTime,e)||(a.pageData.Filter.EndTime=e),s(e)}),r()()()()}if(p&2){let t=c();l(3),g("accessType",2),S("ngModel",t.pageData.Filter.EntityID),g("outlets",t.pageData.Options==null?null:t.pageData.Options.Entities),l(3),S("date",t.pageData.Filter.From),l(3),S("date",t.pageData.Filter.To),l(5),g("fullWidth",!0),S("time",t.pageData.Filter.StartTime),l(2),g("fullWidth",!0),S("time",t.pageData.Filter.EndTime)}}function pe(p,d){if(p&1&&(i(0,"tr")(1,"td"),o(2),r(),i(3,"td"),o(4),r(),i(5,"td",21)(6,"a",22),D(7,"date"),D(8,"date"),o(9),r()(),i(10,"td",21)(11,"a",23),D(12,"date"),D(13,"date"),o(14),r()(),i(15,"td",21),o(16),r()()),p&2){let t=d.$implicit,n=d.$index,e=c(2);l(2),v(n+1),l(2),v(t.Name),l(2),g("queryParams",k(19,ae,t.ID,e.pageData.Filter.EntityID,x(7,7,e.pageData.Filter.From,"yyyy-MM-dd"),x(8,10,e.pageData.Filter.To,"yyyy-MM-dd"),e.pageData.Filter.StartTime,e.pageData.Filter.EndTime)),l(3),L(" ",t.Trans," "),l(2),g("queryParams",P(26,re,x(12,13,e.pageData.Filter.From,"yyyy-MM-dd"),x(13,16,e.pageData.Filter.To,"yyyy-MM-dd"),t.ID)),l(3),L(" ",t.Qty," "),l(2),v(t.Weight)}}function le(p,d){if(p&1){let t=C();i(0,"content")(1,"div",13)(2,"table",14),h("matSortChange",function(e){m(t);let a=c();return s(a.sortData(e))}),i(3,"thead",15)(4,"tr")(5,"th",16),o(6,"No"),r(),i(7,"th"),o(8,"Logistics Service Name"),r(),i(9,"th",17),o(10,"Trans"),r(),i(11,"th",18),o(12,"Qty"),r(),i(13,"th",19),o(14,"Weight "),i(15,"small",20),o(16,"(gram)"),r()()()(),i(17,"tbody"),V(18,pe,17,30,"tr",null,I),r()()()()}if(p&2){let t=c();l(18),W(t.data.Data)}}var ie=class p extends K{constructor(t,n,e,a,w,_){super(t,n,"Report/GetLogisticsService","ReportLoader/GetLogisticsService",e,a);this.matDialog=w;this.roleService=_}originalData=[];postInit(t){this.originalData=t.Data}sortData(t){let n=this.data.Data.slice();if(!t.active||t.direction===""){this.data.Data=this.originalData;return}this.data.Data=n.sort((e,a)=>this.compare(e[t.active],a[t.active],t.direction==="asc"))}openExportModal(){this.matDialog.open(X,{data:{title:"Logistic Service",exportTypes:[{ID:"ReportExport/LogisticService",Value:"Default",FileName:"Logistics Service"}],filterExport:this.pageData.Filter,getAllDataLengthAPI:"",pagination:!1}})}onChangeTime(t,n){let e=t.toTimeString().split(" ")[0].slice(0,5);this.pageData.Filter[n]=e}static \u0275fac=function(n){return new(n||p)(f(Y),f(G),f(A),f(O),f(U),f(Q))};static \u0275cmp=E({type:p,selectors:[["POS-logistics-service-report"]],standalone:!1,features:[R],decls:9,vars:6,consts:[["pageFilterTemplate",""],[3,"textChange","onSubmit","filterChange","pageData","text","isFilterOnDropdown","filter"],[1,"btn","btn-outline-secondary","me-3"],["routerLink","/menu/Logistics/Report/Outbound/Logistics_Service/Detail",1,"btn","btn-outline-secondary"],[1,"btn","btn-outline-secondary","me-3",3,"click"],["aria-hidden","true",1,"fa-solid","fa-upload"],[1,"dialog-filter"],["appendTo","body","bindLabel","Name","bindValue","ID","placeholder","Choose Outlet",3,"ngModelChange","accessType","ngModel","outlets"],["name","From",3,"dateChange","date"],["name","To",3,"dateChange","date"],[1,"row"],[1,"col-6"],[3,"timeChange","fullWidth","time"],[1,"container-fluid","mt-5"],["id","tableGrid","matSort","",1,"table",3,"matSortChange"],[1,"thead-light","sticky-top-thead"],[2,"width","50px"],["mat-sort-header","Trans",1,"align-right"],["mat-sort-header","Qty",1,"align-right"],["mat-sort-header","Weight",1,"align-right",2,"width","180px"],[1,"fst-italic","text-dark"],[1,"text-end"],["routerLink","/menu/Logistics/Report/Outbound/Logistics_Service/Detail",3,"queryParams"],["routerLink","/menu/Reports/Sales_Report/Standard/Products_Sold",3,"queryParams"]],template:function(n,e){if(n&1){let a=C();i(0,"mainpanel-cmp",1),y("textChange",function(_){return m(a),u(e.pageData.Filter.Name,_)||(e.pageData.Filter.Name=_),s(_)}),h("onSubmit",function(){return m(a),s(e.searchFromPageOne())}),y("filterChange",function(_){return m(a),u(e.pageData.Filter,_)||(e.pageData.Filter=_),s(_)}),i(1,"actions"),T(2,ne,3,0,"button",2),i(3,"a",3),o(4," View Detail "),r()(),i(5,"filters"),b(6,oe,17,9,"ng-template",null,0,B),r(),T(8,le,20,0,"content"),r()}n&2&&(g("pageData",e.menuData),S("text",e.pageData.Filter.Name),g("isFilterOnDropdown",!1),S("filter",e.pageData.Filter),l(2),F(e.roleService.global.Export?2:-1),l(6),F(e.data?8:-1))},dependencies:[j,q,H,Z,ee,z,J,te,$,N],encapsulation:2})};export{ie as a};
1
+ import{a as te}from"./chunk-R4OHTTCT.js";import{d as ee}from"./chunk-SO4GMA3Y.js";import{a as z,b as J}from"./chunk-APOV2ZYY.js";import{c as $}from"./chunk-SKE3MW2D.js";import{b as X}from"./chunk-KD7WBOUR.js";import{a as K}from"./chunk-GK4I3EKQ.js";import{e as Z}from"./chunk-BALKIB67.js";import{b as Y}from"./chunk-QRTOTG7S.js";import{g as U}from"./chunk-A45GTZVV.js";import{h as q,o as H}from"./chunk-RNLSEEMX.js";import{d as Q}from"./chunk-USJ6ILEE.js";import{Ab as V,Bb as W,Bc as D,Cb as g,Db as i,Dc as x,Eb as r,Fb as M,Hc as B,Mb as C,Ob as h,Qb as c,Wd as O,Xa as l,Zd as j,be as A,db as f,dc as o,ec as v,ee as G,fc as L,hb as E,ic as S,jc as u,kc as y,lb as R,md as N,nb as b,ta as m,ua as s,vb as T,wc as P,xb as F,zb as I,zc as k}from"./chunk-JYZTRN6N.js";var ae=(p,d,t,n,e,a)=>({LogisticServiceID:p,EntityID:d,From:t,To:n,StartTime:e,EndTime:a}),re=(p,d,t)=>({From:p,To:d,LogisticsServiceID:t});function ne(p,d){if(p&1){let t=C();i(0,"button",4),h("click",function(){m(t);let e=c();return s(e.openExportModal())}),M(1,"i",5),o(2," Export "),r()}}function oe(p,d){if(p&1){let t=C();i(0,"div",6)(1,"h6"),o(2,"Outlet"),r(),i(3,"outlet-selector",7),y("ngModelChange",function(e){m(t);let a=c();return u(a.pageData.Filter.EntityID,e)||(a.pageData.Filter.EntityID=e),s(e)}),r(),i(4,"h6"),o(5,"From"),r(),i(6,"datepicker",8),y("dateChange",function(e){m(t);let a=c();return u(a.pageData.Filter.From,e)||(a.pageData.Filter.From=e),s(e)}),r(),i(7,"h6"),o(8,"To"),r(),i(9,"datepicker",9),y("dateChange",function(e){m(t);let a=c();return u(a.pageData.Filter.To,e)||(a.pageData.Filter.To=e),s(e)}),r(),i(10,"h6"),o(11,"Time"),r(),i(12,"div",10)(13,"div",11)(14,"app-timepicker",12),y("timeChange",function(e){m(t);let a=c();return u(a.pageData.Filter.StartTime,e)||(a.pageData.Filter.StartTime=e),s(e)}),r()(),i(15,"div",11)(16,"app-timepicker",12),y("timeChange",function(e){m(t);let a=c();return u(a.pageData.Filter.EndTime,e)||(a.pageData.Filter.EndTime=e),s(e)}),r()()()()}if(p&2){let t=c();l(3),g("accessType",2),S("ngModel",t.pageData.Filter.EntityID),g("outlets",t.pageData.Options==null?null:t.pageData.Options.Entities),l(3),S("date",t.pageData.Filter.From),l(3),S("date",t.pageData.Filter.To),l(5),g("fullWidth",!0),S("time",t.pageData.Filter.StartTime),l(2),g("fullWidth",!0),S("time",t.pageData.Filter.EndTime)}}function pe(p,d){if(p&1&&(i(0,"tr")(1,"td"),o(2),r(),i(3,"td"),o(4),r(),i(5,"td",21)(6,"a",22),D(7,"date"),D(8,"date"),o(9),r()(),i(10,"td",21)(11,"a",23),D(12,"date"),D(13,"date"),o(14),r()(),i(15,"td",21),o(16),r()()),p&2){let t=d.$implicit,n=d.$index,e=c(2);l(2),v(n+1),l(2),v(t.Name),l(2),g("queryParams",k(19,ae,t.ID,e.pageData.Filter.EntityID,x(7,7,e.pageData.Filter.From,"yyyy-MM-dd"),x(8,10,e.pageData.Filter.To,"yyyy-MM-dd"),e.pageData.Filter.StartTime,e.pageData.Filter.EndTime)),l(3),L(" ",t.Trans," "),l(2),g("queryParams",P(26,re,x(12,13,e.pageData.Filter.From,"yyyy-MM-dd"),x(13,16,e.pageData.Filter.To,"yyyy-MM-dd"),t.ID)),l(3),L(" ",t.Qty," "),l(2),v(t.Weight)}}function le(p,d){if(p&1){let t=C();i(0,"content")(1,"div",13)(2,"table",14),h("matSortChange",function(e){m(t);let a=c();return s(a.sortData(e))}),i(3,"thead",15)(4,"tr")(5,"th",16),o(6,"No"),r(),i(7,"th"),o(8,"Logistics Service Name"),r(),i(9,"th",17),o(10,"Trans"),r(),i(11,"th",18),o(12,"Qty"),r(),i(13,"th",19),o(14,"Weight "),i(15,"small",20),o(16,"(gram)"),r()()()(),i(17,"tbody"),V(18,pe,17,30,"tr",null,I),r()()()()}if(p&2){let t=c();l(18),W(t.data.Data)}}var ie=class p extends K{constructor(t,n,e,a,w,_){super(t,n,"Report/GetLogisticsService","ReportLoader/GetLogisticsService",e,a);this.matDialog=w;this.roleService=_}originalData=[];postInit(t){this.originalData=t.Data}sortData(t){let n=this.data.Data.slice();if(!t.active||t.direction===""){this.data.Data=this.originalData;return}this.data.Data=n.sort((e,a)=>this.compare(e[t.active],a[t.active],t.direction==="asc"))}openExportModal(){this.matDialog.open(X,{data:{title:"Logistic Service",exportTypes:[{ID:"ReportExport/LogisticService",Value:"Default",FileName:"Logistics Service"}],filterExport:this.pageData.Filter,getAllDataLengthAPI:"",pagination:!1}})}onChangeTime(t,n){let e=t.toTimeString().split(" ")[0].slice(0,5);this.pageData.Filter[n]=e}static \u0275fac=function(n){return new(n||p)(f(Y),f(G),f(A),f(O),f(U),f(Q))};static \u0275cmp=E({type:p,selectors:[["POS-logistics-service-report"]],standalone:!1,features:[R],decls:9,vars:6,consts:[["pageFilterTemplate",""],[3,"textChange","onSubmit","filterChange","pageData","text","isFilterOnDropdown","filter"],[1,"btn","btn-outline-secondary","me-3"],["routerLink","/menu/Logistics/Report/Outbound/Logistics_Service/Detail",1,"btn","btn-outline-secondary"],[1,"btn","btn-outline-secondary","me-3",3,"click"],["aria-hidden","true",1,"fa-solid","fa-upload"],[1,"dialog-filter"],["appendTo","body","bindLabel","Name","bindValue","ID","placeholder","Choose Outlet",3,"ngModelChange","accessType","ngModel","outlets"],["name","From",3,"dateChange","date"],["name","To",3,"dateChange","date"],[1,"row"],[1,"col-6"],[3,"timeChange","fullWidth","time"],[1,"container-fluid","mt-5"],["id","tableGrid","matSort","",1,"table",3,"matSortChange"],[1,"thead-light","sticky-top-thead"],[2,"width","50px"],["mat-sort-header","Trans",1,"align-right"],["mat-sort-header","Qty",1,"align-right"],["mat-sort-header","Weight",1,"align-right",2,"width","180px"],[1,"fst-italic","text-dark"],[1,"text-end"],["routerLink","/menu/Logistics/Report/Outbound/Logistics_Service/Detail",3,"queryParams"],["routerLink","/menu/Reports/Sales_Report/Standard/Products_Sold",3,"queryParams"]],template:function(n,e){if(n&1){let a=C();i(0,"mainpanel-cmp",1),y("textChange",function(_){return m(a),u(e.pageData.Filter.Name,_)||(e.pageData.Filter.Name=_),s(_)}),h("onSubmit",function(){return m(a),s(e.searchFromPageOne())}),y("filterChange",function(_){return m(a),u(e.pageData.Filter,_)||(e.pageData.Filter=_),s(_)}),i(1,"actions"),T(2,ne,3,0,"button",2),i(3,"a",3),o(4," View Detail "),r()(),i(5,"filters"),b(6,oe,17,9,"ng-template",null,0,B),r(),T(8,le,20,0,"content"),r()}n&2&&(g("pageData",e.menuData),S("text",e.pageData.Filter.Name),g("isFilterOnDropdown",!1),S("filter",e.pageData.Filter),l(2),F(e.roleService.global.Export?2:-1),l(6),F(e.data?8:-1))},dependencies:[j,q,H,Z,ee,z,J,te,$,N],encapsulation:2})};export{ie as a};
@@ -46,7 +46,7 @@
46
46
  </script>
47
47
  <link href="https://cdn.jsdelivr.net/npm/dealpos-font@7.0.5/font-awesome/css/all.min.css" rel="stylesheet"/>
48
48
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css"/>
49
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/dealpos@25.46.1/browser/styles-URIEURGQ.css"></head>
49
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/dealpos@25.47.0/browser/styles-URIEURGQ.css"></head>
50
50
 
51
51
  <body>
52
52
  <app-root>
@@ -54,5 +54,5 @@
54
54
  </app-root>
55
55
  <script async="" src="https://cdn.jsdelivr.net/npm/dealpos-tm@7.1.0/tinymce.min.js"></script>
56
56
  <script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-element-bundle.min.js"></script>
57
- <link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/dealpos@25.46.1/browser/chunk-MJ2YN4R7.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/dealpos@25.46.1/browser/chunk-LAZZHDUO.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/dealpos@25.46.1/browser/chunk-V432I4ZE.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/dealpos@25.46.1/browser/chunk-7TBS7SPQ.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/dealpos@25.46.1/browser/chunk-RLQLFW36.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/dealpos@25.46.1/browser/chunk-EQLHPWVB.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/dealpos@25.46.1/browser/chunk-A45GTZVV.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/dealpos@25.46.1/browser/chunk-NWSIPELM.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/dealpos@25.46.1/browser/chunk-O5SLP4JK.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/dealpos@25.46.1/browser/chunk-RNLSEEMX.js"><script src="https://cdn.jsdelivr.net/npm/dealpos@25.46.1/browser/polyfills-KVI7ACYJ.js" type="module"></script><script src="https://cdn.jsdelivr.net/npm/dealpos@25.46.1/browser/scripts-Z64TTWXD.js" defer></script><script src="https://cdn.jsdelivr.net/npm/dealpos@25.46.1/browser/main-VEM3F6IE.js" type="module"></script></body>
57
+ <link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/dealpos@25.47.0/browser/chunk-MJ2YN4R7.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/dealpos@25.47.0/browser/chunk-LAZZHDUO.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/dealpos@25.47.0/browser/chunk-V432I4ZE.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/dealpos@25.47.0/browser/chunk-7TBS7SPQ.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/dealpos@25.47.0/browser/chunk-RLQLFW36.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/dealpos@25.47.0/browser/chunk-EQLHPWVB.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/dealpos@25.47.0/browser/chunk-A45GTZVV.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/dealpos@25.47.0/browser/chunk-NWSIPELM.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/dealpos@25.47.0/browser/chunk-O5SLP4JK.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/dealpos@25.47.0/browser/chunk-RNLSEEMX.js"><script src="https://cdn.jsdelivr.net/npm/dealpos@25.47.0/browser/polyfills-KVI7ACYJ.js" type="module"></script><script src="https://cdn.jsdelivr.net/npm/dealpos@25.47.0/browser/scripts-Z64TTWXD.js" defer></script><script src="https://cdn.jsdelivr.net/npm/dealpos@25.47.0/browser/main-VVZRGXWB.js" type="module"></script></body>
58
58
  </html>