@everymatrix/casino-engagement-suite-luckywheel-list 0.1.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.
Files changed (51) hide show
  1. package/dist/casino-engagement-suite-luckywheel-list/casino-engagement-suite-luckywheel-list.esm.js +1 -0
  2. package/dist/casino-engagement-suite-luckywheel-list/index.esm.js +1 -0
  3. package/dist/casino-engagement-suite-luckywheel-list/p-c227cdc7.js +2 -0
  4. package/dist/casino-engagement-suite-luckywheel-list/p-d1ea0bae.entry.js +1 -0
  5. package/dist/casino-engagement-suite-luckywheel-list/p-e1255160.js +1 -0
  6. package/dist/casino-engagement-suite-luckywheel-list/p-f007d81f.js +1 -0
  7. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  8. package/dist/cjs/casino-engagement-suite-luckywheel-list-726f2e8f.js +2574 -0
  9. package/dist/cjs/casino-engagement-suite-luckywheel-list.cjs.js +25 -0
  10. package/dist/cjs/casino-engagement-suite-luckywheel-list_2.cjs.entry.js +73 -0
  11. package/dist/cjs/index-3815b8e0.js +1333 -0
  12. package/dist/cjs/index.cjs.js +10 -0
  13. package/dist/cjs/loader.cjs.js +15 -0
  14. package/dist/collection/collection-manifest.json +19 -0
  15. package/dist/collection/components/casino-engagement-suite-luckywheel-list/casino-engagement-suite-luckywheel-list.css +454 -0
  16. package/dist/collection/components/casino-engagement-suite-luckywheel-list/casino-engagement-suite-luckywheel-list.js +467 -0
  17. package/dist/collection/components/casino-engagement-suite-luckywheel-list/index.js +1 -0
  18. package/dist/collection/index.js +1 -0
  19. package/dist/collection/models/luckywheel.js +14 -0
  20. package/dist/collection/renders/LuckyWheelsHistory.js +52 -0
  21. package/dist/collection/utils/locale.utils.js +46 -0
  22. package/dist/collection/utils/utils.js +3 -0
  23. package/dist/esm/app-globals-0f993ce5.js +3 -0
  24. package/dist/esm/casino-engagement-suite-luckywheel-list-864bcb68.js +2572 -0
  25. package/dist/esm/casino-engagement-suite-luckywheel-list.js +20 -0
  26. package/dist/esm/casino-engagement-suite-luckywheel-list_2.entry.js +68 -0
  27. package/dist/esm/index-68de30f0.js +1305 -0
  28. package/dist/esm/index.js +2 -0
  29. package/dist/esm/loader.js +11 -0
  30. package/dist/index.cjs.js +1 -0
  31. package/dist/index.js +1 -0
  32. package/dist/stencil.config.dev.js +14 -0
  33. package/dist/stencil.config.js +17 -0
  34. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-list/.stencil/packages/stencil/casino-engagement-suite-luckywheel-list/stencil.config.d.ts +2 -0
  35. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-list/.stencil/packages/stencil/casino-engagement-suite-luckywheel-list/stencil.config.dev.d.ts +2 -0
  36. package/dist/types/components/casino-engagement-suite-luckywheel-list/casino-engagement-suite-luckywheel-list.d.ts +84 -0
  37. package/dist/types/components/casino-engagement-suite-luckywheel-list/index.d.ts +1 -0
  38. package/dist/types/components.d.ts +119 -0
  39. package/dist/types/index.d.ts +1 -0
  40. package/dist/types/models/luckywheel.d.ts +41 -0
  41. package/dist/types/renders/LuckyWheelsHistory.d.ts +6 -0
  42. package/dist/types/stencil-public-runtime.d.ts +1680 -0
  43. package/dist/types/utils/locale.utils.d.ts +2 -0
  44. package/dist/types/utils/utils.d.ts +1 -0
  45. package/loader/cdn.js +1 -0
  46. package/loader/index.cjs.js +1 -0
  47. package/loader/index.d.ts +24 -0
  48. package/loader/index.es2017.js +1 -0
  49. package/loader/index.js +2 -0
  50. package/loader/package.json +11 -0
  51. package/package.json +26 -0
