marketplacepos 5.46.4 → 5.46.6

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 (90) hide show
  1. package/Marketplace/3rdpartylicenses.txt +43 -43
  2. package/Marketplace/{chunk-T4OUIM2Z.js → chunk-22ARBR7W.js} +1 -1
  3. package/Marketplace/{chunk-QTTNQJAK.js → chunk-2BV7ZXRB.js} +1 -1
  4. package/Marketplace/{chunk-EEZKQOJW.js → chunk-2DLU2LJJ.js} +1 -1
  5. package/Marketplace/{chunk-PQQSREEC.js → chunk-3PPLPXAX.js} +2 -2
  6. package/Marketplace/{chunk-7ZMHGW2W.js → chunk-4HOZLG47.js} +1 -1
  7. package/Marketplace/{chunk-HGGI2V4H.js → chunk-5BHSTOJT.js} +1 -1
  8. package/Marketplace/chunk-5DTUHJSS.js +1 -0
  9. package/Marketplace/{chunk-GHFADTRR.js → chunk-5EIQGYTB.js} +1 -1
  10. package/Marketplace/{chunk-5G2U27IM.js → chunk-5KUKIH4H.js} +1 -1
  11. package/Marketplace/chunk-5Z5Y537T.js +1 -0
  12. package/Marketplace/{chunk-C7YK5TDP.js → chunk-63ANFYRV.js} +1 -1
  13. package/Marketplace/{chunk-DGIH7HSJ.js → chunk-7TI3OR34.js} +1 -1
  14. package/Marketplace/{chunk-5BCJEYHC.js → chunk-7WY57PVD.js} +1 -1
  15. package/Marketplace/{chunk-FY73EXB5.js → chunk-7Y7SPMGZ.js} +1 -1
  16. package/Marketplace/{chunk-KVOROMP7.js → chunk-AWNZSJSP.js} +1 -1
  17. package/Marketplace/{chunk-5KMDUD2M.js → chunk-B2ZWLW3F.js} +1 -1
  18. package/Marketplace/chunk-CBQUB3KW.js +1 -0
  19. package/Marketplace/{chunk-HS64MICX.js → chunk-CRD4OUSG.js} +1 -1
  20. package/Marketplace/{chunk-W4MTON2T.js → chunk-CT73GC7O.js} +1 -1
  21. package/Marketplace/chunk-D2TELRO7.js +1 -0
  22. package/Marketplace/{chunk-GQXYHXWJ.js → chunk-DXPLB6OB.js} +1 -1
  23. package/Marketplace/chunk-EFB55SZR.js +1 -0
  24. package/Marketplace/{chunk-BG4CT2T7.js → chunk-ELZBUFG5.js} +1 -1
  25. package/Marketplace/chunk-EUYQST7Q.js +1 -0
  26. package/Marketplace/{chunk-WIMLQM6B.js → chunk-EXSI44LD.js} +2 -2
  27. package/Marketplace/{chunk-PHLSX23M.js → chunk-F2XHUFJC.js} +2 -2
  28. package/Marketplace/chunk-F3GLNINI.js +1 -0
  29. package/Marketplace/{chunk-34DHFHCG.js → chunk-FHNST4Y7.js} +1 -1
  30. package/Marketplace/{chunk-P35PCOWA.js → chunk-FKQ7ZVGD.js} +1 -1
  31. package/Marketplace/{chunk-6K6XBSWF.js → chunk-FOT5AJYX.js} +2 -2
  32. package/Marketplace/{chunk-BIHR6KWH.js → chunk-GSVFDIM6.js} +1 -1
  33. package/Marketplace/{chunk-UWC2EVFY.js → chunk-GZS2MOSK.js} +1 -1
  34. package/Marketplace/{chunk-WY37QAZ4.js → chunk-JAWWMIGP.js} +1 -1
  35. package/Marketplace/{chunk-6DYFCRDG.js → chunk-JUJFPAAU.js} +1 -1
  36. package/Marketplace/{chunk-ZMF3NFLA.js → chunk-JZDOMET2.js} +1 -1
  37. package/Marketplace/chunk-KTB223SK.js +1 -0
  38. package/Marketplace/{chunk-IJVKHW3C.js → chunk-KWHVCPX2.js} +1 -1
  39. package/Marketplace/{chunk-ZKROHCYD.js → chunk-LLHPMXKP.js} +1 -1
  40. package/Marketplace/{chunk-YJKAX7P2.js → chunk-LS7AO6KP.js} +1 -1
  41. package/Marketplace/{chunk-SBLG2UP7.js → chunk-LXXEN7OV.js} +1 -1
  42. package/Marketplace/{chunk-UBA54WUZ.js → chunk-MGLOTL2T.js} +1 -1
  43. package/Marketplace/{chunk-F4X5RWKY.js → chunk-MZWTCBAF.js} +8 -8
  44. package/Marketplace/{chunk-5RAWBW2Q.js → chunk-NDBC2CS6.js} +1 -1
  45. package/Marketplace/{chunk-57MSCWQ4.js → chunk-NFGFM7TW.js} +1 -1
  46. package/Marketplace/{chunk-TKV7XWBT.js → chunk-O2YNPIYM.js} +1 -1
  47. package/Marketplace/{chunk-SWV5QK47.js → chunk-OGJMVAEL.js} +1 -1
  48. package/Marketplace/{chunk-KEQ7PUNM.js → chunk-OO2CSDGF.js} +1 -1
  49. package/Marketplace/{chunk-BVPWV5YO.js → chunk-P2AADVEN.js} +1 -1
  50. package/Marketplace/{chunk-NRUVGW2I.js → chunk-P2IQLBGG.js} +1 -1
  51. package/Marketplace/{chunk-2O4IEGGR.js → chunk-PGP3WHIS.js} +3 -3
  52. package/Marketplace/{chunk-NABJFAKJ.js → chunk-PTNJ3YC5.js} +1 -1
  53. package/Marketplace/chunk-QREUIGWW.js +1 -0
  54. package/Marketplace/{chunk-BPAZ4TES.js → chunk-RGY4FVTG.js} +1 -1
  55. package/Marketplace/{chunk-RU43F4UK.js → chunk-T27ABFCP.js} +1 -1
  56. package/Marketplace/{chunk-2GS6DJ33.js → chunk-TI67Q3JR.js} +1 -1
  57. package/Marketplace/chunk-TMKLT3K2.js +1 -0
  58. package/Marketplace/{chunk-AR6PLQ6X.js → chunk-TWOIWWMO.js} +1 -1
  59. package/Marketplace/{chunk-CJ4F7QUO.js → chunk-UGYIOLBR.js} +1 -1
  60. package/Marketplace/{chunk-NTWV33QC.js → chunk-URGPZLCB.js} +1 -1
  61. package/Marketplace/{chunk-FF4PEO2O.js → chunk-USBIAIK6.js} +1 -1
  62. package/Marketplace/{chunk-32YMOC74.js → chunk-UYFUJBC4.js} +1 -1
  63. package/Marketplace/{chunk-XSJBP4EN.js → chunk-V3ZRQKJA.js} +1 -1
  64. package/Marketplace/{chunk-PNF6K247.js → chunk-WGCIF2R4.js} +2 -2
  65. package/Marketplace/{chunk-NLJHQ4MQ.js → chunk-X4B2FYY3.js} +1 -1
  66. package/Marketplace/chunk-X52QA4QU.js +1 -0
  67. package/Marketplace/chunk-XLWWNO5M.js +1 -0
  68. package/Marketplace/{chunk-2REDCSBO.js → chunk-XONEJSCE.js} +1 -1
  69. package/Marketplace/{chunk-B3HL4DNT.js → chunk-Y4XF2TXJ.js} +1 -1
  70. package/Marketplace/{chunk-TEJITT3W.js → chunk-YEDXFYTD.js} +1 -1
  71. package/Marketplace/chunk-YF4XELSP.js +1 -0
  72. package/Marketplace/{chunk-2WHJU6CS.js → chunk-YU2SDRUC.js} +1 -1
  73. package/Marketplace/{chunk-GCOS7VK3.js → chunk-ZYQD6SBV.js} +10 -10
  74. package/Marketplace/index.html +4 -4
  75. package/Marketplace/{main-QTIXFWWZ.js → main-YKZPM7WW.js} +1 -1
  76. package/package.json +1 -1
  77. package/Marketplace/chunk-4L5TB6FG.js +0 -1
  78. package/Marketplace/chunk-5JBIRETU.js +0 -1
  79. package/Marketplace/chunk-A44LN77B.js +0 -1
  80. package/Marketplace/chunk-CZBE6NFO.js +0 -1
  81. package/Marketplace/chunk-DLZRRLED.js +0 -1
  82. package/Marketplace/chunk-DZJWZ52D.js +0 -1
  83. package/Marketplace/chunk-HGDEIMTN.js +0 -1
  84. package/Marketplace/chunk-LRKVYKNL.js +0 -1
  85. package/Marketplace/chunk-OLANEXLB.js +0 -1
  86. package/Marketplace/chunk-QNX7E4P2.js +0 -1
  87. package/Marketplace/chunk-RI627B2Z.js +0 -1
  88. package/Marketplace/chunk-RXQX7567.js +0 -1
  89. package/Marketplace/chunk-TFM5EMU4.js +0 -1
  90. package/Marketplace/chunk-TYSVSEYQ.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a as we}from"./chunk-DAXM2MPK.js";import{a as ft}from"./chunk-XPCRS7AL.js";import{a as bt}from"./chunk-GH5FTODR.js";import{a as _t}from"./chunk-BKRCW7SH.js";import{a as ht,c as mt,d as gt}from"./chunk-QW4EOJRM.js";import{a as yt}from"./chunk-Q4N2QUV6.js";import"./chunk-7G6GQTSH.js";import{a as ae}from"./chunk-UMP6ZMEJ.js";import"./chunk-OZ7LWNOK.js";import{a as Ce}from"./chunk-YFDFIBAG.js";import{A as st,P as ce,R as C,S as M,T as Oe,V as ve,_ as ct,aa as lt,f as tt,fa as rt,k as it,ka as pt,n as nt,na as dt,oa as U,pa as ut,q as ot,r as se,x as at}from"./chunk-RC5PUUVM.js";import"./chunk-CGOB6Y3X.js";import{b as je}from"./chunk-WN5DZGA4.js";import"./chunk-4NEKWRL7.js";import{m as Ze,n as et}from"./chunk-HJXYT6MI.js";import{A as Ue,a as qe,b as ze,h as Qe,m as We}from"./chunk-5PS6ZS3N.js";import"./chunk-V3USB3ZU.js";import{a as Xe,b as Je,c as Ye}from"./chunk-ERXVXBTU.js";import"./chunk-MFQQEEHJ.js";import"./chunk-GZKOMS4T.js";import{H as Ne,J as He,d as _e,f as Ke,g as ye,h as Re,i as be,j as Ae,m as Be,n as W}from"./chunk-FXQKRJWU.js";import{$b as Ee,$c as ne,Ac as B,Bc as O,Ca as ke,Cc as v,Fc as te,Gb as A,Gc as g,Hb as Me,Hc as R,Ic as $,Ka as w,Kb as pe,Kc as N,Lc as H,Mb as m,Mc as q,Nc as ue,Oc as Pe,Pc as he,Qc as ie,Ra as V,Rc as fe,Sc as z,Tc as $e,Xb as _,Yb as r,Z as le,ac as Z,ad as oe,cd as Q,dc as de,ec as Le,gc as Fe,hc as Ge,ia as Ie,ic as d,ja as Te,jc as u,ka as Se,kc as P,lc as x,mc as I,nc as ee,oc as T,od as S,pa as K,pd as me,q as xe,rb as c,rd as ge,sd as De,tc as y,uc as p,xa as Ve,xb as re,ya as h,za as f,zc as k}from"./chunk-OJMQBH6T.js";import"./chunk-EU2KAMEK.js";import{a as L,b as F}from"./chunk-66YHNWRR.js";var xt=t=>({$implicit:t});function It(t,s){t&1&&ee(0)}function Tt(t,s){if(t&1&&(x(0),m(1,It,1,0,"ng-container",8),I()),t&2){let e=p().$implicit,n=p();c(),r("ngTemplateOutlet",n.optionTemplate)("ngTemplateOutletContext",z(2,xt,e==null?null:e.option))}}function St(t,s){if(t&1&&(d(0,"span",9),g(1),u()),t&2){let e=p().$implicit,n=p();_("data-pc-section","text"),c(),R(n.getOptionLabelToRender(e))}}function Vt(t,s){t&1&&P(0,"AngleRightIcon")}function kt(t,s){}function Mt(t,s){t&1&&m(0,kt,0,0,"ng-template")}function Et(t,s){if(t&1&&(d(0,"span",10),m(1,Vt,1,0,"AngleRightIcon",11)(2,Mt,1,0,null,12),u()),t&2){let e=p(2);_("data-pc-section","groupIcon"),c(),r("ngIf",!e.groupicon),c(),r("ngTemplateOutlet",e.groupicon)}}function Lt(t,s){if(t&1){let e=T();d(0,"p-cascadeselect-sub",13),y("onChange",function(i){h(e);let o=p(2);return f(o.onChange.emit(i))})("onFocusChange",function(i){h(e);let o=p(2);return f(o.onFocusChange.emit(i))})("onFocusEnterChange",function(i){h(e);let o=p(2);return f(o.onFocusEnterChange.emit(i))}),u()}if(t&2){let e=p().$implicit,n=p();r("role","group")("selectId",n.selectId)("focusedOptionId",n.focusedOptionId)("activeOptionPath",n.activeOptionPath)("options",n.getOptionGroupChildren(e))("optionLabel",n.optionLabel)("optionValue",n.optionValue)("level",n.level+1)("optionGroupLabel",n.optionGroupLabel)("optionGroupChildren",n.optionGroupChildren)("dirty",n.dirty)("optionTemplate",n.optionTemplate)}}function Ft(t,s){if(t&1){let e=T();d(0,"li",3)(1,"div",4),y("click",function(i){let o=h(e).$implicit,a=p();return f(a.onOptionClick(i,o))})("mouseenter",function(i){let o=h(e).$implicit,a=p();return f(a.onOptionMouseEnter(i,o))})("mousemove",function(i){let o=h(e).$implicit,a=p();return f(a.onOptionMouseMove(i,o))}),m(2,Tt,2,4,"ng-container",5)(3,St,2,2,"ng-template",null,0,Q)(5,Et,3,3,"span",6),u(),m(6,Lt,1,12,"p-cascadeselect-sub",7),u()}if(t&2){let e=s.$implicit,n=s.index,i=te(4),o=p();r("ngClass",o.getItemClass(e))("id",o.getOptionId(e)),_("aria-level",o.level+1)("aria-setsize",o.options.length)("data-pc-section","item")("aria-label",o.getOptionLabelToRender(e))("aria-selected",o.isOptionGroup(e)?void 0:o.isOptionSelected(e))("aria-posinset",n+1),c(),_("data-pc-section","content"),c(),r("ngIf",o.optionTemplate)("ngIfElse",i),c(3),r("ngIf",o.isOptionGroup(e)),c(),r("ngIf",o.isOptionGroup(e)&&o.isOptionActive(e))}}var Gt=["value"],Pt=["option"],$t=["header"],Dt=["footer"],Kt=["triggericon"],Rt=["loadingicon"],At=["optiongroupicon"],Bt=["clearicon"],Nt=["focusInput"],Ht=["container"],qt=["panel"],zt=["overlay"],Qt=(t,s)=>({$implicit:t,placeholder:s}),Wt=t=>({"p-cascadeselect-overlay p-component":!0,"p-cascadeselect-mobile-active":t});function Ut(t,s){t&1&&ee(0)}function jt(t,s){if(t&1&&(x(0),m(1,Ut,1,0,"ng-container",16),I()),t&2){let e=p();c(),r("ngTemplateOutlet",e.valueTemplate||e._valueTemplate)("ngTemplateOutletContext",$e(2,Qt,e.value,e.placeholder))}}function Xt(t,s){if(t&1&&g(0),t&2){let e=p();$(" ",e.label()," ")}}function Jt(t,s){if(t&1){let e=T();d(0,"TimesIcon",18),y("click",function(i){h(e);let o=p(2);return f(o.clear(i))}),u()}t&2&&_("data-pc-section","clearicon")("aria-hidden",!0)}function Yt(t,s){}function Zt(t,s){t&1&&m(0,Yt,0,0,"ng-template")}function ei(t,s){if(t&1){let e=T();d(0,"span",18),y("click",function(i){h(e);let o=p(2);return f(o.clear(i))}),m(1,Zt,1,0,null,19),u()}if(t&2){let e=p(2);_("data-pc-section","clearicon")("aria-hidden",!0),c(),r("ngTemplateOutlet",e.clearIconTemplate||e._clearIconTemplate)}}function ti(t,s){if(t&1&&(x(0),m(1,Jt,1,2,"TimesIcon",17)(2,ei,2,3,"span",17),I()),t&2){let e=p();c(),r("ngIf",!e.clearIconTemplate&&!e._clearIconTemplate),c(),r("ngIf",e.clearIconTemplate||e._clearIconTemplate)}}function ii(t,s){t&1&&ee(0)}function ni(t,s){if(t&1&&(x(0),m(1,ii,1,0,"ng-container",19),I()),t&2){let e=p(2);c(),r("ngTemplateOutlet",e.loadingIconTemplate||e._loadingIconTemplate)}}function oi(t,s){if(t&1&&P(0,"span",22),t&2){let e=p(3);r("ngClass","p-cascadeselect-loading-icon pi-spin "+e.loadingIcon)}}function ai(t,s){t&1&&P(0,"span",23),t&2&&Z("p-cascadeselect-loading-icon pi pi-spinner pi-spin")}function si(t,s){if(t&1&&(x(0),m(1,oi,1,1,"span",20)(2,ai,1,2,"span",21),I()),t&2){let e=p(2);c(),r("ngIf",e.loadingIcon),c(),r("ngIf",!e.loadingIcon)}}function ci(t,s){if(t&1&&(x(0),m(1,ni,2,1,"ng-container",12)(2,si,3,2,"ng-container",12),I()),t&2){let e=p();c(),r("ngIf",e.loadingIconTemplate||e._loadingIconTemplate),c(),r("ngIf",!e.loadingIconTemplate&&!e._loadingIconTemplate)}}function li(t,s){t&1&&P(0,"ChevronDownIcon",26),t&2&&r("styleClass","p-cascadeselect-dropdown-icon")}function ri(t,s){}function pi(t,s){t&1&&m(0,ri,0,0,"ng-template")}function di(t,s){if(t&1&&(d(0,"span",27),m(1,pi,1,0,null,19),u()),t&2){let e=p(2);c(),r("ngTemplateOutlet",e.triggerIconTemplate||e._triggerIconTemplate)}}function ui(t,s){if(t&1&&m(0,li,1,1,"ChevronDownIcon",24)(1,di,2,1,"span",25),t&2){let e=p();r("ngIf",!e.triggerIconTemplate&&!e._triggerIconTemplate),c(),r("ngIf",e.triggerIconTemplate||e._triggerIconTemplate)}}function hi(t,s){}function fi(t,s){t&1&&m(0,hi,0,0,"ng-template")}function mi(t,s){}function gi(t,s){t&1&&m(0,mi,0,0,"ng-template")}function _i(t,s){if(t&1){let e=T();d(0,"div",28,6),m(2,fi,1,0,null,19),d(3,"div",29)(4,"p-cascadeselect-sub",30),y("onChange",function(i){h(e);let o=p();return f(o.onOptionClick(i))})("onFocusChange",function(i){h(e);let o=p();return f(o.onOptionMouseMove(i))})("onFocusEnterChange",function(i){h(e);let o=p();return f(o.onOptionMouseEnter(i))}),u()(),d(5,"span",14),g(6),u(),m(7,gi,1,0,null,19),u()}if(t&2){let e=p();Z(e.panelStyleClass),r("ngClass",z(24,Wt,e.queryMatches()))("ngStyle",e.panelStyle),_("data-pc-section","panel"),c(2),r("ngTemplateOutlet",e.headerTemplate||e._headerTemplate),c(),_("data-pc-section","wrapper"),c(),r("options",e.processedOptions)("selectId",e.id)("focusedOptionId",e.focused?e.focusedOptionId:void 0)("activeOptionPath",e.activeOptionPath())("optionLabel",e.optionLabel)("optionValue",e.optionValue)("level",0)("optionTemplate",e.optionTemplate||e._optionTemplate)("groupicon",e.groupIconTemplate||e.groupIconTemplate)("optionGroupLabel",e.optionGroupLabel)("optionGroupChildren",e.optionGroupChildren)("optionDisabled",e.optionDisabled)("root",!0)("dirty",e.dirty)("role","tree"),c(2),$(" ",e.selectedMessageText," "),c(),r("ngTemplateOutlet",e.footerTemplate||e._footerTemplate)}}var yi=({dt:t})=>`
1
+ import{a as we}from"./chunk-DAXM2MPK.js";import{a as ft}from"./chunk-XPCRS7AL.js";import{a as bt}from"./chunk-GH5FTODR.js";import{a as ae}from"./chunk-UMP6ZMEJ.js";import{a as _t}from"./chunk-BKRCW7SH.js";import{a as ht,c as mt,d as gt}from"./chunk-QW4EOJRM.js";import{a as yt}from"./chunk-Q4N2QUV6.js";import"./chunk-7G6GQTSH.js";import"./chunk-OZ7LWNOK.js";import{a as Ce}from"./chunk-YFDFIBAG.js";import{A as st,P as ce,R as C,S as M,T as Oe,V as ve,_ as ct,aa as lt,f as tt,fa as rt,k as it,ka as pt,n as nt,na as dt,oa as U,pa as ut,q as ot,r as se,x as at}from"./chunk-RC5PUUVM.js";import"./chunk-CGOB6Y3X.js";import{b as je}from"./chunk-WN5DZGA4.js";import"./chunk-4NEKWRL7.js";import{m as Ze,n as et}from"./chunk-HJXYT6MI.js";import{A as Ue,a as qe,b as ze,h as Qe,m as We}from"./chunk-5PS6ZS3N.js";import"./chunk-V3USB3ZU.js";import{a as Xe,b as Je,c as Ye}from"./chunk-ERXVXBTU.js";import"./chunk-MFQQEEHJ.js";import"./chunk-GZKOMS4T.js";import{H as Ne,J as He,d as _e,f as Ke,g as ye,h as Re,i as be,j as Ae,m as Be,n as W}from"./chunk-FXQKRJWU.js";import{$b as Ee,$c as ne,Ac as B,Bc as O,Ca as ke,Cc as v,Fc as te,Gb as A,Gc as g,Hb as Me,Hc as R,Ic as $,Ka as w,Kb as pe,Kc as N,Lc as H,Mb as m,Mc as q,Nc as ue,Oc as Pe,Pc as he,Qc as ie,Ra as V,Rc as fe,Sc as z,Tc as $e,Xb as _,Yb as r,Z as le,ac as Z,ad as oe,cd as Q,dc as de,ec as Le,gc as Fe,hc as Ge,ia as Ie,ic as d,ja as Te,jc as u,ka as Se,kc as P,lc as x,mc as I,nc as ee,oc as T,od as S,pa as K,pd as me,q as xe,rb as c,rd as ge,sd as De,tc as y,uc as p,xa as Ve,xb as re,ya as h,za as f,zc as k}from"./chunk-OJMQBH6T.js";import"./chunk-EU2KAMEK.js";import{a as L,b as F}from"./chunk-66YHNWRR.js";var xt=t=>({$implicit:t});function It(t,s){t&1&&ee(0)}function Tt(t,s){if(t&1&&(x(0),m(1,It,1,0,"ng-container",8),I()),t&2){let e=p().$implicit,n=p();c(),r("ngTemplateOutlet",n.optionTemplate)("ngTemplateOutletContext",z(2,xt,e==null?null:e.option))}}function St(t,s){if(t&1&&(d(0,"span",9),g(1),u()),t&2){let e=p().$implicit,n=p();_("data-pc-section","text"),c(),R(n.getOptionLabelToRender(e))}}function Vt(t,s){t&1&&P(0,"AngleRightIcon")}function kt(t,s){}function Mt(t,s){t&1&&m(0,kt,0,0,"ng-template")}function Et(t,s){if(t&1&&(d(0,"span",10),m(1,Vt,1,0,"AngleRightIcon",11)(2,Mt,1,0,null,12),u()),t&2){let e=p(2);_("data-pc-section","groupIcon"),c(),r("ngIf",!e.groupicon),c(),r("ngTemplateOutlet",e.groupicon)}}function Lt(t,s){if(t&1){let e=T();d(0,"p-cascadeselect-sub",13),y("onChange",function(i){h(e);let o=p(2);return f(o.onChange.emit(i))})("onFocusChange",function(i){h(e);let o=p(2);return f(o.onFocusChange.emit(i))})("onFocusEnterChange",function(i){h(e);let o=p(2);return f(o.onFocusEnterChange.emit(i))}),u()}if(t&2){let e=p().$implicit,n=p();r("role","group")("selectId",n.selectId)("focusedOptionId",n.focusedOptionId)("activeOptionPath",n.activeOptionPath)("options",n.getOptionGroupChildren(e))("optionLabel",n.optionLabel)("optionValue",n.optionValue)("level",n.level+1)("optionGroupLabel",n.optionGroupLabel)("optionGroupChildren",n.optionGroupChildren)("dirty",n.dirty)("optionTemplate",n.optionTemplate)}}function Ft(t,s){if(t&1){let e=T();d(0,"li",3)(1,"div",4),y("click",function(i){let o=h(e).$implicit,a=p();return f(a.onOptionClick(i,o))})("mouseenter",function(i){let o=h(e).$implicit,a=p();return f(a.onOptionMouseEnter(i,o))})("mousemove",function(i){let o=h(e).$implicit,a=p();return f(a.onOptionMouseMove(i,o))}),m(2,Tt,2,4,"ng-container",5)(3,St,2,2,"ng-template",null,0,Q)(5,Et,3,3,"span",6),u(),m(6,Lt,1,12,"p-cascadeselect-sub",7),u()}if(t&2){let e=s.$implicit,n=s.index,i=te(4),o=p();r("ngClass",o.getItemClass(e))("id",o.getOptionId(e)),_("aria-level",o.level+1)("aria-setsize",o.options.length)("data-pc-section","item")("aria-label",o.getOptionLabelToRender(e))("aria-selected",o.isOptionGroup(e)?void 0:o.isOptionSelected(e))("aria-posinset",n+1),c(),_("data-pc-section","content"),c(),r("ngIf",o.optionTemplate)("ngIfElse",i),c(3),r("ngIf",o.isOptionGroup(e)),c(),r("ngIf",o.isOptionGroup(e)&&o.isOptionActive(e))}}var Gt=["value"],Pt=["option"],$t=["header"],Dt=["footer"],Kt=["triggericon"],Rt=["loadingicon"],At=["optiongroupicon"],Bt=["clearicon"],Nt=["focusInput"],Ht=["container"],qt=["panel"],zt=["overlay"],Qt=(t,s)=>({$implicit:t,placeholder:s}),Wt=t=>({"p-cascadeselect-overlay p-component":!0,"p-cascadeselect-mobile-active":t});function Ut(t,s){t&1&&ee(0)}function jt(t,s){if(t&1&&(x(0),m(1,Ut,1,0,"ng-container",16),I()),t&2){let e=p();c(),r("ngTemplateOutlet",e.valueTemplate||e._valueTemplate)("ngTemplateOutletContext",$e(2,Qt,e.value,e.placeholder))}}function Xt(t,s){if(t&1&&g(0),t&2){let e=p();$(" ",e.label()," ")}}function Jt(t,s){if(t&1){let e=T();d(0,"TimesIcon",18),y("click",function(i){h(e);let o=p(2);return f(o.clear(i))}),u()}t&2&&_("data-pc-section","clearicon")("aria-hidden",!0)}function Yt(t,s){}function Zt(t,s){t&1&&m(0,Yt,0,0,"ng-template")}function ei(t,s){if(t&1){let e=T();d(0,"span",18),y("click",function(i){h(e);let o=p(2);return f(o.clear(i))}),m(1,Zt,1,0,null,19),u()}if(t&2){let e=p(2);_("data-pc-section","clearicon")("aria-hidden",!0),c(),r("ngTemplateOutlet",e.clearIconTemplate||e._clearIconTemplate)}}function ti(t,s){if(t&1&&(x(0),m(1,Jt,1,2,"TimesIcon",17)(2,ei,2,3,"span",17),I()),t&2){let e=p();c(),r("ngIf",!e.clearIconTemplate&&!e._clearIconTemplate),c(),r("ngIf",e.clearIconTemplate||e._clearIconTemplate)}}function ii(t,s){t&1&&ee(0)}function ni(t,s){if(t&1&&(x(0),m(1,ii,1,0,"ng-container",19),I()),t&2){let e=p(2);c(),r("ngTemplateOutlet",e.loadingIconTemplate||e._loadingIconTemplate)}}function oi(t,s){if(t&1&&P(0,"span",22),t&2){let e=p(3);r("ngClass","p-cascadeselect-loading-icon pi-spin "+e.loadingIcon)}}function ai(t,s){t&1&&P(0,"span",23),t&2&&Z("p-cascadeselect-loading-icon pi pi-spinner pi-spin")}function si(t,s){if(t&1&&(x(0),m(1,oi,1,1,"span",20)(2,ai,1,2,"span",21),I()),t&2){let e=p(2);c(),r("ngIf",e.loadingIcon),c(),r("ngIf",!e.loadingIcon)}}function ci(t,s){if(t&1&&(x(0),m(1,ni,2,1,"ng-container",12)(2,si,3,2,"ng-container",12),I()),t&2){let e=p();c(),r("ngIf",e.loadingIconTemplate||e._loadingIconTemplate),c(),r("ngIf",!e.loadingIconTemplate&&!e._loadingIconTemplate)}}function li(t,s){t&1&&P(0,"ChevronDownIcon",26),t&2&&r("styleClass","p-cascadeselect-dropdown-icon")}function ri(t,s){}function pi(t,s){t&1&&m(0,ri,0,0,"ng-template")}function di(t,s){if(t&1&&(d(0,"span",27),m(1,pi,1,0,null,19),u()),t&2){let e=p(2);c(),r("ngTemplateOutlet",e.triggerIconTemplate||e._triggerIconTemplate)}}function ui(t,s){if(t&1&&m(0,li,1,1,"ChevronDownIcon",24)(1,di,2,1,"span",25),t&2){let e=p();r("ngIf",!e.triggerIconTemplate&&!e._triggerIconTemplate),c(),r("ngIf",e.triggerIconTemplate||e._triggerIconTemplate)}}function hi(t,s){}function fi(t,s){t&1&&m(0,hi,0,0,"ng-template")}function mi(t,s){}function gi(t,s){t&1&&m(0,mi,0,0,"ng-template")}function _i(t,s){if(t&1){let e=T();d(0,"div",28,6),m(2,fi,1,0,null,19),d(3,"div",29)(4,"p-cascadeselect-sub",30),y("onChange",function(i){h(e);let o=p();return f(o.onOptionClick(i))})("onFocusChange",function(i){h(e);let o=p();return f(o.onOptionMouseMove(i))})("onFocusEnterChange",function(i){h(e);let o=p();return f(o.onOptionMouseEnter(i))}),u()(),d(5,"span",14),g(6),u(),m(7,gi,1,0,null,19),u()}if(t&2){let e=p();Z(e.panelStyleClass),r("ngClass",z(24,Wt,e.queryMatches()))("ngStyle",e.panelStyle),_("data-pc-section","panel"),c(2),r("ngTemplateOutlet",e.headerTemplate||e._headerTemplate),c(),_("data-pc-section","wrapper"),c(),r("options",e.processedOptions)("selectId",e.id)("focusedOptionId",e.focused?e.focusedOptionId:void 0)("activeOptionPath",e.activeOptionPath())("optionLabel",e.optionLabel)("optionValue",e.optionValue)("level",0)("optionTemplate",e.optionTemplate||e._optionTemplate)("groupicon",e.groupIconTemplate||e.groupIconTemplate)("optionGroupLabel",e.optionGroupLabel)("optionGroupChildren",e.optionGroupChildren)("optionDisabled",e.optionDisabled)("root",!0)("dirty",e.dirty)("role","tree"),c(2),$(" ",e.selectedMessageText," "),c(),r("ngTemplateOutlet",e.footerTemplate||e._footerTemplate)}}var yi=({dt:t})=>`
2
2
  .p-cascadeselect {
3
3
  display: inline-flex;
4
4
  cursor: pointer;
@@ -0,0 +1 @@
1
+ import{a as Y}from"./chunk-CBQUB3KW.js";import"./chunk-FGRPTNDB.js";import"./chunk-3PPLPXAX.js";import"./chunk-OXWPLJEW.js";import"./chunk-EPBVNII2.js";import"./chunk-UZWED4UK.js";import"./chunk-5CKVZBHM.js";import"./chunk-4YRBARG2.js";import"./chunk-BKRCW7SH.js";import"./chunk-RGAKHXPF.js";import"./chunk-T2OSIFLN.js";import"./chunk-QW4EOJRM.js";import"./chunk-Q4N2QUV6.js";import"./chunk-7G6GQTSH.js";import"./chunk-YQLOB7IQ.js";import"./chunk-OZ7LWNOK.js";import"./chunk-YFDFIBAG.js";import"./chunk-RC5PUUVM.js";import{e as J}from"./chunk-PYXL7UF7.js";import"./chunk-P2AADVEN.js";import"./chunk-Z3ITXK3D.js";import"./chunk-TGMCGROM.js";import{a as H}from"./chunk-CGOB6Y3X.js";import{b as j,e as F}from"./chunk-WN5DZGA4.js";import"./chunk-4NEKWRL7.js";import"./chunk-EUYQST7Q.js";import{m as G,n as U}from"./chunk-HJXYT6MI.js";import{A as R,c as B,h as D,m as I}from"./chunk-5PS6ZS3N.js";import"./chunk-V3USB3ZU.js";import"./chunk-ERXVXBTU.js";import"./chunk-MFQQEEHJ.js";import"./chunk-GZKOMS4T.js";import{j as P,l as W,n as k}from"./chunk-FXQKRJWU.js";import{$c as S,Gb as x,Gc as i,Hc as E,Kc as C,Lc as _,Mb as M,Mc as b,Nc as T,Oc as V,Pc as v,Ra as h,Yb as f,Z as y,ad as w,dc as O,ic as e,jc as t,kc as A,oc as L,pa as u,rb as d,tc as g,uc as N,ya as m,za as s}from"./chunk-OJMQBH6T.js";import"./chunk-EU2KAMEK.js";import"./chunk-66YHNWRR.js";function z(n,q){if(n&1&&(e(0,"pre",21),i(1),S(2,"json"),t()),n&2){N();let l=v(25);d(),E(w(2,1,l))}}function K(n,q){n&1&&(e(0,"p",22),i(1," Your data will be shown here once it's available "),t())}var ce=(()=>{class n{constructor(){this.httpService=u(F),this.toastr=u(j),this.selectedChannel=h(null),this.orderNumber=h(null)}fetchLog(){if(!this.selectedChannel()||!this.orderNumber()){this.toastr.warning("Please select a channel and enter an order number","Warning");return}this.orderLog$=this.httpService.post(H.GetOrderApiLog,{ChannelID:this.selectedChannel(),OrderNumber:this.orderNumber()}).pipe(y(1))}copyToClipboard(l){if(!l)return;let p=typeof l=="string"?l:JSON.stringify(l,null,2);navigator.clipboard.writeText(p),this.toastr.success("Copied to clipboard!","Success")}static{this.\u0275fac=function(p){return new(p||n)}}static{this.\u0275cmp=x({type:n,selectors:[["app-order-api"]],decls:40,vars:9,consts:[["headerTitle","Origin Order Api",3,"hideSearchBox","hideSearchDropdown"],[1,"btn","btn-success","btn-fill","me-3",3,"click"],[1,"fa","fa-search"],[1,"container-fluid","mt-8","px-10"],[1,"row"],[1,"col-7"],[1,"d-flex","align-items-center"],[1,"w-75"],[1,"mb-0","text-muted","fst-italic"],[1,"w-100"],[3,"ngModelChange","ngModel"],[1,"d-flex","align-items-center","mt-3"],["type","text","placeholder","Order Number or Invoice Number",1,"form-control","rounded-1",2,"height","40px",3,"ngModelChange","ngModel"],[1,"row","mt-6"],[1,"col-12"],[1,"card"],[1,"card-header","d-flex","justify-content-between","align-items-center"],["type","button",1,"btn","btn-sm","btn-outline-primary",3,"click","disabled"],[1,"card-body"],[1,"col-sm-12"],[1,"form-group","position-relative"],["id","orderLogText"],[1,"text-center","my-12","text-muted"]],template:function(p,r){if(p&1){let a=L();e(0,"mainpanel",0)(1,"actions")(2,"button",1),g("click",function(){return m(a),s(r.fetchLog())}),A(3,"i",2),i(4," Search "),t()(),e(5,"content")(6,"div",3)(7,"div",4)(8,"div",5)(9,"div",6)(10,"div",7)(11,"h6"),i(12,"Channel"),t(),e(13,"p",8),i(14," View logs related to Order API activities. "),t()(),e(15,"div",9)(16,"app-channel-options-v2",10),b("ngModelChange",function(o){return m(a),_(r.selectedChannel,o)||(r.selectedChannel=o),s(o)}),t()()(),e(17,"div",11)(18,"div",7)(19,"h6"),i(20,"Order Number"),t(),e(21,"p",8),i(22," Order or Invoice number from Channel. "),t()(),e(23,"div",9)(24,"input",12),b("ngModelChange",function(o){return m(a),_(r.orderNumber,o)||(r.orderNumber=o),s(o)}),t()()()()(),T(25),S(26,"async"),e(27,"div",13)(28,"div",14)(29,"div",15)(30,"div",16)(31,"h5"),i(32,"Response"),t(),e(33,"button",17),g("click",function(){m(a);let o=v(25);return s(r.copyToClipboard(o))}),i(34," Copy "),t()(),e(35,"div",18)(36,"div",19)(37,"div",20),M(38,z,3,3,"pre",21)(39,K,2,0,"p",22),t()()()()()()()()()}if(p&2){f("hideSearchBox",!0)("hideSearchDropdown",!0),d(16),C("ngModel",r.selectedChannel),d(8),C("ngModel",r.orderNumber),d();let a=V(w(26,6,r.orderLog$));d(8),f("disabled",!a),d(5),O(a?38:39)}},dependencies:[k,P,W,U,G,J,R,B,D,I,Y],encapsulation:2})}}return n})();export{ce as OrderApiComponent};
@@ -1 +1 @@
1
- import{a as mt}from"./chunk-7KG3DC5J.js";import{b as lt}from"./chunk-UWC2EVFY.js";import"./chunk-ACIMXBIC.js";import{a as st}from"./chunk-LDL3A7NM.js";import{i as it}from"./chunk-BVPWV5YO.js";import"./chunk-Z3ITXK3D.js";import"./chunk-TGMCGROM.js";import"./chunk-CGOB6Y3X.js";import{e as et}from"./chunk-WN5DZGA4.js";import"./chunk-4NEKWRL7.js";import{a as nt,b as ot,d as at,e as rt}from"./chunk-PYXL7UF7.js";import{c as tt}from"./chunk-RXQX7567.js";import{m as ct,n as pt}from"./chunk-HJXYT6MI.js";import{A as Z,h as X,m as Y}from"./chunk-5PS6ZS3N.js";import"./chunk-V3USB3ZU.js";import"./chunk-ERXVXBTU.js";import"./chunk-MFQQEEHJ.js";import"./chunk-GZKOMS4T.js";import{H as K,J as Q,d as A,f as j,g as U,j as W,k as q,m as J,n as G}from"./chunk-FXQKRJWU.js";import{$c as s,Fc as R,Gb as L,Gc as l,Hc as N,Ic as y,Kc as $,Lc as O,Mb as d,Mc as V,Rc as B,Sc as k,Tc as H,Yb as c,Z as b,ad as u,bd as T,ca as D,cd as z,f as w,ic as n,jc as o,kc as v,lc as f,mc as g,ob as M,oc as P,pb as I,rb as a,tc as E,uc as m,v as _,xb as S,xc as F,ya as h,za as C}from"./chunk-OJMQBH6T.js";import"./chunk-EU2KAMEK.js";import"./chunk-66YHNWRR.js";var ft=(i,p)=>({"bg-gradient-danger":i,"bg-gradient-warning":p}),gt=()=>["/menu/products/status/notification/detail"],ut=i=>({ID:i});function _t(i,p){if(i&1&&(n(0,"span",15),v(1,"img",16),o(),l(2)),i&2){let t=p.item;a(),c("src",t.Img,I)("alt",t.Name),a(),y(" ",t.Name," ")}}function ht(i,p){if(i&1&&(f(0),l(1),s(2,"number"),n(3,"span"),l(4,"s"),o(),g()),i&2){let t=m().$implicit;a(),y(" ",T(2,1,t.DurationInSecond,"1.1-1")," ")}}function Ct(i,p){i&1&&l(0," - ")}function St(i,p){if(i&1&&(f(0),n(1,"tr",17)(2,"td")(3,"a",18),v(4,"img",19),n(5,"span"),l(6),o()()(),n(7,"td")(8,"b"),l(9),o(),v(10,"div",20),o(),n(11,"td"),d(12,ht,5,4,"ng-container",21)(13,Ct,1,0,"ng-template",null,0,z),o(),n(15,"td"),l(16),o(),n(17,"td"),l(18),s(19,"date"),o()(),g()),i&2){let t=p.$implicit,e=R(14);a(),c("ngClass",H(14,ft,t.Status==1,t.Status==0)),a(2),c("routerLink",B(17,gt))("queryParams",k(18,ut,t.ID)),a(),F("src",t.Img,I),a(2),N(t.Name),a(3),N(t.Label),a(),c("innerHTML",t.Message,M),a(2),c("ngIf",t.DurationInSecond)("ngIfElse",e),a(4),N(t.StatusLabel),a(2),y(" ",T(19,11,t.Created,"dd MMM yyyy HH:mm")," ")}}function vt(i,p){if(i&1){let t=P();f(0),n(1,"div",7)(2,"div",22)(3,"app-custom-paginator",23),s(4,"async"),s(5,"async"),E("total",function(){h(t);let r=m(2);return C(r.getRowCount())})("next",function(){h(t);let r=m(2);return C(r.getNotifications())})("previous",function(){h(t);let r=m(2);return C(r.getNotifications())}),o()()(),g()}if(i&2){let t=m().ngIf,e=m();a(3),c("filter",e.filter)("totaldata",t==null?null:t.length)("paginationTotal",u(4,4,e.rowCount$))("hasClicked",u(5,6,e.rowCount$))}}function Nt(i,p){if(i&1&&(f(0),d(1,vt,6,8,"ng-container",14),g()),i&2){let t=p.ngIf;a(),c("ngIf",t.length>0)}}var Ht=(()=>{class i{constructor(t,e,r){this.http=t,this.notificationService=e,this.authService=r,this.filter=new mt,this.destroy$=new w,this.channelOptions=r.getChannels()}ngOnInit(){this.notificationService.clearNotification(),this.initPageLoader(),this.subscribeNotification()}subscribeNotification(){this.notificationService.getNotification().pipe(D(this.destroy$)).subscribe(t=>{t.length>0&&(this.getNotifications(),this.notificationService.clearNotification())})}initPageLoader(){this.http.post("/api/notification/Load",{}).subscribe(t=>{this.filter=t.Filter,this.filter.PageSize=this.filter.RowCount,this.getNotifications()})}onFilter(){this.rowCount$=null,this.getNotifications()}getNotifications(){let t={ChannelID:this.filter.ChannelID,RowCount:this.filter.PageSize,PageNumber:this.filter.PageNumber};this.notifications$=this.http.post("/api/notification/Get",t).pipe(_(e=>e.Data),_(e=>(e=this.setChannelLogoToNotifications(e),e=this.setTimeToSecond(e),e)),b(1))}setTimeToSecond(t){return t=t.map(e=>(e.DurationInSecond=parseInt(e.Duration)/1e3,e)),t}setChannelLogoToNotifications(t){return t=t.map(e=>(e.Img=tt.getChannelLogoByTypeId(e.TypeID),e)),t}getRowCount(){let t={ChannelID:this.filter.ChannelID};this.rowCount$=this.http.post("/api/notification/RowCount",t).pipe(_(e=>e.Count),b(1))}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static{this.\u0275fac=function(e){return new(e||i)(S(et),S(lt),S(it))}}static{this.\u0275cmp=L({type:i,selectors:[["app-notification"]],decls:33,vars:9,consts:[["timeNotAvailable",""],["headerTitle","Product Scan Job","hideSearchBox","true",3,"onSubmit"],["routerLink","/menu/products/status/notificationV2",1,"btn","btn-outline-secondary","btn-lg"],[1,"mb-2"],["appendTo","body","bindLabel","Name","name","channelid","bindValue","ID","placeholder","Select Channel",1,"center-text",3,"ngModelChange","clearable","items","ngModel"],["ng-option-tmp","","ng-label-tmp",""],[1,"container-fluid","mt-3"],[1,"row"],[1,"col-md-12"],[1,"table-responsive"],[1,"table","table-hover"],[1,"sticky-top-thead"],[1,"table-light"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"me-2"],[2,"width","18px",3,"src","alt"],[3,"ngClass"],[3,"routerLink","queryParams"],["alt","",1,"channelLogo-md","me-4",3,"src"],[3,"innerHTML"],[4,"ngIf","ngIfElse"],[1,"col-12"],[3,"total","next","previous","filter","totaldata","paginationTotal","hasClicked"]],template:function(e,r){e&1&&(n(0,"mainpanel",1),E("onSubmit",function(){return r.onFilter()}),n(1,"actions")(2,"a",2),l(3," Scan Job V2 "),o()(),n(4,"filters")(5,"div")(6,"h6",3),l(7,"Channel"),o(),n(8,"ng-select",4),V("ngModelChange",function(x){return O(r.filter.ChannelID,x)||(r.filter.ChannelID=x),x}),d(9,_t,3,3,"ng-template",5),o()()(),n(10,"content")(11,"div",6)(12,"div",7)(13,"div",8)(14,"div",9)(15,"table",10)(16,"thead",11)(17,"tr",12)(18,"th"),l(19,"Channel"),o(),n(20,"th"),l(21,"Process"),o(),n(22,"th"),l(23,"Duration"),o(),n(24,"th"),l(25,"Status"),o(),n(26,"th"),l(27,"Created"),o()()(),n(28,"tbody"),d(29,St,20,20,"ng-container",13),s(30,"async"),o()()()()(),d(31,Nt,2,1,"ng-container",14),s(32,"async"),o()()()),e&2&&(a(8),c("clearable",!0)("items",r.channelOptions),$("ngModel",r.filter.ChannelID),a(21),c("ngForOf",u(30,5,r.notifications$)),a(2),c("ngIf",u(32,7,r.notifications$)))},dependencies:[G,A,j,U,W,J,q,Z,X,Y,pt,ct,st,rt,at,nt,ot,Q,K],encapsulation:2})}}return i})();export{Ht as NotificationComponent};
1
+ import{a as mt}from"./chunk-7KG3DC5J.js";import{b as lt}from"./chunk-GZS2MOSK.js";import"./chunk-ACIMXBIC.js";import{a as nt,b as ot,d as at,e as rt}from"./chunk-PYXL7UF7.js";import{a as st}from"./chunk-LDL3A7NM.js";import{i as it}from"./chunk-P2AADVEN.js";import"./chunk-Z3ITXK3D.js";import"./chunk-TGMCGROM.js";import"./chunk-CGOB6Y3X.js";import{e as et}from"./chunk-WN5DZGA4.js";import"./chunk-4NEKWRL7.js";import{c as tt}from"./chunk-EUYQST7Q.js";import{m as ct,n as pt}from"./chunk-HJXYT6MI.js";import{A as Z,h as X,m as Y}from"./chunk-5PS6ZS3N.js";import"./chunk-V3USB3ZU.js";import"./chunk-ERXVXBTU.js";import"./chunk-MFQQEEHJ.js";import"./chunk-GZKOMS4T.js";import{H as K,J as Q,d as A,f as j,g as U,j as W,k as q,m as J,n as G}from"./chunk-FXQKRJWU.js";import{$c as s,Fc as R,Gb as L,Gc as l,Hc as N,Ic as y,Kc as $,Lc as O,Mb as d,Mc as V,Rc as B,Sc as k,Tc as H,Yb as c,Z as b,ad as u,bd as T,ca as D,cd as z,f as w,ic as n,jc as o,kc as v,lc as f,mc as g,ob as M,oc as P,pb as I,rb as a,tc as E,uc as m,v as _,xb as S,xc as F,ya as h,za as C}from"./chunk-OJMQBH6T.js";import"./chunk-EU2KAMEK.js";import"./chunk-66YHNWRR.js";var ft=(i,p)=>({"bg-gradient-danger":i,"bg-gradient-warning":p}),gt=()=>["/menu/products/status/notification/detail"],ut=i=>({ID:i});function _t(i,p){if(i&1&&(n(0,"span",15),v(1,"img",16),o(),l(2)),i&2){let t=p.item;a(),c("src",t.Img,I)("alt",t.Name),a(),y(" ",t.Name," ")}}function ht(i,p){if(i&1&&(f(0),l(1),s(2,"number"),n(3,"span"),l(4,"s"),o(),g()),i&2){let t=m().$implicit;a(),y(" ",T(2,1,t.DurationInSecond,"1.1-1")," ")}}function Ct(i,p){i&1&&l(0," - ")}function St(i,p){if(i&1&&(f(0),n(1,"tr",17)(2,"td")(3,"a",18),v(4,"img",19),n(5,"span"),l(6),o()()(),n(7,"td")(8,"b"),l(9),o(),v(10,"div",20),o(),n(11,"td"),d(12,ht,5,4,"ng-container",21)(13,Ct,1,0,"ng-template",null,0,z),o(),n(15,"td"),l(16),o(),n(17,"td"),l(18),s(19,"date"),o()(),g()),i&2){let t=p.$implicit,e=R(14);a(),c("ngClass",H(14,ft,t.Status==1,t.Status==0)),a(2),c("routerLink",B(17,gt))("queryParams",k(18,ut,t.ID)),a(),F("src",t.Img,I),a(2),N(t.Name),a(3),N(t.Label),a(),c("innerHTML",t.Message,M),a(2),c("ngIf",t.DurationInSecond)("ngIfElse",e),a(4),N(t.StatusLabel),a(2),y(" ",T(19,11,t.Created,"dd MMM yyyy HH:mm")," ")}}function vt(i,p){if(i&1){let t=P();f(0),n(1,"div",7)(2,"div",22)(3,"app-custom-paginator",23),s(4,"async"),s(5,"async"),E("total",function(){h(t);let r=m(2);return C(r.getRowCount())})("next",function(){h(t);let r=m(2);return C(r.getNotifications())})("previous",function(){h(t);let r=m(2);return C(r.getNotifications())}),o()()(),g()}if(i&2){let t=m().ngIf,e=m();a(3),c("filter",e.filter)("totaldata",t==null?null:t.length)("paginationTotal",u(4,4,e.rowCount$))("hasClicked",u(5,6,e.rowCount$))}}function Nt(i,p){if(i&1&&(f(0),d(1,vt,6,8,"ng-container",14),g()),i&2){let t=p.ngIf;a(),c("ngIf",t.length>0)}}var Ht=(()=>{class i{constructor(t,e,r){this.http=t,this.notificationService=e,this.authService=r,this.filter=new mt,this.destroy$=new w,this.channelOptions=r.getChannels()}ngOnInit(){this.notificationService.clearNotification(),this.initPageLoader(),this.subscribeNotification()}subscribeNotification(){this.notificationService.getNotification().pipe(D(this.destroy$)).subscribe(t=>{t.length>0&&(this.getNotifications(),this.notificationService.clearNotification())})}initPageLoader(){this.http.post("/api/notification/Load",{}).subscribe(t=>{this.filter=t.Filter,this.filter.PageSize=this.filter.RowCount,this.getNotifications()})}onFilter(){this.rowCount$=null,this.getNotifications()}getNotifications(){let t={ChannelID:this.filter.ChannelID,RowCount:this.filter.PageSize,PageNumber:this.filter.PageNumber};this.notifications$=this.http.post("/api/notification/Get",t).pipe(_(e=>e.Data),_(e=>(e=this.setChannelLogoToNotifications(e),e=this.setTimeToSecond(e),e)),b(1))}setTimeToSecond(t){return t=t.map(e=>(e.DurationInSecond=parseInt(e.Duration)/1e3,e)),t}setChannelLogoToNotifications(t){return t=t.map(e=>(e.Img=tt.getChannelLogoByTypeId(e.TypeID),e)),t}getRowCount(){let t={ChannelID:this.filter.ChannelID};this.rowCount$=this.http.post("/api/notification/RowCount",t).pipe(_(e=>e.Count),b(1))}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static{this.\u0275fac=function(e){return new(e||i)(S(et),S(lt),S(it))}}static{this.\u0275cmp=L({type:i,selectors:[["app-notification"]],decls:33,vars:9,consts:[["timeNotAvailable",""],["headerTitle","Product Scan Job","hideSearchBox","true",3,"onSubmit"],["routerLink","/menu/products/status/notificationV2",1,"btn","btn-outline-secondary","btn-lg"],[1,"mb-2"],["appendTo","body","bindLabel","Name","name","channelid","bindValue","ID","placeholder","Select Channel",1,"center-text",3,"ngModelChange","clearable","items","ngModel"],["ng-option-tmp","","ng-label-tmp",""],[1,"container-fluid","mt-3"],[1,"row"],[1,"col-md-12"],[1,"table-responsive"],[1,"table","table-hover"],[1,"sticky-top-thead"],[1,"table-light"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"me-2"],[2,"width","18px",3,"src","alt"],[3,"ngClass"],[3,"routerLink","queryParams"],["alt","",1,"channelLogo-md","me-4",3,"src"],[3,"innerHTML"],[4,"ngIf","ngIfElse"],[1,"col-12"],[3,"total","next","previous","filter","totaldata","paginationTotal","hasClicked"]],template:function(e,r){e&1&&(n(0,"mainpanel",1),E("onSubmit",function(){return r.onFilter()}),n(1,"actions")(2,"a",2),l(3," Scan Job V2 "),o()(),n(4,"filters")(5,"div")(6,"h6",3),l(7,"Channel"),o(),n(8,"ng-select",4),V("ngModelChange",function(x){return O(r.filter.ChannelID,x)||(r.filter.ChannelID=x),x}),d(9,_t,3,3,"ng-template",5),o()()(),n(10,"content")(11,"div",6)(12,"div",7)(13,"div",8)(14,"div",9)(15,"table",10)(16,"thead",11)(17,"tr",12)(18,"th"),l(19,"Channel"),o(),n(20,"th"),l(21,"Process"),o(),n(22,"th"),l(23,"Duration"),o(),n(24,"th"),l(25,"Status"),o(),n(26,"th"),l(27,"Created"),o()()(),n(28,"tbody"),d(29,St,20,20,"ng-container",13),s(30,"async"),o()()()()(),d(31,Nt,2,1,"ng-container",14),s(32,"async"),o()()()),e&2&&(a(8),c("clearable",!0)("items",r.channelOptions),$("ngModel",r.filter.ChannelID),a(21),c("ngForOf",u(30,5,r.notifications$)),a(2),c("ngIf",u(32,7,r.notifications$)))},dependencies:[G,A,j,U,W,J,q,Z,X,Y,pt,ct,st,rt,at,nt,ot,Q,K],encapsulation:2})}}return i})();export{Ht as NotificationComponent};
@@ -0,0 +1 @@
1
+ var s=function(o){return o[o.Tokopedia=1]="Tokopedia",o[o.WooCommerce=2]="WooCommerce",o[o.None=3]="None",o[o.KalCare=4]="KalCare",o[o.Shopee=5]="Shopee",o[o.Tiktok=6]="Tiktok",o[o.Lazada=7]="Lazada",o[o.Shopify=8]="Shopify",o[o.Plugo=9]="Plugo",o[o.ShopifyV2=10]="ShopifyV2",o}(s||{});var i=function(o){return o.SHOOPE="https://resc.cloudinary.com/pos/image/upload/v1598262220/icons/marketplace_icons/shopee.png",o.WOOCOMMERCE="https://resc.cloudinary.com/pos/image/upload/w_50/v1632447439/icons/WooCommerce/woocommerce-icon.webp",o.TOKOPEDIA="https://resc.cloudinary.com/pos/image/upload/v1598262221/icons/marketplace_icons/tokopedia.png",o.TIKTOK="https://resc.cloudinary.com/pos/image/upload/w_30/v1645761611/icons/Marketplace%20logo/tiktok.png",o.LAZADA="https://resc.cloudinary.com/pos/image/upload/v1680681836/icons/marketplace_icons/Lazadanew.png",o.KALCARE="https://resc.cloudinary.com/pos/image/upload/v1654230268/icons/marketplace_icons/kalcare.png",o.SHOPIFY="https://resc.cloudinary.com/pos/image/upload/v1707987435/icons/marketplace_icons/shopify.png",o.PLUGO="https://resc.cloudinary.com/pos/image/upload/v1739236419/icons/marketplace_icons/plugo.ico",o.PLUGONEW="https://resc.cloudinary.com/pos/image/upload/v1739263497/icons/marketplace_icons/plugonew.ico",o}(i||{});var D=(()=>{class o{static{this.GuidEMpty="00000000-0000-0000-0000-000000000000"}static{this.MinDate="0001-01-01T00:00:00"}static IsNotEmpty(t){return t!=""&&t!=o.GuidEMpty&&t!=null&&t!=null}static IsEmpty(t){return t==""||t==null||t==null||t==o.GuidEMpty}static getChannelLogoByTypeId(t){let e;switch(t){case s.Tokopedia:e=i.TOKOPEDIA;break;case s.Shopee:e=i.SHOOPE;break;case s.WooCommerce:e=i.WOOCOMMERCE;break;case s.Lazada:e=i.LAZADA;break;case s.Tiktok:e=i.TIKTOK;break;case s.KalCare:e=i.KALCARE;break;case s.Shopify:e=i.SHOPIFY;break;case s.Plugo:e=i.PLUGO;break;case s.ShopifyV2:e=i.SHOPIFY;break}return e}static getChannelLogoByName(t=""){t=t.toLowerCase();let e;switch(t){case"tokopedia":e=i.TOKOPEDIA;break;case"shoppe":e=i.SHOOPE;break;case"woocommerce":e=i.WOOCOMMERCE;break;case"tiktok":e=i.TIKTOK;break;case"lazada":e=i.LAZADA;break;case"kalCare":e=i.KALCARE;break;case"plugo":e=i.PLUGO;break;case"shopifyv2":e=i.SHOPIFY;break}return e}static getChannelName(t){let e;switch(t){case s.Shopee:e="Shopee";break;case s.Tokopedia:e="Tokopedia";break;case s.Lazada:e="Lazada";break;case s.Tiktok:e="Tiktok";break;case s.WooCommerce:e="WooCommerce";break;case s.KalCare:e="KalCare";break;case s.Plugo:e="Plugo";break;case s.ShopifyV2:e="Shopify";break}return e}static assignChannelLogo(t){return t=t.map(e=>(e.logo=this.getChannelLogoByTypeId(e.TypeID),e)),t}static getCssChannelColor(t){let e;switch(t){case s.Shopee:e="#ee4d2d";break;case s.Tokopedia:e="var(--G500,#03AC0E)";break;case s.Lazada:e="#FF00B2";break;case s.Tiktok:e="black";break;case s.WooCommerce:e="#674399";break;case s.KalCare:e="rgb(128, 188, 0)";break;case s.Plugo:e="#F2A954";break}return e}static getDaysDiff(t,e){var a=e.getTime()-t.getTime(),r=a/(1e3*60*60*24);return r}static addDays(t,e){let a=new Date(Number(t));return a.setDate(t.getDate()-e),a}static isValidDate(t){return t instanceof Date&&!isNaN(t)}static getImageInfo(t){return new Promise((e,a)=>{let r=new Image;r.src=t,r.decode().then(()=>{e({img:t,height:r.height,width:r.width})}).catch(()=>{a(new Error(`Image load error for ${t}`))})})}static formatTitleFromDate(t,e){let a=null,r=new Date(t),c=new Date(e);return r.getDate()!=c.getDate()&&(a="dd"),r.getMonth()!=c.getMonth()&&(a="dd MMM"),r.getFullYear()!=c.getFullYear()&&(a="dd MMM yyyy"),a}static openDownloadFile(t,e){var a=window.URL.createObjectURL(t),r=document.createElement("a");r.href=a,r.download=e,r.click()}static compare(t,e,a){return(t<e?-1:1)*(a?1:-1)}static isDateExpired(t){let e=new Date,a=!1;return t.getTime()<e.getTime()&&(a=!0),a}static getLabelPathTree(t){let e=[],a=t;for(;a;)e.unshift(a.label),a=a.parent;return e.join(" / ")}static searchByIdWithParentDFS(t,e){let a=[...t],r;for(typeof e=="number"?r=JSON.stringify(e):r=e;a.length>0;){let c=a.pop();if(c.id===r)return c;if(c.children&&c.children.length>0)for(let n of c.children)n.parent=c,a.push(n)}return null}static getTimeDifference(t){let e=new Date(t),a=new Date,r=Math.abs(e.getTime()-a.getTime()),c=1e3,n=6e4,d=60*n,l=24*d,m=Math.floor(r/l),p=Math.floor(r%l/d),u=Math.floor(r%d/n),g=Math.floor(r%n/c);return{days:m,hours:p,minutes:u,seconds:g}}static convertToReadableDate(t){let{days:e,hours:a,minutes:r,seconds:c}=o.getTimeDifference(t),n="";return e>0&&a>0&&r>0&&(n=`${e} days, ${a} hours and ${r} minutes ago`),e>0&&a>0&&r==0&&(n=`${e} days and ${a} hours ago`),e>0&&a==0&&(n=`${e} days ago`),e==0&&a>0&&r>0&&(n=`${a} hours and ${r} minutes ago`),e==0&&a>0&&r==0&&(n=`${a} hours ago`),e==0&&a==0&&r>0&&(n=`${r} minutes ago`),e==0&&a==0&&r==0&&c>0&&(n=`${c} seconds ago`),n}static isValidGUID(t){return/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.test(t)}static convertTimestampToDate(t){if(!Number.isFinite(t))return new Date(t);let e=t<1e12?t*1e3:t;return new Date(e)}static parseJwt(t){var e=t.split(".")[1],a=e.replace(/-/g,"+").replace(/_/g,"/"),r=decodeURIComponent(atob(a).split("").map(function(c){return"%"+("00"+c.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(r)}}return o})();export{i as a,s as b,D as c};
@@ -1,4 +1,4 @@
1
- import{a as B}from"./chunk-PIBVGTHJ.js";import{a as Ge,b as Pe}from"./chunk-FGRPTNDB.js";import{a as Le,b as Qe}from"./chunk-OXWPLJEW.js";import{a as Oe,b as Ve}from"./chunk-EPBVNII2.js";import"./chunk-UZWED4UK.js";import"./chunk-4YRBARG2.js";import"./chunk-5CKVZBHM.js";import"./chunk-BKRCW7SH.js";import"./chunk-RGAKHXPF.js";import"./chunk-T2OSIFLN.js";import"./chunk-QW4EOJRM.js";import{a as ke}from"./chunk-RHHHL4OR.js";import"./chunk-Q4N2QUV6.js";import"./chunk-7G6GQTSH.js";import"./chunk-YQLOB7IQ.js";import"./chunk-OZ7LWNOK.js";import{a as Ne}from"./chunk-YFDFIBAG.js";import{T as Ee,fa as Ie,la as Re,ma as xe,na as k,oa as O}from"./chunk-RC5PUUVM.js";import"./chunk-CGOB6Y3X.js";import{b as Te}from"./chunk-WN5DZGA4.js";import"./chunk-4NEKWRL7.js";import{d as Se,e as we}from"./chunk-PYXL7UF7.js";import{c as D}from"./chunk-RXQX7567.js";import{m as De,n as Ue}from"./chunk-HJXYT6MI.js";import{A as Ce,c as ye,h as be,m as ve}from"./chunk-5PS6ZS3N.js";import"./chunk-V3USB3ZU.js";import{r as Me,s as Fe}from"./chunk-MFQQEEHJ.js";import"./chunk-GZKOMS4T.js";import{E as he,G as fe,H as ge,J as _e,d as x,g as pe,h as ce,i as me,j as ue,n as N}from"./chunk-FXQKRJWU.js";import{$c as se,Bc as _,Ca as V,Cc as y,Gb as U,Gc as c,Hb as X,Hc as S,Ic as re,Kb as Y,Kc as w,Lc as M,Mb as u,Mc as F,Nc as le,Qc as I,Ra as f,Rc as R,Sc as W,Xb as Z,Yb as l,Z as q,aa as A,ac as ee,ad as de,dc as te,ea as z,gc as ne,hc as ie,ic as a,ja as H,jc as r,ka as J,kc as ae,lc as L,mc as Q,nc as T,oc as G,pa as b,pb as K,rb as o,tc as P,uc as h,v as j,vc as oe,wc as E,ya as v,za as C,zc as g}from"./chunk-OJMQBH6T.js";import"./chunk-EU2KAMEK.js";import"./chunk-66YHNWRR.js";var Ae=["header"],ze=["title"],He=["subtitle"],Je=["content"],Ke=["footer"],Xe=["*",[["p-header"]],[["p-footer"]]],Ye=["*","p-header","p-footer"];function Ze(e,p){e&1&&T(0)}function et(e,p){if(e&1&&(a(0,"div",8),E(1,1),u(2,Ze,1,0,"ng-container",6),r()),e&2){let n=h();o(2),l("ngTemplateOutlet",n.headerTemplate||n._headerTemplate)}}function tt(e,p){if(e&1&&(L(0),c(1),Q()),e&2){let n=h(2);o(),S(n.header)}}function nt(e,p){e&1&&T(0)}function it(e,p){if(e&1&&(a(0,"div",9),u(1,tt,2,1,"ng-container",10)(2,nt,1,0,"ng-container",6),r()),e&2){let n=h();o(),l("ngIf",n.header&&!n._titleTemplate&&!n.titleTemplate),o(),l("ngTemplateOutlet",n.titleTemplate||n._titleTemplate)}}function at(e,p){if(e&1&&(L(0),c(1),Q()),e&2){let n=h(2);o(),S(n.subheader)}}function ot(e,p){e&1&&T(0)}function rt(e,p){if(e&1&&(a(0,"div",11),u(1,at,2,1,"ng-container",10)(2,ot,1,0,"ng-container",6),r()),e&2){let n=h();o(),l("ngIf",n.subheader&&!n._subtitleTemplate&&!n.subtitleTemplate),o(),l("ngTemplateOutlet",n.subtitleTemplate||n._subtitleTemplate)}}function lt(e,p){e&1&&T(0)}function st(e,p){e&1&&T(0)}function dt(e,p){if(e&1&&(a(0,"div",12),E(1,2),u(2,st,1,0,"ng-container",6),r()),e&2){let n=h();o(2),l("ngTemplateOutlet",n.footerTemplate||n._footerTemplate)}}var pt=({dt:e})=>`
1
+ import{a as B}from"./chunk-PIBVGTHJ.js";import{a as ke}from"./chunk-RHHHL4OR.js";import{a as Ge,b as Pe}from"./chunk-FGRPTNDB.js";import{a as Oe,b as Ve}from"./chunk-OXWPLJEW.js";import{a as Le,b as Qe}from"./chunk-EPBVNII2.js";import"./chunk-UZWED4UK.js";import"./chunk-5CKVZBHM.js";import"./chunk-4YRBARG2.js";import"./chunk-BKRCW7SH.js";import"./chunk-RGAKHXPF.js";import"./chunk-T2OSIFLN.js";import"./chunk-QW4EOJRM.js";import"./chunk-Q4N2QUV6.js";import"./chunk-7G6GQTSH.js";import"./chunk-YQLOB7IQ.js";import"./chunk-OZ7LWNOK.js";import{a as Ne}from"./chunk-YFDFIBAG.js";import{T as Ee,fa as Ie,la as Re,ma as xe,na as k,oa as O}from"./chunk-RC5PUUVM.js";import{d as Se,e as we}from"./chunk-PYXL7UF7.js";import"./chunk-CGOB6Y3X.js";import{b as Te}from"./chunk-WN5DZGA4.js";import"./chunk-4NEKWRL7.js";import{c as D}from"./chunk-EUYQST7Q.js";import{m as De,n as Ue}from"./chunk-HJXYT6MI.js";import{A as Ce,c as ye,h as be,m as ve}from"./chunk-5PS6ZS3N.js";import"./chunk-V3USB3ZU.js";import{r as Me,s as Fe}from"./chunk-MFQQEEHJ.js";import"./chunk-GZKOMS4T.js";import{E as he,G as fe,H as ge,J as _e,d as x,g as pe,h as ce,i as me,j as ue,n as N}from"./chunk-FXQKRJWU.js";import{$c as se,Bc as _,Ca as V,Cc as y,Gb as U,Gc as c,Hb as X,Hc as S,Ic as re,Kb as Y,Kc as w,Lc as M,Mb as u,Mc as F,Nc as le,Qc as I,Ra as f,Rc as R,Sc as W,Xb as Z,Yb as l,Z as q,aa as A,ac as ee,ad as de,dc as te,ea as z,gc as ne,hc as ie,ic as a,ja as H,jc as r,ka as J,kc as ae,lc as L,mc as Q,nc as T,oc as G,pa as b,pb as K,rb as o,tc as P,uc as h,v as j,vc as oe,wc as E,ya as v,za as C,zc as g}from"./chunk-OJMQBH6T.js";import"./chunk-EU2KAMEK.js";import"./chunk-66YHNWRR.js";var Ae=["header"],ze=["title"],He=["subtitle"],Je=["content"],Ke=["footer"],Xe=["*",[["p-header"]],[["p-footer"]]],Ye=["*","p-header","p-footer"];function Ze(e,p){e&1&&T(0)}function et(e,p){if(e&1&&(a(0,"div",8),E(1,1),u(2,Ze,1,0,"ng-container",6),r()),e&2){let n=h();o(2),l("ngTemplateOutlet",n.headerTemplate||n._headerTemplate)}}function tt(e,p){if(e&1&&(L(0),c(1),Q()),e&2){let n=h(2);o(),S(n.header)}}function nt(e,p){e&1&&T(0)}function it(e,p){if(e&1&&(a(0,"div",9),u(1,tt,2,1,"ng-container",10)(2,nt,1,0,"ng-container",6),r()),e&2){let n=h();o(),l("ngIf",n.header&&!n._titleTemplate&&!n.titleTemplate),o(),l("ngTemplateOutlet",n.titleTemplate||n._titleTemplate)}}function at(e,p){if(e&1&&(L(0),c(1),Q()),e&2){let n=h(2);o(),S(n.subheader)}}function ot(e,p){e&1&&T(0)}function rt(e,p){if(e&1&&(a(0,"div",11),u(1,at,2,1,"ng-container",10)(2,ot,1,0,"ng-container",6),r()),e&2){let n=h();o(),l("ngIf",n.subheader&&!n._subtitleTemplate&&!n.subtitleTemplate),o(),l("ngTemplateOutlet",n.subtitleTemplate||n._subtitleTemplate)}}function lt(e,p){e&1&&T(0)}function st(e,p){e&1&&T(0)}function dt(e,p){if(e&1&&(a(0,"div",12),E(1,2),u(2,st,1,0,"ng-container",6),r()),e&2){let n=h();o(2),l("ngTemplateOutlet",n.footerTemplate||n._footerTemplate)}}var pt=({dt:e})=>`
2
2
  .p-card {
3
3
  background: ${e("card.background")};
4
4
  color: ${e("card.color")};
@@ -29,5 +29,5 @@ import{a as B}from"./chunk-PIBVGTHJ.js";import{a as Ge,b as Pe}from"./chunk-FGRP
29
29
  .p-card-subtitle {
30
30
  color: ${e("card.subtitle.color")};
31
31
  }
32
- `,ct={root:"p-card p-component",header:"p-card-header",body:"p-card-body",caption:"p-card-caption",title:"p-card-title",subtitle:"p-card-subtitle",content:"p-card-content",footer:"p-card-footer"},We=(()=>{class e extends Ie{name="card";theme=pt;classes=ct;static \u0275fac=(()=>{let n;return function(t){return(n||(n=V(e)))(t||e)}})();static \u0275prov=H({token:e,factory:e.\u0275fac})}return e})();var mt=(()=>{class e extends Ne{header;subheader;set style(n){Ee(this._style(),n)||this._style.set(n)}styleClass;headerFacet;footerFacet;headerTemplate;titleTemplate;subtitleTemplate;contentTemplate;footerTemplate;_headerTemplate;_titleTemplate;_subtitleTemplate;_contentTemplate;_footerTemplate;_style=f(null);_componentStyle=b(We);getBlockableElement(){return this.el.nativeElement.children[0]}templates;ngAfterContentInit(){this.templates.forEach(n=>{switch(n.getType()){case"header":this._headerTemplate=n.template;break;case"title":this._titleTemplate=n.template;break;case"subtitle":this._subtitleTemplate=n.template;break;case"content":this._contentTemplate=n.template;break;case"footer":this._footerTemplate=n.template;break;default:this._contentTemplate=n.template;break}})}static \u0275fac=(()=>{let n;return function(t){return(n||(n=V(e)))(t||e)}})();static \u0275cmp=U({type:e,selectors:[["p-card"]],contentQueries:function(s,t,i){if(s&1&&(g(i,Re,5),g(i,xe,5),g(i,Ae,4),g(i,ze,4),g(i,He,4),g(i,Je,4),g(i,Ke,4),g(i,k,4)),s&2){let d;_(d=y())&&(t.headerFacet=d.first),_(d=y())&&(t.footerFacet=d.first),_(d=y())&&(t.headerTemplate=d.first),_(d=y())&&(t.titleTemplate=d.first),_(d=y())&&(t.subtitleTemplate=d.first),_(d=y())&&(t.contentTemplate=d.first),_(d=y())&&(t.footerTemplate=d.first),_(d=y())&&(t.templates=d)}},inputs:{header:"header",subheader:"subheader",style:"style",styleClass:"styleClass"},features:[I([We]),Y],ngContentSelectors:Ye,decls:9,vars:10,consts:[[3,"ngClass","ngStyle"],["class","p-card-header",4,"ngIf"],[1,"p-card-body"],["class","p-card-title",4,"ngIf"],["class","p-card-subtitle",4,"ngIf"],[1,"p-card-content"],[4,"ngTemplateOutlet"],["class","p-card-footer",4,"ngIf"],[1,"p-card-header"],[1,"p-card-title"],[4,"ngIf"],[1,"p-card-subtitle"],[1,"p-card-footer"]],template:function(s,t){s&1&&(oe(Xe),a(0,"div",0),u(1,et,3,1,"div",1),a(2,"div",2),u(3,it,3,2,"div",3)(4,rt,3,2,"div",4),a(5,"div",5),E(6),u(7,lt,1,0,"ng-container",6),r(),u(8,dt,3,1,"div",7),r()()),s&2&&(ee(t.styleClass),l("ngClass","p-card p-component")("ngStyle",t._style()),Z("data-pc-name","card"),o(),l("ngIf",t.headerFacet||t.headerTemplate||t._headerTemplate),o(2),l("ngIf",t.header||t.titleTemplate||t._titleTemplate),o(),l("ngIf",t.subheader||t.subtitleTemplate||t._subtitleTemplate),o(3),l("ngTemplateOutlet",t.contentTemplate||t._contentTemplate),o(),l("ngIf",t.footerFacet||t.footerTemplate||t._footerTemplate))},dependencies:[N,x,pe,me,ce,O],encapsulation:2,changeDetection:0})}return e})(),Be=(()=>{class e{static \u0275fac=function(s){return new(s||e)};static \u0275mod=X({type:e});static \u0275inj=J({imports:[mt,O,O]})}return e})();var $e=e=>({empty:e}),$=()=>[],ut=(e,p)=>p.ID;function ht(e,p){if(e&1&&(a(0,"div",34),ae(1,"img",35),a(2,"div"),c(3),r()()),e&2){let n=p.$implicit;o(),l("src",n.logo,K),o(2),S(n.Name)}}function ft(e,p){if(e&1){let n=G();a(0,"p-chip",38),P("onRemove",function(){let t=v(n).$implicit,i=h(3);return C(i.onRemoveChannel(t.ID))}),r()}if(e&2){let n=p.$implicit;l("label",n.Name)("image",n.logo)("alt",n.Name)("removable",!0)}}function gt(e,p){if(e&1&&ne(0,ft,1,4,"p-chip",37,ut),e&2){let n=h().$implicit;ie(n)}}function _t(e,p){if(e&1&&(a(0,"span"),c(1),r()),e&2){let n=h().$implicit;o(),re("",n.length," channels selected")}}function yt(e,p){if(e&1&&(a(0,"div",36),u(1,gt,2,0)(2,_t,2,1,"span"),r()),e&2){let n=p.$implicit;o(),te((n==null?null:n.length)<=10?1:2)}}var dn=(()=>{class e{constructor(){this.toastr=b(Te),this.userService=b(B),this.activatedRoute=b(he),this.route=b(fe),this.selectedUser=f(null),this.selectedGroup=f(null),this.selectedChannel=f([]),this.selectedUserName=f(null),this.orderDownloadDaysRange=f(0),this.isEditMode=f(!1),this.userFormLoader$=this.activatedRoute.queryParams.pipe(A(n=>{let s=n.ID||null;return this.userService.getUserFormLoader(s).pipe(q(1),z(t=>{this.isEditMode.set(D.IsNotEmpty(s)),this.selectedGroup.set(D.IsNotEmpty(t.Form?.GroupID)?t.Form?.GroupID:null),this.selectedUser.set(D.IsNotEmpty(t.Form?.ID)?t.Form?.ID:null),this.orderDownloadDaysRange.set(t.Form?.DownloadOrderDaysRange||0),this.findSelectedUserName(t.Options?.Users,this.selectedUser()),this.selectedChannel.set(t.UserChannels||[])}),j(t=>(t.Options.Channels=D.assignChannelLogo(t.Options.Channels),console.log(t),t)))}))}findSelectedUserName(n,s){let t=n.find(i=>i.ID===s);this.selectedUserName.set(t?t.Name:null)}onSave(){if(!this.selectedUser()||!this.selectedGroup()){this.toastr.error("Please select both user and group","Error");return}this.userService.onInviteUser({ID:this.selectedUser(),GroupID:this.selectedGroup(),UserChannels:this.selectedChannel()||[],DownloadOrderDaysRange:this.orderDownloadDaysRange()}).subscribe({next:()=>{this.toastr.success("User updated successfully","Success"),this.route.navigate(["/menu/users/users"])}})}onRemoveChannel(n){let t=(this.selectedChannel()||[]).filter(i=>i!==n);this.selectedChannel.set(t)}static{this.\u0275fac=function(s){return new(s||e)}}static{this.\u0275cmp=U({type:e,selectors:[["app-user-form"]],features:[I([B])],decls:56,vars:23,consts:[[3,"headerTitle","hideSearchBox","hideSearchDropdown"],["routerLink","/menu/users/users",1,"btn","btn-secondary","me-3"],[1,"btn","btn-success",3,"click"],[1,"container-fluid","py-5","bg-light-gray"],[1,"row","mt-8"],[1,"col-12"],[1,"card"],[1,"card-header"],[1,"card-body","mt-8","pb-4"],[1,"row"],[1,"col-6"],[1,"form-label-group","w-100",3,"ngClass"],["bindLabel","Name","bindValue","ID","placeholder","Select User","id","userSelection",1,"height-sm",3,"ngModelChange","items","ngModel","disabled"],["for","userSelection"],["bindLabel","Name","bindValue","ID","placeholder","Select Group","id","groupSelection",1,"height-sm",3,"ngModelChange","items","ngModel"],["for","groupSelection"],["id","myTab","role","tablist",1,"nav","nav-tabs"],["role","presentation",1,"nav-item"],["id","channel-tab","data-bs-toggle","tab","data-bs-target","#channel-tab-pane","type","button","role","tab","aria-controls","channel-tab-pane","aria-selected","true",1,"nav-link","active"],["id","restriction-tab","data-bs-toggle","tab","data-bs-target","#restriction-tab-pane","type","button","role","tab","aria-controls","restriction-tab-pane","aria-selected","false",1,"nav-link"],[1,"card","rounded-0","border-top-0"],[1,"card-body","pb-4"],["id","myTabContent",1,"tab-content","mt-3"],["id","channel-tab-pane","role","tabpanel","aria-labelledby","channel-tab","tabindex","0",1,"tab-pane","fade","show","active","pb-9"],["variant","on",1,"w-100"],["optionLabel","Name","optionValue","ID","display","chip","id","channelSelection",1,"w-100","channel-multiselect",2,"--p-multiselect-padding-y","14px",3,"ngModelChange","options","ngModel","maxSelectedLabels"],["pTemplate","item"],["pTemplate","selectedItems"],["for","channelSelection"],[1,"mt-4"],["id","restriction-tab-pane","role","tabpanel","aria-labelledby","restriction-tab-pane","tabindex","1",1,"tab-pane","fade"],["matTooltip","How many days of past orders this user can download.","matTooltipPosition","above",1,"form-label-group","mb-3"],["type","text","id","daysRange","name","daysRange","data-toggle","tooltip","title","daysRange","autoNum","",1,"form-control",3,"ngModelChange","ngModel"],["for","daysRange"],[1,"d-flex","align-items-center","gap-2"],[2,"width","18px",3,"src"],[1,"d-flex","flex-wrap","gap-1"],[1,"me-3",2,"--p-chip-image-width","1.2rem","--p-chip-image-height","1.2rem","--p-chip-padding-x","1rem","--p-chip-padding-y","0.5rem","--p-chip-border-radius","0.5rem","--p-chip-font-size","1.2rem",3,"label","image","alt","removable"],[1,"me-3",2,"--p-chip-image-width","1.2rem","--p-chip-image-height","1.2rem","--p-chip-padding-x","1rem","--p-chip-padding-y","0.5rem","--p-chip-border-radius","0.5rem","--p-chip-font-size","1.2rem",3,"onRemove","label","image","alt","removable"]],template:function(s,t){if(s&1){let i=G();le(0),se(1,"async"),a(2,"mainpanel",0)(3,"actions")(4,"a",1),c(5," Cancel "),r(),a(6,"button",2),P("click",function(){return v(i),C(t.onSave())}),c(7,"Save"),r()(),a(8,"content")(9,"div",3)(10,"div",4)(11,"div",5)(12,"div",6)(13,"div",7)(14,"h3"),c(15,"User Information"),r()(),a(16,"div",8)(17,"div",9)(18,"div",10)(19,"div",11)(20,"ng-select",12),F("ngModelChange",function(m){return v(i),M(t.selectedUser,m)||(t.selectedUser=m),C(m)}),r(),a(21,"label",13),c(22,"Select User"),r()()(),a(23,"div",10)(24,"div",11)(25,"ng-select",14),F("ngModelChange",function(m){return v(i),M(t.selectedGroup,m)||(t.selectedGroup=m),C(m)}),r(),a(26,"label",15),c(27,"Select Group"),r()()()()()()()(),a(28,"div",9)(29,"div",5)(30,"ul",16)(31,"li",17)(32,"button",18),c(33," Channels Filter "),r()(),a(34,"li",17)(35,"button",19),c(36," Restriction "),r()()(),a(37,"div",20)(38,"div",21)(39,"div",22)(40,"div",23)(41,"p-floatlabel",24)(42,"p-multiselect",25),F("ngModelChange",function(m){return v(i),M(t.selectedChannel,m)||(t.selectedChannel=m),C(m)}),u(43,ht,4,2,"ng-template",26)(44,yt,3,1,"ng-template",27),r(),a(45,"label",28),c(46,"Select Channels"),r()(),a(47,"div",29),c(48," When no channel filter is assigned all channel will be visible "),r()(),a(49,"div",30)(50,"div",9)(51,"div",10)(52,"div",31)(53,"input",32),F("ngModelChange",function(m){return v(i),M(t.orderDownloadDaysRange,m)||(t.orderDownloadDaysRange=m),C(m)}),r(),a(54,"label",33),c(55,"Download Order Days Range"),r()()()()()()()()()()()()()}if(s&2){let i=de(1,14,t.userFormLoader$);o(2),l("headerTitle",t.selectedUserName()?" Edit User Access - "+t.selectedUserName():"User Form")("hideSearchBox",!0)("hideSearchDropdown",!0),o(17),l("ngClass",W(16,$e,!t.selectedUser())),o(),l("items",(i==null||i.Options==null?null:i.Options.Users)||R(18,$)),w("ngModel",t.selectedUser),l("disabled",t.isEditMode()),o(4),l("ngClass",W(19,$e,!t.selectedGroup())),o(),l("items",(i==null||i.Options==null?null:i.Options.Groups)||R(21,$)),w("ngModel",t.selectedGroup),o(17),l("options",(i==null||i.Options==null?null:i.Options.Channels)||R(22,$)),w("ngModel",t.selectedChannel),l("maxSelectedLabels",10),o(11),w("ngModel",t.orderDownloadDaysRange)}},dependencies:[N,x,ue,Ue,De,Ce,ye,be,ve,Pe,Ge,k,we,Se,Be,Qe,Le,Ve,Oe,_e,ge,ke,Fe,Me],styles:[`.nav-tabs .nav-link.active:hover,.nav-tabs .nav-link.active:focus,.nav-tabs .nav-item.show .nav-link:hover,.nav-tabs .nav-item.show .nav-link:focus{background-color:#fff!important;border-color:#dee2e6 #dee2e6 #fff}
32
+ `,ct={root:"p-card p-component",header:"p-card-header",body:"p-card-body",caption:"p-card-caption",title:"p-card-title",subtitle:"p-card-subtitle",content:"p-card-content",footer:"p-card-footer"},We=(()=>{class e extends Ie{name="card";theme=pt;classes=ct;static \u0275fac=(()=>{let n;return function(t){return(n||(n=V(e)))(t||e)}})();static \u0275prov=H({token:e,factory:e.\u0275fac})}return e})();var mt=(()=>{class e extends Ne{header;subheader;set style(n){Ee(this._style(),n)||this._style.set(n)}styleClass;headerFacet;footerFacet;headerTemplate;titleTemplate;subtitleTemplate;contentTemplate;footerTemplate;_headerTemplate;_titleTemplate;_subtitleTemplate;_contentTemplate;_footerTemplate;_style=f(null);_componentStyle=b(We);getBlockableElement(){return this.el.nativeElement.children[0]}templates;ngAfterContentInit(){this.templates.forEach(n=>{switch(n.getType()){case"header":this._headerTemplate=n.template;break;case"title":this._titleTemplate=n.template;break;case"subtitle":this._subtitleTemplate=n.template;break;case"content":this._contentTemplate=n.template;break;case"footer":this._footerTemplate=n.template;break;default:this._contentTemplate=n.template;break}})}static \u0275fac=(()=>{let n;return function(t){return(n||(n=V(e)))(t||e)}})();static \u0275cmp=U({type:e,selectors:[["p-card"]],contentQueries:function(s,t,i){if(s&1&&(g(i,Re,5),g(i,xe,5),g(i,Ae,4),g(i,ze,4),g(i,He,4),g(i,Je,4),g(i,Ke,4),g(i,k,4)),s&2){let d;_(d=y())&&(t.headerFacet=d.first),_(d=y())&&(t.footerFacet=d.first),_(d=y())&&(t.headerTemplate=d.first),_(d=y())&&(t.titleTemplate=d.first),_(d=y())&&(t.subtitleTemplate=d.first),_(d=y())&&(t.contentTemplate=d.first),_(d=y())&&(t.footerTemplate=d.first),_(d=y())&&(t.templates=d)}},inputs:{header:"header",subheader:"subheader",style:"style",styleClass:"styleClass"},features:[I([We]),Y],ngContentSelectors:Ye,decls:9,vars:10,consts:[[3,"ngClass","ngStyle"],["class","p-card-header",4,"ngIf"],[1,"p-card-body"],["class","p-card-title",4,"ngIf"],["class","p-card-subtitle",4,"ngIf"],[1,"p-card-content"],[4,"ngTemplateOutlet"],["class","p-card-footer",4,"ngIf"],[1,"p-card-header"],[1,"p-card-title"],[4,"ngIf"],[1,"p-card-subtitle"],[1,"p-card-footer"]],template:function(s,t){s&1&&(oe(Xe),a(0,"div",0),u(1,et,3,1,"div",1),a(2,"div",2),u(3,it,3,2,"div",3)(4,rt,3,2,"div",4),a(5,"div",5),E(6),u(7,lt,1,0,"ng-container",6),r(),u(8,dt,3,1,"div",7),r()()),s&2&&(ee(t.styleClass),l("ngClass","p-card p-component")("ngStyle",t._style()),Z("data-pc-name","card"),o(),l("ngIf",t.headerFacet||t.headerTemplate||t._headerTemplate),o(2),l("ngIf",t.header||t.titleTemplate||t._titleTemplate),o(),l("ngIf",t.subheader||t.subtitleTemplate||t._subtitleTemplate),o(3),l("ngTemplateOutlet",t.contentTemplate||t._contentTemplate),o(),l("ngIf",t.footerFacet||t.footerTemplate||t._footerTemplate))},dependencies:[N,x,pe,me,ce,O],encapsulation:2,changeDetection:0})}return e})(),Be=(()=>{class e{static \u0275fac=function(s){return new(s||e)};static \u0275mod=X({type:e});static \u0275inj=J({imports:[mt,O,O]})}return e})();var $e=e=>({empty:e}),$=()=>[],ut=(e,p)=>p.ID;function ht(e,p){if(e&1&&(a(0,"div",34),ae(1,"img",35),a(2,"div"),c(3),r()()),e&2){let n=p.$implicit;o(),l("src",n.logo,K),o(2),S(n.Name)}}function ft(e,p){if(e&1){let n=G();a(0,"p-chip",38),P("onRemove",function(){let t=v(n).$implicit,i=h(3);return C(i.onRemoveChannel(t.ID))}),r()}if(e&2){let n=p.$implicit;l("label",n.Name)("image",n.logo)("alt",n.Name)("removable",!0)}}function gt(e,p){if(e&1&&ne(0,ft,1,4,"p-chip",37,ut),e&2){let n=h().$implicit;ie(n)}}function _t(e,p){if(e&1&&(a(0,"span"),c(1),r()),e&2){let n=h().$implicit;o(),re("",n.length," channels selected")}}function yt(e,p){if(e&1&&(a(0,"div",36),u(1,gt,2,0)(2,_t,2,1,"span"),r()),e&2){let n=p.$implicit;o(),te((n==null?null:n.length)<=10?1:2)}}var dn=(()=>{class e{constructor(){this.toastr=b(Te),this.userService=b(B),this.activatedRoute=b(he),this.route=b(fe),this.selectedUser=f(null),this.selectedGroup=f(null),this.selectedChannel=f([]),this.selectedUserName=f(null),this.orderDownloadDaysRange=f(0),this.isEditMode=f(!1),this.userFormLoader$=this.activatedRoute.queryParams.pipe(A(n=>{let s=n.ID||null;return this.userService.getUserFormLoader(s).pipe(q(1),z(t=>{this.isEditMode.set(D.IsNotEmpty(s)),this.selectedGroup.set(D.IsNotEmpty(t.Form?.GroupID)?t.Form?.GroupID:null),this.selectedUser.set(D.IsNotEmpty(t.Form?.ID)?t.Form?.ID:null),this.orderDownloadDaysRange.set(t.Form?.DownloadOrderDaysRange||0),this.findSelectedUserName(t.Options?.Users,this.selectedUser()),this.selectedChannel.set(t.UserChannels||[])}),j(t=>(t.Options.Channels=D.assignChannelLogo(t.Options.Channels),console.log(t),t)))}))}findSelectedUserName(n,s){let t=n.find(i=>i.ID===s);this.selectedUserName.set(t?t.Name:null)}onSave(){if(!this.selectedUser()||!this.selectedGroup()){this.toastr.error("Please select both user and group","Error");return}this.userService.onInviteUser({ID:this.selectedUser(),GroupID:this.selectedGroup(),UserChannels:this.selectedChannel()||[],DownloadOrderDaysRange:this.orderDownloadDaysRange()}).subscribe({next:()=>{this.toastr.success("User updated successfully","Success"),this.route.navigate(["/menu/users/users"])}})}onRemoveChannel(n){let t=(this.selectedChannel()||[]).filter(i=>i!==n);this.selectedChannel.set(t)}static{this.\u0275fac=function(s){return new(s||e)}}static{this.\u0275cmp=U({type:e,selectors:[["app-user-form"]],features:[I([B])],decls:56,vars:23,consts:[[3,"headerTitle","hideSearchBox","hideSearchDropdown"],["routerLink","/menu/users/users",1,"btn","btn-secondary","me-3"],[1,"btn","btn-success",3,"click"],[1,"container-fluid","py-5","bg-light-gray"],[1,"row","mt-8"],[1,"col-12"],[1,"card"],[1,"card-header"],[1,"card-body","mt-8","pb-4"],[1,"row"],[1,"col-6"],[1,"form-label-group","w-100",3,"ngClass"],["bindLabel","Name","bindValue","ID","placeholder","Select User","id","userSelection",1,"height-sm",3,"ngModelChange","items","ngModel","disabled"],["for","userSelection"],["bindLabel","Name","bindValue","ID","placeholder","Select Group","id","groupSelection",1,"height-sm",3,"ngModelChange","items","ngModel"],["for","groupSelection"],["id","myTab","role","tablist",1,"nav","nav-tabs"],["role","presentation",1,"nav-item"],["id","channel-tab","data-bs-toggle","tab","data-bs-target","#channel-tab-pane","type","button","role","tab","aria-controls","channel-tab-pane","aria-selected","true",1,"nav-link","active"],["id","restriction-tab","data-bs-toggle","tab","data-bs-target","#restriction-tab-pane","type","button","role","tab","aria-controls","restriction-tab-pane","aria-selected","false",1,"nav-link"],[1,"card","rounded-0","border-top-0"],[1,"card-body","pb-4"],["id","myTabContent",1,"tab-content","mt-3"],["id","channel-tab-pane","role","tabpanel","aria-labelledby","channel-tab","tabindex","0",1,"tab-pane","fade","show","active","pb-9"],["variant","on",1,"w-100"],["optionLabel","Name","optionValue","ID","display","chip","id","channelSelection",1,"w-100","channel-multiselect",2,"--p-multiselect-padding-y","14px",3,"ngModelChange","options","ngModel","maxSelectedLabels"],["pTemplate","item"],["pTemplate","selectedItems"],["for","channelSelection"],[1,"mt-4"],["id","restriction-tab-pane","role","tabpanel","aria-labelledby","restriction-tab-pane","tabindex","1",1,"tab-pane","fade"],["matTooltip","How many days of past orders this user can download.","matTooltipPosition","above",1,"form-label-group","mb-3"],["type","text","id","daysRange","name","daysRange","data-toggle","tooltip","title","daysRange","autoNum","",1,"form-control",3,"ngModelChange","ngModel"],["for","daysRange"],[1,"d-flex","align-items-center","gap-2"],[2,"width","18px",3,"src"],[1,"d-flex","flex-wrap","gap-1"],[1,"me-3",2,"--p-chip-image-width","1.2rem","--p-chip-image-height","1.2rem","--p-chip-padding-x","1rem","--p-chip-padding-y","0.5rem","--p-chip-border-radius","0.5rem","--p-chip-font-size","1.2rem",3,"label","image","alt","removable"],[1,"me-3",2,"--p-chip-image-width","1.2rem","--p-chip-image-height","1.2rem","--p-chip-padding-x","1rem","--p-chip-padding-y","0.5rem","--p-chip-border-radius","0.5rem","--p-chip-font-size","1.2rem",3,"onRemove","label","image","alt","removable"]],template:function(s,t){if(s&1){let i=G();le(0),se(1,"async"),a(2,"mainpanel",0)(3,"actions")(4,"a",1),c(5," Cancel "),r(),a(6,"button",2),P("click",function(){return v(i),C(t.onSave())}),c(7,"Save"),r()(),a(8,"content")(9,"div",3)(10,"div",4)(11,"div",5)(12,"div",6)(13,"div",7)(14,"h3"),c(15,"User Information"),r()(),a(16,"div",8)(17,"div",9)(18,"div",10)(19,"div",11)(20,"ng-select",12),F("ngModelChange",function(m){return v(i),M(t.selectedUser,m)||(t.selectedUser=m),C(m)}),r(),a(21,"label",13),c(22,"Select User"),r()()(),a(23,"div",10)(24,"div",11)(25,"ng-select",14),F("ngModelChange",function(m){return v(i),M(t.selectedGroup,m)||(t.selectedGroup=m),C(m)}),r(),a(26,"label",15),c(27,"Select Group"),r()()()()()()()(),a(28,"div",9)(29,"div",5)(30,"ul",16)(31,"li",17)(32,"button",18),c(33," Channels Filter "),r()(),a(34,"li",17)(35,"button",19),c(36," Restriction "),r()()(),a(37,"div",20)(38,"div",21)(39,"div",22)(40,"div",23)(41,"p-floatlabel",24)(42,"p-multiselect",25),F("ngModelChange",function(m){return v(i),M(t.selectedChannel,m)||(t.selectedChannel=m),C(m)}),u(43,ht,4,2,"ng-template",26)(44,yt,3,1,"ng-template",27),r(),a(45,"label",28),c(46,"Select Channels"),r()(),a(47,"div",29),c(48," When no channel filter is assigned all channel will be visible "),r()(),a(49,"div",30)(50,"div",9)(51,"div",10)(52,"div",31)(53,"input",32),F("ngModelChange",function(m){return v(i),M(t.orderDownloadDaysRange,m)||(t.orderDownloadDaysRange=m),C(m)}),r(),a(54,"label",33),c(55,"Download Order Days Range"),r()()()()()()()()()()()()()}if(s&2){let i=de(1,14,t.userFormLoader$);o(2),l("headerTitle",t.selectedUserName()?" Edit User Access - "+t.selectedUserName():"User Form")("hideSearchBox",!0)("hideSearchDropdown",!0),o(17),l("ngClass",W(16,$e,!t.selectedUser())),o(),l("items",(i==null||i.Options==null?null:i.Options.Users)||R(18,$)),w("ngModel",t.selectedUser),l("disabled",t.isEditMode()),o(4),l("ngClass",W(19,$e,!t.selectedGroup())),o(),l("items",(i==null||i.Options==null?null:i.Options.Groups)||R(21,$)),w("ngModel",t.selectedGroup),o(17),l("options",(i==null||i.Options==null?null:i.Options.Channels)||R(22,$)),w("ngModel",t.selectedChannel),l("maxSelectedLabels",10),o(11),w("ngModel",t.orderDownloadDaysRange)}},dependencies:[N,x,ue,Ue,De,Ce,ye,be,ve,Pe,Ge,k,we,Se,Be,Ve,Oe,Qe,Le,_e,ge,ke,Fe,Me],styles:[`.nav-tabs .nav-link.active:hover,.nav-tabs .nav-link.active:focus,.nav-tabs .nav-item.show .nav-link:hover,.nav-tabs .nav-item.show .nav-link:focus{background-color:#fff!important;border-color:#dee2e6 #dee2e6 #fff}
33
33
  `],encapsulation:2})}}return e})();export{dn as UserFormComponent};