@vonage/vivid 5.30.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.
- package/bundled/anchored.cjs +1 -1
- package/bundled/anchored.js +25 -26
- package/bundled/calendar-picker.template.cjs +1 -1
- package/bundled/calendar-picker.template.js +5 -5
- package/bundled/char-count.cjs +2 -2
- package/bundled/char-count.js +2 -3
- package/bundled/definition25.cjs +4 -4
- package/bundled/definition25.js +4 -4
- package/bundled/definition4.cjs +17 -10
- package/bundled/definition4.js +17 -10
- package/bundled/form-element.cjs +1 -1
- package/bundled/form-element.js +3 -4
- package/bundled/localized.cjs +1 -1
- package/bundled/localized.js +11 -10
- package/bundled/picker-field.template.cjs +1 -1
- package/bundled/picker-field.template.js +12 -17
- package/bundled/text-field.cjs +1 -1
- package/bundled/text-field.js +1 -1
- package/bundled/time-selection-picker.template.cjs +1 -1
- package/bundled/time-selection-picker.template.js +7 -9
- package/bundled/vivid-element.cjs +1 -1
- package/bundled/vivid-element.js +36 -8
- package/bundled/with-error-text.cjs +1 -1
- package/bundled/with-error-text.js +7 -9
- package/custom-elements.json +237 -1956
- package/lib/accordion-item/accordion-item.d.ts +13 -7
- package/lib/action-group/action-group.d.ts +13 -7
- package/lib/alert/alert.d.ts +26 -14
- package/lib/audio-player/audio-player.d.ts +13 -7
- package/lib/avatar/avatar.d.ts +13 -7
- package/lib/badge/badge.d.ts +13 -7
- package/lib/banner/banner.d.ts +39 -21
- package/lib/breadcrumb/breadcrumb.d.ts +13 -7
- package/lib/breadcrumb-item/breadcrumb-item.d.ts +13 -7
- package/lib/button/button.d.ts +39 -21
- package/lib/calendar-event/calendar-event.d.ts +13 -7
- package/lib/card/card.d.ts +13 -7
- package/lib/checkbox/checkbox.d.ts +84 -48
- package/lib/color-picker/color-picker.d.ts +98 -56
- package/lib/combobox/combobox.d.ts +98 -56
- package/lib/country-group/country-group.d.ts +26 -14
- package/lib/data-grid/data-grid-cell.d.ts +26 -14
- package/lib/data-grid/data-grid-row.d.ts +13 -7
- package/lib/date-picker/date-picker.d.ts +162 -114
- package/lib/date-range-picker/date-range-picker.d.ts +82 -58
- package/lib/date-time-picker/date-time-picker.d.ts +164 -116
- package/lib/dial-pad/dial-pad.d.ts +13 -7
- package/lib/dialog/dialog.d.ts +26 -14
- package/lib/divider/divider.d.ts +13 -7
- package/lib/fab/fab.d.ts +13 -7
- package/lib/file-picker/file-picker.d.ts +98 -56
- package/lib/header/header.d.ts +13 -7
- package/lib/listbox/listbox.d.ts +41 -23
- package/lib/menu/menu.d.ts +30 -18
- package/lib/menu-item/menu-item.d.ts +39 -21
- package/lib/nav/nav.d.ts +13 -7
- package/lib/nav-disclosure/nav-disclosure.d.ts +26 -14
- package/lib/nav-item/nav-item.d.ts +28 -16
- package/lib/note/note.d.ts +13 -7
- package/lib/number-field/number-field.d.ts +124 -70
- package/lib/optgroup/optgroup.d.ts +13 -7
- package/lib/option/option.d.ts +26 -14
- package/lib/pagination/pagination.d.ts +13 -7
- package/lib/popover/popover.d.ts +26 -14
- package/lib/progress/progress.d.ts +13 -7
- package/lib/progress-ring/progress-ring.d.ts +13 -7
- package/lib/radio/radio.d.ts +45 -27
- package/lib/radio-group/radio-group.d.ts +13 -7
- package/lib/range-slider/range-slider.d.ts +40 -22
- package/lib/rich-text-editor/rich-text-editor.d.ts +30 -18
- package/lib/rich-text-editor/rte/feature.d.ts +0 -1
- package/lib/rich-text-editor/rte/features/base.d.ts +9 -0
- package/lib/rich-text-editor/rte/features/bold.d.ts +5 -1
- package/lib/rich-text-editor/rte/features/font-size-picker.d.ts +5 -1
- package/lib/rich-text-editor/rte/features/hard-break.d.ts +4 -0
- package/lib/rich-text-editor/rte/features/inline-image.d.ts +4 -0
- package/lib/rich-text-editor/rte/features/italic.d.ts +5 -1
- package/lib/rich-text-editor/rte/features/link.d.ts +5 -1
- package/lib/rich-text-editor/rte/features/list.d.ts +6 -0
- package/lib/rich-text-editor/rte/features/monospace.d.ts +5 -1
- package/lib/rich-text-editor/rte/features/strikethrough.d.ts +5 -1
- package/lib/rich-text-editor/rte/features/text-color-picker.d.ts +4 -1
- package/lib/rich-text-editor/rte/features/underline.d.ts +5 -1
- package/lib/rich-text-editor/rte/public-interface.d.ts +1 -1
- package/lib/searchable-select/option-tag.d.ts +13 -7
- package/lib/searchable-select/searchable-select.d.ts +124 -70
- package/lib/select/select.d.ts +124 -70
- package/lib/selectable-box/selectable-box.d.ts +13 -7
- package/lib/simple-color-picker/simple-color-picker.d.ts +31 -19
- package/lib/slider/slider.d.ts +39 -21
- package/lib/split-button/split-button.d.ts +39 -21
- package/lib/status/status.d.ts +13 -7
- package/lib/switch/switch.d.ts +26 -14
- package/lib/tab/tab.d.ts +39 -21
- package/lib/tab-panel/tab-panel.d.ts +13 -7
- package/lib/table/table-cell.d.ts +13 -7
- package/lib/table/table-header-cell.d.ts +13 -7
- package/lib/table/table-row.d.ts +13 -7
- package/lib/table/table-sorting-button.d.ts +26 -14
- package/lib/tag/tag.d.ts +39 -21
- package/lib/tag-group/tag-group.d.ts +13 -7
- package/lib/text-area/text-area.d.ts +112 -64
- package/lib/text-field/text-field.d.ts +125 -71
- package/lib/time-picker/time-picker.d.ts +82 -58
- package/lib/toggletip/toggletip.d.ts +30 -18
- package/lib/tooltip/tooltip.d.ts +30 -18
- package/lib/tree-item/tree-item.d.ts +26 -14
- package/lib/tree-view/tree-view.d.ts +13 -7
- package/lib/video-player/video-player.d.ts +13 -7
- package/listbox/index.cjs +1 -1
- package/listbox/index.js +3 -4
- package/nav-item/index.cjs +1 -1
- package/nav-item/index.js +5 -1
- package/number-field/index.cjs +1 -1
- package/number-field/index.js +1 -1
- package/package.json +10 -10
- package/rich-text-editor/index.cjs +1 -1
- package/rich-text-editor/index.js +176 -160
- package/shared/aria/aria-mixin.d.ts +11 -5
- package/shared/aria/delegates-aria.d.ts +13 -7
- package/shared/aria/host-semantics.d.ts +13 -7
- package/shared/color-picker/base-color-picker.d.ts +14 -8
- package/shared/deprecation/replaced-props.d.ts +12 -6
- package/shared/feedback/feedback-message.d.ts +13 -7
- package/shared/feedback/mixins.d.ts +26 -14
- package/shared/foundation/button/button.d.ts +26 -14
- package/shared/foundation/form-associated/form-associated.d.ts +26 -14
- package/shared/foundation/vivid-element/vivid-element.d.ts +43 -25
- package/shared/framework/reactive-controller.d.ts +12 -6
- package/shared/listbox/with-options-filter.d.ts +14 -8
- package/shared/listbox/with-options.d.ts +28 -16
- package/shared/patterns/affix.d.ts +26 -14
- package/shared/patterns/anchored.d.ts +34 -22
- package/shared/patterns/char-count/char-count.d.ts +14 -8
- package/shared/patterns/form-elements/form-element.d.ts +14 -8
- package/shared/patterns/form-elements/with-contextual-help.d.ts +14 -8
- package/shared/patterns/form-elements/with-error-text.d.ts +18 -12
- package/shared/patterns/form-elements/with-success-text.d.ts +13 -7
- package/shared/patterns/kbd-shortcut.d.ts +13 -7
- package/shared/patterns/linkable.d.ts +13 -7
- package/shared/patterns/localized.d.ts +30 -18
- package/shared/patterns/trapped-focus.d.ts +13 -7
- package/shared/picker-field/mixins/calendar-picker.d.ts +41 -29
- package/shared/picker-field/mixins/calendar-picker.template.d.ts +41 -29
- package/shared/picker-field/mixins/inline-time-picker/inline-time-picker.d.ts +13 -7
- package/shared/picker-field/mixins/min-max-calendar-picker.d.ts +41 -29
- package/shared/picker-field/mixins/single-date-picker.d.ts +41 -29
- package/shared/picker-field/mixins/single-value-picker.d.ts +39 -27
- package/shared/picker-field/mixins/time-selection-picker.d.ts +43 -31
- package/shared/picker-field/mixins/time-selection-picker.template.d.ts +82 -58
- package/shared/picker-field/picker-field.d.ts +98 -57
- package/unbundled/anchored.cjs +39 -37
- package/unbundled/anchored.js +39 -37
- package/unbundled/calendar-picker.template.cjs +7 -5
- package/unbundled/calendar-picker.template.js +7 -5
- package/unbundled/char-count.cjs +3 -9
- package/unbundled/char-count.js +3 -9
- package/unbundled/definition2.cjs +4 -4
- package/unbundled/definition2.js +4 -4
- package/unbundled/definition5.cjs +17 -10
- package/unbundled/definition5.js +17 -10
- package/unbundled/definition50.cjs +3 -4
- package/unbundled/definition50.js +3 -4
- package/unbundled/definition52.cjs +6 -2
- package/unbundled/definition52.js +6 -2
- package/unbundled/definition55.cjs +1 -1
- package/unbundled/definition55.js +1 -1
- package/unbundled/definition63.cjs +73 -46
- package/unbundled/definition63.js +73 -46
- package/unbundled/form-element.cjs +3 -4
- package/unbundled/form-element.js +3 -4
- package/unbundled/localized.cjs +15 -11
- package/unbundled/localized.js +15 -11
- package/unbundled/picker-field.template.cjs +22 -24
- package/unbundled/picker-field.template.js +22 -24
- package/unbundled/text-field.cjs +1 -1
- package/unbundled/text-field.js +1 -1
- package/unbundled/time-selection-picker.template.cjs +10 -10
- package/unbundled/time-selection-picker.template.js +10 -10
- package/unbundled/vivid-element.cjs +65 -8
- package/unbundled/vivid-element.js +66 -9
- package/unbundled/with-error-text.cjs +11 -10
- package/unbundled/with-error-text.js +11 -10
- package/vivid.api.json +12 -12
|
@@ -17,8 +17,8 @@ export declare const SingleDatePickerMixin: <T extends AbstractConstructor<Calen
|
|
|
17
17
|
get _resolvedMinDate(): DateStr | "";
|
|
18
18
|
get _resolvedMaxDate(): DateStr | "";
|
|
19
19
|
_isDateInValidRange(date: DateStr): boolean;
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
_isMonthAfterValidRange(month: import('../../datetime/month').Month): boolean | "";
|
|
21
|
+
_isMonthBeforeValidRange(month: import('../../datetime/month').Month): boolean | "";
|
|
22
22
|
_isMonthInValidRange(month: import('../../datetime/month').Month): boolean;
|
|
23
23
|
_closePopup: ((restoreFocusToTextField?: boolean) => void) & ((restoreFocusToTextField?: boolean) => void);
|
|
24
24
|
_onPickerButtonClick: (() => void) & (() => void);
|
|
@@ -59,20 +59,20 @@ export declare const SingleDatePickerMixin: <T extends AbstractConstructor<Calen
|
|
|
59
59
|
_pickerButtonEl: import('../../..').VwcButtonElement;
|
|
60
60
|
connectedCallback(): void;
|
|
61
61
|
disconnectedCallback(): void;
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
_onFocusIn: () => void;
|
|
63
|
+
_onFocusOut: () => void;
|
|
64
64
|
proxy: HTMLInputElement;
|
|
65
65
|
validate(): void;
|
|
66
66
|
_getCustomValidationError(): string | null;
|
|
67
|
-
|
|
67
|
+
_localeChangeHandler: {
|
|
68
68
|
handleChange: () => void;
|
|
69
69
|
};
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
70
|
+
_localeChangeObserver: import('@microsoft/fast-element').ExpressionNotifier;
|
|
71
|
+
_startObservingLocaleChanges(): void;
|
|
72
|
+
_stopObservingLocaleChanges(): void;
|
|
73
73
|
_popupOpen: boolean;
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
_dismissOnClickOutside: (event: MouseEvent) => void;
|
|
75
|
+
_openPopupIfPossible(): void;
|
|
76
76
|
_onBaseKeyDown(event: KeyboardEvent): boolean;
|
|
77
77
|
_focusableElsWithinDialog(): NodeListOf<HTMLElement>;
|
|
78
78
|
get _dialogLabel(): string;
|
|
@@ -94,7 +94,7 @@ export declare const SingleDatePickerMixin: <T extends AbstractConstructor<Calen
|
|
|
94
94
|
errorValidationMessage: string;
|
|
95
95
|
forceErrorDisplay: boolean;
|
|
96
96
|
hasBeenTouched: boolean;
|
|
97
|
-
|
|
97
|
+
_handleInvalidEvent: () => void;
|
|
98
98
|
formResetCallback: (() => void) & (() => void) & (() => void) & (() => void);
|
|
99
99
|
get validity(): ValidityState;
|
|
100
100
|
get form(): HTMLFormElement | null;
|
|
@@ -137,7 +137,7 @@ export declare const SingleDatePickerMixin: <T extends AbstractConstructor<Calen
|
|
|
137
137
|
autocorrect: boolean;
|
|
138
138
|
dir: string;
|
|
139
139
|
draggable: boolean;
|
|
140
|
-
hidden: boolean;
|
|
140
|
+
hidden: boolean | "until-found";
|
|
141
141
|
inert: boolean;
|
|
142
142
|
innerText: string;
|
|
143
143
|
lang: string;
|
|
@@ -155,8 +155,8 @@ export declare const SingleDatePickerMixin: <T extends AbstractConstructor<Calen
|
|
|
155
155
|
attachInternals(): ElementInternals;
|
|
156
156
|
click(): void;
|
|
157
157
|
hidePopover(): void;
|
|
158
|
-
showPopover(): void;
|
|
159
|
-
togglePopover(options?: boolean): boolean;
|
|
158
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
159
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
160
160
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
161
161
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
162
162
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -170,6 +170,7 @@ export declare const SingleDatePickerMixin: <T extends AbstractConstructor<Calen
|
|
|
170
170
|
readonly clientTop: number;
|
|
171
171
|
readonly clientWidth: number;
|
|
172
172
|
readonly currentCSSZoom: number;
|
|
173
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
173
174
|
id: string;
|
|
174
175
|
innerHTML: string;
|
|
175
176
|
readonly localName: string;
|
|
@@ -220,6 +221,9 @@ export declare const SingleDatePickerMixin: <T extends AbstractConstructor<Calen
|
|
|
220
221
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
221
222
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
222
223
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
224
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
225
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
226
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
223
227
|
matches(selectors: string): boolean;
|
|
224
228
|
releasePointerCapture(pointerId: number): void;
|
|
225
229
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -355,6 +359,7 @@ export declare const SingleDatePickerMixin: <T extends AbstractConstructor<Calen
|
|
|
355
359
|
readonly firstElementChild: Element | null;
|
|
356
360
|
readonly lastElementChild: Element | null;
|
|
357
361
|
append(...nodes: (Node | string)[]): void;
|
|
362
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
358
363
|
prepend(...nodes: (Node | string)[]): void;
|
|
359
364
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
360
365
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -391,6 +396,7 @@ export declare const SingleDatePickerMixin: <T extends AbstractConstructor<Calen
|
|
|
391
396
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
392
397
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
393
398
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
399
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
394
400
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
395
401
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
396
402
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -412,7 +418,7 @@ export declare const SingleDatePickerMixin: <T extends AbstractConstructor<Calen
|
|
|
412
418
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
413
419
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
414
420
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
415
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
421
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
416
422
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
417
423
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
418
424
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -477,7 +483,7 @@ export declare const SingleDatePickerMixin: <T extends AbstractConstructor<Calen
|
|
|
477
483
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
478
484
|
autofocus: boolean;
|
|
479
485
|
readonly dataset: DOMStringMap;
|
|
480
|
-
nonce
|
|
486
|
+
nonce: string;
|
|
481
487
|
tabIndex: number;
|
|
482
488
|
blur(): void;
|
|
483
489
|
ariaControls: string | null;
|
|
@@ -536,13 +542,13 @@ export declare const SingleDatePickerMixin: <T extends AbstractConstructor<Calen
|
|
|
536
542
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
537
543
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
538
544
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
539
|
-
|
|
545
|
+
_handleReplacedProp(replacedProp: {
|
|
540
546
|
newPropertyName: string;
|
|
541
547
|
deprecatedPropertyName: string;
|
|
542
548
|
fromDeprecated: (v: any) => any;
|
|
543
549
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
544
550
|
}): void;
|
|
545
|
-
|
|
551
|
+
_controllers: Set<import('../../framework/reactive-controller').ReactiveController>;
|
|
546
552
|
_addController(controller: import('../../framework/reactive-controller').ReactiveController): void;
|
|
547
553
|
_removeController(controller: import('../../framework/reactive-controller').ReactiveController): void;
|
|
548
554
|
helperText?: string;
|
|
@@ -576,7 +582,7 @@ export declare const SingleDatePickerMixin: <T extends AbstractConstructor<Calen
|
|
|
576
582
|
autocorrect: boolean;
|
|
577
583
|
dir: string;
|
|
578
584
|
draggable: boolean;
|
|
579
|
-
hidden: boolean;
|
|
585
|
+
hidden: boolean | "until-found";
|
|
580
586
|
inert: boolean;
|
|
581
587
|
innerText: string;
|
|
582
588
|
lang: string;
|
|
@@ -594,8 +600,8 @@ export declare const SingleDatePickerMixin: <T extends AbstractConstructor<Calen
|
|
|
594
600
|
attachInternals(): ElementInternals;
|
|
595
601
|
click(): void;
|
|
596
602
|
hidePopover(): void;
|
|
597
|
-
showPopover(): void;
|
|
598
|
-
togglePopover(options?: boolean): boolean;
|
|
603
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
604
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
599
605
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
600
606
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
601
607
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -609,6 +615,7 @@ export declare const SingleDatePickerMixin: <T extends AbstractConstructor<Calen
|
|
|
609
615
|
readonly clientTop: number;
|
|
610
616
|
readonly clientWidth: number;
|
|
611
617
|
readonly currentCSSZoom: number;
|
|
618
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
612
619
|
id: string;
|
|
613
620
|
innerHTML: string;
|
|
614
621
|
readonly localName: string;
|
|
@@ -659,6 +666,9 @@ export declare const SingleDatePickerMixin: <T extends AbstractConstructor<Calen
|
|
|
659
666
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
660
667
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
661
668
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
669
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
670
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
671
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
662
672
|
matches(selectors: string): boolean;
|
|
663
673
|
releasePointerCapture(pointerId: number): void;
|
|
664
674
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -794,6 +804,7 @@ export declare const SingleDatePickerMixin: <T extends AbstractConstructor<Calen
|
|
|
794
804
|
readonly firstElementChild: Element | null;
|
|
795
805
|
readonly lastElementChild: Element | null;
|
|
796
806
|
append(...nodes: (Node | string)[]): void;
|
|
807
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
797
808
|
prepend(...nodes: (Node | string)[]): void;
|
|
798
809
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
799
810
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -830,6 +841,7 @@ export declare const SingleDatePickerMixin: <T extends AbstractConstructor<Calen
|
|
|
830
841
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
831
842
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
832
843
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
844
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
833
845
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
834
846
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
835
847
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -851,7 +863,7 @@ export declare const SingleDatePickerMixin: <T extends AbstractConstructor<Calen
|
|
|
851
863
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
852
864
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
853
865
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
854
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
866
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
855
867
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
856
868
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
857
869
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -916,7 +928,7 @@ export declare const SingleDatePickerMixin: <T extends AbstractConstructor<Calen
|
|
|
916
928
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
917
929
|
autofocus: boolean;
|
|
918
930
|
readonly dataset: DOMStringMap;
|
|
919
|
-
nonce
|
|
931
|
+
nonce: string;
|
|
920
932
|
tabIndex: number;
|
|
921
933
|
blur(): void;
|
|
922
934
|
ariaControls: string | null;
|
|
@@ -975,22 +987,22 @@ export declare const SingleDatePickerMixin: <T extends AbstractConstructor<Calen
|
|
|
975
987
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
976
988
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
977
989
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
978
|
-
|
|
990
|
+
_handleReplacedProp(replacedProp: {
|
|
979
991
|
newPropertyName: string;
|
|
980
992
|
deprecatedPropertyName: string;
|
|
981
993
|
fromDeprecated: (v: any) => any;
|
|
982
994
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
983
995
|
}): void;
|
|
984
|
-
|
|
996
|
+
_controllers: Set<import('../../framework/reactive-controller').ReactiveController>;
|
|
985
997
|
_addController(controller: import('../../framework/reactive-controller').ReactiveController): void;
|
|
986
998
|
_removeController(controller: import('../../framework/reactive-controller').ReactiveController): void;
|
|
987
999
|
}, any>;
|
|
988
1000
|
errorText?: string;
|
|
989
1001
|
errorTextChanged(_: string | undefined, newErrorText: string | undefined): void;
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
1002
|
+
_blockValidateCalls: boolean;
|
|
1003
|
+
_originalValidateFn: () => void;
|
|
1004
|
+
_forceCustomError(errorMessage: string): void;
|
|
1005
|
+
_clearCustomErrorAndRevalidate(): void;
|
|
994
1006
|
_trappedFocus(event: KeyboardEvent, getFocusableEls: () => NodeListOf<HTMLElement>): boolean;
|
|
995
1007
|
get locale(): import('../../localization/Locale').Locale;
|
|
996
1008
|
_isValidValue(value: string): boolean;
|
|
@@ -21,20 +21,20 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
21
21
|
_pickerButtonEl: import('../../..').VwcButtonElement;
|
|
22
22
|
connectedCallback(): void;
|
|
23
23
|
disconnectedCallback(): void;
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
_onFocusIn: () => void;
|
|
25
|
+
_onFocusOut: () => void;
|
|
26
26
|
proxy: HTMLInputElement;
|
|
27
27
|
validate(): void;
|
|
28
28
|
_getCustomValidationError(): string | null;
|
|
29
|
-
|
|
29
|
+
_localeChangeHandler: {
|
|
30
30
|
handleChange: () => void;
|
|
31
31
|
};
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
_localeChangeObserver: import('@microsoft/fast-element').ExpressionNotifier;
|
|
33
|
+
_startObservingLocaleChanges(): void;
|
|
34
|
+
_stopObservingLocaleChanges(): void;
|
|
35
35
|
_popupOpen: boolean;
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
_dismissOnClickOutside: (event: MouseEvent) => void;
|
|
37
|
+
_openPopupIfPossible(): void;
|
|
38
38
|
_closePopup(restoreFocusToTextField?: boolean): void;
|
|
39
39
|
_onBaseKeyDown(event: KeyboardEvent): boolean;
|
|
40
40
|
_focusableElsWithinDialog(): NodeListOf<HTMLElement>;
|
|
@@ -54,7 +54,7 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
54
54
|
errorValidationMessage: string;
|
|
55
55
|
forceErrorDisplay: boolean;
|
|
56
56
|
hasBeenTouched: boolean;
|
|
57
|
-
|
|
57
|
+
_handleInvalidEvent: () => void;
|
|
58
58
|
formResetCallback: (() => void) & (() => void) & (() => void) & (() => void);
|
|
59
59
|
get validity(): ValidityState;
|
|
60
60
|
get form(): HTMLFormElement | null;
|
|
@@ -97,7 +97,7 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
97
97
|
autocorrect: boolean;
|
|
98
98
|
dir: string;
|
|
99
99
|
draggable: boolean;
|
|
100
|
-
hidden: boolean;
|
|
100
|
+
hidden: boolean | "until-found";
|
|
101
101
|
inert: boolean;
|
|
102
102
|
innerText: string;
|
|
103
103
|
lang: string;
|
|
@@ -115,8 +115,8 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
115
115
|
attachInternals(): ElementInternals;
|
|
116
116
|
click(): void;
|
|
117
117
|
hidePopover(): void;
|
|
118
|
-
showPopover(): void;
|
|
119
|
-
togglePopover(options?: boolean): boolean;
|
|
118
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
119
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
120
120
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
121
121
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
122
122
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -130,6 +130,7 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
130
130
|
readonly clientTop: number;
|
|
131
131
|
readonly clientWidth: number;
|
|
132
132
|
readonly currentCSSZoom: number;
|
|
133
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
133
134
|
id: string;
|
|
134
135
|
innerHTML: string;
|
|
135
136
|
readonly localName: string;
|
|
@@ -180,6 +181,9 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
180
181
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
181
182
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
182
183
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
184
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
185
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
186
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
183
187
|
matches(selectors: string): boolean;
|
|
184
188
|
releasePointerCapture(pointerId: number): void;
|
|
185
189
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -315,6 +319,7 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
315
319
|
readonly firstElementChild: Element | null;
|
|
316
320
|
readonly lastElementChild: Element | null;
|
|
317
321
|
append(...nodes: (Node | string)[]): void;
|
|
322
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
318
323
|
prepend(...nodes: (Node | string)[]): void;
|
|
319
324
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
320
325
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -351,6 +356,7 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
351
356
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
352
357
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
353
358
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
359
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
354
360
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
355
361
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
356
362
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -372,7 +378,7 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
372
378
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
373
379
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
374
380
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
375
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
381
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
376
382
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
377
383
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
378
384
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -437,7 +443,7 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
437
443
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
438
444
|
autofocus: boolean;
|
|
439
445
|
readonly dataset: DOMStringMap;
|
|
440
|
-
nonce
|
|
446
|
+
nonce: string;
|
|
441
447
|
tabIndex: number;
|
|
442
448
|
blur(): void;
|
|
443
449
|
ariaControls: string | null;
|
|
@@ -496,13 +502,13 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
496
502
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
497
503
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
498
504
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
499
|
-
|
|
505
|
+
_handleReplacedProp(replacedProp: {
|
|
500
506
|
newPropertyName: string;
|
|
501
507
|
deprecatedPropertyName: string;
|
|
502
508
|
fromDeprecated: (v: any) => any;
|
|
503
509
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
504
510
|
}): void;
|
|
505
|
-
|
|
511
|
+
_controllers: Set<import('../../framework/reactive-controller').ReactiveController>;
|
|
506
512
|
_addController(controller: import('../../framework/reactive-controller').ReactiveController): void;
|
|
507
513
|
_removeController(controller: import('../../framework/reactive-controller').ReactiveController): void;
|
|
508
514
|
helperText?: string;
|
|
@@ -536,7 +542,7 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
536
542
|
autocorrect: boolean;
|
|
537
543
|
dir: string;
|
|
538
544
|
draggable: boolean;
|
|
539
|
-
hidden: boolean;
|
|
545
|
+
hidden: boolean | "until-found";
|
|
540
546
|
inert: boolean;
|
|
541
547
|
innerText: string;
|
|
542
548
|
lang: string;
|
|
@@ -554,8 +560,8 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
554
560
|
attachInternals(): ElementInternals;
|
|
555
561
|
click(): void;
|
|
556
562
|
hidePopover(): void;
|
|
557
|
-
showPopover(): void;
|
|
558
|
-
togglePopover(options?: boolean): boolean;
|
|
563
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
564
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
559
565
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
560
566
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
561
567
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -569,6 +575,7 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
569
575
|
readonly clientTop: number;
|
|
570
576
|
readonly clientWidth: number;
|
|
571
577
|
readonly currentCSSZoom: number;
|
|
578
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
572
579
|
id: string;
|
|
573
580
|
innerHTML: string;
|
|
574
581
|
readonly localName: string;
|
|
@@ -619,6 +626,9 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
619
626
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
620
627
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
621
628
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
629
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
630
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
631
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
622
632
|
matches(selectors: string): boolean;
|
|
623
633
|
releasePointerCapture(pointerId: number): void;
|
|
624
634
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -754,6 +764,7 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
754
764
|
readonly firstElementChild: Element | null;
|
|
755
765
|
readonly lastElementChild: Element | null;
|
|
756
766
|
append(...nodes: (Node | string)[]): void;
|
|
767
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
757
768
|
prepend(...nodes: (Node | string)[]): void;
|
|
758
769
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
759
770
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -790,6 +801,7 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
790
801
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
791
802
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
792
803
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
804
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
793
805
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
794
806
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
795
807
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -811,7 +823,7 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
811
823
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
812
824
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
813
825
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
814
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
826
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
815
827
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
816
828
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
817
829
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -876,7 +888,7 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
876
888
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
877
889
|
autofocus: boolean;
|
|
878
890
|
readonly dataset: DOMStringMap;
|
|
879
|
-
nonce
|
|
891
|
+
nonce: string;
|
|
880
892
|
tabIndex: number;
|
|
881
893
|
blur(): void;
|
|
882
894
|
ariaControls: string | null;
|
|
@@ -935,22 +947,22 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
935
947
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
936
948
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
937
949
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
938
|
-
|
|
950
|
+
_handleReplacedProp(replacedProp: {
|
|
939
951
|
newPropertyName: string;
|
|
940
952
|
deprecatedPropertyName: string;
|
|
941
953
|
fromDeprecated: (v: any) => any;
|
|
942
954
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
943
955
|
}): void;
|
|
944
|
-
|
|
956
|
+
_controllers: Set<import('../../framework/reactive-controller').ReactiveController>;
|
|
945
957
|
_addController(controller: import('../../framework/reactive-controller').ReactiveController): void;
|
|
946
958
|
_removeController(controller: import('../../framework/reactive-controller').ReactiveController): void;
|
|
947
959
|
}, any>;
|
|
948
960
|
errorText?: string;
|
|
949
961
|
errorTextChanged(_: string | undefined, newErrorText: string | undefined): void;
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
962
|
+
_blockValidateCalls: boolean;
|
|
963
|
+
_originalValidateFn: () => void;
|
|
964
|
+
_forceCustomError(errorMessage: string): void;
|
|
965
|
+
_clearCustomErrorAndRevalidate(): void;
|
|
954
966
|
_trappedFocus(event: KeyboardEvent, getFocusableEls: () => NodeListOf<HTMLElement>): boolean;
|
|
955
967
|
get locale(): import('../../localization/Locale').Locale;
|
|
956
968
|
}) & T;
|