dealpos 25.42.1 → 25.43.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 (159) hide show
  1. package/browser/{chunk-ROQHG6JX.js → chunk-2CU7XQYN.js} +1 -1
  2. package/browser/{chunk-OIQL44PV.js → chunk-2DCP5K6S.js} +1 -1
  3. package/browser/{chunk-YIKW3UR6.js → chunk-2L54CRB2.js} +1 -1
  4. package/browser/{chunk-ZTHPT62A.js → chunk-3A4C23H5.js} +1 -1
  5. package/browser/{chunk-QYWAJKFK.js → chunk-3LKY4V7E.js} +1 -1
  6. package/browser/{chunk-PVDNKSRC.js → chunk-3REOXXPI.js} +1 -1
  7. package/browser/{chunk-GHA3WIJU.js → chunk-3RWVYWJF.js} +1 -1
  8. package/browser/{chunk-2YMLZZTQ.js → chunk-3WSASNIT.js} +1 -1
  9. package/browser/chunk-4G2HIE3A.js +1 -0
  10. package/browser/{chunk-C2CGBWBH.js → chunk-4JM455M6.js} +1 -1
  11. package/browser/chunk-4PPRFE5H.js +1 -0
  12. package/browser/{chunk-NJS6IQX6.js → chunk-4R4W625N.js} +1 -1
  13. package/browser/{chunk-UECAH6V7.js → chunk-4SFHOQ3Y.js} +1 -1
  14. package/browser/{chunk-UU55EO4X.js → chunk-5BZEOCFN.js} +1 -1
  15. package/browser/{chunk-5BKBBN4I.js → chunk-5CDAHDI5.js} +1 -1
  16. package/browser/{chunk-ZSOLQ2F4.js → chunk-5NDARG5X.js} +1 -1
  17. package/browser/{chunk-46DETXA6.js → chunk-5OS5VELO.js} +1 -1
  18. package/browser/{chunk-X2WGP6SP.js → chunk-5SRC2QUI.js} +1 -1
  19. package/browser/{chunk-UOWOBHQL.js → chunk-64EULF5I.js} +1 -1
  20. package/browser/{chunk-DLONNLPI.js → chunk-6CQ6XYJG.js} +1 -1
  21. package/browser/{chunk-IC3DZAMU.js → chunk-6G37ZXRX.js} +1 -1
  22. package/browser/{chunk-TLXGEI76.js → chunk-772SQL5I.js} +1 -1
  23. package/browser/{chunk-NPUWXK3K.js → chunk-7C7GJT3E.js} +1 -1
  24. package/browser/{chunk-FOWSNZZX.js → chunk-7O3BTVW2.js} +1 -1
  25. package/browser/{chunk-5VIFPZ5D.js → chunk-7S4WUQBK.js} +1 -1
  26. package/browser/{chunk-ADE4IPMV.js → chunk-7V7Q67KX.js} +1 -1
  27. package/browser/{chunk-6ZN7JR6K.js → chunk-7VKFVS7K.js} +1 -1
  28. package/browser/{chunk-ENTVT5C2.js → chunk-7WLFUG2A.js} +1 -1
  29. package/browser/{chunk-N6QITTR2.js → chunk-A7PNRSF2.js} +1 -1
  30. package/browser/{chunk-IC7LV3SK.js → chunk-A7R2DZD3.js} +1 -1
  31. package/browser/{chunk-4HEESH5A.js → chunk-AEHOTFB4.js} +1 -1
  32. package/browser/chunk-AJCH3WAF.js +1 -0
  33. package/browser/{chunk-RDXTLLRW.js → chunk-AQC5G2DR.js} +1 -1
  34. package/browser/{chunk-XZRKMN4V.js → chunk-AQUQUDDZ.js} +1 -1
  35. package/browser/{chunk-5HJ6VGWE.js → chunk-ASGXDOOQ.js} +1 -1
  36. package/browser/{chunk-YPFMEFOD.js → chunk-BXAYNP7A.js} +1 -1
  37. package/browser/{chunk-EFDAS2KA.js → chunk-CD3BSGAP.js} +1 -1
  38. package/browser/chunk-CX4UR7ZZ.js +18 -0
  39. package/browser/{chunk-MQKEWZMW.js → chunk-CXRVPHHO.js} +1 -1
  40. package/browser/{chunk-OZ5JEMRA.js → chunk-D5P4CYL5.js} +1 -1
  41. package/browser/{chunk-VIJ7B625.js → chunk-D6VG5PSE.js} +1 -1
  42. package/browser/{chunk-SIRUW7U2.js → chunk-DKPNAGIM.js} +1 -1
  43. package/browser/{chunk-HG3CFH36.js → chunk-DNSE6AZ3.js} +1 -1
  44. package/browser/{chunk-EKKU5TMC.js → chunk-E7L36INB.js} +1 -1
  45. package/browser/{chunk-I3ZGST4N.js → chunk-EENVAF36.js} +1 -1
  46. package/browser/chunk-EH6IO5FW.js +1 -0
  47. package/browser/{chunk-VGPJKK3G.js → chunk-EJDIY62U.js} +1 -1
  48. package/browser/{chunk-T26KVRGE.js → chunk-EMP32K7Q.js} +1 -1
  49. package/browser/{chunk-MGQ5I7BK.js → chunk-EYE63KIO.js} +1 -1
  50. package/browser/chunk-F2Z6MRHX.js +1 -0
  51. package/browser/{chunk-N23TC7B4.js → chunk-FAJUK2PL.js} +1 -1
  52. package/browser/chunk-FF56HWOF.js +127 -0
  53. package/browser/{chunk-STUDNF4L.js → chunk-G2NUOEHT.js} +1 -1
  54. package/browser/{chunk-KCZNKMQH.js → chunk-GFT5QOAV.js} +1 -1
  55. package/browser/{chunk-LO3FAFDO.js → chunk-GINOZV6C.js} +1 -1
  56. package/browser/{chunk-RIRZVGFR.js → chunk-GNXJCMBC.js} +1 -1
  57. package/browser/{chunk-7BNQDGUO.js → chunk-GPP3J3W4.js} +1 -1
  58. package/browser/{chunk-UMT5IJRJ.js → chunk-H6LHYTUN.js} +1 -1
  59. package/browser/{chunk-WPFMJVWU.js → chunk-HAGFCQCM.js} +1 -1
  60. package/browser/{chunk-YAWVVMMS.js → chunk-HIALMESF.js} +1 -1
  61. package/browser/{chunk-EGIDHMPA.js → chunk-HQQWO76P.js} +1 -1
  62. package/browser/{chunk-7WNL4VON.js → chunk-HYRNR45J.js} +1 -1
  63. package/browser/{chunk-7SC45GNA.js → chunk-IE6UBT7C.js} +1 -1
  64. package/browser/chunk-IFQV5GDJ.js +1 -0
  65. package/browser/{chunk-D5K5VZVN.js → chunk-IGEAG6HP.js} +1 -1
  66. package/browser/{chunk-5BE43QU3.js → chunk-IJ3Y6CA4.js} +1 -1
  67. package/browser/{chunk-XJ25XOBC.js → chunk-INCYKSJF.js} +1 -1
  68. package/browser/{chunk-N47VNTBG.js → chunk-IQ26VFNR.js} +1 -1
  69. package/browser/{chunk-N5UW2RHA.js → chunk-IQ4IMICT.js} +1 -1
  70. package/browser/{chunk-FLCAZ4FS.js → chunk-ITLMINSX.js} +1 -1
  71. package/browser/{chunk-XHG7GWS5.js → chunk-IUDDIQMT.js} +2 -2
  72. package/browser/chunk-JDZEWPPQ.js +1 -0
  73. package/browser/{chunk-5Y67S5BV.js → chunk-JLL2ILJJ.js} +1 -1
  74. package/browser/{chunk-UY6FY532.js → chunk-JORCTO5O.js} +1 -1
  75. package/browser/{chunk-RFAAXFT5.js → chunk-JU6MGU3M.js} +1 -1
  76. package/browser/{chunk-TBHZV7EF.js → chunk-JYNN4IZB.js} +1 -1
  77. package/browser/{chunk-MH6ADXRE.js → chunk-KBO5VO7S.js} +1 -1
  78. package/browser/{chunk-F6Z777C5.js → chunk-LC3XCQL2.js} +1 -1
  79. package/browser/{chunk-IYF464XX.js → chunk-LGVT3CR2.js} +1 -1
  80. package/browser/{chunk-PAXXDG73.js → chunk-M7QHMLIG.js} +1 -1
  81. package/browser/{chunk-WNVQWJ2T.js → chunk-MDGMZ65B.js} +1 -1
  82. package/browser/{chunk-ZWBEJM56.js → chunk-MDY5R453.js} +8 -8
  83. package/browser/{chunk-JKLJ4KAW.js → chunk-MMX7JWK6.js} +1 -1
  84. package/browser/chunk-MXUYJQOT.js +57 -0
  85. package/browser/{chunk-R3KCKK52.js → chunk-NGLW2JVN.js} +1 -1
  86. package/browser/{chunk-5EJERM6E.js → chunk-NIAATSHN.js} +1 -1
  87. package/browser/{chunk-AZO64X7U.js → chunk-NXXNEU5Q.js} +1 -1
  88. package/browser/{chunk-XO6RYTAS.js → chunk-NZXT22JH.js} +1 -1
  89. package/browser/chunk-OEEJBHA6.js +1 -0
  90. package/browser/{chunk-WRBZW62O.js → chunk-OL6COSQS.js} +1 -1
  91. package/browser/{chunk-MCQ4J3UT.js → chunk-PHGUFK7B.js} +1 -1
  92. package/browser/{chunk-U4U76CXH.js → chunk-PRBPKAI4.js} +1 -1
  93. package/browser/chunk-Q3SBBXUT.js +1 -0
  94. package/browser/{chunk-ITQF6HII.js → chunk-Q3T47ZI6.js} +1 -1
  95. package/browser/{chunk-WM2AITL6.js → chunk-QCXWKQ7Z.js} +1 -1
  96. package/browser/chunk-QDE7PB5F.js +1 -0
  97. package/browser/{chunk-4E2KYPJT.js → chunk-QEZV5DGZ.js} +1 -1
  98. package/browser/{chunk-YPOODN5H.js → chunk-QJ4LGJCR.js} +1 -1
  99. package/browser/{chunk-IW63ASKB.js → chunk-QU4LPPFI.js} +8 -8
  100. package/browser/{chunk-WTP4E6M5.js → chunk-R4FFGZYI.js} +1 -1
  101. package/browser/{chunk-5AJG5HDI.js → chunk-R6NHGFCL.js} +1 -1
  102. package/browser/{chunk-XZWMENTO.js → chunk-RADHAROZ.js} +1 -1
  103. package/browser/{chunk-5SEFV3QG.js → chunk-RAIYXIUN.js} +1 -1
  104. package/browser/{chunk-GNAF5D23.js → chunk-RDLECCOU.js} +2 -2
  105. package/browser/chunk-RE4ILURJ.js +1 -0
  106. package/browser/{chunk-AY5QZ3W6.js → chunk-RJ5DYWUR.js} +1 -1
  107. package/browser/{chunk-RK5QSVFP.js → chunk-RXIPRX4H.js} +1 -1
  108. package/browser/{chunk-W4UISTRM.js → chunk-SEXQYEXV.js} +1 -1
  109. package/browser/{chunk-Z56AQWHN.js → chunk-SHMXCJ6Q.js} +1 -1
  110. package/browser/{chunk-W7I2T4SZ.js → chunk-TAVO3B4U.js} +1 -1
  111. package/browser/{chunk-XYZNPGYI.js → chunk-THXV6YJP.js} +1 -1
  112. package/browser/{chunk-AAI6JWC5.js → chunk-TJOJSY2L.js} +1 -1
  113. package/browser/{chunk-TFE7D7VV.js → chunk-TP762HYD.js} +2 -2
  114. package/browser/{chunk-T2IJ4MCB.js → chunk-TQZQYUFG.js} +1 -1
  115. package/browser/{chunk-HIKFNCGX.js → chunk-TROJCJRS.js} +1 -1
  116. package/browser/{chunk-RTE36RZ4.js → chunk-TTHREZAR.js} +1 -1
  117. package/browser/{chunk-H3ARLDNZ.js → chunk-TUQ4INQ4.js} +1 -1
  118. package/browser/{chunk-JUT3PXG2.js → chunk-TZ74SUXJ.js} +1 -1
  119. package/browser/{chunk-KGLFSTLG.js → chunk-TZKLOUVL.js} +1 -1
  120. package/browser/{chunk-PDJ7PMBB.js → chunk-U5OIRIFT.js} +14 -14
  121. package/browser/{chunk-ZJ23VRN3.js → chunk-UEQT5HE5.js} +1 -1
  122. package/browser/{chunk-6OOS5QHG.js → chunk-UP43YMU4.js} +1 -1
  123. package/browser/{chunk-5NDP4IKK.js → chunk-UQP7S73H.js} +1 -1
  124. package/browser/{chunk-BEPFMRGE.js → chunk-VFGDPNH2.js} +1 -1
  125. package/browser/{chunk-TVEGYRXE.js → chunk-VSF6PYZW.js} +1 -1
  126. package/browser/chunk-W3VF2RCW.js +1 -0
  127. package/browser/{chunk-6CAS42OB.js → chunk-W6A2EZUH.js} +1 -1
  128. package/browser/{chunk-BSIHS2EA.js → chunk-WYHR2ET7.js} +2 -2
  129. package/browser/{chunk-EGQ2HW7A.js → chunk-XDJ4AOAR.js} +1 -1
  130. package/browser/{chunk-PGWC5FQQ.js → chunk-Y6VMIGXC.js} +1 -1
  131. package/browser/{chunk-B4HMFP42.js → chunk-YCN42CZP.js} +1 -1
  132. package/browser/chunk-YWGMCAEP.js +3 -0
  133. package/browser/{chunk-5ZIFEEGI.js → chunk-ZBTG35T6.js} +1 -1
  134. package/browser/{chunk-YN74XRON.js → chunk-ZH7IWOYT.js} +1 -1
  135. package/browser/chunk-ZPZDGQWP.js +16 -0
  136. package/browser/{chunk-SZPU2EUQ.js → chunk-ZSE5MOHQ.js} +1 -1
  137. package/browser/{chunk-GIKR6Y2K.js → chunk-ZVDY66SR.js} +1 -1
  138. package/browser/index.html +2 -2
  139. package/browser/{main-SZ6HFSZZ.js → main-XJRM5GZV.js} +2 -2
  140. package/browser/{styles-EM6OTRT2.css → styles-SJXE22QD.css} +1 -1
  141. package/package.json +1 -1
  142. package/browser/chunk-4MOSTNVA.js +0 -3
  143. package/browser/chunk-55U65HSD.js +0 -1
  144. package/browser/chunk-5EKTXVHQ.js +0 -1
  145. package/browser/chunk-5MPRE3II.js +0 -1
  146. package/browser/chunk-BKUC3UED.js +0 -1
  147. package/browser/chunk-HFCVE2EL.js +0 -16
  148. package/browser/chunk-KPXHDKIY.js +0 -1
  149. package/browser/chunk-KTBBWEI2.js +0 -1
  150. package/browser/chunk-O47TK53N.js +0 -1
  151. package/browser/chunk-OEARSIZR.js +0 -1
  152. package/browser/chunk-QMRUEU6Q.js +0 -1
  153. package/browser/chunk-SA6YKTKS.js +0 -57
  154. package/browser/chunk-STIS4QW6.js +0 -1
  155. package/browser/chunk-VAMTYISE.js +0 -18
  156. package/browser/chunk-YQL4ALTP.js +0 -127
  157. package/browser/chunk-YTGZYBEI.js +0 -1
  158. package/browser/chunk-YWGXM2C3.js +0 -1
  159. package/browser/chunk-ZRCTLVL4.js +0 -1
