@everymatrix/helper-filters 1.56.0 → 1.56.3

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
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h as h$2 } from './index-db278f52.js';
1
+ import { r as registerInstance, c as createEvent, h as h$2 } from './index-0fad714f.js';
2
2
 
3
3
  const DEFAULT_LANGUAGE = 'en';
4
4
  const SUPPORTED_LANGUAGES = ['ro', 'en', 'hr'];
@@ -80,55 +80,13 @@ const getTranslations = (data) => {
80
80
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
81
81
  */
82
82
 
83
- window.Vaadin ||= {};
84
- window.Vaadin.featureFlags ||= {};
85
-
86
- function dashToCamelCase$1(dash) {
87
- return dash.replace(/-[a-z]/gu, (m) => m[1].toUpperCase());
88
- }
89
-
90
- const experimentalMap = {};
91
-
92
- function defineCustomElement(CustomElement, version = '24.6.5') {
83
+ function defineCustomElement(CustomElement, version = '24.5.10') {
93
84
  Object.defineProperty(CustomElement, 'version', {
94
85
  get() {
95
86
  return version;
96
87
  },
97
88
  });
98
89
 
99
- if (CustomElement.experimental) {
100
- const featureFlagKey =
101
- typeof CustomElement.experimental === 'string'
102
- ? CustomElement.experimental
103
- : `${dashToCamelCase$1(CustomElement.is.split('-').slice(1).join('-'))}Component`;
104
-
105
- if (!window.Vaadin.featureFlags[featureFlagKey] && !experimentalMap[featureFlagKey]) {
106
- // Add setter to define experimental component when it's set to true
107
- experimentalMap[featureFlagKey] = new Set();
108
- experimentalMap[featureFlagKey].add(CustomElement);
109
-
110
- Object.defineProperty(window.Vaadin.featureFlags, featureFlagKey, {
111
- get() {
112
- return experimentalMap[featureFlagKey].size === 0;
113
- },
114
- set(value) {
115
- if (!!value && experimentalMap[featureFlagKey].size > 0) {
116
- experimentalMap[featureFlagKey].forEach((elementClass) => {
117
- customElements.define(elementClass.is, elementClass);
118
- });
119
- experimentalMap[featureFlagKey].clear();
120
- }
121
- },
122
- });
123
-
124
- return;
125
- } else if (experimentalMap[featureFlagKey]) {
126
- // Allow to register multiple components with single flag
127
- experimentalMap[featureFlagKey].add(CustomElement);
128
- return;
129
- }
130
- }
131
-
132
90
  const defined = customElements.get(CustomElement.is);
133
91
  if (!defined) {
134
92
  customElements.define(CustomElement.is, CustomElement);
@@ -2212,7 +2170,7 @@ registerStyles(
2212
2170
  const fontIcons = i$3`
2213
2171
  @font-face {
2214
2172
  font-family: 'lumo-icons';
2215
- src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABHAAAsAAAAAI6AAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuNY21hcAAAAYgAAAD+AAADymne8hxnbHlmAAACiAAAC+gAABioIzlOlWhlYWQAAA5wAAAAMAAAADZa/6SsaGhlYQAADqAAAAAdAAAAJAbpA4BobXR4AAAOwAAAABAAAAC0q+AAAGxvY2EAAA7QAAAAXAAAAFyF7o1GbWF4cAAADywAAAAfAAAAIAFMAXBuYW1lAAAPTAAAATEAAAIuUUJZCHBvc3QAABCAAAABPQAAAgfdkltveJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+xDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mEO+p/FEMUcxDANKMwIkgMABvgMMAB4nO3SV26EMABF0UsZpjG9d6Y3FpgF5StLYxMTP16WEUvHV1gGIQzQAJKgDFKIfojQ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FU5u9WpjzfeV5PBIBMfp7aAwQ4FLPrIkbKWqDHn+67pDRK4s4lzbsEux5qHvcIIMb/nueSMyTKkE3jWFdNLHLjW2PPmMa1Hxn3GjGW/wjT0HtOG09JU4WxLk9LH2ISuiv9twJn9y8fh9uIXI+BknAAAAHicbY7ZboMwEEW5CVBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
2216
2174
  format('woff');
2217
2175
  font-weight: normal;
2218
2176
  font-style: normal;
@@ -2242,27 +2200,25 @@ const fontIcons = i$3`
2242
2200
  --lumo-icons-cog: '\\ea15';
2243
2201
  --lumo-icons-cross: '\\ea16';
2244
2202
  --lumo-icons-download: '\\ea17';
2245
- --lumo-icons-drag-handle: '\\ea18';
2246
- --lumo-icons-dropdown: '\\ea19';
2247
- --lumo-icons-edit: '\\ea1a';
2248
- --lumo-icons-error: '\\ea1b';
2249
- --lumo-icons-eye: '\\ea1c';
2250
- --lumo-icons-eye-disabled: '\\ea1d';
2251
- --lumo-icons-menu: '\\ea1e';
2252
- --lumo-icons-minus: '\\ea1f';
2253
- --lumo-icons-ordered-list: '\\ea20';
2254
- --lumo-icons-phone: '\\ea21';
2255
- --lumo-icons-photo: '\\ea22';
2256
- --lumo-icons-play: '\\ea23';
2257
- --lumo-icons-plus: '\\ea24';
2258
- --lumo-icons-redo: '\\ea25';
2259
- --lumo-icons-reload: '\\ea26';
2260
- --lumo-icons-resize-handle: '\\ea27';
2261
- --lumo-icons-search: '\\ea28';
2262
- --lumo-icons-undo: '\\ea29';
2263
- --lumo-icons-unordered-list: '\\ea2a';
2264
- --lumo-icons-upload: '\\ea2b';
2265
- --lumo-icons-user: '\\ea2c';
2203
+ --lumo-icons-dropdown: '\\ea18';
2204
+ --lumo-icons-edit: '\\ea19';
2205
+ --lumo-icons-error: '\\ea1a';
2206
+ --lumo-icons-eye: '\\ea1b';
2207
+ --lumo-icons-eye-disabled: '\\ea1c';
2208
+ --lumo-icons-menu: '\\ea1d';
2209
+ --lumo-icons-minus: '\\ea1e';
2210
+ --lumo-icons-ordered-list: '\\ea1f';
2211
+ --lumo-icons-phone: '\\ea20';
2212
+ --lumo-icons-photo: '\\ea21';
2213
+ --lumo-icons-play: '\\ea22';
2214
+ --lumo-icons-plus: '\\ea23';
2215
+ --lumo-icons-redo: '\\ea24';
2216
+ --lumo-icons-reload: '\\ea25';
2217
+ --lumo-icons-search: '\\ea26';
2218
+ --lumo-icons-undo: '\\ea27';
2219
+ --lumo-icons-unordered-list: '\\ea28';
2220
+ --lumo-icons-upload: '\\ea29';
2221
+ --lumo-icons-user: '\\ea2a';
2266
2222
  }
2267
2223
  `;
2268
2224
 
@@ -11261,7 +11217,6 @@ const OverlayMixin = (superClass) =>
11261
11217
  notify: true,
11262
11218
  observer: '_openedChanged',
11263
11219
  reflectToAttribute: true,
11264
- sync: true,
11265
11220
  },
11266
11221
 
11267
11222
  /**
@@ -11270,7 +11225,6 @@ const OverlayMixin = (superClass) =>
11270
11225
  */
11271
11226
  owner: {
11272
11227
  type: Object,
11273
- sync: true,
11274
11228
  },
11275
11229
 
11276
11230
  /**
@@ -11278,7 +11232,6 @@ const OverlayMixin = (superClass) =>
11278
11232
  */
11279
11233
  model: {
11280
11234
  type: Object,
11281
- sync: true,
11282
11235
  },
11283
11236
 
11284
11237
  /**
@@ -11292,7 +11245,6 @@ const OverlayMixin = (superClass) =>
11292
11245
  */
11293
11246
  renderer: {
11294
11247
  type: Object,
11295
- sync: true,
11296
11248
  },
11297
11249
 
11298
11250
  /**
@@ -11305,7 +11257,6 @@ const OverlayMixin = (superClass) =>
11305
11257
  value: false,
11306
11258
  reflectToAttribute: true,
11307
11259
  observer: '_modelessChanged',
11308
- sync: true,
11309
11260
  },
11310
11261
 
11311
11262
  /**
@@ -11317,7 +11268,6 @@ const OverlayMixin = (superClass) =>
11317
11268
  type: Boolean,
11318
11269
  reflectToAttribute: true,
11319
11270
  observer: '_hiddenChanged',
11320
- sync: true,
11321
11271
  },
11322
11272
 
11323
11273
  /**
@@ -11328,7 +11278,6 @@ const OverlayMixin = (superClass) =>
11328
11278
  type: Boolean,
11329
11279
  value: false,
11330
11280
  reflectToAttribute: true,
11331
- sync: true,
11332
11281
  },
11333
11282
  };
11334
11283
  }
@@ -14927,7 +14876,6 @@ const DisabledMixin = dedupingMixin(
14927
14876
  value: false,
14928
14877
  observer: '_disabledChanged',
14929
14878
  reflectToAttribute: true,
14930
- sync: true,
14931
14879
  },
14932
14880
  };
14933
14881
  }
@@ -16084,21 +16032,6 @@ class InfiniteScroller extends HTMLElement {
16084
16032
  }
16085
16033
  }
16086
16034
 
16087
- /** @protected */
16088
- disconnectedCallback() {
16089
- if (this._debouncerScrollFinish) {
16090
- this._debouncerScrollFinish.cancel();
16091
- }
16092
-
16093
- if (this._debouncerUpdateClones) {
16094
- this._debouncerUpdateClones.cancel();
16095
- }
16096
-
16097
- if (this.__pendingFinishInit) {
16098
- cancelAnimationFrame(this.__pendingFinishInit);
16099
- }
16100
- }
16101
-
16102
16035
  /**
16103
16036
  * Force the scroller to update clones after a reset, without
16104
16037
  * waiting for the debouncer to resolve.
@@ -16246,9 +16179,8 @@ class InfiniteScroller extends HTMLElement {
16246
16179
  }
16247
16180
  });
16248
16181
 
16249
- this.__pendingFinishInit = requestAnimationFrame(() => {
16182
+ requestAnimationFrame(() => {
16250
16183
  this._finishInit();
16251
- this.__pendingFinishInit = null;
16252
16184
  });
16253
16185
  }
16254
16186
 
@@ -16263,10 +16195,6 @@ class InfiniteScroller extends HTMLElement {
16263
16195
  itemWrapper.instance = this._createElement();
16264
16196
  itemWrapper.appendChild(itemWrapper.instance);
16265
16197
 
16266
- if (itemWrapper.instance.performUpdate) {
16267
- itemWrapper.instance.performUpdate();
16268
- }
16269
-
16270
16198
  Object.keys(tmpInstance).forEach((prop) => {
16271
16199
  itemWrapper.instance[prop] = tmpInstance[prop];
16272
16200
  });
@@ -18284,10 +18212,6 @@ const MonthCalendarMixin = (superClass) =>
18284
18212
  value: () => false,
18285
18213
  },
18286
18214
 
18287
- enteredDate: {
18288
- type: Date,
18289
- },
18290
-
18291
18215
  disabled: {
18292
18216
  type: Boolean,
18293
18217
  reflectToAttribute: true,
@@ -18307,11 +18231,6 @@ const MonthCalendarMixin = (superClass) =>
18307
18231
  _notTapping: {
18308
18232
  type: Boolean,
18309
18233
  },
18310
-
18311
- /** @private */
18312
- __hasFocus: {
18313
- type: Boolean,
18314
- },
18315
18234
  };
18316
18235
  }
18317
18236
 
@@ -18331,12 +18250,6 @@ const MonthCalendarMixin = (superClass) =>
18331
18250
  addListener(this.$.monthGrid, 'tap', this._handleTap.bind(this));
18332
18251
  }
18333
18252
 
18334
- /** @override */
18335
- _setFocused(focused) {
18336
- super._setFocused(focused);
18337
- this.__hasFocus = focused;
18338
- }
18339
-
18340
18253
  /**
18341
18254
  * Returns true if all the dates in the month are out of the allowed range
18342
18255
  * @protected
@@ -18632,7 +18545,7 @@ class MonthCalendar extends MonthCalendarMixin(ThemableMixin(PolymerElement)) {
18632
18545
  <template is="dom-repeat" items="[[week]]">
18633
18546
  <td
18634
18547
  role="gridcell"
18635
- part$="[[__getDatePart(item, focusedDate, selectedDate, minDate, maxDate, isDateDisabled, enteredDate, __hasFocus)]]"
18548
+ part$="[[__getDatePart(item, focusedDate, selectedDate, minDate, maxDate, isDateDisabled)]]"
18636
18549
  date="[[item]]"
18637
18550
  tabindex$="[[__getDayTabindex(item, focusedDate)]]"
18638
18551
  disabled$="[[__isDayDisabled(item, minDate, maxDate, isDateDisabled)]]"
@@ -18690,7 +18603,7 @@ class MonthCalendar extends MonthCalendarMixin(ThemableMixin(PolymerElement)) {
18690
18603
 
18691
18604
  /** @private */
18692
18605
  // eslint-disable-next-line @typescript-eslint/max-params
18693
- __getDatePart(date, focusedDate, selectedDate, minDate, maxDate, isDateDisabled, enteredDate, hasFocus) {
18606
+ __getDatePart(date, focusedDate, selectedDate, minDate, maxDate, isDateDisabled) {
18694
18607
  const result = ['date'];
18695
18608
  const greaterThanToday = date > normalizeDate(new Date());
18696
18609
  const lessThanToday = date < normalizeDate(new Date());
@@ -18699,7 +18612,7 @@ class MonthCalendar extends MonthCalendarMixin(ThemableMixin(PolymerElement)) {
18699
18612
  result.push('disabled');
18700
18613
  }
18701
18614
 
18702
- if (dateEquals(date, focusedDate) && (hasFocus || dateEquals(date, enteredDate))) {
18615
+ if (this.__isDayFocused(date, focusedDate)) {
18703
18616
  result.push('focused');
18704
18617
  }
18705
18618
 
@@ -18722,6 +18635,11 @@ class MonthCalendar extends MonthCalendarMixin(ThemableMixin(PolymerElement)) {
18722
18635
  return result.join(' ');
18723
18636
  }
18724
18637
 
18638
+ /** @private */
18639
+ __isDayFocused(date, focusedDate) {
18640
+ return dateEquals(date, focusedDate);
18641
+ }
18642
+
18725
18643
  /** @private */
18726
18644
  __isDaySelected(date, selectedDate) {
18727
18645
  return dateEquals(date, selectedDate);
@@ -18752,7 +18670,11 @@ class MonthCalendar extends MonthCalendarMixin(ThemableMixin(PolymerElement)) {
18752
18670
 
18753
18671
  /** @private */
18754
18672
  __getDayTabindex(date, focusedDate) {
18755
- return dateEquals(date, focusedDate) ? '0' : '-1';
18673
+ if (this.__isDayFocused(date, focusedDate)) {
18674
+ return '0';
18675
+ }
18676
+
18677
+ return '-1';
18756
18678
  }
18757
18679
  }
18758
18680
 
@@ -18871,7 +18793,6 @@ const DatePickerOverlayContentMixin = (superClass) =>
18871
18793
  initialPosition: {
18872
18794
  type: Object,
18873
18795
  observer: '_initialPositionChanged',
18874
- sync: true,
18875
18796
  },
18876
18797
 
18877
18798
  _originDate: {
@@ -18939,11 +18860,6 @@ const DatePickerOverlayContentMixin = (superClass) =>
18939
18860
  type: Function,
18940
18861
  },
18941
18862
 
18942
- enteredDate: {
18943
- type: Date,
18944
- sync: true,
18945
- },
18946
-
18947
18863
  /**
18948
18864
  * Input label
18949
18865
  */
@@ -18971,7 +18887,7 @@ const DatePickerOverlayContentMixin = (superClass) =>
18971
18887
 
18972
18888
  static get observers() {
18973
18889
  return [
18974
- '__updateCalendars(calendars, i18n, minDate, maxDate, selectedDate, focusedDate, showWeekNumbers, _ignoreTaps, _theme, isDateDisabled, enteredDate)',
18890
+ '__updateCalendars(calendars, i18n, minDate, maxDate, selectedDate, focusedDate, showWeekNumbers, _ignoreTaps, _theme, isDateDisabled)',
18975
18891
  '__updateCancelButton(_cancelButton, i18n)',
18976
18892
  '__updateTodayButton(_todayButton, i18n, minDate, maxDate, isDateDisabled)',
18977
18893
  '__updateYears(years, selectedDate, _theme)',
@@ -19159,7 +19075,6 @@ const DatePickerOverlayContentMixin = (superClass) =>
19159
19075
  ignoreTaps,
19160
19076
  theme,
19161
19077
  isDateDisabled,
19162
- enteredDate,
19163
19078
  ) {
19164
19079
  if (calendars && calendars.length) {
19165
19080
  calendars.forEach((calendar) => {
@@ -19171,7 +19086,6 @@ const DatePickerOverlayContentMixin = (superClass) =>
19171
19086
  calendar.selectedDate = selectedDate;
19172
19087
  calendar.showWeekNumbers = showWeekNumbers;
19173
19088
  calendar.ignoreTaps = ignoreTaps;
19174
- calendar.enteredDate = enteredDate;
19175
19089
 
19176
19090
  if (theme) {
19177
19091
  calendar.setAttribute('theme', theme);
@@ -20429,8 +20343,6 @@ const InputMixin = dedupingMixin(
20429
20343
  if (this.inputElement) {
20430
20344
  this.inputElement[this._inputElementValueProperty] = value;
20431
20345
  }
20432
-
20433
- this._hasInputValue = value && value.length > 0;
20434
20346
  }
20435
20347
 
20436
20348
  /**
@@ -21634,22 +21546,6 @@ const ValidateMixin = dedupingMixin(
21634
21546
  value: false,
21635
21547
  },
21636
21548
 
21637
- /**
21638
- * Set to true to enable manual validation mode. This mode disables automatic
21639
- * constraint validation, allowing you to control the validation process yourself.
21640
- * You can still trigger constraint validation manually with the `validate()` method
21641
- * or use `checkValidity()` to assess the component's validity without affecting
21642
- * the invalid state. In manual validation mode, you can also manipulate
21643
- * the `invalid` property directly through your application logic without conflicts
21644
- * with the component's internal validation.
21645
- *
21646
- * @attr {boolean} manual-validation
21647
- */
21648
- manualValidation: {
21649
- type: Boolean,
21650
- value: false,
21651
- },
21652
-
21653
21549
  /**
21654
21550
  * Specifies that the user must fill in a value.
21655
21551
  */
@@ -21704,14 +21600,6 @@ const ValidateMixin = dedupingMixin(
21704
21600
  return true;
21705
21601
  }
21706
21602
 
21707
- /** @protected */
21708
- _requestValidation() {
21709
- if (!this.manualValidation) {
21710
- // eslint-disable-next-line no-restricted-syntax
21711
- this.validate();
21712
- }
21713
- }
21714
-
21715
21603
  /**
21716
21604
  * Fired whenever the field is validated.
21717
21605
  *
@@ -22141,8 +22029,8 @@ const InputConstraintsMixin = dedupingMixin(
22141
22029
  const isLastConstraintRemoved = this.__previousHasConstraints && !hasConstraints;
22142
22030
 
22143
22031
  if ((this._hasValue || this.invalid) && hasConstraints) {
22144
- this._requestValidation();
22145
- } else if (isLastConstraintRemoved && !this.manualValidation) {
22032
+ this.validate();
22033
+ } else if (isLastConstraintRemoved) {
22146
22034
  this._setInvalid(false);
22147
22035
  }
22148
22036
 
@@ -22160,7 +22048,7 @@ const InputConstraintsMixin = dedupingMixin(
22160
22048
  _onChange(event) {
22161
22049
  event.stopPropagation();
22162
22050
 
22163
- this._requestValidation();
22051
+ this.validate();
22164
22052
 
22165
22053
  this.dispatchEvent(
22166
22054
  new CustomEvent('change', {
@@ -22303,6 +22191,30 @@ const InputControlMixin = (superclass) =>
22303
22191
  }
22304
22192
  }
22305
22193
 
22194
+ /**
22195
+ * Override an event listener inherited from `InputMixin`
22196
+ * to capture native `change` event and make sure that
22197
+ * a new one is dispatched after validation runs.
22198
+ * @param {Event} event
22199
+ * @protected
22200
+ * @override
22201
+ */
22202
+ _onChange(event) {
22203
+ event.stopPropagation();
22204
+
22205
+ this.validate();
22206
+
22207
+ this.dispatchEvent(
22208
+ new CustomEvent('change', {
22209
+ detail: {
22210
+ sourceEvent: event,
22211
+ },
22212
+ bubbles: event.bubbles,
22213
+ cancelable: event.cancelable,
22214
+ }),
22215
+ );
22216
+ }
22217
+
22306
22218
  /**
22307
22219
  * Override a method from `InputMixin`.
22308
22220
  * @param {!HTMLElement} input
@@ -22726,62 +22638,6 @@ class VirtualKeyboardController {
22726
22638
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
22727
22639
  */
22728
22640
 
22729
- const datePickerI18nDefaults = Object.freeze({
22730
- monthNames: [
22731
- 'January',
22732
- 'February',
22733
- 'March',
22734
- 'April',
22735
- 'May',
22736
- 'June',
22737
- 'July',
22738
- 'August',
22739
- 'September',
22740
- 'October',
22741
- 'November',
22742
- 'December',
22743
- ],
22744
- weekdays: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
22745
- weekdaysShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
22746
- firstDayOfWeek: 0,
22747
- today: 'Today',
22748
- cancel: 'Cancel',
22749
- referenceDate: '',
22750
- formatDate(d) {
22751
- const yearStr = String(d.year).replace(/\d+/u, (y) => '0000'.substr(y.length) + y);
22752
- return [d.month + 1, d.day, yearStr].join('/');
22753
- },
22754
- parseDate(text) {
22755
- const parts = text.split('/');
22756
- const today = new Date();
22757
- let date,
22758
- month = today.getMonth(),
22759
- year = today.getFullYear();
22760
-
22761
- if (parts.length === 3) {
22762
- month = parseInt(parts[0]) - 1;
22763
- date = parseInt(parts[1]);
22764
- year = parseInt(parts[2]);
22765
- if (parts[2].length < 3 && year >= 0) {
22766
- const usedReferenceDate = this.referenceDate ? parseDate(this.referenceDate) : new Date();
22767
- year = getAdjustedYear(usedReferenceDate, year, month, date);
22768
- }
22769
- } else if (parts.length === 2) {
22770
- month = parseInt(parts[0]) - 1;
22771
- date = parseInt(parts[1]);
22772
- } else if (parts.length === 1) {
22773
- date = parseInt(parts[0]);
22774
- }
22775
-
22776
- if (date !== undefined) {
22777
- return { day: date, month, year };
22778
- }
22779
- },
22780
- formatTitle: (monthName, fullYear) => {
22781
- return `${monthName} ${fullYear}`;
22782
- },
22783
- });
22784
-
22785
22641
  /**
22786
22642
  * @polymerMixin
22787
22643
  * @mixes ControllerMixin
@@ -22855,10 +22711,7 @@ const DatePickerMixin = (subclass) =>
22855
22711
  * Set true to prevent the overlay from opening automatically.
22856
22712
  * @attr {boolean} auto-open-disabled
22857
22713
  */
22858
- autoOpenDisabled: {
22859
- type: Boolean,
22860
- sync: true,
22861
- },
22714
+ autoOpenDisabled: Boolean,
22862
22715
 
22863
22716
  /**
22864
22717
  * Set true to display ISO-8601 week numbers in the calendar. Notice that
@@ -22979,7 +22832,63 @@ const DatePickerMixin = (subclass) =>
22979
22832
  i18n: {
22980
22833
  type: Object,
22981
22834
  sync: true,
22982
- value: () => ({ ...datePickerI18nDefaults }),
22835
+ value: () => {
22836
+ return {
22837
+ monthNames: [
22838
+ 'January',
22839
+ 'February',
22840
+ 'March',
22841
+ 'April',
22842
+ 'May',
22843
+ 'June',
22844
+ 'July',
22845
+ 'August',
22846
+ 'September',
22847
+ 'October',
22848
+ 'November',
22849
+ 'December',
22850
+ ],
22851
+ weekdays: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
22852
+ weekdaysShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
22853
+ firstDayOfWeek: 0,
22854
+ today: 'Today',
22855
+ cancel: 'Cancel',
22856
+ referenceDate: '',
22857
+ formatDate(d) {
22858
+ const yearStr = String(d.year).replace(/\d+/u, (y) => '0000'.substr(y.length) + y);
22859
+ return [d.month + 1, d.day, yearStr].join('/');
22860
+ },
22861
+ parseDate(text) {
22862
+ const parts = text.split('/');
22863
+ const today = new Date();
22864
+ let date,
22865
+ month = today.getMonth(),
22866
+ year = today.getFullYear();
22867
+
22868
+ if (parts.length === 3) {
22869
+ month = parseInt(parts[0]) - 1;
22870
+ date = parseInt(parts[1]);
22871
+ year = parseInt(parts[2]);
22872
+ if (parts[2].length < 3 && year >= 0) {
22873
+ const usedReferenceDate = this.referenceDate ? parseDate(this.referenceDate) : new Date();
22874
+ year = getAdjustedYear(usedReferenceDate, year, month, date);
22875
+ }
22876
+ } else if (parts.length === 2) {
22877
+ month = parseInt(parts[0]) - 1;
22878
+ date = parseInt(parts[1]);
22879
+ } else if (parts.length === 1) {
22880
+ date = parseInt(parts[0]);
22881
+ }
22882
+
22883
+ if (date !== undefined) {
22884
+ return { day: date, month, year };
22885
+ }
22886
+ },
22887
+ formatTitle: (monthName, fullYear) => {
22888
+ return `${monthName} ${fullYear}`;
22889
+ },
22890
+ };
22891
+ },
22983
22892
  },
22984
22893
 
22985
22894
  /**
@@ -23064,10 +22973,18 @@ const DatePickerMixin = (subclass) =>
23064
22973
  sync: true,
23065
22974
  },
23066
22975
 
23067
- /** @private */
23068
- __enteredDate: {
23069
- type: Date,
23070
- sync: true,
22976
+ /**
22977
+ * In date-picker, unlike other components extending `InputMixin`,
22978
+ * the property indicates true only if the input has been entered by the user.
22979
+ * In the case of programmatic changes, the property is reset to false.
22980
+ * Read more about why this workaround is needed:
22981
+ * https://github.com/vaadin/web-components/issues/5639
22982
+ *
22983
+ * @protected
22984
+ * @override
22985
+ */
22986
+ _hasInputValue: {
22987
+ type: Boolean,
23071
22988
  },
23072
22989
  };
23073
22990
  }
@@ -23076,7 +22993,7 @@ const DatePickerMixin = (subclass) =>
23076
22993
  return [
23077
22994
  '_selectedDateChanged(_selectedDate, i18n)',
23078
22995
  '_focusedDateChanged(_focusedDate, i18n)',
23079
- '__updateOverlayContent(_overlayContent, i18n, label, _minDate, _maxDate, _focusedDate, _selectedDate, showWeekNumbers, isDateDisabled, __enteredDate)',
22996
+ '__updateOverlayContent(_overlayContent, i18n, label, _minDate, _maxDate, _focusedDate, _selectedDate, showWeekNumbers, isDateDisabled)',
23080
22997
  '__updateOverlayContentTheme(_overlayContent, _theme)',
23081
22998
  '__updateOverlayContentFullScreen(_overlayContent, _fullscreen)',
23082
22999
  ];
@@ -23094,17 +23011,28 @@ const DatePickerMixin = (subclass) =>
23094
23011
  this._boundOverlayRenderer = this._overlayRenderer.bind(this);
23095
23012
  }
23096
23013
 
23097
- /** @override */
23014
+ /**
23015
+ * @override
23016
+ * @protected
23017
+ */
23098
23018
  get _inputElementValue() {
23099
23019
  return super._inputElementValue;
23100
23020
  }
23101
23021
 
23102
- /** @override */
23022
+ /**
23023
+ * The setter is overridden to reset the `_hasInputValue` property
23024
+ * to false when the input element's value is updated programmatically.
23025
+ * In date-picker, `_hasInputValue` is supposed to indicate true only
23026
+ * if the input has been entered by the user.
23027
+ * Read more about why this workaround is needed:
23028
+ * https://github.com/vaadin/web-components/issues/5639
23029
+ *
23030
+ * @override
23031
+ * @protected
23032
+ */
23103
23033
  set _inputElementValue(value) {
23104
23034
  super._inputElementValue = value;
23105
-
23106
- const parsedDate = this.__parseDate(value);
23107
- this.__setEnteredDate(parsedDate);
23035
+ this._hasInputValue = false;
23108
23036
  }
23109
23037
 
23110
23038
  /**
@@ -23166,7 +23094,7 @@ const DatePickerMixin = (subclass) =>
23166
23094
  // Do not validate when focusout is caused by document
23167
23095
  // losing focus, which happens on browser tab switch.
23168
23096
  if (document.hasFocus()) {
23169
- this._requestValidation();
23097
+ this.validate();
23170
23098
  }
23171
23099
  }
23172
23100
  }
@@ -23311,8 +23239,13 @@ const DatePickerMixin = (subclass) =>
23311
23239
  !this._selectedDate || dateAllowed(this._selectedDate, this._minDate, this._maxDate, this.isDateDisabled);
23312
23240
 
23313
23241
  let inputValidity = true;
23314
- if (this.inputElement && this.inputElement.checkValidity) {
23315
- inputValidity = this.inputElement.checkValidity();
23242
+ if (this.inputElement) {
23243
+ if (this.inputElement.checkValidity) {
23244
+ inputValidity = this.inputElement.checkValidity();
23245
+ } else if (this.inputElement.validate) {
23246
+ // Iron-form-elements have the validate API
23247
+ inputValidity = this.inputElement.validate();
23248
+ }
23316
23249
  }
23317
23250
 
23318
23251
  return inputValid && isDateValid && inputValidity;
@@ -23399,10 +23332,10 @@ const DatePickerMixin = (subclass) =>
23399
23332
  const unparsableValue = this.__unparsableValue;
23400
23333
 
23401
23334
  if (this.__committedValue !== this.value) {
23402
- this._requestValidation();
23335
+ this.validate();
23403
23336
  this.dispatchEvent(new CustomEvent('change', { bubbles: true }));
23404
23337
  } else if (this.__committedUnparsableValue !== unparsableValue) {
23405
- this._requestValidation();
23338
+ this.validate();
23406
23339
  this.dispatchEvent(new CustomEvent('unparsable-change'));
23407
23340
  }
23408
23341
 
@@ -23531,7 +23464,7 @@ const DatePickerMixin = (subclass) =>
23531
23464
 
23532
23465
  if (oldValue !== undefined) {
23533
23466
  // Validate only if `value` changes after initialization.
23534
- this._requestValidation();
23467
+ this.validate();
23535
23468
  }
23536
23469
  }
23537
23470
  } else {
@@ -23558,7 +23491,6 @@ const DatePickerMixin = (subclass) =>
23558
23491
  selectedDate,
23559
23492
  showWeekNumbers,
23560
23493
  isDateDisabled,
23561
- enteredDate,
23562
23494
  ) {
23563
23495
  if (overlayContent) {
23564
23496
  overlayContent.i18n = i18n;
@@ -23569,7 +23501,6 @@ const DatePickerMixin = (subclass) =>
23569
23501
  overlayContent.selectedDate = selectedDate;
23570
23502
  overlayContent.showWeekNumbers = showWeekNumbers;
23571
23503
  overlayContent.isDateDisabled = isDateDisabled;
23572
- overlayContent.enteredDate = enteredDate;
23573
23504
  }
23574
23505
  }
23575
23506
 
@@ -23699,7 +23630,7 @@ const DatePickerMixin = (subclass) =>
23699
23630
  // Needed in case the value was not changed: open and close dropdown,
23700
23631
  // especially on outside click. On Esc key press, do not validate.
23701
23632
  if (!this.value && !this._keyboardActive) {
23702
- this._requestValidation();
23633
+ this.validate();
23703
23634
  }
23704
23635
  }
23705
23636
 
@@ -23891,32 +23822,15 @@ const DatePickerMixin = (subclass) =>
23891
23822
  this.open();
23892
23823
  }
23893
23824
 
23894
- const parsedDate = this.__parseDate(this._inputElementValue || '');
23895
- if (parsedDate) {
23896
- this._ignoreFocusedDateChange = true;
23897
- if (!dateEquals(parsedDate, this._focusedDate)) {
23898
- this._focusedDate = parsedDate;
23899
- }
23900
- this._ignoreFocusedDateChange = false;
23901
- }
23902
-
23903
- this.__setEnteredDate(parsedDate);
23904
- }
23905
-
23906
- /**
23907
- * @param {Date} date
23908
- * @private
23909
- */
23910
- __setEnteredDate(date) {
23911
- if (date) {
23912
- if (!dateEquals(this.__enteredDate, date)) {
23913
- this.__enteredDate = date;
23825
+ if (this._inputElementValue) {
23826
+ const parsedDate = this.__parseDate(this._inputElementValue);
23827
+ if (parsedDate) {
23828
+ this._ignoreFocusedDateChange = true;
23829
+ if (!dateEquals(parsedDate, this._focusedDate)) {
23830
+ this._focusedDate = parsedDate;
23831
+ }
23832
+ this._ignoreFocusedDateChange = false;
23914
23833
  }
23915
- } else if (this.__enteredDate != null) {
23916
- // Do not override initial undefined value with null
23917
- // to avoid triggering a Lit update that can cause
23918
- // other scheduled properties to flush too early.
23919
- this.__enteredDate = null;
23920
23834
  }
23921
23835
  }
23922
23836
 
@@ -24200,7 +24114,6 @@ class DatePicker extends DatePickerMixin(InputControlMixin(ThemableMixin(Element
24200
24114
 
24201
24115
  /** @private */
24202
24116
  _onVaadinOverlayClose(e) {
24203
- // Prevent closing the overlay on label element click
24204
24117
  if (e.detail.sourceEvent && e.detail.sourceEvent.composedPath().includes(this)) {
24205
24118
  e.preventDefault();
24206
24119
  }
@@ -24237,51 +24150,6 @@ const HelperFilters = class {
24237
24150
  this.filterDraw = createEvent(this, "filterDraw", 7);
24238
24151
  this.filterSelection = createEvent(this, "filterSelection", 7);
24239
24152
  this.filterSelectionReset = createEvent(this, "filterSelectionReset", 7);
24240
- /**
24241
- * Check if show the filter option by id
24242
- */
24243
- this.showFilterId = true;
24244
- /**
24245
- * Choose if filter by draw ID or ticket ID. By default is draw ID.
24246
- */
24247
- this.activateTicketSearch = false;
24248
- /**
24249
- * Game ID
24250
- */
24251
- this.gameId = '';
24252
- /**
24253
- * Player ID
24254
- */
24255
- this.playerId = '';
24256
- /**
24257
- * Session ID
24258
- */
24259
- this.session = '';
24260
- /**
24261
- * Instead of customEvents the widget triggers postMessages
24262
- */
24263
- this.postMessage = false;
24264
- /**
24265
- * Language
24266
- */
24267
- this.language = 'en';
24268
- /**
24269
- * Notifies if the quick filters from tickets are active
24270
- */
24271
- this.quickFiltersActive = false;
24272
- /**
24273
- * Client custom styling via string
24274
- */
24275
- this.clientStyling = '';
24276
- /**
24277
- * Client custom styling via url content
24278
- */
24279
- this.clientStylingUrlContent = '';
24280
- this.showFilterModal = false;
24281
- this.showClearButton = false;
24282
- this.filterData = {};
24283
- this.filterDataReset = { ticketDrawId: '', filterFromCalendar: '', filterToCalendar: '' };
24284
- this.limitStylingAppends = false;
24285
24153
  this.handleTicketDrawId = (event) => {
24286
24154
  const inputElement = event.target;
24287
24155
  this.filterData.ticketDrawId = inputElement.value;
@@ -24308,6 +24176,22 @@ const HelperFilters = class {
24308
24176
  this.stylingContainer.prepend(cssFile);
24309
24177
  }, 1);
24310
24178
  };
24179
+ this.showFilterId = true;
24180
+ this.activateTicketSearch = false;
24181
+ this.gameId = '';
24182
+ this.playerId = '';
24183
+ this.session = '';
24184
+ this.postMessage = false;
24185
+ this.language = 'en';
24186
+ this.quickFiltersActive = false;
24187
+ this.clientStyling = '';
24188
+ this.clientStylingUrlContent = '';
24189
+ this.translationUrl = undefined;
24190
+ this.showFilterModal = false;
24191
+ this.showClearButton = false;
24192
+ this.filterData = {};
24193
+ this.filterDataReset = { ticketDrawId: '', filterFromCalendar: '', filterToCalendar: '' };
24194
+ this.limitStylingAppends = false;
24311
24195
  }
24312
24196
  componentWillLoad() {
24313
24197
  if (this.translationUrl) {
@@ -24387,19 +24271,6 @@ const HelperModal = class {
24387
24271
  constructor(hostRef) {
24388
24272
  registerInstance(this, hostRef);
24389
24273
  this.cancel = createEvent(this, "modalCloseEvent", 7);
24390
- /**
24391
- * Toggles if the helper is visible or not
24392
- */
24393
- this.visible = true;
24394
- /**
24395
- * Client custom styling via string
24396
- */
24397
- this.clientStyling = '';
24398
- /**
24399
- * Client custom styling via url content
24400
- */
24401
- this.clientStylingUrlContent = '';
24402
- this.limitStylingAppends = false;
24403
24274
  this.userAgent = window.navigator.userAgent;
24404
24275
  this.setClientStyling = () => {
24405
24276
  let sheet = document.createElement('style');
@@ -24413,6 +24284,11 @@ const HelperModal = class {
24413
24284
  this.stylingContainer.prepend(cssFile);
24414
24285
  }, 1);
24415
24286
  };
24287
+ this.titleModal = undefined;
24288
+ this.visible = true;
24289
+ this.clientStyling = '';
24290
+ this.clientStylingUrlContent = '';
24291
+ this.limitStylingAppends = false;
24416
24292
  }
24417
24293
  handleHelperModalClose() {
24418
24294
  this.visible = false;