dealposbooks 1.0.8 → 1.1.0

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.
Files changed (119) hide show
  1. package/3rdpartylicenses.txt +56 -56
  2. package/assets/scss/fonts/montserrat/Montserrat-Bold.woff2 +0 -0
  3. package/assets/scss/fonts/montserrat/Montserrat-Italic.woff2 +0 -0
  4. package/assets/scss/fonts/montserrat/Montserrat-Regular.woff2 +0 -0
  5. package/assets/scss/fonts/montserrat/Montserrat-SemiBold.woff2 +0 -0
  6. package/assets/scss/layouts/_customizer.scss +11 -6
  7. package/assets/scss/layouts/_layout.scss +6 -6
  8. package/assets/scss/layouts/_sidebar.scss +19 -14
  9. package/assets/scss/style.scss +24 -8
  10. package/assets/scss/variables/_variables.scss +6 -52
  11. package/chunk-223MMYH7.js +141 -0
  12. package/chunk-33KLXB2L.js +180 -0
  13. package/{chunk-URKXDZJE.js → chunk-4Y3NYY52.js} +1 -1
  14. package/{chunk-I72ECAQH.js → chunk-5GQEUX4M.js} +1 -1
  15. package/chunk-5RRUIJ5U.js +1 -0
  16. package/{chunk-7X454BGN.js → chunk-6BFODHTZ.js} +1 -1
  17. package/chunk-AXJA6OO7.js +246 -0
  18. package/chunk-AYVR3RIS.js +297 -0
  19. package/{chunk-ZT4NOONZ.js → chunk-B6N6C3RA.js} +1 -1
  20. package/chunk-CINZRZMB.js +1 -0
  21. package/chunk-DBRLQ7BX.js +397 -0
  22. package/{chunk-QUR72LET.js → chunk-DJ5UHXOJ.js} +1 -1
  23. package/chunk-DUOJKP2G.js +300 -0
  24. package/chunk-E4ZVZRLO.js +210 -0
  25. package/chunk-EBOJJWD5.js +1 -0
  26. package/{chunk-D5U6AOFB.js → chunk-EMVZ65TI.js} +1 -1
  27. package/chunk-ENPYMVZG.js +1 -0
  28. package/chunk-EOLHIQHQ.js +1 -0
  29. package/chunk-ERX7ND7E.js +1 -0
  30. package/chunk-FKTEL4CU.js +524 -0
  31. package/chunk-FOUHOMEE.js +301 -0
  32. package/chunk-H4HFCRFZ.js +1660 -0
  33. package/chunk-HBVENULS.js +1 -0
  34. package/chunk-J53TOHZH.js +1 -0
  35. package/chunk-JC7YOUAM.js +1 -0
  36. package/chunk-JR4EQTPJ.js +59 -0
  37. package/chunk-JSAAKZBO.js +1 -0
  38. package/chunk-KZ2KGWUY.js +1 -0
  39. package/chunk-LON3T466.js +1 -0
  40. package/chunk-LYEN4UBW.js +1 -0
  41. package/chunk-MG3SLH6O.js +1 -0
  42. package/chunk-NQ3CKBYP.js +1 -0
  43. package/{chunk-YUFMXLRG.js → chunk-NS7JH3QF.js} +1 -1
  44. package/{chunk-2XZW23PQ.js → chunk-O65HPMSJ.js} +1 -1
  45. package/chunk-OCLABZZW.js +1 -0
  46. package/chunk-OH2CJBFF.js +1 -0
  47. package/chunk-OSV7AMB2.js +1 -0
  48. package/{chunk-2LKTSMUI.js → chunk-OWI3BWEZ.js} +7 -7
  49. package/chunk-OYYYX3IP.js +1 -0
  50. package/{chunk-MQJQRREL.js → chunk-PNQSQQIT.js} +1 -1
  51. package/chunk-Q5PJ63MA.js +1 -0
  52. package/{chunk-7RH6F4PN.js → chunk-R2KG54OT.js} +3 -1
  53. package/chunk-REHXXPZY.js +1 -0
  54. package/{chunk-ONU5ICNZ.js → chunk-RIALPB2D.js} +1 -1
  55. package/chunk-RJYO2KKV.js +1 -0
  56. package/chunk-ROKYJX6Q.js +193 -0
  57. package/chunk-RUGQ4OJG.js +1 -0
  58. package/chunk-RUP2SWYB.js +231 -0
  59. package/chunk-RUVT4SCE.js +1 -0
  60. package/{chunk-UZFJYFH2.js → chunk-SS3CMCAX.js} +4 -2
  61. package/chunk-TMY4NWZ6.js +1 -0
  62. package/chunk-TOJAZ32N.js +1 -0
  63. package/chunk-TUL6Y2HH.js +1 -0
  64. package/{chunk-33RD6RQS.js → chunk-UGKSIDKE.js} +1 -1
  65. package/chunk-UTL7D6E7.js +821 -0
  66. package/{chunk-4Z6KFX2O.js → chunk-V7Y6Z4AQ.js} +2 -2
  67. package/chunk-VY4Z33EE.js +7 -0
  68. package/chunk-VYKJK5YU.js +7 -0
  69. package/{chunk-M4ZOPGSP.js → chunk-WG7APCJU.js} +1 -1
  70. package/{chunk-EE4WG35V.js → chunk-X2NM4CIV.js} +6 -2
  71. package/chunk-XWVLTTMV.js +1 -0
  72. package/chunk-Y6MJGNH2.js +1 -0
  73. package/chunk-YKYI4A3V.js +1 -0
  74. package/chunk-ZL4DDXH7.js +348 -0
  75. package/{chunk-6TJIZZK6.js → chunk-ZU7I7MCL.js} +1 -1
  76. package/{chunk-U2S74ZLK.js → chunk-ZZPBK2XT.js} +1 -1
  77. package/index.html +6 -3
  78. package/main-MCP7AVEU.js +1 -0
  79. package/package.json +1 -1
  80. package/styles-IAH7RNKW.css +1 -0
  81. package/chunk-2QCAOSMO.js +0 -256
  82. package/chunk-3ROVFYLI.js +0 -189
  83. package/chunk-3UAQZJAG.js +0 -180
  84. package/chunk-7KARVIIN.js +0 -1
  85. package/chunk-A3I2VQNX.js +0 -141
  86. package/chunk-A3MXO6MA.js +0 -1
  87. package/chunk-B5ZO2I4D.js +0 -2
  88. package/chunk-BP2JJ6HZ.js +0 -160
  89. package/chunk-BWO4PVAG.js +0 -301
  90. package/chunk-C4WUUVLC.js +0 -1
  91. package/chunk-CH2GYE5J.js +0 -1
  92. package/chunk-DF2QDC4T.js +0 -1
  93. package/chunk-DKWZOSVY.js +0 -59
  94. package/chunk-EEJWF26F.js +0 -1
  95. package/chunk-F7FJPDUV.js +0 -1
  96. package/chunk-FDDNZH4H.js +0 -1633
  97. package/chunk-FYNIFRG5.js +0 -1
  98. package/chunk-HKMI4ZYY.js +0 -393
  99. package/chunk-HU6SF3HD.js +0 -1
  100. package/chunk-IWUDRSTJ.js +0 -235
  101. package/chunk-KJWN47PL.js +0 -1
  102. package/chunk-MVGPOIFT.js +0 -1
  103. package/chunk-OHEAUNEW.js +0 -1
  104. package/chunk-P4OJNULI.js +0 -1
  105. package/chunk-PCJXJ6O4.js +0 -370
  106. package/chunk-PFXPLNMA.js +0 -1
  107. package/chunk-PQTHPF23.js +0 -7
  108. package/chunk-PV6INEW2.js +0 -1
  109. package/chunk-QPA73UD5.js +0 -616
  110. package/chunk-RFZOXUTS.js +0 -1
  111. package/chunk-RIUEIX64.js +0 -1
  112. package/chunk-UPDO63XT.js +0 -1
  113. package/chunk-UQ3SWGEA.js +0 -1
  114. package/chunk-WZKSD7XN.js +0 -284
  115. package/chunk-X2CQD76I.js +0 -208
  116. package/chunk-YX7446ZM.js +0 -1
  117. package/chunk-Z53S4NM2.js +0 -736
  118. package/main-U76NYT5G.js +0 -1
  119. package/styles-OZO2XDGZ.css +0 -1
