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