plain-toast 1.0.2 → 1.0.3

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/README.md CHANGED
@@ -5,7 +5,6 @@
5
5
  # plain-toast
6
6
 
7
7
  [![npm version](https://img.shields.io/npm/v/plain-toast.svg)](https://www.npmjs.com/package/plain-toast)
8
- [![Bundle Size](https://img.shields.io/bundlephobia/minzip/plain-toast)](https://bundlephobia.com/package/plain-toast)
9
8
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
10
9
 
11
10
  > Lightweight, accessible toast notifications with zero dependencies
@@ -292,7 +292,7 @@ var{defineProperty:x,getOwnPropertyNames:pr,getOwnPropertyDescriptor:ir}=Object,
292
292
  animation: none;
293
293
  }
294
294
  }
295
- `;var z;var O=d(()=>{z=A});var Z=`/* Dark theme colors - WCAG AA compliant (4.5:1 contrast ratio for text) */
295
+ `;var z;var Z=d(()=>{z=A});var G=`/* Dark theme colors - WCAG AA compliant (4.5:1 contrast ratio for text) */
296
296
  :root {
297
297
  --pt-background: var(--pt-slate-800);
298
298
  --pt-text: var(--pt-slate-300);
@@ -321,7 +321,7 @@ var{defineProperty:x,getOwnPropertyNames:pr,getOwnPropertyDescriptor:ir}=Object,
321
321
  --pt-progress-icon: var(--pt-blue-300);
322
322
  --pt-progress-border: var(--pt-blue-600);
323
323
  }
324
- `;var G;var F=d(()=>{G=Z});var N=`/* Light theme colors - WCAG AA compliant (4.5:1 contrast ratio for text) */
324
+ `;var F;var N=d(()=>{F=G});var U=`/* Light theme colors - WCAG AA compliant (4.5:1 contrast ratio for text) */
325
325
  :root {
326
326
  --pt-background: var(--pt-white);
327
327
  --pt-text: var(--pt-slate-600);
@@ -351,6 +351,6 @@ var{defineProperty:x,getOwnPropertyNames:pr,getOwnPropertyDescriptor:ir}=Object,
351
351
  --pt-progress-icon: var(--pt-blue-600);
352
352
  --pt-progress-border: var(--pt-blue-600);
353
353
  }
354
- `;var U;var J=d(()=>{U=N});var g;var R=d(()=>{V();O();F();J();g={base:z,light:U,dark:G,auto:H}});function C(r,t){Object.keys(t).forEach((n)=>{if(t[n]&&typeof t[n]==="object"&&!(t[n]instanceof Array)){if(!r[n])r[n]={};C(r[n],t[n])}else r[n]=t[n]})}function u(...r){let t=document.createElement("style");t.innerHTML=r.join(""),document.head.appendChild(t)}var K='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2102_1592)"><path d="M12 7.5C12 5.84315 10.6569 4.5 9 4.5C7.34315 4.5 6 5.84315 6 7.5V12C6 13.6569 7.34315 15 9 15C10.6569 15 12 13.6569 12 12V7.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M14.25 5.25L12 6.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M3.75 5.25L6 6.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M14.25 14.25L12 12.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M3.75 14.25L6 12.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M15 9.75H12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M3 9.75H6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M7.5 3L8.25 4.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M10.5 3L9.75 4.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g><defs><clipPath id="clip0_2102_1592"><rect width="18" height="18" fill="white"/></clipPath></defs></svg>';var Q='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2102_1582)"><g clip-path="url(#clip1_2102_1582)"><path d="M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M11.25 6.75L6.75 11.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M6.75 6.75L11.25 11.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g></g><defs><clipPath id="clip0_2102_1582"><rect width="18" height="18" fill="white"/></clipPath><clipPath id="clip1_2102_1582"><rect width="18" height="18" fill="white"/></clipPath></defs></svg>';var X="<div></div>";var Y='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2102_1564)"><g clip-path="url(#clip1_2102_1564)"><path d="M16.5 8.30999V8.99999C16.4991 10.6173 15.9754 12.191 15.007 13.4864C14.0386 14.7817 12.6775 15.7293 11.1265 16.1879C9.57557 16.6465 7.91794 16.5914 6.40085 16.0309C4.88376 15.4704 3.58849 14.4346 2.70822 13.0778C1.82795 11.721 1.40984 10.116 1.51626 8.50223C1.62267 6.88841 2.24791 5.35223 3.29871 4.12279C4.34951 2.89335 5.76959 2.03653 7.34714 1.6801C8.92469 1.32367 10.5752 1.48674 12.0525 2.14499" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.5 3L9 10.5075L6.75 8.2575" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g></g><defs><clipPath id="clip0_2102_1564"><rect width="18" height="18" fill="white"/></clipPath><clipPath id="clip1_2102_1564"><rect width="18" height="18" fill="white"/></clipPath></defs></svg>';function $(r){let t;switch(r){case"success":t=p.icons.success;break;case"debug":t=p.icons.debug;break;case"error":t=p.icons.error;break;case"warning":t=p.icons.warning;break;case"spinner":t=p.icons.spinner;break;case"info":t=p.icons.info;break;case"progress":t=p.icons.progress;break}return t}var q=d(()=>{f()});var I='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2102_1587)"><path d="M16.2976 13.5L10.2976 3C10.1667 2.76915 9.97702 2.57714 9.74776 2.44355C9.5185 2.30996 9.25791 2.23958 8.99257 2.23958C8.72723 2.23958 8.46664 2.30996 8.23738 2.44355C8.00812 2.57714 7.8184 2.76915 7.68757 3L1.68757 13.5C1.55533 13.729 1.48599 13.9889 1.48658 14.2534C1.48716 14.5178 1.55765 14.7774 1.6909 15.0059C1.82416 15.2343 2.01543 15.4234 2.24534 15.5541C2.47525 15.6848 2.73562 15.7524 3.00007 15.75H15.0001C15.2632 15.7497 15.5217 15.6802 15.7495 15.5485C15.9773 15.4167 16.1665 15.2273 16.298 14.9993C16.4294 14.7714 16.4986 14.5128 16.4985 14.2496C16.4985 13.9864 16.4292 13.7279 16.2976 13.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 6.75V9.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 12.75H9.0075" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g><defs><clipPath id="clip0_2102_1587"><rect width="18" height="18" fill="white"/></clipPath></defs></svg>';var W='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2102_1792)"><path d="M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 12V9" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 6H9.0075" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g><defs><clipPath id="clip0_2102_1792"><rect width="18" height="18" fill="white"/></clipPath></defs></svg>';var B="<div></div>";var D={};y(D,{icons:()=>_});var _;var j=d(()=>{q();_={get:$,svg:{success:Y,warning:I,error:Q,debug:K,spinner:X,info:W,progress:B}}});function sr(){let{icons:r}=(j(),P(D));return{success:r.svg.success,warning:r.svg.warning,error:r.svg.error,debug:r.svg.debug,spinner:r.svg.spinner,info:r.svg.info,progress:r.svg.progress}}function M(r){if(C(p,r),!p.injectCss)return;switch(p.theme){case"none":break;case"light":u(g.light,g.base);break;case"dark":u(g.dark,g.base);break;case"auto":u(g.auto,g.base);break}}var p;var f=d(()=>{R();p={target:void 0,position:"bottom-right",injectCss:!0,theme:"auto",get icons(){if(!this._icons)this._icons=sr();return this._icons},set icons(r){this._icons=r},_icons:void 0,announceToScreenReader:!0,ariaLive:"polite"}});f();var lr={};y(lr,{default:()=>dr,configure:()=>M,config:()=>p,Toast:()=>k});module.exports=P(lr);function v(r,t){let n,{toast:e,progressBar:i}=r;if(t>0)i.style.animationName="vt-progress-bar",i.style.animationDuration=`${t}ms`,i.style.animationTimingFunction="linear",i.style.animationFillMode="forwards",e.addEventListener("mouseover",()=>{i.style.animationPlayState="paused",clearTimeout(n)}),e.addEventListener("mouseout",()=>{i.style.animationPlayState="running",n=setTimeout(()=>{e.style.opacity="0",setTimeout(()=>{if(e.parentNode)e.parentNode.removeChild(e)},250)},t)});n=setTimeout(()=>{e.style.opacity="0",setTimeout(()=>{if(e.parentNode)e.parentNode.removeChild(e)},250)},t)}function E(r){let{toast:t}=r;t.style.cursor="pointer",t.setAttribute("tabindex","0"),t.setAttribute("aria-label","Toast. Press Enter or Space to close."),t.addEventListener("click",()=>{v(r,0)}),t.addEventListener("keydown",(n)=>{if(n.key==="Enter"||n.key===" ")n.preventDefault(),v(r,0)})}j();function rr(r,t,n,e,i){let a=document.createElement("div");a.setAttribute("data-pt-toast",i),a.setAttribute(`data-pt-${t}`,""),a.setAttribute("role","status"),a.setAttribute("aria-atomic","true");let c=document.createElement("div");c.setAttribute("data-pt-heading-wrapper","");let h=document.createElement("div");h.setAttribute("data-pt-icon",""),h.setAttribute(`data-pt-${t}`,""),h.innerHTML=_.get(t);let s=document.createElement("div");s.setAttribute("data-pt-heading","true"),s.textContent=n,c.appendChild(h),c.appendChild(s);let w=document.createElement("div");if(w.setAttribute("data-pt-body",""),w.textContent=e,!e)w.style.display="none";let m=document.createElement("div");return m.setAttribute("data-pt-progress-bar",""),a.appendChild(c),a.appendChild(w),a.appendChild(m),r.appendChild(a),{toast:a,container:r,headingWrapper:c,iconElement:h,headingElement:s,bodyElement:w,progressBar:m}}var b={heading:"",body:"",duration:3500,clickToClose:!0};function tr(r){let t={...b,...r},n=t.heading,e=t.body,i=t.duration,a=t.clickToClose;return{heading:n,body:e,duration:i,clickToClose:a}}f();function nr(r="bottom-right"){let t=document.createElement("div");if(t.setAttribute("data-pt-container",""),t.setAttribute("data-pt-position",r),t.setAttribute("role","region"),t.setAttribute("aria-label","Toasts"),p.ariaLive)t.setAttribute("aria-live",p.ariaLive);return document.body.appendChild(t),t}function S(){if(p.target){if(typeof p.target==="string"){let t=document.querySelector(p.target);if(t)return t}else if(p.target instanceof HTMLElement)return p.target}let r=document.querySelector("[data-pt-container]");if(r)return r;return nr(p.position)}function l(r,t){let{heading:n,body:e,duration:i,clickToClose:a}=tr(t);if(r==="spinner")i=null,a=!1;let c=S(),h=Math.random().toString(36).substring(2,11),s=rr(c,r,n,e,h);if(i)v(s,i);if(a)E(s);return s}var er={success:(r)=>l("success",r),error:(r)=>l("error",r),warning:(r)=>l("warning",r),debug:(r)=>l("debug",r),info:(r)=>l("info",r),spinner:(r)=>l("spinner",r),progress:(r)=>l("progress",r)};function or(r,t){let{heading:n,body:e}=t;if(n!==void 0)r.headingElement.textContent=n;if(e!==void 0)if(e)r.bodyElement.textContent=e,r.bodyElement.style.display="block";else r.bodyElement.textContent="",r.bodyElement.style.display="none"}class k{elements=null;progressOptions;type;heading;body;duration;clickToClose;constructor({type:r,heading:t,body:n="",duration:e=b.duration,clickToClose:i=b.clickToClose,progress:a}){if(this.type=r,this.heading=t,this.body=n,this.duration=e,this.clickToClose=i,r==="progress"){if(this.progressOptions={total:a?.total||100,current:a?.current||0,showPercentage:a?.showPercentage!==!1},e===b.duration)this.duration=null}if(this.elements=er[this.type]({heading:this.heading,body:this.body,duration:this.duration,clickToClose:this.clickToClose}),r==="progress"&&this.progressOptions)this.setProgress(this.progressOptions.current)}update(r){if(!this.elements)return;or(this.elements,r)}setProgress(r){if(!this.elements||this.type!=="progress"||!this.progressOptions)return;let{progressBar:t,bodyElement:n,toast:e}=this.elements,i=Math.min(100,Math.max(0,r/this.progressOptions.total*100));if(t.style.width=`${i}%`,t.style.transition="width 0.3s ease",this.progressOptions.showPercentage)n.textContent=`${Math.round(i)}%`,n.style.display="block";this.progressOptions.current=r,e.dispatchEvent(new CustomEvent("vt:progress",{detail:{current:r,total:this.progressOptions.total,percentage:i}}))}incrementProgress(r=1){if(!this.progressOptions)return;this.setProgress((this.progressOptions.current||0)+r)}complete(r=2000){if(!this.progressOptions)return;if(this.setProgress(this.progressOptions.total),r>0)setTimeout(()=>{this.close()},r)}close(){if(!this.elements)return;this.elements.toast.remove(),this.elements=null}}var dr={Toast:k,configure:M,config:p};
354
+ `;var J;var O=d(()=>{J=U});var b;var R=d(()=>{V();Z();N();O();b={base:z,light:J,dark:F,auto:H}});function C(r,t){Object.keys(t).forEach((n)=>{if(t[n]&&typeof t[n]==="object"&&!(t[n]instanceof Array)){if(!r[n])r[n]={};C(r[n],t[n])}else r[n]=t[n]})}function u(...r){let t=document.createElement("style");t.innerHTML=r.join(""),document.head.appendChild(t)}var K='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2102_1592)"><path d="M12 7.5C12 5.84315 10.6569 4.5 9 4.5C7.34315 4.5 6 5.84315 6 7.5V12C6 13.6569 7.34315 15 9 15C10.6569 15 12 13.6569 12 12V7.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M14.25 5.25L12 6.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M3.75 5.25L6 6.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M14.25 14.25L12 12.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M3.75 14.25L6 12.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M15 9.75H12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M3 9.75H6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M7.5 3L8.25 4.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M10.5 3L9.75 4.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g><defs><clipPath id="clip0_2102_1592"><rect width="18" height="18" fill="white"/></clipPath></defs></svg>';var Q='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2102_1582)"><g clip-path="url(#clip1_2102_1582)"><path d="M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M11.25 6.75L6.75 11.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M6.75 6.75L11.25 11.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g></g><defs><clipPath id="clip0_2102_1582"><rect width="18" height="18" fill="white"/></clipPath><clipPath id="clip1_2102_1582"><rect width="18" height="18" fill="white"/></clipPath></defs></svg>';var X="<div></div>";var Y='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2102_1564)"><g clip-path="url(#clip1_2102_1564)"><path d="M16.5 8.30999V8.99999C16.4991 10.6173 15.9754 12.191 15.007 13.4864C14.0386 14.7817 12.6775 15.7293 11.1265 16.1879C9.57557 16.6465 7.91794 16.5914 6.40085 16.0309C4.88376 15.4704 3.58849 14.4346 2.70822 13.0778C1.82795 11.721 1.40984 10.116 1.51626 8.50223C1.62267 6.88841 2.24791 5.35223 3.29871 4.12279C4.34951 2.89335 5.76959 2.03653 7.34714 1.6801C8.92469 1.32367 10.5752 1.48674 12.0525 2.14499" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.5 3L9 10.5075L6.75 8.2575" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g></g><defs><clipPath id="clip0_2102_1564"><rect width="18" height="18" fill="white"/></clipPath><clipPath id="clip1_2102_1564"><rect width="18" height="18" fill="white"/></clipPath></defs></svg>';function $(r){let t;switch(r){case"success":t=p.icons.success;break;case"debug":t=p.icons.debug;break;case"error":t=p.icons.error;break;case"warning":t=p.icons.warning;break;case"spinner":t=p.icons.spinner;break;case"info":t=p.icons.info;break;case"progress":t=p.icons.progress;break}return t}var q=d(()=>{f()});var I='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2102_1587)"><path d="M16.2976 13.5L10.2976 3C10.1667 2.76915 9.97702 2.57714 9.74776 2.44355C9.5185 2.30996 9.25791 2.23958 8.99257 2.23958C8.72723 2.23958 8.46664 2.30996 8.23738 2.44355C8.00812 2.57714 7.8184 2.76915 7.68757 3L1.68757 13.5C1.55533 13.729 1.48599 13.9889 1.48658 14.2534C1.48716 14.5178 1.55765 14.7774 1.6909 15.0059C1.82416 15.2343 2.01543 15.4234 2.24534 15.5541C2.47525 15.6848 2.73562 15.7524 3.00007 15.75H15.0001C15.2632 15.7497 15.5217 15.6802 15.7495 15.5485C15.9773 15.4167 16.1665 15.2273 16.298 14.9993C16.4294 14.7714 16.4986 14.5128 16.4985 14.2496C16.4985 13.9864 16.4292 13.7279 16.2976 13.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 6.75V9.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 12.75H9.0075" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g><defs><clipPath id="clip0_2102_1587"><rect width="18" height="18" fill="white"/></clipPath></defs></svg>';var W='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2102_1792)"><path d="M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 12V9" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 6H9.0075" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g><defs><clipPath id="clip0_2102_1792"><rect width="18" height="18" fill="white"/></clipPath></defs></svg>';var B="<div></div>";var D={};y(D,{icons:()=>_});var _;var j=d(()=>{q();_={get:$,svg:{success:Y,warning:I,error:Q,debug:K,spinner:X,info:W,progress:B}}});function sr(){let{icons:r}=(j(),P(D));return{success:r.svg.success,warning:r.svg.warning,error:r.svg.error,debug:r.svg.debug,spinner:r.svg.spinner,info:r.svg.info,progress:r.svg.progress}}function M(r){if(C(p,r),!p.injectCss)return;switch(p.theme){case"none":break;case"light":u(b.light,b.base);break;case"dark":u(b.dark,b.base);break;case"auto":u(b.auto,b.base);break}}var p;var f=d(()=>{R();p={target:void 0,position:"bottom-right",injectCss:!0,theme:"auto",get icons(){if(!this._icons)this._icons=sr();return this._icons},set icons(r){this._icons=r},_icons:void 0,announceToScreenReader:!0,ariaLive:"polite"}});f();var lr={};y(lr,{default:()=>dr,configure:()=>M,config:()=>p,Toast:()=>k});module.exports=P(lr);function v(r,t){let n,{toast:e,progressBar:a}=r;if(t>0)a.style.animationName="vt-progress-bar",a.style.animationDuration=`${t}ms`,a.style.animationTimingFunction="linear",a.style.animationFillMode="forwards",e.addEventListener("mouseover",()=>{a.style.animationPlayState="paused",clearTimeout(n)}),e.addEventListener("mouseout",()=>{a.style.animationPlayState="running",n=setTimeout(()=>{e.style.opacity="0",setTimeout(()=>{if(e.parentNode)e.parentNode.removeChild(e)},250)},t)});n=setTimeout(()=>{e.style.opacity="0",setTimeout(()=>{if(e.parentNode)e.parentNode.removeChild(e)},250)},t)}function E(r){let{toast:t}=r;t.style.cursor="pointer",t.setAttribute("tabindex","0"),t.setAttribute("aria-label","Toast. Press Enter or Space to close."),t.addEventListener("click",()=>{v(r,0)}),t.addEventListener("keydown",(n)=>{if(n.key==="Enter"||n.key===" ")n.preventDefault(),v(r,0)})}j();function rr(r,t,n,e,a){let i=document.createElement("div");i.setAttribute("data-pt-toast",a),i.setAttribute(`data-pt-${t}`,""),i.setAttribute("role","status"),i.setAttribute("aria-atomic","true");let c=document.createElement("div");c.setAttribute("data-pt-heading-wrapper","");let h=document.createElement("div");h.setAttribute("data-pt-icon",""),h.setAttribute(`data-pt-${t}`,""),h.innerHTML=_.get(t);let s=document.createElement("div");s.setAttribute("data-pt-heading","true"),s.textContent=n,c.appendChild(h),c.appendChild(s);let w=document.createElement("div");if(w.setAttribute("data-pt-body",""),w.textContent=e,!e)w.style.display="none";let m=document.createElement("div");return m.setAttribute("data-pt-progress-bar",""),i.appendChild(c),i.appendChild(w),i.appendChild(m),r.appendChild(i),{toast:i,container:r,headingWrapper:c,iconElement:h,headingElement:s,bodyElement:w,progressBar:m}}var g={heading:"",body:"",duration:3500,clickToClose:!0};function tr(r){let t={...g,...r},n=t.heading,e=t.body,a=t.duration,i=t.clickToClose;return{heading:n,body:e,duration:a,clickToClose:i}}f();function nr(r="bottom-right"){let t=document.createElement("div");if(t.setAttribute("data-pt-container",""),t.setAttribute("data-pt-position",r),t.setAttribute("role","region"),t.setAttribute("aria-label","Toasts"),p.ariaLive)t.setAttribute("aria-live",p.ariaLive);return document.body.appendChild(t),t}function S(){if(p.target){if(typeof p.target==="string"){let t=document.querySelector(p.target);if(t)return t}else if(p.target instanceof HTMLElement)return p.target}let r=document.querySelector("[data-pt-container]");if(r)return r;return nr(p.position)}function l(r,t){let{heading:n,body:e,duration:a,clickToClose:i}=tr(t);if(r==="spinner")a=null,i=!1;let c=S(),h=Math.random().toString(36).substring(2,11),s=rr(c,r,n,e,h);if(a)v(s,a);if(i)E(s);return s}var er={success:(r)=>l("success",r),error:(r)=>l("error",r),warning:(r)=>l("warning",r),debug:(r)=>l("debug",r),info:(r)=>l("info",r),spinner:(r)=>l("spinner",r),progress:(r)=>l("progress",r)};function or(r,t){let{heading:n,body:e}=t;if(n!==void 0)r.headingElement.textContent=n;if(e!==void 0)if(e)r.bodyElement.textContent=e,r.bodyElement.style.display="block";else r.bodyElement.textContent="",r.bodyElement.style.display="none"}class k{elements=null;progressOptions;type;heading;body;duration;clickToClose;constructor({type:r,heading:t,body:n="",duration:e=g.duration,clickToClose:a=g.clickToClose,progress:i}){if(this.type=r,this.heading=t,this.body=n,this.duration=e,this.clickToClose=a,r==="progress"){if(this.progressOptions={total:i?.total||100,current:i?.current||0,showPercentage:i?.showPercentage!==!1},e===g.duration)this.duration=null}if(this.elements=er[this.type]({heading:this.heading,body:this.body,duration:this.duration,clickToClose:this.clickToClose}),r==="progress"&&this.progressOptions)this.setProgress(this.progressOptions.current)}update(r){if(!this.elements)return;or(this.elements,r)}setProgress(r,t){if(!this.elements||this.type!=="progress"||!this.progressOptions)return;if(t)this.progressOptions={...this.progressOptions,...t};let{progressBar:n,bodyElement:e,toast:a}=this.elements,i=Math.min(100,Math.max(0,r/this.progressOptions.total*100));if(n.style.width=`${i}%`,n.style.transition="width 0.3s ease",this.progressOptions.showPercentage)e.textContent=`${Math.round(i)}%`,e.style.display="block";this.progressOptions.current=r,a.dispatchEvent(new CustomEvent("vt:progress",{detail:{current:r,total:this.progressOptions.total,percentage:i}}))}incrementProgress(r=1){if(!this.progressOptions)return;this.setProgress((this.progressOptions.current||0)+r)}complete(r=2000){if(!this.progressOptions)return;if(this.setProgress(this.progressOptions.total),r>0)setTimeout(()=>{this.close()},r)}close(){if(!this.elements)return;this.elements.toast.remove(),this.elements=null}}var dr={Toast:k,configure:M,config:p};
355
355
 
356
- //# debugId=632CB505D561DECA64756E2164756E21
356
+ //# debugId=CABE4D9D2702E06764756E2164756E21
@@ -33,9 +33,9 @@
33
33
  "import { closeToast } from './close-toast';\nimport { enableClickToClose } from './enable-click-to-close';\nimport { populateToast } from './populate-toast';\nimport { getOptions } from './get-options';\nimport { getOrCreateContainer } from '../container';\nimport type { ToastType, ToastCreateOptions } from '../types';\nimport type { ToastElements } from './types';\n\n/**\n * Creates and displays a toast with specified options.\n *\n * @param type - The type of the toast (e.g., 'success', 'error')\n * @param userOptions - The options for the toast\n * @returns The toast elements object with all important elements pre-queried\n */\nexport function createToast(\n type: ToastType,\n userOptions: ToastCreateOptions\n): ToastElements {\n let { heading, body, duration, clickToClose } = getOptions(userOptions);\n\n if (type === 'spinner') {\n duration = null;\n clickToClose = false;\n }\n\n // Get or create the toast container\n const container = getOrCreateContainer();\n\n // Generate a unique ID for the toast\n const toastId = Math.random().toString(36).substring(2, 11);\n\n // Create the toast and get all elements\n const elements = populateToast(container, type, heading, body, toastId);\n\n // Close the toast after a specified duration\n if (duration) closeToast(elements, duration);\n\n // Enable click-to-close functionality\n if (clickToClose) enableClickToClose(elements);\n\n // Return the toast elements for further manipulation\n return elements;\n}\n",
34
34
  "import { createToast } from './create-toast';\nimport type { ToastCreateOptions } from '../types';\n\nexport const notify = {\n success: (options: ToastCreateOptions) => createToast('success', options),\n error: (options: ToastCreateOptions) => createToast('error', options),\n warning: (options: ToastCreateOptions) => createToast('warning', options),\n debug: (options: ToastCreateOptions) => createToast('debug', options),\n info: (options: ToastCreateOptions) => createToast('info', options),\n spinner: (options: ToastCreateOptions) => createToast('spinner', options),\n progress: (options: ToastCreateOptions) => createToast('progress', options)\n};\n",
35
35
  "import type { ToastElements } from './types';\n\nexport interface UpdateOptions {\n heading?: string;\n body?: string;\n}\n\n/**\n * Updates the content of a toast using pre-queried elements.\n *\n * @param elements - The toast elements object\n * @param userOptions - The options to update (heading and/or body)\n */\nexport function updateToast(\n elements: ToastElements,\n userOptions: UpdateOptions\n): void {\n const { heading, body } = userOptions;\n\n // Update the heading if provided\n if (heading !== undefined) {\n elements.headingElement.textContent = heading;\n }\n\n // Update the body if provided\n if (body !== undefined) {\n if (body) {\n elements.bodyElement.textContent = body;\n elements.bodyElement.style.display = 'block';\n } else {\n elements.bodyElement.textContent = '';\n elements.bodyElement.style.display = 'none';\n }\n }\n}\n",
36
- "/**\n * The Toast class is designed to create and manage custom notification elements.\n * It supports different types of notifications such as success, error, warning, and debug,\n * each with customizable properties like heading, body, duration, and click-to-close functionality.\n *\n * - `elements`: Holds references to all important toast elements for efficient manipulation.\n * - `type`: Specifies the type of notification (e.g., success, error).\n * - `heading`: The text displayed as the heading of the notification.\n * - `body`: The main content or body of the notification.\n * - `duration`: How long the notification will be displayed before automatically closing.\n * - `clickToClose`: Allows the notification to be closed on click if set to true.\n *\n * The constructor takes an object with these properties, with `duration` and `clickToClose` falling back to default values if not provided.\n * It then creates the notification element based on the specified type and properties.\n *\n * The `close` method allows for the manual removal of the notification's element from the DOM.\n */\nimport { notify } from './toasts';\nimport { defaultOptions } from './toasts/default-options';\nimport { updateToast } from './toasts/update-toast';\nimport type { ToastOptions, ProgressOptions, ToastType } from './types';\nimport type { ToastElements } from './toasts/types';\n\nexport type { ToastOptions, ProgressOptions };\n\nexport class Toast {\n private elements: ToastElements | null = null;\n private progressOptions?: ProgressOptions;\n\n type: ToastType;\n heading: string;\n body: string;\n duration: number;\n clickToClose: boolean;\n\n constructor({\n type,\n heading,\n body = '',\n duration = defaultOptions.duration,\n clickToClose = defaultOptions.clickToClose,\n progress\n }: ToastOptions) {\n this.type = type;\n this.heading = heading;\n this.body = body;\n this.duration = duration;\n this.clickToClose = clickToClose;\n\n // Handle progress type\n if (type === 'progress') {\n this.progressOptions = {\n total: progress?.total || 100,\n current: progress?.current || 0,\n showPercentage: progress?.showPercentage !== false\n };\n // Progress toasts don't auto-close by default\n if (duration === defaultOptions.duration) {\n this.duration = null;\n }\n }\n\n this.elements = notify[this.type]({\n heading: this.heading,\n body: this.body,\n duration: this.duration,\n clickToClose: this.clickToClose\n });\n\n // Initialize progress bar if this is a progress type\n if (type === 'progress' && this.progressOptions) {\n this.setProgress(this.progressOptions.current);\n }\n }\n\n update(options: { heading?: string; body?: string }): void {\n if (!this.elements) return;\n updateToast(this.elements, options);\n }\n\n /**\n * Updates the progress bar to the specified value\n * @param current - The current progress value (0 to total)\n */\n setProgress(current: number): void {\n if (!this.elements || this.type !== 'progress' || !this.progressOptions)\n return;\n\n const { progressBar, bodyElement, toast } = this.elements;\n\n // Calculate percentage\n const percentage = Math.min(\n 100,\n Math.max(0, (current / this.progressOptions.total) * 100)\n );\n\n // Update progress bar width\n progressBar.style.width = `${percentage}%`;\n progressBar.style.transition = 'width 0.3s ease';\n\n // Update body with percentage if showPercentage is true\n if (this.progressOptions.showPercentage) {\n bodyElement.textContent = `${Math.round(percentage)}%`;\n bodyElement.style.display = 'block';\n }\n\n // Update current value\n this.progressOptions.current = current;\n\n // Dispatch custom event\n toast.dispatchEvent(\n new CustomEvent('vt:progress', {\n detail: { current, total: this.progressOptions.total, percentage }\n })\n );\n }\n\n /**\n * Increments the progress by the specified amount\n * @param amount - The amount to increment by (default: 1)\n */\n incrementProgress(amount: number = 1): void {\n if (!this.progressOptions) return;\n this.setProgress((this.progressOptions.current || 0) + amount);\n }\n\n /**\n * Completes the progress (sets to 100%) and optionally auto-closes after a delay\n * @param autoCloseDelay - Delay in ms before auto-closing (default: 2000ms)\n */\n complete(autoCloseDelay: number = 2000): void {\n if (!this.progressOptions) return;\n\n this.setProgress(this.progressOptions.total);\n\n // Auto-close after delay\n if (autoCloseDelay > 0) {\n setTimeout(() => {\n this.close();\n }, autoCloseDelay);\n }\n }\n\n close() {\n if (!this.elements) return;\n this.elements.toast.remove();\n this.elements = null;\n }\n}\n"
36
+ "/**\n * The Toast class is designed to create and manage custom notification elements.\n * It supports different types of notifications such as success, error, warning, and debug,\n * each with customizable properties like heading, body, duration, and click-to-close functionality.\n *\n * - `elements`: Holds references to all important toast elements for efficient manipulation.\n * - `type`: Specifies the type of notification (e.g., success, error).\n * - `heading`: The text displayed as the heading of the notification.\n * - `body`: The main content or body of the notification.\n * - `duration`: How long the notification will be displayed before automatically closing.\n * - `clickToClose`: Allows the notification to be closed on click if set to true.\n *\n * The constructor takes an object with these properties, with `duration` and `clickToClose` falling back to default values if not provided.\n * It then creates the notification element based on the specified type and properties.\n *\n * The `close` method allows for the manual removal of the notification's element from the DOM.\n */\nimport { notify } from './toasts';\nimport { defaultOptions } from './toasts/default-options';\nimport { updateToast } from './toasts/update-toast';\nimport type { ToastOptions, ProgressOptions, ToastType } from './types';\nimport type { ToastElements } from './toasts/types';\n\nexport type { ToastOptions, ProgressOptions };\n\nexport class Toast {\n private elements: ToastElements | null = null;\n private progressOptions?: ProgressOptions;\n\n type: ToastType;\n heading: string;\n body: string;\n duration: number;\n clickToClose: boolean;\n\n constructor({\n type,\n heading,\n body = '',\n duration = defaultOptions.duration,\n clickToClose = defaultOptions.clickToClose,\n progress\n }: ToastOptions) {\n this.type = type;\n this.heading = heading;\n this.body = body;\n this.duration = duration;\n this.clickToClose = clickToClose;\n\n // Handle progress type\n if (type === 'progress') {\n this.progressOptions = {\n total: progress?.total || 100,\n current: progress?.current || 0,\n showPercentage: progress?.showPercentage !== false\n };\n // Progress toasts don't auto-close by default\n if (duration === defaultOptions.duration) {\n this.duration = null;\n }\n }\n\n this.elements = notify[this.type]({\n heading: this.heading,\n body: this.body,\n duration: this.duration,\n clickToClose: this.clickToClose\n });\n\n // Initialize progress bar if this is a progress type\n if (type === 'progress' && this.progressOptions) {\n this.setProgress(this.progressOptions.current);\n }\n }\n\n update(options: { heading?: string; body?: string }): void {\n if (!this.elements) return;\n updateToast(this.elements, options);\n }\n\n /**\n * Updates the progress bar to the specified value\n * @param current - The current progress value (0 to total)\n * @param progressOptions - Update the options for the progress bar\n */\n setProgress(current: number, progressOptions?: ProgressOptions): void {\n if (!this.elements || this.type !== 'progress' || !this.progressOptions) return;\n\n if (progressOptions)\n this.progressOptions = { ...this.progressOptions, ...progressOptions };\n\n const { progressBar, bodyElement, toast } = this.elements;\n\n // Calculate percentage\n const percentage = Math.min(\n 100,\n Math.max(0, (current / this.progressOptions.total) * 100)\n );\n\n // Update progress bar width\n progressBar.style.width = `${percentage}%`;\n progressBar.style.transition = 'width 0.3s ease';\n\n // Update body with percentage if showPercentage is true\n if (this.progressOptions.showPercentage) {\n bodyElement.textContent = `${Math.round(percentage)}%`;\n bodyElement.style.display = 'block';\n }\n\n // Update current value\n this.progressOptions.current = current;\n\n // Dispatch custom event\n toast.dispatchEvent(\n new CustomEvent('vt:progress', {\n detail: { current, total: this.progressOptions.total, percentage }\n })\n );\n }\n\n /**\n * Increments the progress by the specified amount\n * @param amount - The amount to increment by (default: 1)\n */\n incrementProgress(amount: number = 1): void {\n if (!this.progressOptions) return;\n this.setProgress((this.progressOptions.current || 0) + amount);\n }\n\n /**\n * Completes the progress (sets to 100%) and optionally auto-closes after a delay\n * @param autoCloseDelay - Delay in ms before auto-closing (default: 2000ms)\n */\n complete(autoCloseDelay: number = 2000): void {\n if (!this.progressOptions) return;\n\n this.setProgress(this.progressOptions.total);\n\n // Auto-close after delay\n if (autoCloseDelay > 0) {\n setTimeout(() => {\n this.close();\n }, autoCloseDelay);\n }\n }\n\n close() {\n if (!this.elements) return;\n this.elements.toast.remove();\n this.elements = null;\n }\n}\n"
37
37
  ],
38
- "mappings": "sfAAe;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;MCEF,iBAAa,QCFX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;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,CAAC,EAAyB,KAAY,CAC5C,GAAI,CAAC,KAAK,gBAAiB,OAK3B,GAHA,KAAK,YAAY,KAAK,gBAAgB,KAAK,EAGvC,EAAiB,EACnB,WAAW,IAAM,CACf,KAAK,MAAM,GACV,CAAc,EAIrB,KAAK,EAAG,CACN,GAAI,CAAC,KAAK,SAAU,OACpB,KAAK,SAAS,MAAM,OAAO,EAC3B,KAAK,SAAW,KAEpB,CV7FA,IAAe,IACb,QACA,YACA,QACF",
39
+ "debugId": "CABE4D9D2702E06764756E2164756E21",
40
40
  "names": []
41
41
  }
