@vonage/vivid 5.24.0 → 5.27.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/README.md +1 -1
- package/accordion/index.cjs +1 -1
- package/accordion/index.js +8 -8
- package/accordion-item/index.cjs +1 -1
- package/action-group/index.cjs +3 -3
- package/action-group/index.js +10 -5
- package/alert/index.cjs +7 -7
- package/alert/index.js +47 -35
- package/audio-player/index.cjs +18 -18
- package/audio-player/index.js +15 -11
- package/avatar/index.cjs +10 -10
- package/avatar/index.js +29 -19
- package/badge/index.cjs +1 -1
- package/banner/index.cjs +5 -5
- package/banner/index.js +33 -27
- package/breadcrumb/index.cjs +1 -1
- package/breadcrumb/index.js +5 -1
- package/breadcrumb-item/index.cjs +9 -5
- package/breadcrumb-item/index.js +15 -10
- package/bundled/affix.cjs +3 -3
- package/bundled/affix.js +2 -2
- package/bundled/anchored.cjs +2 -2
- package/bundled/anchored.js +13 -1
- package/bundled/aria-binding-directive.cjs +1 -1
- package/bundled/aria-binding-directive.js +2 -2
- package/bundled/aria.cjs +1 -1
- package/bundled/base-color-picker.cjs +2 -2
- package/bundled/base-color-picker.js +1 -1
- package/bundled/base-progress.cjs +1 -1
- package/bundled/breadcrumb-item.cjs +1 -1
- package/bundled/button.cjs +1 -1
- package/bundled/calendar-event.cjs +1 -1
- package/bundled/calendar-event.js +17 -4
- package/bundled/calendar-picker.template.cjs +5 -5
- package/bundled/calendar-picker.template.js +53 -55
- package/bundled/char-count.cjs +2 -2
- package/bundled/children.cjs +1 -1
- package/bundled/children.js +1 -1
- package/bundled/class-names.cjs +1 -1
- package/bundled/component-enum.cjs +1 -0
- package/bundled/component-enum.js +9 -0
- package/bundled/data-grid.options.cjs +1 -1
- package/bundled/data-grid.options.js +7 -6
- package/bundled/decorate.cjs +1 -1
- package/bundled/decorate.js +1 -1
- package/bundled/definition.cjs +1 -1
- package/bundled/definition10.cjs +10 -19
- package/bundled/definition10.js +23 -71
- package/bundled/definition11.cjs +74 -10
- package/bundled/definition11.js +194 -23
- package/bundled/definition12.cjs +18 -70
- package/bundled/definition12.js +48 -185
- package/bundled/definition13.cjs +5 -22
- package/bundled/definition13.js +9 -58
- package/bundled/definition14.cjs +1 -5
- package/bundled/definition14.js +9 -9
- package/bundled/definition15.cjs +6 -6
- package/bundled/definition15.js +19 -18
- package/bundled/definition16.cjs +3 -3
- package/bundled/definition16.js +23 -17
- package/bundled/definition17.cjs +7 -7
- package/bundled/definition17.js +22 -109
- package/bundled/definition18.cjs +3 -3
- package/bundled/definition18.js +9 -31
- package/bundled/definition19.cjs +21 -21
- package/bundled/definition19.js +68 -62
- package/bundled/definition2.cjs +13 -1
- package/bundled/definition2.js +22 -185
- package/bundled/definition20.cjs +3 -3
- package/bundled/definition20.js +6 -7
- package/bundled/definition21.cjs +9 -9
- package/bundled/definition21.js +25 -25
- package/bundled/definition22.cjs +5 -5
- package/bundled/definition22.js +27 -27
- package/bundled/definition23.cjs +3 -3
- package/bundled/definition23.js +26 -8
- package/bundled/definition24.cjs +4 -4
- package/bundled/definition24.js +4 -3
- package/bundled/definition25.cjs +7 -7
- package/bundled/definition25.js +37 -28
- package/bundled/definition3.cjs +25 -12
- package/bundled/definition3.js +83 -44
- package/bundled/definition4.cjs +29 -25
- package/bundled/definition4.js +50 -88
- package/bundled/definition5.cjs +28 -29
- package/bundled/definition5.js +143 -45
- package/bundled/definition6.cjs +6 -29
- package/bundled/definition6.js +20 -129
- package/bundled/definition7.cjs +14 -6
- package/bundled/definition7.js +159 -20
- package/bundled/definition8.cjs +22 -14
- package/bundled/definition8.js +88 -144
- package/bundled/definition9.cjs +20 -16
- package/bundled/definition9.js +59 -62
- package/bundled/delegates-aria.cjs +1 -1
- package/bundled/delegates-aria.js +3 -2
- package/bundled/dialog.cjs +1 -1
- package/bundled/dialog.js +1 -1
- package/bundled/divider.cjs +1 -1
- package/bundled/divider.js +9 -9
- package/bundled/dom.cjs +1 -1
- package/bundled/enums.cjs +1 -1
- package/bundled/extractOptions.cjs +1 -1
- package/bundled/extractOptions.js +2 -2
- package/bundled/feedback-message.cjs +8 -0
- package/bundled/feedback-message.js +41 -0
- package/bundled/floating-ui.dom.cjs +1 -1
- package/bundled/floating-ui.dom.js +163 -197
- package/bundled/form-associated.cjs +1 -1
- package/bundled/form-associated.js +3 -4
- package/bundled/form-element.cjs +1 -1
- package/bundled/host-semantics.cjs +1 -1
- package/bundled/icon.cjs +1 -0
- package/bundled/icon.js +34 -0
- package/bundled/kbd-shortcut.cjs +1 -1
- package/bundled/key-codes.cjs +1 -1
- package/bundled/linkable.cjs +2 -2
- package/bundled/listbox.cjs +1 -1
- package/bundled/listbox.js +8 -7
- package/bundled/localized.cjs +1 -1
- package/bundled/localized.js +33 -32
- package/bundled/mixins.cjs +9 -16
- package/bundled/mixins.js +23 -56
- package/bundled/numberConverter.cjs +2 -2
- package/bundled/numberConverter.js +1 -1
- package/bundled/numbers.cjs +1 -1
- package/bundled/optgroup.cjs +1 -0
- package/bundled/optgroup.js +27 -0
- package/bundled/option.cjs +1 -0
- package/bundled/option.js +95 -0
- package/bundled/picker-field.template.cjs +2 -2
- package/bundled/picker-field.template.js +8 -8
- package/bundled/platform.cjs +1 -1
- package/bundled/playbackRates.cjs +1 -1
- package/bundled/ref.cjs +1 -1
- package/bundled/ref.js +1 -1
- package/bundled/render-in-light-dom.cjs +1 -1
- package/bundled/render-in-light-dom.js +1 -1
- package/bundled/repeat.cjs +1 -1
- package/bundled/repeat.js +16 -15
- package/bundled/scrollIntoView.cjs +1 -1
- package/bundled/scrollIntoView.js +1 -3
- package/bundled/single-date-picker.cjs +1 -1
- package/bundled/single-value-picker.cjs +1 -1
- package/bundled/single-value-picker.js +1 -1
- package/bundled/slider.template.cjs +12 -12
- package/bundled/slider.template.js +209 -32
- package/bundled/slottable-request.cjs +3 -3
- package/bundled/slottable-request.js +26 -17
- package/bundled/slotted.cjs +1 -1
- package/bundled/slotted.js +1 -1
- package/bundled/text-field.cjs +1 -1
- package/bundled/text-field.js +1 -1
- package/bundled/time-selection-picker.template.cjs +4 -4
- package/bundled/time-selection-picker.template.js +10 -7
- package/bundled/trapped-focus.cjs +1 -1
- package/bundled/utils.cjs +1 -1
- package/bundled/vivid-element.cjs +3 -3
- package/bundled/vivid-element.js +397 -358
- package/bundled/when.cjs +1 -1
- package/bundled/when.js +1 -1
- package/bundled/with-contextual-help.cjs +1 -1
- package/bundled/with-contextual-help.js +1 -1
- package/bundled/with-error-text.cjs +1 -1
- package/bundled/with-success-text.cjs +1 -1
- package/button/index.cjs +1 -1
- package/button/index.js +1 -1
- package/calendar/index.cjs +1 -1
- package/calendar/index.js +7 -7
- package/calendar-event/index.cjs +2 -2
- package/calendar-event/index.js +10 -8
- package/card/index.cjs +24 -22
- package/card/index.js +14 -8
- package/checkbox/index.cjs +1 -1
- package/color-picker/index.cjs +13 -13
- package/color-picker/index.js +22 -19
- package/combobox/index.cjs +9 -9
- package/combobox/index.js +46 -42
- package/contextual-help/index.cjs +1 -1
- package/contextual-help/index.js +1 -1
- package/country/index.cjs +1 -1
- package/country-group/index.cjs +1 -1
- package/country-group/index.js +8 -4
- package/custom-elements.json +4208 -3828
- package/data-grid/index.cjs +28 -28
- package/data-grid/index.js +92 -98
- package/date-picker/index.cjs +1 -1
- package/date-picker/index.js +10 -6
- package/date-range-picker/index.cjs +1 -1
- package/date-range-picker/index.js +13 -9
- package/date-time-picker/index.cjs +1 -1
- package/date-time-picker/index.js +11 -7
- package/dial-pad/index.cjs +24 -23
- package/dial-pad/index.js +17 -11
- package/dialog/index.cjs +14 -14
- package/dialog/index.js +12 -8
- package/divider/index.cjs +1 -1
- package/elevation/definition.cjs +1 -0
- package/elevation/definition.js +2 -2
- package/elevation/index.cjs +1 -1
- package/elevation/index.js +1 -1
- package/empty-state/index.cjs +4 -4
- package/empty-state/index.js +20 -7
- package/fab/index.cjs +3 -3
- package/fab/index.js +14 -6
- package/file-picker/index.cjs +11 -13
- package/file-picker/index.js +28 -24
- package/flag/index.cjs +1 -1
- package/flag/index.js +7 -3
- package/form-field/definition.cjs +5 -0
- package/form-field/definition.js +2 -0
- package/form-field/index.cjs +29 -0
- package/form-field/index.js +57 -0
- package/header/definition.cjs +1 -1
- package/header/definition.js +1 -1
- package/header/index.cjs +1 -1
- package/header/index.js +9 -5
- package/icon/definition.cjs +2 -1
- package/icon/definition.js +2 -1
- package/icon/index.cjs +1 -1
- package/icon/index.js +1 -1
- package/index.cjs +166 -154
- package/index.js +48 -42
- package/kbd-key/definition.cjs +1 -1
- package/kbd-key/definition.js +1 -1
- package/kbd-key/index.cjs +3 -3
- package/kbd-key/index.js +22 -13
- package/kbd-shortcut/definition.cjs +1 -1
- package/kbd-shortcut/definition.js +1 -1
- package/kbd-shortcut/index.cjs +1 -1
- package/kbd-shortcut/index.js +6 -6
- package/layout/definition.cjs +1 -1
- package/layout/definition.js +1 -1
- package/layout/index.cjs +1 -1
- package/layout/index.js +7 -3
- package/lib/accordion-item/accordion-item.d.ts +12 -6
- package/lib/action-group/action-group.d.ts +10 -5
- package/lib/alert/alert.d.ts +15 -18
- package/lib/avatar/avatar.d.ts +16 -7
- package/lib/badge/badge.d.ts +17 -7
- package/lib/banner/banner.d.ts +18 -20
- package/lib/button/button.d.ts +25 -16
- package/lib/calendar-event/calendar-event.d.ts +14 -7
- package/lib/checkbox/checkbox.d.ts +31 -28
- package/lib/combobox/combobox.d.ts +38 -33
- package/lib/components.d.ts +2 -0
- package/lib/data-grid/data-grid.options.d.ts +6 -1
- package/lib/dial-pad/dial-pad.d.ts +0 -1
- package/lib/dial-pad/locale.d.ts +1 -0
- package/lib/divider/divider.d.ts +9 -6
- package/lib/elevation/definition.d.ts +2 -0
- package/lib/empty-state/empty-state.d.ts +7 -2
- package/lib/fab/fab.d.ts +3 -2
- package/lib/form-field/definition.d.ts +4 -0
- package/lib/form-field/form-field.d.ts +6 -0
- package/lib/form-field/form-field.template.d.ts +3 -0
- package/lib/kbd-key/kbd-key.d.ts +7 -2
- package/lib/listbox/definition.d.ts +3 -0
- package/lib/listbox/listbox.d.ts +1303 -0
- package/lib/listbox/listbox.template.d.ts +3 -0
- package/lib/menu/menu.d.ts +0 -1
- package/lib/menu-item/menu-item.d.ts +17 -14
- package/lib/nav-disclosure/nav-disclosure.d.ts +18 -11
- package/lib/nav-item/nav-item.d.ts +19 -12
- package/lib/note/note.d.ts +10 -6
- package/lib/number-field/number-field.d.ts +45 -41
- package/lib/option/option.d.ts +13 -10
- package/lib/popup/definition.d.ts +2 -0
- package/lib/progress/progress.d.ts +10 -5
- package/lib/progress-ring/progress-ring.d.ts +9 -5
- package/lib/radio/radio.d.ts +18 -15
- package/lib/range-slider/range-slider.d.ts +19 -15
- package/lib/rich-text-editor/rich-text-editor.d.ts +9 -5
- package/lib/rich-text-editor/rte/features/base.d.ts +1 -0
- package/lib/rich-text-editor/rte/utils/default-textblock.d.ts +2 -2
- package/lib/rich-text-editor/rte/utils/ui.d.ts +2 -1
- package/lib/searchable-select/option-tag.d.ts +12 -7
- package/lib/searchable-select/searchable-select.d.ts +7 -2
- package/lib/select/select.d.ts +45 -40
- package/lib/selectable-box/selectable-box.d.ts +9 -5
- package/lib/slider/slider.d.ts +18 -14
- package/lib/split-button/split-button.d.ts +24 -15
- package/lib/status/status.d.ts +10 -7
- package/lib/switch/switch.d.ts +13 -9
- package/lib/tab/tab.d.ts +19 -14
- package/lib/tabs/tabs.d.ts +6 -3
- package/lib/tag/tag.d.ts +24 -15
- package/lib/tag-name-map.d.ts +3 -1
- package/lib/text-field/text-field.d.ts +47 -41
- package/lib/toggletip/toggletip.d.ts +1 -0
- package/lib/tooltip/tooltip.d.ts +1 -0
- package/lib/video-player/__tests__/video-fixtures.d.ts +3 -0
- package/listbox/definition.cjs +5 -0
- package/listbox/definition.js +2 -0
- package/listbox/index.cjs +13 -0
- package/listbox/index.js +554 -0
- package/locales/de-DE.cjs +34 -33
- package/locales/de-DE.js +34 -33
- package/locales/en-GB.cjs +34 -33
- package/locales/en-GB.js +34 -33
- package/locales/ja-JP.cjs +35 -33
- package/locales/ja-JP.js +35 -33
- package/locales/zh-CN.cjs +34 -33
- package/locales/zh-CN.js +34 -33
- package/menu/index.cjs +1 -1
- package/menu-item/index.cjs +1 -1
- package/nav/definition.cjs +1 -1
- package/nav/definition.js +1 -1
- package/nav/index.cjs +1 -1
- package/nav/index.js +6 -4
- package/nav-disclosure/definition.cjs +1 -1
- package/nav-disclosure/definition.js +1 -1
- package/nav-disclosure/index.cjs +5 -5
- package/nav-disclosure/index.js +15 -9
- package/nav-item/definition.cjs +1 -1
- package/nav-item/definition.js +1 -1
- package/nav-item/index.cjs +2 -2
- package/nav-item/index.js +15 -10
- package/note/definition.cjs +1 -1
- package/note/definition.js +1 -1
- package/note/index.cjs +6 -4
- package/note/index.js +22 -9
- package/number-field/definition.cjs +1 -1
- package/number-field/definition.js +1 -1
- package/number-field/index.cjs +11 -11
- package/number-field/index.js +41 -36
- package/optgroup/definition.cjs +2 -1
- package/optgroup/definition.js +2 -1
- package/optgroup/index.cjs +1 -1
- package/option/definition.cjs +2 -1
- package/option/definition.js +2 -1
- package/option/index.cjs +1 -1
- package/package.json +32 -38
- package/pagination/definition.cjs +1 -1
- package/pagination/definition.js +1 -1
- package/pagination/index.cjs +1 -1
- package/pagination/index.js +9 -9
- package/platform-switch/definition.cjs +1 -1
- package/platform-switch/definition.js +1 -1
- package/platform-switch/index.cjs +1 -1
- package/platform-switch/index.js +6 -2
- package/popover/definition.cjs +1 -1
- package/popover/definition.js +1 -1
- package/popover/index.cjs +5 -5
- package/popover/index.js +46 -37
- package/popup/definition.cjs +1 -0
- package/popup/definition.js +2 -2
- package/popup/index.cjs +1 -1
- package/popup/index.js +1 -1
- package/progress/definition.cjs +1 -1
- package/progress/definition.js +1 -1
- package/progress/index.cjs +7 -7
- package/progress/index.js +21 -11
- package/progress-ring/index.cjs +1 -1
- package/progress-ring/index.js +1 -1
- package/radio/definition.cjs +1 -1
- package/radio/definition.js +1 -1
- package/radio/index.cjs +1 -1
- package/radio-group/definition.cjs +1 -1
- package/radio-group/definition.js +1 -1
- package/radio-group/index.cjs +2 -2
- package/radio-group/index.js +14 -9
- package/range-slider/definition.cjs +1 -1
- package/range-slider/definition.js +1 -1
- package/range-slider/index.cjs +8 -8
- package/range-slider/index.js +31 -32
- package/rich-text-editor/definition.cjs +1 -1
- package/rich-text-editor/definition.js +1 -1
- package/rich-text-editor/index.cjs +17 -14
- package/rich-text-editor/index.js +1955 -1721
- package/rich-text-view/definition.cjs +1 -1
- package/rich-text-view/definition.js +1 -1
- package/rich-text-view/index.cjs +1 -1
- package/rich-text-view/index.js +6 -4
- package/searchable-select/definition.cjs +1 -1
- package/searchable-select/definition.js +1 -1
- package/searchable-select/index.cjs +26 -26
- package/searchable-select/index.js +97 -90
- package/select/definition.cjs +1 -1
- package/select/definition.js +1 -1
- package/select/index.cjs +1 -1
- package/selectable-box/definition.cjs +1 -1
- package/selectable-box/definition.js +1 -1
- package/selectable-box/index.cjs +8 -8
- package/selectable-box/index.js +24 -20
- package/shared/listbox/commands.d.ts +17 -0
- package/shared/listbox/move.d.ts +6 -0
- package/shared/listbox/options.d.ts +12 -0
- package/shared/listbox/selection.d.ts +28 -0
- package/shared/listbox/state.d.ts +26 -0
- package/shared/listbox/typeahead.d.ts +8 -0
- package/shared/listbox/with-options-filter.d.ts +440 -0
- package/shared/listbox/with-options.d.ts +862 -0
- package/shared/patterns/anchored.d.ts +2 -0
- package/shared/styles/appearance.d.ts +2 -0
- package/shared/styles/connotation.d.ts +2 -0
- package/shared/styles/connotationOverrides.d.ts +1 -0
- package/shared/utils/component-enum.d.ts +7 -0
- package/side-drawer/definition.cjs +1 -1
- package/side-drawer/definition.js +1 -1
- package/side-drawer/index.cjs +1 -1
- package/side-drawer/index.js +10 -7
- package/simple-color-picker/definition.cjs +1 -1
- package/simple-color-picker/definition.js +1 -1
- package/simple-color-picker/index.cjs +6 -6
- package/simple-color-picker/index.js +22 -21
- package/slider/definition.cjs +2 -1
- package/slider/definition.js +2 -1
- package/slider/index.cjs +1 -1
- package/slider/index.js +1 -1
- package/split-button/definition.cjs +1 -1
- package/split-button/definition.js +1 -1
- package/split-button/index.cjs +9 -7
- package/split-button/index.js +58 -37
- package/status/definition.cjs +1 -1
- package/status/definition.js +1 -1
- package/status/index.cjs +5 -5
- package/status/index.js +22 -13
- package/switch/definition.cjs +1 -1
- package/switch/definition.js +1 -1
- package/switch/index.cjs +3 -3
- package/switch/index.js +22 -11
- package/tab/definition.cjs +1 -1
- package/tab/definition.js +1 -1
- package/tab/index.cjs +1 -1
- package/tab/index.js +1 -1
- package/tab-panel/definition.cjs +1 -1
- package/tab-panel/definition.js +1 -1
- package/tab-panel/index.cjs +1 -1
- package/tab-panel/index.js +1 -1
- package/table/definition.cjs +1 -1
- package/table/definition.js +1 -1
- package/table/index.cjs +16 -14
- package/table/index.js +14 -11
- package/tabs/definition.cjs +1 -1
- package/tabs/definition.js +1 -1
- package/tabs/index.cjs +4 -4
- package/tabs/index.js +32 -30
- package/tag/definition.cjs +1 -1
- package/tag/definition.js +1 -1
- package/tag/index.cjs +11 -11
- package/tag/index.js +31 -14
- package/tag-group/definition.cjs +1 -1
- package/tag-group/definition.js +1 -1
- package/tag-group/index.cjs +1 -1
- package/tag-group/index.js +6 -4
- package/text-area/definition.cjs +1 -1
- package/text-area/definition.js +1 -1
- package/text-area/index.cjs +5 -5
- package/text-area/index.js +18 -15
- package/text-field/index.cjs +1 -1
- package/text-field/index.js +1 -1
- package/time-picker/definition.cjs +1 -1
- package/time-picker/definition.js +1 -1
- package/time-picker/index.cjs +1 -1
- package/time-picker/index.js +9 -6
- package/toggletip/index.cjs +1 -1
- package/toggletip/index.js +1 -1
- package/tooltip/index.cjs +1 -1
- package/tooltip/index.js +1 -1
- package/tree-item/definition.cjs +1 -1
- package/tree-item/definition.js +1 -1
- package/tree-item/index.cjs +1 -1
- package/tree-item/index.js +1 -1
- package/tree-view/definition.cjs +1 -1
- package/tree-view/definition.js +1 -1
- package/tree-view/index.cjs +1 -1
- package/tree-view/index.js +7 -5
- package/unbundled/affix.cjs +2 -3
- package/unbundled/affix.js +1 -1
- package/unbundled/anchored.cjs +39 -1
- package/unbundled/anchored.js +28 -1
- package/unbundled/aria-binding-directive.cjs +2 -2
- package/unbundled/aria-binding-directive.js +2 -1
- package/unbundled/base-color-picker.cjs +0 -1
- package/unbundled/base-progress.cjs +1 -2
- package/unbundled/base-progress.js +1 -1
- package/unbundled/breadcrumb-item.cjs +0 -1
- package/unbundled/button.cjs +2 -3
- package/unbundled/button.js +2 -2
- package/unbundled/calendar-event.cjs +29 -1
- package/unbundled/calendar-event.js +18 -1
- package/unbundled/calendar-picker.template.cjs +109 -91
- package/unbundled/calendar-picker.template.js +109 -90
- package/unbundled/char-count.cjs +0 -1
- package/unbundled/component-enum.cjs +18 -0
- package/unbundled/component-enum.js +13 -0
- package/unbundled/data-grid.options.cjs +8 -0
- package/unbundled/data-grid.options.js +3 -1
- package/unbundled/decorate.cjs +1 -1
- package/unbundled/decorate.js +1 -1
- package/unbundled/definition.cjs +3 -67
- package/unbundled/definition.js +5 -62
- package/unbundled/definition10.cjs +2 -343
- package/unbundled/definition10.js +4 -338
- package/unbundled/definition11.cjs +10 -10
- package/unbundled/definition11.js +9 -8
- package/unbundled/definition12.cjs +7 -6
- package/unbundled/definition12.js +8 -6
- package/unbundled/definition13.cjs +2 -2
- package/unbundled/definition13.js +2 -1
- package/unbundled/definition14.cjs +13 -4
- package/unbundled/definition14.js +13 -3
- package/unbundled/definition15.cjs +26 -5
- package/unbundled/definition15.js +26 -4
- package/unbundled/definition16.cjs +20 -14
- package/unbundled/definition16.js +20 -13
- package/unbundled/definition17.cjs +9 -5
- package/unbundled/definition17.js +9 -4
- package/unbundled/definition18.cjs +4 -3
- package/unbundled/definition18.js +4 -2
- package/unbundled/definition19.cjs +2 -3
- package/unbundled/definition19.js +9 -8
- package/unbundled/definition2.cjs +15 -5
- package/unbundled/definition2.js +16 -5
- package/unbundled/definition20.cjs +1 -2
- package/unbundled/definition20.js +7 -6
- package/unbundled/definition21.cjs +6 -4
- package/unbundled/definition21.js +6 -3
- package/unbundled/definition22.cjs +0 -1
- package/unbundled/definition23.cjs +14 -7
- package/unbundled/definition23.js +13 -5
- package/unbundled/definition24.cjs +10 -8
- package/unbundled/definition24.js +11 -8
- package/unbundled/definition25.cjs +4 -4
- package/unbundled/definition25.js +4 -3
- package/unbundled/definition26.cjs +13 -8
- package/unbundled/definition26.js +12 -6
- package/unbundled/definition27.cjs +41 -7
- package/unbundled/definition27.js +42 -7
- package/unbundled/definition28.cjs +7 -6
- package/unbundled/definition28.js +6 -4
- package/unbundled/definition29.cjs +5 -169
- package/unbundled/definition29.js +11 -162
- package/unbundled/definition3.cjs +5 -6
- package/unbundled/definition3.js +5 -5
- package/unbundled/definition30.cjs +2 -64
- package/unbundled/definition30.js +5 -54
- package/unbundled/definition31.cjs +20 -16
- package/unbundled/definition31.js +19 -14
- package/unbundled/definition32.cjs +2 -2
- package/unbundled/definition32.js +2 -1
- package/unbundled/definition33.cjs +0 -1
- package/unbundled/definition34.cjs +0 -1
- package/unbundled/definition35.cjs +41 -52
- package/unbundled/definition35.js +42 -52
- package/unbundled/definition36.cjs +2 -3
- package/unbundled/definition36.js +9 -8
- package/unbundled/definition37.cjs +1 -2
- package/unbundled/definition37.js +1 -1
- package/unbundled/definition38.cjs +0 -1
- package/unbundled/definition39.cjs +1 -2
- package/unbundled/definition39.js +1 -1
- package/unbundled/definition4.cjs +4 -3
- package/unbundled/definition4.js +11 -6
- package/unbundled/definition40.cjs +9 -6
- package/unbundled/definition40.js +9 -5
- package/unbundled/definition41.cjs +11 -7
- package/unbundled/definition41.js +11 -6
- package/unbundled/definition42.cjs +16 -7
- package/unbundled/definition42.js +16 -6
- package/unbundled/definition43.cjs +7 -3
- package/unbundled/definition43.js +7 -2
- package/unbundled/definition44.cjs +15 -13
- package/unbundled/definition44.js +14 -11
- package/unbundled/definition45.cjs +73 -52
- package/unbundled/definition45.js +69 -47
- package/unbundled/definition46.cjs +53 -46
- package/unbundled/definition46.js +49 -41
- package/unbundled/definition47.cjs +40 -165
- package/unbundled/definition47.js +36 -160
- package/unbundled/definition48.cjs +177 -32
- package/unbundled/definition48.js +174 -22
- package/unbundled/definition49.cjs +30 -90
- package/unbundled/definition49.js +27 -86
- package/unbundled/definition5.cjs +9 -3
- package/unbundled/definition5.js +15 -7
- package/unbundled/definition50.cjs +617 -48
- package/unbundled/definition50.js +615 -47
- package/unbundled/definition51.cjs +93 -22
- package/unbundled/definition51.js +91 -16
- package/unbundled/definition52.cjs +52 -33
- package/unbundled/definition52.js +49 -29
- package/unbundled/definition53.cjs +22 -324
- package/unbundled/definition53.js +18 -319
- package/unbundled/definition54.cjs +44 -213
- package/unbundled/definition54.js +40 -208
- package/unbundled/definition55.cjs +321 -42
- package/unbundled/definition55.js +317 -37
- package/unbundled/definition56.cjs +199 -254
- package/unbundled/definition56.js +193 -247
- package/unbundled/definition57.cjs +45 -54
- package/unbundled/definition57.js +42 -49
- package/unbundled/definition58.cjs +271 -134
- package/unbundled/definition58.js +269 -128
- package/unbundled/definition59.cjs +59 -246
- package/unbundled/definition59.js +58 -244
- package/unbundled/definition6.cjs +22 -7
- package/unbundled/definition6.js +22 -6
- package/unbundled/definition60.cjs +129 -445
- package/unbundled/definition60.js +127 -442
- package/unbundled/definition61.cjs +230 -3746
- package/unbundled/definition61.js +224 -3576
- package/unbundled/definition62.cjs +428 -742
- package/unbundled/definition62.js +426 -739
- package/unbundled/definition63.cjs +3776 -103
- package/unbundled/definition63.js +3607 -97
- package/unbundled/definition64.cjs +693 -906
- package/unbundled/definition64.js +685 -894
- package/unbundled/definition65.cjs +104 -109
- package/unbundled/definition65.js +100 -104
- package/unbundled/definition66.cjs +1004 -66
- package/unbundled/definition66.js +1003 -58
- package/unbundled/definition67.cjs +107 -156
- package/unbundled/definition67.js +103 -151
- package/unbundled/definition68.cjs +71 -123
- package/unbundled/definition68.js +67 -118
- package/unbundled/definition69.cjs +163 -52
- package/unbundled/definition69.js +159 -47
- package/unbundled/definition7.cjs +0 -1
- package/unbundled/definition7.js +10 -4
- package/unbundled/definition70.cjs +146 -76
- package/unbundled/definition70.js +145 -71
- package/unbundled/definition71.cjs +66 -22
- package/unbundled/definition71.js +63 -15
- package/unbundled/definition72.cjs +88 -76
- package/unbundled/definition72.js +85 -72
- package/unbundled/definition73.cjs +20 -306
- package/unbundled/definition73.js +16 -229
- package/unbundled/definition74.cjs +77 -316
- package/unbundled/definition74.js +76 -307
- package/unbundled/definition75.cjs +310 -31
- package/unbundled/definition75.js +233 -24
- package/unbundled/definition76.cjs +316 -110
- package/unbundled/definition76.js +307 -106
- package/unbundled/definition77.cjs +26 -251
- package/unbundled/definition77.js +22 -246
- package/unbundled/definition78.cjs +147 -27
- package/unbundled/definition78.js +139 -25
- package/unbundled/definition79.cjs +230 -117
- package/unbundled/definition79.js +227 -107
- package/unbundled/definition8.cjs +17 -10
- package/unbundled/definition8.js +17 -9
- package/unbundled/definition80.cjs +28 -203
- package/unbundled/definition80.js +26 -193
- package/unbundled/definition81.cjs +125 -477
- package/unbundled/definition81.js +118 -473
- package/unbundled/definition82.cjs +220 -0
- package/unbundled/definition82.js +203 -0
- package/unbundled/definition83.cjs +517 -0
- package/unbundled/definition83.js +498 -0
- package/unbundled/definition9.cjs +4 -3
- package/unbundled/definition9.js +4 -2
- package/unbundled/delegates-aria.cjs +4 -2
- package/unbundled/delegates-aria.js +4 -2
- package/unbundled/divider.cjs +8 -3
- package/unbundled/divider.js +3 -3
- package/unbundled/en-US.cjs +34 -33
- package/unbundled/en-US.js +34 -33
- package/unbundled/extractOptions.cjs +5 -5
- package/unbundled/extractOptions.js +2 -2
- package/unbundled/feedback-message.cjs +59 -0
- package/unbundled/feedback-message.js +48 -0
- package/unbundled/form-associated.cjs +1 -4
- package/unbundled/form-associated.js +1 -3
- package/unbundled/form-element.cjs +0 -1
- package/unbundled/icon.cjs +66 -0
- package/unbundled/icon.js +61 -0
- package/unbundled/kbd-shortcut.cjs +0 -1
- package/unbundled/linkable.cjs +1 -2
- package/unbundled/linkable.js +1 -1
- package/unbundled/listbox.cjs +8 -5
- package/unbundled/listbox.js +7 -3
- package/unbundled/localized.cjs +0 -1
- package/unbundled/mixins.cjs +3 -53
- package/unbundled/mixins.js +3 -46
- package/unbundled/numberConverter.cjs +8 -3
- package/unbundled/numberConverter.js +8 -3
- package/unbundled/optgroup.cjs +65 -0
- package/unbundled/optgroup.js +54 -0
- package/unbundled/option.cjs +183 -0
- package/unbundled/option.js +166 -0
- package/unbundled/picker-field.template.cjs +1 -2
- package/unbundled/picker-field.template.js +1 -1
- package/unbundled/randomId.cjs +0 -1
- package/unbundled/{chunk.cjs → rolldown-runtime.cjs} +1 -1
- package/unbundled/scrollIntoView.cjs +0 -1
- package/unbundled/scrollIntoView.js +0 -1
- package/unbundled/slider.template.cjs +340 -2
- package/unbundled/slider.template.js +338 -5
- package/unbundled/text-field.cjs +1 -1
- package/unbundled/text-field.js +1 -1
- package/unbundled/time-selection-picker.template.cjs +3 -4
- package/unbundled/time-selection-picker.template.js +3 -3
- package/unbundled/vivid-element.cjs +63 -4
- package/unbundled/vivid-element.js +63 -3
- package/unbundled/with-contextual-help.cjs +0 -1
- package/unbundled/with-error-text.cjs +0 -1
- package/unbundled/with-success-text.cjs +0 -1
- package/video-player/definition.cjs +1 -1
- package/video-player/definition.js +1 -1
- package/video-player/index.cjs +31 -31
- package/video-player/index.js +2094 -2085
- package/visually-hidden/index.cjs +1 -1
- package/vivid.api.json +807 -1341
- package/lib/action-group/variations.browser-spec.d.ts +0 -1
- package/lib/alert/variations.browser-spec.d.ts +0 -1
- package/lib/audio-player/variations.browser-spec.d.ts +0 -1
- package/lib/avatar/variations.browser-spec.d.ts +0 -1
- package/lib/badge/variations.browser-spec.d.ts +0 -1
- package/lib/banner/variations.browser-spec.d.ts +0 -1
- package/lib/breadcrumb-item/variations.browser-spec.d.ts +0 -1
- package/lib/button/variations.browser-spec.d.ts +0 -1
- package/lib/calendar/variations.browser-spec.d.ts +0 -1
- package/lib/calendar-event/variations.browser-spec.d.ts +0 -1
- package/lib/card/variations.browser-spec.d.ts +0 -1
- package/lib/checkbox/variations.browser-spec.d.ts +0 -1
- package/lib/color-picker/variations.browser-spec.d.ts +0 -1
- package/lib/combobox/variations.browser-spec.d.ts +0 -1
- package/lib/contextual-help/variations.browser-spec.d.ts +0 -1
- package/lib/country/variations.browser-spec.d.ts +0 -1
- package/lib/data-grid/variations.browser-spec.d.ts +0 -1
- package/lib/date-picker/variations.browser-spec.d.ts +0 -1
- package/lib/date-range-picker/variations.browser-spec.d.ts +0 -1
- package/lib/date-time-picker/variations.browser-spec.d.ts +0 -1
- package/lib/dial-pad/variations.browser-spec.d.ts +0 -1
- package/lib/dialog/variations.browser-spec.d.ts +0 -1
- package/lib/divider/variations.browser-spec.d.ts +0 -1
- package/lib/empty-state/variations.browser-spec.d.ts +0 -1
- package/lib/fab/variations.browser-spec.d.ts +0 -1
- package/lib/file-picker/variations.browser-spec.d.ts +0 -1
- package/lib/flag/variations.browser-spec.d.ts +0 -1
- package/lib/header/variations.browser-spec.d.ts +0 -1
- package/lib/icon/variations.browser-spec.d.ts +0 -1
- package/lib/kbd-key/variations.browser-spec.d.ts +0 -1
- package/lib/kbd-shortcut/variations.browser-spec.d.ts +0 -1
- package/lib/layout/variations.browser-spec.d.ts +0 -1
- package/lib/menu/variations.browser-spec.d.ts +0 -1
- package/lib/menu-item/variations.browser-spec.d.ts +0 -1
- package/lib/nav/variations.browser-spec.d.ts +0 -1
- package/lib/nav-disclosure/variations.browser-spec.d.ts +0 -1
- package/lib/nav-item/variations.browser-spec.d.ts +0 -1
- package/lib/note/variations.browser-spec.d.ts +0 -1
- package/lib/number-field/variations.browser-spec.d.ts +0 -1
- package/lib/optgroup/variations.browser-spec.d.ts +0 -1
- package/lib/option/variations.browser-spec.d.ts +0 -1
- package/lib/pagination/variations.browser-spec.d.ts +0 -1
- package/lib/popover/variations.browser-spec.d.ts +0 -1
- package/lib/progress/variations.browser-spec.d.ts +0 -1
- package/lib/progress-ring/variations.browser-spec.d.ts +0 -1
- package/lib/radio/variations.browser-spec.d.ts +0 -1
- package/lib/radio-group/variations.browser-spec.d.ts +0 -1
- package/lib/range-slider/variations.browser-spec.d.ts +0 -1
- package/lib/rich-text-editor/variations.browser-spec.d.ts +0 -1
- package/lib/rich-text-view/variations.browser-spec.d.ts +0 -1
- package/lib/searchable-select/variations.browser-spec.d.ts +0 -1
- package/lib/select/variations.browser-spec.d.ts +0 -1
- package/lib/selectable-box/variations.browser-spec.d.ts +0 -1
- package/lib/side-drawer/variations.browser-spec.d.ts +0 -1
- package/lib/simple-color-picker/variations.browser-spec.d.ts +0 -1
- package/lib/slider/variations.browser-spec.d.ts +0 -1
- package/lib/split-button/variations.browser-spec.d.ts +0 -1
- package/lib/status/variations.browser-spec.d.ts +0 -1
- package/lib/switch/variations.browser-spec.d.ts +0 -1
- package/lib/table/variations.browser-spec.d.ts +0 -1
- package/lib/tabs/variations.browser-spec.d.ts +0 -1
- package/lib/tag/variations.browser-spec.d.ts +0 -1
- package/lib/text-area/variations.browser-spec.d.ts +0 -1
- package/lib/text-field/variations.browser-spec.d.ts +0 -1
- package/lib/time-picker/variations.browser-spec.d.ts +0 -1
- package/lib/toggletip/variations.browser-spec.d.ts +0 -1
- package/lib/tooltip/variations.browser-spec.d.ts +0 -1
- package/lib/tree-item/variations.browser-spec.d.ts +0 -1
- package/lib/video-player/variations.browser-spec.d.ts +0 -1
- /package/lib/{accordion-item/variations.browser-spec.d.ts → form-field/index.d.ts} +0 -0
- /package/lib/{accordion/variations.browser-spec.d.ts → listbox/index.d.ts} +0 -0
- /package/unbundled/{chunk.js → rolldown-runtime.js} +0 -0
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
require("./chunk.cjs");
|
|
2
1
|
const require_decorate = require("./decorate.cjs");
|
|
3
2
|
const require_definition = require("./definition6.cjs");
|
|
4
3
|
const require_divider = require("./divider.cjs");
|
|
@@ -7,14 +6,14 @@ let _microsoft_fast_element = require("@microsoft/fast-element");
|
|
|
7
6
|
let _microsoft_fast_web_utilities = require("@microsoft/fast-web-utilities");
|
|
8
7
|
let date_fns = require("date-fns");
|
|
9
8
|
//#region src/shared/picker-field/mixins/calendar-picker.scss?inline
|
|
10
|
-
var calendar_picker_default = ".segments{gap:24px}@media (width>=648px){.segments{display:inline-flex}}.segment{flex-direction:column;gap:12px;display:flex}.segment .header{align-items:center;padding-block:8px;display:flex}.segment .title{flex-grow:1;justify-content:center;display:flex}.segment .title-action{block-size:24px;font:var(--vvd-typography-base-extended);border-radius:8px;padding-inline:8px}.calendar{flex-direction:column;gap:4px;margin-top:8px;display:flex}.calendar .calendar-separator{margin-inline:10px}.calendar .calendar-weekdays{justify-content:center;display:flex}.calendar .calendar-weekday{block-size:16px;font:var(--vvd-typography-base-condensed);justify-content:center;align-items:center;inline-size:40px;display:inline-flex}.calendar .calendar-week{justify-content:center;display:flex}.calendar .calendar-day{aspect-ratio:1;block-size:28px;font:var(--vvd-typography-base);border-radius:50%;justify-content:center;align-items:center;margin-inline:6px;display:inline-flex}.calendar .calendar-day.start,.calendar .calendar-day.end{border:2px solid var(--vvd-color-cta-50);background-color:var(--vvd-color-cta-200)}.calendar:focus-visible .calendar .calendar-day.start,.calendar:focus-visible .calendar .calendar-day.end{border-width:3px}.calendar .calendar-day:before,.calendar .calendar-day:after{z-index:-1;width:20px;height:28px;display:block;position:absolute}.calendar .calendar-day:before{right:50%}.calendar .calendar-day:after{left:50%}.calendar .calendar-day.range:before,.calendar .calendar-day.range:after{background-color:var(--vvd-color-cta-50)}.calendar .calendar-day.range:not(.start):before,.calendar .calendar-day.range:not(.end):after{content:\"\"}.calendar .calendar-day.outside-month,.calendar .calendar-day:disabled{color:var(--vvd-color-neutral-400)}.months-separator{margin-inline:-12px}.month-grid{flex-direction:column;gap:34px;display:flex}.month-grid .months-row{justify-content:center;gap:29px;display:flex}.month-grid .month{aspect-ratio:1;block-size:48px;font:var(--vvd-typography-base-extended);text-transform:uppercase;border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.month-grid .month:disabled{color:var(--vvd-color-neutral-400)}.button{
|
|
9
|
+
var calendar_picker_default = ".segments{gap:24px}@media (width>=648px){.segments{display:inline-flex}}.segment{flex-direction:column;gap:12px;display:flex}.segment .header{align-items:center;padding-block:8px;display:flex}.segment .title{flex-grow:1;justify-content:center;display:flex}.segment .title-action{block-size:24px;font:var(--vvd-typography-base-extended);border-radius:8px;padding-inline:8px}.calendar{flex-direction:column;gap:4px;margin-top:8px;display:flex}.calendar .calendar-separator{margin-inline:10px}.calendar .calendar-weekdays{justify-content:center;display:flex}.calendar .calendar-weekday{block-size:16px;font:var(--vvd-typography-base-condensed);justify-content:center;align-items:center;inline-size:40px;display:inline-flex}.calendar .calendar-week{justify-content:center;display:flex}.calendar .calendar-day{aspect-ratio:1;block-size:28px;font:var(--vvd-typography-base);border-radius:50%;justify-content:center;align-items:center;margin-inline:6px;display:inline-flex}.calendar .calendar-day.start,.calendar .calendar-day.end{border:2px solid var(--vvd-color-cta-50);background-color:var(--vvd-color-cta-200)}.calendar:focus-visible .calendar .calendar-day.start,.calendar:focus-visible .calendar .calendar-day.end{border-width:3px}.calendar .calendar-day:before,.calendar .calendar-day:after{z-index:-1;width:20px;height:28px;display:block;position:absolute}.calendar .calendar-day:before{right:50%}.calendar .calendar-day:after{left:50%}.calendar .calendar-day.range:before,.calendar .calendar-day.range:after{background-color:var(--vvd-color-cta-50)}.calendar .calendar-day.range:not(.start):before,.calendar .calendar-day.range:not(.end):after{content:\"\"}.calendar .calendar-day.outside-month,.calendar .calendar-day:disabled{color:var(--vvd-color-neutral-400)}.months-separator{margin-inline:-12px}.month-grid{flex-direction:column;gap:34px;display:flex}.month-grid .months-row{justify-content:center;gap:29px;display:flex}.month-grid .month{aspect-ratio:1;block-size:48px;font:var(--vvd-typography-base-extended);text-transform:uppercase;border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.month-grid .month:disabled{color:var(--vvd-color-neutral-400)}.button{background-color:var(--_appearance-color-fill);color:var(--_appearance-color-text);cursor:pointer;border:none;padding:0;position:relative}.button:disabled{cursor:not-allowed}.button:focus-visible{--focus-stroke-gap-color:transparent;color:var(--vvd-color-canvas-text);box-shadow:0 0 0 4px color-mix(in sRGB, var(--focus-stroke-color,var(--vvd-color-cta-500)), transparent 85%), inset 0 0 0 3px var(--focus-stroke-gap-color,currentColor);outline:1px solid var(--focus-stroke-color,var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset,0px))}.button:focus-visible.start,.button:focus-visible.end{border-width:3px}.button.current{border:1px solid var(--vvd-color-neutral-200)}.button.selected{border:1px solid var(--vvd-color-neutral-900)}";
|
|
11
10
|
//#endregion
|
|
12
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
11
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.js
|
|
13
12
|
function addLeadingZeros(number, targetLength) {
|
|
14
13
|
return (number < 0 ? "-" : "") + Math.abs(number).toString().padStart(targetLength, "0");
|
|
15
14
|
}
|
|
16
15
|
//#endregion
|
|
17
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
16
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.js
|
|
18
17
|
/**
|
|
19
18
|
* @constant
|
|
20
19
|
* @name daysInYear
|
|
@@ -65,7 +64,7 @@ var millisecondsInSecond = 1e3;
|
|
|
65
64
|
* @name secondsInDay
|
|
66
65
|
* @summary Seconds in 1 day.
|
|
67
66
|
*/
|
|
68
|
-
var secondsInDay =
|
|
67
|
+
var secondsInDay = 86400;
|
|
69
68
|
secondsInDay * 7;
|
|
70
69
|
secondsInDay * daysInYear / 12 * 3;
|
|
71
70
|
/**
|
|
@@ -81,7 +80,7 @@ secondsInDay * daysInYear / 12 * 3;
|
|
|
81
80
|
*/
|
|
82
81
|
var constructFromSymbol = Symbol.for("constructDateFrom");
|
|
83
82
|
//#endregion
|
|
84
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
83
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.js
|
|
85
84
|
/**
|
|
86
85
|
* @name constructFrom
|
|
87
86
|
* @category Generic Helpers
|
|
@@ -124,7 +123,7 @@ function constructFrom(date, value) {
|
|
|
124
123
|
return new Date(value);
|
|
125
124
|
}
|
|
126
125
|
//#endregion
|
|
127
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
126
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.js
|
|
128
127
|
/**
|
|
129
128
|
* @name toDate
|
|
130
129
|
* @category Common Helpers
|
|
@@ -167,7 +166,7 @@ function toDate(argument, context) {
|
|
|
167
166
|
return constructFrom(context || argument, argument);
|
|
168
167
|
}
|
|
169
168
|
//#endregion
|
|
170
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
169
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/formatISO.js
|
|
171
170
|
/**
|
|
172
171
|
* The {@link formatISO} function options.
|
|
173
172
|
*/
|
|
@@ -270,7 +269,7 @@ var isValidDateStr = (string) => {
|
|
|
270
269
|
return hasThreeComponents(components) && allComponentsAreNumbers(components) && isValidDate(components);
|
|
271
270
|
};
|
|
272
271
|
//#endregion
|
|
273
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
272
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js
|
|
274
273
|
var formatDistanceLocale = {
|
|
275
274
|
lessThanXSeconds: {
|
|
276
275
|
one: "less than a second",
|
|
@@ -340,12 +339,14 @@ var formatDistance = (token, count, options) => {
|
|
|
340
339
|
if (typeof tokenValue === "string") result = tokenValue;
|
|
341
340
|
else if (count === 1) result = tokenValue.one;
|
|
342
341
|
else result = tokenValue.other.replace("{{count}}", count.toString());
|
|
343
|
-
if (options?.addSuffix)
|
|
344
|
-
|
|
342
|
+
if (options?.addSuffix) {
|
|
343
|
+
if (options.comparison && options.comparison > 0) return "in " + result;
|
|
344
|
+
else return result + " ago";
|
|
345
|
+
}
|
|
345
346
|
return result;
|
|
346
347
|
};
|
|
347
348
|
//#endregion
|
|
348
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
349
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js
|
|
349
350
|
function buildFormatLongFn(args) {
|
|
350
351
|
return (options = {}) => {
|
|
351
352
|
const width = options.width ? String(options.width) : args.defaultWidth;
|
|
@@ -382,7 +383,7 @@ var formatLong = {
|
|
|
382
383
|
})
|
|
383
384
|
};
|
|
384
385
|
//#endregion
|
|
385
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
386
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js
|
|
386
387
|
var formatRelativeLocale = {
|
|
387
388
|
lastWeek: "'last' eeee 'at' p",
|
|
388
389
|
yesterday: "'yesterday at' p",
|
|
@@ -393,7 +394,7 @@ var formatRelativeLocale = {
|
|
|
393
394
|
};
|
|
394
395
|
var formatRelative = (token, _date, _baseDate, _options) => formatRelativeLocale[token];
|
|
395
396
|
//#endregion
|
|
396
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
397
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js
|
|
397
398
|
/**
|
|
398
399
|
* The localize function argument callback which allows to convert raw value to
|
|
399
400
|
* the actual type.
|
|
@@ -443,7 +444,7 @@ function buildLocalizeFn(args) {
|
|
|
443
444
|
};
|
|
444
445
|
}
|
|
445
446
|
//#endregion
|
|
446
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
447
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.js
|
|
447
448
|
var eraValues = {
|
|
448
449
|
narrow: ["B", "A"],
|
|
449
450
|
abbreviated: ["BC", "AD"],
|
|
@@ -652,7 +653,7 @@ var localize = {
|
|
|
652
653
|
})
|
|
653
654
|
};
|
|
654
655
|
//#endregion
|
|
655
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
656
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.js
|
|
656
657
|
function buildMatchFn(args) {
|
|
657
658
|
return (string, options = {}) => {
|
|
658
659
|
const width = options.width;
|
|
@@ -679,7 +680,7 @@ function findIndex(array, predicate) {
|
|
|
679
680
|
for (let key = 0; key < array.length; key++) if (predicate(array[key])) return key;
|
|
680
681
|
}
|
|
681
682
|
//#endregion
|
|
682
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
683
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js
|
|
683
684
|
function buildMatchPatternFn(args) {
|
|
684
685
|
return (string, options = {}) => {
|
|
685
686
|
const matchResult = string.match(args.matchPattern);
|
|
@@ -697,7 +698,7 @@ function buildMatchPatternFn(args) {
|
|
|
697
698
|
};
|
|
698
699
|
}
|
|
699
700
|
//#endregion
|
|
700
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
701
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.js
|
|
701
702
|
/**
|
|
702
703
|
* @category Locales
|
|
703
704
|
* @summary English locale (United States).
|
|
@@ -838,13 +839,13 @@ var enUS = {
|
|
|
838
839
|
}
|
|
839
840
|
};
|
|
840
841
|
//#endregion
|
|
841
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
842
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.js
|
|
842
843
|
var defaultOptions = {};
|
|
843
844
|
function getDefaultOptions$1() {
|
|
844
845
|
return defaultOptions;
|
|
845
846
|
}
|
|
846
847
|
//#endregion
|
|
847
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
848
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js
|
|
848
849
|
/**
|
|
849
850
|
* Google Chrome as of 67.0.3396.87 introduced timezones with offset that includes seconds.
|
|
850
851
|
* They usually appear for dates that denote time before the timezones were introduced
|
|
@@ -863,13 +864,13 @@ function getTimezoneOffsetInMilliseconds(date) {
|
|
|
863
864
|
return +date - +utcDate;
|
|
864
865
|
}
|
|
865
866
|
//#endregion
|
|
866
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
867
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.js
|
|
867
868
|
function normalizeDates(context, ...dates) {
|
|
868
869
|
const normalize = constructFrom.bind(null, context || dates.find((date) => typeof date === "object"));
|
|
869
870
|
return dates.map(normalize);
|
|
870
871
|
}
|
|
871
872
|
//#endregion
|
|
872
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
873
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.js
|
|
873
874
|
/**
|
|
874
875
|
* The {@link startOfDay} function options.
|
|
875
876
|
*/
|
|
@@ -901,7 +902,7 @@ function startOfDay(date, options) {
|
|
|
901
902
|
return _date;
|
|
902
903
|
}
|
|
903
904
|
//#endregion
|
|
904
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
905
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.js
|
|
905
906
|
/**
|
|
906
907
|
* The {@link differenceInCalendarDays} function options.
|
|
907
908
|
*/
|
|
@@ -945,7 +946,7 @@ function differenceInCalendarDays(laterDate, earlierDate, options) {
|
|
|
945
946
|
return Math.round((laterTimestamp - earlierTimestamp) / millisecondsInDay);
|
|
946
947
|
}
|
|
947
948
|
//#endregion
|
|
948
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
949
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.js
|
|
949
950
|
/**
|
|
950
951
|
* The {@link startOfYear} function options.
|
|
951
952
|
*/
|
|
@@ -978,7 +979,7 @@ function startOfYear(date, options) {
|
|
|
978
979
|
return date_;
|
|
979
980
|
}
|
|
980
981
|
//#endregion
|
|
981
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
982
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.js
|
|
982
983
|
/**
|
|
983
984
|
* The {@link getDayOfYear} function options.
|
|
984
985
|
*/
|
|
@@ -1005,7 +1006,7 @@ function getDayOfYear(date, options) {
|
|
|
1005
1006
|
return differenceInCalendarDays(_date, startOfYear(_date)) + 1;
|
|
1006
1007
|
}
|
|
1007
1008
|
//#endregion
|
|
1008
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
1009
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.js
|
|
1009
1010
|
/**
|
|
1010
1011
|
* The {@link startOfWeek} function options.
|
|
1011
1012
|
*/
|
|
@@ -1047,7 +1048,7 @@ function startOfWeek(date, options) {
|
|
|
1047
1048
|
return _date;
|
|
1048
1049
|
}
|
|
1049
1050
|
//#endregion
|
|
1050
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
1051
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.js
|
|
1051
1052
|
/**
|
|
1052
1053
|
* The {@link startOfISOWeek} function options.
|
|
1053
1054
|
*/
|
|
@@ -1082,7 +1083,7 @@ function startOfISOWeek(date, options) {
|
|
|
1082
1083
|
});
|
|
1083
1084
|
}
|
|
1084
1085
|
//#endregion
|
|
1085
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
1086
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.js
|
|
1086
1087
|
/**
|
|
1087
1088
|
* The {@link getISOWeekYear} function options.
|
|
1088
1089
|
*/
|
|
@@ -1122,7 +1123,7 @@ function getISOWeekYear(date, options) {
|
|
|
1122
1123
|
else return year - 1;
|
|
1123
1124
|
}
|
|
1124
1125
|
//#endregion
|
|
1125
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
1126
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.js
|
|
1126
1127
|
/**
|
|
1127
1128
|
* The {@link startOfISOWeekYear} function options.
|
|
1128
1129
|
*/
|
|
@@ -1159,7 +1160,7 @@ function startOfISOWeekYear(date, options) {
|
|
|
1159
1160
|
return startOfISOWeek(fourthOfJanuary);
|
|
1160
1161
|
}
|
|
1161
1162
|
//#endregion
|
|
1162
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
1163
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.js
|
|
1163
1164
|
/**
|
|
1164
1165
|
* The {@link getISOWeek} function options.
|
|
1165
1166
|
*/
|
|
@@ -1189,7 +1190,7 @@ function getISOWeek(date, options) {
|
|
|
1189
1190
|
return Math.round(diff / millisecondsInWeek) + 1;
|
|
1190
1191
|
}
|
|
1191
1192
|
//#endregion
|
|
1192
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
1193
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.js
|
|
1193
1194
|
/**
|
|
1194
1195
|
* The {@link getWeekYear} function options.
|
|
1195
1196
|
*/
|
|
@@ -1245,7 +1246,7 @@ function getWeekYear(date, options) {
|
|
|
1245
1246
|
else return year - 1;
|
|
1246
1247
|
}
|
|
1247
1248
|
//#endregion
|
|
1248
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
1249
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.js
|
|
1249
1250
|
/**
|
|
1250
1251
|
* The {@link startOfWeekYear} function options.
|
|
1251
1252
|
*/
|
|
@@ -1296,7 +1297,7 @@ function startOfWeekYear(date, options) {
|
|
|
1296
1297
|
return startOfWeek(firstWeek, options);
|
|
1297
1298
|
}
|
|
1298
1299
|
//#endregion
|
|
1299
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
1300
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.js
|
|
1300
1301
|
/**
|
|
1301
1302
|
* The {@link getWeek} function options.
|
|
1302
1303
|
*/
|
|
@@ -1340,7 +1341,7 @@ function getWeek(date, options) {
|
|
|
1340
1341
|
return Math.round(diff / millisecondsInWeek) + 1;
|
|
1341
1342
|
}
|
|
1342
1343
|
//#endregion
|
|
1343
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
1344
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.js
|
|
1344
1345
|
var lightFormatters = {
|
|
1345
1346
|
y(date, token) {
|
|
1346
1347
|
const signedYear = date.getFullYear();
|
|
@@ -1383,7 +1384,7 @@ var lightFormatters = {
|
|
|
1383
1384
|
}
|
|
1384
1385
|
};
|
|
1385
1386
|
//#endregion
|
|
1386
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
1387
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.js
|
|
1387
1388
|
var dayPeriodEnum = {
|
|
1388
1389
|
am: "am",
|
|
1389
1390
|
pm: "pm",
|
|
@@ -1793,7 +1794,7 @@ function formatTimezone(offset, delimiter = "") {
|
|
|
1793
1794
|
return sign + hours + delimiter + minutes;
|
|
1794
1795
|
}
|
|
1795
1796
|
//#endregion
|
|
1796
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
1797
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.js
|
|
1797
1798
|
var dateLongFormatter = (pattern, formatLong) => {
|
|
1798
1799
|
switch (pattern) {
|
|
1799
1800
|
case "P": return formatLong.date({ width: "short" });
|
|
@@ -1826,9 +1827,7 @@ var dateTimeLongFormatter = (pattern, formatLong) => {
|
|
|
1826
1827
|
case "PPP":
|
|
1827
1828
|
dateTimeFormat = formatLong.dateTime({ width: "long" });
|
|
1828
1829
|
break;
|
|
1829
|
-
default:
|
|
1830
|
-
dateTimeFormat = formatLong.dateTime({ width: "full" });
|
|
1831
|
-
break;
|
|
1830
|
+
default: dateTimeFormat = formatLong.dateTime({ width: "full" });
|
|
1832
1831
|
}
|
|
1833
1832
|
return dateTimeFormat.replace("{{date}}", dateLongFormatter(datePattern, formatLong)).replace("{{time}}", timeLongFormatter(timePattern, formatLong));
|
|
1834
1833
|
};
|
|
@@ -1837,7 +1836,7 @@ var longFormatters = {
|
|
|
1837
1836
|
P: dateTimeLongFormatter
|
|
1838
1837
|
};
|
|
1839
1838
|
//#endregion
|
|
1840
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
1839
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.js
|
|
1841
1840
|
var dayOfYearTokenRE = /^D+$/;
|
|
1842
1841
|
var weekYearTokenRE = /^Y+$/;
|
|
1843
1842
|
var throwTokens = [
|
|
@@ -1862,7 +1861,7 @@ function message(token, format, input) {
|
|
|
1862
1861
|
return `Use \`${token.toLowerCase()}\` instead of \`${token}\` (in \`${format}\`) for formatting ${subject} to the input \`${input}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
|
|
1863
1862
|
}
|
|
1864
1863
|
//#endregion
|
|
1865
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
1864
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js
|
|
1866
1865
|
/**
|
|
1867
1866
|
* @name isDate
|
|
1868
1867
|
* @category Common Helpers
|
|
@@ -1899,7 +1898,7 @@ function isDate(value) {
|
|
|
1899
1898
|
return value instanceof Date || typeof value === "object" && Object.prototype.toString.call(value) === "[object Date]";
|
|
1900
1899
|
}
|
|
1901
1900
|
//#endregion
|
|
1902
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
1901
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.js
|
|
1903
1902
|
/**
|
|
1904
1903
|
* @name isValid
|
|
1905
1904
|
* @category Common Helpers
|
|
@@ -1935,7 +1934,7 @@ function isValid(date) {
|
|
|
1935
1934
|
return !(!isDate(date) && typeof date !== "number" || isNaN(+toDate(date)));
|
|
1936
1935
|
}
|
|
1937
1936
|
//#endregion
|
|
1938
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
1937
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.js
|
|
1939
1938
|
var formattingTokensRegExp$1 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g;
|
|
1940
1939
|
var longFormattingTokensRegExp$1 = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;
|
|
1941
1940
|
var escapedStringRegExp$1 = /^'([^]*?)'?$/;
|
|
@@ -2282,7 +2281,7 @@ function cleanEscapedString$1(input) {
|
|
|
2282
2281
|
return matched[1].replace(doubleQuoteRegExp$1, "'");
|
|
2283
2282
|
}
|
|
2284
2283
|
//#endregion
|
|
2285
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
2284
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDefaultOptions.js
|
|
2286
2285
|
/**
|
|
2287
2286
|
* @name getDefaultOptions
|
|
2288
2287
|
* @category Common Helpers
|
|
@@ -2311,7 +2310,7 @@ function getDefaultOptions() {
|
|
|
2311
2310
|
return Object.assign({}, getDefaultOptions$1());
|
|
2312
2311
|
}
|
|
2313
2312
|
//#endregion
|
|
2314
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
2313
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/transpose.js
|
|
2315
2314
|
/**
|
|
2316
2315
|
* @name transpose
|
|
2317
2316
|
* @category Generic Helpers
|
|
@@ -2350,7 +2349,7 @@ function isConstructor(constructor) {
|
|
|
2350
2349
|
return typeof constructor === "function" && constructor.prototype?.constructor === constructor;
|
|
2351
2350
|
}
|
|
2352
2351
|
//#endregion
|
|
2353
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
2352
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/Setter.js
|
|
2354
2353
|
var TIMEZONE_UNIT_PRIORITY = 10;
|
|
2355
2354
|
var Setter = class {
|
|
2356
2355
|
subPriority = 0;
|
|
@@ -2387,7 +2386,7 @@ var DateTimezoneSetter = class extends Setter {
|
|
|
2387
2386
|
}
|
|
2388
2387
|
};
|
|
2389
2388
|
//#endregion
|
|
2390
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
2389
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/Parser.js
|
|
2391
2390
|
var Parser = class {
|
|
2392
2391
|
run(dateString, token, match, options) {
|
|
2393
2392
|
const result = this.parse(dateString, token, match, options);
|
|
@@ -2402,7 +2401,7 @@ var Parser = class {
|
|
|
2402
2401
|
}
|
|
2403
2402
|
};
|
|
2404
2403
|
//#endregion
|
|
2405
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
2404
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/EraParser.js
|
|
2406
2405
|
var EraParser = class extends Parser {
|
|
2407
2406
|
priority = 140;
|
|
2408
2407
|
parse(dateString, token, match) {
|
|
@@ -2428,7 +2427,7 @@ var EraParser = class extends Parser {
|
|
|
2428
2427
|
];
|
|
2429
2428
|
};
|
|
2430
2429
|
//#endregion
|
|
2431
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
2430
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/constants.js
|
|
2432
2431
|
var numericPatterns = {
|
|
2433
2432
|
month: /^(1[0-2]|0?\d)/,
|
|
2434
2433
|
date: /^(3[0-1]|[0-2]?\d)/,
|
|
@@ -2458,7 +2457,7 @@ var timezonePatterns = {
|
|
|
2458
2457
|
extendedOptionalSeconds: /^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/
|
|
2459
2458
|
};
|
|
2460
2459
|
//#endregion
|
|
2461
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
2460
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/utils.js
|
|
2462
2461
|
function mapValue(parseFnResult, mapFn) {
|
|
2463
2462
|
if (!parseFnResult) return parseFnResult;
|
|
2464
2463
|
return {
|
|
@@ -2538,7 +2537,7 @@ function isLeapYearIndex(year) {
|
|
|
2538
2537
|
return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0;
|
|
2539
2538
|
}
|
|
2540
2539
|
//#endregion
|
|
2541
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
2540
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/YearParser.js
|
|
2542
2541
|
var YearParser = class extends Parser {
|
|
2543
2542
|
priority = 130;
|
|
2544
2543
|
incompatibleTokens = [
|
|
@@ -2582,7 +2581,7 @@ var YearParser = class extends Parser {
|
|
|
2582
2581
|
}
|
|
2583
2582
|
};
|
|
2584
2583
|
//#endregion
|
|
2585
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
2584
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js
|
|
2586
2585
|
var LocalWeekYearParser = class extends Parser {
|
|
2587
2586
|
priority = 130;
|
|
2588
2587
|
parse(dateString, token, match) {
|
|
@@ -2629,7 +2628,7 @@ var LocalWeekYearParser = class extends Parser {
|
|
|
2629
2628
|
];
|
|
2630
2629
|
};
|
|
2631
2630
|
//#endregion
|
|
2632
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
2631
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js
|
|
2633
2632
|
var ISOWeekYearParser = class extends Parser {
|
|
2634
2633
|
priority = 130;
|
|
2635
2634
|
parse(dateString, token) {
|
|
@@ -2661,7 +2660,7 @@ var ISOWeekYearParser = class extends Parser {
|
|
|
2661
2660
|
];
|
|
2662
2661
|
};
|
|
2663
2662
|
//#endregion
|
|
2664
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
2663
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js
|
|
2665
2664
|
var ExtendedYearParser = class extends Parser {
|
|
2666
2665
|
priority = 130;
|
|
2667
2666
|
parse(dateString, token) {
|
|
@@ -2688,7 +2687,7 @@ var ExtendedYearParser = class extends Parser {
|
|
|
2688
2687
|
];
|
|
2689
2688
|
};
|
|
2690
2689
|
//#endregion
|
|
2691
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
2690
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js
|
|
2692
2691
|
var QuarterParser = class extends Parser {
|
|
2693
2692
|
priority = 120;
|
|
2694
2693
|
parse(dateString, token, match) {
|
|
@@ -2745,7 +2744,7 @@ var QuarterParser = class extends Parser {
|
|
|
2745
2744
|
];
|
|
2746
2745
|
};
|
|
2747
2746
|
//#endregion
|
|
2748
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
2747
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js
|
|
2749
2748
|
var StandAloneQuarterParser = class extends Parser {
|
|
2750
2749
|
priority = 120;
|
|
2751
2750
|
parse(dateString, token, match) {
|
|
@@ -2802,7 +2801,7 @@ var StandAloneQuarterParser = class extends Parser {
|
|
|
2802
2801
|
];
|
|
2803
2802
|
};
|
|
2804
2803
|
//#endregion
|
|
2805
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
2804
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/MonthParser.js
|
|
2806
2805
|
var MonthParser = class extends Parser {
|
|
2807
2806
|
incompatibleTokens = [
|
|
2808
2807
|
"Y",
|
|
@@ -2859,7 +2858,7 @@ var MonthParser = class extends Parser {
|
|
|
2859
2858
|
}
|
|
2860
2859
|
};
|
|
2861
2860
|
//#endregion
|
|
2862
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
2861
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js
|
|
2863
2862
|
var StandAloneMonthParser = class extends Parser {
|
|
2864
2863
|
priority = 110;
|
|
2865
2864
|
parse(dateString, token, match) {
|
|
@@ -2916,7 +2915,7 @@ var StandAloneMonthParser = class extends Parser {
|
|
|
2916
2915
|
];
|
|
2917
2916
|
};
|
|
2918
2917
|
//#endregion
|
|
2919
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
2918
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/setWeek.js
|
|
2920
2919
|
/**
|
|
2921
2920
|
* The {@link setWeek} function options.
|
|
2922
2921
|
*/
|
|
@@ -2965,7 +2964,7 @@ function setWeek(date, week, options) {
|
|
|
2965
2964
|
return toDate(date_, options?.in);
|
|
2966
2965
|
}
|
|
2967
2966
|
//#endregion
|
|
2968
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
2967
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js
|
|
2969
2968
|
var LocalWeekParser = class extends Parser {
|
|
2970
2969
|
priority = 100;
|
|
2971
2970
|
parse(dateString, token, match) {
|
|
@@ -2998,7 +2997,7 @@ var LocalWeekParser = class extends Parser {
|
|
|
2998
2997
|
];
|
|
2999
2998
|
};
|
|
3000
2999
|
//#endregion
|
|
3001
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3000
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/setISOWeek.js
|
|
3002
3001
|
/**
|
|
3003
3002
|
* The {@link setISOWeek} function options.
|
|
3004
3003
|
*/
|
|
@@ -3033,7 +3032,7 @@ function setISOWeek(date, week, options) {
|
|
|
3033
3032
|
return _date;
|
|
3034
3033
|
}
|
|
3035
3034
|
//#endregion
|
|
3036
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3035
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js
|
|
3037
3036
|
var ISOWeekParser = class extends Parser {
|
|
3038
3037
|
priority = 100;
|
|
3039
3038
|
parse(dateString, token, match) {
|
|
@@ -3067,7 +3066,7 @@ var ISOWeekParser = class extends Parser {
|
|
|
3067
3066
|
];
|
|
3068
3067
|
};
|
|
3069
3068
|
//#endregion
|
|
3070
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3069
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/DateParser.js
|
|
3071
3070
|
var DAYS_IN_MONTH = [
|
|
3072
3071
|
31,
|
|
3073
3072
|
28,
|
|
@@ -3133,7 +3132,7 @@ var DateParser = class extends Parser {
|
|
|
3133
3132
|
];
|
|
3134
3133
|
};
|
|
3135
3134
|
//#endregion
|
|
3136
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3135
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js
|
|
3137
3136
|
var DayOfYearParser = class extends Parser {
|
|
3138
3137
|
priority = 90;
|
|
3139
3138
|
subpriority = 1;
|
|
@@ -3173,7 +3172,7 @@ var DayOfYearParser = class extends Parser {
|
|
|
3173
3172
|
];
|
|
3174
3173
|
};
|
|
3175
3174
|
//#endregion
|
|
3176
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3175
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/addDays.js
|
|
3177
3176
|
/**
|
|
3178
3177
|
* The {@link addDays} function options.
|
|
3179
3178
|
*/
|
|
@@ -3185,6 +3184,19 @@ var DayOfYearParser = class extends Parser {
|
|
|
3185
3184
|
* @description
|
|
3186
3185
|
* Add the specified number of days to the given date.
|
|
3187
3186
|
*
|
|
3187
|
+
* **You don't need date-fns\***:
|
|
3188
|
+
*
|
|
3189
|
+
* Temporal has a built-in `add` method on all its classes:
|
|
3190
|
+
*
|
|
3191
|
+
* - [`Temporal.Instant.prototype.add()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal/Instant/add)
|
|
3192
|
+
* - [`Temporal.PlainDate.prototype.add()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal/PlainDate/add)
|
|
3193
|
+
* - [`Temporal.PlainDateTime.prototype.add()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal/PlainDateTime/add)
|
|
3194
|
+
* - [`Temporal.PlainTime.prototype.add()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal/PlainTime/add)
|
|
3195
|
+
* - [`Temporal.PlainYearMonth.prototype.add()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal/PlainYearMonth/add)
|
|
3196
|
+
* - [`Temporal.ZonedDateTime.prototype.add()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal/ZonedDateTime/add)
|
|
3197
|
+
*
|
|
3198
|
+
* \* **Not really**, see: https://date-fns.org/you-dont-need-date-fns
|
|
3199
|
+
*
|
|
3188
3200
|
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
|
|
3189
3201
|
* @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.
|
|
3190
3202
|
*
|
|
@@ -3198,6 +3210,12 @@ var DayOfYearParser = class extends Parser {
|
|
|
3198
3210
|
* // Add 10 days to 1 September 2014:
|
|
3199
3211
|
* const result = addDays(new Date(2014, 8, 1), 10)
|
|
3200
3212
|
* //=> Thu Sep 11 2014 00:00:00
|
|
3213
|
+
*
|
|
3214
|
+
* @example
|
|
3215
|
+
* // Using Temporal:
|
|
3216
|
+
* // Add 10 days to 1 September 2014:
|
|
3217
|
+
* Temporal.PlainDate.from("2014-09-01").add({ days: 10 }).toString();
|
|
3218
|
+
* //=> "2014-09-11"
|
|
3201
3219
|
*/
|
|
3202
3220
|
function addDays$1(date, amount, options) {
|
|
3203
3221
|
const _date = toDate(date, options?.in);
|
|
@@ -3207,7 +3225,7 @@ function addDays$1(date, amount, options) {
|
|
|
3207
3225
|
return _date;
|
|
3208
3226
|
}
|
|
3209
3227
|
//#endregion
|
|
3210
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3228
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/setDay.js
|
|
3211
3229
|
/**
|
|
3212
3230
|
* The {@link setDay} function options.
|
|
3213
3231
|
*/
|
|
@@ -3248,7 +3266,7 @@ function setDay(date, day, options) {
|
|
|
3248
3266
|
return addDays$1(date_, day < 0 || day > 6 ? day - (currentDay + delta) % 7 : (dayIndex + delta) % 7 - (currentDay + delta) % 7, options);
|
|
3249
3267
|
}
|
|
3250
3268
|
//#endregion
|
|
3251
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3269
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/DayParser.js
|
|
3252
3270
|
var DayParser = class extends Parser {
|
|
3253
3271
|
priority = 90;
|
|
3254
3272
|
parse(dateString, token, match) {
|
|
@@ -3309,7 +3327,7 @@ var DayParser = class extends Parser {
|
|
|
3309
3327
|
];
|
|
3310
3328
|
};
|
|
3311
3329
|
//#endregion
|
|
3312
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3330
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js
|
|
3313
3331
|
var LocalDayParser = class extends Parser {
|
|
3314
3332
|
priority = 90;
|
|
3315
3333
|
parse(dateString, token, match, options) {
|
|
@@ -3384,7 +3402,7 @@ var LocalDayParser = class extends Parser {
|
|
|
3384
3402
|
];
|
|
3385
3403
|
};
|
|
3386
3404
|
//#endregion
|
|
3387
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3405
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js
|
|
3388
3406
|
var StandAloneLocalDayParser = class extends Parser {
|
|
3389
3407
|
priority = 90;
|
|
3390
3408
|
parse(dateString, token, match, options) {
|
|
@@ -3459,7 +3477,7 @@ var StandAloneLocalDayParser = class extends Parser {
|
|
|
3459
3477
|
];
|
|
3460
3478
|
};
|
|
3461
3479
|
//#endregion
|
|
3462
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3480
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISODay.js
|
|
3463
3481
|
/**
|
|
3464
3482
|
* The {@link getISODay} function options.
|
|
3465
3483
|
*/
|
|
@@ -3489,7 +3507,7 @@ function getISODay(date, options) {
|
|
|
3489
3507
|
return day === 0 ? 7 : day;
|
|
3490
3508
|
}
|
|
3491
3509
|
//#endregion
|
|
3492
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3510
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/setISODay.js
|
|
3493
3511
|
/**
|
|
3494
3512
|
* The {@link setISODay} function options.
|
|
3495
3513
|
*/
|
|
@@ -3522,7 +3540,7 @@ function setISODay(date, day, options) {
|
|
|
3522
3540
|
return addDays$1(date_, day - getISODay(date_, options), options);
|
|
3523
3541
|
}
|
|
3524
3542
|
//#endregion
|
|
3525
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3543
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js
|
|
3526
3544
|
var ISODayParser = class extends Parser {
|
|
3527
3545
|
priority = 90;
|
|
3528
3546
|
parse(dateString, token, match) {
|
|
@@ -3597,7 +3615,7 @@ var ISODayParser = class extends Parser {
|
|
|
3597
3615
|
];
|
|
3598
3616
|
};
|
|
3599
3617
|
//#endregion
|
|
3600
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3618
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js
|
|
3601
3619
|
var AMPMParser = class extends Parser {
|
|
3602
3620
|
priority = 80;
|
|
3603
3621
|
parse(dateString, token, match) {
|
|
@@ -3641,7 +3659,7 @@ var AMPMParser = class extends Parser {
|
|
|
3641
3659
|
];
|
|
3642
3660
|
};
|
|
3643
3661
|
//#endregion
|
|
3644
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3662
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js
|
|
3645
3663
|
var AMPMMidnightParser = class extends Parser {
|
|
3646
3664
|
priority = 80;
|
|
3647
3665
|
parse(dateString, token, match) {
|
|
@@ -3685,7 +3703,7 @@ var AMPMMidnightParser = class extends Parser {
|
|
|
3685
3703
|
];
|
|
3686
3704
|
};
|
|
3687
3705
|
//#endregion
|
|
3688
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3706
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js
|
|
3689
3707
|
var DayPeriodParser = class extends Parser {
|
|
3690
3708
|
priority = 80;
|
|
3691
3709
|
parse(dateString, token, match) {
|
|
@@ -3727,7 +3745,7 @@ var DayPeriodParser = class extends Parser {
|
|
|
3727
3745
|
];
|
|
3728
3746
|
};
|
|
3729
3747
|
//#endregion
|
|
3730
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3748
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js
|
|
3731
3749
|
var Hour1to12Parser = class extends Parser {
|
|
3732
3750
|
priority = 70;
|
|
3733
3751
|
parse(dateString, token, match) {
|
|
@@ -3756,7 +3774,7 @@ var Hour1to12Parser = class extends Parser {
|
|
|
3756
3774
|
];
|
|
3757
3775
|
};
|
|
3758
3776
|
//#endregion
|
|
3759
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3777
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js
|
|
3760
3778
|
var Hour0to23Parser = class extends Parser {
|
|
3761
3779
|
priority = 70;
|
|
3762
3780
|
parse(dateString, token, match) {
|
|
@@ -3784,7 +3802,7 @@ var Hour0to23Parser = class extends Parser {
|
|
|
3784
3802
|
];
|
|
3785
3803
|
};
|
|
3786
3804
|
//#endregion
|
|
3787
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3805
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js
|
|
3788
3806
|
var Hour0To11Parser = class extends Parser {
|
|
3789
3807
|
priority = 70;
|
|
3790
3808
|
parse(dateString, token, match) {
|
|
@@ -3811,7 +3829,7 @@ var Hour0To11Parser = class extends Parser {
|
|
|
3811
3829
|
];
|
|
3812
3830
|
};
|
|
3813
3831
|
//#endregion
|
|
3814
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3832
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js
|
|
3815
3833
|
var Hour1To24Parser = class extends Parser {
|
|
3816
3834
|
priority = 70;
|
|
3817
3835
|
parse(dateString, token, match) {
|
|
@@ -3840,7 +3858,7 @@ var Hour1To24Parser = class extends Parser {
|
|
|
3840
3858
|
];
|
|
3841
3859
|
};
|
|
3842
3860
|
//#endregion
|
|
3843
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3861
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js
|
|
3844
3862
|
var MinuteParser = class extends Parser {
|
|
3845
3863
|
priority = 60;
|
|
3846
3864
|
parse(dateString, token, match) {
|
|
@@ -3860,7 +3878,7 @@ var MinuteParser = class extends Parser {
|
|
|
3860
3878
|
incompatibleTokens = ["t", "T"];
|
|
3861
3879
|
};
|
|
3862
3880
|
//#endregion
|
|
3863
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3881
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/SecondParser.js
|
|
3864
3882
|
var SecondParser = class extends Parser {
|
|
3865
3883
|
priority = 50;
|
|
3866
3884
|
parse(dateString, token, match) {
|
|
@@ -3880,7 +3898,7 @@ var SecondParser = class extends Parser {
|
|
|
3880
3898
|
incompatibleTokens = ["t", "T"];
|
|
3881
3899
|
};
|
|
3882
3900
|
//#endregion
|
|
3883
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3901
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js
|
|
3884
3902
|
var FractionOfSecondParser = class extends Parser {
|
|
3885
3903
|
priority = 30;
|
|
3886
3904
|
parse(dateString, token) {
|
|
@@ -3894,7 +3912,7 @@ var FractionOfSecondParser = class extends Parser {
|
|
|
3894
3912
|
incompatibleTokens = ["t", "T"];
|
|
3895
3913
|
};
|
|
3896
3914
|
//#endregion
|
|
3897
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3915
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js
|
|
3898
3916
|
var ISOTimezoneWithZParser = class extends Parser {
|
|
3899
3917
|
priority = 10;
|
|
3900
3918
|
parse(dateString, token) {
|
|
@@ -3917,7 +3935,7 @@ var ISOTimezoneWithZParser = class extends Parser {
|
|
|
3917
3935
|
];
|
|
3918
3936
|
};
|
|
3919
3937
|
//#endregion
|
|
3920
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3938
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js
|
|
3921
3939
|
var ISOTimezoneParser = class extends Parser {
|
|
3922
3940
|
priority = 10;
|
|
3923
3941
|
parse(dateString, token) {
|
|
@@ -3940,7 +3958,7 @@ var ISOTimezoneParser = class extends Parser {
|
|
|
3940
3958
|
];
|
|
3941
3959
|
};
|
|
3942
3960
|
//#endregion
|
|
3943
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3961
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js
|
|
3944
3962
|
var TimestampSecondsParser = class extends Parser {
|
|
3945
3963
|
priority = 40;
|
|
3946
3964
|
parse(dateString) {
|
|
@@ -3952,7 +3970,7 @@ var TimestampSecondsParser = class extends Parser {
|
|
|
3952
3970
|
incompatibleTokens = "*";
|
|
3953
3971
|
};
|
|
3954
3972
|
//#endregion
|
|
3955
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3973
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js
|
|
3956
3974
|
var TimestampMillisecondsParser = class extends Parser {
|
|
3957
3975
|
priority = 20;
|
|
3958
3976
|
parse(dateString) {
|
|
@@ -3964,7 +3982,7 @@ var TimestampMillisecondsParser = class extends Parser {
|
|
|
3964
3982
|
incompatibleTokens = "*";
|
|
3965
3983
|
};
|
|
3966
3984
|
//#endregion
|
|
3967
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3985
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers.js
|
|
3968
3986
|
var parsers = {
|
|
3969
3987
|
G: new EraParser(),
|
|
3970
3988
|
y: new YearParser(),
|
|
@@ -3999,7 +4017,7 @@ var parsers = {
|
|
|
3999
4017
|
T: new TimestampMillisecondsParser()
|
|
4000
4018
|
};
|
|
4001
4019
|
//#endregion
|
|
4002
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
4020
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse.js
|
|
4003
4021
|
/**
|
|
4004
4022
|
* The {@link parse} function options.
|
|
4005
4023
|
*/
|
|
@@ -4829,7 +4847,7 @@ function renderDialogHeader(context) {
|
|
|
4829
4847
|
<button
|
|
4830
4848
|
tabindex="1"
|
|
4831
4849
|
id="${(x) => `grid-label-${x.id}`}"
|
|
4832
|
-
class="title-action button"
|
|
4850
|
+
class="title-action button connotation-accent appearance-listitem with-idle with-hover with-active"
|
|
4833
4851
|
aria-live="polite"
|
|
4834
4852
|
aria-label="${(x) => x.titleAriaLabel}"
|
|
4835
4853
|
@click="${(_, c) => c.parent._onTitleActionClick()}"
|
|
@@ -4898,7 +4916,7 @@ function renderCalendarGrid(context) {
|
|
|
4898
4916
|
${(0, _microsoft_fast_element.when)((x, c) => c.parentContext.parentContext.parent._hideDatesOutsideMonth && x.isOutsideMonth, _microsoft_fast_element.html`<div class="calendar-day"></div>`)}
|
|
4899
4917
|
${(0, _microsoft_fast_element.when)((x, c) => !c.parentContext.parentContext.parent._hideDatesOutsideMonth || !x.isOutsideMonth, _microsoft_fast_element.html` <span role="gridcell">
|
|
4900
4918
|
<button
|
|
4901
|
-
class="${(x, c) => (0, _microsoft_fast_web_utilities.classNames)("calendar-day", "button", ["current", x.date === c.parentContext.parentContext.parent._currentDate], ["selected", c.parentContext.parentContext.parent._isDateSelected(x.date)], ["range", c.parentContext.parentContext.parent._isDateInSelectedRange(x.date)], ["start", c.parentContext.parentContext.parent._isDateRangeStart(x.date)], ["end", c.parentContext.parentContext.parent._isDateRangeEnd(x.date)], ["outside-month", x.isOutsideMonth])}"
|
|
4919
|
+
class="${(x, c) => (0, _microsoft_fast_web_utilities.classNames)("calendar-day", "button", "connotation-accent", "appearance-listitem", "with-idle", "with-hover", "with-active", "with-selected", "with-selectedAndHover", "with-selectedAndDisabled", ["current", x.date === c.parentContext.parentContext.parent._currentDate], ["selected", c.parentContext.parentContext.parent._isDateSelected(x.date)], ["range", c.parentContext.parentContext.parent._isDateInSelectedRange(x.date)], ["start", c.parentContext.parentContext.parent._isDateRangeStart(x.date)], ["end", c.parentContext.parentContext.parent._isDateRangeEnd(x.date)], ["outside-month", x.isOutsideMonth])}"
|
|
4902
4920
|
?disabled="${(x, c) => !c.parentContext.parentContext.parent._isDateInValidRange(x.date)}"
|
|
4903
4921
|
tabindex="${(x, c) => x.date === c.parentContext.parentContext.parent._tabbableDate ? 1 : -1}"
|
|
4904
4922
|
data-date="${(x) => x.date}"
|
|
@@ -4939,7 +4957,7 @@ function renderMonthPickerGrid(context) {
|
|
|
4939
4957
|
${(0, _microsoft_fast_element.repeat)((x) => x, _microsoft_fast_element.html`
|
|
4940
4958
|
<span role="gridcell">
|
|
4941
4959
|
<button
|
|
4942
|
-
class="${(x, c) => (0, _microsoft_fast_web_utilities.classNames)("month", "button", ["current", areMonthsEqual(x.month, c.parentContext.parentContext.parent._currentMonth)], ["selected", areMonthsEqual(x.month, c.parentContext.parentContext.parent._selectedMonth)])}"
|
|
4960
|
+
class="${(x, c) => (0, _microsoft_fast_web_utilities.classNames)("month", "button", "connotation-accent", "appearance-listitem", "with-idle", "with-hover", "with-active", "with-selected", "with-selectedAndHover", "with-selectedAndDisabled", ["current", areMonthsEqual(x.month, c.parentContext.parentContext.parent._currentMonth)], ["selected", areMonthsEqual(x.month, c.parentContext.parentContext.parent._selectedMonth)])}"
|
|
4943
4961
|
tabindex="${(x, c) => c.parentContext.parentContext.parent._tabbableMonth && areMonthsEqual(x.month, c.parentContext.parentContext.parent._tabbableMonth) ? 1 : -1}"
|
|
4944
4962
|
aria-label="${(x, c) => {
|
|
4945
4963
|
const picker = c.parentContext.parentContext.parent;
|