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