@everymatrix/player-elevate-card-jojogroup 1.80.4

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 (100) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  2. package/dist/cjs/general-styling-wrapper_6.cjs.entry.js +3570 -0
  3. package/dist/cjs/index-51874d29.js +1619 -0
  4. package/dist/cjs/index.cjs.js +2 -0
  5. package/dist/cjs/loader.cjs.js +15 -0
  6. package/dist/cjs/player-elevate-card-jojogroup.cjs.js +25 -0
  7. package/dist/collection/collection-manifest.json +23 -0
  8. package/dist/collection/components/player-elevate-card-data/player-elevate-card-data.css +192 -0
  9. package/dist/collection/components/player-elevate-card-data/player-elevate-card-data.js +244 -0
  10. package/dist/collection/components/player-elevate-card-jojogroup/index.js +1 -0
  11. package/dist/collection/components/player-elevate-card-jojogroup/player-elevate-card-jojogroup-items.js +23 -0
  12. package/dist/collection/components/player-elevate-card-jojogroup/player-elevate-card-jojogroup.css +64 -0
  13. package/dist/collection/components/player-elevate-card-jojogroup/player-elevate-card-jojogroup.js +297 -0
  14. package/dist/collection/components/player-elevate-loyaltycard-jojogroup/player-elevate-loyaltycard-jojogroup.css +98 -0
  15. package/dist/collection/components/player-elevate-loyaltycard-jojogroup/player-elevate-loyaltycard-jojogroup.js +310 -0
  16. package/dist/collection/components/player-elevate-pointcard/player-elevate-pointcard.css +70 -0
  17. package/dist/collection/components/player-elevate-pointcard/player-elevate-pointcard.js +334 -0
  18. package/dist/collection/components/player-rakeback-card/player-rakeback-card.css +87 -0
  19. package/dist/collection/components/player-rakeback-card/player-rakeback-card.js +357 -0
  20. package/dist/collection/components/static/button-default.svg +42 -0
  21. package/dist/collection/components/static/button-disabled.svg +4 -0
  22. package/dist/collection/components/static/button-hover.svg +4 -0
  23. package/dist/collection/components/static/button-level.svg +27 -0
  24. package/dist/collection/components/static/button-pressed.svg +18 -0
  25. package/dist/collection/components/static/button-redeem.svg +36 -0
  26. package/dist/collection/components/static/card-ground-over.png +0 -0
  27. package/dist/collection/components/static/card-ground-over.svg +903 -0
  28. package/dist/collection/components/static/card-ground.png +0 -0
  29. package/dist/collection/components/static/card-ground.svg +34 -0
  30. package/dist/collection/components/static/info.svg +4 -0
  31. package/dist/collection/components/static/level-badge.png +0 -0
  32. package/dist/collection/components/static/level-percent.svg +80 -0
  33. package/dist/collection/components/static/tips-info.svg +21 -0
  34. package/dist/collection/components/static/user.svg +3 -0
  35. package/dist/collection/index.js +1 -0
  36. package/dist/collection/models/player-elevate.js +1 -0
  37. package/dist/collection/utils/locale.utils.js +238 -0
  38. package/dist/collection/utils/utils.js +51 -0
  39. package/dist/esm/app-globals-0f993ce5.js +3 -0
  40. package/dist/esm/general-styling-wrapper_6.entry.js +3561 -0
  41. package/dist/esm/index-9498ebd7.js +1589 -0
  42. package/dist/esm/index.js +1 -0
  43. package/dist/esm/loader.js +11 -0
  44. package/dist/esm/player-elevate-card-jojogroup.js +20 -0
  45. package/dist/index.cjs.js +1 -0
  46. package/dist/index.js +1 -0
  47. package/dist/player-elevate-card-jojogroup/app-globals-0f993ce5.js +1 -0
  48. package/dist/player-elevate-card-jojogroup/general-styling-wrapper_6.entry.js +1 -0
  49. package/dist/player-elevate-card-jojogroup/index-9498ebd7.js +2 -0
  50. package/dist/player-elevate-card-jojogroup/index.esm.js +0 -0
  51. package/dist/player-elevate-card-jojogroup/player-elevate-card-jojogroup.esm.js +1 -0
  52. package/dist/static/button-default.svg +42 -0
  53. package/dist/static/button-disabled.svg +4 -0
  54. package/dist/static/button-hover.svg +4 -0
  55. package/dist/static/button-level.svg +27 -0
  56. package/dist/static/button-pressed.svg +18 -0
  57. package/dist/static/button-redeem.svg +36 -0
  58. package/dist/static/card-ground-over.png +0 -0
  59. package/dist/static/card-ground-over.svg +903 -0
  60. package/dist/static/card-ground.png +0 -0
  61. package/dist/static/card-ground.svg +34 -0
  62. package/dist/static/info.svg +4 -0
  63. package/dist/static/level-badge.png +0 -0
  64. package/dist/static/level-percent.svg +80 -0
  65. package/dist/static/tips-info.svg +21 -0
  66. package/dist/static/user.svg +3 -0
  67. package/dist/stencil.config.dev.js +18 -0
  68. package/dist/stencil.config.js +20 -0
  69. package/dist/storybook/main.js +47 -0
  70. package/dist/storybook/preview.js +9 -0
  71. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-card-jojogroup/.stencil/libs/common/src/storybook/storybook-utils.d.ts +39 -0
  72. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-card-jojogroup/.stencil/packages/stencil/player-elevate-card-jojogroup/stencil.config.d.ts +2 -0
  73. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-card-jojogroup/.stencil/packages/stencil/player-elevate-card-jojogroup/stencil.config.dev.d.ts +2 -0
  74. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-card-jojogroup/.stencil/packages/stencil/player-elevate-card-jojogroup/storybook/main.d.ts +3 -0
  75. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-card-jojogroup/.stencil/packages/stencil/player-elevate-card-jojogroup/storybook/preview.d.ts +70 -0
  76. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-card-jojogroup/.stencil/tools/plugins/index.d.ts +4 -0
  77. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-card-jojogroup/.stencil/tools/plugins/lazy-load-chunk-plugin.d.ts +12 -0
  78. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-card-jojogroup/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +5 -0
  79. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-card-jojogroup/.stencil/tools/plugins/vite-chunk-plugin.d.ts +6 -0
  80. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-card-jojogroup/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +4 -0
  81. package/dist/types/components/player-elevate-card-data/player-elevate-card-data.d.ts +24 -0
  82. package/dist/types/components/player-elevate-card-jojogroup/index.d.ts +1 -0
  83. package/dist/types/components/player-elevate-card-jojogroup/player-elevate-card-jojogroup-items.d.ts +20 -0
  84. package/dist/types/components/player-elevate-card-jojogroup/player-elevate-card-jojogroup.d.ts +56 -0
  85. package/dist/types/components/player-elevate-loyaltycard-jojogroup/player-elevate-loyaltycard-jojogroup.d.ts +59 -0
  86. package/dist/types/components/player-elevate-pointcard/player-elevate-pointcard.d.ts +69 -0
  87. package/dist/types/components/player-rakeback-card/player-rakeback-card.d.ts +65 -0
  88. package/dist/types/components.d.ts +461 -0
  89. package/dist/types/index.d.ts +1 -0
  90. package/dist/types/models/player-elevate.d.ts +40 -0
  91. package/dist/types/stencil-public-runtime.d.ts +1674 -0
  92. package/dist/types/utils/locale.utils.d.ts +15 -0
  93. package/dist/types/utils/utils.d.ts +1 -0
  94. package/loader/cdn.js +1 -0
  95. package/loader/index.cjs.js +1 -0
  96. package/loader/index.d.ts +24 -0
  97. package/loader/index.es2017.js +1 -0
  98. package/loader/index.js +2 -0
  99. package/loader/package.json +11 -0
  100. package/package.json +26 -0
