@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
|
@@ -9,8 +9,8 @@ export declare const CalendarPickerTemplate: (context: VividElementDefinitionCon
|
|
|
9
9
|
get _resolvedMinDate(): import('../../datetime/dateStr').DateStr | "";
|
|
10
10
|
get _resolvedMaxDate(): import('../../datetime/dateStr').DateStr | "";
|
|
11
11
|
_isDateInValidRange(date: import('../../datetime/dateStr').DateStr): boolean;
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
_isMonthAfterValidRange(month: import('../../datetime/month').Month): boolean | "";
|
|
13
|
+
_isMonthBeforeValidRange(month: import('../../datetime/month').Month): boolean | "";
|
|
14
14
|
_isMonthInValidRange(month: import('../../datetime/month').Month): boolean;
|
|
15
15
|
_closePopup(restoreFocusToTextField?: boolean): void;
|
|
16
16
|
_onPickerButtonClick(): void;
|
|
@@ -55,20 +55,20 @@ export declare const CalendarPickerTemplate: (context: VividElementDefinitionCon
|
|
|
55
55
|
_pickerButtonEl: Button;
|
|
56
56
|
connectedCallback(): void;
|
|
57
57
|
disconnectedCallback(): void;
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
_onFocusIn: () => void;
|
|
59
|
+
_onFocusOut: () => void;
|
|
60
60
|
proxy: HTMLInputElement;
|
|
61
61
|
validate(): void;
|
|
62
62
|
_getCustomValidationError(): string | null;
|
|
63
|
-
|
|
63
|
+
_localeChangeHandler: {
|
|
64
64
|
handleChange: () => void;
|
|
65
65
|
};
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
66
|
+
_localeChangeObserver: import('@microsoft/fast-element').ExpressionNotifier;
|
|
67
|
+
_startObservingLocaleChanges(): void;
|
|
68
|
+
_stopObservingLocaleChanges(): void;
|
|
69
69
|
_popupOpen: boolean;
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
_dismissOnClickOutside: (event: MouseEvent) => void;
|
|
71
|
+
_openPopupIfPossible(): void;
|
|
72
72
|
_onBaseKeyDown(event: KeyboardEvent): boolean;
|
|
73
73
|
_focusableElsWithinDialog(): NodeListOf<HTMLElement>;
|
|
74
74
|
get _dialogLabel(): string;
|
|
@@ -90,7 +90,7 @@ export declare const CalendarPickerTemplate: (context: VividElementDefinitionCon
|
|
|
90
90
|
errorValidationMessage: string;
|
|
91
91
|
forceErrorDisplay: boolean;
|
|
92
92
|
hasBeenTouched: boolean;
|
|
93
|
-
|
|
93
|
+
_handleInvalidEvent: () => void;
|
|
94
94
|
formResetCallback: (() => void) & (() => void) & (() => void) & (() => void);
|
|
95
95
|
get validity(): ValidityState;
|
|
96
96
|
get form(): HTMLFormElement | null;
|
|
@@ -134,7 +134,7 @@ export declare const CalendarPickerTemplate: (context: VividElementDefinitionCon
|
|
|
134
134
|
autocorrect: boolean;
|
|
135
135
|
dir: string;
|
|
136
136
|
draggable: boolean;
|
|
137
|
-
hidden: boolean;
|
|
137
|
+
hidden: boolean | "until-found";
|
|
138
138
|
inert: boolean;
|
|
139
139
|
innerText: string;
|
|
140
140
|
lang: string;
|
|
@@ -152,8 +152,8 @@ export declare const CalendarPickerTemplate: (context: VividElementDefinitionCon
|
|
|
152
152
|
attachInternals(): ElementInternals;
|
|
153
153
|
click(): void;
|
|
154
154
|
hidePopover(): void;
|
|
155
|
-
showPopover(): void;
|
|
156
|
-
togglePopover(options?: boolean): boolean;
|
|
155
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
156
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
157
157
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
158
158
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
159
159
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -167,6 +167,7 @@ export declare const CalendarPickerTemplate: (context: VividElementDefinitionCon
|
|
|
167
167
|
readonly clientTop: number;
|
|
168
168
|
readonly clientWidth: number;
|
|
169
169
|
readonly currentCSSZoom: number;
|
|
170
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
170
171
|
id: string;
|
|
171
172
|
innerHTML: string;
|
|
172
173
|
readonly localName: string;
|
|
@@ -217,6 +218,9 @@ export declare const CalendarPickerTemplate: (context: VividElementDefinitionCon
|
|
|
217
218
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
218
219
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
219
220
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
221
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
222
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
223
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
220
224
|
matches(selectors: string): boolean;
|
|
221
225
|
releasePointerCapture(pointerId: number): void;
|
|
222
226
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -352,6 +356,7 @@ export declare const CalendarPickerTemplate: (context: VividElementDefinitionCon
|
|
|
352
356
|
readonly firstElementChild: Element | null;
|
|
353
357
|
readonly lastElementChild: Element | null;
|
|
354
358
|
append(...nodes: (Node | string)[]): void;
|
|
359
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
355
360
|
prepend(...nodes: (Node | string)[]): void;
|
|
356
361
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
357
362
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -388,6 +393,7 @@ export declare const CalendarPickerTemplate: (context: VividElementDefinitionCon
|
|
|
388
393
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
389
394
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
390
395
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
396
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
391
397
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
392
398
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
393
399
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -409,7 +415,7 @@ export declare const CalendarPickerTemplate: (context: VividElementDefinitionCon
|
|
|
409
415
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
410
416
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
411
417
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
412
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
418
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
413
419
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
414
420
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
415
421
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -474,7 +480,7 @@ export declare const CalendarPickerTemplate: (context: VividElementDefinitionCon
|
|
|
474
480
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
475
481
|
autofocus: boolean;
|
|
476
482
|
readonly dataset: DOMStringMap;
|
|
477
|
-
nonce
|
|
483
|
+
nonce: string;
|
|
478
484
|
tabIndex: number;
|
|
479
485
|
blur(): void;
|
|
480
486
|
ariaControls: string | null;
|
|
@@ -533,13 +539,13 @@ export declare const CalendarPickerTemplate: (context: VividElementDefinitionCon
|
|
|
533
539
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
534
540
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
535
541
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
536
|
-
|
|
542
|
+
_handleReplacedProp(replacedProp: {
|
|
537
543
|
newPropertyName: string;
|
|
538
544
|
deprecatedPropertyName: string;
|
|
539
545
|
fromDeprecated: (v: any) => any;
|
|
540
546
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
541
547
|
}): void;
|
|
542
|
-
|
|
548
|
+
_controllers: Set<import('../../framework/reactive-controller').ReactiveController>;
|
|
543
549
|
_addController(controller: import('../../framework/reactive-controller').ReactiveController): void;
|
|
544
550
|
_removeController(controller: import('../../framework/reactive-controller').ReactiveController): void;
|
|
545
551
|
helperText?: string;
|
|
@@ -573,7 +579,7 @@ export declare const CalendarPickerTemplate: (context: VividElementDefinitionCon
|
|
|
573
579
|
autocorrect: boolean;
|
|
574
580
|
dir: string;
|
|
575
581
|
draggable: boolean;
|
|
576
|
-
hidden: boolean;
|
|
582
|
+
hidden: boolean | "until-found";
|
|
577
583
|
inert: boolean;
|
|
578
584
|
innerText: string;
|
|
579
585
|
lang: string;
|
|
@@ -591,8 +597,8 @@ export declare const CalendarPickerTemplate: (context: VividElementDefinitionCon
|
|
|
591
597
|
attachInternals(): ElementInternals;
|
|
592
598
|
click(): void;
|
|
593
599
|
hidePopover(): void;
|
|
594
|
-
showPopover(): void;
|
|
595
|
-
togglePopover(options?: boolean): boolean;
|
|
600
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
601
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
596
602
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
597
603
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
598
604
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -606,6 +612,7 @@ export declare const CalendarPickerTemplate: (context: VividElementDefinitionCon
|
|
|
606
612
|
readonly clientTop: number;
|
|
607
613
|
readonly clientWidth: number;
|
|
608
614
|
readonly currentCSSZoom: number;
|
|
615
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
609
616
|
id: string;
|
|
610
617
|
innerHTML: string;
|
|
611
618
|
readonly localName: string;
|
|
@@ -656,6 +663,9 @@ export declare const CalendarPickerTemplate: (context: VividElementDefinitionCon
|
|
|
656
663
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
657
664
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
658
665
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
666
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
667
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
668
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
659
669
|
matches(selectors: string): boolean;
|
|
660
670
|
releasePointerCapture(pointerId: number): void;
|
|
661
671
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -791,6 +801,7 @@ export declare const CalendarPickerTemplate: (context: VividElementDefinitionCon
|
|
|
791
801
|
readonly firstElementChild: Element | null;
|
|
792
802
|
readonly lastElementChild: Element | null;
|
|
793
803
|
append(...nodes: (Node | string)[]): void;
|
|
804
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
794
805
|
prepend(...nodes: (Node | string)[]): void;
|
|
795
806
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
796
807
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -827,6 +838,7 @@ export declare const CalendarPickerTemplate: (context: VividElementDefinitionCon
|
|
|
827
838
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
828
839
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
829
840
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
841
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
830
842
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
831
843
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
832
844
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -848,7 +860,7 @@ export declare const CalendarPickerTemplate: (context: VividElementDefinitionCon
|
|
|
848
860
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
849
861
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
850
862
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
851
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
863
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
852
864
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
853
865
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
854
866
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -913,7 +925,7 @@ export declare const CalendarPickerTemplate: (context: VividElementDefinitionCon
|
|
|
913
925
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
914
926
|
autofocus: boolean;
|
|
915
927
|
readonly dataset: DOMStringMap;
|
|
916
|
-
nonce
|
|
928
|
+
nonce: string;
|
|
917
929
|
tabIndex: number;
|
|
918
930
|
blur(): void;
|
|
919
931
|
ariaControls: string | null;
|
|
@@ -972,22 +984,22 @@ export declare const CalendarPickerTemplate: (context: VividElementDefinitionCon
|
|
|
972
984
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
973
985
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
974
986
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
975
|
-
|
|
987
|
+
_handleReplacedProp(replacedProp: {
|
|
976
988
|
newPropertyName: string;
|
|
977
989
|
deprecatedPropertyName: string;
|
|
978
990
|
fromDeprecated: (v: any) => any;
|
|
979
991
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
980
992
|
}): void;
|
|
981
|
-
|
|
993
|
+
_controllers: Set<import('../../framework/reactive-controller').ReactiveController>;
|
|
982
994
|
_addController(controller: import('../../framework/reactive-controller').ReactiveController): void;
|
|
983
995
|
_removeController(controller: import('../../framework/reactive-controller').ReactiveController): void;
|
|
984
996
|
}, any>;
|
|
985
997
|
errorText?: string;
|
|
986
998
|
errorTextChanged(_: string | undefined, newErrorText: string | undefined): void;
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
999
|
+
_blockValidateCalls: boolean;
|
|
1000
|
+
_originalValidateFn: () => void;
|
|
1001
|
+
_forceCustomError(errorMessage: string): void;
|
|
1002
|
+
_clearCustomErrorAndRevalidate(): void;
|
|
991
1003
|
_trappedFocus(event: KeyboardEvent, getFocusableEls: () => NodeListOf<HTMLElement>): boolean;
|
|
992
1004
|
get locale(): import('../../localization/Locale').Locale;
|
|
993
1005
|
} & import('../picker-field').PickerField, any>;
|
|
@@ -15,7 +15,7 @@ declare const InlineTimePicker_base: {
|
|
|
15
15
|
autocorrect: boolean;
|
|
16
16
|
dir: string;
|
|
17
17
|
draggable: boolean;
|
|
18
|
-
hidden: boolean;
|
|
18
|
+
hidden: boolean | "until-found";
|
|
19
19
|
inert: boolean;
|
|
20
20
|
innerText: string;
|
|
21
21
|
lang: string;
|
|
@@ -33,8 +33,8 @@ declare const InlineTimePicker_base: {
|
|
|
33
33
|
attachInternals(): ElementInternals;
|
|
34
34
|
click(): void;
|
|
35
35
|
hidePopover(): void;
|
|
36
|
-
showPopover(): void;
|
|
37
|
-
togglePopover(options?: boolean): boolean;
|
|
36
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
37
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
38
38
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
39
39
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
40
40
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -48,6 +48,7 @@ declare const InlineTimePicker_base: {
|
|
|
48
48
|
readonly clientTop: number;
|
|
49
49
|
readonly clientWidth: number;
|
|
50
50
|
readonly currentCSSZoom: number;
|
|
51
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
51
52
|
id: string;
|
|
52
53
|
innerHTML: string;
|
|
53
54
|
readonly localName: string;
|
|
@@ -98,6 +99,9 @@ declare const InlineTimePicker_base: {
|
|
|
98
99
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
99
100
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
100
101
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
102
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
103
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
104
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
101
105
|
matches(selectors: string): boolean;
|
|
102
106
|
releasePointerCapture(pointerId: number): void;
|
|
103
107
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -233,6 +237,7 @@ declare const InlineTimePicker_base: {
|
|
|
233
237
|
readonly firstElementChild: Element | null;
|
|
234
238
|
readonly lastElementChild: Element | null;
|
|
235
239
|
append(...nodes: (Node | string)[]): void;
|
|
240
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
236
241
|
prepend(...nodes: (Node | string)[]): void;
|
|
237
242
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
238
243
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -269,6 +274,7 @@ declare const InlineTimePicker_base: {
|
|
|
269
274
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
270
275
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
271
276
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
277
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
272
278
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
273
279
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
274
280
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -290,7 +296,7 @@ declare const InlineTimePicker_base: {
|
|
|
290
296
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
291
297
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
292
298
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
293
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
299
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
294
300
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
295
301
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
296
302
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -355,7 +361,7 @@ declare const InlineTimePicker_base: {
|
|
|
355
361
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
356
362
|
autofocus: boolean;
|
|
357
363
|
readonly dataset: DOMStringMap;
|
|
358
|
-
nonce
|
|
364
|
+
nonce: string;
|
|
359
365
|
tabIndex: number;
|
|
360
366
|
blur(): void;
|
|
361
367
|
ariaControls: string | null;
|
|
@@ -414,13 +420,13 @@ declare const InlineTimePicker_base: {
|
|
|
414
420
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
415
421
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
416
422
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
417
|
-
|
|
423
|
+
_handleReplacedProp(replacedProp: {
|
|
418
424
|
newPropertyName: string;
|
|
419
425
|
deprecatedPropertyName: string;
|
|
420
426
|
fromDeprecated: (v: any) => any;
|
|
421
427
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
422
428
|
}): void;
|
|
423
|
-
|
|
429
|
+
_controllers: Set<import('../../../framework/reactive-controller').ReactiveController>;
|
|
424
430
|
_addController(controller: import('../../../framework/reactive-controller').ReactiveController): void;
|
|
425
431
|
_removeController(controller: import('../../../framework/reactive-controller').ReactiveController): void;
|
|
426
432
|
};
|
|
@@ -15,8 +15,8 @@ export declare const MinMaxCalendarPicker: <T extends AbstractConstructor<Calend
|
|
|
15
15
|
_currentDate: string;
|
|
16
16
|
_currentMonth: import('../../datetime/month').Month;
|
|
17
17
|
_isDateInValidRange(date: DateStr): boolean;
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
_isMonthAfterValidRange(month: import('../../datetime/month').Month): boolean | "";
|
|
19
|
+
_isMonthBeforeValidRange(month: import('../../datetime/month').Month): boolean | "";
|
|
20
20
|
_isMonthInValidRange(month: import('../../datetime/month').Month): boolean;
|
|
21
21
|
_closePopup: ((restoreFocusToTextField?: boolean) => void) & ((restoreFocusToTextField?: boolean) => void);
|
|
22
22
|
_onPickerButtonClick: (() => void) & (() => void);
|
|
@@ -61,20 +61,20 @@ export declare const MinMaxCalendarPicker: <T extends AbstractConstructor<Calend
|
|
|
61
61
|
_pickerButtonEl: import('../../..').VwcButtonElement;
|
|
62
62
|
connectedCallback(): void;
|
|
63
63
|
disconnectedCallback(): void;
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
_onFocusIn: () => void;
|
|
65
|
+
_onFocusOut: () => void;
|
|
66
66
|
proxy: HTMLInputElement;
|
|
67
67
|
validate(): void;
|
|
68
68
|
_getCustomValidationError(): string | null;
|
|
69
|
-
|
|
69
|
+
_localeChangeHandler: {
|
|
70
70
|
handleChange: () => void;
|
|
71
71
|
};
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
_localeChangeObserver: import('@microsoft/fast-element').ExpressionNotifier;
|
|
73
|
+
_startObservingLocaleChanges(): void;
|
|
74
|
+
_stopObservingLocaleChanges(): void;
|
|
75
75
|
_popupOpen: boolean;
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
_dismissOnClickOutside: (event: MouseEvent) => void;
|
|
77
|
+
_openPopupIfPossible(): void;
|
|
78
78
|
_onBaseKeyDown(event: KeyboardEvent): boolean;
|
|
79
79
|
_focusableElsWithinDialog(): NodeListOf<HTMLElement>;
|
|
80
80
|
get _dialogLabel(): string;
|
|
@@ -96,7 +96,7 @@ export declare const MinMaxCalendarPicker: <T extends AbstractConstructor<Calend
|
|
|
96
96
|
errorValidationMessage: string;
|
|
97
97
|
forceErrorDisplay: boolean;
|
|
98
98
|
hasBeenTouched: boolean;
|
|
99
|
-
|
|
99
|
+
_handleInvalidEvent: () => void;
|
|
100
100
|
formResetCallback: (() => void) & (() => void) & (() => void) & (() => void);
|
|
101
101
|
get validity(): ValidityState;
|
|
102
102
|
get form(): HTMLFormElement | null;
|
|
@@ -140,7 +140,7 @@ export declare const MinMaxCalendarPicker: <T extends AbstractConstructor<Calend
|
|
|
140
140
|
autocorrect: boolean;
|
|
141
141
|
dir: string;
|
|
142
142
|
draggable: boolean;
|
|
143
|
-
hidden: boolean;
|
|
143
|
+
hidden: boolean | "until-found";
|
|
144
144
|
inert: boolean;
|
|
145
145
|
innerText: string;
|
|
146
146
|
lang: string;
|
|
@@ -158,8 +158,8 @@ export declare const MinMaxCalendarPicker: <T extends AbstractConstructor<Calend
|
|
|
158
158
|
attachInternals(): ElementInternals;
|
|
159
159
|
click(): void;
|
|
160
160
|
hidePopover(): void;
|
|
161
|
-
showPopover(): void;
|
|
162
|
-
togglePopover(options?: boolean): boolean;
|
|
161
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
162
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
163
163
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
164
164
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
165
165
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -173,6 +173,7 @@ export declare const MinMaxCalendarPicker: <T extends AbstractConstructor<Calend
|
|
|
173
173
|
readonly clientTop: number;
|
|
174
174
|
readonly clientWidth: number;
|
|
175
175
|
readonly currentCSSZoom: number;
|
|
176
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
176
177
|
id: string;
|
|
177
178
|
innerHTML: string;
|
|
178
179
|
readonly localName: string;
|
|
@@ -223,6 +224,9 @@ export declare const MinMaxCalendarPicker: <T extends AbstractConstructor<Calend
|
|
|
223
224
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
224
225
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
225
226
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
227
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
228
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
229
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
226
230
|
matches(selectors: string): boolean;
|
|
227
231
|
releasePointerCapture(pointerId: number): void;
|
|
228
232
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -358,6 +362,7 @@ export declare const MinMaxCalendarPicker: <T extends AbstractConstructor<Calend
|
|
|
358
362
|
readonly firstElementChild: Element | null;
|
|
359
363
|
readonly lastElementChild: Element | null;
|
|
360
364
|
append(...nodes: (Node | string)[]): void;
|
|
365
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
361
366
|
prepend(...nodes: (Node | string)[]): void;
|
|
362
367
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
363
368
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -394,6 +399,7 @@ export declare const MinMaxCalendarPicker: <T extends AbstractConstructor<Calend
|
|
|
394
399
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
395
400
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
396
401
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
402
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
397
403
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
398
404
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
399
405
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -415,7 +421,7 @@ export declare const MinMaxCalendarPicker: <T extends AbstractConstructor<Calend
|
|
|
415
421
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
416
422
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
417
423
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
418
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
424
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
419
425
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
420
426
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
421
427
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -480,7 +486,7 @@ export declare const MinMaxCalendarPicker: <T extends AbstractConstructor<Calend
|
|
|
480
486
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
481
487
|
autofocus: boolean;
|
|
482
488
|
readonly dataset: DOMStringMap;
|
|
483
|
-
nonce
|
|
489
|
+
nonce: string;
|
|
484
490
|
tabIndex: number;
|
|
485
491
|
blur(): void;
|
|
486
492
|
ariaControls: string | null;
|
|
@@ -539,13 +545,13 @@ export declare const MinMaxCalendarPicker: <T extends AbstractConstructor<Calend
|
|
|
539
545
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
540
546
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
541
547
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
542
|
-
|
|
548
|
+
_handleReplacedProp(replacedProp: {
|
|
543
549
|
newPropertyName: string;
|
|
544
550
|
deprecatedPropertyName: string;
|
|
545
551
|
fromDeprecated: (v: any) => any;
|
|
546
552
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
547
553
|
}): void;
|
|
548
|
-
|
|
554
|
+
_controllers: Set<import('../../framework/reactive-controller').ReactiveController>;
|
|
549
555
|
_addController(controller: import('../../framework/reactive-controller').ReactiveController): void;
|
|
550
556
|
_removeController(controller: import('../../framework/reactive-controller').ReactiveController): void;
|
|
551
557
|
helperText?: string;
|
|
@@ -579,7 +585,7 @@ export declare const MinMaxCalendarPicker: <T extends AbstractConstructor<Calend
|
|
|
579
585
|
autocorrect: boolean;
|
|
580
586
|
dir: string;
|
|
581
587
|
draggable: boolean;
|
|
582
|
-
hidden: boolean;
|
|
588
|
+
hidden: boolean | "until-found";
|
|
583
589
|
inert: boolean;
|
|
584
590
|
innerText: string;
|
|
585
591
|
lang: string;
|
|
@@ -597,8 +603,8 @@ export declare const MinMaxCalendarPicker: <T extends AbstractConstructor<Calend
|
|
|
597
603
|
attachInternals(): ElementInternals;
|
|
598
604
|
click(): void;
|
|
599
605
|
hidePopover(): void;
|
|
600
|
-
showPopover(): void;
|
|
601
|
-
togglePopover(options?: boolean): boolean;
|
|
606
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
607
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
602
608
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
603
609
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
604
610
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -612,6 +618,7 @@ export declare const MinMaxCalendarPicker: <T extends AbstractConstructor<Calend
|
|
|
612
618
|
readonly clientTop: number;
|
|
613
619
|
readonly clientWidth: number;
|
|
614
620
|
readonly currentCSSZoom: number;
|
|
621
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
615
622
|
id: string;
|
|
616
623
|
innerHTML: string;
|
|
617
624
|
readonly localName: string;
|
|
@@ -662,6 +669,9 @@ export declare const MinMaxCalendarPicker: <T extends AbstractConstructor<Calend
|
|
|
662
669
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
663
670
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
664
671
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
672
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
673
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
674
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
665
675
|
matches(selectors: string): boolean;
|
|
666
676
|
releasePointerCapture(pointerId: number): void;
|
|
667
677
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -797,6 +807,7 @@ export declare const MinMaxCalendarPicker: <T extends AbstractConstructor<Calend
|
|
|
797
807
|
readonly firstElementChild: Element | null;
|
|
798
808
|
readonly lastElementChild: Element | null;
|
|
799
809
|
append(...nodes: (Node | string)[]): void;
|
|
810
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
800
811
|
prepend(...nodes: (Node | string)[]): void;
|
|
801
812
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
802
813
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -833,6 +844,7 @@ export declare const MinMaxCalendarPicker: <T extends AbstractConstructor<Calend
|
|
|
833
844
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
834
845
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
835
846
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
847
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
836
848
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
837
849
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
838
850
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -854,7 +866,7 @@ export declare const MinMaxCalendarPicker: <T extends AbstractConstructor<Calend
|
|
|
854
866
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
855
867
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
856
868
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
857
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
869
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
858
870
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
859
871
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
860
872
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -919,7 +931,7 @@ export declare const MinMaxCalendarPicker: <T extends AbstractConstructor<Calend
|
|
|
919
931
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
920
932
|
autofocus: boolean;
|
|
921
933
|
readonly dataset: DOMStringMap;
|
|
922
|
-
nonce
|
|
934
|
+
nonce: string;
|
|
923
935
|
tabIndex: number;
|
|
924
936
|
blur(): void;
|
|
925
937
|
ariaControls: string | null;
|
|
@@ -978,22 +990,22 @@ export declare const MinMaxCalendarPicker: <T extends AbstractConstructor<Calend
|
|
|
978
990
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
979
991
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
980
992
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
981
|
-
|
|
993
|
+
_handleReplacedProp(replacedProp: {
|
|
982
994
|
newPropertyName: string;
|
|
983
995
|
deprecatedPropertyName: string;
|
|
984
996
|
fromDeprecated: (v: any) => any;
|
|
985
997
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
986
998
|
}): void;
|
|
987
|
-
|
|
999
|
+
_controllers: Set<import('../../framework/reactive-controller').ReactiveController>;
|
|
988
1000
|
_addController(controller: import('../../framework/reactive-controller').ReactiveController): void;
|
|
989
1001
|
_removeController(controller: import('../../framework/reactive-controller').ReactiveController): void;
|
|
990
1002
|
}, any>;
|
|
991
1003
|
errorText?: string;
|
|
992
1004
|
errorTextChanged(_: string | undefined, newErrorText: string | undefined): void;
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
1005
|
+
_blockValidateCalls: boolean;
|
|
1006
|
+
_originalValidateFn: () => void;
|
|
1007
|
+
_forceCustomError(errorMessage: string): void;
|
|
1008
|
+
_clearCustomErrorAndRevalidate(): void;
|
|
997
1009
|
_trappedFocus(event: KeyboardEvent, getFocusableEls: () => NodeListOf<HTMLElement>): boolean;
|
|
998
1010
|
get locale(): import('../../localization/Locale').Locale;
|
|
999
1011
|
}) & T;
|