@@ -321,7 +321,7 @@ var{defineProperty:m,getOwnPropertyNames:er,getOwnPropertyDescriptor:or}=Object,
321
321
  --pt-progress-icon: var(--pt-blue-300);
322
322
  --pt-progress-border: var(--pt-blue-600);
323
323
  }
324
- `;var z;var O=d(()=>{z=A});var Z=`/* Light theme colors - WCAG AA compliant (4.5:1 contrast ratio for text) */
324
+ `;var z;var Z=d(()=>{z=A});var G=`/* Light theme colors - WCAG AA compliant (4.5:1 contrast ratio for text) */
325
325
  :root {
326
326
  --pt-background: var(--pt-white);
327
327
  --pt-text: var(--pt-slate-600);
@@ -351,6 +351,6 @@ var{defineProperty:m,getOwnPropertyNames:er,getOwnPropertyDescriptor:or}=Object,
351
351
  --pt-progress-icon: var(--pt-blue-600);
352
352
  --pt-progress-border: var(--pt-blue-600);
353
353
  }
354
- `;var G;var F=d(()=>{G=Z});var g;var N=d(()=>{y();V();O();F();g={base:H,light:G,dark:z,auto:P}});function x(r,t){Object.keys(t).forEach((n)=>{if(t[n]&&typeof t[n]==="object"&&!(t[n]instanceof Array)){if(!r[n])r[n]={};x(r[n],t[n])}else r[n]=t[n]})}function u(...r){let t=document.createElement("style");t.innerHTML=r.join(""),document.head.appendChild(t)}var U='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2102_1592)"><path d="M12 7.5C12 5.84315 10.6569 4.5 9 4.5C7.34315 4.5 6 5.84315 6 7.5V12C6 13.6569 7.34315 15 9 15C10.6569 15 12 13.6569 12 12V7.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M14.25 5.25L12 6.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M3.75 5.25L6 6.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M14.25 14.25L12 12.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M3.75 14.25L6 12.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M15 9.75H12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M3 9.75H6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M7.5 3L8.25 4.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M10.5 3L9.75 4.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g><defs><clipPath id="clip0_2102_1592"><rect width="18" height="18" fill="white"/></clipPath></defs></svg>';var J='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2102_1582)"><g clip-path="url(#clip1_2102_1582)"><path d="M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M11.25 6.75L6.75 11.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M6.75 6.75L11.25 11.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g></g><defs><clipPath id="clip0_2102_1582"><rect width="18" height="18" fill="white"/></clipPath><clipPath id="clip1_2102_1582"><rect width="18" height="18" fill="white"/></clipPath></defs></svg>';var R="<div></div>";var K='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2102_1564)"><g clip-path="url(#clip1_2102_1564)"><path d="M16.5 8.30999V8.99999C16.4991 10.6173 15.9754 12.191 15.007 13.4864C14.0386 14.7817 12.6775 15.7293 11.1265 16.1879C9.57557 16.6465 7.91794 16.5914 6.40085 16.0309C4.88376 15.4704 3.58849 14.4346 2.70822 13.0778C1.82795 11.721 1.40984 10.116 1.51626 8.50223C1.62267 6.88841 2.24791 5.35223 3.29871 4.12279C4.34951 2.89335 5.76959 2.03653 7.34714 1.6801C8.92469 1.32367 10.5752 1.48674 12.0525 2.14499" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.5 3L9 10.5075L6.75 8.2575" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g></g><defs><clipPath id="clip0_2102_1564"><rect width="18" height="18" fill="white"/></clipPath><clipPath id="clip1_2102_1564"><rect width="18" height="18" fill="white"/></clipPath></defs></svg>';function Q(r){let t;switch(r){case"success":t=p.icons.success;break;case"debug":t=p.icons.debug;break;case"error":t=p.icons.error;break;case"warning":t=p.icons.warning;break;case"spinner":t=p.icons.spinner;break;case"info":t=p.icons.info;break;case"progress":t=p.icons.progress;break}return t}var X=d(()=>{f()});var Y='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2102_1587)"><path d="M16.2976 13.5L10.2976 3C10.1667 2.76915 9.97702 2.57714 9.74776 2.44355C9.5185 2.30996 9.25791 2.23958 8.99257 2.23958C8.72723 2.23958 8.46664 2.30996 8.23738 2.44355C8.00812 2.57714 7.8184 2.76915 7.68757 3L1.68757 13.5C1.55533 13.729 1.48599 13.9889 1.48658 14.2534C1.48716 14.5178 1.55765 14.7774 1.6909 15.0059C1.82416 15.2343 2.01543 15.4234 2.24534 15.5541C2.47525 15.6848 2.73562 15.7524 3.00007 15.75H15.0001C15.2632 15.7497 15.5217 15.6802 15.7495 15.5485C15.9773 15.4167 16.1665 15.2273 16.298 14.9993C16.4294 14.7714 16.4986 14.5128 16.4985 14.2496C16.4985 13.9864 16.4292 13.7279 16.2976 13.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 6.75V9.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 12.75H9.0075" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g><defs><clipPath id="clip0_2102_1587"><rect width="18" height="18" fill="white"/></clipPath></defs></svg>';var $='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2102_1792)"><path d="M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 12V9" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 6H9.0075" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g><defs><clipPath id="clip0_2102_1792"><rect width="18" height="18" fill="white"/></clipPath></defs></svg>';var q="<div></div>";var I={};ar(I,{icons:()=>C});var C;var _=d(()=>{X();C={get:Q,svg:{success:K,warning:Y,error:J,debug:U,spinner:R,info:$,progress:q}}});function sr(){let{icons:r}=(_(),ir(I));return{success:r.svg.success,warning:r.svg.warning,error:r.svg.error,debug:r.svg.debug,spinner:r.svg.spinner,info:r.svg.info,progress:r.svg.progress}}function W(r){if(x(p,r),!p.injectCss)return;switch(p.theme){case"none":break;case"light":u(g.light,g.base);break;case"dark":u(g.dark,g.base);break;case"auto":u(g.auto,g.base);break}}var p;var f=d(()=>{N();p={target:void 0,position:"bottom-right",injectCss:!0,theme:"auto",get icons(){if(!this._icons)this._icons=sr();return this._icons},set icons(r){this._icons=r},_icons:void 0,announceToScreenReader:!0,ariaLive:"polite"}});f();function v(r,t){let n,{toast:e,progressBar:i}=r;if(t>0)i.style.animationName="vt-progress-bar",i.style.animationDuration=`${t}ms`,i.style.animationTimingFunction="linear",i.style.animationFillMode="forwards",e.addEventListener("mouseover",()=>{i.style.animationPlayState="paused",clearTimeout(n)}),e.addEventListener("mouseout",()=>{i.style.animationPlayState="running",n=setTimeout(()=>{e.style.opacity="0",setTimeout(()=>{if(e.parentNode)e.parentNode.removeChild(e)},250)},t)});n=setTimeout(()=>{e.style.opacity="0",setTimeout(()=>{if(e.parentNode)e.parentNode.removeChild(e)},250)},t)}function B(r){let{toast:t}=r;t.style.cursor="pointer",t.setAttribute("tabindex","0"),t.setAttribute("aria-label","Toast. Press Enter or Space to close."),t.addEventListener("click",()=>{v(r,0)}),t.addEventListener("keydown",(n)=>{if(n.key==="Enter"||n.key===" ")n.preventDefault(),v(r,0)})}_();function D(r,t,n,e,i){let a=document.createElement("div");a.setAttribute("data-pt-toast",i),a.setAttribute(`data-pt-${t}`,""),a.setAttribute("role","status"),a.setAttribute("aria-atomic","true");let c=document.createElement("div");c.setAttribute("data-pt-heading-wrapper","");let h=document.createElement("div");h.setAttribute("data-pt-icon",""),h.setAttribute(`data-pt-${t}`,""),h.innerHTML=C.get(t);let s=document.createElement("div");s.setAttribute("data-pt-heading","true"),s.textContent=n,c.appendChild(h),c.appendChild(s);let w=document.createElement("div");if(w.setAttribute("data-pt-body",""),w.textContent=e,!e)w.style.display="none";let k=document.createElement("div");return k.setAttribute("data-pt-progress-bar",""),a.appendChild(c),a.appendChild(w),a.appendChild(k),r.appendChild(a),{toast:a,container:r,headingWrapper:c,iconElement:h,headingElement:s,bodyElement:w,progressBar:k}}var b={heading:"",body:"",duration:3500,clickToClose:!0};function E(r){let t={...b,...r},n=t.heading,e=t.body,i=t.duration,a=t.clickToClose;return{heading:n,body:e,duration:i,clickToClose:a}}f();function rr(r="bottom-right"){let t=document.createElement("div");if(t.setAttribute("data-pt-container",""),t.setAttribute("data-pt-position",r),t.setAttribute("role","region"),t.setAttribute("aria-label","Toasts"),p.ariaLive)t.setAttribute("aria-live",p.ariaLive);return document.body.appendChild(t),t}function j(){if(p.target){if(typeof p.target==="string"){let t=document.querySelector(p.target);if(t)return t}else if(p.target instanceof HTMLElement)return p.target}let r=document.querySelector("[data-pt-container]");if(r)return r;return rr(p.position)}function l(r,t){let{heading:n,body:e,duration:i,clickToClose:a}=E(t);if(r==="spinner")i=null,a=!1;let c=j(),h=Math.random().toString(36).substring(2,11),s=D(c,r,n,e,h);if(i)v(s,i);if(a)B(s);return s}var tr={success:(r)=>l("success",r),error:(r)=>l("error",r),warning:(r)=>l("warning",r),debug:(r)=>l("debug",r),info:(r)=>l("info",r),spinner:(r)=>l("spinner",r),progress:(r)=>l("progress",r)};function nr(r,t){let{heading:n,body:e}=t;if(n!==void 0)r.headingElement.textContent=n;if(e!==void 0)if(e)r.bodyElement.textContent=e,r.bodyElement.style.display="block";else r.bodyElement.textContent="",r.bodyElement.style.display="none"}class M{elements=null;progressOptions;type;heading;body;duration;clickToClose;constructor({type:r,heading:t,body:n="",duration:e=b.duration,clickToClose:i=b.clickToClose,progress:a}){if(this.type=r,this.heading=t,this.body=n,this.duration=e,this.clickToClose=i,r==="progress"){if(this.progressOptions={total:a?.total||100,current:a?.current||0,showPercentage:a?.showPercentage!==!1},e===b.duration)this.duration=null}if(this.elements=tr[this.type]({heading:this.heading,body:this.body,duration:this.duration,clickToClose:this.clickToClose}),r==="progress"&&this.progressOptions)this.setProgress(this.progressOptions.current)}update(r){if(!this.elements)return;nr(this.elements,r)}setProgress(r){if(!this.elements||this.type!=="progress"||!this.progressOptions)return;let{progressBar:t,bodyElement:n,toast:e}=this.elements,i=Math.min(100,Math.max(0,r/this.progressOptions.total*100));if(t.style.width=`${i}%`,t.style.transition="width 0.3s ease",this.progressOptions.showPercentage)n.textContent=`${Math.round(i)}%`,n.style.display="block";this.progressOptions.current=r,e.dispatchEvent(new CustomEvent("vt:progress",{detail:{current:r,total:this.progressOptions.total,percentage:i}}))}incrementProgress(r=1){if(!this.progressOptions)return;this.setProgress((this.progressOptions.current||0)+r)}complete(r=2000){if(!this.progressOptions)return;if(this.setProgress(this.progressOptions.total),r>0)setTimeout(()=>{this.close()},r)}close(){if(!this.elements)return;this.elements.toast.remove(),this.elements=null}}var _t={Toast:M,configure:W,config:p};export{_t as default,W as configure,p as config,M as Toast};
354
+ `;var F;var N=d(()=>{F=G});var b;var U=d(()=>{y();V();Z();N();b={base:H,light:F,dark:z,auto:P}});function x(r,t){Object.keys(t).forEach((n)=>{if(t[n]&&typeof t[n]==="object"&&!(t[n]instanceof Array)){if(!r[n])r[n]={};x(r[n],t[n])}else r[n]=t[n]})}function u(...r){let t=document.createElement("style");t.innerHTML=r.join(""),document.head.appendChild(t)}var J='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2102_1592)"><path d="M12 7.5C12 5.84315 10.6569 4.5 9 4.5C7.34315 4.5 6 5.84315 6 7.5V12C6 13.6569 7.34315 15 9 15C10.6569 15 12 13.6569 12 12V7.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M14.25 5.25L12 6.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M3.75 5.25L6 6.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M14.25 14.25L12 12.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M3.75 14.25L6 12.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M15 9.75H12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M3 9.75H6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M7.5 3L8.25 4.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M10.5 3L9.75 4.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g><defs><clipPath id="clip0_2102_1592"><rect width="18" height="18" fill="white"/></clipPath></defs></svg>';var O='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2102_1582)"><g clip-path="url(#clip1_2102_1582)"><path d="M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M11.25 6.75L6.75 11.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M6.75 6.75L11.25 11.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g></g><defs><clipPath id="clip0_2102_1582"><rect width="18" height="18" fill="white"/></clipPath><clipPath id="clip1_2102_1582"><rect width="18" height="18" fill="white"/></clipPath></defs></svg>';var R="<div></div>";var K='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2102_1564)"><g clip-path="url(#clip1_2102_1564)"><path d="M16.5 8.30999V8.99999C16.4991 10.6173 15.9754 12.191 15.007 13.4864C14.0386 14.7817 12.6775 15.7293 11.1265 16.1879C9.57557 16.6465 7.91794 16.5914 6.40085 16.0309C4.88376 15.4704 3.58849 14.4346 2.70822 13.0778C1.82795 11.721 1.40984 10.116 1.51626 8.50223C1.62267 6.88841 2.24791 5.35223 3.29871 4.12279C4.34951 2.89335 5.76959 2.03653 7.34714 1.6801C8.92469 1.32367 10.5752 1.48674 12.0525 2.14499" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.5 3L9 10.5075L6.75 8.2575" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g></g><defs><clipPath id="clip0_2102_1564"><rect width="18" height="18" fill="white"/></clipPath><clipPath id="clip1_2102_1564"><rect width="18" height="18" fill="white"/></clipPath></defs></svg>';function Q(r){let t;switch(r){case"success":t=i.icons.success;break;case"debug":t=i.icons.debug;break;case"error":t=i.icons.error;break;case"warning":t=i.icons.warning;break;case"spinner":t=i.icons.spinner;break;case"info":t=i.icons.info;break;case"progress":t=i.icons.progress;break}return t}var X=d(()=>{f()});var Y='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2102_1587)"><path d="M16.2976 13.5L10.2976 3C10.1667 2.76915 9.97702 2.57714 9.74776 2.44355C9.5185 2.30996 9.25791 2.23958 8.99257 2.23958C8.72723 2.23958 8.46664 2.30996 8.23738 2.44355C8.00812 2.57714 7.8184 2.76915 7.68757 3L1.68757 13.5C1.55533 13.729 1.48599 13.9889 1.48658 14.2534C1.48716 14.5178 1.55765 14.7774 1.6909 15.0059C1.82416 15.2343 2.01543 15.4234 2.24534 15.5541C2.47525 15.6848 2.73562 15.7524 3.00007 15.75H15.0001C15.2632 15.7497 15.5217 15.6802 15.7495 15.5485C15.9773 15.4167 16.1665 15.2273 16.298 14.9993C16.4294 14.7714 16.4986 14.5128 16.4985 14.2496C16.4985 13.9864 16.4292 13.7279 16.2976 13.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 6.75V9.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 12.75H9.0075" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g><defs><clipPath id="clip0_2102_1587"><rect width="18" height="18" fill="white"/></clipPath></defs></svg>';var $='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2102_1792)"><path d="M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 12V9" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 6H9.0075" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g><defs><clipPath id="clip0_2102_1792"><rect width="18" height="18" fill="white"/></clipPath></defs></svg>';var q="<div></div>";var I={};ar(I,{icons:()=>C});var C;var _=d(()=>{X();C={get:Q,svg:{success:K,warning:Y,error:O,debug:J,spinner:R,info:$,progress:q}}});function sr(){let{icons:r}=(_(),ir(I));return{success:r.svg.success,warning:r.svg.warning,error:r.svg.error,debug:r.svg.debug,spinner:r.svg.spinner,info:r.svg.info,progress:r.svg.progress}}function W(r){if(x(i,r),!i.injectCss)return;switch(i.theme){case"none":break;case"light":u(b.light,b.base);break;case"dark":u(b.dark,b.base);break;case"auto":u(b.auto,b.base);break}}var i;var f=d(()=>{U();i={target:void 0,position:"bottom-right",injectCss:!0,theme:"auto",get icons(){if(!this._icons)this._icons=sr();return this._icons},set icons(r){this._icons=r},_icons:void 0,announceToScreenReader:!0,ariaLive:"polite"}});f();function v(r,t){let n,{toast:e,progressBar:a}=r;if(t>0)a.style.animationName="vt-progress-bar",a.style.animationDuration=`${t}ms`,a.style.animationTimingFunction="linear",a.style.animationFillMode="forwards",e.addEventListener("mouseover",()=>{a.style.animationPlayState="paused",clearTimeout(n)}),e.addEventListener("mouseout",()=>{a.style.animationPlayState="running",n=setTimeout(()=>{e.style.opacity="0",setTimeout(()=>{if(e.parentNode)e.parentNode.removeChild(e)},250)},t)});n=setTimeout(()=>{e.style.opacity="0",setTimeout(()=>{if(e.parentNode)e.parentNode.removeChild(e)},250)},t)}function B(r){let{toast:t}=r;t.style.cursor="pointer",t.setAttribute("tabindex","0"),t.setAttribute("aria-label","Toast. Press Enter or Space to close."),t.addEventListener("click",()=>{v(r,0)}),t.addEventListener("keydown",(n)=>{if(n.key==="Enter"||n.key===" ")n.preventDefault(),v(r,0)})}_();function D(r,t,n,e,a){let p=document.createElement("div");p.setAttribute("data-pt-toast",a),p.setAttribute(`data-pt-${t}`,""),p.setAttribute("role","status"),p.setAttribute("aria-atomic","true");let c=document.createElement("div");c.setAttribute("data-pt-heading-wrapper","");let h=document.createElement("div");h.setAttribute("data-pt-icon",""),h.setAttribute(`data-pt-${t}`,""),h.innerHTML=C.get(t);let s=document.createElement("div");s.setAttribute("data-pt-heading","true"),s.textContent=n,c.appendChild(h),c.appendChild(s);let w=document.createElement("div");if(w.setAttribute("data-pt-body",""),w.textContent=e,!e)w.style.display="none";let k=document.createElement("div");return k.setAttribute("data-pt-progress-bar",""),p.appendChild(c),p.appendChild(w),p.appendChild(k),r.appendChild(p),{toast:p,container:r,headingWrapper:c,iconElement:h,headingElement:s,bodyElement:w,progressBar:k}}var g={heading:"",body:"",duration:3500,clickToClose:!0};function E(r){let t={...g,...r},n=t.heading,e=t.body,a=t.duration,p=t.clickToClose;return{heading:n,body:e,duration:a,clickToClose:p}}f();function rr(r="bottom-right"){let t=document.createElement("div");if(t.setAttribute("data-pt-container",""),t.setAttribute("data-pt-position",r),t.setAttribute("role","region"),t.setAttribute("aria-label","Toasts"),i.ariaLive)t.setAttribute("aria-live",i.ariaLive);return document.body.appendChild(t),t}function j(){if(i.target){if(typeof i.target==="string"){let t=document.querySelector(i.target);if(t)return t}else if(i.target instanceof HTMLElement)return i.target}let r=document.querySelector("[data-pt-container]");if(r)return r;return rr(i.position)}function l(r,t){let{heading:n,body:e,duration:a,clickToClose:p}=E(t);if(r==="spinner")a=null,p=!1;let c=j(),h=Math.random().toString(36).substring(2,11),s=D(c,r,n,e,h);if(a)v(s,a);if(p)B(s);return s}var tr={success:(r)=>l("success",r),error:(r)=>l("error",r),warning:(r)=>l("warning",r),debug:(r)=>l("debug",r),info:(r)=>l("info",r),spinner:(r)=>l("spinner",r),progress:(r)=>l("progress",r)};function nr(r,t){let{heading:n,body:e}=t;if(n!==void 0)r.headingElement.textContent=n;if(e!==void 0)if(e)r.bodyElement.textContent=e,r.bodyElement.style.display="block";else r.bodyElement.textContent="",r.bodyElement.style.display="none"}class M{elements=null;progressOptions;type;heading;body;duration;clickToClose;constructor({type:r,heading:t,body:n="",duration:e=g.duration,clickToClose:a=g.clickToClose,progress:p}){if(this.type=r,this.heading=t,this.body=n,this.duration=e,this.clickToClose=a,r==="progress"){if(this.progressOptions={total:p?.total||100,current:p?.current||0,showPercentage:p?.showPercentage!==!1},e===g.duration)this.duration=null}if(this.elements=tr[this.type]({heading:this.heading,body:this.body,duration:this.duration,clickToClose:this.clickToClose}),r==="progress"&&this.progressOptions)this.setProgress(this.progressOptions.current)}update(r){if(!this.elements)return;nr(this.elements,r)}setProgress(r,t){if(!this.elements||this.type!=="progress"||!this.progressOptions)return;if(t)this.progressOptions={...this.progressOptions,...t};let{progressBar:n,bodyElement:e,toast:a}=this.elements,p=Math.min(100,Math.max(0,r/this.progressOptions.total*100));if(n.style.width=`${p}%`,n.style.transition="width 0.3s ease",this.progressOptions.showPercentage)e.textContent=`${Math.round(p)}%`,e.style.display="block";this.progressOptions.current=r,a.dispatchEvent(new CustomEvent("vt:progress",{detail:{current:r,total:this.progressOptions.total,percentage:p}}))}incrementProgress(r=1){if(!this.progressOptions)return;this.setProgress((this.progressOptions.current||0)+r)}complete(r=2000){if(!this.progressOptions)return;if(this.setProgress(this.progressOptions.total),r>0)setTimeout(()=>{this.close()},r)}close(){if(!this.elements)return;this.elements.toast.remove(),this.elements=null}}var _t={Toast:M,configure:W,config:i};export{_t as default,W as configure,i as config,M as Toast};
355
355
 
