@hina-ui/vue 1.7.11 → 1.7.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.js +25614 -10189
- package/dist/index.js.map +1 -1
- package/dist/shared/lib/css-time.ts +6 -0
- package/dist/shared/lib/line-clamp.ts +8 -8
- package/dist/shared/lib/tour.ts +261 -0
- package/dist/shared/locale/en-US.ts +8 -0
- package/dist/shared/locale/index.ts +1 -0
- package/dist/shared/locale/ja-JP.ts +9 -0
- package/dist/shared/locale/types.ts +8 -0
- package/dist/shared/locale/zh-CN.ts +8 -0
- package/dist/shared/primitives/combobox/LICENSE +44 -0
- package/dist/shared/primitives/combobox/index.ts +49 -0
- package/dist/shared/primitives/date/calendar-view.ts +264 -0
- package/dist/shared/primitives/date/calendar.ts +126 -0
- package/dist/shared/primitives/date/comparators.ts +144 -0
- package/dist/shared/primitives/date/field.ts +551 -0
- package/dist/shared/primitives/date/formatter.ts +110 -0
- package/dist/shared/primitives/date/parser.ts +182 -0
- package/dist/shared/primitives/date/parts.ts +16 -0
- package/dist/shared/primitives/date/picker-view.ts +186 -0
- package/dist/shared/primitives/date/placeholders.ts +485 -0
- package/dist/shared/primitives/date/range-calendar-view.ts +181 -0
- package/dist/shared/primitives/date/segment.ts +44 -0
- package/dist/shared/primitives/date/utils.ts +169 -0
- package/dist/shared/primitives/dialog/LICENSE +21 -0
- package/dist/shared/primitives/dialog/index.ts +73 -0
- package/dist/shared/primitives/grace-area/LICENSE +21 -0
- package/dist/shared/primitives/grace-area/index.ts +112 -0
- package/dist/shared/primitives/listbox/LICENSE +21 -0
- package/dist/shared/primitives/listbox/index.ts +213 -0
- package/dist/shared/primitives/menu/LICENSE +21 -0
- package/dist/shared/primitives/menu/index.ts +66 -0
- package/dist/shared/primitives/navigation-menu/LICENSE +44 -0
- package/dist/shared/primitives/navigation-menu/index.ts +125 -0
- package/dist/shared/primitives/pin-input/index.ts +394 -97
- package/dist/shared/primitives/popper/LICENSE +21 -0
- package/dist/shared/primitives/popper/index.ts +246 -0
- package/dist/shared/primitives/select/index.ts +98 -0
- package/dist/shared/primitives/tags-input/LICENSE +21 -0
- package/dist/shared/primitives/tags-input/index.ts +113 -0
- package/dist/shared/primitives/toast/LICENSE +44 -0
- package/dist/shared/primitives/toast/index.ts +106 -0
- package/dist/shared/primitives/tree/LICENSE +21 -0
- package/dist/shared/primitives/tree/index.ts +248 -0
- package/dist/shared/styles/interaction.css +6 -2
- package/dist/shared/styles/line-clamp.css +6 -2
- package/dist/shared/styles/pin-input.css +84 -0
- package/dist/shared/styles/tokens.css +2 -0
- package/dist/shared/styles/tour.css +29 -0
- package/dist/shared/variants/nav-link.ts +6 -2
- package/dist/shared/variants/pin-input.ts +26 -7
- package/dist/shared/variants/tour.ts +29 -0
- package/dist/types/shared/src/lib/css-time.d.ts +2 -0
- package/dist/types/shared/src/lib/css-time.d.ts.map +1 -0
- package/dist/types/shared/src/lib/line-clamp.d.ts.map +1 -1
- package/dist/types/shared/src/lib/tour.d.ts +81 -0
- package/dist/types/shared/src/lib/tour.d.ts.map +1 -0
- package/dist/types/shared/src/lib/virtual/filter.d.ts +6 -0
- package/dist/types/shared/src/lib/virtual/filter.d.ts.map +1 -0
- package/dist/types/shared/src/locale/en-US.d.ts.map +1 -1
- package/dist/types/shared/src/locale/index.d.ts.map +1 -1
- package/dist/types/shared/src/locale/ja-JP.d.ts.map +1 -1
- package/dist/types/shared/src/locale/types.d.ts +8 -0
- package/dist/types/shared/src/locale/types.d.ts.map +1 -1
- package/dist/types/shared/src/locale/zh-CN.d.ts.map +1 -1
- package/dist/types/shared/src/primitives/body-scroll-lock/index.d.ts +10 -0
- package/dist/types/shared/src/primitives/body-scroll-lock/index.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/collapsible/index.d.ts +1 -1
- package/dist/types/shared/src/primitives/combobox/index.d.ts +9 -0
- package/dist/types/shared/src/primitives/combobox/index.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/date/calendar-view.d.ts +53 -0
- package/dist/types/shared/src/primitives/date/calendar-view.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/date/calendar.d.ts +39 -0
- package/dist/types/shared/src/primitives/date/calendar.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/date/comparators.d.ts +31 -0
- package/dist/types/shared/src/primitives/date/comparators.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/date/field.d.ts +46 -0
- package/dist/types/shared/src/primitives/date/field.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/date/formatter.d.ts +20 -0
- package/dist/types/shared/src/primitives/date/formatter.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/date/parser.d.ts +49 -0
- package/dist/types/shared/src/primitives/date/parser.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/date/parts.d.ts +10 -0
- package/dist/types/shared/src/primitives/date/parts.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/date/picker-view.d.ts +34 -0
- package/dist/types/shared/src/primitives/date/picker-view.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/date/placeholders.d.ts +2 -0
- package/dist/types/shared/src/primitives/date/placeholders.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/date/range-calendar-view.d.ts +67 -0
- package/dist/types/shared/src/primitives/date/range-calendar-view.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/date/segment.d.ts +6 -0
- package/dist/types/shared/src/primitives/date/segment.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/date/utils.d.ts +37 -0
- package/dist/types/shared/src/primitives/date/utils.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/dialog/index.d.ts +32 -0
- package/dist/types/shared/src/primitives/dialog/index.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/focus-guards/index.d.ts +2 -0
- package/dist/types/shared/src/primitives/focus-guards/index.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/grace-area/index.d.ts +13 -0
- package/dist/types/shared/src/primitives/grace-area/index.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/listbox/index.d.ts +55 -0
- package/dist/types/shared/src/primitives/listbox/index.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/menu/index.d.ts +35 -0
- package/dist/types/shared/src/primitives/menu/index.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/navigation-menu/index.d.ts +23 -0
- package/dist/types/shared/src/primitives/navigation-menu/index.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/pin-input/index.d.ts +35 -27
- package/dist/types/shared/src/primitives/pin-input/index.d.ts.map +1 -1
- package/dist/types/shared/src/primitives/popper/index.d.ts +83 -0
- package/dist/types/shared/src/primitives/popper/index.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/select/index.d.ts +24 -0
- package/dist/types/shared/src/primitives/select/index.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/tags-input/index.d.ts +36 -0
- package/dist/types/shared/src/primitives/tags-input/index.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/toast/index.d.ts +42 -0
- package/dist/types/shared/src/primitives/toast/index.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/tree/index.d.ts +72 -0
- package/dist/types/shared/src/primitives/tree/index.d.ts.map +1 -0
- package/dist/types/shared/src/variants/nav-link.d.ts +2 -1
- package/dist/types/shared/src/variants/nav-link.d.ts.map +1 -1
- package/dist/types/shared/src/variants/pin-input.d.ts +30 -10
- package/dist/types/shared/src/variants/pin-input.d.ts.map +1 -1
- package/dist/types/shared/src/variants/tour.d.ts +10 -0
- package/dist/types/shared/src/variants/tour.d.ts.map +1 -0
- package/dist/types/vue/src/components/app-shell/AppShell.vue.d.ts +6 -6
- package/dist/types/vue/src/components/button/Button.vue.d.ts +1 -1
- package/dist/types/vue/src/components/button/Button.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/calendar/Calendar.vue.d.ts +1 -1
- package/dist/types/vue/src/components/calendar/Calendar.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/carousel/composables/useCarousel.d.ts +1 -1
- package/dist/types/vue/src/components/combobox/Combobox.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/command-palette/CommandPalettePanel.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/config-provider/ConfigProvider.vue.d.ts +20 -0
- package/dist/types/vue/src/components/config-provider/ConfigProvider.vue.d.ts.map +1 -0
- package/dist/types/vue/src/components/config-provider/types.d.ts +10 -0
- package/dist/types/vue/src/components/config-provider/types.d.ts.map +1 -0
- package/dist/types/vue/src/components/config-provider/useConfig.d.ts +2 -0
- package/dist/types/vue/src/components/config-provider/useConfig.d.ts.map +1 -0
- package/dist/types/vue/src/components/date-range-field/DateRangeField.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/date-time-picker/DateTimePicker.vue.d.ts +1 -1
- package/dist/types/vue/src/components/date-time-picker/DateTimePicker.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/dialog/ModalContent.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/dropdown-menu/DropdownMenu.vue.d.ts +20 -8
- package/dist/types/vue/src/components/dropdown-menu/DropdownMenu.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/float-button/FloatButton.vue.d.ts +2 -2
- package/dist/types/vue/src/components/hover-card/HoverCard.vue.d.ts +1 -1
- package/dist/types/vue/src/components/hover-card/HoverCard.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/icon-button/IconButton.vue.d.ts +2 -2
- package/dist/types/vue/src/components/icon-button/IconButton.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/image/Image.vue.d.ts +1 -1
- package/dist/types/vue/src/components/image/Image.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/image/composables/useImage.d.ts.map +1 -1
- package/dist/types/vue/src/components/lightbox/Lightbox.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/menubar/MenubarMenu.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/menubar/MenubarSub.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/month-grid/MonthGrid.vue.d.ts +1 -1
- package/dist/types/vue/src/components/multi-combobox/MultiCombobox.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/nav-link/NavLink.vue.d.ts +5 -10
- package/dist/types/vue/src/components/nav-link/NavLink.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/nav-link/NavLinkChild.d.ts +8 -0
- package/dist/types/vue/src/components/nav-link/NavLinkChild.d.ts.map +1 -1
- package/dist/types/vue/src/components/navigation-menu/NavigationMenu.vue.d.ts +2 -2
- package/dist/types/vue/src/components/navigation-menu/NavigationMenu.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/navigation-menu/NavigationMenuContent.vue.d.ts +6 -6
- package/dist/types/vue/src/components/pagination/composables/usePaginationWindow.d.ts +6 -6
- package/dist/types/vue/src/components/pin-input/PinInput.vue.d.ts +2 -0
- package/dist/types/vue/src/components/pin-input/PinInput.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/popconfirm/Popconfirm.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/popover/Popover.vue.d.ts +9 -9
- package/dist/types/vue/src/components/popover/Popover.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/popover/PopoverContent.vue.d.ts +9 -9
- package/dist/types/vue/src/components/popover/PopoverContent.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/range-calendar/RangeCalendar.vue.d.ts +1 -1
- package/dist/types/vue/src/components/range-calendar/RangeCalendar.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/range-slider/RangeSlider.vue.d.ts +2 -2
- package/dist/types/vue/src/components/scroll-area/ScrollArea.vue.d.ts +1 -1
- package/dist/types/vue/src/components/scroll-area/ScrollArea.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/select/Select.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/sheet/Sheet.vue.d.ts +1 -1
- package/dist/types/vue/src/components/sheet/Sheet.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/slider/Slider.vue.d.ts +2 -2
- package/dist/types/vue/src/components/split-button/SplitButton.vue.d.ts +1 -1
- package/dist/types/vue/src/components/tags-input/TagsInput.vue.d.ts +1 -1
- package/dist/types/vue/src/components/tags-input/TagsInput.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/toolbar/Toolbar.vue.d.ts +1 -1
- package/dist/types/vue/src/components/toolbar/ToolbarControl.vue.d.ts +1 -1
- package/dist/types/vue/src/components/tour/Tour.vue.d.ts +34 -0
- package/dist/types/vue/src/components/tour/Tour.vue.d.ts.map +1 -0
- package/dist/types/vue/src/components/tour/tour.variants.d.ts +2 -0
- package/dist/types/vue/src/components/tour/tour.variants.d.ts.map +1 -0
- package/dist/types/vue/src/components/tour/types.d.ts +33 -0
- package/dist/types/vue/src/components/tour/types.d.ts.map +1 -0
- package/dist/types/vue/src/components/tree/TreeRows.vue.d.ts +1 -1
- package/dist/types/vue/src/components/tree/TreeRows.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/tree/VirtualTreeWindow.vue.d.ts +1 -1
- package/dist/types/vue/src/components/tree/VirtualTreeWindow.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/tree-select/TreeSelect.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/virtual-list/composables/useVirtualList.d.ts +7 -7
- package/dist/types/vue/src/index.d.ts +5 -0
- package/dist/types/vue/src/index.d.ts.map +1 -1
- package/dist/types/vue/src/lib/anchored-overlay.d.ts +11 -5
- package/dist/types/vue/src/lib/anchored-overlay.d.ts.map +1 -1
- package/dist/types/vue/src/lib/reka/useVirtualChoices.d.ts +6 -6
- package/dist/types/vue/src/lib/reka/useVirtualChoices.d.ts.map +1 -1
- package/dist/types/vue/src/lib/reka/useVirtualTree.d.ts +1 -1
- package/dist/types/vue/src/lib/reka/useVirtualTree.d.ts.map +1 -1
- package/dist/types/vue/src/lib/useDirection.d.ts +1 -1
- package/dist/types/vue/src/primitives/alert-dialog/index.d.ts +133 -0
- package/dist/types/vue/src/primitives/alert-dialog/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/calendar/CalendarCellTrigger.d.ts +52 -0
- package/dist/types/vue/src/primitives/calendar/CalendarCellTrigger.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/calendar/CalendarGrid.d.ts +227 -0
- package/dist/types/vue/src/primitives/calendar/CalendarGrid.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/calendar/CalendarNav.d.ts +140 -0
- package/dist/types/vue/src/primitives/calendar/CalendarNav.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/calendar/CalendarRoot.d.ts +313 -0
- package/dist/types/vue/src/primitives/calendar/CalendarRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/calendar/context.d.ts +48 -0
- package/dist/types/vue/src/primitives/calendar/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/calendar/index.d.ts +6 -0
- package/dist/types/vue/src/primitives/calendar/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/calendar/useCalendar.d.ts +65 -0
- package/dist/types/vue/src/primitives/calendar/useCalendar.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/combobox/ComboboxContent.d.ts +273 -0
- package/dist/types/vue/src/primitives/combobox/ComboboxContent.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/combobox/ComboboxItem.d.ts +166 -0
- package/dist/types/vue/src/primitives/combobox/ComboboxItem.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/combobox/ComboboxRoot.d.ts +376 -0
- package/dist/types/vue/src/primitives/combobox/ComboboxRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/combobox/context.d.ts +68 -0
- package/dist/types/vue/src/primitives/combobox/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/combobox/index.d.ts +5 -0
- package/dist/types/vue/src/primitives/combobox/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/context-menu/index.d.ts +949 -0
- package/dist/types/vue/src/primitives/context-menu/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/date-field/DateFieldInput.d.ts +40 -0
- package/dist/types/vue/src/primitives/date-field/DateFieldInput.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/date-field/DateFieldRoot.d.ts +233 -0
- package/dist/types/vue/src/primitives/date-field/DateFieldRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/date-field/context.d.ts +26 -0
- package/dist/types/vue/src/primitives/date-field/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/date-field/index.d.ts +4 -0
- package/dist/types/vue/src/primitives/date-field/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/date-field/segmentInput.d.ts +36 -0
- package/dist/types/vue/src/primitives/date-field/segmentInput.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/date-field/useDateFieldSegment.d.ts +32 -0
- package/dist/types/vue/src/primitives/date-field/useDateFieldSegment.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/date-range-field/DateRangeFieldInput.d.ts +51 -0
- package/dist/types/vue/src/primitives/date-range-field/DateRangeFieldInput.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/date-range-field/DateRangeFieldRoot.d.ts +221 -0
- package/dist/types/vue/src/primitives/date-range-field/DateRangeFieldRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/date-range-field/context.d.ts +31 -0
- package/dist/types/vue/src/primitives/date-range-field/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/date-range-field/index.d.ts +4 -0
- package/dist/types/vue/src/primitives/date-range-field/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/dialog/DialogContent.d.ts +54 -0
- package/dist/types/vue/src/primitives/dialog/DialogContent.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/dialog/DialogContentImpl.d.ts +65 -0
- package/dist/types/vue/src/primitives/dialog/DialogContentImpl.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/dialog/DialogOverlay.d.ts +40 -0
- package/dist/types/vue/src/primitives/dialog/DialogOverlay.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/dialog/DialogPortal.d.ts +49 -0
- package/dist/types/vue/src/primitives/dialog/DialogPortal.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/dialog/DialogRoot.d.ts +62 -0
- package/dist/types/vue/src/primitives/dialog/DialogRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/dialog/DialogText.d.ts +85 -0
- package/dist/types/vue/src/primitives/dialog/DialogText.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/dialog/DialogTrigger.d.ts +33 -0
- package/dist/types/vue/src/primitives/dialog/DialogTrigger.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/dialog/context.d.ts +16 -0
- package/dist/types/vue/src/primitives/dialog/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/dialog/index.d.ts +8 -0
- package/dist/types/vue/src/primitives/dialog/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/dismissable-layer/DismissableLayer.d.ts +76 -0
- package/dist/types/vue/src/primitives/dismissable-layer/DismissableLayer.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/dismissable-layer/DismissableLayerBranch.d.ts +26 -0
- package/dist/types/vue/src/primitives/dismissable-layer/DismissableLayerBranch.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/dismissable-layer/index.d.ts +3 -0
- package/dist/types/vue/src/primitives/dismissable-layer/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/dropdown-menu/index.d.ts +1033 -0
- package/dist/types/vue/src/primitives/dropdown-menu/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/focus-scope/FocusScope.d.ts +72 -0
- package/dist/types/vue/src/primitives/focus-scope/FocusScope.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/focus-scope/index.d.ts +2 -0
- package/dist/types/vue/src/primitives/focus-scope/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/hover-card/index.d.ts +442 -0
- package/dist/types/vue/src/primitives/hover-card/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/listbox/ListboxContent.d.ts +30 -0
- package/dist/types/vue/src/primitives/listbox/ListboxContent.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/listbox/ListboxFilter.d.ts +67 -0
- package/dist/types/vue/src/primitives/listbox/ListboxFilter.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/listbox/ListboxGroup.d.ts +82 -0
- package/dist/types/vue/src/primitives/listbox/ListboxGroup.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/listbox/ListboxItem.d.ts +58 -0
- package/dist/types/vue/src/primitives/listbox/ListboxItem.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/{pin-input/PinInputRoot.d.ts → listbox/ListboxRoot.d.ts} +60 -53
- package/dist/types/vue/src/primitives/listbox/ListboxRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/listbox/context.d.ts +49 -0
- package/dist/types/vue/src/primitives/listbox/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/listbox/index.d.ts +7 -0
- package/dist/types/vue/src/primitives/listbox/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/menu/MenuContentImpl.d.ts +394 -0
- package/dist/types/vue/src/primitives/menu/MenuContentImpl.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/menu/MenuItem.d.ts +396 -0
- package/dist/types/vue/src/primitives/menu/MenuItem.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/menu/MenuRoot.d.ts +746 -0
- package/dist/types/vue/src/primitives/menu/MenuRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/menu/context.d.ts +74 -0
- package/dist/types/vue/src/primitives/menu/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/menu/index.d.ts +5 -0
- package/dist/types/vue/src/primitives/menu/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/menu/wrap.d.ts +14 -0
- package/dist/types/vue/src/primitives/menu/wrap.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/menubar/index.d.ts +1036 -0
- package/dist/types/vue/src/primitives/menubar/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/navigation-menu/NavigationMenuContent.d.ts +101 -0
- package/dist/types/vue/src/primitives/navigation-menu/NavigationMenuContent.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/navigation-menu/NavigationMenuParts.d.ts +165 -0
- package/dist/types/vue/src/primitives/navigation-menu/NavigationMenuParts.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/navigation-menu/NavigationMenuRoot.d.ts +187 -0
- package/dist/types/vue/src/primitives/navigation-menu/NavigationMenuRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/navigation-menu/context.d.ts +40 -0
- package/dist/types/vue/src/primitives/navigation-menu/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/navigation-menu/index.d.ts +5 -0
- package/dist/types/vue/src/primitives/navigation-menu/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/number-field/NumberFieldRoot.vue.d.ts +1 -1
- package/dist/types/vue/src/primitives/number-field/NumberFieldRoot.vue.d.ts.map +1 -1
- package/dist/types/vue/src/primitives/picker/createPicker.d.ts +247 -0
- package/dist/types/vue/src/primitives/picker/createPicker.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/picker/index.d.ts +414 -0
- package/dist/types/vue/src/primitives/picker/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/popover/PopoverContent.d.ts +257 -0
- package/dist/types/vue/src/primitives/popover/PopoverContent.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/popover/PopoverParts.d.ts +183 -0
- package/dist/types/vue/src/primitives/popover/PopoverParts.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/popover/PopoverRoot.d.ts +50 -0
- package/dist/types/vue/src/primitives/popover/PopoverRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/popover/context.d.ts +13 -0
- package/dist/types/vue/src/primitives/popover/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/popover/index.d.ts +5 -0
- package/dist/types/vue/src/primitives/popover/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/popper/Arrow.d.ts +67 -0
- package/dist/types/vue/src/primitives/popper/Arrow.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/popper/PopperAnchor.d.ts +40 -0
- package/dist/types/vue/src/primitives/popper/PopperAnchor.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/popper/PopperArrow.d.ts +61 -0
- package/dist/types/vue/src/primitives/popper/PopperArrow.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/popper/PopperContent.d.ts +370 -0
- package/dist/types/vue/src/primitives/popper/PopperContent.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/popper/PopperRoot.d.ts +4 -0
- package/dist/types/vue/src/primitives/popper/PopperRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/popper/context.d.ts +17 -0
- package/dist/types/vue/src/primitives/popper/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/popper/index.d.ts +7 -0
- package/dist/types/vue/src/primitives/popper/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/radio-group/RadioGroupRoot.d.ts +1 -1
- package/dist/types/vue/src/primitives/range-calendar/RangeCalendarCellTrigger.d.ts +52 -0
- package/dist/types/vue/src/primitives/range-calendar/RangeCalendarCellTrigger.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/range-calendar/RangeCalendarGrid.d.ts +252 -0
- package/dist/types/vue/src/primitives/range-calendar/RangeCalendarGrid.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/range-calendar/RangeCalendarRoot.d.ts +345 -0
- package/dist/types/vue/src/primitives/range-calendar/RangeCalendarRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/range-calendar/context.d.ts +64 -0
- package/dist/types/vue/src/primitives/range-calendar/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/range-calendar/index.d.ts +6 -0
- package/dist/types/vue/src/primitives/range-calendar/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/rating/RatingRoot.d.ts +1 -1
- package/dist/types/vue/src/primitives/roving-focus/RovingFocusGroup.vue.d.ts +3 -3
- package/dist/types/vue/src/primitives/roving-focus/RovingFocusGroup.vue.d.ts.map +1 -1
- package/dist/types/vue/src/primitives/select/SelectContent.d.ts +265 -0
- package/dist/types/vue/src/primitives/select/SelectContent.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/select/SelectItem.d.ts +107 -0
- package/dist/types/vue/src/primitives/select/SelectItem.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/select/SelectRoot.d.ts +275 -0
- package/dist/types/vue/src/primitives/select/SelectRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/select/context.d.ts +73 -0
- package/dist/types/vue/src/primitives/select/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/select/index.d.ts +5 -0
- package/dist/types/vue/src/primitives/select/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/slider/SliderRoot.d.ts +1 -1
- package/dist/types/vue/src/primitives/stepper/StepperRoot.d.ts +1 -1
- package/dist/types/vue/src/primitives/{pin-input/PinInputInput.d.ts → tags-input/TagsInputInput.d.ts} +23 -14
- package/dist/types/vue/src/primitives/tags-input/TagsInputInput.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/tags-input/TagsInputItem.d.ts +76 -0
- package/dist/types/vue/src/primitives/tags-input/TagsInputItem.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/tags-input/TagsInputRoot.d.ts +196 -0
- package/dist/types/vue/src/primitives/tags-input/TagsInputRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/tags-input/context.d.ts +30 -0
- package/dist/types/vue/src/primitives/tags-input/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/tags-input/index.d.ts +5 -0
- package/dist/types/vue/src/primitives/tags-input/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/teleport/Teleport.d.ts +49 -0
- package/dist/types/vue/src/primitives/teleport/Teleport.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/teleport/index.d.ts +2 -0
- package/dist/types/vue/src/primitives/teleport/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/time-field/TimeFieldInput.d.ts +40 -0
- package/dist/types/vue/src/primitives/time-field/TimeFieldInput.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/time-field/TimeFieldRoot.d.ts +220 -0
- package/dist/types/vue/src/primitives/time-field/TimeFieldRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/time-field/context.d.ts +25 -0
- package/dist/types/vue/src/primitives/time-field/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/time-field/index.d.ts +5 -0
- package/dist/types/vue/src/primitives/time-field/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/toast/ToastProvider.d.ts +177 -0
- package/dist/types/vue/src/primitives/toast/ToastProvider.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/toast/ToastRoot.d.ts +233 -0
- package/dist/types/vue/src/primitives/toast/ToastRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/toast/index.d.ts +3 -0
- package/dist/types/vue/src/primitives/toast/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/toolbar/ToolbarRoot.d.ts +1 -1
- package/dist/types/vue/src/primitives/tooltip/TooltipParts.d.ts +267 -0
- package/dist/types/vue/src/primitives/tooltip/TooltipParts.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/tooltip/TooltipRoot.d.ts +162 -0
- package/dist/types/vue/src/primitives/tooltip/TooltipRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/tooltip/context.d.ts +32 -0
- package/dist/types/vue/src/primitives/tooltip/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/tooltip/index.d.ts +4 -0
- package/dist/types/vue/src/primitives/tooltip/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/tree/TreeItem.d.ts +40 -0
- package/dist/types/vue/src/primitives/tree/TreeItem.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/tree/TreeRoot.d.ts +50 -0
- package/dist/types/vue/src/primitives/tree/TreeRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/tree/context.d.ts +29 -0
- package/dist/types/vue/src/primitives/tree/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/tree/index.d.ts +5 -0
- package/dist/types/vue/src/primitives/tree/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/utils/config.d.ts +14 -1
- package/dist/types/vue/src/primitives/utils/config.d.ts.map +1 -1
- package/dist/types/vue/src/primitives/utils/defu.d.ts +2 -0
- package/dist/types/vue/src/primitives/utils/defu.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/utils/env.d.ts +2 -0
- package/dist/types/vue/src/primitives/utils/env.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/utils/layers.d.ts +5 -0
- package/dist/types/vue/src/primitives/utils/layers.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/utils/propsWithoutDefaults.d.ts +2 -0
- package/dist/types/vue/src/primitives/utils/propsWithoutDefaults.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/utils/useBodyScrollLock.d.ts +2 -0
- package/dist/types/vue/src/primitives/utils/useBodyScrollLock.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/utils/useDirection.d.ts +1 -1
- package/dist/types/vue/src/primitives/utils/useDirection.d.ts.map +1 -1
- package/dist/types/vue/src/primitives/utils/useFocusGuards.d.ts +2 -0
- package/dist/types/vue/src/primitives/utils/useFocusGuards.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/utils/useGraceArea.d.ts +6 -0
- package/dist/types/vue/src/primitives/utils/useGraceArea.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/utils/useHideOthers.d.ts +4 -0
- package/dist/types/vue/src/primitives/utils/useHideOthers.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/utils/useIsUsingKeyboard.d.ts +4 -0
- package/dist/types/vue/src/primitives/utils/useIsUsingKeyboard.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/utils/useLocale.d.ts +3 -0
- package/dist/types/vue/src/primitives/utils/useLocale.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/utils/useVModel.d.ts +1 -0
- package/dist/types/vue/src/primitives/utils/useVModel.d.ts.map +1 -1
- package/dist/types/vue/src/primitives/visually-hidden/VisuallyHiddenInput.d.ts +1 -1
- package/dist/types/vue/src/singletons.d.ts +1 -1
- package/dist/types/vue/src/singletons.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/components/alert-dialog/AlertDialog.vue +1 -1
- package/src/components/calendar/Calendar.vue +1 -1
- package/src/components/calendar/CalendarLevels.vue +1 -1
- package/src/components/combobox/Combobox.vue +6 -1
- package/src/components/combobox/ComboboxList.vue +1 -1
- package/src/components/command-palette/CommandPalette.vue +2 -2
- package/src/components/command-palette/CommandPaletteInput.vue +1 -1
- package/src/components/command-palette/CommandPaletteItem.vue +1 -1
- package/src/components/command-palette/CommandPalettePanel.vue +6 -1
- package/src/components/config-provider/ConfigProvider.vue +24 -0
- package/src/components/config-provider/types.ts +11 -0
- package/src/components/config-provider/useConfig.ts +5 -0
- package/src/components/context-menu/ContextMenu.vue +1 -1
- package/src/components/context-menu/ContextMenuCheckboxItem.vue +1 -1
- package/src/components/context-menu/ContextMenuGroup.vue +1 -1
- package/src/components/context-menu/ContextMenuItem.vue +1 -1
- package/src/components/context-menu/ContextMenuLabel.vue +1 -1
- package/src/components/context-menu/ContextMenuRadioGroup.vue +1 -1
- package/src/components/context-menu/ContextMenuRadioItem.vue +1 -1
- package/src/components/context-menu/ContextMenuSeparator.vue +1 -1
- package/src/components/context-menu/ContextMenuSub.vue +1 -1
- package/src/components/data-table/DataTableDragPreview.vue +1 -1
- package/src/components/date-field/DateField.vue +1 -1
- package/src/components/date-picker/DatePicker.vue +1 -1
- package/src/components/date-range-field/DateRangeField.vue +5 -1
- package/src/components/date-range-picker/DateRangePicker.vue +1 -1
- package/src/components/date-time-picker/DateTimePicker.vue +1 -1
- package/src/components/dialog/Dialog.vue +1 -1
- package/src/components/dialog/ModalContent.vue +2 -1
- package/src/components/drawer/Drawer.vue +1 -1
- package/src/components/dropdown-menu/DropdownMenu.vue +1 -1
- package/src/components/dropdown-menu/DropdownMenuCheckboxItem.vue +4 -1
- package/src/components/dropdown-menu/DropdownMenuGroup.vue +1 -1
- package/src/components/dropdown-menu/DropdownMenuItem.vue +1 -1
- package/src/components/dropdown-menu/DropdownMenuLabel.vue +1 -1
- package/src/components/dropdown-menu/DropdownMenuRadioGroup.vue +1 -1
- package/src/components/dropdown-menu/DropdownMenuRadioItem.vue +1 -1
- package/src/components/dropdown-menu/DropdownMenuSeparator.vue +1 -1
- package/src/components/dropdown-menu/DropdownMenuSub.vue +1 -1
- package/src/components/hover-card/HoverCard.vue +6 -1
- package/src/components/hover-card/composables/useHoverCardAnchor.ts +1 -1
- package/src/components/icon-button/IconButton.vue +1 -1
- package/src/components/image/composables/useImage.ts +2 -1
- package/src/components/lightbox/Lightbox.vue +2 -1
- package/src/components/lightbox/LightboxChrome.vue +1 -1
- package/src/components/listbox/Listbox.vue +1 -1
- package/src/components/listbox/ListboxOptionContent.vue +1 -1
- package/src/components/menubar/Menubar.vue +1 -1
- package/src/components/menubar/MenubarCheckboxItem.vue +1 -1
- package/src/components/menubar/MenubarGroup.vue +1 -1
- package/src/components/menubar/MenubarItem.vue +1 -1
- package/src/components/menubar/MenubarLabel.vue +1 -1
- package/src/components/menubar/MenubarMenu.vue +6 -1
- package/src/components/menubar/MenubarRadioGroup.vue +1 -1
- package/src/components/menubar/MenubarRadioItem.vue +1 -1
- package/src/components/menubar/MenubarSeparator.vue +1 -1
- package/src/components/menubar/MenubarSub.vue +6 -1
- package/src/components/multi-combobox/MultiCombobox.vue +6 -1
- package/src/components/multi-select/MultiSelect.vue +1 -1
- package/src/components/nav-link/NavLink.vue +21 -2
- package/src/components/nav-link/NavLinkChild.ts +2 -0
- package/src/components/navigation-menu/NavigationMenu.vue +5 -1
- package/src/components/navigation-menu/NavigationMenuContent.vue +2 -2
- package/src/components/navigation-menu/NavigationMenuItem.vue +1 -1
- package/src/components/navigation-menu/NavigationMenuLink.vue +1 -1
- package/src/components/navigation-menu/NavigationMenuTrigger.vue +1 -1
- package/src/components/number-input/NumberInput.vue +1 -1
- package/src/components/pagination/PaginationPopup.vue +1 -1
- package/src/components/pin-input/PinInput.vue +103 -33
- package/src/components/popconfirm/Popconfirm.vue +6 -1
- package/src/components/popover/Popover.vue +6 -1
- package/src/components/popover/PopoverContent.vue +2 -2
- package/src/components/popover/composables/usePopoverCloseFocus.ts +1 -1
- package/src/components/range-calendar/RangeCalendar.vue +1 -1
- package/src/components/select/Select.vue +2 -1
- package/src/components/select/SelectList.vue +1 -1
- package/src/components/sheet/Sheet.vue +1 -1
- package/src/components/slider/SliderHandle.vue +1 -1
- package/src/components/tags-input/TagsInput.vue +1 -1
- package/src/components/tags-input/TagsInputChip.vue +1 -1
- package/src/components/time/Time.vue +1 -1
- package/src/components/time-field/TimeField.vue +1 -1
- package/src/components/toast/Toaster.vue +1 -1
- package/src/components/toggle/Toggle.vue +1 -1
- package/src/components/toolbar/ToolbarControl.vue +1 -1
- package/src/components/tooltip/Tooltip.vue +1 -1
- package/src/components/tooltip/TooltipBubble.vue +1 -1
- package/src/components/tooltip/TooltipDirectiveRoot.ts +1 -1
- package/src/components/tooltip/TooltipProvider.vue +1 -1
- package/src/components/tooltip/composables/useTooltipTarget.ts +1 -1
- package/src/components/tour/Tour.vue +447 -0
- package/src/components/tour/tour.variants.ts +1 -0
- package/src/components/tour/types.ts +43 -0
- package/src/components/tree/Tree.vue +1 -1
- package/src/components/tree/TreeRows.vue +1 -1
- package/src/components/tree/VirtualTreeWindow.vue +1 -1
- package/src/components/tree-select/TreeSelect.vue +2 -3
- package/src/components/tree-select/composables/useTreeSelect.ts +2 -2
- package/src/index.ts +15 -0
- package/src/lib/anchored-overlay.ts +2 -1
- package/src/lib/dialog-focus.ts +1 -1
- package/src/lib/reka/useVirtualChoices.ts +7 -8
- package/src/lib/reka/useVirtualTree.ts +1 -1
- package/src/primitives/alert-dialog/index.ts +166 -0
- package/src/primitives/calendar/CalendarCellTrigger.ts +190 -0
- package/src/primitives/calendar/CalendarGrid.ts +101 -0
- package/src/primitives/calendar/CalendarNav.ts +88 -0
- package/src/primitives/calendar/CalendarRoot.ts +324 -0
- package/src/primitives/calendar/LICENSE +44 -0
- package/src/primitives/calendar/context.ts +55 -0
- package/src/primitives/calendar/index.ts +12 -0
- package/src/primitives/calendar/useCalendar.ts +164 -0
- package/src/primitives/combobox/ComboboxContent.ts +199 -0
- package/src/primitives/combobox/ComboboxItem.ts +209 -0
- package/src/primitives/combobox/ComboboxRoot.ts +489 -0
- package/src/primitives/combobox/LICENSE +44 -0
- package/src/primitives/combobox/context.ts +47 -0
- package/src/primitives/combobox/index.ts +23 -0
- package/src/primitives/context-menu/LICENSE +44 -0
- package/src/primitives/context-menu/index.ts +388 -0
- package/src/primitives/date-field/DateFieldInput.ts +29 -0
- package/src/primitives/date-field/DateFieldRoot.ts +343 -0
- package/src/primitives/date-field/LICENSE +44 -0
- package/src/primitives/date-field/context.ts +29 -0
- package/src/primitives/date-field/index.ts +3 -0
- package/src/primitives/date-field/segmentInput.ts +96 -0
- package/src/primitives/date-field/useDateFieldSegment.ts +63 -0
- package/src/primitives/date-range-field/DateRangeFieldInput.ts +42 -0
- package/src/primitives/date-range-field/DateRangeFieldRoot.ts +389 -0
- package/src/primitives/date-range-field/LICENSE +44 -0
- package/src/primitives/date-range-field/context.ts +36 -0
- package/src/primitives/date-range-field/index.ts +12 -0
- package/src/primitives/dialog/DialogContent.ts +193 -0
- package/src/primitives/dialog/DialogContentImpl.ts +114 -0
- package/src/primitives/dialog/DialogOverlay.ts +99 -0
- package/src/primitives/dialog/DialogPortal.ts +33 -0
- package/src/primitives/dialog/DialogRoot.ts +61 -0
- package/src/primitives/dialog/DialogText.ts +59 -0
- package/src/primitives/dialog/DialogTrigger.ts +46 -0
- package/src/primitives/dialog/LICENSE +44 -0
- package/src/primitives/dialog/context.ts +19 -0
- package/src/primitives/dialog/index.ts +7 -0
- package/src/primitives/dismissable-layer/DismissableLayer.ts +212 -0
- package/src/primitives/dismissable-layer/DismissableLayerBranch.ts +36 -0
- package/src/primitives/dismissable-layer/LICENSE +44 -0
- package/src/primitives/dismissable-layer/index.ts +11 -0
- package/src/primitives/dropdown-menu/LICENSE +44 -0
- package/src/primitives/dropdown-menu/index.ts +344 -0
- package/src/primitives/focus-scope/FocusScope.ts +118 -0
- package/src/primitives/focus-scope/LICENSE +44 -0
- package/src/primitives/focus-scope/index.ts +1 -0
- package/src/primitives/hover-card/LICENSE +44 -0
- package/src/primitives/hover-card/index.ts +357 -0
- package/src/primitives/listbox/LICENSE +44 -0
- package/src/primitives/listbox/ListboxContent.ts +80 -0
- package/src/primitives/listbox/ListboxFilter.ts +130 -0
- package/src/primitives/listbox/ListboxGroup.ts +67 -0
- package/src/primitives/listbox/ListboxItem.ts +125 -0
- package/src/primitives/listbox/ListboxRoot.ts +376 -0
- package/src/primitives/listbox/context.ts +62 -0
- package/src/primitives/listbox/index.ts +17 -0
- package/src/primitives/menu/LICENSE +44 -0
- package/src/primitives/menu/MenuContentImpl.ts +304 -0
- package/src/primitives/menu/MenuItem.ts +495 -0
- package/src/primitives/menu/MenuRoot.ts +295 -0
- package/src/primitives/menu/context.ts +72 -0
- package/src/primitives/menu/index.ts +26 -0
- package/src/primitives/menu/wrap.ts +53 -0
- package/src/primitives/menubar/index.ts +494 -0
- package/src/primitives/navigation-menu/LICENSE +44 -0
- package/src/primitives/navigation-menu/NavigationMenuContent.ts +375 -0
- package/src/primitives/navigation-menu/NavigationMenuParts.ts +432 -0
- package/src/primitives/navigation-menu/NavigationMenuRoot.ts +260 -0
- package/src/primitives/navigation-menu/context.ts +50 -0
- package/src/primitives/navigation-menu/index.ts +20 -0
- package/src/primitives/number-field/__snapshots__/NumberField.test.ts.snap +288 -0
- package/src/primitives/picker/LICENSE +44 -0
- package/src/primitives/picker/createPicker.ts +618 -0
- package/src/primitives/picker/index.ts +26 -0
- package/src/primitives/popover/LICENSE +44 -0
- package/src/primitives/popover/PopoverContent.ts +243 -0
- package/src/primitives/popover/PopoverParts.ts +143 -0
- package/src/primitives/popover/PopoverRoot.ts +58 -0
- package/src/primitives/popover/context.ts +16 -0
- package/src/primitives/popover/index.ts +14 -0
- package/src/primitives/popper/Arrow.ts +49 -0
- package/src/primitives/popper/LICENSE +44 -0
- package/src/primitives/popper/PopperAnchor.ts +33 -0
- package/src/primitives/popper/PopperArrow.ts +77 -0
- package/src/primitives/popper/PopperContent.ts +262 -0
- package/src/primitives/popper/PopperRoot.ts +16 -0
- package/src/primitives/popper/context.ts +23 -0
- package/src/primitives/popper/index.ts +11 -0
- package/src/primitives/range-calendar/LICENSE +44 -0
- package/src/primitives/range-calendar/RangeCalendarCellTrigger.ts +241 -0
- package/src/primitives/range-calendar/RangeCalendarGrid.ts +90 -0
- package/src/primitives/range-calendar/RangeCalendarRoot.ts +413 -0
- package/src/primitives/range-calendar/context.ts +71 -0
- package/src/primitives/range-calendar/index.ts +21 -0
- package/src/primitives/select/LICENSE +44 -0
- package/src/primitives/select/SelectContent.ts +330 -0
- package/src/primitives/select/SelectItem.ts +204 -0
- package/src/primitives/select/SelectRoot.ts +408 -0
- package/src/primitives/select/context.ts +74 -0
- package/src/primitives/select/index.ts +17 -0
- package/src/primitives/tags-input/LICENSE +44 -0
- package/src/primitives/tags-input/TagsInputInput.ts +148 -0
- package/src/primitives/tags-input/TagsInputItem.ts +105 -0
- package/src/primitives/tags-input/TagsInputRoot.ts +215 -0
- package/src/primitives/tags-input/context.ts +36 -0
- package/src/primitives/tags-input/index.ts +9 -0
- package/src/primitives/teleport/LICENSE +44 -0
- package/src/primitives/teleport/Teleport.ts +41 -0
- package/src/primitives/teleport/index.ts +1 -0
- package/src/primitives/time-field/LICENSE +44 -0
- package/src/primitives/time-field/TimeFieldInput.ts +29 -0
- package/src/primitives/time-field/TimeFieldRoot.ts +379 -0
- package/src/primitives/time-field/context.ts +28 -0
- package/src/primitives/time-field/index.ts +4 -0
- package/src/primitives/toast/LICENSE +44 -0
- package/src/primitives/toast/ToastProvider.ts +311 -0
- package/src/primitives/toast/ToastRoot.ts +518 -0
- package/src/primitives/toast/index.ts +16 -0
- package/src/primitives/tooltip/LICENSE +44 -0
- package/src/primitives/tooltip/TooltipParts.ts +351 -0
- package/src/primitives/tooltip/TooltipRoot.ts +170 -0
- package/src/primitives/tooltip/context.ts +39 -0
- package/src/primitives/tooltip/index.ts +9 -0
- package/src/primitives/tree/LICENSE +44 -0
- package/src/primitives/tree/TreeItem.ts +256 -0
- package/src/primitives/tree/TreeRoot.ts +273 -0
- package/src/primitives/tree/context.ts +34 -0
- package/src/primitives/tree/index.ts +4 -0
- package/src/primitives/utils/config.ts +19 -1
- package/src/primitives/utils/defu.ts +26 -0
- package/src/primitives/utils/env.ts +5 -0
- package/src/primitives/utils/layers.ts +4 -0
- package/src/primitives/utils/propsWithoutDefaults.ts +8 -0
- package/src/primitives/utils/useBodyScrollLock.ts +29 -0
- package/src/primitives/utils/useFocusGuards.ts +10 -0
- package/src/primitives/utils/useGraceArea.ts +85 -0
- package/src/primitives/utils/useHideOthers.ts +18 -0
- package/src/primitives/utils/useIsUsingKeyboard.ts +25 -0
- package/src/primitives/utils/useLocale.ts +7 -0
- package/src/primitives/utils/useVModel.ts +8 -3
- package/src/singletons.ts +1 -1
- package/dist/types/vue/src/primitives/pin-input/PinInputInput.d.ts.map +0 -1
- package/dist/types/vue/src/primitives/pin-input/PinInputRoot.d.ts.map +0 -1
- package/dist/types/vue/src/primitives/pin-input/context.d.ts +0 -20
- package/dist/types/vue/src/primitives/pin-input/context.d.ts.map +0 -1
- package/dist/types/vue/src/primitives/pin-input/index.d.ts +0 -4
- package/dist/types/vue/src/primitives/pin-input/index.d.ts.map +0 -1
- package/src/primitives/pin-input/PinInputInput.ts +0 -218
- package/src/primitives/pin-input/PinInputRoot.ts +0 -136
- package/src/primitives/pin-input/context.ts +0 -24
- package/src/primitives/pin-input/index.ts +0 -3
- /package/dist/shared/primitives/{pin-input → date}/LICENSE +0 -0
- /package/src/primitives/{pin-input → alert-dialog}/LICENSE +0 -0
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import type { PageFunction } from '../../../../shared/src/primitives/date/calendar-view';
|
|
3
|
+
import { type PrimitiveProps } from '../primitive';
|
|
4
|
+
interface PagingContext {
|
|
5
|
+
disabled: {
|
|
6
|
+
value: boolean;
|
|
7
|
+
};
|
|
8
|
+
nextPage: (page?: PageFunction) => void;
|
|
9
|
+
prevPage: (page?: PageFunction) => void;
|
|
10
|
+
isNextButtonDisabled: (page?: PageFunction) => boolean;
|
|
11
|
+
isPrevButtonDisabled: (page?: PageFunction) => boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare function createPagingButton(name: string, direction: 'next' | 'prev', inject: () => PagingContext, unit?: 'page' | 'year'): import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
14
|
+
nextPage: {
|
|
15
|
+
type: PropType<PageFunction>;
|
|
16
|
+
required: false;
|
|
17
|
+
};
|
|
18
|
+
prevPage: {
|
|
19
|
+
type: PropType<PageFunction>;
|
|
20
|
+
required: false;
|
|
21
|
+
};
|
|
22
|
+
asChild: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
required: false;
|
|
25
|
+
};
|
|
26
|
+
as: {
|
|
27
|
+
type: PropType<PrimitiveProps["as"]>;
|
|
28
|
+
required: false;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
+
nextPage: {
|
|
35
|
+
type: PropType<PageFunction>;
|
|
36
|
+
required: false;
|
|
37
|
+
};
|
|
38
|
+
prevPage: {
|
|
39
|
+
type: PropType<PageFunction>;
|
|
40
|
+
required: false;
|
|
41
|
+
};
|
|
42
|
+
asChild: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
required: false;
|
|
45
|
+
};
|
|
46
|
+
as: {
|
|
47
|
+
type: PropType<PrimitiveProps["as"]>;
|
|
48
|
+
required: false;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
}>> & Readonly<{}>, {
|
|
52
|
+
as: import("../primitive").AsTag | import("vue").Component | undefined;
|
|
53
|
+
asChild: boolean;
|
|
54
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
55
|
+
export declare const CalendarNext: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
56
|
+
nextPage: {
|
|
57
|
+
type: PropType<PageFunction>;
|
|
58
|
+
required: false;
|
|
59
|
+
};
|
|
60
|
+
prevPage: {
|
|
61
|
+
type: PropType<PageFunction>;
|
|
62
|
+
required: false;
|
|
63
|
+
};
|
|
64
|
+
asChild: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
required: false;
|
|
67
|
+
};
|
|
68
|
+
as: {
|
|
69
|
+
type: PropType<PrimitiveProps["as"]>;
|
|
70
|
+
required: false;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
74
|
+
[key: string]: any;
|
|
75
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
76
|
+
nextPage: {
|
|
77
|
+
type: PropType<PageFunction>;
|
|
78
|
+
required: false;
|
|
79
|
+
};
|
|
80
|
+
prevPage: {
|
|
81
|
+
type: PropType<PageFunction>;
|
|
82
|
+
required: false;
|
|
83
|
+
};
|
|
84
|
+
asChild: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
required: false;
|
|
87
|
+
};
|
|
88
|
+
as: {
|
|
89
|
+
type: PropType<PrimitiveProps["as"]>;
|
|
90
|
+
required: false;
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
93
|
+
}>> & Readonly<{}>, {
|
|
94
|
+
as: import("../primitive").AsTag | import("vue").Component | undefined;
|
|
95
|
+
asChild: boolean;
|
|
96
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
97
|
+
export declare const CalendarPrev: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
98
|
+
nextPage: {
|
|
99
|
+
type: PropType<PageFunction>;
|
|
100
|
+
required: false;
|
|
101
|
+
};
|
|
102
|
+
prevPage: {
|
|
103
|
+
type: PropType<PageFunction>;
|
|
104
|
+
required: false;
|
|
105
|
+
};
|
|
106
|
+
asChild: {
|
|
107
|
+
type: BooleanConstructor;
|
|
108
|
+
required: false;
|
|
109
|
+
};
|
|
110
|
+
as: {
|
|
111
|
+
type: PropType<PrimitiveProps["as"]>;
|
|
112
|
+
required: false;
|
|
113
|
+
default: string;
|
|
114
|
+
};
|
|
115
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
116
|
+
[key: string]: any;
|
|
117
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
118
|
+
nextPage: {
|
|
119
|
+
type: PropType<PageFunction>;
|
|
120
|
+
required: false;
|
|
121
|
+
};
|
|
122
|
+
prevPage: {
|
|
123
|
+
type: PropType<PageFunction>;
|
|
124
|
+
required: false;
|
|
125
|
+
};
|
|
126
|
+
asChild: {
|
|
127
|
+
type: BooleanConstructor;
|
|
128
|
+
required: false;
|
|
129
|
+
};
|
|
130
|
+
as: {
|
|
131
|
+
type: PropType<PrimitiveProps["as"]>;
|
|
132
|
+
required: false;
|
|
133
|
+
default: string;
|
|
134
|
+
};
|
|
135
|
+
}>> & Readonly<{}>, {
|
|
136
|
+
as: import("../primitive").AsTag | import("vue").Component | undefined;
|
|
137
|
+
asChild: boolean;
|
|
138
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
139
|
+
export {};
|
|
140
|
+
//# sourceMappingURL=CalendarNav.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarNav.d.ts","sourceRoot":"","sources":["../../../../../../src/primitives/calendar/CalendarNav.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,QAAQ,EACd,MAAM,KAAK,CAAA;AACZ,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sDAAsD,CAAA;AACxF,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,cAAc,CAAA;AAG7D,UAAU,aAAa;IACrB,QAAQ,EAAE;QAAE,KAAK,EAAE,OAAO,CAAA;KAAE,CAAA;IAC5B,QAAQ,EAAE,CAAC,IAAI,CAAC,EAAE,YAAY,KAAK,IAAI,CAAA;IACvC,QAAQ,EAAE,CAAC,IAAI,CAAC,EAAE,YAAY,KAAK,IAAI,CAAA;IACvC,oBAAoB,EAAE,CAAC,IAAI,CAAC,EAAE,YAAY,KAAK,OAAO,CAAA;IACtD,oBAAoB,EAAE,CAAC,IAAI,CAAC,EAAE,YAAY,KAAK,OAAO,CAAA;CACvD;AAED,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,MAAM,EACZ,SAAS,EAAE,MAAM,GAAG,MAAM,EAC1B,MAAM,EAAE,MAAM,aAAa,EAC3B,IAAI,GAAE,MAAM,GAAG,MAAe;cAgBhB;QAAE,IAAI,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC;QAAC,QAAQ,EAAE,KAAK,CAAA;KAAE;cACjD;QAAE,IAAI,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC;QAAC,QAAQ,EAAE,KAAK,CAAA;KAAE;aAClD;QAAE,IAAI,EAAE,kBAAkB,CAAC;QAAC,QAAQ,EAAE,KAAK,CAAA;KAAE;Q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,KAAK,CAAA;KAAE;QAClD;QAAE,IAAI,EAAE,QAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,KAAK,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE;;;;4EA0Ca,CAAA;AACjG,eAAO,MAAM,YAAY;cA9CT;QAAE,IAAI,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC;QAAC,QAAQ,EAAE,KAAK,CAAA;KAAE;cACjD;QAAE,IAAI,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC;QAAC,QAAQ,EAAE,KAAK,CAAA;KAAE;aAClD;QAAE,IAAI,EAAE,kBAAkB,CAAC;QAAC,QAAQ,EAAE,KAAK,CAAA;KAAE;QAClD;QAAE,IAAI,EAAE,QAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,KAAK,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE;;;;cAHpE;QAAE,IAAI,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC;QAAC,QAAQ,EAAE,KAAK,CAAA;KAAE;cACjD;QAAE,IAAI,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC;QAAC,QAAQ,EAAE,KAAK,CAAA;KAAE;aAClD;QAAE,IAAI,EAAE,kBAAkB,CAAC;QAAC,QAAQ,EAAE,KAAK,CAAA;KAAE;QAClD;QAAE,IAAI,EAAE,QAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,KAAK,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE;;;;4EA2Ca,CAAA"}
|
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import { type DateValue } from '@internationalized/date';
|
|
3
|
+
import type { Matcher, PageFunction, WeekDayFormat } from '../../../../shared/src/primitives/date/calendar-view';
|
|
4
|
+
import { type PrimitiveProps } from '../primitive';
|
|
5
|
+
import { type Direction } from '../utils/useDirection';
|
|
6
|
+
export declare const VISUALLY_HIDDEN_HEADING_STYLE: {
|
|
7
|
+
border: string;
|
|
8
|
+
clip: string;
|
|
9
|
+
'clip-path': string;
|
|
10
|
+
height: string;
|
|
11
|
+
margin: string;
|
|
12
|
+
overflow: string;
|
|
13
|
+
padding: string;
|
|
14
|
+
position: string;
|
|
15
|
+
'white-space': string;
|
|
16
|
+
width: string;
|
|
17
|
+
};
|
|
18
|
+
export interface CalendarRootProps {
|
|
19
|
+
defaultValue?: DateValue;
|
|
20
|
+
defaultPlaceholder?: DateValue;
|
|
21
|
+
placeholder?: DateValue;
|
|
22
|
+
pagedNavigation?: boolean;
|
|
23
|
+
preventDeselect?: boolean;
|
|
24
|
+
weekStartsOn?: number;
|
|
25
|
+
weekdayFormat?: WeekDayFormat;
|
|
26
|
+
calendarLabel?: string;
|
|
27
|
+
fixedWeeks?: boolean;
|
|
28
|
+
maxValue?: DateValue;
|
|
29
|
+
minValue?: DateValue;
|
|
30
|
+
locale?: string;
|
|
31
|
+
numberOfMonths?: number;
|
|
32
|
+
disabled?: boolean;
|
|
33
|
+
readonly?: boolean;
|
|
34
|
+
initialFocus?: boolean;
|
|
35
|
+
isDateDisabled?: Matcher;
|
|
36
|
+
isDateUnavailable?: Matcher;
|
|
37
|
+
dir?: Direction;
|
|
38
|
+
nextPage?: PageFunction;
|
|
39
|
+
prevPage?: PageFunction;
|
|
40
|
+
modelValue?: DateValue | DateValue[] | undefined;
|
|
41
|
+
multiple?: boolean;
|
|
42
|
+
disableDaysOutsideCurrentView?: boolean;
|
|
43
|
+
asChild?: boolean;
|
|
44
|
+
as?: PrimitiveProps['as'];
|
|
45
|
+
}
|
|
46
|
+
export type CalendarRootEmits = {
|
|
47
|
+
'update:modelValue': [date: DateValue | undefined];
|
|
48
|
+
'update:placeholder': [date: DateValue];
|
|
49
|
+
};
|
|
50
|
+
export declare const CalendarRoot: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
51
|
+
defaultValue: {
|
|
52
|
+
type: PropType<DateValue>;
|
|
53
|
+
required: false;
|
|
54
|
+
default: undefined;
|
|
55
|
+
};
|
|
56
|
+
defaultPlaceholder: {
|
|
57
|
+
type: PropType<DateValue>;
|
|
58
|
+
required: false;
|
|
59
|
+
};
|
|
60
|
+
placeholder: {
|
|
61
|
+
type: PropType<DateValue>;
|
|
62
|
+
required: false;
|
|
63
|
+
default: undefined;
|
|
64
|
+
};
|
|
65
|
+
pagedNavigation: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
required: false;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
preventDeselect: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
required: false;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
weekStartsOn: {
|
|
76
|
+
type: NumberConstructor;
|
|
77
|
+
required: false;
|
|
78
|
+
};
|
|
79
|
+
weekdayFormat: {
|
|
80
|
+
type: PropType<WeekDayFormat>;
|
|
81
|
+
required: false;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
84
|
+
calendarLabel: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
required: false;
|
|
87
|
+
};
|
|
88
|
+
fixedWeeks: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
required: false;
|
|
91
|
+
default: boolean;
|
|
92
|
+
};
|
|
93
|
+
maxValue: {
|
|
94
|
+
type: PropType<DateValue>;
|
|
95
|
+
required: false;
|
|
96
|
+
};
|
|
97
|
+
minValue: {
|
|
98
|
+
type: PropType<DateValue>;
|
|
99
|
+
required: false;
|
|
100
|
+
};
|
|
101
|
+
locale: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
required: false;
|
|
104
|
+
};
|
|
105
|
+
numberOfMonths: {
|
|
106
|
+
type: NumberConstructor;
|
|
107
|
+
required: false;
|
|
108
|
+
default: number;
|
|
109
|
+
};
|
|
110
|
+
disabled: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
required: false;
|
|
113
|
+
default: boolean;
|
|
114
|
+
};
|
|
115
|
+
readonly: {
|
|
116
|
+
type: BooleanConstructor;
|
|
117
|
+
required: false;
|
|
118
|
+
default: boolean;
|
|
119
|
+
};
|
|
120
|
+
initialFocus: {
|
|
121
|
+
type: BooleanConstructor;
|
|
122
|
+
required: false;
|
|
123
|
+
default: boolean;
|
|
124
|
+
};
|
|
125
|
+
isDateDisabled: {
|
|
126
|
+
type: PropType<Matcher>;
|
|
127
|
+
required: false;
|
|
128
|
+
default: undefined;
|
|
129
|
+
};
|
|
130
|
+
isDateUnavailable: {
|
|
131
|
+
type: PropType<Matcher>;
|
|
132
|
+
required: false;
|
|
133
|
+
default: undefined;
|
|
134
|
+
};
|
|
135
|
+
dir: {
|
|
136
|
+
type: PropType<Direction>;
|
|
137
|
+
required: false;
|
|
138
|
+
};
|
|
139
|
+
nextPage: {
|
|
140
|
+
type: PropType<PageFunction>;
|
|
141
|
+
required: false;
|
|
142
|
+
};
|
|
143
|
+
prevPage: {
|
|
144
|
+
type: PropType<PageFunction>;
|
|
145
|
+
required: false;
|
|
146
|
+
};
|
|
147
|
+
modelValue: {
|
|
148
|
+
type: PropType<DateValue | DateValue[] | undefined>;
|
|
149
|
+
required: false;
|
|
150
|
+
};
|
|
151
|
+
multiple: {
|
|
152
|
+
type: BooleanConstructor;
|
|
153
|
+
required: false;
|
|
154
|
+
default: boolean;
|
|
155
|
+
};
|
|
156
|
+
disableDaysOutsideCurrentView: {
|
|
157
|
+
type: BooleanConstructor;
|
|
158
|
+
required: false;
|
|
159
|
+
default: boolean;
|
|
160
|
+
};
|
|
161
|
+
asChild: {
|
|
162
|
+
type: BooleanConstructor;
|
|
163
|
+
required: false;
|
|
164
|
+
};
|
|
165
|
+
as: {
|
|
166
|
+
type: PropType<PrimitiveProps["as"]>;
|
|
167
|
+
required: false;
|
|
168
|
+
default: string;
|
|
169
|
+
};
|
|
170
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
171
|
+
[key: string]: any;
|
|
172
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:placeholder")[], "update:modelValue" | "update:placeholder", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
173
|
+
defaultValue: {
|
|
174
|
+
type: PropType<DateValue>;
|
|
175
|
+
required: false;
|
|
176
|
+
default: undefined;
|
|
177
|
+
};
|
|
178
|
+
defaultPlaceholder: {
|
|
179
|
+
type: PropType<DateValue>;
|
|
180
|
+
required: false;
|
|
181
|
+
};
|
|
182
|
+
placeholder: {
|
|
183
|
+
type: PropType<DateValue>;
|
|
184
|
+
required: false;
|
|
185
|
+
default: undefined;
|
|
186
|
+
};
|
|
187
|
+
pagedNavigation: {
|
|
188
|
+
type: BooleanConstructor;
|
|
189
|
+
required: false;
|
|
190
|
+
default: boolean;
|
|
191
|
+
};
|
|
192
|
+
preventDeselect: {
|
|
193
|
+
type: BooleanConstructor;
|
|
194
|
+
required: false;
|
|
195
|
+
default: boolean;
|
|
196
|
+
};
|
|
197
|
+
weekStartsOn: {
|
|
198
|
+
type: NumberConstructor;
|
|
199
|
+
required: false;
|
|
200
|
+
};
|
|
201
|
+
weekdayFormat: {
|
|
202
|
+
type: PropType<WeekDayFormat>;
|
|
203
|
+
required: false;
|
|
204
|
+
default: string;
|
|
205
|
+
};
|
|
206
|
+
calendarLabel: {
|
|
207
|
+
type: StringConstructor;
|
|
208
|
+
required: false;
|
|
209
|
+
};
|
|
210
|
+
fixedWeeks: {
|
|
211
|
+
type: BooleanConstructor;
|
|
212
|
+
required: false;
|
|
213
|
+
default: boolean;
|
|
214
|
+
};
|
|
215
|
+
maxValue: {
|
|
216
|
+
type: PropType<DateValue>;
|
|
217
|
+
required: false;
|
|
218
|
+
};
|
|
219
|
+
minValue: {
|
|
220
|
+
type: PropType<DateValue>;
|
|
221
|
+
required: false;
|
|
222
|
+
};
|
|
223
|
+
locale: {
|
|
224
|
+
type: StringConstructor;
|
|
225
|
+
required: false;
|
|
226
|
+
};
|
|
227
|
+
numberOfMonths: {
|
|
228
|
+
type: NumberConstructor;
|
|
229
|
+
required: false;
|
|
230
|
+
default: number;
|
|
231
|
+
};
|
|
232
|
+
disabled: {
|
|
233
|
+
type: BooleanConstructor;
|
|
234
|
+
required: false;
|
|
235
|
+
default: boolean;
|
|
236
|
+
};
|
|
237
|
+
readonly: {
|
|
238
|
+
type: BooleanConstructor;
|
|
239
|
+
required: false;
|
|
240
|
+
default: boolean;
|
|
241
|
+
};
|
|
242
|
+
initialFocus: {
|
|
243
|
+
type: BooleanConstructor;
|
|
244
|
+
required: false;
|
|
245
|
+
default: boolean;
|
|
246
|
+
};
|
|
247
|
+
isDateDisabled: {
|
|
248
|
+
type: PropType<Matcher>;
|
|
249
|
+
required: false;
|
|
250
|
+
default: undefined;
|
|
251
|
+
};
|
|
252
|
+
isDateUnavailable: {
|
|
253
|
+
type: PropType<Matcher>;
|
|
254
|
+
required: false;
|
|
255
|
+
default: undefined;
|
|
256
|
+
};
|
|
257
|
+
dir: {
|
|
258
|
+
type: PropType<Direction>;
|
|
259
|
+
required: false;
|
|
260
|
+
};
|
|
261
|
+
nextPage: {
|
|
262
|
+
type: PropType<PageFunction>;
|
|
263
|
+
required: false;
|
|
264
|
+
};
|
|
265
|
+
prevPage: {
|
|
266
|
+
type: PropType<PageFunction>;
|
|
267
|
+
required: false;
|
|
268
|
+
};
|
|
269
|
+
modelValue: {
|
|
270
|
+
type: PropType<DateValue | DateValue[] | undefined>;
|
|
271
|
+
required: false;
|
|
272
|
+
};
|
|
273
|
+
multiple: {
|
|
274
|
+
type: BooleanConstructor;
|
|
275
|
+
required: false;
|
|
276
|
+
default: boolean;
|
|
277
|
+
};
|
|
278
|
+
disableDaysOutsideCurrentView: {
|
|
279
|
+
type: BooleanConstructor;
|
|
280
|
+
required: false;
|
|
281
|
+
default: boolean;
|
|
282
|
+
};
|
|
283
|
+
asChild: {
|
|
284
|
+
type: BooleanConstructor;
|
|
285
|
+
required: false;
|
|
286
|
+
};
|
|
287
|
+
as: {
|
|
288
|
+
type: PropType<PrimitiveProps["as"]>;
|
|
289
|
+
required: false;
|
|
290
|
+
default: string;
|
|
291
|
+
};
|
|
292
|
+
}>> & Readonly<{
|
|
293
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
294
|
+
"onUpdate:placeholder"?: ((...args: any[]) => any) | undefined;
|
|
295
|
+
}>, {
|
|
296
|
+
placeholder: DateValue;
|
|
297
|
+
as: import("../primitive").AsTag | import("vue").Component | undefined;
|
|
298
|
+
disabled: boolean;
|
|
299
|
+
asChild: boolean;
|
|
300
|
+
defaultValue: DateValue;
|
|
301
|
+
multiple: boolean;
|
|
302
|
+
readonly: boolean;
|
|
303
|
+
fixedWeeks: boolean;
|
|
304
|
+
numberOfMonths: number;
|
|
305
|
+
pagedNavigation: boolean;
|
|
306
|
+
preventDeselect: boolean;
|
|
307
|
+
weekdayFormat: WeekDayFormat;
|
|
308
|
+
initialFocus: boolean;
|
|
309
|
+
isDateDisabled: Matcher;
|
|
310
|
+
isDateUnavailable: Matcher;
|
|
311
|
+
disableDaysOutsideCurrentView: boolean;
|
|
312
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
313
|
+
//# sourceMappingURL=CalendarRoot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarRoot.d.ts","sourceRoot":"","sources":["../../../../../../src/primitives/calendar/CalendarRoot.ts"],"names":[],"mappings":"AAAA,OAAO,EAUL,KAAK,QAAQ,EAEd,MAAM,KAAK,CAAA;AACZ,OAAO,EAAyB,KAAK,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAE/E,OAAO,KAAK,EACV,OAAO,EACP,YAAY,EACZ,aAAa,EACd,MAAM,sDAAsD,CAAA;AAG7D,OAAO,EAAa,KAAK,cAAc,EAAE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;;;;;;;;;;;;;;;;;cAO7C,QAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;4EA8M3D,CAAA"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
|
+
import type { DateValue } from '@internationalized/date';
|
|
3
|
+
import type { Month } from '../../../../shared/src/primitives/date/calendar';
|
|
4
|
+
import type { Matcher, PageFunction, WeekDayFormat } from '../../../../shared/src/primitives/date/calendar-view';
|
|
5
|
+
import type { Formatter } from '../../../../shared/src/primitives/date/formatter';
|
|
6
|
+
import type { Direction } from '../utils/useDirection';
|
|
7
|
+
export interface CalendarRootContext {
|
|
8
|
+
locale: Ref<string>;
|
|
9
|
+
modelValue: Ref<DateValue | DateValue[] | undefined>;
|
|
10
|
+
placeholder: Ref<DateValue>;
|
|
11
|
+
pagedNavigation: Ref<boolean>;
|
|
12
|
+
preventDeselect: Ref<boolean>;
|
|
13
|
+
grid: Ref<Month<DateValue>[]>;
|
|
14
|
+
weekDays: Ref<string[]>;
|
|
15
|
+
weekStartsOn: Ref<number>;
|
|
16
|
+
weekdayFormat: Ref<WeekDayFormat>;
|
|
17
|
+
fixedWeeks: Ref<boolean>;
|
|
18
|
+
multiple: Ref<boolean>;
|
|
19
|
+
numberOfMonths: Ref<number>;
|
|
20
|
+
disabled: Ref<boolean>;
|
|
21
|
+
readonly: Ref<boolean>;
|
|
22
|
+
initialFocus: Ref<boolean>;
|
|
23
|
+
onDateChange: (date: DateValue) => void;
|
|
24
|
+
onPlaceholderChange: (date: DateValue) => void;
|
|
25
|
+
fullCalendarLabel: Ref<string>;
|
|
26
|
+
parentElement: Ref<HTMLElement | undefined>;
|
|
27
|
+
headingValue: Ref<string>;
|
|
28
|
+
isInvalid: Ref<boolean>;
|
|
29
|
+
isDateDisabled: Matcher;
|
|
30
|
+
isDateSelected: Matcher;
|
|
31
|
+
isDateUnavailable?: Matcher;
|
|
32
|
+
isOutsideVisibleView: (date: DateValue) => boolean;
|
|
33
|
+
prevPage: (prevPageFunc?: PageFunction) => void;
|
|
34
|
+
nextPage: (nextPageFunc?: PageFunction) => void;
|
|
35
|
+
isNextButtonDisabled: (nextPageFunc?: PageFunction) => boolean;
|
|
36
|
+
isPrevButtonDisabled: (prevPageFunc?: PageFunction) => boolean;
|
|
37
|
+
formatter: Formatter;
|
|
38
|
+
dir: Ref<Direction>;
|
|
39
|
+
disableDaysOutsideCurrentView: Ref<boolean>;
|
|
40
|
+
minValue: Ref<DateValue | undefined>;
|
|
41
|
+
maxValue: Ref<DateValue | undefined>;
|
|
42
|
+
isPlaceholderFocusable: Ref<boolean>;
|
|
43
|
+
firstFocusableDate: Ref<DateValue | undefined>;
|
|
44
|
+
hasSelectedDate: Ref<boolean>;
|
|
45
|
+
isSelectedDateDisabled: Ref<boolean>;
|
|
46
|
+
}
|
|
47
|
+
export declare const injectCalendarRootContext: <T extends CalendarRootContext | null | undefined = CalendarRootContext>(fallback?: T | undefined) => T extends null ? CalendarRootContext | null : CalendarRootContext, provideCalendarRootContext: (value: CalendarRootContext) => CalendarRootContext;
|
|
48
|
+
//# sourceMappingURL=context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../../src/primitives/calendar/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAC9B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iDAAiD,CAAA;AAC5E,OAAO,KAAK,EACV,OAAO,EACP,YAAY,EACZ,aAAa,EACd,MAAM,sDAAsD,CAAA;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kDAAkD,CAAA;AAEjF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEtD,MAAM,WAAW,mBAAmB;I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oBAAoB,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,OAAO,CAAA;IAClD,QAAQ,EAAE,CAAC,YAAY,CAAC,EAAE,YAAY,KAAK,IAAI,CAAA;IAC/C,QAAQ,EAAE,CAAC,YAAY,CAAC,EAAE,YAAY,KAAK,IAAI,CAAA;IAC/C,oBAAoB,EAAE,CAAC,YAAY,CAAC,EAAE,YAAY,KAAK,OAAO,CAAA;IAC9D,oBAAoB,EAAE,CAAC,YAAY,CAAC,EAAE,YAAY,KAAK,OAAO,CAAA;IAC9D,SAAS,EAAE,SAAS,CAAA;IACpB,GAAG,EAAE,GAAG,CAAC,SAAS,CAAC,CAAA;IACnB,6BAA6B,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IAC3C,QAAQ,EAAE,GAAG,CAAC,SAAS,GAAG,SAAS,CAAC,CAAA;IACpC,QAAQ,EAAE,GAAG,CAAC,SAAS,GAAG,SAAS,CAAC,CAAA;IACpC,sBAAsB,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACpC,kBAAkB,EAAE,GAAG,CAAC,SAAS,GAAG,SAAS,CAAC,CAAA;IAC9C,eAAe,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IAC7B,sBAAsB,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;CACrC;AAED,eAAO,MAAO,yBAAyB,2KAAE,0BAA0B,qDACf,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { injectCalendarRootContext, type CalendarRootContext } from './context';
|
|
2
|
+
export { CalendarCellTrigger, type CalendarCellTriggerProps } from './CalendarCellTrigger';
|
|
3
|
+
export { CalendarCell, CalendarGrid, CalendarGridBody, CalendarGridHead, CalendarGridRow, CalendarHeadCell, } from './CalendarGrid';
|
|
4
|
+
export { CalendarNext, CalendarPrev } from './CalendarNav';
|
|
5
|
+
export { CalendarRoot, type CalendarRootEmits, type CalendarRootProps } from './CalendarRoot';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/primitives/calendar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,KAAK,mBAAmB,EAAE,MAAM,WAAW,CAAA;AAC/E,OAAO,EAAE,mBAAmB,EAAE,KAAK,wBAAwB,EAAE,MAAM,uBAAuB,CAAA;AAC1F,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,GACjB,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
import type { DateValue } from '@internationalized/date';
|
|
3
|
+
import type { Month } from '../../../../shared/src/primitives/date/calendar';
|
|
4
|
+
import { type Matcher, type PageFunction, type WeekDayFormat } from '../../../../shared/src/primitives/date/calendar-view';
|
|
5
|
+
export interface UseCalendarProps {
|
|
6
|
+
locale: Ref<string>;
|
|
7
|
+
placeholder: Ref<DateValue>;
|
|
8
|
+
weekStartsOn: Ref<number>;
|
|
9
|
+
fixedWeeks: Ref<boolean>;
|
|
10
|
+
numberOfMonths: Ref<number>;
|
|
11
|
+
minValue: Ref<DateValue | undefined>;
|
|
12
|
+
maxValue: Ref<DateValue | undefined>;
|
|
13
|
+
disabled: Ref<boolean>;
|
|
14
|
+
weekdayFormat: Ref<WeekDayFormat>;
|
|
15
|
+
pagedNavigation: Ref<boolean>;
|
|
16
|
+
isDateDisabled?: Matcher;
|
|
17
|
+
isDateUnavailable?: Matcher;
|
|
18
|
+
calendarLabel: Ref<string | undefined>;
|
|
19
|
+
nextPage: Ref<PageFunction | undefined>;
|
|
20
|
+
prevPage: Ref<PageFunction | undefined>;
|
|
21
|
+
}
|
|
22
|
+
export declare function useCalendarState(props: {
|
|
23
|
+
isDateDisabled: Matcher;
|
|
24
|
+
isDateUnavailable: Matcher;
|
|
25
|
+
date: Ref<DateValue | DateValue[] | undefined>;
|
|
26
|
+
}): {
|
|
27
|
+
isDateSelected: (dateObj: DateValue) => boolean;
|
|
28
|
+
isInvalid: import("vue").ComputedRef<boolean>;
|
|
29
|
+
hasSelectedDate: import("vue").ComputedRef<boolean>;
|
|
30
|
+
isSelectedDateDisabled: import("vue").ComputedRef<boolean>;
|
|
31
|
+
};
|
|
32
|
+
export declare function useCalendar(props: UseCalendarProps): {
|
|
33
|
+
isDateDisabled: (dateObj: DateValue) => boolean;
|
|
34
|
+
isDateUnavailable: (date: DateValue) => boolean;
|
|
35
|
+
isNextButtonDisabled: (nextPageFunc?: PageFunction) => boolean;
|
|
36
|
+
isPrevButtonDisabled: (prevPageFunc?: PageFunction) => boolean;
|
|
37
|
+
grid: Ref<Month<DateValue>[], Month<DateValue>[]>;
|
|
38
|
+
weekdays: import("vue").ComputedRef<string[]>;
|
|
39
|
+
visibleView: import("vue").ComputedRef<DateValue[]>;
|
|
40
|
+
isOutsideVisibleView: (date: DateValue) => boolean;
|
|
41
|
+
formatter: {
|
|
42
|
+
setLocale: (newLocale: string) => void;
|
|
43
|
+
getLocale: () => string;
|
|
44
|
+
fullMonth: (date: Date, options?: Intl.DateTimeFormatOptions) => string;
|
|
45
|
+
fullYear: (date: Date, options?: Intl.DateTimeFormatOptions) => string;
|
|
46
|
+
fullMonthAndYear: (date: Date, options?: Intl.DateTimeFormatOptions) => string;
|
|
47
|
+
toParts: (date: DateValue, options?: Intl.DateTimeFormatOptions) => Intl.DateTimeFormatPart[];
|
|
48
|
+
custom: (date: Date, options: Intl.DateTimeFormatOptions) => string;
|
|
49
|
+
part: (dateObj: DateValue, type: Intl.DateTimeFormatPartTypes, options?: Intl.DateTimeFormatOptions) => string;
|
|
50
|
+
dayPeriod: (date: Date) => "PM" | "AM";
|
|
51
|
+
selectedDate: (date: DateValue, includeTime?: boolean) => string;
|
|
52
|
+
dayOfWeek: (date: Date, length?: Intl.DateTimeFormatOptions["weekday"]) => string;
|
|
53
|
+
getMonths: () => {
|
|
54
|
+
label: string;
|
|
55
|
+
value: number;
|
|
56
|
+
}[];
|
|
57
|
+
};
|
|
58
|
+
nextPage: (nextPageFunc?: PageFunction) => void;
|
|
59
|
+
prevPage: (prevPageFunc?: PageFunction) => void;
|
|
60
|
+
headingValue: import("vue").ComputedRef<string>;
|
|
61
|
+
fullCalendarLabel: import("vue").ComputedRef<string>;
|
|
62
|
+
isPlaceholderFocusable: import("vue").ComputedRef<boolean>;
|
|
63
|
+
firstFocusableDate: import("vue").ComputedRef<import("@internationalized/date").CalendarDateTime | import("@internationalized/date").ZonedDateTime | import("@internationalized/date").CalendarDate | undefined>;
|
|
64
|
+
};
|
|
65
|
+
//# sourceMappingURL=useCalendar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCalendar.d.ts","sourceRoot":"","sources":["../../../../../../src/primitives/calendar/useCalendar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AACpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iDAAiD,CAAA;AAC5E,OAAO,EAgBL,KAAK,OAAO,EACZ,KAAK,YAAY,EACjB,KAAK,aAAa,EACnB,MAAM,sDAAsD,CAAA;AAG7D,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACnB,WAAW,EAAE,GAAG,CAAC,SAAS,CAAC,CAAA;IAC3B,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACzB,UAAU,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACxB,cAAc,EAAE,G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