@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.
- 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/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/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 +10 -8
- package/bundled/with-error-text.cjs +1 -1
- package/bundled/with-error-text.js +7 -9
- package/custom-elements.json +4955 -6650
- 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/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/package.json +7 -7
- 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 +35 -17
- 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/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/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/time-selection-picker.template.cjs +10 -10
- package/unbundled/time-selection-picker.template.js +10 -10
- package/unbundled/vivid-element.cjs +12 -8
- package/unbundled/vivid-element.js +12 -8
- package/unbundled/with-error-text.cjs +11 -10
- package/unbundled/with-error-text.js +11 -10
- package/shared/foundation/vivid-element/vivid-element.browser-spec.d.ts +0 -1
|
@@ -15,8 +15,8 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
15
15
|
get _resolvedMinDate(): DateStr | "";
|
|
16
16
|
get _resolvedMaxDate(): DateStr | "";
|
|
17
17
|
_isDateInValidRange(date: DateStr): boolean;
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
_isMonthAfterValidRange(month: import('../../shared/datetime/month').Month): boolean | "";
|
|
19
|
+
_isMonthBeforeValidRange(month: import('../../shared/datetime/month').Month): boolean | "";
|
|
20
20
|
_isMonthInValidRange(month: import('../../shared/datetime/month').Month): boolean;
|
|
21
21
|
_closePopup: ((restoreFocusToTextField?: boolean) => void) & ((restoreFocusToTextField?: boolean) => void);
|
|
22
22
|
_onPickerButtonClick: (() => void) & (() => void);
|
|
@@ -57,20 +57,20 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
57
57
|
_pickerButtonEl: import('../components').VwcButtonElement;
|
|
58
58
|
connectedCallback(): void;
|
|
59
59
|
disconnectedCallback(): void;
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
_onFocusIn: () => void;
|
|
61
|
+
_onFocusOut: () => void;
|
|
62
62
|
proxy: HTMLInputElement;
|
|
63
63
|
validate(): void;
|
|
64
64
|
_getCustomValidationError(): string | null;
|
|
65
|
-
|
|
65
|
+
_localeChangeHandler: {
|
|
66
66
|
handleChange: () => void;
|
|
67
67
|
};
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
_localeChangeObserver: import('@microsoft/fast-element').ExpressionNotifier;
|
|
69
|
+
_startObservingLocaleChanges(): void;
|
|
70
|
+
_stopObservingLocaleChanges(): void;
|
|
71
71
|
_popupOpen: boolean;
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
_dismissOnClickOutside: (event: MouseEvent) => void;
|
|
73
|
+
_openPopupIfPossible(): void;
|
|
74
74
|
_onBaseKeyDown(event: KeyboardEvent): boolean;
|
|
75
75
|
_focusableElsWithinDialog(): NodeListOf<HTMLElement>;
|
|
76
76
|
get _dialogLabel(): string;
|
|
@@ -92,7 +92,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
92
92
|
errorValidationMessage: string;
|
|
93
93
|
forceErrorDisplay: boolean;
|
|
94
94
|
hasBeenTouched: boolean;
|
|
95
|
-
|
|
95
|
+
_handleInvalidEvent: () => void;
|
|
96
96
|
formResetCallback: (() => void) & (() => void) & (() => void) & (() => void);
|
|
97
97
|
get validity(): ValidityState;
|
|
98
98
|
get form(): HTMLFormElement | null;
|
|
@@ -135,7 +135,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
135
135
|
autocorrect: boolean;
|
|
136
136
|
dir: string;
|
|
137
137
|
draggable: boolean;
|
|
138
|
-
hidden: boolean;
|
|
138
|
+
hidden: boolean | "until-found";
|
|
139
139
|
inert: boolean;
|
|
140
140
|
innerText: string;
|
|
141
141
|
lang: string;
|
|
@@ -153,8 +153,8 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
153
153
|
attachInternals(): ElementInternals;
|
|
154
154
|
click(): void;
|
|
155
155
|
hidePopover(): void;
|
|
156
|
-
showPopover(): void;
|
|
157
|
-
togglePopover(options?: boolean): boolean;
|
|
156
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
157
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
158
158
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
159
159
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
160
160
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -168,6 +168,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
168
168
|
readonly clientTop: number;
|
|
169
169
|
readonly clientWidth: number;
|
|
170
170
|
readonly currentCSSZoom: number;
|
|
171
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
171
172
|
id: string;
|
|
172
173
|
innerHTML: string;
|
|
173
174
|
readonly localName: string;
|
|
@@ -218,6 +219,9 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
218
219
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
219
220
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
220
221
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
222
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
223
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
224
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
221
225
|
matches(selectors: string): boolean;
|
|
222
226
|
releasePointerCapture(pointerId: number): void;
|
|
223
227
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -353,6 +357,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
353
357
|
readonly firstElementChild: Element | null;
|
|
354
358
|
readonly lastElementChild: Element | null;
|
|
355
359
|
append(...nodes: (Node | string)[]): void;
|
|
360
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
356
361
|
prepend(...nodes: (Node | string)[]): void;
|
|
357
362
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
358
363
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -389,6 +394,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
389
394
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
390
395
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
391
396
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
397
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
392
398
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
393
399
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
394
400
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -410,7 +416,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
410
416
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
411
417
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
412
418
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
413
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
419
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
414
420
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
415
421
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
416
422
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -475,7 +481,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
475
481
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
476
482
|
autofocus: boolean;
|
|
477
483
|
readonly dataset: DOMStringMap;
|
|
478
|
-
nonce
|
|
484
|
+
nonce: string;
|
|
479
485
|
tabIndex: number;
|
|
480
486
|
blur(): void;
|
|
481
487
|
ariaControls: string | null;
|
|
@@ -534,13 +540,13 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
534
540
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
535
541
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
536
542
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
537
|
-
|
|
543
|
+
_handleReplacedProp(replacedProp: {
|
|
538
544
|
newPropertyName: string;
|
|
539
545
|
deprecatedPropertyName: string;
|
|
540
546
|
fromDeprecated: (v: any) => any;
|
|
541
547
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
542
548
|
}): void;
|
|
543
|
-
|
|
549
|
+
_controllers: Set<import('../../shared/framework/reactive-controller').ReactiveController>;
|
|
544
550
|
_addController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
545
551
|
_removeController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
546
552
|
helperText?: string;
|
|
@@ -574,7 +580,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
574
580
|
autocorrect: boolean;
|
|
575
581
|
dir: string;
|
|
576
582
|
draggable: boolean;
|
|
577
|
-
hidden: boolean;
|
|
583
|
+
hidden: boolean | "until-found";
|
|
578
584
|
inert: boolean;
|
|
579
585
|
innerText: string;
|
|
580
586
|
lang: string;
|
|
@@ -592,8 +598,8 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
592
598
|
attachInternals(): ElementInternals;
|
|
593
599
|
click(): void;
|
|
594
600
|
hidePopover(): void;
|
|
595
|
-
showPopover(): void;
|
|
596
|
-
togglePopover(options?: boolean): boolean;
|
|
601
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
602
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
597
603
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
598
604
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
599
605
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -607,6 +613,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
607
613
|
readonly clientTop: number;
|
|
608
614
|
readonly clientWidth: number;
|
|
609
615
|
readonly currentCSSZoom: number;
|
|
616
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
610
617
|
id: string;
|
|
611
618
|
innerHTML: string;
|
|
612
619
|
readonly localName: string;
|
|
@@ -657,6 +664,9 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
657
664
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
658
665
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
659
666
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
667
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
668
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
669
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
660
670
|
matches(selectors: string): boolean;
|
|
661
671
|
releasePointerCapture(pointerId: number): void;
|
|
662
672
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -792,6 +802,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
792
802
|
readonly firstElementChild: Element | null;
|
|
793
803
|
readonly lastElementChild: Element | null;
|
|
794
804
|
append(...nodes: (Node | string)[]): void;
|
|
805
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
795
806
|
prepend(...nodes: (Node | string)[]): void;
|
|
796
807
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
797
808
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -828,6 +839,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
828
839
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
829
840
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
830
841
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
842
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
831
843
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
832
844
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
833
845
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -849,7 +861,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
849
861
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
850
862
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
851
863
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
852
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
864
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
853
865
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
854
866
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
855
867
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -914,7 +926,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
914
926
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
915
927
|
autofocus: boolean;
|
|
916
928
|
readonly dataset: DOMStringMap;
|
|
917
|
-
nonce
|
|
929
|
+
nonce: string;
|
|
918
930
|
tabIndex: number;
|
|
919
931
|
blur(): void;
|
|
920
932
|
ariaControls: string | null;
|
|
@@ -973,22 +985,22 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
973
985
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
974
986
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
975
987
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
976
|
-
|
|
988
|
+
_handleReplacedProp(replacedProp: {
|
|
977
989
|
newPropertyName: string;
|
|
978
990
|
deprecatedPropertyName: string;
|
|
979
991
|
fromDeprecated: (v: any) => any;
|
|
980
992
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
981
993
|
}): void;
|
|
982
|
-
|
|
994
|
+
_controllers: Set<import('../../shared/framework/reactive-controller').ReactiveController>;
|
|
983
995
|
_addController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
984
996
|
_removeController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
985
997
|
}, any>;
|
|
986
998
|
errorText?: string;
|
|
987
999
|
errorTextChanged(_: string | undefined, newErrorText: string | undefined): void;
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
1000
|
+
_blockValidateCalls: boolean;
|
|
1001
|
+
_originalValidateFn: () => void;
|
|
1002
|
+
_forceCustomError(errorMessage: string): void;
|
|
1003
|
+
_clearCustomErrorAndRevalidate(): void;
|
|
992
1004
|
_trappedFocus(event: KeyboardEvent, getFocusableEls: () => NodeListOf<HTMLElement>): boolean;
|
|
993
1005
|
get locale(): import('../../shared/localization/Locale').Locale;
|
|
994
1006
|
_isValidValue(value: string): boolean;
|
|
@@ -1018,20 +1030,20 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
1018
1030
|
_pickerButtonEl: import('../components').VwcButtonElement;
|
|
1019
1031
|
connectedCallback(): void;
|
|
1020
1032
|
disconnectedCallback(): void;
|
|
1021
|
-
|
|
1022
|
-
|
|
1033
|
+
_onFocusIn: () => void;
|
|
1034
|
+
_onFocusOut: () => void;
|
|
1023
1035
|
proxy: HTMLInputElement;
|
|
1024
1036
|
validate(): void;
|
|
1025
1037
|
_getCustomValidationError(): string | null;
|
|
1026
|
-
|
|
1038
|
+
_localeChangeHandler: {
|
|
1027
1039
|
handleChange: () => void;
|
|
1028
1040
|
};
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1041
|
+
_localeChangeObserver: import('@microsoft/fast-element').ExpressionNotifier;
|
|
1042
|
+
_startObservingLocaleChanges(): void;
|
|
1043
|
+
_stopObservingLocaleChanges(): void;
|
|
1032
1044
|
_popupOpen: boolean;
|
|
1033
|
-
|
|
1034
|
-
|
|
1045
|
+
_dismissOnClickOutside: (event: MouseEvent) => void;
|
|
1046
|
+
_openPopupIfPossible(): void;
|
|
1035
1047
|
_closePopup(restoreFocusToTextField?: boolean): void;
|
|
1036
1048
|
_onBaseKeyDown(event: KeyboardEvent): boolean;
|
|
1037
1049
|
_focusableElsWithinDialog(): NodeListOf<HTMLElement>;
|
|
@@ -1051,7 +1063,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
1051
1063
|
errorValidationMessage: string;
|
|
1052
1064
|
forceErrorDisplay: boolean;
|
|
1053
1065
|
hasBeenTouched: boolean;
|
|
1054
|
-
|
|
1066
|
+
_handleInvalidEvent: () => void;
|
|
1055
1067
|
formResetCallback: (() => void) & (() => void) & (() => void) & (() => void);
|
|
1056
1068
|
get validity(): ValidityState;
|
|
1057
1069
|
get form(): HTMLFormElement | null;
|
|
@@ -1094,7 +1106,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
1094
1106
|
autocorrect: boolean;
|
|
1095
1107
|
dir: string;
|
|
1096
1108
|
draggable: boolean;
|
|
1097
|
-
hidden: boolean;
|
|
1109
|
+
hidden: boolean | "until-found";
|
|
1098
1110
|
inert: boolean;
|
|
1099
1111
|
innerText: string;
|
|
1100
1112
|
lang: string;
|
|
@@ -1112,8 +1124,8 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
1112
1124
|
attachInternals(): ElementInternals;
|
|
1113
1125
|
click(): void;
|
|
1114
1126
|
hidePopover(): void;
|
|
1115
|
-
showPopover(): void;
|
|
1116
|
-
togglePopover(options?: boolean): boolean;
|
|
1127
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
1128
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
1117
1129
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1118
1130
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1119
1131
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -1127,6 +1139,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
1127
1139
|
readonly clientTop: number;
|
|
1128
1140
|
readonly clientWidth: number;
|
|
1129
1141
|
readonly currentCSSZoom: number;
|
|
1142
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
1130
1143
|
id: string;
|
|
1131
1144
|
innerHTML: string;
|
|
1132
1145
|
readonly localName: string;
|
|
@@ -1177,6 +1190,9 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
1177
1190
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
1178
1191
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
1179
1192
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
1193
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
1194
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
1195
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
1180
1196
|
matches(selectors: string): boolean;
|
|
1181
1197
|
releasePointerCapture(pointerId: number): void;
|
|
1182
1198
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -1312,6 +1328,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
1312
1328
|
readonly firstElementChild: Element | null;
|
|
1313
1329
|
readonly lastElementChild: Element | null;
|
|
1314
1330
|
append(...nodes: (Node | string)[]): void;
|
|
1331
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
1315
1332
|
prepend(...nodes: (Node | string)[]): void;
|
|
1316
1333
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
1317
1334
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -1348,6 +1365,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
1348
1365
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1349
1366
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1350
1367
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1368
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1351
1369
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1352
1370
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1353
1371
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -1369,7 +1387,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
1369
1387
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
1370
1388
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
1371
1389
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1372
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
1390
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
1373
1391
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1374
1392
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
1375
1393
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -1434,7 +1452,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
1434
1452
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
1435
1453
|
autofocus: boolean;
|
|
1436
1454
|
readonly dataset: DOMStringMap;
|
|
1437
|
-
nonce
|
|
1455
|
+
nonce: string;
|
|
1438
1456
|
tabIndex: number;
|
|
1439
1457
|
blur(): void;
|
|
1440
1458
|
ariaControls: string | null;
|
|
@@ -1493,13 +1511,13 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
1493
1511
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
1494
1512
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
1495
1513
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
1496
|
-
|
|
1514
|
+
_handleReplacedProp(replacedProp: {
|
|
1497
1515
|
newPropertyName: string;
|
|
1498
1516
|
deprecatedPropertyName: string;
|
|
1499
1517
|
fromDeprecated: (v: any) => any;
|
|
1500
1518
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
1501
1519
|
}): void;
|
|
1502
|
-
|
|
1520
|
+
_controllers: Set<import('../../shared/framework/reactive-controller').ReactiveController>;
|
|
1503
1521
|
_addController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
1504
1522
|
_removeController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
1505
1523
|
helperText?: string;
|
|
@@ -1533,7 +1551,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
1533
1551
|
autocorrect: boolean;
|
|
1534
1552
|
dir: string;
|
|
1535
1553
|
draggable: boolean;
|
|
1536
|
-
hidden: boolean;
|
|
1554
|
+
hidden: boolean | "until-found";
|
|
1537
1555
|
inert: boolean;
|
|
1538
1556
|
innerText: string;
|
|
1539
1557
|
lang: string;
|
|
@@ -1551,8 +1569,8 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
1551
1569
|
attachInternals(): ElementInternals;
|
|
1552
1570
|
click(): void;
|
|
1553
1571
|
hidePopover(): void;
|
|
1554
|
-
showPopover(): void;
|
|
1555
|
-
togglePopover(options?: boolean): boolean;
|
|
1572
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
1573
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
1556
1574
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1557
1575
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1558
1576
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -1566,6 +1584,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
1566
1584
|
readonly clientTop: number;
|
|
1567
1585
|
readonly clientWidth: number;
|
|
1568
1586
|
readonly currentCSSZoom: number;
|
|
1587
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
1569
1588
|
id: string;
|
|
1570
1589
|
innerHTML: string;
|
|
1571
1590
|
readonly localName: string;
|
|
@@ -1616,6 +1635,9 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
1616
1635
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
1617
1636
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
1618
1637
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
1638
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
1639
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
1640
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
1619
1641
|
matches(selectors: string): boolean;
|
|
1620
1642
|
releasePointerCapture(pointerId: number): void;
|
|
1621
1643
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -1751,6 +1773,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
1751
1773
|
readonly firstElementChild: Element | null;
|
|
1752
1774
|
readonly lastElementChild: Element | null;
|
|
1753
1775
|
append(...nodes: (Node | string)[]): void;
|
|
1776
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
1754
1777
|
prepend(...nodes: (Node | string)[]): void;
|
|
1755
1778
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
1756
1779
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -1787,6 +1810,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
1787
1810
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1788
1811
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1789
1812
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1813
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1790
1814
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1791
1815
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1792
1816
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -1808,7 +1832,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
1808
1832
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
1809
1833
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
1810
1834
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1811
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
1835
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
1812
1836
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1813
1837
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
1814
1838
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -1873,7 +1897,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
1873
1897
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
1874
1898
|
autofocus: boolean;
|
|
1875
1899
|
readonly dataset: DOMStringMap;
|
|
1876
|
-
nonce
|
|
1900
|
+
nonce: string;
|
|
1877
1901
|
tabIndex: number;
|
|
1878
1902
|
blur(): void;
|
|
1879
1903
|
ariaControls: string | null;
|
|
@@ -1932,22 +1956,22 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
1932
1956
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
1933
1957
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
1934
1958
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
1935
|
-
|
|
1959
|
+
_handleReplacedProp(replacedProp: {
|
|
1936
1960
|
newPropertyName: string;
|
|
1937
1961
|
deprecatedPropertyName: string;
|
|
1938
1962
|
fromDeprecated: (v: any) => any;
|
|
1939
1963
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
1940
1964
|
}): void;
|
|
1941
|
-
|
|
1965
|
+
_controllers: Set<import('../../shared/framework/reactive-controller').ReactiveController>;
|
|
1942
1966
|
_addController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
1943
1967
|
_removeController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
1944
1968
|
}, any>;
|
|
1945
1969
|
errorText?: string;
|
|
1946
1970
|
errorTextChanged(_: string | undefined, newErrorText: string | undefined): void;
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1971
|
+
_blockValidateCalls: boolean;
|
|
1972
|
+
_originalValidateFn: () => void;
|
|
1973
|
+
_forceCustomError(errorMessage: string): void;
|
|
1974
|
+
_clearCustomErrorAndRevalidate(): void;
|
|
1951
1975
|
_trappedFocus(event: KeyboardEvent, getFocusableEls: () => NodeListOf<HTMLElement>): boolean;
|
|
1952
1976
|
get locale(): import('../../shared/localization/Locale').Locale;
|
|
1953
1977
|
}) & (abstract new (...args: any[]) => {
|
|
@@ -1962,8 +1986,8 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
1962
1986
|
_currentDate: string;
|
|
1963
1987
|
_currentMonth: import('../../shared/datetime/month').Month;
|
|
1964
1988
|
_isDateInValidRange(date: DateStr): boolean;
|
|
1965
|
-
|
|
1966
|
-
|
|
1989
|
+
_isMonthAfterValidRange(month: import('../../shared/datetime/month').Month): boolean | "";
|
|
1990
|
+
_isMonthBeforeValidRange(month: import('../../shared/datetime/month').Month): boolean | "";
|
|
1967
1991
|
_isMonthInValidRange(month: import('../../shared/datetime/month').Month): boolean;
|
|
1968
1992
|
_closePopup: ((restoreFocusToTextField?: boolean) => void) & ((restoreFocusToTextField?: boolean) => void);
|
|
1969
1993
|
_onPickerButtonClick: (() => void) & (() => void);
|
|
@@ -2008,20 +2032,20 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
2008
2032
|
_pickerButtonEl: import('../components').VwcButtonElement;
|
|
2009
2033
|
connectedCallback(): void;
|
|
2010
2034
|
disconnectedCallback(): void;
|
|
2011
|
-
|
|
2012
|
-
|
|
2035
|
+
_onFocusIn: () => void;
|
|
2036
|
+
_onFocusOut: () => void;
|
|
2013
2037
|
proxy: HTMLInputElement;
|
|
2014
2038
|
validate(): void;
|
|
2015
2039
|
_getCustomValidationError(): string | null;
|
|
2016
|
-
|
|
2040
|
+
_localeChangeHandler: {
|
|
2017
2041
|
handleChange: () => void;
|
|
2018
2042
|
};
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2043
|
+
_localeChangeObserver: import('@microsoft/fast-element').ExpressionNotifier;
|
|
2044
|
+
_startObservingLocaleChanges(): void;
|
|
2045
|
+
_stopObservingLocaleChanges(): void;
|
|
2022
2046
|
_popupOpen: boolean;
|
|
2023
|
-
|
|
2024
|
-
|
|
2047
|
+
_dismissOnClickOutside: (event: MouseEvent) => void;
|
|
2048
|
+
_openPopupIfPossible(): void;
|
|
2025
2049
|
_onBaseKeyDown(event: KeyboardEvent): boolean;
|
|
2026
2050
|
_focusableElsWithinDialog(): NodeListOf<HTMLElement>;
|
|
2027
2051
|
get _dialogLabel(): string;
|
|
@@ -2043,7 +2067,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
2043
2067
|
errorValidationMessage: string;
|
|
2044
2068
|
forceErrorDisplay: boolean;
|
|
2045
2069
|
hasBeenTouched: boolean;
|
|
2046
|
-
|
|
2070
|
+
_handleInvalidEvent: () => void;
|
|
2047
2071
|
formResetCallback: (() => void) & (() => void) & (() => void) & (() => void);
|
|
2048
2072
|
get validity(): ValidityState;
|
|
2049
2073
|
get form(): HTMLFormElement | null;
|
|
@@ -2087,7 +2111,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
2087
2111
|
autocorrect: boolean;
|
|
2088
2112
|
dir: string;
|
|
2089
2113
|
draggable: boolean;
|
|
2090
|
-
hidden: boolean;
|
|
2114
|
+
hidden: boolean | "until-found";
|
|
2091
2115
|
inert: boolean;
|
|
2092
2116
|
innerText: string;
|
|
2093
2117
|
lang: string;
|
|
@@ -2105,8 +2129,8 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
2105
2129
|
attachInternals(): ElementInternals;
|
|
2106
2130
|
click(): void;
|
|
2107
2131
|
hidePopover(): void;
|
|
2108
|
-
showPopover(): void;
|
|
2109
|
-
togglePopover(options?: boolean): boolean;
|
|
2132
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
2133
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
2110
2134
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2111
2135
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2112
2136
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -2120,6 +2144,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
2120
2144
|
readonly clientTop: number;
|
|
2121
2145
|
readonly clientWidth: number;
|
|
2122
2146
|
readonly currentCSSZoom: number;
|
|
2147
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
2123
2148
|
id: string;
|
|
2124
2149
|
innerHTML: string;
|
|
2125
2150
|
readonly localName: string;
|
|
@@ -2170,6 +2195,9 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
2170
2195
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
2171
2196
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
2172
2197
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
2198
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
2199
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
2200
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
2173
2201
|
matches(selectors: string): boolean;
|
|
2174
2202
|
releasePointerCapture(pointerId: number): void;
|
|
2175
2203
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -2305,6 +2333,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
2305
2333
|
readonly firstElementChild: Element | null;
|
|
2306
2334
|
readonly lastElementChild: Element | null;
|
|
2307
2335
|
append(...nodes: (Node | string)[]): void;
|
|
2336
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
2308
2337
|
prepend(...nodes: (Node | string)[]): void;
|
|
2309
2338
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
2310
2339
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -2341,6 +2370,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
2341
2370
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2342
2371
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2343
2372
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2373
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2344
2374
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2345
2375
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2346
2376
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -2362,7 +2392,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
2362
2392
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
2363
2393
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
2364
2394
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2365
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
2395
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
2366
2396
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2367
2397
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
2368
2398
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -2427,7 +2457,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
2427
2457
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
2428
2458
|
autofocus: boolean;
|
|
2429
2459
|
readonly dataset: DOMStringMap;
|
|
2430
|
-
nonce
|
|
2460
|
+
nonce: string;
|
|
2431
2461
|
tabIndex: number;
|
|
2432
2462
|
blur(): void;
|
|
2433
2463
|
ariaControls: string | null;
|
|
@@ -2486,13 +2516,13 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
2486
2516
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
2487
2517
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
2488
2518
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
2489
|
-
|
|
2519
|
+
_handleReplacedProp(replacedProp: {
|
|
2490
2520
|
newPropertyName: string;
|
|
2491
2521
|
deprecatedPropertyName: string;
|
|
2492
2522
|
fromDeprecated: (v: any) => any;
|
|
2493
2523
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
2494
2524
|
}): void;
|
|
2495
|
-
|
|
2525
|
+
_controllers: Set<import('../../shared/framework/reactive-controller').ReactiveController>;
|
|
2496
2526
|
_addController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
2497
2527
|
_removeController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
2498
2528
|
helperText?: string;
|
|
@@ -2526,7 +2556,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
2526
2556
|
autocorrect: boolean;
|
|
2527
2557
|
dir: string;
|
|
2528
2558
|
draggable: boolean;
|
|
2529
|
-
hidden: boolean;
|
|
2559
|
+
hidden: boolean | "until-found";
|
|
2530
2560
|
inert: boolean;
|
|
2531
2561
|
innerText: string;
|
|
2532
2562
|
lang: string;
|
|
@@ -2544,8 +2574,8 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
2544
2574
|
attachInternals(): ElementInternals;
|
|
2545
2575
|
click(): void;
|
|
2546
2576
|
hidePopover(): void;
|
|
2547
|
-
showPopover(): void;
|
|
2548
|
-
togglePopover(options?: boolean): boolean;
|
|
2577
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
2578
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
2549
2579
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2550
2580
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2551
2581
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -2559,6 +2589,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
2559
2589
|
readonly clientTop: number;
|
|
2560
2590
|
readonly clientWidth: number;
|
|
2561
2591
|
readonly currentCSSZoom: number;
|
|
2592
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
2562
2593
|
id: string;
|
|
2563
2594
|
innerHTML: string;
|
|
2564
2595
|
readonly localName: string;
|
|
@@ -2609,6 +2640,9 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
2609
2640
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
2610
2641
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
2611
2642
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
2643
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
2644
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
2645
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
2612
2646
|
matches(selectors: string): boolean;
|
|
2613
2647
|
releasePointerCapture(pointerId: number): void;
|
|
2614
2648
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -2744,6 +2778,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
2744
2778
|
readonly firstElementChild: Element | null;
|
|
2745
2779
|
readonly lastElementChild: Element | null;
|
|
2746
2780
|
append(...nodes: (Node | string)[]): void;
|
|
2781
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
2747
2782
|
prepend(...nodes: (Node | string)[]): void;
|
|
2748
2783
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
2749
2784
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -2780,6 +2815,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
2780
2815
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2781
2816
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2782
2817
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2818
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2783
2819
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2784
2820
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2785
2821
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -2801,7 +2837,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
2801
2837
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
2802
2838
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
2803
2839
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2804
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
2840
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
2805
2841
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2806
2842
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
2807
2843
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -2866,7 +2902,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
2866
2902
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
2867
2903
|
autofocus: boolean;
|
|
2868
2904
|
readonly dataset: DOMStringMap;
|
|
2869
|
-
nonce
|
|
2905
|
+
nonce: string;
|
|
2870
2906
|
tabIndex: number;
|
|
2871
2907
|
blur(): void;
|
|
2872
2908
|
ariaControls: string | null;
|
|
@@ -2925,22 +2961,22 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
2925
2961
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
2926
2962
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
2927
2963
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
2928
|
-
|
|
2964
|
+
_handleReplacedProp(replacedProp: {
|
|
2929
2965
|
newPropertyName: string;
|
|
2930
2966
|
deprecatedPropertyName: string;
|
|
2931
2967
|
fromDeprecated: (v: any) => any;
|
|
2932
2968
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
2933
2969
|
}): void;
|
|
2934
|
-
|
|
2970
|
+
_controllers: Set<import('../../shared/framework/reactive-controller').ReactiveController>;
|
|
2935
2971
|
_addController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
2936
2972
|
_removeController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
2937
2973
|
}, any>;
|
|
2938
2974
|
errorText?: string;
|
|
2939
2975
|
errorTextChanged(_: string | undefined, newErrorText: string | undefined): void;
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2976
|
+
_blockValidateCalls: boolean;
|
|
2977
|
+
_originalValidateFn: () => void;
|
|
2978
|
+
_forceCustomError(errorMessage: string): void;
|
|
2979
|
+
_clearCustomErrorAndRevalidate(): void;
|
|
2944
2980
|
_trappedFocus(event: KeyboardEvent, getFocusableEls: () => NodeListOf<HTMLElement>): boolean;
|
|
2945
2981
|
get locale(): import('../../shared/localization/Locale').Locale;
|
|
2946
2982
|
}) & (abstract new (...args: any[]) => {
|
|
@@ -2951,8 +2987,8 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
2951
2987
|
get _resolvedMinDate(): DateStr | "";
|
|
2952
2988
|
get _resolvedMaxDate(): DateStr | "";
|
|
2953
2989
|
_isDateInValidRange(date: DateStr): boolean;
|
|
2954
|
-
|
|
2955
|
-
|
|
2990
|
+
_isMonthAfterValidRange(month: import('../../shared/datetime/month').Month): boolean | "";
|
|
2991
|
+
_isMonthBeforeValidRange(month: import('../../shared/datetime/month').Month): boolean | "";
|
|
2956
2992
|
_isMonthInValidRange(month: import('../../shared/datetime/month').Month): boolean;
|
|
2957
2993
|
_closePopup(restoreFocusToTextField?: boolean): void;
|
|
2958
2994
|
_onPickerButtonClick(): void;
|
|
@@ -2997,20 +3033,20 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
2997
3033
|
_pickerButtonEl: import('../components').VwcButtonElement;
|
|
2998
3034
|
connectedCallback(): void;
|
|
2999
3035
|
disconnectedCallback(): void;
|
|
3000
|
-
|
|
3001
|
-
|
|
3036
|
+
_onFocusIn: () => void;
|
|
3037
|
+
_onFocusOut: () => void;
|
|
3002
3038
|
proxy: HTMLInputElement;
|
|
3003
3039
|
validate(): void;
|
|
3004
3040
|
_getCustomValidationError(): string | null;
|
|
3005
|
-
|
|
3041
|
+
_localeChangeHandler: {
|
|
3006
3042
|
handleChange: () => void;
|
|
3007
3043
|
};
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3044
|
+
_localeChangeObserver: import('@microsoft/fast-element').ExpressionNotifier;
|
|
3045
|
+
_startObservingLocaleChanges(): void;
|
|
3046
|
+
_stopObservingLocaleChanges(): void;
|
|
3011
3047
|
_popupOpen: boolean;
|
|
3012
|
-
|
|
3013
|
-
|
|
3048
|
+
_dismissOnClickOutside: (event: MouseEvent) => void;
|
|
3049
|
+
_openPopupIfPossible(): void;
|
|
3014
3050
|
_onBaseKeyDown(event: KeyboardEvent): boolean;
|
|
3015
3051
|
_focusableElsWithinDialog(): NodeListOf<HTMLElement>;
|
|
3016
3052
|
get _dialogLabel(): string;
|
|
@@ -3032,7 +3068,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
3032
3068
|
errorValidationMessage: string;
|
|
3033
3069
|
forceErrorDisplay: boolean;
|
|
3034
3070
|
hasBeenTouched: boolean;
|
|
3035
|
-
|
|
3071
|
+
_handleInvalidEvent: () => void;
|
|
3036
3072
|
formResetCallback: (() => void) & (() => void) & (() => void) & (() => void);
|
|
3037
3073
|
get validity(): ValidityState;
|
|
3038
3074
|
get form(): HTMLFormElement | null;
|
|
@@ -3076,7 +3112,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
3076
3112
|
autocorrect: boolean;
|
|
3077
3113
|
dir: string;
|
|
3078
3114
|
draggable: boolean;
|
|
3079
|
-
hidden: boolean;
|
|
3115
|
+
hidden: boolean | "until-found";
|
|
3080
3116
|
inert: boolean;
|
|
3081
3117
|
innerText: string;
|
|
3082
3118
|
lang: string;
|
|
@@ -3094,8 +3130,8 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
3094
3130
|
attachInternals(): ElementInternals;
|
|
3095
3131
|
click(): void;
|
|
3096
3132
|
hidePopover(): void;
|
|
3097
|
-
showPopover(): void;
|
|
3098
|
-
togglePopover(options?: boolean): boolean;
|
|
3133
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
3134
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
3099
3135
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3100
3136
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3101
3137
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -3109,6 +3145,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
3109
3145
|
readonly clientTop: number;
|
|
3110
3146
|
readonly clientWidth: number;
|
|
3111
3147
|
readonly currentCSSZoom: number;
|
|
3148
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
3112
3149
|
id: string;
|
|
3113
3150
|
innerHTML: string;
|
|
3114
3151
|
readonly localName: string;
|
|
@@ -3159,6 +3196,9 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
3159
3196
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
3160
3197
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
3161
3198
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
3199
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
3200
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
3201
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
3162
3202
|
matches(selectors: string): boolean;
|
|
3163
3203
|
releasePointerCapture(pointerId: number): void;
|
|
3164
3204
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -3294,6 +3334,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
3294
3334
|
readonly firstElementChild: Element | null;
|
|
3295
3335
|
readonly lastElementChild: Element | null;
|
|
3296
3336
|
append(...nodes: (Node | string)[]): void;
|
|
3337
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
3297
3338
|
prepend(...nodes: (Node | string)[]): void;
|
|
3298
3339
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
3299
3340
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -3330,6 +3371,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
3330
3371
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3331
3372
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
3332
3373
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3374
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3333
3375
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3334
3376
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
3335
3377
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -3351,7 +3393,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
3351
3393
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
3352
3394
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
3353
3395
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
3354
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
3396
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
3355
3397
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3356
3398
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
3357
3399
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -3416,7 +3458,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
3416
3458
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
3417
3459
|
autofocus: boolean;
|
|
3418
3460
|
readonly dataset: DOMStringMap;
|
|
3419
|
-
nonce
|
|
3461
|
+
nonce: string;
|
|
3420
3462
|
tabIndex: number;
|
|
3421
3463
|
blur(): void;
|
|
3422
3464
|
ariaControls: string | null;
|
|
@@ -3475,13 +3517,13 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
3475
3517
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
3476
3518
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
3477
3519
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
3478
|
-
|
|
3520
|
+
_handleReplacedProp(replacedProp: {
|
|
3479
3521
|
newPropertyName: string;
|
|
3480
3522
|
deprecatedPropertyName: string;
|
|
3481
3523
|
fromDeprecated: (v: any) => any;
|
|
3482
3524
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
3483
3525
|
}): void;
|
|
3484
|
-
|
|
3526
|
+
_controllers: Set<import('../../shared/framework/reactive-controller').ReactiveController>;
|
|
3485
3527
|
_addController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
3486
3528
|
_removeController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
3487
3529
|
helperText?: string;
|
|
@@ -3515,7 +3557,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
3515
3557
|
autocorrect: boolean;
|
|
3516
3558
|
dir: string;
|
|
3517
3559
|
draggable: boolean;
|
|
3518
|
-
hidden: boolean;
|
|
3560
|
+
hidden: boolean | "until-found";
|
|
3519
3561
|
inert: boolean;
|
|
3520
3562
|
innerText: string;
|
|
3521
3563
|
lang: string;
|
|
@@ -3533,8 +3575,8 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
3533
3575
|
attachInternals(): ElementInternals;
|
|
3534
3576
|
click(): void;
|
|
3535
3577
|
hidePopover(): void;
|
|
3536
|
-
showPopover(): void;
|
|
3537
|
-
togglePopover(options?: boolean): boolean;
|
|
3578
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
3579
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
3538
3580
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3539
3581
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3540
3582
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -3548,6 +3590,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
3548
3590
|
readonly clientTop: number;
|
|
3549
3591
|
readonly clientWidth: number;
|
|
3550
3592
|
readonly currentCSSZoom: number;
|
|
3593
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
3551
3594
|
id: string;
|
|
3552
3595
|
innerHTML: string;
|
|
3553
3596
|
readonly localName: string;
|
|
@@ -3598,6 +3641,9 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
3598
3641
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
3599
3642
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
3600
3643
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
3644
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
3645
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
3646
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
3601
3647
|
matches(selectors: string): boolean;
|
|
3602
3648
|
releasePointerCapture(pointerId: number): void;
|
|
3603
3649
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -3733,6 +3779,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
3733
3779
|
readonly firstElementChild: Element | null;
|
|
3734
3780
|
readonly lastElementChild: Element | null;
|
|
3735
3781
|
append(...nodes: (Node | string)[]): void;
|
|
3782
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
3736
3783
|
prepend(...nodes: (Node | string)[]): void;
|
|
3737
3784
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
3738
3785
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -3769,6 +3816,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
3769
3816
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3770
3817
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
3771
3818
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3819
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3772
3820
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3773
3821
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
3774
3822
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -3790,7 +3838,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
3790
3838
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
3791
3839
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
3792
3840
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
3793
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
3841
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
3794
3842
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3795
3843
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
3796
3844
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -3855,7 +3903,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
3855
3903
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
3856
3904
|
autofocus: boolean;
|
|
3857
3905
|
readonly dataset: DOMStringMap;
|
|
3858
|
-
nonce
|
|
3906
|
+
nonce: string;
|
|
3859
3907
|
tabIndex: number;
|
|
3860
3908
|
blur(): void;
|
|
3861
3909
|
ariaControls: string | null;
|
|
@@ -3914,22 +3962,22 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
|
|
|
3914
3962
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
3915
3963
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
3916
3964
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
3917
|
-
|
|
3965
|
+
_handleReplacedProp(replacedProp: {
|
|
3918
3966
|
newPropertyName: string;
|
|
3919
3967
|
deprecatedPropertyName: string;
|
|
3920
3968
|
fromDeprecated: (v: any) => any;
|
|
3921
3969
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
3922
3970
|
}): void;
|
|
3923
|
-
|
|
3971
|
+
_controllers: Set<import('../../shared/framework/reactive-controller').ReactiveController>;
|
|
3924
3972
|
_addController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
3925
3973
|
_removeController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
3926
3974
|
}, any>;
|
|
3927
3975
|
errorText?: string;
|
|
3928
3976
|
errorTextChanged(_: string | undefined, newErrorText: string | undefined): void;
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3977
|
+
_blockValidateCalls: boolean;
|
|
3978
|
+
_originalValidateFn: () => void;
|
|
3979
|
+
_forceCustomError(errorMessage: string): void;
|
|
3980
|
+
_clearCustomErrorAndRevalidate(): void;
|
|
3933
3981
|
_trappedFocus(event: KeyboardEvent, getFocusableEls: () => NodeListOf<HTMLElement>): boolean;
|
|
3934
3982
|
get locale(): import('../../shared/localization/Locale').Locale;
|
|
3935
3983
|
}) & typeof PickerField;
|