356
- //# debugId=94DDF4F650DFE31E64756E2164756E21
356
+ //# debugId=5E90D91B28B73C0064756E2164756E21
@@ -33,9 +33,9 @@
33
33
  "import { closeToast } from './close-toast';\nimport { enableClickToClose } from './enable-click-to-close';\nimport { populateToast } from './populate-toast';\nimport { getOptions } from './get-options';\nimport { getOrCreateContainer } from '../container';\nimport type { ToastType, ToastCreateOptions } from '../types';\nimport type { ToastElements } from './types';\n\n/**\n * Creates and displays a toast with specified options.\n *\n * @param type - The type of the toast (e.g., 'success', 'error')\n * @param userOptions - The options for the toast\n * @returns The toast elements object with all important elements pre-queried\n */\nexport function createToast(\n type: ToastType,\n userOptions: ToastCreateOptions\n): ToastElements {\n let { heading, body, duration, clickToClose } = getOptions(userOptions);\n\n if (type === 'spinner') {\n duration = null;\n clickToClose = false;\n }\n\n // Get or create the toast container\n const container = getOrCreateContainer();\n\n // Generate a unique ID for the toast\n const toastId = Math.random().toString(36).substring(2, 11);\n\n // Create the toast and get all elements\n const elements = populateToast(container, type, heading, body, toastId);\n\n // Close the toast after a specified duration\n if (duration) closeToast(elements, duration);\n\n // Enable click-to-close functionality\n if (clickToClose) enableClickToClose(elements);\n\n // Return the toast elements for further manipulation\n return elements;\n}\n",
