@everymatrix/helper-filters 1.56.0 → 1.56.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 (24) hide show
  1. package/dist/cjs/helper-filters.cjs.js +2 -2
  2. package/dist/cjs/helper-filters_2.cjs.entry.js +192 -316
  3. package/dist/cjs/{index-f886624e.js → index-71fae404.js} +68 -203
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/collection/collection-manifest.json +2 -2
  6. package/dist/collection/components/helper-filters/helper-filters.js +16 -67
  7. package/dist/esm/helper-filters.js +3 -3
  8. package/dist/esm/helper-filters_2.entry.js +192 -316
  9. package/dist/esm/{index-db278f52.js → index-0fad714f.js} +68 -203
  10. package/dist/esm/loader.js +2 -2
  11. package/dist/helper-filters/helper-filters.esm.js +1 -1
  12. package/dist/helper-filters/{p-a7e051df.entry.js → p-185df28e.entry.js} +143 -145
  13. package/dist/helper-filters/p-a730a9fa.js +2 -0
  14. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/helper-filters/.stencil/packages/stencil/helper-filters/stencil.config.d.ts +2 -0
  15. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/helper-filters/.stencil/packages/stencil/helper-filters/stencil.config.dev.d.ts +2 -0
  16. package/dist/types/stencil-public-runtime.d.ts +0 -6
  17. package/package.json +1 -1
  18. package/dist/helper-filters/p-01cd08da.js +0 -2
  19. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/helper-filters/.stencil/packages/stencil/helper-filters/stencil.config.d.ts +0 -2
  20. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/helper-filters/.stencil/packages/stencil/helper-filters/stencil.config.dev.d.ts +0 -2
  21. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/helper-filters/.stencil/tools/plugins/index.d.ts +0 -0
  22. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/helper-filters/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  23. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/helper-filters/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  24. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/helper-filters/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -4,51 +4,6 @@ import "@vaadin/date-picker";
4
4
  import "../../../../../helper-modal/dist/types/index";
5
5
  export class HelperFilters {
6
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
7
  this.handleTicketDrawId = (event) => {
53
8
  const inputElement = event.target;
54
9
  this.filterData.ticketDrawId = inputElement.value;
@@ -75,6 +30,22 @@ export class HelperFilters {
75
30
  this.stylingContainer.prepend(cssFile);
76
31
  }, 1);
77
32
  };
33
+ this.showFilterId = true;
34
+ this.activateTicketSearch = false;
35
+ this.gameId = '';
36
+ this.playerId = '';
37
+ this.session = '';
38
+ this.postMessage = false;
39
+ this.language = 'en';
40
+ this.quickFiltersActive = false;
41
+ this.clientStyling = '';
42
+ this.clientStylingUrlContent = '';
43
+ this.translationUrl = undefined;
44
+ this.showFilterModal = false;
45
+ this.showClearButton = false;
46
+ this.filterData = {};
47
+ this.filterDataReset = { ticketDrawId: '', filterFromCalendar: '', filterToCalendar: '' };
48
+ this.limitStylingAppends = false;
78
49
  }
79
50
  componentWillLoad() {
80
51
  if (this.translationUrl) {
@@ -159,8 +130,6 @@ export class HelperFilters {
159
130
  "tags": [],
160
131
  "text": "Check if show the filter option by id"
161
132
  },
162
- "getter": false,
163
- "setter": false,
164
133
  "attribute": "show-filter-id",
165
134
  "reflect": true,
166
135
  "defaultValue": "true"
@@ -179,8 +148,6 @@ export class HelperFilters {
179
148
  "tags": [],
180
149
  "text": "Choose if filter by draw ID or ticket ID. By default is draw ID."
181
150
  },
182
- "getter": false,
183
- "setter": false,
184
151
  "attribute": "activate-ticket-search",
185
152
  "reflect": true,
186
153
  "defaultValue": "false"
@@ -199,8 +166,6 @@ export class HelperFilters {
199
166
  "tags": [],
200
167
  "text": "Game ID"
201
168
  },
202
- "getter": false,
203
- "setter": false,
204
169
  "attribute": "game-id",
205
170
  "reflect": true,
206
171
  "defaultValue": "''"
@@ -219,8 +184,6 @@ export class HelperFilters {
219
184
  "tags": [],
220
185
  "text": "Player ID"
221
186
  },
222
- "getter": false,
223
- "setter": false,
224
187
  "attribute": "player-id",
225
188
  "reflect": true,
226
189
  "defaultValue": "''"
@@ -239,8 +202,6 @@ export class HelperFilters {
239
202
  "tags": [],
240
203
  "text": "Session ID"
241
204
  },
242
- "getter": false,
243
- "setter": false,
244
205
  "attribute": "session",
245
206
  "reflect": true,
246
207
  "defaultValue": "''"
@@ -259,8 +220,6 @@ export class HelperFilters {
259
220
  "tags": [],
260
221
  "text": "Instead of customEvents the widget triggers postMessages"
261
222
  },
262
- "getter": false,
263
- "setter": false,
264
223
  "attribute": "post-message",
265
224
  "reflect": true,
266
225
  "defaultValue": "false"
@@ -279,8 +238,6 @@ export class HelperFilters {
279
238
  "tags": [],
280
239
  "text": "Language"
281
240
  },
282
- "getter": false,
283
- "setter": false,
284
241
  "attribute": "language",
285
242
  "reflect": true,
286
243
  "defaultValue": "'en'"
@@ -299,8 +256,6 @@ export class HelperFilters {
299
256
  "tags": [],
300
257
  "text": "Notifies if the quick filters from tickets are active"
301
258
  },
302
- "getter": false,
303
- "setter": false,
304
259
  "attribute": "quick-filters-active",
305
260
  "reflect": true,
306
261
  "defaultValue": "false"
@@ -319,8 +274,6 @@ export class HelperFilters {
319
274
  "tags": [],
320
275
  "text": "Client custom styling via string"
321
276
  },
322
- "getter": false,
323
- "setter": false,
324
277
  "attribute": "client-styling",
325
278
  "reflect": true,
326
279
  "defaultValue": "''"
@@ -339,8 +292,6 @@ export class HelperFilters {
339
292
  "tags": [],
340
293
  "text": "Client custom styling via url content"
341
294
  },
342
- "getter": false,
343
- "setter": false,
344
295
  "attribute": "client-styling-url-content",
345
296
  "reflect": true,
346
297
  "defaultValue": "''"
@@ -359,8 +310,6 @@ export class HelperFilters {
359
310
  "tags": [],
360
311
  "text": "Translations via parent component"
361
312
  },
362
- "getter": false,
363
- "setter": false,
364
313
  "attribute": "translation-url",
365
314
  "reflect": true
366
315
  }
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-db278f52.js';
2
- export { s as setNonce } from './index-db278f52.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-0fad714f.js';
2
+ export { s as setNonce } from './index-0fad714f.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.26.0 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  var patchBrowser = () => {
9
9
  const importMeta = import.meta.url;