@everymatrix/casino-page-nd 1.61.1 → 1.62.1
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/components/{CasinoCalendar-CActgJfo.js → CasinoCalendar-BqKTPcTA.js} +815 -772
- package/components/{CasinoCalendar-DEQsjGYf.js → CasinoCalendar-COGjnTBp.js} +803 -760
- package/components/CasinoCalendar-CTYPczGs.cjs +19 -0
- package/components/{CasinoCalendarDailyDetails-IPdibvfl.cjs → CasinoCalendarDailyDetails-0k3Mbp7j.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-CNvOUDQF.js → CasinoCalendarDailyDetails-B-2HEN0k.js} +3 -3
- package/components/{CasinoCalendarDailyDetails-CC6TR9nQ.js → CasinoCalendarDailyDetails-B1Kbh42-.js} +3 -3
- package/components/{CasinoCalendarDailyItem-ChqfPKS5.js → CasinoCalendarDailyItem-BAo9XQZN.js} +2 -2
- package/components/{CasinoCalendarDailyItem-BhZaE5Na.js → CasinoCalendarDailyItem-Du2TyLo9.js} +2 -2
- package/components/{CasinoCalendarDailyItem-C8h665gX.cjs → CasinoCalendarDailyItem-HqKMb6b5.cjs} +1 -1
- package/components/CasinoCollectionsProviders-25tyT_nE.cjs +1 -0
- package/components/{CasinoCollectionsProviders-BjsqtCyq.js → CasinoCollectionsProviders-B6-NH1uG.js} +33 -33
- package/components/{CasinoCollectionsProviders-Ch8nNgV3.js → CasinoCollectionsProviders-CISr8kKd.js} +31 -31
- package/components/{CasinoFavoritesSectionNd-BOdBDWfO.js → CasinoFavoritesSectionNd-CbphhnLn.js} +2 -2
- package/components/{CasinoFavoritesSectionNd-kDkqdg8u.js → CasinoFavoritesSectionNd-DHUJrUU6.js} +2 -2
- package/components/{CasinoFavoritesSectionNd-CU52aCqN.cjs → CasinoFavoritesSectionNd-DKmvqg-7.cjs} +1 -1
- package/components/CasinoFilter-BLpga2AP.js +645 -0
- package/components/CasinoFilter-Bux0JP7a.cjs +1 -0
- package/components/CasinoFilter-ZArji2Fo.js +644 -0
- package/components/CasinoGameThumbnailNd-1QS0O_TH.cjs +39 -0
- package/components/{CasinoGameThumbnailNd-D2J-44u8.js → CasinoGameThumbnailNd-CAuklq8V.js} +1405 -1420
- package/components/{CasinoGameThumbnailNd-EAXyywew.js → CasinoGameThumbnailNd-NvuQBwre.js} +1417 -1464
- package/components/CasinoGamesCategorySectionNd-B7ZaM7ag.cjs +1 -0
- package/components/{CasinoGamesCategorySectionNd-B22uq9iz.js → CasinoGamesCategorySectionNd-Cbw2wQ8K.js} +777 -763
- package/components/{CasinoGamesCategorySectionNd-CKGdrnsq.js → CasinoGamesCategorySectionNd-DDDMBQk9.js} +728 -715
- package/components/CasinoJackpotBanner-CeqExh_j.cjs +1 -0
- package/components/{CasinoJackpotBanner-Cw2f34zI.js → CasinoJackpotBanner-DFBWbvH2.js} +66 -66
- package/components/{CasinoJackpotBanner-D9xUtwg7.js → CasinoJackpotBanner-DQ1IsIFk.js} +108 -108
- package/components/{CasinoLastPlayedSectionNd-C2KVsKB8.js → CasinoLastPlayedSectionNd-B4d306_p.js} +2 -2
- package/components/{CasinoLastPlayedSectionNd-BnQqvnRg.js → CasinoLastPlayedSectionNd-IINk8wFh.js} +2 -2
- package/components/{CasinoLastPlayedSectionNd-B9wnOT_-.cjs → CasinoLastPlayedSectionNd-z9nMr7zu.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-Dhg_Mhhn.js → CasinoMostPlayedSectionNd-3LRNG3-N.js} +2 -2
- package/components/{CasinoMostPlayedSectionNd-E4Rt0XLc.cjs → CasinoMostPlayedSectionNd-CWc2Iwfb.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-KAUSjntF.js → CasinoMostPlayedSectionNd-DCKYnHCZ.js} +2 -2
- package/components/{CasinoMyGamesNd-B-2vthJ9.js → CasinoMyGamesNd-BZguCNXP.js} +4 -4
- package/components/{CasinoMyGamesNd-h2Xe27Rp.cjs → CasinoMyGamesNd-JoGjxyy8.cjs} +1 -1
- package/components/{CasinoMyGamesNd-B8HugjzK.js → CasinoMyGamesNd-QCMTjWs6.js} +4 -4
- package/components/CasinoPageNd-B12444EL.js +4091 -0
- package/components/CasinoPageNd-BZGi1FWq.js +4110 -0
- package/components/CasinoPageNd-DT2p4P7g.cjs +1 -0
- package/components/{CasinoRandomGame-DRZn6Pg6.js → CasinoRandomGame-BNih6bp6.js} +189 -190
- package/components/{CasinoRandomGame-CT5OhEAx.js → CasinoRandomGame-Cio8WMk-.js} +150 -151
- package/components/CasinoRandomGame-xw4dbeuI.cjs +2 -0
- package/components/{CasinoSearchNd-CHDdx0Wz.js → CasinoSearchNd-BRztOwiq.js} +3 -3
- package/components/{CasinoSearchNd-Ct3Vb_Ak.js → CasinoSearchNd-C2mClTE_.js} +3 -3
- package/components/{CasinoSearchNd-BY39yzwt.cjs → CasinoSearchNd-DO6ByWSX.cjs} +1 -1
- package/components/{CasinoSort-CzpvwvLX.js → CasinoSort-BM9d9KRg.js} +1 -1
- package/components/{CasinoSort-DS3nszcz.cjs → CasinoSort-DQBRVKih.cjs} +1 -1
- package/components/{CasinoSort-BlhgMyWl.js → CasinoSort-OZn7Nqjm.js} +1 -1
- package/components/{CasinoWinners-CylytjaN.js → CasinoWinners-DvUHEbqa.js} +4 -4
- package/components/{CasinoWinners-DyXEB2s9.js → CasinoWinners-Dz0f6qwR.js} +4 -4
- package/components/{CasinoWinners--IAJcisz.cjs → CasinoWinners-tcuAKE5W.cjs} +1 -1
- package/components/{GeneralAnimationLoading-nHUDiPDj.cjs → GeneralAnimationLoading-C48CX7Rb.cjs} +1 -1
- package/components/{GeneralAnimationLoading-Bges0e48.js → GeneralAnimationLoading-CGyjjsF2.js} +1 -1
- package/components/{GeneralAnimationLoading-jv8-NmS3.js → GeneralAnimationLoading-DFkXKRPZ.js} +1 -1
- package/es2015/casino-page-nd.cjs +1 -1
- package/es2015/casino-page-nd.js +1 -1
- package/esnext/casino-page-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-CCalHFFZ.js +558 -0
- package/stencil/index-97d17652-CeszPuI-.cjs +1 -0
- package/stencil/index-97d17652-De_e2iwD.js +542 -0
- package/stencil/{index-b2193545-k_uiu1dU.js → index-b2193545-60VR4wV3.js} +1 -1
- package/stencil/{index-b2193545-CGYrx6SV.js → index-b2193545-LYFajSbf.js} +1 -1
- package/stencil/{index-b2193545-DU7jU8hT.cjs → index-b2193545-nJb2J-aJ.cjs} +1 -1
- package/stencil/ui-image-3911756b-B-U8CxGn.cjs +1 -0
- package/stencil/ui-image-3911756b-C-PJ3oso.js +39 -0
- package/stencil/ui-image-3911756b-D1cmuQAe.js +39 -0
- package/stencil/ui-image-CUjXE1FQ.js +25 -0
- package/stencil/ui-image-DO4by88q.js +7 -0
- package/stencil/ui-image-DgVuZYOM.cjs +1 -0
- package/stencil/ui-image_2-8wL-gGdE.cjs +73 -0
- package/stencil/ui-image_2-BcBI-Hq7.js +154 -0
- package/stencil/ui-image_2-CIsvIZfV.js +154 -0
- package/stencil/{ui-skeleton-6d1c12ae-4HBL8qol.js → ui-skeleton-1cb75d00-BWUmrSx4.js} +4 -4
- package/stencil/{ui-skeleton-6d1c12ae-C3POR2WV.cjs → ui-skeleton-1cb75d00-C9ZtbYpX.cjs} +2 -2
- package/stencil/{ui-skeleton-6d1c12ae-f1sFu8zZ.js → ui-skeleton-1cb75d00-D5AevndQ.js} +4 -4
- package/stencil/{ui-skeleton-22AocHRT.js → ui-skeleton-CDhNSEbX.js} +2 -2
- package/stencil/{ui-skeleton-Di9b-pPK.cjs → ui-skeleton-CUmVjhrn.cjs} +1 -1
- package/stencil/{ui-skeleton-CMD3xF0X.js → ui-skeleton-D5ACyLBl.js} +2 -2
- package/components/CasinoCalendar-BEwHkg9Z.cjs +0 -19
- package/components/CasinoCollectionsProviders-u4eeC1UZ.cjs +0 -1
- package/components/CasinoFilter-BNn_67vk.cjs +0 -1
- package/components/CasinoFilter-C8Pt8Aoj.js +0 -633
- package/components/CasinoFilter-mKJD6Kdm.js +0 -632
- package/components/CasinoGameThumbnailNd-v0f-g55t.cjs +0 -39
- package/components/CasinoGamesCategorySectionNd-D-dd4gkg.cjs +0 -1
- package/components/CasinoJackpotBanner-Bpr0u9EJ.cjs +0 -1
- package/components/CasinoPageNd-BytAYVFB.js +0 -3955
- package/components/CasinoPageNd-QVOrpNeF.cjs +0 -1
- package/components/CasinoPageNd-ra1F2u5E.js +0 -3936
- package/components/CasinoRandomGame-CSI8B4dX.cjs +0 -2
- package/stencil/index-b7bbd57e-BMsMsYAr.js +0 -550
- package/stencil/index-b7bbd57e-CPxyz2y0.js +0 -534
- package/stencil/index-b7bbd57e-CiQAmzc6.cjs +0 -1
- package/stencil/ui-image-38c3c15f--IPbitii.js +0 -39
- package/stencil/ui-image-38c3c15f-CQXMTl7T.js +0 -39
- package/stencil/ui-image-38c3c15f-Dv8v2u8d.cjs +0 -1
- package/stencil/ui-image-CV8AJ9cY.js +0 -29
- package/stencil/ui-image-DG3xEaHN.js +0 -11
- package/stencil/ui-image-LuWVcxjH.cjs +0 -1
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { r as n, h as s, H as r, g as a } from "./index-97d17652-CCalHFFZ.js";
|
|
2
|
+
const o = ".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;transition:opacity 0.5s ease-in-out}", d = o, h = class {
|
|
3
|
+
constructor(e) {
|
|
4
|
+
n(this, e), this.src = void 0, this.width = void 0, this.height = void 0, this.alt = void 0, this.styles = void 0, this.detectDistance = "200px", this.imgLoaded = !1, this.shouldLoad = !1;
|
|
5
|
+
}
|
|
6
|
+
handleSrc() {
|
|
7
|
+
if (!this.shouldLoad)
|
|
8
|
+
return;
|
|
9
|
+
const e = new Image();
|
|
10
|
+
e.onload = () => {
|
|
11
|
+
this.image && (this.image.src = this.src, this.imgLoaded = !0);
|
|
12
|
+
}, e.src = this.src;
|
|
13
|
+
}
|
|
14
|
+
componentDidLoad() {
|
|
15
|
+
"IntersectionObserver" in window ? (this.el.__uxComponent = this, window.EMUxObserver || (window.EMUxObserver = new IntersectionObserver((e) => {
|
|
16
|
+
e.forEach((i) => {
|
|
17
|
+
if (i.isIntersecting) {
|
|
18
|
+
const t = i.target.__uxComponent;
|
|
19
|
+
t && (t.shouldLoad = !0, t.handleSrc()), window.EMUxObserver.unobserve(i.target);
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}, { rootMargin: this.detectDistance })), window.EMUxObserver.observe(this.el)) : (this.shouldLoad = !0, this.handleSrc());
|
|
23
|
+
}
|
|
24
|
+
render() {
|
|
25
|
+
return s(r, { key: "527318220c6b48375943e897fe0e53e0f33e67ed", class: "HostContainer" }, !this.imgLoaded && s("ui-skeleton", { key: "e5c49a781ff2fac5c796cb6a3f8d334dce7be35b", class: "UiContainer", structure: "image", width: "100%", height: "100%" }), s("img", { key: "09dfbf8f52c2c899246590790f2780a84bdeefc3", ref: (e) => this.image = e, src: this.shouldLoad ? this.src : void 0, onLoad: () => this.imgLoaded = !0, style: this.styles, class: `UiContainer ${this.imgLoaded ? "Visible" : "Hidden"}`, alt: this.alt, width: this.width, height: this.height, loading: "lazy" }));
|
|
26
|
+
}
|
|
27
|
+
get el() {
|
|
28
|
+
return a(this);
|
|
29
|
+
}
|
|
30
|
+
static get watchers() {
|
|
31
|
+
return {
|
|
32
|
+
src: ["handleSrc"]
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
h.style = d;
|
|
37
|
+
export {
|
|
38
|
+
h as U
|
|
39
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
var n = (t, o, a) => new Promise((m, s) => {
|
|
2
|
+
var c = (r) => {
|
|
3
|
+
try {
|
|
4
|
+
e(a.next(r));
|
|
5
|
+
} catch (i) {
|
|
6
|
+
s(i);
|
|
7
|
+
}
|
|
8
|
+
}, l = (r) => {
|
|
9
|
+
try {
|
|
10
|
+
e(a.throw(r));
|
|
11
|
+
} catch (i) {
|
|
12
|
+
s(i);
|
|
13
|
+
}
|
|
14
|
+
}, e = (r) => r.done ? m(r.value) : Promise.resolve(r.value).then(c, l);
|
|
15
|
+
e((a = a.apply(t, o)).next());
|
|
16
|
+
});
|
|
17
|
+
import { b as u, p as d } from "./index-97d17652-CCalHFFZ.js";
|
|
18
|
+
import { a as g } from "./app-globals-0f993ce5-DfNOCk8l.js";
|
|
19
|
+
var h = () => {
|
|
20
|
+
const t = import.meta.url, o = {};
|
|
21
|
+
return t !== "" && (o.resourcesUrl = new URL(".", t).href), d(o);
|
|
22
|
+
};
|
|
23
|
+
h().then((t) => n(void 0, null, function* () {
|
|
24
|
+
return yield g(), u([["ui-image_2", [[0, "ui-image", { src: [1], width: [1], height: [1], alt: [1], styles: [8], detectDistance: [1, "detect-distance"], imgLoaded: [32], shouldLoad: [32] }, null, { src: ["handleSrc"] }], [0, "ui-skeleton", { structure: [1], width: [1], height: [1], borderRadius: [2, "border-radius"], marginBottom: [2, "margin-bottom"], marginTop: [2, "margin-top"], marginLeft: [2, "margin-left"], marginRight: [2, "margin-right"], animation: [4], rows: [2], size: [1], color: [1], primaryColor: [1, "primary-color"], secondaryColor: [1, "secondary-color"] }, null, { structure: ["handleStructureChange"] }]]]], t);
|
|
25
|
+
}));
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { b as o, p as a } from "./index-97d17652-De_e2iwD.js";
|
|
2
|
+
import { a as e } from "./app-globals-0f993ce5-DfNOCk8l.js";
|
|
3
|
+
var i = () => {
|
|
4
|
+
const r = import.meta.url, t = {};
|
|
5
|
+
return r !== "" && (t.resourcesUrl = new URL(".", r).href), a(t);
|
|
6
|
+
};
|
|
7
|
+
i().then(async (r) => (await e(), o([["ui-image_2", [[0, "ui-image", { src: [1], width: [1], height: [1], alt: [1], styles: [8], detectDistance: [1, "detect-distance"], imgLoaded: [32], shouldLoad: [32] }, null, { src: ["handleSrc"] }], [0, "ui-skeleton", { structure: [1], width: [1], height: [1], borderRadius: [2, "border-radius"], marginBottom: [2, "margin-bottom"], marginTop: [2, "margin-top"], marginLeft: [2, "margin-left"], marginRight: [2, "margin-right"], animation: [4], rows: [2], size: [1], color: [1], primaryColor: [1, "primary-color"], secondaryColor: [1, "secondary-color"] }, null, { structure: ["handleStructureChange"] }]]]], r)));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var s=(r,t,i)=>new Promise((l,c)=>{var d=e=>{try{o(i.next(e))}catch(n){c(n)}},m=e=>{try{o(i.throw(e))}catch(n){c(n)}},o=e=>e.done?l(e.value):Promise.resolve(e.value).then(d,m);o((i=i.apply(r,t)).next())});const u=require("./index-97d17652-CeszPuI-.cjs"),g=require("./app-globals-0f993ce5-4b17CI_n.cjs");var a=typeof document!="undefined"?document.currentScript:null,h=()=>{const r=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:a&&a.tagName.toUpperCase()==="SCRIPT"&&a.src||new URL("stencil/ui-image-DgVuZYOM.cjs",document.baseURI).href,t={};return r!==""&&(t.resourcesUrl=new URL(".",r).href),u.promiseResolve(t)};h().then(r=>s(exports,null,function*(){return yield g.globalScripts$1(),u.bootstrapLazy([["ui-image_2",[[0,"ui-image",{src:[1],width:[1],height:[1],alt:[1],styles:[8],detectDistance:[1,"detect-distance"],imgLoaded:[32],shouldLoad:[32]},null,{src:["handleSrc"]}],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[2,"border-radius"],marginBottom:[2,"margin-bottom"],marginTop:[2,"margin-top"],marginLeft:[2,"margin-left"],marginRight:[2,"margin-right"],animation:[4],rows:[2],size:[1],color:[1],primaryColor:[1,"primary-color"],secondaryColor:[1,"secondary-color"]},null,{structure:["handleStructureChange"]}]]]],r)}));
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./ui-image-3911756b-B-U8CxGn.cjs"),t=require("./index-97d17652-CeszPuI-.cjs"),n=":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.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, 2px)}.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, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.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, 5px);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, inherit)}.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, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}",s=n,o=class{constructor(e){t.registerInstance(this,e),this.structure=void 0,this.width=void 0,this.height=void 0,this.borderRadius=void 0,this.marginBottom=void 0,this.marginTop=void 0,this.marginLeft=void 0,this.marginRight=void 0,this.animation=!0,this.rows=void 0,this.size=void 0,this.color=void 0,this.primaryColor=void 0,this.secondaryColor=void 0}handleStructureChange(e,r){r!==e&&this.handleStructure(e)}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,r)=>t.h("div",{key:r,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
|
+
:host {
|
|
3
|
+
--emw-skeleton-logo-width: ${this.width};
|
|
4
|
+
--emw-skeleton-logo-height: ${this.height};
|
|
5
|
+
--emw-skeleton-logo-border-radius: ${this.borderRadius}px;
|
|
6
|
+
--emw-skeleton-logo-margin-bottom: ${this.marginBottom}px;
|
|
7
|
+
--emw-skeleton-logo-margin-top: ${this.marginTop}px;
|
|
8
|
+
--emw-skeleton-logo-margin-left: ${this.marginLeft}px;
|
|
9
|
+
--emw-skeleton-logo-margin-right: ${this.marginRight}px;
|
|
10
|
+
--emw-skeleton-logo-background: ${this.color};
|
|
11
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
12
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
13
|
+
}
|
|
14
|
+
`;break;case"image":e=`
|
|
15
|
+
:host {
|
|
16
|
+
--emw-skeleton-image-width: ${this.width};
|
|
17
|
+
--emw-skeleton-image-height: ${this.height};
|
|
18
|
+
--emw-skeleton-image-border-radius: ${this.borderRadius}px;
|
|
19
|
+
--emw-skeleton-image-margin-bottom: ${this.marginBottom}px;
|
|
20
|
+
--emw-skeleton-image-margin-top: ${this.marginTop}px;
|
|
21
|
+
--emw-skeleton-image-margin-left: ${this.marginLeft}px;
|
|
22
|
+
--emw-skeleton-image-margin-right: ${this.marginRight}px;
|
|
23
|
+
--emw-skeleton-image-background: ${this.color};
|
|
24
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
25
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
26
|
+
}
|
|
27
|
+
`;break;case"title":e=`
|
|
28
|
+
:host {
|
|
29
|
+
--emw-skeleton-title-width: ${this.width};
|
|
30
|
+
--emw-skeleton-title-height: ${this.height};
|
|
31
|
+
--emw-skeleton-title-border-radius: ${this.borderRadius}px;
|
|
32
|
+
--emw-skeleton-title-margin-bottom: ${this.marginBottom}px;
|
|
33
|
+
--emw-skeleton-title-margin-top: ${this.marginTop}px;
|
|
34
|
+
--emw-skeleton-title-margin-left: ${this.marginLeft}px;
|
|
35
|
+
--emw-skeleton-title-margin-right: ${this.marginRight}px;
|
|
36
|
+
--emw-skeleton-title-background: ${this.color};
|
|
37
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
38
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
39
|
+
}
|
|
40
|
+
`;break;case"text":e=`
|
|
41
|
+
:host {
|
|
42
|
+
--emw-skeleton-text-width: ${this.width};
|
|
43
|
+
--emw-skeleton-text-height: ${this.height};
|
|
44
|
+
--emw-skeleton-text-border-radius: ${this.borderRadius}px;
|
|
45
|
+
--emw-skeleton-text-margin-bottom: ${this.marginBottom}px;
|
|
46
|
+
--emw-skeleton-text-margin-top: ${this.marginTop}px;
|
|
47
|
+
--emw-skeleton-text-margin-left: ${this.marginLeft}px;
|
|
48
|
+
--emw-skeleton-text-margin-right: ${this.marginRight}px;
|
|
49
|
+
--emw-skeleton-text-background: ${this.color};
|
|
50
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
51
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
52
|
+
}
|
|
53
|
+
`;break;case"rectangle":e=`
|
|
54
|
+
:host {
|
|
55
|
+
--emw-skeleton-rectangle-width: ${this.width};
|
|
56
|
+
--emw-skeleton-rectangle-height: ${this.height};
|
|
57
|
+
--emw-skeleton-rectangle-border-radius: ${this.borderRadius}px;
|
|
58
|
+
--emw-skeleton-rectangle-margin-bottom: ${this.marginBottom}px;
|
|
59
|
+
--emw-skeleton-rectangle-margin-top: ${this.marginTop}px;
|
|
60
|
+
--emw-skeleton-rectangle-margin-left: ${this.marginLeft}px;
|
|
61
|
+
--emw-skeleton-rectangle-margin-right: ${this.marginRight}px;
|
|
62
|
+
--emw-skeleton-rectangle-background: ${this.color};
|
|
63
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
64
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
65
|
+
}
|
|
66
|
+
`;break;case"circle":e=`
|
|
67
|
+
:host {
|
|
68
|
+
--emw-skeleton-circle-size: ${this.size};
|
|
69
|
+
--emw-skeleton-circle-background: ${this.color};
|
|
70
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
71
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
72
|
+
}
|
|
73
|
+
`;break;default:e=""}return t.h(t.Host,{key:"3bb792a149db7fe732d5cbfa092cdb4d6ca0689e"},t.h("style",{key:"a4607599b60659f385ae2660513e38b383739674"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};o.style=s;exports.ui_image=i.UiImage;exports.ui_skeleton=o;
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { U as h } from "./ui-image-3911756b-D1cmuQAe.js";
|
|
2
|
+
import { r as o, h as t, H as i } from "./index-97d17652-CCalHFFZ.js";
|
|
3
|
+
const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.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, 2px)}.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, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.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, 5px);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, inherit)}.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, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}", s = n, a = class {
|
|
4
|
+
constructor(e) {
|
|
5
|
+
o(this, e), this.structure = void 0, this.width = void 0, this.height = void 0, this.borderRadius = void 0, this.marginBottom = void 0, this.marginTop = void 0, this.marginLeft = void 0, this.marginRight = void 0, this.animation = !0, this.rows = void 0, this.size = void 0, this.color = void 0, this.primaryColor = void 0, this.secondaryColor = void 0;
|
|
6
|
+
}
|
|
7
|
+
handleStructureChange(e, r) {
|
|
8
|
+
r !== e && this.handleStructure(e);
|
|
9
|
+
}
|
|
10
|
+
handleStructure(e) {
|
|
11
|
+
switch (e) {
|
|
12
|
+
case "logo":
|
|
13
|
+
return this.renderLogo();
|
|
14
|
+
case "image":
|
|
15
|
+
return this.renderImage();
|
|
16
|
+
case "title":
|
|
17
|
+
return this.renderTitle();
|
|
18
|
+
case "text":
|
|
19
|
+
return this.renderText();
|
|
20
|
+
case "rectangle":
|
|
21
|
+
return this.renderRectangle();
|
|
22
|
+
case "circle":
|
|
23
|
+
return this.renderCircle();
|
|
24
|
+
default:
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
renderLogo() {
|
|
29
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Logo " + (this.animation ? "Skeleton" : "") }));
|
|
30
|
+
}
|
|
31
|
+
renderImage() {
|
|
32
|
+
return t("div", { class: "Image " + (this.animation ? "Skeleton" : "") });
|
|
33
|
+
}
|
|
34
|
+
renderTitle() {
|
|
35
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Title " + (this.animation ? "Skeleton" : "") }));
|
|
36
|
+
}
|
|
37
|
+
renderText() {
|
|
38
|
+
return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, r) => t("div", { key: r, class: "Text " + (this.animation ? "Skeleton" : "") })));
|
|
39
|
+
}
|
|
40
|
+
renderRectangle() {
|
|
41
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Rectangle " + (this.animation ? "Skeleton" : "") }));
|
|
42
|
+
}
|
|
43
|
+
renderCircle() {
|
|
44
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Circle " + (this.animation ? "Skeleton" : "") }));
|
|
45
|
+
}
|
|
46
|
+
render() {
|
|
47
|
+
let e = "";
|
|
48
|
+
switch (this.structure) {
|
|
49
|
+
case "logo":
|
|
50
|
+
e = `
|
|
51
|
+
:host {
|
|
52
|
+
--emw-skeleton-logo-width: ${this.width};
|
|
53
|
+
--emw-skeleton-logo-height: ${this.height};
|
|
54
|
+
--emw-skeleton-logo-border-radius: ${this.borderRadius}px;
|
|
55
|
+
--emw-skeleton-logo-margin-bottom: ${this.marginBottom}px;
|
|
56
|
+
--emw-skeleton-logo-margin-top: ${this.marginTop}px;
|
|
57
|
+
--emw-skeleton-logo-margin-left: ${this.marginLeft}px;
|
|
58
|
+
--emw-skeleton-logo-margin-right: ${this.marginRight}px;
|
|
59
|
+
--emw-skeleton-logo-background: ${this.color};
|
|
60
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
61
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
62
|
+
}
|
|
63
|
+
`;
|
|
64
|
+
break;
|
|
65
|
+
case "image":
|
|
66
|
+
e = `
|
|
67
|
+
:host {
|
|
68
|
+
--emw-skeleton-image-width: ${this.width};
|
|
69
|
+
--emw-skeleton-image-height: ${this.height};
|
|
70
|
+
--emw-skeleton-image-border-radius: ${this.borderRadius}px;
|
|
71
|
+
--emw-skeleton-image-margin-bottom: ${this.marginBottom}px;
|
|
72
|
+
--emw-skeleton-image-margin-top: ${this.marginTop}px;
|
|
73
|
+
--emw-skeleton-image-margin-left: ${this.marginLeft}px;
|
|
74
|
+
--emw-skeleton-image-margin-right: ${this.marginRight}px;
|
|
75
|
+
--emw-skeleton-image-background: ${this.color};
|
|
76
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
77
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
78
|
+
}
|
|
79
|
+
`;
|
|
80
|
+
break;
|
|
81
|
+
case "title":
|
|
82
|
+
e = `
|
|
83
|
+
:host {
|
|
84
|
+
--emw-skeleton-title-width: ${this.width};
|
|
85
|
+
--emw-skeleton-title-height: ${this.height};
|
|
86
|
+
--emw-skeleton-title-border-radius: ${this.borderRadius}px;
|
|
87
|
+
--emw-skeleton-title-margin-bottom: ${this.marginBottom}px;
|
|
88
|
+
--emw-skeleton-title-margin-top: ${this.marginTop}px;
|
|
89
|
+
--emw-skeleton-title-margin-left: ${this.marginLeft}px;
|
|
90
|
+
--emw-skeleton-title-margin-right: ${this.marginRight}px;
|
|
91
|
+
--emw-skeleton-title-background: ${this.color};
|
|
92
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
93
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
94
|
+
}
|
|
95
|
+
`;
|
|
96
|
+
break;
|
|
97
|
+
case "text":
|
|
98
|
+
e = `
|
|
99
|
+
:host {
|
|
100
|
+
--emw-skeleton-text-width: ${this.width};
|
|
101
|
+
--emw-skeleton-text-height: ${this.height};
|
|
102
|
+
--emw-skeleton-text-border-radius: ${this.borderRadius}px;
|
|
103
|
+
--emw-skeleton-text-margin-bottom: ${this.marginBottom}px;
|
|
104
|
+
--emw-skeleton-text-margin-top: ${this.marginTop}px;
|
|
105
|
+
--emw-skeleton-text-margin-left: ${this.marginLeft}px;
|
|
106
|
+
--emw-skeleton-text-margin-right: ${this.marginRight}px;
|
|
107
|
+
--emw-skeleton-text-background: ${this.color};
|
|
108
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
109
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
110
|
+
}
|
|
111
|
+
`;
|
|
112
|
+
break;
|
|
113
|
+
case "rectangle":
|
|
114
|
+
e = `
|
|
115
|
+
:host {
|
|
116
|
+
--emw-skeleton-rectangle-width: ${this.width};
|
|
117
|
+
--emw-skeleton-rectangle-height: ${this.height};
|
|
118
|
+
--emw-skeleton-rectangle-border-radius: ${this.borderRadius}px;
|
|
119
|
+
--emw-skeleton-rectangle-margin-bottom: ${this.marginBottom}px;
|
|
120
|
+
--emw-skeleton-rectangle-margin-top: ${this.marginTop}px;
|
|
121
|
+
--emw-skeleton-rectangle-margin-left: ${this.marginLeft}px;
|
|
122
|
+
--emw-skeleton-rectangle-margin-right: ${this.marginRight}px;
|
|
123
|
+
--emw-skeleton-rectangle-background: ${this.color};
|
|
124
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
125
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
126
|
+
}
|
|
127
|
+
`;
|
|
128
|
+
break;
|
|
129
|
+
case "circle":
|
|
130
|
+
e = `
|
|
131
|
+
:host {
|
|
132
|
+
--emw-skeleton-circle-size: ${this.size};
|
|
133
|
+
--emw-skeleton-circle-background: ${this.color};
|
|
134
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
135
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
136
|
+
}
|
|
137
|
+
`;
|
|
138
|
+
break;
|
|
139
|
+
default:
|
|
140
|
+
e = "";
|
|
141
|
+
}
|
|
142
|
+
return t(i, { key: "3bb792a149db7fe732d5cbfa092cdb4d6ca0689e" }, t("style", { key: "a4607599b60659f385ae2660513e38b383739674" }, e), this.handleStructure(this.structure));
|
|
143
|
+
}
|
|
144
|
+
static get watchers() {
|
|
145
|
+
return {
|
|
146
|
+
structure: ["handleStructureChange"]
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
a.style = s;
|
|
151
|
+
export {
|
|
152
|
+
h as ui_image,
|
|
153
|
+
a as ui_skeleton
|
|
154
|
+
};
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { U as h } from "./ui-image-3911756b-C-PJ3oso.js";
|
|
2
|
+
import { r as o, h as t, H as i } from "./index-97d17652-De_e2iwD.js";
|
|
3
|
+
const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.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, 2px)}.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, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.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, 5px);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, inherit)}.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, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}", s = n, a = class {
|
|
4
|
+
constructor(e) {
|
|
5
|
+
o(this, e), this.structure = void 0, this.width = void 0, this.height = void 0, this.borderRadius = void 0, this.marginBottom = void 0, this.marginTop = void 0, this.marginLeft = void 0, this.marginRight = void 0, this.animation = !0, this.rows = void 0, this.size = void 0, this.color = void 0, this.primaryColor = void 0, this.secondaryColor = void 0;
|
|
6
|
+
}
|
|
7
|
+
handleStructureChange(e, r) {
|
|
8
|
+
r !== e && this.handleStructure(e);
|
|
9
|
+
}
|
|
10
|
+
handleStructure(e) {
|
|
11
|
+
switch (e) {
|
|
12
|
+
case "logo":
|
|
13
|
+
return this.renderLogo();
|
|
14
|
+
case "image":
|
|
15
|
+
return this.renderImage();
|
|
16
|
+
case "title":
|
|
17
|
+
return this.renderTitle();
|
|
18
|
+
case "text":
|
|
19
|
+
return this.renderText();
|
|
20
|
+
case "rectangle":
|
|
21
|
+
return this.renderRectangle();
|
|
22
|
+
case "circle":
|
|
23
|
+
return this.renderCircle();
|
|
24
|
+
default:
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
renderLogo() {
|
|
29
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Logo " + (this.animation ? "Skeleton" : "") }));
|
|
30
|
+
}
|
|
31
|
+
renderImage() {
|
|
32
|
+
return t("div", { class: "Image " + (this.animation ? "Skeleton" : "") });
|
|
33
|
+
}
|
|
34
|
+
renderTitle() {
|
|
35
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Title " + (this.animation ? "Skeleton" : "") }));
|
|
36
|
+
}
|
|
37
|
+
renderText() {
|
|
38
|
+
return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, r) => t("div", { key: r, class: "Text " + (this.animation ? "Skeleton" : "") })));
|
|
39
|
+
}
|
|
40
|
+
renderRectangle() {
|
|
41
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Rectangle " + (this.animation ? "Skeleton" : "") }));
|
|
42
|
+
}
|
|
43
|
+
renderCircle() {
|
|
44
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Circle " + (this.animation ? "Skeleton" : "") }));
|
|
45
|
+
}
|
|
46
|
+
render() {
|
|
47
|
+
let e = "";
|
|
48
|
+
switch (this.structure) {
|
|
49
|
+
case "logo":
|
|
50
|
+
e = `
|
|
51
|
+
:host {
|
|
52
|
+
--emw-skeleton-logo-width: ${this.width};
|
|
53
|
+
--emw-skeleton-logo-height: ${this.height};
|
|
54
|
+
--emw-skeleton-logo-border-radius: ${this.borderRadius}px;
|
|
55
|
+
--emw-skeleton-logo-margin-bottom: ${this.marginBottom}px;
|
|
56
|
+
--emw-skeleton-logo-margin-top: ${this.marginTop}px;
|
|
57
|
+
--emw-skeleton-logo-margin-left: ${this.marginLeft}px;
|
|
58
|
+
--emw-skeleton-logo-margin-right: ${this.marginRight}px;
|
|
59
|
+
--emw-skeleton-logo-background: ${this.color};
|
|
60
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
61
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
62
|
+
}
|
|
63
|
+
`;
|
|
64
|
+
break;
|
|
65
|
+
case "image":
|
|
66
|
+
e = `
|
|
67
|
+
:host {
|
|
68
|
+
--emw-skeleton-image-width: ${this.width};
|
|
69
|
+
--emw-skeleton-image-height: ${this.height};
|
|
70
|
+
--emw-skeleton-image-border-radius: ${this.borderRadius}px;
|
|
71
|
+
--emw-skeleton-image-margin-bottom: ${this.marginBottom}px;
|
|
72
|
+
--emw-skeleton-image-margin-top: ${this.marginTop}px;
|
|
73
|
+
--emw-skeleton-image-margin-left: ${this.marginLeft}px;
|
|
74
|
+
--emw-skeleton-image-margin-right: ${this.marginRight}px;
|
|
75
|
+
--emw-skeleton-image-background: ${this.color};
|
|
76
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
77
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
78
|
+
}
|
|
79
|
+
`;
|
|
80
|
+
break;
|
|
81
|
+
case "title":
|
|
82
|
+
e = `
|
|
83
|
+
:host {
|
|
84
|
+
--emw-skeleton-title-width: ${this.width};
|
|
85
|
+
--emw-skeleton-title-height: ${this.height};
|
|
86
|
+
--emw-skeleton-title-border-radius: ${this.borderRadius}px;
|
|
87
|
+
--emw-skeleton-title-margin-bottom: ${this.marginBottom}px;
|
|
88
|
+
--emw-skeleton-title-margin-top: ${this.marginTop}px;
|
|
89
|
+
--emw-skeleton-title-margin-left: ${this.marginLeft}px;
|
|
90
|
+
--emw-skeleton-title-margin-right: ${this.marginRight}px;
|
|
91
|
+
--emw-skeleton-title-background: ${this.color};
|
|
92
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
93
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
94
|
+
}
|
|
95
|
+
`;
|
|
96
|
+
break;
|
|
97
|
+
case "text":
|
|
98
|
+
e = `
|
|
99
|
+
:host {
|
|
100
|
+
--emw-skeleton-text-width: ${this.width};
|
|
101
|
+
--emw-skeleton-text-height: ${this.height};
|
|
102
|
+
--emw-skeleton-text-border-radius: ${this.borderRadius}px;
|
|
103
|
+
--emw-skeleton-text-margin-bottom: ${this.marginBottom}px;
|
|
104
|
+
--emw-skeleton-text-margin-top: ${this.marginTop}px;
|
|
105
|
+
--emw-skeleton-text-margin-left: ${this.marginLeft}px;
|
|
106
|
+
--emw-skeleton-text-margin-right: ${this.marginRight}px;
|
|
107
|
+
--emw-skeleton-text-background: ${this.color};
|
|
108
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
109
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
110
|
+
}
|
|
111
|
+
`;
|
|
112
|
+
break;
|
|
113
|
+
case "rectangle":
|
|
114
|
+
e = `
|
|
115
|
+
:host {
|
|
116
|
+
--emw-skeleton-rectangle-width: ${this.width};
|
|
117
|
+
--emw-skeleton-rectangle-height: ${this.height};
|
|
118
|
+
--emw-skeleton-rectangle-border-radius: ${this.borderRadius}px;
|
|
119
|
+
--emw-skeleton-rectangle-margin-bottom: ${this.marginBottom}px;
|
|
120
|
+
--emw-skeleton-rectangle-margin-top: ${this.marginTop}px;
|
|
121
|
+
--emw-skeleton-rectangle-margin-left: ${this.marginLeft}px;
|
|
122
|
+
--emw-skeleton-rectangle-margin-right: ${this.marginRight}px;
|
|
123
|
+
--emw-skeleton-rectangle-background: ${this.color};
|
|
124
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
125
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
126
|
+
}
|
|
127
|
+
`;
|
|
128
|
+
break;
|
|
129
|
+
case "circle":
|
|
130
|
+
e = `
|
|
131
|
+
:host {
|
|
132
|
+
--emw-skeleton-circle-size: ${this.size};
|
|
133
|
+
--emw-skeleton-circle-background: ${this.color};
|
|
134
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
135
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
136
|
+
}
|
|
137
|
+
`;
|
|
138
|
+
break;
|
|
139
|
+
default:
|
|
140
|
+
e = "";
|
|
141
|
+
}
|
|
142
|
+
return t(i, { key: "3bb792a149db7fe732d5cbfa092cdb4d6ca0689e" }, t("style", { key: "a4607599b60659f385ae2660513e38b383739674" }, e), this.handleStructure(this.structure));
|
|
143
|
+
}
|
|
144
|
+
static get watchers() {
|
|
145
|
+
return {
|
|
146
|
+
structure: ["handleStructureChange"]
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
a.style = s;
|
|
151
|
+
export {
|
|
152
|
+
h as ui_image,
|
|
153
|
+
a as ui_skeleton
|
|
154
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as o, h as t, H as i } from "./index-b2193545-
|
|
2
|
-
const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.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, 2px)}.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, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.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, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width,
|
|
1
|
+
import { r as o, h as t, H as i } from "./index-b2193545-LYFajSbf.js";
|
|
2
|
+
const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.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, 2px)}.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, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.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, 5px);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, inherit)}.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, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}", s = n, a = class {
|
|
3
3
|
constructor(e) {
|
|
4
4
|
o(this, e), this.structure = void 0, this.width = void 0, this.height = void 0, this.borderRadius = void 0, this.marginBottom = void 0, this.marginTop = void 0, this.marginLeft = void 0, this.marginRight = void 0, this.animation = !0, this.rows = void 0, this.size = void 0, this.color = void 0, this.primaryColor = void 0, this.secondaryColor = void 0;
|
|
5
5
|
}
|
|
@@ -28,7 +28,7 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
|
|
|
28
28
|
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Logo " + (this.animation ? "Skeleton" : "") }));
|
|
29
29
|
}
|
|
30
30
|
renderImage() {
|
|
31
|
-
return t("div", { class: "
|
|
31
|
+
return t("div", { class: "Image " + (this.animation ? "Skeleton" : "") });
|
|
32
32
|
}
|
|
33
33
|
renderTitle() {
|
|
34
34
|
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Title " + (this.animation ? "Skeleton" : "") }));
|
|
@@ -138,7 +138,7 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
|
|
|
138
138
|
default:
|
|
139
139
|
e = "";
|
|
140
140
|
}
|
|
141
|
-
return t(i, { key: "
|
|
141
|
+
return t(i, { key: "3bb792a149db7fe732d5cbfa092cdb4d6ca0689e" }, t("style", { key: "a4607599b60659f385ae2660513e38b383739674" }, e), this.handleStructure(this.structure));
|
|
142
142
|
}
|
|
143
143
|
static get watchers() {
|
|
144
144
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("./index-b2193545-
|
|
1
|
+
"use strict";const t=require("./index-b2193545-nJb2J-aJ.cjs"),i=":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.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, 2px)}.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, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.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, 5px);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, inherit)}.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, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}",n=i,o=class{constructor(e){t.registerInstance(this,e),this.structure=void 0,this.width=void 0,this.height=void 0,this.borderRadius=void 0,this.marginBottom=void 0,this.marginTop=void 0,this.marginLeft=void 0,this.marginRight=void 0,this.animation=!0,this.rows=void 0,this.size=void 0,this.color=void 0,this.primaryColor=void 0,this.secondaryColor=void 0}handleStructureChange(e,r){r!==e&&this.handleStructure(e)}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,r)=>t.h("div",{key:r,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.width};
|
|
4
4
|
--emw-skeleton-logo-height: ${this.height};
|
|
@@ -70,4 +70,4 @@
|
|
|
70
70
|
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
71
71
|
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
72
72
|
}
|
|
73
|
-
`;break;default:e=""}return t.h(t.Host,{key:"
|
|
73
|
+
`;break;default:e=""}return t.h(t.Host,{key:"3bb792a149db7fe732d5cbfa092cdb4d6ca0689e"},t.h("style",{key:"a4607599b60659f385ae2660513e38b383739674"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};o.style=n;exports.UiSkeleton=o;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as o, h as t, H as i } from "./index-b2193545-
|
|
2
|
-
const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.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, 2px)}.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, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.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, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width,
|
|
1
|
+
import { r as o, h as t, H as i } from "./index-b2193545-60VR4wV3.js";
|
|
2
|
+
const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.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, 2px)}.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, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.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, 5px);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, inherit)}.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, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}", s = n, a = class {
|
|
3
3
|
constructor(e) {
|
|
4
4
|
o(this, e), this.structure = void 0, this.width = void 0, this.height = void 0, this.borderRadius = void 0, this.marginBottom = void 0, this.marginTop = void 0, this.marginLeft = void 0, this.marginRight = void 0, this.animation = !0, this.rows = void 0, this.size = void 0, this.color = void 0, this.primaryColor = void 0, this.secondaryColor = void 0;
|
|
5
5
|
}
|
|
@@ -28,7 +28,7 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
|
|
|
28
28
|
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Logo " + (this.animation ? "Skeleton" : "") }));
|
|
29
29
|
}
|
|
30
30
|
renderImage() {
|
|
31
|
-
return t("div", { class: "
|
|
31
|
+
return t("div", { class: "Image " + (this.animation ? "Skeleton" : "") });
|
|
32
32
|
}
|
|
33
33
|
renderTitle() {
|
|
34
34
|
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Title " + (this.animation ? "Skeleton" : "") }));
|
|
@@ -138,7 +138,7 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
|
|
|
138
138
|
default:
|
|
139
139
|
e = "";
|
|
140
140
|
}
|
|
141
|
-
return t(i, { key: "
|
|
141
|
+
return t(i, { key: "3bb792a149db7fe732d5cbfa092cdb4d6ca0689e" }, t("style", { key: "a4607599b60659f385ae2660513e38b383739674" }, e), this.handleStructure(this.structure));
|
|
142
142
|
}
|
|
143
143
|
static get watchers() {
|
|
144
144
|
return {
|
|
@@ -14,9 +14,9 @@ var n = (o, t, e) => new Promise((m, s) => {
|
|
|
14
14
|
}, a = (r) => r.done ? m(r.value) : Promise.resolve(r.value).then(l, u);
|
|
15
15
|
a((e = e.apply(o, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as p, p as c } from "./index-b2193545-
|
|
17
|
+
import { b as p, p as c } from "./index-b2193545-60VR4wV3.js";
|
|
18
18
|
import { b as g } from "./app-globals-0f993ce5-DfNOCk8l.js";
|
|
19
|
-
import { U as R } from "./ui-skeleton-
|
|
19
|
+
import { U as R } from "./ui-skeleton-1cb75d00-D5AevndQ.js";
|
|
20
20
|
var h = () => {
|
|
21
21
|
const o = import.meta.url, t = {};
|
|
22
22
|
return o !== "" && (t.resourcesUrl = new URL(".", o).href), c(t);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var c=(r,t,o)=>new Promise((l,s)=>{var m=e=>{try{n(o.next(e))}catch(i){s(i)}},d=e=>{try{n(o.throw(e))}catch(i){s(i)}},n=e=>e.done?l(e.value):Promise.resolve(e.value).then(m,d);n((o=o.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index-b2193545-
|
|
1
|
+
"use strict";var c=(r,t,o)=>new Promise((l,s)=>{var m=e=>{try{n(o.next(e))}catch(i){s(i)}},d=e=>{try{n(o.throw(e))}catch(i){s(i)}},n=e=>e.done?l(e.value):Promise.resolve(e.value).then(m,d);n((o=o.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index-b2193545-nJb2J-aJ.cjs"),p=require("./app-globals-0f993ce5-4b17CI_n.cjs"),g=require("./ui-skeleton-1cb75d00-C9ZtbYpX.cjs");var a=typeof document!="undefined"?document.currentScript:null,f=()=>{const r=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:a&&a.tagName.toUpperCase()==="SCRIPT"&&a.src||new URL("stencil/ui-skeleton-CUmVjhrn.cjs",document.baseURI).href,t={};return r!==""&&(t.resourcesUrl=new URL(".",r).href),u.promiseResolve(t)};f().then(r=>c(exports,null,function*(){return yield p.globalScripts$2(),u.bootstrapLazy([["ui-skeleton",[[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[2,"border-radius"],marginBottom:[2,"margin-bottom"],marginTop:[2,"margin-top"],marginLeft:[2,"margin-left"],marginRight:[2,"margin-right"],animation:[4],rows:[2],size:[1],color:[1],primaryColor:[1,"primary-color"],secondaryColor:[1,"secondary-color"]},null,{structure:["handleStructureChange"]}]]]],r)}));exports.ui_skeleton=g.UiSkeleton;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as t, p as e } from "./index-b2193545-
|
|
1
|
+
import { b as t, p as e } from "./index-b2193545-LYFajSbf.js";
|
|
2
2
|
import { b as a } from "./app-globals-0f993ce5-DfNOCk8l.js";
|
|
3
|
-
import { U as u } from "./ui-skeleton-
|
|
3
|
+
import { U as u } from "./ui-skeleton-1cb75d00-BWUmrSx4.js";
|
|
4
4
|
var i = () => {
|
|
5
5
|
const r = import.meta.url, o = {};
|
|
6
6
|
return r !== "" && (o.resourcesUrl = new URL(".", r).href), e(o);
|