@everymatrix/cashier-page 1.77.5 → 1.77.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/components/{CashierError-Cwc-x7-n.cjs → CashierError-85r_lbiV.cjs} +1 -1
  2. package/components/{CashierError-BfI-dhBA.js → CashierError-CteHkwfB.js} +1 -1
  3. package/components/{CashierError-BpHmWAV4.js → CashierError-In4OzIIA.js} +1 -1
  4. package/components/{CashierHeader-Dg0BUudB.js → CashierHeader-BeeK80Nf.js} +1 -1
  5. package/components/{CashierHeader-gXrzXYdb.js → CashierHeader-DGh4L4vF.js} +1 -1
  6. package/components/{CashierHeader-BmFnfiuo.cjs → CashierHeader-bssm74cT.cjs} +1 -1
  7. package/components/{CashierIframeRedirect-yYx9jiwQ.cjs → CashierIframeRedirect-B2PCgM3_.cjs} +1 -1
  8. package/components/{CashierIframeRedirect-CK8r-ttq.js → CashierIframeRedirect-CWs1zVlC.js} +3 -3
  9. package/components/{CashierIframeRedirect-B2qLdGXs.js → CashierIframeRedirect-tRttmemn.js} +3 -3
  10. package/components/{CashierMethodDetails-C8Aujapw.cjs → CashierMethodDetails-0UiFXxGB.cjs} +3 -3
  11. package/components/{CashierMethodDetails-DUoeeyvh.js → CashierMethodDetails-CXghdR2g.js} +6 -6
  12. package/components/{CashierMethodDetails-CMJ3AZ1w.js → CashierMethodDetails-tCy-EPwr.js} +6 -6
  13. package/components/{CashierMethodsList-Dg2r9AfY.js → CashierMethodsList-CoALKisj.js} +2 -2
  14. package/components/{CashierMethodsList-CGzThcle.js → CashierMethodsList-D-nRx8wu.js} +2 -2
  15. package/components/{CashierMethodsList-CPkX_Quy.cjs → CashierMethodsList-D5XG8usA.cjs} +1 -1
  16. package/components/{CashierModal-DPu1DYOz.js → CashierModal-C49IE2Ol.js} +1 -1
  17. package/components/{CashierModal-ChQ4v8zb.cjs → CashierModal-CQu7VSLY.cjs} +1 -1
  18. package/components/{CashierModal-BH_3F3zD.js → CashierModal-CZVHRmZu.js} +1 -1
  19. package/components/{CashierNotifications-CvyXyy3e.cjs → CashierNotifications-CX0e5h0X.cjs} +1 -1
  20. package/components/{CashierNotifications-DJkU9Qld.js → CashierNotifications-Cdscp8qT.js} +1 -1
  21. package/components/{CashierNotifications-DalsZ-_b.js → CashierNotifications-DmdtMYZ2.js} +1 -1
  22. package/components/{CashierPage-BPE6GQlI.js → CashierPage-CGIvMHE7.js} +10 -10
  23. package/components/{CashierPage-BE-30dWS.cjs → CashierPage-D9oKaypy.cjs} +1 -1
  24. package/components/{CashierPage-VLpP-BiO.js → CashierPage-DlXd_cZV.js} +10 -10
  25. package/components/{CashierReceiptPage-DFrIxtqP.js → CashierReceiptPage-BlcpLLCo.js} +3 -3
  26. package/components/{CashierReceiptPage-BBA-8TRN.js → CashierReceiptPage-Bv6emon7.js} +3 -3
  27. package/components/{CashierReceiptPage-CO3ZVCdS.cjs → CashierReceiptPage-DE_LkOm4.cjs} +1 -1
  28. package/components/{CashierSessionExpirationModal-BD8QkE1D.js → CashierSessionExpirationModal-3Uya7xVh.js} +3 -3
  29. package/components/{CashierSessionExpirationModal-IPLl_Pgb.cjs → CashierSessionExpirationModal-5KkgklG1.cjs} +1 -1
  30. package/components/{CashierSessionExpirationModal-DXyum0E9.js → CashierSessionExpirationModal-Dxm2K4pN.js} +3 -3
  31. package/components/{CashierSpinner-ApTRgAwC.js → CashierSpinner-Cz3Wh-IF.js} +1 -1
  32. package/components/{CashierSpinner-DLi9367a.cjs → CashierSpinner-DWl8E_o4.cjs} +1 -1
  33. package/components/{CashierSpinner-BtqGjC-Z.js → CashierSpinner-lg9LHAJP.js} +1 -1
  34. package/components/{CashierTransactionHistory-iszMiNkq.js → CashierTransactionHistory-B02OAEKa.js} +6 -6
  35. package/components/{CashierTransactionHistory-DUK3EI4M.cjs → CashierTransactionHistory-BjR4_or_.cjs} +1 -1
  36. package/components/{CashierTransactionHistory-B6b6N-V8.js → CashierTransactionHistory-CXDAkYHG.js} +6 -6
  37. package/components/{CashierVerifications-BeUxv_g0.js → CashierVerifications-BaE9KdGs.js} +2 -2
  38. package/components/{CashierVerifications-D71jldwG.cjs → CashierVerifications-M462VMAt.cjs} +1 -1
  39. package/components/{CashierVerifications-C2--15rP.js → CashierVerifications-c1_MVNTC.js} +2 -2
  40. package/components/{TxnStatusIcon-Q02UYwzX.cjs → TxnStatusIcon-CTlOyy_y.cjs} +1 -1
  41. package/components/{TxnStatusIcon-DLRJaQNz.js → TxnStatusIcon-DAlixEXq.js} +1 -1
  42. package/components/{TxnStatusIcon-B464k5IP.js → TxnStatusIcon-rx3aknw5.js} +1 -1
  43. package/components/{TxnTypeIcons-BfcVtJl5.cjs → TxnTypeIcons-CBrT37yr.cjs} +1 -1
  44. package/components/{TxnTypeIcons-Ct2XFW1C.js → TxnTypeIcons-Dvyjxf9B.js} +1 -1
  45. package/components/{TxnTypeIcons-DROxy56q.js → TxnTypeIcons-xUx3dWMd.js} +1 -1
  46. package/es2015/cashier-page.cjs +1 -1
  47. package/es2015/cashier-page.js +1 -1
  48. package/esnext/cashier-page.js +1 -1
  49. package/package.json +1 -1
  50. package/stencil/index-256b7d4e-7jcaQ7rC.js +543 -0
  51. package/stencil/index-256b7d4e-BnoVkrXr.cjs +1 -0
  52. package/stencil/index-256b7d4e-CSg5Fmgt.js +559 -0
  53. package/stencil/ui-image-8975d115-BIwRmPA-.cjs +1 -0
  54. package/stencil/ui-image-8975d115-C8pJTCfZ.js +71 -0
  55. package/stencil/ui-image-8975d115-DxO6YS6C.js +71 -0
  56. package/stencil/{ui-image-e4W3SkhP.js → ui-image-B0TLi195.js} +1 -1
  57. package/stencil/{ui-image-C0iABVS5.cjs → ui-image-CLll1WRz.cjs} +1 -1
  58. package/stencil/{ui-image-BRBJSkg1.js → ui-image-CayMADxC.js} +1 -1
  59. package/stencil/{ui-image_2-CLk629jW.cjs → ui-image_2-CXGY1IY3.cjs} +1 -1
  60. package/stencil/{ui-image_2-VgK3B8gQ.js → ui-image_2-DwuycSdC.js} +2 -2
  61. package/stencil/{ui-image_2-B21W_djK.js → ui-image_2-rhY_9uoo.js} +2 -2
  62. package/stencil/index-242ac81a-BqeIndhr.js +0 -554
  63. package/stencil/index-242ac81a-CI4JxPRf.js +0 -538
  64. package/stencil/index-242ac81a-CjjM4VND.cjs +0 -1
  65. package/stencil/ui-image-2ff23cd5-BHGIWJop.cjs +0 -1
  66. package/stencil/ui-image-2ff23cd5-D0rXudCW.js +0 -86
  67. package/stencil/ui-image-2ff23cd5-DCLQ0SIO.js +0 -86
