@everymatrix/general-input 1.56.0 → 1.56.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/dist/cjs/checkbox-group-input_10.cjs.entry.js +419 -380
  2. package/dist/cjs/general-input.cjs.entry.js +18 -17
  3. package/dist/cjs/general-input.cjs.js +3 -3
  4. package/dist/cjs/{index-a91d7bcb.js → index-bce82d29.js} +76 -211
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/toggle-checkbox-input.cjs.entry.js +25 -14
  7. package/dist/collection/collection-manifest.json +2 -2
  8. package/dist/collection/components/checkbox-group-input/checkbox-group-input.js +26 -35
  9. package/dist/collection/components/checkbox-input/checkbox-input.js +23 -31
  10. package/dist/collection/components/date-input/date-input.js +26 -37
  11. package/dist/collection/components/email-input/email-input.js +25 -31
  12. package/dist/collection/components/general-input/general-input.js +18 -51
  13. package/dist/collection/components/number-input/number-input.js +24 -29
  14. package/dist/collection/components/password-input/password-input.js +28 -36
  15. package/dist/collection/components/radio-input/radio-input.js +23 -26
  16. package/dist/collection/components/select-input/select-input.js +26 -41
  17. package/dist/collection/components/tel-input/tel-input.js +26 -33
  18. package/dist/collection/components/text-input/text-input.js +26 -38
  19. package/dist/collection/components/toggle-checkbox-input/toggle-checkbox-input.js +29 -35
  20. package/dist/esm/checkbox-group-input_10.entry.js +419 -380
  21. package/dist/esm/general-input.entry.js +18 -17
  22. package/dist/esm/general-input.js +4 -4
  23. package/dist/esm/{index-3bab966c.js → index-34f25346.js} +76 -211
  24. package/dist/esm/loader.js +3 -3
  25. package/dist/esm/toggle-checkbox-input.entry.js +25 -14
  26. package/dist/general-input/general-input.esm.js +1 -1
  27. package/dist/general-input/{p-a708ec0e.entry.js → p-063fdb7d.entry.js} +186 -188
  28. package/dist/general-input/p-261db8d1.entry.js +1 -0
  29. package/dist/general-input/p-8b2b0da7.js +2 -0
  30. package/dist/general-input/p-e2eb81ed.entry.js +1 -0
  31. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-input/.stencil/packages/stencil/general-input/stencil.config.d.ts +2 -0
  32. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-input/.stencil/packages/stencil/general-input/stencil.config.dev.d.ts +2 -0
  33. package/dist/types/components/checkbox-group-input/checkbox-group-input.d.ts +1 -0
  34. package/dist/types/components/checkbox-input/checkbox-input.d.ts +1 -0
  35. package/dist/types/components/date-input/date-input.d.ts +1 -0
  36. package/dist/types/components/email-input/email-input.d.ts +1 -0
  37. package/dist/types/components/number-input/number-input.d.ts +1 -0
  38. package/dist/types/components/password-input/password-input.d.ts +1 -0
  39. package/dist/types/components/radio-input/radio-input.d.ts +1 -0
  40. package/dist/types/components/select-input/select-input.d.ts +1 -0
  41. package/dist/types/components/tel-input/tel-input.d.ts +1 -0
  42. package/dist/types/components/text-input/text-input.d.ts +1 -0
  43. package/dist/types/components/toggle-checkbox-input/toggle-checkbox-input.d.ts +1 -0
  44. package/dist/types/stencil-public-runtime.d.ts +0 -6
  45. package/package.json +1 -1
  46. package/dist/general-input/p-5ab8d194.js +0 -2
  47. package/dist/general-input/p-8ce07665.entry.js +0 -1
  48. package/dist/general-input/p-9ad71153.entry.js +0 -1
  49. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-input/.stencil/packages/stencil/general-input/stencil.config.d.ts +0 -2
  50. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-input/.stencil/packages/stencil/general-input/stencil.config.dev.d.ts +0 -2
  51. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-input/.stencil/tools/plugins/index.d.ts +0 -0
  52. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-input/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  53. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-input/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  54. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-input/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-a91d7bcb.js');
5
+ const index = require('./index-bce82d29.js');
6
6
  const locale_utils = require('./locale.utils-345d0792.js');
7
7
  const tooltipIcon = require('./tooltipIcon-7e9ee226.js');
8
8
 
@@ -12,55 +12,13 @@ const tooltipIcon = require('./tooltipIcon-7e9ee226.js');
12
12
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
13
13
  */
14
14
 
