dealposbarcode 26.18.0 → 26.18.2
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-IZOXLAEX.js → chunk-2AGCDHNO.js} +1 -1
- package/{chunk-NKIYSZ3A.js → chunk-2MMANCUP.js} +1 -1
- package/{chunk-Z7KYNL54.js → chunk-3XATHKDX.js} +1 -1
- package/{chunk-VWE4YHYZ.js → chunk-4APT45ZF.js} +1 -1
- package/{chunk-3ZDEDFUG.js → chunk-4UKDI253.js} +1 -1
- package/{chunk-OE6J24IW.js → chunk-7AATBHVO.js} +1 -1
- package/{chunk-EJFYN7MC.js → chunk-BK4LVUJL.js} +1 -1
- package/{chunk-R2FT64I2.js → chunk-C77Q27JR.js} +1 -1
- package/{chunk-BKGKYWNQ.js → chunk-COT74XBB.js} +1 -1
- package/{chunk-LHGNCGGH.js → chunk-D72ZHN4T.js} +1 -1
- package/{chunk-2WOSKSIA.js → chunk-DCMMIJN7.js} +2 -2
- package/{chunk-JTAS2T2F.js → chunk-FPV3HLTW.js} +1 -1
- package/{chunk-FJ25YPYG.js → chunk-HDUQATZE.js} +1 -1
- package/chunk-LFJEX62B.js +1 -0
- package/{chunk-WZXNAOCD.js → chunk-LTKBT523.js} +1 -1
- package/{chunk-BMRM7S2V.js → chunk-NWWGCPPM.js} +1 -1
- package/{chunk-YCJ2XWZM.js → chunk-OCXWJYRZ.js} +1 -1
- package/{chunk-7JE7GIF3.js → chunk-OE2QYMTR.js} +1 -1
- package/{chunk-FCG5EJKL.js → chunk-PEJ24U6O.js} +1 -1
- package/{chunk-VQGYU7OO.js → chunk-QP7HKJYM.js} +1 -1
- package/{chunk-FDTUFTE5.js → chunk-RV4MERGH.js} +1 -1
- package/{chunk-3QOLEFWI.js → chunk-SRGMEU4F.js} +1 -1
- package/{chunk-6AHEUGVE.js → chunk-TGQXGNDS.js} +1 -1
- package/chunk-UDT3HLLV.js +1 -0
- package/{chunk-OCD7TGOG.js → chunk-UHNK2KA3.js} +1 -1
- package/{chunk-NEDFLD6E.js → chunk-VRQF3ZEI.js} +39 -39
- package/{chunk-5ZPWC7IW.js → chunk-YMHZIEE3.js} +1 -1
- package/{chunk-JVJYQPKK.js → chunk-ZPKEMDEL.js} +1 -1
- package/index.html +2 -2
- package/{main-S3XPBYGE.js → main-IU6LJ5PA.js} +3 -3
- package/ngsw.json +155 -155
- package/package.json +1 -1
- package/chunk-PHOZQELD.js +0 -1
- package/chunk-ZLNKOTEK.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as gt}from"./chunk-
|
|
1
|
+
import{a as gt}from"./chunk-HDUQATZE.js";import{a as vt,b as xt,c as se,d as St,e as yt,f as Tt,g as kt}from"./chunk-VRQF3ZEI.js";import"./chunk-7AATBHVO.js";import"./chunk-OE2QYMTR.js";import"./chunk-FPV3HLTW.js";import{a as Je,c as Ke,h as L,j as ne}from"./chunk-QP7HKJYM.js";import"./chunk-D72ZHN4T.js";import"./chunk-C77Q27JR.js";import{a as re}from"./chunk-LFJEX62B.js";import{d as ae,e as le,i as Ct,l as pe,o as _t,p as bt}from"./chunk-3XATHKDX.js";import{Aa as ht,D as tt,E as it,Z as ot,aa as nt,b as Xe,ba as K,ea as rt,fa as at,g as Ye,ha as lt,ia as pt,ja as W,l as J,oa as st,p as et,pa as ct,sa as X,ua as ft,x as xe}from"./chunk-RV4MERGH.js";import{d as ut}from"./chunk-UHNK2KA3.js";import{L as Y,P as ee,Q as te,X as ie,Y as oe,ba as dt,ca as mt,da as V,g as Ze,j as qe,k as Ge,l as Ue,o as Qe,q as U,r as Q}from"./chunk-ZPKEMDEL.js";import{$c as q,Aa as k,Ac as p,Bb as De,Bc as He,Cb as Pe,Cc as P,Db as b,F as fe,Fc as Ae,Gc as Be,Hc as Re,Ia as Ce,J as R,Jc as je,Kc as $e,Lc as Z,Nb as Ee,O as he,Qb as M,Rb as w,Sc as E,Tc as N,Ub as Ne,Vb as Oe,Wb as s,Wc as T,Xb as n,Yb as a,Zb as d,Zc as F,_ as x,ad as O,bc as j,cc as $,ec as v,fa as ye,fb as we,ga as Te,gb as l,ia as ke,jc as _,ka as C,lc as c,ld as G,mc as Ve,md as ze,n as B,nc as Fe,oc as We,pa as h,qa as g,qc as _e,rc as be,vc as Le,wa as ge,xa as Me,xb as y,yb as Ie,yc as z,z as Se,zc as ve}from"./chunk-DCMMIJN7.js";import{a as D,b as H,h as A}from"./chunk-YGFG76LK.js";var Mt=`
|
|
2
2
|
.p-popover {
|
|
3
3
|
margin-block-start: dt('popover.gutter');
|
|
4
4
|
background: dt('popover.background');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-5ZPWC7IW.js";import"./chunk-JTAS2T2F.js";import{a as z,c as K,i as D,j as ie}from"./chunk-VQGYU7OO.js";import{a as pe,b as de,c as me,d as ue}from"./chunk-FCG5EJKL.js";import{i as le}from"./chunk-LHGNCGGH.js";import"./chunk-R2FT64I2.js";import{a as ae}from"./chunk-EJFYN7MC.js";import{i as re,o as ne,p as oe,q as se}from"./chunk-Z7KYNL54.js";import"./chunk-FDTUFTE5.js";import"./chunk-OCD7TGOG.js";import{F as v,G as Y,P as J,Q,U as X,X as Z,Y as $,ba as ee,da as te}from"./chunk-JVJYQPKK.js";import{Aa as m,Ac as h,Bc as k,Da as B,Db as E,Ec as j,Fc as M,Gc as I,Hc as P,J as G,Kc as T,M as L,O,Qb as x,Rb as w,Wb as _,Wc as y,Xb as o,Yb as s,Zb as S,Zc as N,_ as b,ec as U,gb as d,i as R,jc as g,ka as C,lc as l,pa as a,qa as p,u as q,ua as A,xb as H,yc as W}from"./chunk-2WOSKSIA.js";import{a as V,b as F}from"./chunk-YGFG76LK.js";var ce=()=>({width:"25rem"}),_e=()=>({"min-width":"50rem"});function ge(r,u){if(r&1){let e=U();o(0,"p-button",19),g("onClick",function(){a(e);let i=l(2);return p(i.onDeleteUser())}),s()}}function he(r,u){if(r&1){let e=U();o(0,"p-button",20),g("onClick",function(){a(e);let i=l(2);return p(i.openAddUser())}),s()}}function fe(r,u){if(r&1&&(o(0,"div",16),x(1,ge,1,0,"p-button",17),x(2,he,1,0,"p-button",18),s()),r&2){let e=l();d(),w(e.userChecked()&&e.userChecked().length>0?1:-1),d(),w(e.isUserAdmin?2:-1)}}function be(r,u){r&1&&(o(0,"th",23),S(1,"p-tableHeaderCheckbox"),s())}function Ce(r,u){if(r&1&&(o(0,"tr"),x(1,be,2,0,"th",23),o(2,"th"),h(3,"Login ID"),s(),o(4,"th"),h(5,"Group"),s()()),r&2){let e=l(3);d(),w(e.isUserAdmin?1:-1)}}function Ue(r,u){if(r&1&&(o(0,"td"),S(1,"p-tableCheckbox",25),s()),r&2){let e=l().$implicit;d(),_("value",e)}}function ye(r,u){if(r&1){let e=U();o(0,"tr"),x(1,Ue,2,1,"td"),o(2,"td")(3,"button",24),g("click",function(){let i=a(e).$implicit,n=l(3);return p(n.openEditUser(i.UserID))}),o(4,"span"),h(5),s()()(),o(6,"td"),h(7),s()()}if(r&2){let e=u.$implicit,t=l(3);d(),w(t.isUserAdmin?1:-1),d(4),k(e.Name),d(2),k(e.GroupName)}}function ve(r,u){if(r&1&&h(0),r&2){let e=l(3);j(" Showing ",e.displayStart()," to ",e.displayEnd()," of ",e.userCount()," entries ")}}function xe(r,u){if(r&1){let e=U();o(0,"p-table",22),g("onPage",function(i){a(e);let n=l(2);return p(n.pageChange(i))})("onRowUnselect",function(i){a(e);let n=l(2);return p(n.onRowUnselect(i))})("onRowSelect",function(i){a(e);let n=l(2);return p(n.onRowSelect(i))}),E(1,Ce,6,1,"ng-template",null,3,y)(3,ye,8,3,"ng-template",null,4,y)(5,ve,1,3,"ng-template",null,5,y),s()}if(r&2){let e=l(2);_("lazy",!0)("paginator",!0)("rows",e.rowsPerPage())("first",e.firstIndex())("totalRecords",e.userCount())("value",e.userList())("tableStyle",T(7,_e))}}function we(r,u){if(r&1&&(o(0,"p-panel"),x(1,xe,7,8,"p-table",21),s()),r&2){let e=l();d(),w(e.filter()?1:-1)}}function Se(r,u){if(r&1){let e=U();o(0,"form",8)(1,"div",9)(2,"label",10),h(3,"Group"),s(),S(4,"p-select",12),s(),o(5,"div",13)(6,"p-button",14),g("onClick",function(){a(e);let i=l();return p(i.onCloseFilterDialog())}),s(),o(7,"p-button",26),g("onClick",function(){a(e);let i=l();return p(i.submitFilter())}),s()()()}if(r&2){let e=l();_("formGroup",e.dialogFilterForm),d(4),_("options",e.groupOptions())}}var je=(()=>{class r{constructor(){this.dialogFilterVisible=m(!1),this.userList=m([]),this.groupOptions=m([]),this.userOptions=m([]),this.userChecked=m([]),this.dialogVisible=m(!1),this.dialogMode=m(null),this.querySearch=m(""),this.filter=m(null),this.userCount=m(0),this.firstIndex=m(0),this.rowsPerPage=m(10),this.displayStart=N(()=>{let e=this.userCount();return e===0?0:Math.min(this.firstIndex()+1,e)}),this.displayEnd=N(()=>Math.min(this.firstIndex()+this.rowsPerPage(),this.userCount())),this.setupUsersService=C(ae),this.fb=C(ee),this.route=C(z),this.router=C(K),this.destroyRef=C(A),this.appStore=C(ie),this.initForm(),this.loadUsers(),this.loadOptions(),this.listenRouteState(),B(()=>{let e=Object.fromEntries(Object.entries(this.filter()??{}).filter(([t,i])=>i!==D));this.loadUsers(e)}),Y(this.querySearch).pipe(L(300),O(),v(this.destroyRef)).subscribe(e=>{this.firstIndex.set(0),this.filter.update(t=>t&&F(V({},t),{Name:e?.trim()?e.trim():D,PageNumber:1}))})}get isUserAdmin(){return this.appStore.userRole()==="admin"}initForm(){this.inviteUserForm=this.fb.group({UserID:this.fb.control(null),GroupID:this.fb.control(null)}),this.dialogFilterForm=this.fb.group({GroupID:this.fb.control(null)})}loadUsers(e){this.setupUsersService.getUserList(e).pipe(b(t=>{this.userList.set(t.Data),this.userCount.set(t.Count)}),G(t=>(this.userList.set([]),this.userCount.set(0),R)),v(this.destroyRef)).subscribe()}submitFilter(){if(this.dialogFilterForm.invalid){this.dialogFilterForm.markAllAsTouched();return}let e=this.dialogFilterForm.getRawValue();this.filter.update(t=>t&&F(V({},t),{GroupID:e.GroupID||D,PageNumber:1})),this.dialogFilterVisible.set(!1)}pageChange(e){console.log(e),this.firstIndex.set(e.first??0),this.rowsPerPage.set(e.rows??this.rowsPerPage());let t=(e.first??0)/(e.rows??this.rowsPerPage())+1;this.filter.update(i=>i&&F(V({},i),{PageNumber:t}))}loadOptions(){let e=this.route.snapshot.queryParamMap.has("id")?{ID:this.route.snapshot.queryParamMap.get("id")||""}:{};q([this.setupUsersService.getUserListLoader1(),this.setupUsersService.getUserListLoader2(e)]).pipe(b(([t,i])=>{this.filter.update(()=>F(V({},t.Filter),{Name:t.Filter.Name||D,GroupID:t.Filter.GroupID||D})),this.groupOptions.set(t.Options),this.userOptions.set(i.Data);let n=t.Filter.PageSize??this.rowsPerPage(),f=t.Filter.PageNumber??1;this.rowsPerPage.set(n),this.firstIndex.set((f-1)*n)}),v(this.destroyRef)).subscribe()}listenRouteState(){this.route.queryParamMap.pipe(b(e=>{let t=e.get("dialog"),i=e.get("id");if(t==="create"){this.dialogMode.update(n=>"create"),this.dialogVisible.update(n=>!0);return}if(t==="edit"&&i){this.dialogMode.update(n=>"edit"),this.dialogVisible.update(n=>!0),this.handleUserEdit(i);return}this.dialogVisible.update(n=>!1),this.dialogMode.update(n=>null)})).subscribe()}openAddUser(){this.router.navigate([],{queryParams:{dialog:"create"},queryParamsHandling:"merge"})}openEditUser(e){this.router.navigate([],{queryParams:{dialog:"edit",id:e},queryParamsHandling:"merge"})}closeModal(){this.router.navigate([],{queryParams:{dialog:null,id:null},queryParamsHandling:"merge"}),this.inviteUserForm.reset(),this.inviteUserForm.controls.UserID.enable({emitEvent:!1})}resetModalState(){this.dialogMode.update(e=>null),this.inviteUserForm.reset()}onSubmit(){if(this.inviteUserForm.invalid){this.inviteUserForm.markAllAsTouched();return}let e=this.inviteUserForm.getRawValue();(this.dialogMode()==="edit"?this.setupUsersService.updateUser(e.UserID,e.GroupID):this.setupUsersService.inviteUser(e)).pipe(b(()=>{this.loadUsers(),this.closeModal(),this.userChecked.set([]),this.inviteUserForm.reset(),this.inviteUserForm.controls.UserID.enable({emitEvent:!1})}),v(this.destroyRef)).subscribe()}onDeleteUser(){this.setupUsersService.deleteUser(this.userChecked()).pipe(b(()=>{this.loadUsers(),this.userChecked.set([])}),v(this.destroyRef)).subscribe()}handleUserEdit(e){this.inviteUserForm.reset(),this.setupUsersService.getUserByID(e).pipe(b(t=>{this.loadOptions(),this.inviteUserForm.controls.UserID.disable({emitEvent:!1}),this.isUserAdmin||this.inviteUserForm.controls.GroupID.disable({emitEvent:!1}),this.inviteUserForm.patchValue({UserID:t.UserID,GroupID:t.GroupID})}),v(this.destroyRef)).subscribe()}onCloseFilterDialog(){this.dialogFilterVisible.set(!1)}onRowSelect(e){let t=e.data.UserID;this.userChecked().includes(t)||this.userChecked.update(i=>[...i,t])}onRowUnselect(e){if("UserID"in e.data){let t=e.data?.UserID;if(!t)return;this.userChecked.update(i=>i.filter(n=>n!==t))}}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275cmp=H({type:r,selectors:[["app-users"]],decls:20,vars:14,consts:[["actionButton",""],["content",""],["filterDialog",""],["header",""],["body",""],["paginatorleft",""],["pageTitle","Users",3,"dialogFilterVisibleChange","querySearchChange","searchable","filterable","dialogFilterVisible","querySearch"],["appendTo","body",3,"visibleChange","onHide","header","modal","visible"],[1,"d-flex","flex-column","gap-4",3,"formGroup"],[1,"form-group","d-flex","flex-column","gap-1"],["for",""],["filter","","filterBy","LoginID","formControlName","UserID","appendTo","body","optionLabel","LoginID","optionValue","ID","placeholder","Select a User",3,"options"],["showClear","","filter","","filterBy","Name","formControlName","GroupID","appendTo","body","optionLabel","Name","optionValue","ID","placeholder","Select a Group",3,"options"],[1,"d-flex","justify-content-end","gap-2"],["label","Cancel","outlined","","severity","secondary",3,"onClick"],["severity","info","label","Save",3,"onClick","disabled"],[1,"d-flex","gap-2","justify-content-end","align-items-center"],["label","Delete"],["severity","info","label","Invite"],["label","Delete",3,"onClick"],["severity","info","label","Invite",3,"onClick"],["dataKey","UserID",3,"lazy","paginator","rows","first","totalRecords","value","tableStyle"],["dataKey","UserID",3,"onPage","onRowUnselect","onRowSelect","lazy","paginator","rows","first","totalRecords","value","tableStyle"],[2,"width","4rem"],[1,"btn","btn-link","link-primary","link-underline-opacity-0",3,"click"],[3,"value"],["severity","info","label","Apply",3,"onClick"]],template:function(t,i){if(t&1){let n=U();o(0,"app-main-panel",6),P("dialogFilterVisibleChange",function(c){return a(n),I(i.dialogFilterVisible,c)||(i.dialogFilterVisible=c),p(c)})("querySearchChange",function(c){return a(n),I(i.querySearch,c)||(i.querySearch=c),p(c)}),E(1,fe,3,2,"ng-template",null,0,y)(3,we,2,1,"ng-template",null,1,y)(5,Se,8,2,"ng-template",null,2,y),s(),o(7,"p-dialog",7),P("visibleChange",function(c){return a(n),I(i.dialogVisible,c)||(i.dialogVisible=c),p(c)}),g("onHide",function(){return a(n),p(i.closeModal())}),o(8,"form",8)(9,"div",9)(10,"label",10),h(11,"User"),s(),S(12,"p-select",11),s(),o(13,"div",9)(14,"label",10),h(15,"Group"),s(),S(16,"p-select",12),s(),o(17,"div",13)(18,"p-button",14),g("onClick",function(){return a(n),p(i.closeModal())}),s(),o(19,"p-button",15),g("onClick",function(){return a(n),p(i.onSubmit())}),s()()()()}t&2&&(_("searchable",!0)("filterable",!0),M("dialogFilterVisible",i.dialogFilterVisible)("querySearch",i.querySearch),d(7),W(T(13,ce)),_("header",i.dialogMode()==="edit"?"Edit User":"Invite User")("modal",!0),M("visible",i.dialogVisible),d(),_("formGroup",i.inviteUserForm),d(4),_("options",i.userOptions()),d(4),_("options",i.groupOptions()),d(3),_("disabled",!i.isUserAdmin))},dependencies:[oe,ue,pe,de,me,se,re,ne,le,te,X,J,Q,$,Z],styles:[".p-datatable .p-datatable-thead tr th{background-color:#f6f6f6!important}"]})}}return r})();export{je as UsersComponent};
|
|
1
|
+
import"./chunk-YMHZIEE3.js";import"./chunk-FPV3HLTW.js";import{a as z,c as K,i as D,j as ie}from"./chunk-QP7HKJYM.js";import{a as pe,b as de,c as me,d as ue}from"./chunk-PEJ24U6O.js";import{i as le}from"./chunk-D72ZHN4T.js";import"./chunk-C77Q27JR.js";import{a as ae}from"./chunk-BK4LVUJL.js";import{i as re,o as ne,p as oe,q as se}from"./chunk-3XATHKDX.js";import"./chunk-RV4MERGH.js";import"./chunk-UHNK2KA3.js";import{F as v,G as Y,P as J,Q,U as X,X as Z,Y as $,ba as ee,da as te}from"./chunk-ZPKEMDEL.js";import{Aa as m,Ac as h,Bc as k,Da as B,Db as E,Ec as j,Fc as M,Gc as I,Hc as P,J as G,Kc as T,M as L,O,Qb as x,Rb as w,Wb as _,Wc as y,Xb as o,Yb as s,Zb as S,Zc as N,_ as b,ec as U,gb as d,i as R,jc as g,ka as C,lc as l,pa as a,qa as p,u as q,ua as A,xb as H,yc as W}from"./chunk-DCMMIJN7.js";import{a as V,b as F}from"./chunk-YGFG76LK.js";var ce=()=>({width:"25rem"}),_e=()=>({"min-width":"50rem"});function ge(r,u){if(r&1){let e=U();o(0,"p-button",19),g("onClick",function(){a(e);let i=l(2);return p(i.onDeleteUser())}),s()}}function he(r,u){if(r&1){let e=U();o(0,"p-button",20),g("onClick",function(){a(e);let i=l(2);return p(i.openAddUser())}),s()}}function fe(r,u){if(r&1&&(o(0,"div",16),x(1,ge,1,0,"p-button",17),x(2,he,1,0,"p-button",18),s()),r&2){let e=l();d(),w(e.userChecked()&&e.userChecked().length>0?1:-1),d(),w(e.isUserAdmin?2:-1)}}function be(r,u){r&1&&(o(0,"th",23),S(1,"p-tableHeaderCheckbox"),s())}function Ce(r,u){if(r&1&&(o(0,"tr"),x(1,be,2,0,"th",23),o(2,"th"),h(3,"Login ID"),s(),o(4,"th"),h(5,"Group"),s()()),r&2){let e=l(3);d(),w(e.isUserAdmin?1:-1)}}function Ue(r,u){if(r&1&&(o(0,"td"),S(1,"p-tableCheckbox",25),s()),r&2){let e=l().$implicit;d(),_("value",e)}}function ye(r,u){if(r&1){let e=U();o(0,"tr"),x(1,Ue,2,1,"td"),o(2,"td")(3,"button",24),g("click",function(){let i=a(e).$implicit,n=l(3);return p(n.openEditUser(i.UserID))}),o(4,"span"),h(5),s()()(),o(6,"td"),h(7),s()()}if(r&2){let e=u.$implicit,t=l(3);d(),w(t.isUserAdmin?1:-1),d(4),k(e.Name),d(2),k(e.GroupName)}}function ve(r,u){if(r&1&&h(0),r&2){let e=l(3);j(" Showing ",e.displayStart()," to ",e.displayEnd()," of ",e.userCount()," entries ")}}function xe(r,u){if(r&1){let e=U();o(0,"p-table",22),g("onPage",function(i){a(e);let n=l(2);return p(n.pageChange(i))})("onRowUnselect",function(i){a(e);let n=l(2);return p(n.onRowUnselect(i))})("onRowSelect",function(i){a(e);let n=l(2);return p(n.onRowSelect(i))}),E(1,Ce,6,1,"ng-template",null,3,y)(3,ye,8,3,"ng-template",null,4,y)(5,ve,1,3,"ng-template",null,5,y),s()}if(r&2){let e=l(2);_("lazy",!0)("paginator",!0)("rows",e.rowsPerPage())("first",e.firstIndex())("totalRecords",e.userCount())("value",e.userList())("tableStyle",T(7,_e))}}function we(r,u){if(r&1&&(o(0,"p-panel"),x(1,xe,7,8,"p-table",21),s()),r&2){let e=l();d(),w(e.filter()?1:-1)}}function Se(r,u){if(r&1){let e=U();o(0,"form",8)(1,"div",9)(2,"label",10),h(3,"Group"),s(),S(4,"p-select",12),s(),o(5,"div",13)(6,"p-button",14),g("onClick",function(){a(e);let i=l();return p(i.onCloseFilterDialog())}),s(),o(7,"p-button",26),g("onClick",function(){a(e);let i=l();return p(i.submitFilter())}),s()()()}if(r&2){let e=l();_("formGroup",e.dialogFilterForm),d(4),_("options",e.groupOptions())}}var je=(()=>{class r{constructor(){this.dialogFilterVisible=m(!1),this.userList=m([]),this.groupOptions=m([]),this.userOptions=m([]),this.userChecked=m([]),this.dialogVisible=m(!1),this.dialogMode=m(null),this.querySearch=m(""),this.filter=m(null),this.userCount=m(0),this.firstIndex=m(0),this.rowsPerPage=m(10),this.displayStart=N(()=>{let e=this.userCount();return e===0?0:Math.min(this.firstIndex()+1,e)}),this.displayEnd=N(()=>Math.min(this.firstIndex()+this.rowsPerPage(),this.userCount())),this.setupUsersService=C(ae),this.fb=C(ee),this.route=C(z),this.router=C(K),this.destroyRef=C(A),this.appStore=C(ie),this.initForm(),this.loadUsers(),this.loadOptions(),this.listenRouteState(),B(()=>{let e=Object.fromEntries(Object.entries(this.filter()??{}).filter(([t,i])=>i!==D));this.loadUsers(e)}),Y(this.querySearch).pipe(L(300),O(),v(this.destroyRef)).subscribe(e=>{this.firstIndex.set(0),this.filter.update(t=>t&&F(V({},t),{Name:e?.trim()?e.trim():D,PageNumber:1}))})}get isUserAdmin(){return this.appStore.userRole()==="admin"}initForm(){this.inviteUserForm=this.fb.group({UserID:this.fb.control(null),GroupID:this.fb.control(null)}),this.dialogFilterForm=this.fb.group({GroupID:this.fb.control(null)})}loadUsers(e){this.setupUsersService.getUserList(e).pipe(b(t=>{this.userList.set(t.Data),this.userCount.set(t.Count)}),G(t=>(this.userList.set([]),this.userCount.set(0),R)),v(this.destroyRef)).subscribe()}submitFilter(){if(this.dialogFilterForm.invalid){this.dialogFilterForm.markAllAsTouched();return}let e=this.dialogFilterForm.getRawValue();this.filter.update(t=>t&&F(V({},t),{GroupID:e.GroupID||D,PageNumber:1})),this.dialogFilterVisible.set(!1)}pageChange(e){console.log(e),this.firstIndex.set(e.first??0),this.rowsPerPage.set(e.rows??this.rowsPerPage());let t=(e.first??0)/(e.rows??this.rowsPerPage())+1;this.filter.update(i=>i&&F(V({},i),{PageNumber:t}))}loadOptions(){let e=this.route.snapshot.queryParamMap.has("id")?{ID:this.route.snapshot.queryParamMap.get("id")||""}:{};q([this.setupUsersService.getUserListLoader1(),this.setupUsersService.getUserListLoader2(e)]).pipe(b(([t,i])=>{this.filter.update(()=>F(V({},t.Filter),{Name:t.Filter.Name||D,GroupID:t.Filter.GroupID||D})),this.groupOptions.set(t.Options),this.userOptions.set(i.Data);let n=t.Filter.PageSize??this.rowsPerPage(),f=t.Filter.PageNumber??1;this.rowsPerPage.set(n),this.firstIndex.set((f-1)*n)}),v(this.destroyRef)).subscribe()}listenRouteState(){this.route.queryParamMap.pipe(b(e=>{let t=e.get("dialog"),i=e.get("id");if(t==="create"){this.dialogMode.update(n=>"create"),this.dialogVisible.update(n=>!0);return}if(t==="edit"&&i){this.dialogMode.update(n=>"edit"),this.dialogVisible.update(n=>!0),this.handleUserEdit(i);return}this.dialogVisible.update(n=>!1),this.dialogMode.update(n=>null)})).subscribe()}openAddUser(){this.router.navigate([],{queryParams:{dialog:"create"},queryParamsHandling:"merge"})}openEditUser(e){this.router.navigate([],{queryParams:{dialog:"edit",id:e},queryParamsHandling:"merge"})}closeModal(){this.router.navigate([],{queryParams:{dialog:null,id:null},queryParamsHandling:"merge"}),this.inviteUserForm.reset(),this.inviteUserForm.controls.UserID.enable({emitEvent:!1})}resetModalState(){this.dialogMode.update(e=>null),this.inviteUserForm.reset()}onSubmit(){if(this.inviteUserForm.invalid){this.inviteUserForm.markAllAsTouched();return}let e=this.inviteUserForm.getRawValue();(this.dialogMode()==="edit"?this.setupUsersService.updateUser(e.UserID,e.GroupID):this.setupUsersService.inviteUser(e)).pipe(b(()=>{this.loadUsers(),this.closeModal(),this.userChecked.set([]),this.inviteUserForm.reset(),this.inviteUserForm.controls.UserID.enable({emitEvent:!1})}),v(this.destroyRef)).subscribe()}onDeleteUser(){this.setupUsersService.deleteUser(this.userChecked()).pipe(b(()=>{this.loadUsers(),this.userChecked.set([])}),v(this.destroyRef)).subscribe()}handleUserEdit(e){this.inviteUserForm.reset(),this.setupUsersService.getUserByID(e).pipe(b(t=>{this.loadOptions(),this.inviteUserForm.controls.UserID.disable({emitEvent:!1}),this.isUserAdmin||this.inviteUserForm.controls.GroupID.disable({emitEvent:!1}),this.inviteUserForm.patchValue({UserID:t.UserID,GroupID:t.GroupID})}),v(this.destroyRef)).subscribe()}onCloseFilterDialog(){this.dialogFilterVisible.set(!1)}onRowSelect(e){let t=e.data.UserID;this.userChecked().includes(t)||this.userChecked.update(i=>[...i,t])}onRowUnselect(e){if("UserID"in e.data){let t=e.data?.UserID;if(!t)return;this.userChecked.update(i=>i.filter(n=>n!==t))}}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275cmp=H({type:r,selectors:[["app-users"]],decls:20,vars:14,consts:[["actionButton",""],["content",""],["filterDialog",""],["header",""],["body",""],["paginatorleft",""],["pageTitle","Users",3,"dialogFilterVisibleChange","querySearchChange","searchable","filterable","dialogFilterVisible","querySearch"],["appendTo","body",3,"visibleChange","onHide","header","modal","visible"],[1,"d-flex","flex-column","gap-4",3,"formGroup"],[1,"form-group","d-flex","flex-column","gap-1"],["for",""],["filter","","filterBy","LoginID","formControlName","UserID","appendTo","body","optionLabel","LoginID","optionValue","ID","placeholder","Select a User",3,"options"],["showClear","","filter","","filterBy","Name","formControlName","GroupID","appendTo","body","optionLabel","Name","optionValue","ID","placeholder","Select a Group",3,"options"],[1,"d-flex","justify-content-end","gap-2"],["label","Cancel","outlined","","severity","secondary",3,"onClick"],["severity","info","label","Save",3,"onClick","disabled"],[1,"d-flex","gap-2","justify-content-end","align-items-center"],["label","Delete"],["severity","info","label","Invite"],["label","Delete",3,"onClick"],["severity","info","label","Invite",3,"onClick"],["dataKey","UserID",3,"lazy","paginator","rows","first","totalRecords","value","tableStyle"],["dataKey","UserID",3,"onPage","onRowUnselect","onRowSelect","lazy","paginator","rows","first","totalRecords","value","tableStyle"],[2,"width","4rem"],[1,"btn","btn-link","link-primary","link-underline-opacity-0",3,"click"],[3,"value"],["severity","info","label","Apply",3,"onClick"]],template:function(t,i){if(t&1){let n=U();o(0,"app-main-panel",6),P("dialogFilterVisibleChange",function(c){return a(n),I(i.dialogFilterVisible,c)||(i.dialogFilterVisible=c),p(c)})("querySearchChange",function(c){return a(n),I(i.querySearch,c)||(i.querySearch=c),p(c)}),E(1,fe,3,2,"ng-template",null,0,y)(3,we,2,1,"ng-template",null,1,y)(5,Se,8,2,"ng-template",null,2,y),s(),o(7,"p-dialog",7),P("visibleChange",function(c){return a(n),I(i.dialogVisible,c)||(i.dialogVisible=c),p(c)}),g("onHide",function(){return a(n),p(i.closeModal())}),o(8,"form",8)(9,"div",9)(10,"label",10),h(11,"User"),s(),S(12,"p-select",11),s(),o(13,"div",9)(14,"label",10),h(15,"Group"),s(),S(16,"p-select",12),s(),o(17,"div",13)(18,"p-button",14),g("onClick",function(){return a(n),p(i.closeModal())}),s(),o(19,"p-button",15),g("onClick",function(){return a(n),p(i.onSubmit())}),s()()()()}t&2&&(_("searchable",!0)("filterable",!0),M("dialogFilterVisible",i.dialogFilterVisible)("querySearch",i.querySearch),d(7),W(T(13,ce)),_("header",i.dialogMode()==="edit"?"Edit User":"Invite User")("modal",!0),M("visible",i.dialogVisible),d(),_("formGroup",i.inviteUserForm),d(4),_("options",i.userOptions()),d(4),_("options",i.groupOptions()),d(3),_("disabled",!i.isUserAdmin))},dependencies:[oe,ue,pe,de,me,se,re,ne,le,te,X,J,Q,$,Z],styles:[".p-datatable .p-datatable-thead tr th{background-color:#f6f6f6!important}"]})}}return r})();export{je as UsersComponent};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{$ as ye,Ba as Be,I as te,J as ee,L as ve,U as Q,a as be,aa as It,b as ge,ba as ct,c as Zt,ca as ne,d as Xt,fa as $,h as Yt,ha as F,i as Kt,ia as k,ja as m,ka as wt,l as fe,la as nt,m as Pt,ma as Ce,oa as Ht,p as Tt,pa as Rt,q as Jt,sa as kt,t as he,ua as De,va as Ee,w as _e,wa as Pe,xa as jt,y as Ot,ya as oe,za as ie}from"./chunk-FDTUFTE5.js";import{a as Me}from"./chunk-OCD7TGOG.js";import{L as xe,O as Te,P as Ie,T as we,ca as ke,g as me,j as xt,k as Vt,l as pt,q as J,r as it}from"./chunk-JVJYQPKK.js";import{$b as W,Aa as vt,Ac as st,Bb as P,Bc as dt,Cb as f,Da as Y,Db as c,Fc as $t,Gc as Ut,Hc as Qt,Ia as b,Jc as S,Ka as le,Kc as ce,Lc as ue,Mc as qt,Nb as x,Pa as zt,Qb as gt,Rb as ft,Wb as r,Wc as yt,Xb as _,Yb as v,Zb as B,Zc as U,_b as G,ac as O,ad as h,bc as H,cc as R,cd as Gt,dc as N,ec as j,ed as Wt,fa as V,fc as et,ga as X,gb as a,ia as E,jc as D,ka as p,lc as d,ld as u,mc as Z,md as Ct,nc as A,oc as lt,pa as I,pc as Nt,qa as w,qc as y,ra as M,rc as C,sc as se,ta as Ft,uc as de,vc as At,wa as z,wc as pe,xa as ae,xb as T,xc as Lt,yb as K,yc as ht,zb as q,zc as g}from"./chunk-2WOSKSIA.js";import{a as tt}from"./chunk-YGFG76LK.js";var Se=(()=>{class e extends k{autofocus=!1;focused=!1;platformId=p(zt);document=p(Ft);host=p(le);onAfterContentChecked(){this.autofocus===!1?this.host.nativeElement.removeAttribute("autofocus"):this.host.nativeElement.setAttribute("autofocus",!0),this.focused||this.autoFocus()}onAfterViewChecked(){this.focused||this.autoFocus()}autoFocus(){it(this.platformId)&&this.autofocus&&setTimeout(()=>{let t=jt.getFocusableElements(this.host?.nativeElement);t.length===0&&this.host.nativeElement.focus(),t.length>0&&t[0].focus(),this.focused=!0})}static \u0275fac=(()=>{let t;return function(n){return(t||(t=b(e)))(n||e)}})();static \u0275dir=q({type:e,selectors:[["","pAutoFocus",""]],inputs:{autofocus:[0,"pAutoFocus","autofocus"]},features:[f]})}return e})();var _n=["*"],vn={root:"p-fluid"},Fe=(()=>{class e extends ${name="fluid";classes=vn;static \u0275fac=(()=>{let t;return function(n){return(t||(t=b(e)))(n||e)}})();static \u0275prov=V({token:e,factory:e.\u0275fac})}return e})();var ze=new E("FLUID_INSTANCE"),Bt=(()=>{class e extends k{$pcFluid=p(ze,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=p(m,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}_componentStyle=p(Fe);static \u0275fac=(()=>{let t;return function(n){return(t||(t=b(e)))(n||e)}})();static \u0275cmp=T({type:e,selectors:[["p-fluid"]],hostVars:2,hostBindings:function(o,n){o&2&&g(n.cx("root"))},features:[S([Fe,{provide:ze,useExisting:e},{provide:F,useExisting:e}]),P([m]),f],ngContentSelectors:_n,decls:1,vars:0,template:function(o,n){o&1&&(Z(),A(0))},dependencies:[J],encapsulation:2,changeDetection:0})}return e})();var yn=["data-p-icon","minus"],Ne=(()=>{class e extends nt{static \u0275fac=(()=>{let t;return function(n){return(t||(t=b(e)))(n||e)}})();static \u0275cmp=T({type:e,selectors:[["","data-p-icon","minus"]],features:[f],attrs:yn,decls:1,vars:0,consts:[["d","M13.2222 7.77778H0.777778C0.571498 7.77778 0.373667 7.69584 0.227806 7.54998C0.0819442 7.40412 0 7.20629 0 7.00001C0 6.79373 0.0819442 6.5959 0.227806 6.45003C0.373667 6.30417 0.571498 6.22223 0.777778 6.22223H13.2222C13.4285 6.22223 13.6263 6.30417 13.7722 6.45003C13.9181 6.5959 14 6.79373 14 7.00001C14 7.20629 13.9181 7.40412 13.7722 7.54998C13.6263 7.69584 13.4285 7.77778 13.2222 7.77778Z","fill","currentColor"]],template:function(o,n){o&1&&(M(),O(0,"path",0))},encapsulation:2})}return e})();var Cn=["data-p-icon","plus"],Ae=(()=>{class e extends nt{pathId;onInit(){this.pathId="url(#"+Q()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=b(e)))(n||e)}})();static \u0275cmp=T({type:e,selectors:[["","data-p-icon","plus"]],features:[f],attrs:Cn,decls:5,vars:2,consts:[["d","M7.67742 6.32258V0.677419C7.67742 0.497757 7.60605 0.325452 7.47901 0.198411C7.35197 0.0713707 7.17966 0 7 0C6.82034 0 6.64803 0.0713707 6.52099 0.198411C6.39395 0.325452 6.32258 0.497757 6.32258 0.677419V6.32258H0.677419C0.497757 6.32258 0.325452 6.39395 0.198411 6.52099C0.0713707 6.64803 0 6.82034 0 7C0 7.17966 0.0713707 7.35197 0.198411 7.47901C0.325452 7.60605 0.497757 7.67742 0.677419 7.67742H6.32258V13.3226C6.32492 13.5015 6.39704 13.6725 6.52358 13.799C6.65012 13.9255 6.82106 13.9977 7 14C7.17966 14 7.35197 13.9286 7.47901 13.8016C7.60605 13.6745 7.67742 13.5022 7.67742 13.3226V7.67742H13.3226C13.5022 7.67742 13.6745 7.60605 13.8016 7.47901C13.9286 7.35197 14 7.17966 14 7C13.9977 6.82106 13.9255 6.65012 13.799 6.52358C13.6725 6.39704 13.5015 6.32492 13.3226 6.32258H7.67742Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(o,n){o&1&&(M(),G(0,"g"),O(1,"path",0),W(),G(2,"defs")(3,"clipPath",1),O(4,"rect",2),W()()),o&2&&(x("clip-path",n.pathId),a(3),et("id",n.pathId))},encapsulation:2})}return e})();var xn=["data-p-icon","spinner"],Le=(()=>{class e extends nt{pathId;onInit(){this.pathId="url(#"+Q()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=b(e)))(n||e)}})();static \u0275cmp=T({type:e,selectors:[["","data-p-icon","spinner"]],features:[f],attrs:xn,decls:5,vars:2,consts:[["d","M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(o,n){o&1&&(M(),G(0,"g"),O(1,"path",0),W(),G(2,"defs")(3,"clipPath",1),O(4,"rect",2),W()()),o&2&&(x("clip-path",n.pathId),a(3),et("id",n.pathId))},encapsulation:2})}return e})();var Tn=["data-p-icon","window-maximize"],Ve=(()=>{class e extends nt{pathId;onInit(){this.pathId="url(#"+Q()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=b(e)))(n||e)}})();static \u0275cmp=T({type:e,selectors:[["","data-p-icon","window-maximize"]],features:[f],attrs:Tn,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(o,n){o&1&&(M(),G(0,"g"),O(1,"path",0),W(),G(2,"defs")(3,"clipPath",1),O(4,"rect",2),W()()),o&2&&(x("clip-path",n.pathId),a(3),et("id",n.pathId))},encapsulation:2})}return e})();var In=["data-p-icon","window-minimize"],Oe=(()=>{class e extends nt{pathId;onInit(){this.pathId="url(#"+Q()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=b(e)))(n||e)}})();static \u0275cmp=T({type:e,selectors:[["","data-p-icon","window-minimize"]],features:[f],attrs:In,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(o,n){o&1&&(M(),G(0,"g"),O(1,"path",0),W(),G(2,"defs")(3,"clipPath",1),O(4,"rect",2),W()()),o&2&&(x("clip-path",n.pathId),a(3),et("id",n.pathId))},encapsulation:2})}return e})();var He=`
|
|
1
|
+
import{$ as ye,Ba as Be,I as te,J as ee,L as ve,U as Q,a as be,aa as It,b as ge,ba as ct,c as Zt,ca as ne,d as Xt,fa as $,h as Yt,ha as F,i as Kt,ia as k,ja as m,ka as wt,l as fe,la as nt,m as Pt,ma as Ce,oa as Ht,p as Tt,pa as Rt,q as Jt,sa as kt,t as he,ua as De,va as Ee,w as _e,wa as Pe,xa as jt,y as Ot,ya as oe,za as ie}from"./chunk-RV4MERGH.js";import{a as Me}from"./chunk-UHNK2KA3.js";import{L as xe,O as Te,P as Ie,T as we,ca as ke,g as me,j as xt,k as Vt,l as pt,q as J,r as it}from"./chunk-ZPKEMDEL.js";import{$b as W,Aa as vt,Ac as st,Bb as P,Bc as dt,Cb as f,Da as Y,Db as c,Fc as $t,Gc as Ut,Hc as Qt,Ia as b,Jc as S,Ka as le,Kc as ce,Lc as ue,Mc as qt,Nb as x,Pa as zt,Qb as gt,Rb as ft,Wb as r,Wc as yt,Xb as _,Yb as v,Zb as B,Zc as U,_b as G,ac as O,ad as h,bc as H,cc as R,cd as Gt,dc as N,ec as j,ed as Wt,fa as V,fc as et,ga as X,gb as a,ia as E,jc as D,ka as p,lc as d,ld as u,mc as Z,md as Ct,nc as A,oc as lt,pa as I,pc as Nt,qa as w,qc as y,ra as M,rc as C,sc as se,ta as Ft,uc as de,vc as At,wa as z,wc as pe,xa as ae,xb as T,xc as Lt,yb as K,yc as ht,zb as q,zc as g}from"./chunk-DCMMIJN7.js";import{a as tt}from"./chunk-YGFG76LK.js";var Se=(()=>{class e extends k{autofocus=!1;focused=!1;platformId=p(zt);document=p(Ft);host=p(le);onAfterContentChecked(){this.autofocus===!1?this.host.nativeElement.removeAttribute("autofocus"):this.host.nativeElement.setAttribute("autofocus",!0),this.focused||this.autoFocus()}onAfterViewChecked(){this.focused||this.autoFocus()}autoFocus(){it(this.platformId)&&this.autofocus&&setTimeout(()=>{let t=jt.getFocusableElements(this.host?.nativeElement);t.length===0&&this.host.nativeElement.focus(),t.length>0&&t[0].focus(),this.focused=!0})}static \u0275fac=(()=>{let t;return function(n){return(t||(t=b(e)))(n||e)}})();static \u0275dir=q({type:e,selectors:[["","pAutoFocus",""]],inputs:{autofocus:[0,"pAutoFocus","autofocus"]},features:[f]})}return e})();var _n=["*"],vn={root:"p-fluid"},Fe=(()=>{class e extends ${name="fluid";classes=vn;static \u0275fac=(()=>{let t;return function(n){return(t||(t=b(e)))(n||e)}})();static \u0275prov=V({token:e,factory:e.\u0275fac})}return e})();var ze=new E("FLUID_INSTANCE"),Bt=(()=>{class e extends k{$pcFluid=p(ze,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=p(m,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}_componentStyle=p(Fe);static \u0275fac=(()=>{let t;return function(n){return(t||(t=b(e)))(n||e)}})();static \u0275cmp=T({type:e,selectors:[["p-fluid"]],hostVars:2,hostBindings:function(o,n){o&2&&g(n.cx("root"))},features:[S([Fe,{provide:ze,useExisting:e},{provide:F,useExisting:e}]),P([m]),f],ngContentSelectors:_n,decls:1,vars:0,template:function(o,n){o&1&&(Z(),A(0))},dependencies:[J],encapsulation:2,changeDetection:0})}return e})();var yn=["data-p-icon","minus"],Ne=(()=>{class e extends nt{static \u0275fac=(()=>{let t;return function(n){return(t||(t=b(e)))(n||e)}})();static \u0275cmp=T({type:e,selectors:[["","data-p-icon","minus"]],features:[f],attrs:yn,decls:1,vars:0,consts:[["d","M13.2222 7.77778H0.777778C0.571498 7.77778 0.373667 7.69584 0.227806 7.54998C0.0819442 7.40412 0 7.20629 0 7.00001C0 6.79373 0.0819442 6.5959 0.227806 6.45003C0.373667 6.30417 0.571498 6.22223 0.777778 6.22223H13.2222C13.4285 6.22223 13.6263 6.30417 13.7722 6.45003C13.9181 6.5959 14 6.79373 14 7.00001C14 7.20629 13.9181 7.40412 13.7722 7.54998C13.6263 7.69584 13.4285 7.77778 13.2222 7.77778Z","fill","currentColor"]],template:function(o,n){o&1&&(M(),O(0,"path",0))},encapsulation:2})}return e})();var Cn=["data-p-icon","plus"],Ae=(()=>{class e extends nt{pathId;onInit(){this.pathId="url(#"+Q()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=b(e)))(n||e)}})();static \u0275cmp=T({type:e,selectors:[["","data-p-icon","plus"]],features:[f],attrs:Cn,decls:5,vars:2,consts:[["d","M7.67742 6.32258V0.677419C7.67742 0.497757 7.60605 0.325452 7.47901 0.198411C7.35197 0.0713707 7.17966 0 7 0C6.82034 0 6.64803 0.0713707 6.52099 0.198411C6.39395 0.325452 6.32258 0.497757 6.32258 0.677419V6.32258H0.677419C0.497757 6.32258 0.325452 6.39395 0.198411 6.52099C0.0713707 6.64803 0 6.82034 0 7C0 7.17966 0.0713707 7.35197 0.198411 7.47901C0.325452 7.60605 0.497757 7.67742 0.677419 7.67742H6.32258V13.3226C6.32492 13.5015 6.39704 13.6725 6.52358 13.799C6.65012 13.9255 6.82106 13.9977 7 14C7.17966 14 7.35197 13.9286 7.47901 13.8016C7.60605 13.6745 7.67742 13.5022 7.67742 13.3226V7.67742H13.3226C13.5022 7.67742 13.6745 7.60605 13.8016 7.47901C13.9286 7.35197 14 7.17966 14 7C13.9977 6.82106 13.9255 6.65012 13.799 6.52358C13.6725 6.39704 13.5015 6.32492 13.3226 6.32258H7.67742Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(o,n){o&1&&(M(),G(0,"g"),O(1,"path",0),W(),G(2,"defs")(3,"clipPath",1),O(4,"rect",2),W()()),o&2&&(x("clip-path",n.pathId),a(3),et("id",n.pathId))},encapsulation:2})}return e})();var xn=["data-p-icon","spinner"],Le=(()=>{class e extends nt{pathId;onInit(){this.pathId="url(#"+Q()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=b(e)))(n||e)}})();static \u0275cmp=T({type:e,selectors:[["","data-p-icon","spinner"]],features:[f],attrs:xn,decls:5,vars:2,consts:[["d","M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(o,n){o&1&&(M(),G(0,"g"),O(1,"path",0),W(),G(2,"defs")(3,"clipPath",1),O(4,"rect",2),W()()),o&2&&(x("clip-path",n.pathId),a(3),et("id",n.pathId))},encapsulation:2})}return e})();var Tn=["data-p-icon","window-maximize"],Ve=(()=>{class e extends nt{pathId;onInit(){this.pathId="url(#"+Q()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=b(e)))(n||e)}})();static \u0275cmp=T({type:e,selectors:[["","data-p-icon","window-maximize"]],features:[f],attrs:Tn,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(o,n){o&1&&(M(),G(0,"g"),O(1,"path",0),W(),G(2,"defs")(3,"clipPath",1),O(4,"rect",2),W()()),o&2&&(x("clip-path",n.pathId),a(3),et("id",n.pathId))},encapsulation:2})}return e})();var In=["data-p-icon","window-minimize"],Oe=(()=>{class e extends nt{pathId;onInit(){this.pathId="url(#"+Q()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=b(e)))(n||e)}})();static \u0275cmp=T({type:e,selectors:[["","data-p-icon","window-minimize"]],features:[f],attrs:In,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(o,n){o&1&&(M(),G(0,"g"),O(1,"path",0),W(),G(2,"defs")(3,"clipPath",1),O(4,"rect",2),W()()),o&2&&(x("clip-path",n.pathId),a(3),et("id",n.pathId))},encapsulation:2})}return e})();var He=`
|
|
2
2
|
.p-button {
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
cursor: pointer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as q}from"./chunk-
|
|
1
|
+
import{e as q}from"./chunk-4UKDI253.js";import{c as T,g as I,h as c,j as K}from"./chunk-QP7HKJYM.js";import{d as H}from"./chunk-UHNK2KA3.js";import{K as F,L as A,P as U,Q as j,V as R,X as G,Y as z,ba as L,da as B,g as V,q as N}from"./chunk-ZPKEMDEL.js";import{Aa as M,Ac as i,Bc as D,Cc as O,Lc as _,Qb as h,Rb as g,Wb as a,Xb as e,Yb as t,Zb as l,db as P,ec as w,gb as o,jc as p,ka as f,lc as y,pa as m,qa as s,vc as b,xb as E}from"./chunk-DCMMIJN7.js";import"./chunk-YGFG76LK.js";var k=n=>({active:n});function J(n,S){n&1&&(e(0,"h4"),i(1,"This menu is for printing barcodes that will be placed directly on your products."),t())}function Q(n,S){n&1&&(e(0,"h4"),i(1," This option is designed for printing barcodes and labels that will be displayed on the shelves where your products are stored. "),t())}function W(n,S){n&1&&(e(0,"h4"),i(1,"This option is for setting up user accounts and managing user permissions."),t())}function X(n,S){if(n&1){let d=w();e(0,"div",27),p("click",function(){m(d),y();let r=b(36);return s(r.click())}),e(1,"div",28)(2,"div",29),l(3,"i",7),t(),e(4,"h6",31),i(5,"Setup"),t(),e(6,"h4",32),i(7,"Users"),t()()()}if(n&2){let d=y();a("ngClass",_(1,k,d.form.get("printMode").value===3))}}var me=(()=>{class n{constructor(){this.domain=M(""),this.username=M(""),this.appStore=f(K),this.router=f(T),this.fb=f(L),this.authService=f(q)}ngOnInit(){this.initForm()}ngAfterViewInit(){this.domain.set(localStorage.getItem(c.Host)),this.username.set(localStorage.getItem(c.Username))}onNext(){let d=this.form.get("printMode").value;switch(this.appStore.clearAll(),d){case 1:this.form.get("rememberMe").value&&localStorage.setItem(c.PrintMode,"barcode"),this.router.navigate(["/pages/profile-template"]);break;case 2:this.form.get("rememberMe").value&&localStorage.setItem(c.PrintMode,"priceLabel"),this.router.navigate(["/pages/price-label"]);break;case 3:this.form.get("rememberMe").value&&localStorage.setItem(c.PrintMode,"setupUsers"),this.router.navigate(["/pages/setup/users"]);break;default:console.error("Unknown print mode selected:",d)}}initForm(){this.form=this.fb.group({printMode:this.fb.control(localStorage.getItem(c.PrintMode)==="priceLabel"?2:1),rememberMe:this.fb.control(!0)})}get isUserAdmin(){return this.appStore.userRole()==="admin"}static{this.\u0275fac=function(u){return new(u||n)}}static{this.\u0275cmp=E({type:n,selectors:[["app-print-mode-selector"]],decls:63,vars:17,consts:[["radioDefault1",""],["radioDefault2",""],["radioDefault3",""],[1,"navbar","navbar-light","bg-white","shadow-sm","px-4","py-2"],[1,"fw-normal","mt-2"],[1,"dropdown"],["type","button","id","profileMenu","data-bs-toggle","dropdown","aria-expanded","false",1,"btn","btn-light","rounded-circle","d-flex","align-items-center","justify-content-center",2,"width","40px","height","40px"],[1,"fa-solid","fa-user"],["aria-labelledby","profileMenu",1,"dropdown-menu","dropdown-menu-end","shadow","border-0","p-3",2,"width","250px","border-radius","1rem"],[1,"mb-2"],[1,"fw-bold","text-uppercase"],[1,"d-flex","align-items-center","mb-3"],[1,"me-3"],[1,"fa-solid","fa-user-circle","fa-3x","text-secondary"],[1,"mt-3","fw-bold"],[1,"text-muted","fw-bolder"],["rel","noopener noreferrer","target","_blank",1,"text-primary","text-decoration-none",3,"href"],[1,"dropdown-divider"],["href","javascript:void(0)",1,"btn","btn-primary","w-100","rounded-pill",3,"click"],[1,"d-flex","flex-column",2,"height","calc(100vh - 56px)"],[1,"flex-grow-1","w-100","d-flex","flex-column","justify-content-center","align-items-center","gap-4","px-3"],["id","header",1,"text-center","mb-4"],[1,"row","g-4","justify-content-center","w-100",2,"max-width","960px",3,"formGroup"],["formControlName","printMode","type","radio","name","printMode",1,"form-check-input","d-none",3,"value"],["formControlName","printMode","type","radio","name","printMode","checked","",1,"form-check-input","d-none",3,"value"],[1,"d-flex","flex-column","align-items-center","gap-4","w-100"],[1,"d-flex","gap-5","justify-content-center","flex-wrap"],[1,"card","option-card",3,"click","ngClass"],[1,"card-body","text-center"],[1,"icon-wrapper","mb-2","mt-4"],[1,"fa-solid","fa-barcode"],[1,"text-muted","mb-1"],[1,"fw-normal"],[1,"fa-solid","fa-shelves"],[1,"card","option-card",3,"ngClass"],[1,"form-check","d-flex","justify-content-center","align-items-center","gap-2","mt-3"],["type","checkbox","formControlName","rememberMe","id","checkDefault",1,"form-check-input"],["for","checkDefault",1,"form-check-label"],[1,"mt-3"],["type","button",1,"btn","btn-primary","btn-lg","px-5","rounded-pill","shadow-lg",3,"click"]],template:function(u,r){if(u&1){let v=w();e(0,"nav",3)(1,"h2",4),i(2,"Choose Barcode Mode"),t(),e(3,"div",5)(4,"button",6),l(5,"i",7),t(),e(6,"ul",8)(7,"li",9)(8,"span",10),i(9,"User Profile"),t()(),e(10,"li",11)(11,"div",12),l(12,"i",13),t(),e(13,"div")(14,"h6",14),i(15),t(),e(16,"h6",15)(17,"a",16),i(18),t()()()(),e(19,"li"),l(20,"hr",17),t(),e(21,"li")(22,"button",18),p("click",function(){return m(v),s(r.authService.logout())}),i(23," SIGN OUT "),t()()()()(),e(24,"div",19)(25,"main",20)(26,"div",21),h(27,J,2,0,"h4"),h(28,Q,2,0,"h4"),h(29,W,2,0,"h4"),t(),e(30,"div",22),l(31,"input",23,0)(33,"input",24,1)(35,"input",24,2),e(37,"div",25)(38,"div",26)(39,"div",27),p("click",function(){m(v);let x=b(32);return s(x.click())}),e(40,"div",28)(41,"div",29),l(42,"i",30),t(),e(43,"h6",31),i(44,"Print"),t(),e(45,"h4",32),i(46,"Product"),t()()(),e(47,"div",27),p("click",function(){m(v);let x=b(34);return s(x.click())}),e(48,"div",28)(49,"div",29),l(50,"i",33),t(),e(51,"h6",31),i(52,"Print"),t(),e(53,"h4",32),i(54,"Shelf"),t()()(),h(55,X,8,3,"div",34),t(),e(56,"div",35),l(57,"input",36),e(58,"label",37),i(59,"Remember my decision"),t()(),e(60,"div",38)(61,"button",39),p("click",function(){return m(v),s(r.onNext())}),i(62," Next "),t()()()()()()}u&2&&(o(15),D(r.username()),o(2),a("href","https://"+r.domain(),P),o(),O(" ",r.domain()," "),o(9),g(r.form.get("printMode").value===1?27:-1),o(),g(r.form.get("printMode").value===2?28:-1),o(),g(r.form.get("printMode").value===3?29:-1),o(),a("formGroup",r.form),o(),a("value",1),o(2),a("value",2),o(2),a("value",3),o(4),a("ngClass",_(13,k,r.form.get("printMode").value===1)),o(8),a("ngClass",_(15,k,r.form.get("printMode").value===2)),o(8),g(r.isUserAdmin?55:-1))},dependencies:[N,V,I,B,A,F,R,U,j,z,G,H],styles:["[_nghost-%COMP%]{display:block}main[_ngcontent-%COMP%]{background-color:#f5f5f5}.card[_ngcontent-%COMP%]{width:205px;height:205px;border-radius:8px;transition:transform .3s ease,border-color .3s ease}.card[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:4rem}.card.active[_ngcontent-%COMP%]{border:2px solid blue;transform:scale(1.05)}.dropdown-menu[_ngcontent-%COMP%]{position:absolute;right:0}#header[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0}#header[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:nth-child(1){font-size:2rem;font-weight:500}#header[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:nth-child(2){font-size:.8rem}"],changeDetection:0})}}return n})();export{me as PrintModeSelectorComponent};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as er,c as tr,h as p,j as ir}from"./chunk-
|
|
1
|
+
import{a as er,c as tr,h as p,j as ir}from"./chunk-QP7HKJYM.js";import{I as nr,ha as rr}from"./chunk-ZPKEMDEL.js";import{Ca as Zn,Fa as G,J as At,Pa as Qn,V as Gn,Y as Kn,_ as se,aa as Jn,ba as Yn,c as me,d as Hn,e as Bn,fa as xe,g as jn,gd as kt,h as zn,ia as Fe,j as Me,k as yt,ka as E,l as wt,la as Ve,m as bt,n as Ue,na as Xn,oa as We,sa as $e,t as qn,xa as U}from"./chunk-DCMMIJN7.js";import{a as Wn,b as $n,g as q,h as a}from"./chunk-YGFG76LK.js";var sr=()=>{};var cr=function(n){let e=[],t=0;for(let r=0;r<n.length;r++){let i=n.charCodeAt(r);i<128?e[t++]=i:i<2048?(e[t++]=i>>6|192,e[t++]=i&63|128):(i&64512)===55296&&r+1<n.length&&(n.charCodeAt(r+1)&64512)===56320?(i=65536+((i&1023)<<10)+(n.charCodeAt(++r)&1023),e[t++]=i>>18|240,e[t++]=i>>12&63|128,e[t++]=i>>6&63|128,e[t++]=i&63|128):(e[t++]=i>>12|224,e[t++]=i>>6&63|128,e[t++]=i&63|128)}return e},$i=function(n){let e=[],t=0,r=0;for(;t<n.length;){let i=n[t++];if(i<128)e[r++]=String.fromCharCode(i);else if(i>191&&i<224){let s=n[t++];e[r++]=String.fromCharCode((i&31)<<6|s&63)}else if(i>239&&i<365){let s=n[t++],o=n[t++],u=n[t++],c=((i&7)<<18|(s&63)<<12|(o&63)<<6|u&63)-65536;e[r++]=String.fromCharCode(55296+(c>>10)),e[r++]=String.fromCharCode(56320+(c&1023))}else{let s=n[t++],o=n[t++];e[r++]=String.fromCharCode((i&15)<<12|(s&63)<<6|o&63)}}return e.join("")},He={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:typeof atob=="function",encodeByteArray(n,e){if(!Array.isArray(n))throw Error("encodeByteArray takes an array as a parameter");this.init_();let t=e?this.byteToCharMapWebSafe_:this.byteToCharMap_,r=[];for(let i=0;i<n.length;i+=3){let s=n[i],o=i+1<n.length,u=o?n[i+1]:0,c=i+2<n.length,l=c?n[i+2]:0,h=s>>2,m=(s&3)<<4|u>>4,d=(u&15)<<2|l>>6,g=l&63;c||(g=64,o||(d=64)),r.push(t[h],t[m],t[d],t[g])}return r.join("")},encodeString(n,e){return this.HAS_NATIVE_SUPPORT&&!e?btoa(n):this.encodeByteArray(cr(n),e)},decodeString(n,e){return this.HAS_NATIVE_SUPPORT&&!e?atob(n):$i(this.decodeStringToByteArray(n,e))},decodeStringToByteArray(n,e){this.init_();let t=e?this.charToByteMapWebSafe_:this.charToByteMap_,r=[];for(let i=0;i<n.length;){let s=t[n.charAt(i++)],u=i<n.length?t[n.charAt(i)]:0;++i;let l=i<n.length?t[n.charAt(i)]:64;++i;let m=i<n.length?t[n.charAt(i)]:64;if(++i,s==null||u==null||l==null||m==null)throw new Rt;let d=s<<2|u>>4;if(r.push(d),l!==64){let g=u<<4&240|l>>2;if(r.push(g),m!==64){let y=l<<6&192|m;r.push(y)}}}return r},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let n=0;n<this.ENCODED_VALS.length;n++)this.byteToCharMap_[n]=this.ENCODED_VALS.charAt(n),this.charToByteMap_[this.byteToCharMap_[n]]=n,this.byteToCharMapWebSafe_[n]=this.ENCODED_VALS_WEBSAFE.charAt(n),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[n]]=n,n>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(n)]=n,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(n)]=n)}}},Rt=class extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}},Hi=function(n){let e=cr(n);return He.encodeByteArray(e,!0)},Ct=function(n){return Hi(n).replace(/\./g,"")},Be=function(n){try{return He.decodeString(n,!0)}catch(e){console.error("base64Decode failed: ",e)}return null};function ur(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("Unable to locate global object.")}var Bi=()=>ur().__FIREBASE_DEFAULTS__,ji=()=>{if(typeof process>"u"||typeof process.env>"u")return;let n=process.env.__FIREBASE_DEFAULTS__;if(n)return JSON.parse(n)},zi=()=>{if(typeof document>"u")return;let n;try{n=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}let e=n&&Be(n[1]);return e&&JSON.parse(e)},Ot=()=>{try{return sr()||Bi()||ji()||zi()}catch(n){console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${n}`);return}},lr=n=>{var e,t;return(t=(e=Ot())===null||e===void 0?void 0:e.emulatorHosts)===null||t===void 0?void 0:t[n]};var Nt=()=>{var n;return(n=Ot())===null||n===void 0?void 0:n.config},Dt=n=>{var e;return(e=Ot())===null||e===void 0?void 0:e[`_${n}`]};var K=class{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}wrapCallback(e){return(t,r)=>{t?this.reject(t):this.resolve(r),typeof e=="function"&&(this.promise.catch(()=>{}),e.length===1?e(t):e(t,r))}}};function _e(n){try{return(n.startsWith("http://")||n.startsWith("https://")?new URL(n).hostname:n).endsWith(".cloudworkstations.dev")}catch{return!1}}function dr(n){return a(this,null,function*(){return(yield fetch(n,{credentials:"include"})).ok})}var ge={};function qi(){let n={prod:[],emulator:[]};for(let e of Object.keys(ge))ge[e]?n.emulator.push(e):n.prod.push(e);return n}function Gi(n){let e=document.getElementById(n),t=!1;return e||(e=document.createElement("div"),e.setAttribute("id",n),t=!0),{created:t,element:e}}var or=!1;function hr(n,e){if(typeof window>"u"||typeof document>"u"||!_e(window.location.host)||ge[n]===e||ge[n]||or)return;ge[n]=e;function t(d){return`__firebase__banner__${d}`}let r="__firebase__banner",s=qi().prod.length>0;function o(){let d=document.getElementById(r);d&&d.remove()}function u(d){d.style.display="flex",d.style.background="#7faaf0",d.style.position="fixed",d.style.bottom="5px",d.style.left="5px",d.style.padding=".5em",d.style.borderRadius="5px",d.style.alignItems="center"}function c(d,g){d.setAttribute("width","24"),d.setAttribute("id",g),d.setAttribute("height","24"),d.setAttribute("viewBox","0 0 24 24"),d.setAttribute("fill","none"),d.style.marginLeft="-6px"}function l(){let d=document.createElement("span");return d.style.cursor="pointer",d.style.marginLeft="16px",d.style.fontSize="24px",d.innerHTML=" ×",d.onclick=()=>{or=!0,o()},d}function h(d,g){d.setAttribute("id",g),d.innerText="Learn more",d.href="https://firebase.google.com/docs/studio/preview-apps#preview-backend",d.setAttribute("target","__blank"),d.style.paddingLeft="5px",d.style.textDecoration="underline"}function m(){let d=Gi(r),g=t("text"),y=document.getElementById(g)||document.createElement("span"),fe=t("learnmore"),ie=document.getElementById(fe)||document.createElement("a"),pe=t("preprendIcon"),j=document.getElementById(pe)||document.createElementNS("http://www.w3.org/2000/svg","svg");if(d.created){let z=d.element;u(z),h(ie,fe);let Le=l();c(j,pe),z.append(j,y,ie,Le),document.body.appendChild(z)}s?(y.innerText="Preview backend disconnected.",j.innerHTML=`<g clip-path="url(#clip0_6013_33858)">
|
|
2
2
|
<path d="M4.8 17.6L12 5.6L19.2 17.6H4.8ZM6.91667 16.4H17.0833L12 7.93333L6.91667 16.4ZM12 15.6C12.1667 15.6 12.3056 15.5444 12.4167 15.4333C12.5389 15.3111 12.6 15.1667 12.6 15C12.6 14.8333 12.5389 14.6944 12.4167 14.5833C12.3056 14.4611 12.1667 14.4 12 14.4C11.8333 14.4 11.6889 14.4611 11.5667 14.5833C11.4556 14.6944 11.4 14.8333 11.4 15C11.4 15.1667 11.4556 15.3111 11.5667 15.4333C11.6889 15.5444 11.8333 15.6 12 15.6ZM11.4 13.6H12.6V10.4H11.4V13.6Z" fill="#212121"/>
|
|
3
3
|
</g>
|
|
4
4
|
<defs>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as ge,e as ue,j as he}from"./chunk-JTAS2T2F.js";import{U as ce,la as de}from"./chunk-FDTUFTE5.js";import{H as pe,h as se,k as ae,q as le}from"./chunk-JVJYQPKK.js";import{$b as m,B as U,Cb as p,D as X,Db as H,G as Q,Ia as h,L as j,Lc as oe,Nb as B,O as G,Q as Z,Qb as A,Rb as Y,Wb as g,Xb as W,Y as F,Yb as L,Zb as b,_ as K,_b as f,ac as u,ad as d,dc as re,ed as ie,f as N,fa as O,fc as ne,ga as S,gb as i,ia as J,ja as D,ka as ee,lc as v,qb as k,ra as te,wc as s,xb as c,xc as C,yb as E,zb as z}from"./chunk-2WOSKSIA.js";import{e as ye,f as Se}from"./chunk-YGFG76LK.js";var Me=ye((wt,_e)=>{var Qe=4,Ge=.001,Ze=1e-7,Ke=10,y=11,x=1/(y-1),Je=typeof Float32Array=="function";function be(e,o){return 1-3*o+3*e}function fe(e,o){return 3*o-6*e}function me(e){return 3*e}function I(e,o,t){return((be(o,t)*e+fe(o,t))*e+me(o))*e}function Ce(e,o,t){return 3*be(o,t)*e*e+2*fe(o,t)*e+me(o)}function et(e,o,t,r,n){var l,a,T=0;do a=o+(t-o)/2,l=I(a,r,n)-e,l>0?t=a:o=a;while(Math.abs(l)>Ze&&++T<Ke);return a}function tt(e,o,t,r){for(var n=0;n<Qe;++n){var l=Ce(o,t,r);if(l===0)return o;var a=I(o,t,r)-e;o-=a/l}return o}function rt(e){return e}_e.exports=function(o,t,r,n){if(!(0<=o&&o<=1&&0<=r&&r<=1))throw new Error("bezier x values must be in [0, 1] range");if(o===t&&r===n)return rt;for(var l=Je?new Float32Array(y):new Array(y),a=0;a<y;++a)l[a]=I(a*x,o,r);function T(P){for(var _=0,w=1,Oe=y-1;w!==Oe&&l[w]<=P;++w)_+=x;--w;var ke=(P-l[w])/(l[w+1]-l[w]),R=_+ke*x,$=Ce(R,o,r);return $>=Ge?tt(P,R,o,r):$===0?R:et(P,_,_+x,o,r)}return function(_){return _===0?0:_===1?1:I(T(_),t,n)}}});var De=e=>({"background-color":e});function Ee(e,o){e&1&&re(0)}function ze(e,o){if(e&1&&b(0,"sk-cube-grid",3),e&2){let t=v(2);g("backgroundColor",t.backgroundColor())}}function xe(e,o){if(e&1&&b(0,"sk-chasing-dots",3),e&2){let t=v(2);g("backgroundColor",t.backgroundColor())}}function Ie(e,o){if(e&1&&b(0,"sk-double-bounce",3),e&2){let t=v(2);g("backgroundColor",t.backgroundColor())}}function Te(e,o){if(e&1&&b(0,"sk-rotating-plane",3),e&2){let t=v(2);g("backgroundColor",t.backgroundColor())}}function Re(e,o){if(e&1&&b(0,"sk-spinner-pulse",3),e&2){let t=v(2);g("backgroundColor",t.backgroundColor())}}function Ne(e,o){if(e&1&&b(0,"sk-three-bounce",3),e&2){let t=v(2);g("backgroundColor",t.backgroundColor())}}function Ue(e,o){if(e&1&&b(0,"sk-wandering-cubes",3),e&2){let t=v(2);g("backgroundColor",t.backgroundColor())}}function je(e,o){if(e&1&&b(0,"sk-wave",3),e&2){let t=v(2);g("backgroundColor",t.backgroundColor())}}function Fe(e,o){if(e&1&&(W(0,"div",1),H(1,Ee,1,0,"ng-container",2),A(2,ze,1,1,"sk-cube-grid",3)(3,xe,1,1,"sk-chasing-dots",3)(4,Ie,1,1,"sk-double-bounce",3)(5,Te,1,1,"sk-rotating-plane",3)(6,Re,1,1,"sk-spinner-pulse",3)(7,Ne,1,1,"sk-three-bounce",3)(8,Ue,1,1,"sk-wandering-cubes",3)(9,je,1,1,"sk-wave",3),L()),e&2){let t,r=v();s("opacity",r.opacity()),C("backdrop",r.backdrop()),g("ngStyle",oe(7,De,r.backdrop()?r.backdropBackgroundColor():"transparent")),i(),g("ngComponentOutlet",r.entryComponent()),i(),Y((t=r.spinner())===r.spinkit.skCubeGrid?2:t===r.spinkit.skChasingDots?3:t===r.spinkit.skDoubleBounce?4:t===r.spinkit.skRotatingPlane?5:t===r.spinkit.skSpinnerPulse?6:t===r.spinkit.skThreeBounce?7:t===r.spinkit.skWanderingCubes?8:t===r.spinkit.skWave?9:-1)}}var M=(()=>{class e{backgroundColor=d();static \u0275fac=function(r){return new(r||e)};static \u0275dir=z({type:e,inputs:{backgroundColor:[1,"backgroundColor"]}})}return e})(),He=(()=>{class e extends M{static \u0275fac=(()=>{let t;return function(n){return(t||(t=h(e)))(n||e)}})();static \u0275cmp=c({type:e,selectors:[["sk-chasing-dots"]],features:[p],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(r,n){r&1&&(f(0,"div",0),u(1,"div",1)(2,"div",2),m()),r&2&&(C("colored",!n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()))},styles:[".sk-chasing-dots[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative;text-align:center;animation:_ngcontent-%COMP%_sk-chasingDotsRotate 2s infinite linear}.sk-chasing-dots[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:60%;height:60%;display:inline-block;position:absolute;top:0;border-radius:100%;animation:_ngcontent-%COMP%_sk-chasingDotsBounce 2s infinite ease-in-out}.sk-chasing-dots[_ngcontent-%COMP%] .sk-dot2[_ngcontent-%COMP%]{top:auto;bottom:0;animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-chasingDotsRotate{to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_sk-chasingDotsBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]})}return e})(),Be=(()=>{class e extends M{static \u0275fac=(()=>{let t;return function(n){return(t||(t=h(e)))(n||e)}})();static \u0275cmp=c({type:e,selectors:[["sk-cube-grid"]],features:[p],decls:10,vars:20,consts:[[1,"sk-cube-grid"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"],[1,"sk-cube","sk-cube3"],[1,"sk-cube","sk-cube4"],[1,"sk-cube","sk-cube5"],[1,"sk-cube","sk-cube6"],[1,"sk-cube","sk-cube7"],[1,"sk-cube","sk-cube8"],[1,"sk-cube","sk-cube9"]],template:function(r,n){r&1&&(f(0,"div",0),u(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9),m()),r&2&&(C("colored",!n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()))},styles:[".sk-cube-grid[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:33.33%;height:33.33%;float:left;animation:_ngcontent-%COMP%_sk-cubeGridScaleDelay 1.3s infinite ease-in-out}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube1[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube3[_ngcontent-%COMP%]{animation-delay:.4s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube4[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube5[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube6[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube7[_ngcontent-%COMP%]{animation-delay:0s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube8[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube9[_ngcontent-%COMP%]{animation-delay:.2s}@keyframes _ngcontent-%COMP%_sk-cubeGridScaleDelay{0%,70%,to{transform:scaleZ(1)}35%{transform:scale3D(0,0,1)}}"]})}return e})(),Ae=(()=>{class e extends M{static \u0275fac=(()=>{let t;return function(n){return(t||(t=h(e)))(n||e)}})();static \u0275cmp=c({type:e,selectors:[["sk-double-bounce"]],features:[p],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(r,n){r&1&&(f(0,"div",0),u(1,"div",1)(2,"div",2),m()),r&2&&(C("colored",!n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()))},styles:[".sk-double-bounce[_ngcontent-%COMP%]{top:50%;width:40px;height:40px;position:relative;margin:auto}.sk-double-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;background-color:#333;opacity:.6;position:absolute;top:0;left:0;animation:_ngcontent-%COMP%_sk-doubleBounce 2s infinite ease-in-out}.sk-double-bounce[_ngcontent-%COMP%] .sk-double-bounce2[_ngcontent-%COMP%]{animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-doubleBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]})}return e})(),Ye=(()=>{class e extends M{static \u0275fac=(()=>{let t;return function(n){return(t||(t=h(e)))(n||e)}})();static \u0275cmp=c({type:e,selectors:[["sk-rotating-plane"]],features:[p],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(r,n){r&1&&u(0,"div",0),r&2&&s("background-color",n.backgroundColor())},styles:[".sk-rotating-plane[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;animation:_ngcontent-%COMP%_sk-rotatePlane 1.2s infinite ease-in-out}@keyframes _ngcontent-%COMP%_sk-rotatePlane{0%{transform:perspective(120px) rotateX(0) rotateY(0)}50%{transform:perspective(120px) rotateX(-180.1deg) rotateY(0)}to{transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}"]})}return e})(),We=(()=>{class e extends M{static \u0275fac=(()=>{let t;return function(n){return(t||(t=h(e)))(n||e)}})();static \u0275cmp=c({type:e,selectors:[["sk-spinner-pulse"]],features:[p],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(r,n){r&1&&u(0,"div",0),r&2&&s("background-color",n.backgroundColor())},styles:[".sk-spinner-pulse[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;border-radius:100%;animation:_ngcontent-%COMP%_sk-pulseScaleOut 1s infinite ease-in-out}@keyframes _ngcontent-%COMP%_sk-pulseScaleOut{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}"]})}return e})(),Le=(()=>{class e extends M{static \u0275fac=(()=>{let t;return function(n){return(t||(t=h(e)))(n||e)}})();static \u0275cmp=c({type:e,selectors:[["sk-three-bounce"]],features:[p],decls:4,vars:8,consts:[[1,"sk-three-bounce"],[1,"sk-child","sk-bounce1"],[1,"sk-child","sk-bounce2"],[1,"sk-child","sk-bounce3"]],template:function(r,n){r&1&&(f(0,"div",0),u(1,"div",1)(2,"div",2)(3,"div",3),m()),r&2&&(C("colored",!n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()))},styles:[".sk-three-bounce[_ngcontent-%COMP%]{top:50%;position:relative;margin:auto;width:80px;text-align:center}.sk-three-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:100%;display:inline-block;animation:_ngcontent-%COMP%_sk-three-bounce 1.4s ease-in-out 0s infinite both}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce1[_ngcontent-%COMP%]{animation-delay:-.32s}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce2[_ngcontent-%COMP%]{animation-delay:-.16s}@keyframes _ngcontent-%COMP%_sk-three-bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}"]})}return e})(),Ve=(()=>{class e extends M{static \u0275fac=(()=>{let t;return function(n){return(t||(t=h(e)))(n||e)}})();static \u0275cmp=c({type:e,selectors:[["sk-wandering-cubes"]],features:[p],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(r,n){r&1&&(f(0,"div",0),u(1,"div",1)(2,"div",2),m()),r&2&&(C("colored",!n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()))},styles:[".sk-wandering-cubes[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:10px;height:10px;position:absolute;top:0;left:0;animation:_ngcontent-%COMP%_sk-wanderingCube 1.8s ease-in-out -1.8s infinite both}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:-.9s}@keyframes _ngcontent-%COMP%_sk-wanderingCube{0%{transform:rotate(0)}25%{transform:translate(30px) rotate(-90deg) scale(.5)}50%{transform:translate(30px) translateY(30px) rotate(-179deg)}50.1%{transform:translate(30px) translateY(30px) rotate(-180deg)}75%{transform:translate(0) translateY(30px) rotate(-270deg) scale(.5)}to{transform:rotate(-360deg)}}"]})}return e})(),qe=(()=>{class e extends M{static \u0275fac=(()=>{let t;return function(n){return(t||(t=h(e)))(n||e)}})();static \u0275cmp=c({type:e,selectors:[["sk-wave"]],features:[p],decls:6,vars:12,consts:[[1,"sk-wave"],[1,"sk-rect","sk-rect1"],[1,"sk-rect","sk-rect2"],[1,"sk-rect","sk-rect3"],[1,"sk-rect","sk-rect4"],[1,"sk-rect","sk-rect5"]],template:function(r,n){r&1&&(f(0,"div",0),u(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),m()),r&2&&(C("colored",!n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()))},styles:[".sk-wave[_ngcontent-%COMP%]{position:relative;top:50%;margin:auto;width:50px;height:40px;text-align:center;font-size:10px}.sk-wave[_ngcontent-%COMP%] .sk-rect[_ngcontent-%COMP%]{float:left;margin-right:1px;height:100%;width:6px;display:inline-block;animation:_ngcontent-%COMP%_sk-waveStretchDelay 1.2s infinite ease-in-out}.sk-wave[_ngcontent-%COMP%] .sk-rect1[_ngcontent-%COMP%]{animation-delay:-1.2s}.sk-wave[_ngcontent-%COMP%] .sk-rect2[_ngcontent-%COMP%]{animation-delay:-1.1s}.sk-wave[_ngcontent-%COMP%] .sk-rect3[_ngcontent-%COMP%]{animation-delay:-1s}.sk-wave[_ngcontent-%COMP%] .sk-rect4[_ngcontent-%COMP%]{animation-delay:-.9s}.sk-wave[_ngcontent-%COMP%] .sk-rect5[_ngcontent-%COMP%]{animation-delay:-.8s}@keyframes _ngcontent-%COMP%_sk-waveStretchDelay{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}"]})}return e})(),ve={skChasingDots:"sk-chasing-dots",skCubeGrid:"sk-cube-grid",skDoubleBounce:"sk-double-bounce",skRotatingPlane:"sk-rotationg-plane",skSpinnerPulse:"sk-spinner-pulse",skThreeBounce:"sk-three-bounce",skWanderingCubes:"sk-wandering-cubes",skWave:"sk-wave"};var q=(()=>{class e{_pendingRequests=0;_pendingRequestsStatus$=new N(1);_filteredUrlPatterns=[];_filteredMethods=[];_filteredHeaders=[];_forceByPass=!1;get pendingRequestsStatus$(){return this._pendingRequestsStatus$.asObservable()}get pendingRequestsStatusSubject$(){return this._pendingRequestsStatus$}get pendingRequests(){return this._pendingRequests}set pendingRequests(t){this._pendingRequests=t}get filteredUrlPatterns(){return this._filteredUrlPatterns}set filteredMethods(t){this._filteredMethods=t}set filteredHeaders(t){this._filteredHeaders=t}set forceByPass(t){this._forceByPass=t}shouldBypassUrl(t){return this._filteredUrlPatterns.some(r=>r.test(t))}shouldBypassMethod(t){return this._filteredMethods.some(r=>r.toUpperCase()===t.method.toUpperCase())}shouldBypassHeader(t){return this._filteredHeaders.some(r=>t.headers.has(r))}shouldBypass(t){return this._forceByPass||this.shouldBypassUrl(t.urlWithParams)||this.shouldBypassMethod(t)||this.shouldBypassHeader(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),$e=(()=>{class e{pendingRequestsInterceptorConfigurer;_visibility$=new N(1);constructor(t){this.pendingRequestsInterceptorConfigurer=t}get visibility$(){return this._visibility$.asObservable()}show(){this.pendingRequestsInterceptorConfigurer.forceByPass=!0,this._visibility$.next(!0)}hide(){this._visibility$.next(!1),this.pendingRequestsInterceptorConfigurer.forceByPass=!1}static \u0275fac=function(r){return new(r||e)(D(q))};static \u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vt=(()=>{class e{pendingRequestsInterceptorConfigurer;spinnerVisibility;spinkit=ve;isVisible$;isVisible;visibleUntil=Date.now();backdrop=d(!0);backgroundColor=d();debounceDelay=d(0);entryComponent=d(null);extraDuration=d(0);filteredHeaders=d([]);filteredMethods=d([]);filteredUrlPatterns=d([]);minDuration=d(0);opacity=d(".7");backdropBackgroundColor=d("#f1f1f1");spinner=ie(ve.skWave);constructor(t,r){this.pendingRequestsInterceptorConfigurer=t,this.spinnerVisibility=r;let[n,l]=Q(this.pendingRequestsInterceptorConfigurer.pendingRequestsStatus$,a=>a);this.isVisible$=X(this.pendingRequestsInterceptorConfigurer.pendingRequestsStatus$.pipe(F(()=>n.pipe(j(()=>U(this.debounceDelay()))))),n.pipe(F(()=>l.pipe(j(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe(G(),K(a=>this.updateExpirationDelay(a))),this.isVisible=pe(this.isVisible$)}ngOnInit(){this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent()&&this.spinner.update(()=>null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns().length&&this.filteredUrlPatterns().forEach(t=>this.pendingRequestsInterceptorConfigurer.filteredUrlPatterns.push(new RegExp(t)))}initFilteredMethods(){this.pendingRequestsInterceptorConfigurer.filteredMethods=this.filteredMethods()}initFilteredHeaders(){this.pendingRequestsInterceptorConfigurer.filteredHeaders=this.filteredHeaders()}updateExpirationDelay(t){t&&(this.visibleUntil=Date.now()+this.minDuration())}getVisibilityTimer$(){return U(Math.max(this.extraDuration(),this.visibleUntil-Date.now()))}static \u0275fac=function(r){return new(r||e)(k(q),k($e))};static \u0275cmp=c({type:e,selectors:[["ng-http-loader"]],inputs:{backdrop:[1,"backdrop"],backgroundColor:[1,"backgroundColor"],debounceDelay:[1,"debounceDelay"],entryComponent:[1,"entryComponent"],extraDuration:[1,"extraDuration"],filteredHeaders:[1,"filteredHeaders"],filteredMethods:[1,"filteredMethods"],filteredUrlPatterns:[1,"filteredUrlPatterns"],minDuration:[1,"minDuration"],opacity:[1,"opacity"],backdropBackgroundColor:[1,"backdropBackgroundColor"],spinner:[1,"spinner"]},outputs:{spinner:"spinnerChange"},decls:1,vars:1,consts:[["id","spinner",3,"backdrop","opacity","ngStyle"],["id","spinner",3,"ngStyle"],[4,"ngComponentOutlet"],[3,"backgroundColor"]],template:function(r,n){r&1&&A(0,Fe,10,9,"div",0),r&2&&Y(n.isVisible()?0:-1)},dependencies:[Be,He,Ae,Ye,We,Le,Ve,qe,ae,se],styles:["#spinner[_ngcontent-%COMP%]{top:50%;left:50%;transform:translate(-50%,-50%);position:fixed;z-index:9999}#spinner.backdrop[_ngcontent-%COMP%]{top:0;left:0;height:100%;width:100%;display:flex;align-items:center;justify-content:center;transform:none} .colored-parent, .colored>div{background-color:#333}"]})}return e})();function bt(e,o){let t=ee(q),r=t.shouldBypass(e);return r||(t.pendingRequests++,t.pendingRequests===1&&t.pendingRequestsStatusSubject$.next(!0)),o(e).pipe(Z(()=>{r||(t.pendingRequests--,t.pendingRequests===0&&t.pendingRequestsStatusSubject$.next(!1))}))}var Xe=["data-p-icon","times-circle"],_t=(()=>{class e extends de{pathId;onInit(){this.pathId="url(#"+ce()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=h(e)))(n||e)}})();static \u0275cmp=c({type:e,selectors:[["","data-p-icon","times-circle"]],features:[p],attrs:Xe,decls:5,vars:2,consts:[["fill-rule","evenodd","clip-rule","evenodd","d","M7 14C5.61553 14 4.26215 13.5895 3.11101 12.8203C1.95987 12.0511 1.06266 10.9579 0.532846 9.67879C0.00303296 8.3997 -0.13559 6.99224 0.134506 5.63437C0.404603 4.2765 1.07129 3.02922 2.05026 2.05026C3.02922 1.07129 4.2765 0.404603 5.63437 0.134506C6.99224 -0.13559 8.3997 0.00303296 9.67879 0.532846C10.9579 1.06266 12.0511 1.95987 12.8203 3.11101C13.5895 4.26215 14 5.61553 14 7C14 8.85652 13.2625 10.637 11.9497 11.9497C10.637 13.2625 8.85652 14 7 14ZM7 1.16667C5.84628 1.16667 4.71846 1.50879 3.75918 2.14976C2.79989 2.79074 2.05222 3.70178 1.61071 4.76768C1.16919 5.83358 1.05367 7.00647 1.27876 8.13803C1.50384 9.26958 2.05941 10.309 2.87521 11.1248C3.69102 11.9406 4.73042 12.4962 5.86198 12.7212C6.99353 12.9463 8.16642 12.8308 9.23232 12.3893C10.2982 11.9478 11.2093 11.2001 11.8502 10.2408C12.4912 9.28154 12.8333 8.15373 12.8333 7C12.8333 5.45291 12.2188 3.96918 11.1248 2.87521C10.0308 1.78125 8.5471 1.16667 7 1.16667ZM4.66662 9.91668C4.58998 9.91704 4.51404 9.90209 4.44325 9.87271C4.37246 9.84333 4.30826 9.8001 4.2544 9.74557C4.14516 9.6362 4.0838 9.48793 4.0838 9.33335C4.0838 9.17876 4.14516 9.0305 4.2544 8.92113L6.17553 7L4.25443 5.07891C4.15139 4.96832 4.09529 4.82207 4.09796 4.67094C4.10063 4.51982 4.16185 4.37563 4.26872 4.26876C4.3756 4.16188 4.51979 4.10066 4.67091 4.09799C4.82204 4.09532 4.96829 4.15142 5.07887 4.25446L6.99997 6.17556L8.92106 4.25446C9.03164 4.15142 9.1779 4.09532 9.32903 4.09799C9.48015 4.10066 9.62434 4.16188 9.73121 4.26876C9.83809 4.37563 9.89931 4.51982 9.90198 4.67094C9.90464 4.82207 9.84855 4.96832 9.74551 5.07891L7.82441 7L9.74554 8.92113C9.85478 9.0305 9.91614 9.17876 9.91614 9.33335C9.91614 9.48793 9.85478 9.6362 9.74554 9.74557C9.69168 9.8001 9.62748 9.84333 9.55669 9.87271C9.4859 9.90209 9.40996 9.91704 9.33332 9.91668C9.25668 9.91704 9.18073 9.90209 9.10995 9.87271C9.03916 9.84333 8.97495 9.8001 8.9211 9.74557L6.99997 7.82444L5.07884 9.74557C5.02499 9.8001 4.96078 9.84333 4.88999 9.87271C4.81921 9.90209 4.74326 9.91704 4.66662 9.91668Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(r,n){r&1&&(te(),f(0,"g"),u(1,"path",0),m(),f(2,"defs")(3,"clipPath",1),u(4,"rect",2),m()()),r&2&&(B("clip-path",n.pathId),i(3),ne("id",n.pathId))},encapsulation:2})}return e})();var it=Se(Me(),1);var Pe=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=E({type:e}),e.\u0275inj=S({}),e})();var st=new J("NG_SCROLLBAR_OPTIONS");var lr=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:st,useValue:t}]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=E({type:e}),e.\u0275inj=S({imports:[le,ge,ue,he,Pe]}),e})();export{_t as a,$e as b,vt as c,bt as d,lr as e};
|
|
1
|
+
import{b as ge,e as ue,j as he}from"./chunk-FPV3HLTW.js";import{U as ce,la as de}from"./chunk-RV4MERGH.js";import{H as pe,h as se,k as ae,q as le}from"./chunk-ZPKEMDEL.js";import{$b as m,B as U,Cb as p,D as X,Db as H,G as Q,Ia as h,L as j,Lc as oe,Nb as B,O as G,Q as Z,Qb as A,Rb as Y,Wb as g,Xb as W,Y as F,Yb as L,Zb as b,_ as K,_b as f,ac as u,ad as d,dc as re,ed as ie,f as N,fa as O,fc as ne,ga as S,gb as i,ia as J,ja as D,ka as ee,lc as v,qb as k,ra as te,wc as s,xb as c,xc as C,yb as E,zb as z}from"./chunk-DCMMIJN7.js";import{e as ye,f as Se}from"./chunk-YGFG76LK.js";var Me=ye((wt,_e)=>{var Qe=4,Ge=.001,Ze=1e-7,Ke=10,y=11,x=1/(y-1),Je=typeof Float32Array=="function";function be(e,o){return 1-3*o+3*e}function fe(e,o){return 3*o-6*e}function me(e){return 3*e}function I(e,o,t){return((be(o,t)*e+fe(o,t))*e+me(o))*e}function Ce(e,o,t){return 3*be(o,t)*e*e+2*fe(o,t)*e+me(o)}function et(e,o,t,r,n){var l,a,T=0;do a=o+(t-o)/2,l=I(a,r,n)-e,l>0?t=a:o=a;while(Math.abs(l)>Ze&&++T<Ke);return a}function tt(e,o,t,r){for(var n=0;n<Qe;++n){var l=Ce(o,t,r);if(l===0)return o;var a=I(o,t,r)-e;o-=a/l}return o}function rt(e){return e}_e.exports=function(o,t,r,n){if(!(0<=o&&o<=1&&0<=r&&r<=1))throw new Error("bezier x values must be in [0, 1] range");if(o===t&&r===n)return rt;for(var l=Je?new Float32Array(y):new Array(y),a=0;a<y;++a)l[a]=I(a*x,o,r);function T(P){for(var _=0,w=1,Oe=y-1;w!==Oe&&l[w]<=P;++w)_+=x;--w;var ke=(P-l[w])/(l[w+1]-l[w]),R=_+ke*x,$=Ce(R,o,r);return $>=Ge?tt(P,R,o,r):$===0?R:et(P,_,_+x,o,r)}return function(_){return _===0?0:_===1?1:I(T(_),t,n)}}});var De=e=>({"background-color":e});function Ee(e,o){e&1&&re(0)}function ze(e,o){if(e&1&&b(0,"sk-cube-grid",3),e&2){let t=v(2);g("backgroundColor",t.backgroundColor())}}function xe(e,o){if(e&1&&b(0,"sk-chasing-dots",3),e&2){let t=v(2);g("backgroundColor",t.backgroundColor())}}function Ie(e,o){if(e&1&&b(0,"sk-double-bounce",3),e&2){let t=v(2);g("backgroundColor",t.backgroundColor())}}function Te(e,o){if(e&1&&b(0,"sk-rotating-plane",3),e&2){let t=v(2);g("backgroundColor",t.backgroundColor())}}function Re(e,o){if(e&1&&b(0,"sk-spinner-pulse",3),e&2){let t=v(2);g("backgroundColor",t.backgroundColor())}}function Ne(e,o){if(e&1&&b(0,"sk-three-bounce",3),e&2){let t=v(2);g("backgroundColor",t.backgroundColor())}}function Ue(e,o){if(e&1&&b(0,"sk-wandering-cubes",3),e&2){let t=v(2);g("backgroundColor",t.backgroundColor())}}function je(e,o){if(e&1&&b(0,"sk-wave",3),e&2){let t=v(2);g("backgroundColor",t.backgroundColor())}}function Fe(e,o){if(e&1&&(W(0,"div",1),H(1,Ee,1,0,"ng-container",2),A(2,ze,1,1,"sk-cube-grid",3)(3,xe,1,1,"sk-chasing-dots",3)(4,Ie,1,1,"sk-double-bounce",3)(5,Te,1,1,"sk-rotating-plane",3)(6,Re,1,1,"sk-spinner-pulse",3)(7,Ne,1,1,"sk-three-bounce",3)(8,Ue,1,1,"sk-wandering-cubes",3)(9,je,1,1,"sk-wave",3),L()),e&2){let t,r=v();s("opacity",r.opacity()),C("backdrop",r.backdrop()),g("ngStyle",oe(7,De,r.backdrop()?r.backdropBackgroundColor():"transparent")),i(),g("ngComponentOutlet",r.entryComponent()),i(),Y((t=r.spinner())===r.spinkit.skCubeGrid?2:t===r.spinkit.skChasingDots?3:t===r.spinkit.skDoubleBounce?4:t===r.spinkit.skRotatingPlane?5:t===r.spinkit.skSpinnerPulse?6:t===r.spinkit.skThreeBounce?7:t===r.spinkit.skWanderingCubes?8:t===r.spinkit.skWave?9:-1)}}var M=(()=>{class e{backgroundColor=d();static \u0275fac=function(r){return new(r||e)};static \u0275dir=z({type:e,inputs:{backgroundColor:[1,"backgroundColor"]}})}return e})(),He=(()=>{class e extends M{static \u0275fac=(()=>{let t;return function(n){return(t||(t=h(e)))(n||e)}})();static \u0275cmp=c({type:e,selectors:[["sk-chasing-dots"]],features:[p],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(r,n){r&1&&(f(0,"div",0),u(1,"div",1)(2,"div",2),m()),r&2&&(C("colored",!n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()))},styles:[".sk-chasing-dots[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative;text-align:center;animation:_ngcontent-%COMP%_sk-chasingDotsRotate 2s infinite linear}.sk-chasing-dots[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:60%;height:60%;display:inline-block;position:absolute;top:0;border-radius:100%;animation:_ngcontent-%COMP%_sk-chasingDotsBounce 2s infinite ease-in-out}.sk-chasing-dots[_ngcontent-%COMP%] .sk-dot2[_ngcontent-%COMP%]{top:auto;bottom:0;animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-chasingDotsRotate{to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_sk-chasingDotsBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]})}return e})(),Be=(()=>{class e extends M{static \u0275fac=(()=>{let t;return function(n){return(t||(t=h(e)))(n||e)}})();static \u0275cmp=c({type:e,selectors:[["sk-cube-grid"]],features:[p],decls:10,vars:20,consts:[[1,"sk-cube-grid"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"],[1,"sk-cube","sk-cube3"],[1,"sk-cube","sk-cube4"],[1,"sk-cube","sk-cube5"],[1,"sk-cube","sk-cube6"],[1,"sk-cube","sk-cube7"],[1,"sk-cube","sk-cube8"],[1,"sk-cube","sk-cube9"]],template:function(r,n){r&1&&(f(0,"div",0),u(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9),m()),r&2&&(C("colored",!n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()))},styles:[".sk-cube-grid[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:33.33%;height:33.33%;float:left;animation:_ngcontent-%COMP%_sk-cubeGridScaleDelay 1.3s infinite ease-in-out}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube1[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube3[_ngcontent-%COMP%]{animation-delay:.4s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube4[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube5[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube6[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube7[_ngcontent-%COMP%]{animation-delay:0s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube8[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube9[_ngcontent-%COMP%]{animation-delay:.2s}@keyframes _ngcontent-%COMP%_sk-cubeGridScaleDelay{0%,70%,to{transform:scaleZ(1)}35%{transform:scale3D(0,0,1)}}"]})}return e})(),Ae=(()=>{class e extends M{static \u0275fac=(()=>{let t;return function(n){return(t||(t=h(e)))(n||e)}})();static \u0275cmp=c({type:e,selectors:[["sk-double-bounce"]],features:[p],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(r,n){r&1&&(f(0,"div",0),u(1,"div",1)(2,"div",2),m()),r&2&&(C("colored",!n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()))},styles:[".sk-double-bounce[_ngcontent-%COMP%]{top:50%;width:40px;height:40px;position:relative;margin:auto}.sk-double-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;background-color:#333;opacity:.6;position:absolute;top:0;left:0;animation:_ngcontent-%COMP%_sk-doubleBounce 2s infinite ease-in-out}.sk-double-bounce[_ngcontent-%COMP%] .sk-double-bounce2[_ngcontent-%COMP%]{animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-doubleBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]})}return e})(),Ye=(()=>{class e extends M{static \u0275fac=(()=>{let t;return function(n){return(t||(t=h(e)))(n||e)}})();static \u0275cmp=c({type:e,selectors:[["sk-rotating-plane"]],features:[p],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(r,n){r&1&&u(0,"div",0),r&2&&s("background-color",n.backgroundColor())},styles:[".sk-rotating-plane[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;animation:_ngcontent-%COMP%_sk-rotatePlane 1.2s infinite ease-in-out}@keyframes _ngcontent-%COMP%_sk-rotatePlane{0%{transform:perspective(120px) rotateX(0) rotateY(0)}50%{transform:perspective(120px) rotateX(-180.1deg) rotateY(0)}to{transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}"]})}return e})(),We=(()=>{class e extends M{static \u0275fac=(()=>{let t;return function(n){return(t||(t=h(e)))(n||e)}})();static \u0275cmp=c({type:e,selectors:[["sk-spinner-pulse"]],features:[p],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(r,n){r&1&&u(0,"div",0),r&2&&s("background-color",n.backgroundColor())},styles:[".sk-spinner-pulse[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;border-radius:100%;animation:_ngcontent-%COMP%_sk-pulseScaleOut 1s infinite ease-in-out}@keyframes _ngcontent-%COMP%_sk-pulseScaleOut{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}"]})}return e})(),Le=(()=>{class e extends M{static \u0275fac=(()=>{let t;return function(n){return(t||(t=h(e)))(n||e)}})();static \u0275cmp=c({type:e,selectors:[["sk-three-bounce"]],features:[p],decls:4,vars:8,consts:[[1,"sk-three-bounce"],[1,"sk-child","sk-bounce1"],[1,"sk-child","sk-bounce2"],[1,"sk-child","sk-bounce3"]],template:function(r,n){r&1&&(f(0,"div",0),u(1,"div",1)(2,"div",2)(3,"div",3),m()),r&2&&(C("colored",!n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()))},styles:[".sk-three-bounce[_ngcontent-%COMP%]{top:50%;position:relative;margin:auto;width:80px;text-align:center}.sk-three-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:100%;display:inline-block;animation:_ngcontent-%COMP%_sk-three-bounce 1.4s ease-in-out 0s infinite both}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce1[_ngcontent-%COMP%]{animation-delay:-.32s}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce2[_ngcontent-%COMP%]{animation-delay:-.16s}@keyframes _ngcontent-%COMP%_sk-three-bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}"]})}return e})(),Ve=(()=>{class e extends M{static \u0275fac=(()=>{let t;return function(n){return(t||(t=h(e)))(n||e)}})();static \u0275cmp=c({type:e,selectors:[["sk-wandering-cubes"]],features:[p],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(r,n){r&1&&(f(0,"div",0),u(1,"div",1)(2,"div",2),m()),r&2&&(C("colored",!n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()))},styles:[".sk-wandering-cubes[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:10px;height:10px;position:absolute;top:0;left:0;animation:_ngcontent-%COMP%_sk-wanderingCube 1.8s ease-in-out -1.8s infinite both}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:-.9s}@keyframes _ngcontent-%COMP%_sk-wanderingCube{0%{transform:rotate(0)}25%{transform:translate(30px) rotate(-90deg) scale(.5)}50%{transform:translate(30px) translateY(30px) rotate(-179deg)}50.1%{transform:translate(30px) translateY(30px) rotate(-180deg)}75%{transform:translate(0) translateY(30px) rotate(-270deg) scale(.5)}to{transform:rotate(-360deg)}}"]})}return e})(),qe=(()=>{class e extends M{static \u0275fac=(()=>{let t;return function(n){return(t||(t=h(e)))(n||e)}})();static \u0275cmp=c({type:e,selectors:[["sk-wave"]],features:[p],decls:6,vars:12,consts:[[1,"sk-wave"],[1,"sk-rect","sk-rect1"],[1,"sk-rect","sk-rect2"],[1,"sk-rect","sk-rect3"],[1,"sk-rect","sk-rect4"],[1,"sk-rect","sk-rect5"]],template:function(r,n){r&1&&(f(0,"div",0),u(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),m()),r&2&&(C("colored",!n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()),i(),s("background-color",n.backgroundColor()))},styles:[".sk-wave[_ngcontent-%COMP%]{position:relative;top:50%;margin:auto;width:50px;height:40px;text-align:center;font-size:10px}.sk-wave[_ngcontent-%COMP%] .sk-rect[_ngcontent-%COMP%]{float:left;margin-right:1px;height:100%;width:6px;display:inline-block;animation:_ngcontent-%COMP%_sk-waveStretchDelay 1.2s infinite ease-in-out}.sk-wave[_ngcontent-%COMP%] .sk-rect1[_ngcontent-%COMP%]{animation-delay:-1.2s}.sk-wave[_ngcontent-%COMP%] .sk-rect2[_ngcontent-%COMP%]{animation-delay:-1.1s}.sk-wave[_ngcontent-%COMP%] .sk-rect3[_ngcontent-%COMP%]{animation-delay:-1s}.sk-wave[_ngcontent-%COMP%] .sk-rect4[_ngcontent-%COMP%]{animation-delay:-.9s}.sk-wave[_ngcontent-%COMP%] .sk-rect5[_ngcontent-%COMP%]{animation-delay:-.8s}@keyframes _ngcontent-%COMP%_sk-waveStretchDelay{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}"]})}return e})(),ve={skChasingDots:"sk-chasing-dots",skCubeGrid:"sk-cube-grid",skDoubleBounce:"sk-double-bounce",skRotatingPlane:"sk-rotationg-plane",skSpinnerPulse:"sk-spinner-pulse",skThreeBounce:"sk-three-bounce",skWanderingCubes:"sk-wandering-cubes",skWave:"sk-wave"};var q=(()=>{class e{_pendingRequests=0;_pendingRequestsStatus$=new N(1);_filteredUrlPatterns=[];_filteredMethods=[];_filteredHeaders=[];_forceByPass=!1;get pendingRequestsStatus$(){return this._pendingRequestsStatus$.asObservable()}get pendingRequestsStatusSubject$(){return this._pendingRequestsStatus$}get pendingRequests(){return this._pendingRequests}set pendingRequests(t){this._pendingRequests=t}get filteredUrlPatterns(){return this._filteredUrlPatterns}set filteredMethods(t){this._filteredMethods=t}set filteredHeaders(t){this._filteredHeaders=t}set forceByPass(t){this._forceByPass=t}shouldBypassUrl(t){return this._filteredUrlPatterns.some(r=>r.test(t))}shouldBypassMethod(t){return this._filteredMethods.some(r=>r.toUpperCase()===t.method.toUpperCase())}shouldBypassHeader(t){return this._filteredHeaders.some(r=>t.headers.has(r))}shouldBypass(t){return this._forceByPass||this.shouldBypassUrl(t.urlWithParams)||this.shouldBypassMethod(t)||this.shouldBypassHeader(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),$e=(()=>{class e{pendingRequestsInterceptorConfigurer;_visibility$=new N(1);constructor(t){this.pendingRequestsInterceptorConfigurer=t}get visibility$(){return this._visibility$.asObservable()}show(){this.pendingRequestsInterceptorConfigurer.forceByPass=!0,this._visibility$.next(!0)}hide(){this._visibility$.next(!1),this.pendingRequestsInterceptorConfigurer.forceByPass=!1}static \u0275fac=function(r){return new(r||e)(D(q))};static \u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vt=(()=>{class e{pendingRequestsInterceptorConfigurer;spinnerVisibility;spinkit=ve;isVisible$;isVisible;visibleUntil=Date.now();backdrop=d(!0);backgroundColor=d();debounceDelay=d(0);entryComponent=d(null);extraDuration=d(0);filteredHeaders=d([]);filteredMethods=d([]);filteredUrlPatterns=d([]);minDuration=d(0);opacity=d(".7");backdropBackgroundColor=d("#f1f1f1");spinner=ie(ve.skWave);constructor(t,r){this.pendingRequestsInterceptorConfigurer=t,this.spinnerVisibility=r;let[n,l]=Q(this.pendingRequestsInterceptorConfigurer.pendingRequestsStatus$,a=>a);this.isVisible$=X(this.pendingRequestsInterceptorConfigurer.pendingRequestsStatus$.pipe(F(()=>n.pipe(j(()=>U(this.debounceDelay()))))),n.pipe(F(()=>l.pipe(j(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe(G(),K(a=>this.updateExpirationDelay(a))),this.isVisible=pe(this.isVisible$)}ngOnInit(){this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent()&&this.spinner.update(()=>null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns().length&&this.filteredUrlPatterns().forEach(t=>this.pendingRequestsInterceptorConfigurer.filteredUrlPatterns.push(new RegExp(t)))}initFilteredMethods(){this.pendingRequestsInterceptorConfigurer.filteredMethods=this.filteredMethods()}initFilteredHeaders(){this.pendingRequestsInterceptorConfigurer.filteredHeaders=this.filteredHeaders()}updateExpirationDelay(t){t&&(this.visibleUntil=Date.now()+this.minDuration())}getVisibilityTimer$(){return U(Math.max(this.extraDuration(),this.visibleUntil-Date.now()))}static \u0275fac=function(r){return new(r||e)(k(q),k($e))};static \u0275cmp=c({type:e,selectors:[["ng-http-loader"]],inputs:{backdrop:[1,"backdrop"],backgroundColor:[1,"backgroundColor"],debounceDelay:[1,"debounceDelay"],entryComponent:[1,"entryComponent"],extraDuration:[1,"extraDuration"],filteredHeaders:[1,"filteredHeaders"],filteredMethods:[1,"filteredMethods"],filteredUrlPatterns:[1,"filteredUrlPatterns"],minDuration:[1,"minDuration"],opacity:[1,"opacity"],backdropBackgroundColor:[1,"backdropBackgroundColor"],spinner:[1,"spinner"]},outputs:{spinner:"spinnerChange"},decls:1,vars:1,consts:[["id","spinner",3,"backdrop","opacity","ngStyle"],["id","spinner",3,"ngStyle"],[4,"ngComponentOutlet"],[3,"backgroundColor"]],template:function(r,n){r&1&&A(0,Fe,10,9,"div",0),r&2&&Y(n.isVisible()?0:-1)},dependencies:[Be,He,Ae,Ye,We,Le,Ve,qe,ae,se],styles:["#spinner[_ngcontent-%COMP%]{top:50%;left:50%;transform:translate(-50%,-50%);position:fixed;z-index:9999}#spinner.backdrop[_ngcontent-%COMP%]{top:0;left:0;height:100%;width:100%;display:flex;align-items:center;justify-content:center;transform:none} .colored-parent, .colored>div{background-color:#333}"]})}return e})();function bt(e,o){let t=ee(q),r=t.shouldBypass(e);return r||(t.pendingRequests++,t.pendingRequests===1&&t.pendingRequestsStatusSubject$.next(!0)),o(e).pipe(Z(()=>{r||(t.pendingRequests--,t.pendingRequests===0&&t.pendingRequestsStatusSubject$.next(!1))}))}var Xe=["data-p-icon","times-circle"],_t=(()=>{class e extends de{pathId;onInit(){this.pathId="url(#"+ce()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=h(e)))(n||e)}})();static \u0275cmp=c({type:e,selectors:[["","data-p-icon","times-circle"]],features:[p],attrs:Xe,decls:5,vars:2,consts:[["fill-rule","evenodd","clip-rule","evenodd","d","M7 14C5.61553 14 4.26215 13.5895 3.11101 12.8203C1.95987 12.0511 1.06266 10.9579 0.532846 9.67879C0.00303296 8.3997 -0.13559 6.99224 0.134506 5.63437C0.404603 4.2765 1.07129 3.02922 2.05026 2.05026C3.02922 1.07129 4.2765 0.404603 5.63437 0.134506C6.99224 -0.13559 8.3997 0.00303296 9.67879 0.532846C10.9579 1.06266 12.0511 1.95987 12.8203 3.11101C13.5895 4.26215 14 5.61553 14 7C14 8.85652 13.2625 10.637 11.9497 11.9497C10.637 13.2625 8.85652 14 7 14ZM7 1.16667C5.84628 1.16667 4.71846 1.50879 3.75918 2.14976C2.79989 2.79074 2.05222 3.70178 1.61071 4.76768C1.16919 5.83358 1.05367 7.00647 1.27876 8.13803C1.50384 9.26958 2.05941 10.309 2.87521 11.1248C3.69102 11.9406 4.73042 12.4962 5.86198 12.7212C6.99353 12.9463 8.16642 12.8308 9.23232 12.3893C10.2982 11.9478 11.2093 11.2001 11.8502 10.2408C12.4912 9.28154 12.8333 8.15373 12.8333 7C12.8333 5.45291 12.2188 3.96918 11.1248 2.87521C10.0308 1.78125 8.5471 1.16667 7 1.16667ZM4.66662 9.91668C4.58998 9.91704 4.51404 9.90209 4.44325 9.87271C4.37246 9.84333 4.30826 9.8001 4.2544 9.74557C4.14516 9.6362 4.0838 9.48793 4.0838 9.33335C4.0838 9.17876 4.14516 9.0305 4.2544 8.92113L6.17553 7L4.25443 5.07891C4.15139 4.96832 4.09529 4.82207 4.09796 4.67094C4.10063 4.51982 4.16185 4.37563 4.26872 4.26876C4.3756 4.16188 4.51979 4.10066 4.67091 4.09799C4.82204 4.09532 4.96829 4.15142 5.07887 4.25446L6.99997 6.17556L8.92106 4.25446C9.03164 4.15142 9.1779 4.09532 9.32903 4.09799C9.48015 4.10066 9.62434 4.16188 9.73121 4.26876C9.83809 4.37563 9.89931 4.51982 9.90198 4.67094C9.90464 4.82207 9.84855 4.96832 9.74551 5.07891L7.82441 7L9.74554 8.92113C9.85478 9.0305 9.91614 9.17876 9.91614 9.33335C9.91614 9.48793 9.85478 9.6362 9.74554 9.74557C9.69168 9.8001 9.62748 9.84333 9.55669 9.87271C9.4859 9.90209 9.40996 9.91704 9.33332 9.91668C9.25668 9.91704 9.18073 9.90209 9.10995 9.87271C9.03916 9.84333 8.97495 9.8001 8.9211 9.74557L6.99997 7.82444L5.07884 9.74557C5.02499 9.8001 4.96078 9.84333 4.88999 9.87271C4.81921 9.90209 4.74326 9.91704 4.66662 9.91668Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(r,n){r&1&&(te(),f(0,"g"),u(1,"path",0),m(),f(2,"defs")(3,"clipPath",1),u(4,"rect",2),m()()),r&2&&(B("clip-path",n.pathId),i(3),ne("id",n.pathId))},encapsulation:2})}return e})();var it=Se(Me(),1);var Pe=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=E({type:e}),e.\u0275inj=S({}),e})();var st=new J("NG_SCROLLBAR_OPTIONS");var lr=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:st,useValue:t}]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=E({type:e}),e.\u0275inj=S({imports:[le,ge,ue,he,Pe]}),e})();export{_t as a,$e as b,vt as c,bt as d,lr as e};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ha as p}from"./chunk-
|
|
1
|
+
import{ha as p}from"./chunk-ZPKEMDEL.js";import{fa as i,ka as s}from"./chunk-DCMMIJN7.js";var h=(()=>{class r{constructor(){this.httpService=s(p)}getUserList(t={}){let e={params:t};return this.httpService.get("api/User/List",e)}getUserListLoader1(){return this.httpService.get("api/User/listLoader")}getUserListLoader2(t={}){let e={params:t};return this.httpService.get("api/User/GetUserLoader",e)}inviteUser(t){return this.httpService.post("api/User",t)}deleteUser(t){return this.httpService.post("api/User/delete",{ListID:t})}updateUser(t,e){return this.httpService.put(`api/User/${t}`,{GroupID:e})}getUserByID(t){return this.httpService.get(`api/User/${t}`)}getGroupList(){return this.httpService.get("api/Group")}getAPICredential(){return this.httpService.get("api/Credential")}verifyAPICredential(t){return this.httpService.post("api/Credential/Verify",t)}submitAPICredential(t){return this.httpService.post("api/Credential",t)}static{this.\u0275fac=function(e){return new(e||r)}}static{this.\u0275prov=i({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();export{h as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Aa as q,G as Z,U as _,a as u,d as N,e as R,f as B,fa as W,ha as j,i as l,ia as U,ka as O,l as E,la as $,m,n as F,p as v,sa as T,y as r}from"./chunk-
|
|
1
|
+
import{Aa as q,G as Z,U as _,a as u,d as N,e as R,f as B,fa as W,ha as j,i as l,ia as U,ka as O,l as E,la as $,m,n as F,p as v,sa as T,y as r}from"./chunk-RV4MERGH.js";import{r as z}from"./chunk-ZPKEMDEL.js";import{Cb as g,Da as b,Ia as f,Jc as A,Zc as V,ac as P,ad as d,fa as w,ga as x,ia as D,ka as y,ld as c,md as p,qb as L,ra as I,sb as H,xa as S,xb as M,yb as C,zb as k}from"./chunk-DCMMIJN7.js";import{a as h}from"./chunk-YGFG76LK.js";var X=["data-p-icon","check"],et=(()=>{class o extends ${static \u0275fac=(()=>{let t;return function(i){return(t||(t=f(o)))(i||o)}})();static \u0275cmp=M({type:o,selectors:[["","data-p-icon","check"]],features:[g],attrs:X,decls:1,vars:0,consts:[["d","M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z","fill","currentColor"]],template:function(e,i){e&1&&(I(),P(0,"path",0))},encapsulation:2})}return o})();var G=`
|
|
2
2
|
.p-tooltip {
|
|
3
3
|
position: absolute;
|
|
4
4
|
display: none;
|