@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
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h as h$2, g as getElement } from './index-3bab966c.js';
1
+ import { r as registerInstance, c as createEvent, h as h$2, g as getElement } from './index-34f25346.js';
2
2
  import { t as translate$1 } from './locale.utils-0883d9a6.js';
3
3
  import { t as tooltipIconSvg } from './tooltipIcon-0a5a06a2.js';
4
4
 
@@ -8,55 +8,13 @@ import { t as tooltipIconSvg } from './tooltipIcon-0a5a06a2.js';
8
8
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
9
9
  */
10
10
 
11
- window.Vaadin ||= {};
12
- window.Vaadin.featureFlags ||= {};
13
-
14
- function dashToCamelCase$1(dash) {
15
- return dash.replace(/-[a-z]/gu, (m) => m[1].toUpperCase());
16
- }
17
-
18
- const experimentalMap = {};
19
-
20
- function defineCustomElement(CustomElement, version = '24.6.5') {
11
+ function defineCustomElement(CustomElement, version = '24.5.10') {
21
12
  Object.defineProperty(CustomElement, 'version', {
22
13
  get() {
23
14
  return version;
24
15
  },
25
16
  });
26
17
 
27
- if (CustomElement.experimental) {
28
- const featureFlagKey =
29
- typeof CustomElement.experimental === 'string'
30
- ? CustomElement.experimental
31
- : `${dashToCamelCase$1(CustomElement.is.split('-').slice(1).join('-'))}Component`;
32
-
33
- if (!window.Vaadin.featureFlags[featureFlagKey] && !experimentalMap[featureFlagKey]) {
34
- // Add setter to define experimental component when it's set to true
35
- experimentalMap[featureFlagKey] = new Set();
36
- experimentalMap[featureFlagKey].add(CustomElement);
37
-
38
- Object.defineProperty(window.Vaadin.featureFlags, featureFlagKey, {
39
- get() {
40
- return experimentalMap[featureFlagKey].size === 0;
41
- },
42
- set(value) {
43
- if (!!value && experimentalMap[featureFlagKey].size > 0) {
44
- experimentalMap[featureFlagKey].forEach((elementClass) => {
45
- customElements.define(elementClass.is, elementClass);
46
- });
47
- experimentalMap[featureFlagKey].clear();
48
- }
49
- },
50
- });
51
-
52
- return;
53
- } else if (experimentalMap[featureFlagKey]) {
54
- // Allow to register multiple components with single flag
55
- experimentalMap[featureFlagKey].add(CustomElement);
56
- return;
57
- }
58
- }
59
-
60
18
  const defined = customElements.get(CustomElement.is);
61
19
  if (!defined) {
62
20
  customElements.define(CustomElement.is, CustomElement);
@@ -805,7 +763,7 @@ registerStyles('', color, { moduleId: 'lumo-color' });
805
763
  const fontIcons = i$3`
806
764
  @font-face {
807
765
  font-family: 'lumo-icons';
808
- src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABHAAAsAAAAAI6AAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuNY21hcAAAAYgAAAD+AAADymne8hxnbHlmAAACiAAAC+gAABioIzlOlWhlYWQAAA5wAAAAMAAAADZa/6SsaGhlYQAADqAAAAAdAAAAJAbpA4BobXR4AAAOwAAAABAAAAC0q+AAAGxvY2EAAA7QAAAAXAAAAFyF7o1GbWF4cAAADywAAAAfAAAAIAFMAXBuYW1lAAAPTAAAATEAAAIuUUJZCHBvc3QAABCAAAABPQAAAgfdkltveJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+xDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mEO+p/FEMUcxDANKMwIkgMABvgMMAB4nO3SV26EMABF0UsZpjG9d6Y3FpgF5StLYxMTP16WEUvHV1gGIQzQAJKgDFKIfojQ+A6rUb2e0KnXU77qPanWq/LzCXOkOVyn9RyHvWl4YkaTFu1wX5ec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+kPviIPgB9AUks0AAAA=)
766
+ 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/tgn6CFFImNgkR0ggX8wlsp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sEux5qHvcIIMb/nueSMyTKkE3jWFdNLHLjW2PPmMa1Hxn3GjGW/wjT0HtOG09JU4WxLk9LH2ISuiv9twJn9y8fh9uIXI+BknAAAAHicbY7ZboMwEEW5CVBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
809
767
  format('woff');
810
768
  font-weight: normal;
811
769
  font-style: normal;
@@ -835,27 +793,25 @@ const fontIcons = i$3`
835
793
  --lumo-icons-cog: '\\ea15';
836
794
  --lumo-icons-cross: '\\ea16';
837
795
  --lumo-icons-download: '\\ea17';
838
- --lumo-icons-drag-handle: '\\ea18';
839
- --lumo-icons-dropdown: '\\ea19';
840
- --lumo-icons-edit: '\\ea1a';
841
- --lumo-icons-error: '\\ea1b';
842
- --lumo-icons-eye: '\\ea1c';
843
- --lumo-icons-eye-disabled: '\\ea1d';
844
- --lumo-icons-menu: '\\ea1e';
845
- --lumo-icons-minus: '\\ea1f';
846
- --lumo-icons-ordered-list: '\\ea20';
847
- --lumo-icons-phone: '\\ea21';
848
- --lumo-icons-photo: '\\ea22';
849
- --lumo-icons-play: '\\ea23';
850
- --lumo-icons-plus: '\\ea24';
851
- --lumo-icons-redo: '\\ea25';
852
- --lumo-icons-reload: '\\ea26';
853
- --lumo-icons-resize-handle: '\\ea27';
854
- --lumo-icons-search: '\\ea28';
855
- --lumo-icons-undo: '\\ea29';
856
- --lumo-icons-unordered-list: '\\ea2a';
857
- --lumo-icons-upload: '\\ea2b';
858
- --lumo-icons-user: '\\ea2c';
796
+ --lumo-icons-dropdown: '\\ea18';
797
+ --lumo-icons-edit: '\\ea19';
798
+ --lumo-icons-error: '\\ea1a';
799
+ --lumo-icons-eye: '\\ea1b';
800
+ --lumo-icons-eye-disabled: '\\ea1c';
801
+ --lumo-icons-menu: '\\ea1d';
802
+ --lumo-icons-minus: '\\ea1e';
803
+ --lumo-icons-ordered-list: '\\ea1f';
804
+ --lumo-icons-phone: '\\ea20';
805
+ --lumo-icons-photo: '\\ea21';
806
+ --lumo-icons-play: '\\ea22';
807
+ --lumo-icons-plus: '\\ea23';
808
+ --lumo-icons-redo: '\\ea24';
809
+ --lumo-icons-reload: '\\ea25';
810
+ --lumo-icons-search: '\\ea26';
811
+ --lumo-icons-undo: '\\ea27';
812
+ --lumo-icons-unordered-list: '\\ea28';
813
+ --lumo-icons-upload: '\\ea29';
814
+ --lumo-icons-user: '\\ea2a';
859
815
  }
860
816
  `;
861
817
 
@@ -11200,7 +11156,6 @@ const DisabledMixin = dedupingMixin(
11200
11156
  value: false,
11201
11157
  observer: '_disabledChanged',
11202
11158
  reflectToAttribute: true,
11203
- sync: true,
11204
11159
  },
11205
11160
  };
11206
11161
  }
@@ -12324,8 +12279,6 @@ const InputMixin = dedupingMixin(
12324
12279
  if (this.inputElement) {
12325
12280
  this.inputElement[this._inputElementValueProperty] = value;
12326
12281
  }
12327
-
12328
- this._hasInputValue = value && value.length > 0;
12329
12282
  }
12330
12283
 
12331
12284
  /**
@@ -12519,7 +12472,6 @@ const CheckedMixin = dedupingMixin(
12519
12472
  value: false,
12520
12473
  notify: true,
12521
12474
  reflectToAttribute: true,
12522
- sync: true,
12523
12475
  },
12524
12476
  };
12525
12477
  }
@@ -13555,22 +13507,6 @@ const ValidateMixin = dedupingMixin(
13555
13507
  value: false,
13556
13508
  },
13557
13509
 
13558
- /**
13559
- * Set to true to enable manual validation mode. This mode disables automatic
13560
- * constraint validation, allowing you to control the validation process yourself.
13561
- * You can still trigger constraint validation manually with the `validate()` method
13562
- * or use `checkValidity()` to assess the component's validity without affecting
13563
- * the invalid state. In manual validation mode, you can also manipulate
13564
- * the `invalid` property directly through your application logic without conflicts
13565
- * with the component's internal validation.
13566
- *
13567
- * @attr {boolean} manual-validation
13568
- */
13569
- manualValidation: {
13570
- type: Boolean,
13571
- value: false,
13572
- },
13573
-
13574
13510
  /**
13575
13511
  * Specifies that the user must fill in a value.
13576
13512
  */
@@ -13625,14 +13561,6 @@ const ValidateMixin = dedupingMixin(
13625
13561
  return true;
13626
13562
  }
13627
13563
 
13628
- /** @protected */
13629
- _requestValidation() {
13630
- if (!this.manualValidation) {
13631
- // eslint-disable-next-line no-restricted-syntax
13632
- this.validate();
13633
- }
13634
- }
13635
-
13636
13564
  /**
13637
13565
  * Fired whenever the field is validated.
13638
13566
  *
@@ -14155,14 +14083,14 @@ const CheckboxMixin = (superclass) =>
14155
14083
  // Do not validate when focusout is caused by document
14156
14084
  // losing focus, which happens on browser tab switch.
14157
14085
  if (!focused && document.hasFocus()) {
14158
- this._requestValidation();
14086
+ this.validate();
14159
14087
  }
14160
14088
  }
14161
14089
 
14162
14090
  /** @private */
14163
14091
  _checkedChanged(checked) {
14164
14092
  if (checked || this.__oldChecked) {
14165
- this._requestValidation();
14093
+ this.validate();
14166
14094
  }
14167
14095
 
14168
14096
  this.__oldChecked = checked;
@@ -14179,7 +14107,7 @@ const CheckboxMixin = (superclass) =>
14179
14107
  super._requiredChanged(required);
14180
14108
 
14181
14109
  if (required === false) {
14182
- this._requestValidation();
14110
+ this.validate();
14183
14111
  }
14184
14112
  }
14185
14113
 
@@ -14879,7 +14807,7 @@ const CheckboxGroupMixin = (superclass) =>
14879
14807
  });
14880
14808
 
14881
14809
  if (oldValue !== undefined) {
14882
- this._requestValidation();
14810
+ this.validate();
14883
14811
  }
14884
14812
  }
14885
14813
 
@@ -14919,7 +14847,7 @@ const CheckboxGroupMixin = (superclass) =>
14919
14847
  // Do not validate when focusout is caused by document
14920
14848
  // losing focus, which happens on browser tab switch.
14921
14849
  if (!focused && document.hasFocus()) {
14922
- this._requestValidation();
14850
+ this.validate();
14923
14851
  }
14924
14852
  }
14925
14853
  };
@@ -15059,23 +14987,31 @@ const CheckboxGroupInput = class {
15059
14987
  registerInstance(this, hostRef);
15060
14988
  this.sendValidityState = createEvent(this, "sendValidityState", 7);
15061
14989
  this.sendInputValue = createEvent(this, "sendInputValue", 7);
15062
- /**
15063
- * Default value for the input.
15064
- */
15065
- this.defaultValue = '';
15066
- /**
15067
- * Client custom styling via inline style
15068
- */
15069
- this.clientStyling = '';
15070
- this.limitStylingAppends = false;
15071
- this.showTooltip = false;
15072
- this.selectedValues = [];
15073
14990
  this.value = null;
15074
14991
  this.setClientStyling = () => {
15075
14992
  let sheet = document.createElement('style');
15076
14993
  sheet.innerHTML = this.clientStyling;
15077
14994
  this.stylingContainer.prepend(sheet);
15078
14995
  };
14996
+ this.name = undefined;
14997
+ this.displayName = undefined;
14998
+ this.defaultValue = '';
14999
+ this.autofilled = undefined;
15000
+ this.tooltip = undefined;
15001
+ this.options = undefined;
15002
+ this.validation = undefined;
15003
+ this.language = undefined;
15004
+ this.emitValue = undefined;
15005
+ this.clientStyling = '';
15006
+ this.errorMessage = undefined;
15007
+ this.isValid = undefined;
15008
+ this.limitStylingAppends = false;
15009
+ this.showTooltip = false;
15010
+ this.selectedValues = [];
15011
+ }
15012
+ handleStylingChange(newValue, oldValue) {
15013
+ if (newValue !== oldValue)
15014
+ this.setClientStyling();
15079
15015
  }
15080
15016
  validityChanged() {
15081
15017
  this.validityStateHandler({ valid: this.isValid, name: this.name });
@@ -15151,13 +15087,14 @@ const CheckboxGroupInput = class {
15151
15087
  return (h$2("label", { class: 'checkbox__label', htmlFor: `${this.name}__input`, slot: 'label' }, h$2("div", { class: 'checkbox__label-text', innerHTML: `${this.displayName} ${this.validation.mandatory ? '*' : ''}` })));
15152
15088
  }
15153
15089
  render() {
15154
- return h$2("div", { key: 'fa45026502fd8d46aa537aee03210ad68d30e577', class: `checkboxgroup__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, h$2("div", { key: '15ded4fd896920c6244806e49f300c124c27186d', class: 'checkboxgroup__wrapper--flex' }, h$2("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 &&
15155
- h$2("img", { key: 'aca39ed398415a6e2cef861be40dad33e0398759', class: 'checkboxgroup__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()), h$2("small", { key: 'a1a6e1c3c02edcca572b8826ffba06835ca451c3', class: 'checkboxgroup__error-message' }, this.errorMessage), h$2("vaadin-checkbox-group", { key: '9f5f8a945e4ba13d7d0da6d362c15d00a7796b71', theme: "vertical", value: this.selectedValues, "on-value-changed": (event) => {
15090
+ return h$2("div", { key: 'c25b0a1ac187ea0abf1fe8c69d584eee00568177', class: `checkboxgroup__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, h$2("div", { key: 'daf512e7f98d20bae65e43ab869e45babc008e90', class: 'checkboxgroup__wrapper--flex' }, h$2("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 &&
15091
+ h$2("img", { key: 'ed4c3efd6b7e30ae0b68de11093b8faf2cb0a845', class: 'checkboxgroup__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()), h$2("small", { key: '5b95c4059a2de898c04bf147e89c5a2ad035dddf', class: 'checkboxgroup__error-message' }, this.errorMessage), h$2("vaadin-checkbox-group", { key: '2b73ac73d52c6185358e50eda4c9706643f55384', theme: "vertical", value: this.selectedValues, "on-value-changed": (event) => {
15156
15092
  this.selectedValues = event.detail.value;
15157
15093
  } }, this.options.map((checkbox) => h$2("vaadin-checkbox", { class: 'checkbox__input', name: checkbox.name, value: checkbox.name, label: checkbox.displayName }))));
15158
15094
  }
15159
15095
  get element() { return getElement(this); }
15160
15096
  static get watchers() { return {
15097
+ "clientStyling": ["handleStylingChange"],
15161
15098
  "isValid": ["validityChanged"],
15162
15099
  "selectedValues": ["setValue"],
15163
15100
  "emitValue": ["emitValueHandler"]
@@ -15173,22 +15110,29 @@ const CheckboxInput = class {
15173
15110
  registerInstance(this, hostRef);
15174
15111
  this.sendValidityState = createEvent(this, "sendValidityState", 7);
15175
15112
  this.sendInputValue = createEvent(this, "sendInputValue", 7);
15176
- /**
15177
- * Default value for the input.
15178
- */
15179
- this.defaultValue = '';
15180
- /**
15181
- * Client custom styling via inline style
15182
- */
15183
- this.clientStyling = '';
15184
- this.limitStylingAppends = false;
15185
- this.showTooltip = false;
15186
15113
  this.value = '';
15187
15114
  this.setClientStyling = () => {
15188
15115
  let sheet = document.createElement('style');
15189
15116
  sheet.innerHTML = this.clientStyling;
15190
15117
  this.stylingContainer.prepend(sheet);
15191
15118
  };
15119
+ this.name = undefined;
15120
+ this.displayName = undefined;
15121
+ this.defaultValue = '';
15122
+ this.autofilled = undefined;
15123
+ this.tooltip = undefined;
15124
+ this.validation = undefined;
15125
+ this.language = undefined;
15126
+ this.emitValue = undefined;
15127
+ this.clientStyling = '';
15128
+ this.errorMessage = undefined;
15129
+ this.isValid = undefined;
15130
+ this.limitStylingAppends = false;
15131
+ this.showTooltip = false;
15132
+ }
15133
+ handleStylingChange(newValue, oldValue) {
15134
+ if (newValue !== oldValue)
15135
+ this.setClientStyling();
15192
15136
  }
15193
15137
  validityChanged() {
15194
15138
  this.validityStateHandler({ valid: this.isValid, name: this.name });
@@ -15252,10 +15196,11 @@ const CheckboxInput = class {
15252
15196
  return null;
15253
15197
  }
15254
15198
  render() {
15255
- return h$2("div", { key: '0aae00d291d1da02adae1bc91e79ccd579aa5c7f', class: `checkbox__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, h$2("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$2("small", { key: '934263cb58a0d379e8b7dc1f5004ad7e61c63ce0', class: 'checkbox__error-message' }, this.errorMessage), h$2("div", { key: '88cc71329d88b6325d792226e64ff7f93e940178', class: 'checkbox__wrapper--relative' }, this.tooltip &&
15256
- h$2("img", { key: '3708dc613dc920bac6557f2a8020bbafd97d9127', class: 'checkbox__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()));
15199
+ return h$2("div", { key: '8c80c955bb052558165a4c5b1020d0582ed0af36', class: `checkbox__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, h$2("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$2("small", { key: 'd007d8c02dd014a363e2fcc1a0e8df6ffda34bcb', class: 'checkbox__error-message' }, this.errorMessage), h$2("div", { key: 'c511c07684173359663d4907371efb82289f0433', class: 'checkbox__wrapper--relative' }, this.tooltip &&
15200
+ h$2("img", { key: 'dd263ce86efd89f34078f3cc24729f43f40e89a6', class: 'checkbox__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()));
15257
15201
  }
15258
15202
  static get watchers() { return {
15203
+ "clientStyling": ["handleStylingChange"],
15259
15204
  "isValid": ["validityChanged"],
15260
15205
  "emitValue": ["emitValueHandler"]
15261
15206
  }; }
@@ -17597,7 +17542,6 @@ const OverlayMixin = (superClass) =>
17597
17542
  notify: true,
17598
17543
  observer: '_openedChanged',
17599
17544
  reflectToAttribute: true,
17600
- sync: true,
17601
17545
  },
17602
17546
 
17603
17547
  /**
@@ -17606,7 +17550,6 @@ const OverlayMixin = (superClass) =>
17606
17550
  */
17607
17551
  owner: {
17608
17552
  type: Object,
17609
- sync: true,
17610
17553
  },
17611
17554
 
17612
17555
  /**
@@ -17614,7 +17557,6 @@ const OverlayMixin = (superClass) =>
17614
17557
  */
17615
17558
  model: {
17616
17559
  type: Object,
17617
- sync: true,
17618
17560
  },
17619
17561
 
17620
17562
  /**
@@ -17628,7 +17570,6 @@ const OverlayMixin = (superClass) =>
17628
17570
  */
17629
17571
  renderer: {
17630
17572
  type: Object,
17631
- sync: true,
17632
17573
  },
17633
17574
 
17634
17575
  /**
@@ -17641,7 +17582,6 @@ const OverlayMixin = (superClass) =>
17641
17582
  value: false,
17642
17583
  reflectToAttribute: true,
17643
17584
  observer: '_modelessChanged',
17644
- sync: true,
17645
17585
  },
17646
17586
 
17647
17587
  /**
@@ -17653,7 +17593,6 @@ const OverlayMixin = (superClass) =>
17653
17593
  type: Boolean,
17654
17594
  reflectToAttribute: true,
17655
17595
  observer: '_hiddenChanged',
17656
- sync: true,
17657
17596
  },
17658
17597
 
17659
17598
  /**
@@ -17664,7 +17603,6 @@ const OverlayMixin = (superClass) =>
17664
17603
  type: Boolean,
17665
17604
  value: false,
17666
17605
  reflectToAttribute: true,
17667
- sync: true,
17668
17606
  },
17669
17607
  };
17670
17608
  }
@@ -19493,21 +19431,6 @@ class InfiniteScroller extends HTMLElement {
19493
19431
  }
19494
19432
  }
19495
19433
 
19496
- /** @protected */
19497
- disconnectedCallback() {
19498
- if (this._debouncerScrollFinish) {
19499
- this._debouncerScrollFinish.cancel();
19500
- }
19501
-
19502
- if (this._debouncerUpdateClones) {
19503
- this._debouncerUpdateClones.cancel();
19504
- }
19505
-
19506
- if (this.__pendingFinishInit) {
19507
- cancelAnimationFrame(this.__pendingFinishInit);
19508
- }
19509
- }
19510
-
19511
19434
  /**
19512
19435
  * Force the scroller to update clones after a reset, without
19513
19436
  * waiting for the debouncer to resolve.
@@ -19655,9 +19578,8 @@ class InfiniteScroller extends HTMLElement {
19655
19578
  }
19656
19579
  });
19657
19580
 
19658
- this.__pendingFinishInit = requestAnimationFrame(() => {
19581
+ requestAnimationFrame(() => {
19659
19582
  this._finishInit();
19660
- this.__pendingFinishInit = null;
19661
19583
  });
19662
19584
  }
19663
19585
 
@@ -19672,10 +19594,6 @@ class InfiniteScroller extends HTMLElement {
19672
19594
  itemWrapper.instance = this._createElement();
19673
19595
  itemWrapper.appendChild(itemWrapper.instance);
19674
19596
 
19675
- if (itemWrapper.instance.performUpdate) {
19676
- itemWrapper.instance.performUpdate();
19677
- }
19678
-
19679
19597
  Object.keys(tmpInstance).forEach((prop) => {
19680
19598
  itemWrapper.instance[prop] = tmpInstance[prop];
19681
19599
  });
@@ -21693,10 +21611,6 @@ const MonthCalendarMixin = (superClass) =>
21693
21611
  value: () => false,
21694
21612
  },
21695
21613
 
21696
- enteredDate: {
21697
- type: Date,
21698
- },
21699
-
21700
21614
  disabled: {
21701
21615
  type: Boolean,
21702
21616
  reflectToAttribute: true,
@@ -21716,11 +21630,6 @@ const MonthCalendarMixin = (superClass) =>
21716
21630
  _notTapping: {
21717
21631
  type: Boolean,
21718
21632
  },
21719
-
21720
- /** @private */
21721
- __hasFocus: {
21722
- type: Boolean,
21723
- },
21724
21633
  };
21725
21634
  }
21726
21635
 
@@ -21740,12 +21649,6 @@ const MonthCalendarMixin = (superClass) =>
21740
21649
  addListener(this.$.monthGrid, 'tap', this._handleTap.bind(this));
21741
21650
  }
21742
21651
 
21743
- /** @override */
21744
- _setFocused(focused) {
21745
- super._setFocused(focused);
21746
- this.__hasFocus = focused;
21747
- }
21748
-
21749
21652
  /**
21750
21653
  * Returns true if all the dates in the month are out of the allowed range
21751
21654
  * @protected
@@ -22041,7 +21944,7 @@ class MonthCalendar extends MonthCalendarMixin(ThemableMixin(PolymerElement)) {
22041
21944
  <template is="dom-repeat" items="[[week]]">
22042
21945
  <td
22043
21946
  role="gridcell"
22044
- part$="[[__getDatePart(item, focusedDate, selectedDate, minDate, maxDate, isDateDisabled, enteredDate, __hasFocus)]]"
21947
+ part$="[[__getDatePart(item, focusedDate, selectedDate, minDate, maxDate, isDateDisabled)]]"
22045
21948
  date="[[item]]"
22046
21949
  tabindex$="[[__getDayTabindex(item, focusedDate)]]"
22047
21950
  disabled$="[[__isDayDisabled(item, minDate, maxDate, isDateDisabled)]]"
@@ -22099,7 +22002,7 @@ class MonthCalendar extends MonthCalendarMixin(ThemableMixin(PolymerElement)) {
22099
22002
 
22100
22003
  /** @private */
22101
22004
  // eslint-disable-next-line @typescript-eslint/max-params
22102
- __getDatePart(date, focusedDate, selectedDate, minDate, maxDate, isDateDisabled, enteredDate, hasFocus) {
22005
+ __getDatePart(date, focusedDate, selectedDate, minDate, maxDate, isDateDisabled) {
22103
22006
  const result = ['date'];
22104
22007
  const greaterThanToday = date > normalizeDate(new Date());
22105
22008
  const lessThanToday = date < normalizeDate(new Date());
@@ -22108,7 +22011,7 @@ class MonthCalendar extends MonthCalendarMixin(ThemableMixin(PolymerElement)) {
22108
22011
  result.push('disabled');
22109
22012
  }
22110
22013
 
22111
- if (dateEquals(date, focusedDate) && (hasFocus || dateEquals(date, enteredDate))) {
22014
+ if (this.__isDayFocused(date, focusedDate)) {
22112
22015
  result.push('focused');
22113
22016
  }
22114
22017
 
@@ -22131,6 +22034,11 @@ class MonthCalendar extends MonthCalendarMixin(ThemableMixin(PolymerElement)) {
22131
22034
  return result.join(' ');
22132
22035
  }
22133
22036
 
22037
+ /** @private */
22038
+ __isDayFocused(date, focusedDate) {
22039
+ return dateEquals(date, focusedDate);
22040
+ }
22041
+
22134
22042
  /** @private */
22135
22043
  __isDaySelected(date, selectedDate) {
22136
22044
  return dateEquals(date, selectedDate);
@@ -22161,7 +22069,11 @@ class MonthCalendar extends MonthCalendarMixin(ThemableMixin(PolymerElement)) {
22161
22069
 
22162
22070
  /** @private */
22163
22071
  __getDayTabindex(date, focusedDate) {
22164
- return dateEquals(date, focusedDate) ? '0' : '-1';
22072
+ if (this.__isDayFocused(date, focusedDate)) {
22073
+ return '0';
22074
+ }
22075
+
22076
+ return '-1';
22165
22077
  }
22166
22078
  }
22167
22079
 
@@ -22280,7 +22192,6 @@ const DatePickerOverlayContentMixin = (superClass) =>
22280
22192
  initialPosition: {
22281
22193
  type: Object,
22282
22194
  observer: '_initialPositionChanged',
22283
- sync: true,
22284
22195
  },
22285
22196
 
22286
22197
  _originDate: {
@@ -22348,11 +22259,6 @@ const DatePickerOverlayContentMixin = (superClass) =>
22348
22259
  type: Function,
22349
22260
  },
22350
22261
 
22351
- enteredDate: {
22352
- type: Date,
22353
- sync: true,
22354
- },
22355
-
22356
22262
  /**
22357
22263
  * Input label
22358
22264
  */
@@ -22380,7 +22286,7 @@ const DatePickerOverlayContentMixin = (superClass) =>
22380
22286
 
22381
22287
  static get observers() {
22382
22288
  return [
22383
- '__updateCalendars(calendars, i18n, minDate, maxDate, selectedDate, focusedDate, showWeekNumbers, _ignoreTaps, _theme, isDateDisabled, enteredDate)',
22289
+ '__updateCalendars(calendars, i18n, minDate, maxDate, selectedDate, focusedDate, showWeekNumbers, _ignoreTaps, _theme, isDateDisabled)',
22384
22290
  '__updateCancelButton(_cancelButton, i18n)',
22385
22291
  '__updateTodayButton(_todayButton, i18n, minDate, maxDate, isDateDisabled)',
22386
22292
  '__updateYears(years, selectedDate, _theme)',
@@ -22568,7 +22474,6 @@ const DatePickerOverlayContentMixin = (superClass) =>
22568
22474
  ignoreTaps,
22569
22475
  theme,
22570
22476
  isDateDisabled,
22571
- enteredDate,
22572
22477
  ) {
22573
22478
  if (calendars && calendars.length) {
22574
22479
  calendars.forEach((calendar) => {
@@ -22580,7 +22485,6 @@ const DatePickerOverlayContentMixin = (superClass) =>
22580
22485
  calendar.selectedDate = selectedDate;
22581
22486
  calendar.showWeekNumbers = showWeekNumbers;
22582
22487
  calendar.ignoreTaps = ignoreTaps;
22583
- calendar.enteredDate = enteredDate;
22584
22488
 
22585
22489
  if (theme) {
22586
22490
  calendar.setAttribute('theme', theme);
@@ -23689,8 +23593,8 @@ const InputConstraintsMixin = dedupingMixin(
23689
23593
  const isLastConstraintRemoved = this.__previousHasConstraints && !hasConstraints;
23690
23594
 
23691
23595
  if ((this._hasValue || this.invalid) && hasConstraints) {
23692
- this._requestValidation();
23693
- } else if (isLastConstraintRemoved && !this.manualValidation) {
23596
+ this.validate();
23597
+ } else if (isLastConstraintRemoved) {
23694
23598
  this._setInvalid(false);
23695
23599
  }
23696
23600
 
@@ -23708,7 +23612,7 @@ const InputConstraintsMixin = dedupingMixin(
23708
23612
  _onChange(event) {
23709
23613
  event.stopPropagation();
23710
23614
 
23711
- this._requestValidation();
23615
+ this.validate();
23712
23616
 
23713
23617
  this.dispatchEvent(
23714
23618
  new CustomEvent('change', {
@@ -23851,6 +23755,30 @@ const InputControlMixin = (superclass) =>
23851
23755
  }
23852
23756
  }
23853
23757
 
23758
+ /**
23759
+ * Override an event listener inherited from `InputMixin`
23760
+ * to capture native `change` event and make sure that
23761
+ * a new one is dispatched after validation runs.
23762
+ * @param {Event} event
23763
+ * @protected
23764
+ * @override
23765
+ */
23766
+ _onChange(event) {
23767
+ event.stopPropagation();
23768
+
23769
+ this.validate();
23770
+
23771
+ this.dispatchEvent(
23772
+ new CustomEvent('change', {
23773
+ detail: {
23774
+ sourceEvent: event,
23775
+ },
23776
+ bubbles: event.bubbles,
23777
+ cancelable: event.cancelable,
23778
+ }),
23779
+ );
23780
+ }
23781
+
23854
23782
  /**
23855
23783
  * Override a method from `InputMixin`.
23856
23784
  * @param {!HTMLElement} input
@@ -24186,62 +24114,6 @@ class VirtualKeyboardController {
24186
24114
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
24187
24115
  */
24188
24116
 
24189
- const datePickerI18nDefaults = Object.freeze({
24190
- monthNames: [
24191
- 'January',
24192
- 'February',
24193
- 'March',
24194
- 'April',
24195
- 'May',
24196
- 'June',
24197
- 'July',
24198
- 'August',
24199
- 'September',
24200
- 'October',
24201
- 'November',
24202
- 'December',
24203
- ],
24204
- weekdays: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
24205
- weekdaysShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
24206
- firstDayOfWeek: 0,
24207
- today: 'Today',
24208
- cancel: 'Cancel',
24209
- referenceDate: '',
24210
- formatDate(d) {
24211
- const yearStr = String(d.year).replace(/\d+/u, (y) => '0000'.substr(y.length) + y);
24212
- return [d.month + 1, d.day, yearStr].join('/');
24213
- },
24214
- parseDate(text) {
24215
- const parts = text.split('/');
24216
- const today = new Date();
24217
- let date,
24218
- month = today.getMonth(),
24219
- year = today.getFullYear();
24220
-
24221
- if (parts.length === 3) {
24222
- month = parseInt(parts[0]) - 1;
24223
- date = parseInt(parts[1]);
24224
- year = parseInt(parts[2]);
24225
- if (parts[2].length < 3 && year >= 0) {
24226
- const usedReferenceDate = this.referenceDate ? parseDate(this.referenceDate) : new Date();
24227
- year = getAdjustedYear(usedReferenceDate, year, month, date);
24228
- }
24229
- } else if (parts.length === 2) {
24230
- month = parseInt(parts[0]) - 1;
24231
- date = parseInt(parts[1]);
24232
- } else if (parts.length === 1) {
24233
- date = parseInt(parts[0]);
24234
- }
24235
-
24236
- if (date !== undefined) {
24237
- return { day: date, month, year };
24238
- }
24239
- },
24240
- formatTitle: (monthName, fullYear) => {
24241
- return `${monthName} ${fullYear}`;
24242
- },
24243
- });
24244
-
24245
24117
  /**
24246
24118
  * @polymerMixin
24247
24119
  * @mixes ControllerMixin
@@ -24315,10 +24187,7 @@ const DatePickerMixin = (subclass) =>
24315
24187
  * Set true to prevent the overlay from opening automatically.
24316
24188
  * @attr {boolean} auto-open-disabled
24317
24189
  */
24318
- autoOpenDisabled: {
24319
- type: Boolean,
24320
- sync: true,
24321
- },
24190
+ autoOpenDisabled: Boolean,
24322
24191
 
24323
24192
  /**
24324
24193
  * Set true to display ISO-8601 week numbers in the calendar. Notice that
@@ -24439,7 +24308,63 @@ const DatePickerMixin = (subclass) =>
24439
24308
  i18n: {
24440
24309
  type: Object,
24441
24310
  sync: true,
24442
- value: () => ({ ...datePickerI18nDefaults }),
24311
+ value: () => {
24312
+ return {
24313
+ monthNames: [
24314
+ 'January',
24315
+ 'February',
24316
+ 'March',
24317
+ 'April',
24318
+ 'May',
24319
+ 'June',
24320
+ 'July',
24321
+ 'August',
24322
+ 'September',
24323
+ 'October',
24324
+ 'November',
24325
+ 'December',
24326
+ ],
24327
+ weekdays: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
24328
+ weekdaysShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
24329
+ firstDayOfWeek: 0,
24330
+ today: 'Today',
24331
+ cancel: 'Cancel',
24332
+ referenceDate: '',
24333
+ formatDate(d) {
24334
+ const yearStr = String(d.year).replace(/\d+/u, (y) => '0000'.substr(y.length) + y);
24335
+ return [d.month + 1, d.day, yearStr].join('/');
24336
+ },
24337
+ parseDate(text) {
24338
+ const parts = text.split('/');
24339
+ const today = new Date();
24340
+ let date,
24341
+ month = today.getMonth(),
24342
+ year = today.getFullYear();
24343
+
24344
+ if (parts.length === 3) {
24345
+ month = parseInt(parts[0]) - 1;
24346
+ date = parseInt(parts[1]);
24347
+ year = parseInt(parts[2]);
24348
+ if (parts[2].length < 3 && year >= 0) {
24349
+ const usedReferenceDate = this.referenceDate ? parseDate(this.referenceDate) : new Date();
24350
+ year = getAdjustedYear(usedReferenceDate, year, month, date);
24351
+ }
24352
+ } else if (parts.length === 2) {
24353
+ month = parseInt(parts[0]) - 1;
24354
+ date = parseInt(parts[1]);
24355
+ } else if (parts.length === 1) {
24356
+ date = parseInt(parts[0]);
24357
+ }
24358
+
24359
+ if (date !== undefined) {
24360
+ return { day: date, month, year };
24361
+ }
24362
+ },
24363
+ formatTitle: (monthName, fullYear) => {
24364
+ return `${monthName} ${fullYear}`;
24365
+ },
24366
+ };
24367
+ },
24443
24368
  },
24444
24369
 
24445
24370
  /**
@@ -24524,10 +24449,18 @@ const DatePickerMixin = (subclass) =>
24524
24449
  sync: true,
24525
24450
  },
24526
24451
 
24527
- /** @private */
24528
- __enteredDate: {
24529
- type: Date,
24530
- sync: true,
24452
+ /**
24453
+ * In date-picker, unlike other components extending `InputMixin`,
24454
+ * the property indicates true only if the input has been entered by the user.
24455
+ * In the case of programmatic changes, the property is reset to false.
24456
+ * Read more about why this workaround is needed:
24457
+ * https://github.com/vaadin/web-components/issues/5639
24458
+ *
24459
+ * @protected
24460
+ * @override
24461
+ */
24462
+ _hasInputValue: {
24463
+ type: Boolean,
24531
24464
  },
24532
24465
  };
24533
24466
  }
@@ -24536,7 +24469,7 @@ const DatePickerMixin = (subclass) =>
24536
24469
  return [
24537
24470
  '_selectedDateChanged(_selectedDate, i18n)',
24538
24471
  '_focusedDateChanged(_focusedDate, i18n)',
24539
- '__updateOverlayContent(_overlayContent, i18n, label, _minDate, _maxDate, _focusedDate, _selectedDate, showWeekNumbers, isDateDisabled, __enteredDate)',
24472
+ '__updateOverlayContent(_overlayContent, i18n, label, _minDate, _maxDate, _focusedDate, _selectedDate, showWeekNumbers, isDateDisabled)',
24540
24473
  '__updateOverlayContentTheme(_overlayContent, _theme)',
24541
24474
  '__updateOverlayContentFullScreen(_overlayContent, _fullscreen)',
24542
24475
  ];
@@ -24554,17 +24487,28 @@ const DatePickerMixin = (subclass) =>
24554
24487
  this._boundOverlayRenderer = this._overlayRenderer.bind(this);
24555
24488
  }
24556
24489
 
24557
- /** @override */
24490
+ /**
24491
+ * @override
24492
+ * @protected
24493
+ */
24558
24494
  get _inputElementValue() {
24559
24495
  return super._inputElementValue;
24560
24496
  }
24561
24497
 
24562
- /** @override */
24498
+ /**
24499
+ * The setter is overridden to reset the `_hasInputValue` property
24500
+ * to false when the input element's value is updated programmatically.
24501
+ * In date-picker, `_hasInputValue` is supposed to indicate true only
24502
+ * if the input has been entered by the user.
24503
+ * Read more about why this workaround is needed:
24504
+ * https://github.com/vaadin/web-components/issues/5639
24505
+ *
24506
+ * @override
24507
+ * @protected
24508
+ */
24563
24509
  set _inputElementValue(value) {
24564
24510
  super._inputElementValue = value;
24565
-
24566
- const parsedDate = this.__parseDate(value);
24567
- this.__setEnteredDate(parsedDate);
24511
+ this._hasInputValue = false;
24568
24512
  }
24569
24513
 
24570
24514
  /**
@@ -24626,7 +24570,7 @@ const DatePickerMixin = (subclass) =>
24626
24570
  // Do not validate when focusout is caused by document
24627
24571
  // losing focus, which happens on browser tab switch.
24628
24572
  if (document.hasFocus()) {
24629
- this._requestValidation();
24573
+ this.validate();
24630
24574
  }
24631
24575
  }
24632
24576
  }
@@ -24771,8 +24715,13 @@ const DatePickerMixin = (subclass) =>
24771
24715
  !this._selectedDate || dateAllowed(this._selectedDate, this._minDate, this._maxDate, this.isDateDisabled);
24772
24716
 
24773
24717
  let inputValidity = true;
24774
- if (this.inputElement && this.inputElement.checkValidity) {
24775
- inputValidity = this.inputElement.checkValidity();
24718
+ if (this.inputElement) {
24719
+ if (this.inputElement.checkValidity) {
24720
+ inputValidity = this.inputElement.checkValidity();
24721
+ } else if (this.inputElement.validate) {
24722
+ // Iron-form-elements have the validate API
24723
+ inputValidity = this.inputElement.validate();
24724
+ }
24776
24725
  }
24777
24726
 
24778
24727
  return inputValid && isDateValid && inputValidity;
@@ -24859,10 +24808,10 @@ const DatePickerMixin = (subclass) =>
24859
24808
  const unparsableValue = this.__unparsableValue;
24860
24809
 
24861
24810
  if (this.__committedValue !== this.value) {
24862
- this._requestValidation();
24811
+ this.validate();
24863
24812
  this.dispatchEvent(new CustomEvent('change', { bubbles: true }));
24864
24813
  } else if (this.__committedUnparsableValue !== unparsableValue) {
24865
- this._requestValidation();
24814
+ this.validate();
24866
24815
  this.dispatchEvent(new CustomEvent('unparsable-change'));
24867
24816
  }
24868
24817
 
@@ -24991,7 +24940,7 @@ const DatePickerMixin = (subclass) =>
24991
24940
 
24992
24941
  if (oldValue !== undefined) {
24993
24942
  // Validate only if `value` changes after initialization.
24994
- this._requestValidation();
24943
+ this.validate();
24995
24944
  }
24996
24945
  }
24997
24946
  } else {
@@ -25018,7 +24967,6 @@ const DatePickerMixin = (subclass) =>
25018
24967
  selectedDate,
25019
24968
  showWeekNumbers,
25020
24969
  isDateDisabled,
25021
- enteredDate,
25022
24970
  ) {
25023
24971
  if (overlayContent) {
25024
24972
  overlayContent.i18n = i18n;
@@ -25029,7 +24977,6 @@ const DatePickerMixin = (subclass) =>
25029
24977
  overlayContent.selectedDate = selectedDate;
25030
24978
  overlayContent.showWeekNumbers = showWeekNumbers;
25031
24979
  overlayContent.isDateDisabled = isDateDisabled;
25032
- overlayContent.enteredDate = enteredDate;
25033
24980
  }
25034
24981
  }
25035
24982
 
@@ -25159,7 +25106,7 @@ const DatePickerMixin = (subclass) =>
25159
25106
  // Needed in case the value was not changed: open and close dropdown,
25160
25107
  // especially on outside click. On Esc key press, do not validate.
25161
25108
  if (!this.value && !this._keyboardActive) {
25162
- this._requestValidation();
25109
+ this.validate();
25163
25110
  }
25164
25111
  }
25165
25112
 
@@ -25351,32 +25298,15 @@ const DatePickerMixin = (subclass) =>
25351
25298
  this.open();
25352
25299
  }
25353
25300
 
25354
- const parsedDate = this.__parseDate(this._inputElementValue || '');
25355
- if (parsedDate) {
25356
- this._ignoreFocusedDateChange = true;
25357
- if (!dateEquals(parsedDate, this._focusedDate)) {
25358
- this._focusedDate = parsedDate;
25359
- }
25360
- this._ignoreFocusedDateChange = false;
25361
- }
25362
-
25363
- this.__setEnteredDate(parsedDate);
25364
- }
25365
-
25366
- /**
25367
- * @param {Date} date
25368
- * @private
25369
- */
25370
- __setEnteredDate(date) {
25371
- if (date) {
25372
- if (!dateEquals(this.__enteredDate, date)) {
25373
- this.__enteredDate = date;
25301
+ if (this._inputElementValue) {
25302
+ const parsedDate = this.__parseDate(this._inputElementValue);
25303
+ if (parsedDate) {
25304
+ this._ignoreFocusedDateChange = true;
25305
+ if (!dateEquals(parsedDate, this._focusedDate)) {
25306
+ this._focusedDate = parsedDate;
25307
+ }
25308
+ this._ignoreFocusedDateChange = false;
25374
25309
  }
25375
- } else if (this.__enteredDate != null) {
25376
- // Do not override initial undefined value with null
25377
- // to avoid triggering a Lit update that can cause
25378
- // other scheduled properties to flush too early.
25379
- this.__enteredDate = null;
25380
25310
  }
25381
25311
  }
25382
25312
 
@@ -25660,7 +25590,6 @@ class DatePicker extends DatePickerMixin(InputControlMixin(ThemableMixin(Element
25660
25590
 
25661
25591
  /** @private */
25662
25592
  _onVaadinOverlayClose(e) {
25663
- // Prevent closing the overlay on label element click
25664
25593
  if (e.detail.sourceEvent && e.detail.sourceEvent.composedPath().includes(this)) {
25665
25594
  e.preventDefault();
25666
25595
  }
@@ -30765,16 +30694,6 @@ const DateInput = class {
30765
30694
  registerInstance(this, hostRef);
30766
30695
  this.sendValidityState = createEvent(this, "sendValidityState", 7);
30767
30696
  this.sendInputValue = createEvent(this, "sendInputValue", 7);
30768
- /**
30769
- * Client custom styling via inline style
30770
- */
30771
- this.clientStyling = '';
30772
- /**
30773
- * Emit event on click
30774
- */
30775
- this.emitOnClick = false;
30776
- this.limitStylingAppends = false;
30777
- this.showTooltip = false;
30778
30697
  this.touched = false;
30779
30698
  this.formatDate = (dateParts) => {
30780
30699
  const { year, month, day } = dateParts;
@@ -30795,6 +30714,26 @@ const DateInput = class {
30795
30714
  sheet.innerHTML = this.clientStyling;
30796
30715
  this.stylingContainer.prepend(sheet);
30797
30716
  };
30717
+ this.name = undefined;
30718
+ this.displayName = undefined;
30719
+ this.placeholder = undefined;
30720
+ this.validation = undefined;
30721
+ this.defaultValue = undefined;
30722
+ this.autofilled = undefined;
30723
+ this.tooltip = undefined;
30724
+ this.language = undefined;
30725
+ this.emitValue = undefined;
30726
+ this.clientStyling = '';
30727
+ this.dateFormat = undefined;
30728
+ this.emitOnClick = false;
30729
+ this.errorMessage = undefined;
30730
+ this.isValid = undefined;
30731
+ this.limitStylingAppends = false;
30732
+ this.showTooltip = false;
30733
+ }
30734
+ handleStylingChange(newValue, oldValue) {
30735
+ if (newValue !== oldValue)
30736
+ this.setClientStyling();
30798
30737
  }
30799
30738
  validityChanged() {
30800
30739
  this.validityStateHandler({ valid: this.isValid, name: this.name });
@@ -30892,11 +30831,12 @@ const DateInput = class {
30892
30831
  if (this.touched) {
30893
30832
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
30894
30833
  }
30895
- return h$2("div", { key: 'fc9cd0a618c7b6e62962c0800399a470fffa1fc4', class: `date__wrapper ${this.autofilled ? 'date__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$2("label", { key: 'abc7c1715dd2d0c60dd2ac6d028355de910be501', class: `date__label ${this.validation.mandatory ? 'date__label--required' : ''}}`, htmlFor: `${this.name}__input` }, this.displayName, " ", this.validation.mandatory ? '*' : ''), h$2("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$2("small", { key: 'd802ea7b25a64802aca3a7491107fcee7af2a23c', class: 'date__error-message' }, this.errorMessage), this.tooltip &&
30896
- h$2("img", { key: '46edd200a9ce9eba27414a6434c6b3d5e9dc9964', class: 'date__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip());
30834
+ return h$2("div", { key: 'ad6360e0afb065a91f860574f5e3c08f5bdb2534', class: `date__wrapper ${this.autofilled ? 'date__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$2("label", { key: '3e8d26e0c8ae0983997b84e95cb34887df1f5fe5', class: `date__label ${this.validation.mandatory ? 'date__label--required' : ''}}`, htmlFor: `${this.name}__input` }, this.displayName, " ", this.validation.mandatory ? '*' : ''), h$2("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$2("small", { key: '6b7c0e9c3437b484bd534060f93ad4fcd9eaeb60', class: 'date__error-message' }, this.errorMessage), this.tooltip &&
30835
+ h$2("img", { key: '6479b29563710abfe1be584c9de110fafe69ca3d', class: 'date__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip());
30897
30836
  }
30898
30837
  get element() { return getElement(this); }
30899
30838
  static get watchers() { return {
30839
+ "clientStyling": ["handleStylingChange"],
30900
30840
  "isValid": ["validityChanged"],
30901
30841
  "emitValue": ["emitValueHandler"]
30902
30842
  }; }
@@ -30911,12 +30851,6 @@ const EmailInput = class {
30911
30851
  registerInstance(this, hostRef);
30912
30852
  this.sendValidityState = createEvent(this, "sendValidityState", 7);
30913
30853
  this.sendInputValue = createEvent(this, "sendInputValue", 7);
30914
- /**
30915
- * Client custom styling via inline style
30916
- */
30917
- this.clientStyling = '';
30918
- this.limitStylingAppends = false;
30919
- this.showTooltip = false;
30920
30854
  this.validationPattern = '';
30921
30855
  this.touched = false;
30922
30856
  this.handleInput = (event) => {
@@ -30941,6 +30875,25 @@ const EmailInput = class {
30941
30875
  sheet.innerHTML = this.clientStyling;
30942
30876
  this.stylingContainer.prepend(sheet);
30943
30877
  };
30878
+ this.name = undefined;
30879
+ this.displayName = undefined;
30880
+ this.placeholder = undefined;
30881
+ this.validation = undefined;
30882
+ this.defaultValue = undefined;
30883
+ this.autofilled = undefined;
30884
+ this.tooltip = undefined;
30885
+ this.language = undefined;
30886
+ this.emitValue = undefined;
30887
+ this.isDuplicateInput = undefined;
30888
+ this.clientStyling = '';
30889
+ this.errorMessage = undefined;
30890
+ this.isValid = undefined;
30891
+ this.limitStylingAppends = false;
30892
+ this.showTooltip = false;
30893
+ }
30894
+ handleStylingChange(newValue, oldValue) {
30895
+ if (newValue !== oldValue)
30896
+ this.setClientStyling();
30944
30897
  }
30945
30898
  validityChanged() {
30946
30899
  this.validityStateHandler({ valid: this.isValid, name: this.name });
@@ -31030,10 +30983,11 @@ const EmailInput = class {
31030
30983
  if (this.touched) {
31031
30984
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
31032
30985
  }
31033
- return h$2("div", { key: '23ac67984ab7a0f4db01e5fe01f4f326b4c6a912', class: `email__wrapper ${this.autofilled ? 'number__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$2("div", { key: 'aa2405e435aea20f1678dd74776a8ce4094bc95b', class: 'email__wrapper--flex' }, h$2("label", { key: '970b83bbcf082d1721c1647993fecd076939b65d', class: `email__label ${this.validation.mandatory ? 'email__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$2("div", { key: '2f03eaf161aab9b45282c1bc0de15bea8455427c', class: 'email__wrapper--relative' }, this.tooltip &&
31034
- h$2("img", { key: '3c34b91f0b478cf04f5aabc5fdd33a8ed73d091b', class: 'email__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$2("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$2("small", { key: 'edb6660d958cc5d0cb41b0db195bd7e847ecbefe', class: 'email__error-message' }, this.errorMessage));
30986
+ return h$2("div", { key: 'a46093cfafc840d2fd563ee9676ccd2f16fb1620', class: `email__wrapper ${this.autofilled ? 'number__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$2("div", { key: '2eab4a96efc36cdb94e9f92b2a161e208f0ebcd4', class: 'email__wrapper--flex' }, h$2("label", { key: 'f5ed857f61ea6763c5fe88590732258b4dedac1b', class: `email__label ${this.validation.mandatory ? 'email__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$2("div", { key: '58cadc7857cd91dec968852be71e0108f55fbda7', class: 'email__wrapper--relative' }, this.tooltip &&
30987
+ h$2("img", { key: '03009d036fde1c36b9348ac45cefa3389194260c', class: 'email__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$2("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$2("small", { key: 'edb17f53141a3406bfc657f80098b914044a8894', class: 'email__error-message' }, this.errorMessage));
31035
30988
  }
31036
30989
  static get watchers() { return {
30990
+ "clientStyling": ["handleStylingChange"],
31037
30991
  "isValid": ["validityChanged"],
31038
30992
  "emitValue": ["emitValueHandler"]
31039
30993
  }; }
@@ -31048,12 +31002,6 @@ const NumberInput = class {
31048
31002
  registerInstance(this, hostRef);
31049
31003
  this.sendValidityState = createEvent(this, "sendValidityState", 7);
31050
31004
  this.sendInputValue = createEvent(this, "sendInputValue", 7);
31051
- /**
31052
- * Client custom styling via inline style
31053
- */
31054
- this.clientStyling = '';
31055
- this.limitStylingAppends = false;
31056
- this.showTooltip = false;
31057
31005
  this.validationPattern = '';
31058
31006
  this.touched = false;
31059
31007
  this.handleInput = (event) => {
@@ -31078,6 +31026,24 @@ const NumberInput = class {
31078
31026
  sheet.innerHTML = this.clientStyling;
31079
31027
  this.stylingContainer.prepend(sheet);
31080
31028
  };
31029
+ this.name = undefined;
31030
+ this.displayName = undefined;
31031
+ this.placeholder = undefined;
31032
+ this.validation = undefined;
31033
+ this.defaultValue = undefined;
31034
+ this.autofilled = undefined;
31035
+ this.tooltip = undefined;
31036
+ this.language = undefined;
31037
+ this.emitValue = undefined;
31038
+ this.clientStyling = '';
31039
+ this.errorMessage = undefined;
31040
+ this.isValid = undefined;
31041
+ this.limitStylingAppends = false;
31042
+ this.showTooltip = false;
31043
+ }
31044
+ handleStylingChange(newValue, oldValue) {
31045
+ if (newValue !== oldValue)
31046
+ this.setClientStyling();
31081
31047
  }
31082
31048
  validityChanged() {
31083
31049
  this.validityStateHandler({ valid: this.isValid, name: this.name });
@@ -31155,10 +31121,11 @@ const NumberInput = class {
31155
31121
  if (this.touched) {
31156
31122
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
31157
31123
  }
31158
- return h$2("div", { key: '2032f77ca52b330ae2e8f484d7a0aba60ee7b9d5', class: `number__wrapper ${this.autofilled ? 'number__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$2("div", { key: '0786901cd928bba86597180f058bff43fba522b6', class: 'number__wrapper--flex' }, h$2("label", { key: 'ff7f39306cef7aeba3e0e4508df03c5a945e748b', class: `number__label ${this.validation.mandatory ? 'number__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$2("div", { key: 'dced91223621551472fee374d56f1ad7476f4191', class: 'number__wrapper--relative' }, this.tooltip &&
31159
- h$2("img", { key: 'a804a983e342e4d117126720a32c4c34a2b267dc', class: 'number__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$2("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$2("small", { key: 'ca11558b5704b69311626736ab84a298449b98d7', class: 'number__error-message' }, this.errorMessage));
31124
+ return h$2("div", { key: '841265bba6b75cc61a0eac1450c3f5aa5f917a2e', class: `number__wrapper ${this.autofilled ? 'number__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$2("div", { key: '645c7817cf5a0bdc352de9d8c0698fde235aa6d3', class: 'number__wrapper--flex' }, h$2("label", { key: '3343cbbb8482b71cd152161a8d422f318f07f3fe', class: `number__label ${this.validation.mandatory ? 'number__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$2("div", { key: '1f3341b2127095870610fc0e0b4b5d220c5d2e2c', class: 'number__wrapper--relative' }, this.tooltip &&
31125
+ h$2("img", { key: '8bbe2fe9f62347cbcd37b753d4a1b0718dc39091', class: 'number__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$2("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$2("small", { key: 'db1e0043bb9b6de2ad8e18f49f96152b9451b93c', class: 'number__error-message' }, this.errorMessage));
31160
31126
  }
31161
31127
  static get watchers() { return {
31128
+ "clientStyling": ["handleStylingChange"],
31162
31129
  "isValid": ["validityChanged"],
31163
31130
  "emitValue": ["emitValueHandler"]
31164
31131
  }; }
@@ -31273,7 +31240,7 @@ const InputFieldMixin = (superclass) =>
31273
31240
  // Do not validate when focusout is caused by document
31274
31241
  // losing focus, which happens on browser tab switch.
31275
31242
  if (!focused && document.hasFocus()) {
31276
- this._requestValidation();
31243
+ this.validate();
31277
31244
  }
31278
31245
  }
31279
31246
 
@@ -31288,7 +31255,7 @@ const InputFieldMixin = (superclass) =>
31288
31255
  super._onInput(event);
31289
31256
 
31290
31257
  if (this.invalid) {
31291
- this._requestValidation();
31258
+ this.validate();
31292
31259
  }
31293
31260
  }
31294
31261
 
@@ -31309,7 +31276,7 @@ const InputFieldMixin = (superclass) =>
31309
31276
  }
31310
31277
 
31311
31278
  if (this.invalid) {
31312
- this._requestValidation();
31279
+ this.validate();
31313
31280
  }
31314
31281
  }
31315
31282
  };
@@ -31503,6 +31470,24 @@ class TextField extends TextFieldMixin(ThemableMixin(ElementMixin(PolymerElement
31503
31470
  `;
31504
31471
  }
31505
31472
 
31473
+ static get properties() {
31474
+ return {
31475
+ /**
31476
+ * Maximum number of characters (in Unicode code points) that the user can enter.
31477
+ */
31478
+ maxlength: {
31479
+ type: Number,
31480
+ },
31481
+
31482
+ /**
31483
+ * Minimum number of characters (in Unicode code points) that the user can enter.
31484
+ */
31485
+ minlength: {
31486
+ type: Number,
31487
+ },
31488
+ };
31489
+ }
31490
+
31506
31491
  /** @protected */
31507
31492
  ready() {
31508
31493
  super.ready();
@@ -31943,17 +31928,6 @@ const PasswordInput = class {
31943
31928
  this.sendOriginalValidityState = createEvent(this, "sendOriginalValidityState", 7);
31944
31929
  this.sendValidityState = createEvent(this, "sendValidityState", 7);
31945
31930
  this.sendInputValue = createEvent(this, "sendInputValue", 7);
31946
- /**
31947
- * Default value for the input.
31948
- */
31949
- this.defaultValue = '';
31950
- /**
31951
- * Client custom styling via inline style
31952
- */
31953
- this.clientStyling = '';
31954
- this.limitStylingAppends = false;
31955
- this.showTooltip = false;
31956
- this.value = '';
31957
31931
  this.touched = false;
31958
31932
  this.originalValid = false;
31959
31933
  this.validationPattern = '';
@@ -31992,6 +31966,28 @@ const PasswordInput = class {
31992
31966
  sheet.innerHTML = this.clientStyling;
31993
31967
  this.stylingContainer.prepend(sheet);
31994
31968
  };
31969
+ this.name = undefined;
31970
+ this.displayName = undefined;
31971
+ this.placeholder = undefined;
31972
+ this.defaultValue = '';
31973
+ this.autofilled = undefined;
31974
+ this.tooltip = undefined;
31975
+ this.validation = undefined;
31976
+ this.language = undefined;
31977
+ this.emitValue = undefined;
31978
+ this.isDuplicateInput = undefined;
31979
+ this.clientStyling = '';
31980
+ this.isValid = undefined;
31981
+ this.errorMessage = undefined;
31982
+ this.limitStylingAppends = false;
31983
+ this.showTooltip = false;
31984
+ this.passwordComplexity = undefined;
31985
+ this.showPopup = undefined;
31986
+ this.value = '';
31987
+ }
31988
+ handleStylingChange(newValue, oldValue) {
31989
+ if (newValue !== oldValue)
31990
+ this.setClientStyling();
31995
31991
  }
31996
31992
  validityChanged() {
31997
31993
  this.validityStateHandler({ valid: this.isValid, name: this.name });
@@ -32151,11 +32147,12 @@ const PasswordInput = class {
32151
32147
  if (this.touched) {
32152
32148
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
32153
32149
  }
32154
- return h$2("div", { key: 'c704b51efdf53817beb1541b4794e0b11b490a24', class: `password__wrapper ${this.autofilled ? 'password__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$2("div", { key: 'e590afa403084ff95a8735ade400ab81ad16937f', class: 'password__wrapper--flex' }, h$2("label", { key: '9d8db00b59c4b9594538aeacee3ef5a0e678c0e9', class: `password__label ${this.validation.mandatory ? 'password__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$2("div", { key: 'bb39f6018cf688fafcd0b5bef91ba079edf09daf', class: 'password__wrapper--relative' }, this.tooltip &&
32155
- h$2("img", { key: 'd8dbd086da34a8c7db9b5826654530bdb888c927', class: 'password__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$2("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$2("small", { key: '2fa1e25239a7314399c16b2f897873b7a31e9f77', class: 'password__error-message' }, this.errorMessage), this.passwordComplexity && this.showPopup && !this.isDuplicateInput && this.renderComplexityPopup());
32150
+ return h$2("div", { key: '36d21c63dcd15b6de2d2de417ce97b520493cd16', class: `password__wrapper ${this.autofilled ? 'password__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$2("div", { key: '3de600f4ccbf2ffe7a8a8858e9d5a483701dd4d7', class: 'password__wrapper--flex' }, h$2("label", { key: '74fee343f4d6adbbb22e88c5d51d3a471979d42e', class: `password__label ${this.validation.mandatory ? 'password__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$2("div", { key: 'd1f30d776c5612b1a5581859b929bee171105bf5', class: 'password__wrapper--relative' }, this.tooltip &&
32151
+ h$2("img", { key: '932201990b5fa67f448d4ab8ca7f844f757d5e47', class: 'password__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$2("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$2("small", { key: '0f6f7ba5e9ec6f492f22a46ac77c7977f7a8e835', class: 'password__error-message' }, this.errorMessage), this.passwordComplexity && this.showPopup && !this.isDuplicateInput && this.renderComplexityPopup());
32156
32152
  }
32157
32153
  get element() { return getElement(this); }
32158
32154
  static get watchers() { return {
32155
+ "clientStyling": ["handleStylingChange"],
32159
32156
  "isValid": ["validityChanged"],
32160
32157
  "value": ["valueChanged"],
32161
32158
  "emitValue": ["emitValueHandler"]
@@ -32171,17 +32168,27 @@ const RadioInput = class {
32171
32168
  registerInstance(this, hostRef);
32172
32169
  this.sendInputValue = createEvent(this, "sendInputValue", 7);
32173
32170
  this.sendValidityState = createEvent(this, "sendValidityState", 7);
32174
- /**
32175
- * Client custom styling via inline style
32176
- */
32177
- this.clientStyling = '';
32178
- this.limitStylingAppends = false;
32179
- this.showTooltip = false;
32180
32171
  this.setClientStyling = () => {
32181
32172
  let sheet = document.createElement('style');
32182
32173
  sheet.innerHTML = this.clientStyling;
32183
32174
  this.stylingContainer.prepend(sheet);
32184
32175
  };
32176
+ this.name = undefined;
32177
+ this.displayName = undefined;
32178
+ this.optionsGroup = undefined;
32179
+ this.validation = undefined;
32180
+ this.tooltip = undefined;
32181
+ this.language = undefined;
32182
+ this.emitValue = undefined;
32183
+ this.clientStyling = '';
32184
+ this.errorMessage = undefined;
32185
+ this.isValid = undefined;
32186
+ this.limitStylingAppends = false;
32187
+ this.showTooltip = false;
32188
+ }
32189
+ handleStylingChange(newValue, oldValue) {
32190
+ if (newValue !== oldValue)
32191
+ this.setClientStyling();
32185
32192
  }
32186
32193
  validityChanged() {
32187
32194
  this.validityStateHandler({ valid: this.isValid, name: this.name });
@@ -32236,10 +32243,11 @@ const RadioInput = class {
32236
32243
  return null;
32237
32244
  }
32238
32245
  render() {
32239
- return h$2("fieldset", { key: '3d90735f7dc8fef6a96dc85b8f9ba22880cb205f', class: `radio__fieldset ${this.name}__input`, ref: el => this.stylingContainer = el }, h$2("legend", { key: '9472ed76f5c7fabb90d2b3d39eeb9e18f05a30dd', class: 'radio__legend' }, this.displayName, ":"), this.optionsGroup.map(option => h$2("div", { class: 'radio__wrapper' }, h$2("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$2("label", { htmlFor: `${option.label}__input` }, option.label))), h$2("small", { key: '2ae0947580bb8a0a3d889a2d9ebd0b82458fdfd2', class: 'radio__error-message' }, this.errorMessage), this.tooltip &&
32240
- h$2("img", { key: '4f3cbf341f1c559bbdf44ca5d169be7a64d46e97', class: 'radio__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip());
32246
+ return h$2("fieldset", { key: '29ff8fcc910622397750532629ac0c202c9726ba', class: `radio__fieldset ${this.name}__input`, ref: el => this.stylingContainer = el }, h$2("legend", { key: 'cdab5b331863f3d31aab50c1d95b5a8845d53329', class: 'radio__legend' }, this.displayName, ":"), this.optionsGroup.map(option => h$2("div", { class: 'radio__wrapper' }, h$2("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$2("label", { htmlFor: `${option.label}__input` }, option.label))), h$2("small", { key: 'bd6cd89510e7ace1348b391f3ce9ba334a03e695', class: 'radio__error-message' }, this.errorMessage), this.tooltip &&
32247
+ h$2("img", { key: '27036c51c89612dbb87e5248355d3a5466c49705', class: 'radio__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip());
32241
32248
  }
32242
32249
  static get watchers() { return {
32250
+ "clientStyling": ["handleStylingChange"],
32243
32251
  "isValid": ["validityChanged"],
32244
32252
  "emitValue": ["emitValueHandler"]
32245
32253
  }; }
@@ -36525,7 +36533,6 @@ const ComboBoxMixin = (subclass) =>
36525
36533
  /**
36526
36534
  * Override LitElement lifecycle callback to handle filter property change.
36527
36535
  * @param {Object} props
36528
- * @protected
36529
36536
  */
36530
36537
  updated(props) {
36531
36538
  super.updated(props);
@@ -37247,7 +37254,7 @@ const ComboBoxMixin = (subclass) =>
37247
37254
  // Do not validate when focusout is caused by document
37248
37255
  // losing focus, which happens on browser tab switch.
37249
37256
  if (document.hasFocus()) {
37250
- this._requestValidation();
37257
+ this.validate();
37251
37258
  }
37252
37259
 
37253
37260
  if (this.value !== this._lastCommittedValue) {
@@ -37797,20 +37804,6 @@ const SelectInput = class {
37797
37804
  registerInstance(this, hostRef);
37798
37805
  this.sendValidityState = createEvent(this, "sendValidityState", 7);
37799
37806
  this.sendInputValue = createEvent(this, "sendInputValue", 7);
37800
- /**
37801
- * Default value for the input.
37802
- */
37803
- this.defaultValue = '';
37804
- /**
37805
- * Options of the input.
37806
- */
37807
- this.options = [];
37808
- /**
37809
- * Client custom styling via inline style
37810
- */
37811
- this.clientStyling = '';
37812
- this.limitStylingAppends = false;
37813
- this.showTooltip = false;
37814
37807
  this.touched = false;
37815
37808
  this.handleChange = (event) => {
37816
37809
  this.touched = true;
@@ -37839,6 +37832,26 @@ const SelectInput = class {
37839
37832
  sheet.innerHTML = this.clientStyling;
37840
37833
  this.stylingContainer.prepend(sheet);
37841
37834
  };
37835
+ this.name = undefined;
37836
+ this.displayName = undefined;
37837
+ this.placeholder = undefined;
37838
+ this.action = undefined;
37839
+ this.defaultValue = '';
37840
+ this.autofilled = undefined;
37841
+ this.tooltip = undefined;
37842
+ this.options = [];
37843
+ this.validation = undefined;
37844
+ this.language = undefined;
37845
+ this.emitValue = undefined;
37846
+ this.clientStyling = '';
37847
+ this.errorMessage = undefined;
37848
+ this.isValid = undefined;
37849
+ this.limitStylingAppends = false;
37850
+ this.showTooltip = false;
37851
+ }
37852
+ handleStylingChange(newValue, oldValue) {
37853
+ if (newValue !== oldValue)
37854
+ this.setClientStyling();
37842
37855
  }
37843
37856
  validityChanged() {
37844
37857
  this.validityStateHandler({ valid: this.isValid, name: this.name });
@@ -37931,11 +37944,12 @@ const SelectInput = class {
37931
37944
  if (this.touched) {
37932
37945
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
37933
37946
  }
37934
- return h$2("div", { key: '3d298b9709617233adacd88b8acb7d6298d35627', class: `select__wrapper ${this.autofilled ? 'select__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$2("div", { key: '9ba53148a200b925da11ad0dea5589e9634ffb03', class: 'select__wrapper--flex' }, h$2("label", { key: 'eb2fa2233926ada4da750e47304325d0d7ea3985', class: 'select__label', htmlFor: `${this.name}__input` }, `${this.displayName} ${this.validation.mandatory ? '*' : ''}`), h$2("div", { key: '3cbe968f9a7c612d0b8d0517621a933cccd1bd58', class: 'select__wrapper--relative' }, this.tooltip &&
37935
- h$2("img", { key: '9fa9be645ed72897a95705b0e17b3aee855eb6d4', class: 'select__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$2("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$2("small", { key: 'a9c652406489ba1d23497c55aa14e7b67fa701bd', class: 'select__error-message' }, this.errorMessage));
37947
+ return h$2("div", { key: 'f02c73635c87a1937f4718c9de8df3aae8397815', class: `select__wrapper ${this.autofilled ? 'select__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$2("div", { key: '26bf79a073dd4c84570e380b1f36bfe848fec568', class: 'select__wrapper--flex' }, h$2("label", { key: '6eaafabe58a2dd4e1604ac2e3d55d001e2c4bc7c', class: 'select__label', htmlFor: `${this.name}__input` }, `${this.displayName} ${this.validation.mandatory ? '*' : ''}`), h$2("div", { key: 'a1de9c4bd3dd4158b26004c6df9dca5915f73978', class: 'select__wrapper--relative' }, this.tooltip &&
37948
+ h$2("img", { key: '5cb869c82f53a463c91cd060fad5520d2fbc3d0d', class: 'select__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$2("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$2("small", { key: '2c8162576d30265ea49cdc6d99071f614d833d7e', class: 'select__error-message' }, this.errorMessage));
37936
37949
  }
37937
37950
  get element() { return getElement(this); }
37938
37951
  static get watchers() { return {
37952
+ "clientStyling": ["handleStylingChange"],
37939
37953
  "isValid": ["validityChanged"],
37940
37954
  "emitValue": ["emitValueHandler"]
37941
37955
  }; }
@@ -37950,12 +37964,6 @@ const TelInput = class {
37950
37964
  registerInstance(this, hostRef);
37951
37965
  this.sendValidityState = createEvent(this, "sendValidityState", 7);
37952
37966
  this.sendInputValue = createEvent(this, "sendInputValue", 7);
37953
- /**
37954
- * Client custom styling via inline style
37955
- */
37956
- this.clientStyling = '';
37957
- this.limitStylingAppends = false;
37958
- this.showTooltip = false;
37959
37967
  this.validationPattern = '';
37960
37968
  this.touched = false;
37961
37969
  this.handleInput = (event) => {
@@ -37981,6 +37989,26 @@ const TelInput = class {
37981
37989
  sheet.innerHTML = this.clientStyling;
37982
37990
  this.stylingContainer.prepend(sheet);
37983
37991
  };
37992
+ this.name = undefined;
37993
+ this.displayName = undefined;
37994
+ this.placeholder = undefined;
37995
+ this.showLabels = undefined;
37996
+ this.action = undefined;
37997
+ this.validation = undefined;
37998
+ this.defaultValue = undefined;
37999
+ this.autofilled = undefined;
38000
+ this.tooltip = undefined;
38001
+ this.language = undefined;
38002
+ this.emitValue = undefined;
38003
+ this.clientStyling = '';
38004
+ this.isValid = undefined;
38005
+ this.errorMessage = undefined;
38006
+ this.limitStylingAppends = false;
38007
+ this.showTooltip = false;
38008
+ }
38009
+ handleStylingChange(newValue, oldValue) {
38010
+ if (newValue !== oldValue)
38011
+ this.setClientStyling();
37984
38012
  }
37985
38013
  validityChanged() {
37986
38014
  this.validityStateHandler({ valid: this.isValid, name: this.name });
@@ -38092,10 +38120,11 @@ const TelInput = class {
38092
38120
  if (this.touched) {
38093
38121
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
38094
38122
  }
38095
- return h$2("div", { key: '5febd36c339710683111039d477196daac87853c', class: `tel__wrapper ${this.autofilled ? 'tel__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$2("div", { key: 'fb779beee03992b23478ffcaac85095420048ceb', class: 'tel__wrapper--flex-label' }, h$2("label", { key: '5b69271c1c8bf403a003d765adb40a553e09466e', class: `tel__label ${this.validation.mandatory ? 'tel__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$2("div", { key: '040c487308231459fc92eba2e643a80639df09d6', class: 'tel__wrapper--relative' }, this.tooltip &&
38096
- h$2("img", { key: '91efd4656c718c75e5047413daf10c22c37e8f93', class: 'tel__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$2("div", { key: '6215f80b6bccb3dfb03dbbc485c850725633627c', class: `tel__wrapper--flex ${invalidClass}` }, h$2("vaadin-combo-box", { key: '3b7b1ef3415619c51d74f5fc7c5e034acb8f037f', class: 'tel__prefix', items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.autofilled, onChange: (e) => this.handlePrefixInput(e) }), h$2("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$2("small", { key: 'd4c88d386c3342c789527d925e9cd061494b785c', class: 'tel__error-message' }, this.errorMessage));
38123
+ return h$2("div", { key: 'f0f70d8568ba083ee19f9e73e5921104f599e15f', class: `tel__wrapper ${this.autofilled ? 'tel__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$2("div", { key: '8da9e1c2a6b3ca19caff07540f0218266de22bb2', class: 'tel__wrapper--flex-label' }, h$2("label", { key: 'd0d90bc96e3ea853f401bae9be3f033d4cfd9b17', class: `tel__label ${this.validation.mandatory ? 'tel__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$2("div", { key: 'fdf7929f51edcbea8568b35804b0d9e9a93a7249', class: 'tel__wrapper--relative' }, this.tooltip &&
38124
+ h$2("img", { key: '0fbc9b5e8c5feef727caa71ef07d4ae80007e04a', class: 'tel__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$2("div", { key: 'b4a11808a7ae5e5cddce47b51a51003bce3a84f8', class: `tel__wrapper--flex ${invalidClass}` }, h$2("vaadin-combo-box", { key: '2d81ff4c11e559f302a8446816f4aca0de2cfcef', class: 'tel__prefix', items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.autofilled, onChange: (e) => this.handlePrefixInput(e) }), h$2("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$2("small", { key: '6d219de32297bc2fab31995b5a33b14f2eea21d9', class: 'tel__error-message' }, this.errorMessage));
38097
38125
  }
38098
38126
  static get watchers() { return {
38127
+ "clientStyling": ["handleStylingChange"],
38099
38128
  "isValid": ["validityChanged"],
38100
38129
  "emitValue": ["emitValueHandler"]
38101
38130
  }; }
@@ -38110,17 +38139,6 @@ const TextInput = class {
38110
38139
  registerInstance(this, hostRef);
38111
38140
  this.sendValidityState = createEvent(this, "sendValidityState", 7);
38112
38141
  this.sendInputValue = createEvent(this, "sendInputValue", 7);
38113
- /**
38114
- * Default value for the input.
38115
- */
38116
- this.defaultValue = '';
38117
- /**
38118
- * Client custom styling via inline style
38119
- */
38120
- this.clientStyling = '';
38121
- this.errorMessage = '';
38122
- this.limitStylingAppends = false;
38123
- this.showTooltip = false;
38124
38142
  this.value = '';
38125
38143
  this.validationPattern = '';
38126
38144
  this.duplicateInputValue = null;
@@ -38150,6 +38168,26 @@ const TextInput = class {
38150
38168
  sheet.innerHTML = this.clientStyling;
38151
38169
  this.stylingContainer.prepend(sheet);
38152
38170
  };
38171
+ this.name = undefined;
38172
+ this.displayName = undefined;
38173
+ this.placeholder = undefined;
38174
+ this.validation = undefined;
38175
+ this.defaultValue = '';
38176
+ this.autofilled = undefined;
38177
+ this.tooltip = undefined;
38178
+ this.language = undefined;
38179
+ this.checkValidity = undefined;
38180
+ this.emitValue = undefined;
38181
+ this.isDuplicateInput = undefined;
38182
+ this.clientStyling = '';
38183
+ this.isValid = undefined;
38184
+ this.errorMessage = '';
38185
+ this.limitStylingAppends = false;
38186
+ this.showTooltip = false;
38187
+ }
38188
+ handleStylingChange(newValue, oldValue) {
38189
+ if (newValue !== oldValue)
38190
+ this.setClientStyling();
38153
38191
  }
38154
38192
  validityChanged() {
38155
38193
  this.validityStateHandler({ valid: this.isValid, name: this.name });
@@ -38256,10 +38294,11 @@ const TextInput = class {
38256
38294
  if (this.touched) {
38257
38295
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
38258
38296
  }
38259
- return h$2("div", { key: 'bfb803110a70b89dd484e993c204b572f0115a17', class: `text__wrapper ${this.name}__input ${this.autofilled ? 'text__wrapper--autofilled' : ''}`, ref: el => this.stylingContainer = el }, h$2("div", { key: '6e9f8f5aada98821d5dc78ccb8b1431ba23b81ab', class: 'text__wrapper--flex' }, h$2("label", { key: '05cf07855121a79641475a5b020774cf8120d1ed', class: `text__label ${this.validation.mandatory ? 'text__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$2("div", { key: 'f8c48a999f6827a61ec392ce99858c19559c77d2', class: 'text__wrapper--relative' }, this.tooltip &&
38260
- h$2("img", { key: 'e866f1df104ce57c29164e73b4ad4d017c7201cd', class: 'text__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$2("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$2("small", { key: '5c8df34dd47959eb1668cdf389524d145c69fa84', class: 'text__error-message' }, this.errorMessage));
38297
+ return h$2("div", { key: 'e297f841a57c6acf854535a786916aa641831556', class: `text__wrapper ${this.name}__input ${this.autofilled ? 'text__wrapper--autofilled' : ''}`, ref: el => this.stylingContainer = el }, h$2("div", { key: '7fd284a58e58d5c61a03caf4cc317b8dd9dbd82f', class: 'text__wrapper--flex' }, h$2("label", { key: 'f80a2003386ec867e5310190a7568105c2912569', class: `text__label ${this.validation.mandatory ? 'text__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$2("div", { key: 'e8f5197bd370100406d600be5a336f85f4c6934d', class: 'text__wrapper--relative' }, this.tooltip &&
38298
+ h$2("img", { key: 'ff8c38fe3495a41a41ac4a1569169ce26a1ec9ce', class: 'text__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$2("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$2("small", { key: '20620710026982d5fb670a3173bab57a7fa9e7ce', class: 'text__error-message' }, this.errorMessage));
38261
38299
  }
38262
38300
  static get watchers() { return {
38301
+ "clientStyling": ["handleStylingChange"],
38263
38302
  "isValid": ["validityChanged"],
38264
38303
  "emitValue": ["emitValueHandler"]
38265
38304
  }; }