@vonage/vivid 5.31.0 → 5.32.0

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 (154) hide show
  1. package/bundled/anchored.cjs +1 -1
  2. package/bundled/anchored.js +25 -26
  3. package/bundled/calendar-picker.template.cjs +1 -1
  4. package/bundled/calendar-picker.template.js +5 -5
  5. package/bundled/char-count.cjs +2 -2
  6. package/bundled/char-count.js +2 -3
  7. package/bundled/definition4.cjs +17 -10
  8. package/bundled/definition4.js +17 -10
  9. package/bundled/form-element.cjs +1 -1
  10. package/bundled/form-element.js +3 -4
  11. package/bundled/localized.cjs +1 -1
  12. package/bundled/localized.js +11 -10
  13. package/bundled/picker-field.template.cjs +1 -1
  14. package/bundled/picker-field.template.js +12 -17
  15. package/bundled/time-selection-picker.template.cjs +1 -1
  16. package/bundled/time-selection-picker.template.js +7 -9
  17. package/bundled/vivid-element.cjs +1 -1
  18. package/bundled/vivid-element.js +10 -8
  19. package/bundled/with-error-text.cjs +1 -1
  20. package/bundled/with-error-text.js +7 -9
  21. package/custom-elements.json +4955 -6650
  22. package/lib/accordion-item/accordion-item.d.ts +13 -7
  23. package/lib/action-group/action-group.d.ts +13 -7
  24. package/lib/alert/alert.d.ts +26 -14
  25. package/lib/audio-player/audio-player.d.ts +13 -7
  26. package/lib/avatar/avatar.d.ts +13 -7
  27. package/lib/badge/badge.d.ts +13 -7
  28. package/lib/banner/banner.d.ts +39 -21
  29. package/lib/breadcrumb/breadcrumb.d.ts +13 -7
  30. package/lib/breadcrumb-item/breadcrumb-item.d.ts +13 -7
  31. package/lib/button/button.d.ts +39 -21
  32. package/lib/calendar-event/calendar-event.d.ts +13 -7
  33. package/lib/card/card.d.ts +13 -7
  34. package/lib/checkbox/checkbox.d.ts +84 -48
  35. package/lib/color-picker/color-picker.d.ts +98 -56
  36. package/lib/combobox/combobox.d.ts +98 -56
  37. package/lib/country-group/country-group.d.ts +26 -14
  38. package/lib/data-grid/data-grid-cell.d.ts +26 -14
  39. package/lib/data-grid/data-grid-row.d.ts +13 -7
  40. package/lib/date-picker/date-picker.d.ts +162 -114
  41. package/lib/date-range-picker/date-range-picker.d.ts +82 -58
  42. package/lib/date-time-picker/date-time-picker.d.ts +164 -116
  43. package/lib/dial-pad/dial-pad.d.ts +13 -7
  44. package/lib/dialog/dialog.d.ts +26 -14
  45. package/lib/divider/divider.d.ts +13 -7
  46. package/lib/fab/fab.d.ts +13 -7
  47. package/lib/file-picker/file-picker.d.ts +98 -56
  48. package/lib/header/header.d.ts +13 -7
  49. package/lib/listbox/listbox.d.ts +41 -23
  50. package/lib/menu/menu.d.ts +30 -18
  51. package/lib/menu-item/menu-item.d.ts +39 -21
  52. package/lib/nav/nav.d.ts +13 -7
  53. package/lib/nav-disclosure/nav-disclosure.d.ts +26 -14
  54. package/lib/nav-item/nav-item.d.ts +28 -16
  55. package/lib/note/note.d.ts +13 -7
  56. package/lib/number-field/number-field.d.ts +124 -70
  57. package/lib/optgroup/optgroup.d.ts +13 -7
  58. package/lib/option/option.d.ts +26 -14
  59. package/lib/pagination/pagination.d.ts +13 -7
  60. package/lib/popover/popover.d.ts +26 -14
  61. package/lib/progress/progress.d.ts +13 -7
  62. package/lib/progress-ring/progress-ring.d.ts +13 -7
  63. package/lib/radio/radio.d.ts +45 -27
  64. package/lib/radio-group/radio-group.d.ts +13 -7
  65. package/lib/range-slider/range-slider.d.ts +40 -22
  66. package/lib/rich-text-editor/rich-text-editor.d.ts +30 -18
  67. package/lib/searchable-select/option-tag.d.ts +13 -7
  68. package/lib/searchable-select/searchable-select.d.ts +124 -70
  69. package/lib/select/select.d.ts +124 -70
  70. package/lib/selectable-box/selectable-box.d.ts +13 -7
  71. package/lib/simple-color-picker/simple-color-picker.d.ts +31 -19
  72. package/lib/slider/slider.d.ts +39 -21
  73. package/lib/split-button/split-button.d.ts +39 -21
  74. package/lib/status/status.d.ts +13 -7
  75. package/lib/switch/switch.d.ts +26 -14
  76. package/lib/tab/tab.d.ts +39 -21
  77. package/lib/tab-panel/tab-panel.d.ts +13 -7
  78. package/lib/table/table-cell.d.ts +13 -7
  79. package/lib/table/table-header-cell.d.ts +13 -7
  80. package/lib/table/table-row.d.ts +13 -7
  81. package/lib/table/table-sorting-button.d.ts +26 -14
  82. package/lib/tag/tag.d.ts +39 -21
  83. package/lib/tag-group/tag-group.d.ts +13 -7
  84. package/lib/text-area/text-area.d.ts +112 -64
  85. package/lib/text-field/text-field.d.ts +125 -71
  86. package/lib/time-picker/time-picker.d.ts +82 -58
  87. package/lib/toggletip/toggletip.d.ts +30 -18
  88. package/lib/tooltip/tooltip.d.ts +30 -18
  89. package/lib/tree-item/tree-item.d.ts +26 -14
  90. package/lib/tree-view/tree-view.d.ts +13 -7
  91. package/lib/video-player/video-player.d.ts +13 -7
  92. package/listbox/index.cjs +1 -1
  93. package/listbox/index.js +3 -4
  94. package/nav-item/index.cjs +1 -1
  95. package/nav-item/index.js +5 -1
  96. package/package.json +7 -7
  97. package/shared/aria/aria-mixin.d.ts +11 -5
  98. package/shared/aria/delegates-aria.d.ts +13 -7
  99. package/shared/aria/host-semantics.d.ts +13 -7
  100. package/shared/color-picker/base-color-picker.d.ts +14 -8
  101. package/shared/deprecation/replaced-props.d.ts +12 -6
  102. package/shared/feedback/feedback-message.d.ts +13 -7
  103. package/shared/feedback/mixins.d.ts +26 -14
  104. package/shared/foundation/button/button.d.ts +26 -14
  105. package/shared/foundation/form-associated/form-associated.d.ts +26 -14
  106. package/shared/foundation/vivid-element/vivid-element.d.ts +35 -17
  107. package/shared/framework/reactive-controller.d.ts +12 -6
  108. package/shared/listbox/with-options-filter.d.ts +14 -8
  109. package/shared/listbox/with-options.d.ts +28 -16
  110. package/shared/patterns/affix.d.ts +26 -14
  111. package/shared/patterns/anchored.d.ts +34 -22
  112. package/shared/patterns/char-count/char-count.d.ts +14 -8
  113. package/shared/patterns/form-elements/form-element.d.ts +14 -8
  114. package/shared/patterns/form-elements/with-contextual-help.d.ts +14 -8
  115. package/shared/patterns/form-elements/with-error-text.d.ts +18 -12
  116. package/shared/patterns/form-elements/with-success-text.d.ts +13 -7
  117. package/shared/patterns/kbd-shortcut.d.ts +13 -7
  118. package/shared/patterns/linkable.d.ts +13 -7
  119. package/shared/patterns/localized.d.ts +30 -18
  120. package/shared/patterns/trapped-focus.d.ts +13 -7
  121. package/shared/picker-field/mixins/calendar-picker.d.ts +41 -29
  122. package/shared/picker-field/mixins/calendar-picker.template.d.ts +41 -29
  123. package/shared/picker-field/mixins/inline-time-picker/inline-time-picker.d.ts +13 -7
  124. package/shared/picker-field/mixins/min-max-calendar-picker.d.ts +41 -29
  125. package/shared/picker-field/mixins/single-date-picker.d.ts +41 -29
  126. package/shared/picker-field/mixins/single-value-picker.d.ts +39 -27
  127. package/shared/picker-field/mixins/time-selection-picker.d.ts +43 -31
  128. package/shared/picker-field/mixins/time-selection-picker.template.d.ts +82 -58
  129. package/shared/picker-field/picker-field.d.ts +98 -57
  130. package/unbundled/anchored.cjs +39 -37
  131. package/unbundled/anchored.js +39 -37
  132. package/unbundled/calendar-picker.template.cjs +7 -5
  133. package/unbundled/calendar-picker.template.js +7 -5
  134. package/unbundled/char-count.cjs +3 -9
  135. package/unbundled/char-count.js +3 -9
  136. package/unbundled/definition5.cjs +17 -10
  137. package/unbundled/definition5.js +17 -10
  138. package/unbundled/definition50.cjs +3 -4
  139. package/unbundled/definition50.js +3 -4
  140. package/unbundled/definition52.cjs +6 -2
  141. package/unbundled/definition52.js +6 -2
  142. package/unbundled/form-element.cjs +3 -4
  143. package/unbundled/form-element.js +3 -4
  144. package/unbundled/localized.cjs +15 -11
  145. package/unbundled/localized.js +15 -11
  146. package/unbundled/picker-field.template.cjs +22 -24
  147. package/unbundled/picker-field.template.js +22 -24
  148. package/unbundled/time-selection-picker.template.cjs +10 -10
  149. package/unbundled/time-selection-picker.template.js +10 -10
  150. package/unbundled/vivid-element.cjs +12 -8
  151. package/unbundled/vivid-element.js +12 -8
  152. package/unbundled/with-error-text.cjs +11 -10
  153. package/unbundled/with-error-text.js +11 -10
  154. package/shared/foundation/vivid-element/vivid-element.browser-spec.d.ts +0 -1
