@soybeanjs/headless 0.15.5 → 0.17.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/_icon/types.d.ts +9 -0
- package/dist/components/accordion/types.d.ts +87 -0
- package/dist/components/affix/types.d.ts +39 -0
- package/dist/components/alert/types.d.ts +78 -0
- package/dist/components/anchor/anchor-compact.js +1 -1
- package/dist/components/anchor/{anchor-compact-item.js → anchor-item-compact.js} +1 -1
- package/dist/components/anchor/anchor-item-compact.vue.d.ts +8 -0
- package/dist/components/anchor/anchor-link.js +1 -1
- package/dist/components/anchor/anchor-root.vue.d.ts +1 -1
- package/dist/components/anchor/index.d.ts +5 -4
- package/dist/components/anchor/index.js +1 -1
- package/dist/components/anchor/types.d.ts +122 -10
- package/dist/components/arrow/types.d.ts +3 -0
- package/dist/components/aspect-ratio/types.d.ts +3 -0
- package/dist/components/autocomplete/autocomplete-compact.js +1 -1
- package/dist/components/autocomplete/autocomplete-compact.vue.d.ts +2 -2
- 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 +15 -5
- 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 +159 -32
- package/dist/components/avatar/types.d.ts +18 -0
- package/dist/components/backtop/backtop.vue.d.ts +9 -3
- package/dist/components/backtop/index.d.ts +2 -2
- package/dist/components/backtop/types.d.ts +19 -12
- package/dist/components/badge/types.d.ts +21 -0
- package/dist/components/bottom-sheet/bottom-sheet-compact.js +1 -1
- package/dist/components/bottom-sheet/bottom-sheet-root-nested.js +1 -1
- package/dist/components/bottom-sheet/bottom-sheet-root-nested.vue.d.ts +2 -2
- package/dist/components/bottom-sheet/bottom-sheet-root.js +1 -1
- package/dist/components/bottom-sheet/types.d.ts +99 -0
- package/dist/components/breadcrumb/index.d.ts +2 -2
- package/dist/components/breadcrumb/types.d.ts +103 -1
- package/dist/components/button/types.d.ts +16 -1
- 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 +528 -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 +112 -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 +50 -8
- package/dist/components/checkbox/checkbox-group-root.js +1 -1
- package/dist/components/checkbox/checkbox-root.js +1 -1
- package/dist/components/checkbox/types.d.ts +111 -0
- package/dist/components/clipboard/types.d.ts +42 -0
- package/dist/components/collapsible/collapsible-root.vue.d.ts +1 -1
- package/dist/components/collapsible/types.d.ts +18 -0
- package/dist/components/color-area/color-area-root.vue.d.ts +4 -4
- package/dist/components/color-area/types.d.ts +60 -0
- package/dist/components/color-field/color-field-root.vue.d.ts +3 -3
- package/dist/components/color-field/types.d.ts +51 -0
- package/dist/components/color-picker/color-picker-root.vue.d.ts +4 -4
- package/dist/components/color-picker/types.d.ts +39 -0
- package/dist/components/color-slider/color-slider-root.vue.d.ts +4 -4
- package/dist/components/color-slider/types.d.ts +60 -0
- package/dist/components/color-swatch/types.d.ts +9 -0
- package/dist/components/color-swatch-picker/color-swatch-picker-root.vue.d.ts +2 -2
- package/dist/components/color-swatch-picker/types.d.ts +27 -0
- 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-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-root.vue.d.ts +2 -2
- 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 +247 -20
- package/dist/components/command/command-compact.js +1 -1
- package/dist/components/command/command-compact.vue.d.ts +2 -2
- package/dist/components/command/types.d.ts +148 -1
- package/dist/components/config-provider/config-provider.vue.d.ts +1 -1
- package/dist/components/config-provider/types.d.ts +3 -0
- 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-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-root.js +1 -1
- 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/context-menu/types.d.ts +78 -0
- 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 +214 -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-compact.js +1 -0
- package/dist/components/date-picker/date-picker-compact.vue.d.ts +27 -0
- package/dist/components/date-picker/date-picker-content.js +1 -0
- package/dist/components/date-picker/date-picker-content.vue.d.ts +33 -0
- package/dist/components/date-picker/date-picker-root.js +1 -0
- package/dist/components/date-picker/date-picker-root.vue.d.ts +38 -0
- package/dist/components/date-picker/index.d.ts +9 -0
- package/dist/components/date-picker/index.js +1 -0
- package/dist/components/date-picker/types.d.ts +290 -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 +280 -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 +282 -0
- package/dist/components/dialog/dialog-compact.js +1 -1
- package/dist/components/dialog/dialog-compact.vue.d.ts +6 -6
- package/dist/components/dialog/dialog-root.js +1 -1
- package/dist/components/dialog/types.d.ts +196 -2
- 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-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.js +1 -1
- 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/dropdown-menu/types.d.ts +84 -0
- 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 +1 -1
- package/dist/components/editable/index.d.ts +8 -7
- package/dist/components/editable/index.js +1 -1
- package/dist/components/editable/types.d.ts +151 -2
- package/dist/components/empty/types.d.ts +24 -0
- package/dist/components/form/core/types.d.ts +396 -13
- package/dist/components/form/types.d.ts +27 -0
- 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-impl.js +1 -1
- 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 +72 -1
- package/dist/components/input/input-root.js +1 -1
- package/dist/components/input/types.d.ts +21 -0
- package/dist/components/input-number/types.d.ts +30 -0
- package/dist/components/input-otp/index.d.ts +1 -2
- package/dist/components/input-otp/index.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 +3 -3
- package/dist/components/input-otp/types.d.ts +186 -0
- package/dist/components/kbd/types.d.ts +6 -0
- package/dist/components/label/types.d.ts +3 -0
- package/dist/components/layout/layout-classic-compact.vue.d.ts +1 -1
- package/dist/components/layout/layout-compact.vue.d.ts +1 -1
- package/dist/components/layout/layout-root.vue.d.ts +1 -1
- package/dist/components/layout/types.d.ts +124 -10
- package/dist/components/link/link.vue.d.ts +1 -1
- package/dist/components/link/types.d.ts +12 -0
- package/dist/components/list/types.d.ts +21 -0
- package/dist/components/listbox/index.js +1 -1
- package/dist/components/listbox/listbox-root.js +1 -1
- package/dist/components/listbox/listbox-root.vue.d.ts +2 -2
- package/dist/components/listbox/types.d.ts +66 -0
- 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-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-root.js +1 -1
- package/dist/components/menu/types.d.ts +267 -3
- 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/types.d.ts +72 -0
- 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 +202 -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 +234 -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 +153 -2
- package/dist/components/page-tabs/types.d.ts +24 -0
- 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 +117 -1
- package/dist/components/popover/context.d.ts +9 -0
- package/dist/components/popover/context.js +1 -1
- package/dist/components/popover/index.d.ts +10 -9
- 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.js +1 -1
- package/dist/components/popover/popover-root.vue.d.ts +0 -2
- package/dist/components/popover/popover-trigger.js +1 -1
- package/dist/components/popover/types.d.ts +111 -6
- 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 +2 -2
- package/dist/components/popper/types.d.ts +22 -1
- package/dist/components/portal/types.d.ts +3 -0
- package/dist/components/primitive/types.d.ts +6 -0
- package/dist/components/progress/types.d.ts +81 -0
- package/dist/components/radio-group/types.d.ts +66 -0
- 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 +488 -0
- package/dist/components/range-calendar/use-range-calendar.js +1 -0
- package/dist/components/roving-focus/types.d.ts +18 -0
- package/dist/components/scroll-area/types.d.ts +33 -0
- package/dist/components/segment/types.d.ts +36 -0
- package/dist/components/select/select-content.vue.d.ts +1 -1
- package/dist/components/select/types.d.ts +240 -0
- package/dist/components/separator/types.d.ts +12 -0
- package/dist/components/skeleton/types.d.ts +3 -0
- package/dist/components/slider/slider-root.vue.d.ts +2 -2
- package/dist/components/slider/types.d.ts +90 -0
- package/dist/components/splitter/splitter-group.vue.d.ts +1 -1
- package/dist/components/splitter/types.d.ts +114 -0
- 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/stepper-root.vue.d.ts +2 -2
- package/dist/components/stepper/types.d.ts +136 -2
- package/dist/components/switch/types.d.ts +21 -0
- package/dist/components/table/table-compact.vue.d.ts +2 -2
- package/dist/components/table/types.d.ts +819 -0
- package/dist/components/tabs/tabs-root.vue.d.ts +1 -1
- package/dist/components/tabs/types.d.ts +75 -0
- package/dist/components/tag/types.d.ts +12 -0
- package/dist/components/tags-input/types.d.ts +63 -0
- package/dist/components/textarea/types.d.ts +27 -0
- 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 +201 -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 +224 -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 +280 -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 +304 -0
- package/dist/components/toast/shared.js +1 -1
- package/dist/components/toast/toaster.vue.d.ts +2 -2
- package/dist/components/toast/types.d.ts +224 -4
- package/dist/components/toggle/toggle.vue.d.ts +1 -1
- package/dist/components/toggle/types.d.ts +9 -0
- package/dist/components/toggle-group/types.d.ts +15 -0
- package/dist/components/toolbar/types.d.ts +48 -0
- 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/tooltip/types.d.ts +27 -0
- package/dist/components/tree/types.d.ts +75 -0
- package/dist/components/tree-menu/tree-menu-root.vue.d.ts +1 -1
- package/dist/components/tree-menu/types.d.ts +60 -0
- package/dist/components/virtualizer/types.d.ts +33 -0
- package/dist/components/visually-hidden/types.d.ts +30 -0
- 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 +207 -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 +239 -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-collection.js +1 -1
- 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 +19 -5
- package/dist/constants/components.js +1 -1
- package/dist/constants/index.d.ts +2 -1
- package/dist/constants/index.js +1 -1
- package/dist/{components/input-otp → constants}/regexp.d.ts +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 +460 -375
- package/dist/index.js +1 -1
- package/dist/namespaced/index.d.ts +884 -725
- 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/resolver/index.js +1 -1
- package/dist/shared/index.d.ts +3 -2
- package/dist/shared/index.js +1 -1
- package/dist/shared/string.d.ts +1 -34
- package/dist/shared/string.js +1 -1
- package/dist/shared/time-picker.d.ts +30 -0
- package/dist/shared/time-picker.js +1 -0
- package/dist/types/common.d.ts +9 -1
- package/dist/types/dom.d.ts +3 -1
- package/dist/types/event.d.ts +10 -1
- package/dist/types/index.d.ts +5 -4
- package/dist/types/index.js +0 -0
- package/dist/types/vue.d.ts +4 -1
- package/package.json +13 -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
- /package/dist/{components/input-otp → constants}/regexp.js +0 -0
|
@@ -3,16 +3,127 @@ import { CollapsibleContentProps, CollapsibleRootEmits, CollapsibleRootProps, Co
|
|
|
3
3
|
import { HTMLAttributes } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/components/card/types.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* Props for the card root component.
|
|
8
|
+
*/
|
|
6
9
|
interface CardRootProps extends CollapsibleRootProps {}
|
|
10
|
+
/**
|
|
11
|
+
* Emits for the card root component.
|
|
12
|
+
*/
|
|
7
13
|
type CardRootEmits = CollapsibleRootEmits;
|
|
14
|
+
/**
|
|
15
|
+
* Props for the card header component.
|
|
16
|
+
*/
|
|
8
17
|
interface CardHeaderProps extends /** @vue-ignore */HTMLAttributes {}
|
|
18
|
+
/**
|
|
19
|
+
* Props for the card content component.
|
|
20
|
+
*/
|
|
9
21
|
interface CardContentProps extends CollapsibleContentProps {}
|
|
22
|
+
/**
|
|
23
|
+
* Props for the card footer component.
|
|
24
|
+
*/
|
|
10
25
|
interface CardFooterProps extends /** @vue-ignore */HTMLAttributes {}
|
|
26
|
+
/**
|
|
27
|
+
* Props for the card title root component.
|
|
28
|
+
*/
|
|
11
29
|
interface CardTitleRootProps extends /** @vue-ignore */HTMLAttributes {}
|
|
30
|
+
/**
|
|
31
|
+
* Props for the card title component.
|
|
32
|
+
*/
|
|
12
33
|
interface CardTitleProps extends /** @vue-ignore */HTMLAttributes {}
|
|
34
|
+
/**
|
|
35
|
+
* Props for the card description component.
|
|
36
|
+
*/
|
|
13
37
|
interface CardDescriptionProps extends /** @vue-ignore */HTMLAttributes {}
|
|
38
|
+
/**
|
|
39
|
+
* Props for the card collapsible trigger component.
|
|
40
|
+
*/
|
|
14
41
|
interface CardCollapsibleTriggerProps extends CollapsibleTriggerProps {}
|
|
42
|
+
/**
|
|
43
|
+
* Available UI slots for the card component.
|
|
44
|
+
*/
|
|
15
45
|
type CardUiSlot = 'root' | 'header' | 'content' | 'footer' | 'titleRoot' | 'title' | 'description' | 'trigger';
|
|
46
|
+
/**
|
|
47
|
+
* UI class overrides for the card component.
|
|
48
|
+
*/
|
|
16
49
|
type CardUi = UiClass<CardUiSlot>;
|
|
50
|
+
/**
|
|
51
|
+
* Props for the card compact component.
|
|
52
|
+
*/
|
|
53
|
+
interface CardCompactProps extends CardRootProps {
|
|
54
|
+
/**
|
|
55
|
+
* Title text rendered by the component.
|
|
56
|
+
*/
|
|
57
|
+
title?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Description text rendered by the component.
|
|
60
|
+
*/
|
|
61
|
+
description?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Props forwarded to the header element.
|
|
64
|
+
*/
|
|
65
|
+
headerProps?: CardHeaderProps;
|
|
66
|
+
/**
|
|
67
|
+
* Props forwarded to the content element.
|
|
68
|
+
*/
|
|
69
|
+
contentProps?: CardContentProps;
|
|
70
|
+
/**
|
|
71
|
+
* Props forwarded to the footer element.
|
|
72
|
+
*/
|
|
73
|
+
footerProps?: CardFooterProps;
|
|
74
|
+
/**
|
|
75
|
+
* Props forwarded to the title root element.
|
|
76
|
+
*/
|
|
77
|
+
titleRootProps?: CardTitleRootProps;
|
|
78
|
+
/**
|
|
79
|
+
* Props forwarded to the title element.
|
|
80
|
+
*/
|
|
81
|
+
titleProps?: CardTitleProps;
|
|
82
|
+
/**
|
|
83
|
+
* Props forwarded to the description element.
|
|
84
|
+
*/
|
|
85
|
+
descriptionProps?: CardDescriptionProps;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Emits for the card compact component.
|
|
89
|
+
*/
|
|
90
|
+
type CardCompactEmits = CardRootEmits;
|
|
91
|
+
/**
|
|
92
|
+
* Slots for the card compact component.
|
|
93
|
+
*/
|
|
94
|
+
interface CardCompactSlots {
|
|
95
|
+
/**
|
|
96
|
+
* Custom content for the default slot.
|
|
97
|
+
*/
|
|
98
|
+
default?: () => any;
|
|
99
|
+
/**
|
|
100
|
+
* Custom content for the header slot.
|
|
101
|
+
*/
|
|
102
|
+
header?: () => any;
|
|
103
|
+
/**
|
|
104
|
+
* Custom content for the title slot.
|
|
105
|
+
*/
|
|
106
|
+
title?: () => any;
|
|
107
|
+
/**
|
|
108
|
+
* Custom content for the title leading slot.
|
|
109
|
+
*/
|
|
110
|
+
'title-leading'?: () => any;
|
|
111
|
+
/**
|
|
112
|
+
* Custom content for the title trailing slot.
|
|
113
|
+
*/
|
|
114
|
+
'title-trailing'?: () => any;
|
|
115
|
+
/**
|
|
116
|
+
* Custom content for the extra slot.
|
|
117
|
+
*/
|
|
118
|
+
extra?: () => any;
|
|
119
|
+
/**
|
|
120
|
+
* Custom content for the footer slot.
|
|
121
|
+
*/
|
|
122
|
+
footer?: () => any;
|
|
123
|
+
/**
|
|
124
|
+
* Custom content for the description slot.
|
|
125
|
+
*/
|
|
126
|
+
description?: () => any;
|
|
127
|
+
}
|
|
17
128
|
//#endregion
|
|
18
|
-
export { CardCollapsibleTriggerProps, CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardRootEmits, CardRootProps, CardTitleProps, CardTitleRootProps, CardUi, CardUiSlot };
|
|
129
|
+
export { CardCollapsibleTriggerProps, CardCompactEmits, CardCompactProps, CardCompactSlots, CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardRootEmits, CardRootProps, CardTitleProps, CardTitleRootProps, CardUi, CardUiSlot };
|
|
@@ -1,9 +1,46 @@
|
|
|
1
|
+
import { DataOrientation, Direction } from "../../types/common.js";
|
|
2
|
+
import { EmblaCarouselType } from "../../node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/EmblaCarousel.js";
|
|
3
|
+
import { CarouselRootProps } from "./types.js";
|
|
4
|
+
import * as _$vue from "vue";
|
|
5
|
+
|
|
1
6
|
//#region src/components/carousel/carousel-root.vue.d.ts
|
|
2
|
-
declare
|
|
7
|
+
declare function scrollNext(): void;
|
|
8
|
+
declare function scrollPrev(): void;
|
|
9
|
+
declare function scrollTo(index: number, jump?: boolean): void;
|
|
10
|
+
declare var __VLS_1: {
|
|
11
|
+
carouselApi: EmblaCarouselType | undefined;
|
|
12
|
+
canScrollNext: boolean;
|
|
13
|
+
canScrollPrev: boolean;
|
|
14
|
+
selectedIndex: number;
|
|
15
|
+
scrollSnaps: number[];
|
|
16
|
+
scrollNext: typeof scrollNext;
|
|
17
|
+
scrollPrev: typeof scrollPrev;
|
|
18
|
+
scrollTo: typeof scrollTo;
|
|
19
|
+
orientation: DataOrientation;
|
|
20
|
+
dir: Direction;
|
|
21
|
+
};
|
|
3
22
|
type __VLS_Slots = {} & {
|
|
4
23
|
default?: (props: typeof __VLS_1) => any;
|
|
5
24
|
};
|
|
6
|
-
declare const __VLS_base:
|
|
25
|
+
declare const __VLS_base: _$vue.DefineComponent<CarouselRootProps, {
|
|
26
|
+
dir: _$vue.ComputedRef<Direction>;
|
|
27
|
+
orientation: _$vue.ComputedRef<DataOrientation>;
|
|
28
|
+
carouselApi: _$vue.Ref<EmblaCarouselType | undefined, EmblaCarouselType | undefined>;
|
|
29
|
+
carouselRef: _$vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
30
|
+
canScrollNext: _$vue.ShallowRef<boolean, boolean>;
|
|
31
|
+
canScrollPrev: _$vue.ShallowRef<boolean, boolean>;
|
|
32
|
+
selectedIndex: _$vue.ShallowRef<number, number>;
|
|
33
|
+
scrollSnaps: _$vue.ShallowRef<number[], number[]>;
|
|
34
|
+
scrollNext: typeof scrollNext;
|
|
35
|
+
scrollPrev: typeof scrollPrev;
|
|
36
|
+
scrollTo: typeof scrollTo;
|
|
37
|
+
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
38
|
+
initApi: (api: EmblaCarouselType) => any;
|
|
39
|
+
}, string, _$vue.PublicProps, Readonly<CarouselRootProps> & Readonly<{
|
|
40
|
+
onInitApi?: ((api: EmblaCarouselType) => any) | undefined;
|
|
41
|
+
}>, {
|
|
42
|
+
orientation: DataOrientation;
|
|
43
|
+
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
7
44
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
45
|
declare const _default: typeof __VLS_export;
|
|
9
46
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EmblaPluginType } from "../../node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Plugins.js";
|
|
2
|
+
import { EmblaOptionsType } from "../../node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Options.js";
|
|
3
|
+
import { CarouselApi, CarouselContentProps, CarouselItemProps, CarouselNextProps, CarouselPreviousProps, CarouselRootEmits, CarouselRootProps, CarouselUi, CarouselUiSlot } from "./types.js";
|
|
2
4
|
import { _default } from "./carousel-content.vue.js";
|
|
3
5
|
import { _default as _default$1 } from "./carousel-item.vue.js";
|
|
4
6
|
import { _default as _default$2 } from "./carousel-next.vue.js";
|
|
5
7
|
import { _default as _default$3 } from "./carousel-previous.vue.js";
|
|
6
8
|
import { _default as _default$4 } from "./carousel-root.vue.js";
|
|
7
9
|
import { provideCarouselUi } from "./context.js";
|
|
8
|
-
export { type CarouselApi, _default as CarouselContent, type CarouselContentProps, _default$1 as CarouselItem, type CarouselItemProps, _default$2 as CarouselNext, type CarouselNextProps, type CarouselOptions, type
|
|
10
|
+
export { type CarouselApi, _default as CarouselContent, type CarouselContentProps, _default$1 as CarouselItem, type CarouselItemProps, _default$2 as CarouselNext, type CarouselNextProps, type EmblaOptionsType as CarouselOptions, type EmblaPluginType as CarouselPlugin, _default$3 as CarouselPrevious, type CarouselPreviousProps, _default$4 as CarouselRoot, type CarouselRootEmits, type CarouselRootProps, type CarouselUi, type CarouselUiSlot, provideCarouselUi };
|
|
@@ -1,26 +1,68 @@
|
|
|
1
1
|
import { DataOrientation, Direction, UiClass } from "../../types/common.js";
|
|
2
2
|
import { ButtonProps } from "../button/types.js";
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
3
|
+
import { EmblaPluginType } from "../../node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Plugins.js";
|
|
4
|
+
import { EmblaOptionsType } from "../../node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Options.js";
|
|
5
|
+
import { ComputedRef, HTMLAttributes, Ref, ShallowRef } from "vue";
|
|
6
|
+
import { EmblaCarouselVueType } from "embla-carousel-vue";
|
|
5
7
|
|
|
6
8
|
//#region src/components/carousel/types.d.ts
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Props for the carousel root component.
|
|
11
|
+
*/
|
|
10
12
|
interface CarouselRootProps extends /** @vue-ignore */Omit<HTMLAttributes, 'onSelect'> {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
+
/**
|
|
14
|
+
* Opts.
|
|
15
|
+
*/
|
|
16
|
+
opts?: EmblaOptionsType;
|
|
17
|
+
/**
|
|
18
|
+
* Plugins.
|
|
19
|
+
*/
|
|
20
|
+
plugins?: EmblaPluginType[];
|
|
21
|
+
/**
|
|
22
|
+
* Orientation of the component.
|
|
23
|
+
*/
|
|
13
24
|
orientation?: DataOrientation;
|
|
25
|
+
/**
|
|
26
|
+
* Reading direction of the component.
|
|
27
|
+
*/
|
|
14
28
|
dir?: Direction;
|
|
15
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* Type information for the carousel api component.
|
|
32
|
+
*/
|
|
33
|
+
type CarouselApi = NonNullable<EmblaCarouselVueType[1]['value']>;
|
|
34
|
+
/**
|
|
35
|
+
* Emits for the carousel root component.
|
|
36
|
+
*/
|
|
16
37
|
type CarouselRootEmits = {
|
|
38
|
+
/**
|
|
39
|
+
* Emitted when init api occurs.
|
|
40
|
+
*/
|
|
17
41
|
initApi: [api: CarouselApi];
|
|
18
42
|
};
|
|
43
|
+
/**
|
|
44
|
+
* Props for the carousel content component.
|
|
45
|
+
*/
|
|
19
46
|
interface CarouselContentProps extends /** @vue-ignore */HTMLAttributes {}
|
|
47
|
+
/**
|
|
48
|
+
* Props for the carousel item component.
|
|
49
|
+
*/
|
|
20
50
|
interface CarouselItemProps extends /** @vue-ignore */HTMLAttributes {}
|
|
51
|
+
/**
|
|
52
|
+
* Props for the carousel previous component.
|
|
53
|
+
*/
|
|
21
54
|
interface CarouselPreviousProps extends ButtonProps {}
|
|
55
|
+
/**
|
|
56
|
+
* Props for the carousel next component.
|
|
57
|
+
*/
|
|
22
58
|
interface CarouselNextProps extends ButtonProps {}
|
|
59
|
+
/**
|
|
60
|
+
* Available UI slots for the carousel component.
|
|
61
|
+
*/
|
|
23
62
|
type CarouselUiSlot = 'root' | 'content' | 'container' | 'item' | 'previous' | 'next';
|
|
63
|
+
/**
|
|
64
|
+
* UI class overrides for the carousel component.
|
|
65
|
+
*/
|
|
24
66
|
type CarouselUi = UiClass<CarouselUiSlot>;
|
|
25
67
|
//#endregion
|
|
26
|
-
export { CarouselApi, CarouselContentProps, CarouselItemProps, CarouselNextProps,
|
|
68
|
+
export { CarouselApi, CarouselContentProps, CarouselItemProps, CarouselNextProps, CarouselPreviousProps, CarouselRootEmits, CarouselRootProps, CarouselUi, CarouselUiSlot };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isFormControl as e,transformPropsToContext as t}from"../../shared/vue.js";import"../../shared/index.js";import{useControllableState as n}from"../../composables/use-controllable-state.js";import{useForwardElement as r}from"../../composables/use-forward-element.js";import"../../composables/index.js";import i from"../visually-hidden/visually-hidden-input.js";import{provideCheckboxGroupRootContext as a,useCheckboxUi as o}from"./context.js";import
|
|
1
|
+
import{isFormControl as e,transformPropsToContext as t}from"../../shared/vue.js";import"../../shared/index.js";import{useControllableState as n}from"../../composables/use-controllable-state.js";import{useForwardElement as r}from"../../composables/use-forward-element.js";import"../../composables/index.js";import i from"../visually-hidden/visually-hidden-input.js";import"../visually-hidden/index.js";import{provideCheckboxGroupRootContext as a,useCheckboxUi as o}from"./context.js";import s from"../roving-focus/roving-focus-group.js";import"../roving-focus/index.js";import{computed as c,createBlock as l,createCommentVNode as u,defineComponent as d,mergeProps as f,openBlock as p,renderSlot as m,resolveDynamicComponent as h,unref as g,withCtx as _}from"vue";const v=d({name:`CheckboxGroupRoot`,__name:`checkbox-group-root`,props:{modelValue:{default:void 0},defaultValue:{},rovingFocus:{type:Boolean,default:!0},disabled:{type:Boolean},orientation:{},dir:{},loop:{type:Boolean},name:{},required:{type:Boolean}},emits:[`update:modelValue`],setup(d,{emit:v}){let y=d,b=v,x=o(`groupRoot`),S=c(()=>{let{rovingFocus:e,loop:t,dir:n,orientation:r}=y;return e?{loop:t,dir:n,orientation:r}:{}}),C=n(()=>y.modelValue,e=>{b(`update:modelValue`,e??[])},y.defaultValue);a({...t(y,[`modelValue`,`defaultValue`,`rovingFocus`,`disabled`]),modelValue:C});let[w,T]=r(),E=c(()=>e(w.value));return(e,t)=>(p(),l(h(d.rovingFocus?g(s):`div`),f(S.value,{ref:g(T),class:g(x),as:`div`}),{default:_(()=>[m(e.$slots,`default`),E.value&&d.name?(p(),l(g(i),{key:0,name:d.name,value:g(C),required:d.required},null,8,[`name`,`value`,`required`])):u(`v-if`,!0)]),_:3},16,[`class`]))}});export{v as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isNullish as e}from"../../shared/guard.js";import{isValueEqualOrExist as t}from"../../shared/comparison.js";import{isFormControl as n,transformPropsToContext as r}from"../../shared/vue.js";import"../../shared/index.js";import{useControllableState as i}from"../../composables/use-controllable-state.js";import"../../composables/index.js";import a from"../visually-hidden/visually-hidden-input.js";import{provideCheckboxRootContext as o,useCheckboxGroupRootContext as s,useCheckboxUi as c}from"./context.js";import
|
|
1
|
+
import{isNullish as e}from"../../shared/guard.js";import{isValueEqualOrExist as t}from"../../shared/comparison.js";import{isFormControl as n,transformPropsToContext as r}from"../../shared/vue.js";import"../../shared/index.js";import{useControllableState as i}from"../../composables/use-controllable-state.js";import"../../composables/index.js";import a from"../visually-hidden/visually-hidden-input.js";import"../visually-hidden/index.js";import{provideCheckboxRootContext as o,useCheckboxGroupRootContext as s,useCheckboxUi as c}from"./context.js";import{computed as l,createBlock as u,createCommentVNode as d,createElementBlock as f,defineComponent as p,normalizeClass as m,openBlock as h,renderSlot as g,unref as _,useTemplateRef as v}from"vue";const y=[`data-state`],b=p({name:`CheckboxRoot`,__name:`checkbox-root`,props:{id:{},modelValue:{type:[Boolean,String,null],default:void 0},defaultValue:{type:[Boolean,String]},value:{default:`on`},disabled:{type:Boolean},name:{},required:{type:Boolean}},emits:[`update:modelValue`],setup(p,{emit:b}){let x=p,S=b,C=c(`root`),w=v(`rootElement`),T=s(),E=i(()=>x.modelValue,e=>{e!==void 0&&S(`update:modelValue`,e)},x.defaultValue),D=l(()=>n(w.value)),O=l(()=>T?.disabled?.value||x.disabled),k=l(()=>e(T?.modelValue?.value)?e(E.value)?!1:E.value===`indeterminate`?`indeterminate`:E.value:t(T?.modelValue.value,x.value)),{dataState:A}=o({...r(x,[`value`,`name`,`required`]),modelValue:E,disabled:O,state:k});return(e,t)=>(h(),f(`div`,{ref_key:`rootElement`,ref:w,class:m(_(C)),"data-state":_(A)},[g(e.$slots,`default`,{modelValue:_(E),state:k.value}),D.value&&p.name&&!_(T)?(h(),u(_(a),{key:0,type:`checkbox`,checked:!!k.value,name:p.name,value:p.value,disabled:O.value,required:p.required},null,8,[`checked`,`name`,`value`,`disabled`,`required`])):d(`v-if`,!0)],10,y))}});export{b as default};
|
|
@@ -7,7 +7,13 @@ import { RovingFocusGroupProps } from "../roving-focus/types.js";
|
|
|
7
7
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, ShallowRef } from "vue";
|
|
8
8
|
|
|
9
9
|
//#region src/components/checkbox/types.d.ts
|
|
10
|
+
/**
|
|
11
|
+
* Props for the checkbox root component.
|
|
12
|
+
*/
|
|
10
13
|
interface CheckboxRootProps extends FormFieldCommonProps, /** @vue-ignore */HTMLAttributes {
|
|
14
|
+
/**
|
|
15
|
+
* Id.
|
|
16
|
+
*/
|
|
11
17
|
id?: string;
|
|
12
18
|
/** The controlled value of the checkbox. Can be bound with v-model. */
|
|
13
19
|
modelValue?: CheckedState | null;
|
|
@@ -26,23 +32,56 @@ interface CheckboxRootProps extends FormFieldCommonProps, /** @vue-ignore */HTML
|
|
|
26
32
|
*/
|
|
27
33
|
disabled?: boolean;
|
|
28
34
|
}
|
|
35
|
+
/**
|
|
36
|
+
* Emits for the checkbox root component.
|
|
37
|
+
*/
|
|
29
38
|
type CheckboxRootEmits = {
|
|
30
39
|
/** Event handler called when the value of the checkbox changes. */'update:modelValue': [value: CheckedState | null];
|
|
31
40
|
};
|
|
41
|
+
/**
|
|
42
|
+
* Props for the checkbox control component.
|
|
43
|
+
*/
|
|
32
44
|
interface CheckboxControlProps extends /** @vue-ignore */ButtonHTMLAttributes {
|
|
33
45
|
/** Id of the element */
|
|
34
46
|
id?: string;
|
|
35
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* Props for the checkbox indicator component.
|
|
50
|
+
*/
|
|
36
51
|
interface CheckboxIndicatorProps extends PrimitiveProps, ForceMountProps, /** @vue-ignore */HTMLAttributes {}
|
|
52
|
+
/**
|
|
53
|
+
* Option data for the checkbox group component.
|
|
54
|
+
*/
|
|
37
55
|
type CheckboxGroupOptionData<T extends DefinedValue = DefinedValue> = {
|
|
56
|
+
/**
|
|
57
|
+
* Value associated with the current item.
|
|
58
|
+
*/
|
|
38
59
|
value: T;
|
|
60
|
+
/**
|
|
61
|
+
* Label text rendered by the component.
|
|
62
|
+
*/
|
|
39
63
|
label: string;
|
|
64
|
+
/**
|
|
65
|
+
* Whether the component is disabled.
|
|
66
|
+
*/
|
|
40
67
|
disabled?: boolean;
|
|
41
68
|
};
|
|
69
|
+
/**
|
|
70
|
+
* Option data for the checkbox card group component.
|
|
71
|
+
*/
|
|
42
72
|
type CheckboxCardGroupOptionData<T extends DefinedValue = DefinedValue> = CheckboxGroupOptionData<T> & {
|
|
73
|
+
/**
|
|
74
|
+
* Icon rendered by the component.
|
|
75
|
+
*/
|
|
43
76
|
icon?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Description text rendered by the component.
|
|
79
|
+
*/
|
|
44
80
|
description?: string;
|
|
45
81
|
};
|
|
82
|
+
/**
|
|
83
|
+
* Props for the checkbox group root component.
|
|
84
|
+
*/
|
|
46
85
|
interface CheckboxGroupRootProps<T extends DefinedValue = DefinedValue> extends Omit<RovingFocusGroupProps, 'currentTabStopId' | 'defaultCurrentTabStopId' | 'preventScrollOnEntryFocus' | 'as' | 'asChild'>, FormFieldCommonProps {
|
|
47
86
|
/** The controlled value of the checkbox. Can be bound with v-model. */
|
|
48
87
|
modelValue?: T[];
|
|
@@ -61,34 +100,106 @@ interface CheckboxGroupRootProps<T extends DefinedValue = DefinedValue> extends
|
|
|
61
100
|
*/
|
|
62
101
|
disabled?: boolean;
|
|
63
102
|
}
|
|
103
|
+
/**
|
|
104
|
+
* Emits for the checkbox group root component.
|
|
105
|
+
*/
|
|
64
106
|
type CheckboxGroupRootEmits<T extends DefinedValue = DefinedValue> = {
|
|
65
107
|
/** Event handler called when the value of the checkbox group changes. */'update:modelValue': [value: T[]];
|
|
66
108
|
};
|
|
109
|
+
/**
|
|
110
|
+
* Props for the checkbox compact component.
|
|
111
|
+
*/
|
|
67
112
|
interface CheckboxCompactProps extends CheckboxRootProps {
|
|
113
|
+
/**
|
|
114
|
+
* Label text rendered by the component.
|
|
115
|
+
*/
|
|
68
116
|
label?: string;
|
|
117
|
+
/**
|
|
118
|
+
* Props forwarded to the control element.
|
|
119
|
+
*/
|
|
69
120
|
controlProps?: CheckboxControlProps;
|
|
121
|
+
/**
|
|
122
|
+
* Props forwarded to the indicator element.
|
|
123
|
+
*/
|
|
70
124
|
indicatorProps?: CheckboxIndicatorProps;
|
|
125
|
+
/**
|
|
126
|
+
* Props forwarded to the label element.
|
|
127
|
+
*/
|
|
71
128
|
labelProps?: LabelProps;
|
|
72
129
|
}
|
|
130
|
+
/**
|
|
131
|
+
* Emits for the checkbox compact component.
|
|
132
|
+
*/
|
|
73
133
|
type CheckboxCompactEmits = CheckboxRootEmits;
|
|
134
|
+
/**
|
|
135
|
+
* Props for the checkbox card compact component.
|
|
136
|
+
*/
|
|
74
137
|
interface CheckboxCardCompactProps extends CheckboxCompactProps {
|
|
138
|
+
/**
|
|
139
|
+
* Icon rendered by the component.
|
|
140
|
+
*/
|
|
75
141
|
icon?: IconValue;
|
|
142
|
+
/**
|
|
143
|
+
* Description text rendered by the component.
|
|
144
|
+
*/
|
|
76
145
|
description?: string;
|
|
77
146
|
}
|
|
147
|
+
/**
|
|
148
|
+
* Emits for the checkbox card compact component.
|
|
149
|
+
*/
|
|
78
150
|
type CheckboxCardCompactEmits = CheckboxCompactEmits;
|
|
151
|
+
/**
|
|
152
|
+
* Props for the checkbox group compact component.
|
|
153
|
+
*/
|
|
79
154
|
interface CheckboxGroupCompactProps<T extends CheckboxGroupOptionData = CheckboxGroupOptionData> extends CheckboxGroupRootProps<T['value']> {
|
|
155
|
+
/**
|
|
156
|
+
* Items rendered by the component.
|
|
157
|
+
*/
|
|
80
158
|
items: T[];
|
|
159
|
+
/**
|
|
160
|
+
* Props forwarded to the root element.
|
|
161
|
+
*/
|
|
81
162
|
rootProps?: CheckboxRootProps;
|
|
163
|
+
/**
|
|
164
|
+
* Props forwarded to the control element.
|
|
165
|
+
*/
|
|
82
166
|
controlProps?: CheckboxControlProps;
|
|
167
|
+
/**
|
|
168
|
+
* Props forwarded to the indicator element.
|
|
169
|
+
*/
|
|
83
170
|
indicatorProps?: CheckboxIndicatorProps;
|
|
171
|
+
/**
|
|
172
|
+
* Props forwarded to the label element.
|
|
173
|
+
*/
|
|
84
174
|
labelProps?: LabelProps;
|
|
85
175
|
}
|
|
176
|
+
/**
|
|
177
|
+
* Props for the checkbox card group compact component.
|
|
178
|
+
*/
|
|
86
179
|
interface CheckboxCardGroupCompactProps<T extends CheckboxCardGroupOptionData = CheckboxCardGroupOptionData> extends CheckboxGroupCompactProps<T> {}
|
|
180
|
+
/**
|
|
181
|
+
* Emits for the checkbox group compact component.
|
|
182
|
+
*/
|
|
87
183
|
type CheckboxGroupCompactEmits<T extends DefinedValue = DefinedValue> = CheckboxGroupRootEmits<T>;
|
|
184
|
+
/**
|
|
185
|
+
* Emits for the checkbox card group compact component.
|
|
186
|
+
*/
|
|
88
187
|
type CheckboxCardGroupCompactEmits<T extends DefinedValue = DefinedValue> = CheckboxGroupRootEmits<T>;
|
|
188
|
+
/**
|
|
189
|
+
* Available UI slots for the checkbox component.
|
|
190
|
+
*/
|
|
89
191
|
type CheckboxUiSlot = 'groupRoot' | 'root' | 'indicator' | 'indicator-icon' | 'label' | 'control';
|
|
192
|
+
/**
|
|
193
|
+
* Available UI slots for the checkbox component.
|
|
194
|
+
*/
|
|
90
195
|
type CheckboxCardUiSlot = CheckboxUiSlot | 'content' | 'icon' | 'textContent' | 'description';
|
|
196
|
+
/**
|
|
197
|
+
* UI class overrides for the checkbox component.
|
|
198
|
+
*/
|
|
91
199
|
type CheckboxUi = UiClass<CheckboxUiSlot>;
|
|
200
|
+
/**
|
|
201
|
+
* UI class overrides for the checkbox component.
|
|
202
|
+
*/
|
|
92
203
|
type CheckboxCardUi = UiClass<CheckboxCardUiSlot>;
|
|
93
204
|
//#endregion
|
|
94
205
|
export { CheckboxCardCompactEmits, CheckboxCardCompactProps, CheckboxCardGroupCompactEmits, CheckboxCardGroupCompactProps, CheckboxCardGroupOptionData, CheckboxCardUi, CheckboxCardUiSlot, CheckboxCompactEmits, CheckboxCompactProps, CheckboxControlProps, CheckboxGroupCompactEmits, CheckboxGroupCompactProps, CheckboxGroupOptionData, CheckboxGroupRootEmits, CheckboxGroupRootProps, CheckboxIndicatorProps, CheckboxRootEmits, CheckboxRootProps, CheckboxUi, CheckboxUiSlot };
|
|
@@ -2,7 +2,13 @@ import { IconValue } from "../_icon/types.js";
|
|
|
2
2
|
import { ButtonProps } from "../button/types.js";
|
|
3
3
|
|
|
4
4
|
//#region src/components/clipboard/types.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* State values for the clipboard component.
|
|
7
|
+
*/
|
|
5
8
|
type ClipboardState = 'ready' | 'copied' | 'unsupported';
|
|
9
|
+
/**
|
|
10
|
+
* Props for the clipboard component.
|
|
11
|
+
*/
|
|
6
12
|
interface ClipboardProps extends ButtonProps {
|
|
7
13
|
/**
|
|
8
14
|
* The text value to copy.
|
|
@@ -45,18 +51,54 @@ interface ClipboardProps extends ButtonProps {
|
|
|
45
51
|
*/
|
|
46
52
|
copiedText?: string;
|
|
47
53
|
}
|
|
54
|
+
/**
|
|
55
|
+
* Slot props for the clipboard component.
|
|
56
|
+
*/
|
|
48
57
|
interface ClipboardSlotProps {
|
|
58
|
+
/**
|
|
59
|
+
* Whether copied.
|
|
60
|
+
*/
|
|
49
61
|
copied: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Whether the component is disabled.
|
|
64
|
+
*/
|
|
50
65
|
disabled: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Icon rendered by the component.
|
|
68
|
+
*/
|
|
51
69
|
icon: IconValue;
|
|
70
|
+
/**
|
|
71
|
+
* Whether supported.
|
|
72
|
+
*/
|
|
52
73
|
supported: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* State exposed in the slot scope.
|
|
76
|
+
*/
|
|
53
77
|
state: ClipboardState;
|
|
78
|
+
/**
|
|
79
|
+
* Text exposed in the slot scope.
|
|
80
|
+
*/
|
|
54
81
|
text: string;
|
|
82
|
+
/**
|
|
83
|
+
* Copy exposed in the slot scope.
|
|
84
|
+
*/
|
|
55
85
|
copy: () => Promise<void>;
|
|
56
86
|
}
|
|
87
|
+
/**
|
|
88
|
+
* Emits for the clipboard component.
|
|
89
|
+
*/
|
|
57
90
|
type ClipboardEmits = {
|
|
91
|
+
/**
|
|
92
|
+
* Emitted when click occurs.
|
|
93
|
+
*/
|
|
58
94
|
click: [event: MouseEvent];
|
|
95
|
+
/**
|
|
96
|
+
* Emitted when copied occurs.
|
|
97
|
+
*/
|
|
59
98
|
copied: [value: string];
|
|
99
|
+
/**
|
|
100
|
+
* Emitted when copy error occurs.
|
|
101
|
+
*/
|
|
60
102
|
copyError: [error: unknown];
|
|
61
103
|
};
|
|
62
104
|
//#endregion
|
|
@@ -15,8 +15,8 @@ declare const __VLS_base: _$vue.DefineComponent<CollapsibleRootProps, {
|
|
|
15
15
|
}, string, _$vue.PublicProps, Readonly<CollapsibleRootProps> & Readonly<{
|
|
16
16
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
|
-
defaultOpen: boolean;
|
|
19
18
|
open: boolean;
|
|
19
|
+
defaultOpen: boolean;
|
|
20
20
|
unmountOnHide: boolean;
|
|
21
21
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -4,6 +4,9 @@ import { PrimitiveProps } from "../primitive/types.js";
|
|
|
4
4
|
import { ButtonHTMLAttributes, HTMLAttributes, Ref } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/collapsible/types.d.ts
|
|
7
|
+
/**
|
|
8
|
+
* Props for the collapsible root component.
|
|
9
|
+
*/
|
|
7
10
|
interface CollapsibleRootProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {
|
|
8
11
|
/**
|
|
9
12
|
* The open state of the collapsible when it is initially rendered.
|
|
@@ -18,15 +21,30 @@ interface CollapsibleRootProps extends PrimitiveProps, /** @vue-ignore */HTMLAtt
|
|
|
18
21
|
/** When `true`, the element will be unmounted on closed state. */
|
|
19
22
|
unmountOnHide?: boolean;
|
|
20
23
|
}
|
|
24
|
+
/**
|
|
25
|
+
* Emits for the collapsible root component.
|
|
26
|
+
*/
|
|
21
27
|
type CollapsibleRootEmits = {
|
|
22
28
|
/** Event handler called when the open state of the collapsible changes. */'update:open': [value: boolean];
|
|
23
29
|
};
|
|
30
|
+
/**
|
|
31
|
+
* Props for the collapsible content component.
|
|
32
|
+
*/
|
|
24
33
|
interface CollapsibleContentProps extends PrimitiveProps, ForceMountProps, /** @vue-ignore */HTMLAttributes {}
|
|
34
|
+
/**
|
|
35
|
+
* Props for the collapsible trigger component.
|
|
36
|
+
*/
|
|
25
37
|
interface CollapsibleTriggerProps extends PrimitiveProps, /** @vue-ignore */ButtonHTMLAttributes {
|
|
26
38
|
/** When `true`, prevents the user from toggling the collapsible. */
|
|
27
39
|
disabledCollapsible?: boolean;
|
|
28
40
|
}
|
|
41
|
+
/**
|
|
42
|
+
* Available UI slots for the collapsible component.
|
|
43
|
+
*/
|
|
29
44
|
type CollapsibleUiSlot = 'root' | 'trigger' | 'content';
|
|
45
|
+
/**
|
|
46
|
+
* UI class overrides for the collapsible component.
|
|
47
|
+
*/
|
|
30
48
|
type CollapsibleUi = UiClass<CollapsibleUiSlot>;
|
|
31
49
|
//#endregion
|
|
32
50
|
export { CollapsibleContentProps, CollapsibleRootEmits, CollapsibleRootProps, CollapsibleTriggerProps, CollapsibleUi, CollapsibleUiSlot };
|
|
@@ -9,21 +9,21 @@ type __VLS_Slots = {} & {
|
|
|
9
9
|
default?: (props: typeof __VLS_8) => any;
|
|
10
10
|
};
|
|
11
11
|
declare const __VLS_base: _$vue.DefineComponent<ColorAreaRootProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
12
|
-
"update:modelValue": (value: string) => any;
|
|
13
12
|
change: (value: string) => any;
|
|
13
|
+
"update:modelValue": (value: string) => any;
|
|
14
14
|
"update:color": (value: NormalizedColor) => any;
|
|
15
15
|
changeEnd: (value: string) => any;
|
|
16
16
|
}, string, _$vue.PublicProps, Readonly<ColorAreaRootProps> & Readonly<{
|
|
17
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
18
17
|
onChange?: ((value: string) => any) | undefined;
|
|
18
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
19
19
|
"onUpdate:color"?: ((value: NormalizedColor) => any) | undefined;
|
|
20
20
|
onChangeEnd?: ((value: string) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
22
|
disabled: boolean;
|
|
23
23
|
format: ColorFormat;
|
|
24
|
-
defaultValue: string | ColorValue;
|
|
25
|
-
modelValue: string | ColorValue;
|
|
26
24
|
as: AsTag | _$vue.Component;
|
|
25
|
+
modelValue: string | ColorValue;
|
|
26
|
+
defaultValue: string | ColorValue;
|
|
27
27
|
colorSpace: ColorSpace;
|
|
28
28
|
xChannel: ColorAreaAxisChannel;
|
|
29
29
|
yChannel: ColorAreaAxisChannel;
|