@soybeanjs/headless 0.15.4 → 0.16.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/components/autocomplete/autocomplete-compact.js +1 -1
- package/dist/components/autocomplete/autocomplete-input.js +1 -1
- package/dist/components/autocomplete/autocomplete-input.vue.d.ts +2 -2
- package/dist/components/autocomplete/autocomplete-root.js +1 -1
- package/dist/components/autocomplete/autocomplete-root.vue.d.ts +12 -2
- package/dist/components/autocomplete/context.d.ts +2 -2
- package/dist/components/autocomplete/context.js +1 -1
- package/dist/components/autocomplete/index.d.ts +17 -13
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/autocomplete/types.d.ts +18 -32
- package/dist/components/bottom-sheet/bottom-sheet-root-nested.vue.d.ts +2 -2
- package/dist/components/calendar/calendar-cell-trigger.js +1 -0
- package/dist/components/calendar/calendar-cell-trigger.vue.d.ts +28 -0
- package/dist/components/calendar/calendar-cell.js +1 -0
- package/dist/components/{autocomplete/autocomplete-anchor.vue.d.ts → calendar/calendar-cell.vue.d.ts} +3 -3
- package/dist/components/calendar/calendar-compact.js +1 -0
- package/dist/components/calendar/calendar-compact.vue.d.ts +23 -0
- package/dist/components/calendar/calendar-grid-body.js +1 -0
- package/dist/components/{combobox/combobox-item-indicator.vue.d.ts → calendar/calendar-grid-body.vue.d.ts} +3 -3
- package/dist/components/calendar/calendar-grid-head.js +1 -0
- package/dist/components/calendar/calendar-grid-head.vue.d.ts +21 -0
- package/dist/components/calendar/calendar-grid-row.js +1 -0
- package/dist/components/calendar/calendar-grid-row.vue.d.ts +21 -0
- package/dist/components/calendar/calendar-grid.js +1 -0
- package/dist/components/calendar/calendar-grid.vue.d.ts +21 -0
- package/dist/components/calendar/calendar-head-cell.js +1 -0
- package/dist/components/calendar/calendar-head-cell.vue.d.ts +21 -0
- package/dist/components/calendar/calendar-header.js +1 -0
- package/dist/components/calendar/calendar-header.vue.d.ts +21 -0
- package/dist/components/calendar/calendar-heading.js +1 -0
- package/dist/components/calendar/calendar-heading.vue.d.ts +22 -0
- package/dist/components/calendar/calendar-next.js +1 -0
- package/dist/components/calendar/calendar-next.vue.d.ts +24 -0
- package/dist/components/calendar/calendar-prev.js +1 -0
- package/dist/components/calendar/calendar-prev.vue.d.ts +24 -0
- package/dist/components/calendar/calendar-root.js +1 -0
- package/dist/components/calendar/calendar-root.vue.d.ts +25 -0
- package/dist/components/calendar/context.d.ts +9 -0
- package/dist/components/calendar/context.js +1 -0
- package/dist/components/calendar/index.d.ts +16 -0
- package/dist/components/calendar/index.js +1 -0
- package/dist/components/calendar/types.d.ts +165 -0
- package/dist/components/calendar/use-calendar.d.ts +45 -0
- package/dist/components/calendar/use-calendar.js +1 -0
- package/dist/components/card/card-compact.js +1 -0
- package/dist/components/card/card-compact.vue.d.ts +19 -0
- package/dist/components/card/card-root.vue.d.ts +1 -1
- package/dist/components/card/index.d.ts +10 -9
- package/dist/components/card/index.js +1 -1
- package/dist/components/card/types.d.ts +22 -1
- package/dist/components/carousel/carousel-root.vue.d.ts +39 -2
- package/dist/components/carousel/index.d.ts +4 -2
- package/dist/components/carousel/types.d.ts +8 -8
- package/dist/components/checkbox/checkbox-group-root.js +1 -1
- package/dist/components/checkbox/checkbox-root.js +1 -1
- package/dist/components/checkbox/checkbox-root.vue.d.ts +1 -1
- package/dist/components/collapsible/collapsible-root.vue.d.ts +1 -1
- package/dist/components/color-area/color-area-root.vue.d.ts +2 -2
- package/dist/components/color-picker/color-picker-root.vue.d.ts +2 -2
- package/dist/components/color-slider/color-slider-root.vue.d.ts +2 -2
- package/dist/components/combobox/combobox-arrow.js +1 -1
- package/dist/components/combobox/combobox-arrow.vue.d.ts +2 -2
- package/dist/components/combobox/combobox-compact.js +1 -1
- package/dist/components/combobox/combobox-compact.vue.d.ts +2 -2
- package/dist/components/combobox/combobox-content-impl.js +1 -1
- package/dist/components/combobox/combobox-content.vue.d.ts +1 -1
- package/dist/components/combobox/combobox-group.vue.d.ts +2 -2
- package/dist/components/combobox/combobox-input.js +1 -1
- package/dist/components/combobox/combobox-item.js +1 -1
- package/dist/components/combobox/combobox-root.js +1 -1
- package/dist/components/combobox/combobox-trigger.js +1 -1
- package/dist/components/combobox/combobox-virtualizer.js +1 -1
- package/dist/components/combobox/context.js +1 -1
- package/dist/components/combobox/index.d.ts +12 -10
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/combobox/types.d.ts +10 -20
- package/dist/components/command/command-compact.js +1 -1
- package/dist/components/command/types.d.ts +1 -1
- package/dist/components/config-provider/config-provider.vue.d.ts +1 -1
- package/dist/components/context-menu/context-menu-checkbox-compact.js +1 -1
- package/dist/components/context-menu/context-menu-checkbox-compact.vue.d.ts +2 -2
- package/dist/components/context-menu/context-menu-compact.js +1 -1
- package/dist/components/context-menu/context-menu-compact.vue.d.ts +2 -2
- package/dist/components/context-menu/context-menu-content.vue.d.ts +2 -2
- package/dist/components/context-menu/context-menu-radio-compact.js +1 -1
- package/dist/components/context-menu/context-menu-radio-compact.vue.d.ts +2 -2
- package/dist/components/context-menu/context-menu-wrapper-compact.js +1 -1
- package/dist/components/context-menu/context-menu-wrapper-compact.vue.d.ts +2 -2
- package/dist/components/context-menu/index.d.ts +2 -2
- package/dist/components/context-menu/index.js +1 -1
- package/dist/components/date-field/context.d.ts +9 -0
- package/dist/components/date-field/context.js +1 -0
- package/dist/components/date-field/date-field-compact.js +1 -0
- package/dist/components/date-field/date-field-compact.vue.d.ts +15 -0
- package/dist/components/date-field/date-field-input.js +1 -0
- package/dist/components/date-field/date-field-input.vue.d.ts +21 -0
- package/dist/components/date-field/date-field-root.js +1 -0
- package/dist/components/date-field/date-field-root.vue.d.ts +42 -0
- package/dist/components/date-field/index.d.ts +6 -0
- package/dist/components/date-field/index.js +1 -0
- package/dist/components/date-field/types.d.ts +67 -0
- package/dist/components/date-picker/context.d.ts +9 -0
- package/dist/components/date-picker/context.js +1 -0
- package/dist/components/date-picker/date-picker-popup.js +1 -0
- package/dist/components/date-picker/date-picker-popup.vue.d.ts +21 -0
- package/dist/components/date-picker/date-picker-root.js +1 -0
- package/dist/components/date-picker/date-picker-root.vue.d.ts +43 -0
- package/dist/components/date-picker/date-picker-trigger.js +1 -0
- package/dist/components/date-picker/date-picker-trigger.vue.d.ts +21 -0
- package/dist/components/date-picker/index.d.ts +6 -0
- package/dist/components/date-picker/index.js +1 -0
- package/dist/components/date-picker/types.d.ts +64 -0
- package/dist/components/date-range-field/context.d.ts +9 -0
- package/dist/components/date-range-field/context.js +1 -0
- package/dist/components/date-range-field/date-range-field-compact.js +1 -0
- package/dist/components/date-range-field/date-range-field-compact.vue.d.ts +29 -0
- package/dist/components/date-range-field/date-range-field-input.js +1 -0
- package/dist/components/date-range-field/date-range-field-input.vue.d.ts +22 -0
- package/dist/components/date-range-field/date-range-field-root.js +1 -0
- package/dist/components/date-range-field/date-range-field-root.vue.d.ts +55 -0
- package/dist/components/date-range-field/index.d.ts +6 -0
- package/dist/components/date-range-field/index.js +1 -0
- package/dist/components/date-range-field/types.d.ts +88 -0
- package/dist/components/date-range-picker/context.d.ts +9 -0
- package/dist/components/date-range-picker/context.js +1 -0
- package/dist/components/date-range-picker/date-range-picker-compact.js +1 -0
- package/dist/components/date-range-picker/date-range-picker-compact.vue.d.ts +31 -0
- package/dist/components/date-range-picker/date-range-picker-popup.js +1 -0
- package/dist/components/date-range-picker/date-range-picker-popup.vue.d.ts +21 -0
- package/dist/components/date-range-picker/date-range-picker-root.js +1 -0
- package/dist/components/date-range-picker/date-range-picker-root.vue.d.ts +50 -0
- package/dist/components/date-range-picker/date-range-picker-trigger.js +1 -0
- package/dist/components/date-range-picker/date-range-picker-trigger.vue.d.ts +21 -0
- package/dist/components/date-range-picker/index.d.ts +7 -0
- package/dist/components/date-range-picker/index.js +1 -0
- package/dist/components/date-range-picker/types.d.ts +93 -0
- package/dist/components/dialog/dialog-compact.vue.d.ts +6 -6
- package/dist/components/dropdown-menu/dropdown-menu-checkbox-compact.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-checkbox-compact.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-compact.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-compact.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-radio-compact.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-radio-compact.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-wrapper-compact.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-wrapper-compact.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/index.d.ts +2 -2
- package/dist/components/dropdown-menu/index.js +1 -1
- package/dist/components/editable/editable-compact.js +1 -0
- package/dist/components/editable/editable-compact.vue.d.ts +23 -0
- package/dist/components/editable/editable-root.vue.d.ts +2 -2
- package/dist/components/editable/index.d.ts +8 -7
- package/dist/components/editable/index.js +1 -1
- package/dist/components/editable/types.d.ts +28 -2
- package/dist/components/hover-card/hover-card-compact.js +1 -0
- package/dist/components/hover-card/hover-card-compact.vue.d.ts +30 -0
- package/dist/components/hover-card/hover-card-positioner.js +1 -1
- package/dist/components/hover-card/hover-card-positioner.vue.d.ts +1 -0
- package/dist/components/hover-card/hover-card-root.vue.d.ts +1 -1
- package/dist/components/hover-card/index.d.ts +8 -7
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/hover-card/types.d.ts +15 -1
- package/dist/components/input/input-root.js +1 -1
- package/dist/components/input-otp/input-otp-compact.vue.d.ts +2 -2
- package/dist/components/input-otp/input-otp-root.vue.d.ts +2 -2
- package/dist/components/layout/layout-classic-compact.js +1 -1
- package/dist/components/layout/layout-classic-compact.vue.d.ts +1 -1
- package/dist/components/layout/layout-classic-root.js +1 -1
- package/dist/components/layout/layout-compact.vue.d.ts +1 -1
- package/dist/components/layout/layout-root.vue.d.ts +2 -2
- package/dist/components/layout/types.d.ts +0 -30
- package/dist/components/link/link.vue.d.ts +1 -1
- package/dist/components/listbox/index.js +1 -1
- package/dist/components/listbox/listbox-root.js +1 -1
- package/dist/components/menu/hooks.js +1 -1
- package/dist/components/menu/index.d.ts +2 -2
- package/dist/components/menu/index.js +1 -1
- package/dist/components/menu/menu-checkbox-options-compact.js +1 -1
- package/dist/components/menu/menu-content.vue.d.ts +2 -2
- package/dist/components/menu/menu-option-compact.js +1 -1
- package/dist/components/menu/menu-option-compact.vue.d.ts +2 -2
- package/dist/components/menu/menu-options-compact.js +1 -1
- package/dist/components/menu/menu-options-compact.vue.d.ts +2 -2
- package/dist/components/menu/menu-radio-options-compact.js +1 -1
- package/dist/components/menu/menu-sub-content.vue.d.ts +2 -2
- package/dist/components/menu/types.d.ts +1 -1
- package/dist/components/menubar/index.js +1 -1
- package/dist/components/menubar/menubar-compact.js +1 -1
- package/dist/components/menubar/menubar-compact.vue.d.ts +2 -2
- package/dist/components/menubar/menubar-content.vue.d.ts +2 -2
- package/dist/components/menubar/menubar-sub-content.vue.d.ts +2 -2
- package/dist/components/month-picker/context.d.ts +9 -0
- package/dist/components/month-picker/context.js +1 -0
- package/dist/components/month-picker/index.d.ts +6 -0
- package/dist/components/month-picker/index.js +1 -0
- package/dist/components/month-picker/month-picker-popup.js +1 -0
- package/dist/components/month-picker/month-picker-popup.vue.d.ts +36 -0
- package/dist/components/month-picker/month-picker-root.js +1 -0
- package/dist/components/month-picker/month-picker-root.vue.d.ts +39 -0
- package/dist/components/month-picker/month-picker-trigger.js +1 -0
- package/dist/components/{autocomplete/autocomplete-trigger.vue.d.ts → month-picker/month-picker-trigger.vue.d.ts} +3 -3
- package/dist/components/month-picker/types.d.ts +61 -0
- package/dist/components/month-range-picker/context.d.ts +9 -0
- package/dist/components/month-range-picker/context.js +1 -0
- package/dist/components/month-range-picker/index.d.ts +6 -0
- package/dist/components/month-range-picker/index.js +1 -0
- package/dist/components/month-range-picker/month-range-picker-popup.js +1 -0
- package/dist/components/month-range-picker/month-range-picker-popup.vue.d.ts +39 -0
- package/dist/components/month-range-picker/month-range-picker-root.js +1 -0
- package/dist/components/month-range-picker/month-range-picker-root.vue.d.ts +43 -0
- package/dist/components/month-range-picker/month-range-picker-trigger.js +1 -0
- package/dist/components/month-range-picker/month-range-picker-trigger.vue.d.ts +21 -0
- package/dist/components/month-range-picker/types.d.ts +69 -0
- package/dist/components/navigation-menu/index.d.ts +12 -11
- package/dist/components/navigation-menu/index.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-compact.js +1 -0
- package/dist/components/navigation-menu/navigation-menu-compact.vue.d.ts +34 -0
- package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +1 -1
- package/dist/components/navigation-menu/types.d.ts +66 -2
- package/dist/components/pagination/index.d.ts +11 -10
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/pagination/pagination-compact.js +1 -0
- package/dist/components/pagination/pagination-compact.vue.d.ts +23 -0
- package/dist/components/pagination/types.d.ts +21 -1
- package/dist/components/popover/index.d.ts +8 -7
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/popover-compact.js +1 -0
- package/dist/components/popover/popover-compact.vue.d.ts +36 -0
- package/dist/components/popover/popover-root.vue.d.ts +1 -1
- package/dist/components/popover/types.d.ts +19 -2
- package/dist/components/popper/index.js +1 -1
- package/dist/components/popper/popper-anchor.js +1 -1
- package/dist/components/popper/popper-positioner.vue.d.ts +1 -1
- package/dist/components/popper/types.d.ts +1 -1
- package/dist/components/range-calendar/context.d.ts +9 -0
- package/dist/components/range-calendar/context.js +1 -0
- package/dist/components/range-calendar/index.d.ts +16 -0
- package/dist/components/range-calendar/index.js +1 -0
- package/dist/components/range-calendar/range-calendar-cell-trigger.js +1 -0
- package/dist/components/range-calendar/range-calendar-cell-trigger.vue.d.ts +33 -0
- package/dist/components/range-calendar/range-calendar-cell.js +1 -0
- package/dist/components/range-calendar/range-calendar-cell.vue.d.ts +21 -0
- package/dist/components/range-calendar/range-calendar-compact.js +1 -0
- package/dist/components/range-calendar/range-calendar-compact.vue.d.ts +25 -0
- package/dist/components/range-calendar/range-calendar-grid-body.js +1 -0
- package/dist/components/range-calendar/range-calendar-grid-body.vue.d.ts +21 -0
- package/dist/components/range-calendar/range-calendar-grid-head.js +1 -0
- package/dist/components/range-calendar/range-calendar-grid-head.vue.d.ts +21 -0
- package/dist/components/range-calendar/range-calendar-grid-row.js +1 -0
- package/dist/components/range-calendar/range-calendar-grid-row.vue.d.ts +21 -0
- package/dist/components/range-calendar/range-calendar-grid.js +1 -0
- package/dist/components/range-calendar/range-calendar-grid.vue.d.ts +21 -0
- package/dist/components/range-calendar/range-calendar-head-cell.js +1 -0
- package/dist/components/range-calendar/range-calendar-head-cell.vue.d.ts +21 -0
- package/dist/components/range-calendar/range-calendar-header.js +1 -0
- package/dist/components/range-calendar/range-calendar-header.vue.d.ts +21 -0
- package/dist/components/range-calendar/range-calendar-heading.js +1 -0
- package/dist/components/range-calendar/range-calendar-heading.vue.d.ts +22 -0
- package/dist/components/range-calendar/range-calendar-next.js +1 -0
- package/dist/components/range-calendar/range-calendar-next.vue.d.ts +24 -0
- package/dist/components/range-calendar/range-calendar-prev.js +1 -0
- package/dist/components/range-calendar/range-calendar-prev.vue.d.ts +24 -0
- package/dist/components/range-calendar/range-calendar-root.js +1 -0
- package/dist/components/range-calendar/range-calendar-root.vue.d.ts +55 -0
- package/dist/components/range-calendar/types.d.ts +158 -0
- package/dist/components/range-calendar/use-range-calendar.js +1 -0
- package/dist/components/roving-focus/roving-focus-group.vue.d.ts +1 -1
- package/dist/components/select/select-content.vue.d.ts +1 -1
- package/dist/components/splitter/splitter-panel.vue.d.ts +2 -2
- package/dist/components/stepper/index.d.ts +10 -9
- package/dist/components/stepper/index.js +1 -1
- package/dist/components/stepper/stepper-compact.js +1 -0
- package/dist/components/stepper/stepper-compact.vue.d.ts +19 -0
- package/dist/components/stepper/types.d.ts +40 -2
- package/dist/components/tabs/tabs-root.vue.d.ts +1 -1
- package/dist/components/tags-input/tags-input-root.vue.d.ts +2 -2
- package/dist/components/time-field/context.d.ts +9 -0
- package/dist/components/time-field/context.js +1 -0
- package/dist/components/time-field/index.d.ts +5 -0
- package/dist/components/time-field/index.js +1 -0
- package/dist/components/time-field/time-field-input.js +1 -0
- package/dist/components/time-field/time-field-input.vue.d.ts +21 -0
- package/dist/components/time-field/time-field-root.js +1 -0
- package/dist/components/time-field/time-field-root.vue.d.ts +43 -0
- package/dist/components/time-field/types.d.ts +63 -0
- package/dist/components/time-picker/context.d.ts +9 -0
- package/dist/components/time-picker/context.js +1 -0
- package/dist/components/time-picker/index.d.ts +6 -0
- package/dist/components/time-picker/index.js +1 -0
- package/dist/components/time-picker/time-picker-popup.js +1 -0
- package/dist/components/time-picker/time-picker-popup.vue.d.ts +27 -0
- package/dist/components/time-picker/time-picker-root.js +1 -0
- package/dist/components/time-picker/time-picker-root.vue.d.ts +45 -0
- package/dist/components/time-picker/time-picker-trigger.js +1 -0
- package/dist/components/time-picker/time-picker-trigger.vue.d.ts +21 -0
- package/dist/components/time-picker/types.d.ts +68 -0
- package/dist/components/time-range-field/context.d.ts +9 -0
- package/dist/components/time-range-field/context.js +1 -0
- package/dist/components/time-range-field/index.d.ts +6 -0
- package/dist/components/time-range-field/index.js +1 -0
- package/dist/components/time-range-field/time-range-field-compact.js +1 -0
- package/dist/components/time-range-field/time-range-field-compact.vue.d.ts +29 -0
- package/dist/components/time-range-field/time-range-field-input.js +1 -0
- package/dist/components/time-range-field/time-range-field-input.vue.d.ts +22 -0
- package/dist/components/time-range-field/time-range-field-root.js +1 -0
- package/dist/components/time-range-field/time-range-field-root.vue.d.ts +53 -0
- package/dist/components/time-range-field/types.d.ts +88 -0
- package/dist/components/time-range-picker/context.d.ts +9 -0
- package/dist/components/time-range-picker/context.js +1 -0
- package/dist/components/time-range-picker/index.d.ts +7 -0
- package/dist/components/time-range-picker/index.js +1 -0
- package/dist/components/time-range-picker/time-range-picker-compact.js +1 -0
- package/dist/components/time-range-picker/time-range-picker-compact.vue.d.ts +31 -0
- package/dist/components/time-range-picker/time-range-picker-popup.js +1 -0
- package/dist/components/time-range-picker/time-range-picker-popup.vue.d.ts +30 -0
- package/dist/components/time-range-picker/time-range-picker-root.js +1 -0
- package/dist/components/time-range-picker/time-range-picker-root.vue.d.ts +50 -0
- package/dist/components/time-range-picker/time-range-picker-trigger.js +1 -0
- package/dist/components/time-range-picker/time-range-picker-trigger.vue.d.ts +21 -0
- package/dist/components/time-range-picker/types.d.ts +103 -0
- package/dist/components/toast/shared.js +1 -1
- package/dist/components/toast/toaster.vue.d.ts +1 -1
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooltip/tooltip-popup.js +1 -1
- package/dist/components/tooltip/tooltip-root.vue.d.ts +1 -1
- package/dist/components/year-picker/context.d.ts +9 -0
- package/dist/components/year-picker/context.js +1 -0
- package/dist/components/year-picker/index.d.ts +6 -0
- package/dist/components/year-picker/index.js +1 -0
- package/dist/components/year-picker/types.d.ts +63 -0
- package/dist/components/year-picker/year-picker-popup.js +1 -0
- package/dist/components/year-picker/year-picker-popup.vue.d.ts +36 -0
- package/dist/components/year-picker/year-picker-root.js +1 -0
- package/dist/components/year-picker/year-picker-root.vue.d.ts +39 -0
- package/dist/components/year-picker/year-picker-trigger.js +1 -0
- package/dist/components/year-picker/year-picker-trigger.vue.d.ts +21 -0
- package/dist/components/year-range-picker/context.d.ts +9 -0
- package/dist/components/year-range-picker/context.js +1 -0
- package/dist/components/year-range-picker/index.d.ts +6 -0
- package/dist/components/year-range-picker/index.js +1 -0
- package/dist/components/year-range-picker/types.d.ts +71 -0
- package/dist/components/year-range-picker/year-range-picker-popup.js +1 -0
- package/dist/components/year-range-picker/year-range-picker-popup.vue.d.ts +39 -0
- package/dist/components/year-range-picker/year-range-picker-root.js +1 -0
- package/dist/components/year-range-picker/year-range-picker-root.vue.d.ts +43 -0
- package/dist/components/year-range-picker/year-range-picker-trigger.js +1 -0
- package/dist/components/year-range-picker/year-range-picker-trigger.vue.d.ts +21 -0
- package/dist/composables/use-hide-others.d.ts +2 -1
- package/dist/composables/use-hide-others.js +1 -1
- package/dist/constants/components.d.ts +14 -0
- package/dist/constants/components.js +1 -1
- package/dist/date/comparators.d.ts +24 -14
- package/dist/date/comparators.js +1 -1
- package/dist/date/formatter.d.ts +27 -0
- package/dist/date/formatter.js +1 -0
- package/dist/date/index.d.ts +10 -4
- package/dist/date/index.js +1 -1
- package/dist/date/parser.d.ts +34 -0
- package/dist/date/parser.js +1 -0
- package/dist/date/parts.d.ts +15 -0
- package/dist/date/parts.js +1 -0
- package/dist/date/placeholders.d.ts +23 -0
- package/dist/date/placeholders.js +1 -0
- package/dist/date/segment.d.ts +7 -0
- package/dist/date/segment.js +1 -0
- package/dist/date/types.d.ts +34 -21
- package/dist/date/use-date-field.d.ts +50 -0
- package/dist/date/use-date-field.js +1 -0
- package/dist/date/utils.d.ts +15 -1
- package/dist/date/utils.js +1 -1
- package/dist/index.d.ts +419 -335
- package/dist/index.js +1 -1
- package/dist/namespaced/index.d.ts +871 -717
- package/dist/namespaced/index.js +1 -1
- package/dist/node_modules/.pnpm/@soybeanjs_utils@0.1.1/node_modules/@soybeanjs/utils/dist/index.js +1 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Alignment.d.ts +4 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Animations.d.ts +11 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Axis.d.ts +16 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Counter.d.ts +9 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/DragHandler.d.ts +13 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/DragTracker.d.ts +4 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/EmblaCarousel.d.ts +31 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Engine.d.ts +67 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/EventHandler.d.ts +29 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/EventStore.d.ts +10 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Limit.d.ts +13 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/NodeRects.d.ts +11 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Options.d.ts +43 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/OptionsHandler.d.ts +11 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/PercentOfView.d.ts +6 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Plugins.d.ts +20 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ResizeHandler.d.ts +11 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollBody.d.ts +14 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollBounds.d.ts +8 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollContain.d.ts +4 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollLooper.d.ts +6 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollProgress.d.ts +6 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollTarget.d.ts +12 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollTo.d.ts +7 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlideFocus.d.ts +10 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlideLooper.d.ts +19 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlideRegistry.d.ts +6 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlidesHandler.d.ts +11 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlidesInView.d.ts +9 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlidesToScroll.d.ts +7 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Translate.d.ts +8 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Vector1d.d.ts +9 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/utils.d.ts +4 -0
- package/dist/shared/index.d.ts +2 -1
- package/dist/shared/index.js +1 -1
- package/dist/shared/time-picker.d.ts +30 -0
- package/dist/shared/time-picker.js +1 -0
- package/package.json +8 -8
- package/dist/components/autocomplete/autocomplete-anchor.js +0 -1
- package/dist/components/autocomplete/autocomplete-content.js +0 -1
- package/dist/components/autocomplete/autocomplete-content.vue.d.ts +0 -24
- package/dist/components/autocomplete/autocomplete-group-label.js +0 -1
- package/dist/components/autocomplete/autocomplete-group-label.vue.d.ts +0 -18
- package/dist/components/autocomplete/autocomplete-group.js +0 -1
- package/dist/components/autocomplete/autocomplete-group.vue.d.ts +0 -18
- package/dist/components/autocomplete/autocomplete-item-indicator.js +0 -1
- package/dist/components/autocomplete/autocomplete-item-indicator.vue.d.ts +0 -18
- package/dist/components/autocomplete/autocomplete-item.js +0 -1
- package/dist/components/autocomplete/autocomplete-item.vue.d.ts +0 -26
- package/dist/components/autocomplete/autocomplete-separator.js +0 -1
- package/dist/components/autocomplete/autocomplete-separator.vue.d.ts +0 -18
- package/dist/components/autocomplete/autocomplete-trigger.js +0 -1
- package/dist/components/autocomplete/autocomplete-viewport.js +0 -1
- package/dist/components/autocomplete/autocomplete-viewport.vue.d.ts +0 -18
- package/dist/components/combobox/combobox-anchor.js +0 -1
- package/dist/components/combobox/combobox-anchor.vue.d.ts +0 -18
- package/dist/components/combobox/combobox-group-label.js +0 -1
- package/dist/components/combobox/combobox-group-label.vue.d.ts +0 -18
- package/dist/components/combobox/combobox-item-indicator.js +0 -1
- package/dist/node_modules/.pnpm/@soybeanjs_utils@0.1.0/node_modules/@soybeanjs/utils/dist/index.js +0 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Vector1DType } from "./Vector1d.js";
|
|
2
|
+
import { TranslateType } from "./Translate.js";
|
|
3
|
+
|
|
4
|
+
//#region ../node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlideLooper.d.ts
|
|
5
|
+
type LoopPointType = {
|
|
6
|
+
loopPoint: number;
|
|
7
|
+
index: number;
|
|
8
|
+
translate: TranslateType;
|
|
9
|
+
slideLocation: Vector1DType;
|
|
10
|
+
target: () => number;
|
|
11
|
+
};
|
|
12
|
+
type SlideLooperType = {
|
|
13
|
+
canLoop: () => boolean;
|
|
14
|
+
clear: () => void;
|
|
15
|
+
loop: () => void;
|
|
16
|
+
loopPoints: LoopPointType[];
|
|
17
|
+
};
|
|
18
|
+
//#endregion
|
|
19
|
+
export { SlideLooperType };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EmblaCarouselType } from "./EmblaCarousel.js";
|
|
2
|
+
|
|
3
|
+
//#region ../node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlidesHandler.d.ts
|
|
4
|
+
type SlidesHandlerCallbackType = (emblaApi: EmblaCarouselType, mutations: MutationRecord[]) => boolean | void;
|
|
5
|
+
type SlidesHandlerOptionType = boolean | SlidesHandlerCallbackType;
|
|
6
|
+
type SlidesHandlerType = {
|
|
7
|
+
init: (emblaApi: EmblaCarouselType) => void;
|
|
8
|
+
destroy: () => void;
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
11
|
+
export { SlidesHandlerOptionType, SlidesHandlerType };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
//#region ../node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlidesInView.d.ts
|
|
2
|
+
type SlidesInViewOptionsType = IntersectionObserverInit['threshold'];
|
|
3
|
+
type SlidesInViewType = {
|
|
4
|
+
init: () => void;
|
|
5
|
+
destroy: () => void;
|
|
6
|
+
get: (inView?: boolean) => number[];
|
|
7
|
+
};
|
|
8
|
+
//#endregion
|
|
9
|
+
export { SlidesInViewOptionsType, SlidesInViewType };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
//#region ../node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlidesToScroll.d.ts
|
|
2
|
+
type SlidesToScrollOptionType = 'auto' | number;
|
|
3
|
+
type SlidesToScrollType = {
|
|
4
|
+
groupSlides: <Type>(array: Type[]) => Type[][];
|
|
5
|
+
};
|
|
6
|
+
//#endregion
|
|
7
|
+
export { SlidesToScrollOptionType, SlidesToScrollType };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
//#region ../node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Translate.d.ts
|
|
2
|
+
type TranslateType = {
|
|
3
|
+
clear: () => void;
|
|
4
|
+
to: (target: number) => void;
|
|
5
|
+
toggleActive: (active: boolean) => void;
|
|
6
|
+
};
|
|
7
|
+
//#endregion
|
|
8
|
+
export { TranslateType };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
//#region ../node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Vector1d.d.ts
|
|
2
|
+
type Vector1DType = {
|
|
3
|
+
get: () => number;
|
|
4
|
+
set: (n: Vector1DType | number) => void;
|
|
5
|
+
add: (n: Vector1DType | number) => void;
|
|
6
|
+
subtract: (n: Vector1DType | number) => void;
|
|
7
|
+
};
|
|
8
|
+
//#endregion
|
|
9
|
+
export { Vector1DType };
|
package/dist/shared/index.d.ts
CHANGED
|
@@ -12,4 +12,5 @@ import { isBrowser, isClient, isIOS, refreshIOSDetection } from "./env.js";
|
|
|
12
12
|
import { handleAndDispatchCustomEvent, isMouseEvent } from "./event.js";
|
|
13
13
|
import { getExitSideFromRect, getHull, getPaddedExitPoints, getPointsFromRect, isDeltaInDirection, isPointInPolygon, isPointerInGraceArea } from "./geometry.js";
|
|
14
14
|
import { getTreePaths } from "./tree.js";
|
|
15
|
-
|
|
15
|
+
import { CreateTimeOptionsProps, FormatTimeValueProps, TimePickerOption, compareTimeValues, createTimeOptions, findClosestTimeOption, formatTimeValue, isTimeBetweenInclusive } from "./time-picker.js";
|
|
16
|
+
export { ColorChannel, ColorChannelRange, ColorFormat, ColorObjectSpace, ColorSpace, ColorValue, CreateTimeOptionsProps, FormatTimeValueProps, NormalizedColor, TimePickerOption, appendAt, areColorsEqual, arrayRemove, clamp, compact, compareTimeValues, createFieldName, createTimeOptions, findClosestTimeOption, findValuesBetween, flattenChildren, focus, focusFirstAndSelect, formatChannelValue, formatColor, formatTimeValue, getActiveElement, getAreaBackgroundStyle, getAriaLabel, getBinaryCheckedState, getChannelName, getChannelObjectSpace, getChannelRange, getChannelValue, getCheckedState, getCollectionItemElements, getColorContrast, getColorLabel, getDirectionAwareKey, getDisclosureState, getElFromTemplateRef, getExitSideFromRect, getFocusIntent, getHull, getLifeCycleTarget, getMergedRefsValue, getNextMatch, getOpenFromSingleOrMultiple, getPaddedExitPoints, getPointsFromRect, getRawChildren, getSliderBackgroundStyle, getTabbableCandidates, getTabbableEdges, getTreePaths, getValue, getVueBooleanCasting, handleAndDispatchCustomEvent, hasVisibleChromaticity, insertAt, isArrayValue, isBlankString, isBrowser, isClient, isDateObject, isDeltaInDirection, isElementHasAttribute, isFormControl, isFunction, isHTMLElement, isIOS, isIndeterminate, isKey, isMouseEvent, isNonNullObject, isNullish, isObject, isObjectType, isPointInPolygon, isPointerInGraceArea, isPrimitive, isPromise, isString, isTimeBetweenInclusive, isValidColor, isValueEqualOrExist, keysOf, moveAt, normalizeColor, omit, parseArrayValue, parseFormValue, parseObjectValue, parsePrimitiveValue, pick, prependAt, refreshIOSDetection, removeAt, removeFromTabOrder, removeLinks, resolveColorFormat, roundToStepPrecision, setChannelValue, setChannelValues, setValue, snapValueToStep, stringToPath, swapAt, toCamelCase, toColorObject, toKebabCase, toPascalCase, transformPropsToContext, tryFocusFirst, updateAt, wrapArray };
|
package/dist/shared/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isArrayValue as e,isBlankString as t,isDateObject as n,isFunction as r,isNonNullObject as i,isNullish as a,isObject as o,isObjectType as s,isPrimitive as c,isPromise as l,isString as u,keysOf as d}from"./guard.js";import{appendAt as f,arrayRemove as p,compact as m,findValuesBetween as h,flattenChildren as g,getNextMatch as _,insertAt as v,moveAt as y,omit as b,pick as x,prependAt as S,removeAt as C,swapAt as w,updateAt as T,wrapArray as E}from"./object.js";import{isKey as D,stringToPath as O,toCamelCase as k,toKebabCase as A,toPascalCase as j}from"./string.js";import{isValueEqualOrExist as M}from"./comparison.js";import{areColorsEqual as N,formatChannelValue as P,formatColor as F,getAreaBackgroundStyle as I,getChannelName as L,getChannelObjectSpace as R,getChannelRange as z,getChannelValue as B,getColorContrast as V,getColorLabel as H,getSliderBackgroundStyle as U,hasVisibleChromaticity as W,isValidColor as G,normalizeColor as K,resolveColorFormat as q,setChannelValue as J,setChannelValues as Y,toColorObject as X}from"./color.js";import{clamp as Z,getBinaryCheckedState as Q,getCheckedState as $,getDisclosureState as ee,getOpenFromSingleOrMultiple as te,getValue as ne,isIndeterminate as re,roundToStepPrecision as ie,setValue as ae,snapValueToStep as oe}from"./value.js";import{createFieldName as se,parseArrayValue as ce,parseFormValue as le,parseObjectValue as ue,parsePrimitiveValue as de}from"./form.js";import{getActiveElement as fe,getAriaLabel as pe,getCollectionItemElements as me,isElementHasAttribute as he,isHTMLElement as ge,removeLinks as _e}from"./dom.js";import{focus as ve,focusFirstAndSelect as ye,getDirectionAwareKey as be,getFocusIntent as xe,getTabbableCandidates as Se,getTabbableEdges as Ce,removeFromTabOrder as we,tryFocusFirst as Te}from"./focus.js";import{getElFromTemplateRef as Ee,getLifeCycleTarget as De,getMergedRefsValue as Oe,getRawChildren as ke,getVueBooleanCasting as Ae,isFormControl as je,transformPropsToContext as Me}from"./vue.js";import{isBrowser as Ne,isClient as Pe,isIOS as Fe,refreshIOSDetection as Ie}from"./env.js";import{handleAndDispatchCustomEvent as Le,isMouseEvent as Re}from"./event.js";import{getExitSideFromRect as ze,getHull as Be,getPaddedExitPoints as Ve,getPointsFromRect as He,isDeltaInDirection as Ue,isPointInPolygon as We,isPointerInGraceArea as Ge}from"./geometry.js";import{getTreePaths as Ke}from"./tree.js";export{f as appendAt,N as areColorsEqual,p as arrayRemove,Z as clamp,m as compact,se as createFieldName,h as findValuesBetween,g as flattenChildren,ve as focus,ye as focusFirstAndSelect,P as formatChannelValue,F as formatColor,fe as getActiveElement,I as getAreaBackgroundStyle,pe as getAriaLabel,Q as getBinaryCheckedState,L as getChannelName,R as getChannelObjectSpace,z as getChannelRange,B as getChannelValue,$ as getCheckedState,me as getCollectionItemElements,V as getColorContrast,H as getColorLabel,be as getDirectionAwareKey,ee as getDisclosureState,Ee as getElFromTemplateRef,ze as getExitSideFromRect,xe as getFocusIntent,Be as getHull,De as getLifeCycleTarget,Oe as getMergedRefsValue,_ as getNextMatch,te as getOpenFromSingleOrMultiple,Ve as getPaddedExitPoints,He as getPointsFromRect,ke as getRawChildren,U as getSliderBackgroundStyle,Se as getTabbableCandidates,Ce as getTabbableEdges,Ke as getTreePaths,ne as getValue,Ae as getVueBooleanCasting,Le as handleAndDispatchCustomEvent,W as hasVisibleChromaticity,v as insertAt,e as isArrayValue,t as isBlankString,Ne as isBrowser,Pe as isClient,n as isDateObject,Ue as isDeltaInDirection,he as isElementHasAttribute,je as isFormControl,r as isFunction,ge as isHTMLElement,Fe as isIOS,re as isIndeterminate,D as isKey,Re as isMouseEvent,i as isNonNullObject,a as isNullish,o as isObject,s as isObjectType,We as isPointInPolygon,Ge as isPointerInGraceArea,c as isPrimitive,l as isPromise,u as isString,G as isValidColor,M as isValueEqualOrExist,d as keysOf,y as moveAt,K as normalizeColor,b as omit,ce as parseArrayValue,le as parseFormValue,ue as parseObjectValue,de as parsePrimitiveValue,x as pick,S as prependAt,Ie as refreshIOSDetection,C as removeAt,we as removeFromTabOrder,_e as removeLinks,q as resolveColorFormat,ie as roundToStepPrecision,J as setChannelValue,Y as setChannelValues,ae as setValue,oe as snapValueToStep,O as stringToPath,w as swapAt,k as toCamelCase,X as toColorObject,A as toKebabCase,j as toPascalCase,Me as transformPropsToContext,Te as tryFocusFirst,T as updateAt,E as wrapArray};
|
|
1
|
+
import{isArrayValue as e,isBlankString as t,isDateObject as n,isFunction as r,isNonNullObject as i,isNullish as a,isObject as o,isObjectType as s,isPrimitive as c,isPromise as l,isString as u,keysOf as d}from"./guard.js";import{appendAt as f,arrayRemove as p,compact as m,findValuesBetween as h,flattenChildren as g,getNextMatch as _,insertAt as v,moveAt as y,omit as b,pick as x,prependAt as S,removeAt as C,swapAt as w,updateAt as T,wrapArray as E}from"./object.js";import{isKey as D,stringToPath as O,toCamelCase as k,toKebabCase as A,toPascalCase as j}from"./string.js";import{isValueEqualOrExist as M}from"./comparison.js";import{areColorsEqual as N,formatChannelValue as P,formatColor as F,getAreaBackgroundStyle as I,getChannelName as L,getChannelObjectSpace as R,getChannelRange as z,getChannelValue as B,getColorContrast as V,getColorLabel as H,getSliderBackgroundStyle as U,hasVisibleChromaticity as W,isValidColor as G,normalizeColor as K,resolveColorFormat as q,setChannelValue as J,setChannelValues as Y,toColorObject as X}from"./color.js";import{clamp as Z,getBinaryCheckedState as Q,getCheckedState as $,getDisclosureState as ee,getOpenFromSingleOrMultiple as te,getValue as ne,isIndeterminate as re,roundToStepPrecision as ie,setValue as ae,snapValueToStep as oe}from"./value.js";import{createFieldName as se,parseArrayValue as ce,parseFormValue as le,parseObjectValue as ue,parsePrimitiveValue as de}from"./form.js";import{getActiveElement as fe,getAriaLabel as pe,getCollectionItemElements as me,isElementHasAttribute as he,isHTMLElement as ge,removeLinks as _e}from"./dom.js";import{focus as ve,focusFirstAndSelect as ye,getDirectionAwareKey as be,getFocusIntent as xe,getTabbableCandidates as Se,getTabbableEdges as Ce,removeFromTabOrder as we,tryFocusFirst as Te}from"./focus.js";import{getElFromTemplateRef as Ee,getLifeCycleTarget as De,getMergedRefsValue as Oe,getRawChildren as ke,getVueBooleanCasting as Ae,isFormControl as je,transformPropsToContext as Me}from"./vue.js";import{isBrowser as Ne,isClient as Pe,isIOS as Fe,refreshIOSDetection as Ie}from"./env.js";import{handleAndDispatchCustomEvent as Le,isMouseEvent as Re}from"./event.js";import{getExitSideFromRect as ze,getHull as Be,getPaddedExitPoints as Ve,getPointsFromRect as He,isDeltaInDirection as Ue,isPointInPolygon as We,isPointerInGraceArea as Ge}from"./geometry.js";import{getTreePaths as Ke}from"./tree.js";import{compareTimeValues as qe,createTimeOptions as Je,findClosestTimeOption as Ye,formatTimeValue as Xe,isTimeBetweenInclusive as Ze}from"./time-picker.js";export{f as appendAt,N as areColorsEqual,p as arrayRemove,Z as clamp,m as compact,qe as compareTimeValues,se as createFieldName,Je as createTimeOptions,Ye as findClosestTimeOption,h as findValuesBetween,g as flattenChildren,ve as focus,ye as focusFirstAndSelect,P as formatChannelValue,F as formatColor,Xe as formatTimeValue,fe as getActiveElement,I as getAreaBackgroundStyle,pe as getAriaLabel,Q as getBinaryCheckedState,L as getChannelName,R as getChannelObjectSpace,z as getChannelRange,B as getChannelValue,$ as getCheckedState,me as getCollectionItemElements,V as getColorContrast,H as getColorLabel,be as getDirectionAwareKey,ee as getDisclosureState,Ee as getElFromTemplateRef,ze as getExitSideFromRect,xe as getFocusIntent,Be as getHull,De as getLifeCycleTarget,Oe as getMergedRefsValue,_ as getNextMatch,te as getOpenFromSingleOrMultiple,Ve as getPaddedExitPoints,He as getPointsFromRect,ke as getRawChildren,U as getSliderBackgroundStyle,Se as getTabbableCandidates,Ce as getTabbableEdges,Ke as getTreePaths,ne as getValue,Ae as getVueBooleanCasting,Le as handleAndDispatchCustomEvent,W as hasVisibleChromaticity,v as insertAt,e as isArrayValue,t as isBlankString,Ne as isBrowser,Pe as isClient,n as isDateObject,Ue as isDeltaInDirection,he as isElementHasAttribute,je as isFormControl,r as isFunction,ge as isHTMLElement,Fe as isIOS,re as isIndeterminate,D as isKey,Re as isMouseEvent,i as isNonNullObject,a as isNullish,o as isObject,s as isObjectType,We as isPointInPolygon,Ge as isPointerInGraceArea,c as isPrimitive,l as isPromise,u as isString,Ze as isTimeBetweenInclusive,G as isValidColor,M as isValueEqualOrExist,d as keysOf,y as moveAt,K as normalizeColor,b as omit,ce as parseArrayValue,le as parseFormValue,ue as parseObjectValue,de as parsePrimitiveValue,x as pick,S as prependAt,Ie as refreshIOSDetection,C as removeAt,we as removeFromTabOrder,_e as removeLinks,q as resolveColorFormat,ie as roundToStepPrecision,J as setChannelValue,Y as setChannelValues,ae as setValue,oe as snapValueToStep,O as stringToPath,w as swapAt,k as toCamelCase,X as toColorObject,A as toKebabCase,j as toPascalCase,Me as transformPropsToContext,Te as tryFocusFirst,T as updateAt,E as wrapArray};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { TimeValue } from "../date/comparators.js";
|
|
2
|
+
import { DateStep, HourCycle, TimeGranularity, TimeMatcher } from "../date/types.js";
|
|
3
|
+
import { Formatter } from "../date/formatter.js";
|
|
4
|
+
//#region src/shared/time-picker.d.ts
|
|
5
|
+
interface TimePickerOption {
|
|
6
|
+
value: TimeValue;
|
|
7
|
+
label: string;
|
|
8
|
+
key: string;
|
|
9
|
+
}
|
|
10
|
+
interface FormatTimeValueProps {
|
|
11
|
+
formatter: Formatter;
|
|
12
|
+
granularity: TimeGranularity;
|
|
13
|
+
hideTimeZone?: boolean;
|
|
14
|
+
hourCycle?: HourCycle;
|
|
15
|
+
value: TimeValue;
|
|
16
|
+
}
|
|
17
|
+
interface CreateTimeOptionsProps extends Omit<FormatTimeValueProps, 'value'> {
|
|
18
|
+
isTimeUnavailable?: TimeMatcher;
|
|
19
|
+
maxValue?: TimeValue;
|
|
20
|
+
minValue?: TimeValue;
|
|
21
|
+
reference: TimeValue;
|
|
22
|
+
step?: DateStep;
|
|
23
|
+
}
|
|
24
|
+
declare function compareTimeValues(a: TimeValue, b: TimeValue): number;
|
|
25
|
+
declare function isTimeBetweenInclusive(date: TimeValue, start: TimeValue, end: TimeValue): boolean;
|
|
26
|
+
declare function formatTimeValue(props: FormatTimeValueProps): string;
|
|
27
|
+
declare function createTimeOptions(props: CreateTimeOptionsProps): TimePickerOption[];
|
|
28
|
+
declare function findClosestTimeOption(options: TimePickerOption[], value: TimeValue | undefined): TimePickerOption;
|
|
29
|
+
//#endregion
|
|
30
|
+
export { CreateTimeOptionsProps, FormatTimeValueProps, TimePickerOption, compareTimeValues, createTimeOptions, findClosestTimeOption, formatTimeValue, isTimeBetweenInclusive };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{isAfter as e,isAfterOrSame as t,isBefore as n,isBeforeOrSame as r,isEqualValue as i,isTime as a,isZonedDateTime as o}from"../date/comparators.js";import{getOptsByGranularity as s}from"../date/utils.js";import"../date/index.js";function c(t,r){return n(t,r)?-1:+!!e(t,r)}function l(e,n,i){return t(e,n)&&r(e,i)}function u(e){return e.formatter.toParts(e.value,s(e.granularity,e.hourCycle,!0)).filter(t=>t.type===`timeZoneName`?e.hideTimeZone?!1:!a(e.value)&&o(e.value):!0).map(e=>e.value).join(``)}function d(t){let r=p(t.granularity,t.step),i=Math.ceil(1440*60/r);return Array.from({length:i},(e,n)=>{let i=n*r,a=Math.floor(i/3600)%24,o=Math.floor(i%3600/60),s=i%60,c=t.reference.set({hour:a,minute:o,second:s,millisecond:0});return{value:c,label:u({formatter:t.formatter,granularity:t.granularity,hideTimeZone:t.hideTimeZone,hourCycle:t.hourCycle,value:c}),key:c.toString()}}).filter(r=>!(t.minValue&&n(r.value,t.minValue)||t.maxValue&&e(r.value,t.maxValue)||t.isTimeUnavailable?.(r.value)))}function f(e,t){return t?e.find(e=>i(e.value,t))??e[0]:e[0]}function p(e,t){let n=(t?.hour??0)*3600+(t?.minute??0)*60+(t?.second??0);return n>0?n:e===`hour`?3600:e===`second`?30:1800}export{c as compareTimeValues,d as createTimeOptions,f as findClosestTimeOption,u as formatTimeValue,l as isTimeBetweenInclusive};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soybeanjs/headless",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"description": "SoybeanHeadless is a collection unstyled components for Vue 3. It is designed to be lightweight and easy to use.",
|
|
5
5
|
"homepage": "https://github.com/soybeanjs/soybean-ui",
|
|
6
6
|
"bugs": {
|
|
@@ -81,10 +81,10 @@
|
|
|
81
81
|
"@standard-schema/spec": "^1.1.0",
|
|
82
82
|
"@tanstack/vue-virtual": "^3.13.24",
|
|
83
83
|
"@vue/shared": "^3.5.33",
|
|
84
|
-
"@vueuse/core": "^14.
|
|
85
|
-
"@vueuse/integrations": "^14.
|
|
86
|
-
"@vueuse/router": "^14.
|
|
87
|
-
"@vueuse/shared": "^14.
|
|
84
|
+
"@vueuse/core": "^14.3.0",
|
|
85
|
+
"@vueuse/integrations": "^14.3.0",
|
|
86
|
+
"@vueuse/router": "^14.3.0",
|
|
87
|
+
"@vueuse/shared": "^14.3.0",
|
|
88
88
|
"aria-hidden": "^1.2.6",
|
|
89
89
|
"defu": "^6.1.7",
|
|
90
90
|
"embla-carousel-vue": "8.6.0",
|
|
@@ -92,11 +92,11 @@
|
|
|
92
92
|
"ohash": "^2.0.11"
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
|
-
"@nuxt/kit": "^4.4.
|
|
96
|
-
"@nuxt/schema": "^4.4.
|
|
95
|
+
"@nuxt/kit": "^4.4.4",
|
|
96
|
+
"@nuxt/schema": "^4.4.4",
|
|
97
97
|
"tsdown": "0.21.10",
|
|
98
98
|
"typescript": "6.0.3",
|
|
99
|
-
"unplugin-vue": "7.
|
|
99
|
+
"unplugin-vue": "7.2.0",
|
|
100
100
|
"unplugin-vue-components": "^32.0.0",
|
|
101
101
|
"unplugin-vue-jsx": "0.8.1",
|
|
102
102
|
"vue": "3.5.33",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{useForwardElement as e}from"../../composables/use-forward-element.js";import{useOmitProps as t}from"../../composables/use-props.js";import"../../composables/index.js";import{Primitive as n}from"../primitive/primitive.js";import"../primitive/index.js";import{usePopperRootContext as r}from"../popper/context.js";import{usePopoverRootContext as i}from"../popover/context.js";import{useAutocompleteUi as a}from"./context.js";import{createBlock as o,defineComponent as s,mergeProps as c,openBlock as l,renderSlot as u,unref as d,watchEffect as f,withCtx as p}from"vue";const m=s({name:`AutocompleteAnchor`,__name:`autocomplete-anchor`,props:{reference:{},asChild:{type:Boolean},as:{default:`div`}},setup(s){let m=s,h=t(m,[`reference`]),g=a(`anchor`),{onAnchorElementChange:_}=r(`AutocompleteAnchor`),{onTriggerElementChange:v}=i(`AutocompleteAnchor`),[y,b]=e(e=>{m.reference||(_(e),v(e))});return f(()=>{m.reference&&(_(m.reference),m.reference instanceof HTMLElement&&v(m.reference))}),(e,t)=>(l(),o(d(n),c(d(h),{ref:d(b),class:d(g)}),{default:p(()=>[u(e.$slots,`default`)]),_:3},16,[`class`]))}});export{m as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{useForwardElement as e}from"../../composables/use-forward-element.js";import{useOmitProps as t}from"../../composables/use-props.js";import"../../composables/index.js";import n from"../popper/popper-popup.js";import"../popper/index.js";import{usePopoverRootContext as r}from"../popover/context.js";import{useAutocompleteRootContext as i,useAutocompleteUi as a}from"./context.js";import o from"../popover/popover-positioner.js";import"../popover/index.js";import{createBlock as s,createVNode as c,defineComponent as l,mergeProps as u,normalizeClass as d,openBlock as f,renderSlot as p,unref as m,withCtx as h}from"vue";const g=l({name:`AutocompleteContent`,inheritAttrs:!1,__name:`autocomplete-content`,props:{placement:{},side:{default:`bottom`},sideOffset:{default:4},sideFlip:{type:Boolean},align:{},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{},collisionPadding:{},arrowPadding:{},hideShiftedArrow:{type:Boolean},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean,default:!0},reference:{},forceMount:{type:Boolean}},setup(l){let g=t(l,[`forceMount`]),_=a(`content`),{dataState:v,onPopupElementChange:y}=r(`AutocompleteContent`),{inputElement:b}=i(`AutocompleteContent`),[x,S]=e(y),C=e=>{e.preventDefault(),b.value?.focus()};return(e,t)=>(f(),s(m(o),u(m(g),{"force-mount":l.forceMount,onCloseAutoFocus:C}),{default:h(()=>[c(m(n),{ref:m(S),class:d(m(_)),"data-state":m(v)},{default:h(()=>[p(e.$slots,`default`)]),_:3},8,[`class`,`data-state`])]),_:3},16,[`force-mount`]))}});export{g as default};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { AutocompleteContentProps } from "./types.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
|
-
import * as _$_floating_ui_utils0 from "@floating-ui/utils";
|
|
4
|
-
|
|
5
|
-
//#region src/components/autocomplete/autocomplete-content.vue.d.ts
|
|
6
|
-
declare var __VLS_16: {};
|
|
7
|
-
type __VLS_Slots = {} & {
|
|
8
|
-
default?: (props: typeof __VLS_16) => any;
|
|
9
|
-
};
|
|
10
|
-
declare const __VLS_base: _$vue.DefineComponent<AutocompleteContentProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<AutocompleteContentProps> & Readonly<{}>, {
|
|
11
|
-
side: _$_floating_ui_utils0.Side;
|
|
12
|
-
sideOffset: number;
|
|
13
|
-
avoidCollisions: boolean;
|
|
14
|
-
prioritizePosition: boolean;
|
|
15
|
-
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
16
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
-
declare const _default: typeof __VLS_export;
|
|
18
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
19
|
-
new (): {
|
|
20
|
-
$slots: S;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
//#endregion
|
|
24
|
-
export { _default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"../listbox/listbox-group-label.js";import"../listbox/index.js";import{createBlock as t,defineComponent as n,guardReactiveProps as r,normalizeProps as i,openBlock as a,renderSlot as o,unref as s,withCtx as c}from"vue";const l=n({name:`AutocompleteGroupLabel`,__name:`autocomplete-group-label`,setup(n){let l=n;return(n,u)=>(a(),t(s(e),i(r(l)),{default:c(()=>[o(n.$slots,`default`)]),_:3},16))}});export{l as default};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { AutocompleteGroupLabelProps } from "./types.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
|
-
|
|
4
|
-
//#region src/components/autocomplete/autocomplete-group-label.vue.d.ts
|
|
5
|
-
declare var __VLS_8: {};
|
|
6
|
-
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof __VLS_8) => any;
|
|
8
|
-
};
|
|
9
|
-
declare const __VLS_base: _$vue.DefineComponent<AutocompleteGroupLabelProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<AutocompleteGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
10
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
-
declare const _default: typeof __VLS_export;
|
|
12
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
-
new (): {
|
|
14
|
-
$slots: S;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
//#endregion
|
|
18
|
-
export { _default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"../listbox/listbox-group.js";import"../listbox/index.js";import{createBlock as t,defineComponent as n,guardReactiveProps as r,normalizeProps as i,openBlock as a,renderSlot as o,unref as s,withCtx as c}from"vue";const l=n({name:`AutocompleteGroup`,__name:`autocomplete-group`,setup(n){let l=n;return(n,u)=>(a(),t(s(e),i(r(l)),{default:c(()=>[o(n.$slots,`default`)]),_:3},16))}});export{l as default};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { AutocompleteGroupProps } from "./types.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
|
-
|
|
4
|
-
//#region src/components/autocomplete/autocomplete-group.vue.d.ts
|
|
5
|
-
declare var __VLS_8: {};
|
|
6
|
-
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof __VLS_8) => any;
|
|
8
|
-
};
|
|
9
|
-
declare const __VLS_base: _$vue.DefineComponent<AutocompleteGroupProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<AutocompleteGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
10
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
-
declare const _default: typeof __VLS_export;
|
|
12
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
-
new (): {
|
|
14
|
-
$slots: S;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
//#endregion
|
|
18
|
-
export { _default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"../listbox/listbox-item-indicator.js";import"../listbox/index.js";import{createBlock as t,defineComponent as n,guardReactiveProps as r,normalizeProps as i,openBlock as a,renderSlot as o,unref as s,withCtx as c}from"vue";const l=n({name:`AutocompleteItemIndicator`,__name:`autocomplete-item-indicator`,props:{asChild:{type:Boolean},as:{}},setup(n){let l=n;return(n,u)=>(a(),t(s(e),i(r(l)),{default:c(()=>[o(n.$slots,`default`)]),_:3},16))}});export{l as default};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { AutocompleteItemIndicatorProps } from "./types.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
|
-
|
|
4
|
-
//#region src/components/autocomplete/autocomplete-item-indicator.vue.d.ts
|
|
5
|
-
declare var __VLS_8: {};
|
|
6
|
-
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof __VLS_8) => any;
|
|
8
|
-
};
|
|
9
|
-
declare const __VLS_base: _$vue.DefineComponent<AutocompleteItemIndicatorProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<AutocompleteItemIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
10
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
-
declare const _default: typeof __VLS_export;
|
|
12
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
-
new (): {
|
|
14
|
-
$slots: S;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
//#endregion
|
|
18
|
-
export { _default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"../listbox/listbox-item.js";import"../listbox/index.js";import{useAutocompleteRootContext as t}from"./context.js";import{createBlock as n,defineComponent as r,openBlock as i,renderSlot as a,unref as o,withCtx as s}from"vue";const c=r({name:`AutocompleteItem`,__name:`autocomplete-item`,props:{value:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{default:`div`}},emits:[`select`],setup(r,{emit:c}){let l=c,{onOpenChange:u}=t(`AutocompleteItem`),d=e=>{l(`select`,e),!e.defaultPrevented&&u(!1)};return(t,c)=>(i(),n(o(e),{as:r.as,"as-child":r.asChild,value:r.value,disabled:r.disabled,onSelect:d},{default:s(()=>[a(t.$slots,`default`)]),_:3},8,[`as`,`as-child`,`value`,`disabled`]))}});export{c as default};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { SelectEvent } from "../../types/event.js";
|
|
2
|
-
import { AsTag } from "../primitive/types.js";
|
|
3
|
-
import { AutocompleteItemProps } from "./types.js";
|
|
4
|
-
import * as _$vue from "vue";
|
|
5
|
-
|
|
6
|
-
//#region src/components/autocomplete/autocomplete-item.vue.d.ts
|
|
7
|
-
declare var __VLS_10: {};
|
|
8
|
-
type __VLS_Slots = {} & {
|
|
9
|
-
default?: (props: typeof __VLS_10) => any;
|
|
10
|
-
};
|
|
11
|
-
declare const __VLS_base: _$vue.DefineComponent<AutocompleteItemProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
12
|
-
select: (event: SelectEvent<string>) => any;
|
|
13
|
-
}, string, _$vue.PublicProps, Readonly<AutocompleteItemProps> & Readonly<{
|
|
14
|
-
onSelect?: ((event: SelectEvent<string>) => any) | undefined;
|
|
15
|
-
}>, {
|
|
16
|
-
as: AsTag | _$vue.Component;
|
|
17
|
-
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
18
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
|
-
declare const _default: typeof __VLS_export;
|
|
20
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
-
new (): {
|
|
22
|
-
$slots: S;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
//#endregion
|
|
26
|
-
export { _default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{useAutocompleteUi as e}from"./context.js";import t from"../separator/separator-root.js";import"../separator/index.js";import{createBlock as n,defineComponent as r,mergeProps as i,openBlock as a,renderSlot as o,unref as s,withCtx as c}from"vue";const l=r({name:`AutocompleteSeparator`,__name:`autocomplete-separator`,props:{orientation:{},decorative:{type:Boolean}},setup(r){let l=r,u=e(`separator`);return(e,r)=>(a(),n(s(t),i(l,{class:s(u)}),{default:c(()=>[o(e.$slots,`default`)]),_:3},16,[`class`]))}});export{l as default};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { AutocompleteSeparatorProps } from "./types.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
|
-
|
|
4
|
-
//#region src/components/autocomplete/autocomplete-separator.vue.d.ts
|
|
5
|
-
declare var __VLS_8: {};
|
|
6
|
-
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof __VLS_8) => any;
|
|
8
|
-
};
|
|
9
|
-
declare const __VLS_base: _$vue.DefineComponent<AutocompleteSeparatorProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<AutocompleteSeparatorProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
10
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
-
declare const _default: typeof __VLS_export;
|
|
12
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
-
new (): {
|
|
14
|
-
$slots: S;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
//#endregion
|
|
18
|
-
export { _default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Primitive as e}from"../primitive/primitive.js";import"../primitive/index.js";import{usePopoverRootContext as t}from"../popover/context.js";import{useAutocompleteRootContext as n,useAutocompleteUi as r}from"./context.js";import{computed as i,createBlock as a,defineComponent as o,normalizeClass as s,openBlock as c,renderSlot as l,unref as u,withCtx as d}from"vue";const f=o({name:`AutocompleteTrigger`,__name:`autocomplete-trigger`,props:{asChild:{type:Boolean},as:{default:`button`}},setup(o){let f=o,p=r(`trigger`),{dataState:m}=t(`AutocompleteTrigger`),{contentId:h,disabled:g,onOpenChange:_,open:v}=n(`AutocompleteTrigger`),y=i(()=>g.value||f.disabled||!1),b=i(()=>f.as===`button`?`button`:void 0),x=()=>{y.value||_(!v.value)};return(t,n)=>(c(),a(u(e),{as:o.as,"as-child":o.asChild,class:s(u(p)),"aria-controls":u(h),"aria-expanded":u(v)||!1,"data-disabled":y.value?``:void 0,"data-state":u(m),disabled:y.value,type:b.value,onClick:x},{default:d(()=>[l(t.$slots,`default`)]),_:3},8,[`as`,`as-child`,`class`,`aria-controls`,`aria-expanded`,`data-disabled`,`data-state`,`disabled`,`type`]))}});export{f as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"../listbox/listbox-content.js";import"../listbox/index.js";import{useAutocompleteRootContext as t}from"./context.js";import{createBlock as n,defineComponent as r,mergeProps as i,openBlock as a,renderSlot as o,unref as s,withCtx as c}from"vue";const l=r({name:`AutocompleteViewport`,__name:`autocomplete-viewport`,setup(r){let l=r,{contentId:u,initContentId:d}=t(`AutocompleteViewport`);return d(),(t,r)=>(a(),n(s(e),i(l,{id:s(u)}),{default:c(()=>[o(t.$slots,`default`)]),_:3},16,[`id`]))}});export{l as default};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { AutocompleteViewportProps } from "./types.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
|
-
|
|
4
|
-
//#region src/components/autocomplete/autocomplete-viewport.vue.d.ts
|
|
5
|
-
declare var __VLS_8: {};
|
|
6
|
-
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof __VLS_8) => any;
|
|
8
|
-
};
|
|
9
|
-
declare const __VLS_base: _$vue.DefineComponent<AutocompleteViewportProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<AutocompleteViewportProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
10
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
-
declare const _default: typeof __VLS_export;
|
|
12
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
-
new (): {
|
|
14
|
-
$slots: S;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
//#endregion
|
|
18
|
-
export { _default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"../popper/popper-anchor.js";import"../popper/index.js";import{useComboboxUi as t}from"./context.js";import{createBlock as n,defineComponent as r,normalizeClass as i,openBlock as a,renderSlot as o,unref as s,withCtx as c}from"vue";const l=r({name:`ComboboxAnchor`,__name:`combobox-anchor`,props:{reference:{},asChild:{type:Boolean},as:{}},setup(r){let l=t(`anchor`);return(t,u)=>(a(),n(s(e),{as:r.as,"as-child":r.asChild,class:i(s(l)),reference:r.reference,"data-slot":`anchor`},{default:c(()=>[o(t.$slots,`default`)]),_:3},8,[`as`,`as-child`,`class`,`reference`]))}});export{l as default};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ComboboxAnchorProps } from "./types.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
|
-
|
|
4
|
-
//#region src/components/combobox/combobox-anchor.vue.d.ts
|
|
5
|
-
declare var __VLS_8: {};
|
|
6
|
-
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof __VLS_8) => any;
|
|
8
|
-
};
|
|
9
|
-
declare const __VLS_base: _$vue.DefineComponent<ComboboxAnchorProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<ComboboxAnchorProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
10
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
-
declare const _default: typeof __VLS_export;
|
|
12
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
-
new (): {
|
|
14
|
-
$slots: S;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
//#endregion
|
|
18
|
-
export { _default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"../listbox/listbox-group-label.js";import"../listbox/index.js";import{createBlock as t,defineComponent as n,mergeProps as r,openBlock as i,renderSlot as a,unref as o,withCtx as s}from"vue";const c=n({name:`ComboboxGroupLabel`,__name:`combobox-group-label`,setup(n){let c=n;return(n,l)=>(i(),t(o(e),r(c,{"data-slot":`group-label`}),{default:s(()=>[a(n.$slots,`default`)]),_:3},16))}});export{c as default};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ComboboxGroupLabelProps } from "./types.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
|
-
|
|
4
|
-
//#region src/components/combobox/combobox-group-label.vue.d.ts
|
|
5
|
-
declare var __VLS_8: {};
|
|
6
|
-
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof __VLS_8) => any;
|
|
8
|
-
};
|
|
9
|
-
declare const __VLS_base: _$vue.DefineComponent<ComboboxGroupLabelProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<ComboboxGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
10
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
-
declare const _default: typeof __VLS_export;
|
|
12
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
-
new (): {
|
|
14
|
-
$slots: S;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
//#endregion
|
|
18
|
-
export { _default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"../listbox/listbox-item-indicator.js";import"../listbox/index.js";import{createBlock as t,defineComponent as n,openBlock as r,renderSlot as i,unref as a,withCtx as o}from"vue";const s=n({name:`ComboboxItemIndicator`,__name:`combobox-item-indicator`,props:{asChild:{type:Boolean},as:{default:`span`}},setup(n){return(s,c)=>(r(),t(a(e),{as:n.as,"as-child":n.asChild,"data-slot":`item-indicator`},{default:o(()=>[i(s.$slots,`default`)]),_:3},8,[`as`,`as-child`]))}});export{s as default};
|
package/dist/node_modules/.pnpm/@soybeanjs_utils@0.1.0/node_modules/@soybeanjs/utils/dist/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=e=>Object.keys(e);export{e};
|