akar 1.10.0 → 1.11.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/dist/accordion/accordion-content.js +6 -952
- package/dist/accordion/accordion-content.js.map +1 -1
- package/dist/accordion/accordion-header.js +4 -1
- package/dist/accordion/accordion-header.js.map +1 -1
- package/dist/accordion/accordion-item.js +120 -0
- package/dist/accordion/accordion-item.js.map +1 -0
- package/dist/accordion/accordion-root.js +96 -0
- package/dist/accordion/accordion-root.js.map +1 -0
- package/dist/accordion/accordion-trigger.js +5 -54
- package/dist/accordion/accordion-trigger.js.map +1 -1
- package/dist/avatar/avatar-fallback.js +4 -37
- package/dist/avatar/avatar-fallback.js.map +1 -1
- package/dist/avatar/avatar-image.js +5 -50
- package/dist/avatar/avatar-image.js.map +1 -1
- package/dist/avatar/avatar-root.js +42 -0
- package/dist/avatar/avatar-root.js.map +1 -0
- package/dist/avatar/utils.js +51 -0
- package/dist/avatar/utils.js.map +1 -0
- package/dist/calendar/calendar-cell-trigger.js +6 -10
- package/dist/calendar/calendar-cell-trigger.js.map +1 -1
- package/dist/calendar/calendar-cell.js +4 -1072
- package/dist/calendar/calendar-cell.js.map +1 -1
- package/dist/calendar/calendar-grid-body.js +1 -1
- package/dist/calendar/calendar-grid-head.js +1 -1
- package/dist/calendar/calendar-grid-row.js +1 -1
- package/dist/calendar/calendar-grid.js +2 -2
- package/dist/calendar/calendar-head-cell.js +1 -1
- package/dist/calendar/calendar-header.js +1 -1
- package/dist/calendar/calendar-heading.js +2 -2
- package/dist/calendar/calendar-next.js +2 -2
- package/dist/calendar/calendar-prev.js +2 -2
- package/dist/calendar/calendar-root.js +311 -0
- package/dist/calendar/calendar-root.js.map +1 -0
- package/dist/calendar/calendar.utils.js +9 -0
- package/dist/calendar/calendar.utils.js.map +1 -0
- package/dist/calendar/use-calendar.js +253 -0
- package/dist/calendar/use-calendar.js.map +1 -0
- package/dist/checkbox/checkbox-group-root.js +10 -477
- package/dist/checkbox/checkbox-group-root.js.map +1 -1
- package/dist/checkbox/checkbox-indicator.js +7 -258
- package/dist/checkbox/checkbox-indicator.js.map +1 -1
- package/dist/checkbox/checkbox-root.js +156 -0
- package/dist/checkbox/checkbox-root.js.map +1 -0
- package/dist/checkbox/utils.js +12 -0
- package/dist/checkbox/utils.js.map +1 -0
- package/dist/collapsible/collapsible-content.js +113 -0
- package/dist/collapsible/collapsible-content.js.map +1 -0
- package/dist/collapsible/collapsible-root.js +86 -0
- package/dist/collapsible/collapsible-root.js.map +1 -0
- package/dist/collapsible/collapsible-trigger.js +59 -0
- package/dist/collapsible/collapsible-trigger.js.map +1 -0
- package/dist/collection/collection.js +75 -0
- package/dist/collection/collection.js.map +1 -0
- package/dist/combobox/combobox-anchor.js +5 -69
- package/dist/combobox/combobox-anchor.js.map +1 -1
- package/dist/combobox/combobox-arrow.js +6 -1960
- package/dist/combobox/combobox-arrow.js.map +1 -1
- package/dist/combobox/combobox-cancel.js +3 -2
- package/dist/combobox/combobox-cancel.js.map +1 -1
- package/dist/combobox/combobox-content-impl.js +198 -0
- package/dist/combobox/combobox-content-impl.js.map +1 -0
- package/dist/combobox/combobox-content.js +8 -50
- package/dist/combobox/combobox-content.js.map +1 -1
- package/dist/combobox/combobox-empty.js +2 -2
- package/dist/combobox/combobox-group.js +5 -35
- package/dist/combobox/combobox-group.js.map +1 -1
- package/dist/combobox/combobox-input.js +6 -103
- package/dist/combobox/combobox-input.js.map +1 -1
- package/dist/combobox/combobox-item-indicator.js +3 -39
- package/dist/combobox/combobox-item-indicator.js.map +1 -1
- package/dist/combobox/combobox-item.js +6 -111
- package/dist/combobox/combobox-item.js.map +1 -1
- package/dist/combobox/combobox-label.js +3 -1
- package/dist/combobox/combobox-label.js.map +1 -1
- package/dist/combobox/combobox-portal.js +3 -47
- package/dist/combobox/combobox-portal.js.map +1 -1
- package/dist/combobox/combobox-root.js +256 -0
- package/dist/combobox/combobox-root.js.map +1 -0
- package/dist/combobox/combobox-separator.js +2 -1
- package/dist/combobox/combobox-separator.js.map +1 -1
- package/dist/combobox/combobox-trigger.js +3 -2
- package/dist/combobox/combobox-trigger.js.map +1 -1
- package/dist/combobox/combobox-viewport.js +6 -11
- package/dist/combobox/combobox-viewport.js.map +1 -1
- package/dist/combobox/combobox-virtualizer.js +4 -236
- package/dist/combobox/combobox-virtualizer.js.map +1 -1
- package/dist/component/arrow.js +69 -0
- package/dist/component/arrow.js.map +1 -0
- package/dist/component/base-separator.js +1 -1
- package/dist/composables/use-window-splitter-behavior.js +5 -46
- package/dist/composables/use-window-splitter-behavior.js.map +1 -1
- package/dist/composables/use-window-splitter-panel-group-behavior.js +7 -314
- package/dist/composables/use-window-splitter-panel-group-behavior.js.map +1 -1
- package/dist/config-provider/config-provider.js +58 -0
- package/dist/config-provider/config-provider.js.map +1 -0
- package/dist/context-menu/context-menu-arrow.js +3 -44
- package/dist/context-menu/context-menu-arrow.js.map +1 -1
- package/dist/context-menu/context-menu-checkbox-item.js +5 -1028
- package/dist/context-menu/context-menu-checkbox-item.js.map +1 -1
- package/dist/context-menu/context-menu-content.js +6 -436
- package/dist/context-menu/context-menu-content.js.map +1 -1
- package/dist/context-menu/context-menu-group.js +4 -32
- package/dist/context-menu/context-menu-group.js.map +1 -1
- package/dist/context-menu/context-menu-item-indicator.js +2 -2
- package/dist/context-menu/context-menu-item.js +3 -3
- package/dist/context-menu/context-menu-label.js +3 -32
- package/dist/context-menu/context-menu-label.js.map +1 -1
- package/dist/context-menu/context-menu-portal.js +2 -39
- package/dist/context-menu/context-menu-portal.js.map +1 -1
- package/dist/context-menu/context-menu-radio-group.js +4 -49
- package/dist/context-menu/context-menu-radio-group.js.map +1 -1
- package/dist/context-menu/context-menu-radio-item.js +5 -60
- package/dist/context-menu/context-menu-radio-item.js.map +1 -1
- package/dist/context-menu/context-menu-root.js +74 -0
- package/dist/context-menu/context-menu-root.js.map +1 -0
- package/dist/context-menu/context-menu-separator.js +4 -35
- package/dist/context-menu/context-menu-separator.js.map +1 -1
- package/dist/context-menu/context-menu-sub-content.js +5 -157
- package/dist/context-menu/context-menu-sub-content.js.map +1 -1
- package/dist/context-menu/context-menu-sub-trigger.js +4 -185
- package/dist/context-menu/context-menu-sub-trigger.js.map +1 -1
- package/dist/context-menu/context-menu-sub.js +4 -63
- package/dist/context-menu/context-menu-sub.js.map +1 -1
- package/dist/context-menu/context-menu-trigger.js +6 -10
- package/dist/context-menu/context-menu-trigger.js.map +1 -1
- package/dist/context-menu/utils.js +8 -0
- package/dist/context-menu/utils.js.map +1 -0
- package/dist/date/calendar.date.js +150 -0
- package/dist/date/calendar.date.js.map +1 -0
- package/dist/date/comparators.date.js +146 -0
- package/dist/date/comparators.date.js.map +1 -0
- package/dist/date/comparators.js +42 -0
- package/dist/date/comparators.js.map +1 -0
- package/dist/date/parser.js +158 -0
- package/dist/date/parser.js.map +1 -0
- package/dist/date/parts.js +27 -0
- package/dist/date/parts.js.map +1 -0
- package/dist/date/placeholders.js +493 -0
- package/dist/date/placeholders.js.map +1 -0
- package/dist/date/segment.js +37 -0
- package/dist/date/segment.js.map +1 -0
- package/dist/date/use-date-field.js +701 -0
- package/dist/date/use-date-field.js.map +1 -0
- package/dist/date/utils.js +56 -0
- package/dist/date/utils.js.map +1 -0
- package/dist/date-field/date-field-input.js +5 -1664
- package/dist/date-field/date-field-input.js.map +1 -1
- package/dist/date-field/date-field-root.js +281 -0
- package/dist/date-field/date-field-root.js.map +1 -0
- package/dist/date-picker/date-picker-anchor.js +3 -109
- package/dist/date-picker/date-picker-anchor.js.map +1 -1
- package/dist/date-picker/date-picker-arrow.js +2 -48
- package/dist/date-picker/date-picker-arrow.js.map +1 -1
- package/dist/date-picker/date-picker-calendar.js +5 -20829
- package/dist/date-picker/date-picker-calendar.js.map +1 -1
- package/dist/date-picker/date-picker-cell-trigger.js +42 -0
- package/dist/date-picker/date-picker-cell-trigger.js.map +1 -0
- package/dist/date-picker/date-picker-cell.js +38 -0
- package/dist/date-picker/date-picker-cell.js.map +1 -0
- package/dist/date-picker/date-picker-close.js +34 -0
- package/dist/date-picker/date-picker-close.js.map +1 -0
- package/dist/date-picker/date-picker-content.js +148 -0
- package/dist/date-picker/date-picker-content.js.map +1 -0
- package/dist/date-picker/date-picker-field.js +58 -0
- package/dist/date-picker/date-picker-field.js.map +1 -0
- package/dist/date-picker/date-picker-grid-body.js +34 -0
- package/dist/date-picker/date-picker-grid-body.js.map +1 -0
- package/dist/date-picker/date-picker-grid-head.js +34 -0
- package/dist/date-picker/date-picker-grid-head.js.map +1 -0
- package/dist/date-picker/date-picker-grid-row.js +34 -0
- package/dist/date-picker/date-picker-grid-row.js.map +1 -0
- package/dist/date-picker/date-picker-grid.js +34 -0
- package/dist/date-picker/date-picker-grid.js.map +1 -0
- package/dist/date-picker/date-picker-head-cell.js +34 -0
- package/dist/date-picker/date-picker-head-cell.js.map +1 -0
- package/dist/date-picker/date-picker-header.js +34 -0
- package/dist/date-picker/date-picker-header.js.map +1 -0
- package/dist/date-picker/date-picker-heading.js +34 -0
- package/dist/date-picker/date-picker-heading.js.map +1 -0
- package/dist/date-picker/date-picker-input.js +38 -0
- package/dist/date-picker/date-picker-input.js.map +1 -0
- package/dist/date-picker/date-picker-next.js +38 -0
- package/dist/date-picker/date-picker-next.js.map +1 -0
- package/dist/date-picker/date-picker-prev.js +38 -0
- package/dist/date-picker/date-picker-prev.js.map +1 -0
- package/dist/date-picker/date-picker-root.js +252 -0
- package/dist/date-picker/date-picker-root.js.map +1 -0
- package/dist/date-picker/date-picker-trigger.js +41 -0
- package/dist/date-picker/date-picker-trigger.js.map +1 -0
- package/dist/date-range-field/date-range-field-input.js +96 -0
- package/dist/date-range-field/date-range-field-input.js.map +1 -0
- package/dist/date-range-field/date-range-field-root.js +347 -0
- package/dist/date-range-field/date-range-field-root.js.map +1 -0
- package/dist/date-range-picker/date-range-picker-anchor.js +38 -0
- package/dist/date-range-picker/date-range-picker-anchor.js.map +1 -0
- package/dist/date-range-picker/date-range-picker-arrow.js +46 -0
- package/dist/date-range-picker/date-range-picker-arrow.js.map +1 -0
- package/dist/date-range-picker/date-range-picker-calendar.js +66 -0
- package/dist/date-range-picker/date-range-picker-calendar.js.map +1 -0
- package/dist/date-range-picker/date-range-picker-cell-trigger.js +43 -0
- package/dist/date-range-picker/date-range-picker-cell-trigger.js.map +1 -0
- package/dist/date-range-picker/date-range-picker-cell.js +38 -0
- package/dist/date-range-picker/date-range-picker-cell.js.map +1 -0
- package/dist/date-range-picker/date-range-picker-close.js +34 -0
- package/dist/date-range-picker/date-range-picker-close.js.map +1 -0
- package/dist/date-range-picker/date-range-picker-content.js +148 -0
- package/dist/date-range-picker/date-range-picker-content.js.map +1 -0
- package/dist/date-range-picker/date-range-picker-field.js +57 -0
- package/dist/date-range-picker/date-range-picker-field.js.map +1 -0
- package/dist/date-range-picker/date-range-picker-grid-body.js +34 -0
- package/dist/date-range-picker/date-range-picker-grid-body.js.map +1 -0
- package/dist/date-range-picker/date-range-picker-grid-head.js +34 -0
- package/dist/date-range-picker/date-range-picker-grid-head.js.map +1 -0
- package/dist/date-range-picker/date-range-picker-grid-row.js +34 -0
- package/dist/date-range-picker/date-range-picker-grid-row.js.map +1 -0
- package/dist/date-range-picker/date-range-picker-grid.js +34 -0
- package/dist/date-range-picker/date-range-picker-grid.js.map +1 -0
- package/dist/date-range-picker/date-range-picker-head-cell.js +34 -0
- package/dist/date-range-picker/date-range-picker-head-cell.js.map +1 -0
- package/dist/date-range-picker/date-range-picker-header.js +34 -0
- package/dist/date-range-picker/date-range-picker-header.js.map +1 -0
- package/dist/date-range-picker/date-range-picker-heading.js +34 -0
- package/dist/date-range-picker/date-range-picker-heading.js.map +1 -0
- package/dist/date-range-picker/date-range-picker-input.js +42 -0
- package/dist/date-range-picker/date-range-picker-input.js.map +1 -0
- package/dist/date-range-picker/date-range-picker-next.js +38 -0
- package/dist/date-range-picker/date-range-picker-next.js.map +1 -0
- package/dist/date-range-picker/date-range-picker-prev.js +38 -0
- package/dist/date-range-picker/date-range-picker-prev.js.map +1 -0
- package/dist/date-range-picker/date-range-picker-root.js +290 -0
- package/dist/date-range-picker/date-range-picker-root.js.map +1 -0
- package/dist/date-range-picker/date-range-picker-trigger.js +41 -0
- package/dist/date-range-picker/date-range-picker-trigger.js.map +1 -0
- package/dist/date.js +3 -1
- package/dist/dialog/dialog-close.js +42 -0
- package/dist/dialog/dialog-close.js.map +1 -0
- package/dist/dialog/dialog-content-impl.js +111 -0
- package/dist/dialog/dialog-content-impl.js.map +1 -0
- package/dist/dialog/dialog-content-modal.js +85 -0
- package/dist/dialog/dialog-content-modal.js.map +1 -0
- package/dist/dialog/dialog-content-non-modal.js +87 -0
- package/dist/dialog/dialog-content-non-modal.js.map +1 -0
- package/dist/dialog/dialog-content.js +79 -0
- package/dist/dialog/dialog-content.js.map +1 -0
- package/dist/dialog/dialog-description.js +39 -0
- package/dist/dialog/dialog-description.js.map +1 -0
- package/dist/dialog/dialog-overlay-impl.js +48 -0
- package/dist/dialog/dialog-overlay-impl.js.map +1 -0
- package/dist/dialog/dialog-overlay.js +52 -0
- package/dist/dialog/dialog-overlay.js.map +1 -0
- package/dist/dialog/dialog-portal.js +42 -0
- package/dist/dialog/dialog-portal.js.map +1 -0
- package/dist/dialog/dialog-root.js +71 -0
- package/dist/dialog/dialog-root.js.map +1 -0
- package/dist/dialog/dialog-title.js +39 -0
- package/dist/dialog/dialog-title.js.map +1 -0
- package/dist/dialog/dialog-trigger.js +58 -0
- package/dist/dialog/dialog-trigger.js.map +1 -0
- package/dist/dialog/utils.js +26 -0
- package/dist/dialog/utils.js.map +1 -0
- package/dist/dismissable-layer/dismissable-layer-branch.js +43 -0
- package/dist/dismissable-layer/dismissable-layer-branch.js.map +1 -0
- package/dist/dismissable-layer/dismissable-layer.js +135 -0
- package/dist/dismissable-layer/dismissable-layer.js.map +1 -0
- package/dist/dismissable-layer/utils.js +136 -0
- package/dist/dismissable-layer/utils.js.map +1 -0
- package/dist/drawer/drawer-content.js +77 -0
- package/dist/drawer/drawer-content.js.map +1 -0
- package/dist/drawer/drawer-handle.js +91 -0
- package/dist/drawer/drawer-handle.js.map +1 -0
- package/dist/drawer/drawer-overlay.js +28 -0
- package/dist/drawer/drawer-overlay.js.map +1 -0
- package/dist/drawer/drawer-root-nested.js +127 -0
- package/dist/drawer/drawer-root-nested.js.map +1 -0
- package/dist/drawer/drawer-root.js +164 -0
- package/dist/drawer/drawer-root.js.map +1 -0
- package/dist/drawer/drawer.browser.js +8 -0
- package/dist/drawer/drawer.browser.js.map +1 -0
- package/dist/drawer/drawer.constants.js +21 -0
- package/dist/drawer/drawer.constants.js.map +1 -0
- package/dist/drawer/drawer.context.js +8 -0
- package/dist/drawer/drawer.context.js.map +1 -0
- package/dist/drawer/drawer.controls.js +390 -0
- package/dist/drawer/drawer.controls.js.map +1 -0
- package/dist/drawer/drawer.utils.js +67 -0
- package/dist/drawer/drawer.utils.js.map +1 -0
- package/dist/drawer/use-position-fixed.js +80 -0
- package/dist/drawer/use-position-fixed.js.map +1 -0
- package/dist/drawer/use-scale-background.js +53 -0
- package/dist/drawer/use-scale-background.js.map +1 -0
- package/dist/drawer/use-snap-points.js +159 -0
- package/dist/drawer/use-snap-points.js.map +1 -0
- package/dist/dropdown-menu/dropdown-menu-arrow.js +51 -0
- package/dist/dropdown-menu/dropdown-menu-arrow.js.map +1 -0
- package/dist/dropdown-menu/dropdown-menu-checkbox-item.js +55 -0
- package/dist/dropdown-menu/dropdown-menu-checkbox-item.js.map +1 -0
- package/dist/dropdown-menu/dropdown-menu-content.js +154 -0
- package/dist/dropdown-menu/dropdown-menu-content.js.map +1 -0
- package/dist/dropdown-menu/dropdown-menu-group.js +36 -0
- package/dist/dropdown-menu/dropdown-menu-group.js.map +1 -0
- package/dist/dropdown-menu/dropdown-menu-item-indicator.js +40 -0
- package/dist/dropdown-menu/dropdown-menu-item-indicator.js.map +1 -0
- package/dist/dropdown-menu/dropdown-menu-item.js +51 -0
- package/dist/dropdown-menu/dropdown-menu-item.js.map +1 -0
- package/dist/dropdown-menu/dropdown-menu-label.js +36 -0
- package/dist/dropdown-menu/dropdown-menu-label.js.map +1 -0
- package/dist/dropdown-menu/dropdown-menu-portal.js +42 -0
- package/dist/dropdown-menu/dropdown-menu-portal.js.map +1 -0
- package/dist/dropdown-menu/dropdown-menu-radio-group.js +47 -0
- package/dist/dropdown-menu/dropdown-menu-radio-group.js.map +1 -0
- package/dist/dropdown-menu/dropdown-menu-radio-item.js +52 -0
- package/dist/dropdown-menu/dropdown-menu-radio-item.js.map +1 -0
- package/dist/dropdown-menu/dropdown-menu-root.js +82 -0
- package/dist/dropdown-menu/dropdown-menu-root.js.map +1 -0
- package/dist/dropdown-menu/dropdown-menu-separator.js +36 -0
- package/dist/dropdown-menu/dropdown-menu-separator.js.map +1 -0
- package/dist/dropdown-menu/dropdown-menu-sub-content.js +122 -0
- package/dist/dropdown-menu/dropdown-menu-sub-content.js.map +1 -0
- package/dist/dropdown-menu/dropdown-menu-sub-trigger.js +44 -0
- package/dist/dropdown-menu/dropdown-menu-sub-trigger.js.map +1 -0
- package/dist/dropdown-menu/dropdown-menu-sub.js +47 -0
- package/dist/dropdown-menu/dropdown-menu-sub.js.map +1 -0
- package/dist/dropdown-menu/dropdown-menu-trigger.js +95 -0
- package/dist/dropdown-menu/dropdown-menu-trigger.js.map +1 -0
- package/dist/editable/editable-area.js +53 -0
- package/dist/editable/editable-area.js.map +1 -0
- package/dist/editable/editable-cancel-trigger.js +52 -0
- package/dist/editable/editable-cancel-trigger.js.map +1 -0
- package/dist/editable/editable-edit-trigger.js +52 -0
- package/dist/editable/editable-edit-trigger.js.map +1 -0
- package/dist/editable/editable-input.js +89 -0
- package/dist/editable/editable-input.js.map +1 -0
- package/dist/editable/editable-preview.js +62 -0
- package/dist/editable/editable-preview.js.map +1 -0
- package/dist/editable/editable-root.js +232 -0
- package/dist/editable/editable-root.js.map +1 -0
- package/dist/editable/editable-submit-trigger.js +52 -0
- package/dist/editable/editable-submit-trigger.js.map +1 -0
- package/dist/focus-scope/focus-scope.js +155 -0
- package/dist/focus-scope/focus-scope.js.map +1 -0
- package/dist/focus-scope/stack.js +37 -0
- package/dist/focus-scope/stack.js.map +1 -0
- package/dist/focus-scope/utils.js +79 -0
- package/dist/focus-scope/utils.js.map +1 -0
- package/dist/hover-card/hover-card-arrow.js +51 -0
- package/dist/hover-card/hover-card-arrow.js.map +1 -0
- package/dist/hover-card/hover-card-content-impl.js +193 -0
- package/dist/hover-card/hover-card-content-impl.js.map +1 -0
- package/dist/hover-card/hover-card-content.js +127 -0
- package/dist/hover-card/hover-card-content.js.map +1 -0
- package/dist/hover-card/hover-card-portal.js +42 -0
- package/dist/hover-card/hover-card-portal.js.map +1 -0
- package/dist/hover-card/hover-card-root.js +92 -0
- package/dist/hover-card/hover-card-root.js.map +1 -0
- package/dist/hover-card/hover-card-trigger.js +70 -0
- package/dist/hover-card/hover-card-trigger.js.map +1 -0
- package/dist/hover-card/utils.js +20 -0
- package/dist/hover-card/utils.js.map +1 -0
- package/dist/index.d.ts +63 -40
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +410 -24
- package/dist/index2.js +0 -0
- package/dist/label/label.js +43 -0
- package/dist/label/label.js.map +1 -0
- package/dist/listbox/listbox-content.js +77 -0
- package/dist/listbox/listbox-content.js.map +1 -0
- package/dist/listbox/listbox-filter.js +106 -0
- package/dist/listbox/listbox-filter.js.map +1 -0
- package/dist/listbox/listbox-group-label.js +41 -0
- package/dist/listbox/listbox-group-label.js.map +1 -0
- package/dist/listbox/listbox-group.js +39 -0
- package/dist/listbox/listbox-group.js.map +1 -0
- package/dist/listbox/listbox-item-indicator.js +42 -0
- package/dist/listbox/listbox-item-indicator.js.map +1 -0
- package/dist/listbox/listbox-item.js +117 -0
- package/dist/listbox/listbox-item.js.map +1 -0
- package/dist/listbox/listbox-root.js +357 -0
- package/dist/listbox/listbox-root.js.map +1 -0
- package/dist/{combobox/combobox-virtualizer.cjs → listbox/listbox-virtualizer.js} +49 -92
- package/dist/listbox/listbox-virtualizer.js.map +1 -0
- package/dist/listbox/utils.js +30 -0
- package/dist/listbox/utils.js.map +1 -0
- package/dist/menu/menu-anchor.js +38 -0
- package/dist/menu/menu-anchor.js.map +1 -0
- package/dist/menu/menu-arrow.js +46 -0
- package/dist/menu/menu-arrow.js.map +1 -0
- package/dist/menu/menu-checkbox-item.js +62 -0
- package/dist/menu/menu-checkbox-item.js.map +1 -0
- package/dist/menu/menu-content-impl.js +327 -0
- package/dist/menu/menu-content-impl.js.map +1 -0
- package/dist/menu/menu-content.js +139 -0
- package/dist/menu/menu-content.js.map +1 -0
- package/dist/menu/menu-group.js +34 -0
- package/dist/menu/menu-group.js.map +1 -0
- package/dist/menu/menu-item-impl.js +101 -0
- package/dist/menu/menu-item-impl.js.map +1 -0
- package/dist/menu/menu-item-indicator.js +54 -0
- package/dist/menu/menu-item-indicator.js.map +1 -0
- package/dist/menu/menu-item.js +90 -0
- package/dist/menu/menu-item.js.map +1 -0
- package/dist/menu/menu-label.js +35 -0
- package/dist/menu/menu-label.js.map +1 -0
- package/dist/menu/menu-portal.js +42 -0
- package/dist/menu/menu-portal.js.map +1 -0
- package/dist/menu/menu-radio-group.js +51 -0
- package/dist/menu/menu-radio-group.js.map +1 -0
- package/dist/menu/menu-radio-item.js +62 -0
- package/dist/menu/menu-radio-item.js.map +1 -0
- package/dist/menu/menu-root-content-modal.js +131 -0
- package/dist/menu/menu-root-content-modal.js.map +1 -0
- package/dist/menu/menu-root-content-non-modal.js +125 -0
- package/dist/menu/menu-root-content-non-modal.js.map +1 -0
- package/dist/menu/menu-root.js +71 -0
- package/dist/menu/menu-root.js.map +1 -0
- package/dist/menu/menu-separator.js +37 -0
- package/dist/menu/menu-separator.js.map +1 -0
- package/dist/menu/menu-sub-content.js +163 -0
- package/dist/menu/menu-sub-content.js.map +1 -0
- package/dist/menu/menu-sub-trigger.js +157 -0
- package/dist/menu/menu-sub-trigger.js.map +1 -0
- package/dist/menu/menu-sub.js +66 -0
- package/dist/menu/menu-sub.js.map +1 -0
- package/dist/menu/utils.js +70 -0
- package/dist/menu/utils.js.map +1 -0
- package/dist/navigation-menu/navigation-menu-content-impl.js +170 -0
- package/dist/navigation-menu/navigation-menu-content-impl.js.map +1 -0
- package/dist/navigation-menu/navigation-menu-content.js +95 -0
- package/dist/navigation-menu/navigation-menu-content.js.map +1 -0
- package/dist/navigation-menu/navigation-menu-indicator.js +85 -0
- package/dist/navigation-menu/navigation-menu-indicator.js.map +1 -0
- package/dist/navigation-menu/navigation-menu-item.js +125 -0
- package/dist/navigation-menu/navigation-menu-item.js.map +1 -0
- package/dist/navigation-menu/navigation-menu-link.js +75 -0
- package/dist/navigation-menu/navigation-menu-link.js.map +1 -0
- package/dist/navigation-menu/navigation-menu-list.js +57 -0
- package/dist/navigation-menu/navigation-menu-list.js.map +1 -0
- package/dist/navigation-menu/navigation-menu-root.js +181 -0
- package/dist/navigation-menu/navigation-menu-root.js.map +1 -0
- package/dist/navigation-menu/navigation-menu-sub.js +114 -0
- package/dist/navigation-menu/navigation-menu-sub.js.map +1 -0
- package/dist/navigation-menu/navigation-menu-trigger.js +150 -0
- package/dist/navigation-menu/navigation-menu-trigger.js.map +1 -0
- package/dist/navigation-menu/navigation-menu-viewport.js +159 -0
- package/dist/navigation-menu/navigation-menu-viewport.js.map +1 -0
- package/dist/navigation-menu/utils.js +61 -0
- package/dist/navigation-menu/utils.js.map +1 -0
- package/dist/number-field/number-field-decrement.js +69 -0
- package/dist/number-field/number-field-decrement.js.map +1 -0
- package/dist/number-field/number-field-increment.js +69 -0
- package/dist/number-field/number-field-increment.js.map +1 -0
- package/dist/number-field/number-field-input.js +117 -0
- package/dist/number-field/number-field-input.js.map +1 -0
- package/dist/number-field/number-field-root.js +250 -0
- package/dist/number-field/number-field-root.js.map +1 -0
- package/dist/number-field/utils.js +73 -0
- package/dist/number-field/utils.js.map +1 -0
- package/dist/pagination/pagination-ellipsis.js +36 -0
- package/dist/pagination/pagination-ellipsis.js.map +1 -0
- package/dist/pagination/pagination-first.js +45 -0
- package/dist/pagination/pagination-first.js.map +1 -0
- package/dist/pagination/pagination-last.js +45 -0
- package/dist/pagination/pagination-last.js.map +1 -0
- package/dist/pagination/pagination-list-item.js +59 -0
- package/dist/pagination/pagination-list-item.js.map +1 -0
- package/dist/pagination/pagination-list.js +42 -0
- package/dist/pagination/pagination-list.js.map +1 -0
- package/dist/pagination/pagination-next.js +45 -0
- package/dist/pagination/pagination-next.js.map +1 -0
- package/dist/pagination/pagination-prev.js +45 -0
- package/dist/pagination/pagination-prev.js.map +1 -0
- package/dist/pagination/pagination-root.js +96 -0
- package/dist/pagination/pagination-root.js.map +1 -0
- package/dist/pagination/utils.js +74 -0
- package/dist/pagination/utils.js.map +1 -0
- package/dist/pin-input/pin-input-input.js +217 -0
- package/dist/pin-input/pin-input-input.js.map +1 -0
- package/dist/pin-input/pin-input-root.js +146 -0
- package/dist/pin-input/pin-input-root.js.map +1 -0
- package/dist/popover/popover-anchor.js +48 -0
- package/dist/popover/popover-anchor.js.map +1 -0
- package/dist/popover/popover-arrow.js +51 -0
- package/dist/popover/popover-arrow.js.map +1 -0
- package/dist/popover/popover-close.js +48 -0
- package/dist/popover/popover-close.js.map +1 -0
- package/dist/popover/popover-content-impl.js +167 -0
- package/dist/popover/popover-content-impl.js.map +1 -0
- package/dist/popover/popover-content-modal.js +146 -0
- package/dist/popover/popover-content-modal.js.map +1 -0
- package/dist/popover/popover-content-non-modal.js +148 -0
- package/dist/popover/popover-content-non-modal.js.map +1 -0
- package/dist/popover/popover-content.js +139 -0
- package/dist/popover/popover-content.js.map +1 -0
- package/dist/popover/popover-portal.js +42 -0
- package/dist/popover/popover-portal.js.map +1 -0
- package/dist/popover/popover-root.js +70 -0
- package/dist/popover/popover-root.js.map +1 -0
- package/dist/popover/popover-trigger.js +68 -0
- package/dist/popover/popover-trigger.js.map +1 -0
- package/dist/popper/popper-anchor.js +49 -0
- package/dist/popper/popper-anchor.js.map +1 -0
- package/dist/popper/popper-arrow.js +96 -0
- package/dist/popper/popper-arrow.js.map +1 -0
- package/dist/popper/popper-content.js +267 -0
- package/dist/popper/popper-content.js.map +1 -0
- package/dist/popper/popper-root.js +29 -0
- package/dist/popper/popper-root.js.map +1 -0
- package/dist/popper/utils.js +52 -0
- package/dist/popper/utils.js.map +1 -0
- package/dist/presence/presence.js +53 -0
- package/dist/presence/presence.js.map +1 -0
- package/dist/presence/use-presence.js +127 -0
- package/dist/presence/use-presence.js.map +1 -0
- package/dist/primitive/primitive.js +33 -0
- package/dist/primitive/primitive.js.map +1 -0
- package/dist/primitive/slot-primitive.js +37 -0
- package/dist/primitive/slot-primitive.js.map +1 -0
- package/dist/primitive/use-primitive-element.js +16 -0
- package/dist/primitive/use-primitive-element.js.map +1 -0
- package/dist/progress/progress-indicator.js +46 -0
- package/dist/progress/progress-indicator.js.map +1 -0
- package/dist/progress/progress-root.js +123 -0
- package/dist/progress/progress-root.js.map +1 -0
- package/dist/radio-group/radio-group-indicator.js +57 -0
- package/dist/radio-group/radio-group-indicator.js.map +1 -0
- package/dist/radio-group/radio-group-item.js +132 -0
- package/dist/radio-group/radio-group-item.js.map +1 -0
- package/dist/radio-group/radio-group-root.js +138 -0
- package/dist/radio-group/radio-group-root.js.map +1 -0
- package/dist/radio-group/radio.js +126 -0
- package/dist/radio-group/radio.js.map +1 -0
- package/dist/radio-group/utils.js +19 -0
- package/dist/radio-group/utils.js.map +1 -0
- package/dist/range-calendar/range-calendar-cell-trigger.js +262 -0
- package/dist/range-calendar/range-calendar-cell-trigger.js.map +1 -0
- package/dist/range-calendar/range-calendar-cell.js +53 -0
- package/dist/range-calendar/range-calendar-cell.js.map +1 -0
- package/dist/range-calendar/range-calendar-grid-body.js +35 -0
- package/dist/range-calendar/range-calendar-grid-body.js.map +1 -0
- package/dist/range-calendar/range-calendar-grid-head.js +35 -0
- package/dist/range-calendar/range-calendar-grid-head.js.map +1 -0
- package/dist/range-calendar/range-calendar-grid-row.js +35 -0
- package/dist/range-calendar/range-calendar-grid-row.js.map +1 -0
- package/dist/range-calendar/range-calendar-grid.js +51 -0
- package/dist/range-calendar/range-calendar-grid.js.map +1 -0
- package/dist/range-calendar/range-calendar-head-cell.js +35 -0
- package/dist/range-calendar/range-calendar-head-cell.js.map +1 -0
- package/dist/range-calendar/range-calendar-header.js +35 -0
- package/dist/range-calendar/range-calendar-header.js.map +1 -0
- package/dist/range-calendar/range-calendar-heading.js +37 -0
- package/dist/range-calendar/range-calendar-heading.js.map +1 -0
- package/dist/range-calendar/range-calendar-next.js +54 -0
- package/dist/range-calendar/range-calendar-next.js.map +1 -0
- package/dist/range-calendar/range-calendar-prev.js +54 -0
- package/dist/range-calendar/range-calendar-prev.js.map +1 -0
- package/dist/range-calendar/range-calendar-root.js +375 -0
- package/dist/range-calendar/range-calendar-root.js.map +1 -0
- package/dist/range-calendar/use-range-calendar.js +125 -0
- package/dist/range-calendar/use-range-calendar.js.map +1 -0
- package/dist/roving-focus/roving-focus-group.js +145 -0
- package/dist/roving-focus/roving-focus-group.js.map +1 -0
- package/dist/roving-focus/roving-focus-item.js +111 -0
- package/dist/roving-focus/roving-focus-item.js.map +1 -0
- package/dist/roving-focus/utils.js +49 -0
- package/dist/roving-focus/utils.js.map +1 -0
- package/dist/scroll-area/scroll-area-corner-impl.js +53 -0
- package/dist/scroll-area/scroll-area-corner-impl.js.map +1 -0
- package/dist/scroll-area/scroll-area-corner.js +40 -0
- package/dist/scroll-area/scroll-area-corner.js.map +1 -0
- package/dist/scroll-area/scroll-area-root.js +128 -0
- package/dist/scroll-area/scroll-area-root.js.map +1 -0
- package/dist/scroll-area/scroll-area-scrollbar-auto.js +52 -0
- package/dist/scroll-area/scroll-area-scrollbar-auto.js.map +1 -0
- package/dist/scroll-area/scroll-area-scrollbar-hover.js +65 -0
- package/dist/scroll-area/scroll-area-scrollbar-hover.js.map +1 -0
- package/dist/scroll-area/scroll-area-scrollbar-impl.js +122 -0
- package/dist/scroll-area/scroll-area-scrollbar-impl.js.map +1 -0
- package/dist/scroll-area/scroll-area-scrollbar-scroll.js +88 -0
- package/dist/scroll-area/scroll-area-scrollbar-scroll.js.map +1 -0
- package/dist/scroll-area/scroll-area-scrollbar-visible.js +107 -0
- package/dist/scroll-area/scroll-area-scrollbar-visible.js.map +1 -0
- package/dist/scroll-area/scroll-area-scrollbar-x.js +45 -0
- package/dist/scroll-area/scroll-area-scrollbar-x.js.map +1 -0
- package/dist/scroll-area/scroll-area-scrollbar-y.js +46 -0
- package/dist/scroll-area/scroll-area-scrollbar-y.js.map +1 -0
- package/dist/scroll-area/scroll-area-scrollbar.js +92 -0
- package/dist/scroll-area/scroll-area-scrollbar.js.map +1 -0
- package/dist/scroll-area/scroll-area-thumb.js +98 -0
- package/dist/scroll-area/scroll-area-thumb.js.map +1 -0
- package/dist/scroll-area/scroll-area-viewport.js +76 -0
- package/dist/scroll-area/scroll-area-viewport.js.map +1 -0
- package/dist/scroll-area/utils.js +75 -0
- package/dist/scroll-area/utils.js.map +1 -0
- package/dist/select/bubble-select.js +86 -0
- package/dist/select/bubble-select.js.map +1 -0
- package/dist/select/select-arrow.js +53 -0
- package/dist/select/select-arrow.js.map +1 -0
- package/dist/select/select-content-impl.js +306 -0
- package/dist/select/select-content-impl.js.map +1 -0
- package/dist/select/select-content.js +161 -0
- package/dist/select/select-content.js.map +1 -0
- package/dist/select/select-group.js +39 -0
- package/dist/select/select-group.js.map +1 -0
- package/dist/select/select-icon.js +38 -0
- package/dist/select/select-icon.js.map +1 -0
- package/dist/select/select-item-aligned-position.js +170 -0
- package/dist/select/select-item-aligned-position.js.map +1 -0
- package/dist/select/select-item-indicator.js +40 -0
- package/dist/select/select-item-indicator.js.map +1 -0
- package/dist/select/select-item-text.js +66 -0
- package/dist/select/select-item-text.js.map +1 -0
- package/dist/select/select-item.js +157 -0
- package/dist/select/select-item.js.map +1 -0
- package/dist/select/select-label.js +41 -0
- package/dist/select/select-label.js.map +1 -0
- package/dist/select/select-popper-position.js +114 -0
- package/dist/select/select-popper-position.js.map +1 -0
- package/dist/select/select-portal.js +42 -0
- package/dist/select/select-portal.js.map +1 -0
- package/dist/select/select-provider.js +29 -0
- package/dist/select/select-provider.js.map +1 -0
- package/dist/select/select-root.js +185 -0
- package/dist/select/select-root.js.map +1 -0
- package/dist/select/select-scroll-button-impl.js +62 -0
- package/dist/select/select-scroll-button-impl.js.map +1 -0
- package/dist/select/select-scroll-down-button.js +62 -0
- package/dist/select/select-scroll-down-button.js.map +1 -0
- package/dist/select/select-scroll-up-button.js +61 -0
- package/dist/select/select-scroll-up-button.js.map +1 -0
- package/dist/select/select-separator.js +34 -0
- package/dist/select/select-separator.js.map +1 -0
- package/dist/select/select-trigger.js +135 -0
- package/dist/select/select-trigger.js.map +1 -0
- package/dist/select/select-value.js +74 -0
- package/dist/select/select-value.js.map +1 -0
- package/dist/select/select-viewport.js +97 -0
- package/dist/select/select-viewport.js.map +1 -0
- package/dist/select/utils.js +30 -0
- package/dist/select/utils.js.map +1 -0
- package/dist/separator/separator.js +43 -0
- package/dist/separator/separator.js.map +1 -0
- package/dist/shared/arrays.js +50 -0
- package/dist/shared/arrays.js.map +1 -0
- package/dist/shared/create-context.js +36 -0
- package/dist/shared/create-context.js.map +1 -0
- package/dist/shared/get-active-element.js +11 -0
- package/dist/shared/get-active-element.js.map +1 -0
- package/dist/shared/handle-and-dispatch-custom-event.js +15 -0
- package/dist/shared/handle-and-dispatch-custom-event.js.map +1 -0
- package/dist/shared/is-value-equal-or-exist.js +21 -0
- package/dist/shared/is-value-equal-or-exist.js.map +1 -0
- package/dist/shared/numbers.js +65 -0
- package/dist/shared/numbers.js.map +1 -0
- package/dist/shared/render-slot-fragments.js +14 -0
- package/dist/shared/render-slot-fragments.js.map +1 -0
- package/dist/shared/use-arrow-navigation.js +81 -0
- package/dist/shared/use-arrow-navigation.js.map +1 -0
- package/dist/shared/use-body-scroll-lock.js +99 -0
- package/dist/shared/use-body-scroll-lock.js.map +1 -0
- package/dist/shared/use-date-formatter.js +135 -0
- package/dist/shared/use-date-formatter.js.map +1 -0
- package/dist/shared/use-direction.js +12 -0
- package/dist/shared/use-direction.js.map +1 -0
- package/dist/shared/use-emit-as-props.js +26 -0
- package/dist/shared/use-emit-as-props.js.map +1 -0
- package/dist/shared/use-filter.js +58 -0
- package/dist/shared/use-filter.js.map +1 -0
- package/dist/shared/use-focus-guards.js +40 -0
- package/dist/shared/use-focus-guards.js.map +1 -0
- package/dist/shared/use-form-control.js +11 -0
- package/dist/shared/use-form-control.js.map +1 -0
- package/dist/shared/use-forward-expose.js +48 -0
- package/dist/shared/use-forward-expose.js.map +1 -0
- package/dist/shared/use-forward-props-emits.js +30 -0
- package/dist/shared/use-forward-props-emits.js.map +1 -0
- package/dist/shared/use-forward-props.js +38 -0
- package/dist/shared/use-forward-props.js.map +1 -0
- package/dist/shared/use-grace-area.js +206 -0
- package/dist/shared/use-grace-area.js.map +1 -0
- package/dist/shared/use-hide-others.js +26 -0
- package/dist/shared/use-hide-others.js.map +1 -0
- package/dist/shared/use-id.js +24 -0
- package/dist/shared/use-id.js.map +1 -0
- package/dist/shared/use-is-using-keyboard.js +27 -0
- package/dist/shared/use-is-using-keyboard.js.map +1 -0
- package/dist/shared/use-locale.js +12 -0
- package/dist/shared/use-locale.js.map +1 -0
- package/dist/shared/use-nonce.js +12 -0
- package/dist/shared/use-nonce.js.map +1 -0
- package/dist/shared/use-selection-behavior.js +65 -0
- package/dist/shared/use-selection-behavior.js.map +1 -0
- package/dist/shared/use-single-or-multiple-value.js +63 -0
- package/dist/shared/use-single-or-multiple-value.js.map +1 -0
- package/dist/shared/use-size.js +57 -0
- package/dist/shared/use-size.js.map +1 -0
- package/dist/shared/use-state-machine.js +32 -0
- package/dist/shared/use-state-machine.js.map +1 -0
- package/dist/shared/use-typeahead.js +68 -0
- package/dist/shared/use-typeahead.js.map +1 -0
- package/dist/slider/slider-horizontal.js +113 -0
- package/dist/slider/slider-horizontal.js.map +1 -0
- package/dist/slider/slider-impl.js +79 -0
- package/dist/slider/slider-impl.js.map +1 -0
- package/dist/slider/slider-range.js +58 -0
- package/dist/slider/slider-range.js.map +1 -0
- package/dist/slider/slider-root.js +220 -0
- package/dist/slider/slider-root.js.map +1 -0
- package/dist/slider/slider-thumb-impl.js +103 -0
- package/dist/slider/slider-thumb-impl.js.map +1 -0
- package/dist/slider/slider-thumb.js +40 -0
- package/dist/slider/slider-thumb.js.map +1 -0
- package/dist/slider/slider-track.js +48 -0
- package/dist/slider/slider-track.js.map +1 -0
- package/dist/slider/slider-vertical.js +108 -0
- package/dist/slider/slider-vertical.js.map +1 -0
- package/dist/slider/utils.js +132 -0
- package/dist/slider/utils.js.map +1 -0
- package/dist/splitter/splitter-group.js +411 -0
- package/dist/splitter/splitter-group.js.map +1 -0
- package/dist/splitter/splitter-panel.js +152 -0
- package/dist/splitter/splitter-panel.js.map +1 -0
- package/dist/splitter/splitter-resize-handle.js +154 -0
- package/dist/splitter/splitter-resize-handle.js.map +1 -0
- package/dist/stepper/stepper-description.js +39 -0
- package/dist/stepper/stepper-description.js.map +1 -0
- package/dist/stepper/stepper-indicator.js +38 -0
- package/dist/stepper/stepper-indicator.js.map +1 -0
- package/dist/stepper/stepper-item.js +94 -0
- package/dist/stepper/stepper-item.js.map +1 -0
- package/dist/stepper/stepper-root.js +172 -0
- package/dist/stepper/stepper-root.js.map +1 -0
- package/dist/stepper/stepper-separator.js +52 -0
- package/dist/stepper/stepper-separator.js.map +1 -0
- package/dist/stepper/stepper-title.js +39 -0
- package/dist/stepper/stepper-title.js.map +1 -0
- package/dist/stepper/stepper-trigger.js +118 -0
- package/dist/stepper/stepper-trigger.js.map +1 -0
- package/dist/switch/switch-root.js +133 -0
- package/dist/switch/switch-root.js.map +1 -0
- package/dist/switch/switch-thumb.js +48 -0
- package/dist/switch/switch-thumb.js.map +1 -0
- package/dist/tabs/tabs-content.js +84 -0
- package/dist/tabs/tabs-content.js.map +1 -0
- package/dist/tabs/tabs-indicator.js +64 -0
- package/dist/tabs/tabs-indicator.js.map +1 -0
- package/dist/tabs/tabs-list.js +68 -0
- package/dist/tabs/tabs-list.js.map +1 -0
- package/dist/tabs/tabs-root.js +99 -0
- package/dist/tabs/tabs-root.js.map +1 -0
- package/dist/tabs/tabs-trigger.js +93 -0
- package/dist/tabs/tabs-trigger.js.map +1 -0
- package/dist/tabs/utils.js +11 -0
- package/dist/tabs/utils.js.map +1 -0
- package/dist/tags-input/tags-input-clear.js +47 -0
- package/dist/tags-input/tags-input-clear.js.map +1 -0
- package/dist/tags-input/tags-input-input.js +147 -0
- package/dist/tags-input/tags-input-input.js.map +1 -0
- package/dist/tags-input/tags-input-item-delete.js +61 -0
- package/dist/tags-input/tags-input-item-delete.js.map +1 -0
- package/dist/tags-input/tags-input-item-text.js +41 -0
- package/dist/tags-input/tags-input-item-text.js.map +1 -0
- package/dist/tags-input/tags-input-item.js +78 -0
- package/dist/tags-input/tags-input-item.js.map +1 -0
- package/dist/tags-input/tags-input-root.js +260 -0
- package/dist/tags-input/tags-input-root.js.map +1 -0
- package/dist/teleport/teleport.js +49 -0
- package/dist/teleport/teleport.js.map +1 -0
- package/dist/time-field/time-field-input.js +90 -0
- package/dist/time-field/time-field-input.js.map +1 -0
- package/dist/time-field/time-field-root.js +301 -0
- package/dist/time-field/time-field-root.js.map +1 -0
- package/dist/toast/focus-proxy.js +36 -0
- package/dist/toast/focus-proxy.js.map +1 -0
- package/dist/toast/toast-action.js +53 -0
- package/dist/toast/toast-action.js.map +1 -0
- package/dist/toast/toast-announce-exclude.js +46 -0
- package/dist/toast/toast-announce-exclude.js.map +1 -0
- package/dist/toast/toast-announce.js +32 -0
- package/dist/toast/toast-announce.js.map +1 -0
- package/dist/toast/toast-close.js +47 -0
- package/dist/toast/toast-close.js.map +1 -0
- package/dist/toast/toast-description.js +36 -0
- package/dist/toast/toast-description.js.map +1 -0
- package/dist/toast/toast-portal.js +42 -0
- package/dist/toast/toast-portal.js.map +1 -0
- package/dist/toast/toast-provider.js +75 -0
- package/dist/toast/toast-provider.js.map +1 -0
- package/dist/toast/toast-root-impl.js +231 -0
- package/dist/toast/toast-root-impl.js.map +1 -0
- package/dist/toast/toast-root.js +144 -0
- package/dist/toast/toast-root.js.map +1 -0
- package/dist/toast/toast-title.js +36 -0
- package/dist/toast/toast-title.js.map +1 -0
- package/dist/toast/toast-viewport.js +180 -0
- package/dist/toast/toast-viewport.js.map +1 -0
- package/dist/toast/utils.js +47 -0
- package/dist/toast/utils.js.map +1 -0
- package/dist/toggle/toggle.js +110 -0
- package/dist/toggle/toggle.js.map +1 -0
- package/dist/toggle-group/toggle-group-item.js +64 -0
- package/dist/toggle-group/toggle-group-item.js.map +1 -0
- package/dist/toggle-group/toggle-group-root.js +128 -0
- package/dist/toggle-group/toggle-group-root.js.map +1 -0
- package/dist/tooltip/tooltip-arrow.js +47 -0
- package/dist/tooltip/tooltip-arrow.js.map +1 -0
- package/dist/tooltip/tooltip-content-hoverable.js +103 -0
- package/dist/tooltip/tooltip-content-hoverable.js.map +1 -0
- package/dist/tooltip/tooltip-content-impl.js +163 -0
- package/dist/tooltip/tooltip-content-impl.js.map +1 -0
- package/dist/tooltip/tooltip-content.js +104 -0
- package/dist/tooltip/tooltip-content.js.map +1 -0
- package/dist/tooltip/tooltip-portal.js +42 -0
- package/dist/tooltip/tooltip-portal.js.map +1 -0
- package/dist/tooltip/tooltip-provider.js +78 -0
- package/dist/tooltip/tooltip-provider.js.map +1 -0
- package/dist/tooltip/tooltip-root.js +132 -0
- package/dist/tooltip/tooltip-root.js.map +1 -0
- package/dist/tooltip/tooltip-trigger.js +114 -0
- package/dist/tooltip/tooltip-trigger.js.map +1 -0
- package/dist/tooltip/utils.js +6 -0
- package/dist/tooltip/utils.js.map +1 -0
- package/dist/tree/tree-item.js +183 -0
- package/dist/tree/tree-item.js.map +1 -0
- package/dist/tree/tree-root.js +259 -0
- package/dist/tree/tree-root.js.map +1 -0
- package/dist/tree/tree-virtualizer.js +177 -0
- package/dist/tree/tree-virtualizer.js.map +1 -0
- package/dist/tree/utils.js +12 -0
- package/dist/tree/utils.js.map +1 -0
- package/dist/utils/assert.js +11 -0
- package/dist/utils/assert.js.map +1 -0
- package/dist/utils/calculate.js +113 -0
- package/dist/utils/calculate.js.map +1 -0
- package/dist/utils/call-panel-callbacks.js +25 -0
- package/dist/utils/call-panel-callbacks.js.map +1 -0
- package/dist/utils/compare.js +17 -0
- package/dist/utils/compare.js.map +1 -0
- package/dist/utils/constants.js +6 -0
- package/dist/utils/constants.js.map +1 -0
- package/dist/utils/debounce.js +15 -0
- package/dist/utils/debounce.js.map +1 -0
- package/dist/utils/dom.js +38 -0
- package/dist/utils/dom.js.map +1 -0
- package/dist/utils/events.js +36 -0
- package/dist/utils/events.js.map +1 -0
- package/dist/utils/layout.js +137 -0
- package/dist/utils/layout.js.map +1 -0
- package/dist/utils/pivot.js +11 -0
- package/dist/utils/pivot.js.map +1 -0
- package/dist/utils/rects.js +9 -0
- package/dist/utils/rects.js.map +1 -0
- package/dist/utils/registry.js +183 -0
- package/dist/utils/registry.js.map +1 -0
- package/dist/utils/resize-panel.js +22 -0
- package/dist/utils/resize-panel.js.map +1 -0
- package/dist/utils/stacking-order.js +93 -0
- package/dist/utils/stacking-order.js.map +1 -0
- package/dist/utils/storage.js +61 -0
- package/dist/utils/storage.js.map +1 -0
- package/dist/utils/style.js +62 -0
- package/dist/utils/style.js.map +1 -0
- package/dist/utils/validation.js +53 -0
- package/dist/utils/validation.js.map +1 -0
- package/dist/viewport/viewport.js +62 -0
- package/dist/viewport/viewport.js.map +1 -0
- package/dist/visually-hidden/visually-hidden-input-bubble.js +73 -0
- package/dist/visually-hidden/visually-hidden-input-bubble.js.map +1 -0
- package/dist/visually-hidden/visually-hidden-input.js +87 -0
- package/dist/visually-hidden/visually-hidden-input.js.map +1 -0
- package/dist/visually-hidden/visually-hidden.js +64 -0
- package/dist/visually-hidden/visually-hidden.js.map +1 -0
- package/package.json +18 -14
- package/src/context-menu/context-menu-root.vue +12 -2
- package/src/context-menu/context-menu-trigger.vue +4 -1
- package/src/date-picker/date-picker-root.vue +12 -1
- package/src/date-range-picker/date-range-picker-root.vue +14 -1
- package/src/range-calendar/range-calendar-root.vue +30 -24
- package/src/select/select-root.vue +20 -3
- package/dist/accordion/accordion-content.cjs +0 -1137
- package/dist/accordion/accordion-content.cjs.map +0 -1
- package/dist/accordion/accordion-header.cjs +0 -56
- package/dist/accordion/accordion-header.cjs.map +0 -1
- package/dist/accordion/accordion-trigger.cjs +0 -129
- package/dist/accordion/accordion-trigger.cjs.map +0 -1
- package/dist/avatar/avatar-fallback.cjs +0 -110
- package/dist/avatar/avatar-fallback.cjs.map +0 -1
- package/dist/avatar/avatar-image.cjs +0 -125
- package/dist/avatar/avatar-image.cjs.map +0 -1
- package/dist/calendar/calendar-cell-trigger.cjs +0 -219
- package/dist/calendar/calendar-cell-trigger.cjs.map +0 -1
- package/dist/calendar/calendar-cell.cjs +0 -1343
- package/dist/calendar/calendar-cell.cjs.map +0 -1
- package/dist/calendar/calendar-grid-body.cjs +0 -41
- package/dist/calendar/calendar-grid-body.cjs.map +0 -1
- package/dist/calendar/calendar-grid-head.cjs +0 -41
- package/dist/calendar/calendar-grid-head.cjs.map +0 -1
- package/dist/calendar/calendar-grid-row.cjs +0 -41
- package/dist/calendar/calendar-grid-row.cjs.map +0 -1
- package/dist/calendar/calendar-grid.cjs +0 -57
- package/dist/calendar/calendar-grid.cjs.map +0 -1
- package/dist/calendar/calendar-head-cell.cjs +0 -41
- package/dist/calendar/calendar-head-cell.cjs.map +0 -1
- package/dist/calendar/calendar-header.cjs +0 -41
- package/dist/calendar/calendar-header.cjs.map +0 -1
- package/dist/calendar/calendar-heading.cjs +0 -43
- package/dist/calendar/calendar-heading.cjs.map +0 -1
- package/dist/calendar/calendar-next.cjs +0 -64
- package/dist/calendar/calendar-next.cjs.map +0 -1
- package/dist/calendar/calendar-prev.cjs +0 -64
- package/dist/calendar/calendar-prev.cjs.map +0 -1
- package/dist/checkbox/checkbox-group-root.cjs +0 -660
- package/dist/checkbox/checkbox-group-root.cjs.map +0 -1
- package/dist/checkbox/checkbox-indicator.cjs +0 -334
- package/dist/checkbox/checkbox-indicator.cjs.map +0 -1
- package/dist/combobox/combobox-anchor.cjs +0 -138
- package/dist/combobox/combobox-anchor.cjs.map +0 -1
- package/dist/combobox/combobox-arrow.cjs +0 -2171
- package/dist/combobox/combobox-arrow.cjs.map +0 -1
- package/dist/combobox/combobox-cancel.cjs +0 -54
- package/dist/combobox/combobox-cancel.cjs.map +0 -1
- package/dist/combobox/combobox-content.cjs +0 -200
- package/dist/combobox/combobox-content.cjs.map +0 -1
- package/dist/combobox/combobox-empty.cjs +0 -43
- package/dist/combobox/combobox-empty.cjs.map +0 -1
- package/dist/combobox/combobox-group.cjs +0 -116
- package/dist/combobox/combobox-group.cjs.map +0 -1
- package/dist/combobox/combobox-input.cjs +0 -243
- package/dist/combobox/combobox-input.cjs.map +0 -1
- package/dist/combobox/combobox-item-indicator.cjs +0 -83
- package/dist/combobox/combobox-item-indicator.cjs.map +0 -1
- package/dist/combobox/combobox-item.cjs +0 -212
- package/dist/combobox/combobox-item.cjs.map +0 -1
- package/dist/combobox/combobox-label.cjs +0 -52
- package/dist/combobox/combobox-label.cjs.map +0 -1
- package/dist/combobox/combobox-portal.cjs +0 -98
- package/dist/combobox/combobox-portal.cjs.map +0 -1
- package/dist/combobox/combobox-separator.cjs +0 -41
- package/dist/combobox/combobox-separator.cjs.map +0 -1
- package/dist/combobox/combobox-trigger.cjs +0 -73
- package/dist/combobox/combobox-trigger.cjs.map +0 -1
- package/dist/combobox/combobox-viewport.cjs +0 -81
- package/dist/combobox/combobox-viewport.cjs.map +0 -1
- package/dist/combobox/combobox-virtualizer.cjs.map +0 -1
- package/dist/component/base-separator.cjs +0 -67
- package/dist/component/base-separator.cjs.map +0 -1
- package/dist/composables/use-window-splitter-behavior.cjs +0 -135
- package/dist/composables/use-window-splitter-behavior.cjs.map +0 -1
- package/dist/composables/use-window-splitter-panel-group-behavior.cjs +0 -487
- package/dist/composables/use-window-splitter-panel-group-behavior.cjs.map +0 -1
- package/dist/constant/components.cjs +0 -368
- package/dist/constant/components.cjs.map +0 -1
- package/dist/constant.cjs +0 -5
- package/dist/constant.d.cts +0 -59
- package/dist/constant.d.cts.map +0 -1
- package/dist/context-menu/context-menu-arrow.cjs +0 -104
- package/dist/context-menu/context-menu-arrow.cjs.map +0 -1
- package/dist/context-menu/context-menu-checkbox-item.cjs +0 -1210
- package/dist/context-menu/context-menu-checkbox-item.cjs.map +0 -1
- package/dist/context-menu/context-menu-content.cjs +0 -586
- package/dist/context-menu/context-menu-content.cjs.map +0 -1
- package/dist/context-menu/context-menu-group.cjs +0 -76
- package/dist/context-menu/context-menu-group.cjs.map +0 -1
- package/dist/context-menu/context-menu-item-indicator.cjs +0 -46
- package/dist/context-menu/context-menu-item-indicator.cjs.map +0 -1
- package/dist/context-menu/context-menu-item.cjs +0 -57
- package/dist/context-menu/context-menu-item.cjs.map +0 -1
- package/dist/context-menu/context-menu-label.cjs +0 -77
- package/dist/context-menu/context-menu-label.cjs.map +0 -1
- package/dist/context-menu/context-menu-portal.cjs +0 -91
- package/dist/context-menu/context-menu-portal.cjs.map +0 -1
- package/dist/context-menu/context-menu-radio-group.cjs +0 -110
- package/dist/context-menu/context-menu-radio-group.cjs.map +0 -1
- package/dist/context-menu/context-menu-radio-item.cjs +0 -122
- package/dist/context-menu/context-menu-radio-item.cjs.map +0 -1
- package/dist/context-menu/context-menu-separator.cjs +0 -79
- package/dist/context-menu/context-menu-separator.cjs.map +0 -1
- package/dist/context-menu/context-menu-sub-content.cjs +0 -286
- package/dist/context-menu/context-menu-sub-content.cjs.map +0 -1
- package/dist/context-menu/context-menu-sub-trigger.cjs +0 -243
- package/dist/context-menu/context-menu-sub-trigger.cjs.map +0 -1
- package/dist/context-menu/context-menu-sub.cjs +0 -124
- package/dist/context-menu/context-menu-sub.cjs.map +0 -1
- package/dist/context-menu/context-menu-trigger.cjs +0 -134
- package/dist/context-menu/context-menu-trigger.cjs.map +0 -1
- package/dist/date-field/date-field-input.cjs +0 -1821
- package/dist/date-field/date-field-input.cjs.map +0 -1
- package/dist/date-picker/date-picker-anchor.cjs +0 -168
- package/dist/date-picker/date-picker-anchor.cjs.map +0 -1
- package/dist/date-picker/date-picker-arrow.cjs +0 -104
- package/dist/date-picker/date-picker-arrow.cjs.map +0 -1
- package/dist/date-picker/date-picker-calendar.cjs +0 -22288
- package/dist/date-picker/date-picker-calendar.cjs.map +0 -1
- package/dist/date.cjs +0 -27
- package/dist/date.d.cts +0 -2
- package/dist/index.cjs +0 -401
- package/dist/index.d.cts +0 -8381
- package/dist/index.d.cts.map +0 -1
- package/dist/index2.d.cts +0 -252
- package/dist/index2.d.cts.map +0 -1
- package/dist/rolldown-runtime.cjs +0 -30
- /package/dist/{constant/index.cjs → date/index.js} +0 -0
|
@@ -1,1075 +1,7 @@
|
|
|
1
|
-
import { APrimitive
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { chunk } from "@vinicunca/perkakas";
|
|
5
|
-
import defu$1 from "defu";
|
|
6
|
-
import { CalendarDate, CalendarDateTime, DateFormatter, Time, ZonedDateTime, createCalendar, endOfMonth, endOfYear, getDayOfWeek, getLocalTimeZone, isEqualDay, isEqualMonth, isSameDay, parseDate, parseDateTime, parseZonedDateTime, startOfMonth, startOfYear, toCalendar, today } from "@internationalized/date";
|
|
1
|
+
import { APrimitive } from "../primitive/primitive.js";
|
|
2
|
+
import { injectACalendarRootContext } from "./calendar-root.js";
|
|
3
|
+
import { createBlock, defineComponent, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
7
4
|
|
|
8
|
-
//#region src/date/comparators.date.ts
|
|
9
|
-
/**
|
|
10
|
-
* Given a date string and a reference `DateValue` object, parse the
|
|
11
|
-
* string to the same type as the reference object.
|
|
12
|
-
*
|
|
13
|
-
* Useful for parsing strings from data attributes, which are always
|
|
14
|
-
* strings, to the same type being used by the date component.
|
|
15
|
-
*/
|
|
16
|
-
function parseStringToDateValue(dateStr, referenceVal) {
|
|
17
|
-
let dateValue;
|
|
18
|
-
if (isZonedDateTime(referenceVal)) dateValue = parseZonedDateTime(dateStr);
|
|
19
|
-
else if (isCalendarDateTime(referenceVal)) dateValue = parseDateTime(dateStr);
|
|
20
|
-
else dateValue = parseDate(dateStr);
|
|
21
|
-
return dateValue.calendar !== referenceVal.calendar ? toCalendar(dateValue, referenceVal.calendar) : dateValue;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Given a `DateValue` object, convert it to a native `Date` object.
|
|
25
|
-
* If a timezone is provided, the date will be converted to that timezone.
|
|
26
|
-
* If no timezone is provided, the date will be converted to the local timezone.
|
|
27
|
-
*/
|
|
28
|
-
function toDate(dateValue, tz = getLocalTimeZone()) {
|
|
29
|
-
if (isZonedDateTime(dateValue)) return dateValue.toDate();
|
|
30
|
-
else return dateValue.toDate(tz);
|
|
31
|
-
}
|
|
32
|
-
function isCalendarDateTime(dateValue) {
|
|
33
|
-
return dateValue instanceof CalendarDateTime;
|
|
34
|
-
}
|
|
35
|
-
function isZonedDateTime(dateValue) {
|
|
36
|
-
return dateValue instanceof ZonedDateTime;
|
|
37
|
-
}
|
|
38
|
-
function hasTime(dateValue) {
|
|
39
|
-
return isCalendarDateTime(dateValue) || isZonedDateTime(dateValue);
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Given a date, return the number of days in the month.
|
|
43
|
-
*/
|
|
44
|
-
function getDaysInMonth(date) {
|
|
45
|
-
if (date instanceof Date) {
|
|
46
|
-
const year = date.getFullYear();
|
|
47
|
-
const month = date.getMonth() + 1;
|
|
48
|
-
/**
|
|
49
|
-
* By using zero as the day, we get the
|
|
50
|
-
* last day of the previous month, which
|
|
51
|
-
* is the month we originally passed in.
|
|
52
|
-
*/
|
|
53
|
-
return new Date(year, month, 0).getDate();
|
|
54
|
-
} else return date.set({ day: 100 }).day;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Determine if a date is before the reference date.
|
|
58
|
-
* @param dateToCompare - is this date before the `referenceDate`
|
|
59
|
-
* @param referenceDate - is the `dateToCompare` before this date
|
|
60
|
-
*
|
|
61
|
-
* @see {@link isBeforeOrSame} for inclusive
|
|
62
|
-
*/
|
|
63
|
-
function isDateBefore(dateToCompare, referenceDate) {
|
|
64
|
-
return dateToCompare.compare(referenceDate) < 0;
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* Determine if a date is after the reference date.
|
|
68
|
-
* @param dateToCompare - is this date after the `referenceDate`
|
|
69
|
-
* @param referenceDate - is the `dateToCompare` after this date
|
|
70
|
-
*
|
|
71
|
-
* @see {@link isAfterOrSame} for inclusive
|
|
72
|
-
*/
|
|
73
|
-
function isDateAfter(dateToCompare, referenceDate) {
|
|
74
|
-
return dateToCompare.compare(referenceDate) > 0;
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Determine if a date is before or the same as the reference date.
|
|
78
|
-
*
|
|
79
|
-
* @param dateToCompare - the date to compare
|
|
80
|
-
* @param referenceDate - the reference date to make the comparison against
|
|
81
|
-
*
|
|
82
|
-
* @see {@link isBefore} for non-inclusive
|
|
83
|
-
*/
|
|
84
|
-
function isDateBeforeOrSame(dateToCompare, referenceDate) {
|
|
85
|
-
return dateToCompare.compare(referenceDate) <= 0;
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* Determine if a date is after or the same as the reference date.
|
|
89
|
-
*
|
|
90
|
-
* @param dateToCompare - is this date after or the same as the `referenceDate`
|
|
91
|
-
* @param referenceDate - is the `dateToCompare` after or the same as this date
|
|
92
|
-
*
|
|
93
|
-
* @see {@link isAfter} for non-inclusive
|
|
94
|
-
*/
|
|
95
|
-
function isDateAfterOrSame(dateToCompare, referenceDate) {
|
|
96
|
-
return dateToCompare.compare(referenceDate) >= 0;
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* Determine if a date is inclusively between a start and end reference date.
|
|
100
|
-
*
|
|
101
|
-
* @param params
|
|
102
|
-
* @param params.date - is this date inclusively between the `start` and `end` dates
|
|
103
|
-
* @param params.start - the start reference date to make the comparison against
|
|
104
|
-
* @param params.end - the end reference date to make the comparison against
|
|
105
|
-
*
|
|
106
|
-
* @see {@link isDateBetween} for non-inclusive
|
|
107
|
-
*/
|
|
108
|
-
function isDateBetweenInclusive({ date, start, end }) {
|
|
109
|
-
return isDateAfterOrSame(date, start) && isDateBeforeOrSame(date, end);
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* Determine if a date is between a start and end reference date.
|
|
113
|
-
*
|
|
114
|
-
* @param params
|
|
115
|
-
* @param params.date - is this date between the `start` and `end` dates
|
|
116
|
-
* @param params.start - the start reference date to make the comparison against
|
|
117
|
-
* @param params.end - the end reference date to make the comparison against
|
|
118
|
-
*
|
|
119
|
-
* @see {@link isDateBetweenInclusive} for inclusive
|
|
120
|
-
*/
|
|
121
|
-
function isDateBetween({ date, start, end }) {
|
|
122
|
-
return isDateAfter(date, start) && isDateBefore(date, end);
|
|
123
|
-
}
|
|
124
|
-
function getLastFirstDayOfWeek({ date, firstDayOfWeek, locale }) {
|
|
125
|
-
const day = getDayOfWeek(date, locale);
|
|
126
|
-
if (firstDayOfWeek > day) return date.subtract({ days: day + 7 - firstDayOfWeek });
|
|
127
|
-
if (firstDayOfWeek === day) return date;
|
|
128
|
-
return date.subtract({ days: day - firstDayOfWeek });
|
|
129
|
-
}
|
|
130
|
-
function getNextLastDayOfWeek({ date, firstDayOfWeek, locale }) {
|
|
131
|
-
const day = getDayOfWeek(date, locale);
|
|
132
|
-
const lastDayOfWeek = firstDayOfWeek === 0 ? 6 : firstDayOfWeek - 1;
|
|
133
|
-
if (day === lastDayOfWeek) return date;
|
|
134
|
-
if (day > lastDayOfWeek) return date.add({ days: 7 - day + lastDayOfWeek });
|
|
135
|
-
return date.add({ days: lastDayOfWeek - day });
|
|
136
|
-
}
|
|
137
|
-
function areAllDaysBetweenValid({ start, end, isUnavailable, isDisabled, isHighlightable }) {
|
|
138
|
-
if (isUnavailable === void 0 && isDisabled === void 0 && isHighlightable === void 0) return true;
|
|
139
|
-
let dCurrent = start.add({ days: 1 });
|
|
140
|
-
if ((isDisabled?.(dCurrent) || isUnavailable?.(dCurrent)) && !isHighlightable?.(dCurrent)) return false;
|
|
141
|
-
const dEnd = end;
|
|
142
|
-
while (dCurrent.compare(dEnd) < 0) {
|
|
143
|
-
dCurrent = dCurrent.add({ days: 1 });
|
|
144
|
-
if ((isDisabled?.(dCurrent) || isUnavailable?.(dCurrent)) && !isHighlightable?.(dCurrent)) return false;
|
|
145
|
-
}
|
|
146
|
-
return true;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
//#endregion
|
|
150
|
-
//#region src/date/calendar.date.ts
|
|
151
|
-
/**
|
|
152
|
-
* Retrieves an array of date values representing the days between
|
|
153
|
-
* the provided start and end dates.
|
|
154
|
-
*/
|
|
155
|
-
function getDaysBetween(start, end) {
|
|
156
|
-
const days = [];
|
|
157
|
-
let dCurrent = start.add({ days: 1 });
|
|
158
|
-
const dEnd = end;
|
|
159
|
-
while (dCurrent.compare(dEnd) < 0) {
|
|
160
|
-
days.push(dCurrent);
|
|
161
|
-
dCurrent = dCurrent.add({ days: 1 });
|
|
162
|
-
}
|
|
163
|
-
return days;
|
|
164
|
-
}
|
|
165
|
-
function createMonth(props) {
|
|
166
|
-
const { dateObj, weekStartsOn, fixedWeeks, locale } = props;
|
|
167
|
-
const daysInMonth = getDaysInMonth(dateObj);
|
|
168
|
-
const datesArray = Array.from({ length: daysInMonth }, (_, i) => dateObj.set({ day: i + 1 }));
|
|
169
|
-
const firstDayOfMonth = startOfMonth(dateObj);
|
|
170
|
-
const lastDayOfMonth = endOfMonth(dateObj);
|
|
171
|
-
const lastSunday = getLastFirstDayOfWeek({
|
|
172
|
-
date: firstDayOfMonth,
|
|
173
|
-
firstDayOfWeek: weekStartsOn,
|
|
174
|
-
locale
|
|
175
|
-
});
|
|
176
|
-
const nextSaturday = getNextLastDayOfWeek({
|
|
177
|
-
date: lastDayOfMonth,
|
|
178
|
-
firstDayOfWeek: weekStartsOn,
|
|
179
|
-
locale
|
|
180
|
-
});
|
|
181
|
-
const lastMonthDays = getDaysBetween(lastSunday.subtract({ days: 1 }), firstDayOfMonth);
|
|
182
|
-
const nextMonthDays = getDaysBetween(lastDayOfMonth, nextSaturday.add({ days: 1 }));
|
|
183
|
-
const totalDays = lastMonthDays.length + datesArray.length + nextMonthDays.length;
|
|
184
|
-
if (fixedWeeks && totalDays < 42) {
|
|
185
|
-
const extraDays = 42 - totalDays;
|
|
186
|
-
let startFrom = nextMonthDays[nextMonthDays.length - 1];
|
|
187
|
-
if (!startFrom) startFrom = endOfMonth(dateObj);
|
|
188
|
-
const extraDaysArray = Array.from({ length: extraDays }, (_, i) => {
|
|
189
|
-
const incr = i + 1;
|
|
190
|
-
return startFrom.add({ days: incr });
|
|
191
|
-
});
|
|
192
|
-
nextMonthDays.push(...extraDaysArray);
|
|
193
|
-
}
|
|
194
|
-
const allDays = lastMonthDays.concat(datesArray, nextMonthDays);
|
|
195
|
-
const weeks = chunk(allDays, 7);
|
|
196
|
-
return {
|
|
197
|
-
value: dateObj,
|
|
198
|
-
cells: allDays,
|
|
199
|
-
rows: weeks
|
|
200
|
-
};
|
|
201
|
-
}
|
|
202
|
-
function startOfDecade(dateObj) {
|
|
203
|
-
return startOfYear(dateObj.subtract({ years: dateObj.year - Math.floor(dateObj.year / 10) * 10 }).set({
|
|
204
|
-
day: 1,
|
|
205
|
-
month: 1
|
|
206
|
-
}));
|
|
207
|
-
}
|
|
208
|
-
function endOfDecade(dateObj) {
|
|
209
|
-
return endOfYear(dateObj.add({ years: Math.ceil((dateObj.year + 1) / 10) * 10 - dateObj.year - 1 }).set({
|
|
210
|
-
day: 35,
|
|
211
|
-
month: 12
|
|
212
|
-
}));
|
|
213
|
-
}
|
|
214
|
-
function createDecade(props) {
|
|
215
|
-
const { dateObj, startIndex, endIndex } = props;
|
|
216
|
-
const decadeArray = Array.from({ length: Math.abs(startIndex ?? 0) + endIndex }, (_, idx) => idx <= Math.abs(startIndex ?? 0) ? dateObj.subtract({ years: idx }).set({
|
|
217
|
-
day: 1,
|
|
218
|
-
month: 1
|
|
219
|
-
}) : dateObj.add({ years: idx - endIndex }).set({
|
|
220
|
-
day: 1,
|
|
221
|
-
month: 1
|
|
222
|
-
}));
|
|
223
|
-
decadeArray.sort((a, b) => a.year - b.year);
|
|
224
|
-
return decadeArray;
|
|
225
|
-
}
|
|
226
|
-
function createYear(props) {
|
|
227
|
-
const { dateObj, numberOfMonths = 1, pagedNavigation = false } = props;
|
|
228
|
-
if (numberOfMonths && pagedNavigation) {
|
|
229
|
-
const monthsArray$1 = Array.from({ length: Math.floor(12 / numberOfMonths) }, (_, idx) => startOfMonth(dateObj.set({ month: idx * numberOfMonths + 1 })));
|
|
230
|
-
return monthsArray$1;
|
|
231
|
-
}
|
|
232
|
-
const monthsArray = Array.from({ length: 12 }, (_, idx) => startOfMonth(dateObj.set({ month: idx + 1 })));
|
|
233
|
-
return monthsArray;
|
|
234
|
-
}
|
|
235
|
-
function createMonths(props) {
|
|
236
|
-
const { numberOfMonths, dateObj,...monthProps } = props;
|
|
237
|
-
const months = [];
|
|
238
|
-
if (!numberOfMonths || numberOfMonths === 1) {
|
|
239
|
-
months.push(createMonth({
|
|
240
|
-
...monthProps,
|
|
241
|
-
dateObj
|
|
242
|
-
}));
|
|
243
|
-
return months;
|
|
244
|
-
}
|
|
245
|
-
months.push(createMonth({
|
|
246
|
-
...monthProps,
|
|
247
|
-
dateObj
|
|
248
|
-
}));
|
|
249
|
-
for (let i = 1; i < numberOfMonths; i++) {
|
|
250
|
-
const nextMonth = dateObj.add({ months: i });
|
|
251
|
-
months.push(createMonth({
|
|
252
|
-
...monthProps,
|
|
253
|
-
dateObj: nextMonth
|
|
254
|
-
}));
|
|
255
|
-
}
|
|
256
|
-
return months;
|
|
257
|
-
}
|
|
258
|
-
function createYearRange({ start, end }) {
|
|
259
|
-
const years = [];
|
|
260
|
-
if (!start || !end) return years;
|
|
261
|
-
let current = startOfYear(start);
|
|
262
|
-
while (current.compare(end) <= 0) {
|
|
263
|
-
years.push(current);
|
|
264
|
-
current = startOfYear(current.add({ years: 1 }));
|
|
265
|
-
}
|
|
266
|
-
return years;
|
|
267
|
-
}
|
|
268
|
-
function createDateRange({ start, end }) {
|
|
269
|
-
const dates = [];
|
|
270
|
-
if (!start || !end) return dates;
|
|
271
|
-
let current = start;
|
|
272
|
-
while (current.compare(end) <= 0) {
|
|
273
|
-
dates.push(current);
|
|
274
|
-
current = current.add({ days: 1 });
|
|
275
|
-
}
|
|
276
|
-
return dates;
|
|
277
|
-
}
|
|
278
|
-
/**
|
|
279
|
-
* Returns the locale-specific week number
|
|
280
|
-
*/
|
|
281
|
-
function getWeekNumber(date, locale = "en-US", firstDayOfWeek) {
|
|
282
|
-
const firstDayOfYear = new CalendarDate(date.year, 1, 1);
|
|
283
|
-
const firstDayOfYearWeekday = getDayOfWeek(firstDayOfYear, locale, firstDayOfWeek);
|
|
284
|
-
const firstWeekStart = firstDayOfYear.subtract({ days: firstDayOfYearWeekday });
|
|
285
|
-
if (date.compare(firstWeekStart) < 0) {
|
|
286
|
-
const prevYearDate = new CalendarDate(date.year - 1, 12, 31);
|
|
287
|
-
return getWeekNumber(prevYearDate, locale, firstDayOfWeek);
|
|
288
|
-
}
|
|
289
|
-
const days = getDaysBetween(firstWeekStart, date);
|
|
290
|
-
return Math.floor(days.length / 7) + 1;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
//#endregion
|
|
294
|
-
//#region src/shared/use-date-formatter.ts
|
|
295
|
-
/**
|
|
296
|
-
* Creates a wrapper around the `DateFormatter`, which is
|
|
297
|
-
* an improved version of the {@link Intl.DateTimeFormat} API,
|
|
298
|
-
* that is used internally by the various date builders to
|
|
299
|
-
* easily format dates in a consistent way.
|
|
300
|
-
*
|
|
301
|
-
* @see [DateFormatter](https://react-spectrum.adobe.com/internationalized/date/DateFormatter.html)
|
|
302
|
-
*/
|
|
303
|
-
function useDateFormatter(initialLocale) {
|
|
304
|
-
const locale = ref(initialLocale);
|
|
305
|
-
function getLocale() {
|
|
306
|
-
return locale.value;
|
|
307
|
-
}
|
|
308
|
-
function setLocale(newLocale) {
|
|
309
|
-
locale.value = newLocale;
|
|
310
|
-
}
|
|
311
|
-
function custom({ date, options }) {
|
|
312
|
-
return new DateFormatter(locale.value, options).format(date);
|
|
313
|
-
}
|
|
314
|
-
function selectedDate({ date, includeTime = true }) {
|
|
315
|
-
if (hasTime(date) && includeTime) return custom({
|
|
316
|
-
date: toDate(date),
|
|
317
|
-
options: {
|
|
318
|
-
dateStyle: "long",
|
|
319
|
-
timeStyle: "long"
|
|
320
|
-
}
|
|
321
|
-
});
|
|
322
|
-
else return custom({
|
|
323
|
-
date: toDate(date),
|
|
324
|
-
options: { dateStyle: "long" }
|
|
325
|
-
});
|
|
326
|
-
}
|
|
327
|
-
function fullMonthAndYear({ date, options = {} }) {
|
|
328
|
-
return new DateFormatter(locale.value, {
|
|
329
|
-
month: "long",
|
|
330
|
-
year: "numeric",
|
|
331
|
-
...options
|
|
332
|
-
}).format(date);
|
|
333
|
-
}
|
|
334
|
-
function fullMonth({ date, options = {} }) {
|
|
335
|
-
return new DateFormatter(locale.value, {
|
|
336
|
-
month: "long",
|
|
337
|
-
...options
|
|
338
|
-
}).format(date);
|
|
339
|
-
}
|
|
340
|
-
function getMonths() {
|
|
341
|
-
const defaultDate = today(getLocalTimeZone());
|
|
342
|
-
const months = [
|
|
343
|
-
1,
|
|
344
|
-
2,
|
|
345
|
-
3,
|
|
346
|
-
4,
|
|
347
|
-
5,
|
|
348
|
-
6,
|
|
349
|
-
7,
|
|
350
|
-
8,
|
|
351
|
-
9,
|
|
352
|
-
10,
|
|
353
|
-
11,
|
|
354
|
-
12
|
|
355
|
-
];
|
|
356
|
-
return months.map((item) => ({
|
|
357
|
-
label: fullMonth({ date: toDate(defaultDate.set({ month: item })) }),
|
|
358
|
-
value: item
|
|
359
|
-
}));
|
|
360
|
-
}
|
|
361
|
-
function fullYear({ date, options = {} }) {
|
|
362
|
-
return new DateFormatter(locale.value, {
|
|
363
|
-
year: "numeric",
|
|
364
|
-
...options
|
|
365
|
-
}).format(date);
|
|
366
|
-
}
|
|
367
|
-
function toParts({ date, options }) {
|
|
368
|
-
if (isZonedDateTime(date)) return new DateFormatter(locale.value, {
|
|
369
|
-
...options,
|
|
370
|
-
timeZone: date.timeZone
|
|
371
|
-
}).formatToParts(toDate(date));
|
|
372
|
-
else return new DateFormatter(locale.value, options).formatToParts(toDate(date));
|
|
373
|
-
}
|
|
374
|
-
function dayOfWeek({ date, length = "narrow" }) {
|
|
375
|
-
return new DateFormatter(locale.value, { weekday: length }).format(date);
|
|
376
|
-
}
|
|
377
|
-
function dayPeriod(date) {
|
|
378
|
-
const parts = new DateFormatter(locale.value, {
|
|
379
|
-
hour: "numeric",
|
|
380
|
-
minute: "numeric"
|
|
381
|
-
}).formatToParts(date);
|
|
382
|
-
const value = parts.find((p) => p.type === "dayPeriod")?.value;
|
|
383
|
-
if (value === "PM" || value === "p.m.") return "PM";
|
|
384
|
-
return "AM";
|
|
385
|
-
}
|
|
386
|
-
const defaultPartOptions = {
|
|
387
|
-
year: "numeric",
|
|
388
|
-
month: "numeric",
|
|
389
|
-
day: "numeric",
|
|
390
|
-
hour: "numeric",
|
|
391
|
-
minute: "numeric",
|
|
392
|
-
second: "numeric"
|
|
393
|
-
};
|
|
394
|
-
function part({ dateObj, options = {}, type }) {
|
|
395
|
-
const opts = {
|
|
396
|
-
...defaultPartOptions,
|
|
397
|
-
...options
|
|
398
|
-
};
|
|
399
|
-
const parts = toParts({
|
|
400
|
-
date: dateObj,
|
|
401
|
-
options: opts
|
|
402
|
-
});
|
|
403
|
-
const part$1 = parts.find((part$2) => part$2.type === type);
|
|
404
|
-
return part$1 ? part$1.value : "";
|
|
405
|
-
}
|
|
406
|
-
return {
|
|
407
|
-
setLocale,
|
|
408
|
-
getLocale,
|
|
409
|
-
fullMonth,
|
|
410
|
-
fullYear,
|
|
411
|
-
fullMonthAndYear,
|
|
412
|
-
toParts,
|
|
413
|
-
custom,
|
|
414
|
-
part,
|
|
415
|
-
dayPeriod,
|
|
416
|
-
selectedDate,
|
|
417
|
-
dayOfWeek,
|
|
418
|
-
getMonths
|
|
419
|
-
};
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
//#endregion
|
|
423
|
-
//#region src/shared/use-locale.ts
|
|
424
|
-
function useLocale(locale) {
|
|
425
|
-
const context = injectAConfigProviderContext({ locale: ref("en") });
|
|
426
|
-
return computed(() => locale?.value || context.locale?.value || "en");
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
//#endregion
|
|
430
|
-
//#region src/primitive/use-primitive-element.ts
|
|
431
|
-
function usePrimitiveElement() {
|
|
432
|
-
const primitiveElement = ref();
|
|
433
|
-
const currentElement = computed(() => ["#comment", "#text"].includes(primitiveElement.value?.$el.nodeName) ? primitiveElement.value?.$el.nextElementSibling : unrefElement(primitiveElement));
|
|
434
|
-
return {
|
|
435
|
-
primitiveElement,
|
|
436
|
-
currentElement
|
|
437
|
-
};
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
//#endregion
|
|
441
|
-
//#region src/shared/date/comparators.ts
|
|
442
|
-
/**
|
|
443
|
-
* A helper function used throughout the various date builders
|
|
444
|
-
* to generate a default `DateValue` using the `defaultValue`,
|
|
445
|
-
* `defaultPlaceholder`, and `granularity` props.
|
|
446
|
-
*
|
|
447
|
-
* It's important to match the `DateValue` type being used
|
|
448
|
-
* elsewhere in the builder, so they behave according to the
|
|
449
|
-
* behavior the user expects based on the props they've provided.
|
|
450
|
-
*
|
|
451
|
-
*/
|
|
452
|
-
function getDefaultDate(props) {
|
|
453
|
-
const { defaultValue, defaultPlaceholder, granularity = "day", locale = "en" } = props;
|
|
454
|
-
if (Array.isArray(defaultValue) && defaultValue.length) return defaultValue.at(-1).copy();
|
|
455
|
-
if (defaultValue && !Array.isArray(defaultValue)) return defaultValue.copy();
|
|
456
|
-
if (defaultPlaceholder) return defaultPlaceholder.copy();
|
|
457
|
-
const date = /* @__PURE__ */ new Date();
|
|
458
|
-
const year = date.getFullYear();
|
|
459
|
-
const month = date.getMonth() + 1;
|
|
460
|
-
const day = date.getDate();
|
|
461
|
-
const calendarDateTimeGranularities = [
|
|
462
|
-
"hour",
|
|
463
|
-
"minute",
|
|
464
|
-
"second"
|
|
465
|
-
];
|
|
466
|
-
const defaultFormatter = new DateFormatter(locale);
|
|
467
|
-
const calendar = createCalendar(defaultFormatter.resolvedOptions().calendar);
|
|
468
|
-
if (calendarDateTimeGranularities.includes(granularity ?? "day")) return toCalendar(new CalendarDateTime(year, month, day, 0, 0, 0), calendar);
|
|
469
|
-
return toCalendar(new CalendarDate(year, month, day), calendar);
|
|
470
|
-
}
|
|
471
|
-
function getDefaultTime(props) {
|
|
472
|
-
const { defaultValue, defaultPlaceholder } = props;
|
|
473
|
-
if (defaultValue) return defaultValue.copy();
|
|
474
|
-
if (defaultPlaceholder) return defaultPlaceholder.copy();
|
|
475
|
-
return new Time(0, 0, 0);
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
//#endregion
|
|
479
|
-
//#region src/shared/date/utils.ts
|
|
480
|
-
function getOptsByGranularity(granularity, hourCycle, isTimeValue = false) {
|
|
481
|
-
const opts = {
|
|
482
|
-
year: "numeric",
|
|
483
|
-
month: "2-digit",
|
|
484
|
-
day: "2-digit",
|
|
485
|
-
hour: "2-digit",
|
|
486
|
-
minute: "2-digit",
|
|
487
|
-
second: "2-digit",
|
|
488
|
-
timeZoneName: "short",
|
|
489
|
-
hourCycle: hourCycle === 24 ? "h23" : void 0,
|
|
490
|
-
hour12: hourCycle === 24 ? false : void 0
|
|
491
|
-
};
|
|
492
|
-
if (isTimeValue) {
|
|
493
|
-
delete opts.year;
|
|
494
|
-
delete opts.month;
|
|
495
|
-
delete opts.day;
|
|
496
|
-
}
|
|
497
|
-
if (granularity === "day") {
|
|
498
|
-
delete opts.second;
|
|
499
|
-
delete opts.hour;
|
|
500
|
-
delete opts.minute;
|
|
501
|
-
delete opts.timeZoneName;
|
|
502
|
-
}
|
|
503
|
-
if (granularity === "hour") {
|
|
504
|
-
delete opts.minute;
|
|
505
|
-
delete opts.second;
|
|
506
|
-
}
|
|
507
|
-
if (granularity === "minute") delete opts.second;
|
|
508
|
-
return opts;
|
|
509
|
-
}
|
|
510
|
-
function normalizeDateStep(props) {
|
|
511
|
-
return defu$1(props?.step, {
|
|
512
|
-
year: 1,
|
|
513
|
-
month: 1,
|
|
514
|
-
day: 1,
|
|
515
|
-
hour: 1,
|
|
516
|
-
minute: 1,
|
|
517
|
-
second: 1,
|
|
518
|
-
millisecond: 1
|
|
519
|
-
});
|
|
520
|
-
}
|
|
521
|
-
function handleCalendarInitialFocus(calendar) {
|
|
522
|
-
const selectedDay = calendar.querySelector("[data-selected]");
|
|
523
|
-
if (selectedDay) return selectedDay.focus();
|
|
524
|
-
const today$1 = calendar.querySelector("[data-today]");
|
|
525
|
-
if (today$1) return today$1.focus();
|
|
526
|
-
const firstDay = calendar.querySelector("[data-akar-calendar-day]");
|
|
527
|
-
if (firstDay) return firstDay.focus();
|
|
528
|
-
}
|
|
529
|
-
|
|
530
|
-
//#endregion
|
|
531
|
-
//#region src/calendar/use-calendar.ts
|
|
532
|
-
function useCalendarState(props) {
|
|
533
|
-
function isDateSelected(dateObj) {
|
|
534
|
-
if (Array.isArray(props.date.value)) return props.date.value.some((d) => isSameDay(d, dateObj));
|
|
535
|
-
else if (!props.date.value) return false;
|
|
536
|
-
else return isSameDay(props.date.value, dateObj);
|
|
537
|
-
}
|
|
538
|
-
const isInvalid = computed(() => {
|
|
539
|
-
if (Array.isArray(props.date.value)) {
|
|
540
|
-
if (!props.date.value.length) return false;
|
|
541
|
-
for (const dateObj of props.date.value) {
|
|
542
|
-
if (props.isDateDisabled?.(dateObj)) return true;
|
|
543
|
-
if (props.isDateUnavailable?.(dateObj)) return true;
|
|
544
|
-
}
|
|
545
|
-
} else {
|
|
546
|
-
if (!props.date.value) return false;
|
|
547
|
-
if (props.isDateDisabled?.(props.date.value)) return true;
|
|
548
|
-
if (props.isDateUnavailable?.(props.date.value)) return true;
|
|
549
|
-
}
|
|
550
|
-
return false;
|
|
551
|
-
});
|
|
552
|
-
return {
|
|
553
|
-
isDateSelected,
|
|
554
|
-
isInvalid
|
|
555
|
-
};
|
|
556
|
-
}
|
|
557
|
-
function handleNextDisabled(lastPeriodInView, nextPageFunc) {
|
|
558
|
-
const firstPeriodOfNextPage = nextPageFunc(lastPeriodInView);
|
|
559
|
-
const diff = firstPeriodOfNextPage.compare(lastPeriodInView);
|
|
560
|
-
const duration = {};
|
|
561
|
-
if (diff >= 7) duration.day = 1;
|
|
562
|
-
if (diff >= getDaysInMonth(lastPeriodInView)) duration.month = 1;
|
|
563
|
-
return firstPeriodOfNextPage.set({ ...duration });
|
|
564
|
-
}
|
|
565
|
-
function handlePrevDisabled(firstPeriodInView, prevPageFunc) {
|
|
566
|
-
const lastPeriodOfPrevPage = prevPageFunc(firstPeriodInView);
|
|
567
|
-
const diff = firstPeriodInView.compare(lastPeriodOfPrevPage);
|
|
568
|
-
const duration = {};
|
|
569
|
-
if (diff >= 7) duration.day = 35;
|
|
570
|
-
if (diff >= getDaysInMonth(firstPeriodInView)) duration.month = 13;
|
|
571
|
-
return lastPeriodOfPrevPage.set({ ...duration });
|
|
572
|
-
}
|
|
573
|
-
function handleNextPage(date, nextPageFunc) {
|
|
574
|
-
return nextPageFunc(date);
|
|
575
|
-
}
|
|
576
|
-
function handlePrevPage(date, prevPageFunc) {
|
|
577
|
-
return prevPageFunc(date);
|
|
578
|
-
}
|
|
579
|
-
function useCalendar(props) {
|
|
580
|
-
const formatter = useDateFormatter(props.locale.value);
|
|
581
|
-
const headingFormatOptions = computed(() => {
|
|
582
|
-
const options = { calendar: props.placeholder.value.calendar.identifier };
|
|
583
|
-
if (props.placeholder.value.calendar.identifier === "gregory" && props.placeholder.value.era === "BC") options.era = "short";
|
|
584
|
-
return options;
|
|
585
|
-
});
|
|
586
|
-
const grid = ref(createMonths({
|
|
587
|
-
dateObj: props.placeholder.value,
|
|
588
|
-
weekStartsOn: props.weekStartsOn.value,
|
|
589
|
-
locale: props.locale.value,
|
|
590
|
-
fixedWeeks: props.fixedWeeks.value,
|
|
591
|
-
numberOfMonths: props.numberOfMonths.value
|
|
592
|
-
}));
|
|
593
|
-
const visibleView = computed(() => {
|
|
594
|
-
return grid.value.map((month) => month.value);
|
|
595
|
-
});
|
|
596
|
-
function isOutsideVisibleView(date) {
|
|
597
|
-
return !visibleView.value.some((month) => isEqualMonth(date, month));
|
|
598
|
-
}
|
|
599
|
-
function isNextButtonDisabled(nextPageFunc) {
|
|
600
|
-
if (!props.maxValue.value || !grid.value.length) return false;
|
|
601
|
-
if (props.disabled.value) return true;
|
|
602
|
-
const lastPeriodInView = grid.value[grid.value.length - 1].value;
|
|
603
|
-
if (!nextPageFunc && !props.nextPage.value) {
|
|
604
|
-
const firstPeriodOfNextPage$1 = lastPeriodInView.add({ months: 1 }).set({ day: 1 });
|
|
605
|
-
return isDateAfter(firstPeriodOfNextPage$1, props.maxValue.value);
|
|
606
|
-
}
|
|
607
|
-
const firstPeriodOfNextPage = handleNextDisabled(lastPeriodInView, nextPageFunc || props.nextPage.value);
|
|
608
|
-
return isDateAfter(firstPeriodOfNextPage, props.maxValue.value);
|
|
609
|
-
}
|
|
610
|
-
function isPrevButtonDisabled(prevPageFunc) {
|
|
611
|
-
if (!props.minValue.value || !grid.value.length) return false;
|
|
612
|
-
if (props.disabled.value) return true;
|
|
613
|
-
const firstPeriodInView = grid.value[0].value;
|
|
614
|
-
if (!prevPageFunc && !props.prevPage.value) {
|
|
615
|
-
const lastPeriodOfPrevPage$1 = firstPeriodInView.subtract({ months: 1 }).set({ day: 35 });
|
|
616
|
-
return isDateBefore(lastPeriodOfPrevPage$1, props.minValue.value);
|
|
617
|
-
}
|
|
618
|
-
const lastPeriodOfPrevPage = handlePrevDisabled(firstPeriodInView, prevPageFunc || props.prevPage.value);
|
|
619
|
-
return isDateBefore(lastPeriodOfPrevPage, props.minValue.value);
|
|
620
|
-
}
|
|
621
|
-
function isDateDisabled(dateObj) {
|
|
622
|
-
if (props.isDateDisabled?.(dateObj) || props.disabled.value) return true;
|
|
623
|
-
if (props.maxValue.value && isDateAfter(dateObj, props.maxValue.value)) return true;
|
|
624
|
-
return Boolean(props.minValue.value && isDateBefore(dateObj, props.minValue.value));
|
|
625
|
-
}
|
|
626
|
-
function isDateUnavailable(date) {
|
|
627
|
-
return Boolean(props.isDateUnavailable?.(date));
|
|
628
|
-
}
|
|
629
|
-
const weekdays = computed(() => {
|
|
630
|
-
if (!grid.value.length) return [];
|
|
631
|
-
return grid.value[0].rows[0].map((date) => {
|
|
632
|
-
return formatter.dayOfWeek({
|
|
633
|
-
date: toDate(date),
|
|
634
|
-
length: props.weekdayFormat.value
|
|
635
|
-
});
|
|
636
|
-
});
|
|
637
|
-
});
|
|
638
|
-
function nextPage(nextPageFunc) {
|
|
639
|
-
const firstDate = grid.value[0].value;
|
|
640
|
-
if (!nextPageFunc && !props.nextPage.value) {
|
|
641
|
-
const newDate$1 = firstDate.add({ months: props.pagedNavigation.value ? props.numberOfMonths.value : 1 });
|
|
642
|
-
const newGrid$1 = createMonths({
|
|
643
|
-
dateObj: newDate$1,
|
|
644
|
-
weekStartsOn: props.weekStartsOn.value,
|
|
645
|
-
locale: props.locale.value,
|
|
646
|
-
fixedWeeks: props.fixedWeeks.value,
|
|
647
|
-
numberOfMonths: props.numberOfMonths.value
|
|
648
|
-
});
|
|
649
|
-
grid.value = newGrid$1;
|
|
650
|
-
props.placeholder.value = newGrid$1[0].value.set({ day: 1 });
|
|
651
|
-
return;
|
|
652
|
-
}
|
|
653
|
-
const newDate = handleNextPage(firstDate, nextPageFunc || props.nextPage.value);
|
|
654
|
-
const newGrid = createMonths({
|
|
655
|
-
dateObj: newDate,
|
|
656
|
-
weekStartsOn: props.weekStartsOn.value,
|
|
657
|
-
locale: props.locale.value,
|
|
658
|
-
fixedWeeks: props.fixedWeeks.value,
|
|
659
|
-
numberOfMonths: props.numberOfMonths.value
|
|
660
|
-
});
|
|
661
|
-
grid.value = newGrid;
|
|
662
|
-
const duration = {};
|
|
663
|
-
if (!nextPageFunc) {
|
|
664
|
-
const diff = newGrid[0].value.compare(firstDate);
|
|
665
|
-
if (diff >= getDaysInMonth(firstDate)) duration.day = 1;
|
|
666
|
-
if (diff >= 365) duration.month = 1;
|
|
667
|
-
}
|
|
668
|
-
props.placeholder.value = newGrid[0].value.set({ ...duration });
|
|
669
|
-
}
|
|
670
|
-
function prevPage(prevPageFunc) {
|
|
671
|
-
const firstDate = grid.value[0].value;
|
|
672
|
-
if (!prevPageFunc && !props.prevPage.value) {
|
|
673
|
-
const newDate$1 = firstDate.subtract({ months: props.pagedNavigation.value ? props.numberOfMonths.value : 1 });
|
|
674
|
-
const newGrid$1 = createMonths({
|
|
675
|
-
dateObj: newDate$1,
|
|
676
|
-
weekStartsOn: props.weekStartsOn.value,
|
|
677
|
-
locale: props.locale.value,
|
|
678
|
-
fixedWeeks: props.fixedWeeks.value,
|
|
679
|
-
numberOfMonths: props.numberOfMonths.value
|
|
680
|
-
});
|
|
681
|
-
grid.value = newGrid$1;
|
|
682
|
-
props.placeholder.value = newGrid$1[0].value.set({ day: 1 });
|
|
683
|
-
return;
|
|
684
|
-
}
|
|
685
|
-
const newDate = handlePrevPage(firstDate, prevPageFunc || props.prevPage.value);
|
|
686
|
-
const newGrid = createMonths({
|
|
687
|
-
dateObj: newDate,
|
|
688
|
-
weekStartsOn: props.weekStartsOn.value,
|
|
689
|
-
locale: props.locale.value,
|
|
690
|
-
fixedWeeks: props.fixedWeeks.value,
|
|
691
|
-
numberOfMonths: props.numberOfMonths.value
|
|
692
|
-
});
|
|
693
|
-
grid.value = newGrid;
|
|
694
|
-
const duration = {};
|
|
695
|
-
if (!prevPageFunc) {
|
|
696
|
-
const diff = firstDate.compare(newGrid[0].value);
|
|
697
|
-
if (diff >= getDaysInMonth(firstDate)) duration.day = 1;
|
|
698
|
-
if (diff >= 365) duration.month = 1;
|
|
699
|
-
}
|
|
700
|
-
props.placeholder.value = newGrid[0].value.set({ ...duration });
|
|
701
|
-
}
|
|
702
|
-
watch(props.placeholder, (value) => {
|
|
703
|
-
if (visibleView.value.some((month) => isEqualMonth(month, value))) return;
|
|
704
|
-
grid.value = createMonths({
|
|
705
|
-
dateObj: value,
|
|
706
|
-
weekStartsOn: props.weekStartsOn.value,
|
|
707
|
-
locale: props.locale.value,
|
|
708
|
-
fixedWeeks: props.fixedWeeks.value,
|
|
709
|
-
numberOfMonths: props.numberOfMonths.value
|
|
710
|
-
});
|
|
711
|
-
});
|
|
712
|
-
watch([
|
|
713
|
-
props.locale,
|
|
714
|
-
props.weekStartsOn,
|
|
715
|
-
props.fixedWeeks,
|
|
716
|
-
props.numberOfMonths
|
|
717
|
-
], () => {
|
|
718
|
-
grid.value = createMonths({
|
|
719
|
-
dateObj: props.placeholder.value,
|
|
720
|
-
weekStartsOn: props.weekStartsOn.value,
|
|
721
|
-
locale: props.locale.value,
|
|
722
|
-
fixedWeeks: props.fixedWeeks.value,
|
|
723
|
-
numberOfMonths: props.numberOfMonths.value
|
|
724
|
-
});
|
|
725
|
-
});
|
|
726
|
-
const headingValue = computed(() => {
|
|
727
|
-
if (!grid.value.length) return "";
|
|
728
|
-
if (props.locale.value !== formatter.getLocale()) formatter.setLocale(props.locale.value);
|
|
729
|
-
const options = headingFormatOptions.value;
|
|
730
|
-
if (grid.value.length === 1) {
|
|
731
|
-
const month = grid.value[0].value;
|
|
732
|
-
return `${formatter.fullMonthAndYear({
|
|
733
|
-
date: toDate(month),
|
|
734
|
-
options
|
|
735
|
-
})}`;
|
|
736
|
-
}
|
|
737
|
-
const startMonth = toDate(grid.value[0].value);
|
|
738
|
-
const endMonth = toDate(grid.value[grid.value.length - 1].value);
|
|
739
|
-
const startMonthName = formatter.fullMonth({
|
|
740
|
-
date: startMonth,
|
|
741
|
-
options
|
|
742
|
-
});
|
|
743
|
-
const endMonthName = formatter.fullMonth({
|
|
744
|
-
date: endMonth,
|
|
745
|
-
options
|
|
746
|
-
});
|
|
747
|
-
const startMonthYear = formatter.fullYear({
|
|
748
|
-
date: startMonth,
|
|
749
|
-
options
|
|
750
|
-
});
|
|
751
|
-
const endMonthYear = formatter.fullYear({
|
|
752
|
-
date: endMonth,
|
|
753
|
-
options
|
|
754
|
-
});
|
|
755
|
-
return startMonthYear === endMonthYear ? `${startMonthName} - ${endMonthName} ${endMonthYear}` : `${startMonthName} ${startMonthYear} - ${endMonthName} ${endMonthYear}`;
|
|
756
|
-
});
|
|
757
|
-
const fullCalendarLabel = computed(() => `${props.calendarLabel.value ?? "Event Date"}, ${headingValue.value}`);
|
|
758
|
-
return {
|
|
759
|
-
isDateDisabled,
|
|
760
|
-
isDateUnavailable,
|
|
761
|
-
isNextButtonDisabled,
|
|
762
|
-
isPrevButtonDisabled,
|
|
763
|
-
grid,
|
|
764
|
-
weekdays,
|
|
765
|
-
visibleView,
|
|
766
|
-
isOutsideVisibleView,
|
|
767
|
-
formatter,
|
|
768
|
-
nextPage,
|
|
769
|
-
prevPage,
|
|
770
|
-
headingValue,
|
|
771
|
-
fullCalendarLabel
|
|
772
|
-
};
|
|
773
|
-
}
|
|
774
|
-
|
|
775
|
-
//#endregion
|
|
776
|
-
//#region src/calendar/calendar-root.vue?vue&type=script&setup=true&lang.ts
|
|
777
|
-
const _hoisted_1 = { style: {
|
|
778
|
-
"border": "0px",
|
|
779
|
-
"clip": "rect(0px, 0px, 0px, 0px)",
|
|
780
|
-
"clip-path": "inset(50%)",
|
|
781
|
-
"height": "1px",
|
|
782
|
-
"margin": "-1px",
|
|
783
|
-
"overflow": "hidden",
|
|
784
|
-
"padding": "0px",
|
|
785
|
-
"position": "absolute",
|
|
786
|
-
"white-space": "nowrap",
|
|
787
|
-
"width": "1px"
|
|
788
|
-
} };
|
|
789
|
-
const _hoisted_2 = {
|
|
790
|
-
role: "heading",
|
|
791
|
-
"aria-level": "2"
|
|
792
|
-
};
|
|
793
|
-
const [injectACalendarRootContext, provideCalendarRootContext] = createContext("ACalendarRoot");
|
|
794
|
-
var calendar_root_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
795
|
-
__name: "calendar-root",
|
|
796
|
-
props: {
|
|
797
|
-
defaultValue: {
|
|
798
|
-
type: null,
|
|
799
|
-
required: false,
|
|
800
|
-
default: void 0
|
|
801
|
-
},
|
|
802
|
-
defaultPlaceholder: {
|
|
803
|
-
type: null,
|
|
804
|
-
required: false
|
|
805
|
-
},
|
|
806
|
-
placeholder: {
|
|
807
|
-
type: null,
|
|
808
|
-
required: false,
|
|
809
|
-
default: void 0
|
|
810
|
-
},
|
|
811
|
-
pagedNavigation: {
|
|
812
|
-
type: Boolean,
|
|
813
|
-
required: false,
|
|
814
|
-
default: false
|
|
815
|
-
},
|
|
816
|
-
preventDeselect: {
|
|
817
|
-
type: Boolean,
|
|
818
|
-
required: false,
|
|
819
|
-
default: false
|
|
820
|
-
},
|
|
821
|
-
weekStartsOn: {
|
|
822
|
-
type: Number,
|
|
823
|
-
required: false,
|
|
824
|
-
default: 0
|
|
825
|
-
},
|
|
826
|
-
weekdayFormat: {
|
|
827
|
-
type: String,
|
|
828
|
-
required: false,
|
|
829
|
-
default: "narrow"
|
|
830
|
-
},
|
|
831
|
-
calendarLabel: {
|
|
832
|
-
type: String,
|
|
833
|
-
required: false
|
|
834
|
-
},
|
|
835
|
-
fixedWeeks: {
|
|
836
|
-
type: Boolean,
|
|
837
|
-
required: false,
|
|
838
|
-
default: false
|
|
839
|
-
},
|
|
840
|
-
maxValue: {
|
|
841
|
-
type: null,
|
|
842
|
-
required: false
|
|
843
|
-
},
|
|
844
|
-
minValue: {
|
|
845
|
-
type: null,
|
|
846
|
-
required: false
|
|
847
|
-
},
|
|
848
|
-
locale: {
|
|
849
|
-
type: String,
|
|
850
|
-
required: false
|
|
851
|
-
},
|
|
852
|
-
numberOfMonths: {
|
|
853
|
-
type: Number,
|
|
854
|
-
required: false,
|
|
855
|
-
default: 1
|
|
856
|
-
},
|
|
857
|
-
disabled: {
|
|
858
|
-
type: Boolean,
|
|
859
|
-
required: false,
|
|
860
|
-
default: false
|
|
861
|
-
},
|
|
862
|
-
readonly: {
|
|
863
|
-
type: Boolean,
|
|
864
|
-
required: false,
|
|
865
|
-
default: false
|
|
866
|
-
},
|
|
867
|
-
initialFocus: {
|
|
868
|
-
type: Boolean,
|
|
869
|
-
required: false,
|
|
870
|
-
default: false
|
|
871
|
-
},
|
|
872
|
-
isDateDisabled: {
|
|
873
|
-
type: Function,
|
|
874
|
-
required: false,
|
|
875
|
-
default: void 0
|
|
876
|
-
},
|
|
877
|
-
isDateUnavailable: {
|
|
878
|
-
type: Function,
|
|
879
|
-
required: false,
|
|
880
|
-
default: void 0
|
|
881
|
-
},
|
|
882
|
-
dir: {
|
|
883
|
-
type: String,
|
|
884
|
-
required: false
|
|
885
|
-
},
|
|
886
|
-
nextPage: {
|
|
887
|
-
type: Function,
|
|
888
|
-
required: false
|
|
889
|
-
},
|
|
890
|
-
prevPage: {
|
|
891
|
-
type: Function,
|
|
892
|
-
required: false
|
|
893
|
-
},
|
|
894
|
-
modelValue: {
|
|
895
|
-
type: null,
|
|
896
|
-
required: false
|
|
897
|
-
},
|
|
898
|
-
multiple: {
|
|
899
|
-
type: Boolean,
|
|
900
|
-
required: false,
|
|
901
|
-
default: false
|
|
902
|
-
},
|
|
903
|
-
disableDaysOutsideCurrentView: {
|
|
904
|
-
type: Boolean,
|
|
905
|
-
required: false,
|
|
906
|
-
default: false
|
|
907
|
-
},
|
|
908
|
-
asChild: {
|
|
909
|
-
type: Boolean,
|
|
910
|
-
required: false
|
|
911
|
-
},
|
|
912
|
-
as: {
|
|
913
|
-
type: null,
|
|
914
|
-
required: false,
|
|
915
|
-
default: "div"
|
|
916
|
-
}
|
|
917
|
-
},
|
|
918
|
-
emits: ["update:modelValue", "update:placeholder"],
|
|
919
|
-
setup(__props, { emit: __emit }) {
|
|
920
|
-
const props = __props;
|
|
921
|
-
const emits = __emit;
|
|
922
|
-
const { disabled, readonly, initialFocus, pagedNavigation, weekStartsOn, weekdayFormat, fixedWeeks, multiple, minValue, maxValue, numberOfMonths, preventDeselect, isDateDisabled: propsIsDateDisabled, isDateUnavailable: propsIsDateUnavailable, calendarLabel, defaultValue, nextPage: propsNextPage, prevPage: propsPrevPage, dir: propDir, locale: propLocale, disableDaysOutsideCurrentView } = toRefs(props);
|
|
923
|
-
const { primitiveElement, currentElement: parentElement } = usePrimitiveElement();
|
|
924
|
-
const locale = useLocale(propLocale);
|
|
925
|
-
const dir = useDirection(propDir);
|
|
926
|
-
const modelValue = useVModel(props, "modelValue", emits, {
|
|
927
|
-
defaultValue: defaultValue.value,
|
|
928
|
-
passive: props.modelValue === void 0
|
|
929
|
-
});
|
|
930
|
-
const defaultDate = getDefaultDate({
|
|
931
|
-
defaultPlaceholder: props.placeholder,
|
|
932
|
-
defaultValue: modelValue.value,
|
|
933
|
-
locale: props.locale
|
|
934
|
-
});
|
|
935
|
-
const placeholder = useVModel(props, "placeholder", emits, {
|
|
936
|
-
defaultValue: props.defaultPlaceholder ?? defaultDate.copy(),
|
|
937
|
-
passive: props.placeholder === void 0
|
|
938
|
-
});
|
|
939
|
-
function onPlaceholderChange(value) {
|
|
940
|
-
placeholder.value = value.copy();
|
|
941
|
-
}
|
|
942
|
-
const { fullCalendarLabel, headingValue, isDateDisabled, isDateUnavailable, isNextButtonDisabled, isPrevButtonDisabled, weekdays, isOutsideVisibleView, nextPage, prevPage, formatter, grid } = useCalendar({
|
|
943
|
-
locale,
|
|
944
|
-
placeholder,
|
|
945
|
-
weekStartsOn,
|
|
946
|
-
fixedWeeks,
|
|
947
|
-
numberOfMonths,
|
|
948
|
-
minValue,
|
|
949
|
-
maxValue,
|
|
950
|
-
disabled,
|
|
951
|
-
weekdayFormat,
|
|
952
|
-
pagedNavigation,
|
|
953
|
-
isDateDisabled: propsIsDateDisabled.value,
|
|
954
|
-
isDateUnavailable: propsIsDateUnavailable.value,
|
|
955
|
-
calendarLabel,
|
|
956
|
-
nextPage: propsNextPage,
|
|
957
|
-
prevPage: propsPrevPage
|
|
958
|
-
});
|
|
959
|
-
const { isInvalid, isDateSelected } = useCalendarState({
|
|
960
|
-
date: modelValue,
|
|
961
|
-
isDateDisabled,
|
|
962
|
-
isDateUnavailable
|
|
963
|
-
});
|
|
964
|
-
watch(modelValue, (modelValue_) => {
|
|
965
|
-
if (Array.isArray(modelValue_) && modelValue_.length) {
|
|
966
|
-
const lastValue = modelValue_[modelValue_.length - 1];
|
|
967
|
-
if (lastValue && !isEqualDay(placeholder.value, lastValue)) onPlaceholderChange(lastValue);
|
|
968
|
-
} else if (!Array.isArray(modelValue_) && modelValue_ && !isEqualDay(placeholder.value, modelValue_)) onPlaceholderChange(modelValue_);
|
|
969
|
-
});
|
|
970
|
-
function onDateChange(value) {
|
|
971
|
-
if (!multiple.value) {
|
|
972
|
-
if (!modelValue.value) {
|
|
973
|
-
modelValue.value = value.copy();
|
|
974
|
-
return;
|
|
975
|
-
}
|
|
976
|
-
if (!preventDeselect.value && isEqualDay(modelValue.value, value)) {
|
|
977
|
-
placeholder.value = value.copy();
|
|
978
|
-
modelValue.value = void 0;
|
|
979
|
-
} else modelValue.value = value.copy();
|
|
980
|
-
} else if (!modelValue.value) modelValue.value = [value.copy()];
|
|
981
|
-
else if (Array.isArray(modelValue.value)) {
|
|
982
|
-
const index = modelValue.value.findIndex((date) => isSameDay(date, value));
|
|
983
|
-
if (index === -1) modelValue.value = [...modelValue.value, value];
|
|
984
|
-
else if (!preventDeselect.value) {
|
|
985
|
-
const next = modelValue.value.filter((date) => !isSameDay(date, value));
|
|
986
|
-
if (!next.length) {
|
|
987
|
-
placeholder.value = value.copy();
|
|
988
|
-
modelValue.value = void 0;
|
|
989
|
-
return;
|
|
990
|
-
}
|
|
991
|
-
modelValue.value = next.map((date) => date.copy());
|
|
992
|
-
}
|
|
993
|
-
}
|
|
994
|
-
}
|
|
995
|
-
onMounted(() => {
|
|
996
|
-
if (initialFocus.value) handleCalendarInitialFocus(parentElement.value);
|
|
997
|
-
});
|
|
998
|
-
provideCalendarRootContext({
|
|
999
|
-
isDateUnavailable,
|
|
1000
|
-
dir,
|
|
1001
|
-
isDateDisabled,
|
|
1002
|
-
locale,
|
|
1003
|
-
formatter,
|
|
1004
|
-
modelValue,
|
|
1005
|
-
placeholder,
|
|
1006
|
-
disabled,
|
|
1007
|
-
initialFocus,
|
|
1008
|
-
pagedNavigation,
|
|
1009
|
-
grid,
|
|
1010
|
-
weekDays: weekdays,
|
|
1011
|
-
weekStartsOn,
|
|
1012
|
-
weekdayFormat,
|
|
1013
|
-
fixedWeeks,
|
|
1014
|
-
multiple,
|
|
1015
|
-
numberOfMonths,
|
|
1016
|
-
readonly,
|
|
1017
|
-
preventDeselect,
|
|
1018
|
-
fullCalendarLabel,
|
|
1019
|
-
headingValue,
|
|
1020
|
-
isInvalid,
|
|
1021
|
-
isDateSelected,
|
|
1022
|
-
isNextButtonDisabled,
|
|
1023
|
-
isPrevButtonDisabled,
|
|
1024
|
-
isOutsideVisibleView,
|
|
1025
|
-
nextPage,
|
|
1026
|
-
prevPage,
|
|
1027
|
-
parentElement,
|
|
1028
|
-
onPlaceholderChange,
|
|
1029
|
-
onDateChange,
|
|
1030
|
-
disableDaysOutsideCurrentView
|
|
1031
|
-
});
|
|
1032
|
-
return (_ctx, _cache) => {
|
|
1033
|
-
return openBlock(), createBlock(unref(APrimitive), {
|
|
1034
|
-
ref_key: "primitiveElement",
|
|
1035
|
-
ref: primitiveElement,
|
|
1036
|
-
as: _ctx.as,
|
|
1037
|
-
"as-child": _ctx.asChild,
|
|
1038
|
-
role: "application",
|
|
1039
|
-
"aria-label": unref(fullCalendarLabel),
|
|
1040
|
-
"data-readonly": unref(readonly) ? "" : void 0,
|
|
1041
|
-
"data-disabled": unref(disabled) ? "" : void 0,
|
|
1042
|
-
"data-invalid": unref(isInvalid) ? "" : void 0,
|
|
1043
|
-
dir: unref(dir)
|
|
1044
|
-
}, {
|
|
1045
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {
|
|
1046
|
-
date: unref(placeholder),
|
|
1047
|
-
grid: unref(grid),
|
|
1048
|
-
weekDays: unref(weekdays),
|
|
1049
|
-
weekStartsOn: unref(weekStartsOn),
|
|
1050
|
-
locale: unref(locale),
|
|
1051
|
-
fixedWeeks: unref(fixedWeeks),
|
|
1052
|
-
modelValue: unref(modelValue)
|
|
1053
|
-
}), createElementVNode("div", _hoisted_1, [createElementVNode("div", _hoisted_2, toDisplayString(unref(fullCalendarLabel)), 1)])]),
|
|
1054
|
-
_: 3
|
|
1055
|
-
}, 8, [
|
|
1056
|
-
"as",
|
|
1057
|
-
"as-child",
|
|
1058
|
-
"aria-label",
|
|
1059
|
-
"data-readonly",
|
|
1060
|
-
"data-disabled",
|
|
1061
|
-
"data-invalid",
|
|
1062
|
-
"dir"
|
|
1063
|
-
]);
|
|
1064
|
-
};
|
|
1065
|
-
}
|
|
1066
|
-
});
|
|
1067
|
-
|
|
1068
|
-
//#endregion
|
|
1069
|
-
//#region src/calendar/calendar-root.vue
|
|
1070
|
-
var calendar_root_default = calendar_root_vue_vue_type_script_setup_true_lang_default;
|
|
1071
|
-
|
|
1072
|
-
//#endregion
|
|
1073
5
|
//#region src/calendar/calendar-cell.vue?vue&type=script&setup=true&lang.ts
|
|
1074
6
|
var calendar_cell_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
1075
7
|
__name: "calendar-cell",
|
|
@@ -1117,5 +49,5 @@ var calendar_cell_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */
|
|
|
1117
49
|
var calendar_cell_default = calendar_cell_vue_vue_type_script_setup_true_lang_default;
|
|
1118
50
|
|
|
1119
51
|
//#endregion
|
|
1120
|
-
export {
|
|
52
|
+
export { calendar_cell_default };
|
|
1121
53
|
//# sourceMappingURL=calendar-cell.js.map
|