dealposbooks 5.52.7 → 6.1.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/3rdpartylicenses.txt +50 -36
- package/{chunk-OJMGF5CJ.js → chunk-2L65SN3U.js} +1 -1
- package/{chunk-JCGIG4OG.js → chunk-2LI4CEOF.js} +1 -1
- package/{chunk-KY4EBOEB.js → chunk-2LLPIDXP.js} +2 -2
- package/{chunk-R5Q5RJJY.js → chunk-2PCXAGSU.js} +1 -1
- package/{chunk-ZPEEG2MX.js → chunk-2T56LR43.js} +1 -1
- package/{chunk-RWGWM2JZ.js → chunk-3BPX4XM7.js} +1 -1
- package/{chunk-TDUOPNLX.js → chunk-3RZZT36W.js} +1 -1
- package/{chunk-2BKQ45PR.js → chunk-4D6KKSM5.js} +1 -1
- package/chunk-4O2T3UUJ.js +1 -0
- package/chunk-53UUIW6G.js +1 -0
- package/{chunk-5RGY4F7I.js → chunk-557RGH7O.js} +4 -4
- package/{chunk-BRCJO4QV.js → chunk-5EU2OZ5X.js} +1 -1
- package/{chunk-OEFBXMXZ.js → chunk-5FNHLN4I.js} +1 -1
- package/{chunk-K2XFBG4B.js → chunk-5NZPHAOL.js} +1 -1
- package/{chunk-TGWHSWWX.js → chunk-5S7UZVNC.js} +1 -1
- package/{chunk-534L4NXK.js → chunk-5TAKHYWV.js} +1 -1
- package/chunk-6NXDL5QO.js +1 -0
- package/{chunk-KMHIOZSQ.js → chunk-7C7GSAC3.js} +1 -1
- package/chunk-7L7ZGQPV.js +1 -0
- package/{chunk-5IZ2YCM4.js → chunk-7NZRUZLK.js} +1 -1
- package/{chunk-YUVA7MXG.js → chunk-7R4NAOW3.js} +1 -1
- package/{chunk-HBIXZIF4.js → chunk-7UYG2IJ5.js} +1 -1
- package/chunk-A2IU7XDU.js +1 -0
- package/chunk-AAWSMVGG.js +1 -0
- package/{chunk-3S2QVCOV.js → chunk-ACRPKVZ4.js} +1 -1
- package/{chunk-4MO47INH.js → chunk-AP2QQRNJ.js} +1 -1
- package/{chunk-7E74W6WW.js → chunk-ARBPTNVY.js} +2 -2
- package/{chunk-4KOFBQEK.js → chunk-BA72IEO2.js} +1 -1
- package/{chunk-EUBEE6D7.js → chunk-BEEH5PAA.js} +1 -1
- package/{chunk-4YBQZD6J.js → chunk-BRAR46TO.js} +1 -1
- package/{chunk-DOWFGTEO.js → chunk-DCHCLRHQ.js} +1 -1
- package/{chunk-6TJ2OAAU.js → chunk-DOSAQI5P.js} +1 -1
- package/chunk-DTMRPQCT.js +7 -0
- package/{chunk-T4MKGUPR.js → chunk-E4FUCIJZ.js} +1 -1
- package/chunk-EA5XKMOD.js +1 -0
- package/chunk-EFVUXO6C.js +1 -0
- package/{chunk-76POPZ3A.js → chunk-ERHRLVEN.js} +1 -1
- package/chunk-EXSJWIHK.js +142 -0
- package/{chunk-THSOUH4P.js → chunk-FVZSSGLW.js} +1 -1
- package/chunk-G47TGGKM.js +1 -0
- package/{chunk-Z6MHGIMX.js → chunk-G7M65KLU.js} +1 -1
- package/chunk-H7NQQUEN.js +1 -0
- package/{chunk-57D7DG3Q.js → chunk-HJBXJPMR.js} +1 -1
- package/chunk-HJFIULX7.js +1 -0
- package/{chunk-2U3KEP66.js → chunk-HOVGLXVU.js} +1 -1
- package/{chunk-J5HQ7T2U.js → chunk-HSYCN6JF.js} +1 -1
- package/chunk-HUXMG5OD.js +40 -0
- package/{chunk-HTDATC3L.js → chunk-IEOE2XJ7.js} +1 -1
- package/{chunk-P55NMMMB.js → chunk-IGKIW34O.js} +1 -1
- package/{chunk-TWDYXQSM.js → chunk-IJEKBDUV.js} +1 -1
- package/{chunk-F4BFKDR4.js → chunk-IOMTH2KS.js} +1 -1
- package/{chunk-5KNGGA7C.js → chunk-ISLNIBSF.js} +1 -1
- package/{chunk-Q65FW2EM.js → chunk-IUZTFGKU.js} +1 -1
- package/{chunk-KJMR7HPA.js → chunk-J22MZQOG.js} +1 -1
- package/{chunk-OP3K37O3.js → chunk-JM6FKNTC.js} +1 -1
- package/{chunk-C4H5ZZHM.js → chunk-JVSOCU4S.js} +1 -1
- package/{chunk-KR6DPLHN.js → chunk-K3TWJYF3.js} +1 -1
- package/{chunk-WAKVBF4U.js → chunk-KG3OLRKU.js} +1 -1
- package/chunk-KIJKVEX5.js +1 -0
- package/chunk-KN3RHLBU.js +1 -0
- package/chunk-LDIJUGXA.js +1 -0
- package/chunk-LJ7A7PEL.js +1 -0
- package/{chunk-XPNCASSR.js → chunk-LKFEAG7Z.js} +1 -1
- package/chunk-LXY7JCAD.js +1 -0
- package/{chunk-BS66RAKW.js → chunk-MDCWCEZ7.js} +1 -1
- package/{chunk-ZJHW6UKQ.js → chunk-MKCZKYSF.js} +1 -1
- package/{chunk-Z3OSIXXU.js → chunk-MNPNZBAC.js} +1 -1
- package/chunk-MSS4ABS2.js +1 -0
- package/{chunk-OZY5YA4U.js → chunk-MTPMCC6U.js} +1 -1
- package/{chunk-W6LNCRKG.js → chunk-NNU2L44G.js} +1 -1
- package/{chunk-DHW6IGKB.js → chunk-O7BZS7EM.js} +6 -6
- package/{chunk-V2UNIKTM.js → chunk-OCKYXLYZ.js} +1 -1
- package/{chunk-JGVJQYWH.js → chunk-OQDKL2MG.js} +1 -1
- package/chunk-OS646RNF.js +1 -0
- package/{chunk-B7TARMUS.js → chunk-OVMM5CPY.js} +1 -1
- package/{chunk-ZZHR3572.js → chunk-P2TXZVKA.js} +1 -1
- package/chunk-P4PC66ZM.js +1 -0
- package/{chunk-HLX24FYU.js → chunk-P55NY6ZS.js} +1 -1
- package/chunk-P5IEYFQS.js +1 -0
- package/{chunk-MRIW4627.js → chunk-P7RJNJL5.js} +1 -1
- package/{chunk-2IJRY2H5.js → chunk-PF2A5MHZ.js} +1 -1
- package/chunk-Q3P547NE.js +1 -0
- package/chunk-QECCYIYA.js +1 -0
- package/{chunk-KONPP7HM.js → chunk-QJJCNKD5.js} +1 -1
- package/chunk-QTJQPJZS.js +1 -0
- package/{chunk-SKZA3A5A.js → chunk-QV3XFWO2.js} +1 -1
- package/chunk-QVBTMKUV.js +277 -0
- package/{chunk-GCUU37JB.js → chunk-R46SVYN4.js} +1 -1
- package/{chunk-MQZKQQJ2.js → chunk-RAFKRDM2.js} +1 -1
- package/chunk-RISAUKQA.js +1 -0
- package/{chunk-45NYDNRM.js → chunk-RO474VQ2.js} +1 -1
- package/{chunk-KIYQBDPO.js → chunk-RUYPEXNQ.js} +1 -1
- package/{chunk-6WHGKHCN.js → chunk-SFVYLTAA.js} +1 -1
- package/{chunk-3NCKB3ET.js → chunk-SPDFU2FM.js} +1 -1
- package/{chunk-ZIDIPNEH.js → chunk-T6YHDD6J.js} +2 -2
- package/chunk-THFTALBJ.js +1 -0
- package/{chunk-3374MMIU.js → chunk-THW7B5DI.js} +1 -1
- package/chunk-TQIT2RDG.js +1 -0
- package/chunk-TTIQSVQF.js +1 -0
- package/chunk-U26CR2OO.js +1 -0
- package/{chunk-LIOWCE3C.js → chunk-U2ZZPRP6.js} +1 -1
- package/{chunk-KMQJC7EK.js → chunk-UEJR6B7A.js} +1 -1
- package/{chunk-LYSMF7CK.js → chunk-UUVSQAFK.js} +1 -1
- package/{chunk-5BXTTSOP.js → chunk-VFVVBGKX.js} +1 -1
- package/chunk-VMNRU36K.js +1 -0
- package/chunk-VW4UPUOQ.js +1 -0
- package/{chunk-CXJDV4ZO.js → chunk-VWBZGFWI.js} +1 -1
- package/chunk-W4K27G2X.js +1 -0
- package/{chunk-UURD2F4Q.js → chunk-WDFE7CAE.js} +1 -1
- package/chunk-WVLVOJU5.js +1 -0
- package/{chunk-ZO46YHUY.js → chunk-X2F5ZNTW.js} +1 -1
- package/{chunk-3S3IQNSQ.js → chunk-XMARGQLT.js} +1 -1
- package/{chunk-DIT4MZDT.js → chunk-XTTKUB6Z.js} +1 -1
- package/{chunk-DBTEBZLE.js → chunk-Y54QBXKN.js} +1 -1
- package/chunk-Y6IASXHY.js +1 -0
- package/chunk-YBZNHUZR.js +112 -0
- package/{chunk-4TVWOK6B.js → chunk-YKC7ERDO.js} +1 -1
- package/chunk-YQVFSGHO.js +1 -0
- package/chunk-YY4RNU5O.js +1 -0
- package/{chunk-KPI4WLJD.js → chunk-YYMD4TUO.js} +1 -1
- package/chunk-ZENRUPP3.js +274 -0
- package/{chunk-MY6ZWYSL.js → chunk-ZULPRZ24.js} +1 -1
- package/index.html +2 -2
- package/{main-7RB7FA7W.js → main-Q6OXUOM2.js} +4 -4
- package/package.json +1 -1
- package/{styles-55XC6NRQ.css → styles-QJI7RLZY.css} +1 -1
- package/chunk-3NKFD47E.js +0 -1
- package/chunk-3NQK565X.js +0 -1
- package/chunk-3NVMSAHU.js +0 -1
- package/chunk-4IUQ4YHH.js +0 -1
- package/chunk-4UKHYZF2.js +0 -1
- package/chunk-5WP7GW6P.js +0 -1
- package/chunk-6FKXFARK.js +0 -1
- package/chunk-7TJ6TXHJ.js +0 -1
- package/chunk-ATDQTCSX.js +0 -1
- package/chunk-BR3ARMX5.js +0 -1
- package/chunk-BXY2NVJG.js +0 -1
- package/chunk-C46G7Q7U.js +0 -1
- package/chunk-DMNOUNVA.js +0 -1
- package/chunk-DYTMAI7L.js +0 -1
- package/chunk-E66FZAUK.js +0 -1
- package/chunk-EN3A5A5C.js +0 -1
- package/chunk-ETP6ZSNL.js +0 -142
- package/chunk-FJTBJQGQ.js +0 -1
- package/chunk-HSJFWPLG.js +0 -1
- package/chunk-HU4J3ABZ.js +0 -1
- package/chunk-I2TZZXJL.js +0 -1
- package/chunk-K2FH5Z6F.js +0 -1
- package/chunk-M4LLZHKE.js +0 -1
- package/chunk-N557TZES.js +0 -1
- package/chunk-NBK5FR62.js +0 -7
- package/chunk-PRMMCAGR.js +0 -1
- package/chunk-QLLOE7QW.js +0 -1
- package/chunk-R2IYAZSE.js +0 -274
- package/chunk-RR2QREJI.js +0 -388
- package/chunk-TSXIHD3X.js +0 -1
- package/chunk-VZSCGFD2.js +0 -1
- package/chunk-WQ4FPUGZ.js +0 -1
- package/chunk-YHLRDTIS.js +0 -1
- package/chunk-YLD6FBJE.js +0 -1
- package/chunk-YNAV5JSB.js +0 -1
package/3rdpartylicenses.txt
CHANGED
|
@@ -1,30 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
--------------------------------------------------------------------------------
|
|
3
|
-
Package: @angular/animations
|
|
4
|
-
License: "MIT"
|
|
5
|
-
|
|
6
|
-
The MIT License
|
|
7
|
-
|
|
8
|
-
Copyright (c) 2010-2025 Google LLC. https://angular.dev/license
|
|
9
|
-
|
|
10
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
12
|
-
in the Software without restriction, including without limitation the rights
|
|
13
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
14
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
15
|
-
furnished to do so, subject to the following conditions:
|
|
16
|
-
|
|
17
|
-
The above copyright notice and this permission notice shall be included in
|
|
18
|
-
all copies or substantial portions of the Software.
|
|
19
|
-
|
|
20
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
26
|
-
THE SOFTWARE.
|
|
27
|
-
|
|
28
2
|
--------------------------------------------------------------------------------
|
|
29
3
|
Package: highcharts
|
|
30
4
|
License: "https://www.highcharts.com/license"
|
|
@@ -168,6 +142,46 @@ Package: @dealpos-npm/ng-dealpos-library
|
|
|
168
142
|
License: "ISC"
|
|
169
143
|
|
|
170
144
|
|
|
145
|
+
--------------------------------------------------------------------------------
|
|
146
|
+
Package: @angular/animations
|
|
147
|
+
License: "MIT"
|
|
148
|
+
|
|
149
|
+
The MIT License
|
|
150
|
+
|
|
151
|
+
Copyright (c) 2010-2025 Google LLC. https://angular.dev/license
|
|
152
|
+
|
|
153
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
154
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
155
|
+
in the Software without restriction, including without limitation the rights
|
|
156
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
157
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
158
|
+
furnished to do so, subject to the following conditions:
|
|
159
|
+
|
|
160
|
+
The above copyright notice and this permission notice shall be included in
|
|
161
|
+
all copies or substantial portions of the Software.
|
|
162
|
+
|
|
163
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
164
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
165
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
166
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
167
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
168
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
169
|
+
THE SOFTWARE.
|
|
170
|
+
|
|
171
|
+
--------------------------------------------------------------------------------
|
|
172
|
+
Package: js-beautify
|
|
173
|
+
License: "MIT"
|
|
174
|
+
|
|
175
|
+
The MIT License (MIT)
|
|
176
|
+
|
|
177
|
+
Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
|
|
178
|
+
|
|
179
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
180
|
+
|
|
181
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
182
|
+
|
|
183
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
184
|
+
|
|
171
185
|
--------------------------------------------------------------------------------
|
|
172
186
|
Package: fast-diff
|
|
173
187
|
License: "Apache-2.0"
|
|
@@ -1219,16 +1233,6 @@ Exhibit B - “Incompatible With Secondary Licenses” Notice
|
|
|
1219
1233
|
the Mozilla Public License, v. 2.0.
|
|
1220
1234
|
|
|
1221
1235
|
|
|
1222
|
-
--------------------------------------------------------------------------------
|
|
1223
|
-
Package: @maskito/core
|
|
1224
|
-
License: "Apache-2.0"
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
--------------------------------------------------------------------------------
|
|
1228
|
-
Package: @maskito/kit
|
|
1229
|
-
License: "Apache-2.0"
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
1236
|
--------------------------------------------------------------------------------
|
|
1233
1237
|
Package: uuid
|
|
1234
1238
|
License: "MIT"
|
|
@@ -1243,6 +1247,16 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
1243
1247
|
|
|
1244
1248
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1245
1249
|
|
|
1250
|
+
--------------------------------------------------------------------------------
|
|
1251
|
+
Package: @maskito/core
|
|
1252
|
+
License: "Apache-2.0"
|
|
1253
|
+
|
|
1254
|
+
|
|
1255
|
+
--------------------------------------------------------------------------------
|
|
1256
|
+
Package: @maskito/kit
|
|
1257
|
+
License: "Apache-2.0"
|
|
1258
|
+
|
|
1259
|
+
|
|
1246
1260
|
--------------------------------------------------------------------------------
|
|
1247
1261
|
Package: bootstrap
|
|
1248
1262
|
License: "MIT"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as be,b as D,c as M,d as s,e as l,j as Se,l as ye,p as ne}from"./chunk-
|
|
1
|
+
import{a as be,b as D,c as M,d as s,e as l,j as Se,l as ye,p as ne}from"./chunk-U2ZZPRP6.js";import{G as ge,Xa as te,Ya as _,ab as N,la as he}from"./chunk-OQDKL2MG.js";import{n as ee,t as y}from"./chunk-ISLNIBSF.js";import{$ as pe,$b as X,Ab as U,Da as a,Ic as S,Jb as F,Mb as k,Mc as Z,Nb as P,Sb as f,Tb as w,Ub as Q,Vb as L,Z as C,_ as T,_c as p,ac as ue,ba as v,bd as j,da as o,db as c,dd as q,ed as W,fc as fe,fd as $,gc as H,hc as x,ic as I,jc as Y,ka as ae,la as de,lc as V,mc as O,nc as R,pc as z,ub as g,uc as d,vb as le,vc as me,wa as ce,wc as ve,yb as h,za as K,zb as b}from"./chunk-T6YHDD6J.js";import{a as B}from"./chunk-PRARYYF3.js";var De=`
|
|
2
2
|
.p-steplist {
|
|
3
3
|
position: relative;
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as de}from"./chunk-
|
|
1
|
+
import{a as de}from"./chunk-RUYPEXNQ.js";import{a as re}from"./chunk-JVSOCU4S.js";import{a as le}from"./chunk-E4FUCIJZ.js";import{b as ce,d as k,e as ae}from"./chunk-U2ZZPRP6.js";import{E as ne,F as te,Xa as oe,Ya as C,a as Z,ab as ie,d as ee}from"./chunk-OQDKL2MG.js";import{i as U,l as J,n as W,t as Y}from"./chunk-ISLNIBSF.js";import{$ as z,Ab as b,Da as w,Ic as H,Jb as l,Mc as G,Sb as c,Tb as V,Ub as B,Vb as _,Z as S,Zb as M,_ as N,_b as T,_c as K,ac as L,ba as F,bd as E,da as x,db as d,fc as Q,gc as h,jc as j,ka as f,kc as R,la as m,lc as v,ld as u,ma as I,mc as y,md as X,sa as g,tc as q,ub as A,uc as s,vb as P,wa as D,yb as O,zb as $}from"./chunk-T6YHDD6J.js";var se=`
|
|
2
2
|
.p-checkbox {
|
|
3
3
|
position: relative;
|
|
4
4
|
display: inline-flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as xt}from"./chunk-
|
|
1
|
+
import{a as xt}from"./chunk-MTPMCC6U.js";import{a as kt,i as Et}from"./chunk-3BPX4XM7.js";import{H as Ee,I as wt,J as Dt,K as It,a as Q,b as Ie,c as ie,d as L,f as gt,g as He,h as Ae,k as ht,l as ft,o as ne,r as ke,s as Ct,t as bt,v as yt,w as vt,y as Tt,z as Mt}from"./chunk-U2ZZPRP6.js";import{Ka as Oe,S as dt,V as Se,Xa as ut,Ya as R,Z as Fe,Za as Be,ab as De,b as at,ca as Pe,da as Ve,e as lt,ga as pt,j as st,ja as ct,na as Le,qa as mt,va as _t,x as rt,xa as we}from"./chunk-OQDKL2MG.js";import{c as ot}from"./chunk-IOMTH2KS.js";import{i as Te,l as it,m as nt,n as Me,t as te,x as se}from"./chunk-ISLNIBSF.js";import{$ as W,$b as f,Ab as p,Ac as Ue,Bc as Je,Cc as et,Da as T,Ic as J,Ja as We,Jb as D,Jc as tt,Kc as fe,Mb as I,Nb as k,Sb as l,Sc as Ce,Tb as c,Tc as be,Ub as m,Vb as F,Wb as Y,Wc as P,Xb as q,Yb as G,Zb as K,_ as pe,_b as U,_c as ee,ac as v,ad as xe,ba as ce,bb as Ze,bc as _e,bd as g,da as y,db as s,fc as C,fd as ye,gc as r,hc as ue,ic as ae,jc as ge,ka as _,kc as Ye,la as u,lc as b,ld as h,ma as H,mc as x,md as ve,pa as Xe,qc as V,rc as qe,sa as A,sc as Ge,ta as je,tc as N,ub as z,uc as M,vb as $,vc as le,wa as Z,wb as $e,wc as he,xc as Ke,yb as me,za as Qe,zb as S}from"./chunk-T6YHDD6J.js";import{a as E,b as ze}from"./chunk-PRARYYF3.js";var jt=["data-p-icon","window-maximize"],zt=(()=>{class t extends ke{pathId;onInit(){this.pathId="url(#"+Q()+")"}static \u0275fac=(()=>{let e;return function(i){return(e||(e=T(t)))(i||t)}})();static \u0275cmp=z({type:t,selectors:[["","data-p-icon","window-maximize"]],features:[S],attrs:jt,decls:5,vars:2,consts:[["fill-rule","evenodd","clip-rule","evenodd","d","M7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14ZM9.77805 7.42192C9.89013 7.534 10.0415 7.59788 10.2 7.59995C10.3585 7.59788 10.5099 7.534 10.622 7.42192C10.7341 7.30985 10.798 7.15844 10.8 6.99995V3.94242C10.8066 3.90505 10.8096 3.86689 10.8089 3.82843C10.8079 3.77159 10.7988 3.7157 10.7824 3.6623C10.756 3.55552 10.701 3.45698 10.622 3.37798C10.5099 3.2659 10.3585 3.20202 10.2 3.19995H7.00002C6.84089 3.19995 6.68828 3.26317 6.57576 3.37569C6.46324 3.48821 6.40002 3.64082 6.40002 3.79995C6.40002 3.95908 6.46324 4.11169 6.57576 4.22422C6.68828 4.33674 6.84089 4.39995 7.00002 4.39995H8.80006L6.19997 7.00005C6.10158 7.11005 6.04718 7.25246 6.04718 7.40005C6.04718 7.54763 6.10158 7.69004 6.19997 7.80005C6.30202 7.91645 6.44561 7.98824 6.59997 8.00005C6.75432 7.98824 6.89791 7.91645 6.99997 7.80005L9.60002 5.26841V6.99995C9.6021 7.15844 9.66598 7.30985 9.77805 7.42192ZM1.4 14H3.8C4.17066 13.9979 4.52553 13.8498 4.78763 13.5877C5.04973 13.3256 5.1979 12.9707 5.2 12.6V10.2C5.1979 9.82939 5.04973 9.47452 4.78763 9.21242C4.52553 8.95032 4.17066 8.80215 3.8 8.80005H1.4C1.02934 8.80215 0.674468 8.95032 0.412371 9.21242C0.150274 9.47452 0.00210008 9.82939 0 10.2V12.6C0.00210008 12.9707 0.150274 13.3256 0.412371 13.5877C0.674468 13.8498 1.02934 13.9979 1.4 14ZM1.25858 10.0586C1.29609 10.0211 1.34696 10 1.4 10H3.8C3.85304 10 3.90391 10.0211 3.94142 10.0586C3.97893 10.0961 4 10.147 4 10.2V12.6C4 12.6531 3.97893 12.704 3.94142 12.7415C3.90391 12.779 3.85304 12.8 3.8 12.8H1.4C1.34696 12.8 1.29609 12.779 1.25858 12.7415C1.22107 12.704 1.2 12.6531 1.2 12.6V10.2C1.2 10.147 1.22107 10.0961 1.25858 10.0586Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(n,i){n&1&&(H(),Y(0,"g"),G(1,"path",0),q(),Y(2,"defs")(3,"clipPath",1),G(4,"rect",2),q()()),n&2&&(D("clip-path",i.pathId),s(3),_e("id",i.pathId))},encapsulation:2})}return t})();var Qt=["data-p-icon","window-minimize"],St=(()=>{class t extends ke{pathId;onInit(){this.pathId="url(#"+Q()+")"}static \u0275fac=(()=>{let e;return function(i){return(e||(e=T(t)))(i||t)}})();static \u0275cmp=z({type:t,selectors:[["","data-p-icon","window-minimize"]],features:[S],attrs:Qt,decls:5,vars:2,consts:[["fill-rule","evenodd","clip-rule","evenodd","d","M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(n,i){n&1&&(H(),Y(0,"g"),G(1,"path",0),q(),Y(2,"defs")(3,"clipPath",1),G(4,"rect",2),q()()),n&2&&(D("clip-path",i.pathId),s(3),_e("id",i.pathId))},encapsulation:2})}return t})();var Ft=(()=>{class t extends ie{pFocusTrapDisabled=!1;platformId=y(We);document=y(Xe);firstHiddenFocusableElement;lastHiddenFocusableElement;onInit(){se(this.platformId)&&!this.pFocusTrapDisabled&&!this.firstHiddenFocusableElement&&!this.lastHiddenFocusableElement&&this.createHiddenFocusableElements()}onChanges(e){e.pFocusTrapDisabled&&se(this.platformId)&&(e.pFocusTrapDisabled.currentValue?this.removeHiddenFocusableElements():this.createHiddenFocusableElements())}removeHiddenFocusableElements(){this.firstHiddenFocusableElement&&this.firstHiddenFocusableElement.parentNode&&this.firstHiddenFocusableElement.parentNode.removeChild(this.firstHiddenFocusableElement),this.lastHiddenFocusableElement&&this.lastHiddenFocusableElement.parentNode&&this.lastHiddenFocusableElement.parentNode.removeChild(this.lastHiddenFocusableElement)}getComputedSelector(e){return`:not(.p-hidden-focusable):not([data-p-hidden-focusable="true"])${e??""}`}createHiddenFocusableElements(){let n=i=>ct("span",{class:"p-hidden-accessible p-hidden-focusable",tabindex:"0",role:"presentation","aria-hidden":!0,"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0,onFocus:i?.bind(this)});this.firstHiddenFocusableElement=n(this.onFirstHiddenElementFocus),this.lastHiddenFocusableElement=n(this.onLastHiddenElementFocus),this.firstHiddenFocusableElement.setAttribute("data-pc-section","firstfocusableelement"),this.lastHiddenFocusableElement.setAttribute("data-pc-section","lastfocusableelement"),this.el.nativeElement.prepend(this.firstHiddenFocusableElement),this.el.nativeElement.append(this.lastHiddenFocusableElement)}onFirstHiddenElementFocus(e){let{currentTarget:n,relatedTarget:i}=e,o=i===this.lastHiddenFocusableElement||!this.el.nativeElement?.contains(i)?mt(n.parentElement,":not(.p-hidden-focusable)"):this.lastHiddenFocusableElement;Le(o)}onLastHiddenElementFocus(e){let{currentTarget:n,relatedTarget:i}=e,o=i===this.firstHiddenFocusableElement||!this.el.nativeElement?.contains(i)?_t(n.parentElement,":not(.p-hidden-focusable)"):this.firstHiddenFocusableElement;Le(o)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=T(t)))(i||t)}})();static \u0275dir=$e({type:t,selectors:[["","pFocusTrap",""]],inputs:{pFocusTrapDisabled:[2,"pFocusTrapDisabled","pFocusTrapDisabled",h]},features:[S]})}return t})(),Pn=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=$({type:t});static \u0275inj=W({})}return t})();var Pt=`
|
|
2
2
|
.p-dialog {
|
|
3
3
|
max-height: 90%;
|
|
4
4
|
transform: scale(1);
|
|
@@ -155,4 +155,4 @@ import{a as xt}from"./chunk-OZY5YA4U.js";import{a as kt,i as Et}from"./chunk-RWG
|
|
|
155
155
|
transform: translateX(-100%);
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
|
-
`;var Oi={root:{position:"relative"}},Bi={root:({instance:t})=>["p-skeleton p-component",{"p-skeleton-circle":t.shape==="circle","p-skeleton-animation-none":t.animation==="none"}]},Nt=(()=>{class t extends De{name="skeleton";style=At;classes=Bi;inlineStyles=Oi;static \u0275fac=(()=>{let e;return function(i){return(e||(e=T(t)))(i||t)}})();static \u0275prov=pe({token:t,factory:t.\u0275fac})}return t})();var Rt=new ce("SKELETON_INSTANCE"),Re=(()=>{class t extends ie{$pcSkeleton=y(Rt,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=y(L,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}styleClass;shape="rectangle";animation="wave";borderRadius;size;width="100%";height="1rem";_componentStyle=y(Nt);get containerStyle(){let e=this._componentStyle?.inlineStyles.root,n;return this.$unstyled()||(this.size?n=ze(E({},e),{width:this.size,height:this.size,borderRadius:this.borderRadius}):n=ze(E({},e),{width:this.width,height:this.height,borderRadius:this.borderRadius})),n}get dataP(){return this.cn({[this.shape]:this.shape})}static \u0275fac=(()=>{let e;return function(i){return(e||(e=T(t)))(i||t)}})();static \u0275cmp=z({type:t,selectors:[["p-skeleton"]],hostVars:6,hostBindings:function(n,i){n&2&&(D("aria-hidden",!0)("data-p",i.dataP),N(i.containerStyle),M(i.cn(i.cx("root"),i.styleClass)))},inputs:{styleClass:"styleClass",shape:"shape",animation:"animation",borderRadius:"borderRadius",size:"size",width:"width",height:"height"},features:[J([Nt,{provide:Rt,useExisting:t},{provide:Ie,useExisting:t}]),me([L]),S],decls:0,vars:0,template:function(n,i){},dependencies:[te,R],encapsulation:2,changeDetection:0})}return t})(),Xt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=$({type:t});static \u0275inj=W({imports:[Re,R,R]})}return t})();var Ai=["actionButton"],Ni=["filters"],Ri=["content"],Xi=[[["tabs"]]],ji=["tabs"],Qi=t=>({"border-bottom":t}),Wi=t=>({"overflow-y":t,"padding-bottom":"80px"}),Zi=t=>({width:t}),$i=()=>({"1199px":"75vw","575px":"100vw"});function Yi(t,a){if(t&1){let e=v();c(0,"p-iconfield")(1,"input",31),C("keyup.enter",function(){_(e);let i=r();return u(i.emitSearch())})("ngModelChange",function(i){_(e);let o=r();return u(o.searchQuery.set(i))}),m(),c(2,"p-inputicon",32),C("click",function(){_(e);let i=r();return u(i.emitSearch())}),m()()}if(t&2){let e=r();s(),l("ngModel",e.searchQuery())("placeholder",e.searchInputPlaceholder())}}function qi(t,a){if(t&1){let e=v();c(0,"button",33),C("click",function(){_(e);let i=r();return u(i.onOpenFilterDialog())}),F(1,"i",34)(2,"i",35),m()}}function Gi(t,a){if(t&1&&(c(0,"h1",36)(1,"span"),le(2),m(),c(3,"small",38),le(4),Ce(5,"truncate"),m()()),t&2){let e=r(2);s(2),he(e.pageTitle()),s(2),Ke(" ",be(5,2,e.pageSubTitle())," ")}}function Ki(t,a){t&1&&F(0,"p-skeleton",37)}function Ui(t,a){if(t&1&&I(0,Gi,6,4,"h1",36)(1,Ki,1,0,"p-skeleton",37),t&2){let e=r();k(e.isLoading()?1:0)}}function Ji(t,a){t&1&&f(0)}function en(t,a){t&1&&f(0)}function tn(t,a){t&1&&f(0)}function nn(t,a){if(t&1&&p(0,tn,1,0,"ng-container",15),t&2){r();let e=V(2);l("ngTemplateOutlet",e)}}function on(t,a){t&1&&f(0)}function an(t,a){if(t&1&&p(0,on,1,0,"ng-container",15),t&2){r();let e=V(4);l("ngTemplateOutlet",e)}}function ln(t,a){t&1&&f(0)}function sn(t,a){t&1&&f(0)}function rn(t,a){if(t&1&&p(0,sn,1,0,"ng-container",15),t&2){r();let e=V(2);l("ngTemplateOutlet",e)}}function dn(t,a){t&1&&f(0)}function pn(t,a){if(t&1&&p(0,dn,1,0,"ng-container",15),t&2){r();let e=V(4);l("ngTemplateOutlet",e)}}function cn(t,a){t&1&&f(0)}function mn(t,a){t&1&&f(0)}function _n(t,a){t&1&&f(0)}function un(t,a){if(t&1){let e=v();c(0,"p-button",39),C("onClick",function(){_(e);let i=r();return u(i.closeFilter())}),m()}t&2&&l("rounded",!0)("text",!0)}function gn(t,a){if(t&1){let e=v();c(0,"p-button",42),C("click",function(){_(e);let i=r(2);return u(i.cancelFilter())}),m()}}function hn(t,a){if(t&1){let e=v();c(0,"p-button",43),C("click",function(){_(e);let i=r(2);return u(i.confirmFilter())}),m()}}function fn(t,a){if(t&1&&(I(0,gn,1,0,"p-button",40),I(1,hn,1,0,"p-button",41)),t&2){let e=r();k(e.showCancelButton()?0:-1),s(),k(e.showConfirmButton()?1:-1)}}var Cn=9999,Yo=(()=>{class t{constructor(){this.scrollable=g(!1),this.limitStrLength=g(Cn),this.overflowScroll=g(!1),this.searchInputPlaceholder=g("Search ..."),this.store=y(Et),this.customFilterDialogWidth=g(500),this.pageTitle=g(""),this.pageSubTitle=g(""),this.isSearchableInput=g(!1),this.isFilterable=g(!1),this.hasMainWrapperPadding=g(!1),this.search=xe(),this.searchQuery=Z(""),this.filterConfirmed=xe(),this.filterCanceled=xe(),this.isDialogFilterVisible=ye(!1),this.isInitDialogFilterVisible=ye(!1),this.isLoading=ye(!1),this.pageTitleComputed=ee(()=>this.pageTitle()?this.pageTitle().length>50?this.pageTitle().slice(0,50)+"...":this.pageTitle():""),this.showCancelButton=g(!0),this.showConfirmButton=g(!0),this.dialogTitle=g("Filter"),this.isCollapsed=!0,this.isSearchbarCollapse=!0,this.intercomService=y(ot),Qe(()=>{this.isInitDialogFilterVisible()&&this.onOpenFilterDialog()})}get mainPanelClasses(){return{"p-3":this.hasMainWrapperPadding()}}ngAfterViewInit(){this.intercomService.initializeIntercom()}confirmFilter(){this.filterConfirmed.emit()}cancelFilter(){this.filterCanceled.emit(),this.isDialogFilterVisible.update(e=>!e)}closeFilter(){this.filterCanceled.emit(),this.isDialogFilterVisible.update(e=>!e)}onOpenFilterDialog(){this.isDialogFilterVisible.update(e=>!e)}emitSearch(){this.search.emit(this.searchQuery())}handleKeyboardEvent(e){e.key==="F2"&&this.filterConfirmed.emit()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=z({type:t,selectors:[["app-main-panel"]],contentQueries:function(n,i,o){if(n&1&&ge(o,Ai,7)(o,Ni,7)(o,Ri,7),n&2){let d;b(d=x())&&(i.actionButtonTemplate=d.first),b(d=x())&&(i.filterTemplate=d.first),b(d=x())&&(i.contentTemplate=d.first)}},hostBindings:function(n,i){n&1&&C("keydown",function(d){return i.handleKeyboardEvent(d)},Ze)},inputs:{scrollable:[1,"scrollable"],limitStrLength:[1,"limitStrLength"],overflowScroll:[1,"overflowScroll"],searchInputPlaceholder:[1,"searchInputPlaceholder"],customFilterDialogWidth:[1,"customFilterDialogWidth"],pageTitle:[1,"pageTitle"],pageSubTitle:[1,"pageSubTitle"],isSearchableInput:[1,"isSearchableInput"],isFilterable:[1,"isFilterable"],hasMainWrapperPadding:[1,"hasMainWrapperPadding"],isDialogFilterVisible:[1,"isDialogFilterVisible"],isInitDialogFilterVisible:[1,"isInitDialogFilterVisible"],isLoading:[1,"isLoading"],showCancelButton:[1,"showCancelButton"],showConfirmButton:[1,"showConfirmButton"],dialogTitle:[1,"dialogTitle"]},outputs:{search:"search",filterConfirmed:"filterConfirmed",filterCanceled:"filterCanceled",isDialogFilterVisible:"isDialogFilterVisibleChange",isInitDialogFilterVisible:"isInitDialogFilterVisibleChange",isLoading:"isLoadingChange"},features:[J([])],ngContentSelectors:ji,decls:49,vars:39,consts:[["searchInput",""],["filterButton",""],["pageHeaderTitle",""],["closeIconTemplate",""],["footer",""],[1,"container-wrapper"],[2,"position","sticky","top","0","z-index","1000","background","white"],[1,"navbar","navbar-expand-lg","bg-white","border-bottom",3,"ngClass"],[1,"container-fluid","px-lg-3","px-1"],[1,"row","w-100","d-block","d-lg-none","mx-0"],[1,"col","d-flex","align-items-center","justify-content-between","flex-wrap","px-0"],[1,"d-flex","align-items-center"],["icon","fa-solid fa-bars","severity","contrast",1,"text-dark",3,"onClick","text"],[1,"d-flex","gap-2","align-items-center"],["tooltipPosition","top",1,"flex-shrink-1",3,"pTooltip"],[4,"ngTemplateOutlet"],["data-bs-target","#collapseMobileActions","data-bs-toggle","collapse","type","button",1,"btn"],[1,"fa-solid","fa-ellipsis-vertical"],[1,"w-100","d-none","d-lg-flex"],[1,"col-8","d-flex"],[1,"row","w-100"],[1,"col-12","d-flex","align-items-center"],[1,"d-flex","align-items-center","justify-content-between","w-100","gap-2"],[1,"d-flex","align-items-center","flex-grow-1","gap-2"],[1,"col-4","align-self-center","d-flex","gap-2","justify-content-end"],["id","collapseMobileActions",1,"collapse"],[1,"card"],[1,"card-body","py-2","d-flex","flex-column","gap-2"],[1,"d-flex","align-items-center","gap-2"],[1,"flex-grow-1",3,"ngClass"],["appendTo","body","position","center",3,"visibleChange","visible","breakpoints","closeIconTemplate","dismissableMask","draggable","header","modal"],["pInputText","","pTooltip","Search...","tooltipPosition","top","type","text",3,"keyup.enter","ngModelChange","ngModel","placeholder"],["styleClass","fa-solid fa-magnifying-glass",3,"click"],["type","button",1,"btn","btn-link","p-0",3,"click"],[1,"fa-solid","fa-filter"],[1,"fa-solid","fa-caret-down"],[1,"page-title","fs-6","m-0","fw-semibold","align-middle"],["height","2rem","width","15rem"],[1,"ms-1",2,"font-size","14px"],["icon","fa-solid fa-xmark","severity","secondary","variant","outlined",3,"onClick","rounded","text"],["label","Cancel","severity","secondary","variant","outlined"],["label","OK (F2)"],["label","Cancel","severity","secondary","variant","outlined",3,"click"],["label","OK (F2)",3,"click"]],template:function(n,i){if(n&1){let o=v();ue(Xi),c(0,"div",5),p(1,Yi,3,2,"ng-template",null,0,P)(3,qi,3,0,"ng-template",null,1,P)(5,Ui,2,1,"ng-template",null,2,P),c(7,"div",6)(8,"nav",7)(9,"div",8)(10,"div",9)(11,"div",10)(12,"div",11)(13,"p-button",12),C("onClick",function(){return _(o),u(i.store.updateSidebarType())}),m(),c(14,"div",13)(15,"div",14),Ce(16,"truncate"),p(17,Ji,1,0,"ng-container",15),m()()(),c(18,"button",16),F(19,"i",17),m()()(),c(20,"div",18)(21,"div",19)(22,"div",20)(23,"div",21)(24,"div",22)(25,"div",14),Ce(26,"truncate"),p(27,en,1,0,"ng-container",15),m(),c(28,"div",23),I(29,nn,1,1,"ng-container"),I(30,an,1,1,"ng-container"),m()()()()(),c(31,"div",24),p(32,ln,1,0,"ng-container",15),m()()()(),c(33,"div",25)(34,"div",26)(35,"div",27)(36,"div",28),I(37,rn,1,1,"ng-container"),I(38,pn,1,1,"ng-container"),m(),p(39,cn,1,0,"ng-container",15),m()()(),ae(40),m(),c(41,"div",29),p(42,mn,1,0,"ng-container",15),m()(),c(43,"p-dialog",30),et("visibleChange",function(w){return _(o),Je(i.isDialogFilterVisible,w)||(i.isDialogFilterVisible=w),u(w)}),p(44,_n,1,0,"ng-container",15)(45,un,1,2,"ng-template",null,3,P)(47,fn,2,2,"ng-template",null,4,P),m()}if(n&2){let o=V(6),d=V(46);Ge("overflow-y-auto",i.scrollable()),s(8),l("ngClass",fe(32,Qi,i.hasMainWrapperPadding())),s(5),l("text",!0),s(2),l("pTooltip",be(16,28,i.pageTitle())!==i.pageTitle()?i.pageTitle():null),s(2),l("ngTemplateOutlet",o),s(8),l("pTooltip",be(26,30,i.pageTitle())!==i.pageTitle()?i.pageTitle():null),s(2),l("ngTemplateOutlet",o),s(2),k(i.isSearchableInput()?29:-1),s(),k(i.isFilterable()?30:-1),s(2),l("ngTemplateOutlet",i.actionButtonTemplate),s(5),k(i.isSearchableInput()?37:-1),s(),k(i.isFilterable()?38:-1),s(),l("ngTemplateOutlet",i.actionButtonTemplate),s(2),N(fe(34,Wi,i.overflowScroll()?"auto":"visible")),l("ngClass",i.mainPanelClasses),s(),l("ngTemplateOutlet",i.contentTemplate),s(),N(fe(36,Zi,i.customFilterDialogWidth()+"px")),Ue("visible",i.isDialogFilterVisible),l("breakpoints",tt(38,$i))("closeIconTemplate",d)("dismissableMask",!0)("draggable",!1)("header",i.dialogTitle())("modal",!0),s(),l("ngTemplateOutlet",i.filterTemplate)}},dependencies:[rt,at,lt,st,bt,Ct,vt,yt,Mt,Tt,Ht,Ne,wt,Ee,te,Te,Me,It,Dt,Xt,Re,kt],styles:["[_nghost-%COMP%]{display:block}.page-title[_ngcontent-%COMP%]{margin-left:5px;color:#000}.container-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:relative;height:100vh}.container-wrapper[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px;height:8px}.container-wrapper[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:10px}.container-wrapper[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:var(--primary-color);border-radius:10px;border:2px solid #f1f1f1}.container-wrapper[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:var(--primary-700)}.container-wrapper[_ngcontent-%COMP%]{scrollbar-width:thin;scrollbar-color:var(--primary-color) #f1f1f1}.navbar-collapse.show[_ngcontent-%COMP%]{padding-bottom:auto}.input-group[_ngcontent-%COMP%]{align-items:center}.input-group-text[_ngcontent-%COMP%]{background-color:transparent}input[type=checkbox][_ngcontent-%COMP%]:checked ~ a[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{transform:rotate(90deg);transition:transform .3s ease}label[for=check][_ngcontent-%COMP%]{width:25px;height:25px;border-radius:50%;border:1px solid #000;display:flex;justify-content:center;align-items:center}label[for=check][_ngcontent-%COMP%] a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{transition:.4s cubic-bezier(.68,-.6,.32,1.6);font-size:.6rem}label[for=check][_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{display:none}label[for=check][_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked ~ a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{transform:rotate(180deg)}@media(max-width:575px){ .p-dialog{height:100vh!important;max-height:100vh!important;border-radius:0!important} .p-dialog-content{overflow:auto;height:calc(100vh - 4rem)}} p-inputicon.fa-solid.fa-magnifying-glass{top:53%}"],changeDetection:0})}}return t})();export{Ft as a,Pn as b,Ot as c,Ne as d,Ht as e,Re as f,Xt as g,Yo as h};
|
|
158
|
+
`;var Oi={root:{position:"relative"}},Bi={root:({instance:t})=>["p-skeleton p-component",{"p-skeleton-circle":t.shape==="circle","p-skeleton-animation-none":t.animation==="none"}]},Nt=(()=>{class t extends De{name="skeleton";style=At;classes=Bi;inlineStyles=Oi;static \u0275fac=(()=>{let e;return function(i){return(e||(e=T(t)))(i||t)}})();static \u0275prov=pe({token:t,factory:t.\u0275fac})}return t})();var Rt=new ce("SKELETON_INSTANCE"),Re=(()=>{class t extends ie{$pcSkeleton=y(Rt,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=y(L,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}styleClass;shape="rectangle";animation="wave";borderRadius;size;width="100%";height="1rem";_componentStyle=y(Nt);get containerStyle(){let e=this._componentStyle?.inlineStyles.root,n;return this.$unstyled()||(this.size?n=ze(E({},e),{width:this.size,height:this.size,borderRadius:this.borderRadius}):n=ze(E({},e),{width:this.width,height:this.height,borderRadius:this.borderRadius})),n}get dataP(){return this.cn({[this.shape]:this.shape})}static \u0275fac=(()=>{let e;return function(i){return(e||(e=T(t)))(i||t)}})();static \u0275cmp=z({type:t,selectors:[["p-skeleton"]],hostVars:6,hostBindings:function(n,i){n&2&&(D("aria-hidden",!0)("data-p",i.dataP),N(i.containerStyle),M(i.cn(i.cx("root"),i.styleClass)))},inputs:{styleClass:"styleClass",shape:"shape",animation:"animation",borderRadius:"borderRadius",size:"size",width:"width",height:"height"},features:[J([Nt,{provide:Rt,useExisting:t},{provide:Ie,useExisting:t}]),me([L]),S],decls:0,vars:0,template:function(n,i){},dependencies:[te,R],encapsulation:2,changeDetection:0})}return t})(),Xt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=$({type:t});static \u0275inj=W({imports:[Re,R,R]})}return t})();var Ai=["actionButton"],Ni=["filters"],Ri=["content"],Xi=[[["tabs"]]],ji=["tabs"],Qi=t=>({"border-bottom":t}),Wi=t=>({"overflow-y":t,"padding-bottom":"80px"}),Zi=t=>({width:t}),$i=()=>({"1199px":"75vw","575px":"100vw"});function Yi(t,a){if(t&1){let e=v();c(0,"p-iconfield")(1,"input",31),C("keyup.enter",function(){_(e);let i=r();return u(i.emitSearch())})("ngModelChange",function(i){_(e);let o=r();return u(o.searchQuery.set(i))}),m(),c(2,"p-inputicon",32),C("click",function(){_(e);let i=r();return u(i.emitSearch())}),m()()}if(t&2){let e=r();s(),l("ngModel",e.searchQuery())("placeholder",e.searchInputPlaceholder())}}function qi(t,a){if(t&1){let e=v();c(0,"button",33),C("click",function(){_(e);let i=r();return u(i.onOpenFilterDialog())}),F(1,"i",34)(2,"i",35),m()}}function Gi(t,a){if(t&1&&(c(0,"h1",36)(1,"span"),le(2),m(),c(3,"small",38),le(4),Ce(5,"truncate"),m()()),t&2){let e=r(2);s(2),he(e.pageTitle()),s(2),Ke(" ",be(5,2,e.pageSubTitle())," ")}}function Ki(t,a){t&1&&F(0,"p-skeleton",37)}function Ui(t,a){if(t&1&&I(0,Gi,6,4,"h1",36)(1,Ki,1,0,"p-skeleton",37),t&2){let e=r();k(e.isLoading()?1:0)}}function Ji(t,a){t&1&&f(0)}function en(t,a){t&1&&f(0)}function tn(t,a){t&1&&f(0)}function nn(t,a){if(t&1&&p(0,tn,1,0,"ng-container",15),t&2){r();let e=V(2);l("ngTemplateOutlet",e)}}function on(t,a){t&1&&f(0)}function an(t,a){if(t&1&&p(0,on,1,0,"ng-container",15),t&2){r();let e=V(4);l("ngTemplateOutlet",e)}}function ln(t,a){t&1&&f(0)}function sn(t,a){t&1&&f(0)}function rn(t,a){if(t&1&&p(0,sn,1,0,"ng-container",15),t&2){r();let e=V(2);l("ngTemplateOutlet",e)}}function dn(t,a){t&1&&f(0)}function pn(t,a){if(t&1&&p(0,dn,1,0,"ng-container",15),t&2){r();let e=V(4);l("ngTemplateOutlet",e)}}function cn(t,a){t&1&&f(0)}function mn(t,a){t&1&&f(0)}function _n(t,a){t&1&&f(0)}function un(t,a){if(t&1){let e=v();c(0,"p-button",39),C("onClick",function(){_(e);let i=r();return u(i.closeFilter())}),m()}t&2&&l("rounded",!0)("text",!0)}function gn(t,a){if(t&1){let e=v();c(0,"p-button",42),C("click",function(){_(e);let i=r(2);return u(i.cancelFilter())}),m()}}function hn(t,a){if(t&1){let e=v();c(0,"p-button",43),C("click",function(){_(e);let i=r(2);return u(i.confirmFilter())}),m()}}function fn(t,a){if(t&1&&(I(0,gn,1,0,"p-button",40),I(1,hn,1,0,"p-button",41)),t&2){let e=r();k(e.showCancelButton()?0:-1),s(),k(e.showConfirmButton()?1:-1)}}var Cn=9999,Yo=(()=>{class t{constructor(){this.scrollable=g(!1),this.limitStrLength=g(Cn),this.overflowScroll=g(!1),this.searchInputPlaceholder=g("Search ..."),this.store=y(Et),this.customFilterDialogWidth=g(500),this.pageTitle=g(""),this.pageSubTitle=g(""),this.isSearchableInput=g(!1),this.isFilterable=g(!1),this.hasMainWrapperPadding=g(!1),this.search=xe(),this.searchQuery=Z(""),this.filterConfirmed=xe(),this.filterCanceled=xe(),this.isDialogFilterVisible=ye(!1),this.isInitDialogFilterVisible=ye(!1),this.isLoading=ye(!1),this.pageTitleComputed=ee(()=>this.pageTitle()?this.pageTitle().length>50?this.pageTitle().slice(0,50)+"...":this.pageTitle():""),this.showCancelButton=g(!0),this.showConfirmButton=g(!0),this.dialogTitle=g("Filter"),this.isCollapsed=!0,this.isSearchbarCollapse=!0,this.intercomService=y(ot),Qe(()=>{this.isInitDialogFilterVisible()&&this.onOpenFilterDialog()})}get mainPanelClasses(){return{"p-3":this.hasMainWrapperPadding()}}ngAfterViewInit(){this.intercomService.initializeIntercom()}confirmFilter(){this.filterConfirmed.emit()}cancelFilter(){this.filterCanceled.emit(),this.isDialogFilterVisible.update(e=>!e)}closeFilter(){this.filterCanceled.emit(),this.isDialogFilterVisible.update(e=>!e)}onOpenFilterDialog(){this.isDialogFilterVisible.update(e=>!e)}emitSearch(){this.search.emit(this.searchQuery())}handleKeyboardEvent(e){e.key==="F2"&&this.filterConfirmed.emit()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=z({type:t,selectors:[["app-main-panel"]],contentQueries:function(n,i,o){if(n&1&&ge(o,Ai,7)(o,Ni,7)(o,Ri,7),n&2){let d;b(d=x())&&(i.actionButtonTemplate=d.first),b(d=x())&&(i.filterTemplate=d.first),b(d=x())&&(i.contentTemplate=d.first)}},hostBindings:function(n,i){n&1&&C("keydown",function(d){return i.handleKeyboardEvent(d)},Ze)},inputs:{scrollable:[1,"scrollable"],limitStrLength:[1,"limitStrLength"],overflowScroll:[1,"overflowScroll"],searchInputPlaceholder:[1,"searchInputPlaceholder"],customFilterDialogWidth:[1,"customFilterDialogWidth"],pageTitle:[1,"pageTitle"],pageSubTitle:[1,"pageSubTitle"],isSearchableInput:[1,"isSearchableInput"],isFilterable:[1,"isFilterable"],hasMainWrapperPadding:[1,"hasMainWrapperPadding"],isDialogFilterVisible:[1,"isDialogFilterVisible"],isInitDialogFilterVisible:[1,"isInitDialogFilterVisible"],isLoading:[1,"isLoading"],showCancelButton:[1,"showCancelButton"],showConfirmButton:[1,"showConfirmButton"],dialogTitle:[1,"dialogTitle"]},outputs:{search:"search",filterConfirmed:"filterConfirmed",filterCanceled:"filterCanceled",isDialogFilterVisible:"isDialogFilterVisibleChange",isInitDialogFilterVisible:"isInitDialogFilterVisibleChange",isLoading:"isLoadingChange"},features:[J([])],ngContentSelectors:ji,decls:49,vars:39,consts:[["searchInput",""],["filterButton",""],["pageHeaderTitle",""],["closeIconTemplate",""],["footer",""],[1,"container-wrapper"],[2,"position","sticky","top","0","z-index","1000","background","white"],[1,"navbar","navbar-expand-lg","bg-white","border-bottom",3,"ngClass"],[1,"container-fluid","px-lg-3","px-1"],[1,"row","w-100","d-block","d-lg-none","mx-0"],[1,"col","d-flex","align-items-center","justify-content-between","flex-wrap","px-0"],[1,"d-flex","align-items-center"],["icon","fa-solid fa-bars","severity","contrast",1,"text-dark",3,"onClick","text"],[1,"d-flex","gap-2","align-items-center"],["tooltipPosition","top",1,"flex-shrink-1",3,"pTooltip"],[4,"ngTemplateOutlet"],["data-bs-target","#collapseMobileActions","data-bs-toggle","collapse","type","button",1,"btn"],[1,"fa-solid","fa-ellipsis-vertical"],[1,"w-100","d-none","d-lg-flex"],[1,"col-8","d-flex"],[1,"row","w-100"],[1,"col-12","d-flex","align-items-center"],[1,"d-flex","align-items-center","justify-content-between","w-100","gap-2"],[1,"d-flex","align-items-center","flex-grow-1","gap-2"],[1,"col-4","align-self-center","d-flex","gap-2","justify-content-end"],["id","collapseMobileActions",1,"collapse"],[1,"card"],[1,"card-body","py-2","d-flex","flex-column","gap-2"],[1,"d-flex","align-items-center","gap-2"],[1,"flex-grow-1",3,"ngClass"],["appendTo","body","position","center",3,"visibleChange","visible","breakpoints","closeIconTemplate","dismissableMask","draggable","header","modal"],["pInputText","","pTooltip","Search...","tooltipPosition","top","type","text",1,"w-100",3,"keyup.enter","ngModelChange","ngModel","placeholder"],[1,"fa-solid","fa-magnifying-glass",3,"click"],["type","button",1,"btn","btn-link","p-0",3,"click"],[1,"fa-solid","fa-filter"],[1,"fa-solid","fa-caret-down"],[1,"page-title","fs-6","m-0","fw-semibold","align-middle"],["height","2rem","width","15rem"],[1,"ms-1",2,"font-size","14px"],["icon","fa-solid fa-xmark","severity","secondary","variant","outlined",3,"onClick","rounded","text"],["label","Cancel","severity","secondary","variant","outlined"],["label","OK (F2)"],["label","Cancel","severity","secondary","variant","outlined",3,"click"],["label","OK (F2)",3,"click"]],template:function(n,i){if(n&1){let o=v();ue(Xi),c(0,"div",5),p(1,Yi,3,2,"ng-template",null,0,P)(3,qi,3,0,"ng-template",null,1,P)(5,Ui,2,1,"ng-template",null,2,P),c(7,"div",6)(8,"nav",7)(9,"div",8)(10,"div",9)(11,"div",10)(12,"div",11)(13,"p-button",12),C("onClick",function(){return _(o),u(i.store.updateSidebarType())}),m(),c(14,"div",13)(15,"div",14),Ce(16,"truncate"),p(17,Ji,1,0,"ng-container",15),m()()(),c(18,"button",16),F(19,"i",17),m()()(),c(20,"div",18)(21,"div",19)(22,"div",20)(23,"div",21)(24,"div",22)(25,"div",14),Ce(26,"truncate"),p(27,en,1,0,"ng-container",15),m(),c(28,"div",23),I(29,nn,1,1,"ng-container"),I(30,an,1,1,"ng-container"),m()()()()(),c(31,"div",24),p(32,ln,1,0,"ng-container",15),m()()()(),c(33,"div",25)(34,"div",26)(35,"div",27)(36,"div",28),I(37,rn,1,1,"ng-container"),I(38,pn,1,1,"ng-container"),m(),p(39,cn,1,0,"ng-container",15),m()()(),ae(40),m(),c(41,"div",29),p(42,mn,1,0,"ng-container",15),m()(),c(43,"p-dialog",30),et("visibleChange",function(w){return _(o),Je(i.isDialogFilterVisible,w)||(i.isDialogFilterVisible=w),u(w)}),p(44,_n,1,0,"ng-container",15)(45,un,1,2,"ng-template",null,3,P)(47,fn,2,2,"ng-template",null,4,P),m()}if(n&2){let o=V(6),d=V(46);Ge("overflow-y-auto",i.scrollable()),s(8),l("ngClass",fe(32,Qi,i.hasMainWrapperPadding())),s(5),l("text",!0),s(2),l("pTooltip",be(16,28,i.pageTitle())!==i.pageTitle()?i.pageTitle():null),s(2),l("ngTemplateOutlet",o),s(8),l("pTooltip",be(26,30,i.pageTitle())!==i.pageTitle()?i.pageTitle():null),s(2),l("ngTemplateOutlet",o),s(2),k(i.isSearchableInput()?29:-1),s(),k(i.isFilterable()?30:-1),s(2),l("ngTemplateOutlet",i.actionButtonTemplate),s(5),k(i.isSearchableInput()?37:-1),s(),k(i.isFilterable()?38:-1),s(),l("ngTemplateOutlet",i.actionButtonTemplate),s(2),N(fe(34,Wi,i.overflowScroll()?"auto":"visible")),l("ngClass",i.mainPanelClasses),s(),l("ngTemplateOutlet",i.contentTemplate),s(),N(fe(36,Zi,i.customFilterDialogWidth()+"px")),Ue("visible",i.isDialogFilterVisible),l("breakpoints",tt(38,$i))("closeIconTemplate",d)("dismissableMask",!0)("draggable",!1)("header",i.dialogTitle())("modal",!0),s(),l("ngTemplateOutlet",i.filterTemplate)}},dependencies:[rt,at,lt,st,bt,Ct,vt,yt,Mt,Tt,Ht,Ne,wt,Ee,te,Te,Me,It,Dt,Xt,Re,kt],styles:["[_nghost-%COMP%]{display:block}.page-title[_ngcontent-%COMP%]{margin-left:5px;color:#000}.container-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:relative;height:100vh;overflow-y:auto}.container-wrapper[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px;height:8px}.container-wrapper[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:10px}.container-wrapper[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:var(--primary-color);border-radius:10px;border:2px solid #f1f1f1}.container-wrapper[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:var(--primary-700)}.container-wrapper[_ngcontent-%COMP%]{scrollbar-width:thin;scrollbar-color:var(--primary-color) #f1f1f1}.navbar-collapse.show[_ngcontent-%COMP%]{padding-bottom:auto}.input-group[_ngcontent-%COMP%]{align-items:center}.input-group-text[_ngcontent-%COMP%]{background-color:transparent}input[type=checkbox][_ngcontent-%COMP%]:checked ~ a[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{transform:rotate(90deg);transition:transform .3s ease}label[for=check][_ngcontent-%COMP%]{width:25px;height:25px;border-radius:50%;border:1px solid #000;display:flex;justify-content:center;align-items:center}label[for=check][_ngcontent-%COMP%] a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{transition:.4s cubic-bezier(.68,-.6,.32,1.6);font-size:.6rem}label[for=check][_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{display:none}label[for=check][_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked ~ a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{transform:rotate(180deg)}@media(max-width:575px){ .p-dialog{height:100vh!important;max-height:100vh!important;border-radius:0!important} .p-dialog-content{overflow:auto;height:calc(100vh - 4rem)}} p-inputicon.fa-solid.fa-magnifying-glass{top:53%} .p-iconfield{width:244px}"],changeDetection:0})}}return t})();export{Ft as a,Pn as b,Ot as c,Ne as d,Ht as e,Re as f,Xt as g,Yo as h};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as K}from"./chunk-
|
|
1
|
+
import{a as K}from"./chunk-SFVYLTAA.js";import{m as A}from"./chunk-SPDFU2FM.js";import"./chunk-IEOE2XJ7.js";import{b as H,c as J}from"./chunk-R46SVYN4.js";import"./chunk-RAFKRDM2.js";import"./chunk-RUYPEXNQ.js";import"./chunk-BEEH5PAA.js";import{h as G}from"./chunk-2LLPIDXP.js";import"./chunk-MTPMCC6U.js";import{a as I,b as q}from"./chunk-RO474VQ2.js";import"./chunk-JVSOCU4S.js";import"./chunk-E4FUCIJZ.js";import"./chunk-3BPX4XM7.js";import{H as F,I as Z}from"./chunk-U2ZZPRP6.js";import"./chunk-7C7GSAC3.js";import{e as D,j as W,x as j}from"./chunk-OQDKL2MG.js";import"./chunk-WDFE7CAE.js";import{a as N}from"./chunk-DOSAQI5P.js";import"./chunk-MKCZKYSF.js";import"./chunk-IOMTH2KS.js";import{o as P,t as R}from"./chunk-ISLNIBSF.js";import"./chunk-CJPLD6EO.js";import{Ab as u,Ac as M,Bc as b,Cc as E,Dc as L,Ec as V,Fc as g,Mb as h,Nb as v,R as C,Sb as w,Sc as k,Tb as n,Tc as B,Ub as l,V as T,Wc as p,ac as f,da as m,db as S,fc as y,gc as r,ka as c,la as d,ub as z,vc as _,wa as x}from"./chunk-T6YHDD6J.js";import"./chunk-PRARYYF3.js";function O(e,s){if(e&1){let t=f();n(0,"p-button",5),y("onClick",function(){c(t);let i=r(2),a=g(0);return d(i.onSaveTimezone(a))}),l()}}function Q(e,s){if(e&1&&h(0,O,1,0,"p-button",4),e&2){let t=r();v(t.roleService.permissions().accountingSetup.create||t.roleService.permissions().accountingSetup.edit?0:-1)}}function U(e,s){e&1&&(n(0,"div",9)(1,"div",10),_(2,"Timezone Configuration"),l(),n(3,"small",11),_(4,"Set the timezone to ensure that all journals and date filtering follow this timezone"),l()())}function X(e,s){if(e&1){let t=f();n(0,"p-panel"),u(1,U,5,0,"ng-template",null,2,p),n(3,"div",6)(4,"div",7)(5,"p-select",8),E("ngModelChange",function(i){c(t);let a=r();return b(a.selectedTimezone,i)||(a.selectedTimezone=i),d(i)}),l()()()()}if(e&2){let t=r(),o=g(0);S(5),M("ngModel",t.selectedTimezone),w("filter",!0)("fluid",!0)("options",o==null||o.options==null?null:o.options.timezones)("showClear",!0)}}var ge=(()=>{class e{constructor(){this.selectedTimezone=x(null),this.roleService=m(A),this.setupService=m(K),this.loader$=this.setupService.fetchLoaderConfiguration().pipe(T(t=>{this.selectedTimezone.set(t?.form?.timeZone||null)}),C(1)),this.toastr=m(N)}onSaveTimezone(t){let o=t.form;o.timeZone=this.selectedTimezone(),this.setupService.updateAccountingIntegrationConfiguration({form:o}).subscribe()}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=z({type:e,selectors:[["app-timezone"]],decls:7,vars:3,consts:[["actionButton",""],["content",""],["header",""],["pageTitle","Timezone"],["icon","fa-solid fa-floppy-disk","label","Save"],["icon","fa-solid fa-floppy-disk","label","Save",3,"onClick"],[1,"row"],[1,"col-6"],["appendTo","body","optionLabel","displayName","optionValue","id","placeholder","Select Timezone",3,"ngModelChange","ngModel","filter","fluid","options","showClear"],[1,"d-flex","flex-column","px-2"],[1,"mb-0","fw-normal","fs-4"],[1,"fst-italic","text-muted"]],template:function(o,i){o&1&&(L(0),k(1,"async"),n(2,"app-main-panel",3),u(3,Q,1,1,"ng-template",null,0,p)(5,X,6,5,"ng-template",null,1,p),l()),o&2&&V(B(1,0,i.loader$))},dependencies:[R,j,D,W,G,q,I,Z,F,J,H,P],encapsulation:2})}}return e})();export{ge as TimezoneComponent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as L}from"./chunk-
|
|
1
|
+
import{a as L}from"./chunk-XMARGQLT.js";import{a as K}from"./chunk-MDCWCEZ7.js";import{a as Y,b as H}from"./chunk-Y54QBXKN.js";import{a as U}from"./chunk-TTIQSVQF.js";import{h as Q}from"./chunk-2LLPIDXP.js";import"./chunk-MTPMCC6U.js";import{a as W}from"./chunk-RO474VQ2.js";import"./chunk-JVSOCU4S.js";import"./chunk-E4FUCIJZ.js";import"./chunk-3BPX4XM7.js";import{H as O,y as A}from"./chunk-U2ZZPRP6.js";import"./chunk-7C7GSAC3.js";import{b as R,c as k,e as z,f as G,p as P,q as V,v as B,y as q}from"./chunk-OQDKL2MG.js";import{b as w,d as J}from"./chunk-7NZRUZLK.js";import"./chunk-WDFE7CAE.js";import"./chunk-DOSAQI5P.js";import"./chunk-MKCZKYSF.js";import"./chunk-IOMTH2KS.js";import{i as M}from"./chunk-ISLNIBSF.js";import"./chunk-CJPLD6EO.js";import{Ab as F,C as h,F as T,J as b,Kc as N,Mb as x,Nb as _,Sb as a,T as g,Tb as n,Ub as o,V as v,Vb as m,Wc as y,ac as E,da as c,db as r,fc as j,gc as u,j as C,ka as S,la as I,ub as D,vc as l}from"./chunk-T6YHDD6J.js";import{a as d,b as f}from"./chunk-PRARYYF3.js";var X=t=>({"ng-invalid ng-dirty":t});function Z(t,s){if(t&1){let e=E();n(0,"div")(1,"p-button",3),j("onClick",function(){S(e);let p=u();return I(p.onSubmit())}),o()()}}function $(t,s){t&1&&(n(0,"div",22),l(1," Name is required "),o())}function ee(t,s){if(t&1&&(n(0,"div"),x(1,$,2,0,"div",22),o()),t&2){let e=u(2);r(),_(e.form.controls.name.errors.required?1:-1)}}function te(t,s){if(t&1&&(n(0,"p-panel",4)(1,"div",5)(2,"div",6)(3,"div",7)(4,"div",8)(5,"div",9)(6,"div",7)(7,"div",10)(8,"label",11),l(9,"Type Id"),o(),n(10,"div",12)(11,"div",13),m(12,"p-radiobutton",14),n(13,"label",15),l(14,"Generic"),o()(),n(15,"div",13),m(16,"p-radiobutton",16),n(17,"label",17),l(18,"Outlet"),o()()()(),m(19,"div",18),o(),n(20,"div",19)(21,"label",11),l(22,"Name"),o(),m(23,"input",20),x(24,ee,2,1,"div"),o()(),n(25,"div",9)(26,"div",19)(27,"label",11),l(28,"Description"),o(),m(29,"textarea",21),o()()()()()()()),t&2){let e=u();r(),a("formGroup",e.form),r(11),a("value",0),r(4),a("value",1),r(7),a("ngClass",N(6,X,e.form.controls.name.invalid&&(e.form.controls.name.dirty||e.form.controls.name.touched))),r(),_(e.form.controls.name.invalid&&(e.form.controls.name.dirty||e.form.controls.name.touched)?24:-1),r(5),a("autoResize",!0)}}var ye=(()=>{class t{constructor(){this.fb=c(B),this.journalTagService=c(L),this.route=c(w),this.router=c(J)}initForm(){console.log("Initializing form"),this.form=this.fb.group({name:this.fb.control("",[k.required]),description:this.fb.control(""),typeID:this.fb.control(!1)})}ngOnInit(){this.initForm(),this.route.queryParamMap.pipe(h(e=>e.has("id")),g(e=>this.journalTagService.journalTagGet(e.get("id"))),U("Query params"),v(e=>{console.log("Got journal tag:",e),this.form.patchValue({name:e.name,description:e.description})})).subscribe()}onSubmit(){if(this.form.invalid){this.form.markAllAsTouched();return}let e=this.form.getRawValue();this.route.queryParamMap.pipe(b(1),g(i=>{let p=i.get("id");return p?this.journalTagService.journalTagUpdate(f(d({},e),{typeID:Number(e.typeID)}),p):this.journalTagService.journalTagCreate(f(d({},e),{typeID:Number(e.typeID)}))}),v(()=>{console.log("Journal tag saved successfully"),this.router.navigate(["/pages/accounting-setup/journal-tag"])}),T(i=>(console.error("Failed to save journal tag:",i),C))).subscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=D({type:t,selectors:[["app-journal-tag-form"]],decls:5,vars:1,consts:[["actionButton",""],["content",""],["pageTitle","Journal Tag Form",3,"hasMainWrapperPadding"],["label","Submit",3,"onClick"],["styleClass","rounded-2"],[1,"d-flex","flex-column","gap-2",3,"formGroup"],[1,"row"],[1,"col-6"],[1,"row","row-gap-2"],[1,"col-10"],[1,"d-flex","flex-column","h-100"],["for",""],[1,"d-flex","h-100","align-items-center","gap-3"],[1,"d-flex","justify-content-center","gap-2"],["formControlName","typeID","inputId","typeID0","name","typeID",3,"value"],["for","typeID0",1,"m-0"],["formControlName","typeID","inputId","typeID1","name","typeID",3,"value"],["for","typeID1",1,"m-0"],[1,"my-2"],[1,"d-flex","flex-column"],["formControlName","name","pInputText","","size","small","type","text",2,"font-size","14px",3,"ngClass"],["cols","30","formControlName","description","pSize","large","pTextarea","","rows","2",2,"font-size","14px",3,"autoResize"],[1,"invalid-feedback","text-danger","d-block"]],template:function(i,p){i&1&&(n(0,"app-main-panel",2),F(1,Z,2,0,"ng-template",null,0,y)(3,te,30,8,"ng-template",null,1,y),o()),i&2&&a("hasMainWrapperPadding",!0)},dependencies:[Q,A,W,q,R,z,G,V,P,K,O,M,H,Y],encapsulation:2})}}return t})();export{ye as JournalTagFormComponent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{x as A}from"./chunk-
|
|
1
|
+
import{x as A}from"./chunk-ISLNIBSF.js";import{Aa as h,Cb as p,Ja as R,_ as y,_c as v,ba as N,da as g,qa as I,ta as C,wa as m,xb as T,za as K}from"./chunk-T6YHDD6J.js";import{a,b as l}from"./chunk-PRARYYF3.js";var ae=(()=>{class n{transform(e,o=50,r=!1,s="..."){if(!e||typeof e!="string")return"";if(e.length<=o)return e;let i=e.substring(0,o);if(r){let c=i.lastIndexOf(" ");c>0&&(i=i.substring(0,c))}return i+s}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275pipe=T({name:"truncate",type:n,pure:!0})}}return n})();var _=Symbol("DEEP_SIGNAL");function L(n){return new Proxy(n,{has(t,e){return!!this.get(t,e,void 0)},get(t,e){let o=h(t);return!Y(o)||!(e in o)?(p(t[e])&&t[e][_]&&delete t[e],t[e]):(p(t[e])||(Object.defineProperty(t,e,{value:v(()=>t()[e]),configurable:!0}),t[e][_]=!0),L(t[e]))}})}var G=[WeakSet,WeakMap,Promise,Date,Error,RegExp,ArrayBuffer,DataView,Function];function Y(n){if(n===null||typeof n!="object"||Z(n))return!1;let t=Object.getPrototypeOf(n);if(t===Object.prototype)return!0;for(;t&&t!==Object.prototype;){if(G.includes(t.constructor))return!1;t=Object.getPrototypeOf(t)}return t===Object.prototype}function Z(n){return typeof n?.[Symbol.iterator]=="function"}var Q=new WeakMap,f=Symbol("STATE_SOURCE");function E(n,...t){let e=h(()=>w(n)),o=t.reduce((i,c)=>a(a({},i),typeof c=="function"?c(i):c),e),r=n[f],s=Reflect.ownKeys(n[f]);for(let i of Reflect.ownKeys(o))if(s.includes(i)){let c=i;e[c]!==o[c]&&r[c].set(o[c])}te(n)}function w(n){let t=n[f];return Reflect.ownKeys(n[f]).reduce((e,o)=>{let r=t[o]();return l(a({},e),{[o]:r})},{})}function ee(n){return Q.get(n[f])||[]}function te(n){let t=ee(n);for(let e of t){let o=h(()=>w(n));e(o)}}function U(...n){let t=[...n],e=typeof t[0]=="function"?{}:t.shift(),o=t;return(()=>{class s{constructor(){let c=o.reduce((S,H)=>H(S),ne()),{stateSignals:u,props:d,methods:D,hooks:J}=c,k=a(a(a({},u),d),D);this[f]=c[f];for(let S of Reflect.ownKeys(k))this[S]=k[S];let{onInit:$,onDestroy:O}=J;$&&$(),O&&g(I).onDestroy(O)}static \u0275fac=function(u){return new(u||s)};static \u0275prov=y({token:s,factory:s.\u0275fac,providedIn:e.providedIn||null})}return s})()}function ne(){return{[f]:{},stateSignals:{},props:{},methods:{},hooks:{}}}function P(...n){let t=typeof n[0]=="function"?n:n.slice(1);return e=>t.reduce((o,r)=>r(o),e)}function V(n){return t=>{let e=n(a(a(a({[f]:t[f]},t.stateSignals),t.props),t.methods));return l(a({},t),{props:a(a({},t.props),e)})}}function oe(n){return V(t=>{let e=n(t);return Reflect.ownKeys(e).reduce((r,s)=>{let i=e[s];return l(a({},r),{[s]:p(i)?i:v(i)})},{})})}function z(n){return t=>{let e=a(a(a({[f]:t[f]},t.stateSignals),t.props),t.methods),o=typeof n=="function"?n(e):n,r=(s,i)=>i?()=>{s&&s(),i(e)}:s;return l(a({},t),{hooks:{onInit:r(t.hooks.onInit,o.onInit),onDestroy:r(t.hooks.onDestroy,o.onDestroy)}})}}function b(n){return t=>{let e=n(a(a(a({[f]:t[f]},t.stateSignals),t.props),t.methods));return l(a({},t),{methods:a(a({},t.methods),e)})}}function M(n){return t=>{let e=typeof n=="function"?n():n,o=Reflect.ownKeys(e),r=t[f],s={};for(let i of o)r[i]=m(e[i]),s[i]=L(r[i]);return l(a({},t),{stateSignals:a(a({},t.stateSignals),s)})}}var Ie=Symbol("DEVTOOLS_FEATURE");var re=new N("ReduxDevtoolsConfig"),ie=(()=>{class n{#e=m({});get stores(){return this.#e()}#n;#o=K(()=>{if(this.#n===void 0)throw new Error("no callback function defined");let e=this.#e(),o=Object.entries(e).reduce((r,[s,i])=>l(a({},r),{[s]:w(i)}),{});this.#n(o)});track(e,o){this.#e.update(r=>l(a({},r),{[e]:o}))}onChange(e){this.#n=e}removeStore(e){this.#e.update(o=>Object.entries(o).reduce((r,[s,i])=>(s!==e&&(r[s]=i),r),{}))}notifyRenamedStore(e){this.#e()[e]&&this.#e.update(o=>a({},o))}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),j=new Set,W={send:()=>{}},B=(()=>{class n{#e={};#n=A(g(R));#o=[];#r=a({name:"NgRx SignalStore"},g(re,{optional:!0}));#t={};#i=1;#s=g(C).runOutsideAngular(()=>this.#n&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__.connect(this.#r):W);constructor(){this.#n}ngOnDestroy(){j.clear()}syncToDevTools(e){let o=Object.entries(e).reduce((i,[c,u])=>{let{options:d,name:D}=this.#e[c];return i[D]=d.map(u),i},{});this.#t=a(a({},this.#t),o);let r=Array.from(j),s=r.length?r.join(", "):"Store Update";j.clear(),this.#s.send({type:s},this.#t)}getNextId(){return String(this.#i++)}addStore(e,o,r,s){let i=o,c=Object.values(this.#e).map(d=>d.name);if(c.includes(i)&&!s.indexNames)throw new Error(`An instance of the store ${i} already exists. Enable automatic indexing via withDevTools('${i}', { indexNames: true }), or rename it upon instantiation.`);for(let d=1;c.includes(i);d++)i=`${o}-${d}`;this.#e[e]={name:i,options:s};let u=s.tracker;this.#o.includes(u)||this.#o.push(u),u.onChange(d=>this.syncToDevTools(d)),u.track(e,r)}removeStore(e){let o=this.#e[e].name;this.#e=Object.entries(this.#e).reduce((r,[s,i])=>(s!==e&&(r[s]=i),r),{}),this.#t=Object.entries(this.#t).reduce((r,[s,i])=>(s!==o&&(r[s]=i),r),{});for(let r of this.#o)r.removeStore(e)}renameStore(e,o){let r=this.#e[e];if(!r)return;let s=r.name;if(s===o)return;if(Object.entries(this.#e).filter(([c])=>c!==e).map(([,c])=>c.name).includes(o))throw new Error(`NgRx Toolkit/DevTools: cannot rename from ${s} to ${o}. ${o} is already assigned to another SignalStore instance.`);this.#e=Object.entries(this.#e).reduce((c,[u,d])=>(u===e?c[u]=l(a({},d),{name:o}):c[u]=d,c),{}),this.#t=Object.entries(this.#t).reduce((c,[u,d])=>(u!==s&&(c[u]=d),c),{}),this.#o.forEach(c=>c.notifyRenamedStore(e))}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),se="___renameDevtoolsName",x="___uniqueDevtoolsId";function q(n,...t){return P(b(()=>{let e=g(B),o=e.getNextId();return{[se]:r=>{e.renameStore(o,r)},[x]:()=>o}}),z(e=>{let o=g(B),r=String(e[x]());return{onInit(){let s=String(e[x]()),i={indexNames:!t.some(c=>c.indexNames===!1),map:t.find(c=>c.map)?.map??(c=>c),tracker:g(t.find(c=>c.tracker)?.tracker||ie)};o.addStore(s,n,e,i)},onDestroy(){o.removeStore(r)}}}))}var Ke=Symbol("SYNC_STATUS");var Ee=P(M({}));var ce={themeOptions:{theme:"light",dir:"ltr",layout:"vertical",sidebartype:"full",boxed:"boxed",colorTheme:"Blue_Theme",cardType:"shadow"}},$e=U({providedIn:"root"},M(ce),q("LayoutThemeStore"),b(n=>({updateSidebarType(){E(n,t=>{switch(t.themeOptions.sidebartype){case"full":return l(a({},t),{themeOptions:l(a({},t.themeOptions),{sidebartype:"mini-sidebar"})});case"mini-sidebar":return l(a({},t),{themeOptions:l(a({},t.themeOptions),{sidebartype:"full"})});default:return t}})}})));export{ae as a,E as b,U as c,oe as d,z as e,b as f,M as g,q as h,$e as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Yb as n,ub as o}from"./chunk-
|
|
1
|
+
import{Yb as n,ub as o}from"./chunk-T6YHDD6J.js";import"./chunk-PRARYYF3.js";var c=(()=>{class t{static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275cmp=o({type:t,selectors:[["app-timeout"]],decls:1,vars:0,consts:[["src","assets/images/background/timeout.svg","alt","timeout"]],template:function(e,s){e&1&&n(0,"img",0)},styles:["[_nghost-%COMP%]{display:block}img[_ngcontent-%COMP%]{height:100vh;width:100%}"],changeDetection:0})}}return t})();export{c as TimeoutComponent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as C}from"./chunk-
|
|
1
|
+
import{r as C}from"./chunk-U2ZZPRP6.js";import{Da as i,Yb as s,ma as r,ub as c,zb as a}from"./chunk-T6YHDD6J.js";var p=["data-p-icon","chevron-right"],f=(()=>{class e extends C{static \u0275fac=(()=>{let t;return function(o){return(t||(t=i(e)))(o||e)}})();static \u0275cmp=c({type:e,selectors:[["","data-p-icon","chevron-right"]],features:[a],attrs:p,decls:1,vars:0,consts:[["d","M4.38708 13C4.28408 13.0005 4.18203 12.9804 4.08691 12.9409C3.99178 12.9014 3.9055 12.8433 3.83313 12.7701C3.68634 12.6231 3.60388 12.4238 3.60388 12.2161C3.60388 12.0084 3.68634 11.8091 3.83313 11.6622L8.50507 6.99022L3.83313 2.31827C3.69467 2.16968 3.61928 1.97313 3.62287 1.77005C3.62645 1.56698 3.70872 1.37322 3.85234 1.22959C3.99596 1.08597 4.18972 1.00371 4.3928 1.00012C4.59588 0.996539 4.79242 1.07192 4.94102 1.21039L10.1669 6.43628C10.3137 6.58325 10.3962 6.78249 10.3962 6.99022C10.3962 7.19795 10.3137 7.39718 10.1669 7.54416L4.94102 12.7701C4.86865 12.8433 4.78237 12.9014 4.68724 12.9409C4.59212 12.9804 4.49007 13.0005 4.38708 13Z","fill","currentColor"]],template:function(n,o){n&1&&(r(),s(0,"path",0))},encapsulation:2})}return e})();export{f as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as U}from"./chunk-G47TGGKM.js";import"./chunk-OS646RNF.js";import{a as W}from"./chunk-7R4NAOW3.js";import"./chunk-5TAKHYWV.js";import{b as K,i as Q}from"./chunk-5NZPHAOL.js";import"./chunk-Y54QBXKN.js";import"./chunk-X2F5ZNTW.js";import"./chunk-ZULPRZ24.js";import"./chunk-BA72IEO2.js";import"./chunk-UEJR6B7A.js";import"./chunk-YYMD4TUO.js";import"./chunk-R46SVYN4.js";import"./chunk-2LI4CEOF.js";import"./chunk-RAFKRDM2.js";import"./chunk-RUYPEXNQ.js";import"./chunk-4D6KKSM5.js";import"./chunk-BEEH5PAA.js";import{h as A}from"./chunk-2LLPIDXP.js";import"./chunk-MTPMCC6U.js";import{a as G}from"./chunk-RO474VQ2.js";import"./chunk-JVSOCU4S.js";import"./chunk-E4FUCIJZ.js";import"./chunk-3BPX4XM7.js";import"./chunk-U2ZZPRP6.js";import{a as O}from"./chunk-7C7GSAC3.js";import"./chunk-OQDKL2MG.js";import{e as H}from"./chunk-7NZRUZLK.js";import{a as V}from"./chunk-WDFE7CAE.js";import"./chunk-DOSAQI5P.js";import"./chunk-MKCZKYSF.js";import"./chunk-IOMTH2KS.js";import{i as L,q as B,r as F,t as $}from"./chunk-ISLNIBSF.js";import"./chunk-CJPLD6EO.js";import{Ab as S,Jc as N,Kc as J,Lc as z,Mb as g,Nb as x,Sb as c,Sc as s,T as w,Tb as i,Tc as R,Ub as n,Uc as d,V as E,Vb as C,Wc as u,_ as D,_c as y,ac as P,da as _,db as l,fc as T,gc as p,ka as M,la as q,ub as I,vc as a,wa as f,wc as m,xc as v,zc as k}from"./chunk-T6YHDD6J.js";import{a as b,b as h}from"./chunk-PRARYYF3.js";var X=(()=>{class t{constructor(){this.httpService=_(V)}getJournalJobList(e={}){let o={params:{page:e.page,pageSize:e.pageSize}};return this.httpService.get(void 0,"api/JournalSquash/GetListSquashJob",o)}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var ee=()=>({"min-width":"50rem"}),te=t=>["/pages/tools/journal-squash-job-detail",t],ne=(t,r)=>({"bg-success":t,"bg-danger":r}),ie=t=>["/pages/journal/journal-entry/",t];function ae(t,r){t&1&&(i(0,"tr")(1,"th"),a(2,"Job ID"),n(),i(3,"th"),a(4,"Date"),n(),i(5,"th"),a(6,"Message"),n(),i(7,"th"),a(8,"Duration"),n(),i(9,"th"),a(10,"Creator"),n()())}function oe(t,r){if(t&1&&(i(0,"div",12)(1,"a",17),a(2),n()()),t&2){let e=p().$implicit;l(),c("routerLink",J(2,ie,e.id)),l(),m(e.journalNumber)}}function le(t,r){if(t&1&&(i(0,"span"),a(1),s(2,"number"),n()),t&2){let e=p().$implicit,o=p(3);l(),v("",d(2,1,o.dayjsService.from(o.now()).diff(e.created,"second"),"1.1-1")," s")}}function re(t,r){if(t&1&&(i(0,"span"),a(1),s(2,"number"),n()),t&2){let e=p().$implicit;l(),v("",d(2,1,e.duration/1e3,"1.1-1")," s")}}function pe(t,r){if(t&1&&(i(0,"tr")(1,"td")(2,"a",8),a(3),n()(),i(4,"td")(5,"div",9)(6,"span"),a(7),s(8,"date"),n(),i(9,"span"),a(10,"-"),n(),i(11,"span"),a(12),s(13,"date"),n()()(),i(14,"td")(15,"div",10)(16,"div",11)(17,"span"),a(18),s(19,"number"),n(),i(20,"span"),a(21,"Journal"),n()(),g(22,oe,3,4,"div",12),n()(),i(23,"td",13)(24,"div",14),g(25,le,3,4,"span")(26,re,3,4,"span"),C(27,"p-chip",15),n()(),i(28,"td")(29,"div",16)(30,"span"),a(31),n(),i(32,"span"),a(33),s(34,"date"),n()()()()),t&2){let e=r.$implicit;l(2),c("routerLink",J(22,te,e.id)),l(),m(e.id),l(4),m(d(8,11,e.from,"d")),l(5),m(d(13,14,e.to,"d MMM y")),l(6),m(R(19,17,e.journalCount)),l(4),x(e.journalNumber?22:-1),l(3),x(e.status!==2?25:26),l(2),c("label",e.statusString)("ngClass",z(24,ne,e.status===2,e.status!==2)),l(4),m(e.creator),l(2),m(d(34,19,e.created,"d MMM y hh:mm"))}}function me(t,r){if(t&1&&a(0),t&2){let e=p(3);k(" Showing ",e.first()," to ",e.end()," of ",e.journalJobData().count," entries ")}}function se(t,r){t&1&&(i(0,"tr")(1,"td",18),C(2,"span"),a(3," No squash jobs found. "),n()())}function ce(t,r){if(t&1){let e=P();i(0,"p-table",7),T("onPage",function(j){M(e);let Y=p(2);return q(Y.onPageHandler(j))}),S(1,ae,11,0,"ng-template",null,1,u)(3,pe,35,27,"ng-template",null,2,u)(5,me,1,3,"ng-template",null,3,u)(7,se,4,0,"ng-template",null,4,u),n()}if(t&2){let e=p(2);c("lazy",!0)("paginator",!0)("rows",e.params().pageSize)("tableStyle",N(6,ee))("totalRecords",e.journalJobData().count)("value",e.journalJobData().data)}}function de(t,r){if(t&1&&(i(0,"p-panel"),g(1,ce,9,7,"p-table",6),n()),t&2){let e=p();l(),x(e.journalJobData()?1:-1)}}var Ie=(()=>{class t{constructor(){this.journalJobData=f(null),this.inf=1/0,this.count=f(-1),this.params=f({page:1,pageSize:20}),this.first=y(()=>(this.params().page-1)*this.params().pageSize+1),this.end=y(()=>this.first()+this.params().pageSize-1),this.dayjsService=_(U),this.now=f(new Date),this.journalJobService=_(X),O(this.params).pipe(w(e=>this.journalJobService.getJournalJobList(e)),E(e=>this.journalJobData.set(e))).subscribe()}onPageHandler(e){console.log(e);let o=e.first/e.rows;this.onPageChange(o+1)}onPageChange(e){this.params.update(o=>h(b({},o),{page:e}))}onPageSizeChange(e){this.params.update(o=>h(b({},o),{pageSize:e,page:1}))}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275cmp=I({type:t,selectors:[["app-squash-job"]],decls:3,vars:1,consts:[["content",""],["header",""],["body",""],["paginatorleft",""],["emptymessage",""],["pageTitle","Journal Squash Job",3,"scrollable"],["styleClass","d-flex flex-column justify-content-between h-100",3,"lazy","paginator","rows","tableStyle","totalRecords","value"],["styleClass","d-flex flex-column justify-content-between h-100",3,"onPage","lazy","paginator","rows","tableStyle","totalRecords","value"],["target","_blank",1,"link-primary","fs-2",3,"routerLink"],[1,"d-flex","align-items-center","gap-2","fw-normal","fs-2"],[1,"d-flex","gap-2","flex-column","fw-normal","fs-2"],[1,"d-flex","align-items-center","gap-2"],[1,"d-flex"],[1,"fw-normal"],[1,"d-flex","flex-column","align-items-start","fs-2"],[1,"py-1","px-2","text-white",3,"label","ngClass"],[1,"d-flex","flex-column","fw-normal","fs-2"],["target","_blank",1,"link","link-primary",3,"routerLink"],["colspan","6"]],template:function(o,j){o&1&&(i(0,"app-main-panel",5),S(1,de,2,1,"ng-template",null,0,u),n()),o&2&&c("scrollable",!0)},dependencies:[A,$,L,G,Q,K,H,W,F,B],encapsulation:2})}}return t})();export{Ie as SquashJobComponent};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as y,b as K}from"./chunk-IUZTFGKU.js";import"./chunk-G47TGGKM.js";import"./chunk-OS646RNF.js";import{m as j}from"./chunk-SPDFU2FM.js";import"./chunk-IEOE2XJ7.js";import{a as R,b as D}from"./chunk-OVMM5CPY.js";import"./chunk-KG3OLRKU.js";import{h as J}from"./chunk-2LLPIDXP.js";import"./chunk-MTPMCC6U.js";import{a as H,b as L}from"./chunk-RO474VQ2.js";import"./chunk-E4FUCIJZ.js";import"./chunk-3BPX4XM7.js";import{H as N,I as G,J as q,K as z}from"./chunk-U2ZZPRP6.js";import"./chunk-7C7GSAC3.js";import"./chunk-OQDKL2MG.js";import"./chunk-WDFE7CAE.js";import{a as V}from"./chunk-DOSAQI5P.js";import"./chunk-MKCZKYSF.js";import"./chunk-IOMTH2KS.js";import{o as E,t as I}from"./chunk-ISLNIBSF.js";import"./chunk-CJPLD6EO.js";import{Ab as $,Ic as F,Jc as T,Mb as C,Nb as h,R as M,Sb as c,Sc as p,T as k,Tb as o,Tc as s,Ub as n,V as O,Vb as u,Wc as b,ac as x,da as m,db as r,f as A,fc as v,gc as a,ka as g,la as _,ma as B,na as P,s as f,tc as S,ub as w}from"./chunk-T6YHDD6J.js";import"./chunk-PRARYYF3.js";var Q=()=>({height:"calc(100vh - 100px)"});function U(e,d){if(e&1){let t=x();o(0,"p-button",6),v("onClick",function(){g(t);let l=a(2);return _(l.onFormat())}),n()}}function W(e,d){if(e&1){let t=x();o(0,"p-button",7),p(1,"async"),p(2,"async"),v("onClick",function(){g(t);let l=a(2);return _(l.onMigrateOutletAccount())}),n()}if(e&2){let t=a(2);c("disabled",s(1,2,t.countInBooks$)!==0)("pTooltip",s(2,4,t.countInBooks$)!==0?"Books already has entries. Please format before re-migrating.":null)}}function X(e,d){if(e&1&&(o(0,"div",3),C(1,U,1,0,"p-button",4),C(2,W,3,6,"p-button",5),n()),e&2){let t=a();r(),h(t.roleService.permissions().migrate.delete?1:-1),r(),h(t.roleService.permissions().migrate.create?2:-1)}}function Y(e,d){if(e&1&&(o(0,"p-scroll-panel")(1,"p-panel")(2,"div",8),u(3,"app-migration-cards",9),p(4,"async"),B(),o(5,"svg",10),u(6,"path",11),n(),P(),u(7,"app-migration-cards",12),p(8,"async"),n()()()),e&2){let t=a();S(T(12,Q)),r(),S(T(13,Q)),r(2),c("migrationCount",s(4,8,t.countInPOS$))("migrationTitle",t.pageTitle),r(4),c("migrationCount",s(8,10,t.countInBooks$))("migrationTitle",t.pageTitle)}}var ht=(()=>{class e{constructor(){this.migrateService=m(y),this.toastr=m(V),this.refresh$=new A(void 0),this.pageTitle="Outlet Account",this.roleService=m(j)}ngOnInit(){let t=this.refresh$.pipe(k(()=>this.migrateService.getOutletAccountCount()),O(i=>console.log("API response:",i)),M(1));this.countInPOS$=t.pipe(f(i=>Number(i.pos))),this.countInBooks$=t.pipe(f(i=>Number(i.books)))}onMigrateOutletAccount(){this.migrateService.migrateOutletAccount().subscribe(t=>{this.refresh$.next(),this.toastr.success(t.message,"Migration Successful")})}onFormat(){confirm("Are you sure you want to format?")&&this.migrateService.formatOutletAccount().subscribe(t=>{this.refresh$.next(),this.toastr.success(t.message,"Format Successful")})}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=w({type:e,selectors:[["app-outlet-account"]],features:[F([y])],decls:5,vars:1,consts:[["actionButton",""],["content",""],[3,"pageTitle"],[1,"d-flex","gap-2"],["label","Format","severity","danger"],["label","Create","tooltipPosition","left",3,"disabled","pTooltip"],["label","Format","severity","danger",3,"onClick"],["label","Create","tooltipPosition","left",3,"onClick","disabled","pTooltip"],[1,"flex","gap-30","flex-wrap",2,"display","flex","justify-content","center","align-items","center","gap","1rem","margin-top","40px"],["migrationPlace","Accounting",3,"migrationCount","migrationTitle"],["width","40","height","40","viewBox","0 0 24 24","fill","none"],["d","M8 5l8 7-8 7","stroke","#007bff","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["migrationPlace","Books",3,"migrationCount","migrationTitle"]],template:function(i,l){i&1&&(o(0,"app-main-panel",2),$(1,X,3,2,"ng-template",null,0,b)(3,Y,9,14,"ng-template",null,1,b),n()),i&2&&c("pageTitle",l.pageTitle)},dependencies:[J,I,G,N,D,R,L,H,z,q,K,E],encapsulation:2})}}return e})();export{ht as OutletAccountComponent};
|