@@ -0,0 +1,71 @@
1
+ import { r as n, h as t, H as r, g as a } from "./index-256b7d4e-7jcaQ7rC.js";
2
+ const h = ".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}", o = h, d = class {
3
+ constructor(i) {
4
+ n(this, i), this.hasStarted = !1, this._onLoad = () => {
5
+ this.imgLoaded = !0;
6
+ }, this.src = void 0, this.width = void 0, this.height = void 0, this.alt = void 0, this.styles = void 0, this.detectDistance = "200px", this.loading = "lazy", this.imgLoaded = !1;
7
+ }
8
+ onSrcChange() {
9
+ this.loading !== "eager" && (this.imgLoaded = !1, this.hasStarted = !1, (typeof window > "u" || !("IntersectionObserver" in window)) && this.beginLoad());
10
+ }
11
+ onLoadingChange(i, e) {
12
+ i !== e && (this.cleanupObserver(), i === "eager" ? (this.imgEl && this.src && (this.imgEl.src = this.src), this.hasStarted = !0) : (this.imgLoaded = !1, this.hasStarted = !1, this.setupObserver()));
13
+ }
14
+ componentDidLoad() {
15
+ this.loading !== "eager" && this.setupObserver();
16
+ }
17
+ disconnectedCallback() {
18
+ this.cleanupObserver(), this.imgEl && (this.imgEl.src = "");
19
+ }
20
+ canUseIO() {
21
+ return typeof window < "u" && "IntersectionObserver" in window;
22
+ }
23
+ setupObserver() {
24
+ if (this.loading !== "eager") {
25
+ if (!this.canUseIO()) {
26
+ this.beginLoad();
27
+ return;
28
+ }
29
+ this.io = new IntersectionObserver((i) => {
30
+ var e;
31
+ for (const s of i)
32
+ if (s.isIntersecting) {
33
+ this.beginLoad(), (e = this.io) === null || e === void 0 || e.unobserve(s.target), this.cleanupObserver();
34
+ break;
35
+ }
36
+ }, { root: null, rootMargin: this.detectDistance, threshold: 0 }), this.io.observe(this.el);
37
+ }
38
+ }
39
+ cleanupObserver() {
40
+ var i;
41
+ (i = this.io) === null || i === void 0 || i.disconnect(), this.io = void 0;
42
+ }
43
+ beginLoad() {
44
+ this.hasStarted || this.imgEl && this.src && (this.hasStarted = !0, this.imgEl.src = this.src, this.imgEl.complete && this.imgEl.naturalWidth > 0 && (this.imgLoaded = !0));
45
+ }
46
+ get showSkeleton() {
47
+ return this.loading !== "eager" && !this.imgLoaded;
48
+ }
49
+ renderEager() {
50
+ return t(r, { class: "HostContainer" }, t("img", { src: this.src, decoding: "async", style: this.styles, class: "UiContainer Visible", alt: this.alt, width: this.width, height: this.height, loading: "eager" }));
51
+ }
52
+ renderLazy() {
53
+ return t(r, { class: "HostContainer", "aria-busy": this.imgLoaded ? "false" : "true" }, this.showSkeleton && t("ui-skeleton", { class: "UiContainer", structure: "image", width: "100%", height: "100%" }), t("img", { ref: (i) => this.imgEl = i, src: void 0, decoding: "async", style: this.styles, onLoad: this._onLoad, class: `UiContainer ${this.imgLoaded ? "Visible" : "Hidden"}`, alt: this.alt, width: this.width, height: this.height, loading: "lazy" }));
54
+ }
55
+ render() {
56
+ return this.loading === "eager" ? this.renderEager() : this.renderLazy();
57
+ }
58
+ get el() {
59
+ return a(this);
60
+ }
61
+ static get watchers() {
62
+ return {
63
+ src: ["onSrcChange"],
64
+ loading: ["onLoadingChange"]
65
+ };
66
+ }
67
+ };
68
+ d.style = o;
69
+ export {
70
+ d as U
71
+ };
@@ -14,7 +14,7 @@ var s = (r, e, a) => new Promise((g, n) => {
14
14
  }, i = (t) => t.done ? g(t.value) : Promise.resolve(t.value).then(m, u);
15
15
  i((a = a.apply(r, e)).next());
16
16
  });
