@everymatrix/helper-filters 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 (50) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  2. package/dist/cjs/helper-filters.cjs.js +16 -10
  3. package/dist/cjs/helper-filters_2.cjs.entry.js +1307 -440
  4. package/dist/cjs/index-c0a2f0ff.js +1264 -0
  5. package/dist/cjs/loader.cjs.js +6 -12
  6. package/dist/collection/collection-manifest.json +3 -3
  7. package/dist/collection/components/helper-filters/helper-filters.js +368 -398
  8. package/dist/collection/components/helper-filters/index.js +1 -0
  9. package/dist/collection/utils/locale.utils.js +65 -65
  10. package/dist/collection/utils/utils.js +1 -1
  11. package/dist/esm/app-globals-0f993ce5.js +3 -0
  12. package/dist/esm/helper-filters.js +13 -10
  13. package/dist/esm/helper-filters_2.entry.js +1307 -440
  14. package/dist/esm/index-0aa988c9.js +1237 -0
  15. package/dist/esm/loader.js +6 -12
  16. package/dist/helper-filters/helper-filters.esm.js +1 -1
  17. package/dist/helper-filters/{p-a4793f5e.entry.js → p-5e354aa8.entry.js} +1040 -273
  18. package/dist/helper-filters/p-e1255160.js +1 -0
  19. package/dist/helper-filters/p-f48a0fde.js +2 -0
  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/helper-filters/.stencil/packages/stencil/helper-filters/stencil.config.d.ts +2 -0
  23. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/helper-filters/.stencil/packages/stencil/helper-filters/stencil.config.dev.d.ts +2 -0
  24. package/dist/types/components/helper-filters/helper-filters.d.ts +63 -63
  25. package/dist/types/components/helper-filters/index.d.ts +1 -0
  26. package/dist/types/components.d.ts +20 -3
  27. package/dist/types/stencil-public-runtime.d.ts +142 -33
  28. package/loader/cdn.js +1 -3
  29. package/loader/index.cjs.js +1 -3
  30. package/loader/index.d.ts +13 -1
  31. package/loader/index.es2017.js +1 -3
  32. package/loader/index.js +1 -3
  33. package/loader/package.json +1 -0
  34. package/package.json +9 -2
  35. package/dist/cjs/index-4be1aa12.js +0 -1235
  36. package/dist/components/helper-filters.d.ts +0 -11
  37. package/dist/components/helper-filters.js +0 -23566
  38. package/dist/components/helper-modal.js +0 -6
  39. package/dist/components/helper-modal2.js +0 -93
  40. package/dist/components/index.d.ts +0 -26
  41. package/dist/components/index.js +0 -1
  42. package/dist/esm/index-5f4ed338.js +0 -1209
  43. package/dist/esm/polyfills/core-js.js +0 -11
  44. package/dist/esm/polyfills/css-shim.js +0 -1
  45. package/dist/esm/polyfills/dom.js +0 -79
  46. package/dist/esm/polyfills/es5-html-element.js +0 -1
  47. package/dist/esm/polyfills/index.js +0 -34
  48. package/dist/esm/polyfills/system.js +0 -6
  49. package/dist/helper-filters/p-6a46b66a.js +0 -1
  50. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-stencil/packages/helper-filters/.stencil/packages/helper-filters/stencil.config.d.ts +0 -2
