@everymatrix/casino-game-thumbnail 1.62.0 → 1.62.2
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/{CasinoGameThumbnail-Bw58pn6x.js → CasinoGameThumbnail-DL2Yxyjc.js} +2313 -2326
- package/components/{CasinoGameThumbnail-Jn9B9c50.js → CasinoGameThumbnail-DdRSdUpr.js} +2306 -2319
- package/components/CasinoGameThumbnail-Df9mjgaZ.cjs +64 -0
- package/es2015/casino-game-thumbnail.cjs +1 -1
- package/es2015/casino-game-thumbnail.js +1 -1
- package/esnext/casino-game-thumbnail.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/index-97d17652-B8yQdy7J.js +542 -0
- package/stencil/index-97d17652-C616IYj2.js +558 -0
- package/stencil/index-97d17652-C9Ph2JiE.cjs +1 -0
- package/stencil/ui-image-7da92f1f-26DzsVFt.js +39 -0
- package/stencil/ui-image-7da92f1f-BAghvEDf.js +39 -0
- package/stencil/ui-image-7da92f1f-BiVBd_OW.cjs +1 -0
- package/stencil/ui-image-Bz0nQwNJ.cjs +1 -0
- package/stencil/ui-image-DX8NqsyA.js +25 -0
- package/stencil/ui-image-o9dMcntc.js +7 -0
- package/stencil/{ui-skeleton-6d1c12ae-koE69yYD.js → ui-image_2-BXgptLvl.js} +7 -5
- package/stencil/ui-image_2-Cctik3aF.cjs +73 -0
- package/stencil/{ui-skeleton-6d1c12ae-BpEpsLuu.js → ui-image_2-Cyqb4u7k.js} +7 -5
- package/components/CasinoGameThumbnail-GmvWpZ1F.cjs +0 -64
- package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +0 -1
- package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +0 -7
- package/stencil/index-b2193545-CbGN-1Xz.cjs +0 -1
- package/stencil/index-b2193545-CbUHNmek.js +0 -503
- package/stencil/index-b2193545-DFFkPUVU.js +0 -519
- package/stencil/index-b7bbd57e-5H13jtcn.cjs +0 -1
- package/stencil/index-b7bbd57e-D2mZ7-kv.js +0 -534
- package/stencil/index-b7bbd57e-VSGyGiy1.js +0 -550
- package/stencil/ui-image-38c3c15f-3U8WBsCg.cjs +0 -1
- package/stencil/ui-image-38c3c15f-Cix0ZMEZ.js +0 -39
- package/stencil/ui-image-38c3c15f-jaErZeBj.js +0 -39
- package/stencil/ui-image-6OX7DHzp.js +0 -11
- package/stencil/ui-image-DvmqpXjR.js +0 -29
- package/stencil/ui-image-sdP0Y0JV.cjs +0 -1
- package/stencil/ui-skeleton-6d1c12ae-CZrIANSq.cjs +0 -73
- package/stencil/ui-skeleton-BOseIl79.js +0 -29
- package/stencil/ui-skeleton-BVyEf4P7.js +0 -11
- package/stencil/ui-skeleton-C2O4H76Q.cjs +0 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
var n = (t, o, e) => new Promise((m, s) => {
|
|
2
|
+
var c = (r) => {
|
|
3
|
+
try {
|
|
4
|
+
a(e.next(r));
|
|
5
|
+
} catch (i) {
|
|
6
|
+
s(i);
|
|
7
|
+
}
|
|
8
|
+
}, l = (r) => {
|
|
9
|
+
try {
|
|
10
|
+
a(e.throw(r));
|
|
11
|
+
} catch (i) {
|
|
12
|
+
s(i);
|
|
13
|
+
}
|
|
14
|
+
}, a = (r) => r.done ? m(r.value) : Promise.resolve(r.value).then(c, l);
|
|
15
|
+
a((e = e.apply(t, o)).next());
|
|
16
|
+
});
|
|
17
|
+
import { b as g, p as u } from "./index-97d17652-C616IYj2.js";
|
|
18
|
+
import { g as d } from "./app-globals-0f993ce5-D-kw1sls.js";
|
|
19
|
+
var h = () => {
|
|
20
|
+
const t = import.meta.url, o = {};
|
|
21
|
+
return t !== "" && (o.resourcesUrl = new URL(".", t).href), u(o);
|
|
22
|
+
};
|
|
23
|
+
h().then((t) => n(void 0, null, function* () {
|
|
24
|
+
return yield d(), g([["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 e } from "./index-97d17652-B8yQdy7J.js";
|
|
2
|
+
import { g as a } from "./app-globals-0f993ce5-D-kw1sls.js";
|
|
3
|
+
var i = () => {
|
|
4
|
+
const r = import.meta.url, t = {};
|
|
5
|
+
return r !== "" && (t.resourcesUrl = new URL(".", r).href), e(t);
|
|
6
|
+
};
|
|
7
|
+
i().then(async (r) => (await a(), 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)));
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { U as h } from "./ui-image-7da92f1f-BAghvEDf.js";
|
|
2
|
+
import { r as o, h as t, H as i } from "./index-97d17652-B8yQdy7J.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 {
|
|
3
4
|
constructor(e) {
|
|
4
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;
|
|
5
6
|
}
|
|
@@ -28,7 +29,7 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
|
|
|
28
29
|
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Logo " + (this.animation ? "Skeleton" : "") }));
|
|
29
30
|
}
|
|
30
31
|
renderImage() {
|
|
31
|
-
return t("div", { class: "
|
|
32
|
+
return t("div", { class: "Image " + (this.animation ? "Skeleton" : "") });
|
|
32
33
|
}
|
|
33
34
|
renderTitle() {
|
|
34
35
|
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Title " + (this.animation ? "Skeleton" : "") }));
|
|
@@ -138,7 +139,7 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
|
|
|
138
139
|
default:
|
|
139
140
|
e = "";
|
|
140
141
|
}
|
|
141
|
-
return t(i, { key: "
|
|
142
|
+
return t(i, { key: "3bb792a149db7fe732d5cbfa092cdb4d6ca0689e" }, t("style", { key: "a4607599b60659f385ae2660513e38b383739674" }, e), this.handleStructure(this.structure));
|
|
142
143
|
}
|
|
143
144
|
static get watchers() {
|
|
144
145
|
return {
|
|
@@ -148,5 +149,6 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
|
|
|
148
149
|
};
|
|
149
150
|
a.style = s;
|
|
150
151
|
export {
|
|
151
|
-
|
|
152
|
+
h as ui_image,
|
|
153
|
+
a as ui_skeleton
|
|
152
154
|
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./ui-image-7da92f1f-BiVBd_OW.cjs"),t=require("./index-97d17652-C9Ph2JiE.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;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { U as h } from "./ui-image-7da92f1f-26DzsVFt.js";
|
|
2
|
+
import { r as o, h as t, H as i } from "./index-97d17652-C616IYj2.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 {
|
|
3
4
|
constructor(e) {
|
|
4
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;
|
|
5
6
|
}
|
|
@@ -28,7 +29,7 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
|
|
|
28
29
|
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Logo " + (this.animation ? "Skeleton" : "") }));
|
|
29
30
|
}
|
|
30
31
|
renderImage() {
|
|
31
|
-
return t("div", { class: "
|
|
32
|
+
return t("div", { class: "Image " + (this.animation ? "Skeleton" : "") });
|
|
32
33
|
}
|
|
33
34
|
renderTitle() {
|
|
34
35
|
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Title " + (this.animation ? "Skeleton" : "") }));
|
|
@@ -138,7 +139,7 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
|
|
|
138
139
|
default:
|
|
139
140
|
e = "";
|
|
140
141
|
}
|
|
141
|
-
return t(i, { key: "
|
|
142
|
+
return t(i, { key: "3bb792a149db7fe732d5cbfa092cdb4d6ca0689e" }, t("style", { key: "a4607599b60659f385ae2660513e38b383739674" }, e), this.handleStructure(this.structure));
|
|
142
143
|
}
|
|
143
144
|
static get watchers() {
|
|
144
145
|
return {
|
|
@@ -148,5 +149,6 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
|
|
|
148
149
|
};
|
|
149
150
|
a.style = s;
|
|
150
151
|
export {
|
|
151
|
-
|
|
152
|
+
h as ui_image,
|
|
153
|
+
a as ui_skeleton
|
|
152
154
|
};
|