@everymatrix/casino-tournament-banner 1.44.0 → 1.45.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.
Files changed (50) hide show
  1. package/dist/casino-tournament-banner/casino-tournament-banner.esm.js +1 -1
  2. package/dist/casino-tournament-banner/p-92acdabb.js +2 -0
  3. package/dist/casino-tournament-banner/p-e1255160.js +1 -0
  4. package/dist/casino-tournament-banner/p-efee48e1.entry.js +9 -0
  5. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  6. package/dist/cjs/casino-tournament-banner.cjs.js +17 -11
  7. package/dist/cjs/casino-tournament-banner_2.cjs.entry.js +1509 -1503
  8. package/dist/cjs/index-78134d39.js +1309 -0
  9. package/dist/cjs/loader.cjs.js +7 -13
  10. package/dist/collection/collection-manifest.json +3 -3
  11. package/dist/collection/components/casino-tournament-banner/casino-tournament-banner.js +739 -762
  12. package/dist/collection/components/casino-tournament-banner/index.js +1 -0
  13. package/dist/collection/utils/locale.utils.js +392 -392
  14. package/dist/collection/utils/utils.js +11 -11
  15. package/dist/esm/app-globals-0f993ce5.js +3 -0
  16. package/dist/esm/casino-tournament-banner.js +14 -11
  17. package/dist/esm/casino-tournament-banner_2.entry.js +1509 -1503
  18. package/dist/esm/index-1bdfb450.js +1281 -0
  19. package/dist/esm/loader.js +7 -13
  20. package/dist/stencil.config.dev.js +17 -0
  21. package/dist/stencil.config.js +14 -19
  22. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-tournament-banner/.stencil/packages/stencil/casino-tournament-banner/stencil.config.d.ts +2 -0
  23. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-tournament-banner/.stencil/packages/stencil/casino-tournament-banner/stencil.config.dev.d.ts +2 -0
  24. package/dist/types/components/casino-tournament-banner/casino-tournament-banner.d.ts +138 -138
  25. package/dist/types/components/casino-tournament-banner/index.d.ts +1 -0
  26. package/dist/types/stencil-public-runtime.d.ts +142 -33
  27. package/loader/cdn.js +1 -3
  28. package/loader/index.cjs.js +1 -3
  29. package/loader/index.d.ts +13 -1
  30. package/loader/index.es2017.js +1 -3
  31. package/loader/index.js +1 -3
  32. package/loader/package.json +1 -0
  33. package/package.json +11 -1
  34. package/dist/casino-tournament-banner/p-4576b686.js +0 -1
  35. package/dist/casino-tournament-banner/p-49e8660b.entry.js +0 -9
  36. package/dist/cjs/index-3a4744d8.js +0 -1291
  37. package/dist/components/casino-tournament-banner.d.ts +0 -11
  38. package/dist/components/casino-tournament-banner.js +0 -6352
  39. package/dist/components/casino-tournament-buttons.js +0 -6
  40. package/dist/components/casino-tournament-buttons2.js +0 -596
  41. package/dist/components/index.d.ts +0 -26
  42. package/dist/components/index.js +0 -1
  43. package/dist/esm/index-1ea7f13c.js +0 -1264
  44. package/dist/esm/polyfills/core-js.js +0 -11
  45. package/dist/esm/polyfills/css-shim.js +0 -1
  46. package/dist/esm/polyfills/dom.js +0 -79
  47. package/dist/esm/polyfills/es5-html-element.js +0 -1
  48. package/dist/esm/polyfills/index.js +0 -34
  49. package/dist/esm/polyfills/system.js +0 -6
  50. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-stencil/packages/casino-tournament-banner/.stencil/packages/casino-tournament-banner/stencil.config.d.ts +0 -2
@@ -1,17 +1,11 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-1ea7f13c.js';
1
+ import { b as bootstrapLazy } from './index-1bdfb450.js';
2
+ export { s as setNonce } from './index-1bdfb450.js';
3
+ import { g as globalScripts } from './app-globals-0f993ce5.js';
2
4
 
