dealpos 25.44.2 → 25.44.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/{chunk-J2QBKYVZ.js → chunk-2CXL6IDS.js} +1 -1
- package/browser/{chunk-J7JOV2UE.js → chunk-2GALXGGK.js} +1 -1
- package/browser/{chunk-CLIFAF7L.js → chunk-2HLP4RJY.js} +2 -2
- package/browser/{chunk-XMABGEYA.js → chunk-42NBSIMT.js} +1 -1
- package/browser/{chunk-AXITAME4.js → chunk-4XV2ANDU.js} +1 -1
- package/browser/{chunk-OGM6TARA.js → chunk-57UEET7E.js} +2 -2
- package/browser/{chunk-PW7JCR65.js → chunk-5FSR4IZJ.js} +1 -1
- package/browser/{chunk-JXNDVG64.js → chunk-6XO6NT6E.js} +1 -1
- package/browser/{chunk-W5EJQZB4.js → chunk-7LEIOTZN.js} +1 -1
- package/browser/{chunk-CW2D4XVM.js → chunk-7QZ26SB7.js} +1 -1
- package/browser/{chunk-7M35JNER.js → chunk-A3JFNOMC.js} +1 -1
- package/browser/{chunk-DHQWJAOX.js → chunk-ABOGLWVN.js} +1 -1
- package/browser/{chunk-KAJ5NYU6.js → chunk-AJM4N35T.js} +1 -1
- package/browser/{chunk-MS67N3VC.js → chunk-BKK7PT4Q.js} +1 -1
- package/browser/{chunk-BA64MIHJ.js → chunk-BLSJR63P.js} +1 -1
- package/browser/{chunk-T6TPCDSC.js → chunk-BXSCBMI2.js} +1 -1
- package/browser/{chunk-7QOZKOAW.js → chunk-CDCIW4H7.js} +1 -1
- package/browser/{chunk-4WAY7P2M.js → chunk-CXKH3Y7Q.js} +1 -1
- package/browser/{chunk-APFUVBFJ.js → chunk-DDJ6XGOR.js} +1 -1
- package/browser/{chunk-QPS677LS.js → chunk-DK2SUVKT.js} +1 -1
- package/browser/{chunk-5E64BHHD.js → chunk-DOYS2PZE.js} +1 -1
- package/browser/{chunk-RUFSPHPN.js → chunk-DTFMCXRP.js} +1 -1
- package/browser/{chunk-Y3YIK27D.js → chunk-DWZ6HNBA.js} +1 -1
- package/browser/{chunk-ZIUOCAE2.js → chunk-EGRFS63E.js} +1 -1
- package/browser/{chunk-PJTFJKGS.js → chunk-EIYVPVSH.js} +1 -1
- package/browser/{chunk-PMEWJS46.js → chunk-EKX3MMTJ.js} +1 -1
- package/browser/{chunk-3FD5W6K2.js → chunk-ESMCBLSB.js} +2 -2
- package/browser/{chunk-YH3UWFOD.js → chunk-EUY2EQVP.js} +1 -1
- package/browser/{chunk-SPTLCHEU.js → chunk-EY2BEKKH.js} +1 -1
- package/browser/{chunk-CT7VQIZ7.js → chunk-FDFNWO3I.js} +1 -1
- package/browser/{chunk-YR223T2R.js → chunk-FEHHVG4G.js} +2 -2
- package/browser/{chunk-QMBZSWSZ.js → chunk-FEW55RO5.js} +1 -1
- package/browser/{chunk-2X7JXLPO.js → chunk-FTRVMNGV.js} +1 -1
- package/browser/{chunk-CFDWM2SO.js → chunk-GGOZMZWR.js} +1 -1
- package/browser/{chunk-PKT3SIRZ.js → chunk-GKFPNF3O.js} +1 -1
- package/browser/{chunk-BO6JXHTU.js → chunk-GN6RJLLA.js} +1 -1
- package/browser/{chunk-ODOX327P.js → chunk-GQO3Q75J.js} +1 -1
- package/browser/{chunk-NHKASBAN.js → chunk-GUURROIV.js} +1 -1
- package/browser/{chunk-DTWCNQ4N.js → chunk-HRDXDHQN.js} +2 -2
- package/browser/{chunk-M57BBETM.js → chunk-IYV6WHO4.js} +1 -1
- package/browser/{chunk-XFP34FRB.js → chunk-J4HLBSTR.js} +1 -1
- package/browser/{chunk-XMABJJGK.js → chunk-JMQDEPZK.js} +1 -1
- package/browser/{chunk-3UXPJWJQ.js → chunk-JUYFABKK.js} +1 -1
- package/browser/{chunk-655R7PDY.js → chunk-K7BQAEUZ.js} +1 -1
- package/browser/{chunk-WM2ISZEL.js → chunk-KH3Y6E5S.js} +1 -1
- package/browser/{chunk-AAX2TBEM.js → chunk-LAJ6WFQN.js} +1 -1
- package/browser/{chunk-QR4VV4GM.js → chunk-LED2YGBL.js} +1 -1
- package/browser/{chunk-UKFG66EY.js → chunk-LKII7K7T.js} +1 -1
- package/browser/{chunk-J2HRW2OD.js → chunk-LKXAGCSU.js} +1 -1
- package/browser/{chunk-2RZHUSQU.js → chunk-LQ63SW7R.js} +1 -1
- package/browser/{chunk-5XINUUVX.js → chunk-MB5ABPXA.js} +2 -2
- package/browser/{chunk-PLZ3ODXT.js → chunk-MBJ5EVQM.js} +1 -1
- package/browser/{chunk-2ZDXMF6S.js → chunk-MBRMFZQD.js} +1 -1
- package/browser/{chunk-CMAE52E3.js → chunk-MJYYXEWE.js} +1 -1
- package/browser/{chunk-D4G24QCQ.js → chunk-ML4F7QSG.js} +1 -1
- package/browser/{chunk-3Q3FUJ44.js → chunk-MO4GVGHJ.js} +1 -1
- package/browser/{chunk-IJVIVNVH.js → chunk-MPCAKU6Y.js} +1 -1
- package/browser/{chunk-OZG5SOW6.js → chunk-NMBTXI33.js} +1 -1
- package/browser/{chunk-O35SSVC5.js → chunk-PDDA2XEV.js} +1 -1
- package/browser/{chunk-V77ELRLY.js → chunk-PKRB5QHY.js} +1 -1
- package/browser/{chunk-P63I2MBK.js → chunk-PMFQUQRF.js} +1 -1
- package/browser/{chunk-YCTTD62Z.js → chunk-QO6OCZ2F.js} +2 -2
- package/browser/{chunk-53I2NSFZ.js → chunk-RDMLIBMG.js} +1 -1
- package/browser/{chunk-6PSJSHPW.js → chunk-RJEOTZXL.js} +1 -1
- package/browser/{chunk-BC4RWXWV.js → chunk-S5QHJZP7.js} +1 -1
- package/browser/{chunk-SAAWSHJS.js → chunk-SJIRHP7T.js} +1 -1
- package/browser/{chunk-EPUDCYJW.js → chunk-SXKMJUZG.js} +1 -1
- package/browser/{chunk-CKNSQS62.js → chunk-T4LU2Z4H.js} +1 -1
- package/browser/chunk-UGRZNVJI.js +1 -0
- package/browser/{chunk-SZ7M2HSN.js → chunk-UTP22HZJ.js} +1 -1
- package/browser/{chunk-ZJHWFDGD.js → chunk-V3Y7QS6E.js} +1 -1
- package/browser/{chunk-SCB5WW4J.js → chunk-VHLIFXL2.js} +1 -1
- package/browser/{chunk-BSFKTGRH.js → chunk-VK6JMOTL.js} +1 -1
- package/browser/{chunk-34KJ7YHX.js → chunk-VPQTKMSG.js} +1 -1
- package/browser/{chunk-FOF7BQHC.js → chunk-VTUDAX3L.js} +1 -1
- package/browser/{chunk-AUTKQFDZ.js → chunk-WEZJHAOW.js} +1 -1
- package/browser/{chunk-RW5SHW7P.js → chunk-WOQG2RJS.js} +1 -1
- package/browser/{chunk-ZIT77RS6.js → chunk-WTXHMI64.js} +2 -2
- package/browser/{chunk-VFEOT7L6.js → chunk-XM2Q4S3I.js} +1 -1
- package/browser/{chunk-YV6PGG6H.js → chunk-YPHODEQB.js} +1 -1
- package/browser/{chunk-RKZPHRAC.js → chunk-YTS3IROV.js} +1 -1
- package/browser/{chunk-47RLR2PC.js → chunk-ZB4A4IBA.js} +1 -1
- package/browser/index.html +2 -2
- package/browser/{main-4NFW4OXW.js → main-CNAQ374V.js} +2 -2
- package/package.json +1 -1
- package/browser/chunk-OTEI4GZK.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as U,d as W}from"./chunk-
|
|
1
|
+
import{c as U,d as W}from"./chunk-LKII7K7T.js";import{a as X,b as Y}from"./chunk-6JAL37Y4.js";import{b as K,c as Q}from"./chunk-JOXTERIM.js";import{a as A}from"./chunk-7VKFVS7K.js";import{la as J}from"./chunk-EEEAUYZ6.js";import{F as G,h as B,o as q}from"./chunk-RVXZOIFQ.js";import{a as C}from"./chunk-ZZGSAFGO.js";import{$a as _,Ac as k,Db as H,Fa as M,Fc as F,Ib as c,Jb as m,Nb as L,Ob as V,Qb as j,Rb as n,Y as S,Yd as d,bd as N,ca as h,cd as P,d as x,db as b,dc as I,ec as v,fa as T,ga as u,gc as E,ja as w,jd as z,kb as $,ma as O,na as D,o as f,qb as a,va as p,vb as l,wa as g,zc as R}from"./chunk-UXRO4UFY.js";var y=class o{signalRClient=D(A);continuedCategories$;allCategories$;_onOpenTreeSelector=new x;onOpenTreeSelector$=this._onOpenTreeSelector.asObservable();constructor(t){this.continuedCategories$=this.onOpenTreeSelector$.pipe(u(this.signalRClient.recacheCategory$),h((e,[i,r])=>r||!e.length?(this.signalRClient.resetCategoryCache(),t.post("/api/catalog/product/GetProductStorageOptions")):f(e),[]),S(1)),this.allCategories$=this.onOpenTreeSelector$.pipe(u(this.signalRClient.recacheCategory$),h((e,[i,r])=>r||!e.length?t.get("/API/catalog/category/SelectOptions"):f(e),[]),S(1))}onOpenTreeSelector(){this._onOpenTreeSelector.next(!0)}forceLoadCategories(){this._onOpenTreeSelector.next(!0)}static \u0275fac=function(e){return new(e||o)(O(d))};static \u0275prov=w({token:o,factory:o.\u0275fac,providedIn:"root"})};function ie(o,t){o&1&&L(0)}function re(o,t){if(o&1&&(c(0,"p-floatLabel",1),a(1,ie,1,0,"ng-container",2),c(2,"label",3),v(3,"Category"),m()()),o&2){n();let e=I(3);_(),l("ngTemplateOutlet",e)}}function ne(o,t){o&1&&L(0)}function ae(o,t){if(o&1&&a(0,ne,1,0,"ng-container",2),o&2){n();let e=I(3);l("ngTemplateOutlet",e)}}function le(o,t){if(o&1&&(c(0,"div",6),v(1),m()),o&2){let e=n(2);l("matTooltip",e.selectedCategoryLabel),_(),E(" ",e.selectedCategoryLabel," ")}}function ce(o,t){if(o&1){let e=V();c(0,"p-treeSelect",4),R(1,"async"),j("click",function(){p(e);let r=n();return g(r.loadCategories())})("ngModelChange",function(r){p(e);let s=n();return g(s.onSelectCategory(r))})("onClear",function(){p(e);let r=n();return g(r.onClear())}),a(2,le,2,2,"ng-template",5),m()}if(o&2){let e=n();l("options",k(1,3,e.categories$))("ngModel",e.selectedCategory)("showClear",e.showClear)}}var Z=class o{constructor(t,e){this.http=t;this.treeSelector=e}continuedCategoriesOnly=!0;categories=[];showClear=!1;showLabel=!1;isInitializedCategoryLabel=!1;selectedCategory;selectedCategoryID;selectedCategoryIDChange=new M;selectedCategoryLabel;top=0;isLoadCategories=!1;categories$;ngAfterViewInit(){let t=document.querySelector("body");this.top=t.getBoundingClientRect().top*-1}ngOnInit(){this.isInitializedCategoryLabel&&(C.IsEmpty(this.selectedCategoryID)&&C.IsNotEmpty(this.categories)&&(this.selectedCategoryID=this.categories[0]?.key),this.selectedCategory=this.findSelectedCategory(this.categories,this.selectedCategoryID),this.generateLabelSelectedCategory(this.selectedCategory)),this.categories$=this.continuedCategoriesOnly?this.treeSelector.continuedCategories$:this.treeSelector.allCategories$,this.categories$=this.categories$.pipe(T(t=>{this.selectedCategory=this.findSelectedCategory(t,this.selectedCategoryID),this.generateLabelSelectedCategory(this.selectedCategory)}))}onSelectCategory(t){this.selectedCategory=t,this.generateLabelSelectedCategory(this.selectedCategory),this.selectedCategoryID=t?.key,this.selectedCategoryIDChange.emit(this.selectedCategoryID)}generateLabelSelectedCategory(t){if(t){let e=[];this.selectedCategoryLabel="";do e=[...e,t.label],t=t.parent;while(t!==void 0);this.selectedCategoryLabel=e.reverse().join("/")}else this.selectedCategoryLabel="Select Storage Location"}findSelectedCategory(t,e){if(C.IsNotEmpty(e))for(let i of t){if(i.key===e)return i;{i.children=i.children?i.children:[],i.children=i.children.map(s=>(s.parent=i,s));let r=this.findSelectedCategory(i.children,e);if(r)return r}}else return null}loadCategories(){this.treeSelector.onOpenTreeSelector()}onClear(){this.selectedCategoryID=null,this.selectedCategoryIDChange.emit(this.selectedCategoryID)}static \u0275fac=function(e){return new(e||o)(b(d),b(y))};static \u0275cmp=$({type:o,selectors:[["POS-storage-location-select"]],inputs:{continuedCategoriesOnly:"continuedCategoriesOnly",categories:"categories",showClear:"showClear",showLabel:"showLabel",isInitializedCategoryLabel:"isInitializedCategoryLabel",selectedCategoryID:"selectedCategoryID"},outputs:{selectedCategoryIDChange:"selectedCategoryIDChange"},decls:4,vars:1,consts:[["categorySelectTemplate",""],["variant","on",1,"w-100"],[4,"ngTemplateOutlet"],["for","selectCategory",1,"tree-category-label"],["appendTo","body","selectionMode","single","filter","true","filterInputAutoFocus","true","scrollHeight","250px","inputId","selectCategory","placeholder","Select Storage Location",3,"click","ngModelChange","onClear","options","ngModel","showClear"],["pTemplate","value"],["matTooltipPosition","above",3,"matTooltip"]],template:function(e,i){e&1&&a(0,re,4,1,"p-floatLabel",1)(1,ae,1,1,"ng-container")(2,ce,3,5,"ng-template",null,0,F),e&2&&H(i.showLabel?0:1)},dependencies:[z,N,P,Q,K,W,U,J,G,B,q,Y,X],styles:[".p-popover.p-component{z-index:10000000000000000000000!important} .p-treeselect-panel .p-treeselect-items-wrapper .p-tree{padding-left:4px!important} .p-float-label .p-inputwrapper-filled~label.tree-category-label{left:.5rem!important}"]})};export{Z as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as X,b as Z}from"./chunk-KWTU2B2D.js";import{e as Q,f as W}from"./chunk-
|
|
1
|
+
import{a as X,b as Z}from"./chunk-KWTU2B2D.js";import{e as Q,f as W}from"./chunk-BLSJR63P.js";import"./chunk-V3Y7QS6E.js";import{a as z,b as J}from"./chunk-EY2BEKKH.js";import"./chunk-3GOO5E5D.js";import"./chunk-XMYLHF4C.js";import"./chunk-H7F34T25.js";import"./chunk-JOXTERIM.js";import{O as K}from"./chunk-TSIYPTYI.js";import"./chunk-3YKVLHZG.js";import"./chunk-ZHY3BUQJ.js";import"./chunk-LE3BKIDY.js";import"./chunk-2FWFPV5I.js";import"./chunk-EEEAUYZ6.js";import"./chunk-RVXZOIFQ.js";import"./chunk-5FSR4IZJ.js";import"./chunk-JMQDEPZK.js";import{d as Y}from"./chunk-ZZGSAFGO.js";import"./chunk-DK2SUVKT.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-UXRO4UFY.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};
|