@everymatrix/casino-tournament-duration 1.44.0 → 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 (48) hide show
  1. package/dist/casino-tournament-duration/casino-tournament-duration.esm.js +1 -1
  2. package/dist/casino-tournament-duration/p-57ef1124.js +2 -0
  3. package/dist/casino-tournament-duration/p-b0ea5595.entry.js +1 -0
  4. package/dist/casino-tournament-duration/p-e1255160.js +1 -0
  5. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  6. package/dist/cjs/casino-tournament-duration.cjs.entry.js +205 -201
  7. package/dist/cjs/casino-tournament-duration.cjs.js +17 -11
  8. package/dist/cjs/index-5302010b.js +1201 -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-duration/casino-tournament-duration.js +263 -268
  12. package/dist/collection/components/casino-tournament-duration/index.js +1 -0
  13. package/dist/collection/utils/locale.utils.js +88 -88
  14. package/dist/collection/utils/utils.js +1 -1
  15. package/dist/esm/app-globals-0f993ce5.js +3 -0
  16. package/dist/esm/casino-tournament-duration.entry.js +205 -201
  17. package/dist/esm/casino-tournament-duration.js +14 -11
  18. package/dist/esm/index-2af9ace7.js +1174 -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-duration/.stencil/packages/stencil/casino-tournament-duration/stencil.config.d.ts +2 -0
  23. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-tournament-duration/.stencil/packages/stencil/casino-tournament-duration/stencil.config.dev.d.ts +2 -0
  24. package/dist/types/components/casino-tournament-duration/casino-tournament-duration.d.ts +45 -45
  25. package/dist/types/components/casino-tournament-duration/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 +8 -1
  34. package/dist/casino-tournament-duration/p-183a9160.entry.js +0 -1
  35. package/dist/casino-tournament-duration/p-5f4837aa.js +0 -1
  36. package/dist/cjs/index-764d2bff.js +0 -1170
  37. package/dist/components/casino-tournament-duration.d.ts +0 -11
  38. package/dist/components/casino-tournament-duration.js +0 -257
  39. package/dist/components/index.d.ts +0 -26
  40. package/dist/components/index.js +0 -1
  41. package/dist/esm/index-4075dde6.js +0 -1144
  42. package/dist/esm/polyfills/core-js.js +0 -11
  43. package/dist/esm/polyfills/css-shim.js +0 -1
  44. package/dist/esm/polyfills/dom.js +0 -79
  45. package/dist/esm/polyfills/es5-html-element.js +0 -1
  46. package/dist/esm/polyfills/index.js +0 -34
  47. package/dist/esm/polyfills/system.js +0 -6
  48. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-stencil/packages/casino-tournament-duration/.stencil/packages/casino-tournament-duration/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-764d2bff.js');
