@everymatrix/general-registration 1.56.0 → 1.56.1

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.
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h as h$3, g as getElement, H as Host } from './index-e30ca6ba.js';
1
+ import { r as registerInstance, c as createEvent, h as h$3, g as getElement, H as Host } from './index-de907516.js';
2
2
 
3
3
  const DEFAULT_LANGUAGE$1 = 'en';
4
4
  const TRANSLATIONS$1 = {
@@ -157,55 +157,13 @@ const tooltipIconSvg = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD
157
157
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
158
158
  */
159
159
 
160
- window.Vaadin ||= {};
161
- window.Vaadin.featureFlags ||= {};
162
-
163
- function dashToCamelCase$1(dash) {
164
- return dash.replace(/-[a-z]/gu, (m) => m[1].toUpperCase());
165
- }
166
-
167
- const experimentalMap = {};
168
-
169
- function defineCustomElement(CustomElement, version = '24.6.5') {
160
+ function defineCustomElement(CustomElement, version = '24.5.10') {
170
161
  Object.defineProperty(CustomElement, 'version', {
171
162
  get() {
172
163
  return version;
173
164
  },
174
165
  });
175
166
 
176
- if (CustomElement.experimental) {
177
- const featureFlagKey =
178
- typeof CustomElement.experimental === 'string'
179
- ? CustomElement.experimental
180
- : `${dashToCamelCase$1(CustomElement.is.split('-').slice(1).join('-'))}Component`;
181
-
182
- if (!window.Vaadin.featureFlags[featureFlagKey] && !experimentalMap[featureFlagKey]) {
183
- // Add setter to define experimental component when it's set to true
184
- experimentalMap[featureFlagKey] = new Set();
185
- experimentalMap[featureFlagKey].add(CustomElement);
186
-
187
- Object.defineProperty(window.Vaadin.featureFlags, featureFlagKey, {
188
- get() {
189
- return experimentalMap[featureFlagKey].size === 0;
190
- },
191
- set(value) {
192
- if (!!value && experimentalMap[featureFlagKey].size > 0) {
193
- experimentalMap[featureFlagKey].forEach((elementClass) => {
194
- customElements.define(elementClass.is, elementClass);
195
- });
196
- experimentalMap[featureFlagKey].clear();
197
- }
198
- },
199
- });
200
-
201
- return;
202
- } else if (experimentalMap[featureFlagKey]) {
203
- // Allow to register multiple components with single flag
204
- experimentalMap[featureFlagKey].add(CustomElement);
205
- return;
206
- }
207
- }
208
-
209
167
  const defined = customElements.get(CustomElement.is);
210
168
  if (!defined) {
211
169
  customElements.define(CustomElement.is, CustomElement);
@@ -954,7 +912,7 @@ registerStyles('', color, { moduleId: 'lumo-color' });
954
912
  const fontIcons = i$3`
955
913
  @font-face {
956
914
  font-family: 'lumo-icons';
957
- src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABHAAAsAAAAAI6AAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuNY21hcAAAAYgAAAD+AAADymne8hxnbHlmAAACiAAAC+gAABioIzlOlWhlYWQAAA5wAAAAMAAAADZa/6SsaGhlYQAADqAAAAAdAAAAJAbpA4BobXR4AAAOwAAAABAAAAC0q+AAAGxvY2EAAA7QAAAAXAAAAFyF7o1GbWF4cAAADywAAAAfAAAAIAFMAXBuYW1lAAAPTAAAATEAAAIuUUJZCHBvc3QAABCAAAABPQAAAgfdkltveJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+xDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mEO+p/FEMUcxDANKMwIkgMABvgMMAB4nO3SV26EMABF0UsZpjG9d6Y3FpgF5StLYxMTP16WEUvHV1gGIQzQAJKgDFKIfojQ+A6rUb2e0KnXU77qPanWq/LzCXOkOVyn9RyHvWl4YkaTFu1wX5ecHn0GDBkxZsKUGXMWLFmxZsOWHXsOFBw5cebClRt3Hjx58dZ7RRn/I9cUF39Xpb691acRG2piOtUqNZ1P1TCd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y8fh9uIXI+BknAAAAHicbY7ZboMwEEW5CVBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
958
916
  format('woff');
959
917
  font-weight: normal;
960
918
  font-style: normal;
@@ -984,27 +942,25 @@ const fontIcons = i$3`
984
942
  --lumo-icons-cog: '\\ea15';
985
943
  --lumo-icons-cross: '\\ea16';
986
944
  --lumo-icons-download: '\\ea17';
987
- --lumo-icons-drag-handle: '\\ea18';
988
- --lumo-icons-dropdown: '\\ea19';
989
- --lumo-icons-edit: '\\ea1a';
990
- --lumo-icons-error: '\\ea1b';
991
- --lumo-icons-eye: '\\ea1c';
992
- --lumo-icons-eye-disabled: '\\ea1d';
993
- --lumo-icons-menu: '\\ea1e';
994
- --lumo-icons-minus: '\\ea1f';
995
- --lumo-icons-ordered-list: '\\ea20';
996
- --lumo-icons-phone: '\\ea21';
997
- --lumo-icons-photo: '\\ea22';
998
- --lumo-icons-play: '\\ea23';
999
- --lumo-icons-plus: '\\ea24';
1000
- --lumo-icons-redo: '\\ea25';
1001
- --lumo-icons-reload: '\\ea26';
1002
- --lumo-icons-resize-handle: '\\ea27';
1003
- --lumo-icons-search: '\\ea28';
1004
- --lumo-icons-undo: '\\ea29';
1005
- --lumo-icons-unordered-list: '\\ea2a';
1006
- --lumo-icons-upload: '\\ea2b';
1007
- --lumo-icons-user: '\\ea2c';
945
+ --lumo-icons-dropdown: '\\ea18';
946
+ --lumo-icons-edit: '\\ea19';
947
+ --lumo-icons-error: '\\ea1a';
948
+ --lumo-icons-eye: '\\ea1b';
949
+ --lumo-icons-eye-disabled: '\\ea1c';
950
+ --lumo-icons-menu: '\\ea1d';
951
+ --lumo-icons-minus: '\\ea1e';
952
+ --lumo-icons-ordered-list: '\\ea1f';
953
+ --lumo-icons-phone: '\\ea20';
954
+ --lumo-icons-photo: '\\ea21';
955
+ --lumo-icons-play: '\\ea22';
956
+ --lumo-icons-plus: '\\ea23';
957
+ --lumo-icons-redo: '\\ea24';
958
+ --lumo-icons-reload: '\\ea25';
959
+ --lumo-icons-search: '\\ea26';
960
+ --lumo-icons-undo: '\\ea27';
961
+ --lumo-icons-unordered-list: '\\ea28';
962
+ --lumo-icons-upload: '\\ea29';
963
+ --lumo-icons-user: '\\ea2a';
1008
964
  }
1009
965
  `;
1010
966
 
@@ -11349,7 +11305,6 @@ const DisabledMixin = dedupingMixin(
11349
11305
  value: false,
11350
11306
  observer: '_disabledChanged',
11351
11307
  reflectToAttribute: true,
11352
- sync: true,
11353
11308
  },
11354
11309
  };
11355
11310
  }
@@ -12473,8 +12428,6 @@ const InputMixin = dedupingMixin(
12473
12428
  if (this.inputElement) {
12474
12429
  this.inputElement[this._inputElementValueProperty] = value;
12475
12430
  }
12476
-
12477
- this._hasInputValue = value && value.length > 0;
12478
12431
  }
12479
12432
 
12480
12433
  /**
@@ -12668,7 +12621,6 @@ const CheckedMixin = dedupingMixin(
12668
12621
  value: false,
12669
12622
  notify: true,
12670
12623
  reflectToAttribute: true,
12671
- sync: true,
12672
12624
  },
12673
12625
  };
12674
12626
  }
@@ -13704,22 +13656,6 @@ const ValidateMixin = dedupingMixin(
13704
13656
  value: false,
13705
13657
  },
13706
13658
 
13707
- /**
13708
- * Set to true to enable manual validation mode. This mode disables automatic
13709
- * constraint validation, allowing you to control the validation process yourself.
13710
- * You can still trigger constraint validation manually with the `validate()` method
13711
- * or use `checkValidity()` to assess the component's validity without affecting
13712
- * the invalid state. In manual validation mode, you can also manipulate
13713
- * the `invalid` property directly through your application logic without conflicts
13714
- * with the component's internal validation.
13715
- *
13716
- * @attr {boolean} manual-validation
13717
- */
13718
- manualValidation: {
13719
- type: Boolean,
13720
- value: false,
13721
- },
13722
-
13723
13659
  /**
13724
13660
  * Specifies that the user must fill in a value.
13725
13661
  */
@@ -13774,14 +13710,6 @@ const ValidateMixin = dedupingMixin(
13774
13710
  return true;
13775
13711
  }
13776
13712
 
13777
- /** @protected */
13778
- _requestValidation() {
13779
- if (!this.manualValidation) {
13780
- // eslint-disable-next-line no-restricted-syntax
13781
- this.validate();
13782
- }
13783
- }
13784
-
13785
13713
  /**
13786
13714
  * Fired whenever the field is validated.
13787
13715
  *
@@ -14304,14 +14232,14 @@ const CheckboxMixin = (superclass) =>
14304
14232
  // Do not validate when focusout is caused by document
14305
14233
  // losing focus, which happens on browser tab switch.
14306
14234
  if (!focused && document.hasFocus()) {
14307
- this._requestValidation();
14235
+ this.validate();
14308
14236
  }
14309
14237
  }
14310
14238
 
14311
14239
  /** @private */
14312
14240
  _checkedChanged(checked) {
14313
14241
  if (checked || this.__oldChecked) {
14314
- this._requestValidation();
14242
+ this.validate();
14315
14243
  }
14316
14244
 
14317
14245
  this.__oldChecked = checked;
@@ -14328,7 +14256,7 @@ const CheckboxMixin = (superclass) =>
14328
14256
  super._requiredChanged(required);
14329
14257
 
14330
14258
  if (required === false) {
14331
- this._requestValidation();
14259
+ this.validate();
14332
14260
  }
14333
14261
  }
14334
14262
 
@@ -15028,7 +14956,7 @@ const CheckboxGroupMixin = (superclass) =>
15028
14956
  });
15029
14957
 
15030
14958
  if (oldValue !== undefined) {
15031
- this._requestValidation();
14959
+ this.validate();
15032
14960
  }
15033
14961
  }
15034
14962
 
@@ -15068,7 +14996,7 @@ const CheckboxGroupMixin = (superclass) =>
15068
14996
  // Do not validate when focusout is caused by document
15069
14997
  // losing focus, which happens on browser tab switch.
15070
14998
  if (!focused && document.hasFocus()) {
15071
- this._requestValidation();
14999
+ this.validate();
15072
15000
  }
15073
15001
  }
15074
15002
  };
@@ -15226,6 +15154,10 @@ const CheckboxGroupInput = class {
15226
15154
  this.stylingContainer.prepend(sheet);
15227
15155
  };
15228
15156
  }
15157
+ handleStylingChange(newValue, oldValue) {
15158
+ if (newValue !== oldValue)
15159
+ this.setClientStyling();
15160
+ }
15229
15161
  validityChanged() {
15230
15162
  this.validityStateHandler({ valid: this.isValid, name: this.name });
15231
15163
  if (this.emitValue == true) {
@@ -15300,13 +15232,14 @@ const CheckboxGroupInput = class {
15300
15232
  return (h$3("label", { class: 'checkbox__label', htmlFor: `${this.name}__input`, slot: 'label' }, h$3("div", { class: 'checkbox__label-text', innerHTML: `${this.displayName} ${this.validation.mandatory ? '*' : ''}` })));
15301
15233
  }
15302
15234
  render() {
15303
- return h$3("div", { key: 'fa45026502fd8d46aa537aee03210ad68d30e577', class: `checkboxgroup__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("div", { key: '15ded4fd896920c6244806e49f300c124c27186d', class: 'checkboxgroup__wrapper--flex' }, h$3("vaadin-checkbox", { key: 'd7eaa205877f8f12c9ef7d4f77018665806f5c7c', class: 'checkbox__input', checked: this.selectedValues.length === this.options.length || this.defaultValue === 'true', indeterminate: this.selectedValues.length > 0 && this.selectedValues.length < this.options.length, onChange: (e) => this.handleParentCheckbox(e) }, this.renderLabel()), this.tooltip &&
15304
- h$3("img", { key: 'aca39ed398415a6e2cef861be40dad33e0398759', class: 'checkboxgroup__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()), h$3("small", { key: 'a1a6e1c3c02edcca572b8826ffba06835ca451c3', class: 'checkboxgroup__error-message' }, this.errorMessage), h$3("vaadin-checkbox-group", { key: '9f5f8a945e4ba13d7d0da6d362c15d00a7796b71', theme: "vertical", value: this.selectedValues, "on-value-changed": (event) => {
15235
+ return h$3("div", { key: 'c25b0a1ac187ea0abf1fe8c69d584eee00568177', class: `checkboxgroup__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("div", { key: 'daf512e7f98d20bae65e43ab869e45babc008e90', class: 'checkboxgroup__wrapper--flex' }, h$3("vaadin-checkbox", { key: '08e31269cf2ace61c4c929a6a597486555667197', class: 'checkbox__input', checked: this.selectedValues.length === this.options.length || this.defaultValue === 'true', indeterminate: this.selectedValues.length > 0 && this.selectedValues.length < this.options.length, onChange: (e) => this.handleParentCheckbox(e) }, this.renderLabel()), this.tooltip &&
15236
+ h$3("img", { key: 'ed4c3efd6b7e30ae0b68de11093b8faf2cb0a845', class: 'checkboxgroup__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()), h$3("small", { key: '5b95c4059a2de898c04bf147e89c5a2ad035dddf', class: 'checkboxgroup__error-message' }, this.errorMessage), h$3("vaadin-checkbox-group", { key: '2b73ac73d52c6185358e50eda4c9706643f55384', theme: "vertical", value: this.selectedValues, "on-value-changed": (event) => {
15305
15237
  this.selectedValues = event.detail.value;
15306
15238
  } }, this.options.map((checkbox) => h$3("vaadin-checkbox", { class: 'checkbox__input', name: checkbox.name, value: checkbox.name, label: checkbox.displayName }))));
15307
15239
  }
15308
15240
  get element() { return getElement(this); }
15309
15241
  static get watchers() { return {
15242
+ "clientStyling": ["handleStylingChange"],
15310
15243
  "isValid": ["validityChanged"],
15311
15244
  "selectedValues": ["setValue"],
15312
15245
  "emitValue": ["emitValueHandler"]
@@ -15339,6 +15272,10 @@ const CheckboxInput = class {
15339
15272
  this.stylingContainer.prepend(sheet);
15340
15273
  };
15341
15274
  }
15275
+ handleStylingChange(newValue, oldValue) {
15276
+ if (newValue !== oldValue)
15277
+ this.setClientStyling();
15278
+ }
15342
15279
  validityChanged() {
15343
15280
  this.validityStateHandler({ valid: this.isValid, name: this.name });
15344
15281
  if (this.emitValue == true) {
@@ -15401,10 +15338,11 @@ const CheckboxInput = class {
15401
15338
  return null;
15402
15339
  }
15403
15340
  render() {
15404
- return h$3("div", { key: '0aae00d291d1da02adae1bc91e79ccd579aa5c7f', class: `checkbox__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("input", { key: '4b8c61d322b5065d8abe4e2687e270511fadc97f', class: 'checkbox__input', type: "checkbox", id: `${this.name}__input`, ref: (el) => this.inputReference = el, name: this.name, checked: this.defaultValue === "true", readOnly: this.autofilled, required: this.validation.mandatory, value: this.value, onClick: () => this.handleClick() }), this.renderLabel(), h$3("small", { key: '934263cb58a0d379e8b7dc1f5004ad7e61c63ce0', class: 'checkbox__error-message' }, this.errorMessage), h$3("div", { key: '88cc71329d88b6325d792226e64ff7f93e940178', class: 'checkbox__wrapper--relative' }, this.tooltip &&
15405
- h$3("img", { key: '3708dc613dc920bac6557f2a8020bbafd97d9127', class: 'checkbox__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()));
15341
+ return h$3("div", { key: '8c80c955bb052558165a4c5b1020d0582ed0af36', class: `checkbox__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("input", { key: '89401d543cb30b72ec614b0cd4e95b2e82b2522d', class: 'checkbox__input', type: "checkbox", id: `${this.name}__input`, ref: (el) => this.inputReference = el, name: this.name, checked: this.defaultValue === "true", readOnly: this.autofilled, required: this.validation.mandatory, value: this.value, onClick: () => this.handleClick() }), this.renderLabel(), h$3("small", { key: 'd007d8c02dd014a363e2fcc1a0e8df6ffda34bcb', class: 'checkbox__error-message' }, this.errorMessage), h$3("div", { key: 'c511c07684173359663d4907371efb82289f0433', class: 'checkbox__wrapper--relative' }, this.tooltip &&
15342
+ h$3("img", { key: 'dd263ce86efd89f34078f3cc24729f43f40e89a6', class: 'checkbox__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()));
15406
15343
  }
15407
15344
  static get watchers() { return {
15345
+ "clientStyling": ["handleStylingChange"],
15408
15346
  "isValid": ["validityChanged"],
15409
15347
  "emitValue": ["emitValueHandler"]
15410
15348
  }; }
@@ -17746,7 +17684,6 @@ const OverlayMixin = (superClass) =>
17746
17684
  notify: true,
17747
17685
  observer: '_openedChanged',
17748
17686
  reflectToAttribute: true,
17749
- sync: true,
17750
17687
  },
17751
17688
 
17752
17689
  /**
@@ -17755,7 +17692,6 @@ const OverlayMixin = (superClass) =>
17755
17692
  */
17756
17693
  owner: {
17757
17694
  type: Object,
17758
- sync: true,
17759
17695
  },
17760
17696
 
17761
17697
  /**
@@ -17763,7 +17699,6 @@ const OverlayMixin = (superClass) =>
17763
17699
  */
17764
17700
  model: {
17765
17701
  type: Object,
17766
- sync: true,
17767
17702
  },
17768
17703
 
17769
17704
  /**
@@ -17777,7 +17712,6 @@ const OverlayMixin = (superClass) =>
17777
17712
  */
17778
17713
  renderer: {
17779
17714
  type: Object,
17780
- sync: true,
17781
17715
  },
17782
17716
 
17783
17717
  /**
@@ -17790,7 +17724,6 @@ const OverlayMixin = (superClass) =>
17790
17724
  value: false,
17791
17725
  reflectToAttribute: true,
17792
17726
  observer: '_modelessChanged',
17793
- sync: true,
17794
17727
  },
17795
17728
 
17796
17729
  /**
@@ -17802,7 +17735,6 @@ const OverlayMixin = (superClass) =>
17802
17735
  type: Boolean,
17803
17736
  reflectToAttribute: true,
17804
17737
  observer: '_hiddenChanged',
17805
- sync: true,
17806
17738
  },
17807
17739
 
17808
17740
  /**
@@ -17813,7 +17745,6 @@ const OverlayMixin = (superClass) =>
17813
17745
  type: Boolean,
17814
17746
  value: false,
17815
17747
  reflectToAttribute: true,
17816
- sync: true,
17817
17748
  },
17818
17749
  };
17819
17750
  }
@@ -19642,21 +19573,6 @@ class InfiniteScroller extends HTMLElement {
19642
19573
  }
19643
19574
  }
19644
19575
 
19645
- /** @protected */
19646
- disconnectedCallback() {
19647
- if (this._debouncerScrollFinish) {
19648
- this._debouncerScrollFinish.cancel();
19649
- }
19650
-
19651
- if (this._debouncerUpdateClones) {
19652
- this._debouncerUpdateClones.cancel();
19653
- }
19654
-
19655
- if (this.__pendingFinishInit) {
19656
- cancelAnimationFrame(this.__pendingFinishInit);
19657
- }
19658
- }
19659
-
19660
19576
  /**
19661
19577
  * Force the scroller to update clones after a reset, without
19662
19578
  * waiting for the debouncer to resolve.
@@ -19804,9 +19720,8 @@ class InfiniteScroller extends HTMLElement {
19804
19720
  }
19805
19721
  });
19806
19722
 
19807
- this.__pendingFinishInit = requestAnimationFrame(() => {
19723
+ requestAnimationFrame(() => {
19808
19724
  this._finishInit();
19809
- this.__pendingFinishInit = null;
19810
19725
  });
19811
19726
  }
19812
19727
 
@@ -19821,10 +19736,6 @@ class InfiniteScroller extends HTMLElement {
19821
19736
  itemWrapper.instance = this._createElement();
19822
19737
  itemWrapper.appendChild(itemWrapper.instance);
19823
19738
 
19824
- if (itemWrapper.instance.performUpdate) {
19825
- itemWrapper.instance.performUpdate();
19826
- }
19827
-
19828
19739
  Object.keys(tmpInstance).forEach((prop) => {
19829
19740
  itemWrapper.instance[prop] = tmpInstance[prop];
19830
19741
  });
@@ -21842,10 +21753,6 @@ const MonthCalendarMixin = (superClass) =>
21842
21753
  value: () => false,
21843
21754
  },
21844
21755
 
21845
- enteredDate: {
21846
- type: Date,
21847
- },
21848
-
21849
21756
  disabled: {
21850
21757
  type: Boolean,
21851
21758
  reflectToAttribute: true,
@@ -21865,11 +21772,6 @@ const MonthCalendarMixin = (superClass) =>
21865
21772
  _notTapping: {
21866
21773
  type: Boolean,
21867
21774
  },
21868
-
21869
- /** @private */
21870
- __hasFocus: {
21871
- type: Boolean,
21872
- },
21873
21775
  };
21874
21776
  }
21875
21777
 
@@ -21889,12 +21791,6 @@ const MonthCalendarMixin = (superClass) =>
21889
21791
  addListener(this.$.monthGrid, 'tap', this._handleTap.bind(this));
21890
21792
  }
21891
21793
 
21892
- /** @override */
21893
- _setFocused(focused) {
21894
- super._setFocused(focused);
21895
- this.__hasFocus = focused;
21896
- }
21897
-
21898
21794
  /**
21899
21795
  * Returns true if all the dates in the month are out of the allowed range
21900
21796
  * @protected
@@ -22190,7 +22086,7 @@ class MonthCalendar extends MonthCalendarMixin(ThemableMixin(PolymerElement)) {
22190
22086
  <template is="dom-repeat" items="[[week]]">
22191
22087
  <td
22192
22088
  role="gridcell"
22193
- part$="[[__getDatePart(item, focusedDate, selectedDate, minDate, maxDate, isDateDisabled, enteredDate, __hasFocus)]]"
22089
+ part$="[[__getDatePart(item, focusedDate, selectedDate, minDate, maxDate, isDateDisabled)]]"
22194
22090
  date="[[item]]"
22195
22091
  tabindex$="[[__getDayTabindex(item, focusedDate)]]"
22196
22092
  disabled$="[[__isDayDisabled(item, minDate, maxDate, isDateDisabled)]]"
@@ -22248,7 +22144,7 @@ class MonthCalendar extends MonthCalendarMixin(ThemableMixin(PolymerElement)) {
22248
22144
 
22249
22145
  /** @private */
22250
22146
  // eslint-disable-next-line @typescript-eslint/max-params
22251
- __getDatePart(date, focusedDate, selectedDate, minDate, maxDate, isDateDisabled, enteredDate, hasFocus) {
22147
+ __getDatePart(date, focusedDate, selectedDate, minDate, maxDate, isDateDisabled) {
22252
22148
  const result = ['date'];
22253
22149
  const greaterThanToday = date > normalizeDate(new Date());
22254
22150
  const lessThanToday = date < normalizeDate(new Date());
@@ -22257,7 +22153,7 @@ class MonthCalendar extends MonthCalendarMixin(ThemableMixin(PolymerElement)) {
22257
22153
  result.push('disabled');
22258
22154
  }
22259
22155
 
22260
- if (dateEquals(date, focusedDate) && (hasFocus || dateEquals(date, enteredDate))) {
22156
+ if (this.__isDayFocused(date, focusedDate)) {
22261
22157
  result.push('focused');
22262
22158
  }
22263
22159
 
@@ -22280,6 +22176,11 @@ class MonthCalendar extends MonthCalendarMixin(ThemableMixin(PolymerElement)) {
22280
22176
  return result.join(' ');
22281
22177
  }
22282
22178
 
22179
+ /** @private */
22180
+ __isDayFocused(date, focusedDate) {
22181
+ return dateEquals(date, focusedDate);
22182
+ }
22183
+
22283
22184
  /** @private */
22284
22185
  __isDaySelected(date, selectedDate) {
22285
22186
  return dateEquals(date, selectedDate);
@@ -22310,7 +22211,11 @@ class MonthCalendar extends MonthCalendarMixin(ThemableMixin(PolymerElement)) {
22310
22211
 
22311
22212
  /** @private */
22312
22213
  __getDayTabindex(date, focusedDate) {
22313
- return dateEquals(date, focusedDate) ? '0' : '-1';
22214
+ if (this.__isDayFocused(date, focusedDate)) {
22215
+ return '0';
22216
+ }
22217
+
22218
+ return '-1';
22314
22219
  }
22315
22220
  }
22316
22221
 
@@ -22429,7 +22334,6 @@ const DatePickerOverlayContentMixin = (superClass) =>
22429
22334
  initialPosition: {
22430
22335
  type: Object,
22431
22336
  observer: '_initialPositionChanged',
22432
- sync: true,
22433
22337
  },
22434
22338
 
22435
22339
  _originDate: {
@@ -22497,11 +22401,6 @@ const DatePickerOverlayContentMixin = (superClass) =>
22497
22401
  type: Function,
22498
22402
  },
22499
22403
 
22500
- enteredDate: {
22501
- type: Date,
22502
- sync: true,
22503
- },
22504
-
22505
22404
  /**
22506
22405
  * Input label
22507
22406
  */
@@ -22529,7 +22428,7 @@ const DatePickerOverlayContentMixin = (superClass) =>
22529
22428
 
22530
22429
  static get observers() {
22531
22430
  return [
22532
- '__updateCalendars(calendars, i18n, minDate, maxDate, selectedDate, focusedDate, showWeekNumbers, _ignoreTaps, _theme, isDateDisabled, enteredDate)',
22431
+ '__updateCalendars(calendars, i18n, minDate, maxDate, selectedDate, focusedDate, showWeekNumbers, _ignoreTaps, _theme, isDateDisabled)',
22533
22432
  '__updateCancelButton(_cancelButton, i18n)',
22534
22433
  '__updateTodayButton(_todayButton, i18n, minDate, maxDate, isDateDisabled)',
22535
22434
  '__updateYears(years, selectedDate, _theme)',
@@ -22717,7 +22616,6 @@ const DatePickerOverlayContentMixin = (superClass) =>
22717
22616
  ignoreTaps,
22718
22617
  theme,
22719
22618
  isDateDisabled,
22720
- enteredDate,
22721
22619
  ) {
22722
22620
  if (calendars && calendars.length) {
22723
22621
  calendars.forEach((calendar) => {
@@ -22729,7 +22627,6 @@ const DatePickerOverlayContentMixin = (superClass) =>
22729
22627
  calendar.selectedDate = selectedDate;
22730
22628
  calendar.showWeekNumbers = showWeekNumbers;
22731
22629
  calendar.ignoreTaps = ignoreTaps;
22732
- calendar.enteredDate = enteredDate;
22733
22630
 
22734
22631
  if (theme) {
22735
22632
  calendar.setAttribute('theme', theme);
@@ -23838,8 +23735,8 @@ const InputConstraintsMixin = dedupingMixin(
23838
23735
  const isLastConstraintRemoved = this.__previousHasConstraints && !hasConstraints;
23839
23736
 
23840
23737
  if ((this._hasValue || this.invalid) && hasConstraints) {
23841
- this._requestValidation();
23842
- } else if (isLastConstraintRemoved && !this.manualValidation) {
23738
+ this.validate();
23739
+ } else if (isLastConstraintRemoved) {
23843
23740
  this._setInvalid(false);
23844
23741
  }
23845
23742
 
@@ -23857,7 +23754,7 @@ const InputConstraintsMixin = dedupingMixin(
23857
23754
  _onChange(event) {
23858
23755
  event.stopPropagation();
23859
23756
 
23860
- this._requestValidation();
23757
+ this.validate();
23861
23758
 
23862
23759
  this.dispatchEvent(
23863
23760
  new CustomEvent('change', {
@@ -24000,6 +23897,30 @@ const InputControlMixin = (superclass) =>
24000
23897
  }
24001
23898
  }
24002
23899
 
23900
+ /**
23901
+ * Override an event listener inherited from `InputMixin`
23902
+ * to capture native `change` event and make sure that
23903
+ * a new one is dispatched after validation runs.
23904
+ * @param {Event} event
23905
+ * @protected
23906
+ * @override
23907
+ */
23908
+ _onChange(event) {
23909
+ event.stopPropagation();
23910
+
23911
+ this.validate();
23912
+
23913
+ this.dispatchEvent(
23914
+ new CustomEvent('change', {
23915
+ detail: {
23916
+ sourceEvent: event,
23917
+ },
23918
+ bubbles: event.bubbles,
23919
+ cancelable: event.cancelable,
23920
+ }),
23921
+ );
23922
+ }
23923
+
24003
23924
  /**
24004
23925
  * Override a method from `InputMixin`.
24005
23926
  * @param {!HTMLElement} input
@@ -24335,62 +24256,6 @@ class VirtualKeyboardController {
24335
24256
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
24336
24257
  */
24337
24258
 
24338
- const datePickerI18nDefaults = Object.freeze({
24339
- monthNames: [
24340
- 'January',
24341
- 'February',
24342
- 'March',
24343
- 'April',
24344
- 'May',
24345
- 'June',
24346
- 'July',
24347
- 'August',
24348
- 'September',
24349
- 'October',
24350
- 'November',
24351
- 'December',
24352
- ],
24353
- weekdays: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
24354
- weekdaysShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
24355
- firstDayOfWeek: 0,
24356
- today: 'Today',
24357
- cancel: 'Cancel',
24358
- referenceDate: '',
24359
- formatDate(d) {
24360
- const yearStr = String(d.year).replace(/\d+/u, (y) => '0000'.substr(y.length) + y);
24361
- return [d.month + 1, d.day, yearStr].join('/');
24362
- },
24363
- parseDate(text) {
24364
- const parts = text.split('/');
24365
- const today = new Date();
24366
- let date,
24367
- month = today.getMonth(),
24368
- year = today.getFullYear();
24369
-
24370
- if (parts.length === 3) {
24371
- month = parseInt(parts[0]) - 1;
24372
- date = parseInt(parts[1]);
24373
- year = parseInt(parts[2]);
24374
- if (parts[2].length < 3 && year >= 0) {
24375
- const usedReferenceDate = this.referenceDate ? parseDate(this.referenceDate) : new Date();
24376
- year = getAdjustedYear(usedReferenceDate, year, month, date);
24377
- }
24378
- } else if (parts.length === 2) {
24379
- month = parseInt(parts[0]) - 1;
24380
- date = parseInt(parts[1]);
24381
- } else if (parts.length === 1) {
24382
- date = parseInt(parts[0]);
24383
- }
24384
-
24385
- if (date !== undefined) {
24386
- return { day: date, month, year };
24387
- }
24388
- },
24389
- formatTitle: (monthName, fullYear) => {
24390
- return `${monthName} ${fullYear}`;
24391
- },
24392
- });
24393
-
24394
24259
  /**
24395
24260
  * @polymerMixin
24396
24261
  * @mixes ControllerMixin
@@ -24464,10 +24329,7 @@ const DatePickerMixin = (subclass) =>
24464
24329
  * Set true to prevent the overlay from opening automatically.
24465
24330
  * @attr {boolean} auto-open-disabled
24466
24331
  */
24467
- autoOpenDisabled: {
24468
- type: Boolean,
24469
- sync: true,
24470
- },
24332
+ autoOpenDisabled: Boolean,
24471
24333
 
24472
24334
  /**
24473
24335
  * Set true to display ISO-8601 week numbers in the calendar. Notice that
@@ -24588,7 +24450,63 @@ const DatePickerMixin = (subclass) =>
24588
24450
  i18n: {
24589
24451
  type: Object,
24590
24452
  sync: true,
24591
- value: () => ({ ...datePickerI18nDefaults }),
24453
+ value: () => {
24454
+ return {
24455
+ monthNames: [
24456
+ 'January',
24457
+ 'February',
24458
+ 'March',
24459
+ 'April',
24460
+ 'May',
24461
+ 'June',
24462
+ 'July',
24463
+ 'August',
24464
+ 'September',
24465
+ 'October',
24466
+ 'November',
24467
+ 'December',
24468
+ ],
24469
+ weekdays: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
24470
+ weekdaysShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
24471
+ firstDayOfWeek: 0,
24472
+ today: 'Today',
24473
+ cancel: 'Cancel',
24474
+ referenceDate: '',
24475
+ formatDate(d) {
24476
+ const yearStr = String(d.year).replace(/\d+/u, (y) => '0000'.substr(y.length) + y);
24477
+ return [d.month + 1, d.day, yearStr].join('/');
24478
+ },
24479
+ parseDate(text) {
24480
+ const parts = text.split('/');
24481
+ const today = new Date();
24482
+ let date,
24483
+ month = today.getMonth(),
24484
+ year = today.getFullYear();
24485
+
24486
+ if (parts.length === 3) {
24487
+ month = parseInt(parts[0]) - 1;
24488
+ date = parseInt(parts[1]);
24489
+ year = parseInt(parts[2]);
24490
+ if (parts[2].length < 3 && year >= 0) {
24491
+ const usedReferenceDate = this.referenceDate ? parseDate(this.referenceDate) : new Date();
24492
+ year = getAdjustedYear(usedReferenceDate, year, month, date);
24493
+ }
24494
+ } else if (parts.length === 2) {
24495
+ month = parseInt(parts[0]) - 1;
24496
+ date = parseInt(parts[1]);
24497
+ } else if (parts.length === 1) {
24498
+ date = parseInt(parts[0]);
24499
+ }
24500
+
24501
+ if (date !== undefined) {
24502
+ return { day: date, month, year };
24503
+ }
24504
+ },
24505
+ formatTitle: (monthName, fullYear) => {
24506
+ return `${monthName} ${fullYear}`;
24507
+ },
24508
+ };
24509
+ },
24592
24510
  },
24593
24511
 
24594
24512
  /**
@@ -24673,10 +24591,18 @@ const DatePickerMixin = (subclass) =>
24673
24591
  sync: true,
24674
24592
  },
24675
24593
 
24676
- /** @private */
24677
- __enteredDate: {
24678
- type: Date,
24679
- sync: true,
24594
+ /**
24595
+ * In date-picker, unlike other components extending `InputMixin`,
24596
+ * the property indicates true only if the input has been entered by the user.
24597
+ * In the case of programmatic changes, the property is reset to false.
24598
+ * Read more about why this workaround is needed:
24599
+ * https://github.com/vaadin/web-components/issues/5639
24600
+ *
24601
+ * @protected
24602
+ * @override
24603
+ */
24604
+ _hasInputValue: {
24605
+ type: Boolean,
24680
24606
  },
24681
24607
  };
24682
24608
  }
@@ -24685,7 +24611,7 @@ const DatePickerMixin = (subclass) =>
24685
24611
  return [
24686
24612
  '_selectedDateChanged(_selectedDate, i18n)',
24687
24613
  '_focusedDateChanged(_focusedDate, i18n)',
24688
- '__updateOverlayContent(_overlayContent, i18n, label, _minDate, _maxDate, _focusedDate, _selectedDate, showWeekNumbers, isDateDisabled, __enteredDate)',
24614
+ '__updateOverlayContent(_overlayContent, i18n, label, _minDate, _maxDate, _focusedDate, _selectedDate, showWeekNumbers, isDateDisabled)',
24689
24615
  '__updateOverlayContentTheme(_overlayContent, _theme)',
24690
24616
  '__updateOverlayContentFullScreen(_overlayContent, _fullscreen)',
24691
24617
  ];
@@ -24703,17 +24629,28 @@ const DatePickerMixin = (subclass) =>
24703
24629
  this._boundOverlayRenderer = this._overlayRenderer.bind(this);
24704
24630
  }
24705
24631
 
24706
- /** @override */
24632
+ /**
24633
+ * @override
24634
+ * @protected
24635
+ */
24707
24636
  get _inputElementValue() {
24708
24637
  return super._inputElementValue;
24709
24638
  }
24710
24639
 
24711
- /** @override */
24640
+ /**
24641
+ * The setter is overridden to reset the `_hasInputValue` property
24642
+ * to false when the input element's value is updated programmatically.
24643
+ * In date-picker, `_hasInputValue` is supposed to indicate true only
24644
+ * if the input has been entered by the user.
24645
+ * Read more about why this workaround is needed:
24646
+ * https://github.com/vaadin/web-components/issues/5639
24647
+ *
24648
+ * @override
24649
+ * @protected
24650
+ */
24712
24651
  set _inputElementValue(value) {
24713
24652
  super._inputElementValue = value;
24714
-
24715
- const parsedDate = this.__parseDate(value);
24716
- this.__setEnteredDate(parsedDate);
24653
+ this._hasInputValue = false;
24717
24654
  }
24718
24655
 
24719
24656
  /**
@@ -24775,7 +24712,7 @@ const DatePickerMixin = (subclass) =>
24775
24712
  // Do not validate when focusout is caused by document
24776
24713
  // losing focus, which happens on browser tab switch.
24777
24714
  if (document.hasFocus()) {
24778
- this._requestValidation();
24715
+ this.validate();
24779
24716
  }
24780
24717
  }
24781
24718
  }
@@ -24920,8 +24857,13 @@ const DatePickerMixin = (subclass) =>
24920
24857
  !this._selectedDate || dateAllowed(this._selectedDate, this._minDate, this._maxDate, this.isDateDisabled);
24921
24858
 
24922
24859
  let inputValidity = true;
24923
- if (this.inputElement && this.inputElement.checkValidity) {
24924
- inputValidity = this.inputElement.checkValidity();
24860
+ if (this.inputElement) {
24861
+ if (this.inputElement.checkValidity) {
24862
+ inputValidity = this.inputElement.checkValidity();
24863
+ } else if (this.inputElement.validate) {
24864
+ // Iron-form-elements have the validate API
24865
+ inputValidity = this.inputElement.validate();
24866
+ }
24925
24867
  }
24926
24868
 
24927
24869
  return inputValid && isDateValid && inputValidity;
@@ -25008,10 +24950,10 @@ const DatePickerMixin = (subclass) =>
25008
24950
  const unparsableValue = this.__unparsableValue;
25009
24951
 
25010
24952
  if (this.__committedValue !== this.value) {
25011
- this._requestValidation();
24953
+ this.validate();
25012
24954
  this.dispatchEvent(new CustomEvent('change', { bubbles: true }));
25013
24955
  } else if (this.__committedUnparsableValue !== unparsableValue) {
25014
- this._requestValidation();
24956
+ this.validate();
25015
24957
  this.dispatchEvent(new CustomEvent('unparsable-change'));
25016
24958
  }
25017
24959
 
@@ -25140,7 +25082,7 @@ const DatePickerMixin = (subclass) =>
25140
25082
 
25141
25083
  if (oldValue !== undefined) {
25142
25084
  // Validate only if `value` changes after initialization.
25143
- this._requestValidation();
25085
+ this.validate();
25144
25086
  }
25145
25087
  }
25146
25088
  } else {
@@ -25167,7 +25109,6 @@ const DatePickerMixin = (subclass) =>
25167
25109
  selectedDate,
25168
25110
  showWeekNumbers,
25169
25111
  isDateDisabled,
25170
- enteredDate,
25171
25112
  ) {
25172
25113
  if (overlayContent) {
25173
25114
  overlayContent.i18n = i18n;
@@ -25178,7 +25119,6 @@ const DatePickerMixin = (subclass) =>
25178
25119
  overlayContent.selectedDate = selectedDate;
25179
25120
  overlayContent.showWeekNumbers = showWeekNumbers;
25180
25121
  overlayContent.isDateDisabled = isDateDisabled;
25181
- overlayContent.enteredDate = enteredDate;
25182
25122
  }
25183
25123
  }
25184
25124
 
@@ -25308,7 +25248,7 @@ const DatePickerMixin = (subclass) =>
25308
25248
  // Needed in case the value was not changed: open and close dropdown,
25309
25249
  // especially on outside click. On Esc key press, do not validate.
25310
25250
  if (!this.value && !this._keyboardActive) {
25311
- this._requestValidation();
25251
+ this.validate();
25312
25252
  }
25313
25253
  }
25314
25254
 
@@ -25500,32 +25440,15 @@ const DatePickerMixin = (subclass) =>
25500
25440
  this.open();
25501
25441
  }
25502
25442
 
25503
- const parsedDate = this.__parseDate(this._inputElementValue || '');
25504
- if (parsedDate) {
25505
- this._ignoreFocusedDateChange = true;
25506
- if (!dateEquals(parsedDate, this._focusedDate)) {
25507
- this._focusedDate = parsedDate;
25508
- }
25509
- this._ignoreFocusedDateChange = false;
25510
- }
25511
-
25512
- this.__setEnteredDate(parsedDate);
25513
- }
25514
-
25515
- /**
25516
- * @param {Date} date
25517
- * @private
25518
- */
25519
- __setEnteredDate(date) {
25520
- if (date) {
25521
- if (!dateEquals(this.__enteredDate, date)) {
25522
- this.__enteredDate = date;
25443
+ if (this._inputElementValue) {
25444
+ const parsedDate = this.__parseDate(this._inputElementValue);
25445
+ if (parsedDate) {
25446
+ this._ignoreFocusedDateChange = true;
25447
+ if (!dateEquals(parsedDate, this._focusedDate)) {
25448
+ this._focusedDate = parsedDate;
25449
+ }
25450
+ this._ignoreFocusedDateChange = false;
25523
25451
  }
25524
- } else if (this.__enteredDate != null) {
25525
- // Do not override initial undefined value with null
25526
- // to avoid triggering a Lit update that can cause
25527
- // other scheduled properties to flush too early.
25528
- this.__enteredDate = null;
25529
25452
  }
25530
25453
  }
25531
25454
 
@@ -25809,7 +25732,6 @@ class DatePicker extends DatePickerMixin(InputControlMixin(ThemableMixin(Element
25809
25732
 
25810
25733
  /** @private */
25811
25734
  _onVaadinOverlayClose(e) {
25812
- // Prevent closing the overlay on label element click
25813
25735
  if (e.detail.sourceEvent && e.detail.sourceEvent.composedPath().includes(this)) {
25814
25736
  e.preventDefault();
25815
25737
  }
@@ -30945,6 +30867,10 @@ const DateInput = class {
30945
30867
  this.stylingContainer.prepend(sheet);
30946
30868
  };
30947
30869
  }
30870
+ handleStylingChange(newValue, oldValue) {
30871
+ if (newValue !== oldValue)
30872
+ this.setClientStyling();
30873
+ }
30948
30874
  validityChanged() {
30949
30875
  this.validityStateHandler({ valid: this.isValid, name: this.name });
30950
30876
  if (this.emitValue == true) {
@@ -31041,11 +30967,12 @@ const DateInput = class {
31041
30967
  if (this.touched) {
31042
30968
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
31043
30969
  }
31044
- return h$3("div", { key: 'fc9cd0a618c7b6e62962c0800399a470fffa1fc4', class: `date__wrapper ${this.autofilled ? 'date__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("label", { key: 'abc7c1715dd2d0c60dd2ac6d028355de910be501', class: `date__label ${this.validation.mandatory ? 'date__label--required' : ''}}`, htmlFor: `${this.name}__input` }, this.displayName, " ", this.validation.mandatory ? '*' : ''), h$3("vaadin-date-picker", { key: 'a6b40a978b573d41490457d708f9a7ac78622a6f', id: `${this.name}__input`, type: 'date', class: `date__input ${invalidClass}`, value: this.defaultValue, readOnly: this.autofilled, placeholder: `${this.placeholder}`, required: this.validation.mandatory, max: this.validation.max, min: this.validation.min, onChange: (e) => this.handleInput(e), onBlur: this.handleBlur }), h$3("small", { key: 'd802ea7b25a64802aca3a7491107fcee7af2a23c', class: 'date__error-message' }, this.errorMessage), this.tooltip &&
31045
- h$3("img", { key: '46edd200a9ce9eba27414a6434c6b3d5e9dc9964', class: 'date__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip());
30970
+ return h$3("div", { key: 'ad6360e0afb065a91f860574f5e3c08f5bdb2534', class: `date__wrapper ${this.autofilled ? 'date__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("label", { key: '3e8d26e0c8ae0983997b84e95cb34887df1f5fe5', class: `date__label ${this.validation.mandatory ? 'date__label--required' : ''}}`, htmlFor: `${this.name}__input` }, this.displayName, " ", this.validation.mandatory ? '*' : ''), h$3("vaadin-date-picker", { key: '62ee430506c2ab1a5ebb632d72e84ef905296888', id: `${this.name}__input`, type: 'date', class: `date__input ${invalidClass}`, value: this.defaultValue, readOnly: this.autofilled, placeholder: `${this.placeholder}`, required: this.validation.mandatory, max: this.validation.max, min: this.validation.min, onChange: (e) => this.handleInput(e), onBlur: this.handleBlur }), h$3("small", { key: '6b7c0e9c3437b484bd534060f93ad4fcd9eaeb60', class: 'date__error-message' }, this.errorMessage), this.tooltip &&
30971
+ h$3("img", { key: '6479b29563710abfe1be584c9de110fafe69ca3d', class: 'date__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip());
31046
30972
  }
31047
30973
  get element() { return getElement(this); }
31048
30974
  static get watchers() { return {
30975
+ "clientStyling": ["handleStylingChange"],
31049
30976
  "isValid": ["validityChanged"],
31050
30977
  "emitValue": ["emitValueHandler"]
31051
30978
  }; }
@@ -31091,6 +31018,10 @@ const EmailInput = class {
31091
31018
  this.stylingContainer.prepend(sheet);
31092
31019
  };
31093
31020
  }
31021
+ handleStylingChange(newValue, oldValue) {
31022
+ if (newValue !== oldValue)
31023
+ this.setClientStyling();
31024
+ }
31094
31025
  validityChanged() {
31095
31026
  this.validityStateHandler({ valid: this.isValid, name: this.name });
31096
31027
  if (this.emitValue == true) {
@@ -31179,10 +31110,11 @@ const EmailInput = class {
31179
31110
  if (this.touched) {
31180
31111
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
31181
31112
  }
31182
- return h$3("div", { key: '23ac67984ab7a0f4db01e5fe01f4f326b4c6a912', class: `email__wrapper ${this.autofilled ? 'number__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("div", { key: 'aa2405e435aea20f1678dd74776a8ce4094bc95b', class: 'email__wrapper--flex' }, h$3("label", { key: '970b83bbcf082d1721c1647993fecd076939b65d', class: `email__label ${this.validation.mandatory ? 'email__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$3("div", { key: '2f03eaf161aab9b45282c1bc0de15bea8455427c', class: 'email__wrapper--relative' }, this.tooltip &&
31183
- h$3("img", { key: '3c34b91f0b478cf04f5aabc5fdd33a8ed73d091b', class: 'email__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$3("input", { key: '491f83c0f562893c02e3425b4d54eecc214e3c95', id: `${this.name}__input`, type: 'email', class: `email__input ${invalidClass}`, value: this.defaultValue, readOnly: this.autofilled, placeholder: `${this.placeholder}`, ref: (el) => this.inputReference = el, pattern: this.validationPattern, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, onInput: this.handleInput, onBlur: this.handleBlur }), h$3("small", { key: 'edb6660d958cc5d0cb41b0db195bd7e847ecbefe', class: 'email__error-message' }, this.errorMessage));
31113
+ return h$3("div", { key: 'a46093cfafc840d2fd563ee9676ccd2f16fb1620', class: `email__wrapper ${this.autofilled ? 'number__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("div", { key: '2eab4a96efc36cdb94e9f92b2a161e208f0ebcd4', class: 'email__wrapper--flex' }, h$3("label", { key: 'f5ed857f61ea6763c5fe88590732258b4dedac1b', class: `email__label ${this.validation.mandatory ? 'email__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$3("div", { key: '58cadc7857cd91dec968852be71e0108f55fbda7', class: 'email__wrapper--relative' }, this.tooltip &&
31114
+ h$3("img", { key: '03009d036fde1c36b9348ac45cefa3389194260c', class: 'email__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$3("input", { key: 'b2a9fd96ed301df5f1d7cf6f5a2a5b52f96ab189', id: `${this.name}__input`, type: 'email', class: `email__input ${invalidClass}`, value: this.defaultValue, readOnly: this.autofilled, placeholder: `${this.placeholder}`, ref: (el) => this.inputReference = el, pattern: this.validationPattern, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, onInput: this.handleInput, onBlur: this.handleBlur }), h$3("small", { key: 'edb17f53141a3406bfc657f80098b914044a8894', class: 'email__error-message' }, this.errorMessage));
31184
31115
  }
31185
31116
  static get watchers() { return {
31117
+ "clientStyling": ["handleStylingChange"],
31186
31118
  "isValid": ["validityChanged"],
31187
31119
  "emitValue": ["emitValueHandler"]
31188
31120
  }; }
@@ -37664,8 +37596,8 @@ function Ii(e, t, r) {
37664
37596
  33554433 && p && i && (lr(), cr()), e.$$.dirty[0] & /*session*/
37665
37597
  1 && (i || ur()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
37666
37598
  34 && s && f && ft$1(f, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
37667
- 36 && h && f && dt$1(f, h), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
37668
- 40 && u && f && at$1(f, `${u}.Style`), e.$$.dirty[0] & /*lang*/
37599
+ 36 && h && f && dt$1(f, h), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
37600
+ 40 && f && at$1(f, `${u}.Style`), e.$$.dirty[0] & /*lang*/
37669
37601
  4194304 && l && ar(), e.$$.dirty[0] & /*translationurl*/
37670
37602
  8388608 && m && sr();
37671
37603
  }, [
@@ -38464,6 +38396,10 @@ const NumberInput = class {
38464
38396
  this.stylingContainer.prepend(sheet);
38465
38397
  };
38466
38398
  }
38399
+ handleStylingChange(newValue, oldValue) {
38400
+ if (newValue !== oldValue)
38401
+ this.setClientStyling();
38402
+ }
38467
38403
  validityChanged() {
38468
38404
  this.validityStateHandler({ valid: this.isValid, name: this.name });
38469
38405
  if (this.emitValue == true) {
@@ -38540,10 +38476,11 @@ const NumberInput = class {
38540
38476
  if (this.touched) {
38541
38477
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
38542
38478
  }
38543
- return h$3("div", { key: '2032f77ca52b330ae2e8f484d7a0aba60ee7b9d5', class: `number__wrapper ${this.autofilled ? 'number__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("div", { key: '0786901cd928bba86597180f058bff43fba522b6', class: 'number__wrapper--flex' }, h$3("label", { key: 'ff7f39306cef7aeba3e0e4508df03c5a945e748b', class: `number__label ${this.validation.mandatory ? 'number__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$3("div", { key: 'dced91223621551472fee374d56f1ad7476f4191', class: 'number__wrapper--relative' }, this.tooltip &&
38544
- h$3("img", { key: 'a804a983e342e4d117126720a32c4c34a2b267dc', class: 'number__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$3("input", { key: 'fd59afaedf7d9f761684b057a1809474d735cc26', ref: (el) => this.inputReference = el, type: "number", value: this.defaultValue, readOnly: this.autofilled, id: `${this.name}__input`, class: `number__input ${invalidClass}`, pattern: this.validationPattern, placeholder: `${this.placeholder}`, required: this.validation.mandatory, max: this.validation.max, min: this.validation.min, onInput: this.handleInput, onBlur: this.handleBlur }), h$3("small", { key: 'ca11558b5704b69311626736ab84a298449b98d7', class: 'number__error-message' }, this.errorMessage));
38479
+ return h$3("div", { key: '841265bba6b75cc61a0eac1450c3f5aa5f917a2e', class: `number__wrapper ${this.autofilled ? 'number__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("div", { key: '645c7817cf5a0bdc352de9d8c0698fde235aa6d3', class: 'number__wrapper--flex' }, h$3("label", { key: '3343cbbb8482b71cd152161a8d422f318f07f3fe', class: `number__label ${this.validation.mandatory ? 'number__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$3("div", { key: '1f3341b2127095870610fc0e0b4b5d220c5d2e2c', class: 'number__wrapper--relative' }, this.tooltip &&
38480
+ h$3("img", { key: '8bbe2fe9f62347cbcd37b753d4a1b0718dc39091', class: 'number__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$3("input", { key: '100401abdc33069f34e27e0807c9f31ddf7e42ec', ref: (el) => this.inputReference = el, type: "number", value: this.defaultValue, readOnly: this.autofilled, id: `${this.name}__input`, class: `number__input ${invalidClass}`, pattern: this.validationPattern, placeholder: `${this.placeholder}`, required: this.validation.mandatory, max: this.validation.max, min: this.validation.min, onInput: this.handleInput, onBlur: this.handleBlur }), h$3("small", { key: 'db1e0043bb9b6de2ad8e18f49f96152b9451b93c', class: 'number__error-message' }, this.errorMessage));
38545
38481
  }
38546
38482
  static get watchers() { return {
38483
+ "clientStyling": ["handleStylingChange"],
38547
38484
  "isValid": ["validityChanged"],
38548
38485
  "emitValue": ["emitValueHandler"]
38549
38486
  }; }
@@ -38658,7 +38595,7 @@ const InputFieldMixin = (superclass) =>
38658
38595
  // Do not validate when focusout is caused by document
38659
38596
  // losing focus, which happens on browser tab switch.
38660
38597
  if (!focused && document.hasFocus()) {
38661
- this._requestValidation();
38598
+ this.validate();
38662
38599
  }
38663
38600
  }
38664
38601
 
@@ -38673,7 +38610,7 @@ const InputFieldMixin = (superclass) =>
38673
38610
  super._onInput(event);
38674
38611
 
38675
38612
  if (this.invalid) {
38676
- this._requestValidation();
38613
+ this.validate();
38677
38614
  }
38678
38615
  }
38679
38616
 
@@ -38694,7 +38631,7 @@ const InputFieldMixin = (superclass) =>
38694
38631
  }
38695
38632
 
38696
38633
  if (this.invalid) {
38697
- this._requestValidation();
38634
+ this.validate();
38698
38635
  }
38699
38636
  }
38700
38637
  };
@@ -38888,6 +38825,24 @@ class TextField extends TextFieldMixin(ThemableMixin(ElementMixin(PolymerElement
38888
38825
  `;
38889
38826
  }
38890
38827
 
38828
+ static get properties() {
38829
+ return {
38830
+ /**
38831
+ * Maximum number of characters (in Unicode code points) that the user can enter.
38832
+ */
38833
+ maxlength: {
38834
+ type: Number,
38835
+ },
38836
+
38837
+ /**
38838
+ * Minimum number of characters (in Unicode code points) that the user can enter.
38839
+ */
38840
+ minlength: {
38841
+ type: Number,
38842
+ },
38843
+ };
38844
+ }
38845
+
38891
38846
  /** @protected */
38892
38847
  ready() {
38893
38848
  super.ready();
@@ -39378,6 +39333,10 @@ const PasswordInput = class {
39378
39333
  this.stylingContainer.prepend(sheet);
39379
39334
  };
39380
39335
  }
39336
+ handleStylingChange(newValue, oldValue) {
39337
+ if (newValue !== oldValue)
39338
+ this.setClientStyling();
39339
+ }
39381
39340
  validityChanged() {
39382
39341
  this.validityStateHandler({ valid: this.isValid, name: this.name });
39383
39342
  if (this.emitValue == true) {
@@ -39536,11 +39495,12 @@ const PasswordInput = class {
39536
39495
  if (this.touched) {
39537
39496
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
39538
39497
  }
39539
- return h$3("div", { key: 'c704b51efdf53817beb1541b4794e0b11b490a24', class: `password__wrapper ${this.autofilled ? 'password__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("div", { key: 'e590afa403084ff95a8735ade400ab81ad16937f', class: 'password__wrapper--flex' }, h$3("label", { key: '9d8db00b59c4b9594538aeacee3ef5a0e678c0e9', class: `password__label ${this.validation.mandatory ? 'password__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$3("div", { key: 'bb39f6018cf688fafcd0b5bef91ba079edf09daf', class: 'password__wrapper--relative' }, this.tooltip &&
39540
- h$3("img", { key: 'd8dbd086da34a8c7db9b5826654530bdb888c927', class: 'password__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$3("vaadin-password-field", { key: 'ae1c212d663fe379561b1c514087629409196ac3', type: "password", id: `${this.name}__input`, class: `password__input ${invalidClass}`, name: this.name, readOnly: this.autofilled, value: this.defaultValue, required: this.validation.mandatory, maxlength: this.validation.maxLength, minlength: this.validation.minLength, pattern: this.validationPattern, placeholder: `${this.placeholder}`, onInput: this.handleInput, onBlur: this.handleBlur, onFocus: this.handleFocus }), h$3("small", { key: '2fa1e25239a7314399c16b2f897873b7a31e9f77', class: 'password__error-message' }, this.errorMessage), this.passwordComplexity && this.showPopup && !this.isDuplicateInput && this.renderComplexityPopup());
39498
+ return h$3("div", { key: '36d21c63dcd15b6de2d2de417ce97b520493cd16', class: `password__wrapper ${this.autofilled ? 'password__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("div", { key: '3de600f4ccbf2ffe7a8a8858e9d5a483701dd4d7', class: 'password__wrapper--flex' }, h$3("label", { key: '74fee343f4d6adbbb22e88c5d51d3a471979d42e', class: `password__label ${this.validation.mandatory ? 'password__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$3("div", { key: 'd1f30d776c5612b1a5581859b929bee171105bf5', class: 'password__wrapper--relative' }, this.tooltip &&
39499
+ h$3("img", { key: '932201990b5fa67f448d4ab8ca7f844f757d5e47', class: 'password__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$3("vaadin-password-field", { key: '83f00cb4452b60fd883efcd742d6eb463a8fc729', type: "password", id: `${this.name}__input`, class: `password__input ${invalidClass}`, name: this.name, readOnly: this.autofilled, value: this.defaultValue, required: this.validation.mandatory, maxlength: this.validation.maxLength, minlength: this.validation.minLength, pattern: this.validationPattern, placeholder: `${this.placeholder}`, onInput: this.handleInput, onBlur: this.handleBlur, onFocus: this.handleFocus }), h$3("small", { key: '0f6f7ba5e9ec6f492f22a46ac77c7977f7a8e835', class: 'password__error-message' }, this.errorMessage), this.passwordComplexity && this.showPopup && !this.isDuplicateInput && this.renderComplexityPopup());
39541
39500
  }
39542
39501
  get element() { return getElement(this); }
39543
39502
  static get watchers() { return {
39503
+ "clientStyling": ["handleStylingChange"],
39544
39504
  "isValid": ["validityChanged"],
39545
39505
  "value": ["valueChanged"],
39546
39506
  "emitValue": ["emitValueHandler"]
@@ -39568,6 +39528,10 @@ const RadioInput = class {
39568
39528
  this.stylingContainer.prepend(sheet);
39569
39529
  };
39570
39530
  }
39531
+ handleStylingChange(newValue, oldValue) {
39532
+ if (newValue !== oldValue)
39533
+ this.setClientStyling();
39534
+ }
39571
39535
  validityChanged() {
39572
39536
  this.validityStateHandler({ valid: this.isValid, name: this.name });
39573
39537
  if (this.emitValue == true) {
@@ -39621,10 +39585,11 @@ const RadioInput = class {
39621
39585
  return null;
39622
39586
  }
39623
39587
  render() {
39624
- return h$3("fieldset", { key: '3d90735f7dc8fef6a96dc85b8f9ba22880cb205f', class: `radio__fieldset ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("legend", { key: '9472ed76f5c7fabb90d2b3d39eeb9e18f05a30dd', class: 'radio__legend' }, this.displayName, ":"), this.optionsGroup.map(option => h$3("div", { class: 'radio__wrapper' }, h$3("input", { type: "radio", class: 'radio__input', id: `${option.label}__input`, ref: (el) => this.inputReference = el, value: option.value, name: this.name, required: this.validation.mandatory, onClick: (e) => this.handleClick(e) }), h$3("label", { htmlFor: `${option.label}__input` }, option.label))), h$3("small", { key: '2ae0947580bb8a0a3d889a2d9ebd0b82458fdfd2', class: 'radio__error-message' }, this.errorMessage), this.tooltip &&
39625
- h$3("img", { key: '4f3cbf341f1c559bbdf44ca5d169be7a64d46e97', class: 'radio__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip());
39588
+ return h$3("fieldset", { key: '29ff8fcc910622397750532629ac0c202c9726ba', class: `radio__fieldset ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("legend", { key: 'cdab5b331863f3d31aab50c1d95b5a8845d53329', class: 'radio__legend' }, this.displayName, ":"), this.optionsGroup.map(option => h$3("div", { class: 'radio__wrapper' }, h$3("input", { type: "radio", class: 'radio__input', id: `${option.label}__input`, ref: (el) => this.inputReference = el, value: option.value, name: this.name, required: this.validation.mandatory, onClick: (e) => this.handleClick(e) }), h$3("label", { htmlFor: `${option.label}__input` }, option.label))), h$3("small", { key: 'bd6cd89510e7ace1348b391f3ce9ba334a03e695', class: 'radio__error-message' }, this.errorMessage), this.tooltip &&
39589
+ h$3("img", { key: '27036c51c89612dbb87e5248355d3a5466c49705', class: 'radio__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip());
39626
39590
  }
39627
39591
  static get watchers() { return {
39592
+ "clientStyling": ["handleStylingChange"],
39628
39593
  "isValid": ["validityChanged"],
39629
39594
  "emitValue": ["emitValueHandler"]
39630
39595
  }; }
@@ -43910,7 +43875,6 @@ const ComboBoxMixin = (subclass) =>
43910
43875
  /**
43911
43876
  * Override LitElement lifecycle callback to handle filter property change.
43912
43877
  * @param {Object} props
43913
- * @protected
43914
43878
  */
43915
43879
  updated(props) {
43916
43880
  super.updated(props);
@@ -44632,7 +44596,7 @@ const ComboBoxMixin = (subclass) =>
44632
44596
  // Do not validate when focusout is caused by document
44633
44597
  // losing focus, which happens on browser tab switch.
44634
44598
  if (document.hasFocus()) {
44635
- this._requestValidation();
44599
+ this.validate();
44636
44600
  }
44637
44601
 
44638
44602
  if (this.value !== this._lastCommittedValue) {
@@ -45225,6 +45189,10 @@ const SelectInput = class {
45225
45189
  this.stylingContainer.prepend(sheet);
45226
45190
  };
45227
45191
  }
45192
+ handleStylingChange(newValue, oldValue) {
45193
+ if (newValue !== oldValue)
45194
+ this.setClientStyling();
45195
+ }
45228
45196
  validityChanged() {
45229
45197
  this.validityStateHandler({ valid: this.isValid, name: this.name });
45230
45198
  if (this.emitValue == true) {
@@ -45316,11 +45284,12 @@ const SelectInput = class {
45316
45284
  if (this.touched) {
45317
45285
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
45318
45286
  }
45319
- return h$3("div", { key: '3d298b9709617233adacd88b8acb7d6298d35627', class: `select__wrapper ${this.autofilled ? 'select__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("div", { key: '9ba53148a200b925da11ad0dea5589e9634ffb03', class: 'select__wrapper--flex' }, h$3("label", { key: 'eb2fa2233926ada4da750e47304325d0d7ea3985', class: 'select__label', htmlFor: `${this.name}__input` }, `${this.displayName} ${this.validation.mandatory ? '*' : ''}`), h$3("div", { key: '3cbe968f9a7c612d0b8d0517621a933cccd1bd58', class: 'select__wrapper--relative' }, this.tooltip &&
45320
- h$3("img", { key: '9fa9be645ed72897a95705b0e17b3aee855eb6d4', class: 'select__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$3("vaadin-combo-box", { key: 'f596a5fa5b480791080dfa63359ed30eeabfaa02', name: this.name, id: `${this.name}__input`, class: `select__input ${invalidClass} ${this.autofilled ? 'select__input--autofilled' : ''}`, "item-label-path": "label", "item-value-path": "value", readOnly: this.autofilled, required: this.validation.mandatory, value: this.defaultValue, placeholder: `${this.placeholder}`, items: this.displayedOptions, onChange: this.handleChange, onBlur: this.handleBlur }), h$3("small", { key: 'a9c652406489ba1d23497c55aa14e7b67fa701bd', class: 'select__error-message' }, this.errorMessage));
45287
+ return h$3("div", { key: 'f02c73635c87a1937f4718c9de8df3aae8397815', class: `select__wrapper ${this.autofilled ? 'select__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("div", { key: '26bf79a073dd4c84570e380b1f36bfe848fec568', class: 'select__wrapper--flex' }, h$3("label", { key: '6eaafabe58a2dd4e1604ac2e3d55d001e2c4bc7c', class: 'select__label', htmlFor: `${this.name}__input` }, `${this.displayName} ${this.validation.mandatory ? '*' : ''}`), h$3("div", { key: 'a1de9c4bd3dd4158b26004c6df9dca5915f73978', class: 'select__wrapper--relative' }, this.tooltip &&
45288
+ h$3("img", { key: '5cb869c82f53a463c91cd060fad5520d2fbc3d0d', class: 'select__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$3("vaadin-combo-box", { key: '2e94c1faa107657034a98d70b1e98d5c5ab5caa5', name: this.name, id: `${this.name}__input`, class: `select__input ${invalidClass} ${this.autofilled ? 'select__input--autofilled' : ''}`, "item-label-path": "label", "item-value-path": "value", readOnly: this.autofilled, required: this.validation.mandatory, value: this.defaultValue, placeholder: `${this.placeholder}`, items: this.displayedOptions, onChange: this.handleChange, onBlur: this.handleBlur }), h$3("small", { key: '2c8162576d30265ea49cdc6d99071f614d833d7e', class: 'select__error-message' }, this.errorMessage));
45321
45289
  }
45322
45290
  get element() { return getElement(this); }
45323
45291
  static get watchers() { return {
45292
+ "clientStyling": ["handleStylingChange"],
45324
45293
  "isValid": ["validityChanged"],
45325
45294
  "emitValue": ["emitValueHandler"]
45326
45295
  }; }
@@ -45367,6 +45336,10 @@ const TelInput = class {
45367
45336
  this.stylingContainer.prepend(sheet);
45368
45337
  };
45369
45338
  }
45339
+ handleStylingChange(newValue, oldValue) {
45340
+ if (newValue !== oldValue)
45341
+ this.setClientStyling();
45342
+ }
45370
45343
  validityChanged() {
45371
45344
  this.validityStateHandler({ valid: this.isValid, name: this.name });
45372
45345
  if (this.emitValue == true) {
@@ -45477,10 +45450,11 @@ const TelInput = class {
45477
45450
  if (this.touched) {
45478
45451
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
45479
45452
  }
45480
- return h$3("div", { key: '5febd36c339710683111039d477196daac87853c', class: `tel__wrapper ${this.autofilled ? 'tel__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("div", { key: 'fb779beee03992b23478ffcaac85095420048ceb', class: 'tel__wrapper--flex-label' }, h$3("label", { key: '5b69271c1c8bf403a003d765adb40a553e09466e', class: `tel__label ${this.validation.mandatory ? 'tel__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$3("div", { key: '040c487308231459fc92eba2e643a80639df09d6', class: 'tel__wrapper--relative' }, this.tooltip &&
45481
- h$3("img", { key: '91efd4656c718c75e5047413daf10c22c37e8f93', class: 'tel__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$3("div", { key: '6215f80b6bccb3dfb03dbbc485c850725633627c', class: `tel__wrapper--flex ${invalidClass}` }, h$3("vaadin-combo-box", { key: '3b7b1ef3415619c51d74f5fc7c5e034acb8f037f', class: 'tel__prefix', items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.autofilled, onChange: (e) => this.handlePrefixInput(e) }), h$3("input", { key: '886553206896c367ba96f015d81b44ea86f741ea', type: "tel", ref: (el) => this.inputReference = el, id: `${this.name}__input`, readOnly: this.autofilled, class: `tel__input`, value: this.phoneValue, placeholder: `${this.placeholder}`, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, pattern: this.validationPattern, onInput: this.handleInput, onBlur: this.handleBlur })), h$3("small", { key: 'd4c88d386c3342c789527d925e9cd061494b785c', class: 'tel__error-message' }, this.errorMessage));
45453
+ return h$3("div", { key: 'f0f70d8568ba083ee19f9e73e5921104f599e15f', class: `tel__wrapper ${this.autofilled ? 'tel__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("div", { key: '8da9e1c2a6b3ca19caff07540f0218266de22bb2', class: 'tel__wrapper--flex-label' }, h$3("label", { key: 'd0d90bc96e3ea853f401bae9be3f033d4cfd9b17', class: `tel__label ${this.validation.mandatory ? 'tel__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$3("div", { key: 'fdf7929f51edcbea8568b35804b0d9e9a93a7249', class: 'tel__wrapper--relative' }, this.tooltip &&
45454
+ h$3("img", { key: '0fbc9b5e8c5feef727caa71ef07d4ae80007e04a', class: 'tel__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$3("div", { key: 'b4a11808a7ae5e5cddce47b51a51003bce3a84f8', class: `tel__wrapper--flex ${invalidClass}` }, h$3("vaadin-combo-box", { key: '2d81ff4c11e559f302a8446816f4aca0de2cfcef', class: 'tel__prefix', items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.autofilled, onChange: (e) => this.handlePrefixInput(e) }), h$3("input", { key: 'ab52185589bf4d52205bad4cecc9c7ecb54cd409', type: "tel", ref: (el) => this.inputReference = el, id: `${this.name}__input`, readOnly: this.autofilled, class: `tel__input`, value: this.phoneValue, placeholder: `${this.placeholder}`, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, pattern: this.validationPattern, onInput: this.handleInput, onBlur: this.handleBlur })), h$3("small", { key: '6d219de32297bc2fab31995b5a33b14f2eea21d9', class: 'tel__error-message' }, this.errorMessage));
45482
45455
  }
45483
45456
  static get watchers() { return {
45457
+ "clientStyling": ["handleStylingChange"],
45484
45458
  "isValid": ["validityChanged"],
45485
45459
  "emitValue": ["emitValueHandler"]
45486
45460
  }; }
@@ -45536,6 +45510,10 @@ const TextInput = class {
45536
45510
  this.stylingContainer.prepend(sheet);
45537
45511
  };
45538
45512
  }
45513
+ handleStylingChange(newValue, oldValue) {
45514
+ if (newValue !== oldValue)
45515
+ this.setClientStyling();
45516
+ }
45539
45517
  validityChanged() {
45540
45518
  this.validityStateHandler({ valid: this.isValid, name: this.name });
45541
45519
  if (this.emitValue == true) {
@@ -45641,10 +45619,11 @@ const TextInput = class {
45641
45619
  if (this.touched) {
45642
45620
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
45643
45621
  }
45644
- return h$3("div", { key: 'bfb803110a70b89dd484e993c204b572f0115a17', class: `text__wrapper ${this.name}__input ${this.autofilled ? 'text__wrapper--autofilled' : ''}`, ref: el => this.stylingContainer = el }, h$3("div", { key: '6e9f8f5aada98821d5dc78ccb8b1431ba23b81ab', class: 'text__wrapper--flex' }, h$3("label", { key: '05cf07855121a79641475a5b020774cf8120d1ed', class: `text__label ${this.validation.mandatory ? 'text__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$3("div", { key: 'f8c48a999f6827a61ec392ce99858c19559c77d2', class: 'text__wrapper--relative' }, this.tooltip &&
45645
- h$3("img", { key: 'e866f1df104ce57c29164e73b4ad4d017c7201cd', class: 'text__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$3("input", { key: 'd761c265b1487fe73af54568b6da7fed82656b8d', name: this.name, id: `${this.name}__input`, value: this.defaultValue, type: 'text', class: `text__input ${invalidClass}`, placeholder: `${this.placeholder}`, ref: (el) => this.inputReference = el, readOnly: this.autofilled, pattern: this.validationPattern, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, onInput: this.handleInput, onBlur: this.handleBlur }), h$3("small", { key: '5c8df34dd47959eb1668cdf389524d145c69fa84', class: 'text__error-message' }, this.errorMessage));
45622
+ return h$3("div", { key: 'e297f841a57c6acf854535a786916aa641831556', class: `text__wrapper ${this.name}__input ${this.autofilled ? 'text__wrapper--autofilled' : ''}`, ref: el => this.stylingContainer = el }, h$3("div", { key: '7fd284a58e58d5c61a03caf4cc317b8dd9dbd82f', class: 'text__wrapper--flex' }, h$3("label", { key: 'f80a2003386ec867e5310190a7568105c2912569', class: `text__label ${this.validation.mandatory ? 'text__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$3("div", { key: 'e8f5197bd370100406d600be5a336f85f4c6934d', class: 'text__wrapper--relative' }, this.tooltip &&
45623
+ h$3("img", { key: 'ff8c38fe3495a41a41ac4a1569169ce26a1ec9ce', class: 'text__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$3("input", { key: '581106e515810ab43f7d6b6eda504ccf23906b0e', name: this.name, id: `${this.name}__input`, value: this.defaultValue, type: 'text', class: `text__input ${invalidClass}`, placeholder: `${this.placeholder}`, ref: (el) => this.inputReference = el, readOnly: this.autofilled, pattern: this.validationPattern, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, onInput: this.handleInput, onBlur: this.handleBlur }), h$3("small", { key: '20620710026982d5fb670a3173bab57a7fa9e7ce', class: 'text__error-message' }, this.errorMessage));
45646
45624
  }
45647
45625
  static get watchers() { return {
45626
+ "clientStyling": ["handleStylingChange"],
45648
45627
  "isValid": ["validityChanged"],
45649
45628
  "emitValue": ["emitValueHandler"]
45650
45629
  }; }
@@ -45677,6 +45656,10 @@ const ToggleCheckboxInput = class {
45677
45656
  this.stylingContainer.prepend(sheet);
45678
45657
  };
45679
45658
  }
45659
+ handleStylingChange(newValue, oldValue) {
45660
+ if (newValue !== oldValue)
45661
+ this.setClientStyling();
45662
+ }
45680
45663
  validityStateHandler(inputStateEvent) {
45681
45664
  this.sendValidityState.emit(inputStateEvent);
45682
45665
  }
@@ -45722,11 +45705,14 @@ const ToggleCheckboxInput = class {
45722
45705
  return null;
45723
45706
  }
45724
45707
  render() {
45725
- return h$3("div", { key: '8c8e9bb2ae7feadf3a5fc38b9913e38d7ccb9aed', class: `togglecheckbox__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("div", { key: '18e2ec43ff98738323ddab1e134d6d215978e1c7', class: 'togglecheckbox__wrapper--flex' }, h$3("input", { key: '640b3ba4fd34bd813239533236e51f452e735409', class: 'togglecheckbox__input', type: "checkbox", id: `${this.name}__input`, ref: (el) => this.checkboxReference = el, name: this.name, checked: this.defaultValue === "true", readOnly: this.autofilled, required: this.validation.mandatory, value: this.value, onClick: () => this.handleClick() }), this.renderLabel()), h$3("small", { key: 'efd70a691559cfa98e93561dd945a0fe92909718', class: 'togglecheckbox__error-message' }, this.errorMessage), h$3("div", { key: 'e56a8fafa17da25d01f894fe6e6c143c318d2aab', class: 'togglecheckbox__wrapper--relative' }, this.tooltip &&
45726
- h$3("img", { key: '8b59366827b8f4f8ca5581203a2dca44ae8132d5', class: 'togglecheckbox__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()), h$3("div", { key: '475e27345b51396c36e78b5a1e06edd980bc3ae1', class: `togglecheckbox__fields-wrapper ${this.showFields ? '' : 'hidden'}` }, this.options.map(subfield => {
45708
+ return h$3("div", { key: 'e8be91ce94cf76ebecc58a433ab567ab549f4692', class: `togglecheckbox__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("div", { key: 'dd42a6316cda06e357843165329de7525a24e3d5', class: 'togglecheckbox__wrapper--flex' }, h$3("input", { key: '932a6f8caeafa0d006f636484e33dda246c314d0', class: 'togglecheckbox__input', type: "checkbox", id: `${this.name}__input`, ref: (el) => this.checkboxReference = el, name: this.name, checked: this.defaultValue === "true", readOnly: this.autofilled, required: this.validation.mandatory, value: this.value, onClick: () => this.handleClick() }), this.renderLabel()), h$3("small", { key: 'cbc789c8a5c21debc05971ff347371fbc25d4975', class: 'togglecheckbox__error-message' }, this.errorMessage), h$3("div", { key: 'a5ce470c985829eb1f5a0567bb974cc15e3d0d64', class: 'togglecheckbox__wrapper--relative' }, this.tooltip &&
45709
+ h$3("img", { key: 'faef05dd9341ffe44b6833ca8f4c86b85ed61956', class: 'togglecheckbox__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()), h$3("div", { key: '89fed5f103acecca78fa53eea64d57574ef42727', class: `togglecheckbox__fields-wrapper ${this.showFields ? '' : 'hidden'}` }, this.options.map(subfield => {
45727
45710
  return h$3("general-input", { type: subfield.inputType, name: subfield.name, displayName: subfield.displayName, validation: subfield.validate, action: subfield.action || null, defaultValue: subfield.defaultValue, autofilled: subfield.autofill, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: subfield.tooltip, placeholder: subfield.placeholder == null ? '' : subfield.placeholder });
45728
45711
  })));
45729
45712
  }
45713
+ static get watchers() { return {
45714
+ "clientStyling": ["handleStylingChange"]
45715
+ }; }
45730
45716
  };
45731
45717
  ToggleCheckboxInput.style = ToggleCheckboxInputStyle0;
45732
45718