@everymatrix/player-profile-info-cu 1.69.0
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/PlayerProfileInfoCu-BMMP9Dny.js +5876 -0
- package/components/PlayerProfileInfoCu-BlUl55wx.cjs +16 -0
- package/components/PlayerProfileInfoCu-Coej3PNd.js +5828 -0
- package/es2015/player-profile-info-cu.cjs +1 -0
- package/es2015/player-profile-info-cu.js +16 -0
- package/esnext/player-profile-info-cu.js +14 -0
- package/package.json +24 -0
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/index-b2193545-B88IRP_c.cjs +1 -0
- package/stencil/index-b2193545-C38bdAS5.js +519 -0
- package/stencil/index-b2193545-ChvjzzO4.js +503 -0
- package/stencil/ui-skeleton-161699c3-B-ERXqP4.js +172 -0
- package/stencil/ui-skeleton-161699c3-D-YZ_9qb.js +172 -0
- package/stencil/ui-skeleton-161699c3-D2nKbw7j.cjs +73 -0
- package/stencil/ui-skeleton-BsggWRv8.cjs +1 -0
- package/stencil/ui-skeleton-CLiq9IiY.js +29 -0
- package/stencil/ui-skeleton-DIhls8et.js +11 -0
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
import { r as i, h as t, H as o } from "./index-b2193545-ChvjzzO4.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, l = class {
|
|
3
|
+
constructor(e) {
|
|
4
|
+
i(this, e), this.stylingValue = {
|
|
5
|
+
width: this.handleStylingProps(this.width),
|
|
6
|
+
height: this.handleStylingProps(this.height),
|
|
7
|
+
borderRadius: this.handleStylingProps(this.borderRadius),
|
|
8
|
+
marginBottom: this.handleStylingProps(this.marginBottom),
|
|
9
|
+
marginTop: this.handleStylingProps(this.marginTop),
|
|
10
|
+
marginLeft: this.handleStylingProps(this.marginLeft),
|
|
11
|
+
marginRight: this.handleStylingProps(this.marginRight)
|
|
12
|
+
}, this.structure = void 0, this.width = "unset", this.height = "unset", this.borderRadius = "unset", this.marginBottom = "unset", this.marginTop = "unset", this.marginLeft = "unset", this.marginRight = "unset", this.animation = !0, this.rows = 0, this.size = "100%", this.color = "#c2c2c2", this.primaryColor = "#c2c2c2", this.secondaryColor = "#ffffff";
|
|
13
|
+
}
|
|
14
|
+
handleStructureChange(e, r) {
|
|
15
|
+
r !== e && this.handleStructure(e);
|
|
16
|
+
}
|
|
17
|
+
handleStylingProps(e) {
|
|
18
|
+
switch (typeof e) {
|
|
19
|
+
case "number":
|
|
20
|
+
return e === 0 ? 0 : `${e}px`;
|
|
21
|
+
case "undefined":
|
|
22
|
+
return "unset";
|
|
23
|
+
case "string":
|
|
24
|
+
return ["auto", "unset", "none", "inherit", "initial"].includes(e) || e.endsWith("px") || e.endsWith("%") ? e : "unset";
|
|
25
|
+
default:
|
|
26
|
+
return "unset";
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
handleStructure(e) {
|
|
30
|
+
switch (e) {
|
|
31
|
+
case "logo":
|
|
32
|
+
return this.renderLogo();
|
|
33
|
+
case "image":
|
|
34
|
+
return this.renderImage();
|
|
35
|
+
case "title":
|
|
36
|
+
return this.renderTitle();
|
|
37
|
+
case "text":
|
|
38
|
+
return this.renderText();
|
|
39
|
+
case "rectangle":
|
|
40
|
+
return this.renderRectangle();
|
|
41
|
+
case "circle":
|
|
42
|
+
return this.renderCircle();
|
|
43
|
+
default:
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
renderLogo() {
|
|
48
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Logo " + (this.animation ? "Skeleton" : "") }));
|
|
49
|
+
}
|
|
50
|
+
renderImage() {
|
|
51
|
+
return t("div", { class: "Image " + (this.animation ? "Skeleton" : "") });
|
|
52
|
+
}
|
|
53
|
+
renderTitle() {
|
|
54
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Title " + (this.animation ? "Skeleton" : "") }));
|
|
55
|
+
}
|
|
56
|
+
renderText() {
|
|
57
|
+
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" : "") })));
|
|
58
|
+
}
|
|
59
|
+
renderRectangle() {
|
|
60
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Rectangle " + (this.animation ? "Skeleton" : "") }));
|
|
61
|
+
}
|
|
62
|
+
renderCircle() {
|
|
63
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Circle " + (this.animation ? "Skeleton" : "") }));
|
|
64
|
+
}
|
|
65
|
+
render() {
|
|
66
|
+
let e = "";
|
|
67
|
+
switch (this.structure) {
|
|
68
|
+
case "logo":
|
|
69
|
+
e = `
|
|
70
|
+
:host {
|
|
71
|
+
--emw-skeleton-logo-width: ${this.stylingValue.width};
|
|
72
|
+
--emw-skeleton-logo-height: ${this.stylingValue.height};
|
|
73
|
+
--emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
|
|
74
|
+
--emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
|
|
75
|
+
--emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
|
|
76
|
+
--emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
|
|
77
|
+
--emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
|
|
78
|
+
--emw-skeleton-logo-background: ${this.color};
|
|
79
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
80
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
81
|
+
}
|
|
82
|
+
`;
|
|
83
|
+
break;
|
|
84
|
+
case "image":
|
|
85
|
+
e = `
|
|
86
|
+
:host {
|
|
87
|
+
--emw-skeleton-image-width: ${this.stylingValue.width};
|
|
88
|
+
--emw-skeleton-image-height: ${this.stylingValue.height};
|
|
89
|
+
--emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
|
|
90
|
+
--emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
|
|
91
|
+
--emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
|
|
92
|
+
--emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
|
|
93
|
+
--emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
|
|
94
|
+
--emw-skeleton-image-background: ${this.color};
|
|
95
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
96
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
97
|
+
}
|
|
98
|
+
`;
|
|
99
|
+
break;
|
|
100
|
+
case "title":
|
|
101
|
+
e = `
|
|
102
|
+
:host {
|
|
103
|
+
--emw-skeleton-title-width: ${this.stylingValue.width};
|
|
104
|
+
--emw-skeleton-title-height: ${this.stylingValue.height};
|
|
105
|
+
--emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
|
|
106
|
+
--emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
|
|
107
|
+
--emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
|
|
108
|
+
--emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
|
|
109
|
+
--emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
|
|
110
|
+
--emw-skeleton-title-background: ${this.color};
|
|
111
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
112
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
113
|
+
}
|
|
114
|
+
`;
|
|
115
|
+
break;
|
|
116
|
+
case "text":
|
|
117
|
+
e = `
|
|
118
|
+
:host {
|
|
119
|
+
--emw-skeleton-text-width: ${this.stylingValue.width};
|
|
120
|
+
--emw-skeleton-text-height: ${this.stylingValue.height};
|
|
121
|
+
--emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
|
|
122
|
+
--emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
|
|
123
|
+
--emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
|
|
124
|
+
--emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
|
|
125
|
+
--emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
|
|
126
|
+
--emw-skeleton-text-background: ${this.color};
|
|
127
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
128
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
129
|
+
}
|
|
130
|
+
`;
|
|
131
|
+
break;
|
|
132
|
+
case "rectangle":
|
|
133
|
+
e = `
|
|
134
|
+
:host {
|
|
135
|
+
--emw-skeleton-rectangle-width: ${this.stylingValue.width};
|
|
136
|
+
--emw-skeleton-rectangle-height: ${this.stylingValue.height};
|
|
137
|
+
--emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
|
|
138
|
+
--emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
|
|
139
|
+
--emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
|
|
140
|
+
--emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
|
|
141
|
+
--emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
|
|
142
|
+
--emw-skeleton-rectangle-background: ${this.color};
|
|
143
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
144
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
145
|
+
}
|
|
146
|
+
`;
|
|
147
|
+
break;
|
|
148
|
+
case "circle":
|
|
149
|
+
e = `
|
|
150
|
+
:host {
|
|
151
|
+
--emw-skeleton-circle-size: ${this.size};
|
|
152
|
+
--emw-skeleton-circle-background: ${this.color};
|
|
153
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
154
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
155
|
+
}
|
|
156
|
+
`;
|
|
157
|
+
break;
|
|
158
|
+
default:
|
|
159
|
+
e = "";
|
|
160
|
+
}
|
|
161
|
+
return t(o, { key: "5c185b76c438d20d4ad88bc48d94ff5628410bb7" }, t("style", { key: "de95e60a5955d5b2af83710423fe40329c187f7e" }, e), this.handleStructure(this.structure));
|
|
162
|
+
}
|
|
163
|
+
static get watchers() {
|
|
164
|
+
return {
|
|
165
|
+
structure: ["handleStructureChange"]
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
};
|
|
169
|
+
l.style = s;
|
|
170
|
+
export {
|
|
171
|
+
l as U
|
|
172
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";const t=require("./index-b2193545-B88IRP_c.cjs"),o=":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=o,i=class{constructor(e){t.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%",this.color="#c2c2c2",this.primaryColor="#c2c2c2",this.secondaryColor="#ffffff"}handleStructureChange(e,r){r!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"Image "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,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.stylingValue.width};
|
|
4
|
+
--emw-skeleton-logo-height: ${this.stylingValue.height};
|
|
5
|
+
--emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
|
|
6
|
+
--emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
|
|
7
|
+
--emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
|
|
8
|
+
--emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
|
|
9
|
+
--emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
|
|
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.stylingValue.width};
|
|
17
|
+
--emw-skeleton-image-height: ${this.stylingValue.height};
|
|
18
|
+
--emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
|
|
19
|
+
--emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
|
|
20
|
+
--emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
|
|
21
|
+
--emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
|
|
22
|
+
--emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
|
|
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.stylingValue.width};
|
|
30
|
+
--emw-skeleton-title-height: ${this.stylingValue.height};
|
|
31
|
+
--emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
|
|
32
|
+
--emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
|
|
33
|
+
--emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
|
|
34
|
+
--emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
|
|
35
|
+
--emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
|
|
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.stylingValue.width};
|
|
43
|
+
--emw-skeleton-text-height: ${this.stylingValue.height};
|
|
44
|
+
--emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
|
|
45
|
+
--emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
|
|
46
|
+
--emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
|
|
47
|
+
--emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
|
|
48
|
+
--emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
|
|
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.stylingValue.width};
|
|
56
|
+
--emw-skeleton-rectangle-height: ${this.stylingValue.height};
|
|
57
|
+
--emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
|
|
58
|
+
--emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
|
|
59
|
+
--emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
|
|
60
|
+
--emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
|
|
61
|
+
--emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
|
|
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:"5c185b76c438d20d4ad88bc48d94ff5628410bb7"},t.h("style",{key:"de95e60a5955d5b2af83710423fe40329c187f7e"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};i.style=n;exports.UiSkeleton=i;
|
|
@@ -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-B88IRP_c.cjs"),p=require("./app-globals-0f993ce5-sCt45RkC.cjs"),g=require("./ui-skeleton-161699c3-D2nKbw7j.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-BsggWRv8.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:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1],color:[1],primaryColor:[1,"primary-color"],secondaryColor:[1,"secondary-color"]},null,{structure:["handleStructureChange"]}]]]],r)}));exports.ui_skeleton=g.UiSkeleton;
|
|
@@ -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-C38bdAS5.js";
|
|
18
|
+
import { g } from "./app-globals-0f993ce5-D-kw1sls.js";
|
|
19
|
+
import { U as R } from "./ui-skeleton-161699c3-B-ERXqP4.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: [8, "border-radius"], marginBottom: [8, "margin-bottom"], marginTop: [8, "margin-top"], marginLeft: [8, "margin-left"], marginRight: [8, "margin-right"], animation: [4], rows: [2], size: [1], color: [1], primaryColor: [1, "primary-color"], secondaryColor: [1, "secondary-color"] }, null, { structure: ["handleStructureChange"] }]]]], o);
|
|
26
|
+
}));
|
|
27
|
+
export {
|
|
28
|
+
R as ui_skeleton
|
|
29
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { b as t, p as e } from "./index-b2193545-ChvjzzO4.js";
|
|
2
|
+
import { g as a } from "./app-globals-0f993ce5-D-kw1sls.js";
|
|
3
|
+
import { U as u } from "./ui-skeleton-161699c3-D-YZ_9qb.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: [8, "border-radius"], marginBottom: [8, "margin-bottom"], marginTop: [8, "margin-top"], marginLeft: [8, "margin-left"], marginRight: [8, "margin-right"], animation: [4], rows: [2], size: [1], color: [1], primaryColor: [1, "primary-color"], secondaryColor: [1, "secondary-color"] }, null, { structure: ["handleStructureChange"] }]]]], r)));
|
|
9
|
+
export {
|
|
10
|
+
u as ui_skeleton
|
|
11
|
+
};
|