@everymatrix/casino-engagement-suite-modal 1.43.4 → 1.45.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-modal/casino-engagement-suite-modal.esm.js +1 -1
  2. package/dist/casino-engagement-suite-modal/p-08e4f8fa.entry.js +1 -0
  3. package/dist/casino-engagement-suite-modal/p-7b038275.js +2 -0
  4. package/dist/casino-engagement-suite-modal/p-e1255160.js +1 -0
  5. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  6. package/dist/cjs/casino-engagement-suite-modal.cjs.entry.js +55 -58
  7. package/dist/cjs/casino-engagement-suite-modal.cjs.js +16 -10
  8. package/dist/cjs/index-63e7fad0.js +1210 -0
  9. package/dist/cjs/loader.cjs.js +6 -12
  10. package/dist/collection/collection-manifest.json +3 -3
  11. package/dist/collection/components/casino-engagement-suite-modal/casino-engagement-suite-modal.css +19 -17
  12. package/dist/collection/components/casino-engagement-suite-modal/casino-engagement-suite-modal.js +245 -252
  13. package/dist/collection/components/casino-engagement-suite-modal/index.js +1 -0
  14. package/dist/collection/utils/constants.js +2 -2
  15. package/dist/collection/utils/utils.js +1 -1
  16. package/dist/esm/app-globals-0f993ce5.js +3 -0
  17. package/dist/esm/casino-engagement-suite-modal.entry.js +55 -58
  18. package/dist/esm/casino-engagement-suite-modal.js +13 -10
  19. package/dist/esm/index-9157b8d6.js +1182 -0
  20. package/dist/esm/loader.js +6 -12
  21. package/dist/stencil.config.dev.js +17 -0
  22. package/dist/stencil.config.js +14 -19
  23. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-modal/.stencil/packages/stencil/casino-engagement-suite-modal/stencil.config.d.ts +2 -0
  24. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-modal/.stencil/packages/stencil/casino-engagement-suite-modal/stencil.config.dev.d.ts +2 -0
  25. package/dist/types/components/casino-engagement-suite-modal/casino-engagement-suite-modal.d.ts +26 -26
  26. package/dist/types/components/casino-engagement-suite-modal/index.d.ts +1 -0
  27. package/dist/types/components.d.ts +16 -1
  28. package/dist/types/stencil-public-runtime.d.ts +142 -33
  29. package/dist/types/utils/constants.d.ts +2 -2
  30. package/loader/cdn.js +1 -3
  31. package/loader/index.cjs.js +1 -3
  32. package/loader/index.d.ts +13 -1
  33. package/loader/index.es2017.js +1 -3
  34. package/loader/index.js +1 -3
  35. package/loader/package.json +1 -0
  36. package/package.json +9 -2
  37. package/dist/casino-engagement-suite-modal/p-172f1972.entry.js +0 -1
  38. package/dist/casino-engagement-suite-modal/p-d68e9c79.js +0 -1
  39. package/dist/cjs/index-f0b55429.js +0 -1194
  40. package/dist/components/casino-engagement-suite-modal.d.ts +0 -11
  41. package/dist/components/casino-engagement-suite-modal.js +0 -94
  42. package/dist/components/index.d.ts +0 -26
  43. package/dist/components/index.js +0 -1
  44. package/dist/esm/index-263f8cbc.js +0 -1167
  45. package/dist/esm/polyfills/core-js.js +0 -11
  46. package/dist/esm/polyfills/css-shim.js +0 -1
  47. package/dist/esm/polyfills/dom.js +0 -79
  48. package/dist/esm/polyfills/es5-html-element.js +0 -1
  49. package/dist/esm/polyfills/index.js +0 -34
  50. package/dist/esm/polyfills/system.js +0 -6
  51. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-stencil/packages/casino-engagement-suite-modal/.stencil/packages/casino-engagement-suite-modal/stencil.config.d.ts +0 -2
