@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,15 +1,16 @@
|
|
|
1
1
|
import { FASTElement } from '@microsoft/fast-element';
|
|
2
2
|
declare const VividElement_base: {
|
|
3
3
|
new (...args: any[]): {
|
|
4
|
-
_vividAriaBehaviour: import(
|
|
4
|
+
_vividAriaBehaviour: import('../../aria/aria-mixin').VividAriaBehaviour;
|
|
5
5
|
connectedCallback(): void;
|
|
6
|
-
readonly $fastController: import(
|
|
7
|
-
$emit(type: string, detail?: any, options?: Omit<CustomEventInit
|
|
6
|
+
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
7
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
8
8
|
disconnectedCallback(): void;
|
|
9
9
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
10
10
|
accessKey: string;
|
|
11
11
|
readonly accessKeyLabel: string;
|
|
12
12
|
autocapitalize: string;
|
|
13
|
+
autocorrect: boolean;
|
|
13
14
|
dir: string;
|
|
14
15
|
draggable: boolean;
|
|
15
16
|
hidden: boolean;
|
|
@@ -22,30 +23,39 @@ declare const VividElement_base: {
|
|
|
22
23
|
readonly offsetTop: number;
|
|
23
24
|
readonly offsetWidth: number;
|
|
24
25
|
outerText: string;
|
|
26
|
+
popover: string | null;
|
|
25
27
|
spellcheck: boolean;
|
|
26
28
|
title: string;
|
|
27
29
|
translate: boolean;
|
|
30
|
+
writingSuggestions: string;
|
|
28
31
|
attachInternals(): ElementInternals;
|
|
29
32
|
click(): void;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
33
|
+
hidePopover(): void;
|
|
34
|
+
showPopover(): void;
|
|
35
|
+
togglePopover(options?: boolean): boolean;
|
|
36
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
37
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
38
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
39
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
34
40
|
readonly attributes: NamedNodeMap;
|
|
35
|
-
|
|
41
|
+
get classList(): DOMTokenList;
|
|
42
|
+
set classList(value: string);
|
|
36
43
|
className: string;
|
|
37
44
|
readonly clientHeight: number;
|
|
38
45
|
readonly clientLeft: number;
|
|
39
46
|
readonly clientTop: number;
|
|
40
47
|
readonly clientWidth: number;
|
|
48
|
+
readonly currentCSSZoom: number;
|
|
41
49
|
id: string;
|
|
50
|
+
innerHTML: string;
|
|
42
51
|
readonly localName: string;
|
|
43
52
|
readonly namespaceURI: string | null;
|
|
44
53
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
45
54
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
46
55
|
outerHTML: string;
|
|
47
56
|
readonly ownerDocument: Document;
|
|
48
|
-
|
|
57
|
+
get part(): DOMTokenList;
|
|
58
|
+
set part(value: string);
|
|
49
59
|
readonly prefix: string | null;
|
|
50
60
|
readonly scrollHeight: number;
|
|
51
61
|
scrollLeft: number;
|
|
@@ -55,11 +65,12 @@ declare const VividElement_base: {
|
|
|
55
65
|
slot: string;
|
|
56
66
|
readonly tagName: string;
|
|
57
67
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
58
|
-
checkVisibility(options?: CheckVisibilityOptions
|
|
59
|
-
closest<
|
|
60
|
-
closest<
|
|
61
|
-
closest<
|
|
68
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
69
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
70
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
71
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
62
72
|
closest<E extends Element = Element>(selectors: string): E | null;
|
|
73
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
63
74
|
getAttribute(qualifiedName: string): string | null;
|
|
64
75
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
65
76
|
getAttributeNames(): string[];
|
|
@@ -68,43 +79,47 @@ declare const VividElement_base: {
|
|
|
68
79
|
getBoundingClientRect(): DOMRect;
|
|
69
80
|
getClientRects(): DOMRectList;
|
|
70
81
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
71
|
-
getElementsByTagName<
|
|
72
|
-
getElementsByTagName<
|
|
73
|
-
getElementsByTagName<
|
|
74
|
-
getElementsByTagName<
|
|
82
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
83
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
84
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
85
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
75
86
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
76
87
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
77
88
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
78
89
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
79
90
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
91
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
80
92
|
hasAttribute(qualifiedName: string): boolean;
|
|
81
93
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
82
94
|
hasAttributes(): boolean;
|
|
83
95
|
hasPointerCapture(pointerId: number): boolean;
|
|
84
96
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
85
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
97
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
86
98
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
87
99
|
matches(selectors: string): boolean;
|
|
88
100
|
releasePointerCapture(pointerId: number): void;
|
|
89
101
|
removeAttribute(qualifiedName: string): void;
|
|
90
102
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
91
103
|
removeAttributeNode(attr: Attr): Attr;
|
|
92
|
-
requestFullscreen(options?: FullscreenOptions
|
|
93
|
-
requestPointerLock(): void
|
|
94
|
-
scroll(options?: ScrollToOptions
|
|
104
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
105
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
106
|
+
scroll(options?: ScrollToOptions): void;
|
|
95
107
|
scroll(x: number, y: number): void;
|
|
96
|
-
scrollBy(options?: ScrollToOptions
|
|
108
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
97
109
|
scrollBy(x: number, y: number): void;
|
|
98
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
|
99
|
-
scrollTo(options?: ScrollToOptions
|
|
110
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
111
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
100
112
|
scrollTo(x: number, y: number): void;
|
|
101
113
|
setAttribute(qualifiedName: string, value: string): void;
|
|
102
114
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
103
115
|
setAttributeNode(attr: Attr): Attr | null;
|
|
104
116
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
117
|
+
setHTMLUnsafe(html: string): void;
|
|
105
118
|
setPointerCapture(pointerId: number): void;
|
|
106
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
|
119
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
107
120
|
webkitMatchesSelector(selectors: string): boolean;
|
|
121
|
+
get textContent(): string;
|
|
122
|
+
set textContent(value: string | null);
|
|
108
123
|
readonly baseURI: string;
|
|
109
124
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
110
125
|
readonly firstChild: ChildNode | null;
|
|
@@ -117,22 +132,21 @@ declare const VividElement_base: {
|
|
|
117
132
|
readonly parentElement: HTMLElement | null;
|
|
118
133
|
readonly parentNode: ParentNode | null;
|
|
119
134
|
readonly previousSibling: ChildNode | null;
|
|
120
|
-
textContent: string | null;
|
|
121
135
|
appendChild<T extends Node>(node: T): T;
|
|
122
|
-
cloneNode(
|
|
136
|
+
cloneNode(subtree?: boolean): Node;
|
|
123
137
|
compareDocumentPosition(other: Node): number;
|
|
124
138
|
contains(other: Node | null): boolean;
|
|
125
|
-
getRootNode(options?: GetRootNodeOptions
|
|
139
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
126
140
|
hasChildNodes(): boolean;
|
|
127
|
-
insertBefore<
|
|
141
|
+
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
128
142
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
129
143
|
isEqualNode(otherNode: Node | null): boolean;
|
|
130
144
|
isSameNode(otherNode: Node | null): boolean;
|
|
131
145
|
lookupNamespaceURI(prefix: string | null): string | null;
|
|
132
146
|
lookupPrefix(namespace: string | null): string | null;
|
|
133
147
|
normalize(): void;
|
|
134
|
-
removeChild<
|
|
135
|
-
replaceChild<
|
|
148
|
+
removeChild<T extends Node>(child: T): T;
|
|
149
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
136
150
|
readonly ELEMENT_NODE: 1;
|
|
137
151
|
readonly ATTRIBUTE_NODE: 2;
|
|
138
152
|
readonly TEXT_NODE: 3;
|
|
@@ -152,35 +166,49 @@ declare const VividElement_base: {
|
|
|
152
166
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
153
167
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
154
168
|
dispatchEvent(event: Event): boolean;
|
|
169
|
+
ariaActiveDescendantElement: Element | null;
|
|
155
170
|
ariaAtomic: string | null;
|
|
156
171
|
ariaAutoComplete: string | null;
|
|
172
|
+
ariaBrailleLabel: string | null;
|
|
173
|
+
ariaBrailleRoleDescription: string | null;
|
|
157
174
|
ariaBusy: string | null;
|
|
158
175
|
ariaChecked: string | null;
|
|
159
176
|
ariaColCount: string | null;
|
|
160
177
|
ariaColIndex: string | null;
|
|
178
|
+
ariaColIndexText: string | null;
|
|
161
179
|
ariaColSpan: string | null;
|
|
180
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
162
181
|
ariaCurrent: string | null;
|
|
182
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
183
|
+
ariaDescription: string | null;
|
|
184
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
163
185
|
ariaDisabled: string | null;
|
|
186
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
164
187
|
ariaExpanded: string | null;
|
|
188
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
165
189
|
ariaHasPopup: string | null;
|
|
166
190
|
ariaHidden: string | null;
|
|
167
191
|
ariaInvalid: string | null;
|
|
168
192
|
ariaKeyShortcuts: string | null;
|
|
169
193
|
ariaLabel: string | null;
|
|
194
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
170
195
|
ariaLevel: string | null;
|
|
171
196
|
ariaLive: string | null;
|
|
172
197
|
ariaModal: string | null;
|
|
173
198
|
ariaMultiLine: string | null;
|
|
174
199
|
ariaMultiSelectable: string | null;
|
|
175
200
|
ariaOrientation: string | null;
|
|
201
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
176
202
|
ariaPlaceholder: string | null;
|
|
177
203
|
ariaPosInSet: string | null;
|
|
178
204
|
ariaPressed: string | null;
|
|
179
205
|
ariaReadOnly: string | null;
|
|
206
|
+
ariaRelevant: string | null;
|
|
180
207
|
ariaRequired: string | null;
|
|
181
208
|
ariaRoleDescription: string | null;
|
|
182
209
|
ariaRowCount: string | null;
|
|
183
210
|
ariaRowIndex: string | null;
|
|
211
|
+
ariaRowIndexText: string | null;
|
|
184
212
|
ariaRowSpan: string | null;
|
|
185
213
|
ariaSelected: string | null;
|
|
186
214
|
ariaSetSize: string | null;
|
|
@@ -190,34 +218,35 @@ declare const VividElement_base: {
|
|
|
190
218
|
ariaValueNow: string | null;
|
|
191
219
|
ariaValueText: string | null;
|
|
192
220
|
role: string | null;
|
|
193
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
|
194
|
-
getAnimations(options?: GetAnimationsOptions
|
|
195
|
-
after(...nodes: (
|
|
196
|
-
before(...nodes: (
|
|
221
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
222
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
223
|
+
after(...nodes: (Node | string)[]): void;
|
|
224
|
+
before(...nodes: (Node | string)[]): void;
|
|
197
225
|
remove(): void;
|
|
198
|
-
replaceWith(...nodes: (
|
|
199
|
-
innerHTML: string;
|
|
226
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
200
227
|
readonly nextElementSibling: Element | null;
|
|
201
228
|
readonly previousElementSibling: Element | null;
|
|
202
229
|
readonly childElementCount: number;
|
|
203
230
|
readonly children: HTMLCollection;
|
|
204
231
|
readonly firstElementChild: Element | null;
|
|
205
232
|
readonly lastElementChild: Element | null;
|
|
206
|
-
append(...nodes: (
|
|
207
|
-
prepend(...nodes: (
|
|
208
|
-
querySelector<
|
|
209
|
-
querySelector<
|
|
210
|
-
querySelector<
|
|
211
|
-
querySelector<
|
|
212
|
-
querySelector<
|
|
213
|
-
querySelectorAll<
|
|
214
|
-
querySelectorAll<
|
|
215
|
-
querySelectorAll<
|
|
216
|
-
querySelectorAll<
|
|
217
|
-
querySelectorAll<
|
|
218
|
-
replaceChildren(...nodes: (
|
|
233
|
+
append(...nodes: (Node | string)[]): void;
|
|
234
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
235
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
236
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
237
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
238
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
239
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
240
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
241
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
242
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
243
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
244
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
245
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
219
246
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
220
|
-
readonly
|
|
247
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
248
|
+
get style(): CSSStyleDeclaration;
|
|
249
|
+
set style(cssText: string);
|
|
221
250
|
contentEditable: string;
|
|
222
251
|
enterKeyHint: string;
|
|
223
252
|
inputMode: string;
|
|
@@ -227,16 +256,20 @@ declare const VividElement_base: {
|
|
|
227
256
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
228
257
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
229
258
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
230
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
259
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
231
260
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
261
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
262
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
232
263
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
233
264
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
234
265
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
235
266
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
236
267
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
237
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
268
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
238
269
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
239
|
-
|
|
270
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
271
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
272
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
240
273
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
241
274
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
242
275
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -283,12 +316,14 @@ declare const VividElement_base: {
|
|
|
283
316
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
284
317
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
285
318
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
319
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
286
320
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
287
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
|
321
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
288
322
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
289
323
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
290
324
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
291
325
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
326
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
292
327
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
293
328
|
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
294
329
|
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -300,7 +335,7 @@ declare const VividElement_base: {
|
|
|
300
335
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
301
336
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
302
337
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
303
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
338
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
304
339
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
305
340
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
306
341
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -318,14 +353,10 @@ declare const VividElement_base: {
|
|
|
318
353
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
319
354
|
autofocus: boolean;
|
|
320
355
|
readonly dataset: DOMStringMap;
|
|
321
|
-
nonce?: string
|
|
356
|
+
nonce?: string;
|
|
322
357
|
tabIndex: number;
|
|
323
358
|
blur(): void;
|
|
324
|
-
focus(options?: FocusOptions
|
|
325
|
-
ariaColIndexText: string | null;
|
|
326
|
-
ariaDescription: string | null;
|
|
327
|
-
ariaRowIndexText: string | null;
|
|
328
|
-
ariaRelevant: string | null;
|
|
359
|
+
focus(options?: FocusOptions): void;
|
|
329
360
|
roleChanged(prev: string | null, next: string | null): void;
|
|
330
361
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
331
362
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -371,20 +402,21 @@ declare const VividElement_base: {
|
|
|
371
402
|
};
|
|
372
403
|
} & {
|
|
373
404
|
new (...args: any[]): {
|
|
374
|
-
"__#
|
|
405
|
+
"__#private@#handleReplacedProp"(replacedProp: {
|
|
375
406
|
newPropertyName: string;
|
|
376
407
|
deprecatedPropertyName: string;
|
|
377
408
|
fromDeprecated: (v: any) => any;
|
|
378
409
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
379
410
|
}): void;
|
|
380
|
-
readonly $fastController: import(
|
|
381
|
-
$emit(type: string, detail?: any, options?: Omit<CustomEventInit
|
|
411
|
+
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
412
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
382
413
|
connectedCallback(): void;
|
|
383
414
|
disconnectedCallback(): void;
|
|
384
415
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
385
416
|
accessKey: string;
|
|
386
417
|
readonly accessKeyLabel: string;
|
|
387
418
|
autocapitalize: string;
|
|
419
|
+
autocorrect: boolean;
|
|
388
420
|
dir: string;
|
|
389
421
|
draggable: boolean;
|
|
390
422
|
hidden: boolean;
|
|
@@ -397,30 +429,39 @@ declare const VividElement_base: {
|
|
|
397
429
|
readonly offsetTop: number;
|
|
398
430
|
readonly offsetWidth: number;
|
|
399
431
|
outerText: string;
|
|
432
|
+
popover: string | null;
|
|
400
433
|
spellcheck: boolean;
|
|
401
434
|
title: string;
|
|
402
435
|
translate: boolean;
|
|
436
|
+
writingSuggestions: string;
|
|
403
437
|
attachInternals(): ElementInternals;
|
|
404
438
|
click(): void;
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
439
|
+
hidePopover(): void;
|
|
440
|
+
showPopover(): void;
|
|
441
|
+
togglePopover(options?: boolean): boolean;
|
|
442
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
443
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
444
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
445
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
409
446
|
readonly attributes: NamedNodeMap;
|
|
410
|
-
|
|
447
|
+
get classList(): DOMTokenList;
|
|
448
|
+
set classList(value: string);
|
|
411
449
|
className: string;
|
|
412
450
|
readonly clientHeight: number;
|
|
413
451
|
readonly clientLeft: number;
|
|
414
452
|
readonly clientTop: number;
|
|
415
453
|
readonly clientWidth: number;
|
|
454
|
+
readonly currentCSSZoom: number;
|
|
416
455
|
id: string;
|
|
456
|
+
innerHTML: string;
|
|
417
457
|
readonly localName: string;
|
|
418
458
|
readonly namespaceURI: string | null;
|
|
419
459
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
420
460
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
421
461
|
outerHTML: string;
|
|
422
462
|
readonly ownerDocument: Document;
|
|
423
|
-
|
|
463
|
+
get part(): DOMTokenList;
|
|
464
|
+
set part(value: string);
|
|
424
465
|
readonly prefix: string | null;
|
|
425
466
|
readonly scrollHeight: number;
|
|
426
467
|
scrollLeft: number;
|
|
@@ -430,11 +471,12 @@ declare const VividElement_base: {
|
|
|
430
471
|
slot: string;
|
|
431
472
|
readonly tagName: string;
|
|
432
473
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
433
|
-
checkVisibility(options?: CheckVisibilityOptions
|
|
434
|
-
closest<
|
|
435
|
-
closest<
|
|
436
|
-
closest<
|
|
437
|
-
closest<
|
|
474
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
475
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
476
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
477
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
478
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
479
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
438
480
|
getAttribute(qualifiedName: string): string | null;
|
|
439
481
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
440
482
|
getAttributeNames(): string[];
|
|
@@ -443,43 +485,47 @@ declare const VividElement_base: {
|
|
|
443
485
|
getBoundingClientRect(): DOMRect;
|
|
444
486
|
getClientRects(): DOMRectList;
|
|
445
487
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
446
|
-
getElementsByTagName<
|
|
447
|
-
getElementsByTagName<
|
|
448
|
-
getElementsByTagName<
|
|
449
|
-
getElementsByTagName<
|
|
488
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
489
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
490
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
491
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
450
492
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
451
493
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
452
494
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
453
495
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
454
496
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
497
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
455
498
|
hasAttribute(qualifiedName: string): boolean;
|
|
456
499
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
457
500
|
hasAttributes(): boolean;
|
|
458
501
|
hasPointerCapture(pointerId: number): boolean;
|
|
459
502
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
460
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
503
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
461
504
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
462
505
|
matches(selectors: string): boolean;
|
|
463
506
|
releasePointerCapture(pointerId: number): void;
|
|
464
507
|
removeAttribute(qualifiedName: string): void;
|
|
465
508
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
466
509
|
removeAttributeNode(attr: Attr): Attr;
|
|
467
|
-
requestFullscreen(options?: FullscreenOptions
|
|
468
|
-
requestPointerLock(): void
|
|
469
|
-
scroll(options?: ScrollToOptions
|
|
510
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
511
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
512
|
+
scroll(options?: ScrollToOptions): void;
|
|
470
513
|
scroll(x: number, y: number): void;
|
|
471
|
-
scrollBy(options?: ScrollToOptions
|
|
514
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
472
515
|
scrollBy(x: number, y: number): void;
|
|
473
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
|
474
|
-
scrollTo(options?: ScrollToOptions
|
|
516
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
517
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
475
518
|
scrollTo(x: number, y: number): void;
|
|
476
519
|
setAttribute(qualifiedName: string, value: string): void;
|
|
477
520
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
478
521
|
setAttributeNode(attr: Attr): Attr | null;
|
|
479
522
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
523
|
+
setHTMLUnsafe(html: string): void;
|
|
480
524
|
setPointerCapture(pointerId: number): void;
|
|
481
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
|
525
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
482
526
|
webkitMatchesSelector(selectors: string): boolean;
|
|
527
|
+
get textContent(): string;
|
|
528
|
+
set textContent(value: string | null);
|
|
483
529
|
readonly baseURI: string;
|
|
484
530
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
485
531
|
readonly firstChild: ChildNode | null;
|
|
@@ -492,22 +538,21 @@ declare const VividElement_base: {
|
|
|
492
538
|
readonly parentElement: HTMLElement | null;
|
|
493
539
|
readonly parentNode: ParentNode | null;
|
|
494
540
|
readonly previousSibling: ChildNode | null;
|
|
495
|
-
textContent: string | null;
|
|
496
541
|
appendChild<T extends Node>(node: T): T;
|
|
497
|
-
cloneNode(
|
|
542
|
+
cloneNode(subtree?: boolean): Node;
|
|
498
543
|
compareDocumentPosition(other: Node): number;
|
|
499
544
|
contains(other: Node | null): boolean;
|
|
500
|
-
getRootNode(options?: GetRootNodeOptions
|
|
545
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
501
546
|
hasChildNodes(): boolean;
|
|
502
|
-
insertBefore<
|
|
547
|
+
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
503
548
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
504
549
|
isEqualNode(otherNode: Node | null): boolean;
|
|
505
550
|
isSameNode(otherNode: Node | null): boolean;
|
|
506
551
|
lookupNamespaceURI(prefix: string | null): string | null;
|
|
507
552
|
lookupPrefix(namespace: string | null): string | null;
|
|
508
553
|
normalize(): void;
|
|
509
|
-
removeChild<
|
|
510
|
-
replaceChild<
|
|
554
|
+
removeChild<T extends Node>(child: T): T;
|
|
555
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
511
556
|
readonly ELEMENT_NODE: 1;
|
|
512
557
|
readonly ATTRIBUTE_NODE: 2;
|
|
513
558
|
readonly TEXT_NODE: 3;
|
|
@@ -527,35 +572,49 @@ declare const VividElement_base: {
|
|
|
527
572
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
528
573
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
529
574
|
dispatchEvent(event: Event): boolean;
|
|
575
|
+
ariaActiveDescendantElement: Element | null;
|
|
530
576
|
ariaAtomic: string | null;
|
|
531
577
|
ariaAutoComplete: string | null;
|
|
578
|
+
ariaBrailleLabel: string | null;
|
|
579
|
+
ariaBrailleRoleDescription: string | null;
|
|
532
580
|
ariaBusy: string | null;
|
|
533
581
|
ariaChecked: string | null;
|
|
534
582
|
ariaColCount: string | null;
|
|
535
583
|
ariaColIndex: string | null;
|
|
584
|
+
ariaColIndexText: string | null;
|
|
536
585
|
ariaColSpan: string | null;
|
|
586
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
537
587
|
ariaCurrent: string | null;
|
|
588
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
589
|
+
ariaDescription: string | null;
|
|
590
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
538
591
|
ariaDisabled: string | null;
|
|
592
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
539
593
|
ariaExpanded: string | null;
|
|
594
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
540
595
|
ariaHasPopup: string | null;
|
|
541
596
|
ariaHidden: string | null;
|
|
542
597
|
ariaInvalid: string | null;
|
|
543
598
|
ariaKeyShortcuts: string | null;
|
|
544
599
|
ariaLabel: string | null;
|
|
600
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
545
601
|
ariaLevel: string | null;
|
|
546
602
|
ariaLive: string | null;
|
|
547
603
|
ariaModal: string | null;
|
|
548
604
|
ariaMultiLine: string | null;
|
|
549
605
|
ariaMultiSelectable: string | null;
|
|
550
606
|
ariaOrientation: string | null;
|
|
607
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
551
608
|
ariaPlaceholder: string | null;
|
|
552
609
|
ariaPosInSet: string | null;
|
|
553
610
|
ariaPressed: string | null;
|
|
554
611
|
ariaReadOnly: string | null;
|
|
612
|
+
ariaRelevant: string | null;
|
|
555
613
|
ariaRequired: string | null;
|
|
556
614
|
ariaRoleDescription: string | null;
|
|
557
615
|
ariaRowCount: string | null;
|
|
558
616
|
ariaRowIndex: string | null;
|
|
617
|
+
ariaRowIndexText: string | null;
|
|
559
618
|
ariaRowSpan: string | null;
|
|
560
619
|
ariaSelected: string | null;
|
|
561
620
|
ariaSetSize: string | null;
|
|
@@ -565,34 +624,35 @@ declare const VividElement_base: {
|
|
|
565
624
|
ariaValueNow: string | null;
|
|
566
625
|
ariaValueText: string | null;
|
|
567
626
|
role: string | null;
|
|
568
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
|
569
|
-
getAnimations(options?: GetAnimationsOptions
|
|
570
|
-
after(...nodes: (
|
|
571
|
-
before(...nodes: (
|
|
627
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
628
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
629
|
+
after(...nodes: (Node | string)[]): void;
|
|
630
|
+
before(...nodes: (Node | string)[]): void;
|
|
572
631
|
remove(): void;
|
|
573
|
-
replaceWith(...nodes: (
|
|
574
|
-
innerHTML: string;
|
|
632
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
575
633
|
readonly nextElementSibling: Element | null;
|
|
576
634
|
readonly previousElementSibling: Element | null;
|
|
577
635
|
readonly childElementCount: number;
|
|
578
636
|
readonly children: HTMLCollection;
|
|
579
637
|
readonly firstElementChild: Element | null;
|
|
580
638
|
readonly lastElementChild: Element | null;
|
|
581
|
-
append(...nodes: (
|
|
582
|
-
prepend(...nodes: (
|
|
583
|
-
querySelector<
|
|
584
|
-
querySelector<
|
|
585
|
-
querySelector<
|
|
586
|
-
querySelector<
|
|
587
|
-
querySelector<
|
|
588
|
-
querySelectorAll<
|
|
589
|
-
querySelectorAll<
|
|
590
|
-
querySelectorAll<
|
|
591
|
-
querySelectorAll<
|
|
592
|
-
querySelectorAll<
|
|
593
|
-
replaceChildren(...nodes: (
|
|
639
|
+
append(...nodes: (Node | string)[]): void;
|
|
640
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
641
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
642
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
643
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
644
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
645
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
646
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
647
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
648
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
649
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
650
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
651
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
594
652
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
595
|
-
readonly
|
|
653
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
654
|
+
get style(): CSSStyleDeclaration;
|
|
655
|
+
set style(cssText: string);
|
|
596
656
|
contentEditable: string;
|
|
597
657
|
enterKeyHint: string;
|
|
598
658
|
inputMode: string;
|
|
@@ -602,16 +662,20 @@ declare const VividElement_base: {
|
|
|
602
662
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
603
663
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
604
664
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
605
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
665
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
606
666
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
667
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
668
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
607
669
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
608
670
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
609
671
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
610
672
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
611
673
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
612
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
674
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
613
675
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
614
|
-
|
|
676
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
677
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
678
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
615
679
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
616
680
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
617
681
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -658,12 +722,14 @@ declare const VividElement_base: {
|
|
|
658
722
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
659
723
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
660
724
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
725
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
661
726
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
662
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
|
727
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
663
728
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
664
729
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
665
730
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
666
731
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
732
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
667
733
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
668
734
|
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
669
735
|
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -675,7 +741,7 @@ declare const VividElement_base: {
|
|
|
675
741
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
676
742
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
677
743
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
678
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
744
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
679
745
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
680
746
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
681
747
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -693,29 +759,26 @@ declare const VividElement_base: {
|
|
|
693
759
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
694
760
|
autofocus: boolean;
|
|
695
761
|
readonly dataset: DOMStringMap;
|
|
696
|
-
nonce?: string
|
|
762
|
+
nonce?: string;
|
|
697
763
|
tabIndex: number;
|
|
698
764
|
blur(): void;
|
|
699
|
-
focus(options?: FocusOptions
|
|
765
|
+
focus(options?: FocusOptions): void;
|
|
700
766
|
};
|
|
701
767
|
} & {
|
|
702
768
|
new (): FASTElement;
|
|
703
769
|
define: {
|
|
704
|
-
<TType extends import(
|
|
705
|
-
<
|
|
770
|
+
<TType extends import('@microsoft/fast-element').Constructable<HTMLElement> = import('@microsoft/fast-element').Constructable<HTMLElement>>(this: TType, nameOrDef: string | import('@microsoft/fast-element').PartialFASTElementDefinition): TType;
|
|
771
|
+
<TType extends import('@microsoft/fast-element').Constructable<HTMLElement> = import('@microsoft/fast-element').Constructable<HTMLElement>>(type: TType, nameOrDef?: string | import('@microsoft/fast-element').PartialFASTElementDefinition): TType;
|
|
706
772
|
};
|
|
707
773
|
compose: {
|
|
708
|
-
<
|
|
709
|
-
<
|
|
774
|
+
<TType extends import('@microsoft/fast-element').Constructable<HTMLElement> = import('@microsoft/fast-element').Constructable<HTMLElement>>(this: TType, nameOrDef: string | import('@microsoft/fast-element').PartialFASTElementDefinition): import('@microsoft/fast-element').FASTElementDefinition<TType>;
|
|
775
|
+
<TType extends import('@microsoft/fast-element').Constructable<HTMLElement> = import('@microsoft/fast-element').Constructable<HTMLElement>>(type: TType, nameOrDef?: string | import('@microsoft/fast-element').PartialFASTElementDefinition): import('@microsoft/fast-element').FASTElementDefinition<TType>;
|
|
710
776
|
};
|
|
711
777
|
defineAsync: {
|
|
712
|
-
<
|
|
713
|
-
<
|
|
778
|
+
<TType extends import('@microsoft/fast-element').Constructable<HTMLElement> = import('@microsoft/fast-element').Constructable<HTMLElement>>(this: TType, nameOrDef: string | import('@microsoft/fast-element').PartialFASTElementDefinition): Promise<import('@microsoft/fast-element').FASTElementDefinition<TType>>;
|
|
779
|
+
<TType extends import('@microsoft/fast-element').Constructable<HTMLElement> = import('@microsoft/fast-element').Constructable<HTMLElement>>(type: TType, nameOrDef?: string | import('@microsoft/fast-element').PartialFASTElementDefinition): Promise<import('@microsoft/fast-element').FASTElementDefinition<TType>>;
|
|
714
780
|
};
|
|
715
|
-
from: <TBase extends
|
|
716
|
-
new (): HTMLElement;
|
|
717
|
-
prototype: HTMLElement;
|
|
718
|
-
}>(BaseType: TBase) => new () => InstanceType<TBase> & FASTElement;
|
|
781
|
+
from: <TBase extends typeof HTMLElement>(BaseType: TBase) => new () => InstanceType<TBase> & FASTElement;
|
|
719
782
|
};
|
|
720
783
|
export declare class VividElement extends VividElement_base {
|
|
721
784
|
static VIVID_VERSION: string;
|