@everymatrix/player-elevate-card 1.31.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/dist/cjs/general-styling-wrapper_5.cjs.entry.js +3162 -0
- package/dist/cjs/index-234565f1.js +1645 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +21 -0
- package/dist/cjs/player-elevate-card.cjs.js +19 -0
- package/dist/collection/collection-manifest.json +22 -0
- package/dist/collection/components/player-elevate-card/player-elevate-card-items.js +43 -0
- package/dist/collection/components/player-elevate-card/player-elevate-card.css +65 -0
- package/dist/collection/components/player-elevate-card/player-elevate-card.js +282 -0
- package/dist/collection/components/player-elevate-card-data/player-elevate-card-data.css +189 -0
- package/dist/collection/components/player-elevate-card-data/player-elevate-card-data.js +208 -0
- package/dist/collection/components/player-elevate-loyaltycard/player-elevate-loyaltycard.css +68 -0
- package/dist/collection/components/player-elevate-loyaltycard/player-elevate-loyaltycard.js +287 -0
- package/dist/collection/components/player-elevate-pointcard/player-elevate-pointcard.css +70 -0
- package/dist/collection/components/player-elevate-pointcard/player-elevate-pointcard.js +323 -0
- package/dist/collection/components/static/button-default.svg +42 -0
- package/dist/collection/components/static/button-disabled.svg +4 -0
- package/dist/collection/components/static/button-hover.svg +4 -0
- package/dist/collection/components/static/button-level.svg +27 -0
- package/dist/collection/components/static/button-pressed.svg +18 -0
- package/dist/collection/components/static/button-redeem.svg +36 -0
- package/dist/collection/components/static/card-ground-over.png +0 -0
- package/dist/collection/components/static/card-ground-over.svg +903 -0
- package/dist/collection/components/static/card-ground.png +0 -0
- package/dist/collection/components/static/card-ground.svg +34 -0
- package/dist/collection/components/static/info.svg +4 -0
- package/dist/collection/components/static/level-badge.png +0 -0
- package/dist/collection/components/static/level-percent.svg +80 -0
- package/dist/collection/components/static/tips-info.svg +21 -0
- package/dist/collection/components/static/user.svg +3 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/models/player-elevate.js +1 -0
- package/dist/collection/utils/locale.utils.js +144 -0
- package/dist/collection/utils/utils.js +47 -0
- package/dist/components/general-styling-wrapper.js +6 -0
- package/dist/components/general-styling-wrapper2.js +103 -0
- package/dist/components/index.d.ts +26 -0
- package/dist/components/index.js +1 -0
- package/dist/components/player-elevate-card-data.d.ts +11 -0
- package/dist/components/player-elevate-card-data.js +6 -0
- package/dist/components/player-elevate-card-data2.js +624 -0
- package/dist/components/player-elevate-card-items.js +2250 -0
- package/dist/components/player-elevate-card.d.ts +11 -0
- package/dist/components/player-elevate-card.js +118 -0
- package/dist/components/player-elevate-loyaltycard.d.ts +11 -0
- package/dist/components/player-elevate-loyaltycard.js +124 -0
- package/dist/components/player-elevate-pointcard.d.ts +11 -0
- package/dist/components/player-elevate-pointcard.js +127 -0
- package/dist/components/static/button-default.svg +42 -0
- package/dist/components/static/button-disabled.svg +4 -0
- package/dist/components/static/button-hover.svg +4 -0
- package/dist/components/static/button-level.svg +27 -0
- package/dist/components/static/button-pressed.svg +18 -0
- package/dist/components/static/button-redeem.svg +36 -0
- package/dist/components/static/card-ground-over.png +0 -0
- package/dist/components/static/card-ground-over.svg +903 -0
- package/dist/components/static/card-ground.png +0 -0
- package/dist/components/static/card-ground.svg +34 -0
- package/dist/components/static/info.svg +4 -0
- package/dist/components/static/level-badge.png +0 -0
- package/dist/components/static/level-percent.svg +80 -0
- package/dist/components/static/tips-info.svg +21 -0
- package/dist/components/static/user.svg +3 -0
- package/dist/esm/general-styling-wrapper_5.entry.js +3154 -0
- package/dist/esm/index-747197fd.js +1616 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +17 -0
- package/dist/esm/player-elevate-card.js +17 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/player-elevate-card/index.esm.js +0 -0
- package/dist/player-elevate-card/p-56620f7c.entry.js +1 -0
- package/dist/player-elevate-card/p-afe7b72e.js +1 -0
- package/dist/player-elevate-card/player-elevate-card.esm.js +1 -0
- package/dist/static/button-default.svg +42 -0
- package/dist/static/button-disabled.svg +4 -0
- package/dist/static/button-hover.svg +4 -0
- package/dist/static/button-level.svg +27 -0
- package/dist/static/button-pressed.svg +18 -0
- package/dist/static/button-redeem.svg +36 -0
- package/dist/static/card-ground-over.png +0 -0
- package/dist/static/card-ground-over.svg +903 -0
- package/dist/static/card-ground.png +0 -0
- package/dist/static/card-ground.svg +34 -0
- package/dist/static/info.svg +4 -0
- package/dist/static/level-badge.png +0 -0
- package/dist/static/level-percent.svg +80 -0
- package/dist/static/tips-info.svg +21 -0
- package/dist/static/user.svg +3 -0
- package/dist/stencil.config.js +32 -0
- package/dist/types/Users/dragos.bodea/Documents/everymatrix-prjs/emfe-widgets/widgets-stencil/packages/player-elevate-card/.stencil/packages/player-elevate-card/stencil.config.d.ts +2 -0
- package/dist/types/components/player-elevate-card/player-elevate-card-items.d.ts +19 -0
- package/dist/types/components/player-elevate-card/player-elevate-card.d.ts +53 -0
- package/dist/types/components/player-elevate-card-data/player-elevate-card-data.d.ts +22 -0
- package/dist/types/components/player-elevate-loyaltycard/player-elevate-loyaltycard.d.ts +53 -0
- package/dist/types/components/player-elevate-pointcard/player-elevate-pointcard.d.ts +66 -0
- package/dist/types/components.d.ts +335 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/models/player-elevate.d.ts +40 -0
- package/dist/types/stencil-public-runtime.d.ts +1565 -0
- package/dist/types/utils/locale.utils.d.ts +15 -0
- package/dist/types/utils/utils.d.ts +1 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +12 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +10 -0
- package/package.json +24 -0
|
Binary file
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<svg width="100%" height="100%" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g filter="url(#filter0_bd_164_4223)">
|
|
3
|
+
<rect x="0" width="100%" height="100%" rx="20" fill="#F5F1E4" fill-opacity="0.25" shape-rendering="crispEdges"/>
|
|
4
|
+
<rect x="0" y="1" width="100%" height="" rx="19" stroke="url(#paint0_linear_164_4223)" stroke-opacity="0.6" stroke-width="2px" shape-rendering="crispEdges"/>
|
|
5
|
+
<rect x="0" y="1" width="100%" height="100%" rx="19" stroke="url(#paint1_linear_164_4223)" stroke-width="2px" shape-rendering="crispEdges"/>
|
|
6
|
+
<rect x="0" y="1" width="100%" height="100%" rx="19" stroke="url(#paint2_linear_164_4223)" stroke-width="2px" shape-rendering="crispEdges"/>
|
|
7
|
+
</g>
|
|
8
|
+
<defs>
|
|
9
|
+
<filter id="filter0_bd_164_4223" x="0" y="0" width="100%" height="100%" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
10
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
11
|
+
<feGaussianBlur in="BackgroundImageFix" stdDeviation="20"/>
|
|
12
|
+
<feComposite in2="SourceAlpha" operator="in" result="effect1_backgroundBlur_164_4223"/>
|
|
13
|
+
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
|
14
|
+
<feOffset dy="4"/>
|
|
15
|
+
<feGaussianBlur stdDeviation="2"/>
|
|
16
|
+
<feComposite in2="hardAlpha" operator="out"/>
|
|
17
|
+
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
|
|
18
|
+
<feBlend mode="normal" in2="effect1_backgroundBlur_164_4223" result="effect2_dropShadow_164_4223"/>
|
|
19
|
+
<feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_164_4223" result="shape"/>
|
|
20
|
+
</filter>
|
|
21
|
+
<linearGradient id="paint0_linear_164_4223" x1="443.76" y1="83.9511" x2="318.014" y2="90.9637" gradientUnits="userSpaceOnUse">
|
|
22
|
+
<stop stop-color="white"/>
|
|
23
|
+
<stop offset="1" stop-color="#EFEFEF" stop-opacity="0"/>
|
|
24
|
+
</linearGradient>
|
|
25
|
+
<linearGradient id="paint1_linear_164_4223" x1="0" y1="0" x2="106.285" y2="95.535" gradientUnits="userSpaceOnUse">
|
|
26
|
+
<stop stop-color="white" stop-opacity="0.5"/>
|
|
27
|
+
<stop offset="1" stop-color="white" stop-opacity="0"/>
|
|
28
|
+
</linearGradient>
|
|
29
|
+
<linearGradient id="paint2_linear_164_4223" x1="373" y1="210" x2="243.388" y2="153.851" gradientUnits="userSpaceOnUse">
|
|
30
|
+
<stop stop-color="white" stop-opacity="0.5"/>
|
|
31
|
+
<stop offset="1" stop-color="white" stop-opacity="0"/>
|
|
32
|
+
</linearGradient>
|
|
33
|
+
</defs>
|
|
34
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<circle cx="6" cy="6" r="5.5" stroke="#EEEEEE"/>
|
|
3
|
+
<path d="M4.12276 9C4.08866 9 4.05797 8.98928 4.03069 8.96783C4.01023 8.95174 4 8.92761 4 8.89544V8.2681C4 8.24129 4.01023 8.21984 4.03069 8.20375C4.05797 8.18231 4.08866 8.17158 4.12276 8.17158H5.51407V5.69437H4.30691C4.2728 5.69437 4.24211 5.68633 4.21483 5.67024C4.19437 5.64879 4.18414 5.62198 4.18414 5.58981V4.96247C4.18414 4.93566 4.19437 4.91421 4.21483 4.89812C4.24211 4.87668 4.2728 4.86595 4.30691 4.86595H6.49616C6.53026 4.86595 6.55754 4.87668 6.57801 4.89812C6.60529 4.91421 6.61893 4.93566 6.61893 4.96247V8.17158H7.87724C7.91134 8.17158 7.93862 8.18231 7.95908 8.20375C7.98636 8.21984 8 8.24129 8 8.2681V8.89544C8 8.96515 7.95908 9 7.87724 9H4.12276ZM5.92327 4.23056C5.70503 4.23056 5.52089 4.17158 5.37084 4.05362C5.2208 3.93566 5.14578 3.79357 5.14578 3.62735C5.14578 3.4504 5.2208 3.30295 5.37084 3.18499C5.52089 3.06166 5.70503 3 5.92327 3C6.14834 3 6.33589 3.06166 6.48593 3.18499C6.6428 3.30295 6.72123 3.4504 6.72123 3.62735C6.72123 3.79357 6.6428 3.93566 6.48593 4.05362C6.33589 4.17158 6.14834 4.23056 5.92327 4.23056Z" fill="#EEEEEE"/>
|
|
4
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
<svg width="100%" height="28" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<rect y="12" width="100%" id="total_level" height="5" rx="2.5" fill="white" fill-opacity="0.5"/>
|
|
3
|
+
<rect y="12" id="current_level" width="64" height="5" rx="2.5" fill="white"/>
|
|
4
|
+
<g filter="url(#filter_current_level)">
|
|
5
|
+
<circle id="circle_current_level" cx="74.5" cy="14.5" r="6.5" fill="white"/>
|
|
6
|
+
</g>
|
|
7
|
+
<g filter="url(#filter_heart_ball)">
|
|
8
|
+
<g filter="url(#filter_ball)">
|
|
9
|
+
<circle cx="169" cy="14" r="10" id="lock" fill="url(#paint0_linear_ball)"/>
|
|
10
|
+
</g>
|
|
11
|
+
<g filter="url(#filter_heart)">
|
|
12
|
+
<svg x="0" y="4" id="lock_box">
|
|
13
|
+
<path d="M10.217 6.42442c-0.713,-0.574,-1.304,-1.083,-1.928,-1.622c-0.348,-0.299,-0.707,-0.611,-1.101,-0.943l-0.013,-0.01c0,0,-0.023,-0.017,-0.04,-0.027l-0.167,-0.095l-0.15,0.12c0,0,-0.015,0.012,-0.024,0.02c-0.391,0.33,-0.749,0.64,-1.094,0.939c-0.622,0.539,-1.211,1.048,-1.924,1.624c-1.816,1.463,-3.598,3.263,-3.033,5.506c0.404,1.601,2.104,2.905,3.789,2.905c0.211,0,0.423,-0.02,0.626,-0.061c0.286,-0.058,0.572,-0.145,0.864,-0.265c-0.079,0.962,-0.413,1.864,-0.881,2.369l-0.423,0.459h0.633c0.633,0,1.018,-0.007,1.356,-0.013c0.248,-0.004,0.462,-0.008,0.72,-0.008c0.335,0,0.709,0.006,1.215,0.021l0.686,0.02l-0.474,-0.483c-0.504,-0.514,-0.847,-1.403,-0.923,-2.385c0.311,0.132,0.616,0.227,0.916,0.287c0.204,0.039,0.411,0.059,0.623,0.059c1.687,0,3.386,-1.304,3.789,-2.909c0.56,-2.243,-1.224,-4.041,-3.042,-5.504v-0.004z" fill="#933CBF"/>
|
|
14
|
+
<path d="M9.727,6.98459c-1.004,-0.83,-1.741,-1.515,-2.723,-2.365c-0.002,0,-0.004,-0.004,-0.007,-0.006c-0.002,0,-0.004,0.004,-0.006,0.006c-0.98,0.85,-1.715,1.537,-2.721,2.367c-1.455,1.202,-3.126,2.821,-2.638,4.81c0.37,1.511,2.091,2.751,3.665,2.43c0.389,-0.08,0.75,-0.224,1.094,-0.402c0,0.116,-0.004,0.233,-0.012,0.353c-0.064,0.991,-0.398,1.892,-0.86,2.401c1.481,0,1.481,-0.043,2.961,0c-0.481,-0.503,-0.834,-1.382,-0.9,-2.401c-0.008,-0.127,-0.012,-0.253,-0.012,-0.378c0.357,0.19,0.733,0.342,1.14,0.425c1.574,0.319,3.292,-0.922,3.661,-2.433c0.486,-1.992,-1.189,-3.609,-2.644,
|
|
15
|
+
-4.809l0.002,0.002z" fill="url(#paint1_linear_lock)"/>
|
|
16
|
+
<path d="M9.255,7.551c-0.844,-0.716,-1.462,-1.309,-2.286,-2.045c-0.002,0,-0.004,-0.004,-0.006,-0.006c0,0,-0.004,0.004,-0.006,0.006c-0.824,0.736,-1.44,1.329,-2.284,2.047c-0.919,0.782,-1.94,1.769,-2.214,2.943c-0.115,0.021,-0.914,0.044,-0.914,0.044l0.887,0.083c-0.039,0.206,-0.055,0.418,-0.041,0.638c0.087,-1.371,1.25,-2.507,2.282,-3.384c0.844,-0.718,1.462,-1.313,2.284,-2.047c0.002,-0.002,0.004,-0.004,0.006,-0.006c0.002,0,0.004,0.004,0.006,0.004c0.824,0.734,1.442,1.329,2.286,2.045c1.034,0.879,2.198,2.013,2.286,3.386c0.093,-1.517,-1.173,-2.761,-2.286,-3.708z" fill="#9040C9"/>
|
|
17
|
+
</svg>
|
|
18
|
+
</g>
|
|
19
|
+
</g>
|
|
20
|
+
<g filter="url(#filter_lock)">
|
|
21
|
+
<svg x="100%" y="9" id="heart_box">
|
|
22
|
+
<path d="M7,6c-0.19,-0.002,-0.377,0.052,-0.534,0.154c-0.158,0.103,-0.278,0.25,-0.346,0.42c-0.069,0.171,-0.081,0.357,-0.035,0.535c0.046,0.177,0.147,0.337,0.29,0.457v0.834c0,0.159,0.066,0.312,0.183,0.424c0.117,0.113,0.276,0.176,0.442,0.176c0.166,0,0.325,-0.063,0.442,-0.176c0.117,-0.112,0.183,-0.265,0.183,-0.424v-0.834c0.143,-0.12,0.244,-0.28,0.29,-0.457c0.046,-0.178,0.034,-0.364,-0.035,-0.535c-0.068,-0.17,-0.188,-0.317,-0.346,-0.42c-0.157,-0.102,-0.344,-0.156,-0.534,-0.154zm3.125,-2.4v-1.2c0,-0.796,-0.329,-1.559,-0.915,-2.121c-0.586,-0.563,-1.381,-0.879,-2.21,-0.879c-0.829,0,-1.624,0.316,-2.21,0.879c-0.586,0.562,-0.915,1.325,-0.915,2.121v1.2c-0.497,0,-0.974,0.19,-1.326,0.527c-0.351,0.338,-0.549,0.796,-0.549,1.273v4.2c0,0.477,0.198,0.935,0.549,1.273c0.352,0.337,0.829,0.527,1.326,0.527h6.25c0.497,0,0.974,-0.19,1.326,-0.527c0.351,-0.338,0.549,-0.796,0.549,-1.273v-4.2c0,-0.477,-0.198,-0.935,-0.549,-1.273c-0.352,-0.337,-0.829,-0.527,-1.326,-0.527zm-5,-1.2c0,-0.477,0.198,-0.935,0.549,-1.273c0.352,-0.337,0.829,-0.527,1.326,-0.527c0.497,0,0.974,0.19,1.326,0.527c0.351,0.338,0.549,0.796,0.549,1.273v1.2h-3.75v-1.2zm5.625,7.2c0,0.159,-0.066,0.312,-0.183,0.424c-0.117,0.113,-0.276,0.176,-0.442,0.176h-6.25c-0.166,0,-0.325,-0.063,-0.442,-0.176c-0.117,-0.112,-0.183,-0.265,-0.183,-0.424v-4.2c0,-0.159,0.066,-0.312,0.183,-0.424c0.117,-0.113,0.276,-0.176,0.442,-0.176h6.25c0.166,0,0.325,0.063,0.442,0.176c0.117,0.112,0.183,0.265,0.183,0.424v4.2z" fill="white"/>
|
|
23
|
+
</svg>
|
|
24
|
+
</g>
|
|
25
|
+
<defs>
|
|
26
|
+
<filter id="filter_current_level" x="64" y="4" width="21" height="21" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
27
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
28
|
+
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
29
|
+
<feGaussianBlur stdDeviation="2" result="effect1_foregroundBlur_305_23"/>
|
|
30
|
+
</filter>
|
|
31
|
+
<filter id="filter_heart_ball" x="155" y="0" width="28" height="28" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
32
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
33
|
+
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
|
34
|
+
<feOffset/>
|
|
35
|
+
<feGaussianBlur stdDeviation="2"/>
|
|
36
|
+
<feComposite in2="hardAlpha" operator="out"/>
|
|
37
|
+
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
|
|
38
|
+
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_305_23"/>
|
|
39
|
+
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_305_23" result="shape"/>
|
|
40
|
+
</filter>
|
|
41
|
+
<filter id="filter_ball" x="159" y="4" width="20" height="21" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
42
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
43
|
+
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
44
|
+
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
|
45
|
+
<feOffset dy="1"/>
|
|
46
|
+
<feGaussianBlur stdDeviation="1"/>
|
|
47
|
+
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
|
48
|
+
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0"/>
|
|
49
|
+
<feBlend mode="normal" in2="shape" result="effect1_innerShadow_305_23"/>
|
|
50
|
+
</filter>
|
|
51
|
+
<filter id="filter_heart" x="161.636" y="5.72727" width="14.7271" height="15.6364" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
52
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
53
|
+
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
|
54
|
+
<feOffset/>
|
|
55
|
+
<feGaussianBlur stdDeviation="0.5"/>
|
|
56
|
+
<feComposite in2="hardAlpha" operator="out"/>
|
|
57
|
+
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
|
|
58
|
+
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_305_23"/>
|
|
59
|
+
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_305_23" result="shape"/>
|
|
60
|
+
</filter>
|
|
61
|
+
<filter id="filter_lock" x="50" y="7" width="12" height="14" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
62
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
63
|
+
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
|
64
|
+
<feOffset/>
|
|
65
|
+
<feGaussianBlur stdDeviation="0.5"/>
|
|
66
|
+
<feComposite in2="hardAlpha" operator="out"/>
|
|
67
|
+
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
|
|
68
|
+
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_305_23"/>
|
|
69
|
+
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_305_23" result="shape"/>
|
|
70
|
+
</filter>
|
|
71
|
+
<linearGradient id="paint0_linear_ball" x1="163" y1="6" x2="174.2" y2="22.6" gradientUnits="userSpaceOnUse">
|
|
72
|
+
<stop stop-color="#946AD7"/>
|
|
73
|
+
<stop offset="1" stop-color="#EFABEB"/>
|
|
74
|
+
</linearGradient>
|
|
75
|
+
<linearGradient id="paint1_linear_lock" x1="100%" y1="18.4056" x2="169.002" y2="10.2845" gradientUnits="userSpaceOnUse">
|
|
76
|
+
<stop stop-color="#814FD6"/>
|
|
77
|
+
<stop offset="1" stop-color="#D679D8"/>
|
|
78
|
+
</linearGradient>
|
|
79
|
+
</defs>
|
|
80
|
+
</svg>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<svg width="126" height="92" viewBox="0 0 126 92" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g filter="url(#filter0_d_242_4231)">
|
|
3
|
+
<rect x="24" y="20" width="78" height="36" rx="4" fill="white"/>
|
|
4
|
+
<path d="M24 24C24 21.7909 25.7909 20 28 20H64V56H28C25.7909 56 24 54.2091 24 52V24Z" fill="#464646"/>
|
|
5
|
+
<path d="M51 56H37L43.2474 63.1399C43.6458 63.5952 44.3542 63.5952 44.7526 63.1399L51 56Z" fill="#464646"/>
|
|
6
|
+
<circle cx="44" cy="38" r="7" fill="white"/>
|
|
7
|
+
<path d="M43.9405 34C44.5456 34 45.0362 34.4906 45.0362 35.0957C45.0362 35.7009 44.5456 36.1915 43.9405 36.1915C43.3353 36.1915 42.8447 35.7009 42.8447 35.0957C42.8447 34.4906 43.3353 34 43.9405 34Z" fill="#464646"/>
|
|
8
|
+
<path d="M45.8801 41.3737C45.8801 41.7617 45.5626 42.0791 45.1746 42.0791H44.3233H43.551H42.7055C42.3175 42.0791 42 41.7617 42 41.3737V41.3575C42 40.9695 42.3175 40.6521 42.7055 40.6521H42.8455V37.8714H42.3528C42.1588 37.8714 42 37.7127 42 37.5187V37.4936C42 37.2996 42.1588 37.1409 42.3528 37.1409H43.551H44.031H44.3233C44.7113 37.1409 45.0287 37.4583 45.0287 37.8463V40.6521H45.1746C45.5626 40.6521 45.8801 40.9696 45.8801 41.3576V41.3737Z" fill="#464646"/>
|
|
9
|
+
</g>
|
|
10
|
+
<defs>
|
|
11
|
+
<filter id="filter0_d_242_4231" x="0" y="0" width="126" height="91.4814" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
12
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
13
|
+
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
|
14
|
+
<feOffset dy="4"/>
|
|
15
|
+
<feGaussianBlur stdDeviation="12"/>
|
|
16
|
+
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
|
|
17
|
+
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_242_4231"/>
|
|
18
|
+
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_242_4231" result="shape"/>
|
|
19
|
+
</filter>
|
|
20
|
+
</defs>
|
|
21
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
const DEFAULT_LANGUAGE = 'en';
|
|
2
|
+
const SUPPORTED_LANGUAGES = ['ro', 'en'];
|
|
3
|
+
export const TRANSLATIONS = {
|
|
4
|
+
en: {
|
|
5
|
+
redeem: 'Redeem',
|
|
6
|
+
expireOn: 'Expire on ',
|
|
7
|
+
pointsToBeExpired: '${expirationPoints} points to expire in ${expireDay} days',
|
|
8
|
+
pointsToBeExpiredDay: '${expirationPoints} points to expire in ${expireDay} day',
|
|
9
|
+
pointsToBeExpiredHours: '${expirationPoints} points to expire in ${expireDay} hours',
|
|
10
|
+
pointsToBeExpiredHour: '${expirationPoints} points to expire in ${expireDay} hour',
|
|
11
|
+
tipsForNextLevel: 'Need ${pointsToReach} to reach ${levelName}',
|
|
12
|
+
spendablePoints: 'Spendable Points:',
|
|
13
|
+
details: 'Details',
|
|
14
|
+
earningRules: 'Earning Rules',
|
|
15
|
+
xp: 'XP',
|
|
16
|
+
sp: 'Coins',
|
|
17
|
+
termAndConditions: 'Term & Conditions',
|
|
18
|
+
},
|
|
19
|
+
'zh-hk': {
|
|
20
|
+
redeem: '兑奖',
|
|
21
|
+
expireOn: 'Expire on ',
|
|
22
|
+
pointsToBeExpired: '${expirationPoints} points to expire in ${expireDay} days',
|
|
23
|
+
pointsToBeExpiredDay: '${expirationPoints} points to expire in ${expireDay} day',
|
|
24
|
+
pointsToBeExpiredHours: '${expirationPoints} points to expire in ${expireDay} hours',
|
|
25
|
+
pointsToBeExpiredHour: '${expirationPoints} points to expire in ${expireDay} hour',
|
|
26
|
+
tipsForNextLevel: 'Need ${pointsToReach} to reach ${levelName}',
|
|
27
|
+
spendablePoints: 'Spendable Points:',
|
|
28
|
+
details: '明细',
|
|
29
|
+
earningRules: 'Earning Rules',
|
|
30
|
+
xp: 'XP',
|
|
31
|
+
sp: 'Coins',
|
|
32
|
+
termAndConditions: 'Term & Conditions',
|
|
33
|
+
},
|
|
34
|
+
de: {
|
|
35
|
+
redeem: 'Redeem',
|
|
36
|
+
expireOn: 'Expire on ',
|
|
37
|
+
pointsToBeExpired: '${expirationPoints} points to expire in ${expireDay} days',
|
|
38
|
+
pointsToBeExpiredDay: '${expirationPoints} points to expire in ${expireDay} day',
|
|
39
|
+
pointsToBeExpiredHours: '${expirationPoints} points to expire in ${expireDay} hours',
|
|
40
|
+
pointsToBeExpiredHour: '${expirationPoints} points to expire in ${expireDay} hour',
|
|
41
|
+
tipsForNextLevel: 'Need ${pointsToReach} to reach ${levelName}',
|
|
42
|
+
spendablePoints: 'Spendable Points:',
|
|
43
|
+
details: 'Details',
|
|
44
|
+
earningRules: 'Earning Rules',
|
|
45
|
+
xp: 'XP',
|
|
46
|
+
sp: 'Coins',
|
|
47
|
+
termAndConditions: 'Term & Conditions',
|
|
48
|
+
},
|
|
49
|
+
it: {
|
|
50
|
+
redeem: 'Redeem',
|
|
51
|
+
expireOn: 'Expire on ',
|
|
52
|
+
pointsToBeExpired: '${expirationPoints} points to expire in ${expireDay} days',
|
|
53
|
+
pointsToBeExpiredDay: '${expirationPoints} points to expire in ${expireDay} day',
|
|
54
|
+
pointsToBeExpiredHours: '${expirationPoints} points to expire in ${expireDay} hours',
|
|
55
|
+
pointsToBeExpiredHour: '${expirationPoints} points to expire in ${expireDay} hour',
|
|
56
|
+
tipsForNextLevel: 'Need ${pointsToReach} to reach ${levelName}',
|
|
57
|
+
spendablePoints: 'Spendable Points:',
|
|
58
|
+
details: 'Details',
|
|
59
|
+
earningRules: 'Earning Rules',
|
|
60
|
+
xp: 'XP',
|
|
61
|
+
sp: 'Coins',
|
|
62
|
+
termAndConditions: 'Term & Conditions',
|
|
63
|
+
},
|
|
64
|
+
fr: {
|
|
65
|
+
redeem: 'Redeem',
|
|
66
|
+
expireOn: 'Expire on ',
|
|
67
|
+
pointsToBeExpired: '${expirationPoints} points to expire in ${expireDay} days',
|
|
68
|
+
pointsToBeExpiredDay: '${expirationPoints} points to expire in ${expireDay} day',
|
|
69
|
+
pointsToBeExpiredHours: '${expirationPoints} points to expire in ${expireDay} hours',
|
|
70
|
+
pointsToBeExpiredHour: '${expirationPoints} points to expire in ${expireDay} hour',
|
|
71
|
+
tipsForNextLevel: 'Need ${pointsToReach} to reach ${levelName}',
|
|
72
|
+
spendablePoints: 'Spendable Points:',
|
|
73
|
+
details: 'Details',
|
|
74
|
+
earningRules: 'Earning Rules',
|
|
75
|
+
xp: 'XP',
|
|
76
|
+
sp: 'Coins',
|
|
77
|
+
termAndConditions: 'Term & Conditions',
|
|
78
|
+
},
|
|
79
|
+
es: {
|
|
80
|
+
redeem: 'Redeem'
|
|
81
|
+
},
|
|
82
|
+
tr: {
|
|
83
|
+
redeem: 'Redeem'
|
|
84
|
+
},
|
|
85
|
+
ru: {
|
|
86
|
+
redeem: 'Redeem'
|
|
87
|
+
},
|
|
88
|
+
ro: {
|
|
89
|
+
redeem: 'Redeem'
|
|
90
|
+
},
|
|
91
|
+
hr: {
|
|
92
|
+
redeem: 'Otkupiti',
|
|
93
|
+
expireOn: 'Istječe',
|
|
94
|
+
pointsToBeExpired: '${expirationPoints} bodova ističe za ${expireDay} dana',
|
|
95
|
+
tipsForNextLevel: 'Trebate ${pointsToReach} da dosegnete razinu ${levelName}',
|
|
96
|
+
spendablePoints: 'Bodovi za potrošit:',
|
|
97
|
+
details: 'Detalji',
|
|
98
|
+
xp: 'XP',
|
|
99
|
+
},
|
|
100
|
+
hu: {
|
|
101
|
+
redeem: 'Redeem'
|
|
102
|
+
},
|
|
103
|
+
pl: {
|
|
104
|
+
redeem: 'Redeem'
|
|
105
|
+
},
|
|
106
|
+
pt: {
|
|
107
|
+
redeem: 'Redeem'
|
|
108
|
+
},
|
|
109
|
+
sl: {
|
|
110
|
+
redeem: 'Redeem'
|
|
111
|
+
},
|
|
112
|
+
sr: {
|
|
113
|
+
redeem: 'Redeem'
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
export const translate = (key, customLang) => {
|
|
117
|
+
const lang = customLang;
|
|
118
|
+
return TRANSLATIONS[lang !== undefined && SUPPORTED_LANGUAGES.includes(lang) ? lang : DEFAULT_LANGUAGE][key];
|
|
119
|
+
};
|
|
120
|
+
export const translateWithParams = (key, params) => {
|
|
121
|
+
const lang = params['lang'];
|
|
122
|
+
let templateString = TRANSLATIONS[lang !== undefined && SUPPORTED_LANGUAGES.includes(lang) ? lang : DEFAULT_LANGUAGE][key];
|
|
123
|
+
if (!params) {
|
|
124
|
+
return TRANSLATIONS[lang !== undefined && SUPPORTED_LANGUAGES.includes(lang) ? lang : DEFAULT_LANGUAGE][key];
|
|
125
|
+
}
|
|
126
|
+
Object.keys(params).forEach((paramName) => {
|
|
127
|
+
templateString = templateString.replace(new RegExp('\\$\{' + paramName + '\}', 'gm'), params[paramName]);
|
|
128
|
+
});
|
|
129
|
+
return templateString;
|
|
130
|
+
};
|
|
131
|
+
export const getTranslations = (url) => {
|
|
132
|
+
return new Promise((resolve) => {
|
|
133
|
+
fetch(url)
|
|
134
|
+
.then((res) => res.json())
|
|
135
|
+
.then((data) => {
|
|
136
|
+
Object.keys(data).forEach((item) => {
|
|
137
|
+
for (let key in data[item]) {
|
|
138
|
+
TRANSLATIONS[item][key] = data[item][key];
|
|
139
|
+
}
|
|
140
|
+
});
|
|
141
|
+
resolve(true);
|
|
142
|
+
});
|
|
143
|
+
});
|
|
144
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export function updateProgressSvg(progressElementRef, percent) {
|
|
2
|
+
const svgElement = progressElementRef.querySelector('#total_level');
|
|
3
|
+
const endLockWidth = 15;
|
|
4
|
+
const barWidth = svgElement.getBBox().width;
|
|
5
|
+
const widthOnBar = percent * barWidth - endLockWidth < 0 ? 0 : percent * barWidth - endLockWidth;
|
|
6
|
+
//update bar's width, widthOnBar
|
|
7
|
+
const levelBar = progressElementRef.querySelector('#current_level');
|
|
8
|
+
//update filters, x = widthOnBar
|
|
9
|
+
const levelFilter = progressElementRef.querySelector('#filter_current_level');
|
|
10
|
+
//update circle, widthOnBar+10
|
|
11
|
+
const levelCircle = progressElementRef.querySelector('#circle_current_level');
|
|
12
|
+
svgElement.setAttribute('viewbox', `0 0 ${widthOnBar} 28`);
|
|
13
|
+
levelBar.setAttribute('width', `${widthOnBar}`);
|
|
14
|
+
levelCircle.setAttribute('cx', `${widthOnBar + 3}`);
|
|
15
|
+
levelFilter.setAttribute('x', `${widthOnBar - 4}`);
|
|
16
|
+
//update lock location
|
|
17
|
+
const endLockElement = progressElementRef.querySelector('#lock');
|
|
18
|
+
// wrapper of endLock, include ball and heatfilter1_d_305_23
|
|
19
|
+
const filter1 = progressElementRef.querySelector('#filter_heart_ball');
|
|
20
|
+
// ball in endlockfilter2_i_305_23
|
|
21
|
+
const filter2 = progressElementRef.querySelector('#filter_ball');
|
|
22
|
+
// heart in endlockfilter3_d_305_23
|
|
23
|
+
const filter3 = progressElementRef.querySelector('#filter_heart');
|
|
24
|
+
//wrapper of lockfilter4_d_305_23
|
|
25
|
+
const filterLock = progressElementRef.querySelector('#filter_lock');
|
|
26
|
+
// shadow of ball paint0_linear_305_23
|
|
27
|
+
const paint0 = progressElementRef.querySelector('#paint0_linear_ball');
|
|
28
|
+
//paint in lockpaint1_linear_305_23
|
|
29
|
+
const paint1 = progressElementRef.querySelector('#paint1_linear_lock');
|
|
30
|
+
// box of lock and heart, for move position dynamically
|
|
31
|
+
const lockBox = progressElementRef.querySelector('#lock_box');
|
|
32
|
+
const heartBox = progressElementRef.querySelector('#heart_box');
|
|
33
|
+
const rightPaddingOfLockWidth = 10, cxOfEndLockEle = barWidth - rightPaddingOfLockWidth;
|
|
34
|
+
//set cx of lockElement
|
|
35
|
+
endLockElement.setAttribute('cx', `${cxOfEndLockEle}`);
|
|
36
|
+
//set cx of sub Elements
|
|
37
|
+
paint1.setAttribute('x1', `${cxOfEndLockEle}`);
|
|
38
|
+
paint1.setAttribute('x2', `${cxOfEndLockEle}`);
|
|
39
|
+
paint0.setAttribute('x1', `${cxOfEndLockEle - 6}`);
|
|
40
|
+
paint0.setAttribute('x2', `${cxOfEndLockEle - 6 + 11.2}`);
|
|
41
|
+
filterLock.setAttribute('x', `${cxOfEndLockEle - 6}`);
|
|
42
|
+
filter3.setAttribute('x', `${cxOfEndLockEle - 6 - 2}`);
|
|
43
|
+
filter2.setAttribute('x', `${cxOfEndLockEle - 6 - 2 - 2}`);
|
|
44
|
+
filter1.setAttribute('x', `${cxOfEndLockEle - 6 - 2 - 2 - 4}`);
|
|
45
|
+
lockBox.setAttribute('x', `${cxOfEndLockEle - 6}`);
|
|
46
|
+
heartBox.setAttribute('x', `${cxOfEndLockEle - 6}`);
|
|
47
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { G as GeneralStylingWrapper$1, d as defineCustomElement$1 } from './general-styling-wrapper2.js';
|
|
2
|
+
|
|
3
|
+
const GeneralStylingWrapper = GeneralStylingWrapper$1;
|
|
4
|
+
const defineCustomElement = defineCustomElement$1;
|
|
5
|
+
|
|
6
|
+
export { GeneralStylingWrapper, defineCustomElement };
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
|
|
3
|
+
const mergeTranslations = (url, target) => {
|
|
4
|
+
return new Promise((resolve) => {
|
|
5
|
+
fetch(url)
|
|
6
|
+
.then((res) => res.json())
|
|
7
|
+
.then((data) => {
|
|
8
|
+
Object.keys(data).forEach((item) => {
|
|
9
|
+
target[item] = target[item] ? target[item] : {};
|
|
10
|
+
for (let key in data[item]) {
|
|
11
|
+
target[item][key] = data[item][key];
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
resolve(true);
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
const generalStylingWrapperCss = ":host{display:block}";
|
|
20
|
+
|
|
21
|
+
const GeneralStylingWrapper = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
22
|
+
constructor() {
|
|
23
|
+
super();
|
|
24
|
+
this.__registerHost();
|
|
25
|
+
/**
|
|
26
|
+
* Client custom styling via inline styles
|
|
27
|
+
*/
|
|
28
|
+
this.clientStyling = '';
|
|
29
|
+
/**
|
|
30
|
+
* Client custom styling via url
|
|
31
|
+
*/
|
|
32
|
+
this.clientStylingUrl = '';
|
|
33
|
+
/**
|
|
34
|
+
* Translation via url
|
|
35
|
+
*/
|
|
36
|
+
this.translationUrl = '';
|
|
37
|
+
this.stylingAppends = false;
|
|
38
|
+
this.setClientStyling = () => {
|
|
39
|
+
let sheet = document.createElement('style');
|
|
40
|
+
sheet.innerHTML = this.clientStyling;
|
|
41
|
+
this.el.prepend(sheet);
|
|
42
|
+
};
|
|
43
|
+
this.setClientStylingURL = () => {
|
|
44
|
+
let url = new URL(this.clientStylingUrl);
|
|
45
|
+
let cssFile = document.createElement('style');
|
|
46
|
+
fetch(url.href)
|
|
47
|
+
.then((res) => res.text())
|
|
48
|
+
.then((data) => {
|
|
49
|
+
cssFile.innerHTML = data;
|
|
50
|
+
setTimeout(() => {
|
|
51
|
+
this.el.prepend(cssFile);
|
|
52
|
+
}, 1);
|
|
53
|
+
})
|
|
54
|
+
.catch((err) => {
|
|
55
|
+
console.log('error ', err);
|
|
56
|
+
});
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
componentDidRender() {
|
|
60
|
+
// start custom styling area
|
|
61
|
+
if (!this.stylingAppends) {
|
|
62
|
+
if (this.clientStyling)
|
|
63
|
+
this.setClientStyling();
|
|
64
|
+
if (this.clientStylingUrl)
|
|
65
|
+
this.setClientStylingURL();
|
|
66
|
+
this.stylingAppends = true;
|
|
67
|
+
}
|
|
68
|
+
// end custom styling area
|
|
69
|
+
}
|
|
70
|
+
async componentWillLoad() {
|
|
71
|
+
const promises = [];
|
|
72
|
+
if (this.translationUrl) {
|
|
73
|
+
const translationPromise = mergeTranslations(this.translationUrl, this.targetTranslations);
|
|
74
|
+
promises.push(translationPromise);
|
|
75
|
+
}
|
|
76
|
+
return await Promise.all(promises);
|
|
77
|
+
}
|
|
78
|
+
render() {
|
|
79
|
+
return (h("div", { class: "StyleShell" }, h("slot", { name: "mainContent" })));
|
|
80
|
+
}
|
|
81
|
+
get el() { return this; }
|
|
82
|
+
static get style() { return generalStylingWrapperCss; }
|
|
83
|
+
}, [4, "general-styling-wrapper", {
|
|
84
|
+
"clientStyling": [1, "client-styling"],
|
|
85
|
+
"clientStylingUrl": [1, "client-styling-url"],
|
|
86
|
+
"translationUrl": [1, "translation-url"],
|
|
87
|
+
"targetTranslations": [16]
|
|
88
|
+
}]);
|
|
89
|
+
function defineCustomElement() {
|
|
90
|
+
if (typeof customElements === "undefined") {
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
const components = ["general-styling-wrapper"];
|
|
94
|
+
components.forEach(tagName => { switch (tagName) {
|
|
95
|
+
case "general-styling-wrapper":
|
|
96
|
+
if (!customElements.get(tagName)) {
|
|
97
|
+
customElements.define(tagName, GeneralStylingWrapper);
|
|
98
|
+
}
|
|
99
|
+
break;
|
|
100
|
+
} });
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export { GeneralStylingWrapper as G, defineCustomElement as d };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* PlayerElevateCard custom elements */
|
|
2
|
+
|
|
3
|
+
import type { Components, JSX } from "../types/components";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Used to manually set the base path where assets can be found.
|
|
7
|
+
* If the script is used as "module", it's recommended to use "import.meta.url",
|
|
8
|
+
* such as "setAssetPath(import.meta.url)". Other options include
|
|
9
|
+
* "setAssetPath(document.currentScript.src)", or using a bundler's replace plugin to
|
|
10
|
+
* dynamically set the path at build time, such as "setAssetPath(process.env.ASSET_PATH)".
|
|
11
|
+
* But do note that this configuration depends on how your script is bundled, or lack of
|
|
12
|
+
* bundling, and where your assets can be loaded from. Additionally custom bundling
|
|
13
|
+
* will have to ensure the static assets are copied to its build directory.
|
|
14
|
+
*/
|
|
15
|
+
export declare const setAssetPath: (path: string) => void;
|
|
16
|
+
|
|
17
|
+
export interface SetPlatformOptions {
|
|
18
|
+
raf?: (c: FrameRequestCallback) => number;
|
|
19
|
+
ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
20
|
+
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
21
|
+
}
|
|
22
|
+
export declare const setPlatformOptions: (opts: SetPlatformOptions) => void;
|
|
23
|
+
|
|
24
|
+
export type { Components, JSX };
|
|
25
|
+
|
|
26
|
+
export * from '../types';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface PlayerElevateCardData extends Components.PlayerElevateCardData, HTMLElement {}
|
|
4
|
+
export const PlayerElevateCardData: {
|
|
5
|
+
prototype: PlayerElevateCardData;
|
|
6
|
+
new (): PlayerElevateCardData;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { P as PlayerElevateCardData$1, d as defineCustomElement$1 } from './player-elevate-card-data2.js';
|
|
2
|
+
|
|
3
|
+
const PlayerElevateCardData = PlayerElevateCardData$1;
|
|
4
|
+
const defineCustomElement = defineCustomElement$1;
|
|
5
|
+
|
|
6
|
+
export { PlayerElevateCardData, defineCustomElement };
|