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.
- package/3rdpartylicenses.txt +56 -56
- package/assets/scss/fonts/montserrat/Montserrat-Bold.woff2 +0 -0
- package/assets/scss/fonts/montserrat/Montserrat-Italic.woff2 +0 -0
- package/assets/scss/fonts/montserrat/Montserrat-Regular.woff2 +0 -0
- package/assets/scss/fonts/montserrat/Montserrat-SemiBold.woff2 +0 -0
- package/assets/scss/layouts/_customizer.scss +11 -6
- package/assets/scss/layouts/_layout.scss +6 -6
- package/assets/scss/layouts/_sidebar.scss +19 -14
- package/assets/scss/style.scss +24 -8
- package/assets/scss/variables/_variables.scss +6 -52
- package/chunk-223MMYH7.js +141 -0
- package/chunk-33KLXB2L.js +180 -0
- package/{chunk-URKXDZJE.js → chunk-4Y3NYY52.js} +1 -1
- package/{chunk-I72ECAQH.js → chunk-5GQEUX4M.js} +1 -1
- package/chunk-5RRUIJ5U.js +1 -0
- package/{chunk-7X454BGN.js → chunk-6BFODHTZ.js} +1 -1
- package/chunk-AXJA6OO7.js +246 -0
- package/chunk-AYVR3RIS.js +297 -0
- package/{chunk-ZT4NOONZ.js → chunk-B6N6C3RA.js} +1 -1
- package/chunk-CINZRZMB.js +1 -0
- package/chunk-DBRLQ7BX.js +397 -0
- package/{chunk-QUR72LET.js → chunk-DJ5UHXOJ.js} +1 -1
- package/chunk-DUOJKP2G.js +300 -0
- package/chunk-E4ZVZRLO.js +210 -0
- package/chunk-EBOJJWD5.js +1 -0
- package/{chunk-D5U6AOFB.js → chunk-EMVZ65TI.js} +1 -1
- package/chunk-ENPYMVZG.js +1 -0
- package/chunk-EOLHIQHQ.js +1 -0
- package/chunk-ERX7ND7E.js +1 -0
- package/chunk-FKTEL4CU.js +524 -0
- package/chunk-FOUHOMEE.js +301 -0
- package/chunk-H4HFCRFZ.js +1660 -0
- package/chunk-HBVENULS.js +1 -0
- package/chunk-J53TOHZH.js +1 -0
- package/chunk-JC7YOUAM.js +1 -0
- package/chunk-JR4EQTPJ.js +59 -0
- package/chunk-JSAAKZBO.js +1 -0
- package/chunk-KZ2KGWUY.js +1 -0
- package/chunk-LON3T466.js +1 -0
- package/chunk-LYEN4UBW.js +1 -0
- package/chunk-MG3SLH6O.js +1 -0
- package/chunk-NQ3CKBYP.js +1 -0
- package/{chunk-YUFMXLRG.js → chunk-NS7JH3QF.js} +1 -1
- package/{chunk-2XZW23PQ.js → chunk-O65HPMSJ.js} +1 -1
- package/chunk-OCLABZZW.js +1 -0
- package/chunk-OH2CJBFF.js +1 -0
- package/chunk-OSV7AMB2.js +1 -0
- package/{chunk-2LKTSMUI.js → chunk-OWI3BWEZ.js} +7 -7
- package/chunk-OYYYX3IP.js +1 -0
- package/{chunk-MQJQRREL.js → chunk-PNQSQQIT.js} +1 -1
- package/chunk-Q5PJ63MA.js +1 -0
- package/{chunk-7RH6F4PN.js → chunk-R2KG54OT.js} +3 -1
- package/chunk-REHXXPZY.js +1 -0
- package/{chunk-ONU5ICNZ.js → chunk-RIALPB2D.js} +1 -1
- package/chunk-RJYO2KKV.js +1 -0
- package/chunk-ROKYJX6Q.js +193 -0
- package/chunk-RUGQ4OJG.js +1 -0
- package/chunk-RUP2SWYB.js +231 -0
- package/chunk-RUVT4SCE.js +1 -0
- package/{chunk-UZFJYFH2.js → chunk-SS3CMCAX.js} +4 -2
- package/chunk-TMY4NWZ6.js +1 -0
- package/chunk-TOJAZ32N.js +1 -0
- package/chunk-TUL6Y2HH.js +1 -0
- package/{chunk-33RD6RQS.js → chunk-UGKSIDKE.js} +1 -1
- package/chunk-UTL7D6E7.js +821 -0
- package/{chunk-4Z6KFX2O.js → chunk-V7Y6Z4AQ.js} +2 -2
- package/chunk-VY4Z33EE.js +7 -0
- package/chunk-VYKJK5YU.js +7 -0
- package/{chunk-M4ZOPGSP.js → chunk-WG7APCJU.js} +1 -1
- package/{chunk-EE4WG35V.js → chunk-X2NM4CIV.js} +6 -2
- package/chunk-XWVLTTMV.js +1 -0
- package/chunk-Y6MJGNH2.js +1 -0
- package/chunk-YKYI4A3V.js +1 -0
- package/chunk-ZL4DDXH7.js +348 -0
- package/{chunk-6TJIZZK6.js → chunk-ZU7I7MCL.js} +1 -1
- package/{chunk-U2S74ZLK.js → chunk-ZZPBK2XT.js} +1 -1
- package/index.html +6 -3
- package/main-MCP7AVEU.js +1 -0
- package/package.json +1 -1
- package/styles-IAH7RNKW.css +1 -0
- package/chunk-2QCAOSMO.js +0 -256
- package/chunk-3ROVFYLI.js +0 -189
- package/chunk-3UAQZJAG.js +0 -180
- package/chunk-7KARVIIN.js +0 -1
- package/chunk-A3I2VQNX.js +0 -141
- package/chunk-A3MXO6MA.js +0 -1
- package/chunk-B5ZO2I4D.js +0 -2
- package/chunk-BP2JJ6HZ.js +0 -160
- package/chunk-BWO4PVAG.js +0 -301
- package/chunk-C4WUUVLC.js +0 -1
- package/chunk-CH2GYE5J.js +0 -1
- package/chunk-DF2QDC4T.js +0 -1
- package/chunk-DKWZOSVY.js +0 -59
- package/chunk-EEJWF26F.js +0 -1
- package/chunk-F7FJPDUV.js +0 -1
- package/chunk-FDDNZH4H.js +0 -1633
- package/chunk-FYNIFRG5.js +0 -1
- package/chunk-HKMI4ZYY.js +0 -393
- package/chunk-HU6SF3HD.js +0 -1
- package/chunk-IWUDRSTJ.js +0 -235
- package/chunk-KJWN47PL.js +0 -1
- package/chunk-MVGPOIFT.js +0 -1
- package/chunk-OHEAUNEW.js +0 -1
- package/chunk-P4OJNULI.js +0 -1
- package/chunk-PCJXJ6O4.js +0 -370
- package/chunk-PFXPLNMA.js +0 -1
- package/chunk-PQTHPF23.js +0 -7
- package/chunk-PV6INEW2.js +0 -1
- package/chunk-QPA73UD5.js +0 -616
- package/chunk-RFZOXUTS.js +0 -1
- package/chunk-RIUEIX64.js +0 -1
- package/chunk-UPDO63XT.js +0 -1
- package/chunk-UQ3SWGEA.js +0 -1
- package/chunk-WZKSD7XN.js +0 -284
- package/chunk-X2CQD76I.js +0 -208
- package/chunk-YX7446ZM.js +0 -1
- package/chunk-Z53S4NM2.js +0 -736
- package/main-U76NYT5G.js +0 -1
- package/styles-OZO2XDGZ.css +0 -1
package/chunk-2QCAOSMO.js
DELETED
|
@@ -1,256 +0,0 @@
|
|
|
1
|
-
import{a as ye}from"./chunk-U2S74ZLK.js";import{b as Ce}from"./chunk-DKWZOSVY.js";import{a as be}from"./chunk-Z53S4NM2.js";import{h as X,m as F,n as A}from"./chunk-2LKTSMUI.js";import{Ca as ge,Ga as fe,Ha as G,Pa as _e,ja as de,ka as he,ya as w}from"./chunk-3ROVFYLI.js";import{c as R,d as Y,f as V,g as me,h as D,j as pe,l as ue}from"./chunk-S35HUXPS.js";import{k as q,m as ae,n as re,o as le,p as ce,t as H}from"./chunk-C4WUUVLC.js";import{$b as u,Ac as j,Bc as ie,Cb as y,Da as z,Dc as ne,Ea as J,Eb as Q,Fb as d,Nb as l,Ob as a,Rb as W,Sb as _,Ub as I,Vc as M,Wc as x,Zb as m,_b as p,ac as ee,bc as te,cc as P,dc as k,ga as U,hc as S,ic as c,kb as r,lb as K,lc as E,ma as $,mc as L,nc as T,oc as v,qc as B,rc as oe,sc as se,ua as g,va as f,wa as O,xa as C,yb as b,yc as N}from"./chunk-PQTHPF23.js";var ve=(()=>{class e extends A{pathId;ngOnInit(){this.pathId="url(#"+w()+")"}static \u0275fac=(()=>{let t;return function(o){return(t||(t=C(e)))(o||e)}})();static \u0275cmp=b({type:e,selectors:[["ExclamationTriangleIcon"]],features:[y],decls:8,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M13.4018 13.1893H0.598161C0.49329 13.189 0.390283 13.1615 0.299143 13.1097C0.208003 13.0578 0.131826 12.9832 0.0780112 12.8932C0.0268539 12.8015 0 12.6982 0 12.5931C0 12.4881 0.0268539 12.3848 0.0780112 12.293L6.47985 1.08982C6.53679 1.00399 6.61408 0.933574 6.70484 0.884867C6.7956 0.836159 6.897 0.810669 7 0.810669C7.103 0.810669 7.2044 0.836159 7.29516 0.884867C7.38592 0.933574 7.46321 1.00399 7.52015 1.08982L13.922 12.293C13.9731 12.3848 14 12.4881 14 12.5931C14 12.6982 13.9731 12.8015 13.922 12.8932C13.8682 12.9832 13.792 13.0578 13.7009 13.1097C13.6097 13.1615 13.5067 13.189 13.4018 13.1893ZM1.63046 11.989H12.3695L7 2.59425L1.63046 11.989Z","fill","currentColor"],["d","M6.99996 8.78801C6.84143 8.78594 6.68997 8.72204 6.57787 8.60993C6.46576 8.49782 6.40186 8.34637 6.39979 8.18784V5.38703C6.39979 5.22786 6.46302 5.0752 6.57557 4.96265C6.68813 4.85009 6.84078 4.78686 6.99996 4.78686C7.15914 4.78686 7.31179 4.85009 7.42435 4.96265C7.5369 5.0752 7.60013 5.22786 7.60013 5.38703V8.18784C7.59806 8.34637 7.53416 8.49782 7.42205 8.60993C7.30995 8.72204 7.15849 8.78594 6.99996 8.78801Z","fill","currentColor"],["d","M6.99996 11.1887C6.84143 11.1866 6.68997 11.1227 6.57787 11.0106C6.46576 10.8985 6.40186 10.7471 6.39979 10.5885V10.1884C6.39979 10.0292 6.46302 9.87658 6.57557 9.76403C6.68813 9.65147 6.84078 9.58824 6.99996 9.58824C7.15914 9.58824 7.31179 9.65147 7.42435 9.76403C7.5369 9.87658 7.60013 10.0292 7.60013 10.1884V10.5885C7.59806 10.7471 7.53416 10.8985 7.42205 11.0106C7.30995 11.1227 7.15849 11.1866 6.99996 11.1887Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(s,o){s&1&&(O(),m(0,"svg",0)(1,"g"),u(2,"path",1)(3,"path",2)(4,"path",3),p(),m(5,"defs")(6,"clipPath",4),u(7,"rect",5),p()()()),s&2&&(_(o.getClassNames()),l("aria-label",o.ariaLabel)("aria-hidden",o.ariaHidden)("role",o.role),r(),l("clip-path",o.pathId),r(5),a("id",o.pathId))},encapsulation:2})}return e})();var we=(()=>{class e extends A{pathId;ngOnInit(){this.pathId="url(#"+w()+")"}static \u0275fac=(()=>{let t;return function(o){return(t||(t=C(e)))(o||e)}})();static \u0275cmp=b({type:e,selectors:[["InfoCircleIcon"]],features:[y],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M3.11101 12.8203C4.26215 13.5895 5.61553 14 7 14C8.85652 14 10.637 13.2625 11.9497 11.9497C13.2625 10.637 14 8.85652 14 7C14 5.61553 13.5895 4.26215 12.8203 3.11101C12.0511 1.95987 10.9579 1.06266 9.67879 0.532846C8.3997 0.00303296 6.99224 -0.13559 5.63437 0.134506C4.2765 0.404603 3.02922 1.07129 2.05026 2.05026C1.07129 3.02922 0.404603 4.2765 0.134506 5.63437C-0.13559 6.99224 0.00303296 8.3997 0.532846 9.67879C1.06266 10.9579 1.95987 12.0511 3.11101 12.8203ZM3.75918 2.14976C4.71846 1.50879 5.84628 1.16667 7 1.16667C8.5471 1.16667 10.0308 1.78125 11.1248 2.87521C12.2188 3.96918 12.8333 5.45291 12.8333 7C12.8333 8.15373 12.4912 9.28154 11.8502 10.2408C11.2093 11.2001 10.2982 11.9478 9.23232 12.3893C8.16642 12.8308 6.99353 12.9463 5.86198 12.7212C4.73042 12.4962 3.69102 11.9406 2.87521 11.1248C2.05941 10.309 1.50384 9.26958 1.27876 8.13803C1.05367 7.00647 1.16919 5.83358 1.61071 4.76768C2.05222 3.70178 2.79989 2.79074 3.75918 2.14976ZM7.00002 4.8611C6.84594 4.85908 6.69873 4.79698 6.58977 4.68801C6.48081 4.57905 6.4187 4.43185 6.41669 4.27776V3.88888C6.41669 3.73417 6.47815 3.58579 6.58754 3.4764C6.69694 3.367 6.84531 3.30554 7.00002 3.30554C7.15473 3.30554 7.3031 3.367 7.4125 3.4764C7.52189 3.58579 7.58335 3.73417 7.58335 3.88888V4.27776C7.58134 4.43185 7.51923 4.57905 7.41027 4.68801C7.30131 4.79698 7.1541 4.85908 7.00002 4.8611ZM7.00002 10.6945C6.84594 10.6925 6.69873 10.6304 6.58977 10.5214C6.48081 10.4124 6.4187 10.2652 6.41669 10.1111V6.22225C6.41669 6.06754 6.47815 5.91917 6.58754 5.80977C6.69694 5.70037 6.84531 5.63892 7.00002 5.63892C7.15473 5.63892 7.3031 5.70037 7.4125 5.80977C7.52189 5.91917 7.58335 6.06754 7.58335 6.22225V10.1111C7.58134 10.2652 7.51923 10.4124 7.41027 10.5214C7.30131 10.6304 7.1541 10.6925 7.00002 10.6945Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(s,o){s&1&&(O(),m(0,"svg",0)(1,"g"),u(2,"path",1),p(),m(3,"defs")(4,"clipPath",2),u(5,"rect",3),p()()()),s&2&&(_(o.getClassNames()),l("aria-label",o.ariaLabel)("aria-hidden",o.ariaHidden)("role",o.role),r(),l("clip-path",o.pathId),r(3),a("id",o.pathId))},encapsulation:2})}return e})();var Ie=["container"],xe=(e,i,t,s)=>({showTransformParams:e,hideTransformParams:i,showTransitionParams:t,hideTransitionParams:s}),$e=e=>({value:"visible",params:e}),Oe=(e,i)=>({$implicit:e,closeFn:i}),ke=e=>({$implicit:e});function Se(e,i){e&1&&P(0)}function Ee(e,i){if(e&1&&d(0,Se,1,0,"ng-container",3),e&2){let t=c();a("ngTemplateOutlet",t.headlessTemplate)("ngTemplateOutletContext",ie(2,Oe,t.message,t.onCloseIconClick))}}function Me(e,i){if(e&1&&u(0,"span",4),e&2){let t=c(3);a("ngClass",t.cx("messageIcon"))}}function Ve(e,i){e&1&&u(0,"CheckIcon"),e&2&&l("aria-hidden",!0)("data-pc-section","icon")}function De(e,i){e&1&&u(0,"InfoCircleIcon"),e&2&&l("aria-hidden",!0)("data-pc-section","icon")}function Fe(e,i){e&1&&u(0,"TimesCircleIcon"),e&2&&l("aria-hidden",!0)("data-pc-section","icon")}function Ae(e,i){e&1&&u(0,"ExclamationTriangleIcon"),e&2&&l("aria-hidden",!0)("data-pc-section","icon")}function Ze(e,i){e&1&&u(0,"InfoCircleIcon"),e&2&&l("aria-hidden",!0)("data-pc-section","icon")}function ze(e,i){if(e&1&&(m(0,"span",4),d(1,Ve,1,2,"CheckIcon")(2,De,1,2,"InfoCircleIcon")(3,Fe,1,2,"TimesCircleIcon")(4,Ae,1,2,"ExclamationTriangleIcon")(5,Ze,1,2,"InfoCircleIcon"),p()),e&2){let t,s=c(3);a("ngClass",s.cx("messageIcon")),l("aria-hidden",!0)("data-pc-section","icon"),r(),I((t=s.message.severity)==="success"?1:t==="info"?2:t==="error"?3:t==="warn"?4:5)}}function Qe(e,i){if(e&1&&(ee(0),d(1,Me,1,1,"span",6)(2,ze,6,4,"span",6),m(3,"div",4)(4,"div",4),B(5),p(),m(6,"div",4),B(7),p()(),te()),e&2){let t=c(2);r(),a("ngIf",t.message.icon),r(),a("ngIf",!t.message.icon),r(),a("ngClass",t.cx("messageText")),l("data-pc-section","text"),r(),a("ngClass",t.cx("summary")),l("data-pc-section","summary"),r(),se(" ",t.message.summary," "),r(),a("ngClass",t.cx("detail")),l("data-pc-section","detail"),r(),oe(t.message.detail)}}function Pe(e,i){e&1&&P(0)}function Le(e,i){if(e&1&&u(0,"span",4),e&2){let t=c(4);a("ngClass",t.cx("closeIcon"))}}function Be(e,i){if(e&1&&d(0,Le,1,1,"span",6),e&2){let t=c(3);a("ngIf",t.message.closeIcon)}}function Ne(e,i){if(e&1&&u(0,"TimesIcon",4),e&2){let t=c(3);a("ngClass",t.cx("closeIcon")),l("aria-hidden",!0)("data-pc-section","closeicon")}}function je(e,i){if(e&1){let t=k();m(0,"div")(1,"button",7),S("click",function(o){g(t);let n=c(2);return f(n.onCloseIconClick(o))})("keydown.enter",function(o){g(t);let n=c(2);return f(n.onCloseIconClick(o))}),d(2,Be,1,1,"span",4)(3,Ne,1,3,"TimesIcon",4),p()()}if(e&2){let t=c(2);r(),a("ariaLabel",t.closeAriaLabel),l("class",t.cx("closeButton"))("data-pc-section","closebutton"),r(),I(t.message.closeIcon?2:3)}}function qe(e,i){if(e&1&&(m(0,"div",4),d(1,Qe,8,10,"ng-container",5)(2,Pe,1,0,"ng-container",3)(3,je,4,4,"div"),p()),e&2){let t=c();_(t.message==null?null:t.message.contentStyleClass),a("ngClass",t.cx("messageContent")),l("data-pc-section","content"),r(),a("ngIf",!t.template),r(),a("ngTemplateOutlet",t.template)("ngTemplateOutletContext",j(8,ke,t.message)),r(),I((t.message==null?null:t.message.closable)!==!1?3:-1)}}var He=["message"],Re=["headless"];function Ye(e,i){if(e&1){let t=k();m(0,"p-toastItem",3),S("onClose",function(o){g(t);let n=c();return f(n.onMessageClose(o))})("@toastAnimation.start",function(o){g(t);let n=c();return f(n.onAnimationStart(o))})("@toastAnimation.done",function(o){g(t);let n=c();return f(n.onAnimationEnd(o))}),p()}if(e&2){let t=i.$implicit,s=i.index,o=c();a("message",t)("index",s)("life",o.life)("template",o.template||o._template)("headlessTemplate",o.headlessTemplate||o._headlessTemplate)("@toastAnimation",void 0)("showTransformOptions",o.showTransformOptions)("hideTransformOptions",o.hideTransformOptions)("showTransitionOptions",o.showTransitionOptions)("hideTransitionOptions",o.hideTransitionOptions)}}var Ge=({dt:e})=>`
|
|
2
|
-
.p-toast {
|
|
3
|
-
width: ${e("toast.width")};
|
|
4
|
-
white-space: pre-line;
|
|
5
|
-
word-break: break-word;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.p-toast-message {
|
|
9
|
-
margin: 0 0 1rem 0;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.p-toast-message-icon {
|
|
13
|
-
flex-shrink: 0;
|
|
14
|
-
font-size: ${e("toast.icon.size")};
|
|
15
|
-
width: ${e("toast.icon.size")};
|
|
16
|
-
height: ${e("toast.icon.size")};
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.p-toast-message-content {
|
|
20
|
-
display: flex;
|
|
21
|
-
align-items: flex-start;
|
|
22
|
-
padding: ${e("toast.content.padding")};
|
|
23
|
-
gap: ${e("toast.content.gap")};
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.p-toast-message-text {
|
|
27
|
-
flex: 1 1 auto;
|
|
28
|
-
display: flex;
|
|
29
|
-
flex-direction: column;
|
|
30
|
-
gap: ${e("toast.text.gap")};
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.p-toast-summary {
|
|
34
|
-
font-weight: ${e("toast.summary.font.weight")};
|
|
35
|
-
font-size: ${e("toast.summary.font.size")};
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.p-toast-detail {
|
|
39
|
-
font-weight: ${e("toast.detail.font.weight")};
|
|
40
|
-
font-size: ${e("toast.detail.font.size")};
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.p-toast-close-button {
|
|
44
|
-
display: flex;
|
|
45
|
-
align-items: center;
|
|
46
|
-
justify-content: center;
|
|
47
|
-
overflow: hidden;
|
|
48
|
-
position: relative;
|
|
49
|
-
cursor: pointer;
|
|
50
|
-
background: transparent;
|
|
51
|
-
transition: background ${e("toast.transition.duration")}, color ${e("toast.transition.duration")}, outline-color ${e("toast.transition.duration")}, box-shadow ${e("toast.transition.duration")};
|
|
52
|
-
outline-color: transparent;
|
|
53
|
-
color: inherit;
|
|
54
|
-
width: ${e("toast.close.button.width")};
|
|
55
|
-
height: ${e("toast.close.button.height")};
|
|
56
|
-
border-radius: ${e("toast.close.button.border.radius")};
|
|
57
|
-
margin: -25% 0 0 0;
|
|
58
|
-
right: -25%;
|
|
59
|
-
padding: 0;
|
|
60
|
-
border: none;
|
|
61
|
-
user-select: none;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.p-toast-close-button:dir(rtl) {
|
|
65
|
-
margin: -25% 0 0 auto;
|
|
66
|
-
left: -25%;
|
|
67
|
-
right: auto;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.p-toast-message-info,
|
|
71
|
-
.p-toast-message-success,
|
|
72
|
-
.p-toast-message-warn,
|
|
73
|
-
.p-toast-message-error,
|
|
74
|
-
.p-toast-message-secondary,
|
|
75
|
-
.p-toast-message-contrast {
|
|
76
|
-
border-width: ${e("toast.border.width")};
|
|
77
|
-
border-style: solid;
|
|
78
|
-
backdrop-filter: blur(${e("toast.blur")});
|
|
79
|
-
border-radius: ${e("toast.border.radius")};
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.p-toast-close-icon {
|
|
83
|
-
font-size: ${e("toast.close.icon.size")};
|
|
84
|
-
width: ${e("toast.close.icon.size")};
|
|
85
|
-
height: ${e("toast.close.icon.size")};
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.p-toast-close-button:focus-visible {
|
|
89
|
-
outline-width: ${e("focus.ring.width")};
|
|
90
|
-
outline-style: ${e("focus.ring.style")};
|
|
91
|
-
outline-offset: ${e("focus.ring.offset")};
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.p-toast-message-info {
|
|
95
|
-
background: ${e("toast.info.background")};
|
|
96
|
-
border-color: ${e("toast.info.border.color")};
|
|
97
|
-
color: ${e("toast.info.color")};
|
|
98
|
-
box-shadow: ${e("toast.info.shadow")};
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.p-toast-message-info .p-toast-detail {
|
|
102
|
-
color: ${e("toast.info.detail.color")};
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.p-toast-message-info .p-toast-close-button:focus-visible {
|
|
106
|
-
outline-color: ${e("toast.info.close.button.focus.ring.color")};
|
|
107
|
-
box-shadow: ${e("toast.info.close.button.focus.ring.shadow")};
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.p-toast-message-info .p-toast-close-button:hover {
|
|
111
|
-
background: ${e("toast.info.close.button.hover.background")};
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.p-toast-message-success {
|
|
115
|
-
background: ${e("toast.success.background")};
|
|
116
|
-
border-color: ${e("toast.success.border.color")};
|
|
117
|
-
color: ${e("toast.success.color")};
|
|
118
|
-
box-shadow: ${e("toast.success.shadow")};
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.p-toast-message-success .p-toast-detail {
|
|
122
|
-
color: ${e("toast.success.detail.color")};
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.p-toast-message-success .p-toast-close-button:focus-visible {
|
|
126
|
-
outline-color: ${e("toast.success.close.button.focus.ring.color")};
|
|
127
|
-
box-shadow: ${e("toast.success.close.button.focus.ring.shadow")};
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.p-toast-message-success .p-toast-close-button:hover {
|
|
131
|
-
background: ${e("toast.success.close.button.hover.background")};
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.p-toast-message-warn {
|
|
135
|
-
background: ${e("toast.warn.background")};
|
|
136
|
-
border-color: ${e("toast.warn.border.color")};
|
|
137
|
-
color: ${e("toast.warn.color")};
|
|
138
|
-
box-shadow: ${e("toast.warn.shadow")};
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.p-toast-message-warn .p-toast-detail {
|
|
142
|
-
color: ${e("toast.warn.detail.color")};
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.p-toast-message-warn .p-toast-close-button:focus-visible {
|
|
146
|
-
outline-color: ${e("toast.warn.close.button.focus.ring.color")};
|
|
147
|
-
box-shadow: ${e("toast.warn.close.button.focus.ring.shadow")};
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.p-toast-message-warn .p-toast-close-button:hover {
|
|
151
|
-
background: ${e("toast.warn.close.button.hover.background")};
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.p-toast-message-error {
|
|
155
|
-
background: ${e("toast.error.background")};
|
|
156
|
-
border-color: ${e("toast.error.border.color")};
|
|
157
|
-
color: ${e("toast.error.color")};
|
|
158
|
-
box-shadow: ${e("toast.error.shadow")};
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.p-toast-message-error .p-toast-detail {
|
|
162
|
-
color: ${e("toast.error.detail.color")};
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.p-toast-message-error .p-toast-close-button:focus-visible {
|
|
166
|
-
outline-color: ${e("toast.error.close.button.focus.ring.color")};
|
|
167
|
-
box-shadow: ${e("toast.error.close.button.focus.ring.shadow")};
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.p-toast-message-error .p-toast-close-button:hover {
|
|
171
|
-
background: ${e("toast.error.close.button.hover.background")};
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.p-toast-message-secondary {
|
|
175
|
-
background: ${e("toast.secondary.background")};
|
|
176
|
-
border-color: ${e("toast.secondary.border.color")};
|
|
177
|
-
color: ${e("toast.secondary.color")};
|
|
178
|
-
box-shadow: ${e("toast.secondary.shadow")};
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.p-toast-message-secondary .p-toast-detail {
|
|
182
|
-
color: ${e("toast.secondary.detail.color")};
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.p-toast-message-secondary .p-toast-close-button:focus-visible {
|
|
186
|
-
outline-color: ${e("toast.secondary.close.button.focus.ring.color")};
|
|
187
|
-
box-shadow: ${e("toast.secondary.close.button.focus.ring.shadow")};
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.p-toast-message-secondary .p-toast-close-button:hover {
|
|
191
|
-
background: ${e("toast.secondary.close.button.hover.background")};
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
.p-toast-message-contrast {
|
|
195
|
-
background: ${e("toast.contrast.background")};
|
|
196
|
-
border-color: ${e("toast.contrast.border.color")};
|
|
197
|
-
color: ${e("toast.contrast.color")};
|
|
198
|
-
box-shadow: ${e("toast.contrast.shadow")};
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
.p-toast-message-contrast .p-toast-detail {
|
|
202
|
-
color: ${e("toast.contrast.detail.color")};
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
.p-toast-message-contrast .p-toast-close-button:focus-visible {
|
|
206
|
-
outline-color: ${e("toast.contrast.close.button.focus.ring.color")};
|
|
207
|
-
box-shadow: ${e("toast.contrast.close.button.focus.ring.shadow")};
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
.p-toast-message-contrast .p-toast-close-button:hover {
|
|
211
|
-
background: ${e("toast.contrast.close.button.hover.background")};
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
.p-toast-top-center {
|
|
215
|
-
transform: translateX(-50%);
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
.p-toast-bottom-center {
|
|
219
|
-
transform: translateX(-50%);
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
.p-toast-center {
|
|
223
|
-
min-width: 20vw;
|
|
224
|
-
transform: translate(-50%, -50%);
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
.p-toast-message-enter-from {
|
|
228
|
-
opacity: 0;
|
|
229
|
-
transform: translateY(50%);
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
.p-toast-message-leave-from {
|
|
233
|
-
max-height: 1000px;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
.p-toast .p-toast-message.p-toast-message-leave-to {
|
|
237
|
-
max-height: 0;
|
|
238
|
-
opacity: 0;
|
|
239
|
-
margin-bottom: 0;
|
|
240
|
-
overflow: hidden;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
.p-toast-message-enter-active {
|
|
244
|
-
transition: transform 0.3s, opacity 0.3s;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
.p-toast-message-leave-active {
|
|
248
|
-
transition: max-height 0.45s cubic-bezier(0, 1, 0, 1), opacity 0.3s, margin-bottom 0.3s;
|
|
249
|
-
}
|
|
250
|
-
`,Xe={root:({instance:e})=>{let{_position:i}=e;return{position:"fixed",top:i==="top-right"||i==="top-left"||i==="top-center"?"20px":i==="center"?"50%":null,right:(i==="top-right"||i==="bottom-right")&&"20px",bottom:(i==="bottom-left"||i==="bottom-right"||i==="bottom-center")&&"20px",left:i==="top-left"||i==="bottom-left"?"20px":i==="center"||i==="top-center"||i==="bottom-center"?"50%":null}}},Ue={root:({instance:e})=>({"p-toast p-component":!0,[`p-toast-${e._position}`]:!!e._position}),message:({instance:e})=>({"p-toast-message":!0,"p-toast-message-info":e.message.severity==="info"||e.message.severity===void 0,"p-toast-message-warn":e.message.severity==="warn","p-toast-message-error":e.message.severity==="error","p-toast-message-success":e.message.severity==="success","p-toast-message-secondary":e.message.severity==="secondary","p-toast-message-contrast":e.message.severity==="contrast"}),messageContent:"p-toast-message-content",messageIcon:({instance:e})=>({"p-toast-message-icon":!0,[`pi ${e.message.icon}`]:!!e.message.icon}),messageText:"p-toast-message-text",summary:"p-toast-summary",detail:"p-toast-detail",closeButton:"p-toast-close-button",closeIcon:({instance:e})=>({"p-toast-close-icon":!0,[`pi ${e.message.closeIcon}`]:!!e.message.closeIcon})},Z=(()=>{class e extends _e{name="toast";theme=Ge;classes=Ue;inlineStyles=Xe;static \u0275fac=(()=>{let t;return function(o){return(t||(t=C(e)))(o||e)}})();static \u0275prov=U({token:e,factory:e.\u0275fac})}return e})();var Je=(()=>{class e extends X{zone;message;index;life;template;headlessTemplate;showTransformOptions;hideTransformOptions;showTransitionOptions;hideTransitionOptions;onClose=new z;containerViewChild;_componentStyle=$(Z);timeout;constructor(t){super(),this.zone=t}ngAfterViewInit(){super.ngAfterViewInit(),this.initTimeout()}initTimeout(){this.message?.sticky||this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>{this.onClose.emit({index:this.index,message:this.message})},this.message?.life||this.life||3e3)})}clearTimeout(){this.timeout&&(clearTimeout(this.timeout),this.timeout=null)}onMouseEnter(){this.clearTimeout()}onMouseLeave(){this.initTimeout()}onCloseIconClick=t=>{this.clearTimeout(),this.onClose.emit({index:this.index,message:this.message}),t.preventDefault()};get closeAriaLabel(){return this.config.translation.aria?this.config.translation.aria.close:void 0}ngOnDestroy(){this.clearTimeout(),super.ngOnDestroy()}static \u0275fac=function(s){return new(s||e)(K(J))};static \u0275cmp=b({type:e,selectors:[["p-toastItem"]],viewQuery:function(s,o){if(s&1&&L(Ie,5),s&2){let n;T(n=v())&&(o.containerViewChild=n.first)}},inputs:{message:"message",index:[2,"index","index",x],life:[2,"life","life",x],template:"template",headlessTemplate:"headlessTemplate",showTransformOptions:"showTransformOptions",hideTransformOptions:"hideTransformOptions",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions"},outputs:{onClose:"onClose"},features:[N([Z]),Q,y],decls:4,vars:15,consts:[["container",""],["role","alert","aria-live","assertive","aria-atomic","true",3,"mouseenter","mouseleave","ngClass"],[3,"ngClass","class"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngClass"],[4,"ngIf"],[3,"ngClass",4,"ngIf"],["type","button","autofocus","",3,"click","keydown.enter","ariaLabel"]],template:function(s,o){if(s&1){let n=k();m(0,"div",1,0),S("mouseenter",function(){return g(n),f(o.onMouseEnter())})("mouseleave",function(){return g(n),f(o.onMouseLeave())}),d(2,Ee,1,5,"ng-container")(3,qe,4,10,"div",2),p()}s&2&&(_(o.message==null?null:o.message.styleClass),a("ngClass",o.cx("message"))("@messageState",j(13,$e,ne(8,xe,o.showTransformOptions,o.hideTransformOptions,o.showTransitionOptions,o.hideTransitionOptions))),l("id",o.message==null?null:o.message.id)("data-pc-name","toast")("data-pc-section","root"),r(2),I(o.headlessTemplate?2:3))},dependencies:[H,q,re,ce,Ce,ve,we,be,ye,G],encapsulation:2,data:{animation:[R("messageState",[me("visible",V({transform:"translateY(0)",opacity:1})),D("void => *",[V({transform:"{{showTransformParams}}",opacity:0}),Y("{{showTransitionParams}}")]),D("* => void",[Y("{{hideTransitionParams}}",V({height:0,opacity:0,transform:"{{hideTransformParams}}"}))])])]},changeDetection:0})}return e})(),$t=(()=>{class e extends X{key;autoZIndex=!0;baseZIndex=0;life=3e3;style;styleClass;get position(){return this._position}set position(t){this._position=t,this.cd.markForCheck()}preventOpenDuplicates=!1;preventDuplicates=!1;showTransformOptions="translateY(100%)";hideTransformOptions="translateY(-100%)";showTransitionOptions="300ms ease-out";hideTransitionOptions="250ms ease-in";breakpoints;onClose=new z;template;headlessTemplate;containerViewChild;messageSubscription;clearSubscription;messages;messagesArchieve;_position="top-right";messageService=$(ge);_componentStyle=$(Z);styleElement;id=w("pn_id_");templates;ngOnInit(){super.ngOnInit(),this.messageSubscription=this.messageService.messageObserver.subscribe(t=>{if(t)if(Array.isArray(t)){let s=t.filter(o=>this.canAdd(o));this.add(s)}else this.canAdd(t)&&this.add([t])}),this.clearSubscription=this.messageService.clearObserver.subscribe(t=>{t?this.key===t&&(this.messages=null):this.messages=null,this.cd.markForCheck()})}_template;_headlessTemplate;ngAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"message":this._template=t.template;break;case"headless":this._headlessTemplate=t.template;break;default:this._template=t.template;break}})}ngAfterViewInit(){super.ngAfterViewInit(),this.breakpoints&&this.createStyle()}add(t){this.messages=this.messages?[...this.messages,...t]:[...t],this.preventDuplicates&&(this.messagesArchieve=this.messagesArchieve?[...this.messagesArchieve,...t]:[...t]),this.cd.markForCheck()}canAdd(t){let s=this.key===t.key;return s&&this.preventOpenDuplicates&&(s=!this.containsMessage(this.messages,t)),s&&this.preventDuplicates&&(s=!this.containsMessage(this.messagesArchieve,t)),s}containsMessage(t,s){return t?t.find(o=>o.summary===s.summary&&o.detail==s.detail&&o.severity===s.severity)!=null:!1}onMessageClose(t){this.messages?.splice(t.index,1),this.onClose.emit({message:t.message}),this.cd.detectChanges()}onAnimationStart(t){t.fromState==="void"&&(this.renderer.setAttribute(this.containerViewChild?.nativeElement,this.id,""),this.autoZIndex&&this.containerViewChild?.nativeElement.style.zIndex===""&&F.set("modal",this.containerViewChild?.nativeElement,this.baseZIndex||this.config.zIndex.modal))}onAnimationEnd(t){t.toState==="void"&&this.autoZIndex&&he(this.messages)&&F.clear(this.containerViewChild?.nativeElement)}createStyle(){if(!this.styleElement){this.styleElement=this.renderer.createElement("style"),this.styleElement.type="text/css",this.renderer.appendChild(this.document.head,this.styleElement);let t="";for(let s in this.breakpoints){let o="";for(let n in this.breakpoints[s])o+=n+":"+this.breakpoints[s][n]+" !important;";t+=`
|
|
251
|
-
@media screen and (max-width: ${s}) {
|
|
252
|
-
.p-toast[${this.id}] {
|
|
253
|
-
${o}
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
`}this.renderer.setProperty(this.styleElement,"innerHTML",t),de(this.styleElement,"nonce",this.config?.csp()?.nonce)}}destroyStyle(){this.styleElement&&(this.renderer.removeChild(this.document.head,this.styleElement),this.styleElement=null)}ngOnDestroy(){this.messageSubscription&&this.messageSubscription.unsubscribe(),this.containerViewChild&&this.autoZIndex&&F.clear(this.containerViewChild.nativeElement),this.clearSubscription&&this.clearSubscription.unsubscribe(),this.destroyStyle(),super.ngOnDestroy()}static \u0275fac=(()=>{let t;return function(o){return(t||(t=C(e)))(o||e)}})();static \u0275cmp=b({type:e,selectors:[["p-toast"]],contentQueries:function(s,o,n){if(s&1&&(E(n,He,5),E(n,Re,5),E(n,fe,4)),s&2){let h;T(h=v())&&(o.template=h.first),T(h=v())&&(o.headlessTemplate=h.first),T(h=v())&&(o.templates=h)}},viewQuery:function(s,o){if(s&1&&L(Ie,5),s&2){let n;T(n=v())&&(o.containerViewChild=n.first)}},inputs:{key:"key",autoZIndex:[2,"autoZIndex","autoZIndex",M],baseZIndex:[2,"baseZIndex","baseZIndex",x],life:[2,"life","life",x],style:"style",styleClass:"styleClass",position:"position",preventOpenDuplicates:[2,"preventOpenDuplicates","preventOpenDuplicates",M],preventDuplicates:[2,"preventDuplicates","preventDuplicates",M],showTransformOptions:"showTransformOptions",hideTransformOptions:"hideTransformOptions",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",breakpoints:"breakpoints"},outputs:{onClose:"onClose"},features:[N([Z]),Q,y],decls:3,vars:7,consts:[["container",""],[3,"ngClass","ngStyle"],[3,"message","index","life","template","headlessTemplate","showTransformOptions","hideTransformOptions","showTransitionOptions","hideTransitionOptions","onClose",4,"ngFor","ngForOf"],[3,"onClose","message","index","life","template","headlessTemplate","showTransformOptions","hideTransformOptions","showTransitionOptions","hideTransitionOptions"]],template:function(s,o){s&1&&(m(0,"div",1,0),d(2,Ye,1,10,"p-toastItem",2),p()),s&2&&(W(o.style),_(o.styleClass),a("ngClass",o.cx("root"))("ngStyle",o.sx("root")),r(2),a("ngForOf",o.messages))},dependencies:[H,q,ae,le,Je,G],encapsulation:2,data:{animation:[R("toastAnimation",[D(":enter, :leave",[ue("@*",pe())])])]},changeDetection:0})}return e})();export{$t as a};
|