17
- import { b as c, p as l } from "./index-242ac81a-BqeIndhr.js";
17
+ import { b as c, p as l } from "./index-256b7d4e-CSg5Fmgt.js";
18
18
  import { g as d } from "./app-globals-0f993ce5-Cgk0KVAu.js";
19
19
  var h = () => {
20
20
  const r = import.meta.url, e = {};
@@ -1 +1 @@
1
- "use strict";var c=(t,r,i)=>new Promise((d,s)=>{var g=e=>{try{n(i.next(e))}catch(a){s(a)}},l=e=>{try{n(i.throw(e))}catch(a){s(a)}},n=e=>e.done?d(e.value):Promise.resolve(e.value).then(g,l);n((i=i.apply(t,r)).next())});const u=require("./index-242ac81a-CjjM4VND.cjs"),m=require("./app-globals-0f993ce5-BD-Q0C8R.cjs");var o=typeof document!="undefined"?document.currentScript:null,h=()=>{const t=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:o&&o.tagName.toUpperCase()==="SCRIPT"&&o.src||new URL("stencil/ui-image-C0iABVS5.cjs",document.baseURI).href,r={};return t!==""&&(r.resourcesUrl=new URL(".",t).href),u.promiseResolve(r)};h().then(t=>c(exports,null,function*(){return yield m.globalScripts(),u.bootstrapLazy([["ui-image_2",[[0,"ui-image",{src:[1],width:[1],height:[1],alt:[1],styles:[8],detectDistance:[1,"detect-distance"],loading:[1],imgLoaded:[32]},null,{src:["onSrcChange"],loading:["onLoadingChange"]}],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}]]]],t)}));
1
+ "use strict";var c=(t,r,i)=>new Promise((d,s)=>{var g=e=>{try{n(i.next(e))}catch(a){s(a)}},l=e=>{try{n(i.throw(e))}catch(a){s(a)}},n=e=>e.done?d(e.value):Promise.resolve(e.value).then(g,l);n((i=i.apply(t,r)).next())});const u=require("./index-256b7d4e-BnoVkrXr.cjs"),m=require("./app-globals-0f993ce5-BD-Q0C8R.cjs");var o=typeof document!="undefined"?document.currentScript:null,h=()=>{const t=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:o&&o.tagName.toUpperCase()==="SCRIPT"&&o.src||new URL("stencil/ui-image-CLll1WRz.cjs",document.baseURI).href,r={};return t!==""&&(r.resourcesUrl=new URL(".",t).href),u.promiseResolve(r)};h().then(t=>c(exports,null,function*(){return yield m.globalScripts(),u.bootstrapLazy([["ui-image_2",[[0,"ui-image",{src:[1],width:[1],height:[1],alt:[1],styles:[8],detectDistance:[1,"detect-distance"],loading:[1],imgLoaded:[32]},null,{src:["onSrcChange"],loading:["onLoadingChange"]}],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}]]]],t)}));
@@ -1,4 +1,4 @@
1
- import { b as e, p as a } from "./index-242ac81a-CI4JxPRf.js";
1
+ import { b as e, p as a } from "./index-256b7d4e-7jcaQ7rC.js";
2
2
  import { g as i } from "./app-globals-0f993ce5-Cgk0KVAu.js";
