dealposbooks 1.9.8 → 1.9.9
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/assets/scss/style.scss +1 -1
- package/{chunk-CNLYDNON.js → chunk-2U35WLGR.js} +1 -1
- package/{chunk-H6BPUKCW.js → chunk-33PMTNWY.js} +1 -1
- package/{chunk-XAH4P23E.js → chunk-3XHIVI4R.js} +1 -1
- package/{chunk-L66QS3IX.js → chunk-5CKNZSY2.js} +1 -1
- package/{chunk-OXGCSUUS.js → chunk-6IIHHTGW.js} +1 -1
- package/{chunk-V4IY7RIP.js → chunk-6JMIM647.js} +1 -1
- package/{chunk-27P5HOS3.js → chunk-6KUGZE4D.js} +1 -1
- package/{chunk-5RRPJBLN.js → chunk-7BNTEMFA.js} +1 -1
- package/{chunk-LFVBO7JG.js → chunk-7EIOX5NB.js} +1 -1
- package/{chunk-TLLNQB5C.js → chunk-7EZ4X3EY.js} +2 -2
- package/{chunk-YJ3CWPO4.js → chunk-7F26ZTCS.js} +1 -1
- package/{chunk-6PS3NJ62.js → chunk-7SS54GTW.js} +1 -1
- package/{chunk-35ER6BC7.js → chunk-7Z3LI5KJ.js} +1 -1
- package/{chunk-WWWY3VE7.js → chunk-AAV2CBYL.js} +1 -1
- package/{chunk-DAQCANBV.js → chunk-B63BKC6F.js} +2 -2
- package/{chunk-CEZEYAWZ.js → chunk-B6WHUOA5.js} +1 -1
- package/{chunk-W6LBFCQQ.js → chunk-BHV2HCJY.js} +1 -1
- package/{chunk-LMI4DLB5.js → chunk-BOLQVS6Y.js} +1 -1
- package/{chunk-XYU65DNE.js → chunk-BTDW4G2F.js} +1 -1
- package/{chunk-VJVWTOYU.js → chunk-BVWHK6FQ.js} +1 -1
- package/{chunk-NHEN24Y3.js → chunk-BZKPOL7V.js} +1 -1
- package/{chunk-BOVEGMBL.js → chunk-CEGCR3XO.js} +1 -1
- package/{chunk-PDNXU4MC.js → chunk-CF5CCUC7.js} +1 -1
- package/{chunk-6332DY2I.js → chunk-CLLHHYX6.js} +1 -1
- package/{chunk-4PK4TO7C.js → chunk-CQFTV5NO.js} +1 -1
- package/{chunk-CGUMUBB7.js → chunk-CYY5JJLN.js} +1 -1
- package/chunk-D7VZOVPI.js +130 -0
- package/{chunk-YVGWGEPX.js → chunk-E4IYO245.js} +1 -1
- package/{chunk-Z3SHAW6W.js → chunk-EDULXXOB.js} +1 -1
- package/{chunk-DJAICZNR.js → chunk-EFM3IZ4E.js} +1 -1
- package/{chunk-AZWJMXL6.js → chunk-EUZRP4IL.js} +1 -1
- package/{chunk-SH4ALZVS.js → chunk-F5XF3NTF.js} +1 -1
- package/{chunk-3GHEXAAZ.js → chunk-FMVCTBCQ.js} +1 -1
- package/chunk-G7JKAPFA.js +160 -0
- package/chunk-GMAMEQ3J.js +1 -0
- package/{chunk-CLVUILX2.js → chunk-GNCW5Q2A.js} +1 -1
- package/{chunk-HFUW7PYZ.js → chunk-GQALHR6D.js} +1 -1
- package/{chunk-4V5YFD3N.js → chunk-GW67NFVX.js} +1 -1
- package/{chunk-U4SERSDK.js → chunk-HERTD63G.js} +1 -1
- package/chunk-I4KQVYMH.js +1 -0
- package/{chunk-BX74ZLQG.js → chunk-I7SRN7BD.js} +1 -1
- package/{chunk-R6XNFCQM.js → chunk-IZLAA63M.js} +1 -1
- package/{chunk-UWWFSGE7.js → chunk-J6QKJ5IE.js} +1 -1
- package/{chunk-FTI2QPWV.js → chunk-JBSIAXM5.js} +1 -1
- package/{chunk-2QWAAI3V.js → chunk-JKTB4WTW.js} +1 -1
- package/{chunk-WCXWWANV.js → chunk-JP6RBSB3.js} +3 -3
- package/chunk-JPZJ6KUM.js +1 -0
- package/{chunk-RNOSD5RO.js → chunk-KOLMNCWR.js} +1 -1
- package/{chunk-VDBXI7BY.js → chunk-KYPFNXXK.js} +1 -1
- package/{chunk-MYLHWS7O.js → chunk-KZWUDERE.js} +1 -1
- package/{chunk-J6H5UCJR.js → chunk-LETMLT3U.js} +1 -1
- package/chunk-LNWZEFKE.js +1 -0
- package/chunk-LW5XWJJA.js +1 -0
- package/chunk-M3N34WLW.js +1 -0
- package/{chunk-7ET5CSOO.js → chunk-M4Z3FI3C.js} +1 -1
- package/{chunk-RLR2HFSC.js → chunk-MDH73MG3.js} +1 -1
- package/{chunk-TDMJ2M6W.js → chunk-MFLZ4HZM.js} +1 -1
- package/chunk-MP3KNNAP.js +1 -0
- package/{chunk-77BBQI2T.js → chunk-MWDWM2EU.js} +1 -1
- package/{chunk-46XJU64Z.js → chunk-O3H5V64X.js} +1 -1
- package/{chunk-CZWWMQFD.js → chunk-O4QM64EH.js} +1 -1
- package/chunk-OW2GYBXF.js +7 -0
- package/{chunk-TIX3GAPF.js → chunk-PCSX3PMT.js} +1 -1
- package/{chunk-ZHU3HOWQ.js → chunk-Q4RMIZY5.js} +1 -1
- package/{chunk-JZTK7BS7.js → chunk-QDMJKW6E.js} +1 -1
- package/chunk-QLPEPLQ4.js +1 -0
- package/{chunk-BDJHC5O6.js → chunk-QTHCFSIO.js} +1 -1
- package/{chunk-NR3EHEG3.js → chunk-RDNX4GB3.js} +1 -1
- package/{chunk-VJLO7GNT.js → chunk-RFFPFL5K.js} +1 -1
- package/{chunk-JO3SI6HU.js → chunk-RSBHWSQP.js} +1 -1
- package/{chunk-3RM5CDGW.js → chunk-RSNWAAG7.js} +1 -1
- package/chunk-UD2JTFXA.js +1 -0
- package/{chunk-DXIZC3FM.js → chunk-UGW4WHZE.js} +1 -1
- package/chunk-UQMQ34KD.js +1 -0
- package/{chunk-BPFL7VRT.js → chunk-VAXEGESW.js} +1 -1
- package/chunk-VH4SDRSP.js +129 -0
- package/{chunk-7IPVVF6Y.js → chunk-VLOOUXSK.js} +1 -1
- package/{chunk-KANHSSLO.js → chunk-VWCH5LXN.js} +3 -3
- package/chunk-W223GVMJ.js +1 -0
- package/{chunk-U75O34AW.js → chunk-WJ2UEWWN.js} +1 -1
- package/{chunk-TOYTUB2K.js → chunk-WKDV7R2E.js} +1 -1
- package/{chunk-RSGEQTNJ.js → chunk-WKMCO5GR.js} +1 -1
- package/{chunk-NOZEL54G.js → chunk-WPUAF2DP.js} +1 -1
- package/{chunk-LRI7YFKN.js → chunk-WXJP4ZEP.js} +1 -1
- package/chunk-XKCLERWG.js +1 -0
- package/{chunk-W4KTL6Y6.js → chunk-XSV3RUSY.js} +1 -1
- package/{chunk-SRNYKRLK.js → chunk-Y3JWOPHT.js} +1 -1
- package/{chunk-KHP7E7JG.js → chunk-ZD25QBHW.js} +1 -1
- package/chunk-ZEMTTJBT.js +1 -0
- package/{chunk-RYHNURUZ.js → chunk-ZJXOMTHP.js} +1 -1
- package/{chunk-4MEPU7FI.js → chunk-ZZJ3I6VU.js} +1 -1
- package/index.html +2 -2
- package/main-SDHARJTN.js +1 -0
- package/package.json +1 -1
- package/{styles-XXVTW56A.css → styles-6GJ4BYO3.css} +1 -1
- package/chunk-3OJSEDLY.js +0 -1
- package/chunk-7JGGV5FX.js +0 -1
- package/chunk-7TOJMYLE.js +0 -1
- package/chunk-C3N6HRIE.js +0 -1
- package/chunk-EJCLRSB2.js +0 -1
- package/chunk-I3BTHUK3.js +0 -160
- package/chunk-IL6G454L.js +0 -1
- package/chunk-IY6KCAQ4.js +0 -1
- package/chunk-K4ALA724.js +0 -1
- package/chunk-MPHC4J2R.js +0 -1
- package/chunk-NRULEUE7.js +0 -1
- package/chunk-ONMFMNUN.js +0 -129
- package/chunk-R6NK3ROE.js +0 -1
- package/chunk-RQ52IUQY.js +0 -130
- package/chunk-UNWDCLFZ.js +0 -1
- package/chunk-UUZOSCEV.js +0 -7
- package/chunk-WUPQR4WU.js +0 -1
- package/chunk-X26YDRRO.js +0 -1
- package/main-LKLXHNSP.js +0 -1
package/assets/scss/style.scss
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as re,j as pe}from"./chunk-
|
|
1
|
+
import{i as re,j as pe}from"./chunk-QTHCFSIO.js";import{a as le,w as ce,x as se}from"./chunk-BOLQVS6Y.js";import{Ea as ne,La as oe,Ma as ie,Na as V,Va as ae}from"./chunk-FMVCTBCQ.js";import{c as U,f as X,g as Y,h as Z,m as ee}from"./chunk-B63BKC6F.js";import{c as te,d as S,f as Q,g as B,h as M}from"./chunk-F2X3VGZZ.js";import{Ab as R,Ac as h,Bc as z,Cb as c,Cc as G,Jb as f,Kb as i,Mc as J,Ob as C,Ub as d,Vb as m,Vc as F,Wb as T,Xb as x,Yb as I,Zb as P,_b as w,ba as O,ca as $,dc as k,ec as s,fc as H,gb as a,gc as E,ha as A,jc as u,kc as N,lc as _,mc as g,pa as b,qa as y,qc as W,rc as K,ta as D,wb as j,xb as q,yc as L,za as v}from"./chunk-JP6RBSB3.js";var ge=["header"],ue=["icons"],me=["content"],fe=["footer"],he=["headericons"],be=["contentWrapper"],ye=["*",[["p-header"]],[["p-footer"]]],Te=["*","p-header","p-footer"],ve=(e,o)=>({"p-panel p-component":!0,"p-panel-toggleable":e,"p-panel-expanded":o}),Ce=e=>({transitionParams:e,height:"0",opacity:"0"}),xe=e=>({value:"hidden",params:e}),Ie=e=>({transitionParams:e,height:"*",opacity:"1"}),Pe=e=>({value:"visible",params:e}),we=(e,o,t)=>({"p-panel-icons-start":e,"p-panel-icons-end":o,"p-panel-icons-center":t}),ke=e=>({$implicit:e});function Ee(e,o){if(e&1&&(d(0,"span",12),W(1),m()),e&2){let t=s(2);f("id",t.id+"_header"),a(),K(t._header)}}function Fe(e,o){e&1&&P(0)}function Se(e,o){}function Qe(e,o){e&1&&c(0,Se,0,0,"ng-template")}function Be(e,o){if(e&1&&T(0,"span"),e&2){let t=s(6);C(t.expandIcon)}}function Me(e,o){e&1&&T(0,"MinusIcon")}function Ve(e,o){if(e&1&&(x(0),c(1,Be,1,2,"span",16)(2,Me,1,0,"MinusIcon",14),I()),e&2){let t=s(5);a(),i("ngIf",t.expandIcon),a(),i("ngIf",!t.expandIcon)}}function De(e,o){if(e&1&&T(0,"span"),e&2){let t=s(6);C(t.collapseIcon)}}function Oe(e,o){e&1&&T(0,"PlusIcon")}function $e(e,o){if(e&1&&(x(0),c(1,De,1,2,"span",16)(2,Oe,1,0,"PlusIcon",14),I()),e&2){let t=s(5);a(),i("ngIf",t.collapseIcon),a(),i("ngIf",!t.collapseIcon)}}function Ae(e,o){if(e&1&&(x(0),c(1,Ve,3,2,"ng-container",14)(2,$e,3,2,"ng-container",14),I()),e&2){let t=s(4);a(),i("ngIf",!t.collapsed),a(),i("ngIf",t.collapsed)}}function je(e,o){}function qe(e,o){e&1&&c(0,je,0,0,"ng-template")}function Re(e,o){if(e&1&&c(0,Ae,3,2,"ng-container",14)(1,qe,1,0,null,15),e&2){let t=s(3);i("ngIf",!t.headerIconsTemplate&&!t._headerIconsTemplate&&!(t.toggleButtonProps!=null&&t.toggleButtonProps.icon)),a(),i("ngTemplateOutlet",t.headerIconsTemplate||t._headerIconsTemplate)("ngTemplateOutletContext",h(3,ke,t.collapsed))}}function He(e,o){if(e&1){let t=w();d(0,"p-button",13),k("click",function(n){b(t);let r=s(2);return y(r.onIconClick(n))})("keydown",function(n){b(t);let r=s(2);return y(r.onKeyDown(n))}),c(1,Re,2,5,"ng-template",null,1,J),m()}if(e&2){let t=s(2);i("text",!0)("rounded",!0)("buttonProps",t.toggleButtonProps),f("id",t.id+"_header")("aria-label",t.buttonAriaLabel)("aria-controls",t.id+"_content")("aria-expanded",!t.collapsed)}}function Ne(e,o){if(e&1){let t=w();d(0,"div",8),k("click",function(n){b(t);let r=s();return y(r.onHeaderClick(n))}),c(1,Ee,2,2,"span",9),E(2,1),c(3,Fe,1,0,"ng-container",6),d(4,"div",10),c(5,Qe,1,0,null,6)(6,He,3,7,"p-button",11),m()()}if(e&2){let t=s();f("id",t.id+"-titlebar"),a(),i("ngIf",t._header),a(2),i("ngTemplateOutlet",t.headerTemplate||t._headerTemplate),a(),i("ngClass",G(6,we,t.iconPos==="start",t.iconPos==="end",t.iconPos==="center")),a(),i("ngTemplateOutlet",t.iconTemplate||t._iconTemplate),a(),i("ngIf",t.toggleable)}}function We(e,o){e&1&&P(0)}function Ke(e,o){e&1&&P(0)}function Le(e,o){if(e&1&&(d(0,"div",17),E(1,2),c(2,Ke,1,0,"ng-container",6),m()),e&2){let t=s();a(2),i("ngTemplateOutlet",t.footerTemplate||t._footerTemplate)}}var ze=({dt:e})=>`
|
|
2
2
|
.p-panel {
|
|
3
3
|
border: 1px solid ${e("panel.border.color")};
|
|
4
4
|
border-radius: ${e("panel.border.radius")};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as N,f as E,g as L,i as j}from"./chunk-DAQCANBV.js";import{A as y,Ab as g,Ac as H,C as x,Cb as M,Da as c,E as D,Jc as $,K as h,Kb as s,Kc as U,Lb as r,Mb as k,O as I,Q as S,Ub as b,Vb as f,Wb as a,X as _,Z as w,Zb as T,ba as v,ec as u,ga as F,gb as i,ha as B,i as m,mb as P,rb as R,ta as p,wb as l,yb as q}from"./chunk-WCXWWANV.js";var V=t=>({"background-color":t});function Y(t,d){t&1&&T(0)}function G(t,d){if(t&1&&a(0,"sk-cube-grid",4),t&2){let e=u(2);s("backgroundColor",e.backgroundColor())}}function z(t,d){if(t&1&&a(0,"sk-chasing-dots",4),t&2){let e=u(2);s("backgroundColor",e.backgroundColor())}}function X(t,d){if(t&1&&a(0,"sk-double-bounce",4),t&2){let e=u(2);s("backgroundColor",e.backgroundColor())}}function A(t,d){if(t&1&&a(0,"sk-rotating-plane",4),t&2){let e=u(2);s("backgroundColor",e.backgroundColor())}}function K(t,d){if(t&1&&a(0,"sk-spinner-pulse",4),t&2){let e=u(2);s("backgroundColor",e.backgroundColor())}}function Z(t,d){if(t&1&&a(0,"sk-three-bounce",4),t&2){let e=u(2);s("backgroundColor",e.backgroundColor())}}function J(t,d){if(t&1&&a(0,"sk-wandering-cubes",4),t&2){let e=u(2);s("backgroundColor",e.backgroundColor())}}function Q(t,d){if(t&1&&a(0,"sk-wave",4),t&2){let e=u(2);s("backgroundColor",e.backgroundColor())}}function ee(t,d){if(t&1&&(b(0,"div",1),M(1,Y,1,0,"ng-container",2)(2,G,1,1,"sk-cube-grid",3)(3,z,1,1,"sk-chasing-dots",3)(4,X,1,1,"sk-double-bounce",3)(5,A,1,1,"sk-rotating-plane",3)(6,K,1,1,"sk-spinner-pulse",3)(7,Z,1,1,"sk-three-bounce",3)(8,J,1,1,"sk-wandering-cubes",3)(9,Q,1,1,"sk-wave",3),f()),t&2){let e=u();r("opacity",e.opacity()),k("backdrop",e.backdrop()),s("ngStyle",H(14,V,e.backdrop()?e.backdropBackgroundColor():"transparent")),i(),s("ngComponentOutlet",e.entryComponent()),i(),s("ngIf",e.spinner()===e.spinkit.skCubeGrid),i(),s("ngIf",e.spinner()===e.spinkit.skChasingDots),i(),s("ngIf",e.spinner()===e.spinkit.skDoubleBounce),i(),s("ngIf",e.spinner()===e.spinkit.skRotatingPlane),i(),s("ngIf",e.spinner()===e.spinkit.skSpinnerPulse),i(),s("ngIf",e.spinner()===e.spinkit.skThreeBounce),i(),s("ngIf",e.spinner()===e.spinkit.skWanderingCubes),i(),s("ngIf",e.spinner()===e.spinkit.skWave)}}var C=(()=>{class t{backgroundColor=c();static \u0275fac=function(o){return new(o||t)};static \u0275dir=q({type:t,inputs:{backgroundColor:[1,"backgroundColor"]}})}return t})(),te=(()=>{class t extends C{static \u0275fac=(()=>{let e;return function(n){return(e||(e=p(t)))(n||t)}})();static \u0275cmp=l({type:t,selectors:[["sk-chasing-dots"]],features:[g],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(o,n){o&1&&(b(0,"div",0),a(1,"div",1)(2,"div",2),f()),o&2&&(k("colored",!n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("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 t})(),ne=(()=>{class t extends C{static \u0275fac=(()=>{let e;return function(n){return(e||(e=p(t)))(n||t)}})();static \u0275cmp=l({type:t,selectors:[["sk-cube-grid"]],features:[g],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(o,n){o&1&&(b(0,"div",0),a(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),f()),o&2&&(k("colored",!n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("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 t})(),oe=(()=>{class t extends C{static \u0275fac=(()=>{let e;return function(n){return(e||(e=p(t)))(n||t)}})();static \u0275cmp=l({type:t,selectors:[["sk-double-bounce"]],features:[g],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(o,n){o&1&&(b(0,"div",0),a(1,"div",1)(2,"div",2),f()),o&2&&(k("colored",!n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("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 t})(),ie=(()=>{class t extends C{static \u0275fac=(()=>{let e;return function(n){return(e||(e=p(t)))(n||t)}})();static \u0275cmp=l({type:t,selectors:[["sk-rotating-plane"]],features:[g],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(o,n){o&1&&a(0,"div",0),o&2&&r("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 t})(),re=(()=>{class t extends C{static \u0275fac=(()=>{let e;return function(n){return(e||(e=p(t)))(n||t)}})();static \u0275cmp=l({type:t,selectors:[["sk-spinner-pulse"]],features:[g],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(o,n){o&1&&a(0,"div",0),o&2&&r("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 t})(),se=(()=>{class t extends C{static \u0275fac=(()=>{let e;return function(n){return(e||(e=p(t)))(n||t)}})();static \u0275cmp=l({type:t,selectors:[["sk-three-bounce"]],features:[g],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(o,n){o&1&&(b(0,"div",0),a(1,"div",1)(2,"div",2)(3,"div",3),f()),o&2&&(k("colored",!n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("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 t})(),ae=(()=>{class t extends C{static \u0275fac=(()=>{let e;return function(n){return(e||(e=p(t)))(n||t)}})();static \u0275cmp=l({type:t,selectors:[["sk-wandering-cubes"]],features:[g],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(o,n){o&1&&(b(0,"div",0),a(1,"div",1)(2,"div",2),f()),o&2&&(k("colored",!n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("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 t})(),ce=(()=>{class t extends C{static \u0275fac=(()=>{let e;return function(n){return(e||(e=p(t)))(n||t)}})();static \u0275cmp=l({type:t,selectors:[["sk-wave"]],features:[g],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(o,n){o&1&&(b(0,"div",0),a(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),f()),o&2&&(k("colored",!n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("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 t})(),W={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 O=(()=>{class t{_pendingRequests=0;_pendingRequestsStatus$=new m(1);_filteredUrlPatterns=[];_filteredMethods=[];_filteredHeaders=[];_forceByPass=!1;get pendingRequestsStatus$(){return this._pendingRequestsStatus$.asObservable()}get pendingRequestsStatusSubject$(){return this._pendingRequestsStatus$}get pendingRequests(){return this._pendingRequests}set pendingRequests(e){this._pendingRequests=e}get filteredUrlPatterns(){return this._filteredUrlPatterns}set filteredMethods(e){this._filteredMethods=e}set filteredHeaders(e){this._filteredHeaders=e}set forceByPass(e){this._forceByPass=e}shouldBypassUrl(e){return this._filteredUrlPatterns.some(o=>o.test(e))}shouldBypassMethod(e){return this._filteredMethods.some(o=>o.toUpperCase()===e.method.toUpperCase())}shouldBypassHeader(e){return this._filteredHeaders.some(o=>e.headers.has(o))}shouldBypass(e){return this._forceByPass||this.shouldBypassUrl(e.urlWithParams)||this.shouldBypassMethod(e)||this.shouldBypassHeader(e)}static \u0275fac=function(o){return new(o||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),de=(()=>{class t{pendingRequestsInterceptorConfigurer;_visibility$=new m(1);constructor(e){this.pendingRequestsInterceptorConfigurer=e}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(o){return new(o||t)(F(O))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),me=(()=>{class t{pendingRequestsInterceptorConfigurer;spinnerVisibility;spinkit=W;isVisible$;visibleUntil=Date.now();backdrop=c(!0);backgroundColor=c();debounceDelay=c(0);entryComponent=c(null);extraDuration=c(0);filteredHeaders=c([]);filteredMethods=c([]);filteredUrlPatterns=c([]);minDuration=c(0);opacity=c(".7");backdropBackgroundColor=c("#f1f1f1");spinner=R(W.skWave);constructor(e,o){this.pendingRequestsInterceptorConfigurer=e,this.spinnerVisibility=o}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){let[e,o]=D(this.pendingRequestsInterceptorConfigurer.pendingRequestsStatus$,n=>n);this.isVisible$=x(this.pendingRequestsInterceptorConfigurer.pendingRequestsStatus$.pipe(_(()=>e.pipe(h(()=>y(this.debounceDelay()))))),e.pipe(_(()=>o.pipe(h(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe(I(),w(n=>this.updateExpirationDelay(n)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent()&&this.spinner.update(()=>null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns().length&&this.filteredUrlPatterns().forEach(e=>this.pendingRequestsInterceptorConfigurer.filteredUrlPatterns.push(new RegExp(e)))}initFilteredMethods(){this.pendingRequestsInterceptorConfigurer.filteredMethods=this.filteredMethods()}initFilteredHeaders(){this.pendingRequestsInterceptorConfigurer.filteredHeaders=this.filteredHeaders()}updateExpirationDelay(e){e&&(this.visibleUntil=Date.now()+this.minDuration())}getVisibilityTimer$(){return y(Math.max(this.extraDuration(),this.visibleUntil-Date.now()))}static \u0275fac=function(o){return new(o||t)(P(O),P(de))};static \u0275cmp=l({type:t,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:2,vars:3,consts:[["id","spinner",3,"backdrop","opacity","ngStyle",4,"ngIf"],["id","spinner",3,"ngStyle"],[4,"ngComponentOutlet"],[3,"backgroundColor",4,"ngIf"],[3,"backgroundColor"]],template:function(o,n){o&1&&(M(0,ee,10,16,"div",0),$(1,"async")),o&2&&s("ngIf",U(1,1,n.isVisible$))},dependencies:[ne,te,oe,ie,re,se,ae,ce,L,N,E,j],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 t})();function ye(t,d){let e=B(O),o=e.shouldBypass(t);return o||(e.pendingRequests++,e.pendingRequests===1&&e.pendingRequestsStatusSubject$.next(!0)),d(t).pipe(S(()=>{o||(e.pendingRequests--,e.pendingRequests===0&&e.pendingRequestsStatusSubject$.next(!1))}))}export{de as a,me as b,ye as c};
|
|
1
|
+
import{d as N,f as E,g as L,i as j}from"./chunk-B63BKC6F.js";import{A as y,Ab as g,Ac as H,C as x,Cb as M,Da as c,E as D,Jc as $,K as h,Kb as s,Kc as U,Lb as r,Mb as k,O as I,Q as S,Ub as b,Vb as f,Wb as a,X as _,Z as w,Zb as T,ba as v,ec as u,ga as F,gb as i,ha as B,i as m,mb as P,rb as R,ta as p,wb as l,yb as q}from"./chunk-JP6RBSB3.js";var V=t=>({"background-color":t});function Y(t,d){t&1&&T(0)}function G(t,d){if(t&1&&a(0,"sk-cube-grid",4),t&2){let e=u(2);s("backgroundColor",e.backgroundColor())}}function z(t,d){if(t&1&&a(0,"sk-chasing-dots",4),t&2){let e=u(2);s("backgroundColor",e.backgroundColor())}}function X(t,d){if(t&1&&a(0,"sk-double-bounce",4),t&2){let e=u(2);s("backgroundColor",e.backgroundColor())}}function A(t,d){if(t&1&&a(0,"sk-rotating-plane",4),t&2){let e=u(2);s("backgroundColor",e.backgroundColor())}}function K(t,d){if(t&1&&a(0,"sk-spinner-pulse",4),t&2){let e=u(2);s("backgroundColor",e.backgroundColor())}}function Z(t,d){if(t&1&&a(0,"sk-three-bounce",4),t&2){let e=u(2);s("backgroundColor",e.backgroundColor())}}function J(t,d){if(t&1&&a(0,"sk-wandering-cubes",4),t&2){let e=u(2);s("backgroundColor",e.backgroundColor())}}function Q(t,d){if(t&1&&a(0,"sk-wave",4),t&2){let e=u(2);s("backgroundColor",e.backgroundColor())}}function ee(t,d){if(t&1&&(b(0,"div",1),M(1,Y,1,0,"ng-container",2)(2,G,1,1,"sk-cube-grid",3)(3,z,1,1,"sk-chasing-dots",3)(4,X,1,1,"sk-double-bounce",3)(5,A,1,1,"sk-rotating-plane",3)(6,K,1,1,"sk-spinner-pulse",3)(7,Z,1,1,"sk-three-bounce",3)(8,J,1,1,"sk-wandering-cubes",3)(9,Q,1,1,"sk-wave",3),f()),t&2){let e=u();r("opacity",e.opacity()),k("backdrop",e.backdrop()),s("ngStyle",H(14,V,e.backdrop()?e.backdropBackgroundColor():"transparent")),i(),s("ngComponentOutlet",e.entryComponent()),i(),s("ngIf",e.spinner()===e.spinkit.skCubeGrid),i(),s("ngIf",e.spinner()===e.spinkit.skChasingDots),i(),s("ngIf",e.spinner()===e.spinkit.skDoubleBounce),i(),s("ngIf",e.spinner()===e.spinkit.skRotatingPlane),i(),s("ngIf",e.spinner()===e.spinkit.skSpinnerPulse),i(),s("ngIf",e.spinner()===e.spinkit.skThreeBounce),i(),s("ngIf",e.spinner()===e.spinkit.skWanderingCubes),i(),s("ngIf",e.spinner()===e.spinkit.skWave)}}var C=(()=>{class t{backgroundColor=c();static \u0275fac=function(o){return new(o||t)};static \u0275dir=q({type:t,inputs:{backgroundColor:[1,"backgroundColor"]}})}return t})(),te=(()=>{class t extends C{static \u0275fac=(()=>{let e;return function(n){return(e||(e=p(t)))(n||t)}})();static \u0275cmp=l({type:t,selectors:[["sk-chasing-dots"]],features:[g],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(o,n){o&1&&(b(0,"div",0),a(1,"div",1)(2,"div",2),f()),o&2&&(k("colored",!n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("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 t})(),ne=(()=>{class t extends C{static \u0275fac=(()=>{let e;return function(n){return(e||(e=p(t)))(n||t)}})();static \u0275cmp=l({type:t,selectors:[["sk-cube-grid"]],features:[g],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(o,n){o&1&&(b(0,"div",0),a(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),f()),o&2&&(k("colored",!n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("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 t})(),oe=(()=>{class t extends C{static \u0275fac=(()=>{let e;return function(n){return(e||(e=p(t)))(n||t)}})();static \u0275cmp=l({type:t,selectors:[["sk-double-bounce"]],features:[g],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(o,n){o&1&&(b(0,"div",0),a(1,"div",1)(2,"div",2),f()),o&2&&(k("colored",!n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("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 t})(),ie=(()=>{class t extends C{static \u0275fac=(()=>{let e;return function(n){return(e||(e=p(t)))(n||t)}})();static \u0275cmp=l({type:t,selectors:[["sk-rotating-plane"]],features:[g],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(o,n){o&1&&a(0,"div",0),o&2&&r("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 t})(),re=(()=>{class t extends C{static \u0275fac=(()=>{let e;return function(n){return(e||(e=p(t)))(n||t)}})();static \u0275cmp=l({type:t,selectors:[["sk-spinner-pulse"]],features:[g],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(o,n){o&1&&a(0,"div",0),o&2&&r("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 t})(),se=(()=>{class t extends C{static \u0275fac=(()=>{let e;return function(n){return(e||(e=p(t)))(n||t)}})();static \u0275cmp=l({type:t,selectors:[["sk-three-bounce"]],features:[g],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(o,n){o&1&&(b(0,"div",0),a(1,"div",1)(2,"div",2)(3,"div",3),f()),o&2&&(k("colored",!n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("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 t})(),ae=(()=>{class t extends C{static \u0275fac=(()=>{let e;return function(n){return(e||(e=p(t)))(n||t)}})();static \u0275cmp=l({type:t,selectors:[["sk-wandering-cubes"]],features:[g],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(o,n){o&1&&(b(0,"div",0),a(1,"div",1)(2,"div",2),f()),o&2&&(k("colored",!n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("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 t})(),ce=(()=>{class t extends C{static \u0275fac=(()=>{let e;return function(n){return(e||(e=p(t)))(n||t)}})();static \u0275cmp=l({type:t,selectors:[["sk-wave"]],features:[g],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(o,n){o&1&&(b(0,"div",0),a(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),f()),o&2&&(k("colored",!n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("background-color",n.backgroundColor()),i(),r("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 t})(),W={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 O=(()=>{class t{_pendingRequests=0;_pendingRequestsStatus$=new m(1);_filteredUrlPatterns=[];_filteredMethods=[];_filteredHeaders=[];_forceByPass=!1;get pendingRequestsStatus$(){return this._pendingRequestsStatus$.asObservable()}get pendingRequestsStatusSubject$(){return this._pendingRequestsStatus$}get pendingRequests(){return this._pendingRequests}set pendingRequests(e){this._pendingRequests=e}get filteredUrlPatterns(){return this._filteredUrlPatterns}set filteredMethods(e){this._filteredMethods=e}set filteredHeaders(e){this._filteredHeaders=e}set forceByPass(e){this._forceByPass=e}shouldBypassUrl(e){return this._filteredUrlPatterns.some(o=>o.test(e))}shouldBypassMethod(e){return this._filteredMethods.some(o=>o.toUpperCase()===e.method.toUpperCase())}shouldBypassHeader(e){return this._filteredHeaders.some(o=>e.headers.has(o))}shouldBypass(e){return this._forceByPass||this.shouldBypassUrl(e.urlWithParams)||this.shouldBypassMethod(e)||this.shouldBypassHeader(e)}static \u0275fac=function(o){return new(o||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),de=(()=>{class t{pendingRequestsInterceptorConfigurer;_visibility$=new m(1);constructor(e){this.pendingRequestsInterceptorConfigurer=e}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(o){return new(o||t)(F(O))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),me=(()=>{class t{pendingRequestsInterceptorConfigurer;spinnerVisibility;spinkit=W;isVisible$;visibleUntil=Date.now();backdrop=c(!0);backgroundColor=c();debounceDelay=c(0);entryComponent=c(null);extraDuration=c(0);filteredHeaders=c([]);filteredMethods=c([]);filteredUrlPatterns=c([]);minDuration=c(0);opacity=c(".7");backdropBackgroundColor=c("#f1f1f1");spinner=R(W.skWave);constructor(e,o){this.pendingRequestsInterceptorConfigurer=e,this.spinnerVisibility=o}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){let[e,o]=D(this.pendingRequestsInterceptorConfigurer.pendingRequestsStatus$,n=>n);this.isVisible$=x(this.pendingRequestsInterceptorConfigurer.pendingRequestsStatus$.pipe(_(()=>e.pipe(h(()=>y(this.debounceDelay()))))),e.pipe(_(()=>o.pipe(h(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe(I(),w(n=>this.updateExpirationDelay(n)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent()&&this.spinner.update(()=>null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns().length&&this.filteredUrlPatterns().forEach(e=>this.pendingRequestsInterceptorConfigurer.filteredUrlPatterns.push(new RegExp(e)))}initFilteredMethods(){this.pendingRequestsInterceptorConfigurer.filteredMethods=this.filteredMethods()}initFilteredHeaders(){this.pendingRequestsInterceptorConfigurer.filteredHeaders=this.filteredHeaders()}updateExpirationDelay(e){e&&(this.visibleUntil=Date.now()+this.minDuration())}getVisibilityTimer$(){return y(Math.max(this.extraDuration(),this.visibleUntil-Date.now()))}static \u0275fac=function(o){return new(o||t)(P(O),P(de))};static \u0275cmp=l({type:t,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:2,vars:3,consts:[["id","spinner",3,"backdrop","opacity","ngStyle",4,"ngIf"],["id","spinner",3,"ngStyle"],[4,"ngComponentOutlet"],[3,"backgroundColor",4,"ngIf"],[3,"backgroundColor"]],template:function(o,n){o&1&&(M(0,ee,10,16,"div",0),$(1,"async")),o&2&&s("ngIf",U(1,1,n.isVisible$))},dependencies:[ne,te,oe,ie,re,se,ae,ce,L,N,E,j],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 t})();function ye(t,d){let e=B(O),o=e.shouldBypass(t);return o||(e.pendingRequests++,e.pendingRequests===1&&e.pendingRequestsStatusSubject$.next(!0)),d(t).pipe(S(()=>{o||(e.pendingRequests--,e.pendingRequests===0&&e.pendingRequestsStatusSubject$.next(!1))}))}export{de as a,me as b,ye as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as O,b as H}from"./chunk-
|
|
1
|
+
import{a as O,b as H}from"./chunk-ZD25QBHW.js";import"./chunk-CEGCR3XO.js";import"./chunk-LW5XWJJA.js";import{a as I,b as E}from"./chunk-XSV3RUSY.js";import"./chunk-VLOOUXSK.js";import{h as G}from"./chunk-ZJXOMTHP.js";import{b as D,c as N}from"./chunk-I7SRN7BD.js";import{a as j,b as R}from"./chunk-2U35WLGR.js";import"./chunk-JBSIAXM5.js";import"./chunk-QTHCFSIO.js";import{w as V,x as A}from"./chunk-BOLQVS6Y.js";import"./chunk-BHV2HCJY.js";import"./chunk-FMVCTBCQ.js";import"./chunk-MP3KNNAP.js";import{a as F}from"./chunk-MFLZ4HZM.js";import{i as W,m as $}from"./chunk-B63BKC6F.js";import"./chunk-F2X3VGZZ.js";import{Cb as B,Jc as s,Kb as p,Kc as m,Mc as x,Nb as h,Ub as o,V as y,Vb as n,Wb as c,X as T,Z as S,_b as w,dc as _,ec as l,gb as a,h as v,ha as u,pa as g,qa as d,ra as b,s as f,sa as k,wb as M,yc as P,zc as C}from"./chunk-JP6RBSB3.js";import"./chunk-YQFG5XE2.js";var L=()=>({height:"calc(100vh - 100px)"});function z(i,q){if(i&1){let e=w();o(0,"div",3)(1,"p-button",4),_("onClick",function(){g(e);let r=l();return d(r.onFormat())}),n(),o(2,"p-button",5),s(3,"async"),s(4,"async"),_("onClick",function(){g(e);let r=l();return d(r.migrateWriteoffOutlet())}),n()()}if(i&2){let e=l();a(2),p("disabled",m(3,2,e.countInBooks$)!==0)("pTooltip",m(4,4,e.countInBooks$)!==0?"Books already has entries. Please format before re-migrating.":null)}}function J(i,q){if(i&1&&(o(0,"p-scroll-panel")(1,"p-panel")(2,"div",6),c(3,"app-migration-cards",7),s(4,"async"),b(),o(5,"svg",8),c(6,"path",9),n(),k(),c(7,"app-migration-cards",10),s(8,"async"),n()()()),i&2){let e=l();h(C(12,L)),a(),h(C(13,L)),a(2),p("migrationCount",m(4,8,e.countInPOS$))("migrationTitle",e.pageTitle),a(4),p("migrationCount",m(8,10,e.countInBooks$))("migrationTitle",e.pageTitle)}}var fe=(()=>{class i{constructor(){this.migrateService=u(O),this.toastr=u(F),this.refresh$=new v(void 0),this.pageTitle="Write-Off Outlet"}ngOnInit(){let e=this.refresh$.pipe(T(()=>this.migrateService.getWriteOffOutletAccountCount()),S(t=>console.log("API response:",t)),y(1));this.countInPOS$=e.pipe(f(t=>Number(t.pos))),this.countInBooks$=e.pipe(f(t=>Number(t.books)))}migrateWriteoffOutlet(){this.migrateService.migrateWriteOffOutlet().subscribe(e=>{this.refresh$.next(),this.toastr.success(e.message,"Migration Successful")})}onFormat(){confirm("Are you sure you want to format?")&&this.migrateService.formatWriteOff().subscribe(e=>{this.refresh$.next(),this.toastr.success(e.message,"Format Successful")})}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=M({type:i,selectors:[["app-writeoff-outlet"]],features:[P([O])],decls:5,vars:1,consts:[["actionButton",""],["content",""],[3,"pageTitle"],[1,"d-flex","gap-2"],["label","Format","severity","danger",3,"onClick"],["label","Migrate","tooltipPosition","left",3,"onClick","disabled","pTooltip"],[1,"flex","gap-30","flex-wrap",2,"display","flex","justify-content","center","align-items","center","gap","1rem","margin-top","40px"],["migrationPlace","Accounting",3,"migrationCount","migrationTitle"],["width","40","height","40","viewBox","0 0 24 24","fill","none"],["d","M8 5l8 7-8 7","stroke","#007bff","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["migrationPlace","Books",3,"migrationCount","migrationTitle"]],template:function(t,r){t&1&&(o(0,"app-main-panel",2),B(1,z,5,6,"ng-template",null,0,x)(3,J,9,14,"ng-template",null,1,x),n()),t&2&&p("pageTitle",r.pageTitle)},dependencies:[G,$,W,E,I,R,j,N,D,H,A,V],encapsulation:2})}}return i})();export{fe as WriteOffOutletComponent};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as ce,c as pe,f as g}from"./chunk-
|
|
1
|
+
import{a as ce,c as pe,f as g}from"./chunk-BOLQVS6Y.js";import{$ as I,A as J,H as ee,Ja as re,L as te,Ma as se,Na as y,R as ie,Sa as ae,Va as le,ha as oe,ja as ne}from"./chunk-FMVCTBCQ.js";import{c as W,f as q,g as K,h as U,m as X,n as m}from"./chunk-B63BKC6F.js";import{c as G,d as L,f as v,g as b,h as O}from"./chunk-F2X3VGZZ.js";import{Aa as V,Ab as A,Ac as Q,Bc as x,Cb as d,Jb as F,Kb as h,Ob as R,Ub as w,Vb as Z,Vc as f,Wc as Y,_b as B,ba as P,ca as D,dc as u,ec as r,fb as $,fc as M,gb as H,gc as j,ha as p,jc as k,lc as T,mc as S,pa as l,qa as c,ta as C,wb as z,xb as E,yc as N,za as _}from"./chunk-JP6RBSB3.js";var he=["content"],ue=["*"],fe=(t,s)=>({showTransitionParams:t,hideTransitionParams:s}),me=(t,s)=>({value:t,params:s}),ve=t=>({closeCallback:t});function be(t,s){}function ye(t,s){t&1&&d(0,be,0,0,"ng-template")}function ge(t,s){if(t&1){let e=B();w(0,"div",1),u("click",function(o){l(e);let n=r();return c(n.onOverlayClick(o))})("@animation.start",function(o){l(e);let n=r();return c(n.onAnimationStart(o))})("@animation.done",function(o){l(e);let n=r();return c(n.onAnimationEnd(o))}),w(1,"div",2),u("click",function(o){l(e);let n=r();return c(n.onContentClick(o))})("mousedown",function(o){l(e);let n=r();return c(n.onContentClick(o))}),j(2),d(3,ye,1,0,null,3),Z()()}if(t&2){let e=r();R(e.styleClass),h("ngClass","p-popover p-component")("ngStyle",e.style)("@animation",x(13,me,e.overlayVisible?"open":"close",x(10,fe,e.showTransitionOptions,e.hideTransitionOptions))),F("aria-modal",e.overlayVisible)("aria-label",e.ariaLabel)("aria-labelledBy",e.ariaLabelledBy),H(3),h("ngTemplateOutlet",e.contentTemplate||e._contentTemplate)("ngTemplateOutletContext",Q(16,ve,e.onCloseClick.bind(e)))}}var Ce=({dt:t})=>`
|
|
2
2
|
.p-popover {
|
|
3
3
|
margin-top: ${t("popover.gutter")};
|
|
4
4
|
background: ${t("popover.background")};
|