dealpos 25.45.1 → 25.45.2
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-LKKENA2L.js → chunk-2BSYBLS4.js} +1 -1
- package/browser/{chunk-FPO73IWN.js → chunk-3MUHZKUR.js} +1 -1
- package/browser/{chunk-LP2YX47Z.js → chunk-3RGQWWNI.js} +1 -1
- package/browser/{chunk-YTOGQOIP.js → chunk-4KBU47GN.js} +1 -1
- package/browser/{chunk-BA466YBV.js → chunk-5I74KDE7.js} +1 -1
- package/browser/{chunk-4AUOGTXI.js → chunk-5PWOYB4R.js} +2 -2
- package/browser/{chunk-UPC37DMP.js → chunk-5ZU5FBGM.js} +1 -1
- package/browser/{chunk-6MU3ID6Q.js → chunk-6A3BN6JC.js} +1 -1
- package/browser/{chunk-CRLFATTL.js → chunk-6Q7J43H4.js} +1 -1
- package/browser/{chunk-WQNTJH2X.js → chunk-6VM27TUY.js} +1 -1
- package/browser/{chunk-TYUL4J6N.js → chunk-7EVERJPZ.js} +1 -1
- package/browser/{chunk-4NLZJJA4.js → chunk-7FUWLNHK.js} +1 -1
- package/browser/{chunk-RVKNSR2K.js → chunk-7USHMTB5.js} +1 -1
- package/browser/{chunk-AMUMNTYT.js → chunk-A6F6V3WW.js} +1 -1
- package/browser/{chunk-JRP5O56W.js → chunk-B6EKSPI2.js} +1 -1
- package/browser/{chunk-7O6Z7YZS.js → chunk-BXGUZIC4.js} +1 -1
- package/browser/{chunk-UP2UDOTJ.js → chunk-DG4IHOM2.js} +1 -1
- package/browser/{chunk-HQWW3C2M.js → chunk-DJNB7COU.js} +1 -1
- package/browser/{chunk-JTRNQBXF.js → chunk-DU7W2G2L.js} +1 -1
- package/browser/{chunk-B3EZEY4B.js → chunk-DZA27E5L.js} +1 -1
- package/browser/{chunk-J5FCCS76.js → chunk-EGADVOKH.js} +1 -1
- package/browser/{chunk-OZGLZGND.js → chunk-FAGD2TBB.js} +1 -1
- package/browser/{chunk-2TXCUXTF.js → chunk-FAN4YDVT.js} +1 -1
- package/browser/{chunk-IVBM4Y3J.js → chunk-FSGCO2Z5.js} +1 -1
- package/browser/{chunk-3IWVFLM3.js → chunk-G4XFK7EF.js} +1 -1
- package/browser/{chunk-OND3CFSL.js → chunk-GINPKODK.js} +1 -1
- package/browser/{chunk-BZVCDBQR.js → chunk-GUF6JXSS.js} +1 -1
- package/browser/{chunk-W6PT2SCS.js → chunk-HBH23XBO.js} +1 -1
- package/browser/{chunk-QUAMZZS6.js → chunk-HC2YTBED.js} +1 -1
- package/browser/{chunk-DC5TNUBW.js → chunk-HHSXXJFJ.js} +1 -1
- package/browser/{chunk-PXOXHTNI.js → chunk-IAFZ6YAO.js} +1 -1
- package/browser/{chunk-KQXOXN6S.js → chunk-IAFZ75L3.js} +2 -2
- package/browser/{chunk-KFDGG6IE.js → chunk-IE2H4VRD.js} +1 -1
- package/browser/{chunk-ZGSYDQBM.js → chunk-IJXCL7KL.js} +1 -1
- package/browser/{chunk-2SM2HFRR.js → chunk-IPJU7D3K.js} +1 -1
- package/browser/{chunk-JKBJ3O3G.js → chunk-IQ7VK4UE.js} +3 -3
- package/browser/{chunk-ICDZ6ZG2.js → chunk-IT7I47UZ.js} +1 -1
- package/browser/{chunk-IFARYZIK.js → chunk-IUE6IUOH.js} +1 -1
- package/browser/{chunk-V75YVSP3.js → chunk-J3OQGBIN.js} +1 -1
- package/browser/{chunk-IVR7R22T.js → chunk-JGWQC4DI.js} +1 -1
- package/browser/{chunk-UH2PJXPG.js → chunk-KB64CIW5.js} +2 -2
- package/browser/{chunk-36JFFXJO.js → chunk-KDOS4X4T.js} +1 -1
- package/browser/{chunk-NGRJ35NF.js → chunk-KL5VH4OU.js} +1 -1
- package/browser/{chunk-SH3T5X7H.js → chunk-KTV4REGV.js} +1 -1
- package/browser/{chunk-H3RJALHH.js → chunk-L3JI6OZ3.js} +1 -1
- package/browser/{chunk-I26CNUBY.js → chunk-L453AX2W.js} +1 -1
- package/browser/{chunk-MOLMIGZ2.js → chunk-M4BTEXS6.js} +1 -1
- package/browser/{chunk-FQTHN2D5.js → chunk-M76YU6SQ.js} +1 -1
- package/browser/{chunk-THGBNMLF.js → chunk-MFDMUMA4.js} +1 -1
- package/browser/{chunk-4JCHCMUR.js → chunk-MHZV4BL7.js} +1 -1
- package/browser/{chunk-JTTRYU4G.js → chunk-MXGNASOC.js} +1 -1
- package/browser/{chunk-DV6Z7FPV.js → chunk-N43HXORE.js} +1 -1
- package/browser/{chunk-NNONJUQ3.js → chunk-N7C7P5QN.js} +1 -1
- package/browser/{chunk-OTIPYKW7.js → chunk-NERV3W42.js} +1 -1
- package/browser/{chunk-P2CKEL54.js → chunk-NM3RF6OH.js} +1 -1
- package/browser/{chunk-55FE5P6P.js → chunk-OKEI5RKW.js} +1 -1
- package/browser/{chunk-YY3636UT.js → chunk-OKVQYK4Y.js} +1 -1
- package/browser/{chunk-43CXFI4D.js → chunk-OLT6DXR7.js} +1 -1
- package/browser/chunk-PCFR4J66.js +131 -0
- package/browser/{chunk-X6MBRJTG.js → chunk-PIW2M2DH.js} +2 -2
- package/browser/{chunk-7TEDBCUJ.js → chunk-PNN75KZR.js} +1 -1
- package/browser/{chunk-SXPVIX36.js → chunk-PUFGTKWO.js} +1 -1
- package/browser/{chunk-D5RACD33.js → chunk-RKCNENWQ.js} +1 -1
- package/browser/{chunk-M6SFCHJQ.js → chunk-SICZ4VWZ.js} +1 -1
- package/browser/{chunk-E424AX7J.js → chunk-T3HVVJIV.js} +1 -1
- package/browser/{chunk-G4D3XN53.js → chunk-TCR2YYM5.js} +1 -1
- package/browser/{chunk-IMM7CUI7.js → chunk-TPHEWWHE.js} +3 -3
- package/browser/{chunk-KMIXT3V6.js → chunk-TWVDGGTY.js} +1 -1
- package/browser/{chunk-FDH4S2DG.js → chunk-USEPOJ5L.js} +1 -1
- package/browser/{chunk-MFHN36L5.js → chunk-UYXD7WPN.js} +1 -1
- package/browser/{chunk-TNZMSOM3.js → chunk-VBX5VOJG.js} +1 -1
- package/browser/{chunk-GYYMO4YR.js → chunk-W34NDG3T.js} +1 -1
- package/browser/{chunk-BZ44CISC.js → chunk-W5N6DMDQ.js} +1 -1
- package/browser/{chunk-PYATA4SM.js → chunk-WRZUQ2QI.js} +1 -1
- package/browser/{chunk-IGHHLZWC.js → chunk-WXJTNRD3.js} +1 -1
- package/browser/{chunk-5VUKKQUZ.js → chunk-X6XUOWVT.js} +2 -2
- package/browser/{chunk-TIGG24TH.js → chunk-XF5XKXE6.js} +1 -1
- package/browser/{chunk-6ASBLKNZ.js → chunk-XHA6WGTO.js} +1 -1
- package/browser/{chunk-VVB7545X.js → chunk-XKAKP3E6.js} +1 -1
- package/browser/{chunk-Y6JQWF34.js → chunk-XRLRUCRR.js} +1 -1
- package/browser/{chunk-IKJNYXIS.js → chunk-YM2ZQTDF.js} +1 -1
- package/browser/{chunk-EBHLJ7D3.js → chunk-YQE3PJGM.js} +2 -2
- package/browser/{chunk-4JVPFRFP.js → chunk-ZEXXJZ7U.js} +1 -1
- package/browser/index.html +2 -2
- package/browser/{main-WVCGTGWV.js → main-7FKCOQYA.js} +2 -2
- package/package.json +1 -1
- package/browser/chunk-VPBOQNZA.js +0 -131
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as J,b as K}from"./chunk-SYMXIBEB.js";import{e as Y,f as z}from"./chunk-
|
|
1
|
+
import{a as J,b as K}from"./chunk-SYMXIBEB.js";import{e as Y,f as z}from"./chunk-KDOS4X4T.js";import"./chunk-KTV4REGV.js";import{a as A,b as G}from"./chunk-EGADVOKH.js";import"./chunk-3LPZYQS6.js";import"./chunk-BJKHMXAA.js";import"./chunk-EGUIWOC3.js";import"./chunk-VQBUIUJC.js";import{O as U}from"./chunk-HYXSN2J6.js";import"./chunk-QGYIPOLS.js";import"./chunk-WACBOZDR.js";import"./chunk-YZP4FX7D.js";import"./chunk-2FWFPV5I.js";import"./chunk-WAXYETAG.js";import"./chunk-OJ5SEYSF.js";import"./chunk-HBH23XBO.js";import"./chunk-5I74KDE7.js";import{d as k}from"./chunk-TS6CZC3J.js";import"./chunk-7EVERJPZ.js";import{$d as j,Bb as d,Bc as v,Cb as r,Cc as V,Db as n,Dc as S,Eb as c,Pb as f,Wa as o,Wd as B,Y as M,Zd as $,aa as E,cb as I,cc as a,ec as C,ee as q,fa as P,gb as b,kb as D,kc as L,kd as N,lc as R,mc as s,md as H,pa as F,rd as w,sc as T,t as g,tc as O,u as h,ub as u,wb as p}from"./chunk-VS3RTXZC.js";import"./chunk-WFMAM73Y.js";import{a as y,b as _}from"./chunk-SNAKHGZS.js";var W=()=>["/menu/Logistics/Setup/Courier/Form"],X=i=>({ID:i});function Z(i,m){if(i&1&&(r(0,"a",1),c(1,"i",16),a(2,"Edit"),n()),i&2){f();let e=s(0);d("routerLink",T(2,W))("queryParams",O(3,X,e==null||e.Form==null?null:e.Form.ID))}}function ee(i,m){if(i&1&&a(0),i&2){f(2);let e=s(0);C(" / ",e.Form.Creator," ")}}function ie(i,m){if(i&1&&(a(0),v(1,"date"),u(2,ee,1,1)),i&2){f();let e=s(0);C(" ",S(1,2,e.Form.Created,"dd MMM yyyy HH:mm")," "),o(2),p(!(e==null||e.Form==null)&&e.Form.Creator?2:-1)}}function te(i,m){i&1&&a(0," - ")}function ne(i,m){if(i&1&&a(0),i&2){f(2);let e=s(0);C(" / ",e.Form.Modifier," ")}}function oe(i,m){if(i&1&&(r(0,"span",15)(1,"b"),a(2,"Modified:"),n(),a(3),v(4,"date"),u(5,ne,1,1),n()),i&2){f();let e=s(0);o(3),C(" ",S(4,2,e==null||e.Form==null?null:e.Form.Modified,"dd MMM yyyy HH:mm")," "),o(2),p(!(e==null||e.Form==null)&&e.Form.Modified&&(!(e==null||e.Form==null)&&e.Form.Modifier)?5:-1)}}var Q=class i extends A{constructor(e,l){super(e);this.pageSetupService=e;this.role=l;this.initCourierInfo()}httpService=F(q);activeRoute=F(B);courierInfo$;ngOnInit(){}initCourierInfo(){this.courierInfo$=h([this.menuData$,this.activeRoute.queryParams]).pipe(E(([e,l])=>this.httpService.get(`${U.GetCourierInfo}/${l.ID}`)),g(e=>{let l=e?.Form?.EntityName?e?.Form?.EntityName?.join(", "):"";return e.Form=_(y({},e.Form),{Entity:l}),e}),P(e=>{this.menuData.H=e?.PageTitle||"Courier Info"}),M(1))}static \u0275fac=function(l){return new(l||i)(I(G),I(k))};static \u0275cmp=b({type:i,selectors:[["app-courier-info"]],features:[D],decls:32,vars:12,consts:[[3,"pageData","hideSearchBox","hideSearchDropdown"],["role","button","matTooltipPosition","above","matTooltip","Edit",1,"btn","btn-outline-secondary","me-3",3,"routerLink","queryParams"],[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"],[1,"ms-3"],["aria-hidden","true",1,"fa-solid","fa-pen-to-square","me-3"]],template:function(l,x){if(l&1&&(L(0),v(1,"async"),r(2,"mainpanel-cmp",0)(3,"actions"),u(4,Z,3,5,"a",1),n(),r(5,"content")(6,"div",2)(7,"div",3)(8,"div",4)(9,"div",5)(10,"div",6)(11,"h3"),a(12,"General"),n()(),r(13,"div",7)(14,"div",3)(15,"div",8)(16,"div",9),c(17,"POS-info-page-input",10),n()(),r(18,"div",8)(19,"div",9),c(20,"POS-info-page-input",11),n()(),r(21,"div",8)(22,"div",9),c(23,"POS-info-page-input",12),n()()()()()()(),r(24,"div",13),c(25,"i",14),r(26,"span")(27,"b"),a(28,"Created: "),n(),u(29,ie,3,5)(30,te,1,0),n(),u(31,oe,6,5,"span",15),n()()()()),l&2){let t=R(V(1,9,x.courierInfo$));o(2),d("pageData",x.menuData)("hideSearchBox",!0)("hideSearchDropdown",!0),o(2),p(x.role.logistic.Edit?4:-1),o(13),d("inputValue",t==null||t.Form==null?null:t.Form.Name),o(3),d("inputValue",!(t==null||t.Form==null)&&t.Form.Bin?"Yes":"No"),o(3),d("inputValue",t==null||t.Form==null?null:t.Form.Entity),o(6),p(!(t==null||t.Form==null)&&t.Form.Created?29:30),o(2),p(!(t==null||t.Form==null)&&t.Form.Modified?31:-1)}},dependencies:[w,z,Y,j,$,K,J,N,H],encapsulation:2})};export{Q as CourierInfoComponent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as ce,b as de,c as _e,d as se,e as ge,f as ue}from"./chunk-6MU3ID6Q.js";import"./chunk-4ZFVM7K7.js";import"./chunk-Y6JQWF34.js";import"./chunk-YMVBGQ2W.js";import"./chunk-OGN6JWED.js";import{a as te}from"./chunk-BG6GTLXF.js";import{a as ee}from"./chunk-U3EOEZ3B.js";import"./chunk-KFUPP33B.js";import{e as me}from"./chunk-I4WJ5CEN.js";import"./chunk-7IRMDCKA.js";import"./chunk-3RK6DDJD.js";import"./chunk-CKGJCUHW.js";import"./chunk-YL6HCV6T.js";import"./chunk-BJG2UU2M.js";import"./chunk-ISY4SDFY.js";import"./chunk-RNEU5YBN.js";import{d as re,e as le}from"./chunk-RO5PWDCR.js";import"./chunk-33B62QHS.js";import{c as pe}from"./chunk-BZVCDBQR.js";import{b as $}from"./chunk-HVRLWPZX.js";import{a as Y}from"./chunk-FPO73IWN.js";import"./chunk-2TXCUXTF.js";import"./chunk-RFVQHGYD.js";import"./chunk-V7HBROQ5.js";import{a as ie}from"./chunk-WKB7BKHN.js";import{e as oe,f as ae}from"./chunk-36JFFXJO.js";import"./chunk-TIGG24TH.js";import"./chunk-LJMHI6I5.js";import"./chunk-G7HGWSUU.js";import"./chunk-67UQKMLX.js";import"./chunk-RCC5SUNH.js";import"./chunk-OYO4SRAO.js";import"./chunk-3MU2GNGM.js";import"./chunk-AASKAWJ4.js";import"./chunk-2QD46TNT.js";import"./chunk-YQ5GJPDB.js";import"./chunk-KMYTSO3Q.js";import"./chunk-BRHHRJLT.js";import"./chunk-SH3T5X7H.js";import{b as ne}from"./chunk-J5FCCS76.js";import"./chunk-3LPZYQS6.js";import"./chunk-BJKHMXAA.js";import"./chunk-EGUIWOC3.js";import{b as U,c as X}from"./chunk-VQBUIUJC.js";import"./chunk-HYXSN2J6.js";import"./chunk-2JU7KFOZ.js";import"./chunk-DB3W42KN.js";import"./chunk-EQLHPWVB.js";import{g as Z}from"./chunk-QGYIPOLS.js";import"./chunk-WACBOZDR.js";import"./chunk-TX6ZFPHY.js";import"./chunk-YZP4FX7D.js";import"./chunk-2FWFPV5I.js";import{la as K}from"./chunk-WAXYETAG.js";import{F as G,c as k,h as Q,o as j,q}from"./chunk-OJ5SEYSF.js";import"./chunk-W6PT2SCS.js";import"./chunk-BA466YBV.js";import{d as J}from"./chunk-TS6CZC3J.js";import"./chunk-TYUL4J6N.js";import{$d as N,Bb as p,Bc as _,Cb as o,Cc as s,Db as i,Dc as D,Eb as f,Ed as W,Hc as O,Lb as I,Nb as h,Pb as m,Wa as a,Zd as A,cb as C,cc as l,dc as M,ec as g,ee as z,fd as L,gb as B,hc as v,ic as S,jc as b,kb as F,mb as x,nc as V,od as R,rd as H,sc as T,ta as u,tc as w,ua as y,ub as P,wb as E}from"./chunk-VS3RTXZC.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-6A3BN6JC.js";import"./chunk-4ZFVM7K7.js";import"./chunk-XRLRUCRR.js";import"./chunk-YMVBGQ2W.js";import"./chunk-OGN6JWED.js";import{a as te}from"./chunk-BG6GTLXF.js";import{a as ee}from"./chunk-U3EOEZ3B.js";import"./chunk-KFUPP33B.js";import{e as me}from"./chunk-I4WJ5CEN.js";import"./chunk-7IRMDCKA.js";import"./chunk-3RK6DDJD.js";import"./chunk-CKGJCUHW.js";import"./chunk-YL6HCV6T.js";import"./chunk-BJG2UU2M.js";import"./chunk-ISY4SDFY.js";import"./chunk-RNEU5YBN.js";import{d as re,e as le}from"./chunk-RO5PWDCR.js";import"./chunk-33B62QHS.js";import{c as pe}from"./chunk-GUF6JXSS.js";import{b as $}from"./chunk-HVRLWPZX.js";import{a as Y}from"./chunk-3MUHZKUR.js";import"./chunk-FAN4YDVT.js";import"./chunk-RFVQHGYD.js";import"./chunk-V7HBROQ5.js";import{a as ie}from"./chunk-WKB7BKHN.js";import{e as oe,f as ae}from"./chunk-KDOS4X4T.js";import"./chunk-XF5XKXE6.js";import"./chunk-LJMHI6I5.js";import"./chunk-G7HGWSUU.js";import"./chunk-67UQKMLX.js";import"./chunk-RCC5SUNH.js";import"./chunk-OYO4SRAO.js";import"./chunk-3MU2GNGM.js";import"./chunk-AASKAWJ4.js";import"./chunk-2QD46TNT.js";import"./chunk-YQ5GJPDB.js";import"./chunk-KMYTSO3Q.js";import"./chunk-BRHHRJLT.js";import"./chunk-KTV4REGV.js";import{b as ne}from"./chunk-EGADVOKH.js";import"./chunk-3LPZYQS6.js";import"./chunk-BJKHMXAA.js";import"./chunk-EGUIWOC3.js";import{b as U,c as X}from"./chunk-VQBUIUJC.js";import"./chunk-HYXSN2J6.js";import"./chunk-2JU7KFOZ.js";import"./chunk-DB3W42KN.js";import"./chunk-EQLHPWVB.js";import{g as Z}from"./chunk-QGYIPOLS.js";import"./chunk-WACBOZDR.js";import"./chunk-TX6ZFPHY.js";import"./chunk-YZP4FX7D.js";import"./chunk-2FWFPV5I.js";import{la as K}from"./chunk-WAXYETAG.js";import{F as G,c as k,h as Q,o as j,q}from"./chunk-OJ5SEYSF.js";import"./chunk-HBH23XBO.js";import"./chunk-5I74KDE7.js";import{d as J}from"./chunk-TS6CZC3J.js";import"./chunk-7EVERJPZ.js";import{$d as N,Bb as p,Bc as _,Cb as o,Cc as s,Db as i,Dc as D,Eb as f,Ed as W,Hc as O,Lb as I,Nb as h,Pb as m,Wa as a,Zd as A,cb as C,cc as l,dc as M,ec as g,ee as z,fd as L,gb as B,hc as v,ic as S,jc as b,kb as F,mb as x,nc as V,od as R,rd as H,sc as T,ta as u,tc as w,ua as y,ub as P,wb as E}from"./chunk-VS3RTXZC.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};
|