@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,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import type { ExtractFromEnum } from '../../shared/utils/enums';
|
|
1
|
+
import { Appearance, Shape, Size } from '../enums';
|
|
2
|
+
import { ExtractFromEnum } from '../../shared/utils/enums';
|
|
4
3
|
import { VividElement } from '../../shared/foundation/vivid-element/vivid-element';
|
|
5
4
|
export type TextFieldAppearance = ExtractFromEnum<Appearance, Appearance.Fieldset | Appearance.Ghost>;
|
|
6
5
|
export type TextFieldShape = ExtractFromEnum<Shape, Shape.Rounded | Shape.Pill>;
|
|
@@ -15,29 +14,30 @@ export declare const TextFieldType: {
|
|
|
15
14
|
export type TextFieldType = (typeof TextFieldType)[keyof typeof TextFieldType];
|
|
16
15
|
declare const TextField_base: {
|
|
17
16
|
new (...args: any[]): {
|
|
18
|
-
_contextualHelpSlottedContent?: HTMLElement[]
|
|
19
|
-
|
|
17
|
+
_contextualHelpSlottedContent?: HTMLElement[];
|
|
18
|
+
get _hasContextualHelp(): boolean;
|
|
20
19
|
_isFromContextualHelp(e: Event): boolean;
|
|
21
|
-
label?: string
|
|
20
|
+
label?: string;
|
|
22
21
|
errorValidationMessage: string;
|
|
23
22
|
forceErrorDisplay: boolean;
|
|
24
23
|
hasBeenTouched: boolean;
|
|
25
24
|
connectedCallback: (() => void) & (() => void) & (() => void);
|
|
26
|
-
"__#
|
|
25
|
+
"__#private@#handleInvalidEvent": () => void;
|
|
27
26
|
disconnectedCallback: (() => void) & (() => void) & (() => void);
|
|
28
27
|
formResetCallback: (() => void) & (() => void);
|
|
29
|
-
validate: (() => void) & ((anchor?: HTMLElement
|
|
30
|
-
proxy: import(
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
28
|
+
validate: (() => void) & ((anchor?: HTMLElement) => void);
|
|
29
|
+
proxy: import('../../shared/foundation/form-associated/form-associated').ProxyElement;
|
|
30
|
+
get validity(): ValidityState;
|
|
31
|
+
get form(): HTMLFormElement | null;
|
|
32
|
+
get validationMessage(): string;
|
|
33
|
+
get willValidate(): boolean;
|
|
34
|
+
get labels(): ReadonlyArray<Node>;
|
|
36
35
|
dirtyValue: boolean;
|
|
37
|
-
proxySlot?: HTMLSlotElement
|
|
36
|
+
proxySlot?: HTMLSlotElement;
|
|
38
37
|
value: string;
|
|
39
38
|
valueChanged(_previous: string, _next: string): void;
|
|
40
|
-
currentValue: string;
|
|
39
|
+
get currentValue(): string;
|
|
40
|
+
set currentValue(value: string);
|
|
41
41
|
initialValue: string;
|
|
42
42
|
initialValueChanged(_previous: string, _next: string): void;
|
|
43
43
|
disabled: boolean;
|
|
@@ -46,25 +46,26 @@ declare const TextField_base: {
|
|
|
46
46
|
nameChanged(_previous: string, _next: string): void;
|
|
47
47
|
required: boolean;
|
|
48
48
|
requiredChanged(_previous: boolean, _next: boolean): void;
|
|
49
|
-
|
|
49
|
+
get elementInternals(): ElementInternals | null;
|
|
50
50
|
proxyEventsToBlock: string[];
|
|
51
51
|
checkValidity(): boolean;
|
|
52
52
|
reportValidity(): boolean;
|
|
53
|
-
setValidity(flags: ValidityStateFlags, message?: string
|
|
53
|
+
setValidity(flags: ValidityStateFlags, message?: string, anchor?: HTMLElement): void;
|
|
54
54
|
formDisabledCallback(disabled: boolean): void;
|
|
55
55
|
proxyInitialized: boolean;
|
|
56
56
|
attachProxy(): void;
|
|
57
57
|
detachProxy(): void;
|
|
58
|
-
setFormValue(value:
|
|
58
|
+
setFormValue(value: File | string | FormData | null, state?: File | string | FormData | null): void;
|
|
59
59
|
_keypressHandler(e: KeyboardEvent): void;
|
|
60
60
|
stopPropagation(e: Event): void;
|
|
61
|
-
_vividAriaBehaviour: import(
|
|
62
|
-
readonly $fastController: import(
|
|
63
|
-
$emit(type: string, detail?: any, options?: Omit<CustomEventInit
|
|
61
|
+
_vividAriaBehaviour: import('../../shared/aria/aria-mixin').VividAriaBehaviour;
|
|
62
|
+
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
63
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
64
64
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
65
65
|
accessKey: string;
|
|
66
66
|
readonly accessKeyLabel: string;
|
|
67
67
|
autocapitalize: string;
|
|
68
|
+
autocorrect: boolean;
|
|
68
69
|
dir: string;
|
|
69
70
|
draggable: boolean;
|
|
70
71
|
hidden: boolean;
|
|
@@ -77,30 +78,39 @@ declare const TextField_base: {
|
|
|
77
78
|
readonly offsetTop: number;
|
|
78
79
|
readonly offsetWidth: number;
|
|
79
80
|
outerText: string;
|
|
81
|
+
popover: string | null;
|
|
80
82
|
spellcheck: boolean;
|
|
81
83
|
title: string;
|
|
82
84
|
translate: boolean;
|
|
85
|
+
writingSuggestions: string;
|
|
83
86
|
attachInternals(): ElementInternals;
|
|
84
87
|
click(): void;
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
88
|
+
hidePopover(): void;
|
|
89
|
+
showPopover(): void;
|
|
90
|
+
togglePopover(options?: boolean): boolean;
|
|
91
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
92
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
93
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
94
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
89
95
|
readonly attributes: NamedNodeMap;
|
|
90
|
-
|
|
96
|
+
get classList(): DOMTokenList;
|
|
97
|
+
set classList(value: string);
|
|
91
98
|
className: string;
|
|
92
99
|
readonly clientHeight: number;
|
|
93
100
|
readonly clientLeft: number;
|
|
94
101
|
readonly clientTop: number;
|
|
95
102
|
readonly clientWidth: number;
|
|
103
|
+
readonly currentCSSZoom: number;
|
|
96
104
|
id: string;
|
|
105
|
+
innerHTML: string;
|
|
97
106
|
readonly localName: string;
|
|
98
107
|
readonly namespaceURI: string | null;
|
|
99
108
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
100
109
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
101
110
|
outerHTML: string;
|
|
102
111
|
readonly ownerDocument: Document;
|
|
103
|
-
|
|
112
|
+
get part(): DOMTokenList;
|
|
113
|
+
set part(value: string);
|
|
104
114
|
readonly prefix: string | null;
|
|
105
115
|
readonly scrollHeight: number;
|
|
106
116
|
scrollLeft: number;
|
|
@@ -110,11 +120,12 @@ declare const TextField_base: {
|
|
|
110
120
|
slot: string;
|
|
111
121
|
readonly tagName: string;
|
|
112
122
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
113
|
-
checkVisibility(options?: CheckVisibilityOptions
|
|
114
|
-
closest<
|
|
115
|
-
closest<
|
|
116
|
-
closest<
|
|
123
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
124
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
125
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
126
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
117
127
|
closest<E extends Element = Element>(selectors: string): E | null;
|
|
128
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
118
129
|
getAttribute(qualifiedName: string): string | null;
|
|
119
130
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
120
131
|
getAttributeNames(): string[];
|
|
@@ -123,43 +134,47 @@ declare const TextField_base: {
|
|
|
123
134
|
getBoundingClientRect(): DOMRect;
|
|
124
135
|
getClientRects(): DOMRectList;
|
|
125
136
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
126
|
-
getElementsByTagName<
|
|
127
|
-
getElementsByTagName<
|
|
128
|
-
getElementsByTagName<
|
|
129
|
-
getElementsByTagName<
|
|
137
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
138
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
139
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
140
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
130
141
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
131
142
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
132
143
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
133
144
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
134
145
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
146
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
135
147
|
hasAttribute(qualifiedName: string): boolean;
|
|
136
148
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
137
149
|
hasAttributes(): boolean;
|
|
138
150
|
hasPointerCapture(pointerId: number): boolean;
|
|
139
151
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
140
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
152
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
141
153
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
142
154
|
matches(selectors: string): boolean;
|
|
143
155
|
releasePointerCapture(pointerId: number): void;
|
|
144
156
|
removeAttribute(qualifiedName: string): void;
|
|
145
157
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
146
158
|
removeAttributeNode(attr: Attr): Attr;
|
|
147
|
-
requestFullscreen(options?: FullscreenOptions
|
|
148
|
-
requestPointerLock(): void
|
|
149
|
-
scroll(options?: ScrollToOptions
|
|
159
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
160
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
161
|
+
scroll(options?: ScrollToOptions): void;
|
|
150
162
|
scroll(x: number, y: number): void;
|
|
151
|
-
scrollBy(options?: ScrollToOptions
|
|
163
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
152
164
|
scrollBy(x: number, y: number): void;
|
|
153
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
|
154
|
-
scrollTo(options?: ScrollToOptions
|
|
165
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
166
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
155
167
|
scrollTo(x: number, y: number): void;
|
|
156
168
|
setAttribute(qualifiedName: string, value: string): void;
|
|
157
169
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
158
170
|
setAttributeNode(attr: Attr): Attr | null;
|
|
159
171
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
172
|
+
setHTMLUnsafe(html: string): void;
|
|
160
173
|
setPointerCapture(pointerId: number): void;
|
|
161
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
|
174
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
162
175
|
webkitMatchesSelector(selectors: string): boolean;
|
|
176
|
+
get textContent(): string;
|
|
177
|
+
set textContent(value: string | null);
|
|
163
178
|
readonly baseURI: string;
|
|
164
179
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
165
180
|
readonly firstChild: ChildNode | null;
|
|
@@ -172,22 +187,21 @@ declare const TextField_base: {
|
|
|
172
187
|
readonly parentElement: HTMLElement | null;
|
|
173
188
|
readonly parentNode: ParentNode | null;
|
|
174
189
|
readonly previousSibling: ChildNode | null;
|
|
175
|
-
textContent: string | null;
|
|
176
190
|
appendChild<T extends Node>(node: T): T;
|
|
177
|
-
cloneNode(
|
|
191
|
+
cloneNode(subtree?: boolean): Node;
|
|
178
192
|
compareDocumentPosition(other: Node): number;
|
|
179
193
|
contains(other: Node | null): boolean;
|
|
180
|
-
getRootNode(options?: GetRootNodeOptions
|
|
194
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
181
195
|
hasChildNodes(): boolean;
|
|
182
|
-
insertBefore<
|
|
196
|
+
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
183
197
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
184
198
|
isEqualNode(otherNode: Node | null): boolean;
|
|
185
199
|
isSameNode(otherNode: Node | null): boolean;
|
|
186
200
|
lookupNamespaceURI(prefix: string | null): string | null;
|
|
187
201
|
lookupPrefix(namespace: string | null): string | null;
|
|
188
202
|
normalize(): void;
|
|
189
|
-
removeChild<
|
|
190
|
-
replaceChild<
|
|
203
|
+
removeChild<T extends Node>(child: T): T;
|
|
204
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
191
205
|
readonly ELEMENT_NODE: 1;
|
|
192
206
|
readonly ATTRIBUTE_NODE: 2;
|
|
193
207
|
readonly TEXT_NODE: 3;
|
|
@@ -207,35 +221,49 @@ declare const TextField_base: {
|
|
|
207
221
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
208
222
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
209
223
|
dispatchEvent(event: Event): boolean;
|
|
224
|
+
ariaActiveDescendantElement: Element | null;
|
|
210
225
|
ariaAtomic: string | null;
|
|
211
226
|
ariaAutoComplete: string | null;
|
|
227
|
+
ariaBrailleLabel: string | null;
|
|
228
|
+
ariaBrailleRoleDescription: string | null;
|
|
212
229
|
ariaBusy: string | null;
|
|
213
230
|
ariaChecked: string | null;
|
|
214
231
|
ariaColCount: string | null;
|
|
215
232
|
ariaColIndex: string | null;
|
|
233
|
+
ariaColIndexText: string | null;
|
|
216
234
|
ariaColSpan: string | null;
|
|
235
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
217
236
|
ariaCurrent: string | null;
|
|
237
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
238
|
+
ariaDescription: string | null;
|
|
239
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
218
240
|
ariaDisabled: string | null;
|
|
241
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
219
242
|
ariaExpanded: string | null;
|
|
243
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
220
244
|
ariaHasPopup: string | null;
|
|
221
245
|
ariaHidden: string | null;
|
|
222
246
|
ariaInvalid: string | null;
|
|
223
247
|
ariaKeyShortcuts: string | null;
|
|
224
248
|
ariaLabel: string | null;
|
|
249
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
225
250
|
ariaLevel: string | null;
|
|
226
251
|
ariaLive: string | null;
|
|
227
252
|
ariaModal: string | null;
|
|
228
253
|
ariaMultiLine: string | null;
|
|
229
254
|
ariaMultiSelectable: string | null;
|
|
230
255
|
ariaOrientation: string | null;
|
|
256
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
231
257
|
ariaPlaceholder: string | null;
|
|
232
258
|
ariaPosInSet: string | null;
|
|
233
259
|
ariaPressed: string | null;
|
|
234
260
|
ariaReadOnly: string | null;
|
|
261
|
+
ariaRelevant: string | null;
|
|
235
262
|
ariaRequired: string | null;
|
|
236
263
|
ariaRoleDescription: string | null;
|
|
237
264
|
ariaRowCount: string | null;
|
|
238
265
|
ariaRowIndex: string | null;
|
|
266
|
+
ariaRowIndexText: string | null;
|
|
239
267
|
ariaRowSpan: string | null;
|
|
240
268
|
ariaSelected: string | null;
|
|
241
269
|
ariaSetSize: string | null;
|
|
@@ -245,34 +273,35 @@ declare const TextField_base: {
|
|
|
245
273
|
ariaValueNow: string | null;
|
|
246
274
|
ariaValueText: string | null;
|
|
247
275
|
role: string | null;
|
|
248
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
|
249
|
-
getAnimations(options?: GetAnimationsOptions
|
|
250
|
-
after(...nodes: (
|
|
251
|
-
before(...nodes: (
|
|
276
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
277
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
278
|
+
after(...nodes: (Node | string)[]): void;
|
|
279
|
+
before(...nodes: (Node | string)[]): void;
|
|
252
280
|
remove(): void;
|
|
253
|
-
replaceWith(...nodes: (
|
|
254
|
-
innerHTML: string;
|
|
281
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
255
282
|
readonly nextElementSibling: Element | null;
|
|
256
283
|
readonly previousElementSibling: Element | null;
|
|
257
284
|
readonly childElementCount: number;
|
|
258
285
|
readonly children: HTMLCollection;
|
|
259
286
|
readonly firstElementChild: Element | null;
|
|
260
287
|
readonly lastElementChild: Element | null;
|
|
261
|
-
append(...nodes: (
|
|
262
|
-
prepend(...nodes: (
|
|
263
|
-
querySelector<
|
|
264
|
-
querySelector<
|
|
265
|
-
querySelector<
|
|
266
|
-
querySelector<
|
|
267
|
-
querySelector<
|
|
268
|
-
querySelectorAll<
|
|
269
|
-
querySelectorAll<
|
|
270
|
-
querySelectorAll<
|
|
271
|
-
querySelectorAll<
|
|
272
|
-
querySelectorAll<
|
|
273
|
-
replaceChildren(...nodes: (
|
|
288
|
+
append(...nodes: (Node | string)[]): void;
|
|
289
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
290
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
291
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
292
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
293
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
294
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
295
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
296
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
297
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
298
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
299
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
300
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
274
301
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
275
|
-
readonly
|
|
302
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
303
|
+
get style(): CSSStyleDeclaration;
|
|
304
|
+
set style(cssText: string);
|
|
276
305
|
contentEditable: string;
|
|
277
306
|
enterKeyHint: string;
|
|
278
307
|
inputMode: string;
|
|
@@ -282,16 +311,20 @@ declare const TextField_base: {
|
|
|
282
311
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
283
312
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
284
313
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
285
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
314
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
286
315
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
316
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
317
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
287
318
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
288
319
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
289
320
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
290
321
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
291
322
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
292
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
323
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
293
324
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
294
|
-
|
|
325
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
326
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
327
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
295
328
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
296
329
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
297
330
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -338,12 +371,14 @@ declare const TextField_base: {
|
|
|
338
371
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
339
372
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
340
373
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
374
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
341
375
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
342
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
|
376
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
343
377
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
344
378
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
345
379
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
346
380
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
381
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
347
382
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
348
383
|
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
349
384
|
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -355,7 +390,7 @@ declare const TextField_base: {
|
|
|
355
390
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
356
391
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
357
392
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
358
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
393
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
359
394
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
360
395
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
361
396
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -373,14 +408,10 @@ declare const TextField_base: {
|
|
|
373
408
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
374
409
|
autofocus: boolean;
|
|
375
410
|
readonly dataset: DOMStringMap;
|
|
376
|
-
nonce?: string
|
|
411
|
+
nonce?: string;
|
|
377
412
|
tabIndex: number;
|
|
378
413
|
blur(): void;
|
|
379
|
-
focus(options?: FocusOptions
|
|
380
|
-
ariaColIndexText: string | null;
|
|
381
|
-
ariaDescription: string | null;
|
|
382
|
-
ariaRowIndexText: string | null;
|
|
383
|
-
ariaRelevant: string | null;
|
|
414
|
+
focus(options?: FocusOptions): void;
|
|
384
415
|
roleChanged(prev: string | null, next: string | null): void;
|
|
385
416
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
386
417
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -423,7 +454,7 @@ declare const TextField_base: {
|
|
|
423
454
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
424
455
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
425
456
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
426
|
-
"__#
|
|
457
|
+
"__#private@#handleReplacedProp"(replacedProp: {
|
|
427
458
|
newPropertyName: string;
|
|
428
459
|
deprecatedPropertyName: string;
|
|
429
460
|
fromDeprecated: (v: any) => any;
|
|
@@ -434,25 +465,26 @@ declare const TextField_base: {
|
|
|
434
465
|
new (...args: any[]): {
|
|
435
466
|
_slottedHelperTextIds: string[];
|
|
436
467
|
_helperTextSlottedContentChanged(_: HTMLElement[], newContent: HTMLElement[]): void;
|
|
437
|
-
|
|
468
|
+
get _feedbackDescribedBy(): string;
|
|
438
469
|
_feedbackId: string;
|
|
439
|
-
_getFeedbackTemplate(ctx: import(
|
|
440
|
-
helperText?: string
|
|
441
|
-
_helperTextSlottedContent?: HTMLElement[]
|
|
470
|
+
_getFeedbackTemplate(ctx: import('../../shared/design-system/defineVividComponent').VividElementDefinitionContext): import('@microsoft/fast-element').ViewTemplate<any, any>;
|
|
471
|
+
helperText?: string;
|
|
472
|
+
_helperTextSlottedContent?: HTMLElement[];
|
|
442
473
|
_internalFeedback(): {
|
|
443
|
-
type: import(
|
|
474
|
+
type: import('../../shared/feedback/feedback-message').FeedbackType;
|
|
444
475
|
message: string;
|
|
445
476
|
};
|
|
446
477
|
_slottedHelperTextFeedbackType(): "none" | "helper";
|
|
447
478
|
connectedCallback(): void;
|
|
448
|
-
_vividAriaBehaviour: import(
|
|
449
|
-
readonly $fastController: import(
|
|
450
|
-
$emit(type: string, detail?: any, options?: Omit<CustomEventInit
|
|
479
|
+
_vividAriaBehaviour: import('../../shared/aria/aria-mixin').VividAriaBehaviour;
|
|
480
|
+
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
481
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
451
482
|
disconnectedCallback(): void;
|
|
452
483
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
453
484
|
accessKey: string;
|
|
454
485
|
readonly accessKeyLabel: string;
|
|
455
486
|
autocapitalize: string;
|
|
487
|
+
autocorrect: boolean;
|
|
456
488
|
dir: string;
|
|
457
489
|
draggable: boolean;
|
|
458
490
|
hidden: boolean;
|
|
@@ -465,30 +497,39 @@ declare const TextField_base: {
|
|
|
465
497
|
readonly offsetTop: number;
|
|
466
498
|
readonly offsetWidth: number;
|
|
467
499
|
outerText: string;
|
|
500
|
+
popover: string | null;
|
|
468
501
|
spellcheck: boolean;
|
|
469
502
|
title: string;
|
|
470
503
|
translate: boolean;
|
|
504
|
+
writingSuggestions: string;
|
|
471
505
|
attachInternals(): ElementInternals;
|
|
472
506
|
click(): void;
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
507
|
+
hidePopover(): void;
|
|
508
|
+
showPopover(): void;
|
|
509
|
+
togglePopover(options?: boolean): boolean;
|
|
510
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
511
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
512
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
513
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
477
514
|
readonly attributes: NamedNodeMap;
|
|
478
|
-
|
|
515
|
+
get classList(): DOMTokenList;
|
|
516
|
+
set classList(value: string);
|
|
479
517
|
className: string;
|
|
480
518
|
readonly clientHeight: number;
|
|
481
519
|
readonly clientLeft: number;
|
|
482
520
|
readonly clientTop: number;
|
|
483
521
|
readonly clientWidth: number;
|
|
522
|
+
readonly currentCSSZoom: number;
|
|
484
523
|
id: string;
|
|
524
|
+
innerHTML: string;
|
|
485
525
|
readonly localName: string;
|
|
486
526
|
readonly namespaceURI: string | null;
|
|
487
527
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
488
528
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
489
529
|
outerHTML: string;
|
|
490
530
|
readonly ownerDocument: Document;
|
|
491
|
-
|
|
531
|
+
get part(): DOMTokenList;
|
|
532
|
+
set part(value: string);
|
|
492
533
|
readonly prefix: string | null;
|
|
493
534
|
readonly scrollHeight: number;
|
|
494
535
|
scrollLeft: number;
|
|
@@ -498,11 +539,12 @@ declare const TextField_base: {
|
|
|
498
539
|
slot: string;
|
|
499
540
|
readonly tagName: string;
|
|
500
541
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
501
|
-
checkVisibility(options?: CheckVisibilityOptions
|
|
502
|
-
closest<
|
|
503
|
-
closest<
|
|
504
|
-
closest<
|
|
505
|
-
closest<
|
|
542
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
543
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
544
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
545
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
546
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
547
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
506
548
|
getAttribute(qualifiedName: string): string | null;
|
|
507
549
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
508
550
|
getAttributeNames(): string[];
|
|
@@ -511,43 +553,47 @@ declare const TextField_base: {
|
|
|
511
553
|
getBoundingClientRect(): DOMRect;
|
|
512
554
|
getClientRects(): DOMRectList;
|
|
513
555
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
514
|
-
getElementsByTagName<
|
|
515
|
-
getElementsByTagName<
|
|
516
|
-
getElementsByTagName<
|
|
517
|
-
getElementsByTagName<
|
|
556
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
557
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
558
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
559
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
518
560
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
519
561
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
520
562
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
521
563
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
522
564
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
565
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
523
566
|
hasAttribute(qualifiedName: string): boolean;
|
|
524
567
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
525
568
|
hasAttributes(): boolean;
|
|
526
569
|
hasPointerCapture(pointerId: number): boolean;
|
|
527
570
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
528
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
571
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
529
572
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
530
573
|
matches(selectors: string): boolean;
|
|
531
574
|
releasePointerCapture(pointerId: number): void;
|
|
532
575
|
removeAttribute(qualifiedName: string): void;
|
|
533
576
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
534
577
|
removeAttributeNode(attr: Attr): Attr;
|
|
535
|
-
requestFullscreen(options?: FullscreenOptions
|
|
536
|
-
requestPointerLock(): void
|
|
537
|
-
scroll(options?: ScrollToOptions
|
|
578
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
579
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
580
|
+
scroll(options?: ScrollToOptions): void;
|
|
538
581
|
scroll(x: number, y: number): void;
|
|
539
|
-
scrollBy(options?: ScrollToOptions
|
|
582
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
540
583
|
scrollBy(x: number, y: number): void;
|
|
541
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
|
542
|
-
scrollTo(options?: ScrollToOptions
|
|
584
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
585
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
543
586
|
scrollTo(x: number, y: number): void;
|
|
544
587
|
setAttribute(qualifiedName: string, value: string): void;
|
|
545
588
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
546
589
|
setAttributeNode(attr: Attr): Attr | null;
|
|
547
590
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
591
|
+
setHTMLUnsafe(html: string): void;
|
|
548
592
|
setPointerCapture(pointerId: number): void;
|
|
549
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
|
593
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
550
594
|
webkitMatchesSelector(selectors: string): boolean;
|
|
595
|
+
get textContent(): string;
|
|
596
|
+
set textContent(value: string | null);
|
|
551
597
|
readonly baseURI: string;
|
|
552
598
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
553
599
|
readonly firstChild: ChildNode | null;
|
|
@@ -560,22 +606,21 @@ declare const TextField_base: {
|
|
|
560
606
|
readonly parentElement: HTMLElement | null;
|
|
561
607
|
readonly parentNode: ParentNode | null;
|
|
562
608
|
readonly previousSibling: ChildNode | null;
|
|
563
|
-
textContent: string | null;
|
|
564
609
|
appendChild<T extends Node>(node: T): T;
|
|
565
|
-
cloneNode(
|
|
610
|
+
cloneNode(subtree?: boolean): Node;
|
|
566
611
|
compareDocumentPosition(other: Node): number;
|
|
567
612
|
contains(other: Node | null): boolean;
|
|
568
|
-
getRootNode(options?: GetRootNodeOptions
|
|
613
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
569
614
|
hasChildNodes(): boolean;
|
|
570
|
-
insertBefore<
|
|
615
|
+
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
571
616
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
572
617
|
isEqualNode(otherNode: Node | null): boolean;
|
|
573
618
|
isSameNode(otherNode: Node | null): boolean;
|
|
574
619
|
lookupNamespaceURI(prefix: string | null): string | null;
|
|
575
620
|
lookupPrefix(namespace: string | null): string | null;
|
|
576
621
|
normalize(): void;
|
|
577
|
-
removeChild<
|
|
578
|
-
replaceChild<
|
|
622
|
+
removeChild<T extends Node>(child: T): T;
|
|
623
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
579
624
|
readonly ELEMENT_NODE: 1;
|
|
580
625
|
readonly ATTRIBUTE_NODE: 2;
|
|
581
626
|
readonly TEXT_NODE: 3;
|
|
@@ -595,35 +640,49 @@ declare const TextField_base: {
|
|
|
595
640
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
596
641
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
597
642
|
dispatchEvent(event: Event): boolean;
|
|
643
|
+
ariaActiveDescendantElement: Element | null;
|
|
598
644
|
ariaAtomic: string | null;
|
|
599
645
|
ariaAutoComplete: string | null;
|
|
646
|
+
ariaBrailleLabel: string | null;
|
|
647
|
+
ariaBrailleRoleDescription: string | null;
|
|
600
648
|
ariaBusy: string | null;
|
|
601
649
|
ariaChecked: string | null;
|
|
602
650
|
ariaColCount: string | null;
|
|
603
651
|
ariaColIndex: string | null;
|
|
652
|
+
ariaColIndexText: string | null;
|
|
604
653
|
ariaColSpan: string | null;
|
|
654
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
605
655
|
ariaCurrent: string | null;
|
|
656
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
657
|
+
ariaDescription: string | null;
|
|
658
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
606
659
|
ariaDisabled: string | null;
|
|
660
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
607
661
|
ariaExpanded: string | null;
|
|
662
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
608
663
|
ariaHasPopup: string | null;
|
|
609
664
|
ariaHidden: string | null;
|
|
610
665
|
ariaInvalid: string | null;
|
|
611
666
|
ariaKeyShortcuts: string | null;
|
|
612
667
|
ariaLabel: string | null;
|
|
668
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
613
669
|
ariaLevel: string | null;
|
|
614
670
|
ariaLive: string | null;
|
|
615
671
|
ariaModal: string | null;
|
|
616
672
|
ariaMultiLine: string | null;
|
|
617
673
|
ariaMultiSelectable: string | null;
|
|
618
674
|
ariaOrientation: string | null;
|
|
675
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
619
676
|
ariaPlaceholder: string | null;
|
|
620
677
|
ariaPosInSet: string | null;
|
|
621
678
|
ariaPressed: string | null;
|
|
622
679
|
ariaReadOnly: string | null;
|
|
680
|
+
ariaRelevant: string | null;
|
|
623
681
|
ariaRequired: string | null;
|
|
624
682
|
ariaRoleDescription: string | null;
|
|
625
683
|
ariaRowCount: string | null;
|
|
626
684
|
ariaRowIndex: string | null;
|
|
685
|
+
ariaRowIndexText: string | null;
|
|
627
686
|
ariaRowSpan: string | null;
|
|
628
687
|
ariaSelected: string | null;
|
|
629
688
|
ariaSetSize: string | null;
|
|
@@ -633,34 +692,35 @@ declare const TextField_base: {
|
|
|
633
692
|
ariaValueNow: string | null;
|
|
634
693
|
ariaValueText: string | null;
|
|
635
694
|
role: string | null;
|
|
636
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
|
637
|
-
getAnimations(options?: GetAnimationsOptions
|
|
638
|
-
after(...nodes: (
|
|
639
|
-
before(...nodes: (
|
|
695
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
696
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
697
|
+
after(...nodes: (Node | string)[]): void;
|
|
698
|
+
before(...nodes: (Node | string)[]): void;
|
|
640
699
|
remove(): void;
|
|
641
|
-
replaceWith(...nodes: (
|
|
642
|
-
innerHTML: string;
|
|
700
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
643
701
|
readonly nextElementSibling: Element | null;
|
|
644
702
|
readonly previousElementSibling: Element | null;
|
|
645
703
|
readonly childElementCount: number;
|
|
646
704
|
readonly children: HTMLCollection;
|
|
647
705
|
readonly firstElementChild: Element | null;
|
|
648
706
|
readonly lastElementChild: Element | null;
|
|
649
|
-
append(...nodes: (
|
|
650
|
-
prepend(...nodes: (
|
|
651
|
-
querySelector<
|
|
652
|
-
querySelector<
|
|
653
|
-
querySelector<
|
|
654
|
-
querySelector<
|
|
655
|
-
querySelector<
|
|
656
|
-
querySelectorAll<
|
|
657
|
-
querySelectorAll<
|
|
658
|
-
querySelectorAll<
|
|
659
|
-
querySelectorAll<
|
|
660
|
-
querySelectorAll<
|
|
661
|
-
replaceChildren(...nodes: (
|
|
707
|
+
append(...nodes: (Node | string)[]): void;
|
|
708
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
709
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
710
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
711
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
712
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
713
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
714
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
715
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
716
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
717
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
718
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
719
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
662
720
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
663
|
-
readonly
|
|
721
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
722
|
+
get style(): CSSStyleDeclaration;
|
|
723
|
+
set style(cssText: string);
|
|
664
724
|
contentEditable: string;
|
|
665
725
|
enterKeyHint: string;
|
|
666
726
|
inputMode: string;
|
|
@@ -670,16 +730,20 @@ declare const TextField_base: {
|
|
|
670
730
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
671
731
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
672
732
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
673
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
733
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
674
734
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
735
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
736
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
675
737
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
676
738
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
677
739
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
678
740
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
679
741
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
680
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
742
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
681
743
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
682
|
-
|
|
744
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
745
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
746
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
683
747
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
684
748
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
685
749
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -726,12 +790,14 @@ declare const TextField_base: {
|
|
|
726
790
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
727
791
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
728
792
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
793
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
729
794
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
730
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
|
795
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
731
796
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
732
797
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
733
798
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
734
799
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
800
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
735
801
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
736
802
|
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
737
803
|
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -743,7 +809,7 @@ declare const TextField_base: {
|
|
|
743
809
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
744
810
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
745
811
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
746
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
812
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
747
813
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
748
814
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
749
815
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -761,14 +827,10 @@ declare const TextField_base: {
|
|
|
761
827
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
762
828
|
autofocus: boolean;
|
|
763
829
|
readonly dataset: DOMStringMap;
|
|
764
|
-
nonce?: string
|
|
830
|
+
nonce?: string;
|
|
765
831
|
tabIndex: number;
|
|
766
832
|
blur(): void;
|
|
767
|
-
focus(options?: FocusOptions
|
|
768
|
-
ariaColIndexText: string | null;
|
|
769
|
-
ariaDescription: string | null;
|
|
770
|
-
ariaRowIndexText: string | null;
|
|
771
|
-
ariaRelevant: string | null;
|
|
833
|
+
focus(options?: FocusOptions): void;
|
|
772
834
|
roleChanged(prev: string | null, next: string | null): void;
|
|
773
835
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
774
836
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -811,7 +873,7 @@ declare const TextField_base: {
|
|
|
811
873
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
812
874
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
813
875
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
814
|
-
"__#
|
|
876
|
+
"__#private@#handleReplacedProp"(replacedProp: {
|
|
815
877
|
newPropertyName: string;
|
|
816
878
|
deprecatedPropertyName: string;
|
|
817
879
|
fromDeprecated: (v: any) => any;
|
|
@@ -824,21 +886,22 @@ declare const TextField_base: {
|
|
|
824
886
|
maxlength: number;
|
|
825
887
|
charCount: boolean;
|
|
826
888
|
charCountRemaining: HTMLSpanElement;
|
|
827
|
-
"__#
|
|
889
|
+
"__#private@#charCountTimeout": ReturnType<typeof setTimeout> | null;
|
|
828
890
|
_charCountDescribedBy: string;
|
|
829
891
|
_renderCharCountRemaining: () => void;
|
|
830
892
|
_updateCharCountRemaining: () => void;
|
|
831
|
-
_getCharCountTemplate: (context: import(
|
|
832
|
-
|
|
893
|
+
_getCharCountTemplate: (context: import('../../shared/design-system/defineVividComponent').VividElementDefinitionContext) => import('@microsoft/fast-element').ViewTemplate<any, any>;
|
|
894
|
+
get locale(): import('../../shared/localization/Locale').Locale;
|
|
833
895
|
connectedCallback(): void;
|
|
834
|
-
_vividAriaBehaviour: import(
|
|
835
|
-
readonly $fastController: import(
|
|
836
|
-
$emit(type: string, detail?: any, options?: Omit<CustomEventInit
|
|
896
|
+
_vividAriaBehaviour: import('../../shared/aria/aria-mixin').VividAriaBehaviour;
|
|
897
|
+
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
898
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
837
899
|
disconnectedCallback(): void;
|
|
838
900
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
839
901
|
accessKey: string;
|
|
840
902
|
readonly accessKeyLabel: string;
|
|
841
903
|
autocapitalize: string;
|
|
904
|
+
autocorrect: boolean;
|
|
842
905
|
dir: string;
|
|
843
906
|
draggable: boolean;
|
|
844
907
|
hidden: boolean;
|
|
@@ -851,30 +914,39 @@ declare const TextField_base: {
|
|
|
851
914
|
readonly offsetTop: number;
|
|
852
915
|
readonly offsetWidth: number;
|
|
853
916
|
outerText: string;
|
|
917
|
+
popover: string | null;
|
|
854
918
|
spellcheck: boolean;
|
|
855
919
|
title: string;
|
|
856
920
|
translate: boolean;
|
|
921
|
+
writingSuggestions: string;
|
|
857
922
|
attachInternals(): ElementInternals;
|
|
858
923
|
click(): void;
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
924
|
+
hidePopover(): void;
|
|
925
|
+
showPopover(): void;
|
|
926
|
+
togglePopover(options?: boolean): boolean;
|
|
927
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
928
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
929
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
930
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
863
931
|
readonly attributes: NamedNodeMap;
|
|
864
|
-
|
|
932
|
+
get classList(): DOMTokenList;
|
|
933
|
+
set classList(value: string);
|
|
865
934
|
className: string;
|
|
866
935
|
readonly clientHeight: number;
|
|
867
936
|
readonly clientLeft: number;
|
|
868
937
|
readonly clientTop: number;
|
|
869
938
|
readonly clientWidth: number;
|
|
939
|
+
readonly currentCSSZoom: number;
|
|
870
940
|
id: string;
|
|
941
|
+
innerHTML: string;
|
|
871
942
|
readonly localName: string;
|
|
872
943
|
readonly namespaceURI: string | null;
|
|
873
944
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
874
945
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
875
946
|
outerHTML: string;
|
|
876
947
|
readonly ownerDocument: Document;
|
|
877
|
-
|
|
948
|
+
get part(): DOMTokenList;
|
|
949
|
+
set part(value: string);
|
|
878
950
|
readonly prefix: string | null;
|
|
879
951
|
readonly scrollHeight: number;
|
|
880
952
|
scrollLeft: number;
|
|
@@ -884,11 +956,12 @@ declare const TextField_base: {
|
|
|
884
956
|
slot: string;
|
|
885
957
|
readonly tagName: string;
|
|
886
958
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
887
|
-
checkVisibility(options?: CheckVisibilityOptions
|
|
888
|
-
closest<
|
|
889
|
-
closest<
|
|
890
|
-
closest<
|
|
891
|
-
closest<
|
|
959
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
960
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
961
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
962
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
963
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
964
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
892
965
|
getAttribute(qualifiedName: string): string | null;
|
|
893
966
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
894
967
|
getAttributeNames(): string[];
|
|
@@ -897,43 +970,47 @@ declare const TextField_base: {
|
|
|
897
970
|
getBoundingClientRect(): DOMRect;
|
|
898
971
|
getClientRects(): DOMRectList;
|
|
899
972
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
900
|
-
getElementsByTagName<
|
|
901
|
-
getElementsByTagName<
|
|
902
|
-
getElementsByTagName<
|
|
903
|
-
getElementsByTagName<
|
|
973
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
974
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
975
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
976
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
904
977
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
905
978
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
906
979
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
907
980
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
908
981
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
982
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
909
983
|
hasAttribute(qualifiedName: string): boolean;
|
|
910
984
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
911
985
|
hasAttributes(): boolean;
|
|
912
986
|
hasPointerCapture(pointerId: number): boolean;
|
|
913
987
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
914
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
988
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
915
989
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
916
990
|
matches(selectors: string): boolean;
|
|
917
991
|
releasePointerCapture(pointerId: number): void;
|
|
918
992
|
removeAttribute(qualifiedName: string): void;
|
|
919
993
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
920
994
|
removeAttributeNode(attr: Attr): Attr;
|
|
921
|
-
requestFullscreen(options?: FullscreenOptions
|
|
922
|
-
requestPointerLock(): void
|
|
923
|
-
scroll(options?: ScrollToOptions
|
|
995
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
996
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
997
|
+
scroll(options?: ScrollToOptions): void;
|
|
924
998
|
scroll(x: number, y: number): void;
|
|
925
|
-
scrollBy(options?: ScrollToOptions
|
|
999
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
926
1000
|
scrollBy(x: number, y: number): void;
|
|
927
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
|
928
|
-
scrollTo(options?: ScrollToOptions
|
|
1001
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
1002
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
929
1003
|
scrollTo(x: number, y: number): void;
|
|
930
1004
|
setAttribute(qualifiedName: string, value: string): void;
|
|
931
1005
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
932
1006
|
setAttributeNode(attr: Attr): Attr | null;
|
|
933
1007
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
1008
|
+
setHTMLUnsafe(html: string): void;
|
|
934
1009
|
setPointerCapture(pointerId: number): void;
|
|
935
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
|
1010
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
936
1011
|
webkitMatchesSelector(selectors: string): boolean;
|
|
1012
|
+
get textContent(): string;
|
|
1013
|
+
set textContent(value: string | null);
|
|
937
1014
|
readonly baseURI: string;
|
|
938
1015
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
939
1016
|
readonly firstChild: ChildNode | null;
|
|
@@ -946,22 +1023,21 @@ declare const TextField_base: {
|
|
|
946
1023
|
readonly parentElement: HTMLElement | null;
|
|
947
1024
|
readonly parentNode: ParentNode | null;
|
|
948
1025
|
readonly previousSibling: ChildNode | null;
|
|
949
|
-
textContent: string | null;
|
|
950
1026
|
appendChild<T extends Node>(node: T): T;
|
|
951
|
-
cloneNode(
|
|
1027
|
+
cloneNode(subtree?: boolean): Node;
|
|
952
1028
|
compareDocumentPosition(other: Node): number;
|
|
953
1029
|
contains(other: Node | null): boolean;
|
|
954
|
-
getRootNode(options?: GetRootNodeOptions
|
|
1030
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
955
1031
|
hasChildNodes(): boolean;
|
|
956
|
-
insertBefore<
|
|
1032
|
+
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
957
1033
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
958
1034
|
isEqualNode(otherNode: Node | null): boolean;
|
|
959
1035
|
isSameNode(otherNode: Node | null): boolean;
|
|
960
1036
|
lookupNamespaceURI(prefix: string | null): string | null;
|
|
961
1037
|
lookupPrefix(namespace: string | null): string | null;
|
|
962
1038
|
normalize(): void;
|
|
963
|
-
removeChild<
|
|
964
|
-
replaceChild<
|
|
1039
|
+
removeChild<T extends Node>(child: T): T;
|
|
1040
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
965
1041
|
readonly ELEMENT_NODE: 1;
|
|
966
1042
|
readonly ATTRIBUTE_NODE: 2;
|
|
967
1043
|
readonly TEXT_NODE: 3;
|
|
@@ -981,35 +1057,49 @@ declare const TextField_base: {
|
|
|
981
1057
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
982
1058
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
983
1059
|
dispatchEvent(event: Event): boolean;
|
|
1060
|
+
ariaActiveDescendantElement: Element | null;
|
|
984
1061
|
ariaAtomic: string | null;
|
|
985
1062
|
ariaAutoComplete: string | null;
|
|
1063
|
+
ariaBrailleLabel: string | null;
|
|
1064
|
+
ariaBrailleRoleDescription: string | null;
|
|
986
1065
|
ariaBusy: string | null;
|
|
987
1066
|
ariaChecked: string | null;
|
|
988
1067
|
ariaColCount: string | null;
|
|
989
1068
|
ariaColIndex: string | null;
|
|
1069
|
+
ariaColIndexText: string | null;
|
|
990
1070
|
ariaColSpan: string | null;
|
|
1071
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
991
1072
|
ariaCurrent: string | null;
|
|
1073
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
1074
|
+
ariaDescription: string | null;
|
|
1075
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
992
1076
|
ariaDisabled: string | null;
|
|
1077
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
993
1078
|
ariaExpanded: string | null;
|
|
1079
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
994
1080
|
ariaHasPopup: string | null;
|
|
995
1081
|
ariaHidden: string | null;
|
|
996
1082
|
ariaInvalid: string | null;
|
|
997
1083
|
ariaKeyShortcuts: string | null;
|
|
998
1084
|
ariaLabel: string | null;
|
|
1085
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
999
1086
|
ariaLevel: string | null;
|
|
1000
1087
|
ariaLive: string | null;
|
|
1001
1088
|
ariaModal: string | null;
|
|
1002
1089
|
ariaMultiLine: string | null;
|
|
1003
1090
|
ariaMultiSelectable: string | null;
|
|
1004
1091
|
ariaOrientation: string | null;
|
|
1092
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
1005
1093
|
ariaPlaceholder: string | null;
|
|
1006
1094
|
ariaPosInSet: string | null;
|
|
1007
1095
|
ariaPressed: string | null;
|
|
1008
1096
|
ariaReadOnly: string | null;
|
|
1097
|
+
ariaRelevant: string | null;
|
|
1009
1098
|
ariaRequired: string | null;
|
|
1010
1099
|
ariaRoleDescription: string | null;
|
|
1011
1100
|
ariaRowCount: string | null;
|
|
1012
1101
|
ariaRowIndex: string | null;
|
|
1102
|
+
ariaRowIndexText: string | null;
|
|
1013
1103
|
ariaRowSpan: string | null;
|
|
1014
1104
|
ariaSelected: string | null;
|
|
1015
1105
|
ariaSetSize: string | null;
|
|
@@ -1019,34 +1109,35 @@ declare const TextField_base: {
|
|
|
1019
1109
|
ariaValueNow: string | null;
|
|
1020
1110
|
ariaValueText: string | null;
|
|
1021
1111
|
role: string | null;
|
|
1022
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
|
1023
|
-
getAnimations(options?: GetAnimationsOptions
|
|
1024
|
-
after(...nodes: (
|
|
1025
|
-
before(...nodes: (
|
|
1112
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
1113
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
1114
|
+
after(...nodes: (Node | string)[]): void;
|
|
1115
|
+
before(...nodes: (Node | string)[]): void;
|
|
1026
1116
|
remove(): void;
|
|
1027
|
-
replaceWith(...nodes: (
|
|
1028
|
-
innerHTML: string;
|
|
1117
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
1029
1118
|
readonly nextElementSibling: Element | null;
|
|
1030
1119
|
readonly previousElementSibling: Element | null;
|
|
1031
1120
|
readonly childElementCount: number;
|
|
1032
1121
|
readonly children: HTMLCollection;
|
|
1033
1122
|
readonly firstElementChild: Element | null;
|
|
1034
1123
|
readonly lastElementChild: Element | null;
|
|
1035
|
-
append(...nodes: (
|
|
1036
|
-
prepend(...nodes: (
|
|
1037
|
-
querySelector<
|
|
1038
|
-
querySelector<
|
|
1039
|
-
querySelector<
|
|
1040
|
-
querySelector<
|
|
1041
|
-
querySelector<
|
|
1042
|
-
querySelectorAll<
|
|
1043
|
-
querySelectorAll<
|
|
1044
|
-
querySelectorAll<
|
|
1045
|
-
querySelectorAll<
|
|
1046
|
-
querySelectorAll<
|
|
1047
|
-
replaceChildren(...nodes: (
|
|
1124
|
+
append(...nodes: (Node | string)[]): void;
|
|
1125
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
1126
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
1127
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
1128
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
1129
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
1130
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
1131
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
1132
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
1133
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
1134
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
1135
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
1136
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
1048
1137
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
1049
|
-
readonly
|
|
1138
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
1139
|
+
get style(): CSSStyleDeclaration;
|
|
1140
|
+
set style(cssText: string);
|
|
1050
1141
|
contentEditable: string;
|
|
1051
1142
|
enterKeyHint: string;
|
|
1052
1143
|
inputMode: string;
|
|
@@ -1056,16 +1147,20 @@ declare const TextField_base: {
|
|
|
1056
1147
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
1057
1148
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
1058
1149
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
1059
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
1150
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1060
1151
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
1152
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1153
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
1061
1154
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
1062
1155
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1063
1156
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1064
1157
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1065
1158
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1066
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
1159
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1067
1160
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1068
|
-
|
|
1161
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1162
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1163
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1069
1164
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
1070
1165
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1071
1166
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -1112,12 +1207,14 @@ declare const TextField_base: {
|
|
|
1112
1207
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1113
1208
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1114
1209
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1210
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1115
1211
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1116
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
|
1212
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
1117
1213
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1118
1214
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1119
1215
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
1120
1216
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1217
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1121
1218
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
1122
1219
|
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1123
1220
|
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -1129,7 +1226,7 @@ declare const TextField_base: {
|
|
|
1129
1226
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
1130
1227
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1131
1228
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1132
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
1229
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
1133
1230
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
1134
1231
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
1135
1232
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -1147,14 +1244,10 @@ declare const TextField_base: {
|
|
|
1147
1244
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
1148
1245
|
autofocus: boolean;
|
|
1149
1246
|
readonly dataset: DOMStringMap;
|
|
1150
|
-
nonce?: string
|
|
1247
|
+
nonce?: string;
|
|
1151
1248
|
tabIndex: number;
|
|
1152
1249
|
blur(): void;
|
|
1153
|
-
focus(options?: FocusOptions
|
|
1154
|
-
ariaColIndexText: string | null;
|
|
1155
|
-
ariaDescription: string | null;
|
|
1156
|
-
ariaRowIndexText: string | null;
|
|
1157
|
-
ariaRelevant: string | null;
|
|
1250
|
+
focus(options?: FocusOptions): void;
|
|
1158
1251
|
roleChanged(prev: string | null, next: string | null): void;
|
|
1159
1252
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
1160
1253
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -1197,7 +1290,7 @@ declare const TextField_base: {
|
|
|
1197
1290
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
1198
1291
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
1199
1292
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
1200
|
-
"__#
|
|
1293
|
+
"__#private@#handleReplacedProp"(replacedProp: {
|
|
1201
1294
|
newPropertyName: string;
|
|
1202
1295
|
deprecatedPropertyName: string;
|
|
1203
1296
|
fromDeprecated: (v: any) => any;
|
|
@@ -1206,32 +1299,33 @@ declare const TextField_base: {
|
|
|
1206
1299
|
};
|
|
1207
1300
|
} & {
|
|
1208
1301
|
new (...args: any[]): {
|
|
1209
|
-
errorText?: string
|
|
1302
|
+
errorText?: string;
|
|
1210
1303
|
errorTextChanged(_: string, newErrorText: string | undefined): void;
|
|
1211
|
-
"__#
|
|
1212
|
-
"__#
|
|
1213
|
-
"__#
|
|
1214
|
-
"__#
|
|
1215
|
-
label?: string
|
|
1304
|
+
"__#private@#blockValidateCalls": boolean;
|
|
1305
|
+
"__#private@#originalValidateFn": () => void;
|
|
1306
|
+
"__#private@#forceCustomError"(errorMessage: string): void;
|
|
1307
|
+
"__#private@#clearCustomErrorAndRevalidate"(): void;
|
|
1308
|
+
label?: string;
|
|
1216
1309
|
errorValidationMessage: string;
|
|
1217
1310
|
forceErrorDisplay: boolean;
|
|
1218
1311
|
hasBeenTouched: boolean;
|
|
1219
1312
|
connectedCallback: (() => void) & (() => void) & (() => void);
|
|
1220
|
-
"__#
|
|
1313
|
+
"__#private@#handleInvalidEvent": () => void;
|
|
1221
1314
|
disconnectedCallback: (() => void) & (() => void) & (() => void);
|
|
1222
1315
|
formResetCallback: (() => void) & (() => void);
|
|
1223
|
-
validate: (() => void) & ((anchor?: HTMLElement
|
|
1224
|
-
proxy: import(
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1316
|
+
validate: (() => void) & ((anchor?: HTMLElement) => void);
|
|
1317
|
+
proxy: import('../../shared/foundation/form-associated/form-associated').ProxyElement;
|
|
1318
|
+
get validity(): ValidityState;
|
|
1319
|
+
get form(): HTMLFormElement | null;
|
|
1320
|
+
get validationMessage(): string;
|
|
1321
|
+
get willValidate(): boolean;
|
|
1322
|
+
get labels(): ReadonlyArray<Node>;
|
|
1230
1323
|
dirtyValue: boolean;
|
|
1231
|
-
proxySlot?: HTMLSlotElement
|
|
1324
|
+
proxySlot?: HTMLSlotElement;
|
|
1232
1325
|
value: string;
|
|
1233
1326
|
valueChanged(_previous: string, _next: string): void;
|
|
1234
|
-
currentValue: string;
|
|
1327
|
+
get currentValue(): string;
|
|
1328
|
+
set currentValue(value: string);
|
|
1235
1329
|
initialValue: string;
|
|
1236
1330
|
initialValueChanged(_previous: string, _next: string): void;
|
|
1237
1331
|
disabled: boolean;
|
|
@@ -1240,25 +1334,26 @@ declare const TextField_base: {
|
|
|
1240
1334
|
nameChanged(_previous: string, _next: string): void;
|
|
1241
1335
|
required: boolean;
|
|
1242
1336
|
requiredChanged(_previous: boolean, _next: boolean): void;
|
|
1243
|
-
|
|
1337
|
+
get elementInternals(): ElementInternals | null;
|
|
1244
1338
|
proxyEventsToBlock: string[];
|
|
1245
1339
|
checkValidity(): boolean;
|
|
1246
1340
|
reportValidity(): boolean;
|
|
1247
|
-
setValidity(flags: ValidityStateFlags, message?: string
|
|
1341
|
+
setValidity(flags: ValidityStateFlags, message?: string, anchor?: HTMLElement): void;
|
|
1248
1342
|
formDisabledCallback(disabled: boolean): void;
|
|
1249
1343
|
proxyInitialized: boolean;
|
|
1250
1344
|
attachProxy(): void;
|
|
1251
1345
|
detachProxy(): void;
|
|
1252
|
-
setFormValue(value:
|
|
1346
|
+
setFormValue(value: File | string | FormData | null, state?: File | string | FormData | null): void;
|
|
1253
1347
|
_keypressHandler(e: KeyboardEvent): void;
|
|
1254
1348
|
stopPropagation(e: Event): void;
|
|
1255
|
-
_vividAriaBehaviour: import(
|
|
1256
|
-
readonly $fastController: import(
|
|
1257
|
-
$emit(type: string, detail?: any, options?: Omit<CustomEventInit
|
|
1349
|
+
_vividAriaBehaviour: import('../../shared/aria/aria-mixin').VividAriaBehaviour;
|
|
1350
|
+
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
1351
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
1258
1352
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
1259
1353
|
accessKey: string;
|
|
1260
1354
|
readonly accessKeyLabel: string;
|
|
1261
1355
|
autocapitalize: string;
|
|
1356
|
+
autocorrect: boolean;
|
|
1262
1357
|
dir: string;
|
|
1263
1358
|
draggable: boolean;
|
|
1264
1359
|
hidden: boolean;
|
|
@@ -1271,30 +1366,39 @@ declare const TextField_base: {
|
|
|
1271
1366
|
readonly offsetTop: number;
|
|
1272
1367
|
readonly offsetWidth: number;
|
|
1273
1368
|
outerText: string;
|
|
1369
|
+
popover: string | null;
|
|
1274
1370
|
spellcheck: boolean;
|
|
1275
1371
|
title: string;
|
|
1276
1372
|
translate: boolean;
|
|
1373
|
+
writingSuggestions: string;
|
|
1277
1374
|
attachInternals(): ElementInternals;
|
|
1278
1375
|
click(): void;
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1376
|
+
hidePopover(): void;
|
|
1377
|
+
showPopover(): void;
|
|
1378
|
+
togglePopover(options?: boolean): boolean;
|
|
1379
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1380
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1381
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1382
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1283
1383
|
readonly attributes: NamedNodeMap;
|
|
1284
|
-
|
|
1384
|
+
get classList(): DOMTokenList;
|
|
1385
|
+
set classList(value: string);
|
|
1285
1386
|
className: string;
|
|
1286
1387
|
readonly clientHeight: number;
|
|
1287
1388
|
readonly clientLeft: number;
|
|
1288
1389
|
readonly clientTop: number;
|
|
1289
1390
|
readonly clientWidth: number;
|
|
1391
|
+
readonly currentCSSZoom: number;
|
|
1290
1392
|
id: string;
|
|
1393
|
+
innerHTML: string;
|
|
1291
1394
|
readonly localName: string;
|
|
1292
1395
|
readonly namespaceURI: string | null;
|
|
1293
1396
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
1294
1397
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
1295
1398
|
outerHTML: string;
|
|
1296
1399
|
readonly ownerDocument: Document;
|
|
1297
|
-
|
|
1400
|
+
get part(): DOMTokenList;
|
|
1401
|
+
set part(value: string);
|
|
1298
1402
|
readonly prefix: string | null;
|
|
1299
1403
|
readonly scrollHeight: number;
|
|
1300
1404
|
scrollLeft: number;
|
|
@@ -1304,11 +1408,12 @@ declare const TextField_base: {
|
|
|
1304
1408
|
slot: string;
|
|
1305
1409
|
readonly tagName: string;
|
|
1306
1410
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
1307
|
-
checkVisibility(options?: CheckVisibilityOptions
|
|
1308
|
-
closest<
|
|
1309
|
-
closest<
|
|
1310
|
-
closest<
|
|
1311
|
-
closest<
|
|
1411
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
1412
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
1413
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
1414
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
1415
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
1416
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
1312
1417
|
getAttribute(qualifiedName: string): string | null;
|
|
1313
1418
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
1314
1419
|
getAttributeNames(): string[];
|
|
@@ -1317,43 +1422,47 @@ declare const TextField_base: {
|
|
|
1317
1422
|
getBoundingClientRect(): DOMRect;
|
|
1318
1423
|
getClientRects(): DOMRectList;
|
|
1319
1424
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
1320
|
-
getElementsByTagName<
|
|
1321
|
-
getElementsByTagName<
|
|
1322
|
-
getElementsByTagName<
|
|
1323
|
-
getElementsByTagName<
|
|
1425
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
1426
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
1427
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
1428
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
1324
1429
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
1325
1430
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
1326
1431
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
1327
1432
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
1328
1433
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
1434
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
1329
1435
|
hasAttribute(qualifiedName: string): boolean;
|
|
1330
1436
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
1331
1437
|
hasAttributes(): boolean;
|
|
1332
1438
|
hasPointerCapture(pointerId: number): boolean;
|
|
1333
1439
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
1334
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
1440
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
1335
1441
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
1336
1442
|
matches(selectors: string): boolean;
|
|
1337
1443
|
releasePointerCapture(pointerId: number): void;
|
|
1338
1444
|
removeAttribute(qualifiedName: string): void;
|
|
1339
1445
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
1340
1446
|
removeAttributeNode(attr: Attr): Attr;
|
|
1341
|
-
requestFullscreen(options?: FullscreenOptions
|
|
1342
|
-
requestPointerLock(): void
|
|
1343
|
-
scroll(options?: ScrollToOptions
|
|
1447
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
1448
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
1449
|
+
scroll(options?: ScrollToOptions): void;
|
|
1344
1450
|
scroll(x: number, y: number): void;
|
|
1345
|
-
scrollBy(options?: ScrollToOptions
|
|
1451
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
1346
1452
|
scrollBy(x: number, y: number): void;
|
|
1347
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
|
1348
|
-
scrollTo(options?: ScrollToOptions
|
|
1453
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
1454
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
1349
1455
|
scrollTo(x: number, y: number): void;
|
|
1350
1456
|
setAttribute(qualifiedName: string, value: string): void;
|
|
1351
1457
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
1352
1458
|
setAttributeNode(attr: Attr): Attr | null;
|
|
1353
1459
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
1460
|
+
setHTMLUnsafe(html: string): void;
|
|
1354
1461
|
setPointerCapture(pointerId: number): void;
|
|
1355
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
|
1462
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
1356
1463
|
webkitMatchesSelector(selectors: string): boolean;
|
|
1464
|
+
get textContent(): string;
|
|
1465
|
+
set textContent(value: string | null);
|
|
1357
1466
|
readonly baseURI: string;
|
|
1358
1467
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
1359
1468
|
readonly firstChild: ChildNode | null;
|
|
@@ -1366,22 +1475,21 @@ declare const TextField_base: {
|
|
|
1366
1475
|
readonly parentElement: HTMLElement | null;
|
|
1367
1476
|
readonly parentNode: ParentNode | null;
|
|
1368
1477
|
readonly previousSibling: ChildNode | null;
|
|
1369
|
-
textContent: string | null;
|
|
1370
1478
|
appendChild<T extends Node>(node: T): T;
|
|
1371
|
-
cloneNode(
|
|
1479
|
+
cloneNode(subtree?: boolean): Node;
|
|
1372
1480
|
compareDocumentPosition(other: Node): number;
|
|
1373
1481
|
contains(other: Node | null): boolean;
|
|
1374
|
-
getRootNode(options?: GetRootNodeOptions
|
|
1482
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
1375
1483
|
hasChildNodes(): boolean;
|
|
1376
|
-
insertBefore<
|
|
1484
|
+
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
1377
1485
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
1378
1486
|
isEqualNode(otherNode: Node | null): boolean;
|
|
1379
1487
|
isSameNode(otherNode: Node | null): boolean;
|
|
1380
1488
|
lookupNamespaceURI(prefix: string | null): string | null;
|
|
1381
1489
|
lookupPrefix(namespace: string | null): string | null;
|
|
1382
1490
|
normalize(): void;
|
|
1383
|
-
removeChild<
|
|
1384
|
-
replaceChild<
|
|
1491
|
+
removeChild<T extends Node>(child: T): T;
|
|
1492
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
1385
1493
|
readonly ELEMENT_NODE: 1;
|
|
1386
1494
|
readonly ATTRIBUTE_NODE: 2;
|
|
1387
1495
|
readonly TEXT_NODE: 3;
|
|
@@ -1401,35 +1509,49 @@ declare const TextField_base: {
|
|
|
1401
1509
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
1402
1510
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
1403
1511
|
dispatchEvent(event: Event): boolean;
|
|
1512
|
+
ariaActiveDescendantElement: Element | null;
|
|
1404
1513
|
ariaAtomic: string | null;
|
|
1405
1514
|
ariaAutoComplete: string | null;
|
|
1515
|
+
ariaBrailleLabel: string | null;
|
|
1516
|
+
ariaBrailleRoleDescription: string | null;
|
|
1406
1517
|
ariaBusy: string | null;
|
|
1407
1518
|
ariaChecked: string | null;
|
|
1408
1519
|
ariaColCount: string | null;
|
|
1409
1520
|
ariaColIndex: string | null;
|
|
1521
|
+
ariaColIndexText: string | null;
|
|
1410
1522
|
ariaColSpan: string | null;
|
|
1523
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
1411
1524
|
ariaCurrent: string | null;
|
|
1525
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
1526
|
+
ariaDescription: string | null;
|
|
1527
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
1412
1528
|
ariaDisabled: string | null;
|
|
1529
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
1413
1530
|
ariaExpanded: string | null;
|
|
1531
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
1414
1532
|
ariaHasPopup: string | null;
|
|
1415
1533
|
ariaHidden: string | null;
|
|
1416
1534
|
ariaInvalid: string | null;
|
|
1417
1535
|
ariaKeyShortcuts: string | null;
|
|
1418
1536
|
ariaLabel: string | null;
|
|
1537
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
1419
1538
|
ariaLevel: string | null;
|
|
1420
1539
|
ariaLive: string | null;
|
|
1421
1540
|
ariaModal: string | null;
|
|
1422
1541
|
ariaMultiLine: string | null;
|
|
1423
1542
|
ariaMultiSelectable: string | null;
|
|
1424
1543
|
ariaOrientation: string | null;
|
|
1544
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
1425
1545
|
ariaPlaceholder: string | null;
|
|
1426
1546
|
ariaPosInSet: string | null;
|
|
1427
1547
|
ariaPressed: string | null;
|
|
1428
1548
|
ariaReadOnly: string | null;
|
|
1549
|
+
ariaRelevant: string | null;
|
|
1429
1550
|
ariaRequired: string | null;
|
|
1430
1551
|
ariaRoleDescription: string | null;
|
|
1431
1552
|
ariaRowCount: string | null;
|
|
1432
1553
|
ariaRowIndex: string | null;
|
|
1554
|
+
ariaRowIndexText: string | null;
|
|
1433
1555
|
ariaRowSpan: string | null;
|
|
1434
1556
|
ariaSelected: string | null;
|
|
1435
1557
|
ariaSetSize: string | null;
|
|
@@ -1439,34 +1561,35 @@ declare const TextField_base: {
|
|
|
1439
1561
|
ariaValueNow: string | null;
|
|
1440
1562
|
ariaValueText: string | null;
|
|
1441
1563
|
role: string | null;
|
|
1442
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
|
1443
|
-
getAnimations(options?: GetAnimationsOptions
|
|
1444
|
-
after(...nodes: (
|
|
1445
|
-
before(...nodes: (
|
|
1564
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
1565
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
1566
|
+
after(...nodes: (Node | string)[]): void;
|
|
1567
|
+
before(...nodes: (Node | string)[]): void;
|
|
1446
1568
|
remove(): void;
|
|
1447
|
-
replaceWith(...nodes: (
|
|
1448
|
-
innerHTML: string;
|
|
1569
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
1449
1570
|
readonly nextElementSibling: Element | null;
|
|
1450
1571
|
readonly previousElementSibling: Element | null;
|
|
1451
1572
|
readonly childElementCount: number;
|
|
1452
1573
|
readonly children: HTMLCollection;
|
|
1453
1574
|
readonly firstElementChild: Element | null;
|
|
1454
1575
|
readonly lastElementChild: Element | null;
|
|
1455
|
-
append(...nodes: (
|
|
1456
|
-
prepend(...nodes: (
|
|
1457
|
-
querySelector<
|
|
1458
|
-
querySelector<
|
|
1459
|
-
querySelector<
|
|
1460
|
-
querySelector<
|
|
1461
|
-
querySelector<
|
|
1462
|
-
querySelectorAll<
|
|
1463
|
-
querySelectorAll<
|
|
1464
|
-
querySelectorAll<
|
|
1465
|
-
querySelectorAll<
|
|
1466
|
-
querySelectorAll<
|
|
1467
|
-
replaceChildren(...nodes: (
|
|
1576
|
+
append(...nodes: (Node | string)[]): void;
|
|
1577
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
1578
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
1579
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
1580
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
1581
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
1582
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
1583
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
1584
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
1585
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
1586
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
1587
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
1588
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
1468
1589
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
1469
|
-
readonly
|
|
1590
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
1591
|
+
get style(): CSSStyleDeclaration;
|
|
1592
|
+
set style(cssText: string);
|
|
1470
1593
|
contentEditable: string;
|
|
1471
1594
|
enterKeyHint: string;
|
|
1472
1595
|
inputMode: string;
|
|
@@ -1476,16 +1599,20 @@ declare const TextField_base: {
|
|
|
1476
1599
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
1477
1600
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
1478
1601
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
1479
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
1602
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1480
1603
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
1604
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1605
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
1481
1606
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
1482
1607
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1483
1608
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1484
1609
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1485
1610
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1486
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
1611
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1487
1612
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1488
|
-
|
|
1613
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1614
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1615
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1489
1616
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
1490
1617
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1491
1618
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -1532,12 +1659,14 @@ declare const TextField_base: {
|
|
|
1532
1659
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1533
1660
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1534
1661
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1662
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1535
1663
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1536
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
|
1664
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
1537
1665
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1538
1666
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1539
1667
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
1540
1668
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1669
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1541
1670
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
1542
1671
|
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1543
1672
|
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -1549,7 +1678,7 @@ declare const TextField_base: {
|
|
|
1549
1678
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
1550
1679
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1551
1680
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1552
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
1681
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
1553
1682
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
1554
1683
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
1555
1684
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -1567,14 +1696,10 @@ declare const TextField_base: {
|
|
|
1567
1696
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
1568
1697
|
autofocus: boolean;
|
|
1569
1698
|
readonly dataset: DOMStringMap;
|
|
1570
|
-
nonce?: string
|
|
1699
|
+
nonce?: string;
|
|
1571
1700
|
tabIndex: number;
|
|
1572
1701
|
blur(): void;
|
|
1573
|
-
focus(options?: FocusOptions
|
|
1574
|
-
ariaColIndexText: string | null;
|
|
1575
|
-
ariaDescription: string | null;
|
|
1576
|
-
ariaRowIndexText: string | null;
|
|
1577
|
-
ariaRelevant: string | null;
|
|
1702
|
+
focus(options?: FocusOptions): void;
|
|
1578
1703
|
roleChanged(prev: string | null, next: string | null): void;
|
|
1579
1704
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
1580
1705
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -1617,7 +1742,7 @@ declare const TextField_base: {
|
|
|
1617
1742
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
1618
1743
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
1619
1744
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
1620
|
-
"__#
|
|
1745
|
+
"__#private@#handleReplacedProp"(replacedProp: {
|
|
1621
1746
|
newPropertyName: string;
|
|
1622
1747
|
deprecatedPropertyName: string;
|
|
1623
1748
|
fromDeprecated: (v: any) => any;
|
|
@@ -1626,16 +1751,17 @@ declare const TextField_base: {
|
|
|
1626
1751
|
};
|
|
1627
1752
|
} & {
|
|
1628
1753
|
new (...args: any[]): {
|
|
1629
|
-
successText?: string
|
|
1754
|
+
successText?: string;
|
|
1630
1755
|
connectedCallback(): void;
|
|
1631
|
-
_vividAriaBehaviour: import(
|
|
1632
|
-
readonly $fastController: import(
|
|
1633
|
-
$emit(type: string, detail?: any, options?: Omit<CustomEventInit
|
|
1756
|
+
_vividAriaBehaviour: import('../../shared/aria/aria-mixin').VividAriaBehaviour;
|
|
1757
|
+
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
1758
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
1634
1759
|
disconnectedCallback(): void;
|
|
1635
1760
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
1636
1761
|
accessKey: string;
|
|
1637
1762
|
readonly accessKeyLabel: string;
|
|
1638
1763
|
autocapitalize: string;
|
|
1764
|
+
autocorrect: boolean;
|
|
1639
1765
|
dir: string;
|
|
1640
1766
|
draggable: boolean;
|
|
1641
1767
|
hidden: boolean;
|
|
@@ -1648,30 +1774,39 @@ declare const TextField_base: {
|
|
|
1648
1774
|
readonly offsetTop: number;
|
|
1649
1775
|
readonly offsetWidth: number;
|
|
1650
1776
|
outerText: string;
|
|
1777
|
+
popover: string | null;
|
|
1651
1778
|
spellcheck: boolean;
|
|
1652
1779
|
title: string;
|
|
1653
1780
|
translate: boolean;
|
|
1781
|
+
writingSuggestions: string;
|
|
1654
1782
|
attachInternals(): ElementInternals;
|
|
1655
1783
|
click(): void;
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1784
|
+
hidePopover(): void;
|
|
1785
|
+
showPopover(): void;
|
|
1786
|
+
togglePopover(options?: boolean): boolean;
|
|
1787
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1788
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1789
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1790
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1660
1791
|
readonly attributes: NamedNodeMap;
|
|
1661
|
-
|
|
1792
|
+
get classList(): DOMTokenList;
|
|
1793
|
+
set classList(value: string);
|
|
1662
1794
|
className: string;
|
|
1663
1795
|
readonly clientHeight: number;
|
|
1664
1796
|
readonly clientLeft: number;
|
|
1665
1797
|
readonly clientTop: number;
|
|
1666
1798
|
readonly clientWidth: number;
|
|
1799
|
+
readonly currentCSSZoom: number;
|
|
1667
1800
|
id: string;
|
|
1801
|
+
innerHTML: string;
|
|
1668
1802
|
readonly localName: string;
|
|
1669
1803
|
readonly namespaceURI: string | null;
|
|
1670
1804
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
1671
1805
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
1672
1806
|
outerHTML: string;
|
|
1673
1807
|
readonly ownerDocument: Document;
|
|
1674
|
-
|
|
1808
|
+
get part(): DOMTokenList;
|
|
1809
|
+
set part(value: string);
|
|
1675
1810
|
readonly prefix: string | null;
|
|
1676
1811
|
readonly scrollHeight: number;
|
|
1677
1812
|
scrollLeft: number;
|
|
@@ -1681,11 +1816,12 @@ declare const TextField_base: {
|
|
|
1681
1816
|
slot: string;
|
|
1682
1817
|
readonly tagName: string;
|
|
1683
1818
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
1684
|
-
checkVisibility(options?: CheckVisibilityOptions
|
|
1685
|
-
closest<
|
|
1686
|
-
closest<
|
|
1687
|
-
closest<
|
|
1688
|
-
closest<
|
|
1819
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
1820
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
1821
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
1822
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
1823
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
1824
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
1689
1825
|
getAttribute(qualifiedName: string): string | null;
|
|
1690
1826
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
1691
1827
|
getAttributeNames(): string[];
|
|
@@ -1694,43 +1830,47 @@ declare const TextField_base: {
|
|
|
1694
1830
|
getBoundingClientRect(): DOMRect;
|
|
1695
1831
|
getClientRects(): DOMRectList;
|
|
1696
1832
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
1697
|
-
getElementsByTagName<
|
|
1698
|
-
getElementsByTagName<
|
|
1699
|
-
getElementsByTagName<
|
|
1700
|
-
getElementsByTagName<
|
|
1833
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
1834
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
1835
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
1836
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
1701
1837
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
1702
1838
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
1703
1839
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
1704
1840
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
1705
1841
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
1842
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
1706
1843
|
hasAttribute(qualifiedName: string): boolean;
|
|
1707
1844
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
1708
1845
|
hasAttributes(): boolean;
|
|
1709
1846
|
hasPointerCapture(pointerId: number): boolean;
|
|
1710
1847
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
1711
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
1848
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
1712
1849
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
1713
1850
|
matches(selectors: string): boolean;
|
|
1714
1851
|
releasePointerCapture(pointerId: number): void;
|
|
1715
1852
|
removeAttribute(qualifiedName: string): void;
|
|
1716
1853
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
1717
1854
|
removeAttributeNode(attr: Attr): Attr;
|
|
1718
|
-
requestFullscreen(options?: FullscreenOptions
|
|
1719
|
-
requestPointerLock(): void
|
|
1720
|
-
scroll(options?: ScrollToOptions
|
|
1855
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
1856
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
1857
|
+
scroll(options?: ScrollToOptions): void;
|
|
1721
1858
|
scroll(x: number, y: number): void;
|
|
1722
|
-
scrollBy(options?: ScrollToOptions
|
|
1859
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
1723
1860
|
scrollBy(x: number, y: number): void;
|
|
1724
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
|
1725
|
-
scrollTo(options?: ScrollToOptions
|
|
1861
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
1862
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
1726
1863
|
scrollTo(x: number, y: number): void;
|
|
1727
1864
|
setAttribute(qualifiedName: string, value: string): void;
|
|
1728
1865
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
1729
1866
|
setAttributeNode(attr: Attr): Attr | null;
|
|
1730
1867
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
1868
|
+
setHTMLUnsafe(html: string): void;
|
|
1731
1869
|
setPointerCapture(pointerId: number): void;
|
|
1732
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
|
1870
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
1733
1871
|
webkitMatchesSelector(selectors: string): boolean;
|
|
1872
|
+
get textContent(): string;
|
|
1873
|
+
set textContent(value: string | null);
|
|
1734
1874
|
readonly baseURI: string;
|
|
1735
1875
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
1736
1876
|
readonly firstChild: ChildNode | null;
|
|
@@ -1743,22 +1883,21 @@ declare const TextField_base: {
|
|
|
1743
1883
|
readonly parentElement: HTMLElement | null;
|
|
1744
1884
|
readonly parentNode: ParentNode | null;
|
|
1745
1885
|
readonly previousSibling: ChildNode | null;
|
|
1746
|
-
textContent: string | null;
|
|
1747
1886
|
appendChild<T extends Node>(node: T): T;
|
|
1748
|
-
cloneNode(
|
|
1887
|
+
cloneNode(subtree?: boolean): Node;
|
|
1749
1888
|
compareDocumentPosition(other: Node): number;
|
|
1750
1889
|
contains(other: Node | null): boolean;
|
|
1751
|
-
getRootNode(options?: GetRootNodeOptions
|
|
1890
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
1752
1891
|
hasChildNodes(): boolean;
|
|
1753
|
-
insertBefore<
|
|
1892
|
+
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
1754
1893
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
1755
1894
|
isEqualNode(otherNode: Node | null): boolean;
|
|
1756
1895
|
isSameNode(otherNode: Node | null): boolean;
|
|
1757
1896
|
lookupNamespaceURI(prefix: string | null): string | null;
|
|
1758
1897
|
lookupPrefix(namespace: string | null): string | null;
|
|
1759
1898
|
normalize(): void;
|
|
1760
|
-
removeChild<
|
|
1761
|
-
replaceChild<
|
|
1899
|
+
removeChild<T extends Node>(child: T): T;
|
|
1900
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
1762
1901
|
readonly ELEMENT_NODE: 1;
|
|
1763
1902
|
readonly ATTRIBUTE_NODE: 2;
|
|
1764
1903
|
readonly TEXT_NODE: 3;
|
|
@@ -1778,35 +1917,49 @@ declare const TextField_base: {
|
|
|
1778
1917
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
1779
1918
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
1780
1919
|
dispatchEvent(event: Event): boolean;
|
|
1920
|
+
ariaActiveDescendantElement: Element | null;
|
|
1781
1921
|
ariaAtomic: string | null;
|
|
1782
1922
|
ariaAutoComplete: string | null;
|
|
1923
|
+
ariaBrailleLabel: string | null;
|
|
1924
|
+
ariaBrailleRoleDescription: string | null;
|
|
1783
1925
|
ariaBusy: string | null;
|
|
1784
1926
|
ariaChecked: string | null;
|
|
1785
1927
|
ariaColCount: string | null;
|
|
1786
1928
|
ariaColIndex: string | null;
|
|
1929
|
+
ariaColIndexText: string | null;
|
|
1787
1930
|
ariaColSpan: string | null;
|
|
1931
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
1788
1932
|
ariaCurrent: string | null;
|
|
1933
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
1934
|
+
ariaDescription: string | null;
|
|
1935
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
1789
1936
|
ariaDisabled: string | null;
|
|
1937
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
1790
1938
|
ariaExpanded: string | null;
|
|
1939
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
1791
1940
|
ariaHasPopup: string | null;
|
|
1792
1941
|
ariaHidden: string | null;
|
|
1793
1942
|
ariaInvalid: string | null;
|
|
1794
1943
|
ariaKeyShortcuts: string | null;
|
|
1795
1944
|
ariaLabel: string | null;
|
|
1945
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
1796
1946
|
ariaLevel: string | null;
|
|
1797
1947
|
ariaLive: string | null;
|
|
1798
1948
|
ariaModal: string | null;
|
|
1799
1949
|
ariaMultiLine: string | null;
|
|
1800
1950
|
ariaMultiSelectable: string | null;
|
|
1801
1951
|
ariaOrientation: string | null;
|
|
1952
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
1802
1953
|
ariaPlaceholder: string | null;
|
|
1803
1954
|
ariaPosInSet: string | null;
|
|
1804
1955
|
ariaPressed: string | null;
|
|
1805
1956
|
ariaReadOnly: string | null;
|
|
1957
|
+
ariaRelevant: string | null;
|
|
1806
1958
|
ariaRequired: string | null;
|
|
1807
1959
|
ariaRoleDescription: string | null;
|
|
1808
1960
|
ariaRowCount: string | null;
|
|
1809
1961
|
ariaRowIndex: string | null;
|
|
1962
|
+
ariaRowIndexText: string | null;
|
|
1810
1963
|
ariaRowSpan: string | null;
|
|
1811
1964
|
ariaSelected: string | null;
|
|
1812
1965
|
ariaSetSize: string | null;
|
|
@@ -1816,34 +1969,35 @@ declare const TextField_base: {
|
|
|
1816
1969
|
ariaValueNow: string | null;
|
|
1817
1970
|
ariaValueText: string | null;
|
|
1818
1971
|
role: string | null;
|
|
1819
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
|
1820
|
-
getAnimations(options?: GetAnimationsOptions
|
|
1821
|
-
after(...nodes: (
|
|
1822
|
-
before(...nodes: (
|
|
1972
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
1973
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
1974
|
+
after(...nodes: (Node | string)[]): void;
|
|
1975
|
+
before(...nodes: (Node | string)[]): void;
|
|
1823
1976
|
remove(): void;
|
|
1824
|
-
replaceWith(...nodes: (
|
|
1825
|
-
innerHTML: string;
|
|
1977
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
1826
1978
|
readonly nextElementSibling: Element | null;
|
|
1827
1979
|
readonly previousElementSibling: Element | null;
|
|
1828
1980
|
readonly childElementCount: number;
|
|
1829
1981
|
readonly children: HTMLCollection;
|
|
1830
1982
|
readonly firstElementChild: Element | null;
|
|
1831
1983
|
readonly lastElementChild: Element | null;
|
|
1832
|
-
append(...nodes: (
|
|
1833
|
-
prepend(...nodes: (
|
|
1834
|
-
querySelector<
|
|
1835
|
-
querySelector<
|
|
1836
|
-
querySelector<
|
|
1837
|
-
querySelector<
|
|
1838
|
-
querySelector<
|
|
1839
|
-
querySelectorAll<
|
|
1840
|
-
querySelectorAll<
|
|
1841
|
-
querySelectorAll<
|
|
1842
|
-
querySelectorAll<
|
|
1843
|
-
querySelectorAll<
|
|
1844
|
-
replaceChildren(...nodes: (
|
|
1984
|
+
append(...nodes: (Node | string)[]): void;
|
|
1985
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
1986
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
1987
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
1988
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
1989
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
1990
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
1991
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
1992
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
1993
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
1994
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
1995
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
1996
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
1845
1997
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
1846
|
-
readonly
|
|
1998
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
1999
|
+
get style(): CSSStyleDeclaration;
|
|
2000
|
+
set style(cssText: string);
|
|
1847
2001
|
contentEditable: string;
|
|
1848
2002
|
enterKeyHint: string;
|
|
1849
2003
|
inputMode: string;
|
|
@@ -1853,16 +2007,20 @@ declare const TextField_base: {
|
|
|
1853
2007
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
1854
2008
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
1855
2009
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
1856
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
2010
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1857
2011
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
2012
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2013
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
1858
2014
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
1859
2015
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1860
2016
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1861
2017
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1862
2018
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1863
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
2019
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1864
2020
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1865
|
-
|
|
2021
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2022
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2023
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1866
2024
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
1867
2025
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1868
2026
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -1909,12 +2067,14 @@ declare const TextField_base: {
|
|
|
1909
2067
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1910
2068
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1911
2069
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2070
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1912
2071
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1913
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
|
2072
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
1914
2073
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1915
2074
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1916
2075
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
1917
2076
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2077
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1918
2078
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
1919
2079
|
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1920
2080
|
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -1926,7 +2086,7 @@ declare const TextField_base: {
|
|
|
1926
2086
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
1927
2087
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1928
2088
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1929
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
2089
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
1930
2090
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
1931
2091
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
1932
2092
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -1944,14 +2104,10 @@ declare const TextField_base: {
|
|
|
1944
2104
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
1945
2105
|
autofocus: boolean;
|
|
1946
2106
|
readonly dataset: DOMStringMap;
|
|
1947
|
-
nonce?: string
|
|
2107
|
+
nonce?: string;
|
|
1948
2108
|
tabIndex: number;
|
|
1949
2109
|
blur(): void;
|
|
1950
|
-
focus(options?: FocusOptions
|
|
1951
|
-
ariaColIndexText: string | null;
|
|
1952
|
-
ariaDescription: string | null;
|
|
1953
|
-
ariaRowIndexText: string | null;
|
|
1954
|
-
ariaRelevant: string | null;
|
|
2110
|
+
focus(options?: FocusOptions): void;
|
|
1955
2111
|
roleChanged(prev: string | null, next: string | null): void;
|
|
1956
2112
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
1957
2113
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -1994,7 +2150,7 @@ declare const TextField_base: {
|
|
|
1994
2150
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
1995
2151
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
1996
2152
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
1997
|
-
"__#
|
|
2153
|
+
"__#private@#handleReplacedProp"(replacedProp: {
|
|
1998
2154
|
newPropertyName: string;
|
|
1999
2155
|
deprecatedPropertyName: string;
|
|
2000
2156
|
fromDeprecated: (v: any) => any;
|
|
@@ -2003,26 +2159,27 @@ declare const TextField_base: {
|
|
|
2003
2159
|
};
|
|
2004
2160
|
} & {
|
|
2005
2161
|
new (...args: any[]): {
|
|
2006
|
-
label?: string
|
|
2162
|
+
label?: string;
|
|
2007
2163
|
errorValidationMessage: string;
|
|
2008
2164
|
forceErrorDisplay: boolean;
|
|
2009
2165
|
hasBeenTouched: boolean;
|
|
2010
2166
|
connectedCallback(): void;
|
|
2011
|
-
"__#
|
|
2167
|
+
"__#private@#handleInvalidEvent": () => void;
|
|
2012
2168
|
disconnectedCallback(): void;
|
|
2013
2169
|
formResetCallback(): void;
|
|
2014
2170
|
validate(): void;
|
|
2015
|
-
proxy: import(
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2171
|
+
proxy: import('../../shared/foundation/form-associated/form-associated').ProxyElement;
|
|
2172
|
+
get validity(): ValidityState;
|
|
2173
|
+
get form(): HTMLFormElement | null;
|
|
2174
|
+
get validationMessage(): string;
|
|
2175
|
+
get willValidate(): boolean;
|
|
2176
|
+
get labels(): ReadonlyArray<Node>;
|
|
2021
2177
|
dirtyValue: boolean;
|
|
2022
|
-
proxySlot?: HTMLSlotElement
|
|
2178
|
+
proxySlot?: HTMLSlotElement;
|
|
2023
2179
|
value: string;
|
|
2024
2180
|
valueChanged(_previous: string, _next: string): void;
|
|
2025
|
-
currentValue: string;
|
|
2181
|
+
get currentValue(): string;
|
|
2182
|
+
set currentValue(value: string);
|
|
2026
2183
|
initialValue: string;
|
|
2027
2184
|
initialValueChanged(_previous: string, _next: string): void;
|
|
2028
2185
|
disabled: boolean;
|
|
@@ -2031,25 +2188,26 @@ declare const TextField_base: {
|
|
|
2031
2188
|
nameChanged(_previous: string, _next: string): void;
|
|
2032
2189
|
required: boolean;
|
|
2033
2190
|
requiredChanged(_previous: boolean, _next: boolean): void;
|
|
2034
|
-
|
|
2191
|
+
get elementInternals(): ElementInternals | null;
|
|
2035
2192
|
proxyEventsToBlock: string[];
|
|
2036
2193
|
checkValidity(): boolean;
|
|
2037
2194
|
reportValidity(): boolean;
|
|
2038
|
-
setValidity(flags: ValidityStateFlags, message?: string
|
|
2195
|
+
setValidity(flags: ValidityStateFlags, message?: string, anchor?: HTMLElement): void;
|
|
2039
2196
|
formDisabledCallback(disabled: boolean): void;
|
|
2040
2197
|
proxyInitialized: boolean;
|
|
2041
2198
|
attachProxy(): void;
|
|
2042
2199
|
detachProxy(): void;
|
|
2043
|
-
setFormValue(value:
|
|
2200
|
+
setFormValue(value: File | string | FormData | null, state?: File | string | FormData | null): void;
|
|
2044
2201
|
_keypressHandler(e: KeyboardEvent): void;
|
|
2045
2202
|
stopPropagation(e: Event): void;
|
|
2046
|
-
_vividAriaBehaviour: import(
|
|
2047
|
-
readonly $fastController: import(
|
|
2048
|
-
$emit(type: string, detail?: any, options?: Omit<CustomEventInit
|
|
2203
|
+
_vividAriaBehaviour: import('../../shared/aria/aria-mixin').VividAriaBehaviour;
|
|
2204
|
+
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
2205
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
2049
2206
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
2050
2207
|
accessKey: string;
|
|
2051
2208
|
readonly accessKeyLabel: string;
|
|
2052
2209
|
autocapitalize: string;
|
|
2210
|
+
autocorrect: boolean;
|
|
2053
2211
|
dir: string;
|
|
2054
2212
|
draggable: boolean;
|
|
2055
2213
|
hidden: boolean;
|
|
@@ -2062,30 +2220,39 @@ declare const TextField_base: {
|
|
|
2062
2220
|
readonly offsetTop: number;
|
|
2063
2221
|
readonly offsetWidth: number;
|
|
2064
2222
|
outerText: string;
|
|
2223
|
+
popover: string | null;
|
|
2065
2224
|
spellcheck: boolean;
|
|
2066
2225
|
title: string;
|
|
2067
2226
|
translate: boolean;
|
|
2227
|
+
writingSuggestions: string;
|
|
2068
2228
|
attachInternals(): ElementInternals;
|
|
2069
2229
|
click(): void;
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2230
|
+
hidePopover(): void;
|
|
2231
|
+
showPopover(): void;
|
|
2232
|
+
togglePopover(options?: boolean): boolean;
|
|
2233
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2234
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2235
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2236
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2074
2237
|
readonly attributes: NamedNodeMap;
|
|
2075
|
-
|
|
2238
|
+
get classList(): DOMTokenList;
|
|
2239
|
+
set classList(value: string);
|
|
2076
2240
|
className: string;
|
|
2077
2241
|
readonly clientHeight: number;
|
|
2078
2242
|
readonly clientLeft: number;
|
|
2079
2243
|
readonly clientTop: number;
|
|
2080
2244
|
readonly clientWidth: number;
|
|
2245
|
+
readonly currentCSSZoom: number;
|
|
2081
2246
|
id: string;
|
|
2247
|
+
innerHTML: string;
|
|
2082
2248
|
readonly localName: string;
|
|
2083
2249
|
readonly namespaceURI: string | null;
|
|
2084
2250
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
2085
2251
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
2086
2252
|
outerHTML: string;
|
|
2087
2253
|
readonly ownerDocument: Document;
|
|
2088
|
-
|
|
2254
|
+
get part(): DOMTokenList;
|
|
2255
|
+
set part(value: string);
|
|
2089
2256
|
readonly prefix: string | null;
|
|
2090
2257
|
readonly scrollHeight: number;
|
|
2091
2258
|
scrollLeft: number;
|
|
@@ -2095,11 +2262,12 @@ declare const TextField_base: {
|
|
|
2095
2262
|
slot: string;
|
|
2096
2263
|
readonly tagName: string;
|
|
2097
2264
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
2098
|
-
checkVisibility(options?: CheckVisibilityOptions
|
|
2099
|
-
closest<
|
|
2100
|
-
closest<
|
|
2101
|
-
closest<
|
|
2102
|
-
closest<
|
|
2265
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
2266
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
2267
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
2268
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
2269
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
2270
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
2103
2271
|
getAttribute(qualifiedName: string): string | null;
|
|
2104
2272
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
2105
2273
|
getAttributeNames(): string[];
|
|
@@ -2108,43 +2276,47 @@ declare const TextField_base: {
|
|
|
2108
2276
|
getBoundingClientRect(): DOMRect;
|
|
2109
2277
|
getClientRects(): DOMRectList;
|
|
2110
2278
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
2111
|
-
getElementsByTagName<
|
|
2112
|
-
getElementsByTagName<
|
|
2113
|
-
getElementsByTagName<
|
|
2114
|
-
getElementsByTagName<
|
|
2279
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
2280
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
2281
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
2282
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
2115
2283
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
2116
2284
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
2117
2285
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
2118
2286
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
2119
2287
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
2288
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
2120
2289
|
hasAttribute(qualifiedName: string): boolean;
|
|
2121
2290
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
2122
2291
|
hasAttributes(): boolean;
|
|
2123
2292
|
hasPointerCapture(pointerId: number): boolean;
|
|
2124
2293
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
2125
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
2294
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
2126
2295
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
2127
2296
|
matches(selectors: string): boolean;
|
|
2128
2297
|
releasePointerCapture(pointerId: number): void;
|
|
2129
2298
|
removeAttribute(qualifiedName: string): void;
|
|
2130
2299
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
2131
2300
|
removeAttributeNode(attr: Attr): Attr;
|
|
2132
|
-
requestFullscreen(options?: FullscreenOptions
|
|
2133
|
-
requestPointerLock(): void
|
|
2134
|
-
scroll(options?: ScrollToOptions
|
|
2301
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
2302
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
2303
|
+
scroll(options?: ScrollToOptions): void;
|
|
2135
2304
|
scroll(x: number, y: number): void;
|
|
2136
|
-
scrollBy(options?: ScrollToOptions
|
|
2305
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
2137
2306
|
scrollBy(x: number, y: number): void;
|
|
2138
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
|
2139
|
-
scrollTo(options?: ScrollToOptions
|
|
2307
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
2308
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
2140
2309
|
scrollTo(x: number, y: number): void;
|
|
2141
2310
|
setAttribute(qualifiedName: string, value: string): void;
|
|
2142
2311
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
2143
2312
|
setAttributeNode(attr: Attr): Attr | null;
|
|
2144
2313
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
2314
|
+
setHTMLUnsafe(html: string): void;
|
|
2145
2315
|
setPointerCapture(pointerId: number): void;
|
|
2146
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
|
2316
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
2147
2317
|
webkitMatchesSelector(selectors: string): boolean;
|
|
2318
|
+
get textContent(): string;
|
|
2319
|
+
set textContent(value: string | null);
|
|
2148
2320
|
readonly baseURI: string;
|
|
2149
2321
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
2150
2322
|
readonly firstChild: ChildNode | null;
|
|
@@ -2157,22 +2329,21 @@ declare const TextField_base: {
|
|
|
2157
2329
|
readonly parentElement: HTMLElement | null;
|
|
2158
2330
|
readonly parentNode: ParentNode | null;
|
|
2159
2331
|
readonly previousSibling: ChildNode | null;
|
|
2160
|
-
textContent: string | null;
|
|
2161
2332
|
appendChild<T extends Node>(node: T): T;
|
|
2162
|
-
cloneNode(
|
|
2333
|
+
cloneNode(subtree?: boolean): Node;
|
|
2163
2334
|
compareDocumentPosition(other: Node): number;
|
|
2164
2335
|
contains(other: Node | null): boolean;
|
|
2165
|
-
getRootNode(options?: GetRootNodeOptions
|
|
2336
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
2166
2337
|
hasChildNodes(): boolean;
|
|
2167
|
-
insertBefore<
|
|
2338
|
+
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
2168
2339
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
2169
2340
|
isEqualNode(otherNode: Node | null): boolean;
|
|
2170
2341
|
isSameNode(otherNode: Node | null): boolean;
|
|
2171
2342
|
lookupNamespaceURI(prefix: string | null): string | null;
|
|
2172
2343
|
lookupPrefix(namespace: string | null): string | null;
|
|
2173
2344
|
normalize(): void;
|
|
2174
|
-
removeChild<
|
|
2175
|
-
replaceChild<
|
|
2345
|
+
removeChild<T extends Node>(child: T): T;
|
|
2346
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
2176
2347
|
readonly ELEMENT_NODE: 1;
|
|
2177
2348
|
readonly ATTRIBUTE_NODE: 2;
|
|
2178
2349
|
readonly TEXT_NODE: 3;
|
|
@@ -2192,35 +2363,49 @@ declare const TextField_base: {
|
|
|
2192
2363
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
2193
2364
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
2194
2365
|
dispatchEvent(event: Event): boolean;
|
|
2366
|
+
ariaActiveDescendantElement: Element | null;
|
|
2195
2367
|
ariaAtomic: string | null;
|
|
2196
2368
|
ariaAutoComplete: string | null;
|
|
2369
|
+
ariaBrailleLabel: string | null;
|
|
2370
|
+
ariaBrailleRoleDescription: string | null;
|
|
2197
2371
|
ariaBusy: string | null;
|
|
2198
2372
|
ariaChecked: string | null;
|
|
2199
2373
|
ariaColCount: string | null;
|
|
2200
2374
|
ariaColIndex: string | null;
|
|
2375
|
+
ariaColIndexText: string | null;
|
|
2201
2376
|
ariaColSpan: string | null;
|
|
2377
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
2202
2378
|
ariaCurrent: string | null;
|
|
2379
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
2380
|
+
ariaDescription: string | null;
|
|
2381
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
2203
2382
|
ariaDisabled: string | null;
|
|
2383
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
2204
2384
|
ariaExpanded: string | null;
|
|
2385
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
2205
2386
|
ariaHasPopup: string | null;
|
|
2206
2387
|
ariaHidden: string | null;
|
|
2207
2388
|
ariaInvalid: string | null;
|
|
2208
2389
|
ariaKeyShortcuts: string | null;
|
|
2209
2390
|
ariaLabel: string | null;
|
|
2391
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
2210
2392
|
ariaLevel: string | null;
|
|
2211
2393
|
ariaLive: string | null;
|
|
2212
2394
|
ariaModal: string | null;
|
|
2213
2395
|
ariaMultiLine: string | null;
|
|
2214
2396
|
ariaMultiSelectable: string | null;
|
|
2215
2397
|
ariaOrientation: string | null;
|
|
2398
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
2216
2399
|
ariaPlaceholder: string | null;
|
|
2217
2400
|
ariaPosInSet: string | null;
|
|
2218
2401
|
ariaPressed: string | null;
|
|
2219
2402
|
ariaReadOnly: string | null;
|
|
2403
|
+
ariaRelevant: string | null;
|
|
2220
2404
|
ariaRequired: string | null;
|
|
2221
2405
|
ariaRoleDescription: string | null;
|
|
2222
2406
|
ariaRowCount: string | null;
|
|
2223
2407
|
ariaRowIndex: string | null;
|
|
2408
|
+
ariaRowIndexText: string | null;
|
|
2224
2409
|
ariaRowSpan: string | null;
|
|
2225
2410
|
ariaSelected: string | null;
|
|
2226
2411
|
ariaSetSize: string | null;
|
|
@@ -2230,34 +2415,35 @@ declare const TextField_base: {
|
|
|
2230
2415
|
ariaValueNow: string | null;
|
|
2231
2416
|
ariaValueText: string | null;
|
|
2232
2417
|
role: string | null;
|
|
2233
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
|
2234
|
-
getAnimations(options?: GetAnimationsOptions
|
|
2235
|
-
after(...nodes: (
|
|
2236
|
-
before(...nodes: (
|
|
2418
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
2419
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
2420
|
+
after(...nodes: (Node | string)[]): void;
|
|
2421
|
+
before(...nodes: (Node | string)[]): void;
|
|
2237
2422
|
remove(): void;
|
|
2238
|
-
replaceWith(...nodes: (
|
|
2239
|
-
innerHTML: string;
|
|
2423
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
2240
2424
|
readonly nextElementSibling: Element | null;
|
|
2241
2425
|
readonly previousElementSibling: Element | null;
|
|
2242
2426
|
readonly childElementCount: number;
|
|
2243
2427
|
readonly children: HTMLCollection;
|
|
2244
2428
|
readonly firstElementChild: Element | null;
|
|
2245
2429
|
readonly lastElementChild: Element | null;
|
|
2246
|
-
append(...nodes: (
|
|
2247
|
-
prepend(...nodes: (
|
|
2248
|
-
querySelector<
|
|
2249
|
-
querySelector<
|
|
2250
|
-
querySelector<
|
|
2251
|
-
querySelector<
|
|
2252
|
-
querySelector<
|
|
2253
|
-
querySelectorAll<
|
|
2254
|
-
querySelectorAll<
|
|
2255
|
-
querySelectorAll<
|
|
2256
|
-
querySelectorAll<
|
|
2257
|
-
querySelectorAll<
|
|
2258
|
-
replaceChildren(...nodes: (
|
|
2430
|
+
append(...nodes: (Node | string)[]): void;
|
|
2431
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
2432
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
2433
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
2434
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
2435
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
2436
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
2437
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
2438
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
2439
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
2440
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
2441
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
2442
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
2259
2443
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
2260
|
-
readonly
|
|
2444
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
2445
|
+
get style(): CSSStyleDeclaration;
|
|
2446
|
+
set style(cssText: string);
|
|
2261
2447
|
contentEditable: string;
|
|
2262
2448
|
enterKeyHint: string;
|
|
2263
2449
|
inputMode: string;
|
|
@@ -2267,16 +2453,20 @@ declare const TextField_base: {
|
|
|
2267
2453
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
2268
2454
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
2269
2455
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
2270
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
2456
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2271
2457
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
2458
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2459
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
2272
2460
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
2273
2461
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2274
2462
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2275
2463
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2276
2464
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2277
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
2465
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2278
2466
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2279
|
-
|
|
2467
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2468
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2469
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2280
2470
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
2281
2471
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2282
2472
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -2323,12 +2513,14 @@ declare const TextField_base: {
|
|
|
2323
2513
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2324
2514
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2325
2515
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2516
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2326
2517
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2327
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
|
2518
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
2328
2519
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2329
2520
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2330
2521
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
2331
2522
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2523
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2332
2524
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
2333
2525
|
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2334
2526
|
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -2340,7 +2532,7 @@ declare const TextField_base: {
|
|
|
2340
2532
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
2341
2533
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2342
2534
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2343
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
2535
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
2344
2536
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
2345
2537
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
2346
2538
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -2358,14 +2550,10 @@ declare const TextField_base: {
|
|
|
2358
2550
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
2359
2551
|
autofocus: boolean;
|
|
2360
2552
|
readonly dataset: DOMStringMap;
|
|
2361
|
-
nonce?: string
|
|
2553
|
+
nonce?: string;
|
|
2362
2554
|
tabIndex: number;
|
|
2363
2555
|
blur(): void;
|
|
2364
|
-
focus(options?: FocusOptions
|
|
2365
|
-
ariaColIndexText: string | null;
|
|
2366
|
-
ariaDescription: string | null;
|
|
2367
|
-
ariaRowIndexText: string | null;
|
|
2368
|
-
ariaRelevant: string | null;
|
|
2556
|
+
focus(options?: FocusOptions): void;
|
|
2369
2557
|
roleChanged(prev: string | null, next: string | null): void;
|
|
2370
2558
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
2371
2559
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -2408,7 +2596,7 @@ declare const TextField_base: {
|
|
|
2408
2596
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
2409
2597
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
2410
2598
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
2411
|
-
"__#
|
|
2599
|
+
"__#private@#handleReplacedProp"(replacedProp: {
|
|
2412
2600
|
newPropertyName: string;
|
|
2413
2601
|
deprecatedPropertyName: string;
|
|
2414
2602
|
fromDeprecated: (v: any) => any;
|
|
@@ -2417,17 +2605,18 @@ declare const TextField_base: {
|
|
|
2417
2605
|
};
|
|
2418
2606
|
} & {
|
|
2419
2607
|
new (...args: any[]): {
|
|
2420
|
-
icon?: string
|
|
2421
|
-
iconSlottedContent?: HTMLElement[]
|
|
2608
|
+
icon?: string;
|
|
2609
|
+
iconSlottedContent?: HTMLElement[];
|
|
2422
2610
|
connectedCallback(): void;
|
|
2423
|
-
_vividAriaBehaviour: import(
|
|
2424
|
-
readonly $fastController: import(
|
|
2425
|
-
$emit(type: string, detail?: any, options?: Omit<CustomEventInit
|
|
2611
|
+
_vividAriaBehaviour: import('../../shared/aria/aria-mixin').VividAriaBehaviour;
|
|
2612
|
+
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
2613
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
2426
2614
|
disconnectedCallback(): void;
|
|
2427
2615
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
2428
2616
|
accessKey: string;
|
|
2429
2617
|
readonly accessKeyLabel: string;
|
|
2430
2618
|
autocapitalize: string;
|
|
2619
|
+
autocorrect: boolean;
|
|
2431
2620
|
dir: string;
|
|
2432
2621
|
draggable: boolean;
|
|
2433
2622
|
hidden: boolean;
|
|
@@ -2440,30 +2629,39 @@ declare const TextField_base: {
|
|
|
2440
2629
|
readonly offsetTop: number;
|
|
2441
2630
|
readonly offsetWidth: number;
|
|
2442
2631
|
outerText: string;
|
|
2632
|
+
popover: string | null;
|
|
2443
2633
|
spellcheck: boolean;
|
|
2444
2634
|
title: string;
|
|
2445
2635
|
translate: boolean;
|
|
2636
|
+
writingSuggestions: string;
|
|
2446
2637
|
attachInternals(): ElementInternals;
|
|
2447
2638
|
click(): void;
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2639
|
+
hidePopover(): void;
|
|
2640
|
+
showPopover(): void;
|
|
2641
|
+
togglePopover(options?: boolean): boolean;
|
|
2642
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2643
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2644
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2645
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2452
2646
|
readonly attributes: NamedNodeMap;
|
|
2453
|
-
|
|
2647
|
+
get classList(): DOMTokenList;
|
|
2648
|
+
set classList(value: string);
|
|
2454
2649
|
className: string;
|
|
2455
2650
|
readonly clientHeight: number;
|
|
2456
2651
|
readonly clientLeft: number;
|
|
2457
2652
|
readonly clientTop: number;
|
|
2458
2653
|
readonly clientWidth: number;
|
|
2654
|
+
readonly currentCSSZoom: number;
|
|
2459
2655
|
id: string;
|
|
2656
|
+
innerHTML: string;
|
|
2460
2657
|
readonly localName: string;
|
|
2461
2658
|
readonly namespaceURI: string | null;
|
|
2462
2659
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
2463
2660
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
2464
2661
|
outerHTML: string;
|
|
2465
2662
|
readonly ownerDocument: Document;
|
|
2466
|
-
|
|
2663
|
+
get part(): DOMTokenList;
|
|
2664
|
+
set part(value: string);
|
|
2467
2665
|
readonly prefix: string | null;
|
|
2468
2666
|
readonly scrollHeight: number;
|
|
2469
2667
|
scrollLeft: number;
|
|
@@ -2473,11 +2671,12 @@ declare const TextField_base: {
|
|
|
2473
2671
|
slot: string;
|
|
2474
2672
|
readonly tagName: string;
|
|
2475
2673
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
2476
|
-
checkVisibility(options?: CheckVisibilityOptions
|
|
2477
|
-
closest<
|
|
2478
|
-
closest<
|
|
2479
|
-
closest<
|
|
2480
|
-
closest<
|
|
2674
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
2675
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
2676
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
2677
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
2678
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
2679
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
2481
2680
|
getAttribute(qualifiedName: string): string | null;
|
|
2482
2681
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
2483
2682
|
getAttributeNames(): string[];
|
|
@@ -2486,43 +2685,47 @@ declare const TextField_base: {
|
|
|
2486
2685
|
getBoundingClientRect(): DOMRect;
|
|
2487
2686
|
getClientRects(): DOMRectList;
|
|
2488
2687
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
2489
|
-
getElementsByTagName<
|
|
2490
|
-
getElementsByTagName<
|
|
2491
|
-
getElementsByTagName<
|
|
2492
|
-
getElementsByTagName<
|
|
2688
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
2689
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
2690
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
2691
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
2493
2692
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
2494
2693
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
2495
2694
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
2496
2695
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
2497
2696
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
2697
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
2498
2698
|
hasAttribute(qualifiedName: string): boolean;
|
|
2499
2699
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
2500
2700
|
hasAttributes(): boolean;
|
|
2501
2701
|
hasPointerCapture(pointerId: number): boolean;
|
|
2502
2702
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
2503
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
2703
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
2504
2704
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
2505
2705
|
matches(selectors: string): boolean;
|
|
2506
2706
|
releasePointerCapture(pointerId: number): void;
|
|
2507
2707
|
removeAttribute(qualifiedName: string): void;
|
|
2508
2708
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
2509
2709
|
removeAttributeNode(attr: Attr): Attr;
|
|
2510
|
-
requestFullscreen(options?: FullscreenOptions
|
|
2511
|
-
requestPointerLock(): void
|
|
2512
|
-
scroll(options?: ScrollToOptions
|
|
2710
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
2711
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
2712
|
+
scroll(options?: ScrollToOptions): void;
|
|
2513
2713
|
scroll(x: number, y: number): void;
|
|
2514
|
-
scrollBy(options?: ScrollToOptions
|
|
2714
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
2515
2715
|
scrollBy(x: number, y: number): void;
|
|
2516
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
|
2517
|
-
scrollTo(options?: ScrollToOptions
|
|
2716
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
2717
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
2518
2718
|
scrollTo(x: number, y: number): void;
|
|
2519
2719
|
setAttribute(qualifiedName: string, value: string): void;
|
|
2520
2720
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
2521
2721
|
setAttributeNode(attr: Attr): Attr | null;
|
|
2522
2722
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
2723
|
+
setHTMLUnsafe(html: string): void;
|
|
2523
2724
|
setPointerCapture(pointerId: number): void;
|
|
2524
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
|
2725
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
2525
2726
|
webkitMatchesSelector(selectors: string): boolean;
|
|
2727
|
+
get textContent(): string;
|
|
2728
|
+
set textContent(value: string | null);
|
|
2526
2729
|
readonly baseURI: string;
|
|
2527
2730
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
2528
2731
|
readonly firstChild: ChildNode | null;
|
|
@@ -2535,22 +2738,21 @@ declare const TextField_base: {
|
|
|
2535
2738
|
readonly parentElement: HTMLElement | null;
|
|
2536
2739
|
readonly parentNode: ParentNode | null;
|
|
2537
2740
|
readonly previousSibling: ChildNode | null;
|
|
2538
|
-
textContent: string | null;
|
|
2539
2741
|
appendChild<T extends Node>(node: T): T;
|
|
2540
|
-
cloneNode(
|
|
2742
|
+
cloneNode(subtree?: boolean): Node;
|
|
2541
2743
|
compareDocumentPosition(other: Node): number;
|
|
2542
2744
|
contains(other: Node | null): boolean;
|
|
2543
|
-
getRootNode(options?: GetRootNodeOptions
|
|
2745
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
2544
2746
|
hasChildNodes(): boolean;
|
|
2545
|
-
insertBefore<
|
|
2747
|
+
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
2546
2748
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
2547
2749
|
isEqualNode(otherNode: Node | null): boolean;
|
|
2548
2750
|
isSameNode(otherNode: Node | null): boolean;
|
|
2549
2751
|
lookupNamespaceURI(prefix: string | null): string | null;
|
|
2550
2752
|
lookupPrefix(namespace: string | null): string | null;
|
|
2551
2753
|
normalize(): void;
|
|
2552
|
-
removeChild<
|
|
2553
|
-
replaceChild<
|
|
2754
|
+
removeChild<T extends Node>(child: T): T;
|
|
2755
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
2554
2756
|
readonly ELEMENT_NODE: 1;
|
|
2555
2757
|
readonly ATTRIBUTE_NODE: 2;
|
|
2556
2758
|
readonly TEXT_NODE: 3;
|
|
@@ -2570,35 +2772,49 @@ declare const TextField_base: {
|
|
|
2570
2772
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
2571
2773
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
2572
2774
|
dispatchEvent(event: Event): boolean;
|
|
2775
|
+
ariaActiveDescendantElement: Element | null;
|
|
2573
2776
|
ariaAtomic: string | null;
|
|
2574
2777
|
ariaAutoComplete: string | null;
|
|
2778
|
+
ariaBrailleLabel: string | null;
|
|
2779
|
+
ariaBrailleRoleDescription: string | null;
|
|
2575
2780
|
ariaBusy: string | null;
|
|
2576
2781
|
ariaChecked: string | null;
|
|
2577
2782
|
ariaColCount: string | null;
|
|
2578
2783
|
ariaColIndex: string | null;
|
|
2784
|
+
ariaColIndexText: string | null;
|
|
2579
2785
|
ariaColSpan: string | null;
|
|
2786
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
2580
2787
|
ariaCurrent: string | null;
|
|
2788
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
2789
|
+
ariaDescription: string | null;
|
|
2790
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
2581
2791
|
ariaDisabled: string | null;
|
|
2792
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
2582
2793
|
ariaExpanded: string | null;
|
|
2794
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
2583
2795
|
ariaHasPopup: string | null;
|
|
2584
2796
|
ariaHidden: string | null;
|
|
2585
2797
|
ariaInvalid: string | null;
|
|
2586
2798
|
ariaKeyShortcuts: string | null;
|
|
2587
2799
|
ariaLabel: string | null;
|
|
2800
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
2588
2801
|
ariaLevel: string | null;
|
|
2589
2802
|
ariaLive: string | null;
|
|
2590
2803
|
ariaModal: string | null;
|
|
2591
2804
|
ariaMultiLine: string | null;
|
|
2592
2805
|
ariaMultiSelectable: string | null;
|
|
2593
2806
|
ariaOrientation: string | null;
|
|
2807
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
2594
2808
|
ariaPlaceholder: string | null;
|
|
2595
2809
|
ariaPosInSet: string | null;
|
|
2596
2810
|
ariaPressed: string | null;
|
|
2597
2811
|
ariaReadOnly: string | null;
|
|
2812
|
+
ariaRelevant: string | null;
|
|
2598
2813
|
ariaRequired: string | null;
|
|
2599
2814
|
ariaRoleDescription: string | null;
|
|
2600
2815
|
ariaRowCount: string | null;
|
|
2601
2816
|
ariaRowIndex: string | null;
|
|
2817
|
+
ariaRowIndexText: string | null;
|
|
2602
2818
|
ariaRowSpan: string | null;
|
|
2603
2819
|
ariaSelected: string | null;
|
|
2604
2820
|
ariaSetSize: string | null;
|
|
@@ -2608,34 +2824,35 @@ declare const TextField_base: {
|
|
|
2608
2824
|
ariaValueNow: string | null;
|
|
2609
2825
|
ariaValueText: string | null;
|
|
2610
2826
|
role: string | null;
|
|
2611
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
|
2612
|
-
getAnimations(options?: GetAnimationsOptions
|
|
2613
|
-
after(...nodes: (
|
|
2614
|
-
before(...nodes: (
|
|
2827
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
2828
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
2829
|
+
after(...nodes: (Node | string)[]): void;
|
|
2830
|
+
before(...nodes: (Node | string)[]): void;
|
|
2615
2831
|
remove(): void;
|
|
2616
|
-
replaceWith(...nodes: (
|
|
2617
|
-
innerHTML: string;
|
|
2832
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
2618
2833
|
readonly nextElementSibling: Element | null;
|
|
2619
2834
|
readonly previousElementSibling: Element | null;
|
|
2620
2835
|
readonly childElementCount: number;
|
|
2621
2836
|
readonly children: HTMLCollection;
|
|
2622
2837
|
readonly firstElementChild: Element | null;
|
|
2623
2838
|
readonly lastElementChild: Element | null;
|
|
2624
|
-
append(...nodes: (
|
|
2625
|
-
prepend(...nodes: (
|
|
2626
|
-
querySelector<
|
|
2627
|
-
querySelector<
|
|
2628
|
-
querySelector<
|
|
2629
|
-
querySelector<
|
|
2630
|
-
querySelector<
|
|
2631
|
-
querySelectorAll<
|
|
2632
|
-
querySelectorAll<
|
|
2633
|
-
querySelectorAll<
|
|
2634
|
-
querySelectorAll<
|
|
2635
|
-
querySelectorAll<
|
|
2636
|
-
replaceChildren(...nodes: (
|
|
2839
|
+
append(...nodes: (Node | string)[]): void;
|
|
2840
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
2841
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
2842
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
2843
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
2844
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
2845
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
2846
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
2847
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
2848
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
2849
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
2850
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
2851
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
2637
2852
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
2638
|
-
readonly
|
|
2853
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
2854
|
+
get style(): CSSStyleDeclaration;
|
|
2855
|
+
set style(cssText: string);
|
|
2639
2856
|
contentEditable: string;
|
|
2640
2857
|
enterKeyHint: string;
|
|
2641
2858
|
inputMode: string;
|
|
@@ -2645,16 +2862,20 @@ declare const TextField_base: {
|
|
|
2645
2862
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
2646
2863
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
2647
2864
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
2648
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
2865
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2649
2866
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
2867
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2868
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
2650
2869
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
2651
2870
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2652
2871
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2653
2872
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2654
2873
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2655
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
2874
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2656
2875
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2657
|
-
|
|
2876
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2877
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2878
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2658
2879
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
2659
2880
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2660
2881
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -2701,12 +2922,14 @@ declare const TextField_base: {
|
|
|
2701
2922
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2702
2923
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2703
2924
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2925
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2704
2926
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2705
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
|
2927
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
2706
2928
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2707
2929
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2708
2930
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
2709
2931
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2932
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2710
2933
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
2711
2934
|
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2712
2935
|
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -2718,7 +2941,7 @@ declare const TextField_base: {
|
|
|
2718
2941
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
2719
2942
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2720
2943
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2721
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
2944
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
2722
2945
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
2723
2946
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
2724
2947
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -2736,14 +2959,10 @@ declare const TextField_base: {
|
|
|
2736
2959
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
2737
2960
|
autofocus: boolean;
|
|
2738
2961
|
readonly dataset: DOMStringMap;
|
|
2739
|
-
nonce?: string
|
|
2962
|
+
nonce?: string;
|
|
2740
2963
|
tabIndex: number;
|
|
2741
2964
|
blur(): void;
|
|
2742
|
-
focus(options?: FocusOptions
|
|
2743
|
-
ariaColIndexText: string | null;
|
|
2744
|
-
ariaDescription: string | null;
|
|
2745
|
-
ariaRowIndexText: string | null;
|
|
2746
|
-
ariaRelevant: string | null;
|
|
2965
|
+
focus(options?: FocusOptions): void;
|
|
2747
2966
|
roleChanged(prev: string | null, next: string | null): void;
|
|
2748
2967
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
2749
2968
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -2786,7 +3005,7 @@ declare const TextField_base: {
|
|
|
2786
3005
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
2787
3006
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
2788
3007
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
2789
|
-
"__#
|
|
3008
|
+
"__#private@#handleReplacedProp"(replacedProp: {
|
|
2790
3009
|
newPropertyName: string;
|
|
2791
3010
|
deprecatedPropertyName: string;
|
|
2792
3011
|
fromDeprecated: (v: any) => any;
|
|
@@ -2797,13 +3016,14 @@ declare const TextField_base: {
|
|
|
2797
3016
|
new (...args: any[]): {
|
|
2798
3017
|
_vividAriaBehaviour: "delegate";
|
|
2799
3018
|
connectedCallback(): void;
|
|
2800
|
-
readonly $fastController: import(
|
|
2801
|
-
$emit(type: string, detail?: any, options?: Omit<CustomEventInit
|
|
3019
|
+
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
3020
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
2802
3021
|
disconnectedCallback(): void;
|
|
2803
3022
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
2804
3023
|
accessKey: string;
|
|
2805
3024
|
readonly accessKeyLabel: string;
|
|
2806
3025
|
autocapitalize: string;
|
|
3026
|
+
autocorrect: boolean;
|
|
2807
3027
|
dir: string;
|
|
2808
3028
|
draggable: boolean;
|
|
2809
3029
|
hidden: boolean;
|
|
@@ -2816,30 +3036,39 @@ declare const TextField_base: {
|
|
|
2816
3036
|
readonly offsetTop: number;
|
|
2817
3037
|
readonly offsetWidth: number;
|
|
2818
3038
|
outerText: string;
|
|
3039
|
+
popover: string | null;
|
|
2819
3040
|
spellcheck: boolean;
|
|
2820
3041
|
title: string;
|
|
2821
3042
|
translate: boolean;
|
|
3043
|
+
writingSuggestions: string;
|
|
2822
3044
|
attachInternals(): ElementInternals;
|
|
2823
3045
|
click(): void;
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
3046
|
+
hidePopover(): void;
|
|
3047
|
+
showPopover(): void;
|
|
3048
|
+
togglePopover(options?: boolean): boolean;
|
|
3049
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3050
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3051
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3052
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2828
3053
|
readonly attributes: NamedNodeMap;
|
|
2829
|
-
|
|
3054
|
+
get classList(): DOMTokenList;
|
|
3055
|
+
set classList(value: string);
|
|
2830
3056
|
className: string;
|
|
2831
3057
|
readonly clientHeight: number;
|
|
2832
3058
|
readonly clientLeft: number;
|
|
2833
3059
|
readonly clientTop: number;
|
|
2834
3060
|
readonly clientWidth: number;
|
|
3061
|
+
readonly currentCSSZoom: number;
|
|
2835
3062
|
id: string;
|
|
3063
|
+
innerHTML: string;
|
|
2836
3064
|
readonly localName: string;
|
|
2837
3065
|
readonly namespaceURI: string | null;
|
|
2838
3066
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
2839
3067
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
2840
3068
|
outerHTML: string;
|
|
2841
3069
|
readonly ownerDocument: Document;
|
|
2842
|
-
|
|
3070
|
+
get part(): DOMTokenList;
|
|
3071
|
+
set part(value: string);
|
|
2843
3072
|
readonly prefix: string | null;
|
|
2844
3073
|
readonly scrollHeight: number;
|
|
2845
3074
|
scrollLeft: number;
|
|
@@ -2849,11 +3078,12 @@ declare const TextField_base: {
|
|
|
2849
3078
|
slot: string;
|
|
2850
3079
|
readonly tagName: string;
|
|
2851
3080
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
2852
|
-
checkVisibility(options?: CheckVisibilityOptions
|
|
2853
|
-
closest<
|
|
2854
|
-
closest<
|
|
2855
|
-
closest<
|
|
2856
|
-
closest<
|
|
3081
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
3082
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
3083
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
3084
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
3085
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
3086
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
2857
3087
|
getAttribute(qualifiedName: string): string | null;
|
|
2858
3088
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
2859
3089
|
getAttributeNames(): string[];
|
|
@@ -2862,43 +3092,47 @@ declare const TextField_base: {
|
|
|
2862
3092
|
getBoundingClientRect(): DOMRect;
|
|
2863
3093
|
getClientRects(): DOMRectList;
|
|
2864
3094
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
2865
|
-
getElementsByTagName<
|
|
2866
|
-
getElementsByTagName<
|
|
2867
|
-
getElementsByTagName<
|
|
2868
|
-
getElementsByTagName<
|
|
3095
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
3096
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
3097
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
3098
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
2869
3099
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
2870
3100
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
2871
3101
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
2872
3102
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
2873
3103
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
3104
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
2874
3105
|
hasAttribute(qualifiedName: string): boolean;
|
|
2875
3106
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
2876
3107
|
hasAttributes(): boolean;
|
|
2877
3108
|
hasPointerCapture(pointerId: number): boolean;
|
|
2878
3109
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
2879
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
3110
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
2880
3111
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
2881
3112
|
matches(selectors: string): boolean;
|
|
2882
3113
|
releasePointerCapture(pointerId: number): void;
|
|
2883
3114
|
removeAttribute(qualifiedName: string): void;
|
|
2884
3115
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
2885
3116
|
removeAttributeNode(attr: Attr): Attr;
|
|
2886
|
-
requestFullscreen(options?: FullscreenOptions
|
|
2887
|
-
requestPointerLock(): void
|
|
2888
|
-
scroll(options?: ScrollToOptions
|
|
3117
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
3118
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
3119
|
+
scroll(options?: ScrollToOptions): void;
|
|
2889
3120
|
scroll(x: number, y: number): void;
|
|
2890
|
-
scrollBy(options?: ScrollToOptions
|
|
3121
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
2891
3122
|
scrollBy(x: number, y: number): void;
|
|
2892
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
|
2893
|
-
scrollTo(options?: ScrollToOptions
|
|
3123
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
3124
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
2894
3125
|
scrollTo(x: number, y: number): void;
|
|
2895
3126
|
setAttribute(qualifiedName: string, value: string): void;
|
|
2896
3127
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
2897
3128
|
setAttributeNode(attr: Attr): Attr | null;
|
|
2898
3129
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
3130
|
+
setHTMLUnsafe(html: string): void;
|
|
2899
3131
|
setPointerCapture(pointerId: number): void;
|
|
2900
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
|
3132
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
2901
3133
|
webkitMatchesSelector(selectors: string): boolean;
|
|
3134
|
+
get textContent(): string;
|
|
3135
|
+
set textContent(value: string | null);
|
|
2902
3136
|
readonly baseURI: string;
|
|
2903
3137
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
2904
3138
|
readonly firstChild: ChildNode | null;
|
|
@@ -2911,22 +3145,21 @@ declare const TextField_base: {
|
|
|
2911
3145
|
readonly parentElement: HTMLElement | null;
|
|
2912
3146
|
readonly parentNode: ParentNode | null;
|
|
2913
3147
|
readonly previousSibling: ChildNode | null;
|
|
2914
|
-
textContent: string | null;
|
|
2915
3148
|
appendChild<T extends Node>(node: T): T;
|
|
2916
|
-
cloneNode(
|
|
3149
|
+
cloneNode(subtree?: boolean): Node;
|
|
2917
3150
|
compareDocumentPosition(other: Node): number;
|
|
2918
3151
|
contains(other: Node | null): boolean;
|
|
2919
|
-
getRootNode(options?: GetRootNodeOptions
|
|
3152
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
2920
3153
|
hasChildNodes(): boolean;
|
|
2921
|
-
insertBefore<
|
|
3154
|
+
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
2922
3155
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
2923
3156
|
isEqualNode(otherNode: Node | null): boolean;
|
|
2924
3157
|
isSameNode(otherNode: Node | null): boolean;
|
|
2925
3158
|
lookupNamespaceURI(prefix: string | null): string | null;
|
|
2926
3159
|
lookupPrefix(namespace: string | null): string | null;
|
|
2927
3160
|
normalize(): void;
|
|
2928
|
-
removeChild<
|
|
2929
|
-
replaceChild<
|
|
3161
|
+
removeChild<T extends Node>(child: T): T;
|
|
3162
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
2930
3163
|
readonly ELEMENT_NODE: 1;
|
|
2931
3164
|
readonly ATTRIBUTE_NODE: 2;
|
|
2932
3165
|
readonly TEXT_NODE: 3;
|
|
@@ -2946,35 +3179,49 @@ declare const TextField_base: {
|
|
|
2946
3179
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
2947
3180
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
2948
3181
|
dispatchEvent(event: Event): boolean;
|
|
3182
|
+
ariaActiveDescendantElement: Element | null;
|
|
2949
3183
|
ariaAtomic: string | null;
|
|
2950
3184
|
ariaAutoComplete: string | null;
|
|
3185
|
+
ariaBrailleLabel: string | null;
|
|
3186
|
+
ariaBrailleRoleDescription: string | null;
|
|
2951
3187
|
ariaBusy: string | null;
|
|
2952
3188
|
ariaChecked: string | null;
|
|
2953
3189
|
ariaColCount: string | null;
|
|
2954
3190
|
ariaColIndex: string | null;
|
|
3191
|
+
ariaColIndexText: string | null;
|
|
2955
3192
|
ariaColSpan: string | null;
|
|
3193
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
2956
3194
|
ariaCurrent: string | null;
|
|
3195
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
3196
|
+
ariaDescription: string | null;
|
|
3197
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
2957
3198
|
ariaDisabled: string | null;
|
|
3199
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
2958
3200
|
ariaExpanded: string | null;
|
|
3201
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
2959
3202
|
ariaHasPopup: string | null;
|
|
2960
3203
|
ariaHidden: string | null;
|
|
2961
3204
|
ariaInvalid: string | null;
|
|
2962
3205
|
ariaKeyShortcuts: string | null;
|
|
2963
3206
|
ariaLabel: string | null;
|
|
3207
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
2964
3208
|
ariaLevel: string | null;
|
|
2965
3209
|
ariaLive: string | null;
|
|
2966
3210
|
ariaModal: string | null;
|
|
2967
3211
|
ariaMultiLine: string | null;
|
|
2968
3212
|
ariaMultiSelectable: string | null;
|
|
2969
3213
|
ariaOrientation: string | null;
|
|
3214
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
2970
3215
|
ariaPlaceholder: string | null;
|
|
2971
3216
|
ariaPosInSet: string | null;
|
|
2972
3217
|
ariaPressed: string | null;
|
|
2973
3218
|
ariaReadOnly: string | null;
|
|
3219
|
+
ariaRelevant: string | null;
|
|
2974
3220
|
ariaRequired: string | null;
|
|
2975
3221
|
ariaRoleDescription: string | null;
|
|
2976
3222
|
ariaRowCount: string | null;
|
|
2977
3223
|
ariaRowIndex: string | null;
|
|
3224
|
+
ariaRowIndexText: string | null;
|
|
2978
3225
|
ariaRowSpan: string | null;
|
|
2979
3226
|
ariaSelected: string | null;
|
|
2980
3227
|
ariaSetSize: string | null;
|
|
@@ -2984,34 +3231,35 @@ declare const TextField_base: {
|
|
|
2984
3231
|
ariaValueNow: string | null;
|
|
2985
3232
|
ariaValueText: string | null;
|
|
2986
3233
|
role: string | null;
|
|
2987
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
|
2988
|
-
getAnimations(options?: GetAnimationsOptions
|
|
2989
|
-
after(...nodes: (
|
|
2990
|
-
before(...nodes: (
|
|
3234
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
3235
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
3236
|
+
after(...nodes: (Node | string)[]): void;
|
|
3237
|
+
before(...nodes: (Node | string)[]): void;
|
|
2991
3238
|
remove(): void;
|
|
2992
|
-
replaceWith(...nodes: (
|
|
2993
|
-
innerHTML: string;
|
|
3239
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
2994
3240
|
readonly nextElementSibling: Element | null;
|
|
2995
3241
|
readonly previousElementSibling: Element | null;
|
|
2996
3242
|
readonly childElementCount: number;
|
|
2997
3243
|
readonly children: HTMLCollection;
|
|
2998
3244
|
readonly firstElementChild: Element | null;
|
|
2999
3245
|
readonly lastElementChild: Element | null;
|
|
3000
|
-
append(...nodes: (
|
|
3001
|
-
prepend(...nodes: (
|
|
3002
|
-
querySelector<
|
|
3003
|
-
querySelector<
|
|
3004
|
-
querySelector<
|
|
3005
|
-
querySelector<
|
|
3006
|
-
querySelector<
|
|
3007
|
-
querySelectorAll<
|
|
3008
|
-
querySelectorAll<
|
|
3009
|
-
querySelectorAll<
|
|
3010
|
-
querySelectorAll<
|
|
3011
|
-
querySelectorAll<
|
|
3012
|
-
replaceChildren(...nodes: (
|
|
3246
|
+
append(...nodes: (Node | string)[]): void;
|
|
3247
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
3248
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
3249
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
3250
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
3251
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
3252
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
3253
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
3254
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
3255
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
3256
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
3257
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
3258
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
3013
3259
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
3014
|
-
readonly
|
|
3260
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
3261
|
+
get style(): CSSStyleDeclaration;
|
|
3262
|
+
set style(cssText: string);
|
|
3015
3263
|
contentEditable: string;
|
|
3016
3264
|
enterKeyHint: string;
|
|
3017
3265
|
inputMode: string;
|
|
@@ -3021,16 +3269,20 @@ declare const TextField_base: {
|
|
|
3021
3269
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
3022
3270
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
3023
3271
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
3024
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
3272
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
3025
3273
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
3274
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3275
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
3026
3276
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
3027
3277
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3028
3278
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3029
3279
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3030
3280
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3031
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
3281
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
3032
3282
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3033
|
-
|
|
3283
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3284
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
3285
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3034
3286
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
3035
3287
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3036
3288
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -3077,12 +3329,14 @@ declare const TextField_base: {
|
|
|
3077
3329
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
3078
3330
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
3079
3331
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
3332
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3080
3333
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
3081
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
|
3334
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
3082
3335
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3083
3336
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3084
3337
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
3085
3338
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3339
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3086
3340
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
3087
3341
|
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3088
3342
|
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -3094,7 +3348,7 @@ declare const TextField_base: {
|
|
|
3094
3348
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
3095
3349
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3096
3350
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3097
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
3351
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
3098
3352
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
3099
3353
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
3100
3354
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -3112,14 +3366,10 @@ declare const TextField_base: {
|
|
|
3112
3366
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
3113
3367
|
autofocus: boolean;
|
|
3114
3368
|
readonly dataset: DOMStringMap;
|
|
3115
|
-
nonce?: string
|
|
3369
|
+
nonce?: string;
|
|
3116
3370
|
tabIndex: number;
|
|
3117
3371
|
blur(): void;
|
|
3118
|
-
focus(options?: FocusOptions
|
|
3119
|
-
ariaColIndexText: string | null;
|
|
3120
|
-
ariaDescription: string | null;
|
|
3121
|
-
ariaRowIndexText: string | null;
|
|
3122
|
-
ariaRelevant: string | null;
|
|
3372
|
+
focus(options?: FocusOptions): void;
|
|
3123
3373
|
roleChanged(prev: string | null, next: string | null): void;
|
|
3124
3374
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
3125
3375
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -3162,7 +3412,7 @@ declare const TextField_base: {
|
|
|
3162
3412
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
3163
3413
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
3164
3414
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
3165
|
-
"__#
|
|
3415
|
+
"__#private@#handleReplacedProp"(replacedProp: {
|
|
3166
3416
|
newPropertyName: string;
|
|
3167
3417
|
deprecatedPropertyName: string;
|
|
3168
3418
|
fromDeprecated: (v: any) => any;
|
|
@@ -3171,17 +3421,18 @@ declare const TextField_base: {
|
|
|
3171
3421
|
};
|
|
3172
3422
|
} & {
|
|
3173
3423
|
new (...args: any[]): {
|
|
3174
|
-
proxy: import(
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3424
|
+
proxy: import('../../shared/foundation/form-associated/form-associated').ProxyElement;
|
|
3425
|
+
get validity(): ValidityState;
|
|
3426
|
+
get form(): HTMLFormElement | null;
|
|
3427
|
+
get validationMessage(): string;
|
|
3428
|
+
get willValidate(): boolean;
|
|
3429
|
+
get labels(): ReadonlyArray<Node>;
|
|
3180
3430
|
dirtyValue: boolean;
|
|
3181
|
-
proxySlot?: HTMLSlotElement
|
|
3431
|
+
proxySlot?: HTMLSlotElement;
|
|
3182
3432
|
value: string;
|
|
3183
3433
|
valueChanged(_previous: string, _next: string): void;
|
|
3184
|
-
currentValue: string;
|
|
3434
|
+
get currentValue(): string;
|
|
3435
|
+
set currentValue(value: string);
|
|
3185
3436
|
initialValue: string;
|
|
3186
3437
|
initialValueChanged(_previous: string, _next: string): void;
|
|
3187
3438
|
disabled: boolean;
|
|
@@ -3190,29 +3441,30 @@ declare const TextField_base: {
|
|
|
3190
3441
|
nameChanged(_previous: string, _next: string): void;
|
|
3191
3442
|
required: boolean;
|
|
3192
3443
|
requiredChanged(_previous: boolean, _next: boolean): void;
|
|
3193
|
-
|
|
3444
|
+
get elementInternals(): ElementInternals | null;
|
|
3194
3445
|
proxyEventsToBlock: string[];
|
|
3195
3446
|
connectedCallback(): void;
|
|
3196
3447
|
disconnectedCallback(): void;
|
|
3197
3448
|
checkValidity(): boolean;
|
|
3198
3449
|
reportValidity(): boolean;
|
|
3199
|
-
setValidity(flags: ValidityStateFlags, message?: string
|
|
3450
|
+
setValidity(flags: ValidityStateFlags, message?: string, anchor?: HTMLElement): void;
|
|
3200
3451
|
formDisabledCallback(disabled: boolean): void;
|
|
3201
3452
|
formResetCallback(): void;
|
|
3202
3453
|
proxyInitialized: boolean;
|
|
3203
3454
|
attachProxy(): void;
|
|
3204
3455
|
detachProxy(): void;
|
|
3205
|
-
validate(anchor?: HTMLElement
|
|
3206
|
-
setFormValue(value:
|
|
3456
|
+
validate(anchor?: HTMLElement): void;
|
|
3457
|
+
setFormValue(value: File | string | FormData | null, state?: File | string | FormData | null): void;
|
|
3207
3458
|
_keypressHandler(e: KeyboardEvent): void;
|
|
3208
3459
|
stopPropagation(e: Event): void;
|
|
3209
|
-
_vividAriaBehaviour: import(
|
|
3210
|
-
readonly $fastController: import(
|
|
3211
|
-
$emit(type: string, detail?: any, options?: Omit<CustomEventInit
|
|
3460
|
+
_vividAriaBehaviour: import('../../shared/aria/aria-mixin').VividAriaBehaviour;
|
|
3461
|
+
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
3462
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
3212
3463
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
3213
3464
|
accessKey: string;
|
|
3214
3465
|
readonly accessKeyLabel: string;
|
|
3215
3466
|
autocapitalize: string;
|
|
3467
|
+
autocorrect: boolean;
|
|
3216
3468
|
dir: string;
|
|
3217
3469
|
draggable: boolean;
|
|
3218
3470
|
hidden: boolean;
|
|
@@ -3225,30 +3477,39 @@ declare const TextField_base: {
|
|
|
3225
3477
|
readonly offsetTop: number;
|
|
3226
3478
|
readonly offsetWidth: number;
|
|
3227
3479
|
outerText: string;
|
|
3480
|
+
popover: string | null;
|
|
3228
3481
|
spellcheck: boolean;
|
|
3229
3482
|
title: string;
|
|
3230
3483
|
translate: boolean;
|
|
3484
|
+
writingSuggestions: string;
|
|
3231
3485
|
attachInternals(): ElementInternals;
|
|
3232
3486
|
click(): void;
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3487
|
+
hidePopover(): void;
|
|
3488
|
+
showPopover(): void;
|
|
3489
|
+
togglePopover(options?: boolean): boolean;
|
|
3490
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3491
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3492
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3493
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3237
3494
|
readonly attributes: NamedNodeMap;
|
|
3238
|
-
|
|
3495
|
+
get classList(): DOMTokenList;
|
|
3496
|
+
set classList(value: string);
|
|
3239
3497
|
className: string;
|
|
3240
3498
|
readonly clientHeight: number;
|
|
3241
3499
|
readonly clientLeft: number;
|
|
3242
3500
|
readonly clientTop: number;
|
|
3243
3501
|
readonly clientWidth: number;
|
|
3502
|
+
readonly currentCSSZoom: number;
|
|
3244
3503
|
id: string;
|
|
3504
|
+
innerHTML: string;
|
|
3245
3505
|
readonly localName: string;
|
|
3246
3506
|
readonly namespaceURI: string | null;
|
|
3247
3507
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
3248
3508
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
3249
3509
|
outerHTML: string;
|
|
3250
3510
|
readonly ownerDocument: Document;
|
|
3251
|
-
|
|
3511
|
+
get part(): DOMTokenList;
|
|
3512
|
+
set part(value: string);
|
|
3252
3513
|
readonly prefix: string | null;
|
|
3253
3514
|
readonly scrollHeight: number;
|
|
3254
3515
|
scrollLeft: number;
|
|
@@ -3258,11 +3519,12 @@ declare const TextField_base: {
|
|
|
3258
3519
|
slot: string;
|
|
3259
3520
|
readonly tagName: string;
|
|
3260
3521
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
3261
|
-
checkVisibility(options?: CheckVisibilityOptions
|
|
3262
|
-
closest<
|
|
3263
|
-
closest<
|
|
3264
|
-
closest<
|
|
3265
|
-
closest<
|
|
3522
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
3523
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
3524
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
3525
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
3526
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
3527
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
3266
3528
|
getAttribute(qualifiedName: string): string | null;
|
|
3267
3529
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
3268
3530
|
getAttributeNames(): string[];
|
|
@@ -3271,43 +3533,47 @@ declare const TextField_base: {
|
|
|
3271
3533
|
getBoundingClientRect(): DOMRect;
|
|
3272
3534
|
getClientRects(): DOMRectList;
|
|
3273
3535
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
3274
|
-
getElementsByTagName<
|
|
3275
|
-
getElementsByTagName<
|
|
3276
|
-
getElementsByTagName<
|
|
3277
|
-
getElementsByTagName<
|
|
3536
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
3537
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
3538
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
3539
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
3278
3540
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
3279
3541
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
3280
3542
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
3281
3543
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
3282
3544
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
3545
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
3283
3546
|
hasAttribute(qualifiedName: string): boolean;
|
|
3284
3547
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
3285
3548
|
hasAttributes(): boolean;
|
|
3286
3549
|
hasPointerCapture(pointerId: number): boolean;
|
|
3287
3550
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
3288
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
3551
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
3289
3552
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
3290
3553
|
matches(selectors: string): boolean;
|
|
3291
3554
|
releasePointerCapture(pointerId: number): void;
|
|
3292
3555
|
removeAttribute(qualifiedName: string): void;
|
|
3293
3556
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
3294
3557
|
removeAttributeNode(attr: Attr): Attr;
|
|
3295
|
-
requestFullscreen(options?: FullscreenOptions
|
|
3296
|
-
requestPointerLock(): void
|
|
3297
|
-
scroll(options?: ScrollToOptions
|
|
3558
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
3559
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
3560
|
+
scroll(options?: ScrollToOptions): void;
|
|
3298
3561
|
scroll(x: number, y: number): void;
|
|
3299
|
-
scrollBy(options?: ScrollToOptions
|
|
3562
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
3300
3563
|
scrollBy(x: number, y: number): void;
|
|
3301
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
|
3302
|
-
scrollTo(options?: ScrollToOptions
|
|
3564
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
3565
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
3303
3566
|
scrollTo(x: number, y: number): void;
|
|
3304
3567
|
setAttribute(qualifiedName: string, value: string): void;
|
|
3305
3568
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
3306
3569
|
setAttributeNode(attr: Attr): Attr | null;
|
|
3307
3570
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
3571
|
+
setHTMLUnsafe(html: string): void;
|
|
3308
3572
|
setPointerCapture(pointerId: number): void;
|
|
3309
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
|
3573
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
3310
3574
|
webkitMatchesSelector(selectors: string): boolean;
|
|
3575
|
+
get textContent(): string;
|
|
3576
|
+
set textContent(value: string | null);
|
|
3311
3577
|
readonly baseURI: string;
|
|
3312
3578
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
3313
3579
|
readonly firstChild: ChildNode | null;
|
|
@@ -3320,22 +3586,21 @@ declare const TextField_base: {
|
|
|
3320
3586
|
readonly parentElement: HTMLElement | null;
|
|
3321
3587
|
readonly parentNode: ParentNode | null;
|
|
3322
3588
|
readonly previousSibling: ChildNode | null;
|
|
3323
|
-
textContent: string | null;
|
|
3324
3589
|
appendChild<T extends Node>(node: T): T;
|
|
3325
|
-
cloneNode(
|
|
3590
|
+
cloneNode(subtree?: boolean): Node;
|
|
3326
3591
|
compareDocumentPosition(other: Node): number;
|
|
3327
3592
|
contains(other: Node | null): boolean;
|
|
3328
|
-
getRootNode(options?: GetRootNodeOptions
|
|
3593
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
3329
3594
|
hasChildNodes(): boolean;
|
|
3330
|
-
insertBefore<
|
|
3595
|
+
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
3331
3596
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
3332
3597
|
isEqualNode(otherNode: Node | null): boolean;
|
|
3333
3598
|
isSameNode(otherNode: Node | null): boolean;
|
|
3334
3599
|
lookupNamespaceURI(prefix: string | null): string | null;
|
|
3335
3600
|
lookupPrefix(namespace: string | null): string | null;
|
|
3336
3601
|
normalize(): void;
|
|
3337
|
-
removeChild<
|
|
3338
|
-
replaceChild<
|
|
3602
|
+
removeChild<T extends Node>(child: T): T;
|
|
3603
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
3339
3604
|
readonly ELEMENT_NODE: 1;
|
|
3340
3605
|
readonly ATTRIBUTE_NODE: 2;
|
|
3341
3606
|
readonly TEXT_NODE: 3;
|
|
@@ -3355,35 +3620,49 @@ declare const TextField_base: {
|
|
|
3355
3620
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
3356
3621
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
3357
3622
|
dispatchEvent(event: Event): boolean;
|
|
3623
|
+
ariaActiveDescendantElement: Element | null;
|
|
3358
3624
|
ariaAtomic: string | null;
|
|
3359
3625
|
ariaAutoComplete: string | null;
|
|
3626
|
+
ariaBrailleLabel: string | null;
|
|
3627
|
+
ariaBrailleRoleDescription: string | null;
|
|
3360
3628
|
ariaBusy: string | null;
|
|
3361
3629
|
ariaChecked: string | null;
|
|
3362
3630
|
ariaColCount: string | null;
|
|
3363
3631
|
ariaColIndex: string | null;
|
|
3632
|
+
ariaColIndexText: string | null;
|
|
3364
3633
|
ariaColSpan: string | null;
|
|
3634
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
3365
3635
|
ariaCurrent: string | null;
|
|
3636
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
3637
|
+
ariaDescription: string | null;
|
|
3638
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
3366
3639
|
ariaDisabled: string | null;
|
|
3640
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
3367
3641
|
ariaExpanded: string | null;
|
|
3642
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
3368
3643
|
ariaHasPopup: string | null;
|
|
3369
3644
|
ariaHidden: string | null;
|
|
3370
3645
|
ariaInvalid: string | null;
|
|
3371
3646
|
ariaKeyShortcuts: string | null;
|
|
3372
3647
|
ariaLabel: string | null;
|
|
3648
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
3373
3649
|
ariaLevel: string | null;
|
|
3374
3650
|
ariaLive: string | null;
|
|
3375
3651
|
ariaModal: string | null;
|
|
3376
3652
|
ariaMultiLine: string | null;
|
|
3377
3653
|
ariaMultiSelectable: string | null;
|
|
3378
3654
|
ariaOrientation: string | null;
|
|
3655
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
3379
3656
|
ariaPlaceholder: string | null;
|
|
3380
3657
|
ariaPosInSet: string | null;
|
|
3381
3658
|
ariaPressed: string | null;
|
|
3382
3659
|
ariaReadOnly: string | null;
|
|
3660
|
+
ariaRelevant: string | null;
|
|
3383
3661
|
ariaRequired: string | null;
|
|
3384
3662
|
ariaRoleDescription: string | null;
|
|
3385
3663
|
ariaRowCount: string | null;
|
|
3386
3664
|
ariaRowIndex: string | null;
|
|
3665
|
+
ariaRowIndexText: string | null;
|
|
3387
3666
|
ariaRowSpan: string | null;
|
|
3388
3667
|
ariaSelected: string | null;
|
|
3389
3668
|
ariaSetSize: string | null;
|
|
@@ -3393,34 +3672,35 @@ declare const TextField_base: {
|
|
|
3393
3672
|
ariaValueNow: string | null;
|
|
3394
3673
|
ariaValueText: string | null;
|
|
3395
3674
|
role: string | null;
|
|
3396
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
|
3397
|
-
getAnimations(options?: GetAnimationsOptions
|
|
3398
|
-
after(...nodes: (
|
|
3399
|
-
before(...nodes: (
|
|
3675
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
3676
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
3677
|
+
after(...nodes: (Node | string)[]): void;
|
|
3678
|
+
before(...nodes: (Node | string)[]): void;
|
|
3400
3679
|
remove(): void;
|
|
3401
|
-
replaceWith(...nodes: (
|
|
3402
|
-
innerHTML: string;
|
|
3680
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
3403
3681
|
readonly nextElementSibling: Element | null;
|
|
3404
3682
|
readonly previousElementSibling: Element | null;
|
|
3405
3683
|
readonly childElementCount: number;
|
|
3406
3684
|
readonly children: HTMLCollection;
|
|
3407
3685
|
readonly firstElementChild: Element | null;
|
|
3408
3686
|
readonly lastElementChild: Element | null;
|
|
3409
|
-
append(...nodes: (
|
|
3410
|
-
prepend(...nodes: (
|
|
3411
|
-
querySelector<
|
|
3412
|
-
querySelector<
|
|
3413
|
-
querySelector<
|
|
3414
|
-
querySelector<
|
|
3415
|
-
querySelector<
|
|
3416
|
-
querySelectorAll<
|
|
3417
|
-
querySelectorAll<
|
|
3418
|
-
querySelectorAll<
|
|
3419
|
-
querySelectorAll<
|
|
3420
|
-
querySelectorAll<
|
|
3421
|
-
replaceChildren(...nodes: (
|
|
3687
|
+
append(...nodes: (Node | string)[]): void;
|
|
3688
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
3689
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
3690
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
3691
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
3692
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
3693
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
3694
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
3695
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
3696
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
3697
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
3698
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
3699
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
3422
3700
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
3423
|
-
readonly
|
|
3701
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
3702
|
+
get style(): CSSStyleDeclaration;
|
|
3703
|
+
set style(cssText: string);
|
|
3424
3704
|
contentEditable: string;
|
|
3425
3705
|
enterKeyHint: string;
|
|
3426
3706
|
inputMode: string;
|
|
@@ -3430,16 +3710,20 @@ declare const TextField_base: {
|
|
|
3430
3710
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
3431
3711
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
3432
3712
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
3433
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
3713
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
3434
3714
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
3715
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3716
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
3435
3717
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
3436
3718
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3437
3719
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3438
3720
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3439
3721
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3440
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
3722
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
3441
3723
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3442
|
-
|
|
3724
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3725
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
3726
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3443
3727
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
3444
3728
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3445
3729
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -3486,12 +3770,14 @@ declare const TextField_base: {
|
|
|
3486
3770
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
3487
3771
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
3488
3772
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
3773
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3489
3774
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
3490
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
|
3775
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
3491
3776
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3492
3777
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3493
3778
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
3494
3779
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3780
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3495
3781
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
3496
3782
|
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3497
3783
|
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -3503,7 +3789,7 @@ declare const TextField_base: {
|
|
|
3503
3789
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
3504
3790
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3505
3791
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
3506
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
3792
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
3507
3793
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
3508
3794
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
3509
3795
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -3521,14 +3807,10 @@ declare const TextField_base: {
|
|
|
3521
3807
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
3522
3808
|
autofocus: boolean;
|
|
3523
3809
|
readonly dataset: DOMStringMap;
|
|
3524
|
-
nonce?: string
|
|
3810
|
+
nonce?: string;
|
|
3525
3811
|
tabIndex: number;
|
|
3526
3812
|
blur(): void;
|
|
3527
|
-
focus(options?: FocusOptions
|
|
3528
|
-
ariaColIndexText: string | null;
|
|
3529
|
-
ariaDescription: string | null;
|
|
3530
|
-
ariaRowIndexText: string | null;
|
|
3531
|
-
ariaRelevant: string | null;
|
|
3813
|
+
focus(options?: FocusOptions): void;
|
|
3532
3814
|
roleChanged(prev: string | null, next: string | null): void;
|
|
3533
3815
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
3534
3816
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -3571,14 +3853,14 @@ declare const TextField_base: {
|
|
|
3571
3853
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
3572
3854
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
3573
3855
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
3574
|
-
"__#
|
|
3856
|
+
"__#private@#handleReplacedProp"(replacedProp: {
|
|
3575
3857
|
newPropertyName: string;
|
|
3576
3858
|
deprecatedPropertyName: string;
|
|
3577
3859
|
fromDeprecated: (v: any) => any;
|
|
3578
3860
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
3579
3861
|
}): void;
|
|
3580
3862
|
};
|
|
3581
|
-
|
|
3863
|
+
get formAssociated(): boolean;
|
|
3582
3864
|
} & typeof VividElement;
|
|
3583
3865
|
export declare class TextField extends TextField_base {
|
|
3584
3866
|
#private;
|