3
3
  var o = () => {
4
4
  const t = import.meta.url, r = {};
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./ui-image-2ff23cd5-BHGIWJop.cjs"),t=require("./index-242ac81a-CjjM4VND.cjs"),s=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}",a=s,n=class{constructor(e){t.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,i){i!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"Image "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,i)=>t.h("div",{key:i,class:"Text "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Circle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./ui-image-8975d115-BIwRmPA-.cjs"),t=require("./index-256b7d4e-BnoVkrXr.cjs"),s=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}",a=s,n=class{constructor(e){t.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,i){i!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"Image "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,i)=>t.h("div",{key:i,class:"Text "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Circle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
2
2
  :host {
3
3
  --emw-skeleton-logo-width: ${this.stylingValue.width};
4
4
  --emw-skeleton-logo-height: ${this.stylingValue.height};
@@ -1,5 +1,5 @@
1
- import { U as m } from "./ui-image-2ff23cd5-DCLQ0SIO.js";
2
- import { r, h as t, H as n } from "./index-242ac81a-BqeIndhr.js";
1
+ import { U as m } from "./ui-image-8975d115-C8pJTCfZ.js";
2
+ import { r, h as t, H as n } from "./index-256b7d4e-CSg5Fmgt.js";
3
3
  const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", a = s, l = class {
4
4
  constructor(e) {
5
5
  r(this, e), this.stylingValue = {
@@ -1,5 +1,5 @@
1
- import { U as m } from "./ui-image-2ff23cd5-D0rXudCW.js";
2
- import { r, h as t, H as n } from "./index-242ac81a-CI4JxPRf.js";
1
+ import { U as m } from "./ui-image-8975d115-DxO6YS6C.js";
2
+ import { r, h as t, H as n } from "./index-256b7d4e-7jcaQ7rC.js";
3
3
  const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", a = s, l = class {
4
4
  constructor(e) {
5
5
  r(this, e), this.stylingValue = {