34
34
  "import { createToast } from './create-toast';\nimport type { ToastCreateOptions } from '../types';\n\nexport const notify = {\n success: (options: ToastCreateOptions) => createToast('success', options),\n error: (options: ToastCreateOptions) => createToast('error', options),\n warning: (options: ToastCreateOptions) => createToast('warning', options),\n debug: (options: ToastCreateOptions) => createToast('debug', options),\n info: (options: ToastCreateOptions) => createToast('info', options),\n spinner: (options: ToastCreateOptions) => createToast('spinner', options),\n progress: (options: ToastCreateOptions) => createToast('progress', options)\n};\n",
35
35
  "import type { ToastElements } from './types';\n\nexport interface UpdateOptions {\n heading?: string;\n body?: string;\n}\n\n/**\n * Updates the content of a toast using pre-queried elements.\n *\n * @param elements - The toast elements object\n * @param userOptions - The options to update (heading and/or body)\n */\nexport function updateToast(\n elements: ToastElements,\n userOptions: UpdateOptions\n): void {\n const { heading, body } = userOptions;\n\n // Update the heading if provided\n if (heading !== undefined) {\n elements.headingElement.textContent = heading;\n }\n\n // Update the body if provided\n if (body !== undefined) {\n if (body) {\n elements.bodyElement.textContent = body;\n elements.bodyElement.style.display = 'block';\n } else {\n elements.bodyElement.textContent = '';\n elements.bodyElement.style.display = 'none';\n }\n }\n}\n",