@@ -1,402 +1,372 @@
1
- import { Component, h, State, Prop, Event, Listen } from '@stencil/core';
2
- import { translate } from '../../utils/locale.utils';
3
- import '@vaadin/date-picker';
4
- import '@everymatrix/helper-modal';
1
+ import { h } from "@stencil/core";
2
+ import { translate } from "../../utils/locale.utils";
3
+ import "@vaadin/date-picker";
4
+ import "../../../../../helper-modal/dist/types/index";
5
5
  export class HelperFilters {
6
- constructor() {
7
- /**
8
- * Check if show the filter option by id
9
- */
10
- this.showFilterId = true;
11
- /**
12
- * Choose if filter by draw ID or ticket ID. By default is draw ID.
13
- */
14
- this.activateTicketSearch = false;
15
- /**
16
- * Game ID
17
- */
18
- this.gameId = '';
19
- /**
20
- * Player ID
21
- */
22
- this.playerId = '';
23
- /**
24
- * Session ID
25
- */
26
- this.session = '';
27
- /**
28
- * Instead of customEvents the widget triggers postMessages
29
- */
30
- this.postMessage = false;
31
- /**
32
- * Language
33
- */
34
- this.language = 'en';
35
- /**
36
- * Notifies if the quick filters from tickets are active
37
- */
38
- this.quickFiltersActive = false;
39
- /**
40
- * Client custom styling via string
41
- */
42
- this.clientStyling = '';
43
- /**
44
- * Client custom styling via url content
45
- */
46
- this.clientStylingUrlContent = '';
47
- this.showFilterModal = false;
48
- this.showClearButton = false;
49
- this.filterData = {};
50
- this.filterDataReset = { ticketDrawId: '', filterFromCalendar: '', filterToCalendar: '' };
51
- this.limitStylingAppends = false;
52
- this.setClientStyling = () => {
53
- let sheet = document.createElement('style');
54
- sheet.innerHTML = this.clientStyling;
55
- this.stylingContainer.prepend(sheet);
56
- };
57
- this.setClientStylingURL = () => {
58
- let cssFile = document.createElement('style');
59
- setTimeout(() => {
60
- cssFile.innerHTML = this.clientStylingUrlContent;
61
- this.stylingContainer.prepend(cssFile);
62
- }, 1);
63
- };
64
- }
65
- // reset field values each time the filter modal opens
66
- componentDidRender() {
67
- // @TODO: to way binding?
68
- if (document.getElementById('#FilterById'))
69
- document.getElementById('#FilterById').value = '';
70
- // start custom styling area
71
- if (!this.limitStylingAppends && this.stylingContainer) {
72
- if (this.clientStyling)
73
- this.setClientStyling();
74
- if (this.clientStylingUrlContent)
75
- this.setClientStylingURL();
76
- this.limitStylingAppends = true;
6
+ constructor() {
7
+ this.setClientStyling = () => {
8
+ let sheet = document.createElement('style');
9
+ sheet.innerHTML = this.clientStyling;
10
+ this.stylingContainer.prepend(sheet);
11
+ };
12
+ this.setClientStylingURL = () => {
13
+ let cssFile = document.createElement('style');
14
+ setTimeout(() => {
15
+ cssFile.innerHTML = this.clientStylingUrlContent;
16
+ this.stylingContainer.prepend(cssFile);
17
+ }, 1);
18
+ };
19
+ this.showFilterId = true;
20
+ this.activateTicketSearch = false;
21
+ this.gameId = '';
22
+ this.playerId = '';
23
+ this.session = '';
24
+ this.postMessage = false;
25
+ this.language = 'en';
26
+ this.quickFiltersActive = false;
27
+ this.clientStyling = '';
28
+ this.clientStylingUrlContent = '';
29
+ this.showFilterModal = false;
30
+ this.showClearButton = false;
31
+ this.filterData = {};
32
+ this.filterDataReset = { ticketDrawId: '', filterFromCalendar: '', filterToCalendar: '' };
33
+ this.limitStylingAppends = false;
77
34
  }
78
- // end custom styling area
79
- }
80
- filterSelectionHandler(event) {
81
- if (this.postMessage)
82
- window.postMessage({ type: 'filterSelection', event }, window.location.href);
83
- if (this.filterData.ticketDrawId || this.filterData.filterFromCalendar || this.filterData.filterToCalendar)
84
- this.filterSelection.emit(event);
85
- }
86
- filterSelectionResetHandler(event) {
87
- if (this.postMessage)
88
- window.postMessage({ type: 'filterSelectionReset', event }, window.location.href);
89
- this.filterSelectionReset.emit(event);
90
- }
91
- modalCloseEvent() {
92
- this.showFilterModal = false;
93
- }
94
- // Toggle filter modal
95
- toggleFilterModal() {
96
- this.showFilterModal = true;
97
- }
98
- // Filter search
99
- filterSearch() {
100
- this.modalCloseEvent();
101
- this.showClearButton = true;
102
- this.filterSelectionHandler(this.filterData);
103
- console.log(this.showClearButton);
104
- }
105
- resetSearch() {
106
- this.showClearButton = false;
107
- this.filterSelectionResetHandler(this.filterDataReset);
108
- this.filterData = {};
109
- }
110
- handleTicketDrawId(event) {
111
- this.filterData.ticketDrawId = event.target.value;
112
- }
113
- handleFilterFrom(event) {
114
- this.filterData.filterFromCalendar = new Date(event.target.value).toISOString();
115
- }
116
- handleFilterTo(event) {
117
- this.filterData.filterToCalendar = new Date(event.target.value).toISOString();
118
- }
119
- render() {
120
- return (h("div", { class: "HelperFilters", ref: el => this.stylingContainer = el },
121
- h("div", { class: "FilterButtonsWrapper" },
122
- h("button", { class: "FilterOpen", onClick: () => this.toggleFilterModal() }, translate('filterOpen', this.language)),
123
- console.log('in filter Open', this.showClearButton, this.quickFiltersActive),
124
- (this.showClearButton || this.quickFiltersActive) ?
125
- h("button", { class: "FilterClear", onClick: () => this.resetSearch() }, translate('filterClear', this.language))
126
- :
127
- null),
128
- h("helper-modal", { "title-modal": "Filter Modal", visible: this.showFilterModal, "client-styling": this.clientStyling, "client-styling-url-content": this.clientStylingUrlContent },
129
- h("div", { class: "FilterModalHeader" },
130
- h("h3", { class: "FilterModalTitle" }, this.activateTicketSearch ? translate('filterModalTicketTitle', this.language) : translate('filterModalDrawTitle', this.language))),
131
- h("div", { class: "FilterModalBody" },
132
- h("input", { id: "FilterById", type: "text", value: this.filterData.ticketDrawId, onInput: (event) => this.handleTicketDrawId(event), class: "FilterModalSearch", placeholder: this.activateTicketSearch ? translate('filterTicketPlaceholder', this.language) : translate('filterDrawPlaceholder', this.language) }),
133
- h("p", null, translate('filterOrDate', this.language)),
134
- h("div", { class: "FilterCalendarWrapper" },
135
- h("vaadin-date-picker", { value: this.filterData.filterFromCalendar, onChange: (event) => this.handleFilterFrom(event), placeholder: translate('filterFromCalendar', this.language), class: "VaadinDatePicker" }),
136
- h("vaadin-date-picker", { value: this.filterData.filterToCalendar, onChange: (event) => this.handleFilterTo(event), placeholder: translate('filterToCalendar', this.language), class: "VaadinDatePicker" }))),
137
- h("div", { class: "FilterModalFooter" },
138
- h("button", { class: "FilterModalButton", onClick: () => this.filterSearch() }, translate('filterModalButton', this.language))))));
139
- }
140
- static get is() { return "helper-filters"; }
141
- static get encapsulation() { return "shadow"; }
142
- static get originalStyleUrls() { return {
143
- "$": ["helper-filters.scss"]
144
- }; }
145
- static get styleUrls() { return {
146
- "$": ["helper-filters.css"]
147
- }; }
148
- static get properties() { return {
149
- "showFilterId": {
150
- "type": "boolean",
151
- "mutable": false,
152
- "complexType": {
153
- "original": "boolean",
154
- "resolved": "boolean",
155
- "references": {}
156
- },
157
- "required": false,
158
- "optional": false,
159
- "docs": {
160
- "tags": [],
161
- "text": "Check if show the filter option by id"
162
- },
163
- "attribute": "show-filter-id",
164
- "reflect": true,
165
- "defaultValue": "true"
166
- },
167
- "activateTicketSearch": {
168
- "type": "boolean",
169
- "mutable": false,
170
- "complexType": {
171
- "original": "boolean",
172
- "resolved": "boolean",
173
- "references": {}
174
- },
175
- "required": false,
176
- "optional": false,
177
- "docs": {
178
- "tags": [],
179
- "text": "Choose if filter by draw ID or ticket ID. By default is draw ID."
180
- },
181
- "attribute": "activate-ticket-search",
182
- "reflect": true,
183
- "defaultValue": "false"
184
- },
185
- "gameId": {
186
- "type": "string",
187
- "mutable": false,
188
- "complexType": {
189
- "original": "string",
190
- "resolved": "string",
191
- "references": {}
192
- },
193
- "required": false,
194
- "optional": false,
195
- "docs": {
196
- "tags": [],
197
- "text": "Game ID"
198
- },
199
- "attribute": "game-id",
200
- "reflect": true,
201
- "defaultValue": "''"
202
- },
203
- "playerId": {
204
- "type": "string",
205
- "mutable": false,
206
- "complexType": {
207
- "original": "string",
208
- "resolved": "string",
209
- "references": {}
210
- },
211
- "required": false,
212
- "optional": false,
213
- "docs": {
214
- "tags": [],
215
- "text": "Player ID"
216
- },
217
- "attribute": "player-id",
218
- "reflect": true,
219
- "defaultValue": "''"
220
- },
221
- "session": {
222
- "type": "string",
223
- "mutable": false,
224
- "complexType": {
225
- "original": "string",
226
- "resolved": "string",
227
- "references": {}
228
- },
229
- "required": false,
230
- "optional": false,
231
- "docs": {
232
- "tags": [],
233
- "text": "Session ID"
234
- },
235
- "attribute": "session",
236
- "reflect": true,
237
- "defaultValue": "''"
238
- },
239
- "postMessage": {
240
- "type": "boolean",
241
- "mutable": false,
242
- "complexType": {
243
- "original": "boolean",
244
- "resolved": "boolean",
245
- "references": {}
246
- },
247
- "required": false,
248
- "optional": false,
249
- "docs": {
250
- "tags": [],
251
- "text": "Instead of customEvents the widget triggers postMessages"
252
- },
253
- "attribute": "post-message",
254
- "reflect": true,
255
- "defaultValue": "false"
256
- },
257
- "language": {
258
- "type": "string",
259
- "mutable": false,
260
- "complexType": {
261
- "original": "string",
262
- "resolved": "string",
263
- "references": {}
264
- },
265
- "required": false,
266
- "optional": false,
267
- "docs": {
268
- "tags": [],
269
- "text": "Language"
270
- },
271
- "attribute": "language",
272
- "reflect": true,
273
- "defaultValue": "'en'"
274
- },
275
- "quickFiltersActive": {
276
- "type": "boolean",
277
- "mutable": false,
278
- "complexType": {
279
- "original": "boolean",
280
- "resolved": "boolean",
281
- "references": {}
282
- },
283
- "required": false,
284
- "optional": false,
285
- "docs": {
286
- "tags": [],
287
- "text": "Notifies if the quick filters from tickets are active"
288
- },
289
- "attribute": "quick-filters-active",
290
- "reflect": true,
291
- "defaultValue": "false"
292
- },
293
- "clientStyling": {
294
- "type": "string",
295
- "mutable": false,
296
- "complexType": {
297
- "original": "string",
298
- "resolved": "string",
299
- "references": {}
300
- },
301
- "required": false,
302
- "optional": false,
303
- "docs": {
304
- "tags": [],
305
- "text": "Client custom styling via string"
306
- },
307
- "attribute": "client-styling",
308
- "reflect": true,
309
- "defaultValue": "''"
310
- },
311
- "clientStylingUrlContent": {
312
- "type": "string",
313
- "mutable": false,
314
- "complexType": {
315
- "original": "string",
316
- "resolved": "string",
317
- "references": {}
318
- },
319
- "required": false,
320
- "optional": false,
321
- "docs": {
322
- "tags": [],
323
- "text": "Client custom styling via url content"
324
- },
325
- "attribute": "client-styling-url-content",
326
- "reflect": true,
327
- "defaultValue": "''"
328
- }
329
- }; }
330
- static get states() { return {
331
- "showFilterModal": {},
332
- "showClearButton": {},
333
- "filterData": {},
334
- "filterDataReset": {},
335
- "limitStylingAppends": {}
336
- }; }
337
- static get events() { return [{
338
- "method": "filterDraw",
339
- "name": "filterDraw",
340
- "bubbles": true,
341
- "cancelable": true,
342
- "composed": true,
343
- "docs": {
344
- "tags": [],
345
- "text": ""
346
- },
347
- "complexType": {
348
- "original": "HelperFilters",
349
- "resolved": "HelperFilters",
350
- "references": {
351
- "HelperFilters": {
352
- "location": "global"
353
- }
354
- }
355
- }
356
- }, {
357
- "method": "filterSelection",
358
- "name": "filterSelection",
359
- "bubbles": true,
360
- "cancelable": true,
361
- "composed": true,
362
- "docs": {
363
- "tags": [],
364
- "text": ""
365
- },
366
- "complexType": {
367
- "original": "HelperFilters",
368
- "resolved": "HelperFilters",
369
- "references": {
370
- "HelperFilters": {
371
- "location": "global"
372
- }
373
- }
374
- }
375
- }, {
376
- "method": "filterSelectionReset",
377
- "name": "filterSelectionReset",
378
- "bubbles": true,
379
- "cancelable": true,
380
- "composed": true,
381
- "docs": {
382
- "tags": [],
383
- "text": ""
384
- },
385
- "complexType": {
386
- "original": "HelperFilters",
387
- "resolved": "HelperFilters",
388
- "references": {
389
- "HelperFilters": {
390
- "location": "global"
391
- }
35
+ // reset field values each time the filter modal opens
36
+ componentDidRender() {
37
+ // @TODO: to way binding?
38
+ if (document.getElementById('#FilterById'))
39
+ document.getElementById('#FilterById').value = '';
40
+ // start custom styling area
41
+ if (!this.limitStylingAppends && this.stylingContainer) {
42
+ if (this.clientStyling)
43
+ this.setClientStyling();
44
+ if (this.clientStylingUrlContent)
45
+ this.setClientStylingURL();
46
+ this.limitStylingAppends = true;
392
47
  }
393
- }
394
- }]; }
395
- static get listeners() { return [{
396
- "name": "modalCloseEvent",
397
- "method": "modalCloseEvent",
398
- "target": undefined,
399
- "capture": false,
400
- "passive": false
401
- }]; }
48
+ // end custom styling area
49
+ }
50
+ filterSelectionHandler(event) {
51
+ if (this.postMessage)
52
+ window.postMessage({ type: 'filterSelection', event }, window.location.href);
53
+ if (this.filterData.ticketDrawId || this.filterData.filterFromCalendar || this.filterData.filterToCalendar)
54
+ this.filterSelection.emit(event);
55
+ }
56
+ filterSelectionResetHandler(event) {
57
+ if (this.postMessage)
58
+ window.postMessage({ type: 'filterSelectionReset', event }, window.location.href);
59
+ this.filterSelectionReset.emit(event);
60
+ }
61
+ modalCloseEvent() {
62
+ this.showFilterModal = false;
63
+ }
64
+ // Toggle filter modal
65
+ toggleFilterModal() {
66
+ this.showFilterModal = true;
67
+ }
68
+ // Filter search
69
+ filterSearch() {
70
+ this.modalCloseEvent();
71
+ this.showClearButton = true;
72
+ this.filterSelectionHandler(this.filterData);
73
+ console.log(this.showClearButton);
74
+ }
75
+ resetSearch() {
76
+ this.showClearButton = false;
77
+ this.filterSelectionResetHandler(this.filterDataReset);
78
+ this.filterData = {};
79
+ }
80
+ handleTicketDrawId(event) {
81
+ this.filterData.ticketDrawId = event.target.value;
82
+ }
83
+ handleFilterFrom(event) {
84
+ this.filterData.filterFromCalendar = new Date(event.target.value).toISOString();
85
+ }
86
+ handleFilterTo(event) {
87
+ this.filterData.filterToCalendar = new Date(event.target.value).toISOString();
88
+ }
89
+ render() {
90
+ return (h("div", { key: 'd74774bd58fa3df6b0038fd979fb4aec4262d43d', class: "HelperFilters", ref: el => this.stylingContainer = el }, h("div", { key: '0827128924ba350888ae81e67e0306e536b15047', class: "FilterButtonsWrapper" }, h("button", { key: '73ae5aff5896195cd895410caf44dccfa1ac5cfc', class: "FilterOpen", onClick: () => this.toggleFilterModal() }, translate('filterOpen', this.language)), console.log('in filter Open', this.showClearButton, this.quickFiltersActive), (this.showClearButton || this.quickFiltersActive) ?
91
+ h("button", { class: "FilterClear", onClick: () => this.resetSearch() }, translate('filterClear', this.language))
92
+ :
93
+ null), h("helper-modal", { key: 'add83df2714fdb69e8dfa7a0f5d1eb0d526fc2b4', "title-modal": "Filter Modal", visible: this.showFilterModal, "client-styling": this.clientStyling, "client-styling-url-content": this.clientStylingUrlContent }, h("div", { key: '861b04161876b557184fe49c514867788147e4b9', class: "FilterModalHeader" }, h("h3", { key: '7471430912f301ff995c401b08298d9006816216', class: "FilterModalTitle" }, this.activateTicketSearch ? translate('filterModalTicketTitle', this.language) : translate('filterModalDrawTitle', this.language))), h("div", { key: 'af6bd8e253f332c8724e1bb40100ba5e1e59838f', class: "FilterModalBody" }, h("input", { key: '9edc7e14b801d40d4861625264f82b2fa213a770', id: "FilterById", type: "text", value: this.filterData.ticketDrawId, onInput: (event) => this.handleTicketDrawId(event), class: "FilterModalSearch", placeholder: this.activateTicketSearch ? translate('filterTicketPlaceholder', this.language) : translate('filterDrawPlaceholder', this.language) }), h("p", { key: '9665b359f9d6da19f120eb9bb315c4b144c80ced' }, translate('filterOrDate', this.language)), h("div", { key: 'd155c7d73a719aaedc581f51aa97cf21ec3125df', class: "FilterCalendarWrapper" }, h("vaadin-date-picker", { key: '586fb38bc5c718a4afa06ebec96bec0fd46949eb', value: this.filterData.filterFromCalendar, onChange: (event) => this.handleFilterFrom(event), placeholder: translate('filterFromCalendar', this.language), class: "VaadinDatePicker" }), h("vaadin-date-picker", { key: '42e8965b2c740c19c53687c114faf6aa22f11de8', value: this.filterData.filterToCalendar, onChange: (event) => this.handleFilterTo(event), placeholder: translate('filterToCalendar', this.language), class: "VaadinDatePicker" }))), h("div", { key: '7529eef1b25d130d183a55e45862418444054d3c', class: "FilterModalFooter" }, h("button", { key: '7dac7dc7b01c1c66dde7c6670a352f597b3f75fc', class: "FilterModalButton", onClick: () => this.filterSearch() }, translate('filterModalButton', this.language))))));
94
+ }
95
+ static get is() { return "helper-filters"; }
96
+ static get encapsulation() { return "shadow"; }
97
+ static get originalStyleUrls() {
98
+ return {
99
+ "$": ["helper-filters.scss"]
100
+ };
101
+ }
102
+ static get styleUrls() {
103
+ return {
104
+ "$": ["helper-filters.css"]
105
+ };
106
+ }
107
+ static get properties() {
108
+ return {
109
+ "showFilterId": {
110
+ "type": "boolean",
111
+ "mutable": false,
112
+ "complexType": {
113
+ "original": "boolean",
114
+ "resolved": "boolean",
115
+ "references": {}
116
+ },
117
+ "required": false,
118
+ "optional": false,
119
+ "docs": {
120
+ "tags": [],
121
+ "text": "Check if show the filter option by id"
122
+ },
123
+ "attribute": "show-filter-id",
124
+ "reflect": true,
125
+ "defaultValue": "true"
126
+ },
127
+ "activateTicketSearch": {
128
+ "type": "boolean",
129
+ "mutable": false,
130
+ "complexType": {
131
+ "original": "boolean",
132
+ "resolved": "boolean",
133
+ "references": {}
134
+ },
135
+ "required": false,
136
+ "optional": false,
137
+ "docs": {
138
+ "tags": [],
139
+ "text": "Choose if filter by draw ID or ticket ID. By default is draw ID."
140
+ },
141
+ "attribute": "activate-ticket-search",
142
+ "reflect": true,
143
+ "defaultValue": "false"
144
+ },
145
+ "gameId": {
146
+ "type": "string",
147
+ "mutable": false,
148
+ "complexType": {
149
+ "original": "string",
150
+ "resolved": "string",
151
+ "references": {}
152
+ },
153
+ "required": false,
154
+ "optional": false,
155
+ "docs": {
156
+ "tags": [],
157
+ "text": "Game ID"
158
+ },
159
+ "attribute": "game-id",
160
+ "reflect": true,
161
+ "defaultValue": "''"
162
+ },
163
+ "playerId": {
164
+ "type": "string",
165
+ "mutable": false,
166
+ "complexType": {
167
+ "original": "string",
168
+ "resolved": "string",
169
+ "references": {}
170
+ },
171
+ "required": false,
172
+ "optional": false,
173
+ "docs": {
174
+ "tags": [],
175
+ "text": "Player ID"
176
+ },
177
+ "attribute": "player-id",
178
+ "reflect": true,
179
+ "defaultValue": "''"
180
+ },
181
+ "session": {
182
+ "type": "string",
183
+ "mutable": false,
184
+ "complexType": {
185
+ "original": "string",
186
+ "resolved": "string",
187
+ "references": {}
188
+ },
189
+ "required": false,
190
+ "optional": false,
191
+ "docs": {
192
+ "tags": [],
193
+ "text": "Session ID"
194
+ },
195
+ "attribute": "session",
196
+ "reflect": true,
197
+ "defaultValue": "''"
198
+ },
199
+ "postMessage": {
200
+ "type": "boolean",
201
+ "mutable": false,
202
+ "complexType": {
203
+ "original": "boolean",
204
+ "resolved": "boolean",
205
+ "references": {}
206
+ },
207
+ "required": false,
208
+ "optional": false,
209
+ "docs": {
210
+ "tags": [],
211
+ "text": "Instead of customEvents the widget triggers postMessages"
212
+ },
213
+ "attribute": "post-message",
214
+ "reflect": true,
215
+ "defaultValue": "false"
216
+ },
217
+ "language": {
218
+ "type": "string",
219
+ "mutable": false,
220
+ "complexType": {
221
+ "original": "string",
222
+ "resolved": "string",
223
+ "references": {}
224
+ },
225
+ "required": false,
226
+ "optional": false,
227
+ "docs": {
228
+ "tags": [],
229
+ "text": "Language"
230
+ },
231
+ "attribute": "language",
232
+ "reflect": true,
233
+ "defaultValue": "'en'"
234
+ },
235
+ "quickFiltersActive": {
236
+ "type": "boolean",
237
+ "mutable": false,
238
+ "complexType": {
239
+ "original": "boolean",
240
+ "resolved": "boolean",
241
+ "references": {}
242
+ },
243
+ "required": false,
244
+ "optional": false,
245
+ "docs": {
246
+ "tags": [],
247
+ "text": "Notifies if the quick filters from tickets are active"
248
+ },
249
+ "attribute": "quick-filters-active",
250
+ "reflect": true,
251
+ "defaultValue": "false"
252
+ },
253
+ "clientStyling": {
254
+ "type": "string",
255
+ "mutable": false,
256
+ "complexType": {
257
+ "original": "string",
258
+ "resolved": "string",
259
+ "references": {}
260
+ },
261
+ "required": false,
262
+ "optional": false,
263
+ "docs": {
264
+ "tags": [],
265
+ "text": "Client custom styling via string"
266
+ },
267
+ "attribute": "client-styling",
268
+ "reflect": true,
269
+ "defaultValue": "''"
270
+ },
271
+ "clientStylingUrlContent": {
272
+ "type": "string",
273
+ "mutable": false,
274
+ "complexType": {
275
+ "original": "string",
276
+ "resolved": "string",
277
+ "references": {}
278
+ },
279
+ "required": false,
280
+ "optional": false,
281
+ "docs": {
282
+ "tags": [],
283
+ "text": "Client custom styling via url content"
284
+ },
285
+ "attribute": "client-styling-url-content",
286
+ "reflect": true,
287
+ "defaultValue": "''"
288
+ }
289
+ };
290
+ }
291
+ static get states() {
292
+ return {
293
+ "showFilterModal": {},
294
+ "showClearButton": {},
295
+ "filterData": {},
296
+ "filterDataReset": {},
297
+ "limitStylingAppends": {}
298
+ };
299
+ }
300
+ static get events() {
301
+ return [{
302
+ "method": "filterDraw",
303
+ "name": "filterDraw",
304
+ "bubbles": true,
305
+ "cancelable": true,
306
+ "composed": true,
307
+ "docs": {
308
+ "tags": [],
309
+ "text": ""
310
+ },
311
+ "complexType": {
312
+ "original": "HelperFilters",
313
+ "resolved": "HelperFilters",
314
+ "references": {
315
+ "HelperFilters": {
316
+ "location": "global",
317
+ "id": "global::HelperFilters"
318
+ }
319
+ }
320
+ }
321
+ }, {
322
+ "method": "filterSelection",
323
+ "name": "filterSelection",
324
+ "bubbles": true,
325
+ "cancelable": true,
326
+ "composed": true,
327
+ "docs": {
328
+ "tags": [],
329
+ "text": ""
330
+ },
331
+ "complexType": {
332
+ "original": "HelperFilters",
333
+ "resolved": "HelperFilters",
334
+ "references": {
335
+ "HelperFilters": {
336
+ "location": "global",
337
+ "id": "global::HelperFilters"
338
+ }
339
+ }
340
+ }
341
+ }, {
342
+ "method": "filterSelectionReset",
343
+ "name": "filterSelectionReset",
344
+ "bubbles": true,
345
+ "cancelable": true,
346
+ "composed": true,
347
+ "docs": {
348
+ "tags": [],
349
+ "text": ""
350
+ },
351
+ "complexType": {
352
+ "original": "HelperFilters",
353
+ "resolved": "HelperFilters",
354
+ "references": {
355
+ "HelperFilters": {
356
+ "location": "global",
357
+ "id": "global::HelperFilters"
358
+ }
359
+ }
360
+ }
361
+ }];
362
+ }
363
+ static get listeners() {
364
+ return [{
365
+ "name": "modalCloseEvent",
366
+ "method": "modalCloseEvent",
367
+ "target": undefined,
368
+ "capture": false,
369
+ "passive": false
370
+ }];
371
+ }
402
372
  }