@everymatrix/player-account-product-restriction 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/PlayerAccountGeneralConfirmationModal-BGHFq1BP.js +4849 -0
- package/components/PlayerAccountGeneralConfirmationModal-BL-SK99e.js +4886 -0
- package/components/PlayerAccountGeneralConfirmationModal-Bobr9XUh.cjs +21 -0
- package/components/PlayerAccountModal-0lKoL-vz.cjs +1 -0
- package/components/PlayerAccountModal-BshNeXf4.js +209 -0
- package/components/PlayerAccountModal-D3-9T5Q2.js +209 -0
- package/components/PlayerAccountProductRestriction-BcTOg6RL.js +16071 -0
- package/components/PlayerAccountProductRestriction-TVzq4jTH.cjs +5639 -0
- package/components/PlayerAccountProductRestriction-cSqfoT-W.js +16100 -0
- package/es2015/player-account-product-restriction.cjs +1 -0
- package/es2015/player-account-product-restriction.js +16 -0
- package/esnext/player-account-product-restriction.js +14 -0
- package/package.json +25 -0
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/index-b2193545-CayB6jRX.js +519 -0
- package/stencil/index-b2193545-DrvOqGyq.js +503 -0
- package/stencil/index-b2193545-lC_KoC4p.cjs +1 -0
- package/stencil/ui-skeleton-1cb75d00-6KKxtHwu.cjs +73 -0
- package/stencil/ui-skeleton-1cb75d00-BAHBT-wb.js +152 -0
- package/stencil/ui-skeleton-1cb75d00-BPfsKHrC.js +152 -0
- package/stencil/ui-skeleton-CaX4F6ue.cjs +1 -0
- package/stencil/ui-skeleton-QVfoKja7.js +11 -0
- package/stencil/ui-skeleton-b2oavT4f.js +29 -0
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { r as o, h as t, H as i } from "./index-b2193545-CayB6jRX.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
|
+
constructor(e) {
|
|
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
|
+
}
|
|
6
|
+
handleStructureChange(e, r) {
|
|
7
|
+
r !== e && this.handleStructure(e);
|
|
8
|
+
}
|
|
9
|
+
handleStructure(e) {
|
|
10
|
+
switch (e) {
|
|
11
|
+
case "logo":
|
|
12
|
+
return this.renderLogo();
|
|
13
|
+
case "image":
|
|
14
|
+
return this.renderImage();
|
|
15
|
+
case "title":
|
|
16
|
+
return this.renderTitle();
|
|
17
|
+
case "text":
|
|
18
|
+
return this.renderText();
|
|
19
|
+
case "rectangle":
|
|
20
|
+
return this.renderRectangle();
|
|
21
|
+
case "circle":
|
|
22
|
+
return this.renderCircle();
|
|
23
|
+
default:
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
renderLogo() {
|
|
28
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Logo " + (this.animation ? "Skeleton" : "") }));
|
|
29
|
+
}
|
|
30
|
+
renderImage() {
|
|
31
|
+
return t("div", { class: "Image " + (this.animation ? "Skeleton" : "") });
|
|
32
|
+
}
|
|
33
|
+
renderTitle() {
|
|
34
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Title " + (this.animation ? "Skeleton" : "") }));
|
|
35
|
+
}
|
|
36
|
+
renderText() {
|
|
37
|
+
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" : "") })));
|
|
38
|
+
}
|
|
39
|
+
renderRectangle() {
|
|
40
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Rectangle " + (this.animation ? "Skeleton" : "") }));
|
|
41
|
+
}
|
|
42
|
+
renderCircle() {
|
|
43
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Circle " + (this.animation ? "Skeleton" : "") }));
|
|
44
|
+
}
|
|
45
|
+
render() {
|
|
46
|
+
let e = "";
|
|
47
|
+
switch (this.structure) {
|
|
48
|
+
case "logo":
|
|
49
|
+
e = `
|
|
50
|
+
:host {
|
|
51
|
+
--emw-skeleton-logo-width: ${this.width};
|
|
52
|
+
--emw-skeleton-logo-height: ${this.height};
|
|
53
|
+
--emw-skeleton-logo-border-radius: ${this.borderRadius}px;
|
|
54
|
+
--emw-skeleton-logo-margin-bottom: ${this.marginBottom}px;
|
|
55
|
+
--emw-skeleton-logo-margin-top: ${this.marginTop}px;
|
|
56
|
+
--emw-skeleton-logo-margin-left: ${this.marginLeft}px;
|
|
57
|
+
--emw-skeleton-logo-margin-right: ${this.marginRight}px;
|
|
58
|
+
--emw-skeleton-logo-background: ${this.color};
|
|
59
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
60
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
61
|
+
}
|
|
62
|
+
`;
|
|
63
|
+
break;
|
|
64
|
+
case "image":
|
|
65
|
+
e = `
|
|
66
|
+
:host {
|
|
67
|
+
--emw-skeleton-image-width: ${this.width};
|
|
68
|
+
--emw-skeleton-image-height: ${this.height};
|
|
69
|
+
--emw-skeleton-image-border-radius: ${this.borderRadius}px;
|
|
70
|
+
--emw-skeleton-image-margin-bottom: ${this.marginBottom}px;
|
|
71
|
+
--emw-skeleton-image-margin-top: ${this.marginTop}px;
|
|
72
|
+
--emw-skeleton-image-margin-left: ${this.marginLeft}px;
|
|
73
|
+
--emw-skeleton-image-margin-right: ${this.marginRight}px;
|
|
74
|
+
--emw-skeleton-image-background: ${this.color};
|
|
75
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
76
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
77
|
+
}
|
|
78
|
+
`;
|
|
79
|
+
break;
|
|
80
|
+
case "title":
|
|
81
|
+
e = `
|
|
82
|
+
:host {
|
|
83
|
+
--emw-skeleton-title-width: ${this.width};
|
|
84
|
+
--emw-skeleton-title-height: ${this.height};
|
|
85
|
+
--emw-skeleton-title-border-radius: ${this.borderRadius}px;
|
|
86
|
+
--emw-skeleton-title-margin-bottom: ${this.marginBottom}px;
|
|
87
|
+
--emw-skeleton-title-margin-top: ${this.marginTop}px;
|
|
88
|
+
--emw-skeleton-title-margin-left: ${this.marginLeft}px;
|
|
89
|
+
--emw-skeleton-title-margin-right: ${this.marginRight}px;
|
|
90
|
+
--emw-skeleton-title-background: ${this.color};
|
|
91
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
92
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
93
|
+
}
|
|
94
|
+
`;
|
|
95
|
+
break;
|
|
96
|
+
case "text":
|
|
97
|
+
e = `
|
|
98
|
+
:host {
|
|
99
|
+
--emw-skeleton-text-width: ${this.width};
|
|
100
|
+
--emw-skeleton-text-height: ${this.height};
|
|
101
|
+
--emw-skeleton-text-border-radius: ${this.borderRadius}px;
|
|
102
|
+
--emw-skeleton-text-margin-bottom: ${this.marginBottom}px;
|
|
103
|
+
--emw-skeleton-text-margin-top: ${this.marginTop}px;
|
|
104
|
+
--emw-skeleton-text-margin-left: ${this.marginLeft}px;
|
|
105
|
+
--emw-skeleton-text-margin-right: ${this.marginRight}px;
|
|
106
|
+
--emw-skeleton-text-background: ${this.color};
|
|
107
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
108
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
109
|
+
}
|
|
110
|
+
`;
|
|
111
|
+
break;
|
|
112
|
+
case "rectangle":
|
|
113
|
+
e = `
|
|
114
|
+
:host {
|
|
115
|
+
--emw-skeleton-rectangle-width: ${this.width};
|
|
116
|
+
--emw-skeleton-rectangle-height: ${this.height};
|
|
117
|
+
--emw-skeleton-rectangle-border-radius: ${this.borderRadius}px;
|
|
118
|
+
--emw-skeleton-rectangle-margin-bottom: ${this.marginBottom}px;
|
|
119
|
+
--emw-skeleton-rectangle-margin-top: ${this.marginTop}px;
|
|
120
|
+
--emw-skeleton-rectangle-margin-left: ${this.marginLeft}px;
|
|
121
|
+
--emw-skeleton-rectangle-margin-right: ${this.marginRight}px;
|
|
122
|
+
--emw-skeleton-rectangle-background: ${this.color};
|
|
123
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
124
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
125
|
+
}
|
|
126
|
+
`;
|
|
127
|
+
break;
|
|
128
|
+
case "circle":
|
|
129
|
+
e = `
|
|
130
|
+
:host {
|
|
131
|
+
--emw-skeleton-circle-size: ${this.size};
|
|
132
|
+
--emw-skeleton-circle-background: ${this.color};
|
|
133
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
134
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
135
|
+
}
|
|
136
|
+
`;
|
|
137
|
+
break;
|
|
138
|
+
default:
|
|
139
|
+
e = "";
|
|
140
|
+
}
|
|
141
|
+
return t(i, { key: "3bb792a149db7fe732d5cbfa092cdb4d6ca0689e" }, t("style", { key: "a4607599b60659f385ae2660513e38b383739674" }, e), this.handleStructure(this.structure));
|
|
142
|
+
}
|
|
143
|
+
static get watchers() {
|
|
144
|
+
return {
|
|
145
|
+
structure: ["handleStructureChange"]
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
a.style = s;
|
|
150
|
+
export {
|
|
151
|
+
a as U
|
|
152
|
+
};
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { r as o, h as t, H as i } from "./index-b2193545-DrvOqGyq.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
|
+
constructor(e) {
|
|
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
|
+
}
|
|
6
|
+
handleStructureChange(e, r) {
|
|
7
|
+
r !== e && this.handleStructure(e);
|
|
8
|
+
}
|
|
9
|
+
handleStructure(e) {
|
|
10
|
+
switch (e) {
|
|
11
|
+
case "logo":
|
|
12
|
+
return this.renderLogo();
|
|
13
|
+
case "image":
|
|
14
|
+
return this.renderImage();
|
|
15
|
+
case "title":
|
|
16
|
+
return this.renderTitle();
|
|
17
|
+
case "text":
|
|
18
|
+
return this.renderText();
|
|
19
|
+
case "rectangle":
|
|
20
|
+
return this.renderRectangle();
|
|
21
|
+
case "circle":
|
|
22
|
+
return this.renderCircle();
|
|
23
|
+
default:
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
renderLogo() {
|
|
28
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Logo " + (this.animation ? "Skeleton" : "") }));
|
|
29
|
+
}
|
|
30
|
+
renderImage() {
|
|
31
|
+
return t("div", { class: "Image " + (this.animation ? "Skeleton" : "") });
|
|
32
|
+
}
|
|
33
|
+
renderTitle() {
|
|
34
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Title " + (this.animation ? "Skeleton" : "") }));
|
|
35
|
+
}
|
|
36
|
+
renderText() {
|
|
37
|
+
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" : "") })));
|
|
38
|
+
}
|
|
39
|
+
renderRectangle() {
|
|
40
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Rectangle " + (this.animation ? "Skeleton" : "") }));
|
|
41
|
+
}
|
|
42
|
+
renderCircle() {
|
|
43
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Circle " + (this.animation ? "Skeleton" : "") }));
|
|
44
|
+
}
|
|
45
|
+
render() {
|
|
46
|
+
let e = "";
|
|
47
|
+
switch (this.structure) {
|
|
48
|
+
case "logo":
|
|
49
|
+
e = `
|
|
50
|
+
:host {
|
|
51
|
+
--emw-skeleton-logo-width: ${this.width};
|
|
52
|
+
--emw-skeleton-logo-height: ${this.height};
|
|
53
|
+
--emw-skeleton-logo-border-radius: ${this.borderRadius}px;
|
|
54
|
+
--emw-skeleton-logo-margin-bottom: ${this.marginBottom}px;
|
|
55
|
+
--emw-skeleton-logo-margin-top: ${this.marginTop}px;
|
|
56
|
+
--emw-skeleton-logo-margin-left: ${this.marginLeft}px;
|
|
57
|
+
--emw-skeleton-logo-margin-right: ${this.marginRight}px;
|
|
58
|
+
--emw-skeleton-logo-background: ${this.color};
|
|
59
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
60
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
61
|
+
}
|
|
62
|
+
`;
|
|
63
|
+
break;
|
|
64
|
+
case "image":
|
|
65
|
+
e = `
|
|
66
|
+
:host {
|
|
67
|
+
--emw-skeleton-image-width: ${this.width};
|
|
68
|
+
--emw-skeleton-image-height: ${this.height};
|
|
69
|
+
--emw-skeleton-image-border-radius: ${this.borderRadius}px;
|
|
70
|
+
--emw-skeleton-image-margin-bottom: ${this.marginBottom}px;
|
|
71
|
+
--emw-skeleton-image-margin-top: ${this.marginTop}px;
|
|
72
|
+
--emw-skeleton-image-margin-left: ${this.marginLeft}px;
|
|
73
|
+
--emw-skeleton-image-margin-right: ${this.marginRight}px;
|
|
74
|
+
--emw-skeleton-image-background: ${this.color};
|
|
75
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
76
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
77
|
+
}
|
|
78
|
+
`;
|
|
79
|
+
break;
|
|
80
|
+
case "title":
|
|
81
|
+
e = `
|
|
82
|
+
:host {
|
|
83
|
+
--emw-skeleton-title-width: ${this.width};
|
|
84
|
+
--emw-skeleton-title-height: ${this.height};
|
|
85
|
+
--emw-skeleton-title-border-radius: ${this.borderRadius}px;
|
|
86
|
+
--emw-skeleton-title-margin-bottom: ${this.marginBottom}px;
|
|
87
|
+
--emw-skeleton-title-margin-top: ${this.marginTop}px;
|
|
88
|
+
--emw-skeleton-title-margin-left: ${this.marginLeft}px;
|
|
89
|
+
--emw-skeleton-title-margin-right: ${this.marginRight}px;
|
|
90
|
+
--emw-skeleton-title-background: ${this.color};
|
|
91
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
92
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
93
|
+
}
|
|
94
|
+
`;
|
|
95
|
+
break;
|
|
96
|
+
case "text":
|
|
97
|
+
e = `
|
|
98
|
+
:host {
|
|
99
|
+
--emw-skeleton-text-width: ${this.width};
|
|
100
|
+
--emw-skeleton-text-height: ${this.height};
|
|
101
|
+
--emw-skeleton-text-border-radius: ${this.borderRadius}px;
|
|
102
|
+
--emw-skeleton-text-margin-bottom: ${this.marginBottom}px;
|
|
103
|
+
--emw-skeleton-text-margin-top: ${this.marginTop}px;
|
|
104
|
+
--emw-skeleton-text-margin-left: ${this.marginLeft}px;
|
|
105
|
+
--emw-skeleton-text-margin-right: ${this.marginRight}px;
|
|
106
|
+
--emw-skeleton-text-background: ${this.color};
|
|
107
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
108
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
109
|
+
}
|
|
110
|
+
`;
|
|
111
|
+
break;
|
|
112
|
+
case "rectangle":
|
|
113
|
+
e = `
|
|
114
|
+
:host {
|
|
115
|
+
--emw-skeleton-rectangle-width: ${this.width};
|
|
116
|
+
--emw-skeleton-rectangle-height: ${this.height};
|
|
117
|
+
--emw-skeleton-rectangle-border-radius: ${this.borderRadius}px;
|
|
118
|
+
--emw-skeleton-rectangle-margin-bottom: ${this.marginBottom}px;
|
|
119
|
+
--emw-skeleton-rectangle-margin-top: ${this.marginTop}px;
|
|
120
|
+
--emw-skeleton-rectangle-margin-left: ${this.marginLeft}px;
|
|
121
|
+
--emw-skeleton-rectangle-margin-right: ${this.marginRight}px;
|
|
122
|
+
--emw-skeleton-rectangle-background: ${this.color};
|
|
123
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
124
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
125
|
+
}
|
|
126
|
+
`;
|
|
127
|
+
break;
|
|
128
|
+
case "circle":
|
|
129
|
+
e = `
|
|
130
|
+
:host {
|
|
131
|
+
--emw-skeleton-circle-size: ${this.size};
|
|
132
|
+
--emw-skeleton-circle-background: ${this.color};
|
|
133
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
134
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
135
|
+
}
|
|
136
|
+
`;
|
|
137
|
+
break;
|
|
138
|
+
default:
|
|
139
|
+
e = "";
|
|
140
|
+
}
|
|
141
|
+
return t(i, { key: "3bb792a149db7fe732d5cbfa092cdb4d6ca0689e" }, t("style", { key: "a4607599b60659f385ae2660513e38b383739674" }, e), this.handleStructure(this.structure));
|
|
142
|
+
}
|
|
143
|
+
static get watchers() {
|
|
144
|
+
return {
|
|
145
|
+
structure: ["handleStructureChange"]
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
a.style = s;
|
|
150
|
+
export {
|
|
151
|
+
a as U
|
|
152
|
+
};
|
|
@@ -0,0 +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-lC_KoC4p.cjs"),p=require("./app-globals-0f993ce5-sCt45RkC.cjs"),g=require("./ui-skeleton-1cb75d00-6KKxtHwu.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-CaX4F6ue.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(),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;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { b as t, p as e } from "./index-b2193545-DrvOqGyq.js";
|
|
2
|
+
import { g as a } from "./app-globals-0f993ce5-D-kw1sls.js";
|
|
3
|
+
import { U as u } from "./ui-skeleton-1cb75d00-BPfsKHrC.js";
|
|
4
|
+
var i = () => {
|
|
5
|
+
const r = import.meta.url, o = {};
|
|
6
|
+
return r !== "" && (o.resourcesUrl = new URL(".", r).href), e(o);
|
|
7
|
+
};
|
|
8
|
+
i().then(async (r) => (await a(), t([["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)));
|
|
9
|
+
export {
|
|
10
|
+
u as ui_skeleton
|
|
11
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
var n = (o, t, e) => new Promise((m, s) => {
|
|
2
|
+
var l = (r) => {
|
|
3
|
+
try {
|
|
4
|
+
a(e.next(r));
|
|
5
|
+
} catch (i) {
|
|
6
|
+
s(i);
|
|
7
|
+
}
|
|
8
|
+
}, u = (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(l, u);
|
|
15
|
+
a((e = e.apply(o, t)).next());
|
|
16
|
+
});
|
|
17
|
+
import { b as p, p as c } from "./index-b2193545-CayB6jRX.js";
|
|
18
|
+
import { g } from "./app-globals-0f993ce5-D-kw1sls.js";
|
|
19
|
+
import { U as R } from "./ui-skeleton-1cb75d00-BAHBT-wb.js";
|
|
20
|
+
var h = () => {
|
|
21
|
+
const o = import.meta.url, t = {};
|
|
22
|
+
return o !== "" && (t.resourcesUrl = new URL(".", o).href), c(t);
|
|
23
|
+
};
|
|
24
|
+
h().then((o) => n(void 0, null, function* () {
|
|
25
|
+
return yield g(), p([["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"] }]]]], o);
|
|
26
|
+
}));
|
|
27
|
+
export {
|
|
28
|
+
R as ui_skeleton
|
|
29
|
+
};
|