36
- "/**\n * The Toast class is designed to create and manage custom notification elements.\n * It supports different types of notifications such as success, error, warning, and debug,\n * each with customizable properties like heading, body, duration, and click-to-close functionality.\n *\n * - `elements`: Holds references to all important toast elements for efficient manipulation.\n * - `type`: Specifies the type of notification (e.g., success, error).\n * - `heading`: The text displayed as the heading of the notification.\n * - `body`: The main content or body of the notification.\n * - `duration`: How long the notification will be displayed before automatically closing.\n * - `clickToClose`: Allows the notification to be closed on click if set to true.\n *\n * The constructor takes an object with these properties, with `duration` and `clickToClose` falling back to default values if not provided.\n * It then creates the notification element based on the specified type and properties.\n *\n * The `close` method allows for the manual removal of the notification's element from the DOM.\n */\nimport { notify } from './toasts';\nimport { defaultOptions } from './toasts/default-options';\nimport { updateToast } from './toasts/update-toast';\nimport type { ToastOptions, ProgressOptions, ToastType } from './types';\nimport type { ToastElements } from './toasts/types';\n\nexport type { ToastOptions, ProgressOptions };\n\nexport class Toast {\n private elements: ToastElements | null = null;\n private progressOptions?: ProgressOptions;\n\n type: ToastType;\n heading: string;\n body: string;\n duration: number;\n clickToClose: boolean;\n\n constructor({\n type,\n heading,\n body = '',\n duration = defaultOptions.duration,\n clickToClose = defaultOptions.clickToClose,\n progress\n }: ToastOptions) {\n this.type = type;\n this.heading = heading;\n this.body = body;\n this.duration = duration;\n this.clickToClose = clickToClose;\n\n // Handle progress type\n if (type === 'progress') {\n this.progressOptions = {\n total: progress?.total || 100,\n current: progress?.current || 0,\n showPercentage: progress?.showPercentage !== false\n };\n // Progress toasts don't auto-close by default\n if (duration === defaultOptions.duration) {\n this.duration = null;\n }\n }\n\n this.elements = notify[this.type]({\n heading: this.heading,\n body: this.body,\n duration: this.duration,\n clickToClose: this.clickToClose\n });\n\n // Initialize progress bar if this is a progress type\n if (type === 'progress' && this.progressOptions) {\n this.setProgress(this.progressOptions.current);\n }\n }\n\n update(options: { heading?: string; body?: string }): void {\n if (!this.elements) return;\n updateToast(this.elements, options);\n }\n\n /**\n * Updates the progress bar to the specified value\n * @param current - The current progress value (0 to total)\n */\n setProgress(current: number): void {\n if (!this.elements || this.type !== 'progress' || !this.progressOptions)\n return;\n\n const { progressBar, bodyElement, toast } = this.elements;\n\n // Calculate percentage\n const percentage = Math.min(\n 100,\n Math.max(0, (current / this.progressOptions.total) * 100)\n );\n\n // Update progress bar width\n progressBar.style.width = `${percentage}%`;\n progressBar.style.transition = 'width 0.3s ease';\n\n // Update body with percentage if showPercentage is true\n if (this.progressOptions.showPercentage) {\n bodyElement.textContent = `${Math.round(percentage)}%`;\n bodyElement.style.display = 'block';\n }\n\n // Update current value\n this.progressOptions.current = current;\n\n // Dispatch custom event\n toast.dispatchEvent(\n new CustomEvent('vt:progress', {\n detail: { current, total: this.progressOptions.total, percentage }\n })\n );\n }\n\n /**\n * Increments the progress by the specified amount\n * @param amount - The amount to increment by (default: 1)\n */\n incrementProgress(amount: number = 1): void {\n if (!this.progressOptions) return;\n this.setProgress((this.progressOptions.current || 0) + amount);\n }\n\n /**\n * Completes the progress (sets to 100%) and optionally auto-closes after a delay\n * @param autoCloseDelay - Delay in ms before auto-closing (default: 2000ms)\n */\n complete(autoCloseDelay: number = 2000): void {\n if (!this.progressOptions) return;\n\n this.setProgress(this.progressOptions.total);\n\n // Auto-close after delay\n if (autoCloseDelay > 0) {\n setTimeout(() => {\n this.close();\n }, autoCloseDelay);\n }\n }\n\n close() {\n if (!this.elements) return;\n this.elements.toast.remove();\n this.elements = null;\n }\n}\n"
36
+ "/**\n * The Toast class is designed to create and manage custom notification elements.\n * It supports different types of notifications such as success, error, warning, and debug,\n * each with customizable properties like heading, body, duration, and click-to-close functionality.\n *\n * - `elements`: Holds references to all important toast elements for efficient manipulation.\n * - `type`: Specifies the type of notification (e.g., success, error).\n * - `heading`: The text displayed as the heading of the notification.\n * - `body`: The main content or body of the notification.\n * - `duration`: How long the notification will be displayed before automatically closing.\n * - `clickToClose`: Allows the notification to be closed on click if set to true.\n *\n * The constructor takes an object with these properties, with `duration` and `clickToClose` falling back to default values if not provided.\n * It then creates the notification element based on the specified type and properties.\n *\n * The `close` method allows for the manual removal of the notification's element from the DOM.\n */\nimport { notify } from './toasts';\nimport { defaultOptions } from './toasts/default-options';\nimport { updateToast } from './toasts/update-toast';\nimport type { ToastOptions, ProgressOptions, ToastType } from './types';\nimport type { ToastElements } from './toasts/types';\n\nexport type { ToastOptions, ProgressOptions };\n\nexport class Toast {\n private elements: ToastElements | null = null;\n private progressOptions?: ProgressOptions;\n\n type: ToastType;\n heading: string;\n body: string;\n duration: number;\n clickToClose: boolean;\n\n constructor({\n type,\n heading,\n body = '',\n duration = defaultOptions.duration,\n clickToClose = defaultOptions.clickToClose,\n progress\n }: ToastOptions) {\n this.type = type;\n this.heading = heading;\n this.body = body;\n this.duration = duration;\n this.clickToClose = clickToClose;\n\n // Handle progress type\n if (type === 'progress') {\n this.progressOptions = {\n total: progress?.total || 100,\n current: progress?.current || 0,\n showPercentage: progress?.showPercentage !== false\n };\n // Progress toasts don't auto-close by default\n if (duration === defaultOptions.duration) {\n this.duration = null;\n }\n }\n\n this.elements = notify[this.type]({\n heading: this.heading,\n body: this.body,\n duration: this.duration,\n clickToClose: this.clickToClose\n });\n\n // Initialize progress bar if this is a progress type\n if (type === 'progress' && this.progressOptions) {\n this.setProgress(this.progressOptions.current);\n }\n }\n\n update(options: { heading?: string; body?: string }): void {\n if (!this.elements) return;\n updateToast(this.elements, options);\n }\n\n /**\n * Updates the progress bar to the specified value\n * @param current - The current progress value (0 to total)\n * @param progressOptions - Update the options for the progress bar\n */\n setProgress(current: number, progressOptions?: ProgressOptions): void {\n if (!this.elements || this.type !== 'progress' || !this.progressOptions) return;\n\n if (progressOptions)\n this.progressOptions = { ...this.progressOptions, ...progressOptions };\n\n const { progressBar, bodyElement, toast } = this.elements;\n\n // Calculate percentage\n const percentage = Math.min(\n 100,\n Math.max(0, (current / this.progressOptions.total) * 100)\n );\n\n // Update progress bar width\n progressBar.style.width = `${percentage}%`;\n progressBar.style.transition = 'width 0.3s ease';\n\n // Update body with percentage if showPercentage is true\n if (this.progressOptions.showPercentage) {\n bodyElement.textContent = `${Math.round(percentage)}%`;\n bodyElement.style.display = 'block';\n }\n\n // Update current value\n this.progressOptions.current = current;\n\n // Dispatch custom event\n toast.dispatchEvent(\n new CustomEvent('vt:progress', {\n detail: { current, total: this.progressOptions.total, percentage }\n })\n );\n }\n\n /**\n * Increments the progress by the specified amount\n * @param amount - The amount to increment by (default: 1)\n */\n incrementProgress(amount: number = 1): void {\n if (!this.progressOptions) return;\n this.setProgress((this.progressOptions.current || 0) + amount);\n }\n\n /**\n * Completes the progress (sets to 100%) and optionally auto-closes after a delay\n * @param autoCloseDelay - Delay in ms before auto-closing (default: 2000ms)\n */\n complete(autoCloseDelay: number = 2000): void {\n if (!this.progressOptions) return;\n\n this.setProgress(this.progressOptions.total);\n\n // Auto-close after delay\n if (autoCloseDelay > 0) {\n setTimeout(() => {\n this.close();\n }, autoCloseDelay);\n }\n }\n\n close() {\n if (!this.elements) return;\n this.elements.toast.remove();\n this.elements = null;\n }\n}\n"
37
37
  ],
