@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
|
@@ -6,14 +6,14 @@ import { Updates, attr, html, observable, repeat, volatile, when } from "@micros
|
|
|
6
6
|
import { classNames } from "@microsoft/fast-web-utilities";
|
|
7
7
|
import { addDays } from "date-fns";
|
|
8
8
|
//#region src/shared/picker-field/mixins/calendar-picker.scss?inline
|
|
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{
|
|
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)}";
|
|
10
10
|
//#endregion
|
|
11
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
11
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.js
|
|
12
12
|
function addLeadingZeros(number, targetLength) {
|
|
13
13
|
return (number < 0 ? "-" : "") + Math.abs(number).toString().padStart(targetLength, "0");
|
|
14
14
|
}
|
|
15
15
|
//#endregion
|
|
16
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
16
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.js
|
|
17
17
|
/**
|
|
18
18
|
* @constant
|
|
19
19
|
* @name daysInYear
|
|
@@ -64,7 +64,7 @@ var millisecondsInSecond = 1e3;
|
|
|
64
64
|
* @name secondsInDay
|
|
65
65
|
* @summary Seconds in 1 day.
|
|
66
66
|
*/
|
|
67
|
-
var secondsInDay =
|
|
67
|
+
var secondsInDay = 86400;
|
|
68
68
|
secondsInDay * 7;
|
|
69
69
|
secondsInDay * daysInYear / 12 * 3;
|
|
70
70
|
/**
|
|
@@ -80,7 +80,7 @@ secondsInDay * daysInYear / 12 * 3;
|
|
|
80
80
|
*/
|
|
81
81
|
var constructFromSymbol = Symbol.for("constructDateFrom");
|
|
82
82
|
//#endregion
|
|
83
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
83
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.js
|
|
84
84
|
/**
|
|
85
85
|
* @name constructFrom
|
|
86
86
|
* @category Generic Helpers
|
|
@@ -123,7 +123,7 @@ function constructFrom(date, value) {
|
|
|
123
123
|
return new Date(value);
|
|
124
124
|
}
|
|
125
125
|
//#endregion
|
|
126
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
126
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.js
|
|
127
127
|
/**
|
|
128
128
|
* @name toDate
|
|
129
129
|
* @category Common Helpers
|
|
@@ -166,7 +166,7 @@ function toDate(argument, context) {
|
|
|
166
166
|
return constructFrom(context || argument, argument);
|
|
167
167
|
}
|
|
168
168
|
//#endregion
|
|
169
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
169
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/formatISO.js
|
|
170
170
|
/**
|
|
171
171
|
* The {@link formatISO} function options.
|
|
172
172
|
*/
|
|
@@ -269,7 +269,7 @@ var isValidDateStr = (string) => {
|
|
|
269
269
|
return hasThreeComponents(components) && allComponentsAreNumbers(components) && isValidDate(components);
|
|
270
270
|
};
|
|
271
271
|
//#endregion
|
|
272
|
-
//#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
|
|
273
273
|
var formatDistanceLocale = {
|
|
274
274
|
lessThanXSeconds: {
|
|
275
275
|
one: "less than a second",
|
|
@@ -339,12 +339,14 @@ var formatDistance = (token, count, options) => {
|
|
|
339
339
|
if (typeof tokenValue === "string") result = tokenValue;
|
|
340
340
|
else if (count === 1) result = tokenValue.one;
|
|
341
341
|
else result = tokenValue.other.replace("{{count}}", count.toString());
|
|
342
|
-
if (options?.addSuffix)
|
|
343
|
-
|
|
342
|
+
if (options?.addSuffix) {
|
|
343
|
+
if (options.comparison && options.comparison > 0) return "in " + result;
|
|
344
|
+
else return result + " ago";
|
|
345
|
+
}
|
|
344
346
|
return result;
|
|
345
347
|
};
|
|
346
348
|
//#endregion
|
|
347
|
-
//#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
|
|
348
350
|
function buildFormatLongFn(args) {
|
|
349
351
|
return (options = {}) => {
|
|
350
352
|
const width = options.width ? String(options.width) : args.defaultWidth;
|
|
@@ -381,7 +383,7 @@ var formatLong = {
|
|
|
381
383
|
})
|
|
382
384
|
};
|
|
383
385
|
//#endregion
|
|
384
|
-
//#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
|
|
385
387
|
var formatRelativeLocale = {
|
|
386
388
|
lastWeek: "'last' eeee 'at' p",
|
|
387
389
|
yesterday: "'yesterday at' p",
|
|
@@ -392,7 +394,7 @@ var formatRelativeLocale = {
|
|
|
392
394
|
};
|
|
393
395
|
var formatRelative = (token, _date, _baseDate, _options) => formatRelativeLocale[token];
|
|
394
396
|
//#endregion
|
|
395
|
-
//#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
|
|
396
398
|
/**
|
|
397
399
|
* The localize function argument callback which allows to convert raw value to
|
|
398
400
|
* the actual type.
|
|
@@ -442,7 +444,7 @@ function buildLocalizeFn(args) {
|
|
|
442
444
|
};
|
|
443
445
|
}
|
|
444
446
|
//#endregion
|
|
445
|
-
//#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
|
|
446
448
|
var eraValues = {
|
|
447
449
|
narrow: ["B", "A"],
|
|
448
450
|
abbreviated: ["BC", "AD"],
|
|
@@ -651,7 +653,7 @@ var localize = {
|
|
|
651
653
|
})
|
|
652
654
|
};
|
|
653
655
|
//#endregion
|
|
654
|
-
//#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
|
|
655
657
|
function buildMatchFn(args) {
|
|
656
658
|
return (string, options = {}) => {
|
|
657
659
|
const width = options.width;
|
|
@@ -678,7 +680,7 @@ function findIndex(array, predicate) {
|
|
|
678
680
|
for (let key = 0; key < array.length; key++) if (predicate(array[key])) return key;
|
|
679
681
|
}
|
|
680
682
|
//#endregion
|
|
681
|
-
//#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
|
|
682
684
|
function buildMatchPatternFn(args) {
|
|
683
685
|
return (string, options = {}) => {
|
|
684
686
|
const matchResult = string.match(args.matchPattern);
|
|
@@ -696,7 +698,7 @@ function buildMatchPatternFn(args) {
|
|
|
696
698
|
};
|
|
697
699
|
}
|
|
698
700
|
//#endregion
|
|
699
|
-
//#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
|
|
700
702
|
/**
|
|
701
703
|
* @category Locales
|
|
702
704
|
* @summary English locale (United States).
|
|
@@ -837,13 +839,13 @@ var enUS = {
|
|
|
837
839
|
}
|
|
838
840
|
};
|
|
839
841
|
//#endregion
|
|
840
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
842
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.js
|
|
841
843
|
var defaultOptions = {};
|
|
842
844
|
function getDefaultOptions$1() {
|
|
843
845
|
return defaultOptions;
|
|
844
846
|
}
|
|
845
847
|
//#endregion
|
|
846
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
848
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js
|
|
847
849
|
/**
|
|
848
850
|
* Google Chrome as of 67.0.3396.87 introduced timezones with offset that includes seconds.
|
|
849
851
|
* They usually appear for dates that denote time before the timezones were introduced
|
|
@@ -862,13 +864,13 @@ function getTimezoneOffsetInMilliseconds(date) {
|
|
|
862
864
|
return +date - +utcDate;
|
|
863
865
|
}
|
|
864
866
|
//#endregion
|
|
865
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
867
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.js
|
|
866
868
|
function normalizeDates(context, ...dates) {
|
|
867
869
|
const normalize = constructFrom.bind(null, context || dates.find((date) => typeof date === "object"));
|
|
868
870
|
return dates.map(normalize);
|
|
869
871
|
}
|
|
870
872
|
//#endregion
|
|
871
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
873
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.js
|
|
872
874
|
/**
|
|
873
875
|
* The {@link startOfDay} function options.
|
|
874
876
|
*/
|
|
@@ -900,7 +902,7 @@ function startOfDay(date, options) {
|
|
|
900
902
|
return _date;
|
|
901
903
|
}
|
|
902
904
|
//#endregion
|
|
903
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
905
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.js
|
|
904
906
|
/**
|
|
905
907
|
* The {@link differenceInCalendarDays} function options.
|
|
906
908
|
*/
|
|
@@ -944,7 +946,7 @@ function differenceInCalendarDays(laterDate, earlierDate, options) {
|
|
|
944
946
|
return Math.round((laterTimestamp - earlierTimestamp) / millisecondsInDay);
|
|
945
947
|
}
|
|
946
948
|
//#endregion
|
|
947
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
949
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.js
|
|
948
950
|
/**
|
|
949
951
|
* The {@link startOfYear} function options.
|
|
950
952
|
*/
|
|
@@ -977,7 +979,7 @@ function startOfYear(date, options) {
|
|
|
977
979
|
return date_;
|
|
978
980
|
}
|
|
979
981
|
//#endregion
|
|
980
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
982
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.js
|
|
981
983
|
/**
|
|
982
984
|
* The {@link getDayOfYear} function options.
|
|
983
985
|
*/
|
|
@@ -1004,7 +1006,7 @@ function getDayOfYear(date, options) {
|
|
|
1004
1006
|
return differenceInCalendarDays(_date, startOfYear(_date)) + 1;
|
|
1005
1007
|
}
|
|
1006
1008
|
//#endregion
|
|
1007
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
1009
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.js
|
|
1008
1010
|
/**
|
|
1009
1011
|
* The {@link startOfWeek} function options.
|
|
1010
1012
|
*/
|
|
@@ -1046,7 +1048,7 @@ function startOfWeek(date, options) {
|
|
|
1046
1048
|
return _date;
|
|
1047
1049
|
}
|
|
1048
1050
|
//#endregion
|
|
1049
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
1051
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.js
|
|
1050
1052
|
/**
|
|
1051
1053
|
* The {@link startOfISOWeek} function options.
|
|
1052
1054
|
*/
|
|
@@ -1081,7 +1083,7 @@ function startOfISOWeek(date, options) {
|
|
|
1081
1083
|
});
|
|
1082
1084
|
}
|
|
1083
1085
|
//#endregion
|
|
1084
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
1086
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.js
|
|
1085
1087
|
/**
|
|
1086
1088
|
* The {@link getISOWeekYear} function options.
|
|
1087
1089
|
*/
|
|
@@ -1121,7 +1123,7 @@ function getISOWeekYear(date, options) {
|
|
|
1121
1123
|
else return year - 1;
|
|
1122
1124
|
}
|
|
1123
1125
|
//#endregion
|
|
1124
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
1126
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.js
|
|
1125
1127
|
/**
|
|
1126
1128
|
* The {@link startOfISOWeekYear} function options.
|
|
1127
1129
|
*/
|
|
@@ -1158,7 +1160,7 @@ function startOfISOWeekYear(date, options) {
|
|
|
1158
1160
|
return startOfISOWeek(fourthOfJanuary);
|
|
1159
1161
|
}
|
|
1160
1162
|
//#endregion
|
|
1161
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
1163
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.js
|
|
1162
1164
|
/**
|
|
1163
1165
|
* The {@link getISOWeek} function options.
|
|
1164
1166
|
*/
|
|
@@ -1188,7 +1190,7 @@ function getISOWeek(date, options) {
|
|
|
1188
1190
|
return Math.round(diff / millisecondsInWeek) + 1;
|
|
1189
1191
|
}
|
|
1190
1192
|
//#endregion
|
|
1191
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
1193
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.js
|
|
1192
1194
|
/**
|
|
1193
1195
|
* The {@link getWeekYear} function options.
|
|
1194
1196
|
*/
|
|
@@ -1244,7 +1246,7 @@ function getWeekYear(date, options) {
|
|
|
1244
1246
|
else return year - 1;
|
|
1245
1247
|
}
|
|
1246
1248
|
//#endregion
|
|
1247
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
1249
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.js
|
|
1248
1250
|
/**
|
|
1249
1251
|
* The {@link startOfWeekYear} function options.
|
|
1250
1252
|
*/
|
|
@@ -1295,7 +1297,7 @@ function startOfWeekYear(date, options) {
|
|
|
1295
1297
|
return startOfWeek(firstWeek, options);
|
|
1296
1298
|
}
|
|
1297
1299
|
//#endregion
|
|
1298
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
1300
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.js
|
|
1299
1301
|
/**
|
|
1300
1302
|
* The {@link getWeek} function options.
|
|
1301
1303
|
*/
|
|
@@ -1339,7 +1341,7 @@ function getWeek(date, options) {
|
|
|
1339
1341
|
return Math.round(diff / millisecondsInWeek) + 1;
|
|
1340
1342
|
}
|
|
1341
1343
|
//#endregion
|
|
1342
|
-
//#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
|
|
1343
1345
|
var lightFormatters = {
|
|
1344
1346
|
y(date, token) {
|
|
1345
1347
|
const signedYear = date.getFullYear();
|
|
@@ -1382,7 +1384,7 @@ var lightFormatters = {
|
|
|
1382
1384
|
}
|
|
1383
1385
|
};
|
|
1384
1386
|
//#endregion
|
|
1385
|
-
//#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
|
|
1386
1388
|
var dayPeriodEnum = {
|
|
1387
1389
|
am: "am",
|
|
1388
1390
|
pm: "pm",
|
|
@@ -1792,7 +1794,7 @@ function formatTimezone(offset, delimiter = "") {
|
|
|
1792
1794
|
return sign + hours + delimiter + minutes;
|
|
1793
1795
|
}
|
|
1794
1796
|
//#endregion
|
|
1795
|
-
//#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
|
|
1796
1798
|
var dateLongFormatter = (pattern, formatLong) => {
|
|
1797
1799
|
switch (pattern) {
|
|
1798
1800
|
case "P": return formatLong.date({ width: "short" });
|
|
@@ -1825,9 +1827,7 @@ var dateTimeLongFormatter = (pattern, formatLong) => {
|
|
|
1825
1827
|
case "PPP":
|
|
1826
1828
|
dateTimeFormat = formatLong.dateTime({ width: "long" });
|
|
1827
1829
|
break;
|
|
1828
|
-
default:
|
|
1829
|
-
dateTimeFormat = formatLong.dateTime({ width: "full" });
|
|
1830
|
-
break;
|
|
1830
|
+
default: dateTimeFormat = formatLong.dateTime({ width: "full" });
|
|
1831
1831
|
}
|
|
1832
1832
|
return dateTimeFormat.replace("{{date}}", dateLongFormatter(datePattern, formatLong)).replace("{{time}}", timeLongFormatter(timePattern, formatLong));
|
|
1833
1833
|
};
|
|
@@ -1836,7 +1836,7 @@ var longFormatters = {
|
|
|
1836
1836
|
P: dateTimeLongFormatter
|
|
1837
1837
|
};
|
|
1838
1838
|
//#endregion
|
|
1839
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
1839
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.js
|
|
1840
1840
|
var dayOfYearTokenRE = /^D+$/;
|
|
1841
1841
|
var weekYearTokenRE = /^Y+$/;
|
|
1842
1842
|
var throwTokens = [
|
|
@@ -1861,7 +1861,7 @@ function message(token, format, input) {
|
|
|
1861
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`;
|
|
1862
1862
|
}
|
|
1863
1863
|
//#endregion
|
|
1864
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
1864
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js
|
|
1865
1865
|
/**
|
|
1866
1866
|
* @name isDate
|
|
1867
1867
|
* @category Common Helpers
|
|
@@ -1898,7 +1898,7 @@ function isDate(value) {
|
|
|
1898
1898
|
return value instanceof Date || typeof value === "object" && Object.prototype.toString.call(value) === "[object Date]";
|
|
1899
1899
|
}
|
|
1900
1900
|
//#endregion
|
|
1901
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
1901
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.js
|
|
1902
1902
|
/**
|
|
1903
1903
|
* @name isValid
|
|
1904
1904
|
* @category Common Helpers
|
|
@@ -1934,7 +1934,7 @@ function isValid(date) {
|
|
|
1934
1934
|
return !(!isDate(date) && typeof date !== "number" || isNaN(+toDate(date)));
|
|
1935
1935
|
}
|
|
1936
1936
|
//#endregion
|
|
1937
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
1937
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.js
|
|
1938
1938
|
var formattingTokensRegExp$1 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g;
|
|
1939
1939
|
var longFormattingTokensRegExp$1 = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;
|
|
1940
1940
|
var escapedStringRegExp$1 = /^'([^]*?)'?$/;
|
|
@@ -2281,7 +2281,7 @@ function cleanEscapedString$1(input) {
|
|
|
2281
2281
|
return matched[1].replace(doubleQuoteRegExp$1, "'");
|
|
2282
2282
|
}
|
|
2283
2283
|
//#endregion
|
|
2284
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
2284
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDefaultOptions.js
|
|
2285
2285
|
/**
|
|
2286
2286
|
* @name getDefaultOptions
|
|
2287
2287
|
* @category Common Helpers
|
|
@@ -2310,7 +2310,7 @@ function getDefaultOptions() {
|
|
|
2310
2310
|
return Object.assign({}, getDefaultOptions$1());
|
|
2311
2311
|
}
|
|
2312
2312
|
//#endregion
|
|
2313
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
2313
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/transpose.js
|
|
2314
2314
|
/**
|
|
2315
2315
|
* @name transpose
|
|
2316
2316
|
* @category Generic Helpers
|
|
@@ -2349,7 +2349,7 @@ function isConstructor(constructor) {
|
|
|
2349
2349
|
return typeof constructor === "function" && constructor.prototype?.constructor === constructor;
|
|
2350
2350
|
}
|
|
2351
2351
|
//#endregion
|
|
2352
|
-
//#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
|
|
2353
2353
|
var TIMEZONE_UNIT_PRIORITY = 10;
|
|
2354
2354
|
var Setter = class {
|
|
2355
2355
|
subPriority = 0;
|
|
@@ -2386,7 +2386,7 @@ var DateTimezoneSetter = class extends Setter {
|
|
|
2386
2386
|
}
|
|
2387
2387
|
};
|
|
2388
2388
|
//#endregion
|
|
2389
|
-
//#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
|
|
2390
2390
|
var Parser = class {
|
|
2391
2391
|
run(dateString, token, match, options) {
|
|
2392
2392
|
const result = this.parse(dateString, token, match, options);
|
|
@@ -2401,7 +2401,7 @@ var Parser = class {
|
|
|
2401
2401
|
}
|
|
2402
2402
|
};
|
|
2403
2403
|
//#endregion
|
|
2404
|
-
//#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
|
|
2405
2405
|
var EraParser = class extends Parser {
|
|
2406
2406
|
priority = 140;
|
|
2407
2407
|
parse(dateString, token, match) {
|
|
@@ -2427,7 +2427,7 @@ var EraParser = class extends Parser {
|
|
|
2427
2427
|
];
|
|
2428
2428
|
};
|
|
2429
2429
|
//#endregion
|
|
2430
|
-
//#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
|
|
2431
2431
|
var numericPatterns = {
|
|
2432
2432
|
month: /^(1[0-2]|0?\d)/,
|
|
2433
2433
|
date: /^(3[0-1]|[0-2]?\d)/,
|
|
@@ -2457,7 +2457,7 @@ var timezonePatterns = {
|
|
|
2457
2457
|
extendedOptionalSeconds: /^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/
|
|
2458
2458
|
};
|
|
2459
2459
|
//#endregion
|
|
2460
|
-
//#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
|
|
2461
2461
|
function mapValue(parseFnResult, mapFn) {
|
|
2462
2462
|
if (!parseFnResult) return parseFnResult;
|
|
2463
2463
|
return {
|
|
@@ -2537,7 +2537,7 @@ function isLeapYearIndex(year) {
|
|
|
2537
2537
|
return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0;
|
|
2538
2538
|
}
|
|
2539
2539
|
//#endregion
|
|
2540
|
-
//#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
|
|
2541
2541
|
var YearParser = class extends Parser {
|
|
2542
2542
|
priority = 130;
|
|
2543
2543
|
incompatibleTokens = [
|
|
@@ -2581,7 +2581,7 @@ var YearParser = class extends Parser {
|
|
|
2581
2581
|
}
|
|
2582
2582
|
};
|
|
2583
2583
|
//#endregion
|
|
2584
|
-
//#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
|
|
2585
2585
|
var LocalWeekYearParser = class extends Parser {
|
|
2586
2586
|
priority = 130;
|
|
2587
2587
|
parse(dateString, token, match) {
|
|
@@ -2628,7 +2628,7 @@ var LocalWeekYearParser = class extends Parser {
|
|
|
2628
2628
|
];
|
|
2629
2629
|
};
|
|
2630
2630
|
//#endregion
|
|
2631
|
-
//#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
|
|
2632
2632
|
var ISOWeekYearParser = class extends Parser {
|
|
2633
2633
|
priority = 130;
|
|
2634
2634
|
parse(dateString, token) {
|
|
@@ -2660,7 +2660,7 @@ var ISOWeekYearParser = class extends Parser {
|
|
|
2660
2660
|
];
|
|
2661
2661
|
};
|
|
2662
2662
|
//#endregion
|
|
2663
|
-
//#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
|
|
2664
2664
|
var ExtendedYearParser = class extends Parser {
|
|
2665
2665
|
priority = 130;
|
|
2666
2666
|
parse(dateString, token) {
|
|
@@ -2687,7 +2687,7 @@ var ExtendedYearParser = class extends Parser {
|
|
|
2687
2687
|
];
|
|
2688
2688
|
};
|
|
2689
2689
|
//#endregion
|
|
2690
|
-
//#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
|
|
2691
2691
|
var QuarterParser = class extends Parser {
|
|
2692
2692
|
priority = 120;
|
|
2693
2693
|
parse(dateString, token, match) {
|
|
@@ -2744,7 +2744,7 @@ var QuarterParser = class extends Parser {
|
|
|
2744
2744
|
];
|
|
2745
2745
|
};
|
|
2746
2746
|
//#endregion
|
|
2747
|
-
//#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
|
|
2748
2748
|
var StandAloneQuarterParser = class extends Parser {
|
|
2749
2749
|
priority = 120;
|
|
2750
2750
|
parse(dateString, token, match) {
|
|
@@ -2801,7 +2801,7 @@ var StandAloneQuarterParser = class extends Parser {
|
|
|
2801
2801
|
];
|
|
2802
2802
|
};
|
|
2803
2803
|
//#endregion
|
|
2804
|
-
//#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
|
|
2805
2805
|
var MonthParser = class extends Parser {
|
|
2806
2806
|
incompatibleTokens = [
|
|
2807
2807
|
"Y",
|
|
@@ -2858,7 +2858,7 @@ var MonthParser = class extends Parser {
|
|
|
2858
2858
|
}
|
|
2859
2859
|
};
|
|
2860
2860
|
//#endregion
|
|
2861
|
-
//#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
|
|
2862
2862
|
var StandAloneMonthParser = class extends Parser {
|
|
2863
2863
|
priority = 110;
|
|
2864
2864
|
parse(dateString, token, match) {
|
|
@@ -2915,7 +2915,7 @@ var StandAloneMonthParser = class extends Parser {
|
|
|
2915
2915
|
];
|
|
2916
2916
|
};
|
|
2917
2917
|
//#endregion
|
|
2918
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
2918
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/setWeek.js
|
|
2919
2919
|
/**
|
|
2920
2920
|
* The {@link setWeek} function options.
|
|
2921
2921
|
*/
|
|
@@ -2964,7 +2964,7 @@ function setWeek(date, week, options) {
|
|
|
2964
2964
|
return toDate(date_, options?.in);
|
|
2965
2965
|
}
|
|
2966
2966
|
//#endregion
|
|
2967
|
-
//#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
|
|
2968
2968
|
var LocalWeekParser = class extends Parser {
|
|
2969
2969
|
priority = 100;
|
|
2970
2970
|
parse(dateString, token, match) {
|
|
@@ -2997,7 +2997,7 @@ var LocalWeekParser = class extends Parser {
|
|
|
2997
2997
|
];
|
|
2998
2998
|
};
|
|
2999
2999
|
//#endregion
|
|
3000
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3000
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/setISOWeek.js
|
|
3001
3001
|
/**
|
|
3002
3002
|
* The {@link setISOWeek} function options.
|
|
3003
3003
|
*/
|
|
@@ -3032,7 +3032,7 @@ function setISOWeek(date, week, options) {
|
|
|
3032
3032
|
return _date;
|
|
3033
3033
|
}
|
|
3034
3034
|
//#endregion
|
|
3035
|
-
//#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
|
|
3036
3036
|
var ISOWeekParser = class extends Parser {
|
|
3037
3037
|
priority = 100;
|
|
3038
3038
|
parse(dateString, token, match) {
|
|
@@ -3066,7 +3066,7 @@ var ISOWeekParser = class extends Parser {
|
|
|
3066
3066
|
];
|
|
3067
3067
|
};
|
|
3068
3068
|
//#endregion
|
|
3069
|
-
//#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
|
|
3070
3070
|
var DAYS_IN_MONTH = [
|
|
3071
3071
|
31,
|
|
3072
3072
|
28,
|
|
@@ -3132,7 +3132,7 @@ var DateParser = class extends Parser {
|
|
|
3132
3132
|
];
|
|
3133
3133
|
};
|
|
3134
3134
|
//#endregion
|
|
3135
|
-
//#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
|
|
3136
3136
|
var DayOfYearParser = class extends Parser {
|
|
3137
3137
|
priority = 90;
|
|
3138
3138
|
subpriority = 1;
|
|
@@ -3172,7 +3172,7 @@ var DayOfYearParser = class extends Parser {
|
|
|
3172
3172
|
];
|
|
3173
3173
|
};
|
|
3174
3174
|
//#endregion
|
|
3175
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3175
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/addDays.js
|
|
3176
3176
|
/**
|
|
3177
3177
|
* The {@link addDays} function options.
|
|
3178
3178
|
*/
|
|
@@ -3184,6 +3184,19 @@ var DayOfYearParser = class extends Parser {
|
|
|
3184
3184
|
* @description
|
|
3185
3185
|
* Add the specified number of days to the given date.
|
|
3186
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
|
+
*
|
|
3187
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).
|
|
3188
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.
|
|
3189
3202
|
*
|
|
@@ -3197,6 +3210,12 @@ var DayOfYearParser = class extends Parser {
|
|
|
3197
3210
|
* // Add 10 days to 1 September 2014:
|
|
3198
3211
|
* const result = addDays(new Date(2014, 8, 1), 10)
|
|
3199
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"
|
|
3200
3219
|
*/
|
|
3201
3220
|
function addDays$1(date, amount, options) {
|
|
3202
3221
|
const _date = toDate(date, options?.in);
|
|
@@ -3206,7 +3225,7 @@ function addDays$1(date, amount, options) {
|
|
|
3206
3225
|
return _date;
|
|
3207
3226
|
}
|
|
3208
3227
|
//#endregion
|
|
3209
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3228
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/setDay.js
|
|
3210
3229
|
/**
|
|
3211
3230
|
* The {@link setDay} function options.
|
|
3212
3231
|
*/
|
|
@@ -3247,7 +3266,7 @@ function setDay(date, day, options) {
|
|
|
3247
3266
|
return addDays$1(date_, day < 0 || day > 6 ? day - (currentDay + delta) % 7 : (dayIndex + delta) % 7 - (currentDay + delta) % 7, options);
|
|
3248
3267
|
}
|
|
3249
3268
|
//#endregion
|
|
3250
|
-
//#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
|
|
3251
3270
|
var DayParser = class extends Parser {
|
|
3252
3271
|
priority = 90;
|
|
3253
3272
|
parse(dateString, token, match) {
|
|
@@ -3308,7 +3327,7 @@ var DayParser = class extends Parser {
|
|
|
3308
3327
|
];
|
|
3309
3328
|
};
|
|
3310
3329
|
//#endregion
|
|
3311
|
-
//#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
|
|
3312
3331
|
var LocalDayParser = class extends Parser {
|
|
3313
3332
|
priority = 90;
|
|
3314
3333
|
parse(dateString, token, match, options) {
|
|
@@ -3383,7 +3402,7 @@ var LocalDayParser = class extends Parser {
|
|
|
3383
3402
|
];
|
|
3384
3403
|
};
|
|
3385
3404
|
//#endregion
|
|
3386
|
-
//#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
|
|
3387
3406
|
var StandAloneLocalDayParser = class extends Parser {
|
|
3388
3407
|
priority = 90;
|
|
3389
3408
|
parse(dateString, token, match, options) {
|
|
@@ -3458,7 +3477,7 @@ var StandAloneLocalDayParser = class extends Parser {
|
|
|
3458
3477
|
];
|
|
3459
3478
|
};
|
|
3460
3479
|
//#endregion
|
|
3461
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3480
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISODay.js
|
|
3462
3481
|
/**
|
|
3463
3482
|
* The {@link getISODay} function options.
|
|
3464
3483
|
*/
|
|
@@ -3488,7 +3507,7 @@ function getISODay(date, options) {
|
|
|
3488
3507
|
return day === 0 ? 7 : day;
|
|
3489
3508
|
}
|
|
3490
3509
|
//#endregion
|
|
3491
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
3510
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/setISODay.js
|
|
3492
3511
|
/**
|
|
3493
3512
|
* The {@link setISODay} function options.
|
|
3494
3513
|
*/
|
|
@@ -3521,7 +3540,7 @@ function setISODay(date, day, options) {
|
|
|
3521
3540
|
return addDays$1(date_, day - getISODay(date_, options), options);
|
|
3522
3541
|
}
|
|
3523
3542
|
//#endregion
|
|
3524
|
-
//#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
|
|
3525
3544
|
var ISODayParser = class extends Parser {
|
|
3526
3545
|
priority = 90;
|
|
3527
3546
|
parse(dateString, token, match) {
|
|
@@ -3596,7 +3615,7 @@ var ISODayParser = class extends Parser {
|
|
|
3596
3615
|
];
|
|
3597
3616
|
};
|
|
3598
3617
|
//#endregion
|
|
3599
|
-
//#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
|
|
3600
3619
|
var AMPMParser = class extends Parser {
|
|
3601
3620
|
priority = 80;
|
|
3602
3621
|
parse(dateString, token, match) {
|
|
@@ -3640,7 +3659,7 @@ var AMPMParser = class extends Parser {
|
|
|
3640
3659
|
];
|
|
3641
3660
|
};
|
|
3642
3661
|
//#endregion
|
|
3643
|
-
//#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
|
|
3644
3663
|
var AMPMMidnightParser = class extends Parser {
|
|
3645
3664
|
priority = 80;
|
|
3646
3665
|
parse(dateString, token, match) {
|
|
@@ -3684,7 +3703,7 @@ var AMPMMidnightParser = class extends Parser {
|
|
|
3684
3703
|
];
|
|
3685
3704
|
};
|
|
3686
3705
|
//#endregion
|
|
3687
|
-
//#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
|
|
3688
3707
|
var DayPeriodParser = class extends Parser {
|
|
3689
3708
|
priority = 80;
|
|
3690
3709
|
parse(dateString, token, match) {
|
|
@@ -3726,7 +3745,7 @@ var DayPeriodParser = class extends Parser {
|
|
|
3726
3745
|
];
|
|
3727
3746
|
};
|
|
3728
3747
|
//#endregion
|
|
3729
|
-
//#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
|
|
3730
3749
|
var Hour1to12Parser = class extends Parser {
|
|
3731
3750
|
priority = 70;
|
|
3732
3751
|
parse(dateString, token, match) {
|
|
@@ -3755,7 +3774,7 @@ var Hour1to12Parser = class extends Parser {
|
|
|
3755
3774
|
];
|
|
3756
3775
|
};
|
|
3757
3776
|
//#endregion
|
|
3758
|
-
//#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
|
|
3759
3778
|
var Hour0to23Parser = class extends Parser {
|
|
3760
3779
|
priority = 70;
|
|
3761
3780
|
parse(dateString, token, match) {
|
|
@@ -3783,7 +3802,7 @@ var Hour0to23Parser = class extends Parser {
|
|
|
3783
3802
|
];
|
|
3784
3803
|
};
|
|
3785
3804
|
//#endregion
|
|
3786
|
-
//#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
|
|
3787
3806
|
var Hour0To11Parser = class extends Parser {
|
|
3788
3807
|
priority = 70;
|
|
3789
3808
|
parse(dateString, token, match) {
|
|
@@ -3810,7 +3829,7 @@ var Hour0To11Parser = class extends Parser {
|
|
|
3810
3829
|
];
|
|
3811
3830
|
};
|
|
3812
3831
|
//#endregion
|
|
3813
|
-
//#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
|
|
3814
3833
|
var Hour1To24Parser = class extends Parser {
|
|
3815
3834
|
priority = 70;
|
|
3816
3835
|
parse(dateString, token, match) {
|
|
@@ -3839,7 +3858,7 @@ var Hour1To24Parser = class extends Parser {
|
|
|
3839
3858
|
];
|
|
3840
3859
|
};
|
|
3841
3860
|
//#endregion
|
|
3842
|
-
//#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
|
|
3843
3862
|
var MinuteParser = class extends Parser {
|
|
3844
3863
|
priority = 60;
|
|
3845
3864
|
parse(dateString, token, match) {
|
|
@@ -3859,7 +3878,7 @@ var MinuteParser = class extends Parser {
|
|
|
3859
3878
|
incompatibleTokens = ["t", "T"];
|
|
3860
3879
|
};
|
|
3861
3880
|
//#endregion
|
|
3862
|
-
//#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
|
|
3863
3882
|
var SecondParser = class extends Parser {
|
|
3864
3883
|
priority = 50;
|
|
3865
3884
|
parse(dateString, token, match) {
|
|
@@ -3879,7 +3898,7 @@ var SecondParser = class extends Parser {
|
|
|
3879
3898
|
incompatibleTokens = ["t", "T"];
|
|
3880
3899
|
};
|
|
3881
3900
|
//#endregion
|
|
3882
|
-
//#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
|
|
3883
3902
|
var FractionOfSecondParser = class extends Parser {
|
|
3884
3903
|
priority = 30;
|
|
3885
3904
|
parse(dateString, token) {
|
|
@@ -3893,7 +3912,7 @@ var FractionOfSecondParser = class extends Parser {
|
|
|
3893
3912
|
incompatibleTokens = ["t", "T"];
|
|
3894
3913
|
};
|
|
3895
3914
|
//#endregion
|
|
3896
|
-
//#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
|
|
3897
3916
|
var ISOTimezoneWithZParser = class extends Parser {
|
|
3898
3917
|
priority = 10;
|
|
3899
3918
|
parse(dateString, token) {
|
|
@@ -3916,7 +3935,7 @@ var ISOTimezoneWithZParser = class extends Parser {
|
|
|
3916
3935
|
];
|
|
3917
3936
|
};
|
|
3918
3937
|
//#endregion
|
|
3919
|
-
//#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
|
|
3920
3939
|
var ISOTimezoneParser = class extends Parser {
|
|
3921
3940
|
priority = 10;
|
|
3922
3941
|
parse(dateString, token) {
|
|
@@ -3939,7 +3958,7 @@ var ISOTimezoneParser = class extends Parser {
|
|
|
3939
3958
|
];
|
|
3940
3959
|
};
|
|
3941
3960
|
//#endregion
|
|
3942
|
-
//#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
|
|
3943
3962
|
var TimestampSecondsParser = class extends Parser {
|
|
3944
3963
|
priority = 40;
|
|
3945
3964
|
parse(dateString) {
|
|
@@ -3951,7 +3970,7 @@ var TimestampSecondsParser = class extends Parser {
|
|
|
3951
3970
|
incompatibleTokens = "*";
|
|
3952
3971
|
};
|
|
3953
3972
|
//#endregion
|
|
3954
|
-
//#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
|
|
3955
3974
|
var TimestampMillisecondsParser = class extends Parser {
|
|
3956
3975
|
priority = 20;
|
|
3957
3976
|
parse(dateString) {
|
|
@@ -3963,7 +3982,7 @@ var TimestampMillisecondsParser = class extends Parser {
|
|
|
3963
3982
|
incompatibleTokens = "*";
|
|
3964
3983
|
};
|
|
3965
3984
|
//#endregion
|
|
3966
|
-
//#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
|
|
3967
3986
|
var parsers = {
|
|
3968
3987
|
G: new EraParser(),
|
|
3969
3988
|
y: new YearParser(),
|
|
@@ -3998,7 +4017,7 @@ var parsers = {
|
|
|
3998
4017
|
T: new TimestampMillisecondsParser()
|
|
3999
4018
|
};
|
|
4000
4019
|
//#endregion
|
|
4001
|
-
//#region ../../node_modules/.pnpm/date-fns@4.
|
|
4020
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse.js
|
|
4002
4021
|
/**
|
|
4003
4022
|
* The {@link parse} function options.
|
|
4004
4023
|
*/
|
|
@@ -4828,7 +4847,7 @@ function renderDialogHeader(context) {
|
|
|
4828
4847
|
<button
|
|
4829
4848
|
tabindex="1"
|
|
4830
4849
|
id="${(x) => `grid-label-${x.id}`}"
|
|
4831
|
-
class="title-action button"
|
|
4850
|
+
class="title-action button connotation-accent appearance-listitem with-idle with-hover with-active"
|
|
4832
4851
|
aria-live="polite"
|
|
4833
4852
|
aria-label="${(x) => x.titleAriaLabel}"
|
|
4834
4853
|
@click="${(_, c) => c.parent._onTitleActionClick()}"
|
|
@@ -4897,7 +4916,7 @@ function renderCalendarGrid(context) {
|
|
|
4897
4916
|
${when((x, c) => c.parentContext.parentContext.parent._hideDatesOutsideMonth && x.isOutsideMonth, html`<div class="calendar-day"></div>`)}
|
|
4898
4917
|
${when((x, c) => !c.parentContext.parentContext.parent._hideDatesOutsideMonth || !x.isOutsideMonth, html` <span role="gridcell">
|
|
4899
4918
|
<button
|
|
4900
|
-
class="${(x, c) => 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) => 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])}"
|
|
4901
4920
|
?disabled="${(x, c) => !c.parentContext.parentContext.parent._isDateInValidRange(x.date)}"
|
|
4902
4921
|
tabindex="${(x, c) => x.date === c.parentContext.parentContext.parent._tabbableDate ? 1 : -1}"
|
|
4903
4922
|
data-date="${(x) => x.date}"
|
|
@@ -4938,7 +4957,7 @@ function renderMonthPickerGrid(context) {
|
|
|
4938
4957
|
${repeat((x) => x, html`
|
|
4939
4958
|
<span role="gridcell">
|
|
4940
4959
|
<button
|
|
4941
|
-
class="${(x, c) => 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) => 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)])}"
|
|
4942
4961
|
tabindex="${(x, c) => c.parentContext.parentContext.parent._tabbableMonth && areMonthsEqual(x.month, c.parentContext.parentContext.parent._tabbableMonth) ? 1 : -1}"
|
|
4943
4962
|
aria-label="${(x, c) => {
|
|
4944
4963
|
const picker = c.parentContext.parentContext.parent;
|