@vonage/vivid 5.1.0 → 5.3.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/accordion-item/definition.cjs +2 -1
- package/accordion-item/definition.js +2 -1
- package/alert/index.cjs +1 -1
- package/alert/index.js +1 -1
- package/audio-player/definition.cjs +41 -6
- package/audio-player/definition.js +41 -6
- package/audio-player/index.cjs +27 -25
- package/audio-player/index.js +88 -62
- package/badge/index.cjs +2 -2
- package/badge/index.js +4 -4
- package/banner/index.cjs +3 -3
- package/banner/index.js +6 -6
- package/breadcrumb-item/index.cjs +1 -1
- package/breadcrumb-item/index.js +1 -1
- package/bundled/affix.cjs +7 -7
- package/bundled/affix.js +5 -5
- package/bundled/anchored.cjs +1 -1
- package/bundled/anchored.js +6 -6
- package/bundled/attribute-binding-behaviour.cjs +1 -1
- package/bundled/attribute-binding-behaviour.js +15 -13
- package/bundled/base-color-picker.cjs +13 -0
- package/bundled/base-color-picker.js +194 -0
- package/bundled/button.cjs +1 -1
- package/bundled/button.js +2 -2
- package/bundled/calendar-picker.template.cjs +1 -1
- package/bundled/calendar-picker.template.js +21 -21
- package/bundled/char-count.cjs +1 -1
- package/bundled/char-count.js +1 -1
- package/bundled/children.cjs +1 -1
- package/bundled/children.js +28 -20
- package/bundled/definition.cjs +3 -3
- package/bundled/definition.js +38 -38
- package/bundled/definition10.cjs +72 -18
- package/bundled/definition10.js +351 -65
- package/bundled/definition11.cjs +19 -10
- package/bundled/definition11.js +66 -37
- package/bundled/definition12.cjs +10 -1
- package/bundled/definition12.js +38 -14
- package/bundled/definition13.cjs +1 -73
- package/bundled/definition13.js +15 -354
- package/bundled/definition15.cjs +1 -1
- package/bundled/definition15.js +1 -1
- package/bundled/definition16.cjs +2 -2
- package/bundled/definition16.js +8 -8
- package/bundled/definition17.cjs +7 -7
- package/bundled/definition17.js +17 -17
- package/bundled/definition19.cjs +17 -14
- package/bundled/definition19.js +85 -77
- package/bundled/definition2.cjs +9 -5
- package/bundled/definition2.js +21 -17
- package/bundled/definition22.cjs +9 -9
- package/bundled/definition22.js +31 -31
- package/bundled/definition3.cjs +1 -1
- package/bundled/definition3.js +1 -1
- package/bundled/definition6.cjs +6 -6
- package/bundled/definition6.js +34 -31
- package/bundled/definition7.cjs +1 -1
- package/bundled/definition7.js +6 -6
- package/bundled/definition8.cjs +2 -2
- package/bundled/definition8.js +4 -4
- package/bundled/definition9.cjs +1 -1
- package/bundled/definition9.js +1 -1
- package/bundled/delegates-aria.cjs +1 -1
- package/bundled/delegates-aria.js +59 -46
- package/bundled/form-associated.cjs +1 -1
- package/bundled/form-associated.js +3 -3
- package/bundled/host-semantics.cjs +1 -1
- package/bundled/host-semantics.js +48 -34
- package/bundled/localized.cjs +1 -1
- package/bundled/localized.js +43 -31
- package/bundled/mixins.cjs +18 -18
- package/bundled/mixins.js +99 -93
- package/bundled/normalize.cjs +1 -0
- package/bundled/normalize.js +7 -0
- package/bundled/picker-field.template.cjs +18 -13
- package/bundled/picker-field.template.js +45 -37
- package/bundled/ref.cjs +1 -1
- package/bundled/ref.js +8 -25
- package/bundled/repeat.cjs +1 -1
- package/bundled/repeat.js +459 -233
- package/bundled/slider.template.cjs +1 -1
- package/bundled/slider.template.js +2 -2
- package/bundled/slotted.cjs +1 -1
- package/bundled/slotted.js +62 -45
- 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 +5 -5
- package/bundled/vivid-element.cjs +1 -1
- package/bundled/vivid-element.js +2126 -1172
- package/bundled/when.cjs +1 -1
- package/bundled/when.js +8 -7
- package/bundled/with-contextual-help.cjs +1 -1
- package/bundled/with-contextual-help.js +17 -7
- package/calendar/definition.cjs +1 -1
- package/calendar/definition.js +2 -2
- package/calendar/index.cjs +1 -1
- package/calendar/index.js +6 -6
- package/calendar-event/index.cjs +1 -1
- package/calendar-event/index.js +1 -1
- package/card/definition.cjs +10 -2
- package/card/definition.js +10 -2
- package/card/index.cjs +19 -11
- package/card/index.js +35 -27
- package/color-picker/definition.cjs +1079 -0
- package/color-picker/definition.js +1073 -0
- package/color-picker/index.cjs +127 -0
- package/color-picker/index.js +726 -0
- package/combobox/definition.cjs +13 -6
- package/combobox/definition.js +14 -7
- package/combobox/index.cjs +15 -11
- package/combobox/index.js +82 -75
- package/contextual-help/index.cjs +1 -1
- package/contextual-help/index.js +1 -1
- package/custom-elements.json +1621 -325
- package/data-grid/definition.cjs +862 -27
- package/data-grid/definition.js +863 -28
- package/data-grid/index.cjs +25 -25
- package/data-grid/index.js +175 -168
- package/date-picker/index.cjs +1 -1
- package/date-picker/index.js +2 -2
- package/date-range-picker/index.cjs +1 -1
- package/date-range-picker/index.js +2 -2
- package/date-time-picker/index.cjs +1 -1
- package/date-time-picker/index.js +2 -2
- package/dial-pad/definition.cjs +55 -1
- package/dial-pad/definition.js +56 -2
- package/dial-pad/index.cjs +21 -18
- package/dial-pad/index.js +138 -104
- package/dialog/definition.cjs +4 -1
- package/dialog/definition.js +4 -1
- package/dialog/index.cjs +21 -18
- package/dialog/index.js +43 -40
- package/empty-state/definition.cjs +7 -2
- package/empty-state/definition.js +7 -2
- package/empty-state/index.cjs +10 -5
- package/empty-state/index.js +18 -13
- package/fab/index.cjs +2 -2
- package/fab/index.js +4 -4
- package/file-picker/definition.cjs +16 -7
- package/file-picker/definition.js +17 -8
- package/file-picker/index.cjs +12 -9
- package/file-picker/index.js +103 -93
- package/icon/definition.cjs +10 -6
- package/icon/definition.js +10 -6
- package/index.cjs +4 -0
- package/index.js +1 -0
- package/lib/accordion-item/accordion-item.d.ts +2 -2
- package/lib/action-group/action-group.d.ts +2 -2
- package/lib/alert/alert.d.ts +4 -4
- package/lib/audio-player/audio-player.d.ts +6 -2
- package/lib/avatar/avatar.d.ts +2 -2
- package/lib/badge/badge.d.ts +2 -2
- package/lib/banner/banner.d.ts +6 -6
- package/lib/breadcrumb/breadcrumb.d.ts +2 -2
- package/lib/breadcrumb-item/breadcrumb-item.d.ts +2 -2
- package/lib/button/button.d.ts +6 -6
- package/lib/button/button.template.d.ts +2 -1
- package/lib/calendar/calendar.d.ts +1 -1
- package/lib/calendar-event/calendar-event.d.ts +2 -2
- package/lib/card/card.d.ts +2 -2
- package/lib/checkbox/checkbox.d.ts +12 -12
- package/lib/color-picker/color-picker.d.ts +2420 -0
- package/lib/color-picker/color-picker.template.d.ts +3 -0
- package/lib/color-picker/definition.d.ts +4 -0
- package/lib/color-picker/locale.d.ts +9 -0
- package/lib/combobox/combobox.d.ts +495 -78
- package/lib/components.d.ts +1 -0
- package/lib/data-grid/data-grid-cell.d.ts +4 -4
- package/lib/data-grid/data-grid-row.d.ts +3 -4
- package/lib/data-grid/data-grid.d.ts +1 -2
- package/lib/date-picker/date-picker.d.ts +906 -894
- package/lib/date-range-picker/date-range-picker.d.ts +596 -590
- package/lib/date-time-picker/date-time-picker.d.ts +907 -895
- package/lib/dial-pad/dial-pad.d.ts +3 -2
- package/lib/dial-pad/dial-pad.template.d.ts +1 -1
- package/lib/dial-pad/locale.d.ts +1 -0
- package/lib/dialog/dialog.d.ts +4 -4
- package/lib/divider/divider.d.ts +2 -2
- package/lib/fab/fab.d.ts +2 -2
- package/lib/file-picker/file-picker.d.ts +495 -78
- package/lib/header/header.d.ts +2 -2
- package/lib/menu/menu.d.ts +5 -4
- package/lib/menu-item/menu-item.d.ts +4 -4
- package/lib/nav/nav.d.ts +2 -2
- package/lib/nav-disclosure/nav-disclosure.d.ts +4 -4
- package/lib/nav-item/nav-item.d.ts +4 -4
- package/lib/note/note.d.ts +2 -2
- package/lib/number-field/number-field.d.ts +19 -18
- package/lib/option/option.d.ts +4 -4
- package/lib/pagination/pagination.d.ts +2 -2
- package/lib/progress/progress.d.ts +2 -2
- package/lib/progress-ring/progress-ring.d.ts +2 -2
- package/lib/radio/radio.d.ts +6 -6
- package/lib/radio-group/radio-group.d.ts +2 -2
- package/lib/range-slider/range-slider.d.ts +6 -6
- package/lib/rich-text-editor/menubar/menubar.d.ts +2 -2
- package/lib/rich-text-editor/rich-text-editor.d.ts +2 -2
- package/lib/searchable-select/option-tag.d.ts +2 -2
- package/lib/searchable-select/searchable-select.d.ts +521 -104
- package/lib/select/select.d.ts +484 -67
- package/lib/selectable-box/selectable-box.d.ts +2 -2
- package/lib/simple-color-picker/locale.d.ts +0 -1
- package/lib/simple-color-picker/simple-color-picker.d.ts +47 -821
- package/lib/slider/slider.d.ts +6 -6
- package/lib/split-button/split-button.d.ts +6 -6
- package/lib/switch/switch.d.ts +4 -4
- package/lib/tab/tab.d.ts +6 -6
- package/lib/tab-panel/tab-panel.d.ts +2 -2
- package/lib/tag/tag.d.ts +6 -6
- package/lib/tag-group/tag-group.d.ts +2 -2
- package/lib/tag-name-map.d.ts +2 -1
- package/lib/text-area/text-area.d.ts +17 -16
- package/lib/text-field/text-field.d.ts +19 -18
- package/lib/time-picker/time-picker.d.ts +579 -573
- package/lib/toggletip/toggletip.d.ts +4 -4
- package/lib/tooltip/tooltip.d.ts +2 -2
- package/lib/tree-item/tree-item.d.ts +4 -4
- package/lib/tree-view/tree-view.d.ts +2 -2
- package/lib/video-player/video-player.d.ts +2 -2
- package/locales/de-DE.cjs +15 -3
- package/locales/de-DE.js +15 -3
- package/locales/en-GB.cjs +15 -3
- package/locales/en-GB.js +15 -3
- package/locales/en-US.cjs +15 -3
- package/locales/en-US.js +15 -3
- package/locales/ja-JP.cjs +15 -3
- package/locales/ja-JP.js +15 -3
- package/locales/zh-CN.cjs +15 -3
- package/locales/zh-CN.js +15 -3
- package/menu/definition.cjs +8 -4
- package/menu/definition.js +9 -5
- package/note/index.cjs +2 -2
- package/note/index.js +4 -4
- package/number-field/definition.cjs +3 -3
- package/number-field/definition.js +4 -4
- package/number-field/index.cjs +8 -8
- package/number-field/index.js +41 -40
- package/option/index.cjs +1 -1
- package/option/index.js +1 -1
- package/package.json +5 -5
- package/pagination/definition.cjs +2 -1
- package/pagination/definition.js +2 -1
- package/pagination/index.cjs +12 -12
- package/pagination/index.js +59 -59
- package/progress/index.cjs +1 -1
- package/progress/index.js +1 -1
- package/radio/definition.cjs +9 -9
- package/radio/definition.js +10 -10
- package/radio-group/definition.cjs +2 -1
- package/radio-group/definition.js +2 -1
- package/radio-group/index.cjs +5 -5
- package/radio-group/index.js +80 -77
- package/range-slider/index.cjs +1 -1
- package/range-slider/index.js +1 -1
- package/rich-text-editor/definition.cjs +1 -1
- package/rich-text-editor/definition.js +2 -2
- package/rich-text-editor/index.cjs +2 -2
- package/rich-text-editor/index.js +3 -3
- package/searchable-select/definition.cjs +30 -21
- package/searchable-select/definition.js +31 -22
- package/searchable-select/index.cjs +28 -25
- package/searchable-select/index.js +149 -140
- package/select/definition.cjs +15 -7
- package/select/definition.js +16 -8
- package/selectable-box/definition.cjs +1 -1
- package/selectable-box/definition.js +1 -1
- package/selectable-box/index.cjs +3 -3
- package/selectable-box/index.js +20 -20
- package/shared/aria/aria-change-subscription.d.ts +0 -1
- package/shared/aria/aria-mixin.d.ts +2 -2
- package/shared/aria/delegate-aria-behavior.d.ts +5 -10
- package/shared/aria/delegates-aria.d.ts +3 -3
- package/shared/aria/host-semantics-behavior.d.ts +5 -8
- package/shared/aria/host-semantics.d.ts +3 -3
- package/shared/color-picker/base-color-picker.d.ts +436 -0
- package/shared/color-picker/index.d.ts +1 -0
- package/shared/color-picker/locale.d.ts +3 -0
- package/shared/color-picker/utils.d.ts +1 -0
- package/shared/deprecation/replaced-props.d.ts +317 -2
- package/shared/design-system/defineVividComponent.d.ts +2 -2
- package/shared/feedback/feedback-message.d.ts +2 -2
- package/shared/feedback/mixins.d.ts +4 -4
- package/shared/foundation/button/button.d.ts +4 -4
- package/shared/foundation/form-associated/form-associated.d.ts +4 -4
- package/shared/foundation/vivid-element/vivid-element.d.ts +335 -8
- package/shared/localization/Locale.d.ts +4 -0
- package/shared/patterns/affix.d.ts +4 -4
- package/shared/patterns/anchored.d.ts +4 -4
- package/shared/patterns/char-count/char-count.d.ts +2 -2
- package/shared/patterns/form-elements/form-element.d.ts +4 -4
- package/shared/patterns/form-elements/index.d.ts +1 -0
- package/shared/patterns/form-elements/with-contextual-help.d.ts +7 -6
- package/shared/patterns/form-elements/with-error-text.d.ts +6 -6
- package/shared/patterns/form-elements/with-success-text.d.ts +2 -2
- package/shared/patterns/linkable.d.ts +2 -2
- package/shared/patterns/localized.d.ts +2 -2
- package/shared/patterns/trapped-focus.d.ts +2 -2
- package/shared/picker-field/mixins/calendar-picker.d.ts +454 -451
- package/shared/picker-field/mixins/calendar-picker.template.d.ts +454 -451
- package/shared/picker-field/mixins/inline-time-picker/inline-time-picker.d.ts +2 -2
- package/shared/picker-field/mixins/min-max-calendar-picker.d.ts +600 -594
- package/shared/picker-field/mixins/single-date-picker.d.ts +746 -737
- package/shared/picker-field/mixins/single-value-picker.d.ts +451 -448
- package/shared/picker-field/mixins/time-selection-picker.d.ts +580 -574
- package/shared/picker-field/mixins/time-selection-picker.template.d.ts +579 -573
- package/shared/picker-field/picker-field.d.ts +495 -78
- package/shared/templating/attribute-binding-behaviour.d.ts +3 -4
- package/shared/templating/render-in-light-dom.d.ts +13 -12
- package/side-drawer/index.cjs +1 -1
- package/side-drawer/index.js +1 -1
- package/simple-color-picker/definition.cjs +28 -215
- package/simple-color-picker/definition.js +29 -216
- package/simple-color-picker/index.cjs +9 -21
- package/simple-color-picker/index.js +71 -185
- package/styles/core/all.css +1 -1
- package/styles/core/theme.css +1 -1
- package/styles/core/typography.css +1 -1
- package/styles/tokens/theme-dark.css +4 -4
- package/styles/tokens/theme-light.css +4 -4
- package/styles/tokens/vivid-2-compat.css +1 -1
- package/switch/index.cjs +2 -2
- package/switch/index.js +4 -4
- package/tabs/definition.cjs +1 -1
- package/tabs/definition.js +2 -2
- package/tabs/index.cjs +2 -2
- package/tabs/index.js +16 -16
- package/tag/index.cjs +1 -1
- package/tag/index.js +1 -1
- package/text-area/definition.cjs +1 -1
- package/text-area/definition.js +1 -1
- package/text-area/index.cjs +3 -3
- package/text-area/index.js +9 -9
- package/text-field/definition.cjs +3 -3
- package/text-field/definition.js +4 -4
- package/text-field/index.cjs +1 -1
- package/text-field/index.js +1 -1
- package/time-picker/index.cjs +1 -1
- package/time-picker/index.js +2 -2
- package/toggletip/definition.cjs +1 -1
- package/toggletip/definition.js +2 -2
- package/tree-view/definition.cjs +1 -1
- package/tree-view/definition.js +2 -2
- package/tree-view/index.cjs +2 -2
- package/tree-view/index.js +6 -6
- package/unbundled/_commonjsHelpers.cjs +36 -0
- package/unbundled/_commonjsHelpers.js +32 -0
- package/unbundled/affix.cjs +1 -1
- package/unbundled/affix.js +1 -1
- package/unbundled/attribute-binding-behaviour.cjs +11 -10
- package/unbundled/attribute-binding-behaviour.js +11 -10
- package/unbundled/base-color-picker.cjs +278 -0
- package/unbundled/base-color-picker.js +275 -0
- package/unbundled/button.cjs +1 -1
- package/unbundled/button.js +2 -2
- package/unbundled/calendar-picker.template.cjs +3 -3
- package/unbundled/calendar-picker.template.js +4 -4
- package/unbundled/definition2.cjs +1 -1
- package/unbundled/definition2.js +2 -2
- package/unbundled/definition3.cjs +2 -1
- package/unbundled/definition3.js +2 -1
- package/unbundled/delegates-aria.cjs +67 -33
- package/unbundled/delegates-aria.js +69 -35
- package/unbundled/form-associated.cjs +2 -2
- package/unbundled/form-associated.js +3 -3
- package/unbundled/host-semantics.cjs +47 -22
- package/unbundled/host-semantics.js +48 -23
- package/unbundled/mixins.cjs +34 -27
- package/unbundled/mixins.js +35 -28
- package/unbundled/picker-field.template.cjs +13 -5
- package/unbundled/picker-field.template.js +14 -6
- package/unbundled/text-field.cjs +1 -1
- package/unbundled/text-field.js +1 -1
- package/unbundled/time-selection-picker.template.cjs +4 -4
- package/unbundled/time-selection-picker.template.js +5 -5
- package/unbundled/vivid-element.cjs +22 -15
- package/unbundled/vivid-element.js +23 -15
- package/unbundled/with-contextual-help.cjs +11 -0
- package/unbundled/with-contextual-help.js +11 -0
- package/video-player/definition.cjs +69007 -1
- package/video-player/definition.js +69007 -1
- package/video-player/index.cjs +35 -35
- package/video-player/index.js +1358 -1384
- package/visually-hidden/index.cjs +1 -1
- package/visually-hidden/index.js +1 -1
- package/vivid.api.json +347 -69
|
@@ -0,0 +1,436 @@
|
|
|
1
|
+
import { InlineTemplateDirective } from '@microsoft/fast-element';
|
|
2
|
+
import { VividElement } from '../foundation/vivid-element/vivid-element';
|
|
3
|
+
import type { Constructor, MixinType } from '../utils/mixins';
|
|
4
|
+
import type { ColorSwatch } from './types';
|
|
5
|
+
export declare const BaseColorPicker: <T extends Constructor<VividElement>>(Base: T) => {
|
|
6
|
+
new (...args: any[]): {
|
|
7
|
+
proxy: HTMLInputElement;
|
|
8
|
+
open: boolean;
|
|
9
|
+
swatches: ColorSwatch[];
|
|
10
|
+
connectedCallback(): void;
|
|
11
|
+
_canvasColor: string;
|
|
12
|
+
_refreshCanvasColor(): void;
|
|
13
|
+
_applyContrastClass(color: string, threshold?: number): boolean;
|
|
14
|
+
_getRowLength(): number;
|
|
15
|
+
_handleSwatchSelection(value: string): void;
|
|
16
|
+
_handleColorSaving(): void;
|
|
17
|
+
_getFocusReturnEl(): HTMLElement | null;
|
|
18
|
+
_returnFocusToAnchor(): void;
|
|
19
|
+
_getGridCells(): HTMLElement[];
|
|
20
|
+
_handleCellKeydown(event: KeyboardEvent, value: string, index: number, isSaveCell?: boolean): boolean;
|
|
21
|
+
_focusSwatchByIndex(index: number): void;
|
|
22
|
+
_renderColorSwatch(iconTag: InlineTemplateDirective): import("@microsoft/fast-element").ViewTemplate<ColorSwatch, any>;
|
|
23
|
+
readonly locale: import("../localization/Locale").Locale;
|
|
24
|
+
_vividAriaBehaviour: import("../aria/aria-mixin").VividAriaBehaviour;
|
|
25
|
+
readonly $fastController: import("@microsoft/fast-element").ElementController<HTMLElement>;
|
|
26
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
27
|
+
disconnectedCallback: (() => void) & (() => void) & (() => void);
|
|
28
|
+
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
29
|
+
accessKey: string;
|
|
30
|
+
readonly accessKeyLabel: string;
|
|
31
|
+
autocapitalize: string;
|
|
32
|
+
dir: string;
|
|
33
|
+
draggable: boolean;
|
|
34
|
+
hidden: boolean;
|
|
35
|
+
inert: boolean;
|
|
36
|
+
innerText: string;
|
|
37
|
+
lang: string;
|
|
38
|
+
readonly offsetHeight: number;
|
|
39
|
+
readonly offsetLeft: number;
|
|
40
|
+
readonly offsetParent: Element | null;
|
|
41
|
+
readonly offsetTop: number;
|
|
42
|
+
readonly offsetWidth: number;
|
|
43
|
+
outerText: string;
|
|
44
|
+
spellcheck: boolean;
|
|
45
|
+
title: string;
|
|
46
|
+
translate: boolean;
|
|
47
|
+
attachInternals(): ElementInternals;
|
|
48
|
+
click(): void;
|
|
49
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
50
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
51
|
+
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
|
|
52
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
53
|
+
readonly attributes: NamedNodeMap;
|
|
54
|
+
readonly classList: DOMTokenList;
|
|
55
|
+
className: string;
|
|
56
|
+
readonly clientHeight: number;
|
|
57
|
+
readonly clientLeft: number;
|
|
58
|
+
readonly clientTop: number;
|
|
59
|
+
readonly clientWidth: number;
|
|
60
|
+
id: string;
|
|
61
|
+
readonly localName: string;
|
|
62
|
+
readonly namespaceURI: string | null;
|
|
63
|
+
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
64
|
+
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
65
|
+
outerHTML: string;
|
|
66
|
+
readonly ownerDocument: Document;
|
|
67
|
+
readonly part: DOMTokenList;
|
|
68
|
+
readonly prefix: string | null;
|
|
69
|
+
readonly scrollHeight: number;
|
|
70
|
+
scrollLeft: number;
|
|
71
|
+
scrollTop: number;
|
|
72
|
+
readonly scrollWidth: number;
|
|
73
|
+
readonly shadowRoot: ShadowRoot | null;
|
|
74
|
+
slot: string;
|
|
75
|
+
readonly tagName: string;
|
|
76
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
77
|
+
checkVisibility(options?: CheckVisibilityOptions | undefined): boolean;
|
|
78
|
+
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2] | null;
|
|
79
|
+
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3] | null;
|
|
80
|
+
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4] | null;
|
|
81
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
82
|
+
getAttribute(qualifiedName: string): string | null;
|
|
83
|
+
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
84
|
+
getAttributeNames(): string[];
|
|
85
|
+
getAttributeNode(qualifiedName: string): Attr | null;
|
|
86
|
+
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
|
87
|
+
getBoundingClientRect(): DOMRect;
|
|
88
|
+
getClientRects(): DOMRectList;
|
|
89
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
90
|
+
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
|
91
|
+
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
|
92
|
+
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
|
93
|
+
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
|
94
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
95
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
96
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
97
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
98
|
+
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
99
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
100
|
+
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
101
|
+
hasAttributes(): boolean;
|
|
102
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
103
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
104
|
+
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
105
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
106
|
+
matches(selectors: string): boolean;
|
|
107
|
+
releasePointerCapture(pointerId: number): void;
|
|
108
|
+
removeAttribute(qualifiedName: string): void;
|
|
109
|
+
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
110
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
111
|
+
requestFullscreen(options?: FullscreenOptions | undefined): Promise<void>;
|
|
112
|
+
requestPointerLock(): void;
|
|
113
|
+
scroll(options?: ScrollToOptions | undefined): void;
|
|
114
|
+
scroll(x: number, y: number): void;
|
|
115
|
+
scrollBy(options?: ScrollToOptions | undefined): void;
|
|
116
|
+
scrollBy(x: number, y: number): void;
|
|
117
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions | undefined): void;
|
|
118
|
+
scrollTo(options?: ScrollToOptions | undefined): void;
|
|
119
|
+
scrollTo(x: number, y: number): void;
|
|
120
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
121
|
+
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
122
|
+
setAttributeNode(attr: Attr): Attr | null;
|
|
123
|
+
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
124
|
+
setPointerCapture(pointerId: number): void;
|
|
125
|
+
toggleAttribute(qualifiedName: string, force?: boolean | undefined): boolean;
|
|
126
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
127
|
+
readonly baseURI: string;
|
|
128
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
129
|
+
readonly firstChild: ChildNode | null;
|
|
130
|
+
readonly isConnected: boolean;
|
|
131
|
+
readonly lastChild: ChildNode | null;
|
|
132
|
+
readonly nextSibling: ChildNode | null;
|
|
133
|
+
readonly nodeName: string;
|
|
134
|
+
readonly nodeType: number;
|
|
135
|
+
nodeValue: string | null;
|
|
136
|
+
readonly parentElement: HTMLElement | null;
|
|
137
|
+
readonly parentNode: ParentNode | null;
|
|
138
|
+
readonly previousSibling: ChildNode | null;
|
|
139
|
+
textContent: string | null;
|
|
140
|
+
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
141
|
+
cloneNode(deep?: boolean | undefined): Node;
|
|
142
|
+
compareDocumentPosition(other: Node): number;
|
|
143
|
+
contains(other: Node | null): boolean;
|
|
144
|
+
getRootNode(options?: GetRootNodeOptions | undefined): Node;
|
|
145
|
+
hasChildNodes(): boolean;
|
|
146
|
+
insertBefore<T_2 extends Node>(node: T_2, child: Node | null): T_2;
|
|
147
|
+
isDefaultNamespace(namespace: string | null): boolean;
|
|
148
|
+
isEqualNode(otherNode: Node | null): boolean;
|
|
149
|
+
isSameNode(otherNode: Node | null): boolean;
|
|
150
|
+
lookupNamespaceURI(prefix: string | null): string | null;
|
|
151
|
+
lookupPrefix(namespace: string | null): string | null;
|
|
152
|
+
normalize(): void;
|
|
153
|
+
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
154
|
+
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
|
155
|
+
readonly ELEMENT_NODE: 1;
|
|
156
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
157
|
+
readonly TEXT_NODE: 3;
|
|
158
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
159
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
160
|
+
readonly ENTITY_NODE: 6;
|
|
161
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
162
|
+
readonly COMMENT_NODE: 8;
|
|
163
|
+
readonly DOCUMENT_NODE: 9;
|
|
164
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
165
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
166
|
+
readonly NOTATION_NODE: 12;
|
|
167
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
168
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
169
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
170
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
171
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
172
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
173
|
+
dispatchEvent(event: Event): boolean;
|
|
174
|
+
ariaAtomic: string | null;
|
|
175
|
+
ariaAutoComplete: string | null;
|
|
176
|
+
ariaBusy: string | null;
|
|
177
|
+
ariaChecked: string | null;
|
|
178
|
+
ariaColCount: string | null;
|
|
179
|
+
ariaColIndex: string | null;
|
|
180
|
+
ariaColSpan: string | null;
|
|
181
|
+
ariaCurrent: string | null;
|
|
182
|
+
ariaDisabled: string | null;
|
|
183
|
+
ariaExpanded: string | null;
|
|
184
|
+
ariaHasPopup: string | null;
|
|
185
|
+
ariaHidden: string | null;
|
|
186
|
+
ariaInvalid: string | null;
|
|
187
|
+
ariaKeyShortcuts: string | null;
|
|
188
|
+
ariaLabel: string | null;
|
|
189
|
+
ariaLevel: string | null;
|
|
190
|
+
ariaLive: string | null;
|
|
191
|
+
ariaModal: string | null;
|
|
192
|
+
ariaMultiLine: string | null;
|
|
193
|
+
ariaMultiSelectable: string | null;
|
|
194
|
+
ariaOrientation: string | null;
|
|
195
|
+
ariaPlaceholder: string | null;
|
|
196
|
+
ariaPosInSet: string | null;
|
|
197
|
+
ariaPressed: string | null;
|
|
198
|
+
ariaReadOnly: string | null;
|
|
199
|
+
ariaRequired: string | null;
|
|
200
|
+
ariaRoleDescription: string | null;
|
|
201
|
+
ariaRowCount: string | null;
|
|
202
|
+
ariaRowIndex: string | null;
|
|
203
|
+
ariaRowSpan: string | null;
|
|
204
|
+
ariaSelected: string | null;
|
|
205
|
+
ariaSetSize: string | null;
|
|
206
|
+
ariaSort: string | null;
|
|
207
|
+
ariaValueMax: string | null;
|
|
208
|
+
ariaValueMin: string | null;
|
|
209
|
+
ariaValueNow: string | null;
|
|
210
|
+
ariaValueText: string | null;
|
|
211
|
+
role: string | null;
|
|
212
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined): Animation;
|
|
213
|
+
getAnimations(options?: GetAnimationsOptions | undefined): Animation[];
|
|
214
|
+
after(...nodes: (string | Node)[]): void;
|
|
215
|
+
before(...nodes: (string | Node)[]): void;
|
|
216
|
+
remove(): void;
|
|
217
|
+
replaceWith(...nodes: (string | Node)[]): void;
|
|
218
|
+
innerHTML: string;
|
|
219
|
+
readonly nextElementSibling: Element | null;
|
|
220
|
+
readonly previousElementSibling: Element | null;
|
|
221
|
+
readonly childElementCount: number;
|
|
222
|
+
readonly children: HTMLCollection;
|
|
223
|
+
readonly firstElementChild: Element | null;
|
|
224
|
+
readonly lastElementChild: Element | null;
|
|
225
|
+
append(...nodes: (string | Node)[]): void;
|
|
226
|
+
prepend(...nodes: (string | Node)[]): void;
|
|
227
|
+
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9] | null;
|
|
228
|
+
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10] | null;
|
|
229
|
+
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11] | null;
|
|
230
|
+
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12] | null;
|
|
231
|
+
querySelector<E_1 extends Element = Element>(selectors: string): E_1 | null;
|
|
232
|
+
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
|
|
233
|
+
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
|
|
234
|
+
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
|
235
|
+
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
|
236
|
+
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
237
|
+
replaceChildren(...nodes: (string | Node)[]): void;
|
|
238
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
239
|
+
readonly style: CSSStyleDeclaration;
|
|
240
|
+
contentEditable: string;
|
|
241
|
+
enterKeyHint: string;
|
|
242
|
+
inputMode: string;
|
|
243
|
+
readonly isContentEditable: boolean;
|
|
244
|
+
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
245
|
+
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
246
|
+
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
247
|
+
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
248
|
+
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
249
|
+
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
250
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
251
|
+
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
252
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
253
|
+
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
254
|
+
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
255
|
+
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
256
|
+
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
257
|
+
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
258
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
259
|
+
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
260
|
+
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
261
|
+
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
262
|
+
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
263
|
+
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
264
|
+
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
265
|
+
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
266
|
+
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
267
|
+
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
268
|
+
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
269
|
+
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
270
|
+
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
271
|
+
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
272
|
+
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
273
|
+
onerror: OnErrorEventHandler;
|
|
274
|
+
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
275
|
+
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
276
|
+
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
277
|
+
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
278
|
+
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
279
|
+
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
280
|
+
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
281
|
+
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
282
|
+
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
283
|
+
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
284
|
+
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
285
|
+
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
286
|
+
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
287
|
+
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
288
|
+
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
289
|
+
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
290
|
+
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
291
|
+
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
292
|
+
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
293
|
+
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
294
|
+
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
295
|
+
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
296
|
+
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
297
|
+
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
298
|
+
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
299
|
+
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
300
|
+
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
301
|
+
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
302
|
+
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
303
|
+
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
304
|
+
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
305
|
+
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
306
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
|
|
307
|
+
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
308
|
+
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
309
|
+
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
310
|
+
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
311
|
+
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
312
|
+
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
313
|
+
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
314
|
+
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
315
|
+
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
316
|
+
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
317
|
+
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
318
|
+
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
319
|
+
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
320
|
+
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
321
|
+
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
322
|
+
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
323
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
324
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
325
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
326
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
327
|
+
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
328
|
+
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
329
|
+
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
330
|
+
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
331
|
+
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
332
|
+
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
333
|
+
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
334
|
+
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
335
|
+
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
336
|
+
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
337
|
+
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
338
|
+
autofocus: boolean;
|
|
339
|
+
readonly dataset: DOMStringMap;
|
|
340
|
+
nonce?: string | undefined;
|
|
341
|
+
tabIndex: number;
|
|
342
|
+
blur(): void;
|
|
343
|
+
focus(options?: FocusOptions | undefined): void;
|
|
344
|
+
ariaColIndexText: string | null;
|
|
345
|
+
ariaDescription: string | null;
|
|
346
|
+
ariaRowIndexText: string | null;
|
|
347
|
+
ariaRelevant: string | null;
|
|
348
|
+
roleChanged(prev: string | null, next: string | null): void;
|
|
349
|
+
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
350
|
+
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
351
|
+
ariaBusyChanged(prev: string | null, next: string | null): void;
|
|
352
|
+
ariaCheckedChanged(prev: string | null, next: string | null): void;
|
|
353
|
+
ariaColCountChanged(prev: string | null, next: string | null): void;
|
|
354
|
+
ariaColIndexChanged(prev: string | null, next: string | null): void;
|
|
355
|
+
ariaColIndexTextChanged(prev: string | null, next: string | null): void;
|
|
356
|
+
ariaColSpanChanged(prev: string | null, next: string | null): void;
|
|
357
|
+
ariaCurrentChanged(prev: string | null, next: string | null): void;
|
|
358
|
+
ariaDescriptionChanged(prev: string | null, next: string | null): void;
|
|
359
|
+
ariaDisabledChanged(prev: string | null, next: string | null): void;
|
|
360
|
+
ariaExpandedChanged(prev: string | null, next: string | null): void;
|
|
361
|
+
ariaHasPopupChanged(prev: string | null, next: string | null): void;
|
|
362
|
+
ariaHiddenChanged(prev: string | null, next: string | null): void;
|
|
363
|
+
ariaInvalidChanged(prev: string | null, next: string | null): void;
|
|
364
|
+
ariaKeyShortcutsChanged(prev: string | null, next: string | null): void;
|
|
365
|
+
ariaLabelChanged(prev: string | null, next: string | null): void;
|
|
366
|
+
ariaLevelChanged(prev: string | null, next: string | null): void;
|
|
367
|
+
ariaLiveChanged(prev: string | null, next: string | null): void;
|
|
368
|
+
ariaModalChanged(prev: string | null, next: string | null): void;
|
|
369
|
+
ariaMultiLineChanged(prev: string | null, next: string | null): void;
|
|
370
|
+
ariaMultiSelectableChanged(prev: string | null, next: string | null): void;
|
|
371
|
+
ariaOrientationChanged(prev: string | null, next: string | null): void;
|
|
372
|
+
ariaPlaceholderChanged(prev: string | null, next: string | null): void;
|
|
373
|
+
ariaPosInSetChanged(prev: string | null, next: string | null): void;
|
|
374
|
+
ariaPressedChanged(prev: string | null, next: string | null): void;
|
|
375
|
+
ariaReadOnlyChanged(prev: string | null, next: string | null): void;
|
|
376
|
+
ariaRequiredChanged(prev: string | null, next: string | null): void;
|
|
377
|
+
ariaRoleDescriptionChanged(prev: string | null, next: string | null): void;
|
|
378
|
+
ariaRowCountChanged(prev: string | null, next: string | null): void;
|
|
379
|
+
ariaRowIndexChanged(prev: string | null, next: string | null): void;
|
|
380
|
+
ariaRowIndexTextChanged(prev: string | null, next: string | null): void;
|
|
381
|
+
ariaRowSpanChanged(prev: string | null, next: string | null): void;
|
|
382
|
+
ariaSelectedChanged(prev: string | null, next: string | null): void;
|
|
383
|
+
ariaSetSizeChanged(prev: string | null, next: string | null): void;
|
|
384
|
+
ariaSortChanged(prev: string | null, next: string | null): void;
|
|
385
|
+
ariaValueMaxChanged(prev: string | null, next: string | null): void;
|
|
386
|
+
ariaValueMinChanged(prev: string | null, next: string | null): void;
|
|
387
|
+
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
388
|
+
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
389
|
+
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
390
|
+
"__#1@#handleReplacedProp"(replacedProp: {
|
|
391
|
+
newPropertyName: string;
|
|
392
|
+
deprecatedPropertyName: string;
|
|
393
|
+
fromDeprecated: (v: any) => any;
|
|
394
|
+
toDeprecated?: ((v: any) => any) | undefined;
|
|
395
|
+
}): void;
|
|
396
|
+
label?: string | undefined;
|
|
397
|
+
errorValidationMessage: string;
|
|
398
|
+
forceErrorDisplay: boolean;
|
|
399
|
+
hasBeenTouched: boolean;
|
|
400
|
+
"__#3@#handleInvalidEvent": () => void;
|
|
401
|
+
formResetCallback: (() => void) & (() => void);
|
|
402
|
+
validate: (() => void) & ((anchor?: HTMLElement | undefined) => void);
|
|
403
|
+
readonly validity: ValidityState;
|
|
404
|
+
readonly form: HTMLFormElement | null;
|
|
405
|
+
readonly validationMessage: string;
|
|
406
|
+
readonly willValidate: boolean;
|
|
407
|
+
readonly labels: readonly Node[];
|
|
408
|
+
dirtyValue: boolean;
|
|
409
|
+
proxySlot?: HTMLSlotElement | undefined;
|
|
410
|
+
value: string;
|
|
411
|
+
valueChanged: ((_previous: string, _next: string) => void) & ((_previous: string, _next: string) => void);
|
|
412
|
+
currentValue: string;
|
|
413
|
+
initialValue: string;
|
|
414
|
+
initialValueChanged: ((_previous: string, _next: string) => void) & ((_previous: string, _next: string) => void);
|
|
415
|
+
disabled: boolean;
|
|
416
|
+
disabledChanged: ((_previous: boolean, _next: boolean) => void) & ((_previous: boolean, _next: boolean) => void);
|
|
417
|
+
name: string;
|
|
418
|
+
nameChanged: ((_previous: string, _next: string) => void) & ((_previous: string, _next: string) => void);
|
|
419
|
+
required: boolean;
|
|
420
|
+
requiredChanged: ((_previous: boolean, _next: boolean) => void) & ((_previous: boolean, _next: boolean) => void);
|
|
421
|
+
readonly elementInternals: ElementInternals | null;
|
|
422
|
+
proxyEventsToBlock: string[];
|
|
423
|
+
checkValidity: (() => boolean) & (() => boolean);
|
|
424
|
+
reportValidity: (() => boolean) & (() => boolean);
|
|
425
|
+
setValidity: ((flags: ValidityStateFlags, message?: string | undefined, anchor?: HTMLElement | undefined) => void) & ((flags: ValidityStateFlags, message?: string | undefined, anchor?: HTMLElement | undefined) => void);
|
|
426
|
+
formDisabledCallback: ((disabled: boolean) => void) & ((disabled: boolean) => void);
|
|
427
|
+
proxyInitialized: boolean;
|
|
428
|
+
attachProxy: (() => void) & (() => void);
|
|
429
|
+
detachProxy: (() => void) & (() => void);
|
|
430
|
+
setFormValue: ((value: string | File | FormData | null, state?: string | File | FormData | null | undefined) => void) & ((value: string | File | FormData | null, state?: string | File | FormData | null | undefined) => void);
|
|
431
|
+
_keypressHandler: ((e: KeyboardEvent) => void) & ((e: KeyboardEvent) => void);
|
|
432
|
+
stopPropagation: ((e: Event) => void) & ((e: Event) => void);
|
|
433
|
+
};
|
|
434
|
+
readonly formAssociated: boolean;
|
|
435
|
+
} & T;
|
|
436
|
+
export type BaseColorPickerElement = MixinType<typeof BaseColorPicker>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export declare function isValidHexColor(input: string): boolean;
|
|
1
2
|
export declare function getLuminance(hexColor: string): number;
|
|
2
3
|
export declare function getContrastRatio(color1: string, color2: string): number;
|
|
3
4
|
export declare function getCSSCustomProperty(propertyName: string, element?: Element): string;
|