3
- /*
4
- Stencil Client Patch Esm v2.15.2 | MIT Licensed | https://stenciljs.com
5
- */
6
- const patchEsm = () => {
7
- return promiseResolve();
8
- };
9
-
10
- const defineCustomElements = (win, options) => {
11
- if (typeof window === 'undefined') return Promise.resolve();
12
- return patchEsm().then(() => {
13
- return bootstrapLazy([["casino-tournament-banner_2",[[1,"casino-tournament-banner",{"useEvent":[1,"use-event"],"endpoint":[1],"state":[1],"enrolled":[4],"startTime":[1,"start-time"],"endTime":[1,"end-time"],"thumbnail":[1],"language":[1],"showCalendar":[4,"show-calendar"],"shortStart":[4,"short-start"],"shortstartformat":[1],"showDate":[4,"show-date"],"showRunningDate":[4,"show-running-date"],"showCheck":[4,"show-check"],"cardMode":[4,"card-mode"],"nameOrTitle":[1,"name-or-title"],"description":[1],"tournamentId":[1,"tournament-id"],"session":[1],"loginEvent":[1,"login-event"],"loginUrl":[1,"login-url"],"registerEvent":[1,"register-event"],"registerUrl":[1,"register-url"],"currency":[1],"bonusCode":[1,"bonus-code"],"showReadMore":[4,"show-read-more"],"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"translationData":[520,"translation-data"],"stateText":[32],"limitStylingAppends":[32],"startdate":[32],"tournamentLeftDays":[32],"showRemain":[32],"durationInterval":[32]},[[8,"getTournamentInfoCompleted","infoCompletedHandler"],[8,"TournamentUserEnrolled","userEnrolledHandler"]]],[1,"casino-tournament-buttons",{"language":[1],"tournamentId":[1,"tournament-id"],"session":[1],"loginEvent":[1,"login-event"],"loginUrl":[1,"login-url"],"registerEvent":[1,"register-event"],"registerUrl":[1,"register-url"],"endpoint":[1],"currency":[1],"bonusCode":[1,"bonus-code"],"enrolled":[4],"showReadMore":[4,"show-read-more"],"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"translationData":[520,"translation-data"],"limitStylingAppends":[32],"joinButtonLoading":[32],"errorJoin":[32],"errorJoinConcurrently":[32]}]]]], options);
14
- });
5
+ const defineCustomElements = async (win, options) => {
6
+ if (typeof window === 'undefined') return undefined;
7
+ await globalScripts();
8
+ return bootstrapLazy([["casino-tournament-banner_2",[[1,"casino-tournament-banner",{"useEvent":[1,"use-event"],"endpoint":[1],"state":[1],"enrolled":[4],"startTime":[1,"start-time"],"endTime":[1,"end-time"],"thumbnail":[1],"language":[1],"showCalendar":[4,"show-calendar"],"shortStart":[4,"short-start"],"shortstartformat":[1],"showDate":[4,"show-date"],"showRunningDate":[4,"show-running-date"],"showCheck":[4,"show-check"],"cardMode":[4,"card-mode"],"nameOrTitle":[1,"name-or-title"],"description":[1],"tournamentId":[1,"tournament-id"],"session":[1],"loginEvent":[1,"login-event"],"loginUrl":[1,"login-url"],"registerEvent":[1,"register-event"],"registerUrl":[1,"register-url"],"currency":[1],"bonusCode":[1,"bonus-code"],"showReadMore":[4,"show-read-more"],"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"translationData":[520,"translation-data"],"stateText":[32],"limitStylingAppends":[32],"startdate":[32],"tournamentLeftDays":[32],"showRemain":[32],"durationInterval":[32]},[[8,"getTournamentInfoCompleted","infoCompletedHandler"],[8,"TournamentUserEnrolled","userEnrolledHandler"]],{"language":["watchLanguage"]}],[1,"casino-tournament-buttons",{"language":[1],"tournamentId":[1,"tournament-id"],"session":[1],"loginEvent":[1,"login-event"],"loginUrl":[1,"login-url"],"registerEvent":[1,"register-event"],"registerUrl":[1,"register-url"],"endpoint":[1],"currency":[1],"bonusCode":[1,"bonus-code"],"enrolled":[4],"showReadMore":[4,"show-read-more"],"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"translationData":[520,"translation-data"],"limitStylingAppends":[32],"joinButtonLoading":[32],"errorJoin":[32],"errorJoinConcurrently":[32]}]]]], options);
15
9
  };
16
10
 
17
11
  export { defineCustomElements };
@@ -0,0 +1,17 @@
1
+ import { sass } from "@stencil/sass";
2
+ export const config = {
3
+ namespace: 'casino-tournament-banner',
4
+ taskQueue: 'async',
5
+ sourceMap: true,
6
+ minifyJs: false,
7
+ extras: {
8
+ experimentalImportInjection: true
9
+ },
10
+ plugins: [sass()],
11
+ outputTargets: [
12
+ {
13
+ type: 'www',
14
+ serviceWorker: null // disable service workers
15
+ }
16
+ ]
17
+ };
@@ -1,22 +1,17 @@
1
- import { sass } from '@stencil/sass';
1
+ import { sass } from "@stencil/sass";
2
2
  export const config = {
3
- namespace: 'casino-tournament-banner',
4
- taskQueue: 'async',
5
- plugins: [sass()],
6
- outputTargets: [
7
- {
8
- type: 'dist',
9
- esmLoaderPath: '../loader',
3
+ namespace: 'casino-tournament-banner',
4
+ taskQueue: 'async',
5
+ sourceMap: false,
6
+ minifyJs: true,
7
+ extras: {
8
+ experimentalImportInjection: true
10
9
  },
11
- {
12
- type: 'dist-custom-elements',
13
- },
14
- {
15
- type: 'docs-readme',
16
- },
17
- {
18
- type: 'www',
19
- serviceWorker: null, // disable service workers
20
- },
21
- ],
10
+ plugins: [sass()],
11
+ outputTargets: [
12
+ {
13
+ type: 'dist',
14
+ esmLoaderPath: '../loader'
15
+ }
16
+ ]
22
17
  };
@@ -0,0 +1,2 @@
1
+ import { Config } from '../../../../../../../../../../../../stencil-public-runtime';
2
+ export declare const config: Config;
@@ -0,0 +1,2 @@
1
+ import { Config } from '../../../../../../../../../../../../stencil-public-runtime';
2
+ export declare const config: Config;
@@ -1,140 +1,140 @@
1
- import '@everymatrix/casino-tournament-buttons';
1
+ import "../../../../../../dist/packages/stencil/casino-tournament-buttons/dist/types/index";
2
2
  export declare class CasinoTournamentBanner {
3
- /**
4
- * Use event to load data
5
- */
6
- useEvent?: string;
7
- /**
8
- * The NWA endpoint
9
- */
10
- endpoint?: string;
11
- /**
12
- * The tournament state
13
- */
14
- state?: string;
15
- /**
16
- * Player enrolled
17
- */
18
- enrolled?: boolean;
19
- /**
20
- * Tournament start time
21
- */
22
- startTime?: string;
23
- /**
24
- * Tournament end time
25
- */
26
- endTime?: string;
27
- /**
28
- * Tournament thumbnail
29
- */
30
- thumbnail?: string;
31
- /**
32
- * Widget Language to show
33
- */
34
- language: string;
35
- /**
36
- * Show calendar icon
37
- */
38
- showCalendar?: boolean;
39
- /**
40
- * Show short start time on tag
41
- */
42
- shortStart?: boolean;
43
- /**
44
- * Short start time format
45
- */
46
- shortstartformat?: string;
47
- /**
48
- * Show date on widget
49
- */
50
- showDate?: boolean;
51
- /**
52
- * Show date on running state tournament tag
53
- */
54
- showRunningDate?: boolean;
55
- /**
56
- * Show check icon on enrolled tag
57
- */
58
- showCheck?: boolean;
59
- /**
60
- * Widget display as a card
61
- */
62
- cardMode?: boolean;
63
- /**
64
- * Widget name or title
65
- */
66
- nameOrTitle?: string;
67
- /**
68
- * Tournament description
69
- */
70
- description?: string;
71
- /**
72
- * Tournament ID
73
- */
74
- tournamentId?: string;
75
- /**
76
- * The NWA Session
77
- */
78
- session?: string;
79
- /**
80
- * Login event
81
- */
82
- loginEvent?: string;
83
- /**
84
- * Login url
85
- */
86
- loginUrl?: string;
87
- /**
88
- * Register Event
89
- */
90
- registerEvent?: string;
91
- /**
92
- * Register url
93
- */
94
- registerUrl?: string;
95
- /**
96
- * Player currency
97
- */
98
- currency?: string;
99
- /**
100
- * Bonus Code
101
- */
102
- bonusCode?: string;
103
- /**
104
- * Show read more button
105
- */
106
- showReadMore?: boolean;
107
- /**
108
- * Client custom styling via inline styles
109
- */
110
- clientStyling?: string;
111
- /**
112
- * Client custom styling via url
113
- */
114
- clientStylingUrl?: string;
115
- /**
116
- * Translations via parent component
117
- */
118
- translationData?: any;
119
- stateText: string;
120
- limitStylingAppends: boolean;
121
- startdate: string;
122
- tournamentLeftDays: number;
123
- showRemain: string;
124
- durationInterval: number;
125
- host: HTMLElement;
126
- watchLanguage(newValue: string, oldValue: string): void;
127
- infoCompletedHandler(event: CustomEvent<any>): void;
128
- userEnrolledHandler(event: CustomEvent<any>): void;
129
- getDateTimeDiff(dateString1: Date, dateString2: string): number;
130
- getTextByDiff(diff: number): any;
131
- getDuration(): void;
132
- getStateText(state: string): string;
133
- componentDidRender(): void;
134
- setClientStyling(): void;
135
- setClientStylingURL(): void;
136
- formatDate(): void;
137
- componentWillLoad(): void;
138
- termsClick(tournamentId: string): void;
139
- render(): any;
3
+ /**
4
+ * Use event to load data
5
+ */
6
+ useEvent?: string;
7
+ /**
8
+ * The NWA endpoint
9
+ */
10
+ endpoint?: string;
11
+ /**
12
+ * The tournament state
13
+ */
14
+ state?: string;
15
+ /**
16
+ * Player enrolled
17
+ */
18
+ enrolled?: boolean;
19
+ /**
20
+ * Tournament start time
21
+ */
22
+ startTime?: string;
23
+ /**
24
+ * Tournament end time
25
+ */
26
+ endTime?: string;
27
+ /**
28
+ * Tournament thumbnail
29
+ */
30
+ thumbnail?: string;
31
+ /**
32
+ * Widget Language to show
33
+ */
34
+ language: string;
35
+ /**
36
+ * Show calendar icon
37
+ */
38
+ showCalendar?: boolean;
39
+ /**
40
+ * Show short start time on tag
41
+ */
42
+ shortStart?: boolean;
43
+ /**
44
+ * Short start time format
45
+ */
46
+ shortstartformat?: string;
47
+ /**
48
+ * Show date on widget
49
+ */
50
+ showDate?: boolean;
51
+ /**
52
+ * Show date on running state tournament tag
53
+ */
54
+ showRunningDate?: boolean;
55
+ /**
56
+ * Show check icon on enrolled tag
57
+ */
58
+ showCheck?: boolean;
59
+ /**
60
+ * Widget display as a card
61
+ */
62
+ cardMode?: boolean;
63
+ /**
64
+ * Widget name or title
65
+ */
66
+ nameOrTitle?: string;
67
+ /**
68
+ * Tournament description
69
+ */
70
+ description?: string;
71
+ /**
72
+ * Tournament ID
73
+ */
74
+ tournamentId?: string;
75
+ /**
76
+ * The NWA Session
77
+ */
78
+ session?: string;
79
+ /**
80
+ * Login event
81
+ */
82
+ loginEvent?: string;
83
+ /**
84
+ * Login url
85
+ */
86
+ loginUrl?: string;
87
+ /**
88
+ * Register Event
89
+ */
90
+ registerEvent?: string;
91
+ /**
92
+ * Register url
93
+ */
94
+ registerUrl?: string;
95
+ /**
96
+ * Player currency
97
+ */
98
+ currency?: string;
99
+ /**
100
+ * Bonus Code
101
+ */
102
+ bonusCode?: string;
103
+ /**
104
+ * Show read more button
105
+ */
106
+ showReadMore?: boolean;
107
+ /**
108
+ * Client custom styling via inline styles
109
+ */
110
+ clientStyling?: string;
111
+ /**
112
+ * Client custom styling via url
113
+ */
114
+ clientStylingUrl?: string;
115
+ /**
116
+ * Translations via parent component
117
+ */
118
+ translationData?: any;
119
+ stateText: string;
120
+ limitStylingAppends: boolean;
121
+ startdate: string;
122
+ tournamentLeftDays: number;
123
+ showRemain: string;
124
+ durationInterval: number;
125
+ host: HTMLElement;
126
+ watchLanguage(newValue: string, oldValue: string): void;
127
+ infoCompletedHandler(event: CustomEvent<any>): void;
128
+ userEnrolledHandler(event: CustomEvent<any>): void;
129
+ getDateTimeDiff(dateString1: Date, dateString2: string): number;
130
+ getTextByDiff(diff: number): any;
131
+ getDuration(): void;
132
+ getStateText(state: string): string;
133
+ componentDidRender(): void;
134
+ setClientStyling(): void;
135
+ setClientStylingURL(): void;
136
+ formatDate(): void;
137
+ componentWillLoad(): void;
138
+ termsClick(tournamentId: string): void;
139
+ render(): any;
140
140
  }
@@ -0,0 +1 @@
1
+ export { CasinoTournamentBanner } from './casino-tournament-banner';