@@ -27,6 +27,12 @@ var Localized = (Base) => {
27
27
  /** Mixin for Localized elements that need to observe locale changes. */
28
28
  var WithObservableLocale = (Base) => {
29
29
  class WithObservableLocaleElement extends Localized(Base) {
30
+ constructor(..._args) {
31
+ super(..._args);
32
+ this._localeChangeHandler = { handleChange: () => {
33
+ this.localeChanged();
34
+ } };
35
+ }
30
36
  /**
31
37
  * Called whenever the locale changes.
32
38
  * @internal
@@ -35,22 +41,20 @@ var WithObservableLocale = (Base) => {
35
41
  localeChanged() {}
36
42
  connectedCallback() {
37
43
  super.connectedCallback();
38
- this.#startObservingLocaleChanges();
44
+ this._startObservingLocaleChanges();
39
45
  }
40
46
  disconnectedCallback() {
41
47
  super.disconnectedCallback();
42
- this.#stopObservingLocaleChanges();
48
+ this._stopObservingLocaleChanges();
43
49
  }
44
- #localeChangeHandler = { handleChange: () => {
45
- this.localeChanged();
46
- } };
47
- #localeChangeObserver;
48
- #startObservingLocaleChanges() {
49
- this.#localeChangeObserver = _microsoft_fast_element.Observable.binding(() => this.locale, this.#localeChangeHandler);
50
- this.#localeChangeObserver.observe(this, _microsoft_fast_element.ExecutionContext.default);
50
+ /** @internal */
51
+ _startObservingLocaleChanges() {
52
+ this._localeChangeObserver = _microsoft_fast_element.Observable.binding(() => this.locale, this._localeChangeHandler);
53
+ this._localeChangeObserver.observe(this, _microsoft_fast_element.ExecutionContext.default);
51
54
  }
52
- #stopObservingLocaleChanges() {
53
- this.#localeChangeObserver.dispose();
55
+ /** @internal */
56
+ _stopObservingLocaleChanges() {
57
+ this._localeChangeObserver.dispose();
54
58
  }
55
59
  }
56
60
  return WithObservableLocaleElement;
@@ -27,6 +27,12 @@ var Localized = (Base) => {
27
27
  /** Mixin for Localized elements that need to observe locale changes. */
28
28
  var WithObservableLocale = (Base) => {
29
29
  class WithObservableLocaleElement extends Localized(Base) {
30
+ constructor(..._args) {
31
+ super(..._args);
32
+ this._localeChangeHandler = { handleChange: () => {
33
+ this.localeChanged();
34
+ } };
35
+ }
30
36
  /**
31
37
  * Called whenever the locale changes.
32
38
  * @internal
@@ -35,22 +41,20 @@ var WithObservableLocale = (Base) => {
35
41
  localeChanged() {}
36
42
  connectedCallback() {
37
43
  super.connectedCallback();
38
- this.#startObservingLocaleChanges();
44
+ this._startObservingLocaleChanges();
39
45
  }
40
46
  disconnectedCallback() {
41
47
  super.disconnectedCallback();
42
- this.#stopObservingLocaleChanges();
48
+ this._stopObservingLocaleChanges();
43
49
  }
44
- #localeChangeHandler = { handleChange: () => {
45
- this.localeChanged();
46
- } };
47
- #localeChangeObserver;
48
- #startObservingLocaleChanges() {
49
- this.#localeChangeObserver = Observable.binding(() => this.locale, this.#localeChangeHandler);
50
- this.#localeChangeObserver.observe(this, ExecutionContext.default);
50
+ /** @internal */
51
+ _startObservingLocaleChanges() {
52
+ this._localeChangeObserver = Observable.binding(() => this.locale, this._localeChangeHandler);
53
+ this._localeChangeObserver.observe(this, ExecutionContext.default);
51
54
  }
52
- #stopObservingLocaleChanges() {
53
- this.#localeChangeObserver.dispose();
55
+ /** @internal */
56
+ _stopObservingLocaleChanges() {
57
+ this._localeChangeObserver.dispose();
54
58
  }
55
59
  }
56
60
  return WithObservableLocaleElement;
@@ -38,18 +38,18 @@ var PickerField = class extends require_with_contextual_help.WithContextualHelp(
38
38
  constructor() {
39
39
  super();
40
40
  this.readOnly = false;
41
- this.#onFocusIn = () => {
41
+ this._onFocusIn = () => {
42
42
  this.$emit("focus", void 0, { bubbles: false });
43
43
  };
44
- this.#onFocusOut = () => {
44
+ this._onFocusOut = () => {
45
45
  this.$emit("blur", void 0, { bubbles: false });
46
46
  };
47
47
  this.proxy = document.createElement("input");
48
- this.#localeChangeHandler = { handleChange: () => {
48
+ this._localeChangeHandler = { handleChange: () => {
49
49
  this._updatePresentationValue();
50
50
  } };
51
51
  this._popupOpen = false;
52
- this.#dismissOnClickOutside = (event) => {
52
+ this._dismissOnClickOutside = (event) => {
53
53
  if (!this._popupOpen) return;
54
54
  const path = event.composedPath();
55
55
  if (![this._dialogEl, this._pickerButtonEl].some((element) => path.includes(element))) this._closePopup(false);
@@ -60,37 +60,35 @@ var PickerField = class extends require_with_contextual_help.WithContextualHelp(
60
60
  /** @internal */
61
61
  connectedCallback() {
62
62
  super.connectedCallback();
63
- document.addEventListener("click", this.#dismissOnClickOutside);
64
- this.addEventListener("focusin", this.#onFocusIn);
65
- this.addEventListener("focusout", this.#onFocusOut);
66
- this.#startObservingLocaleChanges();
63
+ document.addEventListener("click", this._dismissOnClickOutside);
64
+ this.addEventListener("focusin", this._onFocusIn);
65
+ this.addEventListener("focusout", this._onFocusOut);
66
+ this._startObservingLocaleChanges();
67
67
  }
68
68
  /** @internal */
69
69
  disconnectedCallback() {
70
70
  super.disconnectedCallback();
71
- document.removeEventListener("click", this.#dismissOnClickOutside);
72
- this.removeEventListener("focusin", this.#onFocusIn);
73
- this.removeEventListener("focusout", this.#onFocusOut);
74
- this.#stopObservingLocaleChanges();
71
+ document.removeEventListener("click", this._dismissOnClickOutside);
72
+ this.removeEventListener("focusin", this._onFocusIn);
73
+ this.removeEventListener("focusout", this._onFocusOut);
74
+ this._stopObservingLocaleChanges();
75
75
  }
76
- #onFocusIn;
77
- #onFocusOut;
78
76
  /** @internal */
79
77
  validate() {
80
78
  if (this.proxy) this.proxy.setCustomValidity(this._getCustomValidationError() ?? "");
81
79
  super.validate(this._textFieldEl?.querySelector("input") ?? void 0);
82
80
  }
83
- #localeChangeHandler;
84
- #localeChangeObserver;
85
- #startObservingLocaleChanges() {
86
- this.#localeChangeObserver = _microsoft_fast_element.Observable.binding(() => this.locale, this.#localeChangeHandler);
87
- this.#localeChangeObserver.observe(this, _microsoft_fast_element.ExecutionContext.default);
81
+ /** @internal */
82
+ _startObservingLocaleChanges() {
83
+ this._localeChangeObserver = _microsoft_fast_element.Observable.binding(() => this.locale, this._localeChangeHandler);
84
+ this._localeChangeObserver.observe(this, _microsoft_fast_element.ExecutionContext.default);
88
85
  }
89
- #stopObservingLocaleChanges() {
90
- this.#localeChangeObserver.dispose();
86
+ /** @internal */
87
+ _stopObservingLocaleChanges() {
88
+ this._localeChangeObserver.dispose();
91
89
  }
92
- #dismissOnClickOutside;
93
- #openPopupIfPossible() {
90
+ /** @internal */
91
+ _openPopupIfPossible() {
94
92
  /* v8 ignore else -- @preserve */
95
93
  if (!this.readOnly) this._popupOpen = true;
96
94
  }
@@ -124,7 +122,7 @@ var PickerField = class extends require_with_contextual_help.WithContextualHelp(
124
122
  /** @internal */
125
123
  _onPickerButtonClick() {
126
124
  if (this._popupOpen) this._closePopup();
127
- else this.#openPopupIfPossible();
125
+ else this._openPopupIfPossible();
128
126
  }
129
127
  /** @internal */
130
128
  _onOkClick() {
@@ -38,18 +38,18 @@ var PickerField = class extends WithContextualHelp(WithFeedback(WithErrorText(Fo
38
38
  constructor() {
39
39
  super();
40
40
  this.readOnly = false;
41
- this.#onFocusIn = () => {
41
+ this._onFocusIn = () => {
42
42
  this.$emit("focus", void 0, { bubbles: false });
43
43
  };
44
- this.#onFocusOut = () => {
44
+ this._onFocusOut = () => {
45
45
  this.$emit("blur", void 0, { bubbles: false });
46
46
  };
47
47
  this.proxy = document.createElement("input");
48
- this.#localeChangeHandler = { handleChange: () => {
48
+ this._localeChangeHandler = { handleChange: () => {
49
49
  this._updatePresentationValue();
50
50
  } };
51
51
  this._popupOpen = false;
52
- this.#dismissOnClickOutside = (event) => {
52
+ this._dismissOnClickOutside = (event) => {
53
53
  if (!this._popupOpen) return;
54
54
  const path = event.composedPath();
55
55
  if (![this._dialogEl, this._pickerButtonEl].some((element) => path.includes(element))) this._closePopup(false);
@@ -60,37 +60,35 @@ var PickerField = class extends WithContextualHelp(WithFeedback(WithErrorText(Fo
60
60
  /** @internal */
61
61
  connectedCallback() {
62
62
  super.connectedCallback();
63
- document.addEventListener("click", this.#dismissOnClickOutside);
64
- this.addEventListener("focusin", this.#onFocusIn);
65
- this.addEventListener("focusout", this.#onFocusOut);
66
- this.#startObservingLocaleChanges();
63
+ document.addEventListener("click", this._dismissOnClickOutside);
64
+ this.addEventListener("focusin", this._onFocusIn);
65
+ this.addEventListener("focusout", this._onFocusOut);
66
+ this._startObservingLocaleChanges();
67
67
  }
68
68
  /** @internal */
69
69
  disconnectedCallback() {
70
70
  super.disconnectedCallback();
71
- document.removeEventListener("click", this.#dismissOnClickOutside);
72
- this.removeEventListener("focusin", this.#onFocusIn);
73
- this.removeEventListener("focusout", this.#onFocusOut);
74
- this.#stopObservingLocaleChanges();
71
+ document.removeEventListener("click", this._dismissOnClickOutside);
72
+ this.removeEventListener("focusin", this._onFocusIn);
73
+ this.removeEventListener("focusout", this._onFocusOut);
74
+ this._stopObservingLocaleChanges();
75
75
  }
76
- #onFocusIn;
77
- #onFocusOut;
78
76
  /** @internal */
79
77
  validate() {
80
78
  if (this.proxy) this.proxy.setCustomValidity(this._getCustomValidationError() ?? "");
81
79
  super.validate(this._textFieldEl?.querySelector("input") ?? void 0);
82
80
  }
83
- #localeChangeHandler;
84
- #localeChangeObserver;
85
- #startObservingLocaleChanges() {
86
- this.#localeChangeObserver = Observable.binding(() => this.locale, this.#localeChangeHandler);
87
- this.#localeChangeObserver.observe(this, ExecutionContext.default);
81
+ /** @internal */
82
+ _startObservingLocaleChanges() {
83
+ this._localeChangeObserver = Observable.binding(() => this.locale, this._localeChangeHandler);
84
+ this._localeChangeObserver.observe(this, ExecutionContext.default);
88
85
  }
89
- #stopObservingLocaleChanges() {
90
- this.#localeChangeObserver.dispose();
86
+ /** @internal */
87
+ _stopObservingLocaleChanges() {
88
+ this._localeChangeObserver.dispose();
91
89
  }
92
- #dismissOnClickOutside;
93
- #openPopupIfPossible() {
90
+ /** @internal */
91
+ _openPopupIfPossible() {
94
92
  /* v8 ignore else -- @preserve */
95
93
  if (!this.readOnly) this._popupOpen = true;
96
94
  }
@@ -124,7 +122,7 @@ var PickerField = class extends WithContextualHelp(WithFeedback(WithErrorText(Fo
124
122
  /** @internal */
125
123
  _onPickerButtonClick() {
126
124
  if (this._popupOpen) this._closePopup();
127
- else this.#openPopupIfPossible();
125
+ else this._openPopupIfPossible();
128
126
  }
129
127
  /** @internal */
130
128
  _onOkClick() {
@@ -370,7 +370,7 @@ var TimeSelectionPicker = (Base) => {
370
370
  super(..._args);
371
371
  this.minutesStep = null;
372
372
  this.secondsStep = null;
373
- this.#clockChangeHandler = { handleChange: () => {
373
+ this._clockChangeHandler = { handleChange: () => {
374
374
  if (this.value) this._presentationValue = this._toPresentationValue(this.value);
375
375
  } };
376
376
  }
@@ -389,24 +389,24 @@ var TimeSelectionPicker = (Base) => {
389
389
  if (this._use12hClock) format += " aa";
390
390
  return format;
391
391
  }
392
- #clockChangeHandler;
393
- #clockChangeObserver;
394
- #startObservingClockChanges() {
395
- this.#clockChangeObserver = _microsoft_fast_element.Observable.binding(() => this._use12hClock, this.#clockChangeHandler);
396
- this.#clockChangeObserver.observe(this, _microsoft_fast_element.ExecutionContext.default);
392
+ /** @internal */
393
+ _startObservingClockChanges() {
394
+ this._clockChangeObserver = _microsoft_fast_element.Observable.binding(() => this._use12hClock, this._clockChangeHandler);
395
+ this._clockChangeObserver.observe(this, _microsoft_fast_element.ExecutionContext.default);
397
396
  }
398
- #stopObservingClockChanges() {
399
- this.#clockChangeObserver.dispose();
397
+ /** @internal */
398
+ _stopObservingClockChanges() {
399
+ this._clockChangeObserver.dispose();
400
400
  }
401
401
  /** @internal */
402
402
  connectedCallback() {
403
403
  super.connectedCallback();
404
- this.#startObservingClockChanges();
404
+ this._startObservingClockChanges();
405
405
  }
406
406
  /** @internal */
407
407
  disconnectedCallback() {
408
408
  super.disconnectedCallback();
409
- this.#stopObservingClockChanges();
409
+ this._stopObservingClockChanges();
410
410
  }
411
411
  /** @internal */
412
412
  _onPickerButtonClick() {
@@ -370,7 +370,7 @@ var TimeSelectionPicker = (Base) => {
370
370
  super(..._args);
371
371
  this.minutesStep = null;
372
372
  this.secondsStep = null;
373
- this.#clockChangeHandler = { handleChange: () => {
373
+ this._clockChangeHandler = { handleChange: () => {
374
374
  if (this.value) this._presentationValue = this._toPresentationValue(this.value);
375
375
  } };
376
376
  }
@@ -389,24 +389,24 @@ var TimeSelectionPicker = (Base) => {
389
389
  if (this._use12hClock) format += " aa";
390
390
  return format;
391
391
  }
392
- #clockChangeHandler;
393
- #clockChangeObserver;
394
- #startObservingClockChanges() {
395
- this.#clockChangeObserver = Observable.binding(() => this._use12hClock, this.#clockChangeHandler);
396
- this.#clockChangeObserver.observe(this, ExecutionContext.default);
392
+ /** @internal */
393
+ _startObservingClockChanges() {
394
+ this._clockChangeObserver = Observable.binding(() => this._use12hClock, this._clockChangeHandler);
395
+ this._clockChangeObserver.observe(this, ExecutionContext.default);
397
396
  }
398
- #stopObservingClockChanges() {
399
- this.#clockChangeObserver.dispose();
397
+ /** @internal */
398
+ _stopObservingClockChanges() {
399
+ this._clockChangeObserver.dispose();
400
400
  }
401
401
  /** @internal */
402
402
  connectedCallback() {
403
403
  super.connectedCallback();
404
- this.#startObservingClockChanges();
404
+ this._startObservingClockChanges();
405
405
  }
406
406
  /** @internal */
407
407
  disconnectedCallback() {
408
408
  super.disconnectedCallback();
409
- this.#stopObservingClockChanges();
409
+ this._stopObservingClockChanges();
410
410
  }
411
411
  /** @internal */
412
412
  _onPickerButtonClick() {
@@ -255,14 +255,17 @@ var AriaMixin = (Base) => {
255
255
  /** Mixin implementing ReactiveControllerHost for custom elements. */
256
256
  var ReactiveControllerHostSupport = (Base) => {
257
257
  class ReactiveControllerHostSupportElement extends Base {
258
- #controllers = /* @__PURE__ */ new Set();
258
+ constructor(..._args) {
259
+ super(..._args);
260
+ this._controllers = /* @__PURE__ */ new Set();
261
+ }
259
262
  /**
260
263
  * Adds a controller to the host, which sets up the controller's lifecycle
261
264
  * methods to be called with the host's lifecycle.
262
265
  * @internal
263
266
  */
264
267
  _addController(controller) {
265
- this.#controllers.add(controller);
268
+ this._controllers.add(controller);
266
269
  if (this.$fastController.isConnected) controller.hostConnected?.();
267
270
  }
268
271
  /**
@@ -270,15 +273,15 @@ var ReactiveControllerHostSupport = (Base) => {
270
273
  * @internal
271
274
  */
272
275
  _removeController(controller) {
273
- this.#controllers.delete(controller);
276
+ this._controllers.delete(controller);
274
277
  }
275
278
  connectedCallback() {
276
279
  super.connectedCallback();
277
- for (const controller of this.#controllers) controller.hostConnected?.();
280
+ for (const controller of this._controllers) controller.hostConnected?.();
278
281
  }
279
282
  disconnectedCallback() {
280
283
  super.disconnectedCallback();
281
- for (const controller of this.#controllers) controller.hostDisconnected?.();
284
+ for (const controller of this._controllers) controller.hostDisconnected?.();
282
285
  }
283
286
  }
284
287
  return ReactiveControllerHostSupportElement;
@@ -307,7 +310,8 @@ var replaces = (config) => ($target, $prop) => {
307
310
  */
308
311
  var ReplacedPropHandling = (Base) => {
309
312
  class ReplacedPropHandlingElement extends Base {
310
- #handleReplacedProp(replacedProp) {
313
+ /** @internal */
314
+ _handleReplacedProp(replacedProp) {
311
315
  let newDirty = false;
312
316
  let deprecatedDirty = false;
313
317
  const changeCouldBeFromDeprecated = (source) => deprecatedDirty && replacedProp.fromDeprecated(source[replacedProp.deprecatedPropertyName]) === source[replacedProp.newPropertyName];
@@ -330,7 +334,7 @@ var ReplacedPropHandling = (Base) => {
330
334
  }
331
335
  constructor(...args) {
332
336
  super(...args);
333
- for (const replacedProp of locateReplacedPropMetadata(this.constructor)) this.#handleReplacedProp(replacedProp);
337
+ for (const replacedProp of locateReplacedPropMetadata(this.constructor)) this._handleReplacedProp(replacedProp);
334
338
  }
335
339
  }
336
340
  return ReplacedPropHandlingElement;
@@ -346,7 +350,7 @@ var ReplacedPropHandling = (Base) => {
346
350
  */
347
351
  var VividElement = class extends AriaMixin(ReplacedPropHandling(ReactiveControllerHostSupport(_microsoft_fast_element.FASTElement))) {
348
352
  static {
349
- this.VIVID_VERSION = "5.31.0";
353
+ this.VIVID_VERSION = "5.32.0";
350
354
  }
351
355
  /**
352
356
  * Add data-vvd-component attribute with component name globally,
@@ -255,14 +255,17 @@ var AriaMixin = (Base) => {
255
255
  /** Mixin implementing ReactiveControllerHost for custom elements. */
256
256
  var ReactiveControllerHostSupport = (Base) => {
257
257
  class ReactiveControllerHostSupportElement extends Base {
258
- #controllers = /* @__PURE__ */ new Set();
258
+ constructor(..._args) {
259
+ super(..._args);
260
+ this._controllers = /* @__PURE__ */ new Set();
261
+ }
259
262
  /**
260
263
  * Adds a controller to the host, which sets up the controller's lifecycle
261
264
  * methods to be called with the host's lifecycle.
262
265
  * @internal
263
266
  */
264
267
  _addController(controller) {
265
- this.#controllers.add(controller);
268
+ this._controllers.add(controller);
266
269
  if (this.$fastController.isConnected) controller.hostConnected?.();
267
270
  }
268
271
  /**
@@ -270,15 +273,15 @@ var ReactiveControllerHostSupport = (Base) => {
270
273
  * @internal
271
274
  */
272
275
  _removeController(controller) {
273
- this.#controllers.delete(controller);
276
+ this._controllers.delete(controller);
274
277
  }
275
278
  connectedCallback() {
276
279
  super.connectedCallback();
277
- for (const controller of this.#controllers) controller.hostConnected?.();
280
+ for (const controller of this._controllers) controller.hostConnected?.();
278
281
  }
279
282
  disconnectedCallback() {
280
283
  super.disconnectedCallback();
281
- for (const controller of this.#controllers) controller.hostDisconnected?.();
284
+ for (const controller of this._controllers) controller.hostDisconnected?.();
282
285
  }
283
286
  }
284
287
  return ReactiveControllerHostSupportElement;
@@ -307,7 +310,8 @@ var replaces = (config) => ($target, $prop) => {
307
310
  */
308
311
  var ReplacedPropHandling = (Base) => {
309
312
  class ReplacedPropHandlingElement extends Base {
310
- #handleReplacedProp(replacedProp) {
313
+ /** @internal */
314
+ _handleReplacedProp(replacedProp) {
311
315
  let newDirty = false;
312
316
  let deprecatedDirty = false;
313
317
  const changeCouldBeFromDeprecated = (source) => deprecatedDirty && replacedProp.fromDeprecated(source[replacedProp.deprecatedPropertyName]) === source[replacedProp.newPropertyName];
@@ -330,7 +334,7 @@ var ReplacedPropHandling = (Base) => {
330
334
  }
331
335
  constructor(...args) {
332
336
  super(...args);
333
- for (const replacedProp of locateReplacedPropMetadata(this.constructor)) this.#handleReplacedProp(replacedProp);
337
+ for (const replacedProp of locateReplacedPropMetadata(this.constructor)) this._handleReplacedProp(replacedProp);
334
338
  }
335
339
  }
336
340
  return ReplacedPropHandlingElement;
@@ -346,7 +350,7 @@ var ReplacedPropHandling = (Base) => {
346
350
  */
347
351
  var VividElement = class extends AriaMixin(ReplacedPropHandling(ReactiveControllerHostSupport(FASTElement))) {
348
352
  static {
349
- this.VIVID_VERSION = "5.31.0";
353
+ this.VIVID_VERSION = "5.32.0";
350
354
  }
351
355
  /**
352
356
  * Add data-vvd-component attribute with component name globally,
@@ -6,26 +6,27 @@ var WithErrorText = (Base) => {
6
6
  class ElementWithErrorText extends Base {
7
7
  /** @internal */
8
8
  errorTextChanged(_, newErrorText) {
9
- if (newErrorText) this.#forceCustomError(newErrorText);
10
- else this.#clearCustomErrorAndRevalidate();
9
+ if (newErrorText) this._forceCustomError(newErrorText);
10
+ else this._clearCustomErrorAndRevalidate();
11
11
  }
12
- #blockValidateCalls = false;
13
- #originalValidateFn;
14
12
  constructor(...args) {
15
13
  super(...args);
16
- this.#originalValidateFn = this.validate;
14
+ this._blockValidateCalls = false;
15
+ this._originalValidateFn = this.validate;
17
16
  this.validate = () => {
18
- if (!this.#blockValidateCalls) this.#originalValidateFn();
17
+ if (!this._blockValidateCalls) this._originalValidateFn();
19
18
  };
20
19
  }
21
- #forceCustomError(errorMessage) {
20
+ /** @internal */
21
+ _forceCustomError(errorMessage) {
22
22
  this.setValidity({ customError: true }, errorMessage, this.control);
23
23
  this.errorValidationMessage = errorMessage;
24
- this.#blockValidateCalls = true;
24
+ this._blockValidateCalls = true;
25
25
  }
26
- #clearCustomErrorAndRevalidate() {
26
+ /** @internal */
27
+ _clearCustomErrorAndRevalidate() {
27
28
  this.setValidity({}, "", this.control);
28
- this.#blockValidateCalls = false;
29
+ this._blockValidateCalls = false;
29
30
  this.validate();
30
31
  }
31
32
  }
@@ -6,26 +6,27 @@ var WithErrorText = (Base) => {
6
6
  class ElementWithErrorText extends Base {
7
7
  /** @internal */
8
8
  errorTextChanged(_, newErrorText) {
9
- if (newErrorText) this.#forceCustomError(newErrorText);
10
- else this.#clearCustomErrorAndRevalidate();
9
+ if (newErrorText) this._forceCustomError(newErrorText);
10
+ else this._clearCustomErrorAndRevalidate();
11
11
  }
12
- #blockValidateCalls = false;
13
- #originalValidateFn;
14
12
  constructor(...args) {
15
13
  super(...args);
16
- this.#originalValidateFn = this.validate;
14
+ this._blockValidateCalls = false;
15
+ this._originalValidateFn = this.validate;
17
16
  this.validate = () => {
18
- if (!this.#blockValidateCalls) this.#originalValidateFn();
17
+ if (!this._blockValidateCalls) this._originalValidateFn();
19
18
  };
20
19
  }
21
- #forceCustomError(errorMessage) {
20
+ /** @internal */
21
+ _forceCustomError(errorMessage) {
22
22
  this.setValidity({ customError: true }, errorMessage, this.control);
23
23
  this.errorValidationMessage = errorMessage;
24
- this.#blockValidateCalls = true;
24
+ this._blockValidateCalls = true;
25
25
  }
26
- #clearCustomErrorAndRevalidate() {
26
+ /** @internal */
27
+ _clearCustomErrorAndRevalidate() {
27
28
  this.setValidity({}, "", this.control);
28
- this.#blockValidateCalls = false;
29
+ this._blockValidateCalls = false;
29
30
  this.validate();
30
31
  }
31
32
  }