@@ -2,20 +2,14 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-f0b55429.js');
5
+ const index = require('./index-63e7fad0.js');
6
+ const appGlobals = require('./app-globals-3a1e7e63.js');
6
7
 
7
- /*
8
- Stencil Client Patch Esm v2.15.2 | MIT Licensed | https://stenciljs.com
9
- */
10
- const patchEsm = () => {
11
- return index.promiseResolve();
12
- };
13
-
14
- const defineCustomElements = (win, options) => {
15
- if (typeof window === 'undefined') return Promise.resolve();
16
- return patchEsm().then(() => {
8
+ const defineCustomElements = async (win, options) => {
9
+ if (typeof window === 'undefined') return undefined;
10
+ await appGlobals.globalScripts();
17
11
  return index.bootstrapLazy([["casino-engagement-suite-modal.cjs",[[1,"casino-engagement-suite-modal",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"isOpen":[4,"is-open"],"isLoading":[1028,"is-loading"],"header":[1],"contentIcon":[1,"content-icon"],"modalType":[1,"modal-type"],"device":[1],"showAnimation":[4,"show-animation"],"limitStylingAppends":[32]}]]]], options);
18
- });
19
12
  };
20
13
 
14
+ exports.setNonce = index.setNonce;
21
15
  exports.defineCustomElements = defineCustomElements;
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "entries": [
3
- "./components/casino-engagement-suite-modal/casino-engagement-suite-modal.js"
3
+ "components/casino-engagement-suite-modal/casino-engagement-suite-modal.js"
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "2.15.2",
8
- "typescriptVersion": "4.5.4"
7
+ "version": "4.20.0",
8
+ "typescriptVersion": "5.5.3"
9
9
  },
10
10
  "collections": [],
11
11
  "bundles": []
@@ -19,6 +19,14 @@ button:focus {
19
19
  outline: none;
20
20
  }
21
21
 
