dealpos 25.46.3 → 25.47.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/{chunk-K4LLK7O5.js → chunk-2B5OZGVM.js} +1 -1
- package/browser/{chunk-REYKQIQH.js → chunk-2BWSGD3Z.js} +1 -1
- package/browser/{chunk-2RERZJD4.js → chunk-2MCEIRJY.js} +1 -1
- package/browser/chunk-2ZXSQTN3.js +1 -0
- package/browser/{chunk-OHG6W52G.js → chunk-337Y6LKZ.js} +1 -1
- package/browser/{chunk-E7N3FPJF.js → chunk-347WKSZO.js} +1 -1
- package/browser/{chunk-E2DUJTA4.js → chunk-3OHHXDTW.js} +1 -1
- package/browser/chunk-3PWKXRXD.js +14 -0
- package/browser/chunk-4QU3FQ4H.js +1 -0
- package/browser/{chunk-3IX77UOP.js → chunk-4VFIXDGC.js} +1 -1
- package/browser/{chunk-KTPMM54V.js → chunk-4Y2FYXDF.js} +1 -1
- package/browser/{chunk-2HOSLZ77.js → chunk-5BH2H4V6.js} +1 -1
- package/browser/{chunk-RF5WGONA.js → chunk-5DQ4MJJT.js} +1 -1
- package/browser/{chunk-ABC2ZDB2.js → chunk-5IW47S5R.js} +1 -1
- package/browser/{chunk-CPBXXCCO.js → chunk-5O2O7IB4.js} +15 -15
- package/browser/{chunk-BOS35V5T.js → chunk-5RTCTJUG.js} +1 -1
- package/browser/{chunk-LLEPB2B6.js → chunk-64RUCACD.js} +1 -1
- package/browser/{chunk-NBHYM7VE.js → chunk-6BCNB44A.js} +1 -1
- package/browser/{chunk-BYO7FJ4O.js → chunk-6GLKD66N.js} +1 -1
- package/browser/{chunk-PR7GIWDS.js → chunk-6OSOTMIF.js} +1 -1
- package/browser/{chunk-5M7FY5GG.js → chunk-75OKQPDZ.js} +2 -2
- package/browser/{chunk-47TR66HI.js → chunk-77V3KNIS.js} +1 -1
- package/browser/{chunk-NUL5GL3Q.js → chunk-7DG3RSHK.js} +1 -1
- package/browser/{chunk-CRQNIUO7.js → chunk-7FC2PJIW.js} +1 -1
- package/browser/{chunk-XI3UF2BK.js → chunk-7LCG4V47.js} +1 -1
- package/browser/{chunk-4C5SUQ74.js → chunk-A56Z62HU.js} +1 -1
- package/browser/{chunk-DWZLJMWC.js → chunk-ABNUBGXO.js} +1 -1
- package/browser/{chunk-K3I6K44J.js → chunk-ADC6Y4AB.js} +1 -1
- package/browser/{chunk-APOV2ZYY.js → chunk-AEXXXOEQ.js} +1 -1
- package/browser/{chunk-ABO3BJKM.js → chunk-AMONIKLC.js} +1 -1
- package/browser/{chunk-B4ZMF63W.js → chunk-AS5WHW7W.js} +1 -1
- package/browser/{chunk-INHUUGSI.js → chunk-AUBQH6JY.js} +1 -1
- package/browser/chunk-AVTYR2I6.js +1 -0
- package/browser/{chunk-QDE5Y76C.js → chunk-B3STLAM7.js} +1 -1
- package/browser/{chunk-QZMZBCE7.js → chunk-BA3BDB5Y.js} +1 -1
- package/browser/{chunk-ZXOLWDM7.js → chunk-BE4SGNNY.js} +1 -1
- package/browser/{chunk-LV3QO3H3.js → chunk-BFLDH5QM.js} +1 -1
- package/browser/{chunk-ON47ICI3.js → chunk-C6YPXBIP.js} +1 -1
- package/browser/{chunk-IJWE5FIC.js → chunk-CC2THS3J.js} +11 -11
- package/browser/chunk-CPCDU4HM.js +4 -0
- package/browser/{chunk-PECGNYTX.js → chunk-CSFFF2YO.js} +1 -1
- package/browser/{chunk-BZMVZ7BI.js → chunk-CZIC4DAI.js} +1 -1
- package/browser/{chunk-BEWTAI6L.js → chunk-D3BHSTT2.js} +1 -1
- package/browser/{chunk-HQ4NLUV6.js → chunk-DEGB7PBB.js} +1 -1
- package/browser/{chunk-NLLT5X4R.js → chunk-DP3IHIJG.js} +1 -1
- package/browser/chunk-DPGY5YXC.js +1 -0
- package/browser/{chunk-7TEVE3FN.js → chunk-DQYDWBIK.js} +1 -1
- package/browser/{chunk-QBY2W7QQ.js → chunk-DT6QJWPF.js} +1 -1
- package/browser/{chunk-V3TK75EE.js → chunk-DUJXPJ4P.js} +2 -2
- package/browser/{chunk-NRF37QSD.js → chunk-E5XIALIA.js} +1 -1
- package/browser/{chunk-IGNVHAO2.js → chunk-EQR3RN5K.js} +1 -1
- package/browser/{chunk-6XWC4HRW.js → chunk-ERJKTHMS.js} +1 -1
- package/browser/{chunk-OGB3GW4L.js → chunk-EZRYO7BE.js} +1 -1
- package/browser/{chunk-T4QRRRCQ.js → chunk-F45DK6HY.js} +1 -1
- package/browser/{chunk-ZXSVZL53.js → chunk-FNH6K4S4.js} +1 -1
- package/browser/{chunk-XAQQNM46.js → chunk-FT2CPNDK.js} +1 -1
- package/browser/{chunk-Q2FWGC3S.js → chunk-FUKBIYWZ.js} +1 -1
- package/browser/{chunk-DZ6Z62ZW.js → chunk-FUYOSIW5.js} +1 -1
- package/browser/{chunk-22O4O5EJ.js → chunk-FUZD2YUG.js} +2 -2
- package/browser/{chunk-BKBSPC2U.js → chunk-G2VAG4V3.js} +1 -1
- package/browser/{chunk-MCI7JNDO.js → chunk-GEIEF2RB.js} +1 -1
- package/browser/{chunk-6WEGHV7F.js → chunk-GN3HVOCN.js} +1 -1
- package/browser/{chunk-WH6ZELDL.js → chunk-GOZ7JJVG.js} +1 -1
- package/browser/{chunk-AS4NJOPX.js → chunk-GSAGOZJT.js} +1 -1
- package/browser/{chunk-BY57IAJ7.js → chunk-HD2QU6GJ.js} +1 -1
- package/browser/{chunk-SKMY43FK.js → chunk-HEIZUI6B.js} +1 -1
- package/browser/{chunk-27Y3MQJV.js → chunk-HVJHE6PQ.js} +1 -1
- package/browser/{chunk-KEAT6AT3.js → chunk-I5W4NCFM.js} +1 -1
- package/browser/{chunk-3VY4BE7Y.js → chunk-I6RQW6MV.js} +1 -1
- package/browser/{chunk-K4MWTDCL.js → chunk-ICXY7J4B.js} +1 -1
- package/browser/{chunk-EX4TE4E5.js → chunk-IDOZYC3I.js} +1 -1
- package/browser/chunk-IHCO2JK3.js +1 -0
- package/browser/{chunk-WM7ROROB.js → chunk-IIDCCGRC.js} +1 -1
- package/browser/{chunk-5F2NFZPL.js → chunk-IJ6NUPJY.js} +1 -1
- package/browser/{chunk-POJQGU7L.js → chunk-JR5LAUIS.js} +1 -1
- package/browser/{chunk-6EH2754P.js → chunk-JYJW5KAE.js} +1 -1
- package/browser/{chunk-5FIHIYPN.js → chunk-KSDWEFU5.js} +1 -1
- package/browser/{chunk-6HNMTYL2.js → chunk-L5QFOKO7.js} +1 -1
- package/browser/{chunk-ESYBXU5L.js → chunk-L72RFTBD.js} +1 -1
- package/browser/{chunk-Z7IU5JLK.js → chunk-LDTRYGRE.js} +1 -1
- package/browser/{chunk-DC426G2P.js → chunk-LOD3JYZW.js} +1 -1
- package/browser/{chunk-I2R577A6.js → chunk-M326IFGL.js} +1 -1
- package/browser/{chunk-WH2BY5K4.js → chunk-MVUVDYGQ.js} +1 -1
- package/browser/{chunk-SE67GHUX.js → chunk-N3HGHV2Q.js} +1 -1
- package/browser/{chunk-2KJCF3ZC.js → chunk-NDFDMJU2.js} +1 -1
- package/browser/chunk-NJGJFNQG.js +1 -0
- package/browser/{chunk-X4JLZJ6G.js → chunk-NU7GDZKC.js} +1 -1
- package/browser/{chunk-UE2HBW5H.js → chunk-NVCUDJUL.js} +1 -1
- package/browser/{chunk-KUMJBTY5.js → chunk-NWDPSH4M.js} +2 -2
- package/browser/{chunk-PLWCVGTF.js → chunk-O2LFJOK7.js} +1 -1
- package/browser/{chunk-WOGTFZCA.js → chunk-O5OL3MSI.js} +1 -1
- package/browser/{chunk-77F7XHWC.js → chunk-OBEXYNUM.js} +1 -1
- package/browser/{chunk-DGKIIUIQ.js → chunk-P3RYBCCQ.js} +1 -1
- package/browser/{chunk-KWRGMAZL.js → chunk-PGVKBOVV.js} +1 -1
- package/browser/{chunk-NX6ACGTN.js → chunk-PIZRVCBM.js} +1 -1
- package/browser/{chunk-GNODCFOP.js → chunk-PJCGIZLH.js} +1 -1
- package/browser/{chunk-2E4N3RZU.js → chunk-PSJRHKCL.js} +1 -1
- package/browser/{chunk-7E6JQNGW.js → chunk-QBOUUDFD.js} +1 -1
- package/browser/{chunk-KT64U5FF.js → chunk-QCMMZ67T.js} +1 -1
- package/browser/{chunk-LEPY5WLJ.js → chunk-QDCZBCN5.js} +1 -1
- package/browser/{chunk-HPXM5XAM.js → chunk-QECDT5UJ.js} +1 -1
- package/browser/{chunk-EVNVUCMO.js → chunk-QIFLQIWQ.js} +1 -1
- package/browser/{chunk-SO4GMA3Y.js → chunk-QPOOLLKY.js} +1 -1
- package/browser/{chunk-BD7CNS3O.js → chunk-R4JXP55V.js} +1 -1
- package/browser/{chunk-MQPI5PZA.js → chunk-R5SLRG5P.js} +1 -1
- package/browser/{chunk-WMUZZ5XX.js → chunk-RAQ5KDLF.js} +1 -1
- package/browser/{chunk-ULYBLEXA.js → chunk-RJJYGGF6.js} +1 -1
- package/browser/{chunk-3YKXHA6Q.js → chunk-RMB6IO7X.js} +1 -1
- package/browser/chunk-RONQFUCZ.js +1 -0
- package/browser/{chunk-ZS75AJOT.js → chunk-RPMSR2S2.js} +1 -1
- package/browser/{chunk-OAP2TSZ6.js → chunk-S7Y36REW.js} +1 -1
- package/browser/chunk-SMUNI47Q.js +3 -0
- package/browser/{chunk-XIXDLSA2.js → chunk-SVUUS5JD.js} +1 -1
- package/browser/{chunk-7EQG6N5Y.js → chunk-SWPKQM2X.js} +1 -1
- package/browser/{chunk-ZGY4RDNA.js → chunk-SXAXSC44.js} +1 -1
- package/browser/{chunk-NZYZO47Z.js → chunk-T25N3EEG.js} +1 -1
- package/browser/{chunk-KD7WBOUR.js → chunk-T2H2XAEJ.js} +1 -1
- package/browser/{chunk-GKWHR2MJ.js → chunk-T6RHBYOY.js} +1 -1
- package/browser/{chunk-RRSZSQXZ.js → chunk-T7DUQW7O.js} +1 -1
- package/browser/{chunk-SU4Y5X62.js → chunk-TRYMZNEH.js} +1 -1
- package/browser/{chunk-S3H5URIA.js → chunk-TV76G36W.js} +1 -1
- package/browser/{chunk-TEXHMVYL.js → chunk-TWX33MAO.js} +1 -1
- package/browser/{chunk-GDKTBDK6.js → chunk-UNJ5ELA7.js} +1 -1
- package/browser/{chunk-WBMSB25X.js → chunk-UTTKPBED.js} +1 -1
- package/browser/{chunk-6JCGTOWB.js → chunk-V2HVL2JW.js} +2 -2
- package/browser/{chunk-WZEBH7P5.js → chunk-V3PWVI2B.js} +14 -14
- package/browser/{chunk-MPAFCKH7.js → chunk-VAPCHGLS.js} +1 -1
- package/browser/{chunk-YRGHPSPV.js → chunk-VX5HH3BW.js} +1 -1
- package/browser/{chunk-5L54U63F.js → chunk-W4W2KCYV.js} +1 -1
- package/browser/{chunk-SARJJ3AZ.js → chunk-WNZKCNMC.js} +1 -1
- package/browser/{chunk-P2TEAJG3.js → chunk-WPMZWFSL.js} +1 -1
- package/browser/{chunk-MPE7Q4VX.js → chunk-XL7XI3DY.js} +1 -1
- package/browser/{chunk-J4JOIFPA.js → chunk-XUDYAWGP.js} +1 -1
- package/browser/chunk-XZ7GA7NR.js +1 -0
- package/browser/{chunk-U6Q2FJBU.js → chunk-Y3AE3TKV.js} +1 -1
- package/browser/{chunk-7N4TQJAF.js → chunk-Y4LWALJN.js} +1 -1
- package/browser/{chunk-3XKRDZSE.js → chunk-YQUQYWX3.js} +1 -1
- package/browser/{chunk-P6NP3EAO.js → chunk-ZJDY54VM.js} +1 -1
- package/browser/index.html +2 -2
- package/browser/{main-V7C5NVCN.js → main-O34B6LHF.js} +2 -2
- package/package.json +1 -1
- package/browser/chunk-4TZSBBYC.js +0 -1
- package/browser/chunk-64GEFRCT.js +0 -1
- package/browser/chunk-7DTB5U3C.js +0 -14
- package/browser/chunk-ES25MU2C.js +0 -3
- package/browser/chunk-G53YHV2L.js +0 -4
- package/browser/chunk-JPJFLPJG.js +0 -1
- package/browser/chunk-M2Y56GL5.js +0 -1
- package/browser/chunk-MMP7HKXF.js +0 -1
- package/browser/chunk-NB3DCG2R.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as ae,b as le}from"./chunk-
|
|
1
|
+
import{a as ae,b as le}from"./chunk-I5W4NCFM.js";import"./chunk-MVUVDYGQ.js";import{a as ie}from"./chunk-LAZZHDUO.js";import"./chunk-WNZKCNMC.js";import"./chunk-6GLKD66N.js";import"./chunk-CBSYYTXQ.js";import{e as de,f as ce}from"./chunk-GSAGOZJT.js";import"./chunk-VYQEM4T2.js";import"./chunk-UTAQ3FRE.js";import"./chunk-TV76G36W.js";import{a as pe,b as me}from"./chunk-EZRYO7BE.js";import"./chunk-CS6HBROS.js";import"./chunk-JUS6LLVX.js";import"./chunk-BA3BDB5Y.js";import"./chunk-C4WJKF7R.js";import{O as H}from"./chunk-T25N3EEG.js";import{d as ue,e as se}from"./chunk-7TBS7SPQ.js";import{a as re}from"./chunk-A45GTZVV.js";import"./chunk-NWSIPELM.js";import"./chunk-L76WVZW6.js";import"./chunk-2FWFPV5I.js";import"./chunk-O5SLP4JK.js";import{F as te,c as Y,h as Z,o as ee}from"./chunk-RNLSEEMX.js";import"./chunk-77V3KNIS.js";import"./chunk-DQYDWBIK.js";import{a as h,d as oe}from"./chunk-USJ6ILEE.js";import"./chunk-P3RYBCCQ.js";import{$d as X,Ab as V,Bb as k,Bc as d,Ca as D,Cb as s,Cc as f,Db as o,Dc as A,Eb as r,Fb as O,Hc as j,Mb as w,Ob as G,Qa as L,Qb as u,Wd as K,Xa as l,Y as b,Zd as Q,db as M,dc as p,ec as g,ee as ne,fa as R,hb as U,ic as P,jc as I,kc as E,kd as q,lb as B,lc as N,md as z,nb as F,pa as v,rd as J,ta as c,tc as W,ua as _,uc as $,vb as y,xb as C,zb as T}from"./chunk-JYZTRN6N.js";import"./chunk-WFMAM73Y.js";import{a as x,b as S}from"./chunk-SNAKHGZS.js";var ge=()=>["/menu/Users/User/Groups/Info"],fe=i=>({ID:i});function he(i,m){if(i&1){let e=w();o(0,"div",9)(1,"h6"),p(2,"Group"),r(),o(3,"ng-select",10),E("ngModelChange",function(t){c(e);let a=u(2);return I(a.filter().GroupID,t)||(a.filter().GroupID=t),_(t)}),r(),o(4,"h6"),p(5,"Row Count"),r(),o(6,"input",11),E("ngModelChange",function(t){c(e);let a=u(2);return I(a.filter().RowCount,t)||(a.filter().RowCount=t),_(t)}),r()()}if(i&2){let e=u(2);l(3),s("items",e.options().Groups),P("ngModel",e.filter().GroupID),l(3),s("max",1e4),P("ngModel",e.filter().RowCount)}}function ye(i,m){if(i&1&&(o(0,"a",12),p(1),r()),i&2){let e=u().$implicit;s("routerLink",W(3,ge))("queryParams",$(4,fe,e._source==null||e._source.Log==null?null:e._source.Log.id)),l(),g(e._source==null||e._source.Log==null?null:e._source.Log.name)}}function Ce(i,m){if(i&1&&(o(0,"span"),p(1),r()),i&2){let e=u().$implicit;l(),g(e._source==null||e._source.Log==null?null:e._source.Log.name)}}function xe(i,m){if(i&1&&(o(0,"tr",7)(1,"td"),y(2,ye,2,6,"a",12),y(3,Ce,2,1,"span"),r(),o(4,"td"),p(5),d(6,"date"),r(),o(7,"td"),p(8),r(),O(9,"td",13),d(10,"newlines"),r()),i&2){let e=m.$implicit,n=u(2);l(2),C(n.role.users.Edit?2:-1),l(),C(n.role.users.Edit?-1:3),l(2),g(A(6,5,e._source["@timestamp"],"dd MMM yyyy HH:mm")),l(3),g(e._source==null||e._source.Log==null?null:e._source.Log.creator),l(),s("innerHtml",f(10,8,e._source==null||e._source.Log==null?null:e._source.Log.note),L)}}function Se(i,m){if(i&1){let e=w();o(0,"mainpanel-cmp",2),G("onSubmit",function(){c(e);let t=u();return _(t.initData())}),o(1,"filters"),F(2,he,7,4,"ng-template",null,0,j),r(),o(4,"content")(5,"div",3)(6,"div",4)(7,"table",5)(8,"thead",6)(9,"tr")(10,"th"),p(11,"Group"),r(),o(12,"th"),p(13,"Modified"),r(),o(14,"th"),p(15,"Modify By"),r(),o(16,"th"),p(17,"Note"),r()()(),o(18,"tbody"),V(19,xe,11,10,"tr",7,T),d(21,"async"),r()(),o(22,"div"),N(23),d(24,"async"),o(25,"mat-paginator",8),G("page",function(t){c(e);let a=u();return _(a.onPaginationChange(t))}),r()()()()()()}if(i&2){let e,n,t=u();s("pageData",t.menuData)("isFilterOnDropdown",!1)("hideSearchBox",!0),l(19),k((e=f(21,6,t.data$))==null||e.Data==null?null:e.Data.hits);let a=(n=f(24,8,t.data$))==null||n.Data==null||n.Data.hits==null?null:n.Data.hits.length;l(6),s("length",a)("pageSize",t.filter().RowCount)("pageIndex",t.filter().PageNumber==0?0:t.filter().PageNumber-1)}}var _e=class i extends pe{constructor(e,n){super(e);this.role=n;this.menuData$.pipe(re()).subscribe();let t=this.routeSnapshot.snapshot?.queryParams?.ID;h.IsNotEmpty(t)&&(this.filter.update(a=>S(x({},a),{GroupID:t})),this.initData())}httpService=v(ne);routeSnapshot=v(K);filter=D({PageNumber:1,RowCount:20,GroupID:h.GuidEmpty});options=D({Groups:[]});loader$=this.httpService.get(H.GroupHistoryLoader).pipe(R(e=>{this.options.set(e.Options),this.initData()}),b(1));data$;initData(){let e=h.IsNotEmpty(this.filter().GroupID)?this.filter().GroupID:h.GuidEmpty;this.data$=this.httpService.get(H.GroupHistoryData,[{key:"PageNumber",value:this.filter().PageNumber},{key:"RowCount",value:this.filter().RowCount},{key:"GroupID",value:e}]).pipe(b(1))}onPaginationChange(e){this.filter.update(n=>S(x({},n),{PageNumber:e.pageIndex+1})),this.initData()}static \u0275fac=function(n){return new(n||i)(M(me),M(oe))};static \u0275cmp=U({type:i,selectors:[["app-group-update-history"]],features:[B],decls:3,vars:3,consts:[["pageFilterTemplate",""],["searchBoxPlaceholder","Search Note...",3,"pageData","isFilterOnDropdown","hideSearchBox"],["searchBoxPlaceholder","Search Note...",3,"onSubmit","pageData","isFilterOnDropdown","hideSearchBox"],[1,"container-fluid","mt-5"],[1,"table-responsive"],["id","tableGrid",1,"table"],[1,"thead-light","sticky-top-thead"],[1,"border-bottom"],[3,"page","length","pageSize","pageIndex"],[1,"dialog-filter"],["bindLabel","Name","bindValue","ID","placeholder","Choose a group","appendTo","body",3,"ngModelChange","items","ngModel"],["type","text","autoNum","",1,"input-left","w-100","form-control","input-filter",3,"ngModelChange","max","ngModel"],[3,"routerLink","queryParams"],[3,"innerHtml"]],template:function(n,t){if(n&1&&(N(0),d(1,"async"),y(2,Se,26,10,"mainpanel-cmp",1)),n&2){let a=f(1,1,t.loader$);l(2),C(a?2:-1)}},dependencies:[J,ce,de,le,ae,X,Q,te,Y,Z,ee,se,ue,q,z,ie],encapsulation:2})};export{_e as GroupUpdateHistoryComponent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{u as B,v as F,w as V}from"./chunk-
|
|
1
|
+
import{u as B,v as F,w as V}from"./chunk-BA3BDB5Y.js";import{O as G}from"./chunk-T25N3EEG.js";import{e as O,f as A}from"./chunk-A45GTZVV.js";import{Ab as D,Bb as S,Bc as f,Cb as I,Cc as j,Db as n,Dc as U,Eb as a,Ob as T,Qb as d,Xa as r,ac as P,db as m,dc as p,ec as R,ee as s,fc as u,gc as H,hb as M,la as x,md as k,oa as h,od as w,rd as L,t as v,vb as b,xb as _,zb as E}from"./chunk-JYZTRN6N.js";import{a as g,b as C}from"./chunk-SNAKHGZS.js";var N=class i{constructor(t){this.httpService=t}verifyEmail(t){let e={Email:t,EmailVerified:!0};return this.httpService.put("/api/v3/Customer/VerifyEmail",e)}verifyMobile(t){let e={Mobile:t,MobileVerified:!0};return this.httpService.put("/api/v3/Customer/VerifyMobile",e)}createSupplierByCustomerID(t){let e={CustomerID:t};return this.httpService.post("/api/Contact/CreateSupplierFromCustomer",e)}deleteCustomer(t){return this.httpService.post("/api/Contact/DeleteContact",{ID:t})}updateImage(t,e){return this.httpService.post("/api/Contact/UpdateContactImageURL",{ID:t,ImageURL:e})}mergeCustomer(t,e){let o={mergeTarget:t,deleted:e};return this.httpService.put(G.MergeCustomer,o)}static \u0275fac=function(e){return new(e||i)(h(s))};static \u0275prov=x({token:i,factory:i.\u0275fac})};function X(i,t){if(i&1&&(n(0,"tr")(1,"td",5),p(2),f(3,"date"),a(),n(4,"td",6),p(5),f(6,"number"),a(),n(7,"td",6),p(8),a()()),i&2){let e=t.$implicit;r(2),u(" ",U(3,5,e.ExpiryDate,"dd MMM yyyy")," "),r(3),R(j(6,8,e.Remaining)),r(2),P("text-danger",e.daysTo<=30),r(),u(" ",e.daysTo," days ")}}function Y(i,t){if(i&1&&(n(0,"div",2)(1,"table",3)(2,"thead",4)(3,"tr")(4,"th",5),p(5,"Date"),a(),n(6,"th",6),p(7,"Point"),a(),n(8,"th",6),p(9,"Days To"),a()()(),n(10,"tbody"),D(11,X,9,10,"tr",null,E),a()()()),i&2){let e=d();r(11),S(e.points)}}function Z(i,t){if(i&1&&(n(0,"h5"),p(1),a()),i&2){let e=d();r(),H(" ",e.data.name," ",e.doesHavePoint?"has no upcoming point that will expire.":"does not have a point!"," ")}}var W=class i{constructor(t,e,o){this.dialogRef=t;this.data=e;this.config.title="Upcoming Point Expiry",this.config.customWidth="500px",this.config.cancelText="Close",this.config.hideOk=!0;let l=e.customerID;e.name&&(this.config.title=e.name+" "+this.config.title),this.doesHavePoint=e.doesHavePoint,o.post("/API/Loyalty/UpcomingPointExpiry",{CustomerID:l}).pipe(v(c=>[...c].map(y=>{let $=new Date,q=new Date(y.ExpiryDate),z=Math.abs(q-$),J=Math.ceil(z/(1e3*60*60*24));return C(g({},y),{daysTo:J})}))).subscribe(c=>this.points=c)}config=new B;points;doesHavePoint;static \u0275fac=function(e){return new(e||i)(m(O),m(A),m(s))};static \u0275cmp=M({type:i,selectors:[["POS-modal-expiry"]],decls:5,vars:2,consts:[[3,"onOk","onCancel","onClose","config"],[1,"container-fluid"],[1,"table-responsive",2,"max-height","300px"],["id","tableGrid",1,"table","border-bottom"],[1,"thead-light"],[1,"text-start"],[1,"text-end"]],template:function(e,o){e&1&&(n(0,"modal-material",0),T("onOk",function(){return o.dialogRef.close()})("onCancel",function(){return o.dialogRef.close()})("onClose",function(){return o.dialogRef.close()}),n(1,"content")(2,"div",1),b(3,Y,13,0,"div",2)(4,Z,2,2,"h5"),a()()()),e&2&&(I("config",o.config),r(3),_(o.points!=null&&o.points.length?3:4))},dependencies:[L,V,F,w,k],encapsulation:2})};export{N as a,W as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as Q,b as U}from"./chunk-
|
|
1
|
+
import{a as Q,b as U}from"./chunk-I5W4NCFM.js";import{d as te,e as ie}from"./chunk-QPOOLLKY.js";import{a as X}from"./chunk-SXAXSC44.js";import{e as $,f as ee}from"./chunk-GSAGOZJT.js";import{b as Z}from"./chunk-EZRYO7BE.js";import{d as Y}from"./chunk-7TBS7SPQ.js";import{F as A,c as H,h as z,o as q}from"./chunk-RNLSEEMX.js";import{d as K}from"./chunk-USJ6ILEE.js";import{$d as j,Ab as W,Bb as M,Bc as y,Cb as s,Db as i,Dc as v,Eb as o,Hc as P,Mb as h,Ob as D,Qb as m,Xa as l,Zd as R,be as O,cd as J,db as _,dc as p,ee as G,fc as S,hb as w,ic as u,jc as C,kc as b,lb as F,md as V,nb as k,od as B,rd as N,ta as c,tc as T,ua as g,uc as E,vb as f,vc as I,xb as x,zb as L}from"./chunk-JYZTRN6N.js";var ne=()=>["/menu/Developer/Webhook/Job_Logs/Detail"],ae=n=>({ID:n}),re=(n,d)=>({"text-success":n,"text-danger":d});function le(n,d){if(n&1){let e=h();i(0,"div",12)(1,"h6"),p(2,"Status"),o(),i(3,"ng-select",13),b("ngModelChange",function(t){c(e);let r=m(2);return C(r.pageData.Filter.Status,t)||(r.pageData.Filter.Status=t),g(t)}),o(),i(4,"h6"),p(5,"Job ID"),o(),i(6,"input",14),b("ngModelChange",function(t){c(e);let r=m(2);return C(r.pageData.Filter.JobID,t)||(r.pageData.Filter.JobID=t),g(t)}),o(),i(7,"h6"),p(8,"From"),o(),i(9,"datepicker",15),b("dateChange",function(t){c(e);let r=m(2);return C(r.pageData.Filter.From,t)||(r.pageData.Filter.From=t),g(t)}),o(),i(10,"h6"),p(11,"To"),o(),i(12,"datepicker",16),b("dateChange",function(t){c(e);let r=m(2);return C(r.pageData.Filter.To,t)||(r.pageData.Filter.To=t),g(t)}),o()()}if(n&2){let e=m(2);l(3),s("disabled",!e.role.developer.Edit)("items",e.pageData.Options.Status),u("ngModel",e.pageData.Filter.Status),l(3),u("ngModel",e.pageData.Filter.JobID),l(3),s("isFloatingLabel",!1),u("date",e.pageData.Filter.From),l(3),s("isFloatingLabel",!1),u("date",e.pageData.Filter.To)}}function pe(n,d){if(n&1&&(i(0,"tr",9)(1,"td")(2,"a",17),p(3),y(4,"date"),o()(),i(5,"td"),p(6),y(7,"number"),o(),i(8,"td",18),p(9),o()()),n&2){let e=d.$implicit;l(2),s("routerLink",T(12,ne))("queryParams",E(13,ae,e._id)),l(),S(" ",v(4,6,e._source["@timestamp_received"],"dd MMM yyyy HH:mm")," "),l(3),S("",v(7,9,e.DurationInSecond,"1.1-1")," s"),l(2),s("ngClass",I(15,re,e._source.log.respCode==200,e._source.log.respCode!=200)),l(),S(" ",e._source.log.respCode," ")}}function me(n,d){if(n&1){let e=h();i(0,"mat-paginator",19),D("page",function(t){c(e);let r=m(2);return g(r.onPaginationChange(t))}),o()}if(n&2){let e=m(2);s("length",e.pagination.listTotal)("pageSize",e.pagination.pageSize)("pageIndex",e.pageData.Filter.PageNumber==0?0:e.pageData.Filter.PageNumber-1)}}function se(n,d){if(n&1){let e=h();i(0,"mainpanel-cmp",2),D("onSubmit",function(){c(e);let t=m();return g(t.searchFromPageOne())}),i(1,"filters"),k(2,le,13,8,"ng-template",null,0,P),o(),i(4,"content")(5,"div",3)(6,"div",4)(7,"table",5)(8,"thead",6)(9,"tr",7)(10,"th",8),p(11,"Created"),o(),i(12,"th",8),p(13,"Duration"),o(),i(14,"th",8),p(15,"Status"),o()()(),i(16,"tbody"),W(17,pe,10,18,"tr",9,L),o()()(),i(19,"div",10),f(20,me,1,3,"mat-paginator",11),o()()()()}if(n&2){let e=m();s("pageData",e.menuData)("hideSearchBox",!0)("isFilterOnDropdown",!1),l(17),M(e.data.hits),l(3),x(e.pagination.listTotal>0?20:-1)}}var oe=class n extends X{constructor(e,a,t,r){super(e,a,"Developer/DeveloperSpace/Webhook/JobLogs","Developer/DeveloperSpace/WebhookLoader/GetLogs",t);this.httpService=a;this.role=r}postInit(e){this.data.hits=this.data?.hits.map(a=>(a.DurationInSecond=parseInt(a._source?.Duration)/1e3,a)),this.data.ListTotal=e?.total?.value}static \u0275fac=function(a){return new(a||n)(_(Z),_(G),_(O),_(K))};static \u0275cmp=w({type:n,selectors:[["app-webhook-job-logs"]],features:[F],decls:1,vars:1,consts:[["pageFilterTemplate",""],[3,"pageData","hideSearchBox","isFilterOnDropdown"],[3,"onSubmit","pageData","hideSearchBox","isFilterOnDropdown"],[1,"container-fluid","mt-5"],[1,"table-responsive"],["id","tableGrid",1,"table"],[1,"thead-light","sticky-top-thead"],[1,"header"],[2,"width","50px"],[1,"border-bottom"],[1,"mt-2"],[3,"length","pageSize","pageIndex"],[1,"dialog-filter"],["bindLabel","Value","bindValue","Key","placeholder","Choose a status","appendTo","body",3,"ngModelChange","disabled","items","ngModel"],["type","text",1,"form-control",3,"ngModelChange","ngModel"],["placeholder","From","appearance","outline",3,"dateChange","isFloatingLabel","date"],["placeholder","To","appearance","outline",3,"dateChange","isFloatingLabel","date"],[3,"routerLink","queryParams"],[3,"ngClass"],[3,"page","length","pageSize","pageIndex"]],template:function(a,t){a&1&&f(0,se,21,4,"mainpanel-cmp",1),a&2&&x(t.data?0:-1)},dependencies:[N,J,ee,$,ie,te,U,Q,Y,A,H,z,q,j,R,B,V],encapsulation:2})};export{oe as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as et}from"./chunk-XACC6EMJ.js";import{a as it,b as ye}from"./chunk-Q2A4MYK3.js";import{b as nt,c as ve}from"./chunk-
|
|
1
|
+
import{a as et}from"./chunk-XACC6EMJ.js";import{a as it,b as ye}from"./chunk-Q2A4MYK3.js";import{b as nt,c as ve}from"./chunk-JYJW5KAE.js";import{a as tt}from"./chunk-TGEQUV6Z.js";import{d as be}from"./chunk-CS6HBROS.js";import{b as Ue,c as Ye,d as Ie,e as Je,k as fe,l as ge}from"./chunk-L76WVZW6.js";import{$ as xe,C as Ze,D as pe,G as qe,K as Ge,M as He,S as _e,V as b,_ as he,fa as Qe,g as de,la as je,m as ze,oa as We,pa as z,r as Re,w as $,x as N,xa as Xe}from"./chunk-O5SLP4JK.js";import{$d as ue,Ca as S,Cb as a,Db as x,Eb as I,Fb as f,Hc as se,Ia as Ee,Id as me,Ja as Pe,Jb as V,Jd as le,Kb as B,Kc as Oe,Lc as Ae,Ld as K,Mb as F,Ob as L,Od as D,Pc as Ke,Qa as Y,Qb as r,Sa as Se,Tb as G,Ub as H,Vb as C,Wb as T,Xa as m,Xc as w,Ya as g,Yc as E,Zd as Ne,_b as Q,bc as U,cb as ke,cc as l,db as k,dc as ne,ed as De,fc as ie,fd as re,hb as J,ib as Ve,id as ae,jd as $e,ka as we,la as Me,lb as ee,ma as Le,na as W,nb as _,pa as P,rd as ce,sb as te,sc as oe,sd as A,ta as d,tb as h,tc as O,ua as p,uc as Be,va as X,vc as Fe}from"./chunk-JYZTRN6N.js";import{a as Z,b as q}from"./chunk-SNAKHGZS.js";var ot=`
|
|
2
2
|
.p-contextmenu {
|
|
3
3
|
background: dt('contextmenu.background');
|
|
4
4
|
color: dt('contextmenu.color');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as L}from"./chunk-
|
|
1
|
+
import{a as L}from"./chunk-NU7GDZKC.js";import{C as N,F as j,G as D,c as P,h as A,i as V,k as I,o as R,p as U}from"./chunk-RNLSEEMX.js";import{c as k}from"./chunk-77V3KNIS.js";import"./chunk-DQYDWBIK.js";import{a as m}from"./chunk-USJ6ILEE.js";import"./chunk-P3RYBCCQ.js";import{Db as i,Eb as n,Fb as u,Mb as y,Ob as h,Ub as _,Vb as S,Wb as x,Xa as b,Yd as M,be as E,d as f,da as v,db as d,dc as s,hb as C,ic as w,jc as O,kc as T,ta as l,ua as p}from"./chunk-JYZTRN6N.js";import"./chunk-WFMAM73Y.js";import"./chunk-SNAKHGZS.js";var F=["totpCode"],z=class g{constructor(e,t,o,r){this.authenticatorService=e;this.router=t;this.authService=o;this.toastrService=r;this.redirectUrl=this.authService.returnUrl,this.destroy$=new f,this.checkOnRefreshPage()}validationCodeEl;validationCode;redirectUrl;destroy$;ngOnInit(){document.body.classList.add("login-body")}ngAfterViewInit(){this.validationCodeEl.nativeElement.focus()}ngOnDestroy(){document.body.classList.remove("login-body"),this.destroy$.next(!0),this.destroy$.complete()}checkOnRefreshPage(){m.IsEmpty(this.authService.loginResponse)&&this.router.navigate(["/"])}onSubmit(){this.validateOnVerfiyCode()&&this.authenticatorService.validateCode(this.validationCode,this.authService.loginResponse.UserID).pipe(v(this.destroy$)).subscribe({next:e=>{if(this.authService.saveLoginConfigToStorage(e),m.IsNotEmpty(this.redirectUrl))this.router.navigateByUrl(this.redirectUrl),this.authService.returnUrl=null;else{let t=this.authService.getRedirectUrl();this.router.navigate([t])}}})}validateOnVerfiyCode(){let e=!0;return m.IsEmpty(this.validationCode)?(e=!1,this.toastrService.warning("You must enter a authentication code.","Warning")):(this.validationCode.length<6||this.validationCode.length>6)&&(e=!1,this.toastrService.warning("The authentication code must be six digits long.","Warning")),e}numberOnly(e){return m.numberOnly(e)}submitOnFullOTP(e){e.length==6&&this.onSubmit()}static \u0275fac=function(t){return new(t||g)(d(L),d(M),d(k),d(E))};static \u0275cmp=C({type:g,selectors:[["POS-auth-totp"]],viewQuery:function(t,o){if(t&1&&_(F,5),t&2){let r;S(r=x())&&(o.validationCodeEl=r.first)}},decls:28,vars:1,consts:[["totpCode",""],[1,"container-fluid"],[1,"row","bg-white","mx-auto","totp-pane"],[1,"col-md-7","order-md-first","order-first","form-pane"],[1,"text-start"],[1,"mt-6","text-start"],[3,"submit"],[1,"row","mt-3"],[1,"col-12","text-start","otp-container","position-relative"],["for","totpCode",1,"form-label"],["type","text","maxlength","6","data-cy","totp-code","aria-label","Username","name","totp-code","id","totpCode",1,"border-0",3,"ngModelChange","keypress","ngModel"],[1,"stripe"],["type","submit",1,"btn","btn-lg","btn-primary","rounded-1","fw-normal","rounded-0"],[1,"col-md-5","order-md-last","order-last","border-start","border-secondary","d-flex","align-items-center","justify-content-center","img-pane"],[1,"d-flex","align-items-center","justify-content-center","mb-6"],["src","https://cdn.dealpos.xyz/web-image/TOTP.png",1,"border-0",2,"width","50%"],[1,"fixed-bottom"],[1,"d-flex","justify-content-start","mb-11","mx-11","footer-mobile"],["target","_blank","href","http://www.dealpos.com"],["src","https://cdn.dealpos.app/public/logo/dealpos_130.png",1,"ms-3","border-0"]],template:function(t,o){if(t&1){let r=y();i(0,"div",1)(1,"div",2)(2,"div",3)(3,"h3",4),s(4,"Enter time-based OTP"),n(),i(5,"p",5),s(6,"Enter the OTP generated on your authenticator app"),n(),i(7,"form",6),h("submit",function(){return l(r),p(o.onSubmit())}),i(8,"div",7)(9,"div",8)(10,"label",9),s(11,"AUTHENTICATION CODE"),n(),i(12,"input",10,0),T("ngModelChange",function(a){return l(r),O(o.validationCode,a)||(o.validationCode=a),p(a)}),h("keypress",function(a){return l(r),p(o.numberOnly(a))})("ngModelChange",function(a){return l(r),p(o.submitOnFullOTP(a))}),n(),i(14,"span",11),s(15,"______"),n(),i(16,"button",12),s(17," Verify "),n()()()()(),i(18,"div",13)(19,"div",14),u(20,"img",15),n()()(),i(21,"div",16)(22,"div",17)(23,"div")(24,"span"),s(25,"powered by :"),n(),u(26,"a",18)(27,"img",19),n()()()()}t&2&&(b(12),w("ngModel",o.validationCode))},dependencies:[D,U,P,A,V,N,j,R,I],styles:["input[type=submit][_ngcontent-%COMP%]{font-size:1.125rem;width:11.25rem;font-family:Roboto Slab,serif}.totp-pane[_ngcontent-%COMP%]{max-width:57rem;height:max-content;margin-top:140px}@media (max-width: 768px){.totp-pane[_ngcontent-%COMP%]{margin-top:0}}.form-pane[_ngcontent-%COMP%]{padding:3rem}@media (max-width: 768px){.form-pane[_ngcontent-%COMP%]{padding:50px 24px 30px}}@media (max-width: 768px){.img-pane[_ngcontent-%COMP%]{border:0px!important}}.otp-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-size:32px;letter-spacing:32px;width:325px;font-family:monospace;background:transparent;z-index:1;position:relative}.otp-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:none!important}.otp-container[_ngcontent-%COMP%] .stripe[_ngcontent-%COMP%]{font-size:32px;letter-spacing:32px;font-family:monospace;position:absolute;padding-top:6px;z-index:0;bottom:0;left:14px}"]})};export{z as AuthTotpComponent};
|