@@ -0,0 +1,20 @@
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-68de30f0.js';
2
+ export { s as setNonce } from './index-68de30f0.js';
3
+ import { g as globalScripts } from './app-globals-0f993ce5.js';
4
+
5
+ /*
6
+ Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
7
+ */
8
+ var patchBrowser = () => {
9
+ const importMeta = import.meta.url;
10
+ const opts = {};
11
+ if (importMeta !== "") {
12
+ opts.resourcesUrl = new URL(".", importMeta).href;
13
+ }
14
+ return promiseResolve(opts);
15
+ };
16
+
17
+ patchBrowser().then(async (options) => {
18
+ await globalScripts();
19
+ return bootstrapLazy([["casino-engagement-suite-luckywheel-list_2",[[1,"casino-engagement-suite-luckywheel-list",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"luckywheels":[1040],"endpoint":[1],"session":[1],"translationUrl":[1,"translation-url"],"tooltip":[32],"timers":[32],"limitStylingAppends":[32],"activeTab":[32],"historyLoading":[32],"luckywheelHistory":[32],"openedHistoryIds":[32],"historyLoaded":[32],"isLoading":[32]},[[8,"message","handleEvent"]],{"luckywheels":["luckywheelsPropHandler"]}],[1,"casino-engagement-suite-progress-bar",{"value":[2],"disabled":[4],"hidePercent":[4,"hide-percent"],"indeterminate":[4],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"limitStylingAppends":[32]}]]]], options);
20
+ });
@@ -0,0 +1,68 @@
1
+ export { C as casino_engagement_suite_luckywheel_list } from './casino-engagement-suite-luckywheel-list-864bcb68.js';
2
+ import { r as registerInstance, h, g as getElement } from './index-68de30f0.js';
3
+
4
+ const casinoEngagementSuiteProgressBarCss = ":host{display:block;font-family:inherit}:host(.Desktop) .ProgressBarPercent{font-size:var(--emw--font-size-small, 14px);line-height:14px}@keyframes indeterminate{0%{left:-200%;right:100%}60%{left:110%;right:-10%}to{left:110%;right:-10%}}.ProgressBarBackground{height:8px;background-color:var(--emw--color-gray-300, #666178);border-radius:var(--emw--border-radius-small, 4px);position:relative;overflow:hidden}.ProgressBarLine{position:absolute;left:0;top:0;bottom:0;border-radius:var(--emw--border-radius-small, 4px);background:var(--emw--engagement-suite-gradient-button, linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%));transition:width ease-out 0.3s}.ProgressBarLine.Indeterminate{animation:indeterminate 1s linear infinite}.ProgressBarInfo{margin-bottom:8px;display:flex;justify-content:space-between;align-items:center}.ProgressBarPercent{font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-x-small, 12px);line-height:12px}.HidePercent .ProgressBarPercent{display:none}.ProgressBar:not(.Disabled) .ProgressBarPercent{background:var(--emw--engagement-suite-gradient-button, linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.ProgressBar.Disabled .ProgressBarPercent{color:var(--emw--color-gray-300, #666178)}.ProgressBar.Disabled .ProgressBarLine{background:var(--emw--color-background-secondary, #474668)}";
5
+ const CasinoEngagementSuiteProgressBarStyle0 = casinoEngagementSuiteProgressBarCss;
6
+
7
+ const CasinoEngagementSuiteProgressBar = class {
8
+ constructor(hostRef) {
9
+ registerInstance(this, hostRef);
10
+ this.setClientStyling = () => {
11
+ let sheet = document.createElement('style');
12
+ sheet.innerHTML = this.clientStyling;
13
+ this.host.prepend(sheet);
14
+ };
15
+ this.setClientStylingURL = () => {
16
+ let url = new URL(this.clientStylingUrl);
17
+ let cssFile = document.createElement('style');
18
+ fetch(url.href)
19
+ .then((res) => res.text())
20
+ .then((data) => {
21
+ cssFile.innerHTML = data;
22
+ setTimeout(() => { this.host.prepend(cssFile); }, 1);
23
+ })
24
+ .catch((err) => {
25
+ console.log('Error ', err);
26
+ });
27
+ };
28
+ this.value = 0;
29
+ this.disabled = false;
30
+ this.hidePercent = false;
31
+ this.indeterminate = false;
32
+ this.clientStyling = '';
33
+ this.clientStylingUrl = '';
34
+ this.limitStylingAppends = false;
35
+ }
36
+ componentDidRender() {
37
+ if (!this.limitStylingAppends && this.host) {
38
+ if (this.clientStyling)
39
+ this.setClientStyling();
40
+ if (this.clientStylingUrl)
41
+ this.setClientStylingURL();
42
+ this.limitStylingAppends = true;
43
+ }
44
+ }
45
+ getProgressBarClasses() {
46
+ return {
47
+ ProgressBar: true,
48
+ Completed: this.value === 100,
49
+ Disabled: this.disabled,
50
+ HidePercent: this.hidePercent || this.indeterminate
51
+ };
52
+ }
53
+ getProgressBarLineTemplate() {
54
+ if (this.indeterminate) {
55
+ return h("div", { class: "ProgressBarLine Indeterminate", part: "ProgressBarLine Indeterminate" });
56
+ }
57
+ else {
58
+ return h("div", { class: "ProgressBarLine", part: "ProgressBarLine", style: { width: this.value + '%' } });
59
+ }
60
+ }
61
+ render() {
62
+ return h("div", { key: 'ecce3a26a92d2e090c1db84bdc1bdbeb505080ed', class: this.getProgressBarClasses(), part: "ProgressBar" }, h("div", { key: '649fe1103d222200f2a1ad3b5967e37da1f1ab3d', class: "ProgressBarInfo", part: "ProgressBarInfo" }, h("slot", { key: '49dc180eedd823f0027f75099813fb9d91bcd938', name: "Title" }, h("div", { key: 'e6e59da3fe7bbcb37e118e7fd23a8ff35587aca5' })), h("slot", { key: '3dc8e5fd1dbc8c268b9c76e393b751cb53605e7e', name: "Percent" }, h("div", { key: '6a9e880f3ee3c4f26e8577c69be5db5f8e2d10ad', class: "ProgressBarPercent", part: "ProgressBarPercent" }, this.value, "%"))), h("div", { key: '141106e77caad7b04bb199f911e87c0c6f0adc2d', class: "ProgressBarBackground", part: "ProgressBarBackground" }, this.getProgressBarLineTemplate()));
63
+ }
64
+ get host() { return getElement(this); }
65
+ };
66
+ CasinoEngagementSuiteProgressBar.style = CasinoEngagementSuiteProgressBarStyle0;
67
+
68
+ export { CasinoEngagementSuiteProgressBar as casino_engagement_suite_progress_bar };