22
+ .EngagementSuiteIconButton {
23
+ width: 24px;
24
+ height: 24px;
25
+ }
26
+ .EngagementSuiteIconButton.Close {
27
+ background: center/100% url(https://static.everymatrix.com/gic/img/engagement-suite/close.svg) no-repeat;
28
+ }
29
+
22
30
  .ModalOverlay {
23
31
  display: none;
24
32
  position: fixed;
@@ -41,11 +49,6 @@ button:focus {
41
49
  justify-content: end;
42
50
  }
43
51
 
44
- .IconCloseButton img {
45
- width: 24px;
46
- height: 24px;
47
- }
48
-
49
52
  .ModalBodyWrapper {
50
53
  flex: 1;
51
54
  min-height: 0;
@@ -57,20 +60,20 @@ button:focus {
57
60
  background: none;
58
61
  }
59
62
  .ModalBodyWrapper::-webkit-scrollbar-thumb {
60
- border-radius: 4px;
61
- background-color: var(--emw--color-background, #666178);
63
+ border-radius: var(--emw--border-radius-small, 4px);
64
+ background-color: var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3));
62
65
  }
63
66
 
64
67
  .ModalContent {
65
68
  display: flex;
66
69
  flex-direction: column;
67
70
  align-items: center;
68
- font-family: "Montserrat", sans-serif;
71
+ font-family: var(--emw--font-family-secondary, "Montserrat", sans-serif);
69
72
  position: relative;
70
73
  color: var(--emw--color-typography, #FFFFFF);
71
74
  background-color: var(--emw--color-background, #1E1638);
72
75
  padding: 24px;
73
- border-radius: 8px;
76
+ border-radius: var(--emw--border-radius-large, 8px);
74
77
  width: 450px;
75
78
  max-width: 100%;
76
79
  text-align: center;
@@ -84,14 +87,14 @@ button:focus {
84
87
  left: -1px;
85
88
  right: -1px;
86
89
  bottom: -1px;
87
- border-radius: 9px;
90
+ border-radius: var(--emw--border-radius-large, 9px);
88
91
  background: linear-gradient(143.2deg, #FF9401 -0.41%, #FFD32D 45.61%, #FF9401 82.77%);
89
92
  z-index: -1;
90
93
  }
91
94
 
92
95
  .ModalHeader h1 {
93
96
  font-weight: var(--emw--font-weight-semibold, 600);
94
- font-size: var(--emw--font-size-large, 24px);
97
+ font-size: var(--emw--font-size-large-plus, 24px);
95
98
  padding: 0 16px;
96
99
  margin-bottom: 16px;
97
100
  }
@@ -105,10 +108,9 @@ button:focus {
105
108
  }
106
109
 
107
110
  .ModalBody {
108
- font-size: 16px;
109
- font-family: "Inter", sans-serif;
111
+ font-size: var(--emw--font-size-medium, 16px);
110
112
  font-weight: var(--emw--font-weight-normal, 400);
111
- color: var(--emw--color-gray-100, #BBB9C3);
113
+ color: var(--emw--color-secondary, #BBB9C3);
112
114
  padding: 0 16px;
113
115
  }
114
116
 
@@ -138,19 +140,19 @@ button:focus {
138
140
  animation: 6s rotate linear infinite;
139
141
  }
140
142
 
141
- .ModalOverlay.Mobile .IconCloseButton img {
143
+ .ModalOverlay.Mobile .EngagementSuiteIconButton {
142
144
  width: 16px;
143
145
  height: 16px;
144
146
  }
145
147
  .ModalOverlay.Mobile .ModalBody {
146
- font-size: 14px;
148
+ font-size: var(--emw--font-size-small, 14px);
147
149
  }
148
150
  .ModalOverlay.Mobile .ModalContent {
149
151
  width: 318px;
150
152
  padding: 12px;
151
153
  }
152
154
  .ModalOverlay.Mobile .ModalHeader h1 {
153
- font-size: 20px;
155
+ font-size: var(--emw--font-size-large, 20px);
154
156
  padding: 0 60px;
155
157
  }
156
158
  .ModalOverlay.Mobile.ShowAnimation .ModalWinAnimation {
@@ -1,256 +1,249 @@
1
- import { Component, Prop, h, Event, State, Element } from '@stencil/core';
1
+ import { h } from "@stencil/core";
2
2
  export class CasinoEngagementSuiteModal {
3
- constructor() {
4
- /**
5
- * Client custom styling via string
6
- */
7
- this.clientStyling = '';
8
- /**
9
- * Client custom styling via url
10
- */
11
- this.clientStylingUrl = '';
12
- this.device = 'Mobile';
13
- /**
14
- * Show win animation
15
- */
16
- this.showAnimation = false;
17
- this.limitStylingAppends = false;
18
- this.handleCloseClick = () => {
19
- if (this.isLoading)
20
- return;
21
- this.closeModal.emit(this.modalType);
22
- };
23
- this.setClientStyling = () => {
24
- let sheet = document.createElement('style');
25
- sheet.innerHTML = this.clientStyling;
26
- this.host.prepend(sheet);
27
- };
28
- this.setClientStylingURL = () => {
29
- let url = new URL(this.clientStylingUrl);
30
- let cssFile = document.createElement('style');
31
- fetch(url.href)
32
- .then((res) => res.text())
33
- .then((data) => {
34
- cssFile.innerHTML = data;
35
- setTimeout(() => { this.host.prepend(cssFile); }, 1);
36
- })
37
- .catch((err) => {
38
- console.log('Error ', err);
39
- });
40
- };
41
- }
42
- componentDidRender() {
43
- if (!this.limitStylingAppends && this.host) {
44
- if (this.clientStyling)
45
- this.setClientStyling();
46
- if (this.clientStylingUrl)
47
- this.setClientStylingURL();
48
- this.limitStylingAppends = true;
3
+ constructor() {
4
+ this.handleCloseClick = () => {
5
+ if (this.isLoading)
6
+ return;
7
+ this.closeModal.emit(this.modalType);
8
+ };
9
+ this.setClientStyling = () => {
10
+ let sheet = document.createElement('style');
11
+ sheet.innerHTML = this.clientStyling;
12
+ this.host.prepend(sheet);
13
+ };
14
+ this.setClientStylingURL = () => {
15
+ let url = new URL(this.clientStylingUrl);
16
+ let cssFile = document.createElement('style');
17
+ fetch(url.href)
18
+ .then((res) => res.text())
19
+ .then((data) => {
20
+ cssFile.innerHTML = data;
21
+ setTimeout(() => { this.host.prepend(cssFile); }, 1);
22
+ })
23
+ .catch((err) => {
24
+ console.log('Error ', err);
25
+ });
26
+ };
27
+ this.clientStyling = '';
28
+ this.clientStylingUrl = '';
29
+ this.isOpen = undefined;
30
+ this.isLoading = undefined;
31
+ this.header = undefined;
32
+ this.contentIcon = undefined;
33
+ this.modalType = undefined;
34
+ this.device = 'Mobile';
35
+ this.showAnimation = false;
36
+ this.limitStylingAppends = false;
49
37
  }
50
- }
51
- render() {
52
- return (h("div", { class: `ModalOverlay ${this.isOpen && 'Open'} ${this.device} ${this.showAnimation && 'ShowAnimation'}` },
53
- h("div", { class: "ModalWinAnimation" }),
54
- h("div", { class: "ModalContent GradientBorder" },
55
- h("div", { class: 'IconCloseContainer' },
56
- h("button", { class: "IconCloseButton", onClick: this.handleCloseClick },
57
- h("img", { src: "https://static.everymatrix.com/gic/img/engagement-suite/close.svg", alt: "\u0421lose modal" }))),
58
- this.contentIcon ? (h("div", { class: "ModalIcon", style: {
59
- background: `url(${this.contentIcon}) no-repeat center, linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%)`
60
- } })) : null,
61
- h("div", { class: "ModalHeader" },
62
- h("h1", null, this.header)),
63
- h("div", { class: "ModalBodyWrapper" },
64
- h("div", { class: "ModalBody" },
65
- h("slot", { name: "body" })),
66
- h("div", { class: "ModalFooter" },
67
- h("slot", { name: "footer" }))))));
68
- }
69
- static get is() { return "casino-engagement-suite-modal"; }
70
- static get encapsulation() { return "shadow"; }
71
- static get originalStyleUrls() { return {
72
- "$": ["casino-engagement-suite-modal.scss"]
73
- }; }
74
- static get styleUrls() { return {
75
- "$": ["casino-engagement-suite-modal.css"]
76
- }; }
77
- static get properties() { return {
78
- "clientStyling": {
79
- "type": "string",
80
- "mutable": false,
81
- "complexType": {
82
- "original": "string",
83
- "resolved": "string",
84
- "references": {}
85
- },
86
- "required": false,
87
- "optional": false,
88
- "docs": {
89
- "tags": [],
90
- "text": "Client custom styling via string"
91
- },
92
- "attribute": "client-styling",
93
- "reflect": true,
94
- "defaultValue": "''"
95
- },
96
- "clientStylingUrl": {
97
- "type": "string",
98
- "mutable": false,
99
- "complexType": {
100
- "original": "string",
101
- "resolved": "string",
102
- "references": {}
103
- },
104
- "required": false,
105
- "optional": false,
106
- "docs": {
107
- "tags": [],
108
- "text": "Client custom styling via url"
109
- },
110
- "attribute": "client-styling-url",
111
- "reflect": true,
112
- "defaultValue": "''"
113
- },
114
- "isOpen": {
115
- "type": "boolean",
116
- "mutable": false,
117
- "complexType": {
118
- "original": "boolean",
119
- "resolved": "boolean",
120
- "references": {}
121
- },
122
- "required": false,
123
- "optional": false,
124
- "docs": {
125
- "tags": [],
126
- "text": ""
127
- },
128
- "attribute": "is-open",
129
- "reflect": false
130
- },
131
- "isLoading": {
132
- "type": "boolean",
133
- "mutable": true,
134
- "complexType": {
135
- "original": "boolean",
136
- "resolved": "boolean",
137
- "references": {}
138
- },
139
- "required": false,
140
- "optional": false,
141
- "docs": {
142
- "tags": [],
143
- "text": ""
144
- },
145
- "attribute": "is-loading",
146
- "reflect": false
147
- },
148
- "header": {
149
- "type": "string",
150
- "mutable": false,
151
- "complexType": {
152
- "original": "string",
153
- "resolved": "string",
154
- "references": {}
155
- },
156
- "required": false,
157
- "optional": false,
158
- "docs": {
159
- "tags": [],
160
- "text": ""
161
- },
162
- "attribute": "header",
163
- "reflect": false
164
- },
165
- "contentIcon": {
166
- "type": "string",
167
- "mutable": false,
168
- "complexType": {
169
- "original": "string",
170
- "resolved": "string",
171
- "references": {}
172
- },
173
- "required": false,
174
- "optional": false,
175
- "docs": {
176
- "tags": [],
177
- "text": ""
178
- },
179
- "attribute": "content-icon",
180
- "reflect": false
181
- },
182
- "modalType": {
183
- "type": "string",
184
- "mutable": false,
185
- "complexType": {
186
- "original": "string",
187
- "resolved": "string",
188
- "references": {}
189
- },
190
- "required": false,
191
- "optional": false,
192
- "docs": {
193
- "tags": [],
194
- "text": ""
195
- },
196
- "attribute": "modal-type",
197
- "reflect": false
198
- },
199
- "device": {
200
- "type": "string",
201
- "mutable": false,
202
- "complexType": {
203
- "original": "\"Mobile\" | \"Tablet\" | \"Desktop\"",
204
- "resolved": "\"Desktop\" | \"Mobile\" | \"Tablet\"",
205
- "references": {}
206
- },
207
- "required": false,
208
- "optional": false,
209
- "docs": {
210
- "tags": [],
211
- "text": ""
212
- },
213
- "attribute": "device",
214
- "reflect": false,
215
- "defaultValue": "'Mobile' as 'Mobile' | 'Tablet' | 'Desktop'"
216
- },
217
- "showAnimation": {
218
- "type": "boolean",
219
- "mutable": false,
220
- "complexType": {
221
- "original": "boolean",
222
- "resolved": "boolean",
223
- "references": {}
224
- },
225
- "required": false,
226
- "optional": false,
227
- "docs": {
228
- "tags": [],
229
- "text": "Show win animation"
230
- },
231
- "attribute": "show-animation",
232
- "reflect": false,
233
- "defaultValue": "false"
38
+ componentDidRender() {
39
+ if (!this.limitStylingAppends && this.host) {
40
+ if (this.clientStyling)
41
+ this.setClientStyling();
42
+ if (this.clientStylingUrl)
43
+ this.setClientStylingURL();
44
+ this.limitStylingAppends = true;
45
+ }
234
46
  }
235
- }; }
236
- static get states() { return {
237
- "limitStylingAppends": {}
238
- }; }
239
- static get events() { return [{
240
- "method": "closeModal",
241
- "name": "closeModal",
242
- "bubbles": true,
243
- "cancelable": true,
244
- "composed": true,
245
- "docs": {
246
- "tags": [],
247
- "text": ""
248
- },
249
- "complexType": {
250
- "original": "any",
251
- "resolved": "any",
252
- "references": {}
253
- }
254
- }]; }
255
- static get elementRef() { return "host"; }
47
+ render() {
48
+ return (h("div", { key: '570a2289e990efeae5cceac8bc2152cbb9bb5221', class: `ModalOverlay ${this.isOpen && 'Open'} ${this.device} ${this.showAnimation && 'ShowAnimation'}` }, h("div", { key: '9d40898f29b5a539907a7e50f3fdee02636aced6', class: "ModalWinAnimation" }), h("div", { key: '724ffe5cd946b40aa12f99ac926a6c832c1633da', class: "ModalContent GradientBorder" }, h("div", { key: '14bb1463ba0b5e9cdb545a81c13873a3e124f4c3', class: 'IconCloseContainer' }, h("button", { key: '1640c3c0881c65199a26f3f2217610189d626f91', class: "EngagementSuiteIconButton Close", onClick: this.handleCloseClick })), this.contentIcon ? (h("div", { class: "ModalIcon", style: {
49
+ background: `url(${this.contentIcon}) no-repeat center, linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%)`
50
+ } })) : null, h("div", { key: 'c49ddc1152bb9c8af76ff11874816da8477ba821', class: "ModalHeader" }, h("h1", { key: '08352f25028b0b08c2c1a77b91ea80cc968aa4e1' }, this.header)), h("div", { key: '3420427d531aceb3861c1876394443ad664ff68b', class: "ModalBodyWrapper" }, h("div", { key: '3e453586b727029f5fca9688b376d4b3e8298dbf', class: "ModalBody" }, h("slot", { key: '0d82c3fa9b0faa9012005ccca85350313a684326', name: "body" })), h("div", { key: '9e7a078e4c912869f2e3573a533bb3cf82454a4c', class: "ModalFooter" }, h("slot", { key: 'df8e0568aeca79889cf8eb8f7fb33caf685b092e', name: "footer" }))))));
51
+ }
52
+ static get is() { return "casino-engagement-suite-modal"; }
53
+ static get encapsulation() { return "shadow"; }
54
+ static get originalStyleUrls() {
55
+ return {
56
+ "$": ["casino-engagement-suite-modal.scss"]
57
+ };
58
+ }
59
+ static get styleUrls() {
60
+ return {
61
+ "$": ["casino-engagement-suite-modal.css"]
62
+ };
63
+ }
64
+ static get properties() {
65
+ return {
66
+ "clientStyling": {
67
+ "type": "string",
68
+ "mutable": false,
69
+ "complexType": {
70
+ "original": "string",
71
+ "resolved": "string",
72
+ "references": {}
73
+ },
74
+ "required": false,
75
+ "optional": false,
76
+ "docs": {
77
+ "tags": [],
78
+ "text": "Client custom styling via string"
79
+ },
80
+ "attribute": "client-styling",
81
+ "reflect": true,
82
+ "defaultValue": "''"
83
+ },
84
+ "clientStylingUrl": {
85
+ "type": "string",
86
+ "mutable": false,
87
+ "complexType": {
88
+ "original": "string",
89
+ "resolved": "string",
90
+ "references": {}
91
+ },
92
+ "required": false,
93
+ "optional": false,
94
+ "docs": {
95
+ "tags": [],
96
+ "text": "Client custom styling via url"
97
+ },
98
+ "attribute": "client-styling-url",
99
+ "reflect": true,
100
+ "defaultValue": "''"
101
+ },
102
+ "isOpen": {
103
+ "type": "boolean",
104
+ "mutable": false,
105
+ "complexType": {
106
+ "original": "boolean",
107
+ "resolved": "boolean",
108
+ "references": {}
109
+ },
110
+ "required": false,
111
+ "optional": false,
112
+ "docs": {
113
+ "tags": [],
114
+ "text": ""
115
+ },
116
+ "attribute": "is-open",
117
+ "reflect": false
118
+ },
119
+ "isLoading": {
120
+ "type": "boolean",
121
+ "mutable": true,
122
+ "complexType": {
123
+ "original": "boolean",
124
+ "resolved": "boolean",
125
+ "references": {}
126
+ },
127
+ "required": false,
128
+ "optional": false,
129
+ "docs": {
130
+ "tags": [],
131
+ "text": ""
132
+ },
133
+ "attribute": "is-loading",
134
+ "reflect": false
135
+ },
136
+ "header": {
137
+ "type": "string",
138
+ "mutable": false,
139
+ "complexType": {
140
+ "original": "string",
141
+ "resolved": "string",
142
+ "references": {}
143
+ },
144
+ "required": false,
145
+ "optional": false,
146
+ "docs": {
147
+ "tags": [],
148
+ "text": ""
149
+ },
150
+ "attribute": "header",
151
+ "reflect": false
152
+ },
153
+ "contentIcon": {
154
+ "type": "string",
155
+ "mutable": false,
156
+ "complexType": {
157
+ "original": "string",
158
+ "resolved": "string",
159
+ "references": {}
160
+ },
161
+ "required": false,
162
+ "optional": false,
163
+ "docs": {
164
+ "tags": [],
165
+ "text": ""
166
+ },
167
+ "attribute": "content-icon",
168
+ "reflect": false
169
+ },
170
+ "modalType": {
171
+ "type": "string",
172
+ "mutable": false,
173
+ "complexType": {
174
+ "original": "string",
175
+ "resolved": "string",
176
+ "references": {}
177
+ },
178
+ "required": false,
179
+ "optional": false,
180
+ "docs": {
181
+ "tags": [],
182
+ "text": ""
183
+ },
184
+ "attribute": "modal-type",
185
+ "reflect": false
186
+ },
187
+ "device": {
188
+ "type": "string",
189
+ "mutable": false,
190
+ "complexType": {
191
+ "original": "\"Mobile\" | \"Tablet\" | \"Desktop\"",
192
+ "resolved": "\"Desktop\" | \"Mobile\" | \"Tablet\"",
193
+ "references": {}
194
+ },
195
+ "required": false,
196
+ "optional": false,
197
+ "docs": {
198
+ "tags": [],
199
+ "text": ""
200
+ },
201
+ "attribute": "device",
202
+ "reflect": false,
203
+ "defaultValue": "'Mobile' as 'Mobile' | 'Tablet' | 'Desktop'"
204
+ },
205
+ "showAnimation": {
206
+ "type": "boolean",
207
+ "mutable": false,
208
+ "complexType": {
209
+ "original": "boolean",
210
+ "resolved": "boolean",
211
+ "references": {}
212
+ },
213
+ "required": false,
214
+ "optional": false,
215
+ "docs": {
216
+ "tags": [],
217
+ "text": "Show win animation"
218
+ },
219
+ "attribute": "show-animation",
220
+ "reflect": false,
221
+ "defaultValue": "false"
222
+ }
223
+ };
224
+ }
225
+ static get states() {
226
+ return {
227
+ "limitStylingAppends": {}
228
+ };
229
+ }
230
+ static get events() {
231
+ return [{
232
+ "method": "closeModal",
233
+ "name": "closeModal",
234
+ "bubbles": true,
235
+ "cancelable": true,
236
+ "composed": true,
237
+ "docs": {
238
+ "tags": [],
239
+ "text": ""
240
+ },
241
+ "complexType": {
242
+ "original": "any",
243
+ "resolved": "any",
244
+ "references": {}
245
+ }
246
+ }];
247
+ }
248
+ static get elementRef() { return "host"; }
256
249
  }
@@ -0,0 +1 @@
1
+ export { CasinoEngagementSuiteModal } from './casino-engagement-suite-modal';
@@ -1,4 +1,4 @@
1
1
  export const MODAL_TYPES = {
2
- REWARD_MODAL: 'REWARD_MODAL',
3
- TARGET_MODAL: 'TARGET_MODAL'
2
+ REWARD_MODAL: 'REWARD_MODAL',
3
+ TARGET_MODAL: 'TARGET_MODAL'
4
4
  };
@@ -1,3 +1,3 @@
1
1
  export function format(first, middle, last) {
2
- return ((first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : ''));
2
+ return ((first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : ''));
3
3
  }
@@ -0,0 +1,3 @@
1
+ const globalScripts = () => {};
2
+
3
+ export { globalScripts as g };