@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
|
@@ -13,12 +13,12 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
13
13
|
get _displaySeconds(): boolean;
|
|
14
14
|
get _use12hClock(): boolean;
|
|
15
15
|
get _timePlaceholder(): string;
|
|
16
|
-
|
|
16
|
+
_clockChangeHandler: {
|
|
17
17
|
handleChange: () => void;
|
|
18
18
|
};
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
_clockChangeObserver: import('@microsoft/fast-element').ExpressionNotifier;
|
|
20
|
+
_startObservingClockChanges(): void;
|
|
21
|
+
_stopObservingClockChanges(): void;
|
|
22
22
|
connectedCallback(): void;
|
|
23
23
|
disconnectedCallback(): void;
|
|
24
24
|
_onPickerButtonClick(): void;
|
|
@@ -42,20 +42,20 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
42
42
|
_textFieldEl: import('../components').VwcTextFieldElement;
|
|
43
43
|
_dialogEl: HTMLElement;
|
|
44
44
|
_pickerButtonEl: import('../components').VwcButtonElement;
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
_onFocusIn: () => void;
|
|
46
|
+
_onFocusOut: () => void;
|
|
47
47
|
proxy: HTMLInputElement;
|
|
48
48
|
validate(): void;
|
|
49
49
|
_getCustomValidationError(): string | null;
|
|
50
|
-
|
|
50
|
+
_localeChangeHandler: {
|
|
51
51
|
handleChange: () => void;
|
|
52
52
|
};
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
_localeChangeObserver: import('@microsoft/fast-element').ExpressionNotifier;
|
|
54
|
+
_startObservingLocaleChanges(): void;
|
|
55
|
+
_stopObservingLocaleChanges(): void;
|
|
56
56
|
_popupOpen: boolean;
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
_dismissOnClickOutside: (event: MouseEvent) => void;
|
|
58
|
+
_openPopupIfPossible(): void;
|
|
59
59
|
_closePopup(restoreFocusToTextField?: boolean): void;
|
|
60
60
|
_onBaseKeyDown(event: KeyboardEvent): boolean;
|
|
61
61
|
_focusableElsWithinDialog(): NodeListOf<HTMLElement>;
|
|
@@ -74,7 +74,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
74
74
|
errorValidationMessage: string;
|
|
75
75
|
forceErrorDisplay: boolean;
|
|
76
76
|
hasBeenTouched: boolean;
|
|
77
|
-
|
|
77
|
+
_handleInvalidEvent: () => void;
|
|
78
78
|
formResetCallback: (() => void) & (() => void) & (() => void) & (() => void);
|
|
79
79
|
get validity(): ValidityState;
|
|
80
80
|
get form(): HTMLFormElement | null;
|
|
@@ -117,7 +117,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
117
117
|
autocorrect: boolean;
|
|
118
118
|
dir: string;
|
|
119
119
|
draggable: boolean;
|
|
120
|
-
hidden: boolean;
|
|
120
|
+
hidden: boolean | "until-found";
|
|
121
121
|
inert: boolean;
|
|
122
122
|
innerText: string;
|
|
123
123
|
lang: string;
|
|
@@ -135,8 +135,8 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
135
135
|
attachInternals(): ElementInternals;
|
|
136
136
|
click(): void;
|
|
137
137
|
hidePopover(): void;
|
|
138
|
-
showPopover(): void;
|
|
139
|
-
togglePopover(options?: boolean): boolean;
|
|
138
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
139
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
140
140
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
141
141
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
142
142
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -150,6 +150,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
150
150
|
readonly clientTop: number;
|
|
151
151
|
readonly clientWidth: number;
|
|
152
152
|
readonly currentCSSZoom: number;
|
|
153
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
153
154
|
id: string;
|
|
154
155
|
innerHTML: string;
|
|
155
156
|
readonly localName: string;
|
|
@@ -200,6 +201,9 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
200
201
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
201
202
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
202
203
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
204
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
205
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
206
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
203
207
|
matches(selectors: string): boolean;
|
|
204
208
|
releasePointerCapture(pointerId: number): void;
|
|
205
209
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -335,6 +339,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
335
339
|
readonly firstElementChild: Element | null;
|
|
336
340
|
readonly lastElementChild: Element | null;
|
|
337
341
|
append(...nodes: (Node | string)[]): void;
|
|
342
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
338
343
|
prepend(...nodes: (Node | string)[]): void;
|
|
339
344
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
340
345
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -371,6 +376,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
371
376
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
372
377
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
373
378
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
379
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
374
380
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
375
381
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
376
382
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -392,7 +398,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
392
398
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
393
399
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
394
400
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
395
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
401
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
396
402
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
397
403
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
398
404
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -457,7 +463,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
457
463
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
458
464
|
autofocus: boolean;
|
|
459
465
|
readonly dataset: DOMStringMap;
|
|
460
|
-
nonce
|
|
466
|
+
nonce: string;
|
|
461
467
|
tabIndex: number;
|
|
462
468
|
blur(): void;
|
|
463
469
|
ariaControls: string | null;
|
|
@@ -516,13 +522,13 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
516
522
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
517
523
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
518
524
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
519
|
-
|
|
525
|
+
_handleReplacedProp(replacedProp: {
|
|
520
526
|
newPropertyName: string;
|
|
521
527
|
deprecatedPropertyName: string;
|
|
522
528
|
fromDeprecated: (v: any) => any;
|
|
523
529
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
524
530
|
}): void;
|
|
525
|
-
|
|
531
|
+
_controllers: Set<import('../../shared/framework/reactive-controller').ReactiveController>;
|
|
526
532
|
_addController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
527
533
|
_removeController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
528
534
|
helperText?: string;
|
|
@@ -556,7 +562,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
556
562
|
autocorrect: boolean;
|
|
557
563
|
dir: string;
|
|
558
564
|
draggable: boolean;
|
|
559
|
-
hidden: boolean;
|
|
565
|
+
hidden: boolean | "until-found";
|
|
560
566
|
inert: boolean;
|
|
561
567
|
innerText: string;
|
|
562
568
|
lang: string;
|
|
@@ -574,8 +580,8 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
574
580
|
attachInternals(): ElementInternals;
|
|
575
581
|
click(): void;
|
|
576
582
|
hidePopover(): void;
|
|
577
|
-
showPopover(): void;
|
|
578
|
-
togglePopover(options?: boolean): boolean;
|
|
583
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
584
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
579
585
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
580
586
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
581
587
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -589,6 +595,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
589
595
|
readonly clientTop: number;
|
|
590
596
|
readonly clientWidth: number;
|
|
591
597
|
readonly currentCSSZoom: number;
|
|
598
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
592
599
|
id: string;
|
|
593
600
|
innerHTML: string;
|
|
594
601
|
readonly localName: string;
|
|
@@ -639,6 +646,9 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
639
646
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
640
647
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
641
648
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
649
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
650
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
651
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
642
652
|
matches(selectors: string): boolean;
|
|
643
653
|
releasePointerCapture(pointerId: number): void;
|
|
644
654
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -774,6 +784,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
774
784
|
readonly firstElementChild: Element | null;
|
|
775
785
|
readonly lastElementChild: Element | null;
|
|
776
786
|
append(...nodes: (Node | string)[]): void;
|
|
787
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
777
788
|
prepend(...nodes: (Node | string)[]): void;
|
|
778
789
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
779
790
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -810,6 +821,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
810
821
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
811
822
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
812
823
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
824
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
813
825
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
814
826
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
815
827
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -831,7 +843,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
831
843
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
832
844
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
833
845
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
834
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
846
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
835
847
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
836
848
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
837
849
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -896,7 +908,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
896
908
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
897
909
|
autofocus: boolean;
|
|
898
910
|
readonly dataset: DOMStringMap;
|
|
899
|
-
nonce
|
|
911
|
+
nonce: string;
|
|
900
912
|
tabIndex: number;
|
|
901
913
|
blur(): void;
|
|
902
914
|
ariaControls: string | null;
|
|
@@ -955,22 +967,22 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
955
967
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
956
968
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
957
969
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
958
|
-
|
|
970
|
+
_handleReplacedProp(replacedProp: {
|
|
959
971
|
newPropertyName: string;
|
|
960
972
|
deprecatedPropertyName: string;
|
|
961
973
|
fromDeprecated: (v: any) => any;
|
|
962
974
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
963
975
|
}): void;
|
|
964
|
-
|
|
976
|
+
_controllers: Set<import('../../shared/framework/reactive-controller').ReactiveController>;
|
|
965
977
|
_addController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
966
978
|
_removeController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
967
979
|
}, any>;
|
|
968
980
|
errorText?: string;
|
|
969
981
|
errorTextChanged(_: string | undefined, newErrorText: string | undefined): void;
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
982
|
+
_blockValidateCalls: boolean;
|
|
983
|
+
_originalValidateFn: () => void;
|
|
984
|
+
_forceCustomError(errorMessage: string): void;
|
|
985
|
+
_clearCustomErrorAndRevalidate(): void;
|
|
974
986
|
_trappedFocus(event: KeyboardEvent, getFocusableEls: () => NodeListOf<HTMLElement>): boolean;
|
|
975
987
|
get locale(): import('../../shared/localization/Locale').Locale;
|
|
976
988
|
}) & (abstract new (...args: any[]) => {
|
|
@@ -988,8 +1000,8 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
988
1000
|
get _resolvedMinDate(): DateStr | "";
|
|
989
1001
|
get _resolvedMaxDate(): DateStr | "";
|
|
990
1002
|
_isDateInValidRange(date: DateStr): boolean;
|
|
991
|
-
|
|
992
|
-
|
|
1003
|
+
_isMonthAfterValidRange(month: import('../../shared/datetime/month').Month): boolean | "";
|
|
1004
|
+
_isMonthBeforeValidRange(month: import('../../shared/datetime/month').Month): boolean | "";
|
|
993
1005
|
_isMonthInValidRange(month: import('../../shared/datetime/month').Month): boolean;
|
|
994
1006
|
_closePopup: ((restoreFocusToTextField?: boolean) => void) & ((restoreFocusToTextField?: boolean) => void);
|
|
995
1007
|
_onPickerButtonClick: (() => void) & (() => void);
|
|
@@ -1030,20 +1042,20 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
1030
1042
|
_pickerButtonEl: import('../components').VwcButtonElement;
|
|
1031
1043
|
connectedCallback(): void;
|
|
1032
1044
|
disconnectedCallback(): void;
|
|
1033
|
-
|
|
1034
|
-
|
|
1045
|
+
_onFocusIn: () => void;
|
|
1046
|
+
_onFocusOut: () => void;
|
|
1035
1047
|
proxy: HTMLInputElement;
|
|
1036
1048
|
validate(): void;
|
|
1037
1049
|
_getCustomValidationError(): string | null;
|
|
1038
|
-
|
|
1050
|
+
_localeChangeHandler: {
|
|
1039
1051
|
handleChange: () => void;
|
|
1040
1052
|
};
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1053
|
+
_localeChangeObserver: import('@microsoft/fast-element').ExpressionNotifier;
|
|
1054
|
+
_startObservingLocaleChanges(): void;
|
|
1055
|
+
_stopObservingLocaleChanges(): void;
|
|
1044
1056
|
_popupOpen: boolean;
|
|
1045
|
-
|
|
1046
|
-
|
|
1057
|
+
_dismissOnClickOutside: (event: MouseEvent) => void;
|
|
1058
|
+
_openPopupIfPossible(): void;
|
|
1047
1059
|
_onBaseKeyDown(event: KeyboardEvent): boolean;
|
|
1048
1060
|
_focusableElsWithinDialog(): NodeListOf<HTMLElement>;
|
|
1049
1061
|
get _dialogLabel(): string;
|
|
@@ -1065,7 +1077,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
1065
1077
|
errorValidationMessage: string;
|
|
1066
1078
|
forceErrorDisplay: boolean;
|
|
1067
1079
|
hasBeenTouched: boolean;
|
|
1068
|
-
|
|
1080
|
+
_handleInvalidEvent: () => void;
|
|
1069
1081
|
formResetCallback: (() => void) & (() => void) & (() => void) & (() => void);
|
|
1070
1082
|
get validity(): ValidityState;
|
|
1071
1083
|
get form(): HTMLFormElement | null;
|
|
@@ -1108,7 +1120,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
1108
1120
|
autocorrect: boolean;
|
|
1109
1121
|
dir: string;
|
|
1110
1122
|
draggable: boolean;
|
|
1111
|
-
hidden: boolean;
|
|
1123
|
+
hidden: boolean | "until-found";
|
|
1112
1124
|
inert: boolean;
|
|
1113
1125
|
innerText: string;
|
|
1114
1126
|
lang: string;
|
|
@@ -1126,8 +1138,8 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
1126
1138
|
attachInternals(): ElementInternals;
|
|
1127
1139
|
click(): void;
|
|
1128
1140
|
hidePopover(): void;
|
|
1129
|
-
showPopover(): void;
|
|
1130
|
-
togglePopover(options?: boolean): boolean;
|
|
1141
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
1142
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
1131
1143
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1132
1144
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1133
1145
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -1141,6 +1153,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
1141
1153
|
readonly clientTop: number;
|
|
1142
1154
|
readonly clientWidth: number;
|
|
1143
1155
|
readonly currentCSSZoom: number;
|
|
1156
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
1144
1157
|
id: string;
|
|
1145
1158
|
innerHTML: string;
|
|
1146
1159
|
readonly localName: string;
|
|
@@ -1191,6 +1204,9 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
1191
1204
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
1192
1205
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
1193
1206
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
1207
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
1208
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
1209
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
1194
1210
|
matches(selectors: string): boolean;
|
|
1195
1211
|
releasePointerCapture(pointerId: number): void;
|
|
1196
1212
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -1326,6 +1342,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
1326
1342
|
readonly firstElementChild: Element | null;
|
|
1327
1343
|
readonly lastElementChild: Element | null;
|
|
1328
1344
|
append(...nodes: (Node | string)[]): void;
|
|
1345
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
1329
1346
|
prepend(...nodes: (Node | string)[]): void;
|
|
1330
1347
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
1331
1348
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -1362,6 +1379,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
1362
1379
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1363
1380
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1364
1381
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1382
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1365
1383
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1366
1384
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1367
1385
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -1383,7 +1401,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
1383
1401
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
1384
1402
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
1385
1403
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1386
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
1404
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
1387
1405
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1388
1406
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
1389
1407
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -1448,7 +1466,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
1448
1466
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
1449
1467
|
autofocus: boolean;
|
|
1450
1468
|
readonly dataset: DOMStringMap;
|
|
1451
|
-
nonce
|
|
1469
|
+
nonce: string;
|
|
1452
1470
|
tabIndex: number;
|
|
1453
1471
|
blur(): void;
|
|
1454
1472
|
ariaControls: string | null;
|
|
@@ -1507,13 +1525,13 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
1507
1525
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
1508
1526
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
1509
1527
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
1510
|
-
|
|
1528
|
+
_handleReplacedProp(replacedProp: {
|
|
1511
1529
|
newPropertyName: string;
|
|
1512
1530
|
deprecatedPropertyName: string;
|
|
1513
1531
|
fromDeprecated: (v: any) => any;
|
|
1514
1532
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
1515
1533
|
}): void;
|
|
1516
|
-
|
|
1534
|
+
_controllers: Set<import('../../shared/framework/reactive-controller').ReactiveController>;
|
|
1517
1535
|
_addController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
1518
1536
|
_removeController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
1519
1537
|
helperText?: string;
|
|
@@ -1547,7 +1565,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
1547
1565
|
autocorrect: boolean;
|
|
1548
1566
|
dir: string;
|
|
1549
1567
|
draggable: boolean;
|
|
1550
|
-
hidden: boolean;
|
|
1568
|
+
hidden: boolean | "until-found";
|
|
1551
1569
|
inert: boolean;
|
|
1552
1570
|
innerText: string;
|
|
1553
1571
|
lang: string;
|
|
@@ -1565,8 +1583,8 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
1565
1583
|
attachInternals(): ElementInternals;
|
|
1566
1584
|
click(): void;
|
|
1567
1585
|
hidePopover(): void;
|
|
1568
|
-
showPopover(): void;
|
|
1569
|
-
togglePopover(options?: boolean): boolean;
|
|
1586
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
1587
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
1570
1588
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1571
1589
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1572
1590
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -1580,6 +1598,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
1580
1598
|
readonly clientTop: number;
|
|
1581
1599
|
readonly clientWidth: number;
|
|
1582
1600
|
readonly currentCSSZoom: number;
|
|
1601
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
1583
1602
|
id: string;
|
|
1584
1603
|
innerHTML: string;
|
|
1585
1604
|
readonly localName: string;
|
|
@@ -1630,6 +1649,9 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
1630
1649
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
1631
1650
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
1632
1651
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
1652
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
1653
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
1654
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
1633
1655
|
matches(selectors: string): boolean;
|
|
1634
1656
|
releasePointerCapture(pointerId: number): void;
|
|
1635
1657
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -1765,6 +1787,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
1765
1787
|
readonly firstElementChild: Element | null;
|
|
1766
1788
|
readonly lastElementChild: Element | null;
|
|
1767
1789
|
append(...nodes: (Node | string)[]): void;
|
|
1790
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
1768
1791
|
prepend(...nodes: (Node | string)[]): void;
|
|
1769
1792
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
1770
1793
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -1801,6 +1824,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
1801
1824
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1802
1825
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1803
1826
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1827
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1804
1828
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1805
1829
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1806
1830
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -1822,7 +1846,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
1822
1846
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
1823
1847
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
1824
1848
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1825
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
1849
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
1826
1850
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1827
1851
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
1828
1852
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -1887,7 +1911,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
1887
1911
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
1888
1912
|
autofocus: boolean;
|
|
1889
1913
|
readonly dataset: DOMStringMap;
|
|
1890
|
-
nonce
|
|
1914
|
+
nonce: string;
|
|
1891
1915
|
tabIndex: number;
|
|
1892
1916
|
blur(): void;
|
|
1893
1917
|
ariaControls: string | null;
|
|
@@ -1946,22 +1970,22 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
1946
1970
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
1947
1971
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
1948
1972
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
1949
|
-
|
|
1973
|
+
_handleReplacedProp(replacedProp: {
|
|
1950
1974
|
newPropertyName: string;
|
|
1951
1975
|
deprecatedPropertyName: string;
|
|
1952
1976
|
fromDeprecated: (v: any) => any;
|
|
1953
1977
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
1954
1978
|
}): void;
|
|
1955
|
-
|
|
1979
|
+
_controllers: Set<import('../../shared/framework/reactive-controller').ReactiveController>;
|
|
1956
1980
|
_addController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
1957
1981
|
_removeController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
1958
1982
|
}, any>;
|
|
1959
1983
|
errorText?: string;
|
|
1960
1984
|
errorTextChanged(_: string | undefined, newErrorText: string | undefined): void;
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1985
|
+
_blockValidateCalls: boolean;
|
|
1986
|
+
_originalValidateFn: () => void;
|
|
1987
|
+
_forceCustomError(errorMessage: string): void;
|
|
1988
|
+
_clearCustomErrorAndRevalidate(): void;
|
|
1965
1989
|
_trappedFocus(event: KeyboardEvent, getFocusableEls: () => NodeListOf<HTMLElement>): boolean;
|
|
1966
1990
|
get locale(): import('../../shared/localization/Locale').Locale;
|
|
1967
1991
|
_isValidValue(value: string): boolean;
|
|
@@ -1991,20 +2015,20 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
1991
2015
|
_pickerButtonEl: import('../components').VwcButtonElement;
|
|
1992
2016
|
connectedCallback(): void;
|
|
1993
2017
|
disconnectedCallback(): void;
|
|
1994
|
-
|
|
1995
|
-
|
|
2018
|
+
_onFocusIn: () => void;
|
|
2019
|
+
_onFocusOut: () => void;
|
|
1996
2020
|
proxy: HTMLInputElement;
|
|
1997
2021
|
validate(): void;
|
|
1998
2022
|
_getCustomValidationError(): string | null;
|
|
1999
|
-
|
|
2023
|
+
_localeChangeHandler: {
|
|
2000
2024
|
handleChange: () => void;
|
|
2001
2025
|
};
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2026
|
+
_localeChangeObserver: import('@microsoft/fast-element').ExpressionNotifier;
|
|
2027
|
+
_startObservingLocaleChanges(): void;
|
|
2028
|
+
_stopObservingLocaleChanges(): void;
|
|
2005
2029
|
_popupOpen: boolean;
|
|
2006
|
-
|
|
2007
|
-
|
|
2030
|
+
_dismissOnClickOutside: (event: MouseEvent) => void;
|
|
2031
|
+
_openPopupIfPossible(): void;
|
|
2008
2032
|
_closePopup(restoreFocusToTextField?: boolean): void;
|
|
2009
2033
|
_onBaseKeyDown(event: KeyboardEvent): boolean;
|
|
2010
2034
|
_focusableElsWithinDialog(): NodeListOf<HTMLElement>;
|
|
@@ -2024,7 +2048,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
2024
2048
|
errorValidationMessage: string;
|
|
2025
2049
|
forceErrorDisplay: boolean;
|
|
2026
2050
|
hasBeenTouched: boolean;
|
|
2027
|
-
|
|
2051
|
+
_handleInvalidEvent: () => void;
|
|
2028
2052
|
formResetCallback: (() => void) & (() => void) & (() => void) & (() => void);
|
|
2029
2053
|
get validity(): ValidityState;
|
|
2030
2054
|
get form(): HTMLFormElement | null;
|
|
@@ -2067,7 +2091,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
2067
2091
|
autocorrect: boolean;
|
|
2068
2092
|
dir: string;
|
|
2069
2093
|
draggable: boolean;
|
|
2070
|
-
hidden: boolean;
|
|
2094
|
+
hidden: boolean | "until-found";
|
|
2071
2095
|
inert: boolean;
|
|
2072
2096
|
innerText: string;
|
|
2073
2097
|
lang: string;
|
|
@@ -2085,8 +2109,8 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
2085
2109
|
attachInternals(): ElementInternals;
|
|
2086
2110
|
click(): void;
|
|
2087
2111
|
hidePopover(): void;
|
|
2088
|
-
showPopover(): void;
|
|
2089
|
-
togglePopover(options?: boolean): boolean;
|
|
2112
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
2113
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
2090
2114
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2091
2115
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2092
2116
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -2100,6 +2124,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
2100
2124
|
readonly clientTop: number;
|
|
2101
2125
|
readonly clientWidth: number;
|
|
2102
2126
|
readonly currentCSSZoom: number;
|
|
2127
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
2103
2128
|
id: string;
|
|
2104
2129
|
innerHTML: string;
|
|
2105
2130
|
readonly localName: string;
|
|
@@ -2150,6 +2175,9 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
2150
2175
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
2151
2176
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
2152
2177
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
2178
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
2179
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
2180
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
2153
2181
|
matches(selectors: string): boolean;
|
|
2154
2182
|
releasePointerCapture(pointerId: number): void;
|
|
2155
2183
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -2285,6 +2313,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
2285
2313
|
readonly firstElementChild: Element | null;
|
|
2286
2314
|
readonly lastElementChild: Element | null;
|
|
2287
2315
|
append(...nodes: (Node | string)[]): void;
|
|
2316
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
2288
2317
|
prepend(...nodes: (Node | string)[]): void;
|
|
2289
2318
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
2290
2319
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -2321,6 +2350,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
2321
2350
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2322
2351
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2323
2352
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2353
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2324
2354
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2325
2355
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2326
2356
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -2342,7 +2372,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
2342
2372
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
2343
2373
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
2344
2374
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2345
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
2375
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
2346
2376
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2347
2377
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
2348
2378
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -2407,7 +2437,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
2407
2437
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
2408
2438
|
autofocus: boolean;
|
|
2409
2439
|
readonly dataset: DOMStringMap;
|
|
2410
|
-
nonce
|
|
2440
|
+
nonce: string;
|
|
2411
2441
|
tabIndex: number;
|
|
2412
2442
|
blur(): void;
|
|
2413
2443
|
ariaControls: string | null;
|
|
@@ -2466,13 +2496,13 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
2466
2496
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
2467
2497
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
2468
2498
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
2469
|
-
|
|
2499
|
+
_handleReplacedProp(replacedProp: {
|
|
2470
2500
|
newPropertyName: string;
|
|
2471
2501
|
deprecatedPropertyName: string;
|
|
2472
2502
|
fromDeprecated: (v: any) => any;
|
|
2473
2503
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
2474
2504
|
}): void;
|
|
2475
|
-
|
|
2505
|
+
_controllers: Set<import('../../shared/framework/reactive-controller').ReactiveController>;
|
|
2476
2506
|
_addController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
2477
2507
|
_removeController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
2478
2508
|
helperText?: string;
|
|
@@ -2506,7 +2536,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
2506
2536
|
autocorrect: boolean;
|
|
2507
2537
|
dir: string;
|
|
2508
2538
|
draggable: boolean;
|
|
2509
|
-
hidden: boolean;
|
|
2539
|
+
hidden: boolean | "until-found";
|
|
2510
2540
|
inert: boolean;
|
|
2511
2541
|
innerText: string;
|
|
2512
2542
|
lang: string;
|
|
@@ -2524,8 +2554,8 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
2524
2554
|
attachInternals(): ElementInternals;
|
|
2525
2555
|
click(): void;
|
|
2526
2556
|
hidePopover(): void;
|
|
2527
|
-
showPopover(): void;
|
|
2528
|
-
togglePopover(options?: boolean): boolean;
|
|
2557
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
2558
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
2529
2559
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2530
2560
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2531
2561
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -2539,6 +2569,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
2539
2569
|
readonly clientTop: number;
|
|
2540
2570
|
readonly clientWidth: number;
|
|
2541
2571
|
readonly currentCSSZoom: number;
|
|
2572
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
2542
2573
|
id: string;
|
|
2543
2574
|
innerHTML: string;
|
|
2544
2575
|
readonly localName: string;
|
|
@@ -2589,6 +2620,9 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
2589
2620
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
2590
2621
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
2591
2622
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
2623
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
2624
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
2625
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
2592
2626
|
matches(selectors: string): boolean;
|
|
2593
2627
|
releasePointerCapture(pointerId: number): void;
|
|
2594
2628
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -2724,6 +2758,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
2724
2758
|
readonly firstElementChild: Element | null;
|
|
2725
2759
|
readonly lastElementChild: Element | null;
|
|
2726
2760
|
append(...nodes: (Node | string)[]): void;
|
|
2761
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
2727
2762
|
prepend(...nodes: (Node | string)[]): void;
|
|
2728
2763
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
2729
2764
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -2760,6 +2795,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
2760
2795
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2761
2796
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2762
2797
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2798
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2763
2799
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2764
2800
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2765
2801
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -2781,7 +2817,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
2781
2817
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
2782
2818
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
2783
2819
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2784
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
2820
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
2785
2821
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2786
2822
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
2787
2823
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -2846,7 +2882,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
2846
2882
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
2847
2883
|
autofocus: boolean;
|
|
2848
2884
|
readonly dataset: DOMStringMap;
|
|
2849
|
-
nonce
|
|
2885
|
+
nonce: string;
|
|
2850
2886
|
tabIndex: number;
|
|
2851
2887
|
blur(): void;
|
|
2852
2888
|
ariaControls: string | null;
|
|
@@ -2905,22 +2941,22 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
2905
2941
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
2906
2942
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
2907
2943
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
2908
|
-
|
|
2944
|
+
_handleReplacedProp(replacedProp: {
|
|
2909
2945
|
newPropertyName: string;
|
|
2910
2946
|
deprecatedPropertyName: string;
|
|
2911
2947
|
fromDeprecated: (v: any) => any;
|
|
2912
2948
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
2913
2949
|
}): void;
|
|
2914
|
-
|
|
2950
|
+
_controllers: Set<import('../../shared/framework/reactive-controller').ReactiveController>;
|
|
2915
2951
|
_addController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
2916
2952
|
_removeController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
2917
2953
|
}, any>;
|
|
2918
2954
|
errorText?: string;
|
|
2919
2955
|
errorTextChanged(_: string | undefined, newErrorText: string | undefined): void;
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2956
|
+
_blockValidateCalls: boolean;
|
|
2957
|
+
_originalValidateFn: () => void;
|
|
2958
|
+
_forceCustomError(errorMessage: string): void;
|
|
2959
|
+
_clearCustomErrorAndRevalidate(): void;
|
|
2924
2960
|
_trappedFocus(event: KeyboardEvent, getFocusableEls: () => NodeListOf<HTMLElement>): boolean;
|
|
2925
2961
|
get locale(): import('../../shared/localization/Locale').Locale;
|
|
2926
2962
|
}) & (abstract new (...args: any[]) => {
|
|
@@ -2931,8 +2967,8 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
2931
2967
|
get _resolvedMinDate(): DateStr | "";
|
|
2932
2968
|
get _resolvedMaxDate(): DateStr | "";
|
|
2933
2969
|
_isDateInValidRange(date: DateStr): boolean;
|
|
2934
|
-
|
|
2935
|
-
|
|
2970
|
+
_isMonthAfterValidRange(month: import('../../shared/datetime/month').Month): boolean | "";
|
|
2971
|
+
_isMonthBeforeValidRange(month: import('../../shared/datetime/month').Month): boolean | "";
|
|
2936
2972
|
_isMonthInValidRange(month: import('../../shared/datetime/month').Month): boolean;
|
|
2937
2973
|
_closePopup(restoreFocusToTextField?: boolean): void;
|
|
2938
2974
|
_onPickerButtonClick(): void;
|
|
@@ -2977,20 +3013,20 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
2977
3013
|
_pickerButtonEl: import('../components').VwcButtonElement;
|
|
2978
3014
|
connectedCallback(): void;
|
|
2979
3015
|
disconnectedCallback(): void;
|
|
2980
|
-
|
|
2981
|
-
|
|
3016
|
+
_onFocusIn: () => void;
|
|
3017
|
+
_onFocusOut: () => void;
|
|
2982
3018
|
proxy: HTMLInputElement;
|
|
2983
3019
|
validate(): void;
|
|
2984
3020
|
_getCustomValidationError(): string | null;
|
|
2985
|
-
|
|
3021
|
+
_localeChangeHandler: {
|
|
2986
3022
|
handleChange: () => void;
|
|
2987
3023
|
};
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
3024
|
+
_localeChangeObserver: import('@microsoft/fast-element').ExpressionNotifier;
|
|
3025
|
+
_startObservingLocaleChanges(): void;
|
|
3026
|
+
_stopObservingLocaleChanges(): void;
|
|
2991
3027
|
_popupOpen: boolean;
|
|
2992
|
-
|
|
2993
|
-
|
|
3028
|
+
_dismissOnClickOutside: (event: MouseEvent) => void;
|
|
3029
|
+
_openPopupIfPossible(): void;
|
|
2994
3030
|
_onBaseKeyDown(event: KeyboardEvent): boolean;
|
|
2995
3031
|
_focusableElsWithinDialog(): NodeListOf<HTMLElement>;
|
|
2996
3032
|
get _dialogLabel(): string;
|
|
@@ -3012,7 +3048,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
3012
3048
|
errorValidationMessage: string;
|
|
3013
3049
|
forceErrorDisplay: boolean;
|
|
3014
3050
|
hasBeenTouched: boolean;
|
|
3015
|
-
|
|
3051
|
+
_handleInvalidEvent: () => void;
|
|
3016
3052
|
formResetCallback: (() => void) & (() => void) & (() => void) & (() => void);
|
|
3017
3053
|
get validity(): ValidityState;
|
|
3018
3054
|
get form(): HTMLFormElement | null;
|
|
@@ -3056,7 +3092,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
3056
3092
|
autocorrect: boolean;
|
|
3057
3093
|
dir: string;
|
|
3058
3094
|
draggable: boolean;
|
|
3059
|
-
hidden: boolean;
|
|
3095
|
+
hidden: boolean | "until-found";
|
|
3060
3096
|
inert: boolean;
|
|
3061
3097
|
innerText: string;
|
|
3062
3098
|
lang: string;
|
|
@@ -3074,8 +3110,8 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
3074
3110
|
attachInternals(): ElementInternals;
|
|
3075
3111
|
click(): void;
|
|
3076
3112
|
hidePopover(): void;
|
|
3077
|
-
showPopover(): void;
|
|
3078
|
-
togglePopover(options?: boolean): boolean;
|
|
3113
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
3114
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
3079
3115
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3080
3116
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3081
3117
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -3089,6 +3125,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
3089
3125
|
readonly clientTop: number;
|
|
3090
3126
|
readonly clientWidth: number;
|
|
3091
3127
|
readonly currentCSSZoom: number;
|
|
3128
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
3092
3129
|
id: string;
|
|
3093
3130
|
innerHTML: string;
|
|
3094
3131
|
readonly localName: string;
|
|
@@ -3139,6 +3176,9 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
3139
3176
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
3140
3177
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
3141
3178
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
3179
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
3180
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
3181
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
3142
3182
|
matches(selectors: string): boolean;
|
|
3143
3183
|
releasePointerCapture(pointerId: number): void;
|
|
3144
3184
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -3274,6 +3314,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
3274
3314
|
readonly firstElementChild: Element | null;
|
|
3275
3315
|
readonly lastElementChild: Element | null;
|
|
3276
3316
|
append(...nodes: (Node | string)[]): void;
|
|
3317
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
3277
3318
|
prepend(...nodes: (Node | string)[]): void;
|
|
3278
3319
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
3279
3320
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -3310,6 +3351,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
3310
3351
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3311
3352
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
3312
3353
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3354
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3313
3355
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3314
3356
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
3315
3357
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -3331,7 +3373,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
3331
3373
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
3332
3374
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
3333
3375
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
3334
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
3376
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
3335
3377
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3336
3378
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
3337
3379
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -3396,7 +3438,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
3396
3438
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
3397
3439
|
autofocus: boolean;
|
|
3398
3440
|
readonly dataset: DOMStringMap;
|
|
3399
|
-
nonce
|
|
3441
|
+
nonce: string;
|
|
3400
3442
|
tabIndex: number;
|
|
3401
3443
|
blur(): void;
|
|
3402
3444
|
ariaControls: string | null;
|
|
@@ -3455,13 +3497,13 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
3455
3497
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
3456
3498
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
3457
3499
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
3458
|
-
|
|
3500
|
+
_handleReplacedProp(replacedProp: {
|
|
3459
3501
|
newPropertyName: string;
|
|
3460
3502
|
deprecatedPropertyName: string;
|
|
3461
3503
|
fromDeprecated: (v: any) => any;
|
|
3462
3504
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
3463
3505
|
}): void;
|
|
3464
|
-
|
|
3506
|
+
_controllers: Set<import('../../shared/framework/reactive-controller').ReactiveController>;
|
|
3465
3507
|
_addController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
3466
3508
|
_removeController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
3467
3509
|
helperText?: string;
|
|
@@ -3495,7 +3537,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
3495
3537
|
autocorrect: boolean;
|
|
3496
3538
|
dir: string;
|
|
3497
3539
|
draggable: boolean;
|
|
3498
|
-
hidden: boolean;
|
|
3540
|
+
hidden: boolean | "until-found";
|
|
3499
3541
|
inert: boolean;
|
|
3500
3542
|
innerText: string;
|
|
3501
3543
|
lang: string;
|
|
@@ -3513,8 +3555,8 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
3513
3555
|
attachInternals(): ElementInternals;
|
|
3514
3556
|
click(): void;
|
|
3515
3557
|
hidePopover(): void;
|
|
3516
|
-
showPopover(): void;
|
|
3517
|
-
togglePopover(options?: boolean): boolean;
|
|
3558
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
3559
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
3518
3560
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3519
3561
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3520
3562
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -3528,6 +3570,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
3528
3570
|
readonly clientTop: number;
|
|
3529
3571
|
readonly clientWidth: number;
|
|
3530
3572
|
readonly currentCSSZoom: number;
|
|
3573
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
3531
3574
|
id: string;
|
|
3532
3575
|
innerHTML: string;
|
|
3533
3576
|
readonly localName: string;
|
|
@@ -3578,6 +3621,9 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
3578
3621
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
3579
3622
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
3580
3623
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
3624
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
3625
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
3626
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
3581
3627
|
matches(selectors: string): boolean;
|
|
3582
3628
|
releasePointerCapture(pointerId: number): void;
|
|
3583
3629
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -3713,6 +3759,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
3713
3759
|
readonly firstElementChild: Element | null;
|
|
3714
3760
|
readonly lastElementChild: Element | null;
|
|
3715
3761
|
append(...nodes: (Node | string)[]): void;
|
|
3762
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
3716
3763
|
prepend(...nodes: (Node | string)[]): void;
|
|
3717
3764
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
3718
3765
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -3749,6 +3796,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
3749
3796
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3750
3797
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
3751
3798
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3799
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3752
3800
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3753
3801
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
3754
3802
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -3770,7 +3818,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
3770
3818
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
3771
3819
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
3772
3820
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
3773
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
3821
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
3774
3822
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3775
3823
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
3776
3824
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -3835,7 +3883,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
3835
3883
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
3836
3884
|
autofocus: boolean;
|
|
3837
3885
|
readonly dataset: DOMStringMap;
|
|
3838
|
-
nonce
|
|
3886
|
+
nonce: string;
|
|
3839
3887
|
tabIndex: number;
|
|
3840
3888
|
blur(): void;
|
|
3841
3889
|
ariaControls: string | null;
|
|
@@ -3894,22 +3942,22 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
|
|
|
3894
3942
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
3895
3943
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
3896
3944
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
3897
|
-
|
|
3945
|
+
_handleReplacedProp(replacedProp: {
|
|
3898
3946
|
newPropertyName: string;
|
|
3899
3947
|
deprecatedPropertyName: string;
|
|
3900
3948
|
fromDeprecated: (v: any) => any;
|
|
3901
3949
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
3902
3950
|
}): void;
|
|
3903
|
-
|
|
3951
|
+
_controllers: Set<import('../../shared/framework/reactive-controller').ReactiveController>;
|
|
3904
3952
|
_addController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
3905
3953
|
_removeController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
3906
3954
|
}, any>;
|
|
3907
3955
|
errorText?: string;
|
|
3908
3956
|
errorTextChanged(_: string | undefined, newErrorText: string | undefined): void;
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3957
|
+
_blockValidateCalls: boolean;
|
|
3958
|
+
_originalValidateFn: () => void;
|
|
3959
|
+
_forceCustomError(errorMessage: string): void;
|
|
3960
|
+
_clearCustomErrorAndRevalidate(): void;
|
|
3913
3961
|
_trappedFocus(event: KeyboardEvent, getFocusableEls: () => NodeListOf<HTMLElement>): boolean;
|
|
3914
3962
|
get locale(): import('../../shared/localization/Locale').Locale;
|
|
3915
3963
|
}) & typeof PickerField;
|