dealposbooks 5.45.0 → 5.45.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/{chunk-GIQOPGQF.js → chunk-34AG6ZRL.js} +1 -1
- package/{chunk-27TIOMYM.js → chunk-34WPW5D2.js} +1 -1
- package/{chunk-3FDVZDYS.js → chunk-3E76NHYR.js} +1 -1
- package/{chunk-EG4A3G2F.js → chunk-3O7PYVJB.js} +1 -1
- package/{chunk-6HX55BLY.js → chunk-3YP5GGRN.js} +1 -1
- package/{chunk-6D4IGQVY.js → chunk-4EASZOWM.js} +1 -1
- package/{chunk-4ETCCLMI.js → chunk-4LUDLDRM.js} +1 -1
- package/{chunk-PPJQN2WS.js → chunk-4OROB43Y.js} +1 -1
- package/{chunk-HPITHIZA.js → chunk-4SJCTDC5.js} +1 -1
- package/{chunk-4PUT2IIE.js → chunk-55PBPTNF.js} +1 -1
- package/{chunk-GX5CQNX3.js → chunk-5UQN26GG.js} +1 -1
- package/{chunk-O2QIO42B.js → chunk-7EJY6C3Q.js} +1 -1
- package/{chunk-Y6YUTTA4.js → chunk-7X6D62QP.js} +1 -1
- package/{chunk-T6B4BOOB.js → chunk-ADIJSTCG.js} +1 -1
- package/{chunk-5EJXAYSX.js → chunk-AYBSWMQT.js} +1 -1
- package/{chunk-EERQ53V7.js → chunk-B5ICLX2M.js} +1 -1
- package/{chunk-K5U6AQ75.js → chunk-B6BFJFA6.js} +1 -1
- package/{chunk-U7BSQJHQ.js → chunk-BCRBHPPF.js} +1 -1
- package/{chunk-FPI32FQH.js → chunk-CBAJ6F64.js} +1 -1
- package/{chunk-66D4GMNG.js → chunk-EK3VPTHC.js} +1 -1
- package/{chunk-KW4A377H.js → chunk-F4ZNQXWG.js} +1 -1
- package/{chunk-7XL26PM3.js → chunk-F5QD3IJY.js} +1 -1
- package/{chunk-N75VYDTF.js → chunk-F7JURLD3.js} +1 -1
- package/chunk-FBAUSUGQ.js +202 -0
- package/{chunk-DX2A6LIU.js → chunk-GBBQUUCQ.js} +1 -1
- package/{chunk-OTO7ELZ2.js → chunk-GVDMC4IX.js} +1 -1
- package/{chunk-ZZCT6WNV.js → chunk-IWHPWZIL.js} +1 -1
- package/{chunk-LSK6C72D.js → chunk-IYWJ4NQV.js} +1 -1
- package/{chunk-DLIPUA4K.js → chunk-KQEKK7SJ.js} +1 -1
- package/{chunk-G2DQX336.js → chunk-KV6EPP4J.js} +1 -1
- package/{chunk-R6TARUG2.js → chunk-KYNEAC2L.js} +1 -1
- package/{chunk-CSDQYXOM.js → chunk-L2MQOC56.js} +1 -1
- package/{chunk-OTMBGB3T.js → chunk-M675R5IO.js} +1 -1
- package/{chunk-VXTZNZMH.js → chunk-MAZVUNNB.js} +1 -1
- package/{chunk-IYBQ7NLP.js → chunk-NKCNDLCN.js} +1 -1
- package/{chunk-35MXFTDN.js → chunk-NVB5C5WN.js} +1 -1
- package/{chunk-BJWQQABR.js → chunk-OVSN4E2D.js} +2 -2
- package/{chunk-M6LSMNSQ.js → chunk-PPSWJ3KZ.js} +1 -1
- package/chunk-PUGHX4BL.js +1 -0
- package/{chunk-YOMVOFLB.js → chunk-Q5K47PTK.js} +1 -1
- package/{chunk-S5O44AS7.js → chunk-QMVQ67BR.js} +1 -1
- package/{chunk-ITBP232X.js → chunk-QR5KD37B.js} +2 -2
- package/{chunk-T7VJORKB.js → chunk-RIEXBPQ3.js} +1 -1
- package/{chunk-7FFVGWUP.js → chunk-ULJ2Y7SG.js} +1 -1
- package/{chunk-W5ER7276.js → chunk-V4XZTIO4.js} +1 -1
- package/{chunk-4MZNOMUN.js → chunk-VCNN5RVA.js} +1 -1
- package/{chunk-ZRCCGUC4.js → chunk-VW47RJKF.js} +1 -1
- package/{chunk-3OMEVXSG.js → chunk-WQLQI7VC.js} +1 -1
- package/{chunk-PJDNYCLD.js → chunk-X7UDCQV2.js} +1 -1
- package/{chunk-IFQIZ5KJ.js → chunk-XYDMR5UH.js} +1 -1
- package/{chunk-H3BFDSSJ.js → chunk-YN2HKWAW.js} +1 -1
- package/{chunk-QVIFRW2H.js → chunk-ZFZPBYHM.js} +2 -2
- package/index.html +2 -2
- package/{main-SLMY35VH.js → main-VBAUVWYV.js} +1 -1
- package/package.json +1 -1
- package/chunk-AUYM5P42.js +0 -202
- package/chunk-OBZRC7DX.js +0 -1
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"dealposbooks","version":"5.45.
|
|
1
|
+
{"name":"dealposbooks","version":"5.45.1"}
|
package/chunk-AUYM5P42.js
DELETED
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
import{a as te,b as yt}from"./chunk-GIQOPGQF.js";import{f as Ct}from"./chunk-XD7VHCRC.js";import"./chunk-NCDT6JPP.js";import{a as xt}from"./chunk-G4XX7EU2.js";import{a as bt}from"./chunk-XKI7WLHE.js";import{a as wt}from"./chunk-N4JIPI53.js";import"./chunk-7DYACF4D.js";import"./chunk-NZN6QJR3.js";import{a as rt}from"./chunk-5CZNOXPC.js";import"./chunk-IGWIRCAS.js";import{a as Y,b as ee}from"./chunk-3A4BFUGD.js";import{d as _t,i as ft,j as ht,k as gt}from"./chunk-EL5BUFMO.js";import"./chunk-EQ4PLHI4.js";import"./chunk-H7Q35Y7G.js";import"./chunk-R7N6BWL5.js";import"./chunk-2AAVNIG7.js";import{a as dt,b as ut}from"./chunk-LFZCMZAP.js";import"./chunk-6A2KUPOG.js";import"./chunk-36OX4S7M.js";import"./chunk-Q5CVMJZC.js";import"./chunk-3GGXPPQT.js";import"./chunk-MFK5RQPJ.js";import"./chunk-6GN3MGBY.js";import"./chunk-Q24GCSGD.js";import{h as mt}from"./chunk-H3BFDSSJ.js";import{a as We}from"./chunk-VGNJD35F.js";import{a as it,b as nt}from"./chunk-2XUSZCQL.js";import{a as E,b as ot,c as at,d as st,e as lt,f as pt,g as ct}from"./chunk-YV2QJ63P.js";import"./chunk-ARH3WEEF.js";import{a as Je,f as A,k as Ke,m as Xe,o as Ye,s as et,w as X,x as tt}from"./chunk-H6HNANYB.js";import"./chunk-2D2YD753.js";import{A as ze,C as je,K as qe,La as $e,Ma as K,Ua as Ze,c as W,e as Oe,f as Ae,l as Be,ma as Ge,o as He,u as Ne,x as Qe,z as _e}from"./chunk-OIBDX2CA.js";import{b as Pe,d as Le,e as Re}from"./chunk-AOOG6YOT.js";import"./chunk-M6LSMNSQ.js";import"./chunk-2MKKFLNJ.js";import{h as $,k as Z,m as Ve,s as J}from"./chunk-VZ5CMS5O.js";import{c as Me,d as pe,f as ce,h as me,i as de,k as ue}from"./chunk-F2X3VGZZ.js";import{$b as k,$c as Fe,Aa as N,Bb as z,Cc as G,Db as u,Ec as S,Fc as De,Ha as L,Jc as Ee,Kb as F,Lb as p,Ob as xe,Pb as oe,Qb as Ce,Rb as R,Rc as x,Tb as M,Ub as O,Vb as l,Wb as s,Xb as y,Y as H,Yb as ye,Zb as ve,_ as ne,_b as U,_c as D,bd as P,c as B,ca as ge,cd as Ue,da as we,ec as b,fc as c,gc as Te,hb as a,hc as ke,ia as C,kc as V,lc as j,mc as v,nc as T,qa as _,qc as Ie,ra as f,rc as d,sc as I,tc as q,ua as re,vc as Se,wc as ae,xb as Q,xc as se,yb as be,yc as le}from"./chunk-NMCKMUY4.js";import{a as h,b as g}from"./chunk-YQFG5XE2.js";var kt={data:[],count:0,filter:{pagination:1,pageSize:10,groupID:null,text:""},meta:{filter:{pagination:1,pageSize:10,groupID:null,text:""},options:{groups:[]}},metaForm:{form:{id:"",groupID:"",accessTypeID:1,listJournalTagID:[]},options:{users:[],groups:[],accessTypes:[],journalTags:[]}}},fe=ot(ct("UserStore"),pt(kt),at(t=>({first:P(()=>(t.filter().pagination-1)*t.filter().pageSize+1),end:P(()=>Math.min(t.filter().pagination*t.filter().pageSize,t.count())),hasCheckedRows:P(()=>t.data().some(o=>o.checked)),checkedData:P(()=>t.data().filter(o=>o.checked).map(o=>o.userID)),selectedID:P(()=>t.data().find(o=>o.checked)?.userID||null)})),lt(t=>{let o=C(te);return{setFilter(n){E(t,i=>g(h({},i),{filter:n}))},onRowSelect(n){E(t,i=>{let r=i.data.map(m=>m.userID===n.userID?g(h({},m),{checked:!0}):m);return g(h({},i),{data:r})})},onRowUnselect(n){E(t,i=>{let r=i.data.map(m=>m.userID===n.userID?g(h({},m),{checked:!1}):m);return g(h({},i),{data:r})})},onHeaderCheckboxToggle(n){let i=localStorage.getItem("AUTH_USERNAME");E(t,r=>{let m=r.data.map(w=>w.userName!==i?g(h({},w),{checked:n}):g(h({},w),{checked:!1}));return g(h({},r),{data:m})})},getUserLoader:Y(B(H(()=>o.getUserLoaderList().pipe(ee({next:n=>{E(t,i=>g(h({},i),{meta:n}))},error:n=>{console.error("Failed to fetch user loader list:",n)}}))))),getUserFormMeta:Y(B(H(n=>o.getUserFormMeta(n).pipe(ee({next:i=>{E(t,r=>g(h({},r),{metaForm:i}))},error:i=>{console.error("Failed to fetch user form meta:",i)}}))))),getUsers:Y(B(H(n=>o.getUsers(n).pipe(ee({next:i=>{E(t,r=>g(h({},r),{data:i.data.map(m=>g(h({},m),{checked:!1})),count:i.count}))},error:i=>{console.error("Failed to fetch users:",i)}})))))}}),st({onInit:t=>{t.getUserLoader(),t.getUsers(t.filter)}}));var Dt=["header"],Et=["footer"],Ft=["content"],Ut=["closeicon"],Vt=["headless"],Pt=["maskRef"],Lt=["container"],Rt=["closeButton"],Mt=["*"],Ot=(t,o,e,n,i,r)=>({"p-drawer":!0,"p-drawer-active":t,"p-drawer-left":o,"p-drawer-right":e,"p-drawer-top":n,"p-drawer-bottom":i,"p-drawer-full":r}),At=(t,o)=>({transform:t,transition:o}),Bt=t=>({value:"visible",params:t});function Ht(t,o){t&1&&U(0)}function Nt(t,o){if(t&1&&u(0,Ht,1,0,"ng-container",4),t&2){let e=c(2);p("ngTemplateOutlet",e.headlessTemplate||e._headlessTemplate)}}function Qt(t,o){t&1&&U(0)}function zt(t,o){if(t&1&&(l(0,"div"),d(1),s()),t&2){let e=c(3);oe(e.cx("title")),a(),I(e.header)}}function jt(t,o){t&1&&y(0,"TimesIcon"),t&2&&F("data-pc-section","closeicon")}function qt(t,o){}function Gt(t,o){t&1&&u(0,qt,0,0,"ng-template")}function $t(t,o){if(t&1&&u(0,jt,1,1,"TimesIcon",8)(1,Gt,1,0,null,4),t&2){let e=c(4);p("ngIf",!e.closeIconTemplate&&!e._closeIconTemplate),a(),p("ngTemplateOutlet",e.closeIconTemplate||e._closeIconTemplate)}}function Zt(t,o){if(t&1){let e=k();l(0,"p-button",9),b("onClick",function(i){_(e);let r=c(3);return f(r.close(i))})("keydown.enter",function(i){_(e);let r=c(3);return f(r.close(i))}),u(1,$t,2,2,"ng-template",null,1,x),s()}if(t&2){let e=c(3);p("ngClass",e.cx("closeButton"))("buttonProps",e.closeButtonProps)("ariaLabel",e.ariaCloseLabel),F("data-pc-section","closebutton")("data-pc-group-section","iconcontainer")}}function Jt(t,o){t&1&&U(0)}function Wt(t,o){t&1&&U(0)}function Kt(t,o){if(t&1&&(ye(0),l(1,"div",5),u(2,Wt,1,0,"ng-container",4),s(),ve()),t&2){let e=c(3);a(),p("ngClass",e.cx("footer")),F("data-pc-section","footer"),a(),p("ngTemplateOutlet",e.footerTemplate||e._footerTemplate)}}function Xt(t,o){if(t&1&&(l(0,"div",5),u(1,Qt,1,0,"ng-container",4)(2,zt,2,3,"div",6)(3,Zt,3,5,"p-button",7),s(),l(4,"div",5),ke(5),u(6,Jt,1,0,"ng-container",4),s(),u(7,Kt,3,3,"ng-container",8)),t&2){let e=c(2);p("ngClass",e.cx("header")),F("data-pc-section","header"),a(),p("ngTemplateOutlet",e.headerTemplate||e._headerTemplate),a(),p("ngIf",e.header),a(),p("ngIf",e.showCloseIcon&&e.closable),a(),p("ngClass",e.cx("content")),F("data-pc-section","content"),a(2),p("ngTemplateOutlet",e.contentTemplate||e._contentTemplate),a(),p("ngIf",e.footerTemplate||e._footerTemplate)}}function Yt(t,o){if(t&1){let e=k();l(0,"div",3,0),b("@panelState.start",function(i){_(e);let r=c();return f(r.onAnimationStart(i))})("@panelState.done",function(i){_(e);let r=c();return f(r.onAnimationEnd(i))})("keydown",function(i){_(e);let r=c();return f(r.onKeyDown(i))}),u(2,Nt,1,1,"ng-container")(3,Xt,8,9),s()}if(t&2){let e=c();xe(e.style),oe(e.styleClass),p("ngClass",Ee(9,Ot,e.visible,e.position==="left"&&!e.fullScreen,e.position==="right"&&!e.fullScreen,e.position==="top"&&!e.fullScreen,e.position==="bottom"&&!e.fullScreen,e.fullScreen||e.position==="full"))("@panelState",S(19,Bt,De(16,At,e.transformOptions,e.transitionOptions))),F("data-pc-name","sidebar")("data-pc-section","root"),a(2),Ce(e.headlessTemplate||e._headlessTemplate?2:3)}}var ei=({dt:t})=>`
|
|
2
|
-
.p-drawer {
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
pointer-events: auto;
|
|
6
|
-
transform: translate3d(0px, 0px, 0px);
|
|
7
|
-
position: fixed;
|
|
8
|
-
transition: transform 0.3s;
|
|
9
|
-
background: ${t("drawer.background")};
|
|
10
|
-
color: ${t("drawer.color")};
|
|
11
|
-
border: 1px solid ${t("drawer.border.color")};
|
|
12
|
-
box-shadow: ${t("drawer.shadow")};
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.p-drawer-content {
|
|
16
|
-
overflow-y: auto;
|
|
17
|
-
flex-grow: 1;
|
|
18
|
-
padding: ${t("drawer.content.padding")};
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.p-drawer-header {
|
|
22
|
-
display: flex;
|
|
23
|
-
align-items: center;
|
|
24
|
-
justify-content: space-between;
|
|
25
|
-
flex-shrink: 0;
|
|
26
|
-
padding: ${t("drawer.header.padding")};
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.p-drawer-footer {
|
|
30
|
-
padding: ${t("drawer.header.padding")};
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.p-drawer-title {
|
|
34
|
-
font-weight: ${t("drawer.title.font.weight")};
|
|
35
|
-
font-size: ${t("drawer.title.font.size")};
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.p-drawer-full .p-drawer {
|
|
39
|
-
transition: none;
|
|
40
|
-
transform: none;
|
|
41
|
-
width: 100vw !important;
|
|
42
|
-
height: 100vh !important;
|
|
43
|
-
max-height: 100%;
|
|
44
|
-
top: 0px !important;
|
|
45
|
-
left: 0px !important;
|
|
46
|
-
border-width: 1px;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.p-drawer-left .p-drawer {
|
|
50
|
-
align-self: start;
|
|
51
|
-
width: 20rem;
|
|
52
|
-
height: 100%;
|
|
53
|
-
border-right-width: 1px;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.p-drawer-right .p-drawer {
|
|
57
|
-
align-self: end;
|
|
58
|
-
width: 20rem;
|
|
59
|
-
height: 100%;
|
|
60
|
-
border-left-width: 1px;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.p-drawer-top .p-drawer {
|
|
64
|
-
height: 10rem;
|
|
65
|
-
width: 100%;
|
|
66
|
-
border-bottom-width: 1px;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.p-drawer-bottom .p-drawer {
|
|
70
|
-
height: 10rem;
|
|
71
|
-
width: 100%;
|
|
72
|
-
border-top-width: 1px;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.p-drawer-left .p-drawer-content,
|
|
76
|
-
.p-drawer-right .p-drawer-content,
|
|
77
|
-
.p-drawer-top .p-drawer-content,
|
|
78
|
-
.p-drawer-bottom .p-drawer-content {
|
|
79
|
-
width: 100%;
|
|
80
|
-
height: 100%;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.p-drawer-open {
|
|
84
|
-
display: flex;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.p-drawer-top {
|
|
88
|
-
justify-content: flex-start;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.p-drawer-bottom {
|
|
92
|
-
justify-content: flex-end;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.p-drawer {
|
|
96
|
-
position: fixed;
|
|
97
|
-
transition: transform 0.3s;
|
|
98
|
-
display: flex;
|
|
99
|
-
flex-direction: column;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.p-drawer-content {
|
|
103
|
-
position: relative;
|
|
104
|
-
overflow-y: auto;
|
|
105
|
-
flex-grow: 1;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.p-drawer-header {
|
|
109
|
-
display: flex;
|
|
110
|
-
align-items: center;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.p-drawer-footer {
|
|
114
|
-
margin-top: auto;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.p-drawer-icon {
|
|
118
|
-
display: flex;
|
|
119
|
-
align-items: center;
|
|
120
|
-
justify-content: center;
|
|
121
|
-
margin-left: auto;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.p-drawer-left {
|
|
125
|
-
top: 0;
|
|
126
|
-
left: 0;
|
|
127
|
-
width: 20rem;
|
|
128
|
-
height: 100%;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.p-drawer-right {
|
|
132
|
-
top: 0;
|
|
133
|
-
right: 0;
|
|
134
|
-
width: 20rem;
|
|
135
|
-
height: 100%;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.p-drawer-top {
|
|
139
|
-
top: 0;
|
|
140
|
-
left: 0;
|
|
141
|
-
width: 100%;
|
|
142
|
-
height: 10rem;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.p-drawer-bottom {
|
|
146
|
-
bottom: 0;
|
|
147
|
-
left: 0;
|
|
148
|
-
width: 100%;
|
|
149
|
-
height: 10rem;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.p-drawer-full {
|
|
153
|
-
width: 100%;
|
|
154
|
-
height: 100%;
|
|
155
|
-
top: 0;
|
|
156
|
-
left: 0;
|
|
157
|
-
-webkit-transition: none;
|
|
158
|
-
transition: none;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.p-drawer-mask {
|
|
162
|
-
background-color: rgba(0, 0, 0, 0.4);
|
|
163
|
-
transition-duration: 0.2s;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.p-overlay-mask {
|
|
167
|
-
position: fixed;
|
|
168
|
-
top: 0;
|
|
169
|
-
left: 0;
|
|
170
|
-
width: 100%;
|
|
171
|
-
height: 100%;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.p-overlay-mask:dir(rtl) {
|
|
175
|
-
flex-direction: row-reverse;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.p-overlay-mask-enter {
|
|
179
|
-
animation: p-overlay-mask-enter-animation 150ms forwards;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.p-overlay-mask-leave {
|
|
183
|
-
animation: p-overlay-mask-leave-animation 150ms forwards;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
@keyframes p-overlay-mask-enter-animation {
|
|
187
|
-
from {
|
|
188
|
-
background-color: transparent;
|
|
189
|
-
}
|
|
190
|
-
to {
|
|
191
|
-
background-color: rgba(0, 0, 0, 0.4);
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
@keyframes p-overlay-mask-leave-animation {
|
|
195
|
-
from {
|
|
196
|
-
background-color: rgba(0, 0, 0, 0.4);
|
|
197
|
-
}
|
|
198
|
-
to {
|
|
199
|
-
background-color: transparent;
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
`,ti={mask:({instance:t})=>({position:"fixed",height:"100%",width:"100%",left:0,top:0,display:"flex",flexDirection:"column",alignItems:t.position==="top"?"flex-start":t.position==="bottom"?"flex-end":"center"})},ii={mask:({instance:t})=>({"p-drawer-mask":!0,"p-overlay-mask p-overlay-mask-enter":t.modal,"p-drawer-open":t.containerVisible,"p-drawer-full":t.fullScreen,[`p-drawer-${t.position}`]:!!t.position}),root:({instance:t})=>({"p-drawer p-component":!0,"p-drawer-full":t.fullScreen}),header:"p-drawer-header",title:"p-drawer-title",pcCloseButton:"p-drawer-close-button",content:"p-drawer-content",footer:"p-drawer-footer"},vt=(()=>{class t extends Ze{name="drawer";theme=ei;classes=ii;inlineStyles=ti;static \u0275fac=(()=>{let e;return function(i){return(e||(e=re(t)))(i||t)}})();static \u0275prov=ge({token:t,factory:t.\u0275fac})}return t})();var ni=de([ce({transform:"{{transform}}",opacity:0}),pe("{{transition}}")]),ri=de([pe("{{transition}}",ce({transform:"{{transform}}",opacity:0}))]),he=(()=>{class t extends Je{appendTo="body";blockScroll=!1;style;styleClass;ariaCloseLabel;autoZIndex=!0;baseZIndex=0;modal=!0;closeButtonProps={severity:"secondary",text:!0,rounded:!0};dismissible=!0;showCloseIcon=!0;closeOnEscape=!0;transitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";get visible(){return this._visible}set visible(e){this._visible=e}get position(){return this._position}set position(e){if(this._position=e,e==="full"){this.transformOptions="none";return}switch(e){case"left":this.transformOptions="translate3d(-100%, 0px, 0px)";break;case"right":this.transformOptions="translate3d(100%, 0px, 0px)";break;case"bottom":this.transformOptions="translate3d(0px, 100%, 0px)";break;case"top":this.transformOptions="translate3d(0px, -100%, 0px)";break}}get fullScreen(){return this._fullScreen}set fullScreen(e){this._fullScreen=e,e&&(this.transformOptions="none")}header;maskStyle;closable=!0;onShow=new N;onHide=new N;visibleChange=new N;maskRef;containerViewChild;closeButtonViewChild;initialized;_visible;_position="left";_fullScreen=!1;container;transformOptions="translate3d(-100%, 0px, 0px)";mask;maskClickListener;documentEscapeListener;animationEndListener;_componentStyle=C(vt);ngAfterViewInit(){super.ngAfterViewInit(),this.initialized=!0}headerTemplate;footerTemplate;contentTemplate;closeIconTemplate;headlessTemplate;_headerTemplate;_footerTemplate;_contentTemplate;_closeIconTemplate;_headlessTemplate;templates;ngAfterContentInit(){this.templates?.forEach(e=>{switch(e.getType()){case"content":this._contentTemplate=e.template;break;case"header":this._headerTemplate=e.template;break;case"footer":this._footerTemplate=e.template;break;case"closeicon":this._closeIconTemplate=e.template;break;case"headless":this._headlessTemplate=e.template;break;default:this._contentTemplate=e.template;break}})}onKeyDown(e){e.code==="Escape"&&this.hide(!1)}show(){this.container.setAttribute(this.attrSelector,""),this.autoZIndex&&A.set("modal",this.container,this.baseZIndex||this.config.zIndex.modal),this.modal&&this.enableModality(),this.onShow.emit({}),this.visibleChange.emit(!0)}hide(e=!0){e&&this.onHide.emit({}),this.modal&&this.disableModality()}close(e){this.hide(),this.visibleChange.emit(!1),e.preventDefault()}enableModality(){let e=this.document.querySelectorAll(".p-drawer-active"),n=e.length,i=n==1?String(parseInt(this.container.style.zIndex)-1):String(parseInt(e[n-1].style.zIndex)-1);this.mask||(this.mask=this.renderer.createElement("div"),this.renderer.setStyle(this.mask,"zIndex",i),Ge(this.mask,"style",this.maskStyle),_e(this.mask,"p-overlay-mask p-drawer-mask p-overlay-mask-enter"),this.dismissible&&(this.maskClickListener=this.renderer.listen(this.mask,"click",r=>{this.dismissible&&this.close(r)})),this.renderer.appendChild(this.document.body,this.mask),this.blockScroll&&ze())}disableModality(){this.mask&&(_e(this.mask,"p-overlay-mask-leave"),this.animationEndListener=this.renderer.listen(this.mask,"animationend",this.destroyModal.bind(this)))}destroyModal(){this.unbindMaskClickListener(),this.mask&&this.renderer.removeChild(this.document.body,this.mask),this.blockScroll&&je(),this.unbindAnimationEndListener(),this.mask=null}onAnimationStart(e){switch(e.toState){case"visible":this.container=e.element,this.appendContainer(),this.show(),this.closeOnEscape&&this.bindDocumentEscapeListener();break}}onAnimationEnd(e){switch(e.toState){case"void":this.hide(!1),A.clear(this.container),this.unbindGlobalListeners();break}}appendContainer(){this.appendTo&&(this.appendTo==="body"?this.renderer.appendChild(this.document.body,this.container):qe(this.appendTo,this.container))}bindDocumentEscapeListener(){let e=this.el?this.el.nativeElement.ownerDocument:this.document;this.documentEscapeListener=this.renderer.listen(e,"keydown",n=>{n.which==27&&parseInt(this.container.style.zIndex)===A.get(this.container)&&this.close(n)})}unbindDocumentEscapeListener(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}unbindGlobalListeners(){this.unbindMaskClickListener(),this.unbindDocumentEscapeListener()}unbindAnimationEndListener(){this.animationEndListener&&this.mask&&(this.animationEndListener(),this.animationEndListener=null)}ngOnDestroy(){this.initialized=!1,this.visible&&this.modal&&this.destroyModal(),this.appendTo&&this.container&&this.renderer.appendChild(this.el.nativeElement,this.container),this.container&&this.autoZIndex&&A.clear(this.container),this.container=null,this.unbindGlobalListeners(),this.unbindAnimationEndListener()}static \u0275fac=(()=>{let e;return function(i){return(e||(e=re(t)))(i||t)}})();static \u0275cmp=Q({type:t,selectors:[["p-drawer"]],contentQueries:function(n,i,r){if(n&1&&(V(r,Dt,4),V(r,Et,4),V(r,Ft,4),V(r,Ut,4),V(r,Vt,4),V(r,$e,4)),n&2){let m;v(m=T())&&(i.headerTemplate=m.first),v(m=T())&&(i.footerTemplate=m.first),v(m=T())&&(i.contentTemplate=m.first),v(m=T())&&(i.closeIconTemplate=m.first),v(m=T())&&(i.headlessTemplate=m.first),v(m=T())&&(i.templates=m)}},viewQuery:function(n,i){if(n&1&&(j(Pt,5),j(Lt,5),j(Rt,5)),n&2){let r;v(r=T())&&(i.maskRef=r.first),v(r=T())&&(i.containerViewChild=r.first),v(r=T())&&(i.closeButtonViewChild=r.first)}},inputs:{appendTo:"appendTo",blockScroll:[2,"blockScroll","blockScroll",D],style:"style",styleClass:"styleClass",ariaCloseLabel:"ariaCloseLabel",autoZIndex:[2,"autoZIndex","autoZIndex",D],baseZIndex:[2,"baseZIndex","baseZIndex",Fe],modal:[2,"modal","modal",D],closeButtonProps:"closeButtonProps",dismissible:[2,"dismissible","dismissible",D],showCloseIcon:[2,"showCloseIcon","showCloseIcon",D],closeOnEscape:[2,"closeOnEscape","closeOnEscape",D],transitionOptions:"transitionOptions",visible:"visible",position:"position",fullScreen:"fullScreen",header:"header",maskStyle:"maskStyle",closable:[2,"closable","closable",D]},outputs:{onShow:"onShow",onHide:"onHide",visibleChange:"visibleChange"},features:[G([vt]),z],ngContentSelectors:Mt,decls:1,vars:1,consts:[["container",""],["icon",""],["role","complementary",3,"ngClass","style","class","keydown",4,"ngIf"],["role","complementary",3,"keydown","ngClass"],[4,"ngTemplateOutlet"],[3,"ngClass"],[3,"class",4,"ngIf"],[3,"ngClass","buttonProps","ariaLabel","onClick","keydown.enter",4,"ngIf"],[4,"ngIf"],[3,"onClick","keydown.enter","ngClass","buttonProps","ariaLabel"]],template:function(n,i){n&1&&(Te(),u(0,Yt,4,21,"div",2)),n&2&&p("ngIf",i.visible)},dependencies:[J,$,Z,Ve,X,We,K],encapsulation:2,data:{animation:[Me("panelState",[me("void => visible",[ue(ni)]),me("visible => void",[ue(ri)])])]},changeDetection:0})}return t})(),Tt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=be({type:t});static \u0275inj=we({imports:[he,K,K]})}return t})();var ai=["class","page"],ie=t=>({"ng-invalid ng-dirty":t}),si=t=>({groupID:t});function li(t,o){if(t&1){let e=k();l(0,"p-button",23),b("onClick",function(){_(e);let i=c(2);return f(i.onDeleteUser())}),s()}}function pi(t,o){if(t&1){let e=k();l(0,"p-button",24),b("onClick",function(){_(e);let i=c(2);return f(i.onHandleDrawer())}),s()}}function ci(t,o){if(t&1&&(l(0,"div",20),u(1,li,1,0,"p-button",21)(2,pi,1,0,"p-button",22),s()),t&2){let e=c();a(),p("ngIf",e.store.hasCheckedRows()),a(),p("ngIf",e.roleService.user().create)}}function mi(t,o){t&1&&(l(0,"th",28),y(1,"p-tableHeaderCheckbox"),s())}function di(t,o){if(t&1&&(l(0,"tr"),u(1,mi,2,0,"th",27),l(2,"th"),d(3,"LoginID"),s(),l(4,"th"),d(5,"Group"),s(),l(6,"th"),d(7,"Access Type"),s(),l(8,"th"),d(9,"Tags"),s()()),t&2){let e=c(2);a(),p("ngIf",e.roleService.user().delete)}}function ui(t,o){t&1&&U(0)}function _i(t,o){if(t&1&&y(0,"p-tableCheckbox",34),t&2){let e=c(3).$implicit;p("value",e)}}function fi(t,o){if(t&1&&u(0,_i,1,1,"p-tableCheckbox",33),t&2){let e=c(4);p("ngIf",e.roleService.user().delete)}}function hi(t,o){if(t&1&&(l(0,"td"),u(1,ui,1,0,"ng-container",32)(2,fi,1,1,"ng-template",null,7,x),s()),t&2){let e=Ie(3),n=c().$implicit,i=c(2);a(),p("ngIf",i.roleService.user().delete&&n.userName===i.currentUser())("ngIfElse",e)}}function gi(t,o){if(t&1&&(l(0,"td"),d(1),s()),t&2){let e=c().$implicit;a(),q(" ",e.tagsCount," Tags Assigned ")}}function wi(t,o){if(t&1){let e=k();l(0,"tr"),u(1,hi,4,2,"td",29),l(2,"td")(3,"button",30),b("click",function(){let i=_(e).$implicit,r=c(2);return f(r.onEditUser(i))}),d(4),s()(),l(5,"td")(6,"a",31),d(7),s()(),l(8,"td"),d(9),s(),u(10,gi,2,1,"td",29),s()}if(t&2){let e=o.$implicit,n=c(2);a(),p("ngIf",n.roleService.user().delete),a(2),p("disabled",!n.roleService.user().edit),a(),q(" ",e.userName||e.userID," "),a(2),p("queryParams",S(7,si,e.groupID)),a(),I(e.groupName),a(2),q(" ",e.accessTypeName," "),a(),p("ngIf",e.tagsCount>0)}}function bi(t,o){if(t&1&&d(0),t&2){let e=c(2);Se(" Showing ",e.store.first()," to ",e.store.end()," of ",e.store.count()," entries ")}}function xi(t,o){t&1&&(l(0,"tr")(1,"td",35)(2,"span"),d(3,"No users found. Try adjusting your filters or add a new user."),s()()())}function Ci(t,o){if(t&1){let e=k();l(0,"p-panel")(1,"div",25),y(2,"app-user-tabs"),l(3,"p-table",26),b("onPage",function(i){_(e);let r=c();return f(r.onPageChange(i))})("onRowSelect",function(i){_(e);let r=c();return f(r.onRowSelect(i))})("onRowUnselect",function(i){_(e);let r=c();return f(r.onRowUnselect(i))})("onHeaderCheckboxToggle",function(i){_(e);let r=c();return f(r.onHeaderCheckboxToggle(i))}),u(4,di,10,1,"ng-template",null,3,x)(6,wi,11,9,"ng-template",null,4,x)(8,bi,1,3,"ng-template",null,5,x)(10,xi,4,0,"ng-template",null,6,x),s()()()}if(t&2){let e=c();a(3),p("value",e.store.data())("lazy",!0)("paginator",!0)("rows",e.store.filter().pageSize)("totalRecords",e.store.count())}}function yi(t,o){if(t&1&&(l(0,"div",36)(1,"div",18)(2,"div",37)(3,"label",38),d(4,"Group"),s(),y(5,"p-select",39),s()()()),t&2){let e=c();p("formGroup",e.forms.filterForm),a(5),p("showClear",!0)("options",e.store.meta().options.groups)}}function vi(t,o){if(t&1&&(l(0,"span",40),d(1),s()),t&2){let e=c();a(),I(e.store.hasCheckedRows()?"Edit User":"Invite User")}}function Ti(t,o){if(t&1&&(l(0,"small",14),d(1),s()),t&2){let e=o.$implicit;a(),I(e)}}function ki(t,o){if(t&1&&(l(0,"small",14),d(1),s()),t&2){let e=o.$implicit;a(),I(e)}}function Ii(t,o){if(t&1&&(l(0,"small",14),d(1),s()),t&2){let e=o.$implicit;a(),I(e)}}function Si(t,o){if(t&1&&(l(0,"small",14),d(1),s()),t&2){let e=o.$implicit;a(),I(e)}}var Ln=(()=>{class t extends bt{ngOnInit(){this.generateForm()}constructor(){Ue(()=>{this.store.metaForm()&&this.generateForm()}),super(),this.store=C(fe),this.fb=C(Ne),this.userService=C(te),this.isLoading=L(!1),this.form=null,this.isDrawerOpen=L(!1),this.router=C(Le),this.route=C(Pe),this.isDialogFilterVisible=L(!1),this.roleService=C(rt),this.currentUser=L(null),this.tabs=[{route:"/pages/users/users",label:"Users"},{route:"/pages/users/groups",label:"Groups"}]}ngAfterViewInit(){this.currentUser.set(localStorage.getItem("AUTH_USERNAME")||null)}onPageChange(e){this.store.setFilter(g(h({},this.store.filter()),{pagination:e.first/e.rows+1}))}onRowSelect(e){this.store.onRowSelect(e.data)}onRowUnselect(e){if(Array.isArray(e.data)){e.data.forEach(n=>{this.store.onRowUnselect(n)});return}else this.store.onRowUnselect(e.data)}onHeaderCheckboxToggle(e){this.store.onHeaderCheckboxToggle(e.checked)}generateForm(){this.forms={filterForm:this.fb.group({pagination:this.fb.control(1),pageSize:this.fb.control(10),groupID:this.fb.control(null)}),userForm:this.fb.group({id:this.fb.control({value:this.store.metaForm().form.id,disabled:this.store.metaForm().form.id!==xt},[W.required]),groupID:this.fb.control(this.store.metaForm().form.groupID,[W.required]),accessTypeID:this.fb.control(this.store.metaForm().form.accessTypeID,[W.required]),listJournalTagID:this.fb.control(this.store.metaForm().form.listJournalTagID??[])})}}onHandleDrawer(){this.isDrawerOpen.update(e=>!e),this.store.getUserFormMeta(this.route.snapshot.params.id||null)}onInviteUser(){let{userForm:e}=this.forms;if(e.invalid){e.markAllAsTouched();return}let n=e.getRawValue(),i;if(this.store.hasCheckedRows()){let[r]=this.store.checkedData();i={id:r,groupID:n.groupID,accessTypeID:n.accessTypeID,listJournalTagID:n.listJournalTagID}}else i=n;this.userService.inviteUser(i).pipe(ne(()=>{this.onHandleDrawer(),this.store.setFilter(h({},this.store.filter())),e.reset()})).subscribe()}onSearch(e){this.store.setFilter(g(h({},this.store.filter()),{text:e,pagination:1}))}onOKFilter(){if(this.forms.filterForm.invalid){this.forms.filterForm.markAllAsTouched();return}let{groupID:e}=this.forms.filterForm.value;this.store.setFilter(g(h({},this.store.filter()),{groupID:e})),this.isDialogFilterVisible.update(n=>!n)}onEditUser(e){this.store.onRowSelect(e),this.store.getUserFormMeta(this.store.selectedID()),this.isDrawerOpen.update(n=>!n)}onHideDrawer(){this.store.onHeaderCheckboxToggle(!1)}onDeleteUser(){let e=this.store.checkedData();this.userService.deleteUser(e).pipe(ne(()=>{this.store.setFilter(h({},this.store.filter()))})).subscribe()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=Q({type:t,selectors:[["app-user",8,"page"]],features:[G([fe]),z],attrs:ai,decls:41,vars:23,consts:[["actionButton",""],["content",""],["filters",""],["header",""],["body",""],["paginatorleft",""],["emptymessage",""],["showCheckbox",""],["pageTitle","User List",3,"search","isDialogFilterVisibleChange","filterConfirmed","isSearchableInput","isFilterable","isDialogFilterVisible","scrollable"],["position","right",3,"visibleChange","onHide","visible"],[1,"row","py-3","row-gap-3",3,"formGroup"],[1,"col-12"],["for","",1,"m-0"],["fluid","","filter","","filterBy","name","formControlName","id","optionLabel","loginID","optionValue","id","placeholder","Select a User",3,"disabled","options","ngClass"],[1,"text-danger"],["filter","","filterBy","name","formControlName","groupID","optionLabel","name","optionValue","id","placeholder","Select a Group","fluid","",3,"options","ngClass"],["filter","","filterBy","name","formControlName","accessTypeID","optionLabel","value","optionValue","key","placeholder","Select Access Type","fluid","",3,"options","ngClass"],["fluid","","filter","","filterBy","name","formControlName","listJournalTagID","optionLabel","name","optionValue","id","placeholder","Select a Tag",3,"options","ngClass"],[1,"col"],["label","Submit",3,"onClick"],[1,"d-flex","gap-2","flex-wrap"],["severity","danger","label","Delete","icon","fa-solid fa-trash",3,"onClick",4,"ngIf"],["label","Invite",3,"onClick",4,"ngIf"],["severity","danger","label","Delete","icon","fa-solid fa-trash",3,"onClick"],["label","Invite",3,"onClick"],[1,"d-flex","flex-column","gap-3","py-2"],["dataKey","userID",3,"onPage","onRowSelect","onRowUnselect","onHeaderCheckboxToggle","value","lazy","paginator","rows","totalRecords"],["style","width: 4rem",4,"ngIf"],[2,"width","4rem"],[4,"ngIf"],[1,"btn","btn-link","fw-light","text-primary","p-0",2,"text-decoration","none",3,"click","disabled"],["routerLink","/pages/users/groups/forms",1,"link","link-primary",3,"queryParams"],[4,"ngIf","ngIfElse"],[3,"value",4,"ngIf"],[3,"value"],["colspan","3"],[1,"row",3,"formGroup"],[1,"d-flex","flex-column"],["for",""],["appendTo","body","formControlName","groupID","optionValue","id","optionLabel","name","placeholder","Select a Group",3,"showClear","options"],[1,"fs-5"]],template:function(n,i){if(n&1){let r=k();l(0,"app-main-panel",8),b("search",function(w){return _(r),f(i.onSearch(w))}),le("isDialogFilterVisibleChange",function(w){return _(r),se(i.isDialogFilterVisible,w)||(i.isDialogFilterVisible=w),f(w)}),b("filterConfirmed",function(){return _(r),f(i.onOKFilter())}),u(1,ci,3,2,"ng-template",null,0,x)(3,Ci,12,5,"ng-template",null,1,x)(5,yi,6,3,"ng-template",null,2,x),s(),l(7,"p-drawer",9),le("visibleChange",function(w){return _(r),se(i.isDrawerOpen,w)||(i.isDrawerOpen=w),f(w)}),b("onHide",function(){return _(r),f(i.onHideDrawer())}),u(8,vi,2,1,"ng-template",null,3,x),l(10,"div",10)(11,"div",11)(12,"div")(13,"label",12),d(14,"Users"),s(),y(15,"p-select",13),M(16,Ti,2,1,"small",14,R),s()(),l(18,"div",11)(19,"div")(20,"label",12),d(21,"Groups"),s(),y(22,"p-select",15),M(23,ki,2,1,"small",14,R),s()(),l(25,"div",11)(26,"div")(27,"label",12),d(28,"Access Type"),s(),y(29,"p-select",16),M(30,Ii,2,1,"small",14,R),s()(),l(32,"div",11)(33,"div")(34,"label",12),d(35,"Tags"),s(),y(36,"p-multiSelect",17),M(37,Si,2,1,"small",14,R),s()(),l(39,"div",18)(40,"p-button",19),b("onClick",function(){return _(r),f(i.onInviteUser())}),s()()()()}n&2&&(p("isSearchableInput",!0)("isFilterable",!0),ae("isDialogFilterVisible",i.isDialogFilterVisible),p("scrollable",!0),a(7),ae("visible",i.isDrawerOpen),a(3),p("formGroup",i.forms.userForm),a(5),p("disabled",i.store.hasCheckedRows())("options",i.store.metaForm().options.users)("ngClass",S(15,ie,i.isInvalid("id","userForm"))),a(),O(i.getErrors("id","userForm")),a(6),p("options",i.store.metaForm().options.groups)("ngClass",S(17,ie,i.isInvalid("groupID","userForm"))),a(),O(i.getErrors("id","userForm")),a(6),p("options",i.store.metaForm().options.accessTypes)("ngClass",S(19,ie,i.isInvalid("accessTypeID","userForm"))),a(),O(i.getErrors("accessTypeID","userForm")),a(6),p("options",i.store.metaForm().options.journalTags)("ngClass",S(21,ie,i.isInvalid("listJournalTagID","userForm"))),a(),O(i.getErrors("listJournalTagID","userForm")))},dependencies:[mt,J,$,Z,gt,_t,ft,ht,tt,X,Tt,he,Qe,Oe,Ae,Be,He,Ye,Ke,Xe,et,ut,dt,Ct,nt,it,yt,Re,wt],styles:['[_nghost-%COMP%]{display:block} .p-tabs .p-tab{padding:"1rem 1.125rem"!important} .p-panel .p-panel-header{display:none!important}'],changeDetection:0})}}return t})();export{Ln as UserPageComponent};
|
package/chunk-OBZRC7DX.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-YQFG5XE2.js";var t=[{path:"",redirectTo:"tax-account",pathMatch:"full"},{path:"tax-account",loadComponent:()=>import("./chunk-66D4GMNG.js").then(o=>o.TaxAccountComponent)},{path:"chart-of-account",loadComponent:()=>import("./chunk-35MXFTDN.js").then(o=>o.ChartOfAccountComponent)},{path:"manual-journal",loadComponent:()=>import("./chunk-PPJQN2WS.js").then(o=>o.ManualJournalComponent)},{path:"payment-account",loadComponent:()=>import("./chunk-S5O44AS7.js").then(o=>o.PaymentAccountComponent)},{path:"writeoff-outlet",loadComponent:()=>import("./chunk-FPI32FQH.js").then(o=>o.WriteOffOutletComponent)},{path:"expense-account",loadComponent:()=>import("./chunk-OTMBGB3T.js").then(o=>o.ExpenseAccountComponent)},{path:"coa-configuration",loadComponent:()=>import("./chunk-4ETCCLMI.js").then(o=>o.CoaConfigurationComponent)},{path:"coa-category",loadComponent:()=>import("./chunk-3FDVZDYS.js").then(o=>o.CoaCategoryComponent)},{path:"outlet-account",loadComponent:()=>import("./chunk-EG4A3G2F.js").then(o=>o.OutletAccountComponent)}];export{t as MIGRATE_ROUTES};
|