5
+ const index = require('./index-5302010b.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(() => {
17
- return index.bootstrapLazy([["casino-tournament-duration.cjs",[[1,"casino-tournament-duration",{"startTime":[1,"start-time"],"endTime":[1,"end-time"],"status":[1],"language":[1],"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"translationData":[520,"translation-data"],"tournamentUntilStartDays":[32],"tournamentLeftDays":[32],"showRemain":[32],"limitStylingAppends":[32],"durationInterval":[32]}]]]], options);
18
- });
8
+ const defineCustomElements = async (win, options) => {
9
+ if (typeof window === 'undefined') return undefined;
10
+ await appGlobals.globalScripts();
11
+ return index.bootstrapLazy([["casino-tournament-duration.cjs",[[1,"casino-tournament-duration",{"startTime":[1,"start-time"],"endTime":[1,"end-time"],"status":[1],"language":[1],"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"translationData":[520,"translation-data"],"tournamentUntilStartDays":[32],"tournamentLeftDays":[32],"showRemain":[32],"limitStylingAppends":[32],"durationInterval":[32]},null,{"language":["watchLanguage"]}]]]], options);
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-tournament-duration/casino-tournament-duration.js"
3
+ "components/casino-tournament-duration/casino-tournament-duration.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": []
@@ -1,281 +1,276 @@
1
- import { Component, Prop, h, State, Element, Watch } from '@stencil/core';
2
- import { translate, getTranslations } from '../../utils/locale.utils';
1
+ import { h } from "@stencil/core";
2
+ import { translate, getTranslations } from "../../utils/locale.utils";
3
3
  export class CasinoTournamentDuration {
4
- constructor() {
5
- /**
6
- * Client custom styling via inline styles
7
- */
8
- this.clientStyling = '';
9
- /**
10
- * Client custom styling via url
11
- */
12
- this.clientStylingUrl = '';
13
- this.limitStylingAppends = false;
14
- }
15
- watchLanguage(newValue, oldValue) {
16
- if (newValue && newValue != oldValue) {
17
- this.getDuration();
4
+ constructor() {
5
+ this.startTime = undefined;
6
+ this.endTime = undefined;
7
+ this.status = undefined;
8
+ this.language = undefined;
9
+ this.clientStyling = '';
10
+ this.clientStylingUrl = '';
11
+ this.translationData = undefined;
12
+ this.tournamentUntilStartDays = undefined;
13
+ this.tournamentLeftDays = undefined;
14
+ this.showRemain = undefined;
15
+ this.limitStylingAppends = false;
16
+ this.durationInterval = undefined;
18
17
  }
19
- }
20
- getDateTimeDiff(dateString1, dateString2) {
21
- return ((new Date(dateString2)).getTime() - (new Date(dateString1)).getTime()) / (1000 * 60);
22
- }
23
- getDuration() {
24
- const dateNow = new Date();
25
- this.tournamentLeftDays = this.getDateTimeDiff(dateNow, this.endTime);
26
- this.tournamentUntilStartDays = this.getDateTimeDiff(dateNow, this.startTime);
27
- this.showRemain = this.getTextByDiff(this.tournamentLeftDays);
28
- }
29
- formatDate(date) {
30
- const dateOptions = { month: 'long' };
31
- let currentDate = new Date(date);
32
- let currentMonth = new Intl.DateTimeFormat(this.language, dateOptions).format(currentDate);
33
- let currentDay = currentDate.getDate();
34
- return `${currentDay} ${currentMonth}, ${currentDate.toLocaleString('en-GB', { hour: 'numeric', minute: 'numeric' })}, ${currentDate.getUTCFullYear()}`;
35
- }
36
- getTextByDiff(diff) {
37
- const renderText = (amount, type) => amount + ' ' + translate(type, this.language);
38
- const renderTimeColumn = (column) => {
39
- const columnInt = Math.floor(column);
40
- if (columnInt < 10) {
41
- return `0${columnInt}`;
42
- }
43
- else {
44
- return `${columnInt}`;
45
- }
46
- };
47
- if (diff < 1440) {
48
- const hours = diff / 60;
49
- const minutes = diff % 60;
50
- const seconds = (minutes - Math.floor(minutes)) * 60;
51
- return [hours, minutes, seconds].map(c => renderTimeColumn(c)).join(':');
18
+ watchLanguage(newValue, oldValue) {
19
+ if (newValue && newValue != oldValue) {
20
+ this.getDuration();
21
+ }
22
+ }
23
+ getDateTimeDiff(dateString1, dateString2) {
24
+ return ((new Date(dateString2)).getTime() - (new Date(dateString1)).getTime()) / (1000 * 60);
25
+ }
26
+ getDuration() {
27
+ const dateNow = new Date();
28
+ this.tournamentLeftDays = this.getDateTimeDiff(dateNow, this.endTime);
29
+ this.tournamentUntilStartDays = this.getDateTimeDiff(dateNow, this.startTime);
30
+ this.showRemain = this.getTextByDiff(this.tournamentLeftDays);
31
+ }
32
+ formatDate(date) {
33
+ const dateOptions = { month: 'long' };
34
+ let currentDate = new Date(date);
35
+ let currentMonth = new Intl.DateTimeFormat(this.language, dateOptions).format(currentDate);
36
+ let currentDay = currentDate.getDate();
37
+ return `${currentDay} ${currentMonth}, ${currentDate.toLocaleString('en-GB', { hour: 'numeric', minute: 'numeric' })}, ${currentDate.getUTCFullYear()}`;
38
+ }
39
+ getTextByDiff(diff) {
40
+ const renderText = (amount, type) => amount + ' ' + translate(type, this.language);
41
+ const renderTimeColumn = (column) => {
42
+ const columnInt = Math.floor(column);
43
+ if (columnInt < 10) {
44
+ return `0${columnInt}`;
45
+ }
46
+ else {
47
+ return `${columnInt}`;
48
+ }
49
+ };
50
+ if (diff < 1440) {
51
+ const hours = diff / 60;
52
+ const minutes = diff % 60;
53
+ const seconds = (minutes - Math.floor(minutes)) * 60;
54
+ return [hours, minutes, seconds].map(c => renderTimeColumn(c)).join(':');
55
+ }
56
+ return renderText(Math.ceil(diff / (60 * 24)), 'days');
57
+ }
58
+ getProgress() {
59
+ if (this.tournamentLeftDays <= 0)
60
+ return 100;
61
+ const tournamentDuration = this.getDateTimeDiff(this.startTime, this.endTime);
62
+ const step = 100 / tournamentDuration;
63
+ const width = Math.floor((tournamentDuration - this.tournamentLeftDays) * step);
64
+ return width;
65
+ }
66
+ componentWillLoad() {
67
+ if (this.translationData) {
68
+ getTranslations(JSON.parse(this.translationData));
69
+ }
70
+ if (this.startTime && this.endTime) {
71
+ this.getDuration();
72
+ this.getTextByDiff(this.tournamentLeftDays);
73
+ }
74
+ if (this.tournamentLeftDays < 1440 && this.tournamentLeftDays > 0) {
75
+ this.durationInterval = window.setInterval(() => {
76
+ if (this.startTime && this.endTime) {
77
+ this.getDuration();
78
+ }
79
+ }, 1000);
80
+ }
81
+ else {
82
+ clearInterval(this.durationInterval);
83
+ }
84
+ }
85
+ componentDidRender() {
86
+ if (!this.limitStylingAppends && this.host) {
87
+ if (this.clientStyling)
88
+ this.setClientStyling();
89
+ if (this.clientStylingUrl)
90
+ this.setClientStylingURL();
91
+ this.limitStylingAppends = true;
92
+ }
52
93
  }
53
- return renderText(Math.ceil(diff / (60 * 24)), 'days');
54
- }
55
- getProgress() {
56
- if (this.tournamentLeftDays <= 0)
57
- return 100;
58
- const tournamentDuration = this.getDateTimeDiff(this.startTime, this.endTime);
59
- const step = 100 / tournamentDuration;
60
- const width = Math.floor((tournamentDuration - this.tournamentLeftDays) * step);
61
- return width;
62
- }
63
- componentWillLoad() {
64
- if (this.translationData) {
65
- getTranslations(JSON.parse(this.translationData));
94
+ setClientStyling() {
95
+ const sheet = new CSSStyleSheet();
96
+ // @ts-ignore
97
+ sheet.replace(this.clientStyling);
98
+ // @ts-ignore
99
+ this.host.shadowRoot.adoptedStyleSheets = [...this.host.shadowRoot.adoptedStyleSheets, sheet];
66
100
  }
67
- if (this.startTime && this.endTime) {
68
- this.getDuration();
69
- this.getTextByDiff(this.tournamentLeftDays);
101
+ setClientStylingURL() {
102
+ let url = new URL(this.clientStylingUrl);
103
+ fetch(url.href)
104
+ .then((res) => res.text())
105
+ .then((data) => {
106
+ const sheet = new CSSStyleSheet();
107
+ // @ts-ignore
108
+ sheet.replace(data);
109
+ // @ts-ignore
110
+ this.host.shadowRoot.adoptedStyleSheets = [...this.host.shadowRoot.adoptedStyleSheets, sheet];
111
+ });
70
112
  }
71
- if (this.tournamentLeftDays < 1440 && this.tournamentLeftDays > 0) {
72
- this.durationInterval = window.setInterval(() => {
113
+ render() {
73
114
  if (this.startTime && this.endTime) {
74
- this.getDuration();
115
+ return h("div", { key: 'd0051545a243161e89e126fd26b9ea9d2e09f8ab', class: "TournamentDurationWrap" }, h("div", { key: 'b585f0137268f0185dfd15e563a0075bfe617d5b', class: "TournamentDuration" }, h("div", { key: '9cc3670780d9f8c40b77ac978cdadb0e0afdcacb', class: "TournamentDates" }, h("div", { key: '85e4f3b1de4f36efd8d13b090f8f9013976d8685', class: "StartDate", part: "StartDate" }, this.formatDate(this.startTime)), h("div", { key: '688a84ce16a4d26359637b80837a9c5f50fc24c3', class: "EndDate", part: "EndDate" }, this.formatDate(this.endTime))), h("div", { key: '149c0431ac2d8f9b5058a2a269b50e01d23ed26f', class: "ProgressBarWrapper" }, h("div", { key: '85523f37f511f9184260f8575ec08e914f535858', class: "ProgressBar", part: "ProgressBar" }, this.status == 'Finished' || this.status == 'Closing' || this.status == 'Closed' ?
116
+ h("div", null, h("div", { class: "ProgressBarFillEnd", part: "ProgressBarFillEnd" }), h("div", { class: "Finished", part: "Finished" }, translate('finished', this.language))) :
117
+ this.tournamentUntilStartDays > 0 ?
118
+ h("div", null, h("div", { class: "ProgressBarFillStarting", part: "ProgressBarFillStarting" }), h("div", { class: "Remaining", part: "Remaining" }, translate('starting', this.language), " ", this.getTextByDiff(this.tournamentUntilStartDays))) :
119
+ h("div", null, h("div", { class: "ProgressBarFill", part: "ProgressBarFill", style: { width: `${this.getProgress()}%` } }), this.tournamentLeftDays > 0 &&
120
+ h("div", { class: "Remaining", part: "Remaining" }, this.showRemain, " ", translate('left', this.language)))))));
75
121
  }
76
- }, 1000);
77
122
  }
78
- else {
79
- clearInterval(this.durationInterval);
123
+ static get is() { return "casino-tournament-duration"; }
124
+ static get encapsulation() { return "shadow"; }
125
+ static get originalStyleUrls() {
126
+ return {
127
+ "$": ["casino-tournament-duration.scss"]
128
+ };
129
+ }
130
+ static get styleUrls() {
131
+ return {
132
+ "$": ["casino-tournament-duration.css"]
133
+ };
80
134
  }
81
- }
82
- componentDidRender() {
83
- if (!this.limitStylingAppends && this.host) {
84
- if (this.clientStyling)
85
- this.setClientStyling();
86
- if (this.clientStylingUrl)
87
- this.setClientStylingURL();
88
- this.limitStylingAppends = true;
135
+ static get properties() {
136
+ return {
137
+ "startTime": {
138
+ "type": "string",
139
+ "mutable": false,
140
+ "complexType": {
141
+ "original": "string",
142
+ "resolved": "string",
143
+ "references": {}
144
+ },
145
+ "required": false,
146
+ "optional": true,
147
+ "docs": {
148
+ "tags": [],
149
+ "text": "Tournament start time"
150
+ },
151
+ "attribute": "start-time",
152
+ "reflect": false
153
+ },
154
+ "endTime": {
155
+ "type": "string",
156
+ "mutable": false,
157
+ "complexType": {
158
+ "original": "string",
159
+ "resolved": "string",
160
+ "references": {}
161
+ },
162
+ "required": false,
163
+ "optional": true,
164
+ "docs": {
165
+ "tags": [],
166
+ "text": "Tournament end time"
167
+ },
168
+ "attribute": "end-time",
169
+ "reflect": false
170
+ },
171
+ "status": {
172
+ "type": "string",
173
+ "mutable": false,
174
+ "complexType": {
175
+ "original": "string",
176
+ "resolved": "string",
177
+ "references": {}
178
+ },
179
+ "required": false,
180
+ "optional": true,
181
+ "docs": {
182
+ "tags": [],
183
+ "text": "Tournament status"
184
+ },
185
+ "attribute": "status",
186
+ "reflect": false
187
+ },
188
+ "language": {
189
+ "type": "string",
190
+ "mutable": false,
191
+ "complexType": {
192
+ "original": "string",
193
+ "resolved": "string",
194
+ "references": {}
195
+ },
196
+ "required": true,
197
+ "optional": false,
198
+ "docs": {
199
+ "tags": [],
200
+ "text": "Widget language to show"
201
+ },
202
+ "attribute": "language",
203
+ "reflect": false
204
+ },
205
+ "clientStyling": {
206
+ "type": "string",
207
+ "mutable": false,
208
+ "complexType": {
209
+ "original": "string",
210
+ "resolved": "string",
211
+ "references": {}
212
+ },
213
+ "required": false,
214
+ "optional": true,
215
+ "docs": {
216
+ "tags": [],
217
+ "text": "Client custom styling via inline styles"
218
+ },
219
+ "attribute": "client-styling",
220
+ "reflect": false,
221
+ "defaultValue": "''"
222
+ },
223
+ "clientStylingUrl": {
224
+ "type": "string",
225
+ "mutable": false,
226
+ "complexType": {
227
+ "original": "string",
228
+ "resolved": "string",
229
+ "references": {}
230
+ },
231
+ "required": false,
232
+ "optional": true,
233
+ "docs": {
234
+ "tags": [],
235
+ "text": "Client custom styling via url"
236
+ },
237
+ "attribute": "client-styling-url",
238
+ "reflect": false,
239
+ "defaultValue": "''"
240
+ },
241
+ "translationData": {
242
+ "type": "any",
243
+ "mutable": false,
244
+ "complexType": {
245
+ "original": "any",
246
+ "resolved": "any",
247
+ "references": {}
248
+ },
249
+ "required": false,
250
+ "optional": true,
251
+ "docs": {
252
+ "tags": [],
253
+ "text": "Translations via parent component"
254
+ },
255
+ "attribute": "translation-data",
256
+ "reflect": true
257
+ }
258
+ };
89
259
  }
90
- }
91
- setClientStyling() {
92
- const sheet = new CSSStyleSheet();
93
- // @ts-ignore
94
- sheet.replace(this.clientStyling);
95
- // @ts-ignore
96
- this.host.shadowRoot.adoptedStyleSheets = [...this.host.shadowRoot.adoptedStyleSheets, sheet];
97
- }
98
- setClientStylingURL() {
99
- let url = new URL(this.clientStylingUrl);
100
- fetch(url.href)
101
- .then((res) => res.text())
102
- .then((data) => {
103
- const sheet = new CSSStyleSheet();
104
- // @ts-ignore
105
- sheet.replace(data);
106
- // @ts-ignore
107
- this.host.shadowRoot.adoptedStyleSheets = [...this.host.shadowRoot.adoptedStyleSheets, sheet];
108
- });
109
- }
110
- render() {
111
- if (this.startTime && this.endTime) {
112
- return h("div", { class: "TournamentDurationWrap" },
113
- h("div", { class: "TournamentDuration" },
114
- h("div", { class: "TournamentDates" },
115
- h("div", { class: "StartDate", part: "StartDate" }, this.formatDate(this.startTime)),
116
- h("div", { class: "EndDate", part: "EndDate" }, this.formatDate(this.endTime))),
117
- h("div", { class: "ProgressBarWrapper" },
118
- h("div", { class: "ProgressBar", part: "ProgressBar" }, this.status == 'Finished' || this.status == 'Closing' || this.status == 'Closed' ?
119
- h("div", null,
120
- h("div", { class: "ProgressBarFillEnd", part: "ProgressBarFillEnd" }),
121
- h("div", { class: "Finished", part: "Finished" }, translate('finished', this.language))) :
122
- this.tournamentUntilStartDays > 0 ?
123
- h("div", null,
124
- h("div", { class: "ProgressBarFillStarting", part: "ProgressBarFillStarting" }),
125
- h("div", { class: "Remaining", part: "Remaining" },
126
- translate('starting', this.language),
127
- " ",
128
- this.getTextByDiff(this.tournamentUntilStartDays))) :
129
- h("div", null,
130
- h("div", { class: "ProgressBarFill", part: "ProgressBarFill", style: { width: `${this.getProgress()}%` } }),
131
- this.tournamentLeftDays > 0 &&
132
- h("div", { class: "Remaining", part: "Remaining" },
133
- this.showRemain,
134
- " ",
135
- translate('left', this.language)))))));
260
+ static get states() {
261
+ return {
262
+ "tournamentUntilStartDays": {},
263
+ "tournamentLeftDays": {},
264
+ "showRemain": {},
265
+ "limitStylingAppends": {},
266
+ "durationInterval": {}
267
+ };
136
268
  }
137
- }
138
- static get is() { return "casino-tournament-duration"; }
139
- static get encapsulation() { return "shadow"; }
140
- static get originalStyleUrls() { return {
141
- "$": ["casino-tournament-duration.scss"]
142
- }; }
143
- static get styleUrls() { return {
144
- "$": ["casino-tournament-duration.css"]
145
- }; }
146
- static get properties() { return {
147
- "startTime": {
148
- "type": "string",
149
- "mutable": false,
150
- "complexType": {
151
- "original": "string",
152
- "resolved": "string",
153
- "references": {}
154
- },
155
- "required": false,
156
- "optional": true,
157
- "docs": {
158
- "tags": [],
159
- "text": "Tournament start time"
160
- },
161
- "attribute": "start-time",
162
- "reflect": false
163
- },
164
- "endTime": {
165
- "type": "string",
166
- "mutable": false,
167
- "complexType": {
168
- "original": "string",
169
- "resolved": "string",
170
- "references": {}
171
- },
172
- "required": false,
173
- "optional": true,
174
- "docs": {
175
- "tags": [],
176
- "text": "Tournament end time"
177
- },
178
- "attribute": "end-time",
179
- "reflect": false
180
- },
181
- "status": {
182
- "type": "string",
183
- "mutable": false,
184
- "complexType": {
185
- "original": "string",
186
- "resolved": "string",
187
- "references": {}
188
- },
189
- "required": false,
190
- "optional": true,
191
- "docs": {
192
- "tags": [],
193
- "text": "Tournament status"
194
- },
195
- "attribute": "status",
196
- "reflect": false
197
- },
198
- "language": {
199
- "type": "string",
200
- "mutable": false,
201
- "complexType": {
202
- "original": "string",
203
- "resolved": "string",
204
- "references": {}
205
- },
206
- "required": true,
207
- "optional": false,
208
- "docs": {
209
- "tags": [],
210
- "text": "Widget language to show"
211
- },
212
- "attribute": "language",
213
- "reflect": false
214
- },
215
- "clientStyling": {
216
- "type": "string",
217
- "mutable": false,
218
- "complexType": {
219
- "original": "string",
220
- "resolved": "string",
221
- "references": {}
222
- },
223
- "required": false,
224
- "optional": true,
225
- "docs": {
226
- "tags": [],
227
- "text": "Client custom styling via inline styles"
228
- },
229
- "attribute": "client-styling",
230
- "reflect": false,
231
- "defaultValue": "''"
232
- },
233
- "clientStylingUrl": {
234
- "type": "string",
235
- "mutable": false,
236
- "complexType": {
237
- "original": "string",
238
- "resolved": "string",
239
- "references": {}
240
- },
241
- "required": false,
242
- "optional": true,
243
- "docs": {
244
- "tags": [],
245
- "text": "Client custom styling via url"
246
- },
247
- "attribute": "client-styling-url",
248
- "reflect": false,
249
- "defaultValue": "''"
250
- },
251
- "translationData": {
252
- "type": "any",
253
- "mutable": false,
254
- "complexType": {
255
- "original": "any",
256
- "resolved": "any",
257
- "references": {}
258
- },
259
- "required": false,
260
- "optional": true,
261
- "docs": {
262
- "tags": [],
263
- "text": "Translations via parent component"
264
- },
265
- "attribute": "translation-data",
266
- "reflect": true
269
+ static get elementRef() { return "host"; }
270
+ static get watchers() {
271
+ return [{
272
+ "propName": "language",
273
+ "methodName": "watchLanguage"
274
+ }];
267
275
  }
268
- }; }
269
- static get states() { return {
270
- "tournamentUntilStartDays": {},
271
- "tournamentLeftDays": {},
272
- "showRemain": {},
273
- "limitStylingAppends": {},
274
- "durationInterval": {}
275
- }; }
276
- static get elementRef() { return "host"; }
277
- static get watchers() { return [{
278
- "propName": "language",
279
- "methodName": "watchLanguage"
280
- }]; }
281
276
  }
@@ -0,0 +1 @@
1
+ export { CasinoTournamentDuration } from './casino-tournament-duration';