@@ -0,0 +1,69 @@
1
+ import { ElevateWalletTotalInfo, PlayerElevateLevel } from '../../models/player-elevate';
2
+ export declare class PlayerElevatePointcard {
3
+ /**
4
+ * The NWA endpoint
5
+ */
6
+ endpoint: string;
7
+ /**
8
+ * The style that widget shows,available value: Dark, Light
9
+ * Default: Dark
10
+ */
11
+ theme: string;
12
+ /**
13
+ * The NWA session for the logged-in user
14
+ */
15
+ session: string;
16
+ /**
17
+ * Widget, player avatar url
18
+ */
19
+ playerAvatarUrl: string;
20
+ /**
21
+ * Widget Language to show
22
+ */
23
+ language: string;
24
+ /** Client custom styling via streamStyling */
25
+ mbSource: string;
26
+ /**
27
+ * The first name
28
+ */
29
+ playerName: string;
30
+ /**
31
+ *The title displayed in card, default: translation of 'spendablePoints'
32
+ */
33
+ cardTitle: string;
34
+ /**
35
+ * Check if the card used in points details widget, default: 'earningRule'
36
+ * value: 'details'/'earningRule'
37
+ * It effected the button in card
38
+ * 'earningRule': button text, 'earning rules', post 'BEEPointRulesClicked' when clicked
39
+ * 'details': button text, 'details', post 'BEEDetailsClicked' when clicked
40
+ */
41
+ buttonType: string;
42
+ /**
43
+ * datePattern
44
+ */
45
+ dateFormat: string;
46
+ /**
47
+ * Client custom styling via inline styles
48
+ */
49
+ clientStyling: string;
50
+ /**
51
+ * Client custom styling via url
52
+ */
53
+ clientStylingUrl: string;
54
+ /**
55
+ * Translation via url
56
+ */
57
+ translationUrl: string;
58
+ pointExpireString: string;
59
+ playerElevateLevel: PlayerElevateLevel;
60
+ elevateWalletTotal: ElevateWalletTotalInfo;
61
+ elevateSPTotal: ElevateWalletTotalInfo;
62
+ protected paramProxy: any;
63
+ private isPointDetailCard;
64
+ onSessionOrEndpointChange(): void;
65
+ playerElevateLeveLoadedHandler(event: CustomEvent): void;
66
+ onDetailsClick(): void;
67
+ componentWillLoad(): void;
68
+ render(): any;
69
+ }
@@ -0,0 +1,65 @@
1
+ interface RakebackInfo {
2
+ hasRakebackWallet: boolean;
3
+ points: number | string;
4
+ currency: string;
5
+ claimable: boolean;
6
+ minutesCanClaim: number | string;
7
+ showCanClaim: boolean;
8
+ }
9
+ export declare class PlayerRakebackCard {
10
+ /**
11
+ * The NWA endpoint
12
+ */
13
+ endpoint: string;
14
+ /**
15
+ * The style that widget shows, available value: Dark, Light
16
+ * Default: Dark
17
+ */
18
+ theme: string;
19
+ /**
20
+ * The NWA session for the logged-in user
21
+ */
22
+ session: string;
23
+ /**
24
+ * Widget Language to show
25
+ */
26
+ language: string;
27
+ /** Client custom styling via streamStyling */
28
+ mbSource: string;
29
+ /**
30
+ * Client custom styling via inline styles
31
+ */
32
+ clientStyling: string;
33
+ /**
34
+ * Client custom styling via url
35
+ */
36
+ clientStylingUrl: string;
37
+ /**
38
+ * Translation via url
39
+ */
40
+ translationUrl: string;
41
+ /**
42
+ * Show the widget
43
+ * @default true
44
+ */
45
+ show: boolean;
46
+ rakebackInfo: RakebackInfo;
47
+ isLoading: boolean;
48
+ coolingOffPeriod: boolean;
49
+ showTheWidget: boolean;
50
+ onSessionOrEndpointChange(): Promise<void>;
51
+ onShowOrHasRakebackWalletChange(): Promise<void>;
52
+ handleMessage(event: MessageEvent): void;
53
+ /**
54
+ * Truncate number to specified decimal places (without rounding)
55
+ * @param num Number to be processed
56
+ * @param digits Number of decimal places to keep
57
+ */
58
+ private truncateNumber;
59
+ private loadRakebackInfo;
60
+ private sendRakebackClaimedEvent;
61
+ private claimRakeback;
62
+ componentWillLoad(): Promise<void>;
63
+ render(): any;
64
+ }
65
+ export {};
@@ -0,0 +1,461 @@
1
+ /* eslint-disable */
2
+ /* tslint:disable */
3
+ /**
4
+ * This is an autogenerated file created by the Stencil compiler.
5
+ * It contains typing information for all components that exist in this project.
6
+ */
7
+ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
+ export namespace Components {
9
+ interface PlayerElevateCardData {
10
+ "params": any;
11
+ }
12
+ interface PlayerElevateCardJojogroup {
13
+ /**
14
+ * Client custom styling via inline styles
15
+ */
16
+ "clientStyling": string;
17
+ /**
18
+ * Client custom styling via url
19
+ */
20
+ "clientStylingUrl": string;
21
+ /**
22
+ * datePattern
23
+ */
24
+ "dateFormat": string;
25
+ /**
26
+ * The NWA endpoint
27
+ */
28
+ "endpoint": string;
29
+ /**
30
+ * Widget Language to show
31
+ */
32
+ "language": string;
33
+ /**
34
+ * Client custom styling via streamStyling
35
+ */
36
+ "mbSource": string;
37
+ /**
38
+ * Widget, player avatar url
39
+ */
40
+ "playerAvatarUrl": string;
41
+ /**
42
+ * Player name
43
+ */
44
+ "playerName": string;
45
+ /**
46
+ * The NWA session for the logged-in user
47
+ */
48
+ "session": string;
49
+ /**
50
+ * The style that widget shows,available value: Dark, Light Default: Dark
51
+ */
52
+ "theme": string;
53
+ /**
54
+ * Translation via url
55
+ */
56
+ "translationUrl": string;
57
+ }
58
+ interface PlayerElevateLoyaltycardJojogroup {
59
+ /**
60
+ * Client custom styling via inline styles
61
+ */
62
+ "clientStyling": string;
63
+ /**
64
+ * Client custom styling via url
65
+ */
66
+ "clientStylingUrl": string;
67
+ /**
68
+ * datePattern
69
+ */
70
+ "dateFormat": string;
71
+ /**
72
+ * The NWA endpoint
73
+ */
74
+ "endpoint": string;
75
+ /**
76
+ * Widget Language to show
77
+ */
78
+ "language": string;
79
+ /**
80
+ * Client custom styling via streamStyling
81
+ */
82
+ "mbSource": string;
83
+ /**
84
+ * Widget, player avatar url
85
+ */
86
+ "playerAvatarUrl": string;
87
+ /**
88
+ * The first name
89
+ */
90
+ "playerName": string;
91
+ /**
92
+ * The NWA session for the logged-in user
93
+ */
94
+ "session": string;
95
+ /**
96
+ * The style that widget shows,available value: Dark, Light Default: Dark
97
+ */
98
+ "theme": string;
99
+ /**
100
+ * Translation via url
101
+ */
102
+ "translationUrl": string;
103
+ }
104
+ interface PlayerElevatePointcard {
105
+ /**
106
+ * Check if the card used in points details widget, default: 'earningRule' value: 'details'/'earningRule' It effected the button in card 'earningRule': button text, 'earning rules', post 'BEEPointRulesClicked' when clicked 'details': button text, 'details', post 'BEEDetailsClicked' when clicked
107
+ */
108
+ "buttonType": string;
109
+ /**
110
+ * The title displayed in card, default: translation of 'spendablePoints'
111
+ */
112
+ "cardTitle": string;
113
+ /**
114
+ * Client custom styling via inline styles
115
+ */
116
+ "clientStyling": string;
117
+ /**
118
+ * Client custom styling via url
119
+ */
120
+ "clientStylingUrl": string;
121
+ /**
122
+ * datePattern
123
+ */
124
+ "dateFormat": string;
125
+ /**
126
+ * The NWA endpoint
127
+ */
128
+ "endpoint": string;
129
+ /**
130
+ * Widget Language to show
131
+ */
132
+ "language": string;
133
+ /**
134
+ * Client custom styling via streamStyling
135
+ */
136
+ "mbSource": string;
137
+ /**
138
+ * Widget, player avatar url
139
+ */
140
+ "playerAvatarUrl": string;
141
+ /**
142
+ * The first name
143
+ */
144
+ "playerName": string;
145
+ /**
146
+ * The NWA session for the logged-in user
147
+ */
148
+ "session": string;
149
+ /**
150
+ * The style that widget shows,available value: Dark, Light Default: Dark
151
+ */
152
+ "theme": string;
153
+ /**
154
+ * Translation via url
155
+ */
156
+ "translationUrl": string;
157
+ }
158
+ interface PlayerRakebackCard {
159
+ /**
160
+ * Client custom styling via inline styles
161
+ */
162
+ "clientStyling": string;
163
+ /**
164
+ * Client custom styling via url
165
+ */
166
+ "clientStylingUrl": string;
167
+ /**
168
+ * The NWA endpoint
169
+ */
170
+ "endpoint": string;
171
+ /**
172
+ * Widget Language to show
173
+ */
174
+ "language": string;
175
+ /**
176
+ * Client custom styling via streamStyling
177
+ */
178
+ "mbSource": string;
179
+ /**
180
+ * The NWA session for the logged-in user
181
+ */
182
+ "session": string;
183
+ /**
184
+ * Show the widget
185
+ * @default true
186
+ */
187
+ "show": boolean;
188
+ /**
189
+ * The style that widget shows, available value: Dark, Light Default: Dark
190
+ */
191
+ "theme": string;
192
+ /**
193
+ * Translation via url
194
+ */
195
+ "translationUrl": string;
196
+ }
197
+ }
198
+ export interface PlayerElevateCardDataCustomEvent<T> extends CustomEvent<T> {
199
+ detail: T;
200
+ target: HTMLPlayerElevateCardDataElement;
201
+ }
202
+ declare global {
203
+ interface HTMLPlayerElevateCardDataElementEventMap {
204
+ "playerElevateLeveLoaded": any;
205
+ }
206
+ interface HTMLPlayerElevateCardDataElement extends Components.PlayerElevateCardData, HTMLStencilElement {
207
+ addEventListener<K extends keyof HTMLPlayerElevateCardDataElementEventMap>(type: K, listener: (this: HTMLPlayerElevateCardDataElement, ev: PlayerElevateCardDataCustomEvent<HTMLPlayerElevateCardDataElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
208
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
209
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
210
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
211
+ removeEventListener<K extends keyof HTMLPlayerElevateCardDataElementEventMap>(type: K, listener: (this: HTMLPlayerElevateCardDataElement, ev: PlayerElevateCardDataCustomEvent<HTMLPlayerElevateCardDataElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
212
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
213
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
214
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
215
+ }
216
+ var HTMLPlayerElevateCardDataElement: {
217
+ prototype: HTMLPlayerElevateCardDataElement;
218
+ new (): HTMLPlayerElevateCardDataElement;
219
+ };
220
+ interface HTMLPlayerElevateCardJojogroupElement extends Components.PlayerElevateCardJojogroup, HTMLStencilElement {
221
+ }
222
+ var HTMLPlayerElevateCardJojogroupElement: {
223
+ prototype: HTMLPlayerElevateCardJojogroupElement;
224
+ new (): HTMLPlayerElevateCardJojogroupElement;
225
+ };
226
+ interface HTMLPlayerElevateLoyaltycardJojogroupElement extends Components.PlayerElevateLoyaltycardJojogroup, HTMLStencilElement {
227
+ }
228
+ var HTMLPlayerElevateLoyaltycardJojogroupElement: {
229
+ prototype: HTMLPlayerElevateLoyaltycardJojogroupElement;
230
+ new (): HTMLPlayerElevateLoyaltycardJojogroupElement;
231
+ };
232
+ interface HTMLPlayerElevatePointcardElement extends Components.PlayerElevatePointcard, HTMLStencilElement {
233
+ }
234
+ var HTMLPlayerElevatePointcardElement: {
235
+ prototype: HTMLPlayerElevatePointcardElement;
236
+ new (): HTMLPlayerElevatePointcardElement;
237
+ };
238
+ interface HTMLPlayerRakebackCardElement extends Components.PlayerRakebackCard, HTMLStencilElement {
239
+ }
240
+ var HTMLPlayerRakebackCardElement: {
241
+ prototype: HTMLPlayerRakebackCardElement;
242
+ new (): HTMLPlayerRakebackCardElement;
243
+ };
244
+ interface HTMLElementTagNameMap {
245
+ "player-elevate-card-data": HTMLPlayerElevateCardDataElement;
246
+ "player-elevate-card-jojogroup": HTMLPlayerElevateCardJojogroupElement;
247
+ "player-elevate-loyaltycard-jojogroup": HTMLPlayerElevateLoyaltycardJojogroupElement;
248
+ "player-elevate-pointcard": HTMLPlayerElevatePointcardElement;
249
+ "player-rakeback-card": HTMLPlayerRakebackCardElement;
250
+ }
251
+ }
252
+ declare namespace LocalJSX {
253
+ interface PlayerElevateCardData {
254
+ "onPlayerElevateLeveLoaded"?: (event: PlayerElevateCardDataCustomEvent<any>) => void;
255
+ "params"?: any;
256
+ }
257
+ interface PlayerElevateCardJojogroup {
258
+ /**
259
+ * Client custom styling via inline styles
260
+ */
261
+ "clientStyling"?: string;
262
+ /**
263
+ * Client custom styling via url
264
+ */
265
+ "clientStylingUrl"?: string;
266
+ /**
267
+ * datePattern
268
+ */
269
+ "dateFormat"?: string;
270
+ /**
271
+ * The NWA endpoint
272
+ */
273
+ "endpoint": string;
274
+ /**
275
+ * Widget Language to show
276
+ */
277
+ "language"?: string;
278
+ /**
279
+ * Client custom styling via streamStyling
280
+ */
281
+ "mbSource"?: string;
282
+ /**
283
+ * Widget, player avatar url
284
+ */
285
+ "playerAvatarUrl"?: string;
286
+ /**
287
+ * Player name
288
+ */
289
+ "playerName"?: string;
290
+ /**
291
+ * The NWA session for the logged-in user
292
+ */
293
+ "session": string;
294
+ /**
295
+ * The style that widget shows,available value: Dark, Light Default: Dark
296
+ */
297
+ "theme"?: string;
298
+ /**
299
+ * Translation via url
300
+ */
301
+ "translationUrl"?: string;
302
+ }
303
+ interface PlayerElevateLoyaltycardJojogroup {
304
+ /**
305
+ * Client custom styling via inline styles
306
+ */
307
+ "clientStyling"?: string;
308
+ /**
309
+ * Client custom styling via url
310
+ */
311
+ "clientStylingUrl"?: string;
312
+ /**
313
+ * datePattern
314
+ */
315
+ "dateFormat"?: string;
316
+ /**
317
+ * The NWA endpoint
318
+ */
319
+ "endpoint": string;
320
+ /**
321
+ * Widget Language to show
322
+ */
323
+ "language"?: string;
324
+ /**
325
+ * Client custom styling via streamStyling
326
+ */
327
+ "mbSource"?: string;
328
+ /**
329
+ * Widget, player avatar url
330
+ */
331
+ "playerAvatarUrl"?: string;
332
+ /**
333
+ * The first name
334
+ */
335
+ "playerName"?: string;
336
+ /**
337
+ * The NWA session for the logged-in user
338
+ */
339
+ "session": string;
340
+ /**
341
+ * The style that widget shows,available value: Dark, Light Default: Dark
342
+ */
343
+ "theme"?: string;
344
+ /**
345
+ * Translation via url
346
+ */
347
+ "translationUrl"?: string;
348
+ }
349
+ interface PlayerElevatePointcard {
350
+ /**
351
+ * Check if the card used in points details widget, default: 'earningRule' value: 'details'/'earningRule' It effected the button in card 'earningRule': button text, 'earning rules', post 'BEEPointRulesClicked' when clicked 'details': button text, 'details', post 'BEEDetailsClicked' when clicked
352
+ */
353
+ "buttonType"?: string;
354
+ /**
355
+ * The title displayed in card, default: translation of 'spendablePoints'
356
+ */
357
+ "cardTitle"?: string;
358
+ /**
359
+ * Client custom styling via inline styles
360
+ */
361
+ "clientStyling"?: string;
362
+ /**
363
+ * Client custom styling via url
364
+ */
365
+ "clientStylingUrl"?: string;
366
+ /**
367
+ * datePattern
368
+ */
369
+ "dateFormat"?: string;
370
+ /**
371
+ * The NWA endpoint
372
+ */
373
+ "endpoint": string;
374
+ /**
375
+ * Widget Language to show
376
+ */
377
+ "language"?: string;
378
+ /**
379
+ * Client custom styling via streamStyling
380
+ */
381
+ "mbSource"?: string;
382
+ /**
383
+ * Widget, player avatar url
384
+ */
385
+ "playerAvatarUrl"?: string;
386
+ /**
387
+ * The first name
388
+ */
389
+ "playerName"?: string;
390
+ /**
391
+ * The NWA session for the logged-in user
392
+ */
393
+ "session": string;
394
+ /**
395
+ * The style that widget shows,available value: Dark, Light Default: Dark
396
+ */
397
+ "theme"?: string;
398
+ /**
399
+ * Translation via url
400
+ */
401
+ "translationUrl"?: string;
402
+ }
403
+ interface PlayerRakebackCard {
404
+ /**
405
+ * Client custom styling via inline styles
406
+ */
407
+ "clientStyling"?: string;
408
+ /**
409
+ * Client custom styling via url
410
+ */
411
+ "clientStylingUrl"?: string;
412
+ /**
413
+ * The NWA endpoint
414
+ */
415
+ "endpoint": string;
416
+ /**
417
+ * Widget Language to show
418
+ */
419
+ "language"?: string;
420
+ /**
421
+ * Client custom styling via streamStyling
422
+ */
423
+ "mbSource"?: string;
424
+ /**
425
+ * The NWA session for the logged-in user
426
+ */
427
+ "session": string;
428
+ /**
429
+ * Show the widget
430
+ * @default true
431
+ */
432
+ "show"?: boolean;
433
+ /**
434
+ * The style that widget shows, available value: Dark, Light Default: Dark
435
+ */
436
+ "theme"?: string;
437
+ /**
438
+ * Translation via url
439
+ */
440
+ "translationUrl"?: string;
441
+ }
442
+ interface IntrinsicElements {
443
+ "player-elevate-card-data": PlayerElevateCardData;
444
+ "player-elevate-card-jojogroup": PlayerElevateCardJojogroup;
445
+ "player-elevate-loyaltycard-jojogroup": PlayerElevateLoyaltycardJojogroup;
446
+ "player-elevate-pointcard": PlayerElevatePointcard;
447
+ "player-rakeback-card": PlayerRakebackCard;
448
+ }
449
+ }
450
+ export { LocalJSX as JSX };
451
+ declare module "@stencil/core" {
452
+ export namespace JSX {
453
+ interface IntrinsicElements {
454
+ "player-elevate-card-data": LocalJSX.PlayerElevateCardData & JSXBase.HTMLAttributes<HTMLPlayerElevateCardDataElement>;
455
+ "player-elevate-card-jojogroup": LocalJSX.PlayerElevateCardJojogroup & JSXBase.HTMLAttributes<HTMLPlayerElevateCardJojogroupElement>;
456
+ "player-elevate-loyaltycard-jojogroup": LocalJSX.PlayerElevateLoyaltycardJojogroup & JSXBase.HTMLAttributes<HTMLPlayerElevateLoyaltycardJojogroupElement>;
457
+ "player-elevate-pointcard": LocalJSX.PlayerElevatePointcard & JSXBase.HTMLAttributes<HTMLPlayerElevatePointcardElement>;
458
+ "player-rakeback-card": LocalJSX.PlayerRakebackCard & JSXBase.HTMLAttributes<HTMLPlayerRakebackCardElement>;
459
+ }
460
+ }
461
+ }
@@ -0,0 +1 @@
1
+ export * from './components';
@@ -0,0 +1,40 @@
1
+ export interface ElevateLevelPresentation {
2
+ displayName?: string;
3
+ asset?: string;
4
+ description?: string;
5
+ [key: string]: string;
6
+ }
7
+ export interface PlayerElevateLevel {
8
+ id?: number | string;
9
+ expireTime?: string | Date;
10
+ loyaltyPoints?: number;
11
+ spendablePoints?: number;
12
+ name: string;
13
+ entryPoints: number;
14
+ nextLevel?: PlayerElevateLevel;
15
+ presentation?: ElevateLevelPresentation;
16
+ spendableWalletTotal?: ElevateWalletTotalInfo;
17
+ loyaltyWalletTotal?: ElevateWalletTotalInfo;
18
+ }
19
+ export interface ElevateExpireInfo {
20
+ points: number;
21
+ expireTime: Date;
22
+ }
23
+ export interface ElevateWalletTotalInfo {
24
+ points: number;
25
+ aboutToExpire: Array<ElevateExpireInfo>;
26
+ }
27
+ export interface ElevateLevel {
28
+ id: number | string;
29
+ firstEntryPoints: number;
30
+ }
31
+ export interface ElevateWallet {
32
+ total: ElevateWalletTotalInfo;
33
+ wageringByRealMoney: ElevateWalletTotalInfo;
34
+ manual: ElevateWalletTotalInfo;
35
+ }
36
+ export interface PlayerElevateInfo {
37
+ level: PlayerElevateLevel;
38
+ loyaltyWallet: ElevateWallet;
39
+ spendableWallet: ElevateWallet;
40
+ }