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
|
@@ -0,0 +1,736 @@
|
|
|
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};
|