@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
|
@@ -13,7 +13,7 @@ declare const VividElement_base: {
|
|
|
13
13
|
autocorrect: boolean;
|
|
14
14
|
dir: string;
|
|
15
15
|
draggable: boolean;
|
|
16
|
-
hidden: boolean;
|
|
16
|
+
hidden: boolean | "until-found";
|
|
17
17
|
inert: boolean;
|
|
18
18
|
innerText: string;
|
|
19
19
|
lang: string;
|
|
@@ -31,8 +31,8 @@ declare const VividElement_base: {
|
|
|
31
31
|
attachInternals(): ElementInternals;
|
|
32
32
|
click(): void;
|
|
33
33
|
hidePopover(): void;
|
|
34
|
-
showPopover(): void;
|
|
35
|
-
togglePopover(options?: boolean): boolean;
|
|
34
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
35
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
36
36
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
37
37
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
38
38
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -46,6 +46,7 @@ declare const VividElement_base: {
|
|
|
46
46
|
readonly clientTop: number;
|
|
47
47
|
readonly clientWidth: number;
|
|
48
48
|
readonly currentCSSZoom: number;
|
|
49
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
49
50
|
id: string;
|
|
50
51
|
innerHTML: string;
|
|
51
52
|
readonly localName: string;
|
|
@@ -96,6 +97,9 @@ declare const VividElement_base: {
|
|
|
96
97
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
97
98
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
98
99
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
100
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
101
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
102
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
99
103
|
matches(selectors: string): boolean;
|
|
100
104
|
releasePointerCapture(pointerId: number): void;
|
|
101
105
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -231,6 +235,7 @@ declare const VividElement_base: {
|
|
|
231
235
|
readonly firstElementChild: Element | null;
|
|
232
236
|
readonly lastElementChild: Element | null;
|
|
233
237
|
append(...nodes: (Node | string)[]): void;
|
|
238
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
234
239
|
prepend(...nodes: (Node | string)[]): void;
|
|
235
240
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
236
241
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -267,6 +272,7 @@ declare const VividElement_base: {
|
|
|
267
272
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
268
273
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
269
274
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
275
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
270
276
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
271
277
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
272
278
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -288,7 +294,7 @@ declare const VividElement_base: {
|
|
|
288
294
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
289
295
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
290
296
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
291
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
297
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
292
298
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
293
299
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
294
300
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -353,7 +359,7 @@ declare const VividElement_base: {
|
|
|
353
359
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
354
360
|
autofocus: boolean;
|
|
355
361
|
readonly dataset: DOMStringMap;
|
|
356
|
-
nonce
|
|
362
|
+
nonce: string;
|
|
357
363
|
tabIndex: number;
|
|
358
364
|
blur(): void;
|
|
359
365
|
focus(options?: FocusOptions): void;
|
|
@@ -416,7 +422,7 @@ declare const VividElement_base: {
|
|
|
416
422
|
};
|
|
417
423
|
} & {
|
|
418
424
|
new (...args: any[]): {
|
|
419
|
-
|
|
425
|
+
_handleReplacedProp(replacedProp: {
|
|
420
426
|
newPropertyName: string;
|
|
421
427
|
deprecatedPropertyName: string;
|
|
422
428
|
fromDeprecated: (v: any) => any;
|
|
@@ -433,7 +439,7 @@ declare const VividElement_base: {
|
|
|
433
439
|
autocorrect: boolean;
|
|
434
440
|
dir: string;
|
|
435
441
|
draggable: boolean;
|
|
436
|
-
hidden: boolean;
|
|
442
|
+
hidden: boolean | "until-found";
|
|
437
443
|
inert: boolean;
|
|
438
444
|
innerText: string;
|
|
439
445
|
lang: string;
|
|
@@ -451,8 +457,8 @@ declare const VividElement_base: {
|
|
|
451
457
|
attachInternals(): ElementInternals;
|
|
452
458
|
click(): void;
|
|
453
459
|
hidePopover(): void;
|
|
454
|
-
showPopover(): void;
|
|
455
|
-
togglePopover(options?: boolean): boolean;
|
|
460
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
461
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
456
462
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
457
463
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
458
464
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -466,6 +472,7 @@ declare const VividElement_base: {
|
|
|
466
472
|
readonly clientTop: number;
|
|
467
473
|
readonly clientWidth: number;
|
|
468
474
|
readonly currentCSSZoom: number;
|
|
475
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
469
476
|
id: string;
|
|
470
477
|
innerHTML: string;
|
|
471
478
|
readonly localName: string;
|
|
@@ -516,6 +523,9 @@ declare const VividElement_base: {
|
|
|
516
523
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
517
524
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
518
525
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
526
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
527
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
528
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
519
529
|
matches(selectors: string): boolean;
|
|
520
530
|
releasePointerCapture(pointerId: number): void;
|
|
521
531
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -651,6 +661,7 @@ declare const VividElement_base: {
|
|
|
651
661
|
readonly firstElementChild: Element | null;
|
|
652
662
|
readonly lastElementChild: Element | null;
|
|
653
663
|
append(...nodes: (Node | string)[]): void;
|
|
664
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
654
665
|
prepend(...nodes: (Node | string)[]): void;
|
|
655
666
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
656
667
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -687,6 +698,7 @@ declare const VividElement_base: {
|
|
|
687
698
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
688
699
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
689
700
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
701
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
690
702
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
691
703
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
692
704
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -708,7 +720,7 @@ declare const VividElement_base: {
|
|
|
708
720
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
709
721
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
710
722
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
711
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
723
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
712
724
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
713
725
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
714
726
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -773,14 +785,14 @@ declare const VividElement_base: {
|
|
|
773
785
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
774
786
|
autofocus: boolean;
|
|
775
787
|
readonly dataset: DOMStringMap;
|
|
776
|
-
nonce
|
|
788
|
+
nonce: string;
|
|
777
789
|
tabIndex: number;
|
|
778
790
|
blur(): void;
|
|
779
791
|
focus(options?: FocusOptions): void;
|
|
780
792
|
};
|
|
781
793
|
} & {
|
|
782
794
|
new (...args: any[]): {
|
|
783
|
-
|
|
795
|
+
_controllers: Set<import('../../framework/reactive-controller').ReactiveController>;
|
|
784
796
|
_addController(controller: import('../../framework/reactive-controller').ReactiveController): void;
|
|
785
797
|
_removeController(controller: import('../../framework/reactive-controller').ReactiveController): void;
|
|
786
798
|
connectedCallback(): void;
|
|
@@ -794,7 +806,7 @@ declare const VividElement_base: {
|
|
|
794
806
|
autocorrect: boolean;
|
|
795
807
|
dir: string;
|
|
796
808
|
draggable: boolean;
|
|
797
|
-
hidden: boolean;
|
|
809
|
+
hidden: boolean | "until-found";
|
|
798
810
|
inert: boolean;
|
|
799
811
|
innerText: string;
|
|
800
812
|
lang: string;
|
|
@@ -812,8 +824,8 @@ declare const VividElement_base: {
|
|
|
812
824
|
attachInternals(): ElementInternals;
|
|
813
825
|
click(): void;
|
|
814
826
|
hidePopover(): void;
|
|
815
|
-
showPopover(): void;
|
|
816
|
-
togglePopover(options?: boolean): boolean;
|
|
827
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
828
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
817
829
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
818
830
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
819
831
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -827,6 +839,7 @@ declare const VividElement_base: {
|
|
|
827
839
|
readonly clientTop: number;
|
|
828
840
|
readonly clientWidth: number;
|
|
829
841
|
readonly currentCSSZoom: number;
|
|
842
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
830
843
|
id: string;
|
|
831
844
|
innerHTML: string;
|
|
832
845
|
readonly localName: string;
|
|
@@ -877,6 +890,9 @@ declare const VividElement_base: {
|
|
|
877
890
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
878
891
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
879
892
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
893
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
894
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
895
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
880
896
|
matches(selectors: string): boolean;
|
|
881
897
|
releasePointerCapture(pointerId: number): void;
|
|
882
898
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -1012,6 +1028,7 @@ declare const VividElement_base: {
|
|
|
1012
1028
|
readonly firstElementChild: Element | null;
|
|
1013
1029
|
readonly lastElementChild: Element | null;
|
|
1014
1030
|
append(...nodes: (Node | string)[]): void;
|
|
1031
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
1015
1032
|
prepend(...nodes: (Node | string)[]): void;
|
|
1016
1033
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
1017
1034
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -1048,6 +1065,7 @@ declare const VividElement_base: {
|
|
|
1048
1065
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1049
1066
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1050
1067
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1068
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1051
1069
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1052
1070
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1053
1071
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -1069,7 +1087,7 @@ declare const VividElement_base: {
|
|
|
1069
1087
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
1070
1088
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
1071
1089
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1072
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
1090
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
1073
1091
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1074
1092
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
1075
1093
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -1134,7 +1152,7 @@ declare const VividElement_base: {
|
|
|
1134
1152
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
1135
1153
|
autofocus: boolean;
|
|
1136
1154
|
readonly dataset: DOMStringMap;
|
|
1137
|
-
nonce
|
|
1155
|
+
nonce: string;
|
|
1138
1156
|
tabIndex: number;
|
|
1139
1157
|
blur(): void;
|
|
1140
1158
|
focus(options?: FocusOptions): void;
|
|
@@ -10,7 +10,7 @@ export interface ReactiveControllerHost {
|
|
|
10
10
|
}
|
|
11
11
|
export declare const ReactiveControllerHostSupport: <T extends Constructor<FASTElement>>(Base: T) => {
|
|
12
12
|
new (...args: any[]): {
|
|
13
|
-
|
|
13
|
+
_controllers: Set<ReactiveController>;
|
|
14
14
|
_addController(controller: ReactiveController): void;
|
|
15
15
|
_removeController(controller: ReactiveController): void;
|
|
16
16
|
connectedCallback(): void;
|
|
@@ -24,7 +24,7 @@ export declare const ReactiveControllerHostSupport: <T extends Constructor<FASTE
|
|
|
24
24
|
autocorrect: boolean;
|
|
25
25
|
dir: string;
|
|
26
26
|
draggable: boolean;
|
|
27
|
-
hidden: boolean;
|
|
27
|
+
hidden: boolean | "until-found";
|
|
28
28
|
inert: boolean;
|
|
29
29
|
innerText: string;
|
|
30
30
|
lang: string;
|
|
@@ -42,8 +42,8 @@ export declare const ReactiveControllerHostSupport: <T extends Constructor<FASTE
|
|
|
42
42
|
attachInternals(): ElementInternals;
|
|
43
43
|
click(): void;
|
|
44
44
|
hidePopover(): void;
|
|
45
|
-
showPopover(): void;
|
|
46
|
-
togglePopover(options?: boolean): boolean;
|
|
45
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
46
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
47
47
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
48
48
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
49
49
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -57,6 +57,7 @@ export declare const ReactiveControllerHostSupport: <T extends Constructor<FASTE
|
|
|
57
57
|
readonly clientTop: number;
|
|
58
58
|
readonly clientWidth: number;
|
|
59
59
|
readonly currentCSSZoom: number;
|
|
60
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
60
61
|
id: string;
|
|
61
62
|
innerHTML: string;
|
|
62
63
|
readonly localName: string;
|
|
@@ -107,6 +108,9 @@ export declare const ReactiveControllerHostSupport: <T extends Constructor<FASTE
|
|
|
107
108
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
108
109
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
109
110
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
111
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
112
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
113
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
110
114
|
matches(selectors: string): boolean;
|
|
111
115
|
releasePointerCapture(pointerId: number): void;
|
|
112
116
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -242,6 +246,7 @@ export declare const ReactiveControllerHostSupport: <T extends Constructor<FASTE
|
|
|
242
246
|
readonly firstElementChild: Element | null;
|
|
243
247
|
readonly lastElementChild: Element | null;
|
|
244
248
|
append(...nodes: (Node | string)[]): void;
|
|
249
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
245
250
|
prepend(...nodes: (Node | string)[]): void;
|
|
246
251
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
247
252
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -278,6 +283,7 @@ export declare const ReactiveControllerHostSupport: <T extends Constructor<FASTE
|
|
|
278
283
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
279
284
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
280
285
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
286
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
281
287
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
282
288
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
283
289
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -299,7 +305,7 @@ export declare const ReactiveControllerHostSupport: <T extends Constructor<FASTE
|
|
|
299
305
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
300
306
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
301
307
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
302
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
308
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
303
309
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
304
310
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
305
311
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -364,7 +370,7 @@ export declare const ReactiveControllerHostSupport: <T extends Constructor<FASTE
|
|
|
364
370
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
365
371
|
autofocus: boolean;
|
|
366
372
|
readonly dataset: DOMStringMap;
|
|
367
|
-
nonce
|
|
373
|
+
nonce: string;
|
|
368
374
|
tabIndex: number;
|
|
369
375
|
blur(): void;
|
|
370
376
|
focus(options?: FocusOptions): void;
|
|
@@ -12,7 +12,7 @@ export declare const WithOptionsFilter: <T extends Constructor<WithOptionsElemen
|
|
|
12
12
|
_filteredOptions: ListboxOption[];
|
|
13
13
|
_slottedElements: Element[];
|
|
14
14
|
_slottedElementsChanged(): void;
|
|
15
|
-
|
|
15
|
+
_onOptgroupChange: () => void;
|
|
16
16
|
connectedCallback: (() => void) & (() => void);
|
|
17
17
|
disconnectedCallback: (() => void) & (() => void) & (() => void);
|
|
18
18
|
_slottedOptions: ListboxOption[];
|
|
@@ -27,7 +27,7 @@ export declare const WithOptionsFilter: <T extends Constructor<WithOptionsElemen
|
|
|
27
27
|
autocorrect: boolean;
|
|
28
28
|
dir: string;
|
|
29
29
|
draggable: boolean;
|
|
30
|
-
hidden: boolean;
|
|
30
|
+
hidden: boolean | "until-found";
|
|
31
31
|
inert: boolean;
|
|
32
32
|
innerText: string;
|
|
33
33
|
lang: string;
|
|
@@ -45,8 +45,8 @@ export declare const WithOptionsFilter: <T extends Constructor<WithOptionsElemen
|
|
|
45
45
|
attachInternals(): ElementInternals;
|
|
46
46
|
click(): void;
|
|
47
47
|
hidePopover(): void;
|
|
48
|
-
showPopover(): void;
|
|
49
|
-
togglePopover(options?: boolean): boolean;
|
|
48
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
49
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
50
50
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
51
51
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
52
52
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -60,6 +60,7 @@ export declare const WithOptionsFilter: <T extends Constructor<WithOptionsElemen
|
|
|
60
60
|
readonly clientTop: number;
|
|
61
61
|
readonly clientWidth: number;
|
|
62
62
|
readonly currentCSSZoom: number;
|
|
63
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
63
64
|
id: string;
|
|
64
65
|
innerHTML: string;
|
|
65
66
|
readonly localName: string;
|
|
@@ -110,6 +111,9 @@ export declare const WithOptionsFilter: <T extends Constructor<WithOptionsElemen
|
|
|
110
111
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
111
112
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
112
113
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
114
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
115
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
116
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
113
117
|
matches(selectors: string): boolean;
|
|
114
118
|
releasePointerCapture(pointerId: number): void;
|
|
115
119
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -245,6 +249,7 @@ export declare const WithOptionsFilter: <T extends Constructor<WithOptionsElemen
|
|
|
245
249
|
readonly firstElementChild: Element | null;
|
|
246
250
|
readonly lastElementChild: Element | null;
|
|
247
251
|
append(...nodes: (Node | string)[]): void;
|
|
252
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
248
253
|
prepend(...nodes: (Node | string)[]): void;
|
|
249
254
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
250
255
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -281,6 +286,7 @@ export declare const WithOptionsFilter: <T extends Constructor<WithOptionsElemen
|
|
|
281
286
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
282
287
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
283
288
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
289
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
284
290
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
285
291
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
286
292
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -302,7 +308,7 @@ export declare const WithOptionsFilter: <T extends Constructor<WithOptionsElemen
|
|
|
302
308
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
303
309
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
304
310
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
305
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
311
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
306
312
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
307
313
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
308
314
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -367,7 +373,7 @@ export declare const WithOptionsFilter: <T extends Constructor<WithOptionsElemen
|
|
|
367
373
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
368
374
|
autofocus: boolean;
|
|
369
375
|
readonly dataset: DOMStringMap;
|
|
370
|
-
nonce
|
|
376
|
+
nonce: string;
|
|
371
377
|
tabIndex: number;
|
|
372
378
|
blur(): void;
|
|
373
379
|
ariaControls: string | null;
|
|
@@ -426,13 +432,13 @@ export declare const WithOptionsFilter: <T extends Constructor<WithOptionsElemen
|
|
|
426
432
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
427
433
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
428
434
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
429
|
-
|
|
435
|
+
_handleReplacedProp(replacedProp: {
|
|
430
436
|
newPropertyName: string;
|
|
431
437
|
deprecatedPropertyName: string;
|
|
432
438
|
fromDeprecated: (v: any) => any;
|
|
433
439
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
434
440
|
}): void;
|
|
435
|
-
|
|
441
|
+
_controllers: Set<import('../framework/reactive-controller.ts').ReactiveController>;
|
|
436
442
|
_addController(controller: import('../framework/reactive-controller.ts').ReactiveController): void;
|
|
437
443
|
_removeController(controller: import('../framework/reactive-controller.ts').ReactiveController): void;
|
|
438
444
|
};
|
|
@@ -5,7 +5,7 @@ export declare const WithOptions: <T extends Constructor<VividElement>>(Base: T)
|
|
|
5
5
|
new (...args: any[]): {
|
|
6
6
|
_slottedElements: Element[];
|
|
7
7
|
_slottedElementsChanged(): void;
|
|
8
|
-
|
|
8
|
+
_onOptgroupChange: () => void;
|
|
9
9
|
connectedCallback(): void;
|
|
10
10
|
disconnectedCallback(): void;
|
|
11
11
|
_slottedOptions: ListboxOption[];
|
|
@@ -21,7 +21,7 @@ export declare const WithOptions: <T extends Constructor<VividElement>>(Base: T)
|
|
|
21
21
|
autocorrect: boolean;
|
|
22
22
|
dir: string;
|
|
23
23
|
draggable: boolean;
|
|
24
|
-
hidden: boolean;
|
|
24
|
+
hidden: boolean | "until-found";
|
|
25
25
|
inert: boolean;
|
|
26
26
|
innerText: string;
|
|
27
27
|
lang: string;
|
|
@@ -39,8 +39,8 @@ export declare const WithOptions: <T extends Constructor<VividElement>>(Base: T)
|
|
|
39
39
|
attachInternals(): ElementInternals;
|
|
40
40
|
click(): void;
|
|
41
41
|
hidePopover(): void;
|
|
42
|
-
showPopover(): void;
|
|
43
|
-
togglePopover(options?: boolean): boolean;
|
|
42
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
43
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
44
44
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
45
45
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
46
46
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -54,6 +54,7 @@ export declare const WithOptions: <T extends Constructor<VividElement>>(Base: T)
|
|
|
54
54
|
readonly clientTop: number;
|
|
55
55
|
readonly clientWidth: number;
|
|
56
56
|
readonly currentCSSZoom: number;
|
|
57
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
57
58
|
id: string;
|
|
58
59
|
innerHTML: string;
|
|
59
60
|
readonly localName: string;
|
|
@@ -104,6 +105,9 @@ export declare const WithOptions: <T extends Constructor<VividElement>>(Base: T)
|
|
|
104
105
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
105
106
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
106
107
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
108
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
109
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
110
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
107
111
|
matches(selectors: string): boolean;
|
|
108
112
|
releasePointerCapture(pointerId: number): void;
|
|
109
113
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -239,6 +243,7 @@ export declare const WithOptions: <T extends Constructor<VividElement>>(Base: T)
|
|
|
239
243
|
readonly firstElementChild: Element | null;
|
|
240
244
|
readonly lastElementChild: Element | null;
|
|
241
245
|
append(...nodes: (Node | string)[]): void;
|
|
246
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
242
247
|
prepend(...nodes: (Node | string)[]): void;
|
|
243
248
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
244
249
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -275,6 +280,7 @@ export declare const WithOptions: <T extends Constructor<VividElement>>(Base: T)
|
|
|
275
280
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
276
281
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
277
282
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
283
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
278
284
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
279
285
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
280
286
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -296,7 +302,7 @@ export declare const WithOptions: <T extends Constructor<VividElement>>(Base: T)
|
|
|
296
302
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
297
303
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
298
304
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
299
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
305
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
300
306
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
301
307
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
302
308
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -361,7 +367,7 @@ export declare const WithOptions: <T extends Constructor<VividElement>>(Base: T)
|
|
|
361
367
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
362
368
|
autofocus: boolean;
|
|
363
369
|
readonly dataset: DOMStringMap;
|
|
364
|
-
nonce
|
|
370
|
+
nonce: string;
|
|
365
371
|
tabIndex: number;
|
|
366
372
|
blur(): void;
|
|
367
373
|
ariaControls: string | null;
|
|
@@ -420,13 +426,13 @@ export declare const WithOptions: <T extends Constructor<VividElement>>(Base: T)
|
|
|
420
426
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
421
427
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
422
428
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
423
|
-
|
|
429
|
+
_handleReplacedProp(replacedProp: {
|
|
424
430
|
newPropertyName: string;
|
|
425
431
|
deprecatedPropertyName: string;
|
|
426
432
|
fromDeprecated: (v: any) => any;
|
|
427
433
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
428
434
|
}): void;
|
|
429
|
-
|
|
435
|
+
_controllers: Set<import('../framework/reactive-controller.ts').ReactiveController>;
|
|
430
436
|
_addController(controller: import('../framework/reactive-controller.ts').ReactiveController): void;
|
|
431
437
|
_removeController(controller: import('../framework/reactive-controller.ts').ReactiveController): void;
|
|
432
438
|
};
|
|
@@ -435,7 +441,7 @@ export type WithOptionsElement = MixinType<typeof WithOptions>;
|
|
|
435
441
|
export declare const optionsTemplate: import('@microsoft/fast-element').ViewTemplate<{
|
|
436
442
|
_slottedElements: Element[];
|
|
437
443
|
_slottedElementsChanged(): void;
|
|
438
|
-
|
|
444
|
+
_onOptgroupChange: () => void;
|
|
439
445
|
connectedCallback(): void;
|
|
440
446
|
disconnectedCallback(): void;
|
|
441
447
|
_slottedOptions: ListboxOption[];
|
|
@@ -451,7 +457,7 @@ export declare const optionsTemplate: import('@microsoft/fast-element').ViewTemp
|
|
|
451
457
|
autocorrect: boolean;
|
|
452
458
|
dir: string;
|
|
453
459
|
draggable: boolean;
|
|
454
|
-
hidden: boolean;
|
|
460
|
+
hidden: boolean | "until-found";
|
|
455
461
|
inert: boolean;
|
|
456
462
|
innerText: string;
|
|
457
463
|
lang: string;
|
|
@@ -469,8 +475,8 @@ export declare const optionsTemplate: import('@microsoft/fast-element').ViewTemp
|
|
|
469
475
|
attachInternals(): ElementInternals;
|
|
470
476
|
click(): void;
|
|
471
477
|
hidePopover(): void;
|
|
472
|
-
showPopover(): void;
|
|
473
|
-
togglePopover(options?: boolean): boolean;
|
|
478
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
479
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
474
480
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
475
481
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
476
482
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -484,6 +490,7 @@ export declare const optionsTemplate: import('@microsoft/fast-element').ViewTemp
|
|
|
484
490
|
readonly clientTop: number;
|
|
485
491
|
readonly clientWidth: number;
|
|
486
492
|
readonly currentCSSZoom: number;
|
|
493
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
487
494
|
id: string;
|
|
488
495
|
innerHTML: string;
|
|
489
496
|
readonly localName: string;
|
|
@@ -534,6 +541,9 @@ export declare const optionsTemplate: import('@microsoft/fast-element').ViewTemp
|
|
|
534
541
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
535
542
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
536
543
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
544
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
545
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
546
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
537
547
|
matches(selectors: string): boolean;
|
|
538
548
|
releasePointerCapture(pointerId: number): void;
|
|
539
549
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -669,6 +679,7 @@ export declare const optionsTemplate: import('@microsoft/fast-element').ViewTemp
|
|
|
669
679
|
readonly firstElementChild: Element | null;
|
|
670
680
|
readonly lastElementChild: Element | null;
|
|
671
681
|
append(...nodes: (Node | string)[]): void;
|
|
682
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
672
683
|
prepend(...nodes: (Node | string)[]): void;
|
|
673
684
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
674
685
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -705,6 +716,7 @@ export declare const optionsTemplate: import('@microsoft/fast-element').ViewTemp
|
|
|
705
716
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
706
717
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
707
718
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
719
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
708
720
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
709
721
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
710
722
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -726,7 +738,7 @@ export declare const optionsTemplate: import('@microsoft/fast-element').ViewTemp
|
|
|
726
738
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
727
739
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
728
740
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
729
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
741
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
730
742
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
731
743
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
732
744
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -791,7 +803,7 @@ export declare const optionsTemplate: import('@microsoft/fast-element').ViewTemp
|
|
|
791
803
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
792
804
|
autofocus: boolean;
|
|
793
805
|
readonly dataset: DOMStringMap;
|
|
794
|
-
nonce
|
|
806
|
+
nonce: string;
|
|
795
807
|
tabIndex: number;
|
|
796
808
|
blur(): void;
|
|
797
809
|
ariaControls: string | null;
|
|
@@ -850,13 +862,13 @@ export declare const optionsTemplate: import('@microsoft/fast-element').ViewTemp
|
|
|
850
862
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
851
863
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
852
864
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
853
|
-
|
|
865
|
+
_handleReplacedProp(replacedProp: {
|
|
854
866
|
newPropertyName: string;
|
|
855
867
|
deprecatedPropertyName: string;
|
|
856
868
|
fromDeprecated: (v: any) => any;
|
|
857
869
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
858
870
|
}): void;
|
|
859
|
-
|
|
871
|
+
_controllers: Set<import('../framework/reactive-controller.ts').ReactiveController>;
|
|
860
872
|
_addController(controller: import('../framework/reactive-controller.ts').ReactiveController): void;
|
|
861
873
|
_removeController(controller: import('../framework/reactive-controller.ts').ReactiveController): void;
|
|
862
874
|
} & VividElement, any>;
|