38
- "mappings": "wfAAe;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA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,MAAM,CAAC,EAAoD,CACzD,GAAI,CAAC,KAAK,SAAU,OACpB,GAAY,KAAK,SAAU,CAAO,EAQpC,WAAW,CAAC,EAAiB,EAAyC,CACpE,GAAI,CAAC,KAAK,UAAY,KAAK,OAAS,YAAc,CAAC,KAAK,gBAAiB,OAEzE,GAAI,EACF,KAAK,gBAAkB,IAAK,KAAK,mBAAoB,CAAgB,EAEvE,IAAQ,cAAa,cAAa,SAAU,KAAK,SAG3C,EAAa,KAAK,IACtB,IACA,KAAK,IAAI,EAAI,EAAU,KAAK,gBAAgB,MAAS,GAAG,CAC1D,EAOA,GAJA,EAAY,MAAM,MAAQ,GAAG,KAC7B,EAAY,MAAM,WAAa,kBAG3B,KAAK,gBAAgB,eACvB,EAAY,YAAc,GAAG,KAAK,MAAM,CAAU,KAClD,EAAY,MAAM,QAAU,QAI9B,KAAK,gBAAgB,QAAU,EAG/B,EAAM,cACJ,IAAI,YAAY,cAAe,CAC7B,OAAQ,CAAE,UAAS,MAAO,KAAK,gBAAgB,MAAO,YAAW,CACnE,CAAC,CACH,EAOF,iBAAiB,CAAC,EAAiB,EAAS,CAC1C,GAAI,CAAC,KAAK,gBAAiB,OAC3B,KAAK,aAAa,KAAK,gBAAgB,SAAW,GAAK,CAAM,EAO/D,QAAQ,CAAC,EAAyB,KAAY,CAC5C,GAAI,CAAC,KAAK,gBAAiB,OAK3B,GAHA,KAAK,YAAY,KAAK,gBAAgB,KAAK,EAGvC,EAAiB,EACnB,WAAW,IAAM,CACf,KAAK,MAAM,GACV,CAAc,EAIrB,KAAK,EAAG,CACN,GAAI,CAAC,KAAK,SAAU,OACpB,KAAK,SAAS,MAAM,OAAO,EAC3B,KAAK,SAAW,KAEpB,CV7FA,IAAe,IACb,QACA,YACA,QACF",
39
+ "debugId": "5E90D91B28B73C0064756E2164756E21",
40
40
  "names": []
41
41
  }
@@ -321,7 +321,7 @@
321
321
  --pt-progress-icon: var(--pt-blue-300);
322
322
  --pt-progress-border: var(--pt-blue-600);
323
323
  }
324
- `;var N;var O=d(()=>{N=G});var F=`/* Light theme colors - WCAG AA compliant (4.5:1 contrast ratio for text) */
324
+ `;var N;var F=d(()=>{N=G});var J=`/* Light theme colors - WCAG AA compliant (4.5:1 contrast ratio for text) */
325
325
  :root {
326
326
  --pt-background: var(--pt-white);
327
327
  --pt-text: var(--pt-slate-600);
@@ -351,6 +351,6 @@
351
351
  --pt-progress-icon: var(--pt-blue-600);
352
352
  --pt-progress-border: var(--pt-blue-600);
353
353
  }
