@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,5 +1,5 @@
|
|
|
1
1
|
import { PickerField } from '../picker-field';
|
|
2
|
-
import
|
|
2
|
+
import { AbstractConstructor, MixinType } from '../../utils/mixins';
|
|
3
3
|
export declare const SingleValuePicker: <T extends AbstractConstructor<PickerField>>(Base: T) => (abstract new (...args: any[]) => {
|
|
4
4
|
_isValidValue(value: string): boolean;
|
|
5
5
|
_toPresentationValue(value: string): string;
|
|
@@ -14,55 +14,56 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
14
14
|
_onClearClick(): void;
|
|
15
15
|
readOnly: boolean;
|
|
16
16
|
readOnlyChanged(): void;
|
|
17
|
-
_textFieldEl: import(
|
|
17
|
+
_textFieldEl: import('../../..').VwcTextFieldElement;
|
|
18
18
|
_dialogEl: HTMLElement;
|
|
19
|
-
_pickerButtonEl: import(
|
|
19
|
+
_pickerButtonEl: import('../../..').VwcButtonElement;
|
|
20
20
|
connectedCallback(): void;
|
|
21
21
|
disconnectedCallback(): void;
|
|
22
|
-
"__#
|
|
23
|
-
"__#
|
|
22
|
+
"__#private@#onFocusIn": () => void;
|
|
23
|
+
"__#private@#onFocusOut": () => void;
|
|
24
24
|
proxy: HTMLInputElement;
|
|
25
25
|
validate(): void;
|
|
26
26
|
_getCustomValidationError(): string | null;
|
|
27
|
-
"__#
|
|
27
|
+
"__#private@#localeChangeHandler": {
|
|
28
28
|
handleChange: () => void;
|
|
29
29
|
};
|
|
30
|
-
"__#
|
|
31
|
-
"__#
|
|
32
|
-
"__#
|
|
30
|
+
"__#private@#localeChangeObserver": import('@microsoft/fast-element').ExpressionNotifier;
|
|
31
|
+
"__#private@#startObservingLocaleChanges"(): void;
|
|
32
|
+
"__#private@#stopObservingLocaleChanges"(): void;
|
|
33
33
|
_popupOpen: boolean;
|
|
34
|
-
"__#
|
|
35
|
-
"__#
|
|
34
|
+
"__#private@#dismissOnClickOutside": (event: MouseEvent) => void;
|
|
35
|
+
"__#private@#openPopupIfPossible"(): void;
|
|
36
36
|
_closePopup(restoreFocusToTextField?: boolean): void;
|
|
37
37
|
_onBaseKeyDown(event: KeyboardEvent): boolean;
|
|
38
38
|
_focusableElsWithinDialog(): NodeListOf<HTMLElement>;
|
|
39
|
-
|
|
39
|
+
get _dialogLabel(): string;
|
|
40
40
|
_presentationValue: string;
|
|
41
41
|
_presentationValueChanged(): void;
|
|
42
|
-
|
|
43
|
-
_textFieldSize?: string
|
|
44
|
-
|
|
45
|
-
|
|
42
|
+
get _textFieldPlaceholder(): string;
|
|
43
|
+
_textFieldSize?: string;
|
|
44
|
+
get _pickerButtonLabel(): string;
|
|
45
|
+
get _pickerButtonIcon(): string;
|
|
46
46
|
_onPickerButtonClick(): void;
|
|
47
47
|
_onOkClick(): void;
|
|
48
|
-
_contextualHelpSlottedContent?: HTMLElement[]
|
|
49
|
-
|
|
48
|
+
_contextualHelpSlottedContent?: HTMLElement[];
|
|
49
|
+
get _hasContextualHelp(): boolean;
|
|
50
50
|
_isFromContextualHelp(e: Event): boolean;
|
|
51
|
-
label?: string
|
|
51
|
+
label?: string;
|
|
52
52
|
errorValidationMessage: string;
|
|
53
53
|
forceErrorDisplay: boolean;
|
|
54
54
|
hasBeenTouched: boolean;
|
|
55
|
-
"__#
|
|
55
|
+
"__#private@#handleInvalidEvent": () => void;
|
|
56
56
|
formResetCallback: (() => void) & (() => void) & (() => void) & (() => void);
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
57
|
+
get validity(): ValidityState;
|
|
58
|
+
get form(): HTMLFormElement | null;
|
|
59
|
+
get validationMessage(): string;
|
|
60
|
+
get willValidate(): boolean;
|
|
61
|
+
get labels(): ReadonlyArray<Node>;
|
|
62
62
|
dirtyValue: boolean;
|
|
63
|
-
proxySlot?: HTMLSlotElement
|
|
63
|
+
proxySlot?: HTMLSlotElement;
|
|
64
64
|
value: string;
|
|
65
|
-
currentValue: string;
|
|
65
|
+
get currentValue(): string;
|
|
66
|
+
set currentValue(value: string);
|
|
66
67
|
initialValue: string;
|
|
67
68
|
initialValueChanged: ((_previous: string, _next: string) => void) & ((_previous: string, _next: string) => void);
|
|
68
69
|
disabled: boolean;
|
|
@@ -71,25 +72,26 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
71
72
|
nameChanged: ((_previous: string, _next: string) => void) & ((_previous: string, _next: string) => void);
|
|
72
73
|
required: boolean;
|
|
73
74
|
requiredChanged: ((_previous: boolean, _next: boolean) => void) & ((_previous: boolean, _next: boolean) => void);
|
|
74
|
-
|
|
75
|
+
get elementInternals(): ElementInternals | null;
|
|
75
76
|
proxyEventsToBlock: string[];
|
|
76
77
|
checkValidity: (() => boolean) & (() => boolean);
|
|
77
78
|
reportValidity: (() => boolean) & (() => boolean);
|
|
78
|
-
setValidity: ((flags: ValidityStateFlags, message?: string
|
|
79
|
+
setValidity: ((flags: ValidityStateFlags, message?: string, anchor?: HTMLElement) => void) & ((flags: ValidityStateFlags, message?: string, anchor?: HTMLElement) => void);
|
|
79
80
|
formDisabledCallback: ((disabled: boolean) => void) & ((disabled: boolean) => void);
|
|
80
81
|
proxyInitialized: boolean;
|
|
81
82
|
attachProxy: (() => void) & (() => void);
|
|
82
83
|
detachProxy: (() => void) & (() => void);
|
|
83
|
-
setFormValue: ((value:
|
|
84
|
+
setFormValue: ((value: File | string | FormData | null, state?: File | string | FormData | null) => void) & ((value: File | string | FormData | null, state?: File | string | FormData | null) => void);
|
|
84
85
|
_keypressHandler: ((e: KeyboardEvent) => void) & ((e: KeyboardEvent) => void);
|
|
85
86
|
stopPropagation: ((e: Event) => void) & ((e: Event) => void);
|
|
86
|
-
_vividAriaBehaviour: import(
|
|
87
|
-
readonly $fastController: import(
|
|
88
|
-
$emit(type: string, detail?: any, options?: Omit<CustomEventInit
|
|
87
|
+
_vividAriaBehaviour: import('../../aria/aria-mixin').VividAriaBehaviour;
|
|
88
|
+
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
89
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
89
90
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
90
91
|
accessKey: string;
|
|
91
92
|
readonly accessKeyLabel: string;
|
|
92
93
|
autocapitalize: string;
|
|
94
|
+
autocorrect: boolean;
|
|
93
95
|
dir: string;
|
|
94
96
|
draggable: boolean;
|
|
95
97
|
hidden: boolean;
|
|
@@ -102,30 +104,39 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
102
104
|
readonly offsetTop: number;
|
|
103
105
|
readonly offsetWidth: number;
|
|
104
106
|
outerText: string;
|
|
107
|
+
popover: string | null;
|
|
105
108
|
spellcheck: boolean;
|
|
106
109
|
title: string;
|
|
107
110
|
translate: boolean;
|
|
111
|
+
writingSuggestions: string;
|
|
108
112
|
attachInternals(): ElementInternals;
|
|
109
113
|
click(): void;
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
+
hidePopover(): void;
|
|
115
|
+
showPopover(): void;
|
|
116
|
+
togglePopover(options?: boolean): boolean;
|
|
117
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
118
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
119
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
120
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
114
121
|
readonly attributes: NamedNodeMap;
|
|
115
|
-
|
|
122
|
+
get classList(): DOMTokenList;
|
|
123
|
+
set classList(value: string);
|
|
116
124
|
className: string;
|
|
117
125
|
readonly clientHeight: number;
|
|
118
126
|
readonly clientLeft: number;
|
|
119
127
|
readonly clientTop: number;
|
|
120
128
|
readonly clientWidth: number;
|
|
129
|
+
readonly currentCSSZoom: number;
|
|
121
130
|
id: string;
|
|
131
|
+
innerHTML: string;
|
|
122
132
|
readonly localName: string;
|
|
123
133
|
readonly namespaceURI: string | null;
|
|
124
134
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
125
135
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
126
136
|
outerHTML: string;
|
|
127
137
|
readonly ownerDocument: Document;
|
|
128
|
-
|
|
138
|
+
get part(): DOMTokenList;
|
|
139
|
+
set part(value: string);
|
|
129
140
|
readonly prefix: string | null;
|
|
130
141
|
readonly scrollHeight: number;
|
|
131
142
|
scrollLeft: number;
|
|
@@ -135,11 +146,12 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
135
146
|
slot: string;
|
|
136
147
|
readonly tagName: string;
|
|
137
148
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
138
|
-
checkVisibility(options?: CheckVisibilityOptions
|
|
139
|
-
closest<
|
|
140
|
-
closest<
|
|
141
|
-
closest<
|
|
149
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
150
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
151
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
152
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
142
153
|
closest<E extends Element = Element>(selectors: string): E | null;
|
|
154
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
143
155
|
getAttribute(qualifiedName: string): string | null;
|
|
144
156
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
145
157
|
getAttributeNames(): string[];
|
|
@@ -148,43 +160,47 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
148
160
|
getBoundingClientRect(): DOMRect;
|
|
149
161
|
getClientRects(): DOMRectList;
|
|
150
162
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
151
|
-
getElementsByTagName<
|
|
152
|
-
getElementsByTagName<
|
|
153
|
-
getElementsByTagName<
|
|
154
|
-
getElementsByTagName<
|
|
163
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
164
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
165
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
166
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
155
167
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
156
168
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
157
169
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
158
170
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
159
171
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
172
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
160
173
|
hasAttribute(qualifiedName: string): boolean;
|
|
161
174
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
162
175
|
hasAttributes(): boolean;
|
|
163
176
|
hasPointerCapture(pointerId: number): boolean;
|
|
164
177
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
165
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
178
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
166
179
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
167
180
|
matches(selectors: string): boolean;
|
|
168
181
|
releasePointerCapture(pointerId: number): void;
|
|
169
182
|
removeAttribute(qualifiedName: string): void;
|
|
170
183
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
171
184
|
removeAttributeNode(attr: Attr): Attr;
|
|
172
|
-
requestFullscreen(options?: FullscreenOptions
|
|
173
|
-
requestPointerLock(): void
|
|
174
|
-
scroll(options?: ScrollToOptions
|
|
185
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
186
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
187
|
+
scroll(options?: ScrollToOptions): void;
|
|
175
188
|
scroll(x: number, y: number): void;
|
|
176
|
-
scrollBy(options?: ScrollToOptions
|
|
189
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
177
190
|
scrollBy(x: number, y: number): void;
|
|
178
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
|
179
|
-
scrollTo(options?: ScrollToOptions
|
|
191
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
192
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
180
193
|
scrollTo(x: number, y: number): void;
|
|
181
194
|
setAttribute(qualifiedName: string, value: string): void;
|
|
182
195
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
183
196
|
setAttributeNode(attr: Attr): Attr | null;
|
|
184
197
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
198
|
+
setHTMLUnsafe(html: string): void;
|
|
185
199
|
setPointerCapture(pointerId: number): void;
|
|
186
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
|
200
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
187
201
|
webkitMatchesSelector(selectors: string): boolean;
|
|
202
|
+
get textContent(): string;
|
|
203
|
+
set textContent(value: string | null);
|
|
188
204
|
readonly baseURI: string;
|
|
189
205
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
190
206
|
readonly firstChild: ChildNode | null;
|
|
@@ -197,22 +213,21 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
197
213
|
readonly parentElement: HTMLElement | null;
|
|
198
214
|
readonly parentNode: ParentNode | null;
|
|
199
215
|
readonly previousSibling: ChildNode | null;
|
|
200
|
-
textContent: string | null;
|
|
201
216
|
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
202
|
-
cloneNode(
|
|
217
|
+
cloneNode(subtree?: boolean): Node;
|
|
203
218
|
compareDocumentPosition(other: Node): number;
|
|
204
219
|
contains(other: Node | null): boolean;
|
|
205
|
-
getRootNode(options?: GetRootNodeOptions
|
|
220
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
206
221
|
hasChildNodes(): boolean;
|
|
207
|
-
insertBefore<
|
|
222
|
+
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
|
208
223
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
209
224
|
isEqualNode(otherNode: Node | null): boolean;
|
|
210
225
|
isSameNode(otherNode: Node | null): boolean;
|
|
211
226
|
lookupNamespaceURI(prefix: string | null): string | null;
|
|
212
227
|
lookupPrefix(namespace: string | null): string | null;
|
|
213
228
|
normalize(): void;
|
|
214
|
-
removeChild<
|
|
215
|
-
replaceChild<
|
|
229
|
+
removeChild<T_1 extends Node>(child: T_1): T_1;
|
|
230
|
+
replaceChild<T_1 extends Node>(node: Node, child: T_1): T_1;
|
|
216
231
|
readonly ELEMENT_NODE: 1;
|
|
217
232
|
readonly ATTRIBUTE_NODE: 2;
|
|
218
233
|
readonly TEXT_NODE: 3;
|
|
@@ -232,35 +247,49 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
232
247
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
233
248
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
234
249
|
dispatchEvent(event: Event): boolean;
|
|
250
|
+
ariaActiveDescendantElement: Element | null;
|
|
235
251
|
ariaAtomic: string | null;
|
|
236
252
|
ariaAutoComplete: string | null;
|
|
253
|
+
ariaBrailleLabel: string | null;
|
|
254
|
+
ariaBrailleRoleDescription: string | null;
|
|
237
255
|
ariaBusy: string | null;
|
|
238
256
|
ariaChecked: string | null;
|
|
239
257
|
ariaColCount: string | null;
|
|
240
258
|
ariaColIndex: string | null;
|
|
259
|
+
ariaColIndexText: string | null;
|
|
241
260
|
ariaColSpan: string | null;
|
|
261
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
242
262
|
ariaCurrent: string | null;
|
|
263
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
264
|
+
ariaDescription: string | null;
|
|
265
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
243
266
|
ariaDisabled: string | null;
|
|
267
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
244
268
|
ariaExpanded: string | null;
|
|
269
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
245
270
|
ariaHasPopup: string | null;
|
|
246
271
|
ariaHidden: string | null;
|
|
247
272
|
ariaInvalid: string | null;
|
|
248
273
|
ariaKeyShortcuts: string | null;
|
|
249
274
|
ariaLabel: string | null;
|
|
275
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
250
276
|
ariaLevel: string | null;
|
|
251
277
|
ariaLive: string | null;
|
|
252
278
|
ariaModal: string | null;
|
|
253
279
|
ariaMultiLine: string | null;
|
|
254
280
|
ariaMultiSelectable: string | null;
|
|
255
281
|
ariaOrientation: string | null;
|
|
282
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
256
283
|
ariaPlaceholder: string | null;
|
|
257
284
|
ariaPosInSet: string | null;
|
|
258
285
|
ariaPressed: string | null;
|
|
259
286
|
ariaReadOnly: string | null;
|
|
287
|
+
ariaRelevant: string | null;
|
|
260
288
|
ariaRequired: string | null;
|
|
261
289
|
ariaRoleDescription: string | null;
|
|
262
290
|
ariaRowCount: string | null;
|
|
263
291
|
ariaRowIndex: string | null;
|
|
292
|
+
ariaRowIndexText: string | null;
|
|
264
293
|
ariaRowSpan: string | null;
|
|
265
294
|
ariaSelected: string | null;
|
|
266
295
|
ariaSetSize: string | null;
|
|
@@ -270,34 +299,35 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
270
299
|
ariaValueNow: string | null;
|
|
271
300
|
ariaValueText: string | null;
|
|
272
301
|
role: string | null;
|
|
273
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
|
274
|
-
getAnimations(options?: GetAnimationsOptions
|
|
275
|
-
after(...nodes: (
|
|
276
|
-
before(...nodes: (
|
|
302
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
303
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
304
|
+
after(...nodes: (Node | string)[]): void;
|
|
305
|
+
before(...nodes: (Node | string)[]): void;
|
|
277
306
|
remove(): void;
|
|
278
|
-
replaceWith(...nodes: (
|
|
279
|
-
innerHTML: string;
|
|
307
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
280
308
|
readonly nextElementSibling: Element | null;
|
|
281
309
|
readonly previousElementSibling: Element | null;
|
|
282
310
|
readonly childElementCount: number;
|
|
283
311
|
readonly children: HTMLCollection;
|
|
284
312
|
readonly firstElementChild: Element | null;
|
|
285
313
|
readonly lastElementChild: Element | null;
|
|
286
|
-
append(...nodes: (
|
|
287
|
-
prepend(...nodes: (
|
|
288
|
-
querySelector<
|
|
289
|
-
querySelector<
|
|
290
|
-
querySelector<
|
|
291
|
-
querySelector<
|
|
292
|
-
querySelector<
|
|
293
|
-
querySelectorAll<
|
|
294
|
-
querySelectorAll<
|
|
295
|
-
querySelectorAll<
|
|
296
|
-
querySelectorAll<
|
|
297
|
-
querySelectorAll<
|
|
298
|
-
replaceChildren(...nodes: (
|
|
314
|
+
append(...nodes: (Node | string)[]): void;
|
|
315
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
316
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
317
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
318
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
319
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
320
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
321
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
322
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
323
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
324
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
325
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
326
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
299
327
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
300
|
-
readonly
|
|
328
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
329
|
+
get style(): CSSStyleDeclaration;
|
|
330
|
+
set style(cssText: string);
|
|
301
331
|
contentEditable: string;
|
|
302
332
|
enterKeyHint: string;
|
|
303
333
|
inputMode: string;
|
|
@@ -307,16 +337,20 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
307
337
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
308
338
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
309
339
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
310
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
340
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
311
341
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
342
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
343
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
312
344
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
313
345
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
314
346
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
315
347
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
316
348
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
317
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
349
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
318
350
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
319
|
-
|
|
351
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
352
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
353
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
320
354
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
321
355
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
322
356
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -363,12 +397,14 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
363
397
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
364
398
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
365
399
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
400
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
366
401
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
367
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
|
402
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
368
403
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
369
404
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
370
405
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
371
406
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
407
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
372
408
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
373
409
|
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
374
410
|
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -380,7 +416,7 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
380
416
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
381
417
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
382
418
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
383
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
419
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
384
420
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
385
421
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
386
422
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -398,14 +434,10 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
398
434
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
399
435
|
autofocus: boolean;
|
|
400
436
|
readonly dataset: DOMStringMap;
|
|
401
|
-
nonce?: string
|
|
437
|
+
nonce?: string;
|
|
402
438
|
tabIndex: number;
|
|
403
439
|
blur(): void;
|
|
404
|
-
focus(options?: FocusOptions
|
|
405
|
-
ariaColIndexText: string | null;
|
|
406
|
-
ariaDescription: string | null;
|
|
407
|
-
ariaRowIndexText: string | null;
|
|
408
|
-
ariaRelevant: string | null;
|
|
440
|
+
focus(options?: FocusOptions): void;
|
|
409
441
|
roleChanged(prev: string | null, next: string | null): void;
|
|
410
442
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
411
443
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -448,39 +480,40 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
448
480
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
449
481
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
450
482
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
451
|
-
"__#
|
|
483
|
+
"__#private@#handleReplacedProp"(replacedProp: {
|
|
452
484
|
newPropertyName: string;
|
|
453
485
|
deprecatedPropertyName: string;
|
|
454
486
|
fromDeprecated: (v: any) => any;
|
|
455
487
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
456
488
|
}): void;
|
|
457
|
-
helperText?: string
|
|
458
|
-
_helperTextSlottedContent?: HTMLElement[]
|
|
459
|
-
|
|
489
|
+
helperText?: string;
|
|
490
|
+
_helperTextSlottedContent?: HTMLElement[];
|
|
491
|
+
get _feedbackDescribedBy(): string;
|
|
460
492
|
_internalFeedback(): {
|
|
461
|
-
type: import(
|
|
493
|
+
type: import('../../feedback/feedback-message').FeedbackType;
|
|
462
494
|
message: string;
|
|
463
495
|
};
|
|
464
496
|
_slottedHelperTextFeedbackType(): "none" | "helper";
|
|
465
|
-
_getFeedbackTemplate(ctx: import(
|
|
466
|
-
helperText?: string
|
|
467
|
-
_helperTextSlottedContent?: HTMLElement[]
|
|
468
|
-
|
|
497
|
+
_getFeedbackTemplate(ctx: import('../../design-system/defineVividComponent').VividElementDefinitionContext): import('@microsoft/fast-element').ViewTemplate<{
|
|
498
|
+
helperText?: string;
|
|
499
|
+
_helperTextSlottedContent?: HTMLElement[];
|
|
500
|
+
get _feedbackDescribedBy(): string;
|
|
469
501
|
_internalFeedback(): {
|
|
470
|
-
type: import(
|
|
502
|
+
type: import('../../feedback/feedback-message').FeedbackType;
|
|
471
503
|
message: string;
|
|
472
504
|
};
|
|
473
505
|
_slottedHelperTextFeedbackType(): "none" | "helper";
|
|
474
|
-
_getFeedbackTemplate(ctx: import(
|
|
506
|
+
_getFeedbackTemplate(ctx: import('../../design-system/defineVividComponent').VividElementDefinitionContext): import('@microsoft/fast-element').ViewTemplate<any, any>;
|
|
475
507
|
connectedCallback(): void;
|
|
476
|
-
_vividAriaBehaviour: import(
|
|
477
|
-
readonly $fastController: import(
|
|
478
|
-
$emit(type: string, detail?: any, options?: Omit<CustomEventInit
|
|
508
|
+
_vividAriaBehaviour: import('../../aria/aria-mixin').VividAriaBehaviour;
|
|
509
|
+
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
510
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
479
511
|
disconnectedCallback(): void;
|
|
480
512
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
481
513
|
accessKey: string;
|
|
482
514
|
readonly accessKeyLabel: string;
|
|
483
515
|
autocapitalize: string;
|
|
516
|
+
autocorrect: boolean;
|
|
484
517
|
dir: string;
|
|
485
518
|
draggable: boolean;
|
|
486
519
|
hidden: boolean;
|
|
@@ -493,30 +526,39 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
493
526
|
readonly offsetTop: number;
|
|
494
527
|
readonly offsetWidth: number;
|
|
495
528
|
outerText: string;
|
|
529
|
+
popover: string | null;
|
|
496
530
|
spellcheck: boolean;
|
|
497
531
|
title: string;
|
|
498
532
|
translate: boolean;
|
|
533
|
+
writingSuggestions: string;
|
|
499
534
|
attachInternals(): ElementInternals;
|
|
500
535
|
click(): void;
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
536
|
+
hidePopover(): void;
|
|
537
|
+
showPopover(): void;
|
|
538
|
+
togglePopover(options?: boolean): boolean;
|
|
539
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
540
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
541
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
542
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
505
543
|
readonly attributes: NamedNodeMap;
|
|
506
|
-
|
|
544
|
+
get classList(): DOMTokenList;
|
|
545
|
+
set classList(value: string);
|
|
507
546
|
className: string;
|
|
508
547
|
readonly clientHeight: number;
|
|
509
548
|
readonly clientLeft: number;
|
|
510
549
|
readonly clientTop: number;
|
|
511
550
|
readonly clientWidth: number;
|
|
551
|
+
readonly currentCSSZoom: number;
|
|
512
552
|
id: string;
|
|
553
|
+
innerHTML: string;
|
|
513
554
|
readonly localName: string;
|
|
514
555
|
readonly namespaceURI: string | null;
|
|
515
556
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
516
557
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
517
558
|
outerHTML: string;
|
|
518
559
|
readonly ownerDocument: Document;
|
|
519
|
-
|
|
560
|
+
get part(): DOMTokenList;
|
|
561
|
+
set part(value: string);
|
|
520
562
|
readonly prefix: string | null;
|
|
521
563
|
readonly scrollHeight: number;
|
|
522
564
|
scrollLeft: number;
|
|
@@ -526,11 +568,12 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
526
568
|
slot: string;
|
|
527
569
|
readonly tagName: string;
|
|
528
570
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
529
|
-
checkVisibility(options?: CheckVisibilityOptions
|
|
530
|
-
closest<
|
|
531
|
-
closest<
|
|
532
|
-
closest<
|
|
533
|
-
closest<
|
|
571
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
572
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
573
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
574
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
575
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
576
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
534
577
|
getAttribute(qualifiedName: string): string | null;
|
|
535
578
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
536
579
|
getAttributeNames(): string[];
|
|
@@ -539,43 +582,47 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
539
582
|
getBoundingClientRect(): DOMRect;
|
|
540
583
|
getClientRects(): DOMRectList;
|
|
541
584
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
542
|
-
getElementsByTagName<
|
|
543
|
-
getElementsByTagName<
|
|
544
|
-
getElementsByTagName<
|
|
545
|
-
getElementsByTagName<
|
|
585
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
586
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
587
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
588
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
546
589
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
547
590
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
548
591
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
549
592
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
550
593
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
594
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
551
595
|
hasAttribute(qualifiedName: string): boolean;
|
|
552
596
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
553
597
|
hasAttributes(): boolean;
|
|
554
598
|
hasPointerCapture(pointerId: number): boolean;
|
|
555
599
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
556
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
600
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
557
601
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
558
602
|
matches(selectors: string): boolean;
|
|
559
603
|
releasePointerCapture(pointerId: number): void;
|
|
560
604
|
removeAttribute(qualifiedName: string): void;
|
|
561
605
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
562
606
|
removeAttributeNode(attr: Attr): Attr;
|
|
563
|
-
requestFullscreen(options?: FullscreenOptions
|
|
564
|
-
requestPointerLock(): void
|
|
565
|
-
scroll(options?: ScrollToOptions
|
|
607
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
608
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
609
|
+
scroll(options?: ScrollToOptions): void;
|
|
566
610
|
scroll(x: number, y: number): void;
|
|
567
|
-
scrollBy(options?: ScrollToOptions
|
|
611
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
568
612
|
scrollBy(x: number, y: number): void;
|
|
569
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
|
570
|
-
scrollTo(options?: ScrollToOptions
|
|
613
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
614
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
571
615
|
scrollTo(x: number, y: number): void;
|
|
572
616
|
setAttribute(qualifiedName: string, value: string): void;
|
|
573
617
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
574
618
|
setAttributeNode(attr: Attr): Attr | null;
|
|
575
619
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
620
|
+
setHTMLUnsafe(html: string): void;
|
|
576
621
|
setPointerCapture(pointerId: number): void;
|
|
577
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
|
622
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
578
623
|
webkitMatchesSelector(selectors: string): boolean;
|
|
624
|
+
get textContent(): string;
|
|
625
|
+
set textContent(value: string | null);
|
|
579
626
|
readonly baseURI: string;
|
|
580
627
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
581
628
|
readonly firstChild: ChildNode | null;
|
|
@@ -588,22 +635,21 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
588
635
|
readonly parentElement: HTMLElement | null;
|
|
589
636
|
readonly parentNode: ParentNode | null;
|
|
590
637
|
readonly previousSibling: ChildNode | null;
|
|
591
|
-
textContent: string | null;
|
|
592
638
|
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
593
|
-
cloneNode(
|
|
639
|
+
cloneNode(subtree?: boolean): Node;
|
|
594
640
|
compareDocumentPosition(other: Node): number;
|
|
595
641
|
contains(other: Node | null): boolean;
|
|
596
|
-
getRootNode(options?: GetRootNodeOptions
|
|
642
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
597
643
|
hasChildNodes(): boolean;
|
|
598
|
-
insertBefore<
|
|
644
|
+
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
|
599
645
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
600
646
|
isEqualNode(otherNode: Node | null): boolean;
|
|
601
647
|
isSameNode(otherNode: Node | null): boolean;
|
|
602
648
|
lookupNamespaceURI(prefix: string | null): string | null;
|
|
603
649
|
lookupPrefix(namespace: string | null): string | null;
|
|
604
650
|
normalize(): void;
|
|
605
|
-
removeChild<
|
|
606
|
-
replaceChild<
|
|
651
|
+
removeChild<T_1 extends Node>(child: T_1): T_1;
|
|
652
|
+
replaceChild<T_1 extends Node>(node: Node, child: T_1): T_1;
|
|
607
653
|
readonly ELEMENT_NODE: 1;
|
|
608
654
|
readonly ATTRIBUTE_NODE: 2;
|
|
609
655
|
readonly TEXT_NODE: 3;
|
|
@@ -623,35 +669,49 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
623
669
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
624
670
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
625
671
|
dispatchEvent(event: Event): boolean;
|
|
672
|
+
ariaActiveDescendantElement: Element | null;
|
|
626
673
|
ariaAtomic: string | null;
|
|
627
674
|
ariaAutoComplete: string | null;
|
|
675
|
+
ariaBrailleLabel: string | null;
|
|
676
|
+
ariaBrailleRoleDescription: string | null;
|
|
628
677
|
ariaBusy: string | null;
|
|
629
678
|
ariaChecked: string | null;
|
|
630
679
|
ariaColCount: string | null;
|
|
631
680
|
ariaColIndex: string | null;
|
|
681
|
+
ariaColIndexText: string | null;
|
|
632
682
|
ariaColSpan: string | null;
|
|
683
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
633
684
|
ariaCurrent: string | null;
|
|
685
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
686
|
+
ariaDescription: string | null;
|
|
687
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
634
688
|
ariaDisabled: string | null;
|
|
689
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
635
690
|
ariaExpanded: string | null;
|
|
691
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
636
692
|
ariaHasPopup: string | null;
|
|
637
693
|
ariaHidden: string | null;
|
|
638
694
|
ariaInvalid: string | null;
|
|
639
695
|
ariaKeyShortcuts: string | null;
|
|
640
696
|
ariaLabel: string | null;
|
|
697
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
641
698
|
ariaLevel: string | null;
|
|
642
699
|
ariaLive: string | null;
|
|
643
700
|
ariaModal: string | null;
|
|
644
701
|
ariaMultiLine: string | null;
|
|
645
702
|
ariaMultiSelectable: string | null;
|
|
646
703
|
ariaOrientation: string | null;
|
|
704
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
647
705
|
ariaPlaceholder: string | null;
|
|
648
706
|
ariaPosInSet: string | null;
|
|
649
707
|
ariaPressed: string | null;
|
|
650
708
|
ariaReadOnly: string | null;
|
|
709
|
+
ariaRelevant: string | null;
|
|
651
710
|
ariaRequired: string | null;
|
|
652
711
|
ariaRoleDescription: string | null;
|
|
653
712
|
ariaRowCount: string | null;
|
|
654
713
|
ariaRowIndex: string | null;
|
|
714
|
+
ariaRowIndexText: string | null;
|
|
655
715
|
ariaRowSpan: string | null;
|
|
656
716
|
ariaSelected: string | null;
|
|
657
717
|
ariaSetSize: string | null;
|
|
@@ -661,34 +721,35 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
661
721
|
ariaValueNow: string | null;
|
|
662
722
|
ariaValueText: string | null;
|
|
663
723
|
role: string | null;
|
|
664
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
|
665
|
-
getAnimations(options?: GetAnimationsOptions
|
|
666
|
-
after(...nodes: (
|
|
667
|
-
before(...nodes: (
|
|
724
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
725
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
726
|
+
after(...nodes: (Node | string)[]): void;
|
|
727
|
+
before(...nodes: (Node | string)[]): void;
|
|
668
728
|
remove(): void;
|
|
669
|
-
replaceWith(...nodes: (
|
|
670
|
-
innerHTML: string;
|
|
729
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
671
730
|
readonly nextElementSibling: Element | null;
|
|
672
731
|
readonly previousElementSibling: Element | null;
|
|
673
732
|
readonly childElementCount: number;
|
|
674
733
|
readonly children: HTMLCollection;
|
|
675
734
|
readonly firstElementChild: Element | null;
|
|
676
735
|
readonly lastElementChild: Element | null;
|
|
677
|
-
append(...nodes: (
|
|
678
|
-
prepend(...nodes: (
|
|
679
|
-
querySelector<
|
|
680
|
-
querySelector<
|
|
681
|
-
querySelector<
|
|
682
|
-
querySelector<
|
|
683
|
-
querySelector<
|
|
684
|
-
querySelectorAll<
|
|
685
|
-
querySelectorAll<
|
|
686
|
-
querySelectorAll<
|
|
687
|
-
querySelectorAll<
|
|
688
|
-
querySelectorAll<
|
|
689
|
-
replaceChildren(...nodes: (
|
|
736
|
+
append(...nodes: (Node | string)[]): void;
|
|
737
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
738
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
739
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
740
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
741
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
742
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
743
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
744
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
745
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
746
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
747
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
748
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
690
749
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
691
|
-
readonly
|
|
750
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
751
|
+
get style(): CSSStyleDeclaration;
|
|
752
|
+
set style(cssText: string);
|
|
692
753
|
contentEditable: string;
|
|
693
754
|
enterKeyHint: string;
|
|
694
755
|
inputMode: string;
|
|
@@ -698,16 +759,20 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
698
759
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
699
760
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
700
761
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
701
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
762
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
702
763
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
764
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
765
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
703
766
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
704
767
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
705
768
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
706
769
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
707
770
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
708
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
771
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
709
772
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
710
|
-
|
|
773
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
774
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
775
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
711
776
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
712
777
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
713
778
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -754,12 +819,14 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
754
819
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
755
820
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
756
821
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
822
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
757
823
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
758
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
|
824
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
759
825
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
760
826
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
761
827
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
762
828
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
829
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
763
830
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
764
831
|
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
765
832
|
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -771,7 +838,7 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
771
838
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
772
839
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
773
840
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
774
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
841
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
775
842
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
776
843
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
777
844
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -789,14 +856,10 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
789
856
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
790
857
|
autofocus: boolean;
|
|
791
858
|
readonly dataset: DOMStringMap;
|
|
792
|
-
nonce?: string
|
|
859
|
+
nonce?: string;
|
|
793
860
|
tabIndex: number;
|
|
794
861
|
blur(): void;
|
|
795
|
-
focus(options?: FocusOptions
|
|
796
|
-
ariaColIndexText: string | null;
|
|
797
|
-
ariaDescription: string | null;
|
|
798
|
-
ariaRowIndexText: string | null;
|
|
799
|
-
ariaRelevant: string | null;
|
|
862
|
+
focus(options?: FocusOptions): void;
|
|
800
863
|
roleChanged(prev: string | null, next: string | null): void;
|
|
801
864
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
802
865
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -839,20 +902,20 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
839
902
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
840
903
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
841
904
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
842
|
-
"__#
|
|
905
|
+
"__#private@#handleReplacedProp"(replacedProp: {
|
|
843
906
|
newPropertyName: string;
|
|
844
907
|
deprecatedPropertyName: string;
|
|
845
908
|
fromDeprecated: (v: any) => any;
|
|
846
909
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
847
910
|
}): void;
|
|
848
911
|
}, any>;
|
|
849
|
-
errorText?: string
|
|
912
|
+
errorText?: string;
|
|
850
913
|
errorTextChanged(_: string, newErrorText: string | undefined): void;
|
|
851
|
-
"__#
|
|
852
|
-
"__#
|
|
853
|
-
"__#
|
|
854
|
-
"__#
|
|
914
|
+
"__#private@#blockValidateCalls": boolean;
|
|
915
|
+
"__#private@#originalValidateFn": () => void;
|
|
916
|
+
"__#private@#forceCustomError"(errorMessage: string): void;
|
|
917
|
+
"__#private@#clearCustomErrorAndRevalidate"(): void;
|
|
855
918
|
_trappedFocus(event: KeyboardEvent, getFocusableEls: () => NodeListOf<HTMLElement>): boolean;
|
|
856
|
-
|
|
919
|
+
get locale(): import('../../localization/Locale').Locale;
|
|
857
920
|
}) & T;
|
|
858
921
|
export type SingleValuePickerElement = MixinType<typeof SingleValuePicker>;
|