@everymatrix/player-profile-info 1.69.2 → 1.70.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/{PlayerProfileInfo-BKffDw0C.js → PlayerProfileInfo-BD7ASUnJ.js} +12 -13
- package/components/{PlayerProfileInfo-CYipAIfb.cjs → PlayerProfileInfo-PS7GdGxm.cjs} +2 -2
- package/components/{PlayerProfileInfo-D4yVGO1w.js → PlayerProfileInfo-tsQK-9SQ.js} +12 -13
- package/es2015/player-profile-info.cjs +1 -1
- package/es2015/player-profile-info.js +1 -1
- package/esnext/player-profile-info.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-b2193545-fV0AjNrh.js → index-b2193545-BeKKnKhR.js} +1 -1
- package/stencil/{index-b2193545-0nBa8-YE.js → index-b2193545-HC0t7mHa.js} +1 -1
- package/stencil/{index-b2193545-CYERCBaJ.cjs → index-b2193545-YW9b062G.cjs} +1 -1
- package/stencil/ui-skeleton-BL4789dS.cjs +1 -0
- package/stencil/ui-skeleton-Ca5rz3Hv.js +29 -0
- package/stencil/{ui-skeleton-161699c3-BPPr6sEf.js → ui-skeleton-ae35c6f2-BDBUiN3S.js} +12 -29
- package/stencil/{ui-skeleton-161699c3-DjmPsRvg.js → ui-skeleton-ae35c6f2-Cn0ZM_hs.js} +12 -29
- package/stencil/ui-skeleton-ae35c6f2-xLf3HyeB.cjs +55 -0
- package/stencil/ui-skeleton-hI4GeaLk.js +11 -0
- package/stencil/ui-skeleton-161699c3-KSM-Cr8Z.cjs +0 -73
- package/stencil/ui-skeleton-D9ekrDIX.cjs +0 -1
- package/stencil/ui-skeleton-mS4_ikDc.js +0 -11
- package/stencil/ui-skeleton-rSrQAgGU.js +0 -29
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("./index-b2193545-CYERCBaJ.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;
|
|
@@ -1 +0,0 @@
|
|
|
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-CYERCBaJ.cjs"),p=require("./app-globals-0f993ce5-sCt45RkC.cjs"),g=require("./ui-skeleton-161699c3-KSM-Cr8Z.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-D9ekrDIX.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;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { b as t, p as e } from "./index-b2193545-0nBa8-YE.js";
|
|
2
|
-
import { g as a } from "./app-globals-0f993ce5-D-kw1sls.js";
|
|
3
|
-
import { U as u } from "./ui-skeleton-161699c3-DjmPsRvg.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
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
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-fV0AjNrh.js";
|
|
18
|
-
import { g } from "./app-globals-0f993ce5-D-kw1sls.js";
|
|
19
|
-
import { U as R } from "./ui-skeleton-161699c3-BPPr6sEf.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
|
-
};
|