@@ -1 +1 @@
1
- import{a as V,b as E}from"./chunk-DAIHPIA2.js";import{a as $}from"./chunk-6ZN7JR6K.js";import{F as H,a as j}from"./chunk-RVXZOIFQ.js";import{Ac as k,D as u,E as S,Ib as b,Jb as y,Qb as O,S as v,Y as g,Yd as M,aa as f,cd as A,d as p,db as C,ia as d,ja as h,jc as _,jd as T,kb as P,kc as R,lc as N,ma as l,o as m,pc as I,t as o,vb as a,zc as w}from"./chunk-UXRO4UFY.js";var s=class t{constructor(e,n){this.httpService=e;this.signalRService=n;this.initSalesPersons()}salesPersonApi="/api/Contact/SelectSalesPersonOptions";salesPerson$=m([]);onOpenNgSelect=new p;_onOpenNgSelect$=this.onOpenNgSelect.asObservable();initSalesPersons(){this.salesPerson$=u(this._onOpenNgSelect$.pipe(v(),o(e=>({source:"select",value:e}))),this.signalRService.recacheSalesPerson$.pipe(o(e=>({source:"signalR",value:e})))).pipe(S(e=>e.value==!0),f(e=>(e.source=="signalR"&&this.signalRService.resetOutletCache(),this.httpService.get(this.salesPersonApi))),g(1))}onOpenNgselect(){this.onOpenNgSelect.next(!0)}static \u0275fac=function(n){return new(n||t)(l(M),l($))};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})};var F=class t{constructor(e){this.salesPersonService=e}value=null;onChange=()=>{};onTouched=()=>{};placeholder="Choose Sales Person";multiple=!1;clearable=!0;salesPerson$;ngOnInit(){this.salesPerson$=this.salesPersonService.salesPerson$}onClickSelect(){this.salesPersonService.onOpenNgselect()}writeValue(e){this.value=e}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}onSelectChange(){this.onChange(this.value)}static \u0275fac=function(n){return new(n||t)(C(s))};static \u0275cmp=P({type:t,selectors:[["sales-person-selector"]],inputs:{placeholder:"placeholder",multiple:"multiple",clearable:"clearable"},features:[I([{provide:j,useExisting:d(()=>t),multi:!0}])],decls:2,vars:5,consts:[["bindValue","k","bindLabel","v",3,"selectedChange","onOpen","items","selected","placeholder"]],template:function(n,i){n&1&&(b(0,"ng-select-infinite",0),w(1,"async"),N("selectedChange",function(r){return R(i.value,r)||(i.value=r),r}),O("selectedChange",function(){return i.onSelectChange()})("onOpen",function(){return i.onClickSelect()}),y()),n&2&&(a("items",k(1,3,i.salesPerson$)),_("selected",i.value),a("placeholder",i.placeholder))},dependencies:[T,A,H,E,V],encapsulation:2})};export{F as a};
1
+ import{a as V,b as E}from"./chunk-DAIHPIA2.js";import{a as $}from"./chunk-7VKFVS7K.js";import{F as H,a as j}from"./chunk-RVXZOIFQ.js";import{Ac as k,D as u,E as S,Ib as b,Jb as y,Qb as O,S as v,Y as g,Yd as M,aa as f,cd as A,d as p,db as C,ia as d,ja as h,jc as _,jd as T,kb as P,kc as R,lc as N,ma as l,o as m,pc as I,t as o,vb as a,zc as w}from"./chunk-UXRO4UFY.js";var s=class t{constructor(e,n){this.httpService=e;this.signalRService=n;this.initSalesPersons()}salesPersonApi="/api/Contact/SelectSalesPersonOptions";salesPerson$=m([]);onOpenNgSelect=new p;_onOpenNgSelect$=this.onOpenNgSelect.asObservable();initSalesPersons(){this.salesPerson$=u(this._onOpenNgSelect$.pipe(v(),o(e=>({source:"select",value:e}))),this.signalRService.recacheSalesPerson$.pipe(o(e=>({source:"signalR",value:e})))).pipe(S(e=>e.value==!0),f(e=>(e.source=="signalR"&&this.signalRService.resetOutletCache(),this.httpService.get(this.salesPersonApi))),g(1))}onOpenNgselect(){this.onOpenNgSelect.next(!0)}static \u0275fac=function(n){return new(n||t)(l(M),l($))};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})};var F=class t{constructor(e){this.salesPersonService=e}value=null;onChange=()=>{};onTouched=()=>{};placeholder="Choose Sales Person";multiple=!1;clearable=!0;salesPerson$;ngOnInit(){this.salesPerson$=this.salesPersonService.salesPerson$}onClickSelect(){this.salesPersonService.onOpenNgselect()}writeValue(e){this.value=e}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}onSelectChange(){this.onChange(this.value)}static \u0275fac=function(n){return new(n||t)(C(s))};static \u0275cmp=P({type:t,selectors:[["sales-person-selector"]],inputs:{placeholder:"placeholder",multiple:"multiple",clearable:"clearable"},features:[I([{provide:j,useExisting:d(()=>t),multi:!0}])],decls:2,vars:5,consts:[["bindValue","k","bindLabel","v",3,"selectedChange","onOpen","items","selected","placeholder"]],template:function(n,i){n&1&&(b(0,"ng-select-infinite",0),w(1,"async"),N("selectedChange",function(r){return R(i.value,r)||(i.value=r),r}),O("selectedChange",function(){return i.onSelectChange()})("onOpen",function(){return i.onClickSelect()}),y()),n&2&&(a("items",k(1,3,i.salesPerson$)),_("selected",i.value),a("placeholder",i.placeholder))},dependencies:[T,A,H,E,V],encapsulation:2})};export{F as a};
@@ -0,0 +1 @@
1
+ import{$a as i,$b as F,Db as p,Fa as w,Ib as o,Ja as l,Jb as a,Kb as h,Ob as S,Qb as E,Rb as m,Sb as u,Tb as f,Yb as I,Yc as N,_b as D,ec as M,gc as v,jd as j,ka as P,kb as d,lb as k,qb as b,sc as V,va as x,vb as g,wa as T,wb as y,zb as _}from"./chunk-UXRO4UFY.js";var O=class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=k({type:n});static \u0275inj=P({imports:[j]})};var L=["*"],C=class n{tabTitle;active=!1;isValid=l(!0);icon=l(null);iconColor=l(null);badge=l(null);static \u0275fac=function(t){return new(t||n)};static \u0275cmp=d({type:n,selectors:[["tab"]],inputs:{tabTitle:"tabTitle",active:"active",isValid:[1,"isValid"],icon:[1,"icon"],iconColor:[1,"iconColor"],badge:[1,"badge"]},standalone:!1,ngContentSelectors:L,decls:2,vars:1,consts:[[1,"pane",3,"hidden"]],template:function(t,c){t&1&&(u(),o(0,"div",0),f(1),a()),t&2&&g("hidden",!c.active)},styles:[".pane[_ngcontent-%COMP%]{padding:0 1px}"]})};var q=["*"],R=(n,e)=>({selected:n,danger:e});function z(n,e){if(n&1&&h(0,"i",9),n&2){let t=m().$implicit;_(t.icon()),y("color",t.iconColor())}}function B(n,e){if(n&1&&(o(0,"span",7),M(1),a()),n&2){let t=m().$implicit;i(),v(" ",t.badge()," ")}}function G(n,e){n&1&&h(0,"i",8)}function H(n,e){if(n&1){let t=S();o(0,"a",4),E("click",function(){let s=x(t).$implicit,r=m();return r.onSelectTab(s),T(r.onTabChange(s))}),b(1,z,1,4,"i",5),o(2,"span",6),M(3),b(4,B,2,1,"span",7)(5,G,1,0,"i",8),a()()}if(n&2){let t=e.$implicit;_(V(6,R,(t==null?null:t.active)===!0,t.isValid()===!1)),i(),p(t.icon()?1:-1),i(2),v(" ",t.tabTitle," "),i(),p(t.badge()&&t.badge()>0?4:-1),i(),p(t.isValid()===!1&&(t==null?null:t.active)===!1?5:-1)}}var A=class n{tabs;tabChange;constructor(){this.tabChange=new w}ngAfterContentInit(){this.tabs.filter(t=>t.active).length===0&&this.onSelectTab(this.tabs.first)}onSelectTab(e){this.tabChange.emit(e.tabTitle),this.tabs.toArray().forEach(t=>t.active=!1),e.active=!0}onTabChange(e){this.tabChange.emit(e.tabTitle)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=d({type:n,selectors:[["custom-tabs"]],contentQueries:function(t,c,s){if(t&1&&I(s,C,4),t&2){let r;D(r=F())&&(c.tabs=r)}},outputs:{tabChange:"onTabChange"},standalone:!1,ngContentSelectors:q,decls:6,vars:1,consts:[[1,"row","border-bottom"],[1,"col-12"],["class","btn btn-link-tab",3,"class","click",4,"ngFor","ngForOf"],[1,"row","mt-6"],[1,"btn","btn-link-tab",3,"click"],[1,"me-2",3,"class","color"],[1,"position-relative"],[1,"position-absolute","top-0","translate-middle","badge","rounded-pill","bg-danger","ms-3"],[1,"fa-regular","fa-circle-exclamation","text-danger"],[1,"me-2"]],template:function(t,c){t&1&&(u(),o(0,"div",0)(1,"div",1),b(2,H,6,9,"a",2),a()(),o(3,"div",3)(4,"div",1),f(5),a()()),t&2&&(i(2),g("ngForOf",c.tabs))},dependencies:[N],styles:[".text-warning[_ngcontent-%COMP%]{color:var(--bs-warning)!important}.bg-light-gray[_ngcontent-%COMP%]{background-color:var(--bs-light-gray);--bs-bg-opacity: .15 !important}.bg-gradient-danger[_ngcontent-%COMP%]{background:repeating-linear-gradient(-60deg,#f8d7da,#f8d7da 15px,#f5c6cb 15px 30px)!important}.bg-gradient-success[_ngcontent-%COMP%]{background:repeating-linear-gradient(-60deg,#beeebb,#beeebb 15px,#afeba8 15px 30px)!important}.bg-gradient-warning[_ngcontent-%COMP%]{background:repeating-linear-gradient(-60deg,#fcf3cf,#fcf3cf 15px,#f9e79f 15px 30px)!important}.bg-light-orange[_ngcontent-%COMP%]{background-color:var(--bs-light-orange);--bs-bg-opacity: .15 !important}.text-danger[_ngcontent-%COMP%]{color:#fb404b!important}.text-dark[_ngcontent-%COMP%]{color:#5e5e5e!important}.text-success[_ngcontent-%COMP%]{color:#87cb16!important}.text-black[_ngcontent-%COMP%]{color:#000!important}.text-white[_ngcontent-%COMP%]{color:var(--bs-white)!important}.btn-light-blue[_ngcontent-%COMP%]{color:#212529;background-color:#dfeffc!important;border-color:#dfeffc}.btn-light-blue[_ngcontent-%COMP%]:hover{color:#212529;background-color:#bcdef9;border-color:#b0d8f8}.btn-light-blue[_ngcontent-%COMP%]:focus, .btn-light-blue.focus[_ngcontent-%COMP%]{color:#212529;background-color:#bcdef9;border-color:#b0d8f8;box-shadow:0 0 0 .2rem #c3d1dc80}.btn-light-blue.disabled[_ngcontent-%COMP%], .btn-light-blue[_ngcontent-%COMP%]:disabled{color:#212529;background-color:#dfeffc;border-color:#dfeffc}.btn-light-blue[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active, .btn-light-blue[_ngcontent-%COMP%]:not(:disabled):not(.disabled).active, .show[_ngcontent-%COMP%] > .btn-light-blue.dropdown-toggle[_ngcontent-%COMP%]{color:#212529;background-color:#b0d8f8;border-color:#a5d2f7}.btn-light-blue[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active:focus, .btn-light-blue[_ngcontent-%COMP%]:not(:disabled):not(.disabled).active:focus, .show[_ngcontent-%COMP%] > .btn-light-blue.dropdown-toggle[_ngcontent-%COMP%]:focus{box-shadow:0 0 0 .2rem #c3d1dc80}.btn-light-danger[_ngcontent-%COMP%]{color:#212529;background-color:#f8d7da!important;border-color:#f8d7da}.btn-light-danger[_ngcontent-%COMP%]:hover{color:#212529;background-color:#f5c2c7;border-color:#f1aeb5}.btn-light-danger[_ngcontent-%COMP%]:focus, .btn-light-danger.focus[_ngcontent-%COMP%]{color:#212529;background-color:#f5c2c7;border-color:#f1aeb5;box-shadow:0 0 0 .2rem #dc354540}.btn-light-danger.disabled[_ngcontent-%COMP%], .btn-light-danger[_ngcontent-%COMP%]:disabled{color:#212529;background-color:#f8d7da;border-color:#f8d7da}.btn-light-danger[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active, .btn-light-danger[_ngcontent-%COMP%]:not(:disabled):not(.disabled).active, .show[_ngcontent-%COMP%] > .btn-light-danger.dropdown-toggle[_ngcontent-%COMP%]{color:#212529;background-color:#f1aeb5;border-color:#ea868f}.btn-light-danger[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active:focus, .btn-light-danger[_ngcontent-%COMP%]:not(:disabled):not(.disabled).active:focus, .show[_ngcontent-%COMP%] > .btn-light-danger.dropdown-toggle[_ngcontent-%COMP%]:focus{box-shadow:0 0 0 .2rem #dc354540}.btn-link-tab.danger[_ngcontent-%COMP%]{color:#c9302c}"]})};export{O as a,C as b,A as c};
@@ -1 +1 @@
1
- import{D as b}from"./chunk-EFDAS2KA.js";import{O as s}from"./chunk-46DETXA6.js";import{Yd as D,ja as y,ma as c,t as l}from"./chunk-UXRO4UFY.js";var p=class{_EntityID;_ID;_Note;_Number;_VariantID;_Quantity;_ExpiryDate;constructor(t){t&&(this.EntityID=t.EntityID,this.ID=t.ID,this.Note=t.Note,this.Number=t.Number,this.VariantID=t.VariantID,this.Quantity=t.Quantity,this.ExpiryDate=t.ExpiryDate)}get Quantity(){return this._Quantity}set Quantity(t){this._Quantity=t}get EntityID(){return this._EntityID}get ID(){return this._ID}get Note(){return this._Note}get Number(){return this._Number}get VariantID(){return this._VariantID}set EntityID(t){this._EntityID=t}set ID(t){this._ID=t}set Note(t){this._Note=t}set Number(t){this._Number=t}set VariantID(t){this._VariantID=t}get ExpiryDate(){return this._ExpiryDate}set ExpiryDate(t){this._ExpiryDate=t}};var g=class o{constructor(t,i){this.httpService=t;this.localData=i}findVariantByID(t,i,n=!0){return new Promise((a,e)=>{this.localData.isConfigFromServer().subscribe(u=>{u?this.httpService.get(s.GetVariantByID,[{key:"ID",value:t},{key:"EntityID",value:i},{key:"Promotion",value:n}]).subscribe({next:r=>{a(r)},error:r=>{e(r)}}):this.localData.findVariantById(t,i).subscribe({next:r=>{a(r)},error:r=>{e(r)}})})})}findVariantByCode(t,i,n=!1){return new Promise((a,e)=>{this.localData.isProductFromServer().subscribe(u=>{u?this.httpService.get(s.GetVariantByCode,[{key:"Code",value:t},{key:"EntityID",value:i},{key:"BarcodeSerial",value:n},{key:"Promotion",value:!0}]).subscribe({next:r=>{a(r)},error:r=>{e(r)}}):this.localData.findVariantByCode(t,i).subscribe({next:r=>{a(r)},error:r=>{e(r)}})})})}getVariantSerial(t,i){return this.httpService.post(s.GetVariantSerial,{entityID:t,variantID:i}).pipe(l(n=>n.map(e=>new p(e))))}getSerialByVarianIds(t,i){return this.httpService.post(s.GetVariantSerialByListVariantID,{EntityID:t,ListVariantID:i})}findVariantBySerial(t,i){return this.httpService.get(s.GetVariantBySerial,[{key:"Serial",value:t},{key:"EntityID",value:i}])}getStockByID(t,i){return new Promise((n,a)=>{this.httpService.get(s.GetVariantStockByID,[{key:"ID",value:t},{key:"EntityID",value:i}]).subscribe({next:e=>n(e),error:e=>a(e)})})}static \u0275fac=function(i){return new(i||o)(c(D),c(b))};static \u0275prov=y({token:o,factory:o.\u0275fac,providedIn:"root"})};export{g as a};
1
+ import{D as b}from"./chunk-CD3BSGAP.js";import{O as s}from"./chunk-5OS5VELO.js";import{Yd as D,ja as y,ma as c,t as l}from"./chunk-UXRO4UFY.js";var p=class{_EntityID;_ID;_Note;_Number;_VariantID;_Quantity;_ExpiryDate;constructor(t){t&&(this.EntityID=t.EntityID,this.ID=t.ID,this.Note=t.Note,this.Number=t.Number,this.VariantID=t.VariantID,this.Quantity=t.Quantity,this.ExpiryDate=t.ExpiryDate)}get Quantity(){return this._Quantity}set Quantity(t){this._Quantity=t}get EntityID(){return this._EntityID}get ID(){return this._ID}get Note(){return this._Note}get Number(){return this._Number}get VariantID(){return this._VariantID}set EntityID(t){this._EntityID=t}set ID(t){this._ID=t}set Note(t){this._Note=t}set Number(t){this._Number=t}set VariantID(t){this._VariantID=t}get ExpiryDate(){return this._ExpiryDate}set ExpiryDate(t){this._ExpiryDate=t}};var g=class o{constructor(t,i){this.httpService=t;this.localData=i}findVariantByID(t,i,n=!0){return new Promise((a,e)=>{this.localData.isConfigFromServer().subscribe(u=>{u?this.httpService.get(s.GetVariantByID,[{key:"ID",value:t},{key:"EntityID",value:i},{key:"Promotion",value:n}]).subscribe({next:r=>{a(r)},error:r=>{e(r)}}):this.localData.findVariantById(t,i).subscribe({next:r=>{a(r)},error:r=>{e(r)}})})})}findVariantByCode(t,i,n=!1){return new Promise((a,e)=>{this.localData.isProductFromServer().subscribe(u=>{u?this.httpService.get(s.GetVariantByCode,[{key:"Code",value:t},{key:"EntityID",value:i},{key:"BarcodeSerial",value:n},{key:"Promotion",value:!0}]).subscribe({next:r=>{a(r)},error:r=>{e(r)}}):this.localData.findVariantByCode(t,i).subscribe({next:r=>{a(r)},error:r=>{e(r)}})})})}getVariantSerial(t,i){return this.httpService.post(s.GetVariantSerial,{entityID:t,variantID:i}).pipe(l(n=>n.map(e=>new p(e))))}getSerialByVarianIds(t,i){return this.httpService.post(s.GetVariantSerialByListVariantID,{EntityID:t,ListVariantID:i})}findVariantBySerial(t,i){return this.httpService.get(s.GetVariantBySerial,[{key:"Serial",value:t},{key:"EntityID",value:i}])}getStockByID(t,i){return new Promise((n,a)=>{this.httpService.get(s.GetVariantStockByID,[{key:"ID",value:t},{key:"EntityID",value:i}]).subscribe({next:e=>n(e),error:e=>a(e)})})}static \u0275fac=function(i){return new(i||o)(c(D),c(b))};static \u0275prov=y({token:o,factory:o.\u0275fac,providedIn:"root"})};export{g as a};