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