354
- `;var J;var R=d(()=>{J=F});var b;var K=d(()=>{y();Z();O();R();b={base:z,light:J,dark:N,auto:T}});function C(r,n){Object.keys(n).forEach((t)=>{if(n[t]&&typeof n[t]==="object"&&!(n[t]instanceof Array)){if(!r[t])r[t]={};C(r[t],n[t])}else r[t]=n[t]})}function u(...r){let n=document.createElement("style");n.innerHTML=r.join(""),document.head.appendChild(n)}var Q='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2102_1592)"><path d="M12 7.5C12 5.84315 10.6569 4.5 9 4.5C7.34315 4.5 6 5.84315 6 7.5V12C6 13.6569 7.34315 15 9 15C10.6569 15 12 13.6569 12 12V7.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M14.25 5.25L12 6.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M3.75 5.25L6 6.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M14.25 14.25L12 12.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M3.75 14.25L6 12.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M15 9.75H12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M3 9.75H6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M7.5 3L8.25 4.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M10.5 3L9.75 4.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g><defs><clipPath id="clip0_2102_1592"><rect width="18" height="18" fill="white"/></clipPath></defs></svg>';var U='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2102_1582)"><g clip-path="url(#clip1_2102_1582)"><path d="M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M11.25 6.75L6.75 11.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M6.75 6.75L11.25 11.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g></g><defs><clipPath id="clip0_2102_1582"><rect width="18" height="18" fill="white"/></clipPath><clipPath id="clip1_2102_1582"><rect width="18" height="18" fill="white"/></clipPath></defs></svg>';var X="<div></div>";var Y='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2102_1564)"><g clip-path="url(#clip1_2102_1564)"><path d="M16.5 8.30999V8.99999C16.4991 10.6173 15.9754 12.191 15.007 13.4864C14.0386 14.7817 12.6775 15.7293 11.1265 16.1879C9.57557 16.6465 7.91794 16.5914 6.40085 16.0309C4.88376 15.4704 3.58849 14.4346 2.70822 13.0778C1.82795 11.721 1.40984 10.116 1.51626 8.50223C1.62267 6.88841 2.24791 5.35223 3.29871 4.12279C4.34951 2.89335 5.76959 2.03653 7.34714 1.6801C8.92469 1.32367 10.5752 1.48674 12.0525 2.14499" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.5 3L9 10.5075L6.75 8.2575" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g></g><defs><clipPath id="clip0_2102_1564"><rect width="18" height="18" fill="white"/></clipPath><clipPath id="clip1_2102_1564"><rect width="18" height="18" fill="white"/></clipPath></defs></svg>';function $(r){let n;switch(r){case"success":n=p.icons.success;break;case"debug":n=p.icons.debug;break;case"error":n=p.icons.error;break;case"warning":n=p.icons.warning;break;case"spinner":n=p.icons.spinner;break;case"info":n=p.icons.info;break;case"progress":n=p.icons.progress;break}return n}var q=d(()=>{k()});var W='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2102_1587)"><path d="M16.2976 13.5L10.2976 3C10.1667 2.76915 9.97702 2.57714 9.74776 2.44355C9.5185 2.30996 9.25791 2.23958 8.99257 2.23958C8.72723 2.23958 8.46664 2.30996 8.23738 2.44355C8.00812 2.57714 7.8184 2.76915 7.68757 3L1.68757 13.5C1.55533 13.729 1.48599 13.9889 1.48658 14.2534C1.48716 14.5178 1.55765 14.7774 1.6909 15.0059C1.82416 15.2343 2.01543 15.4234 2.24534 15.5541C2.47525 15.6848 2.73562 15.7524 3.00007 15.75H15.0001C15.2632 15.7497 15.5217 15.6802 15.7495 15.5485C15.9773 15.4167 16.1665 15.2273 16.298 14.9993C16.4294 14.7714 16.4986 14.5128 16.4985 14.2496C16.4985 13.9864 16.4292 13.7279 16.2976 13.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 6.75V9.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 12.75H9.0075" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g><defs><clipPath id="clip0_2102_1587"><rect width="18" height="18" fill="white"/></clipPath></defs></svg>';var B='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2102_1792)"><path d="M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 12V9" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 6H9.0075" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g><defs><clipPath id="clip0_2102_1792"><rect width="18" height="18" fill="white"/></clipPath></defs></svg>';var D="<div></div>";var I={};H(I,{icons:()=>_});var _;var j=d(()=>{q();_={get:$,svg:{success:Y,warning:W,error:U,debug:Q,spinner:X,info:B,progress:D}}});function sr(){let{icons:r}=(j(),P(I));return{success:r.svg.success,warning:r.svg.warning,error:r.svg.error,debug:r.svg.debug,spinner:r.svg.spinner,info:r.svg.info,progress:r.svg.progress}}function M(r){if(C(p,r),!p.injectCss)return;switch(p.theme){case"none":break;case"light":u(b.light,b.base);break;case"dark":u(b.dark,b.base);break;case"auto":u(b.auto,b.base);break}}var p;var k=d(()=>{K();p={target:void 0,position:"bottom-right",injectCss:!0,theme:"auto",get icons(){if(!this._icons)this._icons=sr();return this._icons},set icons(r){this._icons=r},_icons:void 0,announceToScreenReader:!0,ariaLive:"polite"}});k();var dr={};H(dr,{configure:()=>M,config:()=>p,Toast:()=>f});function g(r,n){let t,{toast:e,progressBar:i}=r;if(n>0)i.style.animationName="vt-progress-bar",i.style.animationDuration=`${n}ms`,i.style.animationTimingFunction="linear",i.style.animationFillMode="forwards",e.addEventListener("mouseover",()=>{i.style.animationPlayState="paused",clearTimeout(t)}),e.addEventListener("mouseout",()=>{i.style.animationPlayState="running",t=setTimeout(()=>{e.style.opacity="0",setTimeout(()=>{if(e.parentNode)e.parentNode.removeChild(e)},250)},n)});t=setTimeout(()=>{e.style.opacity="0",setTimeout(()=>{if(e.parentNode)e.parentNode.removeChild(e)},250)},n)}function E(r){let{toast:n}=r;n.style.cursor="pointer",n.setAttribute("tabindex","0"),n.setAttribute("aria-label","Toast. Press Enter or Space to close."),n.addEventListener("click",()=>{g(r,0)}),n.addEventListener("keydown",(t)=>{if(t.key==="Enter"||t.key===" ")t.preventDefault(),g(r,0)})}j();function rr(r,n,t,e,i){let a=document.createElement("div");a.setAttribute("data-pt-toast",i),a.setAttribute(`data-pt-${n}`,""),a.setAttribute("role","status"),a.setAttribute("aria-atomic","true");let c=document.createElement("div");c.setAttribute("data-pt-heading-wrapper","");let h=document.createElement("div");h.setAttribute("data-pt-icon",""),h.setAttribute(`data-pt-${n}`,""),h.innerHTML=_.get(n);let s=document.createElement("div");s.setAttribute("data-pt-heading","true"),s.textContent=t,c.appendChild(h),c.appendChild(s);let w=document.createElement("div");if(w.setAttribute("data-pt-body",""),w.textContent=e,!e)w.style.display="none";let m=document.createElement("div");return m.setAttribute("data-pt-progress-bar",""),a.appendChild(c),a.appendChild(w),a.appendChild(m),r.appendChild(a),{toast:a,container:r,headingWrapper:c,iconElement:h,headingElement:s,bodyElement:w,progressBar:m}}var v={heading:"",body:"",duration:3500,clickToClose:!0};function nr(r){let n={...v,...r},t=n.heading,e=n.body,i=n.duration,a=n.clickToClose;return{heading:t,body:e,duration:i,clickToClose:a}}k();function tr(r="bottom-right"){let n=document.createElement("div");if(n.setAttribute("data-pt-container",""),n.setAttribute("data-pt-position",r),n.setAttribute("role","region"),n.setAttribute("aria-label","Toasts"),p.ariaLive)n.setAttribute("aria-live",p.ariaLive);return document.body.appendChild(n),n}function S(){if(p.target){if(typeof p.target==="string"){let n=document.querySelector(p.target);if(n)return n}else if(p.target instanceof HTMLElement)return p.target}let r=document.querySelector("[data-pt-container]");if(r)return r;return tr(p.position)}function l(r,n){let{heading:t,body:e,duration:i,clickToClose:a}=nr(n);if(r==="spinner")i=null,a=!1;let c=S(),h=Math.random().toString(36).substring(2,11),s=rr(c,r,t,e,h);if(i)g(s,i);if(a)E(s);return s}var er={success:(r)=>l("success",r),error:(r)=>l("error",r),warning:(r)=>l("warning",r),debug:(r)=>l("debug",r),info:(r)=>l("info",r),spinner:(r)=>l("spinner",r),progress:(r)=>l("progress",r)};function or(r,n){let{heading:t,body:e}=n;if(t!==void 0)r.headingElement.textContent=t;if(e!==void 0)if(e)r.bodyElement.textContent=e,r.bodyElement.style.display="block";else r.bodyElement.textContent="",r.bodyElement.style.display="none"}class f{elements=null;progressOptions;type;heading;body;duration;clickToClose;constructor({type:r,heading:n,body:t="",duration:e=v.duration,clickToClose:i=v.clickToClose,progress:a}){if(this.type=r,this.heading=n,this.body=t,this.duration=e,this.clickToClose=i,r==="progress"){if(this.progressOptions={total:a?.total||100,current:a?.current||0,showPercentage:a?.showPercentage!==!1},e===v.duration)this.duration=null}if(this.elements=er[this.type]({heading:this.heading,body:this.body,duration:this.duration,clickToClose:this.clickToClose}),r==="progress"&&this.progressOptions)this.setProgress(this.progressOptions.current)}update(r){if(!this.elements)return;or(this.elements,r)}setProgress(r){if(!this.elements||this.type!=="progress"||!this.progressOptions)return;let{progressBar:n,bodyElement:t,toast:e}=this.elements,i=Math.min(100,Math.max(0,r/this.progressOptions.total*100));if(n.style.width=`${i}%`,n.style.transition="width 0.3s ease",this.progressOptions.showPercentage)t.textContent=`${Math.round(i)}%`,t.style.display="block";this.progressOptions.current=r,e.dispatchEvent(new CustomEvent("vt:progress",{detail:{current:r,total:this.progressOptions.total,percentage:i}}))}incrementProgress(r=1){if(!this.progressOptions)return;this.setProgress((this.progressOptions.current||0)+r)}complete(r=2000){if(!this.progressOptions)return;if(this.setProgress(this.progressOptions.total),r>0)setTimeout(()=>{this.close()},r)}close(){if(!this.elements)return;this.elements.toast.remove(),this.elements=null}}window.plainToast={Toast:f,configure:M,config:p};})();
354
+ `;var R;var K=d(()=>{R=J});var b;var Q=d(()=>{y();Z();F();K();b={base:z,light:R,dark:N,auto:T}});function C(r,n){Object.keys(n).forEach((t)=>{if(n[t]&&typeof n[t]==="object"&&!(n[t]instanceof Array)){if(!r[t])r[t]={};C(r[t],n[t])}else r[t]=n[t]})}function u(...r){let n=document.createElement("style");n.innerHTML=r.join(""),document.head.appendChild(n)}var U='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2102_1592)"><path d="M12 7.5C12 5.84315 10.6569 4.5 9 4.5C7.34315 4.5 6 5.84315 6 7.5V12C6 13.6569 7.34315 15 9 15C10.6569 15 12 13.6569 12 12V7.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M14.25 5.25L12 6.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M3.75 5.25L6 6.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M14.25 14.25L12 12.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M3.75 14.25L6 12.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M15 9.75H12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M3 9.75H6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M7.5 3L8.25 4.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M10.5 3L9.75 4.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g><defs><clipPath id="clip0_2102_1592"><rect width="18" height="18" fill="white"/></clipPath></defs></svg>';var X='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2102_1582)"><g clip-path="url(#clip1_2102_1582)"><path d="M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M11.25 6.75L6.75 11.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M6.75 6.75L11.25 11.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g></g><defs><clipPath id="clip0_2102_1582"><rect width="18" height="18" fill="white"/></clipPath><clipPath id="clip1_2102_1582"><rect width="18" height="18" fill="white"/></clipPath></defs></svg>';var Y="<div></div>";var $='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2102_1564)"><g clip-path="url(#clip1_2102_1564)"><path d="M16.5 8.30999V8.99999C16.4991 10.6173 15.9754 12.191 15.007 13.4864C14.0386 14.7817 12.6775 15.7293 11.1265 16.1879C9.57557 16.6465 7.91794 16.5914 6.40085 16.0309C4.88376 15.4704 3.58849 14.4346 2.70822 13.0778C1.82795 11.721 1.40984 10.116 1.51626 8.50223C1.62267 6.88841 2.24791 5.35223 3.29871 4.12279C4.34951 2.89335 5.76959 2.03653 7.34714 1.6801C8.92469 1.32367 10.5752 1.48674 12.0525 2.14499" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.5 3L9 10.5075L6.75 8.2575" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g></g><defs><clipPath id="clip0_2102_1564"><rect width="18" height="18" fill="white"/></clipPath><clipPath id="clip1_2102_1564"><rect width="18" height="18" fill="white"/></clipPath></defs></svg>';function q(r){let n;switch(r){case"success":n=p.icons.success;break;case"debug":n=p.icons.debug;break;case"error":n=p.icons.error;break;case"warning":n=p.icons.warning;break;case"spinner":n=p.icons.spinner;break;case"info":n=p.icons.info;break;case"progress":n=p.icons.progress;break}return n}var O=d(()=>{k()});var W='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2102_1587)"><path d="M16.2976 13.5L10.2976 3C10.1667 2.76915 9.97702 2.57714 9.74776 2.44355C9.5185 2.30996 9.25791 2.23958 8.99257 2.23958C8.72723 2.23958 8.46664 2.30996 8.23738 2.44355C8.00812 2.57714 7.8184 2.76915 7.68757 3L1.68757 13.5C1.55533 13.729 1.48599 13.9889 1.48658 14.2534C1.48716 14.5178 1.55765 14.7774 1.6909 15.0059C1.82416 15.2343 2.01543 15.4234 2.24534 15.5541C2.47525 15.6848 2.73562 15.7524 3.00007 15.75H15.0001C15.2632 15.7497 15.5217 15.6802 15.7495 15.5485C15.9773 15.4167 16.1665 15.2273 16.298 14.9993C16.4294 14.7714 16.4986 14.5128 16.4985 14.2496C16.4985 13.9864 16.4292 13.7279 16.2976 13.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 6.75V9.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 12.75H9.0075" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g><defs><clipPath id="clip0_2102_1587"><rect width="18" height="18" fill="white"/></clipPath></defs></svg>';var B='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2102_1792)"><path d="M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 12V9" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 6H9.0075" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g><defs><clipPath id="clip0_2102_1792"><rect width="18" height="18" fill="white"/></clipPath></defs></svg>';var D="<div></div>";var I={};H(I,{icons:()=>_});var _;var j=d(()=>{O();_={get:q,svg:{success:$,warning:W,error:X,debug:U,spinner:Y,info:B,progress:D}}});function sr(){let{icons:r}=(j(),P(I));return{success:r.svg.success,warning:r.svg.warning,error:r.svg.error,debug:r.svg.debug,spinner:r.svg.spinner,info:r.svg.info,progress:r.svg.progress}}function M(r){if(C(p,r),!p.injectCss)return;switch(p.theme){case"none":break;case"light":u(b.light,b.base);break;case"dark":u(b.dark,b.base);break;case"auto":u(b.auto,b.base);break}}var p;var k=d(()=>{Q();p={target:void 0,position:"bottom-right",injectCss:!0,theme:"auto",get icons(){if(!this._icons)this._icons=sr();return this._icons},set icons(r){this._icons=r},_icons:void 0,announceToScreenReader:!0,ariaLive:"polite"}});k();var dr={};H(dr,{configure:()=>M,config:()=>p,Toast:()=>f});function g(r,n){let t,{toast:e,progressBar:a}=r;if(n>0)a.style.animationName="vt-progress-bar",a.style.animationDuration=`${n}ms`,a.style.animationTimingFunction="linear",a.style.animationFillMode="forwards",e.addEventListener("mouseover",()=>{a.style.animationPlayState="paused",clearTimeout(t)}),e.addEventListener("mouseout",()=>{a.style.animationPlayState="running",t=setTimeout(()=>{e.style.opacity="0",setTimeout(()=>{if(e.parentNode)e.parentNode.removeChild(e)},250)},n)});t=setTimeout(()=>{e.style.opacity="0",setTimeout(()=>{if(e.parentNode)e.parentNode.removeChild(e)},250)},n)}function E(r){let{toast:n}=r;n.style.cursor="pointer",n.setAttribute("tabindex","0"),n.setAttribute("aria-label","Toast. Press Enter or Space to close."),n.addEventListener("click",()=>{g(r,0)}),n.addEventListener("keydown",(t)=>{if(t.key==="Enter"||t.key===" ")t.preventDefault(),g(r,0)})}j();function rr(r,n,t,e,a){let i=document.createElement("div");i.setAttribute("data-pt-toast",a),i.setAttribute(`data-pt-${n}`,""),i.setAttribute("role","status"),i.setAttribute("aria-atomic","true");let c=document.createElement("div");c.setAttribute("data-pt-heading-wrapper","");let h=document.createElement("div");h.setAttribute("data-pt-icon",""),h.setAttribute(`data-pt-${n}`,""),h.innerHTML=_.get(n);let s=document.createElement("div");s.setAttribute("data-pt-heading","true"),s.textContent=t,c.appendChild(h),c.appendChild(s);let w=document.createElement("div");if(w.setAttribute("data-pt-body",""),w.textContent=e,!e)w.style.display="none";let m=document.createElement("div");return m.setAttribute("data-pt-progress-bar",""),i.appendChild(c),i.appendChild(w),i.appendChild(m),r.appendChild(i),{toast:i,container:r,headingWrapper:c,iconElement:h,headingElement:s,bodyElement:w,progressBar:m}}var v={heading:"",body:"",duration:3500,clickToClose:!0};function nr(r){let n={...v,...r},t=n.heading,e=n.body,a=n.duration,i=n.clickToClose;return{heading:t,body:e,duration:a,clickToClose:i}}k();function tr(r="bottom-right"){let n=document.createElement("div");if(n.setAttribute("data-pt-container",""),n.setAttribute("data-pt-position",r),n.setAttribute("role","region"),n.setAttribute("aria-label","Toasts"),p.ariaLive)n.setAttribute("aria-live",p.ariaLive);return document.body.appendChild(n),n}function S(){if(p.target){if(typeof p.target==="string"){let n=document.querySelector(p.target);if(n)return n}else if(p.target instanceof HTMLElement)return p.target}let r=document.querySelector("[data-pt-container]");if(r)return r;return tr(p.position)}function l(r,n){let{heading:t,body:e,duration:a,clickToClose:i}=nr(n);if(r==="spinner")a=null,i=!1;let c=S(),h=Math.random().toString(36).substring(2,11),s=rr(c,r,t,e,h);if(a)g(s,a);if(i)E(s);return s}var er={success:(r)=>l("success",r),error:(r)=>l("error",r),warning:(r)=>l("warning",r),debug:(r)=>l("debug",r),info:(r)=>l("info",r),spinner:(r)=>l("spinner",r),progress:(r)=>l("progress",r)};function or(r,n){let{heading:t,body:e}=n;if(t!==void 0)r.headingElement.textContent=t;if(e!==void 0)if(e)r.bodyElement.textContent=e,r.bodyElement.style.display="block";else r.bodyElement.textContent="",r.bodyElement.style.display="none"}class f{elements=null;progressOptions;type;heading;body;duration;clickToClose;constructor({type:r,heading:n,body:t="",duration:e=v.duration,clickToClose:a=v.clickToClose,progress:i}){if(this.type=r,this.heading=n,this.body=t,this.duration=e,this.clickToClose=a,r==="progress"){if(this.progressOptions={total:i?.total||100,current:i?.current||0,showPercentage:i?.showPercentage!==!1},e===v.duration)this.duration=null}if(this.elements=er[this.type]({heading:this.heading,body:this.body,duration:this.duration,clickToClose:this.clickToClose}),r==="progress"&&this.progressOptions)this.setProgress(this.progressOptions.current)}update(r){if(!this.elements)return;or(this.elements,r)}setProgress(r,n){if(!this.elements||this.type!=="progress"||!this.progressOptions)return;if(n)this.progressOptions={...this.progressOptions,...n};let{progressBar:t,bodyElement:e,toast:a}=this.elements,i=Math.min(100,Math.max(0,r/this.progressOptions.total*100));if(t.style.width=`${i}%`,t.style.transition="width 0.3s ease",this.progressOptions.showPercentage)e.textContent=`${Math.round(i)}%`,e.style.display="block";this.progressOptions.current=r,a.dispatchEvent(new CustomEvent("vt:progress",{detail:{current:r,total:this.progressOptions.total,percentage:i}}))}incrementProgress(r=1){if(!this.progressOptions)return;this.setProgress((this.progressOptions.current||0)+r)}complete(r=2000){if(!this.progressOptions)return;if(this.setProgress(this.progressOptions.total),r>0)setTimeout(()=>{this.close()},r)}close(){if(!this.elements)return;this.elements.toast.remove(),this.elements=null}}window.plainToast={Toast:f,configure:M,config:p};})();
355
355
 
356
- //# debugId=B366400E90B8B86364756E2164756E21
356
+ //# debugId=44CCE64ECB42BC5B64756E2164756E21
@@ -33,9 +33,9 @@
33
33
  "import { closeToast } from './close-toast';\nimport { enableClickToClose } from './enable-click-to-close';\nimport { populateToast } from './populate-toast';\nimport { getOptions } from './get-options';\nimport { getOrCreateContainer } from '../container';\nimport type { ToastType, ToastCreateOptions } from '../types';\nimport type { ToastElements } from './types';\n\n/**\n * Creates and displays a toast with specified options.\n *\n * @param type - The type of the toast (e.g., 'success', 'error')\n * @param userOptions - The options for the toast\n * @returns The toast elements object with all important elements pre-queried\n */\nexport function createToast(\n type: ToastType,\n userOptions: ToastCreateOptions\n): ToastElements {\n let { heading, body, duration, clickToClose } = getOptions(userOptions);\n\n if (type === 'spinner') {\n duration = null;\n clickToClose = false;\n }\n\n // Get or create the toast container\n const container = getOrCreateContainer();\n\n // Generate a unique ID for the toast\n const toastId = Math.random().toString(36).substring(2, 11);\n\n // Create the toast and get all elements\n const elements = populateToast(container, type, heading, body, toastId);\n\n // Close the toast after a specified duration\n if (duration) closeToast(elements, duration);\n\n // Enable click-to-close functionality\n if (clickToClose) enableClickToClose(elements);\n\n // Return the toast elements for further manipulation\n return elements;\n}\n",
