dealposbooks 1.0.6 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/3rdpartylicenses.txt +77 -41
- package/assets/scss/fonts/roboto-slab/RobotoSlab-Black.woff2 +0 -0
- package/assets/scss/fonts/roboto-slab/RobotoSlab-Bold.woff2 +0 -0
- package/assets/scss/fonts/roboto-slab/RobotoSlab-ExtraBold.woff2 +0 -0
- package/assets/scss/fonts/roboto-slab/RobotoSlab-ExtraLight.woff2 +0 -0
- package/assets/scss/fonts/roboto-slab/RobotoSlab-Light.woff2 +0 -0
- package/assets/scss/fonts/roboto-slab/RobotoSlab-Medium.woff2 +0 -0
- package/assets/scss/fonts/roboto-slab/RobotoSlab-Regular.woff2 +0 -0
- package/assets/scss/fonts/roboto-slab/RobotoSlab-SemiBold.woff2 +0 -0
- package/assets/scss/fonts/roboto-slab/RobotoSlab-Thin.woff2 +0 -0
- package/assets/scss/variables/_variables.scss +47 -32
- package/chunk-2LKTSMUI.js +197 -0
- package/{chunk-PLNF5Z47.js → chunk-2QCAOSMO.js} +3 -3
- package/{chunk-6VATP7AD.js → chunk-2XZW23PQ.js} +1 -1
- package/chunk-33RD6RQS.js +1 -0
- package/chunk-3ROVFYLI.js +189 -0
- package/chunk-3UAQZJAG.js +180 -0
- package/chunk-4Z6KFX2O.js +2 -0
- package/{chunk-ZKTMMTSB.js → chunk-6TJIZZK6.js} +1 -1
- package/chunk-7KARVIIN.js +1 -0
- package/chunk-7RH6F4PN.js +135 -0
- package/{chunk-XJB6ZB5C.js → chunk-7X454BGN.js} +2 -2
- package/{chunk-HW5TOHIY.js → chunk-A3I2VQNX.js} +2 -2
- package/{chunk-5U24N52S.js → chunk-A3MXO6MA.js} +1 -1
- package/chunk-B5ZO2I4D.js +2 -0
- package/chunk-BP2JJ6HZ.js +160 -0
- package/chunk-BWO4PVAG.js +301 -0
- package/{chunk-DFW6MEY3.js → chunk-C4WUUVLC.js} +1 -1
- package/chunk-CH2GYE5J.js +1 -0
- package/{chunk-ZZCZU47E.js → chunk-D5U6AOFB.js} +1 -1
- package/chunk-DF2QDC4T.js +1 -0
- package/chunk-DKWZOSVY.js +59 -0
- package/{chunk-CWSZS6PH.js → chunk-EE4WG35V.js} +1 -1
- package/chunk-EEJWF26F.js +1 -0
- package/{chunk-2TIQLYOU.js → chunk-F7FJPDUV.js} +1 -1
- package/chunk-FDDNZH4H.js +1633 -0
- package/chunk-FYNIFRG5.js +1 -0
- package/{chunk-G4OXNPYG.js → chunk-HKMI4ZYY.js} +3 -3
- package/chunk-HU6SF3HD.js +1 -0
- package/{chunk-72KCMRAD.js → chunk-I72ECAQH.js} +2 -2
- package/chunk-IWUDRSTJ.js +235 -0
- package/chunk-KJWN47PL.js +1 -0
- package/{chunk-TEV7GODP.js → chunk-M4ZOPGSP.js} +2 -2
- package/{chunk-USDU2OMR.js → chunk-MQJQRREL.js} +1 -1
- package/chunk-MVGPOIFT.js +1 -0
- package/chunk-OHEAUNEW.js +1 -0
- package/chunk-ONU5ICNZ.js +1 -0
- package/chunk-P4OJNULI.js +1 -0
- package/chunk-PCJXJ6O4.js +370 -0
- package/chunk-PFXPLNMA.js +1 -0
- package/{chunk-A63HKFUG.js → chunk-PQTHPF23.js} +6 -6
- package/chunk-PV6INEW2.js +1 -0
- package/chunk-QPA73UD5.js +616 -0
- package/{chunk-6YT5EOQ2.js → chunk-QUR72LET.js} +1 -1
- package/chunk-RFZOXUTS.js +1 -0
- package/chunk-RIUEIX64.js +1 -0
- package/{chunk-CJM6YIDJ.js → chunk-U2S74ZLK.js} +1 -1
- package/chunk-UPDO63XT.js +1 -0
- package/chunk-UQ3SWGEA.js +1 -0
- package/{chunk-RVDH4GNB.js → chunk-URKXDZJE.js} +2 -2
- package/{chunk-JGJNDRVZ.js → chunk-UZFJYFH2.js} +2 -2
- package/{chunk-37O3IGUE.js → chunk-WZKSD7XN.js} +2 -2
- package/chunk-X2CQD76I.js +208 -0
- package/chunk-YUFMXLRG.js +47 -0
- package/{chunk-QSMNYWAY.js → chunk-YX7446ZM.js} +1 -1
- package/chunk-Z53S4NM2.js +736 -0
- package/{chunk-JGV5HMBT.js → chunk-ZT4NOONZ.js} +1 -1
- package/index.html +3 -3
- package/main-U76NYT5G.js +1 -0
- package/package.json +1 -1
- package/{styles-PZKETPHN.css → styles-OZO2XDGZ.css} +1 -1
- package/assets/scss/fonts/Montserrat-Black.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-BlackItalic.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-Bold.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-BoldItalic.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-ExtraBold.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-ExtraBoldItalic.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-ExtraLight.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-ExtraLightItalic.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-Italic.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-Light.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-LightItalic.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-Medium.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-MediumItalic.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-Regular.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-SemiBold.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-SemiBoldItalic.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-Thin.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-ThinItalic.woff2 +0 -0
- package/assets/scss/fonts/Roboto-Italic-VariableFont_wdth,wght.woff2 +0 -0
- package/assets/scss/fonts/Roboto-VariableFont_wdth,wght.woff2 +0 -0
- package/assets/scss/fonts/RobotoSlab-VariableFont_wght.woff2 +0 -0
- package/chunk-2JEYUHX6.js +0 -1
- package/chunk-36254LID.js +0 -1
- package/chunk-3O5WB452.js +0 -428
- package/chunk-4F4YTU5A.js +0 -1
- package/chunk-7BUIG2V4.js +0 -2
- package/chunk-7HQ6WSSU.js +0 -1
- package/chunk-B44UAABO.js +0 -1
- package/chunk-CDSOHE7R.js +0 -1
- package/chunk-D7GU77BZ.js +0 -1
- package/chunk-DGUB5VQV.js +0 -1
- package/chunk-DKKZGADB.js +0 -1
- package/chunk-KFF6NEEA.js +0 -1
- package/chunk-KHWYFU3R.js +0 -191
- package/chunk-KWULO2RL.js +0 -931
- package/chunk-L36U5L2E.js +0 -1
- package/chunk-LHGT7WC7.js +0 -237
- package/chunk-M3DGMI2G.js +0 -1
- package/chunk-NAZKZSVO.js +0 -1
- package/chunk-NY4Q6KXA.js +0 -180
- package/chunk-NYMK6LUH.js +0 -1
- package/chunk-OCLF4BGI.js +0 -160
- package/chunk-QAAN4NVX.js +0 -1
- package/chunk-QCF3XBU5.js +0 -1
- package/chunk-RJKIW354.js +0 -1767
- package/chunk-SWKKEI7U.js +0 -1
- package/chunk-UAPZHEQX.js +0 -1
- package/chunk-V3VYMXUU.js +0 -1
- package/chunk-VILWNFJE.js +0 -1
- package/chunk-WNZ52LDQ.js +0 -662
- package/chunk-WY5VYTM5.js +0 -1
- package/chunk-YYGEKYKY.js +0 -2
- package/chunk-ZQDTA2BC.js +0 -189
- package/main-T2PMTIHB.js +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{p as g,w as v}from"./chunk-7X454BGN.js";import{k as u,t as f}from"./chunk-C4WUUVLC.js";import{$b as i,Ac as c,Ob as a,Zb as e,_b as t,hc as p,kb as r,qc as n,yb as s,zc as d}from"./chunk-PQTHPF23.js";import"./chunk-EQDQRRRY.js";var h=o=>({"d-none":o}),k=()=>["/"],x=()=>["/authentication/signup2"],y=o=>({"d-block":o}),_=(()=>{class o{constructor(){this.loginform=!0,this.recoverform=!1}showRecoverForm(){this.loginform=!this.loginform,this.recoverform=!this.recoverform}static{this.\u0275fac=function(m){return new(m||o)}}static{this.\u0275cmp=s({type:o,selectors:[["app-login"]],decls:62,vars:10,consts:[[1,"auth-wrapper","d-flex","no-block","justify-content-center","align-items-center",2,"background",`url(../../../../../assets/images/background/login-register.jpg)
|
|
2
2
|
no-repeat center center`],[1,"auth-box","on-sidebar","m-3","m-md-0"],["id","loginform",3,"ngClass"],[1,"text-center"],[1,"db"],["src","../../../../../assets/images/logos/logo-icon.svg","alt","logo"],[1,"font-medium","mb-4","mt-2"],[1,"row"],[1,"col-12"],["id","loginform",1,"form-horizontal","mt-3"],[1,"input-group","mb-3"],["id","basic-addon1",1,"input-group-text"],[1,"ti-user"],["type","text","placeholder","Username","aria-label","Username","aria-describedby","basic-addon1",1,"form-control"],["id","basic-addon2",1,"input-group-text"],[1,"ti-pencil"],["type","text","placeholder","Password","aria-label","Password","aria-describedby","basic-addon1",1,"form-control"],[1,"form-group","row"],[1,"col-md-12"],[1,"form-check","d-flex"],["type","checkbox","id","customCheck1",1,"form-check-input"],["for","customCheck1",1,"form-check-label","fs-3","ms-2"],["href","javascript:void(0)","id","to-recover",1,"text-dark","ms-auto","fs-3",3,"click"],[1,"fa","fa-lock","me-2"],[1,"form-group","text-center","mt-4"],[1,"col-xs-12"],[1,"btn","d-block","w-100","btn-primary",3,"routerLink"],[1,"row","mt-4"],[1,"col-xs-12","col-sm-12","col-md-12","mt-2","text-center"],[1,"social"],["href","javascript:void(0)","data-toggle","tooltip","title","","data-original-title","Login with Facebook",1,"btn","btn-primary","me-2"],["aria-hidden","true",1,"fab","fa-facebook-f"],["href","javascript:void(0)","data-toggle","tooltip","title","","data-original-title","Login with Google",1,"btn","btn-danger"],["aria-hidden","true",1,"fab","fa-google"],[1,"form-group","mb-0","mt-2"],[1,"col-sm-12","text-center"],[1,"text-primary","ms-1",3,"routerLink"],["id","recoverform",3,"ngClass"],[1,"logo"],[1,"db","mb-2","d-block"],[1,"row","mt-3"],["action","../../../../../index.html",1,"col-12"],["type","email","required","","placeholder","Username",1,"form-control","form-control-lg"],["type","submit","name","action",1,"btn","d-block","w-100","btn-lg","btn-danger"]],template:function(m,l){m&1&&(e(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"span",4),i(5,"img",5),t(),e(6,"h5",6),n(7,"Sign In to Admin"),t()(),e(8,"div",7)(9,"div",8)(10,"form",9)(11,"div",10)(12,"span",11),i(13,"i",12),t(),i(14,"input",13),t(),e(15,"div",10)(16,"span",14),i(17,"i",15),t(),i(18,"input",16),t(),e(19,"div",17)(20,"div",18)(21,"div",19),i(22,"input",20),e(23,"label",21),n(24,"Remember me"),t(),e(25,"a",22),p("click",function(){return l.showRecoverForm()}),i(26,"i",23),n(27," Forgot pwd?"),t()()()(),e(28,"div",24)(29,"div",25)(30,"a",26),n(31,"Log In"),t()()(),e(32,"div",27)(33,"div",28)(34,"div",29)(35,"a",30),i(36,"i",31),t(),e(37,"a",32),i(38,"i",33),t()()()(),e(39,"div",34)(40,"div",35),n(41," Don't have an account? "),e(42,"a",36)(43,"b"),n(44,"Sign Up"),t()()()()()()()(),e(45,"div",37)(46,"div",38)(47,"span",39),i(48,"img",5),t(),e(49,"h5",6),n(50,"Recover Password"),t(),e(51,"span"),n(52,"Enter your Email and instructions will be sent to you!"),t()(),e(53,"div",40)(54,"form",41)(55,"div",17)(56,"div",8),i(57,"input",42),t()(),e(58,"div",40)(59,"div",8)(60,"button",43),n(61," Reset "),t()()()()()()()()),m&2&&(r(2),a("ngClass",c(4,h,l.recoverform)),r(28),a("routerLink",d(6,k)),r(12),a("routerLink",d(7,x)),r(3),a("ngClass",c(8,y,l.recoverform)))},dependencies:[f,u,v,g],encapsulation:2})}}return o})();export{_ as Login2Component};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as N,n as E,o as L,q as j}from"./chunk-C4WUUVLC.js";import{$b as a,Ab as q,Ac as H,B as y,Cb as g,D as x,F as D,Fb as M,Ha as c,Jc as $,Kc as U,L as h,Ob as s,Pb as r,Q as I,Qb as k,S,Z as _,Zb as b,_b as f,aa as w,cc as T,ga as v,i as m,ic as u,kb as i,la as F,lb as P,ma as B,tb as R,xa as p,yb as l}from"./chunk-PQTHPF23.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};
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import{b as ie,c as ne}from"./chunk-DKWZOSVY.js";import{h as ce}from"./chunk-2LKTSMUI.js";import{Ga as ee,Ha as C,Pa as oe,a as J,d as W,pa as Y,qa as Z}from"./chunk-3ROVFYLI.js";import{k as G,n as H,p as K,t as X}from"./chunk-C4WUUVLC.js";import{$b as x,Ac as P,Cb as D,Da as k,Eb as L,Fb as d,La as E,Nb as s,Ob as t,Rb as _,Sb as v,Vc as h,Wc as U,Zb as $,_b as I,ac as w,bc as T,dc as Q,fa as M,ga as F,ha as S,hc as N,ic as f,kb as l,lc as V,ma as z,mc as j,nc as m,oc as g,ta as B,ua as u,va as p,xa as y,yb as O,yc as A,zb as q,zc as R}from"./chunk-PQTHPF23.js";var re=["checkboxicon"],le=["input"],he=()=>({"p-checkbox-input":!0}),se=e=>({checked:e,class:"p-checkbox-icon"});function be(e,a){if(e&1&&x(0,"span",8),e&2){let o=f(3);t("ngClass",o.checkboxIcon),s("data-pc-section","icon")}}function de(e,a){e&1&&x(0,"CheckIcon",9),e&2&&(t("styleClass","p-checkbox-icon"),s("data-pc-section","icon"))}function ue(e,a){if(e&1&&(w(0),d(1,be,1,2,"span",7)(2,de,1,2,"CheckIcon",6),T()),e&2){let o=f(2);l(),t("ngIf",o.checkboxIcon),l(),t("ngIf",!o.checkboxIcon)}}function pe(e,a){e&1&&x(0,"MinusIcon",9),e&2&&(t("styleClass","p-checkbox-icon"),s("data-pc-section","icon"))}function ke(e,a){if(e&1&&(w(0),d(1,ue,3,2,"ng-container",4)(2,pe,1,2,"MinusIcon",6),T()),e&2){let o=f();l(),t("ngIf",o.checked),l(),t("ngIf",o._indeterminate())}}function xe(e,a){}function fe(e,a){e&1&&d(0,xe,0,0,"ng-template")}var me=({dt:e})=>`
|
|
2
|
+
.p-checkbox {
|
|
3
|
+
position: relative;
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
user-select: none;
|
|
6
|
+
vertical-align: bottom;
|
|
7
|
+
width: ${e("checkbox.width")};
|
|
8
|
+
height: ${e("checkbox.height")};
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.p-checkbox-input {
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
appearance: none;
|
|
14
|
+
position: absolute;
|
|
15
|
+
top: 0;
|
|
16
|
+
left: 0;
|
|
17
|
+
width: 100%;
|
|
18
|
+
height: 100%;
|
|
19
|
+
padding: 0;
|
|
20
|
+
margin: 0;
|
|
21
|
+
opacity: 0;
|
|
22
|
+
z-index: 1;
|
|
23
|
+
outline: 0 none;
|
|
24
|
+
border: 1px solid transparent;
|
|
25
|
+
border-radius: ${e("checkbox.border.radius")};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.p-checkbox-box {
|
|
29
|
+
display: flex;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
align-items: center;
|
|
32
|
+
border-radius: ${e("checkbox.border.radius")};
|
|
33
|
+
border: 1px solid ${e("checkbox.border.color")};
|
|
34
|
+
background: ${e("checkbox.background")};
|
|
35
|
+
width: ${e("checkbox.width")};
|
|
36
|
+
height: ${e("checkbox.height")};
|
|
37
|
+
transition: background ${e("checkbox.transition.duration")}, color ${e("checkbox.transition.duration")}, border-color ${e("checkbox.transition.duration")}, box-shadow ${e("checkbox.transition.duration")}, outline-color ${e("checkbox.transition.duration")};
|
|
38
|
+
outline-color: transparent;
|
|
39
|
+
box-shadow: ${e("checkbox.shadow")};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.p-checkbox-icon {
|
|
43
|
+
transition-duration: ${e("checkbox.transition.duration")};
|
|
44
|
+
color: ${e("checkbox.icon.color")};
|
|
45
|
+
font-size: ${e("checkbox.icon.size")};
|
|
46
|
+
width: ${e("checkbox.icon.size")};
|
|
47
|
+
height: ${e("checkbox.icon.size")};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.p-checkbox:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box {
|
|
51
|
+
border-color: ${e("checkbox.hover.border.color")};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.p-checkbox-checked .p-checkbox-box {
|
|
55
|
+
border-color: ${e("checkbox.checked.border.color")};
|
|
56
|
+
background: ${e("checkbox.checked.background")};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.p-checkbox-checked .p-checkbox-icon {
|
|
60
|
+
color: ${e("checkbox.icon.checked.color")};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box {
|
|
64
|
+
background: ${e("checkbox.checked.hover.background")};
|
|
65
|
+
border-color: ${e("checkbox.checked.hover.border.color")};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-icon {
|
|
69
|
+
color: ${e("checkbox.icon.checked.hover.color")};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.p-checkbox:not(.p-disabled):has(.p-checkbox-input:focus-visible) .p-checkbox-box {
|
|
73
|
+
border-color: ${e("checkbox.focus.border.color")};
|
|
74
|
+
box-shadow: ${e("checkbox.focus.ring.shadow")};
|
|
75
|
+
outline: ${e("checkbox.focus.ring.width")} ${e("checkbox.focus.ring.style")} ${e("checkbox.focus.ring.color")};
|
|
76
|
+
outline-offset: ${e("checkbox.focus.ring.offset")};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:focus-visible) .p-checkbox-box {
|
|
80
|
+
border-color: ${e("checkbox.checked.focus.border.color")};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
p-checkbox.ng-invalid.ng-dirty .p-checkbox-box {
|
|
84
|
+
border-color: ${e("checkbox.invalid.border.color")};
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.p-checkbox.p-variant-filled .p-checkbox-box {
|
|
88
|
+
background: ${e("checkbox.filled.background")};
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.p-checkbox-checked.p-variant-filled .p-checkbox-box {
|
|
92
|
+
background: ${e("checkbox.checked.background")};
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.p-checkbox-checked.p-variant-filled:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box {
|
|
96
|
+
background: ${e("checkbox.checked.hover.background")};
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.p-checkbox.p-disabled {
|
|
100
|
+
opacity: 1;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.p-checkbox.p-disabled .p-checkbox-box {
|
|
104
|
+
background: ${e("checkbox.disabled.background")};
|
|
105
|
+
border-color: ${e("checkbox.checked.disabled.border.color")};
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.p-checkbox.p-disabled .p-checkbox-box .p-checkbox-icon {
|
|
109
|
+
color: ${e("checkbox.icon.disabled.color")};
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.p-checkbox-sm,
|
|
113
|
+
.p-checkbox-sm .p-checkbox-box {
|
|
114
|
+
width: ${e("checkbox.sm.width")};
|
|
115
|
+
height: ${e("checkbox.sm.height")};
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.p-checkbox-sm .p-checkbox-icon {
|
|
119
|
+
font-size: ${e("checkbox.icon.sm.size")};
|
|
120
|
+
width: ${e("checkbox.icon.sm.size")};
|
|
121
|
+
height: ${e("checkbox.icon.sm.size")};
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.p-checkbox-lg,
|
|
125
|
+
.p-checkbox-lg .p-checkbox-box {
|
|
126
|
+
width: ${e("checkbox.lg.width")};
|
|
127
|
+
height: ${e("checkbox.lg.height")};
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.p-checkbox-lg .p-checkbox-icon {
|
|
131
|
+
font-size: ${e("checkbox.icon.lg.size")};
|
|
132
|
+
width: ${e("checkbox.icon.lg.size")};
|
|
133
|
+
height: ${e("checkbox.icon.lg.size")};
|
|
134
|
+
}
|
|
135
|
+
`,ge={root:({instance:e,props:a})=>["p-checkbox p-component",{"p-checkbox-checked":e.checked,"p-disabled":a.disabled,"p-invalid":a.invalid,"p-variant-filled":a.variant?a.variant==="filled":e.config.inputStyle==="filled"||e.config.inputVariant==="filled"}],box:"p-checkbox-box",input:"p-checkbox-input",icon:"p-checkbox-icon"},te=(()=>{class e extends oe{name="checkbox";theme=me;classes=ge;static \u0275fac=(()=>{let o;return function(c){return(o||(o=y(e)))(c||e)}})();static \u0275prov=F({token:e,factory:e.\u0275fac})}return e})();var Ce={provide:J,useExisting:M(()=>ae),multi:!0},ae=(()=>{class e extends ce{value;name;disabled;binary;ariaLabelledBy;ariaLabel;tabindex;inputId;style;inputStyle;styleClass;inputClass;indeterminate=!1;size;formControl;checkboxIcon;readonly;required;autofocus;trueValue=!0;falseValue=!1;variant;onChange=new k;onFocus=new k;onBlur=new k;inputViewChild;get checked(){return this._indeterminate()?!1:this.binary?this.model===this.trueValue:Z(this.value,this.model)}get containerClass(){return{"p-checkbox p-component":!0,"p-checkbox-checked p-highlight":this.checked,"p-disabled":this.disabled,"p-variant-filled":this.variant==="filled"||this.config.inputStyle()==="filled"||this.config.inputVariant()==="filled","p-checkbox-sm p-inputfield-sm":this.size==="small","p-checkbox-lg p-inputfield-lg":this.size==="large"}}_indeterminate=E(void 0);checkboxIconTemplate;templates;_checkboxIconTemplate;model;onModelChange=()=>{};onModelTouched=()=>{};focused=!1;_componentStyle=z(te);ngAfterContentInit(){this.templates.forEach(o=>{switch(o.getType()){case"icon":this._checkboxIconTemplate=o.template;break;case"checkboxicon":this._checkboxIconTemplate=o.template;break}})}ngOnChanges(o){super.ngOnChanges(o),o.indeterminate&&this._indeterminate.set(o.indeterminate.currentValue)}updateModel(o){let i,c=this.injector.get(W,null,{optional:!0,self:!0}),n=c&&!this.formControl?c.value:this.model;this.binary?(i=this._indeterminate()?this.trueValue:this.checked?this.falseValue:this.trueValue,this.model=i,this.onModelChange(i)):(this.checked||this._indeterminate()?i=n.filter(r=>!Y(r,this.value)):i=n?[...n,this.value]:[this.value],this.onModelChange(i),this.model=i,this.formControl&&this.formControl.setValue(i)),this._indeterminate()&&this._indeterminate.set(!1),this.onChange.emit({checked:i,originalEvent:o})}handleChange(o){this.readonly||this.updateModel(o)}onInputFocus(o){this.focused=!0,this.onFocus.emit(o)}onInputBlur(o){this.focused=!1,this.onBlur.emit(o),this.onModelTouched()}focus(){this.inputViewChild.nativeElement.focus()}writeValue(o){this.model=o,this.cd.markForCheck()}registerOnChange(o){this.onModelChange=o}registerOnTouched(o){this.onModelTouched=o}setDisabledState(o){setTimeout(()=>{this.disabled=o,this.cd.markForCheck()})}static \u0275fac=(()=>{let o;return function(c){return(o||(o=y(e)))(c||e)}})();static \u0275cmp=O({type:e,selectors:[["p-checkbox"],["p-checkBox"],["p-check-box"]],contentQueries:function(i,c,n){if(i&1&&(V(n,re,4),V(n,ee,4)),i&2){let r;m(r=g())&&(c.checkboxIconTemplate=r.first),m(r=g())&&(c.templates=r)}},viewQuery:function(i,c){if(i&1&&j(le,5),i&2){let n;m(n=g())&&(c.inputViewChild=n.first)}},inputs:{value:"value",name:"name",disabled:[2,"disabled","disabled",h],binary:[2,"binary","binary",h],ariaLabelledBy:"ariaLabelledBy",ariaLabel:"ariaLabel",tabindex:[2,"tabindex","tabindex",U],inputId:"inputId",style:"style",inputStyle:"inputStyle",styleClass:"styleClass",inputClass:"inputClass",indeterminate:[2,"indeterminate","indeterminate",h],size:"size",formControl:"formControl",checkboxIcon:"checkboxIcon",readonly:[2,"readonly","readonly",h],required:[2,"required","required",h],autofocus:[2,"autofocus","autofocus",h],trueValue:"trueValue",falseValue:"falseValue",variant:"variant"},outputs:{onChange:"onChange",onFocus:"onFocus",onBlur:"onBlur"},features:[A([Ce,te]),L,D,B],decls:6,vars:29,consts:[["input",""],[3,"ngClass"],["type","checkbox",3,"focus","blur","change","value","checked","disabled","readonly","ngClass"],[1,"p-checkbox-box"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"styleClass",4,"ngIf"],["class","p-checkbox-icon",3,"ngClass",4,"ngIf"],[1,"p-checkbox-icon",3,"ngClass"],[3,"styleClass"]],template:function(i,c){if(i&1){let n=Q();$(0,"div",1)(1,"input",2,0),N("focus",function(b){return u(n),p(c.onInputFocus(b))})("blur",function(b){return u(n),p(c.onInputBlur(b))})("change",function(b){return u(n),p(c.handleChange(b))}),I(),$(3,"div",3),d(4,ke,3,2,"ng-container",4)(5,fe,1,0,null,5),I()()}i&2&&(_(c.style),v(c.styleClass),t("ngClass",c.containerClass),s("data-p-highlight",c.checked)("data-p-checked",c.checked)("data-p-disabled",c.disabled),l(),_(c.inputStyle),v(c.inputClass),t("value",c.value)("checked",c.checked)("disabled",c.disabled)("readonly",c.readonly)("ngClass",R(26,he)),s("id",c.inputId)("name",c.name)("tabindex",c.tabindex)("required",c.required?!0:null)("aria-labelledby",c.ariaLabelledBy)("aria-label",c.ariaLabel),l(3),t("ngIf",!c.checkboxIconTemplate&&!c._checkboxIconTemplate),l(),t("ngTemplateOutlet",c.checkboxIconTemplate||c._checkboxIconTemplate)("ngTemplateOutletContext",P(27,se,c.checked)))},dependencies:[X,G,H,K,ie,ne,C],encapsulation:2,changeDetection:0})}return e})(),je=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=q({type:e});static \u0275inj=S({imports:[ae,C,C]})}return e})();export{ae as a,je as b};
|