15
- window.Vaadin ||= {};
16
- window.Vaadin.featureFlags ||= {};
17
-
18
- function dashToCamelCase$1(dash) {
19
- return dash.replace(/-[a-z]/gu, (m) => m[1].toUpperCase());
20
- }
21
-
22
- const experimentalMap = {};
23
-
24
- function defineCustomElement(CustomElement, version = '24.6.5') {
15
+ function defineCustomElement(CustomElement, version = '24.5.10') {
25
16
  Object.defineProperty(CustomElement, 'version', {
26
17
  get() {
27
18
  return version;
28
19
  },
29
20
  });
30
21
 
31
- if (CustomElement.experimental) {
32
- const featureFlagKey =
33
- typeof CustomElement.experimental === 'string'
34
- ? CustomElement.experimental
35
- : `${dashToCamelCase$1(CustomElement.is.split('-').slice(1).join('-'))}Component`;
36
-
37
- if (!window.Vaadin.featureFlags[featureFlagKey] && !experimentalMap[featureFlagKey]) {
38
- // Add setter to define experimental component when it's set to true
39
- experimentalMap[featureFlagKey] = new Set();
40
- experimentalMap[featureFlagKey].add(CustomElement);
41
-
42
- Object.defineProperty(window.Vaadin.featureFlags, featureFlagKey, {
43
- get() {
44
- return experimentalMap[featureFlagKey].size === 0;
45
- },
46
- set(value) {
47
- if (!!value && experimentalMap[featureFlagKey].size > 0) {
48
- experimentalMap[featureFlagKey].forEach((elementClass) => {
49
- customElements.define(elementClass.is, elementClass);
50
- });
51
- experimentalMap[featureFlagKey].clear();
52
- }
53
- },
54
- });
55
-
56
- return;
57
- } else if (experimentalMap[featureFlagKey]) {
58
- // Allow to register multiple components with single flag
59
- experimentalMap[featureFlagKey].add(CustomElement);
60
- return;
61
- }
62
- }
63
-
64
22
  const defined = customElements.get(CustomElement.is);
65
23
  if (!defined) {
66
24
  customElements.define(CustomElement.is, CustomElement);
@@ -809,7 +767,7 @@ registerStyles('', color, { moduleId: 'lumo-color' });
809
767
  const fontIcons = i$3`
810
768
  @font-face {
811
769
  font-family: 'lumo-icons';
812
- src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABHAAAsAAAAAI6AAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuNY21hcAAAAYgAAAD+AAADymne8hxnbHlmAAACiAAAC+gAABioIzlOlWhlYWQAAA5wAAAAMAAAADZa/6SsaGhlYQAADqAAAAAdAAAAJAbpA4BobXR4AAAOwAAAABAAAAC0q+AAAGxvY2EAAA7QAAAAXAAAAFyF7o1GbWF4cAAADywAAAAfAAAAIAFMAXBuYW1lAAAPTAAAATEAAAIuUUJZCHBvc3QAABCAAAABPQAAAgfdkltveJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+xDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mEO+p/FEMUcxDANKMwIkgMABvgMMAB4nO3SV26EMABF0UsZpjG9d6Y3FpgF5StLYxMTP16WEUvHV1gGIQzQAJKgDFKIfojQ+A6rUb2e0KnXU77qPanWq/LzCXOkOVyn9RyHvWl4YkaTFu1wX5ecHn0GDBkxZsKUGXMWLFmx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770
+ src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+yDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mIO+p/FEMUcxDANKMwIkgMABn8MLQB4nO3SWW6DMABF0UtwCEnIPM/zhLK8LqhfXRybSP14XUYtHV9hGYQwQBNIo3cUIPkhQeM7rib1ekqnXg981XuC1qvy84lzojleh3puxL0hPjGjRU473teloEefAUNGjJkwZcacBUtWrNmwZceeA0dOnLlw5cadB09elPGhGf+j0NTI/65KfXerT6JhqKnpRKtgOpuqaTrtKjPUlqHmhto21I7pL6i6hlqY3q7qGWrfUAeGOjTUkaGODXViqFNDnRnq3FAXhro01JWhrg11Y6hbQ90Z6t5QD4Z6NNSToZ4N9WKoV0O9GerdUB+G+jTUl6GWRvkL24BkEXictVh9bFvVFb/nxvbz+7Rf/N6zHcd2bCfP+Wic1Z9N0jpNHCD9SNqqoVBgbQoMjY+pjA4hNnWa2pV1rHSIif0DGkyT2k10Kmu1Cag6huj4ZpqYBHSqJsTEJgZCG3TaVBFv595nO3ZIv4RIrPPuvefe884599zzO/cRF8G/tgn6CFFImNgkR0ggX8wlspbhSSWSdrC5ozd30s2dw5af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kE3jWFdNLHLjW2PPmMa1Hxn3GjGW/wjT0HtOG09JU4WxLk9LH2ISuiv9twJn9y8fh9uIXI+BknAAAAHicbY7ZboMwEEW5CVBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
813
771
  format('woff');
814
772
  font-weight: normal;
815
773
  font-style: normal;
@@ -839,27 +797,25 @@ const fontIcons = i$3`
839
797
  --lumo-icons-cog: '\\ea15';
840
798
  --lumo-icons-cross: '\\ea16';
841
799
  --lumo-icons-download: '\\ea17';
842
- --lumo-icons-drag-handle: '\\ea18';
843
- --lumo-icons-dropdown: '\\ea19';
844
- --lumo-icons-edit: '\\ea1a';
845
- --lumo-icons-error: '\\ea1b';
846
- --lumo-icons-eye: '\\ea1c';
847
- --lumo-icons-eye-disabled: '\\ea1d';
848
- --lumo-icons-menu: '\\ea1e';
849
- --lumo-icons-minus: '\\ea1f';
850
- --lumo-icons-ordered-list: '\\ea20';
851
- --lumo-icons-phone: '\\ea21';
852
- --lumo-icons-photo: '\\ea22';
853
- --lumo-icons-play: '\\ea23';
854
- --lumo-icons-plus: '\\ea24';
855
- --lumo-icons-redo: '\\ea25';
856
- --lumo-icons-reload: '\\ea26';
857
- --lumo-icons-resize-handle: '\\ea27';
858
- --lumo-icons-search: '\\ea28';
859
- --lumo-icons-undo: '\\ea29';
860
- --lumo-icons-unordered-list: '\\ea2a';
861
- --lumo-icons-upload: '\\ea2b';
862
- --lumo-icons-user: '\\ea2c';
800
+ --lumo-icons-dropdown: '\\ea18';
801
+ --lumo-icons-edit: '\\ea19';
802
+ --lumo-icons-error: '\\ea1a';
803
+ --lumo-icons-eye: '\\ea1b';
804
+ --lumo-icons-eye-disabled: '\\ea1c';
805
+ --lumo-icons-menu: '\\ea1d';
806
+ --lumo-icons-minus: '\\ea1e';
807
+ --lumo-icons-ordered-list: '\\ea1f';
808
+ --lumo-icons-phone: '\\ea20';
809
+ --lumo-icons-photo: '\\ea21';
810
+ --lumo-icons-play: '\\ea22';
811
+ --lumo-icons-plus: '\\ea23';
812
+ --lumo-icons-redo: '\\ea24';
813
+ --lumo-icons-reload: '\\ea25';
814
+ --lumo-icons-search: '\\ea26';
815
+ --lumo-icons-undo: '\\ea27';
816
+ --lumo-icons-unordered-list: '\\ea28';
817
+ --lumo-icons-upload: '\\ea29';
818
+ --lumo-icons-user: '\\ea2a';
863
819
  }
864
820
  `;
865
821
 
@@ -11204,7 +11160,6 @@ const DisabledMixin = dedupingMixin(
11204
11160
  value: false,
11205
11161
  observer: '_disabledChanged',
11206
11162
  reflectToAttribute: true,
11207
- sync: true,
11208
11163
  },
11209
11164
  };
11210
11165
  }
@@ -12328,8 +12283,6 @@ const InputMixin = dedupingMixin(
12328
12283
  if (this.inputElement) {
12329
12284
  this.inputElement[this._inputElementValueProperty] = value;
12330
12285
  }
12331
-
12332
- this._hasInputValue = value && value.length > 0;
12333
12286
  }
12334
12287
 
12335
12288
  /**
@@ -12523,7 +12476,6 @@ const CheckedMixin = dedupingMixin(
12523
12476
  value: false,
12524
12477
  notify: true,
12525
12478
  reflectToAttribute: true,
12526
- sync: true,
12527
12479
  },
12528
12480
  };
12529
12481
  }
@@ -13559,22 +13511,6 @@ const ValidateMixin = dedupingMixin(
13559
13511
  value: false,
13560
13512
  },
13561
13513
 
13562
- /**
13563
- * Set to true to enable manual validation mode. This mode disables automatic
13564
- * constraint validation, allowing you to control the validation process yourself.
13565
- * You can still trigger constraint validation manually with the `validate()` method
13566
- * or use `checkValidity()` to assess the component's validity without affecting
13567
- * the invalid state. In manual validation mode, you can also manipulate
13568
- * the `invalid` property directly through your application logic without conflicts
13569
- * with the component's internal validation.
13570
- *
13571
- * @attr {boolean} manual-validation
13572
- */
13573
- manualValidation: {
13574
- type: Boolean,
13575
- value: false,
13576
- },
13577
-
13578
13514
  /**
13579
13515
  * Specifies that the user must fill in a value.
13580
13516
  */
@@ -13629,14 +13565,6 @@ const ValidateMixin = dedupingMixin(
13629
13565
  return true;
13630
13566
  }
13631
13567
 
13632
- /** @protected */
13633
- _requestValidation() {
13634
- if (!this.manualValidation) {
13635
- // eslint-disable-next-line no-restricted-syntax
13636
- this.validate();
13637
- }
13638
- }
13639
-
13640
13568
  /**
13641
13569
  * Fired whenever the field is validated.
13642
13570
  *
@@ -14159,14 +14087,14 @@ const CheckboxMixin = (superclass) =>
14159
14087
  // Do not validate when focusout is caused by document
14160
14088
  // losing focus, which happens on browser tab switch.
14161
14089
  if (!focused && document.hasFocus()) {
14162
- this._requestValidation();
14090
+ this.validate();
14163
14091
  }
14164
14092
  }
14165
14093
 
14166
14094
  /** @private */
14167
14095
  _checkedChanged(checked) {
14168
14096
  if (checked || this.__oldChecked) {
14169
- this._requestValidation();
14097
+ this.validate();
14170
14098
  }
14171
14099
 
14172
14100
  this.__oldChecked = checked;
@@ -14183,7 +14111,7 @@ const CheckboxMixin = (superclass) =>
14183
14111
  super._requiredChanged(required);
14184
14112
 
14185
14113
  if (required === false) {
14186
- this._requestValidation();
14114
+ this.validate();
14187
14115
  }
14188
14116
  }
14189
14117
 
@@ -14883,7 +14811,7 @@ const CheckboxGroupMixin = (superclass) =>
14883
14811
  });
14884
14812
 
14885
14813
  if (oldValue !== undefined) {
14886
- this._requestValidation();
14814
+ this.validate();
14887
14815
  }
14888
14816
  }
14889
14817
 
@@ -14923,7 +14851,7 @@ const CheckboxGroupMixin = (superclass) =>
14923
14851
  // Do not validate when focusout is caused by document
14924
14852
  // losing focus, which happens on browser tab switch.
14925
14853
  if (!focused && document.hasFocus()) {
14926
- this._requestValidation();
14854
+ this.validate();
14927
14855
  }
14928
14856
  }
14929
14857
  };
@@ -15063,23 +14991,31 @@ const CheckboxGroupInput = class {
15063
14991
  index.registerInstance(this, hostRef);
15064
14992
  this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
15065
14993
  this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
15066
- /**
15067
- * Default value for the input.
15068
- */
15069
- this.defaultValue = '';
15070
- /**
15071
- * Client custom styling via inline style
15072
- */
15073
- this.clientStyling = '';
15074
- this.limitStylingAppends = false;
15075
- this.showTooltip = false;
15076
- this.selectedValues = [];
15077
14994
  this.value = null;
15078
14995
  this.setClientStyling = () => {
15079
14996
  let sheet = document.createElement('style');
15080
14997
  sheet.innerHTML = this.clientStyling;
15081
14998
  this.stylingContainer.prepend(sheet);
15082
14999
  };
15000
+ this.name = undefined;
15001
+ this.displayName = undefined;
15002
+ this.defaultValue = '';
15003
+ this.autofilled = undefined;
15004
+ this.tooltip = undefined;
15005
+ this.options = undefined;
15006
+ this.validation = undefined;
15007
+ this.language = undefined;
15008
+ this.emitValue = undefined;
15009
+ this.clientStyling = '';
15010
+ this.errorMessage = undefined;
15011
+ this.isValid = undefined;
15012
+ this.limitStylingAppends = false;
15013
+ this.showTooltip = false;
15014
+ this.selectedValues = [];
15015
+ }
15016
+ handleStylingChange(newValue, oldValue) {
15017
+ if (newValue !== oldValue)
15018
+ this.setClientStyling();
15083
15019
  }
15084
15020
  validityChanged() {
15085
15021
  this.validityStateHandler({ valid: this.isValid, name: this.name });
@@ -15155,13 +15091,14 @@ const CheckboxGroupInput = class {
15155
15091
  return (index.h("label", { class: 'checkbox__label', htmlFor: `${this.name}__input`, slot: 'label' }, index.h("div", { class: 'checkbox__label-text', innerHTML: `${this.displayName} ${this.validation.mandatory ? '*' : ''}` })));
15156
15092
  }
15157
15093
  render() {
15158
- return index.h("div", { key: 'fa45026502fd8d46aa537aee03210ad68d30e577', class: `checkboxgroup__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("div", { key: '15ded4fd896920c6244806e49f300c124c27186d', class: 'checkboxgroup__wrapper--flex' }, index.h("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 &&
15159
- index.h("img", { key: 'aca39ed398415a6e2cef861be40dad33e0398759', class: 'checkboxgroup__tooltip-icon', src: tooltipIcon.tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()), index.h("small", { key: 'a1a6e1c3c02edcca572b8826ffba06835ca451c3', class: 'checkboxgroup__error-message' }, this.errorMessage), index.h("vaadin-checkbox-group", { key: '9f5f8a945e4ba13d7d0da6d362c15d00a7796b71', theme: "vertical", value: this.selectedValues, "on-value-changed": (event) => {
15094
+ return index.h("div", { key: 'c25b0a1ac187ea0abf1fe8c69d584eee00568177', class: `checkboxgroup__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("div", { key: 'daf512e7f98d20bae65e43ab869e45babc008e90', class: 'checkboxgroup__wrapper--flex' }, index.h("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 &&
15095
+ index.h("img", { key: 'ed4c3efd6b7e30ae0b68de11093b8faf2cb0a845', class: 'checkboxgroup__tooltip-icon', src: tooltipIcon.tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()), index.h("small", { key: '5b95c4059a2de898c04bf147e89c5a2ad035dddf', class: 'checkboxgroup__error-message' }, this.errorMessage), index.h("vaadin-checkbox-group", { key: '2b73ac73d52c6185358e50eda4c9706643f55384', theme: "vertical", value: this.selectedValues, "on-value-changed": (event) => {
15160
15096
  this.selectedValues = event.detail.value;
15161
15097
  } }, this.options.map((checkbox) => index.h("vaadin-checkbox", { class: 'checkbox__input', name: checkbox.name, value: checkbox.name, label: checkbox.displayName }))));
15162
15098
  }
15163
15099
  get element() { return index.getElement(this); }
15164
15100
  static get watchers() { return {
15101
+ "clientStyling": ["handleStylingChange"],
15165
15102
  "isValid": ["validityChanged"],
15166
15103
  "selectedValues": ["setValue"],
15167
15104
  "emitValue": ["emitValueHandler"]
@@ -15177,22 +15114,29 @@ const CheckboxInput = class {
15177
15114
  index.registerInstance(this, hostRef);
15178
15115
  this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
15179
15116
  this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
15180
- /**
15181
- * Default value for the input.
15182
- */
15183
- this.defaultValue = '';
15184
- /**
15185
- * Client custom styling via inline style
15186
- */
15187
- this.clientStyling = '';
15188
- this.limitStylingAppends = false;
15189
- this.showTooltip = false;
15190
15117
  this.value = '';
15191
15118
  this.setClientStyling = () => {
15192
15119
  let sheet = document.createElement('style');
15193
15120
  sheet.innerHTML = this.clientStyling;
15194
15121
  this.stylingContainer.prepend(sheet);
15195
15122
  };
15123
+ this.name = undefined;
15124
+ this.displayName = undefined;
15125
+ this.defaultValue = '';
15126
+ this.autofilled = undefined;
15127
+ this.tooltip = undefined;
15128
+ this.validation = undefined;
15129
+ this.language = undefined;
15130
+ this.emitValue = undefined;
15131
+ this.clientStyling = '';
15132
+ this.errorMessage = undefined;
15133
+ this.isValid = undefined;
15134
+ this.limitStylingAppends = false;
15135
+ this.showTooltip = false;
15136
+ }
15137
+ handleStylingChange(newValue, oldValue) {
15138
+ if (newValue !== oldValue)
15139
+ this.setClientStyling();
15196
15140
  }
15197
15141
  validityChanged() {
15198
15142
  this.validityStateHandler({ valid: this.isValid, name: this.name });
@@ -15256,10 +15200,11 @@ const CheckboxInput = class {
15256
15200
  return null;
15257
15201
  }
15258
15202
  render() {
15259
- return index.h("div", { key: '0aae00d291d1da02adae1bc91e79ccd579aa5c7f', class: `checkbox__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("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(), index.h("small", { key: '934263cb58a0d379e8b7dc1f5004ad7e61c63ce0', class: 'checkbox__error-message' }, this.errorMessage), index.h("div", { key: '88cc71329d88b6325d792226e64ff7f93e940178', class: 'checkbox__wrapper--relative' }, this.tooltip &&
15260
- index.h("img", { key: '3708dc613dc920bac6557f2a8020bbafd97d9127', class: 'checkbox__tooltip-icon', src: tooltipIcon.tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()));
15203
+ return index.h("div", { key: '8c80c955bb052558165a4c5b1020d0582ed0af36', class: `checkbox__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("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(), index.h("small", { key: 'd007d8c02dd014a363e2fcc1a0e8df6ffda34bcb', class: 'checkbox__error-message' }, this.errorMessage), index.h("div", { key: 'c511c07684173359663d4907371efb82289f0433', class: 'checkbox__wrapper--relative' }, this.tooltip &&
15204
+ index.h("img", { key: 'dd263ce86efd89f34078f3cc24729f43f40e89a6', class: 'checkbox__tooltip-icon', src: tooltipIcon.tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()));
15261
15205
  }
15262
15206
  static get watchers() { return {
15207
+ "clientStyling": ["handleStylingChange"],
15263
15208
  "isValid": ["validityChanged"],
15264
15209
  "emitValue": ["emitValueHandler"]
15265
15210
  }; }
@@ -17601,7 +17546,6 @@ const OverlayMixin = (superClass) =>
17601
17546
  notify: true,
17602
17547
  observer: '_openedChanged',
17603
17548
  reflectToAttribute: true,
17604
- sync: true,
17605
17549
  },
17606
17550
 
17607
17551
  /**
@@ -17610,7 +17554,6 @@ const OverlayMixin = (superClass) =>
17610
17554
  */
17611
17555
  owner: {
17612
17556
  type: Object,
17613
- sync: true,
17614
17557
  },
17615
17558
 
17616
17559
  /**
@@ -17618,7 +17561,6 @@ const OverlayMixin = (superClass) =>
17618
17561
  */
17619
17562
  model: {
17620
17563
  type: Object,
17621
- sync: true,
17622
17564
  },
17623
17565
 
17624
17566
  /**
@@ -17632,7 +17574,6 @@ const OverlayMixin = (superClass) =>
17632
17574
  */
17633
17575
  renderer: {
17634
17576
  type: Object,
17635
- sync: true,
17636
17577
  },
17637
17578
 
17638
17579
  /**
@@ -17645,7 +17586,6 @@ const OverlayMixin = (superClass) =>
17645
17586
  value: false,
17646
17587
  reflectToAttribute: true,
17647
17588
  observer: '_modelessChanged',
17648
- sync: true,
17649
17589
  },
17650
17590
 
17651
17591
  /**
@@ -17657,7 +17597,6 @@ const OverlayMixin = (superClass) =>
17657
17597
  type: Boolean,
17658
17598
  reflectToAttribute: true,
17659
17599
  observer: '_hiddenChanged',
17660
- sync: true,
17661
17600
  },
17662
17601
 
17663
17602
  /**
@@ -17668,7 +17607,6 @@ const OverlayMixin = (superClass) =>
17668
17607
  type: Boolean,
17669
17608
  value: false,
17670
17609
  reflectToAttribute: true,
17671
- sync: true,
17672
17610
  },
17673
17611
  };
17674
17612
  }
@@ -19497,21 +19435,6 @@ class InfiniteScroller extends HTMLElement {
19497
19435
  }
19498
19436
  }
19499
19437
 
19500
- /** @protected */
19501
- disconnectedCallback() {
19502
- if (this._debouncerScrollFinish) {
19503
- this._debouncerScrollFinish.cancel();
19504
- }
19505
-
19506
- if (this._debouncerUpdateClones) {
19507
- this._debouncerUpdateClones.cancel();
19508
- }
19509
-
19510
- if (this.__pendingFinishInit) {
19511
- cancelAnimationFrame(this.__pendingFinishInit);
19512
- }
19513
- }
19514
-
19515
19438
  /**
19516
19439
  * Force the scroller to update clones after a reset, without
19517
19440
  * waiting for the debouncer to resolve.
@@ -19659,9 +19582,8 @@ class InfiniteScroller extends HTMLElement {
19659
19582
  }
19660
19583
  });
19661
19584
 
19662
- this.__pendingFinishInit = requestAnimationFrame(() => {
19585
+ requestAnimationFrame(() => {
19663
19586
  this._finishInit();
19664
- this.__pendingFinishInit = null;
19665
19587
  });
19666
19588
  }
19667
19589
 
@@ -19676,10 +19598,6 @@ class InfiniteScroller extends HTMLElement {
19676
19598
  itemWrapper.instance = this._createElement();
19677
19599
  itemWrapper.appendChild(itemWrapper.instance);
19678
19600
 
19679
- if (itemWrapper.instance.performUpdate) {
19680
- itemWrapper.instance.performUpdate();
19681
- }
19682
-
19683
19601
  Object.keys(tmpInstance).forEach((prop) => {
19684
19602
  itemWrapper.instance[prop] = tmpInstance[prop];
19685
19603
  });
@@ -21697,10 +21615,6 @@ const MonthCalendarMixin = (superClass) =>
21697
21615
  value: () => false,
21698
21616
  },
21699
21617
 
21700
- enteredDate: {
21701
- type: Date,
21702
- },
21703
-
21704
21618
  disabled: {
21705
21619
  type: Boolean,
21706
21620
  reflectToAttribute: true,
@@ -21720,11 +21634,6 @@ const MonthCalendarMixin = (superClass) =>
21720
21634
  _notTapping: {
21721
21635
  type: Boolean,
21722
21636
  },
21723
-
21724
- /** @private */
21725
- __hasFocus: {
21726
- type: Boolean,
21727
- },
21728
21637
  };
21729
21638
  }
21730
21639
 
@@ -21744,12 +21653,6 @@ const MonthCalendarMixin = (superClass) =>
21744
21653
  addListener(this.$.monthGrid, 'tap', this._handleTap.bind(this));
21745
21654
  }
21746
21655
 
21747
- /** @override */
21748
- _setFocused(focused) {
21749
- super._setFocused(focused);
21750
- this.__hasFocus = focused;
21751
- }
21752
-
21753
21656
  /**
21754
21657
  * Returns true if all the dates in the month are out of the allowed range
21755
21658
  * @protected
@@ -22045,7 +21948,7 @@ class MonthCalendar extends MonthCalendarMixin(ThemableMixin(PolymerElement)) {
22045
21948
  <template is="dom-repeat" items="[[week]]">
22046
21949
  <td
22047
21950
  role="gridcell"
22048
- part$="[[__getDatePart(item, focusedDate, selectedDate, minDate, maxDate, isDateDisabled, enteredDate, __hasFocus)]]"
21951
+ part$="[[__getDatePart(item, focusedDate, selectedDate, minDate, maxDate, isDateDisabled)]]"
22049
21952
  date="[[item]]"
22050
21953
  tabindex$="[[__getDayTabindex(item, focusedDate)]]"
22051
21954
  disabled$="[[__isDayDisabled(item, minDate, maxDate, isDateDisabled)]]"
@@ -22103,7 +22006,7 @@ class MonthCalendar extends MonthCalendarMixin(ThemableMixin(PolymerElement)) {
22103
22006
 
22104
22007
  /** @private */
22105
22008
  // eslint-disable-next-line @typescript-eslint/max-params
22106
- __getDatePart(date, focusedDate, selectedDate, minDate, maxDate, isDateDisabled, enteredDate, hasFocus) {
22009
+ __getDatePart(date, focusedDate, selectedDate, minDate, maxDate, isDateDisabled) {
22107
22010
  const result = ['date'];
22108
22011
  const greaterThanToday = date > normalizeDate(new Date());
22109
22012
  const lessThanToday = date < normalizeDate(new Date());
@@ -22112,7 +22015,7 @@ class MonthCalendar extends MonthCalendarMixin(ThemableMixin(PolymerElement)) {
22112
22015
  result.push('disabled');
22113
22016
  }
22114
22017
 
22115
- if (dateEquals(date, focusedDate) && (hasFocus || dateEquals(date, enteredDate))) {
22018
+ if (this.__isDayFocused(date, focusedDate)) {
22116
22019
  result.push('focused');
22117
22020
  }
22118
22021
 
@@ -22135,6 +22038,11 @@ class MonthCalendar extends MonthCalendarMixin(ThemableMixin(PolymerElement)) {
22135
22038
  return result.join(' ');
22136
22039
  }
22137
22040
 
22041
+ /** @private */
22042
+ __isDayFocused(date, focusedDate) {
22043
+ return dateEquals(date, focusedDate);
22044
+ }
22045
+
22138
22046
  /** @private */
22139
22047
  __isDaySelected(date, selectedDate) {
22140
22048
  return dateEquals(date, selectedDate);
@@ -22165,7 +22073,11 @@ class MonthCalendar extends MonthCalendarMixin(ThemableMixin(PolymerElement)) {
22165
22073
 
22166
22074
  /** @private */
22167
22075
  __getDayTabindex(date, focusedDate) {
22168
- return dateEquals(date, focusedDate) ? '0' : '-1';
22076
+ if (this.__isDayFocused(date, focusedDate)) {
22077
+ return '0';
22078
+ }
22079
+
22080
+ return '-1';
22169
22081
  }
22170
22082
  }
22171
22083
 
@@ -22284,7 +22196,6 @@ const DatePickerOverlayContentMixin = (superClass) =>
22284
22196
  initialPosition: {
22285
22197
  type: Object,
22286
22198
  observer: '_initialPositionChanged',
22287
- sync: true,
22288
22199
  },
22289
22200
 
22290
22201
  _originDate: {
@@ -22352,11 +22263,6 @@ const DatePickerOverlayContentMixin = (superClass) =>
22352
22263
  type: Function,
22353
22264
  },
22354
22265
 
22355
- enteredDate: {
22356
- type: Date,
22357
- sync: true,
22358
- },
22359
-
22360
22266
  /**
22361
22267
  * Input label
22362
22268
  */
@@ -22384,7 +22290,7 @@ const DatePickerOverlayContentMixin = (superClass) =>
22384
22290
 
22385
22291
  static get observers() {
22386
22292
  return [
22387
- '__updateCalendars(calendars, i18n, minDate, maxDate, selectedDate, focusedDate, showWeekNumbers, _ignoreTaps, _theme, isDateDisabled, enteredDate)',
22293
+ '__updateCalendars(calendars, i18n, minDate, maxDate, selectedDate, focusedDate, showWeekNumbers, _ignoreTaps, _theme, isDateDisabled)',
22388
22294
  '__updateCancelButton(_cancelButton, i18n)',
22389
22295
  '__updateTodayButton(_todayButton, i18n, minDate, maxDate, isDateDisabled)',
22390
22296
  '__updateYears(years, selectedDate, _theme)',
@@ -22572,7 +22478,6 @@ const DatePickerOverlayContentMixin = (superClass) =>
22572
22478
  ignoreTaps,
22573
22479
  theme,
22574
22480
  isDateDisabled,
22575
- enteredDate,
22576
22481
  ) {
22577
22482
  if (calendars && calendars.length) {
22578
22483
  calendars.forEach((calendar) => {
@@ -22584,7 +22489,6 @@ const DatePickerOverlayContentMixin = (superClass) =>
22584
22489
  calendar.selectedDate = selectedDate;
22585
22490
  calendar.showWeekNumbers = showWeekNumbers;
22586
22491
  calendar.ignoreTaps = ignoreTaps;
22587
- calendar.enteredDate = enteredDate;
22588
22492
 
22589
22493
  if (theme) {
22590
22494
  calendar.setAttribute('theme', theme);
@@ -23693,8 +23597,8 @@ const InputConstraintsMixin = dedupingMixin(
23693
23597
  const isLastConstraintRemoved = this.__previousHasConstraints && !hasConstraints;
23694
23598
 
23695
23599
  if ((this._hasValue || this.invalid) && hasConstraints) {
23696
- this._requestValidation();
23697
- } else if (isLastConstraintRemoved && !this.manualValidation) {
23600
+ this.validate();
23601
+ } else if (isLastConstraintRemoved) {
23698
23602
  this._setInvalid(false);
23699
23603
  }
23700
23604
 
@@ -23712,7 +23616,7 @@ const InputConstraintsMixin = dedupingMixin(
23712
23616
  _onChange(event) {
23713
23617
  event.stopPropagation();
23714
23618
 
23715
- this._requestValidation();
23619
+ this.validate();
23716
23620
 
23717
23621
  this.dispatchEvent(
23718
23622
  new CustomEvent('change', {
@@ -23855,6 +23759,30 @@ const InputControlMixin = (superclass) =>
23855
23759
  }
23856
23760
  }
23857
23761
 
23762
+ /**
23763
+ * Override an event listener inherited from `InputMixin`
23764
+ * to capture native `change` event and make sure that
23765
+ * a new one is dispatched after validation runs.
23766
+ * @param {Event} event
23767
+ * @protected
23768
+ * @override
23769
+ */
23770
+ _onChange(event) {
23771
+ event.stopPropagation();
23772
+
23773
+ this.validate();
23774
+
23775
+ this.dispatchEvent(
23776
+ new CustomEvent('change', {
23777
+ detail: {
23778
+ sourceEvent: event,
23779
+ },
23780
+ bubbles: event.bubbles,
23781
+ cancelable: event.cancelable,
23782
+ }),
23783
+ );
23784
+ }
23785
+
23858
23786
  /**
23859
23787
  * Override a method from `InputMixin`.
23860
23788
  * @param {!HTMLElement} input
@@ -24190,62 +24118,6 @@ class VirtualKeyboardController {
24190
24118
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
24191
24119
  */
24192
24120
 
24193
- const datePickerI18nDefaults = Object.freeze({
24194
- monthNames: [
24195
- 'January',
24196
- 'February',
24197
- 'March',
24198
- 'April',
24199
- 'May',
24200
- 'June',
24201
- 'July',
24202
- 'August',
24203
- 'September',
24204
- 'October',
24205
- 'November',
24206
- 'December',
24207
- ],
24208
- weekdays: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
24209
- weekdaysShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
24210
- firstDayOfWeek: 0,
24211
- today: 'Today',
24212
- cancel: 'Cancel',
24213
- referenceDate: '',
24214
- formatDate(d) {
24215
- const yearStr = String(d.year).replace(/\d+/u, (y) => '0000'.substr(y.length) + y);
24216
- return [d.month + 1, d.day, yearStr].join('/');
24217
- },
24218
- parseDate(text) {
24219
- const parts = text.split('/');
24220
- const today = new Date();
24221
- let date,
24222
- month = today.getMonth(),
24223
- year = today.getFullYear();
24224
-
24225
- if (parts.length === 3) {
24226
- month = parseInt(parts[0]) - 1;
24227
- date = parseInt(parts[1]);
24228
- year = parseInt(parts[2]);
24229
- if (parts[2].length < 3 && year >= 0) {
24230
- const usedReferenceDate = this.referenceDate ? parseDate(this.referenceDate) : new Date();
24231
- year = getAdjustedYear(usedReferenceDate, year, month, date);
24232
- }
24233
- } else if (parts.length === 2) {
24234
- month = parseInt(parts[0]) - 1;
24235
- date = parseInt(parts[1]);
24236
- } else if (parts.length === 1) {
24237
- date = parseInt(parts[0]);
24238
- }
24239
-
24240
- if (date !== undefined) {
24241
- return { day: date, month, year };
24242
- }
24243
- },
24244
- formatTitle: (monthName, fullYear) => {
24245
- return `${monthName} ${fullYear}`;
24246
- },
24247
- });
24248
-
24249
24121
  /**
24250
24122
  * @polymerMixin
24251
24123
  * @mixes ControllerMixin
@@ -24319,10 +24191,7 @@ const DatePickerMixin = (subclass) =>
24319
24191
  * Set true to prevent the overlay from opening automatically.
24320
24192
  * @attr {boolean} auto-open-disabled
24321
24193
  */
24322
- autoOpenDisabled: {
24323
- type: Boolean,
24324
- sync: true,
24325
- },
24194
+ autoOpenDisabled: Boolean,
24326
24195
 
24327
24196
  /**
24328
24197
  * Set true to display ISO-8601 week numbers in the calendar. Notice that
@@ -24443,7 +24312,63 @@ const DatePickerMixin = (subclass) =>
24443
24312
  i18n: {
24444
24313
  type: Object,
24445
24314
  sync: true,
24446
- value: () => ({ ...datePickerI18nDefaults }),
24315
+ value: () => {
24316
+ return {
24317
+ monthNames: [
24318
+ 'January',
24319
+ 'February',
24320
+ 'March',
24321
+ 'April',
24322
+ 'May',
24323
+ 'June',
24324
+ 'July',
24325
+ 'August',
24326
+ 'September',
24327
+ 'October',
24328
+ 'November',
24329
+ 'December',
24330
+ ],
24331
+ weekdays: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
24332
+ weekdaysShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
24333
+ firstDayOfWeek: 0,
24334
+ today: 'Today',
24335
+ cancel: 'Cancel',
24336
+ referenceDate: '',
24337
+ formatDate(d) {
24338
+ const yearStr = String(d.year).replace(/\d+/u, (y) => '0000'.substr(y.length) + y);
24339
+ return [d.month + 1, d.day, yearStr].join('/');
24340
+ },
24341
+ parseDate(text) {
24342
+ const parts = text.split('/');
24343
+ const today = new Date();
24344
+ let date,
24345
+ month = today.getMonth(),
24346
+ year = today.getFullYear();
24347
+
24348
+ if (parts.length === 3) {
24349
+ month = parseInt(parts[0]) - 1;
24350
+ date = parseInt(parts[1]);
24351
+ year = parseInt(parts[2]);
24352
+ if (parts[2].length < 3 && year >= 0) {
24353
+ const usedReferenceDate = this.referenceDate ? parseDate(this.referenceDate) : new Date();
24354
+ year = getAdjustedYear(usedReferenceDate, year, month, date);
24355
+ }
24356
+ } else if (parts.length === 2) {
24357
+ month = parseInt(parts[0]) - 1;
24358
+ date = parseInt(parts[1]);
24359
+ } else if (parts.length === 1) {
24360
+ date = parseInt(parts[0]);
24361
+ }
24362
+
24363
+ if (date !== undefined) {
24364
+ return { day: date, month, year };
24365
+ }
24366
+ },
24367
+ formatTitle: (monthName, fullYear) => {
24368
+ return `${monthName} ${fullYear}`;
24369
+ },
24370
+ };
24371
+ },
24447
24372
  },
24448
24373
 
24449
24374
  /**
@@ -24528,10 +24453,18 @@ const DatePickerMixin = (subclass) =>
24528
24453
  sync: true,
24529
24454
  },
24530
24455
 
24531
- /** @private */
24532
- __enteredDate: {
24533
- type: Date,
24534
- sync: true,
24456
+ /**
24457
+ * In date-picker, unlike other components extending `InputMixin`,
24458
+ * the property indicates true only if the input has been entered by the user.
24459
+ * In the case of programmatic changes, the property is reset to false.
24460
+ * Read more about why this workaround is needed:
24461
+ * https://github.com/vaadin/web-components/issues/5639
24462
+ *
24463
+ * @protected
24464
+ * @override
24465
+ */
24466
+ _hasInputValue: {
24467
+ type: Boolean,
24535
24468
  },
24536
24469
  };
24537
24470
  }
@@ -24540,7 +24473,7 @@ const DatePickerMixin = (subclass) =>
24540
24473
  return [
24541
24474
  '_selectedDateChanged(_selectedDate, i18n)',
24542
24475
  '_focusedDateChanged(_focusedDate, i18n)',
24543
- '__updateOverlayContent(_overlayContent, i18n, label, _minDate, _maxDate, _focusedDate, _selectedDate, showWeekNumbers, isDateDisabled, __enteredDate)',
24476
+ '__updateOverlayContent(_overlayContent, i18n, label, _minDate, _maxDate, _focusedDate, _selectedDate, showWeekNumbers, isDateDisabled)',
24544
24477
  '__updateOverlayContentTheme(_overlayContent, _theme)',
24545
24478
  '__updateOverlayContentFullScreen(_overlayContent, _fullscreen)',
24546
24479
  ];
@@ -24558,17 +24491,28 @@ const DatePickerMixin = (subclass) =>
24558
24491
  this._boundOverlayRenderer = this._overlayRenderer.bind(this);
24559
24492
  }
24560
24493
 
24561
- /** @override */
24494
+ /**
24495
+ * @override
24496
+ * @protected
24497
+ */
24562
24498
  get _inputElementValue() {
24563
24499
  return super._inputElementValue;
24564
24500
  }
24565
24501
 
24566
- /** @override */
24502
+ /**
24503
+ * The setter is overridden to reset the `_hasInputValue` property
24504
+ * to false when the input element's value is updated programmatically.
24505
+ * In date-picker, `_hasInputValue` is supposed to indicate true only
24506
+ * if the input has been entered by the user.
24507
+ * Read more about why this workaround is needed:
24508
+ * https://github.com/vaadin/web-components/issues/5639
24509
+ *
24510
+ * @override
24511
+ * @protected
24512
+ */
24567
24513
  set _inputElementValue(value) {
24568
24514
  super._inputElementValue = value;
24569
-
24570
- const parsedDate = this.__parseDate(value);
24571
- this.__setEnteredDate(parsedDate);
24515
+ this._hasInputValue = false;
24572
24516
  }
24573
24517
 
24574
24518
  /**
@@ -24630,7 +24574,7 @@ const DatePickerMixin = (subclass) =>
24630
24574
  // Do not validate when focusout is caused by document
24631
24575
  // losing focus, which happens on browser tab switch.
24632
24576
  if (document.hasFocus()) {
24633
- this._requestValidation();
24577
+ this.validate();
24634
24578
  }
24635
24579
  }
24636
24580
  }
@@ -24775,8 +24719,13 @@ const DatePickerMixin = (subclass) =>
24775
24719
  !this._selectedDate || dateAllowed(this._selectedDate, this._minDate, this._maxDate, this.isDateDisabled);
24776
24720
 
24777
24721
  let inputValidity = true;
24778
- if (this.inputElement && this.inputElement.checkValidity) {
24779
- inputValidity = this.inputElement.checkValidity();
24722
+ if (this.inputElement) {
24723
+ if (this.inputElement.checkValidity) {
24724
+ inputValidity = this.inputElement.checkValidity();
24725
+ } else if (this.inputElement.validate) {
24726
+ // Iron-form-elements have the validate API
24727
+ inputValidity = this.inputElement.validate();
24728
+ }
24780
24729
  }
24781
24730
 
24782
24731
  return inputValid && isDateValid && inputValidity;
@@ -24863,10 +24812,10 @@ const DatePickerMixin = (subclass) =>
24863
24812
  const unparsableValue = this.__unparsableValue;
24864
24813
 
24865
24814
  if (this.__committedValue !== this.value) {
24866
- this._requestValidation();
24815
+ this.validate();
24867
24816
  this.dispatchEvent(new CustomEvent('change', { bubbles: true }));
24868
24817
  } else if (this.__committedUnparsableValue !== unparsableValue) {
24869
- this._requestValidation();
24818
+ this.validate();
24870
24819
  this.dispatchEvent(new CustomEvent('unparsable-change'));
24871
24820
  }
24872
24821
 
@@ -24995,7 +24944,7 @@ const DatePickerMixin = (subclass) =>
24995
24944
 
24996
24945
  if (oldValue !== undefined) {
24997
24946
  // Validate only if `value` changes after initialization.
24998
- this._requestValidation();
24947
+ this.validate();
24999
24948
  }
25000
24949
  }
25001
24950
  } else {
@@ -25022,7 +24971,6 @@ const DatePickerMixin = (subclass) =>
25022
24971
  selectedDate,
25023
24972
  showWeekNumbers,
25024
24973
  isDateDisabled,
25025
- enteredDate,
25026
24974
  ) {
25027
24975
  if (overlayContent) {
25028
24976
  overlayContent.i18n = i18n;
@@ -25033,7 +24981,6 @@ const DatePickerMixin = (subclass) =>
25033
24981
  overlayContent.selectedDate = selectedDate;
25034
24982
  overlayContent.showWeekNumbers = showWeekNumbers;
25035
24983
  overlayContent.isDateDisabled = isDateDisabled;
25036
- overlayContent.enteredDate = enteredDate;
25037
24984
  }
25038
24985
  }
25039
24986
 
@@ -25163,7 +25110,7 @@ const DatePickerMixin = (subclass) =>
25163
25110
  // Needed in case the value was not changed: open and close dropdown,
25164
25111
  // especially on outside click. On Esc key press, do not validate.
25165
25112
  if (!this.value && !this._keyboardActive) {
25166
- this._requestValidation();
25113
+ this.validate();
25167
25114
  }
25168
25115
  }
25169
25116
 
@@ -25355,32 +25302,15 @@ const DatePickerMixin = (subclass) =>
25355
25302
  this.open();
25356
25303
  }
25357
25304
 
25358
- const parsedDate = this.__parseDate(this._inputElementValue || '');
25359
- if (parsedDate) {
25360
- this._ignoreFocusedDateChange = true;
25361
- if (!dateEquals(parsedDate, this._focusedDate)) {
25362
- this._focusedDate = parsedDate;
25363
- }
25364
- this._ignoreFocusedDateChange = false;
25365
- }
25366
-
25367
- this.__setEnteredDate(parsedDate);
25368
- }
25369
-
25370
- /**
25371
- * @param {Date} date
25372
- * @private
25373
- */
25374
- __setEnteredDate(date) {
25375
- if (date) {
25376
- if (!dateEquals(this.__enteredDate, date)) {
25377
- this.__enteredDate = date;
25305
+ if (this._inputElementValue) {
25306
+ const parsedDate = this.__parseDate(this._inputElementValue);
25307
+ if (parsedDate) {
25308
+ this._ignoreFocusedDateChange = true;
25309
+ if (!dateEquals(parsedDate, this._focusedDate)) {
25310
+ this._focusedDate = parsedDate;
25311
+ }
25312
+ this._ignoreFocusedDateChange = false;
25378
25313
  }
25379
- } else if (this.__enteredDate != null) {
25380
- // Do not override initial undefined value with null
25381
- // to avoid triggering a Lit update that can cause
25382
- // other scheduled properties to flush too early.
25383
- this.__enteredDate = null;
25384
25314
  }
25385
25315
  }
25386
25316
 
@@ -25664,7 +25594,6 @@ class DatePicker extends DatePickerMixin(InputControlMixin(ThemableMixin(Element
25664
25594
 
25665
25595
  /** @private */
25666
25596
  _onVaadinOverlayClose(e) {
25667
- // Prevent closing the overlay on label element click
25668
25597
  if (e.detail.sourceEvent && e.detail.sourceEvent.composedPath().includes(this)) {
25669
25598
  e.preventDefault();
25670
25599
  }
@@ -30769,16 +30698,6 @@ const DateInput = class {
30769
30698
  index.registerInstance(this, hostRef);
30770
30699
  this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
30771
30700
  this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
30772
- /**
30773
- * Client custom styling via inline style
30774
- */
30775
- this.clientStyling = '';
30776
- /**
30777
- * Emit event on click
30778
- */
30779
- this.emitOnClick = false;
30780
- this.limitStylingAppends = false;
30781
- this.showTooltip = false;
30782
30701
  this.touched = false;
30783
30702
  this.formatDate = (dateParts) => {
30784
30703
  const { year, month, day } = dateParts;
@@ -30799,6 +30718,26 @@ const DateInput = class {
30799
30718
  sheet.innerHTML = this.clientStyling;
30800
30719
  this.stylingContainer.prepend(sheet);
30801
30720
  };
30721
+ this.name = undefined;
30722
+ this.displayName = undefined;
30723
+ this.placeholder = undefined;
30724
+ this.validation = undefined;
30725
+ this.defaultValue = undefined;
30726
+ this.autofilled = undefined;
30727
+ this.tooltip = undefined;
30728
+ this.language = undefined;
30729
+ this.emitValue = undefined;
30730
+ this.clientStyling = '';
30731
+ this.dateFormat = undefined;
30732
+ this.emitOnClick = false;
30733
+ this.errorMessage = undefined;
30734
+ this.isValid = undefined;
30735
+ this.limitStylingAppends = false;
30736
+ this.showTooltip = false;
30737
+ }
30738
+ handleStylingChange(newValue, oldValue) {
30739
+ if (newValue !== oldValue)
30740
+ this.setClientStyling();
30802
30741
  }
30803
30742
  validityChanged() {
30804
30743
  this.validityStateHandler({ valid: this.isValid, name: this.name });
@@ -30896,11 +30835,12 @@ const DateInput = class {
30896
30835
  if (this.touched) {
30897
30836
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
30898
30837
  }
30899
- return index.h("div", { key: 'fc9cd0a618c7b6e62962c0800399a470fffa1fc4', class: `date__wrapper ${this.autofilled ? 'date__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("label", { key: 'abc7c1715dd2d0c60dd2ac6d028355de910be501', class: `date__label ${this.validation.mandatory ? 'date__label--required' : ''}}`, htmlFor: `${this.name}__input` }, this.displayName, " ", this.validation.mandatory ? '*' : ''), index.h("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 }), index.h("small", { key: 'd802ea7b25a64802aca3a7491107fcee7af2a23c', class: 'date__error-message' }, this.errorMessage), this.tooltip &&
30900
- index.h("img", { key: '46edd200a9ce9eba27414a6434c6b3d5e9dc9964', class: 'date__tooltip-icon', src: tooltipIcon.tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip());
30838
+ return index.h("div", { key: 'ad6360e0afb065a91f860574f5e3c08f5bdb2534', class: `date__wrapper ${this.autofilled ? 'date__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("label", { key: '3e8d26e0c8ae0983997b84e95cb34887df1f5fe5', class: `date__label ${this.validation.mandatory ? 'date__label--required' : ''}}`, htmlFor: `${this.name}__input` }, this.displayName, " ", this.validation.mandatory ? '*' : ''), index.h("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 }), index.h("small", { key: '6b7c0e9c3437b484bd534060f93ad4fcd9eaeb60', class: 'date__error-message' }, this.errorMessage), this.tooltip &&
30839
+ index.h("img", { key: '6479b29563710abfe1be584c9de110fafe69ca3d', class: 'date__tooltip-icon', src: tooltipIcon.tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip());
30901
30840
  }
30902
30841
  get element() { return index.getElement(this); }
30903
30842
  static get watchers() { return {
30843
+ "clientStyling": ["handleStylingChange"],
30904
30844
  "isValid": ["validityChanged"],
30905
30845
  "emitValue": ["emitValueHandler"]
30906
30846
  }; }
@@ -30915,12 +30855,6 @@ const EmailInput = class {
30915
30855
  index.registerInstance(this, hostRef);
30916
30856
  this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
30917
30857
  this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
30918
- /**
30919
- * Client custom styling via inline style
30920
- */
30921
- this.clientStyling = '';
30922
- this.limitStylingAppends = false;
30923
- this.showTooltip = false;
30924
30858
  this.validationPattern = '';
30925
30859
  this.touched = false;
30926
30860
  this.handleInput = (event) => {
@@ -30945,6 +30879,25 @@ const EmailInput = class {
30945
30879
  sheet.innerHTML = this.clientStyling;
30946
30880
  this.stylingContainer.prepend(sheet);
30947
30881
  };
30882
+ this.name = undefined;
30883
+ this.displayName = undefined;
30884
+ this.placeholder = undefined;
30885
+ this.validation = undefined;
30886
+ this.defaultValue = undefined;
30887
+ this.autofilled = undefined;
30888
+ this.tooltip = undefined;
30889
+ this.language = undefined;
30890
+ this.emitValue = undefined;
30891
+ this.isDuplicateInput = undefined;
30892
+ this.clientStyling = '';
30893
+ this.errorMessage = undefined;
30894
+ this.isValid = undefined;
30895
+ this.limitStylingAppends = false;
30896
+ this.showTooltip = false;
30897
+ }
30898
+ handleStylingChange(newValue, oldValue) {
30899
+ if (newValue !== oldValue)
30900
+ this.setClientStyling();
30948
30901
  }
30949
30902
  validityChanged() {
30950
30903
  this.validityStateHandler({ valid: this.isValid, name: this.name });
@@ -31034,10 +30987,11 @@ const EmailInput = class {
31034
30987
  if (this.touched) {
31035
30988
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
31036
30989
  }
31037
- return index.h("div", { key: '23ac67984ab7a0f4db01e5fe01f4f326b4c6a912', class: `email__wrapper ${this.autofilled ? 'number__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("div", { key: 'aa2405e435aea20f1678dd74776a8ce4094bc95b', class: 'email__wrapper--flex' }, index.h("label", { key: '970b83bbcf082d1721c1647993fecd076939b65d', class: `email__label ${this.validation.mandatory ? 'email__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), index.h("div", { key: '2f03eaf161aab9b45282c1bc0de15bea8455427c', class: 'email__wrapper--relative' }, this.tooltip &&
31038
- index.h("img", { key: '3c34b91f0b478cf04f5aabc5fdd33a8ed73d091b', class: 'email__tooltip-icon', src: tooltipIcon.tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), index.h("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 }), index.h("small", { key: 'edb6660d958cc5d0cb41b0db195bd7e847ecbefe', class: 'email__error-message' }, this.errorMessage));
30990
+ return index.h("div", { key: 'a46093cfafc840d2fd563ee9676ccd2f16fb1620', class: `email__wrapper ${this.autofilled ? 'number__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("div", { key: '2eab4a96efc36cdb94e9f92b2a161e208f0ebcd4', class: 'email__wrapper--flex' }, index.h("label", { key: 'f5ed857f61ea6763c5fe88590732258b4dedac1b', class: `email__label ${this.validation.mandatory ? 'email__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), index.h("div", { key: '58cadc7857cd91dec968852be71e0108f55fbda7', class: 'email__wrapper--relative' }, this.tooltip &&
30991
+ index.h("img", { key: '03009d036fde1c36b9348ac45cefa3389194260c', class: 'email__tooltip-icon', src: tooltipIcon.tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), index.h("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 }), index.h("small", { key: 'edb17f53141a3406bfc657f80098b914044a8894', class: 'email__error-message' }, this.errorMessage));
31039
30992
  }
31040
30993
  static get watchers() { return {
30994
+ "clientStyling": ["handleStylingChange"],
31041
30995
  "isValid": ["validityChanged"],
31042
30996
  "emitValue": ["emitValueHandler"]
31043
30997
  }; }
@@ -31052,12 +31006,6 @@ const NumberInput = class {
31052
31006
  index.registerInstance(this, hostRef);
31053
31007
  this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
31054
31008
  this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
31055
- /**
31056
- * Client custom styling via inline style
31057
- */
31058
- this.clientStyling = '';
31059
- this.limitStylingAppends = false;
31060
- this.showTooltip = false;
31061
31009
  this.validationPattern = '';
31062
31010
  this.touched = false;
31063
31011
  this.handleInput = (event) => {
@@ -31082,6 +31030,24 @@ const NumberInput = class {
31082
31030
  sheet.innerHTML = this.clientStyling;
31083
31031
  this.stylingContainer.prepend(sheet);
31084
31032
  };
31033
+ this.name = undefined;
31034
+ this.displayName = undefined;
31035
+ this.placeholder = undefined;
31036
+ this.validation = undefined;
31037
+ this.defaultValue = undefined;
31038
+ this.autofilled = undefined;
31039
+ this.tooltip = undefined;
31040
+ this.language = undefined;
31041
+ this.emitValue = undefined;
31042
+ this.clientStyling = '';
31043
+ this.errorMessage = undefined;
31044
+ this.isValid = undefined;
31045
+ this.limitStylingAppends = false;
31046
+ this.showTooltip = false;
31047
+ }
31048
+ handleStylingChange(newValue, oldValue) {
31049
+ if (newValue !== oldValue)
31050
+ this.setClientStyling();
31085
31051
  }
31086
31052
  validityChanged() {
31087
31053
  this.validityStateHandler({ valid: this.isValid, name: this.name });
@@ -31159,10 +31125,11 @@ const NumberInput = class {
31159
31125
  if (this.touched) {
31160
31126
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
31161
31127
  }
31162
- return index.h("div", { key: '2032f77ca52b330ae2e8f484d7a0aba60ee7b9d5', class: `number__wrapper ${this.autofilled ? 'number__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("div", { key: '0786901cd928bba86597180f058bff43fba522b6', class: 'number__wrapper--flex' }, index.h("label", { key: 'ff7f39306cef7aeba3e0e4508df03c5a945e748b', class: `number__label ${this.validation.mandatory ? 'number__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), index.h("div", { key: 'dced91223621551472fee374d56f1ad7476f4191', class: 'number__wrapper--relative' }, this.tooltip &&
31163
- index.h("img", { key: 'a804a983e342e4d117126720a32c4c34a2b267dc', class: 'number__tooltip-icon', src: tooltipIcon.tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), index.h("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 }), index.h("small", { key: 'ca11558b5704b69311626736ab84a298449b98d7', class: 'number__error-message' }, this.errorMessage));
31128
+ return index.h("div", { key: '841265bba6b75cc61a0eac1450c3f5aa5f917a2e', class: `number__wrapper ${this.autofilled ? 'number__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("div", { key: '645c7817cf5a0bdc352de9d8c0698fde235aa6d3', class: 'number__wrapper--flex' }, index.h("label", { key: '3343cbbb8482b71cd152161a8d422f318f07f3fe', class: `number__label ${this.validation.mandatory ? 'number__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), index.h("div", { key: '1f3341b2127095870610fc0e0b4b5d220c5d2e2c', class: 'number__wrapper--relative' }, this.tooltip &&
31129
+ index.h("img", { key: '8bbe2fe9f62347cbcd37b753d4a1b0718dc39091', class: 'number__tooltip-icon', src: tooltipIcon.tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), index.h("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 }), index.h("small", { key: 'db1e0043bb9b6de2ad8e18f49f96152b9451b93c', class: 'number__error-message' }, this.errorMessage));
31164
31130
  }
31165
31131
  static get watchers() { return {
31132
+ "clientStyling": ["handleStylingChange"],
31166
31133
  "isValid": ["validityChanged"],
31167
31134
  "emitValue": ["emitValueHandler"]
31168
31135
  }; }
@@ -31277,7 +31244,7 @@ const InputFieldMixin = (superclass) =>
31277
31244
  // Do not validate when focusout is caused by document
31278
31245
  // losing focus, which happens on browser tab switch.
31279
31246
  if (!focused && document.hasFocus()) {
31280
- this._requestValidation();
31247
+ this.validate();
31281
31248
  }
31282
31249
  }
31283
31250
 
@@ -31292,7 +31259,7 @@ const InputFieldMixin = (superclass) =>
31292
31259
  super._onInput(event);
31293
31260
 
31294
31261
  if (this.invalid) {
31295
- this._requestValidation();
31262
+ this.validate();
31296
31263
  }
31297
31264
  }
31298
31265
 
@@ -31313,7 +31280,7 @@ const InputFieldMixin = (superclass) =>
31313
31280
  }
31314
31281
 
31315
31282
  if (this.invalid) {
31316
- this._requestValidation();
31283
+ this.validate();
31317
31284
  }
31318
31285
  }
31319
31286
  };
@@ -31507,6 +31474,24 @@ class TextField extends TextFieldMixin(ThemableMixin(ElementMixin(PolymerElement
31507
31474
  `;
31508
31475
  }
31509
31476
 
31477
+ static get properties() {
31478
+ return {
31479
+ /**
31480
+ * Maximum number of characters (in Unicode code points) that the user can enter.
31481
+ */
31482
+ maxlength: {
31483
+ type: Number,
31484
+ },
31485
+
31486
+ /**
31487
+ * Minimum number of characters (in Unicode code points) that the user can enter.
31488
+ */
31489
+ minlength: {
31490
+ type: Number,
31491
+ },
31492
+ };
31493
+ }
31494
+
31510
31495
  /** @protected */
31511
31496
  ready() {
31512
31497
  super.ready();
@@ -31947,17 +31932,6 @@ const PasswordInput = class {
31947
31932
  this.sendOriginalValidityState = index.createEvent(this, "sendOriginalValidityState", 7);
31948
31933
  this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
31949
31934
  this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
31950
- /**
31951
- * Default value for the input.
31952
- */
31953
- this.defaultValue = '';
31954
- /**
31955
- * Client custom styling via inline style
31956
- */
31957
- this.clientStyling = '';
31958
- this.limitStylingAppends = false;
31959
- this.showTooltip = false;
31960
- this.value = '';
31961
31935
  this.touched = false;
31962
31936
  this.originalValid = false;
31963
31937
  this.validationPattern = '';
@@ -31996,6 +31970,28 @@ const PasswordInput = class {
31996
31970
  sheet.innerHTML = this.clientStyling;
31997
31971
  this.stylingContainer.prepend(sheet);
31998
31972
  };
31973
+ this.name = undefined;
31974
+ this.displayName = undefined;
31975
+ this.placeholder = undefined;
31976
+ this.defaultValue = '';
31977
+ this.autofilled = undefined;
31978
+ this.tooltip = undefined;
31979
+ this.validation = undefined;
31980
+ this.language = undefined;
31981
+ this.emitValue = undefined;
31982
+ this.isDuplicateInput = undefined;
31983
+ this.clientStyling = '';
31984
+ this.isValid = undefined;
31985
+ this.errorMessage = undefined;
31986
+ this.limitStylingAppends = false;
31987
+ this.showTooltip = false;
31988
+ this.passwordComplexity = undefined;
31989
+ this.showPopup = undefined;
31990
+ this.value = '';
31991
+ }
31992
+ handleStylingChange(newValue, oldValue) {
31993
+ if (newValue !== oldValue)
31994
+ this.setClientStyling();
31999
31995
  }
32000
31996
  validityChanged() {
32001
31997
  this.validityStateHandler({ valid: this.isValid, name: this.name });
@@ -32155,11 +32151,12 @@ const PasswordInput = class {
32155
32151
  if (this.touched) {
32156
32152
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
32157
32153
  }
32158
- return index.h("div", { key: 'c704b51efdf53817beb1541b4794e0b11b490a24', class: `password__wrapper ${this.autofilled ? 'password__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("div", { key: 'e590afa403084ff95a8735ade400ab81ad16937f', class: 'password__wrapper--flex' }, index.h("label", { key: '9d8db00b59c4b9594538aeacee3ef5a0e678c0e9', class: `password__label ${this.validation.mandatory ? 'password__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), index.h("div", { key: 'bb39f6018cf688fafcd0b5bef91ba079edf09daf', class: 'password__wrapper--relative' }, this.tooltip &&
32159
- index.h("img", { key: 'd8dbd086da34a8c7db9b5826654530bdb888c927', class: 'password__tooltip-icon', src: tooltipIcon.tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), index.h("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 }), index.h("small", { key: '2fa1e25239a7314399c16b2f897873b7a31e9f77', class: 'password__error-message' }, this.errorMessage), this.passwordComplexity && this.showPopup && !this.isDuplicateInput && this.renderComplexityPopup());
32154
+ return index.h("div", { key: '36d21c63dcd15b6de2d2de417ce97b520493cd16', class: `password__wrapper ${this.autofilled ? 'password__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("div", { key: '3de600f4ccbf2ffe7a8a8858e9d5a483701dd4d7', class: 'password__wrapper--flex' }, index.h("label", { key: '74fee343f4d6adbbb22e88c5d51d3a471979d42e', class: `password__label ${this.validation.mandatory ? 'password__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), index.h("div", { key: 'd1f30d776c5612b1a5581859b929bee171105bf5', class: 'password__wrapper--relative' }, this.tooltip &&
32155
+ index.h("img", { key: '932201990b5fa67f448d4ab8ca7f844f757d5e47', class: 'password__tooltip-icon', src: tooltipIcon.tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), index.h("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 }), index.h("small", { key: '0f6f7ba5e9ec6f492f22a46ac77c7977f7a8e835', class: 'password__error-message' }, this.errorMessage), this.passwordComplexity && this.showPopup && !this.isDuplicateInput && this.renderComplexityPopup());
32160
32156
  }
32161
32157
  get element() { return index.getElement(this); }
32162
32158
  static get watchers() { return {
32159
+ "clientStyling": ["handleStylingChange"],
32163
32160
  "isValid": ["validityChanged"],
32164
32161
  "value": ["valueChanged"],
32165
32162
  "emitValue": ["emitValueHandler"]
@@ -32175,17 +32172,27 @@ const RadioInput = class {
32175
32172
  index.registerInstance(this, hostRef);
32176
32173
  this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
32177
32174
  this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
32178
- /**
32179
- * Client custom styling via inline style
32180
- */
32181
- this.clientStyling = '';
32182
- this.limitStylingAppends = false;
32183
- this.showTooltip = false;
32184
32175
  this.setClientStyling = () => {
32185
32176
  let sheet = document.createElement('style');
32186
32177
  sheet.innerHTML = this.clientStyling;
32187
32178
  this.stylingContainer.prepend(sheet);
32188
32179
  };
32180
+ this.name = undefined;
32181
+ this.displayName = undefined;
32182
+ this.optionsGroup = undefined;
32183
+ this.validation = undefined;
32184
+ this.tooltip = undefined;
32185
+ this.language = undefined;
32186
+ this.emitValue = undefined;
32187
+ this.clientStyling = '';
32188
+ this.errorMessage = undefined;
32189
+ this.isValid = undefined;
32190
+ this.limitStylingAppends = false;
32191
+ this.showTooltip = false;
32192
+ }
32193
+ handleStylingChange(newValue, oldValue) {
32194
+ if (newValue !== oldValue)
32195
+ this.setClientStyling();
32189
32196
  }
32190
32197
  validityChanged() {
32191
32198
  this.validityStateHandler({ valid: this.isValid, name: this.name });
@@ -32240,10 +32247,11 @@ const RadioInput = class {
32240
32247
  return null;
32241
32248
  }
32242
32249
  render() {
32243
- return index.h("fieldset", { key: '3d90735f7dc8fef6a96dc85b8f9ba22880cb205f', class: `radio__fieldset ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("legend", { key: '9472ed76f5c7fabb90d2b3d39eeb9e18f05a30dd', class: 'radio__legend' }, this.displayName, ":"), this.optionsGroup.map(option => index.h("div", { class: 'radio__wrapper' }, index.h("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) }), index.h("label", { htmlFor: `${option.label}__input` }, option.label))), index.h("small", { key: '2ae0947580bb8a0a3d889a2d9ebd0b82458fdfd2', class: 'radio__error-message' }, this.errorMessage), this.tooltip &&
32244
- index.h("img", { key: '4f3cbf341f1c559bbdf44ca5d169be7a64d46e97', class: 'radio__tooltip-icon', src: tooltipIcon.tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip());
32250
+ return index.h("fieldset", { key: '29ff8fcc910622397750532629ac0c202c9726ba', class: `radio__fieldset ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("legend", { key: 'cdab5b331863f3d31aab50c1d95b5a8845d53329', class: 'radio__legend' }, this.displayName, ":"), this.optionsGroup.map(option => index.h("div", { class: 'radio__wrapper' }, index.h("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) }), index.h("label", { htmlFor: `${option.label}__input` }, option.label))), index.h("small", { key: 'bd6cd89510e7ace1348b391f3ce9ba334a03e695', class: 'radio__error-message' }, this.errorMessage), this.tooltip &&
32251
+ index.h("img", { key: '27036c51c89612dbb87e5248355d3a5466c49705', class: 'radio__tooltip-icon', src: tooltipIcon.tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip());
32245
32252
  }
32246
32253
  static get watchers() { return {
32254
+ "clientStyling": ["handleStylingChange"],
32247
32255
  "isValid": ["validityChanged"],
32248
32256
  "emitValue": ["emitValueHandler"]
32249
32257
  }; }
@@ -36529,7 +36537,6 @@ const ComboBoxMixin = (subclass) =>
36529
36537
  /**
36530
36538
  * Override LitElement lifecycle callback to handle filter property change.
36531
36539
  * @param {Object} props
36532
- * @protected
36533
36540
  */
36534
36541
  updated(props) {
36535
36542
  super.updated(props);
@@ -37251,7 +37258,7 @@ const ComboBoxMixin = (subclass) =>
37251
37258
  // Do not validate when focusout is caused by document
37252
37259
  // losing focus, which happens on browser tab switch.
37253
37260
  if (document.hasFocus()) {
37254
- this._requestValidation();
37261
+ this.validate();
37255
37262
  }
37256
37263
 
37257
37264
  if (this.value !== this._lastCommittedValue) {
@@ -37801,20 +37808,6 @@ const SelectInput = class {
37801
37808
  index.registerInstance(this, hostRef);
37802
37809
  this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
37803
37810
  this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
37804
- /**
37805
- * Default value for the input.
37806
- */
37807
- this.defaultValue = '';
37808
- /**
37809
- * Options of the input.
37810
- */
37811
- this.options = [];
37812
- /**
37813
- * Client custom styling via inline style
37814
- */
37815
- this.clientStyling = '';
37816
- this.limitStylingAppends = false;
37817
- this.showTooltip = false;
37818
37811
  this.touched = false;
37819
37812
  this.handleChange = (event) => {
37820
37813
  this.touched = true;
@@ -37843,6 +37836,26 @@ const SelectInput = class {
37843
37836
  sheet.innerHTML = this.clientStyling;
37844
37837
  this.stylingContainer.prepend(sheet);
37845
37838
  };
37839
+ this.name = undefined;
37840
+ this.displayName = undefined;
37841
+ this.placeholder = undefined;
37842
+ this.action = undefined;
37843
+ this.defaultValue = '';
37844
+ this.autofilled = undefined;
37845
+ this.tooltip = undefined;
37846
+ this.options = [];
37847
+ this.validation = undefined;
37848
+ this.language = undefined;
37849
+ this.emitValue = undefined;
37850
+ this.clientStyling = '';
37851
+ this.errorMessage = undefined;
37852
+ this.isValid = undefined;
37853
+ this.limitStylingAppends = false;
37854
+ this.showTooltip = false;
37855
+ }
37856
+ handleStylingChange(newValue, oldValue) {
37857
+ if (newValue !== oldValue)
37858
+ this.setClientStyling();
37846
37859
  }
37847
37860
  validityChanged() {
37848
37861
  this.validityStateHandler({ valid: this.isValid, name: this.name });
@@ -37935,11 +37948,12 @@ const SelectInput = class {
37935
37948
  if (this.touched) {
37936
37949
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
37937
37950
  }
37938
- return index.h("div", { key: '3d298b9709617233adacd88b8acb7d6298d35627', class: `select__wrapper ${this.autofilled ? 'select__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("div", { key: '9ba53148a200b925da11ad0dea5589e9634ffb03', class: 'select__wrapper--flex' }, index.h("label", { key: 'eb2fa2233926ada4da750e47304325d0d7ea3985', class: 'select__label', htmlFor: `${this.name}__input` }, `${this.displayName} ${this.validation.mandatory ? '*' : ''}`), index.h("div", { key: '3cbe968f9a7c612d0b8d0517621a933cccd1bd58', class: 'select__wrapper--relative' }, this.tooltip &&
37939
- index.h("img", { key: '9fa9be645ed72897a95705b0e17b3aee855eb6d4', class: 'select__tooltip-icon', src: tooltipIcon.tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), index.h("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 }), index.h("small", { key: 'a9c652406489ba1d23497c55aa14e7b67fa701bd', class: 'select__error-message' }, this.errorMessage));
37951
+ return index.h("div", { key: 'f02c73635c87a1937f4718c9de8df3aae8397815', class: `select__wrapper ${this.autofilled ? 'select__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("div", { key: '26bf79a073dd4c84570e380b1f36bfe848fec568', class: 'select__wrapper--flex' }, index.h("label", { key: '6eaafabe58a2dd4e1604ac2e3d55d001e2c4bc7c', class: 'select__label', htmlFor: `${this.name}__input` }, `${this.displayName} ${this.validation.mandatory ? '*' : ''}`), index.h("div", { key: 'a1de9c4bd3dd4158b26004c6df9dca5915f73978', class: 'select__wrapper--relative' }, this.tooltip &&
37952
+ index.h("img", { key: '5cb869c82f53a463c91cd060fad5520d2fbc3d0d', class: 'select__tooltip-icon', src: tooltipIcon.tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), index.h("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 }), index.h("small", { key: '2c8162576d30265ea49cdc6d99071f614d833d7e', class: 'select__error-message' }, this.errorMessage));
37940
37953
  }
37941
37954
  get element() { return index.getElement(this); }
37942
37955
  static get watchers() { return {
37956
+ "clientStyling": ["handleStylingChange"],
37943
37957
  "isValid": ["validityChanged"],
37944
37958
  "emitValue": ["emitValueHandler"]
37945
37959
  }; }
@@ -37954,12 +37968,6 @@ const TelInput = class {
37954
37968
  index.registerInstance(this, hostRef);
37955
37969
  this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
37956
37970
  this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
37957
- /**
37958
- * Client custom styling via inline style
37959
- */
37960
- this.clientStyling = '';
37961
- this.limitStylingAppends = false;
37962
- this.showTooltip = false;
37963
37971
  this.validationPattern = '';
37964
37972
  this.touched = false;
37965
37973
  this.handleInput = (event) => {
@@ -37985,6 +37993,26 @@ const TelInput = class {
37985
37993
  sheet.innerHTML = this.clientStyling;
37986
37994
  this.stylingContainer.prepend(sheet);
37987
37995
  };
37996
+ this.name = undefined;
37997
+ this.displayName = undefined;
37998
+ this.placeholder = undefined;
37999
+ this.showLabels = undefined;
38000
+ this.action = undefined;
38001
+ this.validation = undefined;
38002
+ this.defaultValue = undefined;
38003
+ this.autofilled = undefined;
38004
+ this.tooltip = undefined;
38005
+ this.language = undefined;
38006
+ this.emitValue = undefined;
38007
+ this.clientStyling = '';
38008
+ this.isValid = undefined;
38009
+ this.errorMessage = undefined;
38010
+ this.limitStylingAppends = false;
38011
+ this.showTooltip = false;
38012
+ }
38013
+ handleStylingChange(newValue, oldValue) {
38014
+ if (newValue !== oldValue)
38015
+ this.setClientStyling();
37988
38016
  }
37989
38017
  validityChanged() {
37990
38018
  this.validityStateHandler({ valid: this.isValid, name: this.name });
@@ -38096,10 +38124,11 @@ const TelInput = class {
38096
38124
  if (this.touched) {
38097
38125
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
38098
38126
  }
38099
- return index.h("div", { key: '5febd36c339710683111039d477196daac87853c', class: `tel__wrapper ${this.autofilled ? 'tel__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("div", { key: 'fb779beee03992b23478ffcaac85095420048ceb', class: 'tel__wrapper--flex-label' }, index.h("label", { key: '5b69271c1c8bf403a003d765adb40a553e09466e', class: `tel__label ${this.validation.mandatory ? 'tel__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), index.h("div", { key: '040c487308231459fc92eba2e643a80639df09d6', class: 'tel__wrapper--relative' }, this.tooltip &&
38100
- index.h("img", { key: '91efd4656c718c75e5047413daf10c22c37e8f93', class: 'tel__tooltip-icon', src: tooltipIcon.tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), index.h("div", { key: '6215f80b6bccb3dfb03dbbc485c850725633627c', class: `tel__wrapper--flex ${invalidClass}` }, index.h("vaadin-combo-box", { key: '3b7b1ef3415619c51d74f5fc7c5e034acb8f037f', class: 'tel__prefix', items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.autofilled, onChange: (e) => this.handlePrefixInput(e) }), index.h("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 })), index.h("small", { key: 'd4c88d386c3342c789527d925e9cd061494b785c', class: 'tel__error-message' }, this.errorMessage));
38127
+ return index.h("div", { key: 'f0f70d8568ba083ee19f9e73e5921104f599e15f', class: `tel__wrapper ${this.autofilled ? 'tel__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("div", { key: '8da9e1c2a6b3ca19caff07540f0218266de22bb2', class: 'tel__wrapper--flex-label' }, index.h("label", { key: 'd0d90bc96e3ea853f401bae9be3f033d4cfd9b17', class: `tel__label ${this.validation.mandatory ? 'tel__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), index.h("div", { key: 'fdf7929f51edcbea8568b35804b0d9e9a93a7249', class: 'tel__wrapper--relative' }, this.tooltip &&
38128
+ index.h("img", { key: '0fbc9b5e8c5feef727caa71ef07d4ae80007e04a', class: 'tel__tooltip-icon', src: tooltipIcon.tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), index.h("div", { key: 'b4a11808a7ae5e5cddce47b51a51003bce3a84f8', class: `tel__wrapper--flex ${invalidClass}` }, index.h("vaadin-combo-box", { key: '2d81ff4c11e559f302a8446816f4aca0de2cfcef', class: 'tel__prefix', items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.autofilled, onChange: (e) => this.handlePrefixInput(e) }), index.h("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 })), index.h("small", { key: '6d219de32297bc2fab31995b5a33b14f2eea21d9', class: 'tel__error-message' }, this.errorMessage));
38101
38129
  }
38102
38130
  static get watchers() { return {
38131
+ "clientStyling": ["handleStylingChange"],
38103
38132
  "isValid": ["validityChanged"],
38104
38133
  "emitValue": ["emitValueHandler"]
38105
38134
  }; }
@@ -38114,17 +38143,6 @@ const TextInput = class {
38114
38143
  index.registerInstance(this, hostRef);
38115
38144
  this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
38116
38145
  this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
38117
- /**
38118
- * Default value for the input.
38119
- */
38120
- this.defaultValue = '';
38121
- /**
38122
- * Client custom styling via inline style
38123
- */
38124
- this.clientStyling = '';
38125
- this.errorMessage = '';
38126
- this.limitStylingAppends = false;
38127
- this.showTooltip = false;
38128
38146
  this.value = '';
38129
38147
  this.validationPattern = '';
38130
38148
  this.duplicateInputValue = null;
@@ -38154,6 +38172,26 @@ const TextInput = class {
38154
38172
  sheet.innerHTML = this.clientStyling;
38155
38173
  this.stylingContainer.prepend(sheet);
38156
38174
  };
38175
+ this.name = undefined;
38176
+ this.displayName = undefined;
38177
+ this.placeholder = undefined;
38178
+ this.validation = undefined;
38179
+ this.defaultValue = '';
38180
+ this.autofilled = undefined;
38181
+ this.tooltip = undefined;
38182
+ this.language = undefined;
38183
+ this.checkValidity = undefined;
38184
+ this.emitValue = undefined;
38185
+ this.isDuplicateInput = undefined;
38186
+ this.clientStyling = '';
38187
+ this.isValid = undefined;
38188
+ this.errorMessage = '';
38189
+ this.limitStylingAppends = false;
38190
+ this.showTooltip = false;
38191
+ }
38192
+ handleStylingChange(newValue, oldValue) {
38193
+ if (newValue !== oldValue)
38194
+ this.setClientStyling();
38157
38195
  }
38158
38196
  validityChanged() {
38159
38197
  this.validityStateHandler({ valid: this.isValid, name: this.name });
@@ -38260,10 +38298,11 @@ const TextInput = class {
38260
38298
  if (this.touched) {
38261
38299
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
38262
38300
  }
38263
- return index.h("div", { key: 'bfb803110a70b89dd484e993c204b572f0115a17', class: `text__wrapper ${this.name}__input ${this.autofilled ? 'text__wrapper--autofilled' : ''}`, ref: el => this.stylingContainer = el }, index.h("div", { key: '6e9f8f5aada98821d5dc78ccb8b1431ba23b81ab', class: 'text__wrapper--flex' }, index.h("label", { key: '05cf07855121a79641475a5b020774cf8120d1ed', class: `text__label ${this.validation.mandatory ? 'text__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), index.h("div", { key: 'f8c48a999f6827a61ec392ce99858c19559c77d2', class: 'text__wrapper--relative' }, this.tooltip &&
38264
- index.h("img", { key: 'e866f1df104ce57c29164e73b4ad4d017c7201cd', class: 'text__tooltip-icon', src: tooltipIcon.tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), index.h("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 }), index.h("small", { key: '5c8df34dd47959eb1668cdf389524d145c69fa84', class: 'text__error-message' }, this.errorMessage));
38301
+ return index.h("div", { key: 'e297f841a57c6acf854535a786916aa641831556', class: `text__wrapper ${this.name}__input ${this.autofilled ? 'text__wrapper--autofilled' : ''}`, ref: el => this.stylingContainer = el }, index.h("div", { key: '7fd284a58e58d5c61a03caf4cc317b8dd9dbd82f', class: 'text__wrapper--flex' }, index.h("label", { key: 'f80a2003386ec867e5310190a7568105c2912569', class: `text__label ${this.validation.mandatory ? 'text__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), index.h("div", { key: 'e8f5197bd370100406d600be5a336f85f4c6934d', class: 'text__wrapper--relative' }, this.tooltip &&
38302
+ index.h("img", { key: 'ff8c38fe3495a41a41ac4a1569169ce26a1ec9ce', class: 'text__tooltip-icon', src: tooltipIcon.tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), index.h("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 }), index.h("small", { key: '20620710026982d5fb670a3173bab57a7fa9e7ce', class: 'text__error-message' }, this.errorMessage));
38265
38303
  }
38266
38304
  static get watchers() { return {
38305
+ "clientStyling": ["handleStylingChange"],
38267
38306
  "isValid": ["validityChanged"],
38268
38307
  "emitValue": ["emitValueHandler"]
38269
38308
  }; }