package/chunk-Z53S4NM2.js DELETED
@@ -1,736 +0,0 @@
1
- import{h as x,i as ut,n as bt,o as dt,v as pt}from"./chunk-2LKTSMUI.js";import{Ga as ct,Ha as f,Pa as A,ka as z,na as R}from"./chunk-3ROVFYLI.js";import{d as nt,k as it,n as rt,o as at,p as lt,t as B,v as st}from"./chunk-C4WUUVLC.js";import{$b as v,Ab as D,Ac as Q,Cb as g,Da as E,Eb as M,Fb as m,Ha as p,Ia as Z,Nb as h,Ob as r,Pa as J,Pb as K,Rb as W,Sb as $,Vc as a,Wc as et,Xc as H,Zb as _,_b as I,ac as P,bc as O,cc as X,ga as F,ha as C,hc as Y,ic as c,jc as tt,kb as s,kc as ot,lc as w,ma as d,nc as S,oc as T,qc as L,rc as N,ta as V,wa as G,xa as b,yb as y,yc as j,zb as k}from"./chunk-PQTHPF23.js";var gt=(()=>{class t extends x{autofocus=!1;_autofocus=!1;focused=!1;platformId=d(J);document=d(nt);host=d(Z);ngAfterContentChecked(){this.autofocus===!1?this.host.nativeElement.removeAttribute("autofocus"):this.host.nativeElement.setAttribute("autofocus",!0),this.focused||this.autoFocus()}ngAfterViewChecked(){this.focused||this.autoFocus()}autoFocus(){st(this.platformId)&&this._autofocus&&setTimeout(()=>{let o=ut.getFocusableElements(this.host?.nativeElement);o.length===0&&this.host.nativeElement.focus(),o.length>0&&o[0].focus(),this.focused=!0})}static \u0275fac=(()=>{let o;return function(e){return(o||(o=b(t)))(e||t)}})();static \u0275dir=D({type:t,selectors:[["","pAutoFocus",""]],inputs:{autofocus:[2,"autofocus","autofocus",a],_autofocus:[0,"pAutoFocus","_autofocus"]},features:[M,g]})}return t})();var $t=({dt:t})=>`
2
- .p-badge {
3
- display: inline-flex;
4
- border-radius: ${t("badge.border.radius")};
5
- justify-content: center;
6
- padding: ${t("badge.padding")};
7
- background: ${t("badge.primary.background")};
8
- color: ${t("badge.primary.color")};
9
- font-size: ${t("badge.font.size")};
10
- font-weight: ${t("badge.font.weight")};
11
- min-width: ${t("badge.min.width")};
12
- height: ${t("badge.height")};
13
- line-height: ${t("badge.height")};
14
- }
15
-
16
- .p-badge-dot {
17
- width: ${t("badge.dot.size")};
18
- min-width: ${t("badge.dot.size")};
19
- height: ${t("badge.dot.size")};
20
- border-radius: 50%;
21
- padding: 0;
22
- }
23
-
24
- .p-badge-circle {
25
- padding: 0;
26
- border-radius: 50%;
27
- }
28
-
29
- .p-badge-secondary {
30
- background: ${t("badge.secondary.background")};
31
- color: ${t("badge.secondary.color")};
32
- }
33
-
34
- .p-badge-success {
35
- background: ${t("badge.success.background")};
36
- color: ${t("badge.success.color")};
37
- }
38
-
39
- .p-badge-info {
40
- background: ${t("badge.info.background")};
41
- color: ${t("badge.info.color")};
42
- }
43
-
44
- .p-badge-warn {
45
- background: ${t("badge.warn.background")};
46
- color: ${t("badge.warn.color")};
47
- }
48
-
49
- .p-badge-danger {
50
- background: ${t("badge.danger.background")};
51
- color: ${t("badge.danger.color")};
52
- }
53
-
54
- .p-badge-contrast {
55
- background: ${t("badge.contrast.background")};
56
- color: ${t("badge.contrast.color")};
57
- }
58
-
59
- .p-badge-sm {
60
- font-size: ${t("badge.sm.font.size")};
61
- min-width: ${t("badge.sm.min.width")};
62
- height: ${t("badge.sm.height")};
63
- line-height: ${t("badge.sm.height")};
64
- }
65
-
66
- .p-badge-lg {
67
- font-size: ${t("badge.lg.font.size")};
68
- min-width: ${t("badge.lg.min.width")};
69
- height: ${t("badge.lg.height")};
70
- line-height: ${t("badge.lg.height")};
71
- }
72
-
73
- .p-badge-xl {
74
- font-size: ${t("badge.xl.font.size")};
75
- min-width: ${t("badge.xl.min.width")};
76
- height: ${t("badge.xl.height")};
77
- line-height: ${t("badge.xl.height")};
78
- }
79
-
80
- /* For PrimeNG (directive)*/
81
-
82
- .p-overlay-badge {
83
- position: relative;
84
- }
85
-
86
- .p-overlay-badge > .p-badge {
87
- position: absolute;
88
- top: 0;
89
- inset-inline-end: 0;
90
- transform: translate(50%, -50%);
91
- transform-origin: 100% 0;
92
- margin: 0;
93
- }
94
- `,xt={root:({props:t,instance:i})=>["p-badge p-component",{"p-badge-circle":R(t.value)&&String(t.value).length===1,"p-badge-dot":z(t.value)&&!i.$slots.default,"p-badge-sm":t.size==="small","p-badge-lg":t.size==="large","p-badge-xl":t.size==="xlarge","p-badge-info":t.severity==="info","p-badge-success":t.severity==="success","p-badge-warn":t.severity==="warn","p-badge-danger":t.severity==="danger","p-badge-secondary":t.severity==="secondary","p-badge-contrast":t.severity==="contrast"}]},ht=(()=>{class t extends A{name="badge";theme=$t;classes=xt;static \u0275fac=(()=>{let o;return function(e){return(o||(o=b(t)))(e||t)}})();static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})();var U=(()=>{class t extends x{styleClass=p();style=p();badgeSize=p();size=p();severity=p();value=p();badgeDisabled=p(!1,{transform:a});_componentStyle=d(ht);containerClass=H(()=>{let o="p-badge p-component";return R(this.value())&&String(this.value()).length===1&&(o+=" p-badge-circle"),this.badgeSize()==="large"?o+=" p-badge-lg":this.badgeSize()==="xlarge"?o+=" p-badge-xl":this.badgeSize()==="small"&&(o+=" p-badge-sm"),z(this.value())&&(o+=" p-badge-dot"),this.styleClass()&&(o+=` ${this.styleClass()}`),this.severity()&&(o+=` p-badge-${this.severity()}`),o});static \u0275fac=(()=>{let o;return function(e){return(o||(o=b(t)))(e||t)}})();static \u0275cmp=y({type:t,selectors:[["p-badge"]],hostVars:6,hostBindings:function(n,e){n&2&&(W(e.style()),$(e.containerClass()),K("display",e.badgeDisabled()?"none":null))},inputs:{styleClass:[1,"styleClass"],style:[1,"style"],badgeSize:[1,"badgeSize"],size:[1,"size"],severity:[1,"severity"],value:[1,"value"],badgeDisabled:[1,"badgeDisabled"]},features:[j([ht]),g],decls:1,vars:1,template:function(n,e){n&1&&L(0),n&2&&N(e.value())},dependencies:[B,f],encapsulation:2,changeDetection:0})}return t})(),ft=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=k({type:t});static \u0275inj=C({imports:[U,f,f]})}return t})();var ho=(()=>{class t extends bt{static \u0275fac=(()=>{let o;return function(e){return(o||(o=b(t)))(e||t)}})();static \u0275cmp=y({type:t,selectors:[["TimesIcon"]],features:[g],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z","fill","currentColor"]],template:function(n,e){n&1&&(G(),_(0,"svg",0),v(1,"path",1),I()),n&2&&($(e.getClassNames()),h("aria-label",e.ariaLabel)("aria-hidden",e.ariaHidden)("role",e.role))},encapsulation:2})}return t})();var kt=["content"],_t=["loading"],It=["icon"],wt=["*"],vt=t=>({class:t});function St(t,i){t&1&&X(0)}function Tt(t,i){if(t&1&&v(0,"span",8),t&2){let o=c(3);r("ngClass",o.iconClass()),h("aria-hidden",!0)("data-pc-section","loadingicon")}}function Bt(t,i){if(t&1&&v(0,"SpinnerIcon",9),t&2){let o=c(3);r("styleClass",o.spinnerIconClass())("spin",!0),h("aria-hidden",!0)("data-pc-section","loadingicon")}}function zt(t,i){if(t&1&&(P(0),m(1,Tt,1,3,"span",6)(2,Bt,1,4,"SpinnerIcon",7),O()),t&2){let o=c(2);s(),r("ngIf",o.loadingIcon),s(),r("ngIf",!o.loadingIcon)}}function Ft(t,i){}function Et(t,i){if(t&1&&m(0,Ft,0,0,"ng-template",10),t&2){let o=c(2);r("ngIf",o.loadingIconTemplate||o._loadingIconTemplate)}}function Dt(t,i){if(t&1&&(P(0),m(1,zt,3,2,"ng-container",2)(2,Et,1,1,null,5),O()),t&2){let o=c();s(),r("ngIf",!o.loadingIconTemplate&&!o._loadingIconTemplate),s(),r("ngTemplateOutlet",o.loadingIconTemplate||o._loadingIconTemplate)("ngTemplateOutletContext",Q(3,vt,o.iconClass()))}}function Mt(t,i){if(t&1&&v(0,"span",8),t&2){let o=c(2);$(o.icon),r("ngClass",o.iconClass()),h("data-pc-section","icon")}}function Pt(t,i){}function Ot(t,i){if(t&1&&m(0,Pt,0,0,"ng-template",10),t&2){let o=c(2);r("ngIf",!o.icon&&(o.iconTemplate||o._iconTemplate))}}function Lt(t,i){if(t&1&&(P(0),m(1,Mt,1,4,"span",11)(2,Ot,1,1,null,5),O()),t&2){let o=c();s(),r("ngIf",o.icon&&!o.iconTemplate&&!o._iconTemplate),s(),r("ngTemplateOutlet",o.iconTemplate||o._iconTemplate)("ngTemplateOutletContext",Q(3,vt,o.iconClass()))}}function Nt(t,i){if(t&1&&(_(0,"span",12),L(1),I()),t&2){let o=c();h("aria-hidden",o.icon&&!o.label)("data-pc-section","label"),s(),N(o.label)}}function jt(t,i){if(t&1&&v(0,"p-badge",13),t&2){let o=c();r("value",o.badge)("severity",o.badgeSeverity)}}var At=({dt:t})=>`
95
- .p-button {
96
- display: inline-flex;
97
- cursor: pointer;
98
- user-select: none;
99
- align-items: center;
100
- justify-content: center;
101
- overflow: hidden;
102
- position: relative;
103
- color: ${t("button.primary.color")};
104
- background: ${t("button.primary.background")};
105
- border: 1px solid ${t("button.primary.border.color")};
106
- padding-block: ${t("button.padding.y")};
107
- padding-inline: ${t("button.padding.x")};
108
- font-size: 1rem;
109
- font-family: inherit;
110
- font-feature-settings: inherit;
111
- transition: background ${t("button.transition.duration")}, color ${t("button.transition.duration")}, border-color ${t("button.transition.duration")},
112
- outline-color ${t("button.transition.duration")}, box-shadow ${t("button.transition.duration")};
113
- border-radius: ${t("button.border.radius")};
114
- outline-color: transparent;
115
- gap: ${t("button.gap")};
116
- }
117
-
118
- .p-button-icon,
119
- .p-button-icon:before,
120
- .p-button-icon:after {
121
- line-height: inherit;
122
- }
123
-
124
- .p-button:disabled {
125
- cursor: default;
126
- }
127
-
128
- .p-button-icon-right {
129
- order: 1;
130
- }
131
-
132
- .p-button-icon-right:dir(rtl) {
133
- order: -1;
134
- }
135
-
136
- .p-button:not(.p-button-vertical) .p-button-icon:not(.p-button-icon-right):dir(rtl) {
137
- order: 1;
138
- }
139
-
140
- .p-button-icon-bottom {
141
- order: 2;
142
- }
143
-
144
- .p-button-icon-only {
145
- width: ${t("button.icon.only.width")};
146
- padding-inline-start: 0;
147
- padding-inline-end: 0;
148
- gap: 0;
149
- }
150
-
151
- .p-button-icon-only.p-button-rounded {
152
- border-radius: 50%;
153
- height: ${t("button.icon.only.width")};
154
- }
155
-
156
- .p-button-icon-only .p-button-label {
157
- visibility: hidden;
158
- width: 0;
159
- }
160
-
161
- .p-button-sm {
162
- font-size: ${t("button.sm.font.size")};
163
- padding-block: ${t("button.sm.padding.y")};
164
- padding-inline: ${t("button.sm.padding.x")};
165
- }
166
-
167
- .p-button-sm .p-button-icon {
168
- font-size: ${t("button.sm.font.size")};
169
- }
170
-
171
- .p-button-lg {
172
- font-size: ${t("button.lg.font.size")};
173
- padding-block: ${t("button.lg.padding.y")};
174
- padding-inline: ${t("button.lg.padding.x")};
175
- }
176
-
177
- .p-button-lg .p-button-icon {
178
- font-size: ${t("button.lg.font.size")};
179
- }
180
-
181
- .p-button-vertical {
182
- flex-direction: column;
183
- }
184
-
185
- .p-button-label {
186
- font-weight: ${t("button.label.font.weight")};
187
- }
188
-
189
- .p-button-fluid {
190
- width: 100%;
191
- }
192
-
193
- .p-button-fluid.p-button-icon-only {
194
- width: ${t("button.icon.only.width")};
195
- }
196
-
197
- .p-button:not(:disabled):hover {
198
- background: ${t("button.primary.hover.background")};
199
- border: 1px solid ${t("button.primary.hover.border.color")};
200
- color: ${t("button.primary.hover.color")};
201
- }
202
-
203
- .p-button:not(:disabled):active {
204
- background: ${t("button.primary.active.background")};
205
- border: 1px solid ${t("button.primary.active.border.color")};
206
- color: ${t("button.primary.active.color")};
207
- }
208
-
209
- .p-button:focus-visible {
210
- box-shadow: ${t("button.primary.focus.ring.shadow")};
211
- outline: ${t("button.focus.ring.width")} ${t("button.focus.ring.style")} ${t("button.primary.focus.ring.color")};
212
- outline-offset: ${t("button.focus.ring.offset")};
213
- }
214
-
215
- .p-button .p-badge {
216
- min-width: ${t("button.badge.size")};
217
- height: ${t("button.badge.size")};
218
- line-height: ${t("button.badge.size")};
219
- }
220
-
221
- .p-button-raised {
222
- box-shadow: ${t("button.raised.shadow")};
223
- }
224
-
225
- .p-button-rounded {
226
- border-radius: ${t("button.rounded.border.radius")};
227
- }
228
-
229
- .p-button-secondary {
230
- background: ${t("button.secondary.background")};
231
- border: 1px solid ${t("button.secondary.border.color")};
232
- color: ${t("button.secondary.color")};
233
- }
234
-
235
- .p-button-secondary:not(:disabled):hover {
236
- background: ${t("button.secondary.hover.background")};
237
- border: 1px solid ${t("button.secondary.hover.border.color")};
238
- color: ${t("button.secondary.hover.color")};
239
- }
240
-
241
- .p-button-secondary:not(:disabled):active {
242
- background: ${t("button.secondary.active.background")};
243
- border: 1px solid ${t("button.secondary.active.border.color")};
244
- color: ${t("button.secondary.active.color")};
245
- }
246
-
247
- .p-button-secondary:focus-visible {
248
- outline-color: ${t("button.secondary.focus.ring.color")};
249
- box-shadow: ${t("button.secondary.focus.ring.shadow")};
250
- }
251
-
252
- .p-button-success {
253
- background: ${t("button.success.background")};
254
- border: 1px solid ${t("button.success.border.color")};
255
- color: ${t("button.success.color")};
256
- }
257
-
258
- .p-button-success:not(:disabled):hover {
259
- background: ${t("button.success.hover.background")};
260
- border: 1px solid ${t("button.success.hover.border.color")};
261
- color: ${t("button.success.hover.color")};
262
- }
263
-
264
- .p-button-success:not(:disabled):active {
265
- background: ${t("button.success.active.background")};
266
- border: 1px solid ${t("button.success.active.border.color")};
267
- color: ${t("button.success.active.color")};
268
- }
269
-
270
- .p-button-success:focus-visible {
271
- outline-color: ${t("button.success.focus.ring.color")};
272
- box-shadow: ${t("button.success.focus.ring.shadow")};
273
- }
274
-
275
- .p-button-info {
276
- background: ${t("button.info.background")};
277
- border: 1px solid ${t("button.info.border.color")};
278
- color: ${t("button.info.color")};
279
- }
280
-
281
- .p-button-info:not(:disabled):hover {
282
- background: ${t("button.info.hover.background")};
283
- border: 1px solid ${t("button.info.hover.border.color")};
284
- color: ${t("button.info.hover.color")};
285
- }
286
-
287
- .p-button-info:not(:disabled):active {
288
- background: ${t("button.info.active.background")};
289
- border: 1px solid ${t("button.info.active.border.color")};
290
- color: ${t("button.info.active.color")};
291
- }
292
-
293
- .p-button-info:focus-visible {
294
- outline-color: ${t("button.info.focus.ring.color")};
295
- box-shadow: ${t("button.info.focus.ring.shadow")};
296
- }
297
-
298
- .p-button-warn {
299
- background: ${t("button.warn.background")};
300
- border: 1px solid ${t("button.warn.border.color")};
301
- color: ${t("button.warn.color")};
302
- }
303
-
304
- .p-button-warn:not(:disabled):hover {
305
- background: ${t("button.warn.hover.background")};
306
- border: 1px solid ${t("button.warn.hover.border.color")};
307
- color: ${t("button.warn.hover.color")};
308
- }
309
-
310
- .p-button-warn:not(:disabled):active {
311
- background: ${t("button.warn.active.background")};
312
- border: 1px solid ${t("button.warn.active.border.color")};
313
- color: ${t("button.warn.active.color")};
314
- }
315
-
316
- .p-button-warn:focus-visible {
317
- outline-color: ${t("button.warn.focus.ring.color")};
318
- box-shadow: ${t("button.warn.focus.ring.shadow")};
319
- }
320
-
321
- .p-button-help {
322
- background: ${t("button.help.background")};
323
- border: 1px solid ${t("button.help.border.color")};
324
- color: ${t("button.help.color")};
325
- }
326
-
327
- .p-button-help:not(:disabled):hover {
328
- background: ${t("button.help.hover.background")};
329
- border: 1px solid ${t("button.help.hover.border.color")};
330
- color: ${t("button.help.hover.color")};
331
- }
332
-
333
- .p-button-help:not(:disabled):active {
334
- background: ${t("button.help.active.background")};
335
- border: 1px solid ${t("button.help.active.border.color")};
336
- color: ${t("button.help.active.color")};
337
- }
338
-
339
- .p-button-help:focus-visible {
340
- outline-color: ${t("button.help.focus.ring.color")};
341
- box-shadow: ${t("button.help.focus.ring.shadow")};
342
- }
343
-
344
- .p-button-danger {
345
- background: ${t("button.danger.background")};
346
- border: 1px solid ${t("button.danger.border.color")};
347
- color: ${t("button.danger.color")};
348
- }
349
-
350
- .p-button-danger:not(:disabled):hover {
351
- background: ${t("button.danger.hover.background")};
352
- border: 1px solid ${t("button.danger.hover.border.color")};
353
- color: ${t("button.danger.hover.color")};
354
- }
355
-
356
- .p-button-danger:not(:disabled):active {
357
- background: ${t("button.danger.active.background")};
358
- border: 1px solid ${t("button.danger.active.border.color")};
359
- color: ${t("button.danger.active.color")};
360
- }
361
-
362
- .p-button-danger:focus-visible {
363
- outline-color: ${t("button.danger.focus.ring.color")};
364
- box-shadow: ${t("button.danger.focus.ring.shadow")};
365
- }
366
-
367
- .p-button-contrast {
368
- background: ${t("button.contrast.background")};
369
- border: 1px solid ${t("button.contrast.border.color")};
370
- color: ${t("button.contrast.color")};
371
- }
372
-
373
- .p-button-contrast:not(:disabled):hover {
374
- background: ${t("button.contrast.hover.background")};
375
- border: 1px solid ${t("button.contrast.hover.border.color")};
376
- color: ${t("button.contrast.hover.color")};
377
- }
378
-
379
- .p-button-contrast:not(:disabled):active {
380
- background: ${t("button.contrast.active.background")};
381
- border: 1px solid ${t("button.contrast.active.border.color")};
382
- color: ${t("button.contrast.active.color")};
383
- }
384
-
385
- .p-button-contrast:focus-visible {
386
- outline-color: ${t("button.contrast.focus.ring.color")};
387
- box-shadow: ${t("button.contrast.focus.ring.shadow")};
388
- }
389
-
390
- .p-button-outlined {
391
- background: transparent;
392
- border-color: ${t("button.outlined.primary.border.color")};
393
- color: ${t("button.outlined.primary.color")};
394
- }
395
-
396
- .p-button-outlined:not(:disabled):hover {
397
- background: ${t("button.outlined.primary.hover.background")};
398
- border-color: ${t("button.outlined.primary.border.color")};
399
- color: ${t("button.outlined.primary.color")};
400
- }
401
-
402
- .p-button-outlined:not(:disabled):active {
403
- background: ${t("button.outlined.primary.active.background")};
404
- border-color: ${t("button.outlined.primary.border.color")};
405
- color: ${t("button.outlined.primary.color")};
406
- }
407
-
408
- .p-button-outlined.p-button-secondary {
409
- border-color: ${t("button.outlined.secondary.border.color")};
410
- color: ${t("button.outlined.secondary.color")};
411
- }
412
-
413
- .p-button-outlined.p-button-secondary:not(:disabled):hover {
414
- background: ${t("button.outlined.secondary.hover.background")};
415
- border-color: ${t("button.outlined.secondary.border.color")};
416
- color: ${t("button.outlined.secondary.color")};
417
- }
418
-
419
- .p-button-outlined.p-button-secondary:not(:disabled):active {
420
- background: ${t("button.outlined.secondary.active.background")};
421
- border-color: ${t("button.outlined.secondary.border.color")};
422
- color: ${t("button.outlined.secondary.color")};
423
- }
424
-
425
- .p-button-outlined.p-button-success {
426
- border-color: ${t("button.outlined.success.border.color")};
427
- color: ${t("button.outlined.success.color")};
428
- }
429
-
430
- .p-button-outlined.p-button-success:not(:disabled):hover {
431
- background: ${t("button.outlined.success.hover.background")};
432
- border-color: ${t("button.outlined.success.border.color")};
433
- color: ${t("button.outlined.success.color")};
434
- }
435
-
436
- .p-button-outlined.p-button-success:not(:disabled):active {
437
- background: ${t("button.outlined.success.active.background")};
438
- border-color: ${t("button.outlined.success.border.color")};
439
- color: ${t("button.outlined.success.color")};
440
- }
441
-
442
- .p-button-outlined.p-button-info {
443
- border-color: ${t("button.outlined.info.border.color")};
444
- color: ${t("button.outlined.info.color")};
445
- }
446
-
447
- .p-button-outlined.p-button-info:not(:disabled):hover {
448
- background: ${t("button.outlined.info.hover.background")};
449
- border-color: ${t("button.outlined.info.border.color")};
450
- color: ${t("button.outlined.info.color")};
451
- }
452
-
453
- .p-button-outlined.p-button-info:not(:disabled):active {
454
- background: ${t("button.outlined.info.active.background")};
455
- border-color: ${t("button.outlined.info.border.color")};
456
- color: ${t("button.outlined.info.color")};
457
- }
458
-
459
- .p-button-outlined.p-button-warn {
460
- border-color: ${t("button.outlined.warn.border.color")};
461
- color: ${t("button.outlined.warn.color")};
462
- }
463
-
464
- .p-button-outlined.p-button-warn:not(:disabled):hover {
465
- background: ${t("button.outlined.warn.hover.background")};
466
- border-color: ${t("button.outlined.warn.border.color")};
467
- color: ${t("button.outlined.warn.color")};
468
- }
469
-
470
- .p-button-outlined.p-button-warn:not(:disabled):active {
471
- background: ${t("button.outlined.warn.active.background")};
472
- border-color: ${t("button.outlined.warn.border.color")};
473
- color: ${t("button.outlined.warn.color")};
474
- }
475
-
476
- .p-button-outlined.p-button-help {
477
- border-color: ${t("button.outlined.help.border.color")};
478
- color: ${t("button.outlined.help.color")};
479
- }
480
-
481
- .p-button-outlined.p-button-help:not(:disabled):hover {
482
- background: ${t("button.outlined.help.hover.background")};
483
- border-color: ${t("button.outlined.help.border.color")};
484
- color: ${t("button.outlined.help.color")};
485
- }
486
-
487
- .p-button-outlined.p-button-help:not(:disabled):active {
488
- background: ${t("button.outlined.help.active.background")};
489
- border-color: ${t("button.outlined.help.border.color")};
490
- color: ${t("button.outlined.help.color")};
491
- }
492
-
493
- .p-button-outlined.p-button-danger {
494
- border-color: ${t("button.outlined.danger.border.color")};
495
- color: ${t("button.outlined.danger.color")};
496
- }
497
-
498
- .p-button-outlined.p-button-danger:not(:disabled):hover {
499
- background: ${t("button.outlined.danger.hover.background")};
500
- border-color: ${t("button.outlined.danger.border.color")};
501
- color: ${t("button.outlined.danger.color")};
502
- }
503
-
504
- .p-button-outlined.p-button-danger:not(:disabled):active {
505
- background: ${t("button.outlined.danger.active.background")};
506
- border-color: ${t("button.outlined.danger.border.color")};
507
- color: ${t("button.outlined.danger.color")};
508
- }
509
-
510
- .p-button-outlined.p-button-contrast {
511
- border-color: ${t("button.outlined.contrast.border.color")};
512
- color: ${t("button.outlined.contrast.color")};
513
- }
514
-
515
- .p-button-outlined.p-button-contrast:not(:disabled):hover {
516
- background: ${t("button.outlined.contrast.hover.background")};
517
- border-color: ${t("button.outlined.contrast.border.color")};
518
- color: ${t("button.outlined.contrast.color")};
519
- }
520
-
521
- .p-button-outlined.p-button-contrast:not(:disabled):active {
522
- background: ${t("button.outlined.contrast.active.background")};
523
- border-color: ${t("button.outlined.contrast.border.color")};
524
- color: ${t("button.outlined.contrast.color")};
525
- }
526
-
527
- .p-button-outlined.p-button-plain {
528
- border-color: ${t("button.outlined.plain.border.color")};
529
- color: ${t("button.outlined.plain.color")};
530
- }
531
-
532
- .p-button-outlined.p-button-plain:not(:disabled):hover {
533
- background: ${t("button.outlined.plain.hover.background")};
534
- border-color: ${t("button.outlined.plain.border.color")};
535
- color: ${t("button.outlined.plain.color")};
536
- }
537
-
538
- .p-button-outlined.p-button-plain:not(:disabled):active {
539
- background: ${t("button.outlined.plain.active.background")};
540
- border-color: ${t("button.outlined.plain.border.color")};
541
- color: ${t("button.outlined.plain.color")};
542
- }
543
-
544
- .p-button-text {
545
- background: transparent;
546
- border-color: transparent;
547
- color: ${t("button.text.primary.color")};
548
- }
549
-
550
- .p-button-text:not(:disabled):hover {
551
- background: ${t("button.text.primary.hover.background")};
552
- border-color: transparent;
553
- color: ${t("button.text.primary.color")};
554
- }
555
-
556
- .p-button-text:not(:disabled):active {
557
- background: ${t("button.text.primary.active.background")};
558
- border-color: transparent;
559
- color: ${t("button.text.primary.color")};
560
- }
561
-
562
- .p-button-text.p-button-secondary {
563
- background: transparent;
564
- border-color: transparent;
565
- color: ${t("button.text.secondary.color")};
566
- }
567
-
568
- .p-button-text.p-button-secondary:not(:disabled):hover {
569
- background: ${t("button.text.secondary.hover.background")};
570
- border-color: transparent;
571
- color: ${t("button.text.secondary.color")};
572
- }
573
-
574
- .p-button-text.p-button-secondary:not(:disabled):active {
575
- background: ${t("button.text.secondary.active.background")};
576
- border-color: transparent;
577
- color: ${t("button.text.secondary.color")};
578
- }
579
-
580
- .p-button-text.p-button-success {
581
- background: transparent;
582
- border-color: transparent;
583
- color: ${t("button.text.success.color")};
584
- }
585
-
586
- .p-button-text.p-button-success:not(:disabled):hover {
587
- background: ${t("button.text.success.hover.background")};
588
- border-color: transparent;
589
- color: ${t("button.text.success.color")};
590
- }
591
-
592
- .p-button-text.p-button-success:not(:disabled):active {
593
- background: ${t("button.text.success.active.background")};
594
- border-color: transparent;
595
- color: ${t("button.text.success.color")};
596
- }
597
-
598
- .p-button-text.p-button-info {
599
- background: transparent;
600
- border-color: transparent;
601
- color: ${t("button.text.info.color")};
602
- }
603
-
604
- .p-button-text.p-button-info:not(:disabled):hover {
605
- background: ${t("button.text.info.hover.background")};
606
- border-color: transparent;
607
- color: ${t("button.text.info.color")};
608
- }
609
-
610
- .p-button-text.p-button-info:not(:disabled):active {
611
- background: ${t("button.text.info.active.background")};
612
- border-color: transparent;
613
- color: ${t("button.text.info.color")};
614
- }
615
-
616
- .p-button-text.p-button-warn {
617
- background: transparent;
618
- border-color: transparent;
619
- color: ${t("button.text.warn.color")};
620
- }
621
-
622
- .p-button-text.p-button-warn:not(:disabled):hover {
623
- background: ${t("button.text.warn.hover.background")};
624
- border-color: transparent;
625
- color: ${t("button.text.warn.color")};
626
- }
627
-
628
- .p-button-text.p-button-warn:not(:disabled):active {
629
- background: ${t("button.text.warn.active.background")};
630
- border-color: transparent;
631
- color: ${t("button.text.warn.color")};
632
- }
633
-
634
- .p-button-text.p-button-help {
635
- background: transparent;
636
- border-color: transparent;
637
- color: ${t("button.text.help.color")};
638
- }
639
-
640
- .p-button-text.p-button-help:not(:disabled):hover {
641
- background: ${t("button.text.help.hover.background")};
642
- border-color: transparent;
643
- color: ${t("button.text.help.color")};
644
- }
645
-
646
- .p-button-text.p-button-help:not(:disabled):active {
647
- background: ${t("button.text.help.active.background")};
648
- border-color: transparent;
649
- color: ${t("button.text.help.color")};
650
- }
651
-
652
- .p-button-text.p-button-danger {
653
- background: transparent;
654
- border-color: transparent;
655
- color: ${t("button.text.danger.color")};
656
- }
657
-
658
- .p-button-text.p-button-danger:not(:disabled):hover {
659
- background: ${t("button.text.danger.hover.background")};
660
- border-color: transparent;
661
- color: ${t("button.text.danger.color")};
662
- }
663
-
664
- .p-button-text.p-button-danger:not(:disabled):active {
665
- background: ${t("button.text.danger.active.background")};
666
- border-color: transparent;
667
- color: ${t("button.text.danger.color")};
668
- }
669
-
670
- .p-button-text.p-button-plain {
671
- background: transparent;
672
- border-color: transparent;
673
- color: ${t("button.text.plain.color")};
674
- }
675
-
676
- .p-button-text.p-button-plain:not(:disabled):hover {
677
- background: ${t("button.text.plain.hover.background")};
678
- border-color: transparent;
679
- color: ${t("button.text.plain.color")};
680
- }
681
-
682
- .p-button-text.p-button-plain:not(:disabled):active {
683
- background: ${t("button.text.plain.active.background")};
684
- border-color: transparent;
685
- color: ${t("button.text.plain.color")};
686
- }
687
-
688
- .p-button-text.p-button-contrast {
689
- background: transparent;
690
- border-color: transparent;
691
- color: ${t("button.text.contrast.color")};
692
- }
693
-
694
- .p-button-text.p-button-contrast:not(:disabled):hover {
695
- background: ${t("button.text.contrast.hover.background")};
696
- border-color: transparent;
697
- color: ${t("button.text.contrast.color")};
698
- }
699
-
700
- .p-button-text.p-button-contrast:not(:disabled):active {
701
- background: ${t("button.text.contrast.active.background")};
702
- border-color: transparent;
703
- color: ${t("button.text.contrast.color")};
704
- }
705
-
706
- .p-button-link {
707
- background: transparent;
708
- border-color: transparent;
709
- color: ${t("button.link.color")};
710
- }
711
-
712
- .p-button-link:not(:disabled):hover {
713
- background: transparent;
714
- border-color: transparent;
715
- color: ${t("button.link.hover.color")};
716
- }
717
-
718
- .p-button-link:not(:disabled):hover .p-button-label {
719
- text-decoration: underline;
720
- }
721
-
722
- .p-button-link:not(:disabled):active {
723
- background: transparent;
724
- border-color: transparent;
725
- color: ${t("button.link.active.color")};
726
- }
727
-
728
- /* For PrimeNG */
729
- .p-button-icon-right {
730
- order: 1;
731
- }
732
-
733
- p-button[iconpos='right'] spinnericon {
734
- order: 1;
735
- }
736
- `,Vt={root:({instance:t,props:i})=>["p-button p-component",{"p-button-icon-only":t.hasIcon&&!i.label&&!i.badge,"p-button-vertical":(i.iconPos==="top"||i.iconPos==="bottom")&&i.label,"p-button-loading":i.loading,"p-button-link":i.link,[`p-button-${i.severity}`]:i.severity,"p-button-raised":i.raised,"p-button-rounded":i.rounded,"p-button-text":i.text,"p-button-outlined":i.outlined,"p-button-sm":i.size==="small","p-button-lg":i.size==="large","p-button-plain":i.plain,"p-button-fluid":i.fluid}],loadingIcon:"p-button-loading-icon",icon:({props:t})=>["p-button-icon",{[`p-button-icon-${t.iconPos}`]:t.label}],label:"p-button-label"},mt=(()=>{class t extends A{name="button";theme=At;classes=Vt;static \u0275fac=(()=>{let o;return function(e){return(o||(o=b(t)))(e||t)}})();static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})();var Qt=(()=>{class t extends x{type="button";iconPos="left";icon;badge;label;disabled;loading=!1;loadingIcon;raised=!1;rounded=!1;text=!1;plain=!1;severity;outlined=!1;link=!1;tabindex;size;variant;style;styleClass;badgeClass;badgeSeverity="secondary";ariaLabel;autofocus;fluid;onClick=new E;onFocus=new E;onBlur=new E;contentTemplate;loadingIconTemplate;iconTemplate;_buttonProps;get buttonProps(){return this._buttonProps}set buttonProps(o){this._buttonProps=o,o&&typeof o=="object"&&Object.entries(o).forEach(([n,e])=>this[`_${n}`]!==e&&(this[`_${n}`]=e))}get hasFluid(){let n=this.el.nativeElement.closest("p-fluid");return z(this.fluid)?!!n:this.fluid}_componentStyle=d(mt);templates;_contentTemplate;_iconTemplate;_loadingIconTemplate;ngAfterContentInit(){this.templates?.forEach(o=>{switch(o.getType()){case"content":this.contentTemplate=o.template;break;case"icon":this.iconTemplate=o.template;break;case"loadingicon":this.loadingIconTemplate=o.template;break;default:this.contentTemplate=o.template;break}})}ngOnChanges(o){super.ngOnChanges(o);let{buttonProps:n}=o;if(n){let e=n.currentValue;for(let u in e)this[u]=e[u]}}spinnerIconClass(){return Object.entries(this.iconClass()).filter(([,o])=>!!o).reduce((o,[n])=>o+` ${n}`,"p-button-loading-icon")}iconClass(){return{[`p-button-loading-icon pi-spin ${this.loadingIcon??""}`]:this.loading,"p-button-icon":!0,"p-button-icon-left":this.iconPos==="left"&&this.label,"p-button-icon-right":this.iconPos==="right"&&this.label,"p-button-icon-top":this.iconPos==="top"&&this.label,"p-button-icon-bottom":this.iconPos==="bottom"&&this.label}}get buttonClass(){return{"p-button p-component":!0,"p-button-icon-only":(this.icon||this.iconTemplate||this.loadingIcon||this.loadingIconTemplate||this._loadingIconTemplate)&&!this.label,"p-button-vertical":(this.iconPos==="top"||this.iconPos==="bottom")&&this.label,"p-button-loading":this.loading,"p-button-loading-label-only":this.loading&&!this.icon&&this.label&&!this.loadingIcon&&this.iconPos==="left","p-button-link":this.link,[`p-button-${this.severity}`]:this.severity,"p-button-raised":this.raised,"p-button-rounded":this.rounded,"p-button-text":this.text||this.variant=="text","p-button-outlined":this.outlined||this.variant=="outlined","p-button-sm":this.size==="small","p-button-lg":this.size==="large","p-button-plain":this.plain,"p-button-fluid":this.hasFluid,[`${this.styleClass}`]:this.styleClass}}static \u0275fac=(()=>{let o;return function(e){return(o||(o=b(t)))(e||t)}})();static \u0275cmp=y({type:t,selectors:[["p-button"]],contentQueries:function(n,e,u){if(n&1&&(w(u,kt,5),w(u,_t,5),w(u,It,5),w(u,ct,4)),n&2){let l;S(l=T())&&(e.contentTemplate=l.first),S(l=T())&&(e.loadingIconTemplate=l.first),S(l=T())&&(e.iconTemplate=l.first),S(l=T())&&(e.templates=l)}},inputs:{type:"type",iconPos:"iconPos",icon:"icon",badge:"badge",label:"label",disabled:[2,"disabled","disabled",a],loading:[2,"loading","loading",a],loadingIcon:"loadingIcon",raised:[2,"raised","raised",a],rounded:[2,"rounded","rounded",a],text:[2,"text","text",a],plain:[2,"plain","plain",a],severity:"severity",outlined:[2,"outlined","outlined",a],link:[2,"link","link",a],tabindex:[2,"tabindex","tabindex",et],size:"size",variant:"variant",style:"style",styleClass:"styleClass",badgeClass:"badgeClass",badgeSeverity:"badgeSeverity",ariaLabel:"ariaLabel",autofocus:[2,"autofocus","autofocus",a],fluid:[2,"fluid","fluid",a],buttonProps:"buttonProps"},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},features:[j([mt]),M,g,V],ngContentSelectors:wt,decls:7,vars:14,consts:[["pRipple","",3,"click","focus","blur","ngStyle","disabled","ngClass","pAutoFocus"],[4,"ngTemplateOutlet"],[4,"ngIf"],["class","p-button-label",4,"ngIf"],[3,"value","severity",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngClass",4,"ngIf"],[3,"styleClass","spin",4,"ngIf"],[3,"ngClass"],[3,"styleClass","spin"],[3,"ngIf"],[3,"class","ngClass",4,"ngIf"],[1,"p-button-label"],[3,"value","severity"]],template:function(n,e){n&1&&(tt(),_(0,"button",0),Y("click",function(l){return e.onClick.emit(l)})("focus",function(l){return e.onFocus.emit(l)})("blur",function(l){return e.onBlur.emit(l)}),ot(1),m(2,St,1,0,"ng-container",1)(3,Dt,3,5,"ng-container",2)(4,Lt,3,5,"ng-container",2)(5,Nt,2,3,"span",3)(6,jt,1,2,"p-badge",4),I()),n&2&&(r("ngStyle",e.style)("disabled",e.disabled||e.loading)("ngClass",e.buttonClass)("pAutoFocus",e.autofocus),h("type",e.type)("aria-label",e.ariaLabel)("data-pc-name","button")("data-pc-section","root")("tabindex",e.tabindex),s(2),r("ngTemplateOutlet",e.contentTemplate||e._contentTemplate),s(),r("ngIf",e.loading),s(),r("ngIf",!e.loading),s(),r("ngIf",!e.contentTemplate&&!e._contentTemplate&&e.label),s(),r("ngIf",!e.contentTemplate&&!e._contentTemplate&&e.badge))},dependencies:[B,it,rt,lt,at,pt,gt,dt,ft,U,f],encapsulation:2,changeDetection:0})}return t})(),Ho=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=k({type:t});static \u0275inj=C({imports:[B,Qt,f,f]})}return t})();export{ho as a,gt as b,U as c,ft as d,Qt as e,Ho as f};