dealposbooks 5.44.7 → 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/3rdpartylicenses.txt +26 -26
- package/{chunk-JUCJGYST.js → chunk-2AAVNIG7.js} +1 -1
- package/{chunk-UKBDY33R.js → chunk-2D2YD753.js} +1 -1
- package/{chunk-ZDTMCWOO.js → chunk-2MKKFLNJ.js} +1 -1
- package/{chunk-5JV52UYK.js → chunk-2XUSZCQL.js} +1 -1
- package/{chunk-FDNNDYL5.js → chunk-34AG6ZRL.js} +1 -1
- package/chunk-34WPW5D2.js +1 -0
- package/{chunk-2LQVI4EI.js → chunk-36OX4S7M.js} +1 -1
- package/{chunk-NHZLS6JU.js → chunk-3A4BFUGD.js} +1 -1
- package/{chunk-RJ43VBI6.js → chunk-3E76NHYR.js} +1 -1
- package/{chunk-SPKOXGSS.js → chunk-3GGXPPQT.js} +1 -1
- package/{chunk-Q5OCTN6V.js → chunk-3O7PYVJB.js} +1 -1
- package/{chunk-GTADCLKY.js → chunk-3YP5GGRN.js} +1 -1
- package/{chunk-PGQHZTDQ.js → chunk-4EASZOWM.js} +1 -1
- package/{chunk-2SFLMJFC.js → chunk-4LUDLDRM.js} +1 -1
- package/{chunk-534V32GA.js → chunk-4OROB43Y.js} +1 -1
- package/{chunk-JPEOXITL.js → chunk-4SJCTDC5.js} +1 -1
- package/{chunk-KSQ6W6J5.js → chunk-55PBPTNF.js} +1 -1
- package/{chunk-AF357XP4.js → chunk-5CZNOXPC.js} +1 -1
- package/{chunk-BDX235IA.js → chunk-5UQN26GG.js} +1 -1
- package/{chunk-I7ILLTFH.js → chunk-6A2KUPOG.js} +1 -1
- package/{chunk-ATJ55H5D.js → chunk-6GN3MGBY.js} +1 -1
- package/{chunk-MZAFOBGT.js → chunk-6NX36ZC2.js} +1 -1
- package/{chunk-MAID3JDN.js → chunk-6PNHT5U7.js} +1 -1
- package/{chunk-CNXEJBY5.js → chunk-7DYACF4D.js} +1 -1
- package/{chunk-CZQGZKBU.js → chunk-7EJY6C3Q.js} +1 -1
- package/{chunk-ATLG3ODI.js → chunk-7X6D62QP.js} +1 -1
- package/{chunk-WEC2BWPR.js → chunk-ADIJSTCG.js} +1 -1
- package/{chunk-EFDD6Q3K.js → chunk-AOOG6YOT.js} +1 -1
- package/{chunk-ARXP327B.js → chunk-ARH3WEEF.js} +1 -1
- package/{chunk-WZCHPXQJ.js → chunk-AYBSWMQT.js} +1 -1
- package/{chunk-IYO6P6XI.js → chunk-B54PFCWI.js} +1 -1
- package/chunk-B5ICLX2M.js +1 -0
- package/{chunk-FKIXXJLF.js → chunk-B6BFJFA6.js} +1 -1
- package/{chunk-HVWMMYO5.js → chunk-BCRBHPPF.js} +1 -1
- package/{chunk-BUYRVZ5Z.js → chunk-BLR3HBYP.js} +1 -1
- package/{chunk-UDIFKJ7M.js → chunk-BXEGWIR3.js} +1 -1
- package/{chunk-JRTS2EIB.js → chunk-CBAJ6F64.js} +1 -1
- package/{chunk-AL647DUL.js → chunk-CNXYBR45.js} +1 -1
- package/{chunk-SVHOGUGR.js → chunk-CVL3S2HY.js} +1 -1
- package/{chunk-M5PA3FZY.js → chunk-EB6NEJHF.js} +1 -1
- package/{chunk-F6XVZQY3.js → chunk-EK3VPTHC.js} +1 -1
- package/{chunk-VPQDUC77.js → chunk-EL5BUFMO.js} +1 -1
- package/{chunk-76LPTGLX.js → chunk-EQ4PLHI4.js} +1 -1
- package/{chunk-ALVKIUN6.js → chunk-F4ZNQXWG.js} +1 -1
- package/{chunk-4ZQ7YKOY.js → chunk-F5QD3IJY.js} +1 -1
- package/{chunk-7HDQDLMU.js → chunk-F7JURLD3.js} +1 -1
- package/chunk-FBAUSUGQ.js +202 -0
- package/{chunk-VB3TPQNG.js → chunk-GBBQUUCQ.js} +1 -1
- package/{chunk-PFRE63ZQ.js → chunk-GVDMC4IX.js} +1 -1
- package/{chunk-7FFMPB6T.js → chunk-H6HNANYB.js} +1 -1
- package/{chunk-CWHL7PNC.js → chunk-H7Q35Y7G.js} +1 -1
- package/{chunk-6XT4TD5A.js → chunk-HAQ36ZI6.js} +1 -1
- package/{chunk-MPHY6FVN.js → chunk-HG5MKVNR.js} +1 -1
- package/{chunk-7COI2POD.js → chunk-IGWIRCAS.js} +1 -1
- package/{chunk-ODRV6XWO.js → chunk-IHZ55QSI.js} +1 -1
- package/{chunk-4ITLNOY5.js → chunk-IWHPWZIL.js} +1 -1
- package/{chunk-QG5BZLQ5.js → chunk-IYWJ4NQV.js} +1 -1
- package/{chunk-K4P3JOA6.js → chunk-JRVYSBUZ.js} +1 -1
- package/{chunk-ZEWON3MW.js → chunk-KGQGMXW6.js} +1 -1
- package/{chunk-MS6WBVQX.js → chunk-KIBBRAL5.js} +1 -1
- package/{chunk-WXT6EZ2V.js → chunk-KJ2WX3FC.js} +1 -1
- package/chunk-KQEKK7SJ.js +1 -0
- package/{chunk-Q5727C4W.js → chunk-KV6EPP4J.js} +1 -1
- package/{chunk-5H2RGDEM.js → chunk-KYNEAC2L.js} +1 -1
- package/{chunk-CEUHQS4P.js → chunk-L2MQOC56.js} +1 -1
- package/{chunk-6O5EWYT7.js → chunk-LFZCMZAP.js} +1 -1
- package/{chunk-XZA36IOK.js → chunk-M675R5IO.js} +1 -1
- package/{chunk-HETAGI2U.js → chunk-MAZVUNNB.js} +1 -1
- package/{chunk-IJTQE2H4.js → chunk-MFK5RQPJ.js} +1 -1
- package/{chunk-PPKCZMH4.js → chunk-N4JIPI53.js} +1 -1
- package/{chunk-E3ZGQRZ3.js → chunk-NCDT6JPP.js} +1 -1
- package/{chunk-UW3TYSD4.js → chunk-NKCNDLCN.js} +1 -1
- package/{chunk-6K5LNQ4J.js → chunk-NMCKMUY4.js} +3 -3
- package/{chunk-S3DECKRN.js → chunk-NVB5C5WN.js} +1 -1
- package/{chunk-NMSYINDE.js → chunk-NZN6QJR3.js} +1 -1
- package/{chunk-72LNXEXV.js → chunk-OIBDX2CA.js} +1 -1
- package/{chunk-XLPFLHKU.js → chunk-OVAQBQEJ.js} +1 -1
- package/{chunk-7QTSLBUS.js → chunk-OVSN4E2D.js} +2 -2
- package/{chunk-CPEWFFH4.js → chunk-PPSWJ3KZ.js} +1 -1
- package/chunk-PUGHX4BL.js +1 -0
- package/{chunk-AJZ7YLT4.js → chunk-Q24GCSGD.js} +1 -1
- package/{chunk-3KYU6FI2.js → chunk-Q5CVMJZC.js} +1 -1
- package/{chunk-AWAXNQFD.js → chunk-Q5K47PTK.js} +1 -1
- package/chunk-QF4D5YPK.js +1 -0
- package/{chunk-6ZAB5KF4.js → chunk-QMVQ67BR.js} +1 -1
- package/{chunk-5BZGRV6Z.js → chunk-QR5KD37B.js} +2 -2
- package/{chunk-VRKBMD72.js → chunk-R7N6BWL5.js} +1 -1
- package/chunk-RIEXBPQ3.js +1 -0
- package/{chunk-MJ6ZJF3H.js → chunk-RZFXAB7W.js} +1 -1
- package/{chunk-MWFWXJG3.js → chunk-U5XXKH2H.js} +1 -1
- package/{chunk-AQR2H4W4.js → chunk-ULJ2Y7SG.js} +1 -1
- package/{chunk-6V36DOK2.js → chunk-UP67MADL.js} +1 -1
- package/{chunk-723XGKN4.js → chunk-V4XZTIO4.js} +1 -1
- package/chunk-VCNN5RVA.js +1 -0
- package/{chunk-L3PZS6EL.js → chunk-VGNJD35F.js} +1 -1
- package/{chunk-E3QNEH3B.js → chunk-VJ3IBUVO.js} +1 -1
- package/{chunk-ADR2PJUZ.js → chunk-VW47RJKF.js} +1 -1
- package/{chunk-SB5MSLCX.js → chunk-VZ5CMS5O.js} +1 -1
- package/chunk-WQLQI7VC.js +1 -0
- package/{chunk-6VGBCKSP.js → chunk-X7UDCQV2.js} +1 -1
- package/{chunk-OB46Z7ZH.js → chunk-XD7VHCRC.js} +1 -1
- package/{chunk-KYLRXHLA.js → chunk-XYDMR5UH.js} +1 -1
- package/{chunk-3O2P3XCM.js → chunk-YN2HKWAW.js} +3 -3
- package/{chunk-ACTRMWEI.js → chunk-YV2QJ63P.js} +1 -1
- package/{chunk-OJKSFSGG.js → chunk-ZFZPBYHM.js} +2 -2
- package/index.html +2 -2
- package/{main-BGNUYMBN.js → main-VBAUVWYV.js} +1 -1
- package/package.json +1 -1
- package/chunk-D7UYPH6O.js +0 -1
- package/chunk-GJGJXJ7W.js +0 -1
- package/chunk-KXE3J4PK.js +0 -1
- package/chunk-PXDLE24D.js +0 -202
- package/chunk-ZYGFIZ2J.js +0 -1
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"dealposbooks","version":"5.
|
|
1
|
+
{"name":"dealposbooks","version":"5.45.1"}
|
package/chunk-D7UYPH6O.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as r}from"./chunk-WEC2BWPR.js";import"./chunk-7COI2POD.js";import{d as n}from"./chunk-EFDD6Q3K.js";import"./chunk-CPEWFFH4.js";import"./chunk-ZDTMCWOO.js";import"./chunk-F2X3VGZZ.js";import"./chunk-SB5MSLCX.js";import{ia as e}from"./chunk-6K5LNQ4J.js";import"./chunk-YQFG5XE2.js";var a=(t,m)=>{let o=e(r),i=e(n),p=o.isAuthenticated(),s=!o.isTokenExpired(),u=o.checkAuthKeysExists();return p&&s&&u?(i.navigateByUrl("/pages/dashboard"),!1):!0};var C=[{path:"",canActivate:[a],loadComponent:()=>import("./chunk-4ITLNOY5.js").then(t=>t.LoginComponent)},{path:"404",loadComponent:()=>import("./chunk-MWFWXJG3.js").then(t=>t.NotfoundComponent)},{path:"signup",loadComponent:()=>import("./chunk-SVHOGUGR.js").then(t=>t.SignupComponent)},{path:"504",loadComponent:()=>import("./chunk-MZAFOBGT.js").then(t=>t.TimeoutComponent)}];export{C as AuthenticationRoutes};
|
package/chunk-GJGJXJ7W.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-YQFG5XE2.js";var t=[{path:"",redirectTo:"tax-account",pathMatch:"full"},{path:"tax-account",loadComponent:()=>import("./chunk-F6XVZQY3.js").then(o=>o.TaxAccountComponent)},{path:"chart-of-account",loadComponent:()=>import("./chunk-S3DECKRN.js").then(o=>o.ChartOfAccountComponent)},{path:"manual-journal",loadComponent:()=>import("./chunk-534V32GA.js").then(o=>o.ManualJournalComponent)},{path:"payment-account",loadComponent:()=>import("./chunk-6ZAB5KF4.js").then(o=>o.PaymentAccountComponent)},{path:"writeoff-outlet",loadComponent:()=>import("./chunk-JRTS2EIB.js").then(o=>o.WriteOffOutletComponent)},{path:"expense-account",loadComponent:()=>import("./chunk-XZA36IOK.js").then(o=>o.ExpenseAccountComponent)},{path:"coa-configuration",loadComponent:()=>import("./chunk-2SFLMJFC.js").then(o=>o.CoaConfigurationComponent)},{path:"coa-category",loadComponent:()=>import("./chunk-RJ43VBI6.js").then(o=>o.CoaCategoryComponent)},{path:"outlet-account",loadComponent:()=>import("./chunk-Q5OCTN6V.js").then(o=>o.OutletAccountComponent)}];export{t as MIGRATE_ROUTES};
|
package/chunk-KXE3J4PK.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as o}from"./chunk-6K5LNQ4J.js";function i(e="emit"){return r=>r.pipe(o(t=>console.log(`${e}`,t)))}export{i as a};
|
package/chunk-PXDLE24D.js
DELETED
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
import{a as ee,b as Ct}from"./chunk-FDNNDYL5.js";import{a as bt}from"./chunk-G4XX7EU2.js";import{f as xt}from"./chunk-OB46Z7ZH.js";import"./chunk-E3ZGQRZ3.js";import{a as wt}from"./chunk-XKI7WLHE.js";import{a as rt}from"./chunk-AF357XP4.js";import"./chunk-7COI2POD.js";import{a as X,b as Y}from"./chunk-NHZLS6JU.js";import{d as _t,i as ft,j as ht,k as gt}from"./chunk-VPQDUC77.js";import"./chunk-76LPTGLX.js";import"./chunk-CWHL7PNC.js";import"./chunk-VRKBMD72.js";import"./chunk-JUCJGYST.js";import{a as dt,b as ut}from"./chunk-6O5EWYT7.js";import"./chunk-I7ILLTFH.js";import"./chunk-2LQVI4EI.js";import"./chunk-SPKOXGSS.js";import"./chunk-3KYU6FI2.js";import"./chunk-IJTQE2H4.js";import"./chunk-AJZ7YLT4.js";import"./chunk-ATJ55H5D.js";import{h as mt}from"./chunk-3O2P3XCM.js";import{a as Ke}from"./chunk-L3PZS6EL.js";import{a as it,b as nt}from"./chunk-5JV52UYK.js";import{a as D,b as ot,c as at,d as st,e as lt,f as pt,g as ct}from"./chunk-ACTRMWEI.js";import"./chunk-ARXP327B.js";import{a as We,f as L,k as Je,m as Xe,o as Ye,s as et,w as J,x as tt}from"./chunk-7FFMPB6T.js";import"./chunk-UKBDY33R.js";import{A as ze,C as qe,K as Ge,La as $e,Ma as K,Ua as Ze,c as W,e as Oe,f as Ae,l as Be,ma as je,o as He,u as Ne,x as Qe,z as de}from"./chunk-72LNXEXV.js";import{b as Pe,d as Re,e as Le}from"./chunk-EFDD6Q3K.js";import"./chunk-CPEWFFH4.js";import"./chunk-ZDTMCWOO.js";import{c as Me,d as se,f as le,h as pe,i as ce,k as me}from"./chunk-F2X3VGZZ.js";import{h as j,k as $,m as Ve,s as Z}from"./chunk-SB5MSLCX.js";import{$b as T,$c as Fe,Aa as A,Bb as H,Cc as G,Db as _,Ec as V,Fc as De,Ha as R,Jc as Ee,Kb as E,Lb as s,Ob as be,Pb as ne,Qb as xe,Rb as N,Rc as x,Tb as Q,Ub as z,Vb as l,Wb as p,Xb as y,Y as O,Yb as Ce,Zb as ye,_ as te,_b as F,_c as I,bd as P,c as M,ca as he,cd as Ue,da as ge,ec as b,fc as c,gc as ve,hb as a,hc as ke,ia as C,kc as U,lc as q,mc as v,nc as k,qa as d,qc as Te,ra as u,rc as g,sc as S,tc as Se,ua as ie,vc as Ie,wc as re,xb as B,xc as oe,yb as we,yc as ae}from"./chunk-6K5LNQ4J.js";import{a as f,b as h}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},options:{users:[],groups:[],accessTypes:[]}}},ue=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(ee);return{setFilter(n){D(t,i=>h(f({},i),{filter:n}))},onRowSelect(n){D(t,i=>{let r=i.data.map(m=>m.userID===n.userID?h(f({},m),{checked:!0}):m);return h(f({},i),{data:r})})},onRowUnselect(n){D(t,i=>{let r=i.data.map(m=>m.userID===n.userID?h(f({},m),{checked:!1}):m);return h(f({},i),{data:r})})},onHeaderCheckboxToggle(n){let i=localStorage.getItem("AUTH_USERNAME");D(t,r=>{let m=r.data.map(w=>w.userName!==i?h(f({},w),{checked:n}):h(f({},w),{checked:!1}));return h(f({},r),{data:m})})},getUserLoader:X(M(O(()=>o.getUserLoaderList().pipe(Y({next:n=>{D(t,i=>h(f({},i),{meta:n}))},error:n=>{console.error("Failed to fetch user loader list:",n)}}))))),getUserFormMeta:X(M(O(n=>o.getUserFormMeta(n).pipe(Y({next:i=>{D(t,r=>h(f({},r),{metaForm:i}))},error:i=>{console.error("Failed to fetch user form meta:",i)}}))))),getUsers:X(M(O(n=>o.getUsers(n).pipe(Y({next:i=>{D(t,r=>h(f({},r),{data:i.data.map(m=>h(f({},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 It=["header"],Dt=["footer"],Et=["content"],Ft=["closeicon"],Ut=["headless"],Vt=["maskRef"],Pt=["container"],Rt=["closeButton"],Lt=["*"],Mt=(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}),Ot=(t,o)=>({transform:t,transition:o}),At=t=>({value:"visible",params:t});function Bt(t,o){t&1&&F(0)}function Ht(t,o){if(t&1&&_(0,Bt,1,0,"ng-container",4),t&2){let e=c(2);s("ngTemplateOutlet",e.headlessTemplate||e._headlessTemplate)}}function Nt(t,o){t&1&&F(0)}function Qt(t,o){if(t&1&&(l(0,"div"),g(1),p()),t&2){let e=c(3);ne(e.cx("title")),a(),S(e.header)}}function zt(t,o){t&1&&y(0,"TimesIcon"),t&2&&E("data-pc-section","closeicon")}function qt(t,o){}function Gt(t,o){t&1&&_(0,qt,0,0,"ng-template")}function jt(t,o){if(t&1&&_(0,zt,1,1,"TimesIcon",8)(1,Gt,1,0,null,4),t&2){let e=c(4);s("ngIf",!e.closeIconTemplate&&!e._closeIconTemplate),a(),s("ngTemplateOutlet",e.closeIconTemplate||e._closeIconTemplate)}}function $t(t,o){if(t&1){let e=T();l(0,"p-button",9),b("onClick",function(i){d(e);let r=c(3);return u(r.close(i))})("keydown.enter",function(i){d(e);let r=c(3);return u(r.close(i))}),_(1,jt,2,2,"ng-template",null,1,x),p()}if(t&2){let e=c(3);s("ngClass",e.cx("closeButton"))("buttonProps",e.closeButtonProps)("ariaLabel",e.ariaCloseLabel),E("data-pc-section","closebutton")("data-pc-group-section","iconcontainer")}}function Zt(t,o){t&1&&F(0)}function Wt(t,o){t&1&&F(0)}function Kt(t,o){if(t&1&&(Ce(0),l(1,"div",5),_(2,Wt,1,0,"ng-container",4),p(),ye()),t&2){let e=c(3);a(),s("ngClass",e.cx("footer")),E("data-pc-section","footer"),a(),s("ngTemplateOutlet",e.footerTemplate||e._footerTemplate)}}function Jt(t,o){if(t&1&&(l(0,"div",5),_(1,Nt,1,0,"ng-container",4)(2,Qt,2,3,"div",6)(3,$t,3,5,"p-button",7),p(),l(4,"div",5),ke(5),_(6,Zt,1,0,"ng-container",4),p(),_(7,Kt,3,3,"ng-container",8)),t&2){let e=c(2);s("ngClass",e.cx("header")),E("data-pc-section","header"),a(),s("ngTemplateOutlet",e.headerTemplate||e._headerTemplate),a(),s("ngIf",e.header),a(),s("ngIf",e.showCloseIcon&&e.closable),a(),s("ngClass",e.cx("content")),E("data-pc-section","content"),a(2),s("ngTemplateOutlet",e.contentTemplate||e._contentTemplate),a(),s("ngIf",e.footerTemplate||e._footerTemplate)}}function Xt(t,o){if(t&1){let e=T();l(0,"div",3,0),b("@panelState.start",function(i){d(e);let r=c();return u(r.onAnimationStart(i))})("@panelState.done",function(i){d(e);let r=c();return u(r.onAnimationEnd(i))})("keydown",function(i){d(e);let r=c();return u(r.onKeyDown(i))}),_(2,Ht,1,1,"ng-container")(3,Jt,8,9),p()}if(t&2){let e=c();be(e.style),ne(e.styleClass),s("ngClass",Ee(9,Mt,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",V(19,At,De(16,Ot,e.transformOptions,e.transitionOptions))),E("data-pc-name","sidebar")("data-pc-section","root"),a(2),xe(e.headlessTemplate||e._headlessTemplate?2:3)}}var Yt=({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
|
-
`,ei={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"})},ti={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"},yt=(()=>{class t extends Ze{name="drawer";theme=Yt;classes=ti;inlineStyles=ei;static \u0275fac=(()=>{let e;return function(i){return(e||(e=ie(t)))(i||t)}})();static \u0275prov=he({token:t,factory:t.\u0275fac})}return t})();var ii=ce([le({transform:"{{transform}}",opacity:0}),se("{{transition}}")]),ni=ce([se("{{transition}}",le({transform:"{{transform}}",opacity:0}))]),_e=(()=>{class t extends We{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 A;onHide=new A;visibleChange=new A;maskRef;containerViewChild;closeButtonViewChild;initialized;_visible;_position="left";_fullScreen=!1;container;transformOptions="translate3d(-100%, 0px, 0px)";mask;maskClickListener;documentEscapeListener;animationEndListener;_componentStyle=C(yt);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&&L.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),je(this.mask,"style",this.maskStyle),de(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&&(de(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&&qe(),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),L.clear(this.container),this.unbindGlobalListeners();break}}appendContainer(){this.appendTo&&(this.appendTo==="body"?this.renderer.appendChild(this.document.body,this.container):Ge(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)===L.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&&L.clear(this.container),this.container=null,this.unbindGlobalListeners(),this.unbindAnimationEndListener()}static \u0275fac=(()=>{let e;return function(i){return(e||(e=ie(t)))(i||t)}})();static \u0275cmp=B({type:t,selectors:[["p-drawer"]],contentQueries:function(n,i,r){if(n&1&&(U(r,It,4),U(r,Dt,4),U(r,Et,4),U(r,Ft,4),U(r,Ut,4),U(r,$e,4)),n&2){let m;v(m=k())&&(i.headerTemplate=m.first),v(m=k())&&(i.footerTemplate=m.first),v(m=k())&&(i.contentTemplate=m.first),v(m=k())&&(i.closeIconTemplate=m.first),v(m=k())&&(i.headlessTemplate=m.first),v(m=k())&&(i.templates=m)}},viewQuery:function(n,i){if(n&1&&(q(Vt,5),q(Pt,5),q(Rt,5)),n&2){let r;v(r=k())&&(i.maskRef=r.first),v(r=k())&&(i.containerViewChild=r.first),v(r=k())&&(i.closeButtonViewChild=r.first)}},inputs:{appendTo:"appendTo",blockScroll:[2,"blockScroll","blockScroll",I],style:"style",styleClass:"styleClass",ariaCloseLabel:"ariaCloseLabel",autoZIndex:[2,"autoZIndex","autoZIndex",I],baseZIndex:[2,"baseZIndex","baseZIndex",Fe],modal:[2,"modal","modal",I],closeButtonProps:"closeButtonProps",dismissible:[2,"dismissible","dismissible",I],showCloseIcon:[2,"showCloseIcon","showCloseIcon",I],closeOnEscape:[2,"closeOnEscape","closeOnEscape",I],transitionOptions:"transitionOptions",visible:"visible",position:"position",fullScreen:"fullScreen",header:"header",maskStyle:"maskStyle",closable:[2,"closable","closable",I]},outputs:{onShow:"onShow",onHide:"onHide",visibleChange:"visibleChange"},features:[G([yt]),H],ngContentSelectors:Lt,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&&(ve(),_(0,Xt,4,21,"div",2)),n&2&&s("ngIf",i.visible)},dependencies:[Z,j,$,Ve,J,Ke,K],encapsulation:2,data:{animation:[Me("panelState",[pe("void => visible",[me(ii)]),pe("visible => void",[me(ni)])])]},changeDetection:0})}return t})(),vt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=we({type:t});static \u0275inj=ge({imports:[_e,K,K]})}return t})();var oi=["class","page"],fe=t=>({"ng-invalid ng-dirty":t}),ai=t=>({groupID:t});function si(t,o){if(t&1){let e=T();l(0,"p-button",22),b("onClick",function(){d(e);let i=c(2);return u(i.onDeleteUser())}),p()}}function li(t,o){if(t&1){let e=T();l(0,"p-button",23),b("onClick",function(){d(e);let i=c(2);return u(i.onHandleDrawer())}),p()}}function pi(t,o){if(t&1&&(l(0,"div",19),_(1,si,1,0,"p-button",20)(2,li,1,0,"p-button",21),p()),t&2){let e=c();a(),s("ngIf",e.store.hasCheckedRows()),a(),s("ngIf",e.roleService.user().create)}}function ci(t,o){t&1&&(l(0,"th",27),y(1,"p-tableHeaderCheckbox"),p())}function mi(t,o){if(t&1&&(l(0,"tr"),_(1,ci,2,0,"th",26),l(2,"th"),g(3,"LoginID"),p(),l(4,"th"),g(5,"Group"),p()()),t&2){let e=c(2);a(),s("ngIf",e.roleService.user().delete)}}function di(t,o){t&1&&F(0)}function ui(t,o){if(t&1&&y(0,"p-tableCheckbox",33),t&2){let e=c(3).$implicit;s("value",e)}}function _i(t,o){if(t&1&&_(0,ui,1,1,"p-tableCheckbox",32),t&2){let e=c(4);s("ngIf",e.roleService.user().delete)}}function fi(t,o){if(t&1&&(l(0,"td"),_(1,di,1,0,"ng-container",31)(2,_i,1,1,"ng-template",null,7,x),p()),t&2){let e=Te(3),n=c().$implicit,i=c(2);a(),s("ngIf",i.roleService.user().delete&&n.userName===i.currentUser())("ngIfElse",e)}}function hi(t,o){if(t&1){let e=T();l(0,"tr"),_(1,fi,4,2,"td",28),l(2,"td")(3,"button",29),b("click",function(){let i=d(e).$implicit,r=c(2);return u(r.onEditUser(i))}),g(4),p()(),l(5,"td")(6,"a",30),g(7),p()()()}if(t&2){let e=o.$implicit,n=c(2);a(),s("ngIf",n.roleService.user().delete),a(2),s("disabled",!n.roleService.user().edit),a(),Se(" ",e.userName||e.userID," "),a(2),s("queryParams",V(5,ai,e.groupID)),a(),S(e.groupName)}}function gi(t,o){if(t&1&&g(0),t&2){let e=c(2);Ie(" Showing ",e.store.first()," to ",e.store.end()," of ",e.store.count()," entries ")}}function wi(t,o){t&1&&(l(0,"tr")(1,"td",34)(2,"span"),g(3,"No users found. Try adjusting your filters or add a new user."),p()()())}function bi(t,o){if(t&1){let e=T();l(0,"p-panel")(1,"div",24),y(2,"app-user-tabs"),l(3,"p-table",25),b("onPage",function(i){d(e);let r=c();return u(r.onPageChange(i))})("onRowSelect",function(i){d(e);let r=c();return u(r.onRowSelect(i))})("onRowUnselect",function(i){d(e);let r=c();return u(r.onRowUnselect(i))})("onHeaderCheckboxToggle",function(i){d(e);let r=c();return u(r.onHeaderCheckboxToggle(i))}),_(4,mi,6,1,"ng-template",null,3,x)(6,hi,8,7,"ng-template",null,4,x)(8,gi,1,3,"ng-template",null,5,x)(10,wi,4,0,"ng-template",null,6,x),p()()()}if(t&2){let e=c();a(3),s("value",e.store.data())("lazy",!0)("paginator",!0)("rows",e.store.filter().pageSize)("totalRecords",e.store.count())}}function xi(t,o){if(t&1&&(l(0,"div",35)(1,"div",17)(2,"div",36)(3,"label",37),g(4,"Group"),p(),y(5,"p-select",38),p()()()),t&2){let e=c();s("formGroup",e.forms.filterForm),a(5),s("showClear",!0)("options",e.store.meta().options.groups)}}function Ci(t,o){if(t&1&&(l(0,"span",39),g(1),p()),t&2){let e=c();a(),S(e.store.hasCheckedRows()?"Edit User":"Invite User")}}function yi(t,o){if(t&1&&(l(0,"small",14),g(1),p()),t&2){let e=o.$implicit;a(),S(e)}}function vi(t,o){if(t&1&&(l(0,"small",14),g(1),p()),t&2){let e=o.$implicit;a(),S(e)}}function ki(t,o){if(t&1&&(l(0,"small",14),g(1),p()),t&2){let e=o.$implicit;a(),S(e)}}var Fn=(()=>{class t extends wt{ngOnInit(){this.generateForm()}constructor(){Ue(()=>{this.store.metaForm()&&this.generateForm()}),super(),this.store=C(ue),this.fb=C(Ne),this.userService=C(ee),this.isLoading=R(!1),this.form=null,this.isDrawerOpen=R(!1),this.router=C(Re),this.route=C(Pe),this.isDialogFilterVisible=R(!1),this.roleService=C(rt),this.currentUser=R(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(h(f({},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!==bt},[W.required]),groupID:this.fb.control(this.store.metaForm().form.groupID,[W.required]),accessTypeID:this.fb.control(this.store.metaForm().form.accessTypeID,[W.required])})}}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}}else i=n;this.userService.inviteUser(i).pipe(te(()=>{this.onHandleDrawer(),this.store.setFilter(f({},this.store.filter())),e.reset()})).subscribe()}onSearch(e){this.store.setFilter(h(f({},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(h(f({},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(te(()=>{this.store.setFilter(f({},this.store.filter()))})).subscribe()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=B({type:t,selectors:[["app-user",8,"page"]],features:[G([ue]),H],attrs:oi,decls:34,vars:19,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"],[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=T();l(0,"app-main-panel",8),b("search",function(w){return d(r),u(i.onSearch(w))}),ae("isDialogFilterVisibleChange",function(w){return d(r),oe(i.isDialogFilterVisible,w)||(i.isDialogFilterVisible=w),u(w)}),b("filterConfirmed",function(){return d(r),u(i.onOKFilter())}),_(1,pi,3,2,"ng-template",null,0,x)(3,bi,12,5,"ng-template",null,1,x)(5,xi,6,3,"ng-template",null,2,x),p(),l(7,"p-drawer",9),ae("visibleChange",function(w){return d(r),oe(i.isDrawerOpen,w)||(i.isDrawerOpen=w),u(w)}),b("onHide",function(){return d(r),u(i.onHideDrawer())}),_(8,Ci,2,1,"ng-template",null,3,x),l(10,"div",10)(11,"div",11)(12,"div")(13,"label",12),g(14,"Users"),p(),y(15,"p-select",13),Q(16,yi,2,1,"small",14,N),p()(),l(18,"div",11)(19,"div")(20,"label",12),g(21,"Groups"),p(),y(22,"p-select",15),Q(23,vi,2,1,"small",14,N),p()(),l(25,"div",11)(26,"div")(27,"label",12),g(28,"Access Type"),p(),y(29,"p-select",16),Q(30,ki,2,1,"small",14,N),p()(),l(32,"div",17)(33,"p-button",18),b("onClick",function(){return d(r),u(i.onInviteUser())}),p()()()()}n&2&&(s("isSearchableInput",!0)("isFilterable",!0),re("isDialogFilterVisible",i.isDialogFilterVisible),s("scrollable",!0),a(7),re("visible",i.isDrawerOpen),a(3),s("formGroup",i.forms.userForm),a(5),s("disabled",i.store.hasCheckedRows())("options",i.store.metaForm().options.users)("ngClass",V(13,fe,i.isInvalid("id","userForm"))),a(),z(i.getErrors("id","userForm")),a(6),s("options",i.store.metaForm().options.groups)("ngClass",V(15,fe,i.isInvalid("groupID","userForm"))),a(),z(i.getErrors("id","userForm")),a(6),s("options",i.store.metaForm().options.accessTypes)("ngClass",V(17,fe,i.isInvalid("accessTypeID","userForm"))),a(),z(i.getErrors("accessTypeID","userForm")))},dependencies:[mt,Z,j,$,gt,_t,ft,ht,tt,J,vt,_e,Qe,Oe,Ae,Be,He,Ye,Je,Xe,et,ut,dt,xt,nt,it,Ct,Le],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{Fn as UserPageComponent};
|
package/chunk-ZYGFIZ2J.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-5H2RGDEM.js";import"./chunk-WEC2BWPR.js";import"./chunk-7COI2POD.js";import"./chunk-EFDD6Q3K.js";import"./chunk-CPEWFFH4.js";import"./chunk-ZDTMCWOO.js";import"./chunk-F2X3VGZZ.js";import"./chunk-SB5MSLCX.js";import"./chunk-6K5LNQ4J.js";import"./chunk-YQFG5XE2.js";var o=[{path:"",canActivate:[a],children:[{path:"",loadComponent:()=>import("./chunk-GTADCLKY.js").then(t=>t.Dashboard1Component),data:{title:"Dashboard",headerTemplate:"header"}}]}];export{o as DashboardRoutes};
|