@vonage/vivid 5.12.0 → 5.15.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/base-color-picker.js +2 -2
- package/bundled/definition19.cjs +63 -44
- package/bundled/definition19.js +322 -246
- package/bundled/definition2.cjs +1 -1
- package/bundled/definition2.js +1 -1
- package/bundled/localized.cjs +1 -1
- package/bundled/localized.js +17 -13
- package/bundled/slottable-request.cjs +4 -4
- package/bundled/slottable-request.js +71 -70
- package/bundled/vivid-element.cjs +1 -1
- package/bundled/vivid-element.js +1 -1
- package/custom-elements.json +2540 -2206
- package/data-grid/definition.cjs +37 -13
- package/data-grid/definition.js +37 -13
- package/data-grid/index.cjs +38 -32
- package/data-grid/index.js +201 -178
- package/icon/definition.cjs +1 -1
- package/icon/definition.js +1 -1
- package/index.cjs +1 -0
- package/index.js +1 -1
- package/lib/accordion/accordion.template.d.ts +2 -2
- package/lib/accordion/index.d.ts +1 -0
- package/lib/accordion-item/accordion-item.d.ts +98 -67
- package/lib/accordion-item/accordion-item.template.d.ts +3 -3
- package/lib/accordion-item/index.d.ts +1 -0
- package/lib/action-group/action-group.d.ts +95 -64
- package/lib/action-group/action-group.template.d.ts +2 -2
- package/lib/action-group/index.d.ts +1 -0
- package/lib/alert/alert.d.ts +192 -130
- package/lib/alert/alert.template.d.ts +3 -3
- package/lib/alert/index.d.ts +1 -0
- package/lib/audio-player/audio-player.d.ts +97 -67
- package/lib/audio-player/audio-player.template.d.ts +2 -2
- package/lib/audio-player/index.d.ts +1 -0
- package/lib/avatar/avatar.d.ts +105 -117
- package/lib/avatar/avatar.template.d.ts +1 -1
- package/lib/avatar/index.d.ts +1 -0
- package/lib/badge/badge.d.ts +98 -67
- package/lib/badge/badge.template.d.ts +3 -3
- package/lib/badge/index.d.ts +1 -0
- package/lib/banner/banner.d.ts +286 -193
- package/lib/banner/banner.template.d.ts +3 -3
- package/lib/banner/index.d.ts +1 -0
- package/lib/breadcrumb/breadcrumb.d.ts +93 -62
- package/lib/breadcrumb/breadcrumb.template.d.ts +2 -2
- package/lib/breadcrumb/index.d.ts +1 -0
- package/lib/breadcrumb-item/breadcrumb-item.d.ts +103 -115
- package/lib/breadcrumb-item/breadcrumb-item.template.d.ts +3 -3
- package/lib/breadcrumb-item/index.d.ts +1 -0
- package/lib/button/button.d.ts +297 -247
- package/lib/button/button.template.d.ts +3 -3
- package/lib/button/index.d.ts +1 -0
- package/lib/calendar/calendar.d.ts +2 -2
- package/lib/calendar/calendar.template.d.ts +2 -2
- package/lib/calendar/helpers/calendar.event-context.d.ts +1 -1
- package/lib/calendar/helpers/calendar.keyboard-interactions.d.ts +1 -1
- package/lib/calendar/index.d.ts +1 -0
- package/lib/calendar-event/calendar-event.d.ts +95 -64
- package/lib/calendar-event/calendar-event.template.d.ts +2 -2
- package/lib/calendar-event/index.d.ts +1 -0
- package/lib/card/card.d.ts +105 -117
- package/lib/card/card.template.d.ts +2 -2
- package/lib/card/index.d.ts +1 -0
- package/lib/checkbox/checkbox.d.ts +628 -437
- package/lib/checkbox/checkbox.template.d.ts +3 -3
- package/lib/checkbox/index.d.ts +1 -0
- package/lib/color-picker/color-picker.d.ts +726 -506
- package/lib/color-picker/color-picker.template.d.ts +2 -2
- package/lib/color-picker/definition.d.ts +1 -1
- package/lib/color-picker/index.d.ts +1 -0
- package/lib/combobox/combobox.d.ts +741 -520
- package/lib/combobox/combobox.template.d.ts +3 -3
- package/lib/combobox/index.d.ts +1 -0
- package/lib/contextual-help/contextual-help.d.ts +1 -1
- package/lib/contextual-help/contextual-help.template.d.ts +3 -3
- package/lib/contextual-help/index.d.ts +1 -0
- package/lib/country/country-code-to-flag-icon.d.ts +1 -1
- package/lib/country/country.template.d.ts +3 -3
- package/lib/country/index.d.ts +1 -0
- package/lib/data-grid/data-grid-cell.d.ts +190 -128
- package/lib/data-grid/data-grid-cell.template.d.ts +3 -3
- package/lib/data-grid/data-grid-row.d.ts +95 -64
- package/lib/data-grid/data-grid-row.template.d.ts +3 -3
- package/lib/data-grid/data-grid.d.ts +1 -1
- package/lib/data-grid/data-grid.template.d.ts +3 -3
- package/lib/data-grid/index.d.ts +1 -0
- package/lib/data-grid/locale.d.ts +1 -1
- package/lib/date-picker/date-picker.d.ts +1045 -792
- package/lib/date-picker/date-picker.template.d.ts +2 -2
- package/lib/date-picker/index.d.ts +1 -0
- package/lib/date-range-picker/date-range-picker.d.ts +538 -411
- package/lib/date-range-picker/date-range-picker.template.d.ts +2 -2
- package/lib/date-range-picker/index.d.ts +1 -0
- package/lib/date-time-picker/date-time-picker.d.ts +1026 -772
- package/lib/date-time-picker/date-time-picker.template.d.ts +2 -2
- package/lib/date-time-picker/index.d.ts +1 -0
- package/lib/dial-pad/dial-pad.d.ts +95 -64
- package/lib/dial-pad/dial-pad.template.d.ts +2 -2
- package/lib/dial-pad/index.d.ts +1 -0
- package/lib/dialog/dialog.d.ts +189 -127
- package/lib/dialog/dialog.template.d.ts +3 -3
- package/lib/dialog/index.d.ts +1 -0
- package/lib/divider/divider.d.ts +94 -63
- package/lib/divider/divider.template.d.ts +2 -2
- package/lib/divider/index.d.ts +1 -0
- package/lib/elevation/elevation.template.d.ts +2 -2
- package/lib/elevation/index.d.ts +1 -0
- package/lib/empty-state/empty-state.d.ts +2 -2
- package/lib/empty-state/empty-state.template.d.ts +3 -3
- package/lib/empty-state/index.d.ts +1 -0
- package/lib/fab/fab.d.ts +98 -67
- package/lib/fab/fab.template.d.ts +3 -3
- package/lib/fab/index.d.ts +1 -0
- package/lib/file-picker/__mocks__/data-transfer.d.ts +21 -0
- package/lib/file-picker/file-picker.d.ts +736 -515
- package/lib/file-picker/file-picker.template.d.ts +3 -3
- package/lib/file-picker/index.d.ts +1 -0
- package/lib/header/header.d.ts +93 -62
- package/lib/header/header.template.d.ts +3 -3
- package/lib/header/index.d.ts +1 -0
- package/lib/icon/icon.d.ts +2 -2
- package/lib/icon/icon.template.d.ts +3 -3
- package/lib/icon/index.d.ts +1 -0
- package/lib/layout/index.d.ts +1 -0
- package/lib/layout/layout.d.ts +2 -2
- package/lib/layout/layout.template.d.ts +2 -2
- package/lib/menu/index.d.ts +1 -0
- package/lib/menu/menu.d.ts +195 -133
- package/lib/menu/menu.template.d.ts +3 -3
- package/lib/menu-item/index.d.ts +1 -0
- package/lib/menu-item/menu-item.d.ts +191 -129
- package/lib/menu-item/menu-item.template.d.ts +2 -2
- package/lib/nav/index.d.ts +1 -0
- package/lib/nav/nav.d.ts +93 -62
- package/lib/nav/nav.template.d.ts +2 -2
- package/lib/nav-disclosure/index.d.ts +1 -0
- package/lib/nav-disclosure/nav-disclosure.d.ts +191 -129
- package/lib/nav-disclosure/nav-disclosure.template.d.ts +3 -3
- package/lib/nav-item/index.d.ts +1 -0
- package/lib/nav-item/nav-item.d.ts +200 -181
- package/lib/nav-item/nav-item.template.d.ts +3 -3
- package/lib/note/index.d.ts +1 -0
- package/lib/note/note.d.ts +97 -66
- package/lib/note/note.template.d.ts +3 -3
- package/lib/number-field/index.d.ts +1 -0
- package/lib/number-field/number-field.d.ts +929 -646
- package/lib/number-field/number-field.template.d.ts +3 -3
- package/lib/option/index.d.ts +1 -0
- package/lib/option/option.d.ts +191 -129
- package/lib/option/option.template.d.ts +3 -3
- package/lib/pagination/index.d.ts +1 -0
- package/lib/pagination/pagination.d.ts +98 -67
- package/lib/pagination/pagination.template.d.ts +3 -3
- package/lib/popover/definition.d.ts +1 -1
- package/lib/popover/index.d.ts +1 -0
- package/lib/popover/popover.d.ts +190 -128
- package/lib/popover/popover.template.d.ts +2 -2
- package/lib/popup/index.d.ts +1 -0
- package/lib/popup/popup.d.ts +1 -1
- package/lib/popup/popup.template.d.ts +3 -3
- package/lib/progress/index.d.ts +1 -0
- package/lib/progress/progress.d.ts +94 -63
- package/lib/progress/progress.template.d.ts +2 -2
- package/lib/progress-ring/index.d.ts +1 -0
- package/lib/progress-ring/progress-ring.d.ts +94 -63
- package/lib/progress-ring/progress-ring.template.d.ts +2 -2
- package/lib/radio/index.d.ts +1 -0
- package/lib/radio/radio.d.ts +340 -242
- package/lib/radio/radio.template.d.ts +2 -2
- package/lib/radio-group/index.d.ts +1 -0
- package/lib/radio-group/radio-group.d.ts +99 -68
- package/lib/radio-group/radio-group.template.d.ts +3 -3
- package/lib/range-slider/index.d.ts +1 -0
- package/lib/range-slider/range-slider.d.ts +313 -218
- package/lib/range-slider/range-slider.template.d.ts +3 -3
- package/lib/rich-text-editor/definition.d.ts +1 -1
- package/lib/rich-text-editor/index.d.ts +1 -0
- package/lib/rich-text-editor/popover.d.ts +1 -1
- package/lib/rich-text-editor/rich-text-editor.d.ts +99 -68
- package/lib/rich-text-editor/rich-text-editor.template.d.ts +2 -2
- package/lib/rich-text-editor/rte/__tests__/async-generator.d.ts +5 -0
- package/lib/rich-text-editor/rte/__tests__/doc-factories.d.ts +106 -0
- package/lib/rich-text-editor/rte/__tests__/font-sizes.d.ts +2 -0
- package/lib/rich-text-editor/rte/__tests__/promise.d.ts +5 -0
- package/lib/rich-text-editor/rte/__tests__/test-utils.d.ts +68 -0
- package/lib/rich-text-editor/rte/config.d.ts +4 -4
- package/lib/rich-text-editor/rte/exports.d.ts +1 -0
- package/lib/rich-text-editor/rte/feature.d.ts +10 -12
- package/lib/rich-text-editor/rte/features/alignment.d.ts +19 -0
- package/lib/rich-text-editor/rte/features/atom.d.ts +9 -0
- package/lib/rich-text-editor/rte/features/base.d.ts +33 -0
- package/lib/rich-text-editor/rte/features/bold.d.ts +17 -0
- package/lib/rich-text-editor/rte/features/drop-handler.d.ts +21 -0
- package/lib/rich-text-editor/rte/features/file-handler.d.ts +25 -0
- package/lib/rich-text-editor/rte/features/font-size-picker.d.ts +46 -0
- package/lib/rich-text-editor/rte/features/hard-break.d.ts +10 -0
- package/lib/rich-text-editor/rte/features/inline-image.d.ts +43 -0
- package/lib/rich-text-editor/rte/features/input-rule.d.ts +10 -0
- package/lib/rich-text-editor/rte/features/internal/basic-text-blocks.d.ts +6 -6
- package/lib/rich-text-editor/rte/features/internal/core.d.ts +37 -0
- package/lib/rich-text-editor/rte/features/internal/cursor-fix.d.ts +16 -0
- package/lib/rich-text-editor/rte/features/internal/foreign-html.d.ts +1 -1
- package/lib/rich-text-editor/rte/features/internal/history.d.ts +2 -2
- package/lib/rich-text-editor/rte/features/internal/input-rules.d.ts +4 -4
- package/lib/rich-text-editor/rte/features/italic.d.ts +17 -0
- package/lib/rich-text-editor/rte/features/keyboard-shortcuts.d.ts +16 -0
- package/lib/rich-text-editor/rte/features/link.d.ts +33 -0
- package/lib/rich-text-editor/rte/features/list.d.ts +24 -0
- package/lib/rich-text-editor/rte/features/monospace.d.ts +22 -0
- package/lib/rich-text-editor/rte/features/placeholder.d.ts +23 -0
- package/lib/rich-text-editor/rte/features/strikethrough.d.ts +17 -0
- package/lib/rich-text-editor/rte/features/suggest.d.ts +14 -0
- package/lib/rich-text-editor/rte/features/text-block-picker.d.ts +18 -0
- package/lib/rich-text-editor/rte/features/text-color-picker.d.ts +31 -0
- package/lib/rich-text-editor/rte/features/toolbar-button.d.ts +13 -0
- package/lib/rich-text-editor/rte/features/toolbar.d.ts +37 -0
- package/lib/rich-text-editor/rte/features/underline.d.ts +17 -0
- package/lib/rich-text-editor/rte/html-parser.d.ts +3 -3
- package/lib/rich-text-editor/rte/html-serializer.d.ts +3 -3
- package/lib/rich-text-editor/rte/instance.d.ts +10 -8
- package/lib/rich-text-editor/rte/public-interface.d.ts +13 -0
- package/lib/rich-text-editor/rte/utils/default-textblock.d.ts +2 -2
- package/lib/rich-text-editor/rte/utils/feature-state.d.ts +1 -1
- package/lib/rich-text-editor/rte/utils/text-before-cursor.d.ts +1 -1
- package/lib/rich-text-editor/rte/utils/ui.d.ts +8 -8
- package/lib/rich-text-editor/rte/view.d.ts +3 -6
- package/lib/rich-text-view/definition.d.ts +1 -1
- package/lib/rich-text-view/index.d.ts +2 -0
- package/lib/rich-text-view/rich-text-view.d.ts +1 -1
- package/lib/rich-text-view/rich-text-view.template.d.ts +2 -2
- package/lib/searchable-select/index.d.ts +1 -0
- package/lib/searchable-select/option-tag.d.ts +96 -65
- package/lib/searchable-select/option-tag.template.d.ts +3 -3
- package/lib/searchable-select/searchable-select.d.ts +929 -646
- package/lib/searchable-select/searchable-select.template.d.ts +3 -3
- package/lib/select/index.d.ts +1 -0
- package/lib/select/locale.d.ts +3 -0
- package/lib/select/select.d.ts +1240 -579
- package/lib/select/select.template.d.ts +3 -3
- package/lib/selectable-box/index.d.ts +1 -0
- package/lib/selectable-box/selectable-box.d.ts +94 -63
- package/lib/selectable-box/selectable-box.template.d.ts +2 -2
- package/lib/side-drawer/index.d.ts +1 -0
- package/lib/side-drawer/side-drawer.template.d.ts +2 -2
- package/lib/simple-color-picker/definition.d.ts +1 -1
- package/lib/simple-color-picker/index.d.ts +1 -0
- package/lib/simple-color-picker/simple-color-picker.d.ts +216 -153
- package/lib/simple-color-picker/simple-color-picker.template.d.ts +2 -2
- package/lib/slider/index.d.ts +1 -0
- package/lib/slider/slider.d.ts +299 -205
- package/lib/slider/slider.template.d.ts +4 -4
- package/lib/split-button/index.d.ts +1 -0
- package/lib/split-button/split-button.d.ts +288 -195
- package/lib/split-button/split-button.template.d.ts +3 -3
- package/lib/status/index.d.ts +1 -0
- package/lib/status/status.d.ts +98 -67
- package/lib/status/status.template.d.ts +3 -3
- package/lib/switch/index.d.ts +1 -0
- package/lib/switch/switch.d.ts +207 -142
- package/lib/switch/switch.template.d.ts +2 -2
- package/lib/tab/index.d.ts +1 -0
- package/lib/tab/tab.d.ts +288 -195
- package/lib/tab/tab.template.d.ts +3 -3
- package/lib/tab-panel/index.d.ts +1 -0
- package/lib/tab-panel/tab-panel.d.ts +93 -62
- package/lib/tab-panel/tab-panel.template.d.ts +2 -2
- package/lib/table/index.d.ts +1 -0
- package/lib/table/table-body.template.d.ts +3 -3
- package/lib/table/table-cell.d.ts +93 -62
- package/lib/table/table-cell.template.d.ts +3 -3
- package/lib/table/table-head.template.d.ts +3 -3
- package/lib/table/table-header-cell.d.ts +93 -62
- package/lib/table/table-header-cell.template.d.ts +3 -3
- package/lib/table/table-row.d.ts +93 -62
- package/lib/table/table-row.template.d.ts +3 -3
- package/lib/table/table.template.d.ts +3 -3
- package/lib/tabs/index.d.ts +1 -0
- package/lib/tabs/tabs.d.ts +2 -2
- package/lib/tabs/tabs.template.d.ts +2 -2
- package/lib/tag/index.d.ts +1 -0
- package/lib/tag/tag.d.ts +288 -195
- package/lib/tag/tag.template.d.ts +3 -3
- package/lib/tag-group/index.d.ts +1 -0
- package/lib/tag-group/tag-group.d.ts +93 -62
- package/lib/tag-group/tag-group.template.d.ts +2 -2
- package/lib/tag-name-map.d.ts +1 -1
- package/lib/text-area/index.d.ts +1 -0
- package/lib/text-area/text-area.d.ts +832 -581
- package/lib/text-area/text-area.template.d.ts +3 -3
- package/lib/text-field/index.d.ts +1 -0
- package/lib/text-field/text-field.d.ts +931 -649
- package/lib/text-field/text-field.template.d.ts +3 -3
- package/lib/time-picker/index.d.ts +1 -0
- package/lib/time-picker/time-picker.d.ts +486 -359
- package/lib/time-picker/time-picker.template.d.ts +3 -3
- package/lib/toggletip/index.d.ts +1 -0
- package/lib/toggletip/toggletip.d.ts +197 -135
- package/lib/toggletip/toggletip.template.d.ts +3 -3
- package/lib/tooltip/index.d.ts +1 -0
- package/lib/tooltip/tooltip.d.ts +101 -70
- package/lib/tooltip/tooltip.template.d.ts +3 -3
- package/lib/tree-item/index.d.ts +1 -0
- package/lib/tree-item/tree-item.d.ts +190 -128
- package/lib/tree-item/tree-item.template.d.ts +3 -3
- package/lib/tree-view/index.d.ts +1 -0
- package/lib/tree-view/tree-view.d.ts +93 -62
- package/lib/tree-view/tree-view.template.d.ts +2 -2
- package/lib/video-player/index.d.ts +1 -0
- package/lib/video-player/video-player.d.ts +96 -65
- package/lib/video-player/video-player.template.d.ts +1 -1
- package/lib/video-player/vivid-video-svg.d.ts +1 -1
- package/lib/visually-hidden/definition.d.ts +1 -1
- package/lib/visually-hidden/index.d.ts +1 -0
- package/lib/visually-hidden/visually-hidden.template.d.ts +1 -1
- package/locales/de-DE.cjs +3 -0
- package/locales/de-DE.d.ts +1 -1
- package/locales/de-DE.js +3 -0
- package/locales/en-GB.cjs +3 -0
- package/locales/en-GB.d.ts +1 -1
- package/locales/en-GB.js +3 -0
- package/locales/en-US.cjs +3 -0
- package/locales/en-US.d.ts +1 -1
- package/locales/en-US.js +3 -0
- package/locales/ja-JP.cjs +3 -0
- package/locales/ja-JP.d.ts +1 -1
- package/locales/ja-JP.js +3 -0
- package/locales/zh-CN.cjs +3 -0
- package/locales/zh-CN.d.ts +1 -1
- package/locales/zh-CN.js +3 -0
- package/package.json +6 -6
- package/rich-text-editor/definition.cjs +51 -24
- package/rich-text-editor/definition.js +52 -26
- package/rich-text-editor/index.cjs +7 -7
- package/rich-text-editor/index.js +1255 -1237
- package/rich-text-view/index.js +1 -1
- package/select/definition.cjs +104 -5
- package/select/definition.js +104 -5
- package/shared/aria/aria-change-subscription.d.ts +1 -1
- package/shared/aria/aria-mixin.d.ts +94 -63
- package/shared/aria/attribute-removal.d.ts +1 -1
- package/shared/aria/delegate-aria-behavior.d.ts +2 -2
- package/shared/aria/delegates-aria.d.ts +96 -65
- package/shared/aria/host-semantics-behavior.d.ts +2 -2
- package/shared/aria/host-semantics.d.ts +97 -66
- package/shared/color-picker/base-color-picker.d.ts +114 -82
- package/shared/datetime/dateRange.d.ts +1 -1
- package/shared/datetime/dateTimeStr.d.ts +4 -4
- package/shared/datetime/month.d.ts +1 -1
- package/shared/datetime/presentationDate.d.ts +2 -2
- package/shared/datetime/presentationDateRange.d.ts +2 -2
- package/shared/datetime/presentationDateTime.d.ts +2 -2
- package/shared/datetime/presentationTime.d.ts +1 -1
- package/shared/datetime/year.d.ts +1 -1
- package/shared/deprecation/replaced-props.d.ts +95 -60
- package/shared/design-system/createRegisterFunction.d.ts +1 -1
- package/shared/design-system/defineVividComponent.d.ts +1 -1
- package/shared/feedback/feedback-message.d.ts +96 -65
- package/shared/feedback/mixins.d.ts +200 -138
- package/shared/foundation/button/button.d.ts +202 -139
- package/shared/foundation/button/button.template.d.ts +2 -2
- package/shared/foundation/form-associated/form-associated.d.ts +213 -147
- package/shared/foundation/listbox/listbox.d.ts +1 -1
- package/shared/foundation/test-utilities/fixture.d.ts +18 -0
- package/shared/foundation/vivid-element/vivid-element.d.ts +194 -131
- package/shared/localization/Locale.d.ts +31 -29
- package/shared/localization/index.d.ts +1 -1
- package/shared/patterns/affix.d.ts +195 -133
- package/shared/patterns/anchored.d.ts +202 -140
- package/shared/patterns/char-count/char-count.d.ts +99 -68
- package/shared/patterns/chevron.d.ts +2 -2
- package/shared/patterns/form-elements/form-element.d.ts +114 -488
- package/shared/patterns/form-elements/with-contextual-help.d.ts +117 -903
- package/shared/patterns/form-elements/with-error-text.d.ts +120 -906
- package/shared/patterns/form-elements/with-success-text.d.ts +97 -66
- package/shared/patterns/linkable.d.ts +106 -117
- package/shared/patterns/localized.d.ts +197 -135
- package/shared/patterns/trapped-focus.d.ts +95 -64
- package/shared/picker-field/mixins/calendar-picker.d.ts +251 -188
- package/shared/picker-field/mixins/calendar-picker.template.d.ts +271 -208
- package/shared/picker-field/mixins/calendar-segments/calendarGrid.d.ts +3 -3
- package/shared/picker-field/mixins/calendar-segments/monthPickerGrid.d.ts +2 -2
- package/shared/picker-field/mixins/calendar-segments/segment.d.ts +2 -2
- package/shared/picker-field/mixins/inline-time-picker/columns.d.ts +2 -2
- package/shared/picker-field/mixins/inline-time-picker/index.d.ts +1 -0
- package/shared/picker-field/mixins/inline-time-picker/inline-time-picker.d.ts +95 -64
- package/shared/picker-field/mixins/inline-time-picker/inline-time-picker.template.d.ts +3 -3
- package/shared/picker-field/mixins/inline-time-picker/picker-option.d.ts +1 -1
- package/shared/picker-field/mixins/min-max-calendar-picker.d.ts +277 -1102
- package/shared/picker-field/mixins/single-date-picker.d.ts +274 -1953
- package/shared/picker-field/mixins/single-value-picker.d.ts +236 -173
- package/shared/picker-field/mixins/time-selection-picker.d.ts +257 -1046
- package/shared/picker-field/mixins/time-selection-picker.template.d.ts +486 -360
- package/shared/picker-field/picker-field.d.ts +735 -514
- package/shared/picker-field/picker-field.template.d.ts +2 -2
- package/shared/templating/attribute-binding-behaviour.d.ts +1 -1
- package/shared/templating/render-in-light-dom.d.ts +2 -2
- package/shared/utils/closest-of-type.d.ts +2 -0
- package/shared/utils/direct-children-of-type.d.ts +2 -0
- package/shared/utils/dom-traversal-types.d.ts +3 -0
- package/shared/utils/first-of-type.d.ts +2 -0
- package/shared/utils/last-of-type.d.ts +2 -0
- package/shared/utils/nested-children-of-type.d.ts +2 -0
- package/shared/utils/next-of-type.d.ts +2 -0
- package/shared/utils/numberConverter.d.ts +1 -1
- package/shared/utils/prev-of-type.d.ts +2 -0
- package/shared/utils/promise.d.ts +2 -2
- package/shared/utils/siblings-of-type.d.ts +2 -0
- package/styles/core/all.css +2 -2
- package/styles/core/theme.css +2 -2
- 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/unbundled/base-color-picker.cjs +2 -2
- package/unbundled/base-color-picker.js +2 -2
- package/unbundled/localized.cjs +1 -0
- package/unbundled/localized.js +1 -0
- package/unbundled/slottable-request.cjs +8 -5
- package/unbundled/slottable-request.js +8 -6
- package/unbundled/vivid-element.cjs +1 -1
- package/unbundled/vivid-element.js +1 -1
- package/vivid.api.json +759 -38
|
@@ -1,433 +1,28 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
readonly validity: ValidityState;
|
|
5
|
-
readonly form: HTMLFormElement | null;
|
|
6
|
-
readonly validationMessage: string;
|
|
7
|
-
readonly willValidate: boolean;
|
|
8
|
-
readonly labels: readonly Node[];
|
|
9
|
-
dirtyValue: boolean;
|
|
10
|
-
proxySlot?: HTMLSlotElement | undefined;
|
|
11
|
-
value: string;
|
|
12
|
-
valueChanged(_previous: string, _next: string): void;
|
|
13
|
-
currentValue: string;
|
|
14
|
-
initialValue: string;
|
|
15
|
-
initialValueChanged(_previous: string, _next: string): void;
|
|
16
|
-
disabled: boolean;
|
|
17
|
-
disabledChanged(_previous: boolean, _next: boolean): void;
|
|
18
|
-
name: string;
|
|
19
|
-
nameChanged(_previous: string, _next: string): void;
|
|
20
|
-
required: boolean;
|
|
21
|
-
requiredChanged(_previous: boolean, _next: boolean): void;
|
|
22
|
-
readonly elementInternals: ElementInternals | null;
|
|
23
|
-
proxyEventsToBlock: string[];
|
|
24
|
-
connectedCallback(): void;
|
|
25
|
-
disconnectedCallback(): void;
|
|
26
|
-
checkValidity(): boolean;
|
|
27
|
-
reportValidity(): boolean;
|
|
28
|
-
setValidity(flags: ValidityStateFlags, message?: string | undefined, anchor?: HTMLElement | undefined): void;
|
|
29
|
-
formDisabledCallback(disabled: boolean): void;
|
|
30
|
-
formResetCallback(): void;
|
|
31
|
-
proxyInitialized: boolean;
|
|
32
|
-
attachProxy(): void;
|
|
33
|
-
detachProxy(): void;
|
|
34
|
-
validate(anchor?: HTMLElement | undefined): void;
|
|
35
|
-
setFormValue(value: string | File | FormData | null, state?: string | File | FormData | null | undefined): void;
|
|
36
|
-
_keypressHandler(e: KeyboardEvent): void;
|
|
37
|
-
stopPropagation(e: Event): void;
|
|
38
|
-
_vividAriaBehaviour: import("../../aria/aria-mixin").VividAriaBehaviour;
|
|
39
|
-
readonly $fastController: import("@microsoft/fast-element").ElementController<HTMLElement>;
|
|
40
|
-
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
41
|
-
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
42
|
-
accessKey: string;
|
|
43
|
-
readonly accessKeyLabel: string;
|
|
44
|
-
autocapitalize: string;
|
|
45
|
-
dir: string;
|
|
46
|
-
draggable: boolean;
|
|
47
|
-
hidden: boolean;
|
|
48
|
-
inert: boolean;
|
|
49
|
-
innerText: string;
|
|
50
|
-
lang: string;
|
|
51
|
-
readonly offsetHeight: number;
|
|
52
|
-
readonly offsetLeft: number;
|
|
53
|
-
readonly offsetParent: Element | null;
|
|
54
|
-
readonly offsetTop: number;
|
|
55
|
-
readonly offsetWidth: number;
|
|
56
|
-
outerText: string;
|
|
57
|
-
spellcheck: boolean;
|
|
58
|
-
title: string;
|
|
59
|
-
translate: boolean;
|
|
60
|
-
attachInternals(): ElementInternals;
|
|
61
|
-
click(): void;
|
|
62
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
63
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
64
|
-
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
|
|
65
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
66
|
-
readonly attributes: NamedNodeMap;
|
|
67
|
-
readonly classList: DOMTokenList;
|
|
68
|
-
className: string;
|
|
69
|
-
readonly clientHeight: number;
|
|
70
|
-
readonly clientLeft: number;
|
|
71
|
-
readonly clientTop: number;
|
|
72
|
-
readonly clientWidth: number;
|
|
73
|
-
id: string;
|
|
74
|
-
readonly localName: string;
|
|
75
|
-
readonly namespaceURI: string | null;
|
|
76
|
-
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
77
|
-
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
78
|
-
outerHTML: string;
|
|
79
|
-
readonly ownerDocument: Document;
|
|
80
|
-
readonly part: DOMTokenList;
|
|
81
|
-
readonly prefix: string | null;
|
|
82
|
-
readonly scrollHeight: number;
|
|
83
|
-
scrollLeft: number;
|
|
84
|
-
scrollTop: number;
|
|
85
|
-
readonly scrollWidth: number;
|
|
86
|
-
readonly shadowRoot: ShadowRoot | null;
|
|
87
|
-
slot: string;
|
|
88
|
-
readonly tagName: string;
|
|
89
|
-
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
90
|
-
checkVisibility(options?: CheckVisibilityOptions | undefined): boolean;
|
|
91
|
-
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2] | null;
|
|
92
|
-
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3] | null;
|
|
93
|
-
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4] | null;
|
|
94
|
-
closest<E extends Element = Element>(selectors: string): E | null;
|
|
95
|
-
getAttribute(qualifiedName: string): string | null;
|
|
96
|
-
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
97
|
-
getAttributeNames(): string[];
|
|
98
|
-
getAttributeNode(qualifiedName: string): Attr | null;
|
|
99
|
-
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
|
100
|
-
getBoundingClientRect(): DOMRect;
|
|
101
|
-
getClientRects(): DOMRectList;
|
|
102
|
-
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
103
|
-
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
|
104
|
-
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
|
105
|
-
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
|
106
|
-
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
|
107
|
-
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
108
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
109
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
110
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
111
|
-
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
112
|
-
hasAttribute(qualifiedName: string): boolean;
|
|
113
|
-
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
114
|
-
hasAttributes(): boolean;
|
|
115
|
-
hasPointerCapture(pointerId: number): boolean;
|
|
116
|
-
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
117
|
-
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
118
|
-
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
119
|
-
matches(selectors: string): boolean;
|
|
120
|
-
releasePointerCapture(pointerId: number): void;
|
|
121
|
-
removeAttribute(qualifiedName: string): void;
|
|
122
|
-
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
123
|
-
removeAttributeNode(attr: Attr): Attr;
|
|
124
|
-
requestFullscreen(options?: FullscreenOptions | undefined): Promise<void>;
|
|
125
|
-
requestPointerLock(): void;
|
|
126
|
-
scroll(options?: ScrollToOptions | undefined): void;
|
|
127
|
-
scroll(x: number, y: number): void;
|
|
128
|
-
scrollBy(options?: ScrollToOptions | undefined): void;
|
|
129
|
-
scrollBy(x: number, y: number): void;
|
|
130
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions | undefined): void;
|
|
131
|
-
scrollTo(options?: ScrollToOptions | undefined): void;
|
|
132
|
-
scrollTo(x: number, y: number): void;
|
|
133
|
-
setAttribute(qualifiedName: string, value: string): void;
|
|
134
|
-
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
135
|
-
setAttributeNode(attr: Attr): Attr | null;
|
|
136
|
-
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
137
|
-
setPointerCapture(pointerId: number): void;
|
|
138
|
-
toggleAttribute(qualifiedName: string, force?: boolean | undefined): boolean;
|
|
139
|
-
webkitMatchesSelector(selectors: string): boolean;
|
|
140
|
-
readonly baseURI: string;
|
|
141
|
-
readonly childNodes: NodeListOf<ChildNode>;
|
|
142
|
-
readonly firstChild: ChildNode | null;
|
|
143
|
-
readonly isConnected: boolean;
|
|
144
|
-
readonly lastChild: ChildNode | null;
|
|
145
|
-
readonly nextSibling: ChildNode | null;
|
|
146
|
-
readonly nodeName: string;
|
|
147
|
-
readonly nodeType: number;
|
|
148
|
-
nodeValue: string | null;
|
|
149
|
-
readonly parentElement: HTMLElement | null;
|
|
150
|
-
readonly parentNode: ParentNode | null;
|
|
151
|
-
readonly previousSibling: ChildNode | null;
|
|
152
|
-
textContent: string | null;
|
|
153
|
-
appendChild<T extends Node>(node: T): T;
|
|
154
|
-
cloneNode(deep?: boolean | undefined): Node;
|
|
155
|
-
compareDocumentPosition(other: Node): number;
|
|
156
|
-
contains(other: Node | null): boolean;
|
|
157
|
-
getRootNode(options?: GetRootNodeOptions | undefined): Node;
|
|
158
|
-
hasChildNodes(): boolean;
|
|
159
|
-
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
|
160
|
-
isDefaultNamespace(namespace: string | null): boolean;
|
|
161
|
-
isEqualNode(otherNode: Node | null): boolean;
|
|
162
|
-
isSameNode(otherNode: Node | null): boolean;
|
|
163
|
-
lookupNamespaceURI(prefix: string | null): string | null;
|
|
164
|
-
lookupPrefix(namespace: string | null): string | null;
|
|
165
|
-
normalize(): void;
|
|
166
|
-
removeChild<T_2 extends Node>(child: T_2): T_2;
|
|
167
|
-
replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
|
|
168
|
-
readonly ELEMENT_NODE: 1;
|
|
169
|
-
readonly ATTRIBUTE_NODE: 2;
|
|
170
|
-
readonly TEXT_NODE: 3;
|
|
171
|
-
readonly CDATA_SECTION_NODE: 4;
|
|
172
|
-
readonly ENTITY_REFERENCE_NODE: 5;
|
|
173
|
-
readonly ENTITY_NODE: 6;
|
|
174
|
-
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
175
|
-
readonly COMMENT_NODE: 8;
|
|
176
|
-
readonly DOCUMENT_NODE: 9;
|
|
177
|
-
readonly DOCUMENT_TYPE_NODE: 10;
|
|
178
|
-
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
179
|
-
readonly NOTATION_NODE: 12;
|
|
180
|
-
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
181
|
-
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
182
|
-
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
183
|
-
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
184
|
-
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
185
|
-
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
186
|
-
dispatchEvent(event: Event): boolean;
|
|
187
|
-
ariaAtomic: string | null;
|
|
188
|
-
ariaAutoComplete: string | null;
|
|
189
|
-
ariaBusy: string | null;
|
|
190
|
-
ariaChecked: string | null;
|
|
191
|
-
ariaColCount: string | null;
|
|
192
|
-
ariaColIndex: string | null;
|
|
193
|
-
ariaColSpan: string | null;
|
|
194
|
-
ariaCurrent: string | null;
|
|
195
|
-
ariaDisabled: string | null;
|
|
196
|
-
ariaExpanded: string | null;
|
|
197
|
-
ariaHasPopup: string | null;
|
|
198
|
-
ariaHidden: string | null;
|
|
199
|
-
ariaInvalid: string | null;
|
|
200
|
-
ariaKeyShortcuts: string | null;
|
|
201
|
-
ariaLabel: string | null;
|
|
202
|
-
ariaLevel: string | null;
|
|
203
|
-
ariaLive: string | null;
|
|
204
|
-
ariaModal: string | null;
|
|
205
|
-
ariaMultiLine: string | null;
|
|
206
|
-
ariaMultiSelectable: string | null;
|
|
207
|
-
ariaOrientation: string | null;
|
|
208
|
-
ariaPlaceholder: string | null;
|
|
209
|
-
ariaPosInSet: string | null;
|
|
210
|
-
ariaPressed: string | null;
|
|
211
|
-
ariaReadOnly: string | null;
|
|
212
|
-
ariaRequired: string | null;
|
|
213
|
-
ariaRoleDescription: string | null;
|
|
214
|
-
ariaRowCount: string | null;
|
|
215
|
-
ariaRowIndex: string | null;
|
|
216
|
-
ariaRowSpan: string | null;
|
|
217
|
-
ariaSelected: string | null;
|
|
218
|
-
ariaSetSize: string | null;
|
|
219
|
-
ariaSort: string | null;
|
|
220
|
-
ariaValueMax: string | null;
|
|
221
|
-
ariaValueMin: string | null;
|
|
222
|
-
ariaValueNow: string | null;
|
|
223
|
-
ariaValueText: string | null;
|
|
224
|
-
role: string | null;
|
|
225
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined): Animation;
|
|
226
|
-
getAnimations(options?: GetAnimationsOptions | undefined): Animation[];
|
|
227
|
-
after(...nodes: (string | Node)[]): void;
|
|
228
|
-
before(...nodes: (string | Node)[]): void;
|
|
229
|
-
remove(): void;
|
|
230
|
-
replaceWith(...nodes: (string | Node)[]): void;
|
|
231
|
-
innerHTML: string;
|
|
232
|
-
readonly nextElementSibling: Element | null;
|
|
233
|
-
readonly previousElementSibling: Element | null;
|
|
234
|
-
readonly childElementCount: number;
|
|
235
|
-
readonly children: HTMLCollection;
|
|
236
|
-
readonly firstElementChild: Element | null;
|
|
237
|
-
readonly lastElementChild: Element | null;
|
|
238
|
-
append(...nodes: (string | Node)[]): void;
|
|
239
|
-
prepend(...nodes: (string | Node)[]): void;
|
|
240
|
-
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9] | null;
|
|
241
|
-
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10] | null;
|
|
242
|
-
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11] | null;
|
|
243
|
-
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12] | null;
|
|
244
|
-
querySelector<E_1 extends Element = Element>(selectors: string): E_1 | null;
|
|
245
|
-
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
|
|
246
|
-
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
|
|
247
|
-
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
|
248
|
-
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
|
249
|
-
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
250
|
-
replaceChildren(...nodes: (string | Node)[]): void;
|
|
251
|
-
readonly assignedSlot: HTMLSlotElement | null;
|
|
252
|
-
readonly style: CSSStyleDeclaration;
|
|
253
|
-
contentEditable: string;
|
|
254
|
-
enterKeyHint: string;
|
|
255
|
-
inputMode: string;
|
|
256
|
-
readonly isContentEditable: boolean;
|
|
257
|
-
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
258
|
-
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
259
|
-
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
260
|
-
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
261
|
-
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
262
|
-
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
263
|
-
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
264
|
-
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
265
|
-
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
266
|
-
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
267
|
-
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
268
|
-
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
269
|
-
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
270
|
-
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
271
|
-
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
272
|
-
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
273
|
-
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
274
|
-
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
275
|
-
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
276
|
-
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
277
|
-
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
278
|
-
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
279
|
-
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
280
|
-
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
281
|
-
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
282
|
-
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
283
|
-
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
284
|
-
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
285
|
-
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
286
|
-
onerror: OnErrorEventHandler;
|
|
287
|
-
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
288
|
-
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
289
|
-
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
290
|
-
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
291
|
-
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
292
|
-
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
293
|
-
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
294
|
-
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
295
|
-
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
296
|
-
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
297
|
-
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
298
|
-
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
299
|
-
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
300
|
-
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
301
|
-
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
302
|
-
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
303
|
-
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
304
|
-
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
305
|
-
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
306
|
-
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
307
|
-
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
308
|
-
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
309
|
-
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
310
|
-
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
311
|
-
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
312
|
-
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
313
|
-
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
314
|
-
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
315
|
-
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
316
|
-
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
317
|
-
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
318
|
-
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
319
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
|
|
320
|
-
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
321
|
-
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
322
|
-
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
323
|
-
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
324
|
-
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
325
|
-
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
326
|
-
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
327
|
-
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
328
|
-
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
329
|
-
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
330
|
-
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
331
|
-
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
332
|
-
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
333
|
-
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
334
|
-
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
335
|
-
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
336
|
-
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
337
|
-
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
338
|
-
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
339
|
-
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
340
|
-
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
341
|
-
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
342
|
-
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
343
|
-
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
344
|
-
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
345
|
-
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
346
|
-
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
347
|
-
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
348
|
-
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
349
|
-
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
350
|
-
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
351
|
-
autofocus: boolean;
|
|
352
|
-
readonly dataset: DOMStringMap;
|
|
353
|
-
nonce?: string | undefined;
|
|
354
|
-
tabIndex: number;
|
|
355
|
-
blur(): void;
|
|
356
|
-
focus(options?: FocusOptions | undefined): void;
|
|
357
|
-
ariaColIndexText: string | null;
|
|
358
|
-
ariaDescription: string | null;
|
|
359
|
-
ariaRowIndexText: string | null;
|
|
360
|
-
ariaRelevant: string | null;
|
|
361
|
-
roleChanged(prev: string | null, next: string | null): void;
|
|
362
|
-
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
363
|
-
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
364
|
-
ariaBusyChanged(prev: string | null, next: string | null): void;
|
|
365
|
-
ariaCheckedChanged(prev: string | null, next: string | null): void;
|
|
366
|
-
ariaColCountChanged(prev: string | null, next: string | null): void;
|
|
367
|
-
ariaColIndexChanged(prev: string | null, next: string | null): void;
|
|
368
|
-
ariaColIndexTextChanged(prev: string | null, next: string | null): void;
|
|
369
|
-
ariaColSpanChanged(prev: string | null, next: string | null): void;
|
|
370
|
-
ariaCurrentChanged(prev: string | null, next: string | null): void;
|
|
371
|
-
ariaDescriptionChanged(prev: string | null, next: string | null): void;
|
|
372
|
-
ariaDisabledChanged(prev: string | null, next: string | null): void;
|
|
373
|
-
ariaExpandedChanged(prev: string | null, next: string | null): void;
|
|
374
|
-
ariaHasPopupChanged(prev: string | null, next: string | null): void;
|
|
375
|
-
ariaHiddenChanged(prev: string | null, next: string | null): void;
|
|
376
|
-
ariaInvalidChanged(prev: string | null, next: string | null): void;
|
|
377
|
-
ariaKeyShortcutsChanged(prev: string | null, next: string | null): void;
|
|
378
|
-
ariaLabelChanged(prev: string | null, next: string | null): void;
|
|
379
|
-
ariaLevelChanged(prev: string | null, next: string | null): void;
|
|
380
|
-
ariaLiveChanged(prev: string | null, next: string | null): void;
|
|
381
|
-
ariaModalChanged(prev: string | null, next: string | null): void;
|
|
382
|
-
ariaMultiLineChanged(prev: string | null, next: string | null): void;
|
|
383
|
-
ariaMultiSelectableChanged(prev: string | null, next: string | null): void;
|
|
384
|
-
ariaOrientationChanged(prev: string | null, next: string | null): void;
|
|
385
|
-
ariaPlaceholderChanged(prev: string | null, next: string | null): void;
|
|
386
|
-
ariaPosInSetChanged(prev: string | null, next: string | null): void;
|
|
387
|
-
ariaPressedChanged(prev: string | null, next: string | null): void;
|
|
388
|
-
ariaReadOnlyChanged(prev: string | null, next: string | null): void;
|
|
389
|
-
ariaRequiredChanged(prev: string | null, next: string | null): void;
|
|
390
|
-
ariaRoleDescriptionChanged(prev: string | null, next: string | null): void;
|
|
391
|
-
ariaRowCountChanged(prev: string | null, next: string | null): void;
|
|
392
|
-
ariaRowIndexChanged(prev: string | null, next: string | null): void;
|
|
393
|
-
ariaRowIndexTextChanged(prev: string | null, next: string | null): void;
|
|
394
|
-
ariaRowSpanChanged(prev: string | null, next: string | null): void;
|
|
395
|
-
ariaSelectedChanged(prev: string | null, next: string | null): void;
|
|
396
|
-
ariaSetSizeChanged(prev: string | null, next: string | null): void;
|
|
397
|
-
ariaSortChanged(prev: string | null, next: string | null): void;
|
|
398
|
-
ariaValueMaxChanged(prev: string | null, next: string | null): void;
|
|
399
|
-
ariaValueMinChanged(prev: string | null, next: string | null): void;
|
|
400
|
-
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
401
|
-
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
402
|
-
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
403
|
-
"__#1@#handleReplacedProp"(replacedProp: {
|
|
404
|
-
newPropertyName: string;
|
|
405
|
-
deprecatedPropertyName: string;
|
|
406
|
-
fromDeprecated: (v: any) => any;
|
|
407
|
-
toDeprecated?: ((v: any) => any) | undefined;
|
|
408
|
-
}): void;
|
|
409
|
-
} & import("../../foundation/vivid-element/vivid-element").VividElement>>(Base: T_4) => {
|
|
1
|
+
import { Constructor, MixinType } from '../../utils/mixins';
|
|
2
|
+
import { FormAssociatedElement } from '../../foundation/form-associated/form-associated';
|
|
3
|
+
export declare const FormElement: <T extends Constructor<FormAssociatedElement>>(Base: T) => {
|
|
410
4
|
new (...args: any[]): {
|
|
411
|
-
label?: string
|
|
5
|
+
label?: string;
|
|
412
6
|
errorValidationMessage: string;
|
|
413
7
|
forceErrorDisplay: boolean;
|
|
414
8
|
hasBeenTouched: boolean;
|
|
415
9
|
connectedCallback(): void;
|
|
416
|
-
"__#
|
|
10
|
+
"__#private@#handleInvalidEvent": () => void;
|
|
417
11
|
disconnectedCallback(): void;
|
|
418
12
|
formResetCallback(): void;
|
|
419
13
|
validate(): void;
|
|
420
|
-
proxy: import(
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
14
|
+
proxy: import('../../foundation/form-associated/form-associated').ProxyElement;
|
|
15
|
+
get validity(): ValidityState;
|
|
16
|
+
get form(): HTMLFormElement | null;
|
|
17
|
+
get validationMessage(): string;
|
|
18
|
+
get willValidate(): boolean;
|
|
19
|
+
get labels(): ReadonlyArray<Node>;
|
|
426
20
|
dirtyValue: boolean;
|
|
427
|
-
proxySlot?: HTMLSlotElement
|
|
21
|
+
proxySlot?: HTMLSlotElement;
|
|
428
22
|
value: string;
|
|
429
23
|
valueChanged(_previous: string, _next: string): void;
|
|
430
|
-
currentValue: string;
|
|
24
|
+
get currentValue(): string;
|
|
25
|
+
set currentValue(value: string);
|
|
431
26
|
initialValue: string;
|
|
432
27
|
initialValueChanged(_previous: string, _next: string): void;
|
|
433
28
|
disabled: boolean;
|
|
@@ -436,25 +31,26 @@ export declare const FormElement: <T_4 extends Constructor<{
|
|
|
436
31
|
nameChanged(_previous: string, _next: string): void;
|
|
437
32
|
required: boolean;
|
|
438
33
|
requiredChanged(_previous: boolean, _next: boolean): void;
|
|
439
|
-
|
|
34
|
+
get elementInternals(): ElementInternals | null;
|
|
440
35
|
proxyEventsToBlock: string[];
|
|
441
36
|
checkValidity(): boolean;
|
|
442
37
|
reportValidity(): boolean;
|
|
443
|
-
setValidity(flags: ValidityStateFlags, message?: string
|
|
38
|
+
setValidity(flags: ValidityStateFlags, message?: string, anchor?: HTMLElement): void;
|
|
444
39
|
formDisabledCallback(disabled: boolean): void;
|
|
445
40
|
proxyInitialized: boolean;
|
|
446
41
|
attachProxy(): void;
|
|
447
42
|
detachProxy(): void;
|
|
448
|
-
setFormValue(value:
|
|
43
|
+
setFormValue(value: File | string | FormData | null, state?: File | string | FormData | null): void;
|
|
449
44
|
_keypressHandler(e: KeyboardEvent): void;
|
|
450
45
|
stopPropagation(e: Event): void;
|
|
451
|
-
_vividAriaBehaviour: import(
|
|
452
|
-
readonly $fastController: import(
|
|
453
|
-
$emit(type: string, detail?: any, options?: Omit<CustomEventInit
|
|
46
|
+
_vividAriaBehaviour: import('../../aria/aria-mixin').VividAriaBehaviour;
|
|
47
|
+
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
48
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
454
49
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
455
50
|
accessKey: string;
|
|
456
51
|
readonly accessKeyLabel: string;
|
|
457
52
|
autocapitalize: string;
|
|
53
|
+
autocorrect: boolean;
|
|
458
54
|
dir: string;
|
|
459
55
|
draggable: boolean;
|
|
460
56
|
hidden: boolean;
|
|
@@ -467,30 +63,39 @@ export declare const FormElement: <T_4 extends Constructor<{
|
|
|
467
63
|
readonly offsetTop: number;
|
|
468
64
|
readonly offsetWidth: number;
|
|
469
65
|
outerText: string;
|
|
66
|
+
popover: string | null;
|
|
470
67
|
spellcheck: boolean;
|
|
471
68
|
title: string;
|
|
472
69
|
translate: boolean;
|
|
70
|
+
writingSuggestions: string;
|
|
473
71
|
attachInternals(): ElementInternals;
|
|
474
72
|
click(): void;
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
73
|
+
hidePopover(): void;
|
|
74
|
+
showPopover(): void;
|
|
75
|
+
togglePopover(options?: boolean): boolean;
|
|
76
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
77
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
78
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
79
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
479
80
|
readonly attributes: NamedNodeMap;
|
|
480
|
-
|
|
81
|
+
get classList(): DOMTokenList;
|
|
82
|
+
set classList(value: string);
|
|
481
83
|
className: string;
|
|
482
84
|
readonly clientHeight: number;
|
|
483
85
|
readonly clientLeft: number;
|
|
484
86
|
readonly clientTop: number;
|
|
485
87
|
readonly clientWidth: number;
|
|
88
|
+
readonly currentCSSZoom: number;
|
|
486
89
|
id: string;
|
|
90
|
+
innerHTML: string;
|
|
487
91
|
readonly localName: string;
|
|
488
92
|
readonly namespaceURI: string | null;
|
|
489
93
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
490
94
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
491
95
|
outerHTML: string;
|
|
492
96
|
readonly ownerDocument: Document;
|
|
493
|
-
|
|
97
|
+
get part(): DOMTokenList;
|
|
98
|
+
set part(value: string);
|
|
494
99
|
readonly prefix: string | null;
|
|
495
100
|
readonly scrollHeight: number;
|
|
496
101
|
scrollLeft: number;
|
|
@@ -500,11 +105,12 @@ export declare const FormElement: <T_4 extends Constructor<{
|
|
|
500
105
|
slot: string;
|
|
501
106
|
readonly tagName: string;
|
|
502
107
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
503
|
-
checkVisibility(options?: CheckVisibilityOptions
|
|
504
|
-
closest<
|
|
505
|
-
closest<
|
|
506
|
-
closest<
|
|
507
|
-
closest<
|
|
108
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
109
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
110
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
111
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
112
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
113
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
508
114
|
getAttribute(qualifiedName: string): string | null;
|
|
509
115
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
510
116
|
getAttributeNames(): string[];
|
|
@@ -513,43 +119,47 @@ export declare const FormElement: <T_4 extends Constructor<{
|
|
|
513
119
|
getBoundingClientRect(): DOMRect;
|
|
514
120
|
getClientRects(): DOMRectList;
|
|
515
121
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
516
|
-
getElementsByTagName<
|
|
517
|
-
getElementsByTagName<
|
|
518
|
-
getElementsByTagName<
|
|
519
|
-
getElementsByTagName<
|
|
122
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
123
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
124
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
125
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
520
126
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
521
127
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
522
128
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
523
129
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
524
130
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
131
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
525
132
|
hasAttribute(qualifiedName: string): boolean;
|
|
526
133
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
527
134
|
hasAttributes(): boolean;
|
|
528
135
|
hasPointerCapture(pointerId: number): boolean;
|
|
529
136
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
530
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
137
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
531
138
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
532
139
|
matches(selectors: string): boolean;
|
|
533
140
|
releasePointerCapture(pointerId: number): void;
|
|
534
141
|
removeAttribute(qualifiedName: string): void;
|
|
535
142
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
536
143
|
removeAttributeNode(attr: Attr): Attr;
|
|
537
|
-
requestFullscreen(options?: FullscreenOptions
|
|
538
|
-
requestPointerLock(): void
|
|
539
|
-
scroll(options?: ScrollToOptions
|
|
144
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
145
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
146
|
+
scroll(options?: ScrollToOptions): void;
|
|
540
147
|
scroll(x: number, y: number): void;
|
|
541
|
-
scrollBy(options?: ScrollToOptions
|
|
148
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
542
149
|
scrollBy(x: number, y: number): void;
|
|
543
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
|
544
|
-
scrollTo(options?: ScrollToOptions
|
|
150
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
151
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
545
152
|
scrollTo(x: number, y: number): void;
|
|
546
153
|
setAttribute(qualifiedName: string, value: string): void;
|
|
547
154
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
548
155
|
setAttributeNode(attr: Attr): Attr | null;
|
|
549
156
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
157
|
+
setHTMLUnsafe(html: string): void;
|
|
550
158
|
setPointerCapture(pointerId: number): void;
|
|
551
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
|
159
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
552
160
|
webkitMatchesSelector(selectors: string): boolean;
|
|
161
|
+
get textContent(): string;
|
|
162
|
+
set textContent(value: string | null);
|
|
553
163
|
readonly baseURI: string;
|
|
554
164
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
555
165
|
readonly firstChild: ChildNode | null;
|
|
@@ -562,22 +172,21 @@ export declare const FormElement: <T_4 extends Constructor<{
|
|
|
562
172
|
readonly parentElement: HTMLElement | null;
|
|
563
173
|
readonly parentNode: ParentNode | null;
|
|
564
174
|
readonly previousSibling: ChildNode | null;
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
cloneNode(deep?: boolean | undefined): Node;
|
|
175
|
+
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
176
|
+
cloneNode(subtree?: boolean): Node;
|
|
568
177
|
compareDocumentPosition(other: Node): number;
|
|
569
178
|
contains(other: Node | null): boolean;
|
|
570
|
-
getRootNode(options?: GetRootNodeOptions
|
|
179
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
571
180
|
hasChildNodes(): boolean;
|
|
572
|
-
insertBefore<
|
|
181
|
+
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
|
573
182
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
574
183
|
isEqualNode(otherNode: Node | null): boolean;
|
|
575
184
|
isSameNode(otherNode: Node | null): boolean;
|
|
576
185
|
lookupNamespaceURI(prefix: string | null): string | null;
|
|
577
186
|
lookupPrefix(namespace: string | null): string | null;
|
|
578
187
|
normalize(): void;
|
|
579
|
-
removeChild<
|
|
580
|
-
replaceChild<
|
|
188
|
+
removeChild<T_1 extends Node>(child: T_1): T_1;
|
|
189
|
+
replaceChild<T_1 extends Node>(node: Node, child: T_1): T_1;
|
|
581
190
|
readonly ELEMENT_NODE: 1;
|
|
582
191
|
readonly ATTRIBUTE_NODE: 2;
|
|
583
192
|
readonly TEXT_NODE: 3;
|
|
@@ -597,35 +206,49 @@ export declare const FormElement: <T_4 extends Constructor<{
|
|
|
597
206
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
598
207
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
599
208
|
dispatchEvent(event: Event): boolean;
|
|
209
|
+
ariaActiveDescendantElement: Element | null;
|
|
600
210
|
ariaAtomic: string | null;
|
|
601
211
|
ariaAutoComplete: string | null;
|
|
212
|
+
ariaBrailleLabel: string | null;
|
|
213
|
+
ariaBrailleRoleDescription: string | null;
|
|
602
214
|
ariaBusy: string | null;
|
|
603
215
|
ariaChecked: string | null;
|
|
604
216
|
ariaColCount: string | null;
|
|
605
217
|
ariaColIndex: string | null;
|
|
218
|
+
ariaColIndexText: string | null;
|
|
606
219
|
ariaColSpan: string | null;
|
|
220
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
607
221
|
ariaCurrent: string | null;
|
|
222
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
223
|
+
ariaDescription: string | null;
|
|
224
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
608
225
|
ariaDisabled: string | null;
|
|
226
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
609
227
|
ariaExpanded: string | null;
|
|
228
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
610
229
|
ariaHasPopup: string | null;
|
|
611
230
|
ariaHidden: string | null;
|
|
612
231
|
ariaInvalid: string | null;
|
|
613
232
|
ariaKeyShortcuts: string | null;
|
|
614
233
|
ariaLabel: string | null;
|
|
234
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
615
235
|
ariaLevel: string | null;
|
|
616
236
|
ariaLive: string | null;
|
|
617
237
|
ariaModal: string | null;
|
|
618
238
|
ariaMultiLine: string | null;
|
|
619
239
|
ariaMultiSelectable: string | null;
|
|
620
240
|
ariaOrientation: string | null;
|
|
241
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
621
242
|
ariaPlaceholder: string | null;
|
|
622
243
|
ariaPosInSet: string | null;
|
|
623
244
|
ariaPressed: string | null;
|
|
624
245
|
ariaReadOnly: string | null;
|
|
246
|
+
ariaRelevant: string | null;
|
|
625
247
|
ariaRequired: string | null;
|
|
626
248
|
ariaRoleDescription: string | null;
|
|
627
249
|
ariaRowCount: string | null;
|
|
628
250
|
ariaRowIndex: string | null;
|
|
251
|
+
ariaRowIndexText: string | null;
|
|
629
252
|
ariaRowSpan: string | null;
|
|
630
253
|
ariaSelected: string | null;
|
|
631
254
|
ariaSetSize: string | null;
|
|
@@ -635,34 +258,35 @@ export declare const FormElement: <T_4 extends Constructor<{
|
|
|
635
258
|
ariaValueNow: string | null;
|
|
636
259
|
ariaValueText: string | null;
|
|
637
260
|
role: string | null;
|
|
638
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
|
639
|
-
getAnimations(options?: GetAnimationsOptions
|
|
640
|
-
after(...nodes: (
|
|
641
|
-
before(...nodes: (
|
|
261
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
262
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
263
|
+
after(...nodes: (Node | string)[]): void;
|
|
264
|
+
before(...nodes: (Node | string)[]): void;
|
|
642
265
|
remove(): void;
|
|
643
|
-
replaceWith(...nodes: (
|
|
644
|
-
innerHTML: string;
|
|
266
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
645
267
|
readonly nextElementSibling: Element | null;
|
|
646
268
|
readonly previousElementSibling: Element | null;
|
|
647
269
|
readonly childElementCount: number;
|
|
648
270
|
readonly children: HTMLCollection;
|
|
649
271
|
readonly firstElementChild: Element | null;
|
|
650
272
|
readonly lastElementChild: Element | null;
|
|
651
|
-
append(...nodes: (
|
|
652
|
-
prepend(...nodes: (
|
|
653
|
-
querySelector<
|
|
654
|
-
querySelector<
|
|
655
|
-
querySelector<
|
|
656
|
-
querySelector<
|
|
657
|
-
querySelector<
|
|
658
|
-
querySelectorAll<
|
|
659
|
-
querySelectorAll<
|
|
660
|
-
querySelectorAll<
|
|
661
|
-
querySelectorAll<
|
|
662
|
-
querySelectorAll<
|
|
663
|
-
replaceChildren(...nodes: (
|
|
273
|
+
append(...nodes: (Node | string)[]): void;
|
|
274
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
275
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
276
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
277
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
278
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
279
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
280
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
281
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
282
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
283
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
284
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
285
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
664
286
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
665
|
-
readonly
|
|
287
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
288
|
+
get style(): CSSStyleDeclaration;
|
|
289
|
+
set style(cssText: string);
|
|
666
290
|
contentEditable: string;
|
|
667
291
|
enterKeyHint: string;
|
|
668
292
|
inputMode: string;
|
|
@@ -672,16 +296,20 @@ export declare const FormElement: <T_4 extends Constructor<{
|
|
|
672
296
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
673
297
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
674
298
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
675
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
299
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
676
300
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
301
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
302
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
677
303
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
678
304
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
679
305
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
680
306
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
681
307
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
682
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
308
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
683
309
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
684
|
-
|
|
310
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
311
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
312
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
685
313
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
686
314
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
687
315
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -728,12 +356,14 @@ export declare const FormElement: <T_4 extends Constructor<{
|
|
|
728
356
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
729
357
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
730
358
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
359
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
731
360
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
732
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
|
361
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
733
362
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
734
363
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
735
364
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
736
365
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
366
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
737
367
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
738
368
|
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
739
369
|
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -745,7 +375,7 @@ export declare const FormElement: <T_4 extends Constructor<{
|
|
|
745
375
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
746
376
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
747
377
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
748
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
378
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
749
379
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
750
380
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
751
381
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -763,14 +393,10 @@ export declare const FormElement: <T_4 extends Constructor<{
|
|
|
763
393
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
764
394
|
autofocus: boolean;
|
|
765
395
|
readonly dataset: DOMStringMap;
|
|
766
|
-
nonce?: string
|
|
396
|
+
nonce?: string;
|
|
767
397
|
tabIndex: number;
|
|
768
398
|
blur(): void;
|
|
769
|
-
focus(options?: FocusOptions
|
|
770
|
-
ariaColIndexText: string | null;
|
|
771
|
-
ariaDescription: string | null;
|
|
772
|
-
ariaRowIndexText: string | null;
|
|
773
|
-
ariaRelevant: string | null;
|
|
399
|
+
focus(options?: FocusOptions): void;
|
|
774
400
|
roleChanged(prev: string | null, next: string | null): void;
|
|
775
401
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
776
402
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -813,12 +439,12 @@ export declare const FormElement: <T_4 extends Constructor<{
|
|
|
813
439
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
814
440
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
815
441
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
816
|
-
"__#
|
|
442
|
+
"__#private@#handleReplacedProp"(replacedProp: {
|
|
817
443
|
newPropertyName: string;
|
|
818
444
|
deprecatedPropertyName: string;
|
|
819
445
|
fromDeprecated: (v: any) => any;
|
|
820
446
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
821
447
|
}): void;
|
|
822
448
|
};
|
|
823
|
-
} &
|
|
449
|
+
} & T;
|
|
824
450
|
export type FormElementElement = MixinType<typeof FormElement>;
|