34
34
  "import { createToast } from './create-toast';\nimport type { ToastCreateOptions } from '../types';\n\nexport const notify = {\n success: (options: ToastCreateOptions) => createToast('success', options),\n error: (options: ToastCreateOptions) => createToast('error', options),\n warning: (options: ToastCreateOptions) => createToast('warning', options),\n debug: (options: ToastCreateOptions) => createToast('debug', options),\n info: (options: ToastCreateOptions) => createToast('info', options),\n spinner: (options: ToastCreateOptions) => createToast('spinner', options),\n progress: (options: ToastCreateOptions) => createToast('progress', options)\n};\n",
35
35
  "import type { ToastElements } from './types';\n\nexport interface UpdateOptions {\n heading?: string;\n body?: string;\n}\n\n/**\n * Updates the content of a toast using pre-queried elements.\n *\n * @param elements - The toast elements object\n * @param userOptions - The options to update (heading and/or body)\n */\nexport function updateToast(\n elements: ToastElements,\n userOptions: UpdateOptions\n): void {\n const { heading, body } = userOptions;\n\n // Update the heading if provided\n if (heading !== undefined) {\n elements.headingElement.textContent = heading;\n }\n\n // Update the body if provided\n if (body !== undefined) {\n if (body) {\n elements.bodyElement.textContent = body;\n elements.bodyElement.style.display = 'block';\n } else {\n elements.bodyElement.textContent = '';\n elements.bodyElement.style.display = 'none';\n }\n }\n}\n",
36
- "/**\n * The Toast class is designed to create and manage custom notification elements.\n * It supports different types of notifications such as success, error, warning, and debug,\n * each with customizable properties like heading, body, duration, and click-to-close functionality.\n *\n * - `elements`: Holds references to all important toast elements for efficient manipulation.\n * - `type`: Specifies the type of notification (e.g., success, error).\n * - `heading`: The text displayed as the heading of the notification.\n * - `body`: The main content or body of the notification.\n * - `duration`: How long the notification will be displayed before automatically closing.\n * - `clickToClose`: Allows the notification to be closed on click if set to true.\n *\n * The constructor takes an object with these properties, with `duration` and `clickToClose` falling back to default values if not provided.\n * It then creates the notification element based on the specified type and properties.\n *\n * The `close` method allows for the manual removal of the notification's element from the DOM.\n */\nimport { notify } from './toasts';\nimport { defaultOptions } from './toasts/default-options';\nimport { updateToast } from './toasts/update-toast';\nimport type { ToastOptions, ProgressOptions, ToastType } from './types';\nimport type { ToastElements } from './toasts/types';\n\nexport type { ToastOptions, ProgressOptions };\n\nexport class Toast {\n private elements: ToastElements | null = null;\n private progressOptions?: ProgressOptions;\n\n type: ToastType;\n heading: string;\n body: string;\n duration: number;\n clickToClose: boolean;\n\n constructor({\n type,\n heading,\n body = '',\n duration = defaultOptions.duration,\n clickToClose = defaultOptions.clickToClose,\n progress\n }: ToastOptions) {\n this.type = type;\n this.heading = heading;\n this.body = body;\n this.duration = duration;\n this.clickToClose = clickToClose;\n\n // Handle progress type\n if (type === 'progress') {\n this.progressOptions = {\n total: progress?.total || 100,\n current: progress?.current || 0,\n showPercentage: progress?.showPercentage !== false\n };\n // Progress toasts don't auto-close by default\n if (duration === defaultOptions.duration) {\n this.duration = null;\n }\n }\n\n this.elements = notify[this.type]({\n heading: this.heading,\n body: this.body,\n duration: this.duration,\n clickToClose: this.clickToClose\n });\n\n // Initialize progress bar if this is a progress type\n if (type === 'progress' && this.progressOptions) {\n this.setProgress(this.progressOptions.current);\n }\n }\n\n update(options: { heading?: string; body?: string }): void {\n if (!this.elements) return;\n updateToast(this.elements, options);\n }\n\n /**\n * Updates the progress bar to the specified value\n * @param current - The current progress value (0 to total)\n */\n setProgress(current: number): void {\n if (!this.elements || this.type !== 'progress' || !this.progressOptions)\n return;\n\n const { progressBar, bodyElement, toast } = this.elements;\n\n // Calculate percentage\n const percentage = Math.min(\n 100,\n Math.max(0, (current / this.progressOptions.total) * 100)\n );\n\n // Update progress bar width\n progressBar.style.width = `${percentage}%`;\n progressBar.style.transition = 'width 0.3s ease';\n\n // Update body with percentage if showPercentage is true\n if (this.progressOptions.showPercentage) {\n bodyElement.textContent = `${Math.round(percentage)}%`;\n bodyElement.style.display = 'block';\n }\n\n // Update current value\n this.progressOptions.current = current;\n\n // Dispatch custom event\n toast.dispatchEvent(\n new CustomEvent('vt:progress', {\n detail: { current, total: this.progressOptions.total, percentage }\n })\n );\n }\n\n /**\n * Increments the progress by the specified amount\n * @param amount - The amount to increment by (default: 1)\n */\n incrementProgress(amount: number = 1): void {\n if (!this.progressOptions) return;\n this.setProgress((this.progressOptions.current || 0) + amount);\n }\n\n /**\n * Completes the progress (sets to 100%) and optionally auto-closes after a delay\n * @param autoCloseDelay - Delay in ms before auto-closing (default: 2000ms)\n */\n complete(autoCloseDelay: number = 2000): void {\n if (!this.progressOptions) return;\n\n this.setProgress(this.progressOptions.total);\n\n // Auto-close after delay\n if (autoCloseDelay > 0) {\n setTimeout(() => {\n this.close();\n }, autoCloseDelay);\n }\n }\n\n close() {\n if (!this.elements) return;\n this.elements.toast.remove();\n this.elements = null;\n }\n}\n"
36
+ "/**\n * The Toast class is designed to create and manage custom notification elements.\n * It supports different types of notifications such as success, error, warning, and debug,\n * each with customizable properties like heading, body, duration, and click-to-close functionality.\n *\n * - `elements`: Holds references to all important toast elements for efficient manipulation.\n * - `type`: Specifies the type of notification (e.g., success, error).\n * - `heading`: The text displayed as the heading of the notification.\n * - `body`: The main content or body of the notification.\n * - `duration`: How long the notification will be displayed before automatically closing.\n * - `clickToClose`: Allows the notification to be closed on click if set to true.\n *\n * The constructor takes an object with these properties, with `duration` and `clickToClose` falling back to default values if not provided.\n * It then creates the notification element based on the specified type and properties.\n *\n * The `close` method allows for the manual removal of the notification's element from the DOM.\n */\nimport { notify } from './toasts';\nimport { defaultOptions } from './toasts/default-options';\nimport { updateToast } from './toasts/update-toast';\nimport type { ToastOptions, ProgressOptions, ToastType } from './types';\nimport type { ToastElements } from './toasts/types';\n\nexport type { ToastOptions, ProgressOptions };\n\nexport class Toast {\n private elements: ToastElements | null = null;\n private progressOptions?: ProgressOptions;\n\n type: ToastType;\n heading: string;\n body: string;\n duration: number;\n clickToClose: boolean;\n\n constructor({\n type,\n heading,\n body = '',\n duration = defaultOptions.duration,\n clickToClose = defaultOptions.clickToClose,\n progress\n }: ToastOptions) {\n this.type = type;\n this.heading = heading;\n this.body = body;\n this.duration = duration;\n this.clickToClose = clickToClose;\n\n // Handle progress type\n if (type === 'progress') {\n this.progressOptions = {\n total: progress?.total || 100,\n current: progress?.current || 0,\n showPercentage: progress?.showPercentage !== false\n };\n // Progress toasts don't auto-close by default\n if (duration === defaultOptions.duration) {\n this.duration = null;\n }\n }\n\n this.elements = notify[this.type]({\n heading: this.heading,\n body: this.body,\n duration: this.duration,\n clickToClose: this.clickToClose\n });\n\n // Initialize progress bar if this is a progress type\n if (type === 'progress' && this.progressOptions) {\n this.setProgress(this.progressOptions.current);\n }\n }\n\n update(options: { heading?: string; body?: string }): void {\n if (!this.elements) return;\n updateToast(this.elements, options);\n }\n\n /**\n * Updates the progress bar to the specified value\n * @param current - The current progress value (0 to total)\n * @param progressOptions - Update the options for the progress bar\n */\n setProgress(current: number, progressOptions?: ProgressOptions): void {\n if (!this.elements || this.type !== 'progress' || !this.progressOptions) return;\n\n if (progressOptions)\n this.progressOptions = { ...this.progressOptions, ...progressOptions };\n\n const { progressBar, bodyElement, toast } = this.elements;\n\n // Calculate percentage\n const percentage = Math.min(\n 100,\n Math.max(0, (current / this.progressOptions.total) * 100)\n );\n\n // Update progress bar width\n progressBar.style.width = `${percentage}%`;\n progressBar.style.transition = 'width 0.3s ease';\n\n // Update body with percentage if showPercentage is true\n if (this.progressOptions.showPercentage) {\n bodyElement.textContent = `${Math.round(percentage)}%`;\n bodyElement.style.display = 'block';\n }\n\n // Update current value\n this.progressOptions.current = current;\n\n // Dispatch custom event\n toast.dispatchEvent(\n new CustomEvent('vt:progress', {\n detail: { current, total: this.progressOptions.total, percentage }\n })\n );\n }\n\n /**\n * Increments the progress by the specified amount\n * @param amount - The amount to increment by (default: 1)\n */\n incrementProgress(amount: number = 1): void {\n if (!this.progressOptions) return;\n this.setProgress((this.progressOptions.current || 0) + amount);\n }\n\n /**\n * Completes the progress (sets to 100%) and optionally auto-closes after a delay\n * @param autoCloseDelay - Delay in ms before auto-closing (default: 2000ms)\n */\n complete(autoCloseDelay: number = 2000): void {\n if (!this.progressOptions) return;\n\n this.setProgress(this.progressOptions.total);\n\n // Auto-close after delay\n if (autoCloseDelay > 0) {\n setTimeout(() => {\n this.close();\n }, autoCloseDelay);\n }\n }\n\n close() {\n if (!this.elements) return;\n this.elements.toast.remove();\n this.elements = null;\n }\n}\n"
37
37
  ],
38
- "mappings": "4fAAe;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;MCEF,iBAAa,QCFX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;A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Y,MAAM,QAAU,QAI9B,KAAK,gBAAgB,QAAU,EAG/B,EAAM,cACJ,IAAI,YAAY,cAAe,CAC7B,OAAQ,CAAE,UAAS,MAAO,KAAK,gBAAgB,MAAO,YAAW,CACnE,CAAC,CACH,EAOF,iBAAiB,CAAC,EAAiB,EAAS,CAC1C,GAAI,CAAC,KAAK,gBAAiB,OAC3B,KAAK,aAAa,KAAK,gBAAgB,SAAW,GAAK,CAAM,EAO/D,QAAQ,CAAC,EAAyB,KAAY,CAC5C,GAAI,CAAC,KAAK,gBAAiB,OAK3B,GAHA,KAAK,YAAY,KAAK,gBAAgB,KAAK,EAGvC,EAAiB,EACnB,WAAW,IAAM,CACf,KAAK,MAAM,GACV,CAAc,EAIrB,KAAK,EAAG,CACN,GAAI,CAAC,KAAK,SAAU,OACpB,KAAK,SAAS,MAAM,OAAO,EAC3B,KAAK,SAAW,KAEpB,CVpIA,OAAO,WAAa,CAClB,QACA,YACA,QACF",
39
+ "debugId": "44CCE64ECB42BC5B64756E2164756E21",
40
40
  "names": []
41
41
  }
@@ -16,8 +16,9 @@ export declare class Toast {
16
16
  /**
17
17
  * Updates the progress bar to the specified value
18
18
  * @param current - The current progress value (0 to total)
19
+ * @param progressOptions - Update the options for the progress bar
19
20
  */
20
- setProgress(current: number): void;
21
+ setProgress(current: number, progressOptions?: ProgressOptions): void;
21
22
  /**
22
23
  * Increments the progress by the specified amount
23
24
  * @param amount - The amount to increment by (default: 1)
@@ -1 +1 @@
1
- {"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../src/toast.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGxE,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE9C,qBAAa,KAAK;IAChB,OAAO,CAAC,QAAQ,CAA8B;IAC9C,OAAO,CAAC,eAAe,CAAC,CAAkB;IAE1C,IAAI,EAAE,SAAS,CAAC;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,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,eAAe,CAAC,EAAE,eAAe,GAAG,IAAI;IAmCrE;;;OAGG;IACH,iBAAiB,CAAC,MAAM,GAAE,MAAU,GAAG,IAAI;IAK3C;;;OAGG;IACH,QAAQ,CAAC,cAAc,GAAE,MAAa,GAAG,IAAI;IAa7C,KAAK;CAKN"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plain-toast",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Lightweight, accessible toast notifications with zero dependencies",
5
5
  "keywords": [
6
6
  "toast",