@soybeanjs/headless 0.29.3 → 0.30.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -4
- package/README.zh-CN.md +8 -4
- package/dist/_virtual/_@oxc-project_runtime@0.143.0/helpers/esm/defineProperty.js +1 -0
- package/dist/_virtual/_@oxc-project_runtime@0.143.0/helpers/esm/toPrimitive.js +1 -0
- package/dist/_virtual/_@oxc-project_runtime@0.143.0/helpers/esm/toPropertyKey.js +1 -0
- package/dist/_virtual/{_@oxc-project_runtime@0.135.0 → _@oxc-project_runtime@0.143.0}/helpers/esm/typeof.js +1 -1
- package/dist/components/_icon/types.d.ts +0 -1
- package/dist/components/accordion/accordion-compact.vue.d.ts +3 -4
- package/dist/components/accordion/accordion-content.vue.d.ts +1 -2
- package/dist/components/accordion/accordion-description.vue.d.ts +1 -2
- package/dist/components/accordion/accordion-header.vue.d.ts +1 -2
- package/dist/components/accordion/accordion-item.vue.d.ts +1 -2
- package/dist/components/accordion/accordion-root.vue.d.ts +3 -4
- package/dist/components/accordion/accordion-trigger.vue.d.ts +1 -2
- package/dist/components/accordion/context.d.ts +3 -0
- package/dist/components/accordion/context.js +1 -1
- package/dist/components/accordion/index.d.ts +7 -7
- package/dist/components/accordion/types.d.ts +1 -1
- package/dist/components/affix/affix-compact.vue.d.ts +1 -2
- package/dist/components/affix/affix-content.vue.d.ts +1 -2
- package/dist/components/affix/affix-placeholder.vue.d.ts +1 -2
- package/dist/components/affix/affix-root.vue.d.ts +1 -2
- package/dist/components/affix/context.d.ts +2 -0
- package/dist/components/affix/index.d.ts +4 -4
- package/dist/components/affix/shared.js +1 -1
- package/dist/components/affix/types.d.ts +1 -1
- package/dist/components/alert/alert-close.js +1 -1
- package/dist/components/alert/alert-close.vue.d.ts +1 -2
- package/dist/components/alert/alert-compact.vue.d.ts +1 -2
- package/dist/components/alert/alert-content.vue.d.ts +1 -2
- package/dist/components/alert/alert-description.vue.d.ts +1 -2
- package/dist/components/alert/alert-root.vue.d.ts +1 -2
- package/dist/components/alert/alert-title.vue.d.ts +1 -2
- package/dist/components/alert/context.d.ts +2 -0
- package/dist/components/alert/index.d.ts +6 -6
- package/dist/components/alert/types.d.ts +4 -3
- package/dist/components/anchor/anchor-compact.vue.d.ts +1 -2
- package/dist/components/anchor/anchor-item-compact.js +1 -1
- package/dist/components/anchor/anchor-item-compact.vue.d.ts +1 -2
- package/dist/components/anchor/anchor-link.js +1 -1
- package/dist/components/anchor/anchor-link.vue.d.ts +2 -1
- package/dist/components/anchor/anchor-root.js +1 -1
- package/dist/components/anchor/anchor-root.vue.d.ts +2 -1
- package/dist/components/anchor/context.d.ts +2 -0
- package/dist/components/anchor/index.d.ts +4 -4
- package/dist/components/anchor/shared.js +1 -1
- package/dist/components/anchor/types.d.ts +3 -3
- package/dist/components/arrow/arrow.js +1 -1
- package/dist/components/arrow/arrow.vue.d.ts +1 -2
- package/dist/components/arrow/index.d.ts +1 -1
- package/dist/components/arrow/types.d.ts +1 -1
- package/dist/components/aspect-ratio/aspect-ratio.js +1 -1
- package/dist/components/aspect-ratio/aspect-ratio.vue.d.ts +1 -2
- package/dist/components/aspect-ratio/index.d.ts +1 -1
- package/dist/components/aspect-ratio/types.d.ts +0 -1
- package/dist/components/autocomplete/autocomplete-compact.js +1 -1
- package/dist/components/autocomplete/autocomplete-compact.vue.d.ts +3 -4
- package/dist/components/autocomplete/autocomplete-input.js +1 -1
- package/dist/components/autocomplete/autocomplete-input.vue.d.ts +5 -6
- package/dist/components/autocomplete/autocomplete-root.js +1 -1
- package/dist/components/autocomplete/autocomplete-root.vue.d.ts +2 -2
- package/dist/components/autocomplete/context.d.ts +3 -0
- package/dist/components/autocomplete/index.d.ts +15 -13
- package/dist/components/autocomplete/types.d.ts +5 -2
- package/dist/components/avatar/avatar-compact.js +1 -1
- package/dist/components/avatar/avatar-compact.vue.d.ts +2 -1
- package/dist/components/avatar/avatar-fallback.vue.d.ts +1 -2
- package/dist/components/avatar/avatar-image.js +1 -1
- package/dist/components/avatar/avatar-image.vue.d.ts +2 -1
- package/dist/components/avatar/avatar-root.vue.d.ts +1 -2
- package/dist/components/avatar/context.d.ts +3 -0
- package/dist/components/avatar/index.d.ts +4 -4
- package/dist/components/avatar/types.d.ts +13 -3
- package/dist/components/backtop/backtop.vue.d.ts +1 -2
- package/dist/components/backtop/index.d.ts +1 -1
- package/dist/components/backtop/shared.js +1 -1
- package/dist/components/backtop/types.d.ts +0 -1
- package/dist/components/badge/badge-compact.vue.d.ts +1 -2
- package/dist/components/badge/badge-content.vue.d.ts +1 -2
- package/dist/components/badge/badge-root.js +1 -1
- package/dist/components/badge/badge-root.vue.d.ts +1 -2
- package/dist/components/badge/context.d.ts +2 -0
- package/dist/components/badge/index.d.ts +3 -3
- package/dist/components/badge/types.d.ts +4 -2
- package/dist/components/bottom-sheet/bottom-sheet-compact.js +1 -1
- package/dist/components/bottom-sheet/bottom-sheet-compact.vue.d.ts +1 -2
- package/dist/components/bottom-sheet/bottom-sheet-handle.vue.d.ts +1 -2
- package/dist/components/bottom-sheet/bottom-sheet-overlay.vue.d.ts +1 -1
- package/dist/components/bottom-sheet/bottom-sheet-popup.vue.d.ts +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/bottom-sheet-root.vue.d.ts +1 -2
- package/dist/components/bottom-sheet/context.d.ts +2 -0
- package/dist/components/bottom-sheet/context.js +1 -1
- package/dist/components/bottom-sheet/index.d.ts +17 -16
- package/dist/components/bottom-sheet/types.d.ts +3 -2
- package/dist/components/breadcrumb/breadcrumb-compact.js +1 -1
- package/dist/components/breadcrumb/breadcrumb-compact.vue.d.ts +3 -4
- package/dist/components/breadcrumb/breadcrumb-ellipsis.vue.d.ts +1 -2
- package/dist/components/breadcrumb/breadcrumb-item.vue.d.ts +1 -2
- package/dist/components/breadcrumb/breadcrumb-link.vue.d.ts +1 -2
- package/dist/components/breadcrumb/breadcrumb-list.vue.d.ts +1 -2
- package/dist/components/breadcrumb/breadcrumb-page.vue.d.ts +1 -2
- package/dist/components/breadcrumb/breadcrumb-root.vue.d.ts +1 -2
- package/dist/components/breadcrumb/breadcrumb-separator.vue.d.ts +1 -2
- package/dist/components/breadcrumb/context.d.ts +2 -0
- package/dist/components/breadcrumb/index.d.ts +8 -8
- package/dist/components/breadcrumb/types.d.ts +3 -3
- package/dist/components/button/button-group.js +1 -0
- package/dist/components/button/button-group.vue.d.ts +20 -0
- package/dist/components/button/button.vue.d.ts +2 -1
- package/dist/components/button/index.d.ts +4 -3
- package/dist/components/button/index.js +1 -1
- package/dist/components/button/types.d.ts +19 -3
- package/dist/components/calendar/calendar-cell-trigger.js +1 -1
- package/dist/components/calendar/calendar-cell-trigger.vue.d.ts +1 -2
- package/dist/components/calendar/calendar-cell.vue.d.ts +2 -2
- package/dist/components/calendar/calendar-compact.vue.d.ts +3 -4
- package/dist/components/calendar/calendar-grid-body.vue.d.ts +2 -2
- package/dist/components/calendar/calendar-grid-head.vue.d.ts +2 -2
- package/dist/components/calendar/calendar-grid-row.vue.d.ts +2 -2
- package/dist/components/calendar/calendar-grid.vue.d.ts +2 -2
- package/dist/components/calendar/calendar-head-cell.vue.d.ts +2 -2
- package/dist/components/calendar/calendar-header.vue.d.ts +1 -2
- package/dist/components/calendar/calendar-heading.vue.d.ts +1 -2
- package/dist/components/calendar/calendar-next.js +1 -1
- package/dist/components/calendar/calendar-next.vue.d.ts +1 -2
- package/dist/components/calendar/calendar-prev.js +1 -1
- package/dist/components/calendar/calendar-prev.vue.d.ts +1 -2
- package/dist/components/calendar/calendar-root.vue.d.ts +3 -4
- package/dist/components/calendar/context.d.ts +2 -0
- package/dist/components/calendar/index.d.ts +13 -13
- package/dist/components/calendar/types.d.ts +3 -2
- package/dist/components/calendar/use-calendar.js +1 -1
- package/dist/components/calendar-range/calendar-range-cell-trigger.js +1 -1
- package/dist/components/calendar-range/calendar-range-cell-trigger.vue.d.ts +1 -2
- package/dist/components/calendar-range/calendar-range-cell.vue.d.ts +2 -2
- package/dist/components/calendar-range/calendar-range-compact.vue.d.ts +2 -1
- package/dist/components/calendar-range/calendar-range-grid-body.vue.d.ts +2 -2
- package/dist/components/calendar-range/calendar-range-grid-head.vue.d.ts +2 -2
- package/dist/components/calendar-range/calendar-range-grid-row.vue.d.ts +2 -2
- package/dist/components/calendar-range/calendar-range-grid.vue.d.ts +2 -2
- package/dist/components/calendar-range/calendar-range-head-cell.vue.d.ts +2 -2
- package/dist/components/calendar-range/calendar-range-header.vue.d.ts +1 -2
- package/dist/components/calendar-range/calendar-range-heading.vue.d.ts +1 -2
- package/dist/components/calendar-range/calendar-range-next.js +1 -1
- package/dist/components/calendar-range/calendar-range-next.vue.d.ts +1 -2
- package/dist/components/calendar-range/calendar-range-prev.js +1 -1
- package/dist/components/calendar-range/calendar-range-prev.vue.d.ts +1 -2
- package/dist/components/calendar-range/calendar-range-root.js +1 -1
- package/dist/components/calendar-range/calendar-range-root.vue.d.ts +3 -1
- package/dist/components/calendar-range/context.d.ts +2 -0
- package/dist/components/calendar-range/index.d.ts +13 -13
- package/dist/components/calendar-range/types.d.ts +3 -2
- package/dist/components/calendar-range/use-calendar-range.js +1 -1
- package/dist/components/card/card-collapsible-trigger.vue.d.ts +1 -2
- package/dist/components/card/card-compact.vue.d.ts +1 -2
- package/dist/components/card/card-content.vue.d.ts +1 -2
- package/dist/components/card/card-description.vue.d.ts +1 -2
- package/dist/components/card/card-footer.vue.d.ts +1 -2
- package/dist/components/card/card-header.vue.d.ts +1 -2
- package/dist/components/card/card-root.vue.d.ts +1 -2
- package/dist/components/card/card-title-root.vue.d.ts +1 -2
- package/dist/components/card/card-title.vue.d.ts +1 -2
- package/dist/components/card/context.d.ts +2 -0
- package/dist/components/card/index.d.ts +9 -9
- package/dist/components/card/types.d.ts +1 -1
- package/dist/components/carousel/carousel-compact.vue.d.ts +4 -4
- package/dist/components/carousel/carousel-container.vue.d.ts +1 -2
- package/dist/components/carousel/carousel-content.vue.d.ts +1 -2
- package/dist/components/carousel/carousel-control.vue.d.ts +1 -2
- package/dist/components/carousel/carousel-item.vue.d.ts +1 -2
- package/dist/components/carousel/carousel-navigation.vue.d.ts +1 -2
- package/dist/components/carousel/carousel-next.js +1 -1
- package/dist/components/carousel/carousel-next.vue.d.ts +1 -2
- package/dist/components/carousel/carousel-previous.js +1 -1
- package/dist/components/carousel/carousel-previous.vue.d.ts +1 -2
- package/dist/components/carousel/carousel-root.js +1 -1
- package/dist/components/carousel/carousel-root.vue.d.ts +2 -1
- package/dist/components/carousel/context.d.ts +2 -0
- package/dist/components/carousel/index.d.ts +9 -9
- package/dist/components/carousel/types.d.ts +1 -1
- package/dist/components/cascader/cascader-clear.js +1 -0
- package/dist/components/cascader/cascader-clear.vue.d.ts +18 -0
- package/dist/components/cascader/cascader-compact.js +1 -0
- package/dist/components/cascader/cascader-compact.vue.d.ts +31 -0
- package/dist/components/cascader/cascader-content.js +1 -0
- package/dist/components/cascader/cascader-content.vue.d.ts +61 -0
- package/dist/components/cascader/cascader-empty.js +1 -0
- package/dist/components/cascader/cascader-empty.vue.d.ts +16 -0
- package/dist/components/cascader/cascader-menu.js +1 -0
- package/dist/components/cascader/cascader-menu.vue.d.ts +30 -0
- package/dist/components/cascader/cascader-option.js +1 -0
- package/dist/components/cascader/cascader-option.vue.d.ts +33 -0
- package/dist/components/cascader/cascader-root.js +1 -0
- package/dist/components/cascader/cascader-root.vue.d.ts +30 -0
- package/dist/components/cascader/cascader-search-input.js +1 -0
- package/dist/components/cascader/cascader-search-input.vue.d.ts +6 -0
- package/dist/components/cascader/cascader-tags.js +1 -0
- package/dist/components/cascader/cascader-tags.vue.d.ts +23 -0
- package/dist/components/cascader/cascader-trigger.js +1 -0
- package/dist/components/cascader/cascader-trigger.vue.d.ts +20 -0
- package/dist/components/cascader/cascader-value.js +1 -0
- package/dist/components/cascader/cascader-value.vue.d.ts +22 -0
- package/dist/components/cascader/context.d.ts +46 -0
- package/dist/components/cascader/context.js +1 -0
- package/dist/components/cascader/hooks.js +1 -0
- package/dist/components/cascader/index.d.ts +14 -0
- package/dist/components/cascader/index.js +1 -0
- package/dist/components/cascader/shared.js +1 -0
- package/dist/components/cascader/types.d.ts +479 -0
- package/dist/components/checkbox/checkbox-card-compact.vue.d.ts +4 -3
- package/dist/components/checkbox/checkbox-card-group-compact.js +1 -1
- package/dist/components/checkbox/checkbox-card-group-compact.vue.d.ts +3 -4
- package/dist/components/checkbox/checkbox-compact.vue.d.ts +9 -8
- package/dist/components/checkbox/checkbox-control.vue.d.ts +2 -1
- package/dist/components/checkbox/checkbox-group-compact.vue.d.ts +3 -4
- package/dist/components/checkbox/checkbox-group-root.vue.d.ts +4 -4
- package/dist/components/checkbox/checkbox-indicator.vue.d.ts +2 -2
- package/dist/components/checkbox/checkbox-label.vue.d.ts +2 -1
- package/dist/components/checkbox/checkbox-root.vue.d.ts +4 -2
- package/dist/components/checkbox/context.d.ts +2 -0
- package/dist/components/checkbox/index.d.ts +9 -9
- package/dist/components/checkbox/types.d.ts +6 -4
- package/dist/components/clipboard/clipboard.js +1 -1
- package/dist/components/clipboard/clipboard.vue.d.ts +3 -37
- package/dist/components/clipboard/index.d.ts +1 -1
- package/dist/components/clipboard/shared.js +1 -0
- package/dist/components/clipboard/types.d.ts +25 -18
- package/dist/components/collapsible/collapsible-content.js +1 -1
- package/dist/components/collapsible/collapsible-content.vue.d.ts +1 -2
- package/dist/components/collapsible/collapsible-root.vue.d.ts +1 -2
- package/dist/components/collapsible/collapsible-trigger.vue.d.ts +1 -2
- package/dist/components/collapsible/context.d.ts +3 -0
- package/dist/components/collapsible/index.d.ts +3 -3
- package/dist/components/collapsible/types.d.ts +3 -2
- package/dist/components/color-area/color-area-area.vue.d.ts +1 -2
- package/dist/components/color-area/color-area-compact.vue.d.ts +4 -4
- package/dist/components/color-area/color-area-root.vue.d.ts +5 -5
- package/dist/components/color-area/color-area-thumb.vue.d.ts +2 -2
- package/dist/components/color-area/context.d.ts +2 -0
- package/dist/components/color-area/index.d.ts +4 -4
- package/dist/components/color-area/types.d.ts +1 -1
- package/dist/components/color-field/color-field-compact.vue.d.ts +2 -2
- package/dist/components/color-field/color-field-input.js +1 -1
- package/dist/components/color-field/color-field-input.vue.d.ts +1 -2
- package/dist/components/color-field/color-field-root.vue.d.ts +4 -4
- package/dist/components/color-field/context.d.ts +2 -0
- package/dist/components/color-field/index.d.ts +3 -3
- package/dist/components/color-field/types.d.ts +1 -1
- package/dist/components/color-picker/color-picker-compact.vue.d.ts +5 -3
- package/dist/components/color-picker/color-picker-root.js +1 -1
- package/dist/components/color-picker/color-picker-root.vue.d.ts +5 -5
- package/dist/components/color-picker/color-picker-trigger.vue.d.ts +2 -2
- package/dist/components/color-picker/context.d.ts +2 -0
- package/dist/components/color-picker/index.d.ts +3 -3
- package/dist/components/color-picker/types.d.ts +1 -1
- package/dist/components/color-slider/color-slider-compact.vue.d.ts +4 -4
- package/dist/components/color-slider/color-slider-root.js +1 -1
- package/dist/components/color-slider/color-slider-root.vue.d.ts +8 -6
- package/dist/components/color-slider/color-slider-thumb.vue.d.ts +1 -2
- package/dist/components/color-slider/color-slider-track.vue.d.ts +1 -2
- package/dist/components/color-slider/context.d.ts +2 -0
- package/dist/components/color-slider/index.d.ts +4 -4
- package/dist/components/color-slider/types.d.ts +1 -1
- package/dist/components/color-swatch/color-swatch-checker.vue.d.ts +1 -2
- package/dist/components/color-swatch/color-swatch-compact.vue.d.ts +1 -2
- package/dist/components/color-swatch/color-swatch-fill.vue.d.ts +1 -2
- package/dist/components/color-swatch/color-swatch-root.vue.d.ts +1 -2
- package/dist/components/color-swatch/context.d.ts +2 -0
- package/dist/components/color-swatch/index.d.ts +4 -4
- package/dist/components/color-swatch/types.d.ts +2 -2
- package/dist/components/color-swatch-picker/color-swatch-picker-compact.js +1 -1
- package/dist/components/color-swatch-picker/color-swatch-picker-compact.vue.d.ts +8 -5
- package/dist/components/color-swatch-picker/color-swatch-picker-item-indicator.vue.d.ts +1 -2
- package/dist/components/color-swatch-picker/color-swatch-picker-item-swatch.vue.d.ts +1 -2
- package/dist/components/color-swatch-picker/color-swatch-picker-item.vue.d.ts +2 -1
- package/dist/components/color-swatch-picker/color-swatch-picker-root.vue.d.ts +7 -6
- package/dist/components/color-swatch-picker/context.d.ts +2 -0
- package/dist/components/color-swatch-picker/index.d.ts +5 -5
- package/dist/components/color-swatch-picker/types.d.ts +1 -1
- package/dist/components/combobox/combobox-arrow.vue.d.ts +2 -1
- package/dist/components/combobox/combobox-cancel.vue.d.ts +2 -2
- package/dist/components/combobox/combobox-compact.vue.d.ts +6 -3
- package/dist/components/combobox/combobox-content-impl.js +1 -1
- package/dist/components/combobox/combobox-content.vue.d.ts +2 -1
- package/dist/components/combobox/combobox-empty.vue.d.ts +1 -2
- package/dist/components/combobox/combobox-group.js +1 -1
- package/dist/components/combobox/combobox-group.vue.d.ts +2 -1
- package/dist/components/combobox/combobox-input.js +1 -1
- package/dist/components/combobox/combobox-input.vue.d.ts +5 -6
- package/dist/components/combobox/combobox-item.js +1 -1
- package/dist/components/combobox/combobox-item.vue.d.ts +2 -2
- package/dist/components/combobox/combobox-root.js +1 -1
- package/dist/components/combobox/combobox-root.vue.d.ts +5 -3
- package/dist/components/combobox/combobox-separator.vue.d.ts +1 -2
- package/dist/components/combobox/combobox-trigger.vue.d.ts +3 -1
- package/dist/components/combobox/combobox-viewport.vue.d.ts +1 -2
- package/dist/components/combobox/combobox-virtualizer.vue.d.ts +1 -2
- package/dist/components/combobox/context.d.ts +2 -1
- package/dist/components/combobox/index.d.ts +17 -17
- package/dist/components/combobox/shared.js +1 -1
- package/dist/components/combobox/types.d.ts +3 -1
- package/dist/components/command/command-compact.js +1 -1
- package/dist/components/command/command-compact.vue.d.ts +8 -5
- package/dist/components/command/context.d.ts +2 -0
- package/dist/components/command/context.js +1 -1
- package/dist/components/command/index.d.ts +1 -1
- package/dist/components/command/types.d.ts +3 -2
- package/dist/components/config-provider/config-provider.vue.d.ts +1 -2
- package/dist/components/config-provider/index.d.ts +1 -1
- package/dist/components/config-provider/types.d.ts +1 -1
- package/dist/components/context-menu/context-menu-checkbox-compact.vue.d.ts +6 -3
- package/dist/components/context-menu/context-menu-compact.vue.d.ts +6 -3
- package/dist/components/context-menu/context-menu-content.js +1 -1
- package/dist/components/context-menu/context-menu-content.vue.d.ts +3 -2
- package/dist/components/context-menu/context-menu-radio-compact.vue.d.ts +8 -5
- package/dist/components/context-menu/context-menu-root.vue.d.ts +1 -2
- package/dist/components/context-menu/context-menu-trigger.js +1 -1
- package/dist/components/context-menu/context-menu-trigger.vue.d.ts +2 -2
- package/dist/components/context-menu/context-menu-wrapper-compact.vue.d.ts +2 -1
- package/dist/components/context-menu/index.d.ts +23 -22
- package/dist/components/context-menu/types.d.ts +2 -1
- package/dist/components/date-field/context.d.ts +2 -0
- package/dist/components/date-field/date-field-compact.vue.d.ts +1 -2
- package/dist/components/date-field/date-field-input.js +1 -1
- package/dist/components/date-field/date-field-input.vue.d.ts +2 -2
- package/dist/components/date-field/date-field-root.js +1 -1
- package/dist/components/date-field/date-field-root.vue.d.ts +4 -4
- package/dist/components/date-field/index.d.ts +3 -3
- package/dist/components/date-field/types.d.ts +2 -1
- package/dist/components/date-picker/context.d.ts +2 -0
- package/dist/components/date-picker/date-picker-compact.js +1 -1
- package/dist/components/date-picker/date-picker-compact.vue.d.ts +6 -272
- package/dist/components/date-picker/index.d.ts +1 -1
- package/dist/components/date-picker/types.d.ts +25 -3
- package/dist/components/date-range-field/context.d.ts +2 -0
- package/dist/components/date-range-field/date-range-field-compact.vue.d.ts +2 -1
- package/dist/components/date-range-field/date-range-field-input.js +1 -1
- package/dist/components/date-range-field/date-range-field-input.vue.d.ts +2 -2
- package/dist/components/date-range-field/date-range-field-root.js +1 -1
- package/dist/components/date-range-field/date-range-field-root.vue.d.ts +5 -3
- package/dist/components/date-range-field/index.d.ts +3 -3
- package/dist/components/date-range-field/types.d.ts +2 -1
- package/dist/components/date-range-picker/context.d.ts +2 -0
- package/dist/components/date-range-picker/date-range-picker-compact.js +1 -1
- package/dist/components/date-range-picker/date-range-picker-compact.vue.d.ts +6 -275
- package/dist/components/date-range-picker/index.d.ts +1 -1
- package/dist/components/date-range-picker/types.d.ts +29 -4
- package/dist/components/dialog/context.d.ts +3 -0
- package/dist/components/dialog/context.js +1 -1
- package/dist/components/dialog/dialog-cancel.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-compact.js +1 -1
- package/dist/components/dialog/dialog-compact.vue.d.ts +10 -3
- package/dist/components/dialog/dialog-confirm.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-content.vue.d.ts +1 -2
- package/dist/components/dialog/dialog-description.vue.d.ts +1 -2
- package/dist/components/dialog/dialog-footer.vue.d.ts +1 -2
- package/dist/components/dialog/dialog-fullscreen.js +1 -0
- package/dist/components/dialog/dialog-fullscreen.vue.d.ts +24 -0
- package/dist/components/dialog/dialog-header.js +1 -1
- package/dist/components/dialog/dialog-header.vue.d.ts +1 -2
- package/dist/components/dialog/dialog-overlay.js +1 -1
- package/dist/components/dialog/dialog-overlay.vue.d.ts +1 -2
- package/dist/components/dialog/dialog-popup-impl.js +1 -1
- package/dist/components/dialog/dialog-popup.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-provider.vue.d.ts +1 -1
- package/dist/components/dialog/dialog-root.js +1 -1
- package/dist/components/dialog/dialog-root.vue.d.ts +4 -2
- package/dist/components/dialog/dialog-title.vue.d.ts +1 -2
- package/dist/components/dialog/dialog-trigger.vue.d.ts +1 -2
- package/dist/components/dialog/index.d.ts +18 -17
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dialog/state.d.ts +0 -1
- package/dist/components/dialog/state.js +1 -1
- package/dist/components/dialog/types.d.ts +65 -9
- package/dist/components/dropdown-menu/dropdown-menu-checkbox-compact.vue.d.ts +6 -3
- package/dist/components/dropdown-menu/dropdown-menu-compact.vue.d.ts +6 -3
- package/dist/components/dropdown-menu/dropdown-menu-content.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +3 -2
- package/dist/components/dropdown-menu/dropdown-menu-radio-compact.vue.d.ts +8 -5
- package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +2 -3
- package/dist/components/dropdown-menu/dropdown-menu-trigger.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-trigger.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-wrapper-compact.vue.d.ts +2 -1
- package/dist/components/dropdown-menu/index.d.ts +23 -22
- package/dist/components/dropdown-menu/types.d.ts +2 -1
- package/dist/components/editable/context.d.ts +2 -0
- package/dist/components/editable/editable-area.vue.d.ts +1 -2
- package/dist/components/editable/editable-cancel-trigger.vue.d.ts +1 -2
- package/dist/components/editable/editable-compact.vue.d.ts +1 -2
- package/dist/components/editable/editable-edit-trigger.vue.d.ts +1 -2
- package/dist/components/editable/editable-input.js +1 -1
- package/dist/components/editable/editable-input.vue.d.ts +2 -2
- package/dist/components/editable/editable-preview.vue.d.ts +2 -2
- package/dist/components/editable/editable-root.js +1 -1
- package/dist/components/editable/editable-root.vue.d.ts +1 -2
- package/dist/components/editable/editable-submit-trigger.vue.d.ts +1 -2
- package/dist/components/editable/index.d.ts +8 -8
- package/dist/components/editable/types.d.ts +7 -4
- package/dist/components/empty/context.d.ts +2 -0
- package/dist/components/empty/empty-compact.vue.d.ts +1 -2
- package/dist/components/empty/empty-content.vue.d.ts +1 -2
- package/dist/components/empty/empty-description.vue.d.ts +1 -2
- package/dist/components/empty/empty-header.vue.d.ts +1 -2
- package/dist/components/empty/empty-media.vue.d.ts +1 -2
- package/dist/components/empty/empty-root.vue.d.ts +1 -2
- package/dist/components/empty/empty-title.vue.d.ts +1 -2
- package/dist/components/empty/index.d.ts +7 -7
- package/dist/components/empty/types.d.ts +1 -1
- package/dist/components/form/context.d.ts +2 -0
- package/dist/components/form/core/shared.js +1 -1
- package/dist/components/form/core/types.d.ts +20 -20
- package/dist/components/form/core/use-field-array.js +1 -1
- package/dist/components/form/core/use-form-state.js +1 -1
- package/dist/components/form/form-compact.vue.d.ts +2 -1
- package/dist/components/form/form-control.vue.d.ts +1 -2
- package/dist/components/form/form-description.vue.d.ts +1 -2
- package/dist/components/form/form-error.vue.d.ts +1 -2
- package/dist/components/form/form-field-array-compact.js +1 -1
- package/dist/components/form/form-field-array-compact.vue.d.ts +1 -2
- package/dist/components/form/form-field-base-compact.js +1 -1
- package/dist/components/form/form-field-base-compact.vue.d.ts +5 -6
- package/dist/components/form/form-field-compact.js +1 -1
- package/dist/components/form/form-field-compact.vue.d.ts +1 -2
- package/dist/components/form/form-field.js +1 -1
- package/dist/components/form/form-field.vue.d.ts +1 -2
- package/dist/components/form/form-label.vue.d.ts +1 -2
- package/dist/components/form/index.d.ts +9 -9
- package/dist/components/form/types.d.ts +2 -2
- package/dist/components/form/use-form.d.ts +0 -1
- package/dist/components/hover-card/hover-card-compact.vue.d.ts +2 -1
- package/dist/components/hover-card/hover-card-popup.vue.d.ts +1 -2
- package/dist/components/hover-card/hover-card-positioner-impl.js +1 -1
- package/dist/components/hover-card/hover-card-positioner.vue.d.ts +2 -1
- package/dist/components/hover-card/hover-card-root.vue.d.ts +1 -2
- package/dist/components/hover-card/hover-card-trigger.vue.d.ts +3 -1
- package/dist/components/hover-card/index.d.ts +8 -8
- package/dist/components/hover-card/types.d.ts +2 -2
- package/dist/components/input/context.d.ts +2 -0
- package/dist/components/input/index.d.ts +4 -4
- package/dist/components/input/input-clear.js +1 -1
- package/dist/components/input/input-clear.vue.d.ts +1 -2
- package/dist/components/input/input-compact.js +1 -1
- package/dist/components/input/input-compact.vue.d.ts +1 -2
- package/dist/components/input/input-control.vue.d.ts +1 -2
- package/dist/components/input/input-root.vue.d.ts +1 -2
- package/dist/components/input/types.d.ts +6 -3
- package/dist/components/input-number/context.d.ts +2 -0
- package/dist/components/input-number/index.d.ts +5 -5
- package/dist/components/input-number/input-number-clear.js +1 -1
- package/dist/components/input-number/input-number-compact.js +1 -1
- package/dist/components/input-number/input-number-compact.vue.d.ts +1 -2
- package/dist/components/input-number/input-number-control.js +1 -1
- package/dist/components/input-number/input-number-control.vue.d.ts +1 -2
- package/dist/components/input-number/input-number-decrement.vue.d.ts +1 -2
- package/dist/components/input-number/input-number-increment.vue.d.ts +1 -2
- package/dist/components/input-number/input-number-root.js +1 -1
- package/dist/components/input-number/input-number-root.vue.d.ts +2 -3
- package/dist/components/input-number/shared.js +1 -1
- package/dist/components/input-number/types.d.ts +2 -2
- package/dist/components/input-otp/context.d.ts +2 -0
- package/dist/components/input-otp/index.d.ts +4 -4
- package/dist/components/input-otp/input-otp-compact.js +1 -1
- package/dist/components/input-otp/input-otp-compact.vue.d.ts +5 -6
- package/dist/components/input-otp/input-otp-input.vue.d.ts +1 -2
- package/dist/components/input-otp/input-otp-positioner.vue.d.ts +1 -2
- package/dist/components/input-otp/input-otp-root.js +1 -1
- package/dist/components/input-otp/input-otp-root.vue.d.ts +6 -7
- package/dist/components/input-otp/shared.js +1 -1
- package/dist/components/input-otp/types.d.ts +2 -2
- package/dist/components/input-otp/use-password-manager-badge.js +1 -1
- package/dist/components/kbd/index.d.ts +1 -1
- package/dist/components/kbd/kbd.vue.d.ts +1 -2
- package/dist/components/kbd/types.d.ts +1 -0
- package/dist/components/label/index.d.ts +1 -1
- package/dist/components/label/label.vue.d.ts +1 -2
- package/dist/components/label/types.d.ts +1 -0
- package/dist/components/layout/context.d.ts +4 -3
- package/dist/components/layout/context.js +1 -1
- package/dist/components/layout/index.d.ts +14 -15
- package/dist/components/layout/index.js +1 -1
- package/dist/components/layout/layout-compact.js +1 -1
- package/dist/components/layout/layout-compact.vue.d.ts +2 -2
- package/dist/components/layout/layout-content.vue.d.ts +1 -2
- package/dist/components/layout/layout-footer.vue.d.ts +1 -2
- package/dist/components/layout/layout-header.vue.d.ts +1 -2
- package/dist/components/layout/layout-main.vue.d.ts +1 -2
- package/dist/components/layout/layout-mobile.vue.d.ts +1 -2
- package/dist/components/layout/layout-placeholder.js +1 -0
- package/dist/components/layout/layout-rail.js +1 -1
- package/dist/components/layout/layout-rail.vue.d.ts +1 -2
- package/dist/components/layout/layout-root.js +1 -1
- package/dist/components/layout/layout-root.vue.d.ts +12 -7
- package/dist/components/layout/layout-sidebar.vue.d.ts +1 -2
- package/dist/components/layout/layout-tab.vue.d.ts +1 -2
- package/dist/components/layout/layout-trigger.js +1 -1
- package/dist/components/layout/layout-trigger.vue.d.ts +1 -2
- package/dist/components/layout/shared.js +1 -1
- package/dist/components/layout/types.d.ts +44 -70
- package/dist/components/link/index.d.ts +1 -1
- package/dist/components/link/link.js +1 -1
- package/dist/components/link/link.vue.d.ts +2 -1
- package/dist/components/link/types.d.ts +1 -2
- package/dist/components/list/context.d.ts +2 -0
- package/dist/components/list/index.d.ts +5 -5
- package/dist/components/list/list-content.vue.d.ts +1 -2
- package/dist/components/list/list-description.vue.d.ts +1 -2
- package/dist/components/list/list-item.vue.d.ts +1 -2
- package/dist/components/list/list-root.vue.d.ts +1 -2
- package/dist/components/list/list-title.vue.d.ts +1 -2
- package/dist/components/list/types.d.ts +1 -0
- package/dist/components/listbox/context.d.ts +3 -0
- package/dist/components/listbox/context.js +1 -1
- package/dist/components/listbox/index.d.ts +8 -8
- package/dist/components/listbox/listbox-content.vue.d.ts +1 -2
- package/dist/components/listbox/listbox-filter.vue.d.ts +5 -6
- package/dist/components/listbox/listbox-group-label.vue.d.ts +1 -2
- package/dist/components/listbox/listbox-group.vue.d.ts +1 -2
- package/dist/components/listbox/listbox-item-indicator.vue.d.ts +2 -2
- package/dist/components/listbox/listbox-item.js +1 -1
- package/dist/components/listbox/listbox-item.vue.d.ts +2 -2
- package/dist/components/listbox/listbox-root.js +1 -1
- package/dist/components/listbox/listbox-root.vue.d.ts +6 -6
- package/dist/components/listbox/listbox-virtualizer.js +1 -1
- package/dist/components/listbox/listbox-virtualizer.vue.d.ts +1 -2
- package/dist/components/listbox/shared.js +1 -1
- package/dist/components/listbox/types.d.ts +10 -5
- package/dist/components/menu/context.d.ts +4 -1
- package/dist/components/menu/context.js +1 -1
- package/dist/components/menu/index.d.ts +23 -23
- package/dist/components/menu/index.js +1 -1
- package/dist/components/menu/menu-checkbox-group.js +1 -1
- package/dist/components/menu/menu-checkbox-group.vue.d.ts +4 -4
- package/dist/components/menu/menu-checkbox-item.js +1 -1
- package/dist/components/menu/menu-checkbox-item.vue.d.ts +2 -2
- package/dist/components/menu/menu-checkbox-options-compact.js +1 -1
- package/dist/components/menu/menu-checkbox-options-compact.vue.d.ts +4 -4
- package/dist/components/menu/menu-content-impl.js +1 -1
- package/dist/components/menu/menu-content.vue.d.ts +3 -1
- package/dist/components/menu/menu-group-label.vue.d.ts +1 -2
- package/dist/components/menu/menu-group.vue.d.ts +1 -2
- package/dist/components/menu/menu-item-impl.js +1 -1
- package/dist/components/menu/menu-item-indicator.vue.d.ts +2 -2
- package/dist/components/menu/menu-item.js +1 -1
- package/dist/components/menu/menu-item.vue.d.ts +1 -2
- package/dist/components/menu/menu-option-compact.js +1 -1
- package/dist/components/menu/menu-option-compact.vue.d.ts +5 -3
- package/dist/components/menu/menu-options-compact.vue.d.ts +5 -3
- package/dist/components/menu/menu-radio-group.js +1 -1
- package/dist/components/menu/menu-radio-group.vue.d.ts +7 -7
- package/dist/components/menu/menu-radio-item.js +1 -1
- package/dist/components/menu/menu-radio-item.vue.d.ts +1 -2
- package/dist/components/menu/menu-radio-options-compact.js +1 -1
- package/dist/components/menu/menu-radio-options-compact.vue.d.ts +6 -6
- package/dist/components/menu/menu-root.vue.d.ts +1 -2
- package/dist/components/menu/menu-sub-content.vue.d.ts +3 -1
- package/dist/components/menu/menu-sub-trigger.js +1 -1
- package/dist/components/menu/menu-sub-trigger.vue.d.ts +1 -2
- package/dist/components/menu/menu-sub.vue.d.ts +1 -2
- package/dist/components/menu/shared.js +1 -1
- package/dist/components/menu/types.d.ts +11 -8
- package/dist/components/menubar/context.d.ts +3 -0
- package/dist/components/menubar/context.js +1 -1
- package/dist/components/menubar/index.d.ts +22 -21
- package/dist/components/menubar/menubar-compact.js +1 -1
- package/dist/components/menubar/menubar-compact.vue.d.ts +6 -3
- package/dist/components/menubar/menubar-content.js +1 -1
- package/dist/components/menubar/menubar-content.vue.d.ts +7 -3
- package/dist/components/menubar/menubar-menu.vue.d.ts +2 -1
- package/dist/components/menubar/menubar-menus.js +1 -0
- package/dist/components/menubar/menubar-root.js +1 -1
- package/dist/components/menubar/menubar-root.vue.d.ts +7 -3
- package/dist/components/menubar/menubar-sub-content.vue.d.ts +2 -1
- package/dist/components/menubar/menubar-sub-trigger.vue.d.ts +1 -2
- package/dist/components/menubar/menubar-trigger.js +1 -1
- package/dist/components/menubar/menubar-trigger.vue.d.ts +3 -4
- package/dist/components/menubar/types.d.ts +60 -3
- package/dist/components/navigation-menu/context.d.ts +2 -0
- package/dist/components/navigation-menu/context.js +1 -1
- package/dist/components/navigation-menu/index.d.ts +10 -10
- package/dist/components/navigation-menu/navigation-menu-compact.vue.d.ts +2 -1
- package/dist/components/navigation-menu/navigation-menu-content-impl.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-content.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-content.vue.d.ts +2 -1
- package/dist/components/navigation-menu/navigation-menu-indicator.vue.d.ts +1 -2
- package/dist/components/navigation-menu/navigation-menu-item.vue.d.ts +1 -2
- package/dist/components/navigation-menu/navigation-menu-link.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-link.vue.d.ts +1 -2
- package/dist/components/navigation-menu/navigation-menu-list.vue.d.ts +1 -2
- package/dist/components/navigation-menu/navigation-menu-option-compact.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +2 -1
- package/dist/components/navigation-menu/navigation-menu-sub-list.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-sub-list.vue.d.ts +1 -2
- package/dist/components/navigation-menu/navigation-menu-sub-option-compact.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-trigger.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-trigger.vue.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu-viewport.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-viewport.vue.d.ts +2 -1
- package/dist/components/navigation-menu/shared.js +1 -1
- package/dist/components/navigation-menu/types.d.ts +4 -4
- package/dist/components/page-tabs/context.d.ts +2 -0
- package/dist/components/page-tabs/hooks.js +1 -1
- package/dist/components/page-tabs/index.d.ts +7 -7
- package/dist/components/page-tabs/page-tabs-close.js +1 -1
- package/dist/components/page-tabs/page-tabs-close.vue.d.ts +1 -2
- package/dist/components/page-tabs/page-tabs-compact.js +1 -1
- package/dist/components/page-tabs/page-tabs-compact.vue.d.ts +9 -6
- package/dist/components/page-tabs/page-tabs-item.js +1 -1
- package/dist/components/page-tabs/page-tabs-item.vue.d.ts +12 -3
- package/dist/components/page-tabs/page-tabs-pin.js +1 -1
- package/dist/components/page-tabs/page-tabs-pin.vue.d.ts +1 -2
- package/dist/components/page-tabs/page-tabs-root.js +1 -1
- package/dist/components/page-tabs/page-tabs-root.vue.d.ts +3 -3
- package/dist/components/page-tabs/types.d.ts +65 -2
- package/dist/components/pagination/context.d.ts +2 -0
- package/dist/components/pagination/index.d.ts +9 -9
- package/dist/components/pagination/pagination-compact.vue.d.ts +1 -2
- package/dist/components/pagination/pagination-ellipsis.vue.d.ts +1 -2
- package/dist/components/pagination/pagination-first.vue.d.ts +1 -2
- package/dist/components/pagination/pagination-last.vue.d.ts +1 -2
- package/dist/components/pagination/pagination-list-item.js +1 -1
- package/dist/components/pagination/pagination-list-item.vue.d.ts +1 -2
- package/dist/components/pagination/pagination-list.vue.d.ts +1 -2
- package/dist/components/pagination/pagination-next.vue.d.ts +1 -2
- package/dist/components/pagination/pagination-prev.vue.d.ts +1 -2
- package/dist/components/pagination/pagination-root.vue.d.ts +1 -2
- package/dist/components/pagination/shared.js +1 -1
- package/dist/components/pagination/types.d.ts +5 -3
- package/dist/components/password/context.d.ts +2 -0
- package/dist/components/password/index.d.ts +1 -1
- package/dist/components/password/password-compact.js +1 -1
- package/dist/components/password/password-compact.vue.d.ts +2 -2
- package/dist/components/password/types.d.ts +7 -1
- package/dist/components/popconfirm/context.d.ts +2 -0
- package/dist/components/popconfirm/index.d.ts +15 -15
- package/dist/components/popconfirm/popconfirm-cancel.vue.d.ts +1 -2
- package/dist/components/popconfirm/popconfirm-compact.vue.d.ts +2 -1
- package/dist/components/popconfirm/popconfirm-confirm.vue.d.ts +1 -2
- package/dist/components/popconfirm/popconfirm-content.vue.d.ts +1 -2
- package/dist/components/popconfirm/popconfirm-description.vue.d.ts +1 -2
- package/dist/components/popconfirm/popconfirm-footer.vue.d.ts +1 -2
- package/dist/components/popconfirm/popconfirm-header.vue.d.ts +1 -2
- package/dist/components/popconfirm/popconfirm-title.vue.d.ts +1 -2
- package/dist/components/popconfirm/types.d.ts +2 -2
- package/dist/components/popover/context.d.ts +3 -0
- package/dist/components/popover/index.d.ts +9 -9
- package/dist/components/popover/popover-anchor.vue.d.ts +2 -1
- package/dist/components/popover/popover-close.vue.d.ts +1 -2
- package/dist/components/popover/popover-compact.vue.d.ts +2 -1
- package/dist/components/popover/popover-popup.vue.d.ts +1 -2
- package/dist/components/popover/popover-positioner-impl.js +1 -1
- package/dist/components/popover/popover-positioner.vue.d.ts +2 -1
- package/dist/components/popover/popover-root.vue.d.ts +1 -2
- package/dist/components/popover/popover-trigger.vue.d.ts +2 -2
- package/dist/components/popover/types.d.ts +2 -2
- package/dist/components/popper/context.d.ts +2 -1
- package/dist/components/popper/index.d.ts +5 -5
- package/dist/components/popper/popper-anchor.vue.d.ts +1 -2
- package/dist/components/popper/popper-arrow.vue.d.ts +1 -2
- package/dist/components/popper/popper-popup.vue.d.ts +1 -2
- package/dist/components/popper/popper-positioner.js +1 -1
- package/dist/components/popper/popper-positioner.vue.d.ts +3 -3
- package/dist/components/popper/popper-root.js +1 -1
- package/dist/components/popper/popper-root.vue.d.ts +1 -2
- package/dist/components/popper/shared.js +1 -1
- package/dist/components/popper/types.d.ts +1 -1
- package/dist/components/portal/index.d.ts +1 -1
- package/dist/components/portal/portal.vue.d.ts +1 -2
- package/dist/components/portal/types.d.ts +1 -0
- package/dist/components/primitive/primitive.d.ts +0 -1
- package/dist/components/primitive/types.d.ts +1 -1
- package/dist/components/progress/context.d.ts +2 -0
- package/dist/components/progress/index.d.ts +6 -6
- package/dist/components/progress/progress-circle-compact.vue.d.ts +1 -2
- package/dist/components/progress/progress-circle-svg.vue.d.ts +1 -2
- package/dist/components/progress/progress-compact.vue.d.ts +1 -2
- package/dist/components/progress/progress-indicator.vue.d.ts +1 -2
- package/dist/components/progress/progress-provider.vue.d.ts +1 -2
- package/dist/components/progress/progress-root.js +1 -1
- package/dist/components/progress/progress-root.vue.d.ts +1 -2
- package/dist/components/progress/state.d.ts +0 -1
- package/dist/components/progress/state.js +1 -1
- package/dist/components/progress/types.d.ts +1 -1
- package/dist/components/radio-group/context.d.ts +3 -0
- package/dist/components/radio-group/index.d.ts +7 -7
- package/dist/components/radio-group/radio-group-card-compact.js +1 -1
- package/dist/components/radio-group/radio-group-card-compact.vue.d.ts +3 -4
- package/dist/components/radio-group/radio-group-compact.vue.d.ts +3 -4
- package/dist/components/radio-group/radio-group-control.js +1 -1
- package/dist/components/radio-group/radio-group-control.vue.d.ts +3 -4
- package/dist/components/radio-group/radio-group-indicator.vue.d.ts +2 -2
- package/dist/components/radio-group/radio-group-item.vue.d.ts +1 -2
- package/dist/components/radio-group/radio-group-label.vue.d.ts +2 -1
- package/dist/components/radio-group/radio-group-root.vue.d.ts +4 -4
- package/dist/components/radio-group/types.d.ts +7 -5
- package/dist/components/rating/context.js +1 -0
- package/dist/components/rating/index.d.ts +4 -0
- package/dist/components/rating/index.js +1 -0
- package/dist/components/rating/rating-item.js +1 -0
- package/dist/components/rating/rating-item.vue.d.ts +20 -0
- package/dist/components/rating/rating-root.js +1 -0
- package/dist/components/rating/rating-root.vue.d.ts +39 -0
- package/dist/components/rating/shared.js +1 -0
- package/dist/components/rating/types.d.ts +77 -0
- package/dist/components/roving-focus/context.js +1 -1
- package/dist/components/roving-focus/index.d.ts +2 -2
- package/dist/components/roving-focus/roving-focus-group.vue.d.ts +3 -1
- package/dist/components/roving-focus/roving-focus-item.vue.d.ts +1 -2
- package/dist/components/roving-focus/types.d.ts +1 -1
- package/dist/components/scroll-area/context.d.ts +2 -0
- package/dist/components/scroll-area/index.d.ts +6 -6
- package/dist/components/scroll-area/scroll-area-compact.vue.d.ts +1 -2
- package/dist/components/scroll-area/scroll-area-corner.js +1 -1
- package/dist/components/scroll-area/scroll-area-corner.vue.d.ts +1 -2
- package/dist/components/scroll-area/scroll-area-root.js +1 -1
- package/dist/components/scroll-area/scroll-area-root.vue.d.ts +1 -2
- package/dist/components/scroll-area/scroll-area-scrollbar.js +1 -1
- package/dist/components/scroll-area/scroll-area-scrollbar.vue.d.ts +1 -2
- package/dist/components/scroll-area/scroll-area-thumb.js +1 -1
- package/dist/components/scroll-area/scroll-area-thumb.vue.d.ts +1 -2
- package/dist/components/scroll-area/scroll-area-viewport.vue.d.ts +1 -2
- package/dist/components/scroll-area/shared.js +1 -1
- package/dist/components/scroll-area/types.d.ts +1 -1
- package/dist/components/segment/index.d.ts +6 -5
- package/dist/components/segment/segment-compact.vue.d.ts +3 -4
- package/dist/components/segment/types.d.ts +2 -2
- package/dist/components/select/context.d.ts +3 -0
- package/dist/components/select/context.js +1 -1
- package/dist/components/select/index.d.ts +17 -17
- package/dist/components/select/select-arrow.vue.d.ts +2 -1
- package/dist/components/select/select-compact.js +1 -1
- package/dist/components/select/select-compact.vue.d.ts +5 -3
- package/dist/components/select/select-content-impl.js +1 -1
- package/dist/components/select/select-content.js +1 -1
- package/dist/components/select/select-content.vue.d.ts +2 -1
- package/dist/components/select/select-group-label.vue.d.ts +1 -2
- package/dist/components/select/select-group.vue.d.ts +1 -2
- package/dist/components/select/select-item-indicator.vue.d.ts +2 -2
- package/dist/components/select/select-item-text.vue.d.ts +1 -2
- package/dist/components/select/select-item.js +1 -1
- package/dist/components/select/select-item.vue.d.ts +2 -2
- package/dist/components/select/select-root.js +1 -1
- package/dist/components/select/select-root.vue.d.ts +4 -4
- package/dist/components/select/select-scroll-down-button.vue.d.ts +1 -2
- package/dist/components/select/select-scroll-up-button.vue.d.ts +1 -2
- package/dist/components/select/select-separator.vue.d.ts +1 -2
- package/dist/components/select/select-trigger-icon.vue.d.ts +1 -2
- package/dist/components/select/select-trigger.vue.d.ts +2 -2
- package/dist/components/select/select-value.vue.d.ts +2 -1
- package/dist/components/select/select-viewport.vue.d.ts +1 -2
- package/dist/components/select/types.d.ts +26 -6
- package/dist/components/separator/context.d.ts +2 -0
- package/dist/components/separator/index.d.ts +3 -3
- package/dist/components/separator/separator-compact.vue.d.ts +1 -2
- package/dist/components/separator/separator-label.vue.d.ts +1 -2
- package/dist/components/separator/separator-root.js +1 -1
- package/dist/components/separator/separator-root.vue.d.ts +2 -2
- package/dist/components/separator/types.d.ts +2 -1
- package/dist/components/skeleton/index.d.ts +1 -1
- package/dist/components/skeleton/skeleton.vue.d.ts +1 -2
- package/dist/components/skeleton/types.d.ts +0 -1
- package/dist/components/slider/context.d.ts +2 -0
- package/dist/components/slider/index.d.ts +5 -5
- package/dist/components/slider/shared.js +1 -1
- package/dist/components/slider/slider-compact.js +1 -1
- package/dist/components/slider/slider-compact.vue.d.ts +1 -2
- package/dist/components/slider/slider-range.vue.d.ts +1 -2
- package/dist/components/slider/slider-root.js +1 -1
- package/dist/components/slider/slider-root.vue.d.ts +4 -3
- package/dist/components/slider/slider-thumb.vue.d.ts +1 -2
- package/dist/components/slider/slider-track.vue.d.ts +1 -2
- package/dist/components/slider/types.d.ts +4 -2
- package/dist/components/splitter/context.d.ts +2 -0
- package/dist/components/splitter/index.d.ts +3 -3
- package/dist/components/splitter/shared.js +1 -1
- package/dist/components/splitter/splitter-group.js +1 -1
- package/dist/components/splitter/splitter-group.vue.d.ts +3 -2
- package/dist/components/splitter/splitter-panel.vue.d.ts +1 -2
- package/dist/components/splitter/splitter-resize-handle.js +1 -1
- package/dist/components/splitter/splitter-resize-handle.vue.d.ts +1 -2
- package/dist/components/splitter/types.d.ts +2 -2
- package/dist/components/stepper/context.d.ts +2 -0
- package/dist/components/stepper/index.d.ts +8 -8
- package/dist/components/stepper/stepper-compact.js +1 -1
- package/dist/components/stepper/stepper-compact.vue.d.ts +1 -2
- package/dist/components/stepper/stepper-description.vue.d.ts +2 -2
- package/dist/components/stepper/stepper-indicator.vue.d.ts +2 -2
- package/dist/components/stepper/stepper-item.js +1 -1
- package/dist/components/stepper/stepper-item.vue.d.ts +1 -2
- package/dist/components/stepper/stepper-root.js +1 -1
- package/dist/components/stepper/stepper-root.vue.d.ts +3 -2
- package/dist/components/stepper/stepper-separator.vue.d.ts +2 -1
- package/dist/components/stepper/stepper-title.vue.d.ts +2 -2
- package/dist/components/stepper/stepper-trigger.vue.d.ts +2 -2
- package/dist/components/stepper/types.d.ts +3 -3
- package/dist/components/switch/context.d.ts +3 -0
- package/dist/components/switch/index.d.ts +4 -4
- package/dist/components/switch/switch-compact.js +1 -1
- package/dist/components/switch/switch-compact.vue.d.ts +4 -4
- package/dist/components/switch/switch-control.vue.d.ts +2 -1
- package/dist/components/switch/switch-root.js +1 -1
- package/dist/components/switch/switch-root.vue.d.ts +5 -5
- package/dist/components/switch/switch-thumb.vue.d.ts +2 -2
- package/dist/components/switch/types.d.ts +4 -3
- package/dist/components/table/context.d.ts +2 -0
- package/dist/components/table/hooks.js +1 -1
- package/dist/components/table/index.d.ts +10 -10
- package/dist/components/table/shared.d.ts +2 -1
- package/dist/components/table/shared.js +1 -1
- package/dist/components/table/table-body.vue.d.ts +1 -2
- package/dist/components/table/table-cell.vue.d.ts +1 -2
- package/dist/components/table/table-compact-cell.js +1 -1
- package/dist/components/table/table-compact-head.js +1 -1
- package/dist/components/table/table-compact.js +1 -1
- package/dist/components/table/table-compact.vue.d.ts +3 -4
- package/dist/components/table/table-content.vue.d.ts +1 -2
- package/dist/components/table/table-footer.vue.d.ts +1 -2
- package/dist/components/table/table-head.vue.d.ts +1 -2
- package/dist/components/table/table-header.vue.d.ts +1 -2
- package/dist/components/table/table-root.vue.d.ts +1 -2
- package/dist/components/table/table-row.vue.d.ts +1 -2
- package/dist/components/table/table-scroll.vue.d.ts +1 -2
- package/dist/components/table/types.d.ts +3 -3
- package/dist/components/tabs/context.d.ts +3 -1
- package/dist/components/tabs/index.d.ts +6 -6
- package/dist/components/tabs/tabs-compact.vue.d.ts +3 -4
- package/dist/components/tabs/tabs-content.js +1 -1
- package/dist/components/tabs/tabs-content.vue.d.ts +1 -2
- package/dist/components/tabs/tabs-indicator.js +1 -1
- package/dist/components/tabs/tabs-indicator.vue.d.ts +1 -2
- package/dist/components/tabs/tabs-list.vue.d.ts +1 -2
- package/dist/components/tabs/tabs-root.vue.d.ts +3 -2
- package/dist/components/tabs/tabs-trigger.js +1 -1
- package/dist/components/tabs/tabs-trigger.vue.d.ts +2 -2
- package/dist/components/tabs/types.d.ts +3 -2
- package/dist/components/tag/index.d.ts +1 -1
- package/dist/components/tag/tag.js +1 -1
- package/dist/components/tag/tag.vue.d.ts +1 -2
- package/dist/components/tag/types.d.ts +1 -0
- package/dist/components/tags-input/context.d.ts +2 -0
- package/dist/components/tags-input/index.d.ts +7 -7
- package/dist/components/tags-input/tags-input-clear.vue.d.ts +1 -2
- package/dist/components/tags-input/tags-input-compact.js +1 -1
- package/dist/components/tags-input/tags-input-compact.vue.d.ts +6 -5
- package/dist/components/tags-input/tags-input-control.js +1 -1
- package/dist/components/tags-input/tags-input-control.vue.d.ts +1 -2
- package/dist/components/tags-input/tags-input-item-delete.vue.d.ts +1 -2
- package/dist/components/tags-input/tags-input-item-text.js +1 -1
- package/dist/components/tags-input/tags-input-item-text.vue.d.ts +1 -2
- package/dist/components/tags-input/tags-input-item.js +1 -1
- package/dist/components/tags-input/tags-input-item.vue.d.ts +1 -2
- package/dist/components/tags-input/tags-input-root.js +1 -1
- package/dist/components/tags-input/tags-input-root.vue.d.ts +4 -5
- package/dist/components/tags-input/types.d.ts +4 -2
- package/dist/components/textarea/context.d.ts +2 -0
- package/dist/components/textarea/index.d.ts +5 -5
- package/dist/components/textarea/shared.js +1 -1
- package/dist/components/textarea/textarea-clear.vue.d.ts +1 -2
- package/dist/components/textarea/textarea-compact.js +1 -1
- package/dist/components/textarea/textarea-compact.vue.d.ts +1 -2
- package/dist/components/textarea/textarea-control.js +1 -1
- package/dist/components/textarea/textarea-control.vue.d.ts +1 -2
- package/dist/components/textarea/textarea-counter.vue.d.ts +1 -2
- package/dist/components/textarea/textarea-root.vue.d.ts +1 -2
- package/dist/components/textarea/types.d.ts +2 -2
- package/dist/components/time-field/context.d.ts +2 -0
- package/dist/components/time-field/index.d.ts +5 -5
- package/dist/components/time-field/time-field-compact.js +1 -1
- package/dist/components/time-field/time-field-compact.vue.d.ts +10 -4
- package/dist/components/time-field/time-field-input.js +1 -1
- package/dist/components/time-field/time-field-input.vue.d.ts +3 -1
- package/dist/components/time-field/time-field-root.js +1 -1
- package/dist/components/time-field/time-field-root.vue.d.ts +4 -4
- package/dist/components/time-field/types.d.ts +16 -2
- package/dist/components/time-range-field/context.d.ts +2 -0
- package/dist/components/time-range-field/index.d.ts +3 -3
- package/dist/components/time-range-field/time-range-field-compact.vue.d.ts +3 -2
- package/dist/components/time-range-field/time-range-field-input.js +1 -1
- package/dist/components/time-range-field/time-range-field-input.vue.d.ts +2 -2
- package/dist/components/time-range-field/time-range-field-root.js +1 -1
- package/dist/components/time-range-field/time-range-field-root.vue.d.ts +6 -5
- package/dist/components/time-range-field/types.d.ts +2 -1
- package/dist/components/toast/context.d.ts +2 -0
- package/dist/components/toast/hooks.js +1 -1
- package/dist/components/toast/index.d.ts +2 -2
- package/dist/components/toast/state.d.ts +0 -1
- package/dist/components/toast/state.js +1 -1
- package/dist/components/toast/toast-provider.vue.d.ts +1 -2
- package/dist/components/toast/toast.js +1 -1
- package/dist/components/toast/toaster.js +1 -1
- package/dist/components/toast/toaster.vue.d.ts +3 -4
- package/dist/components/toast/types.d.ts +2 -2
- package/dist/components/toggle/index.d.ts +1 -1
- package/dist/components/toggle/toggle.vue.d.ts +2 -3
- package/dist/components/toggle/types.d.ts +0 -1
- package/dist/components/toggle-group/context.d.ts +2 -0
- package/dist/components/toggle-group/index.d.ts +2 -2
- package/dist/components/toggle-group/toggle-group-item.js +1 -1
- package/dist/components/toggle-group/toggle-group-item.vue.d.ts +4 -4
- package/dist/components/toggle-group/toggle-group-root.vue.d.ts +4 -4
- package/dist/components/toggle-group/types.d.ts +1 -1
- package/dist/components/toolbar/context.d.ts +2 -0
- package/dist/components/toolbar/index.d.ts +6 -6
- package/dist/components/toolbar/toolbar-button.vue.d.ts +1 -2
- package/dist/components/toolbar/toolbar-link.vue.d.ts +1 -2
- package/dist/components/toolbar/toolbar-root.vue.d.ts +2 -1
- package/dist/components/toolbar/toolbar-separator.vue.d.ts +1 -2
- package/dist/components/toolbar/toolbar-toggle-group.vue.d.ts +4 -4
- package/dist/components/toolbar/toolbar-toggle-item.vue.d.ts +4 -4
- package/dist/components/toolbar/types.d.ts +1 -1
- package/dist/components/tooltip/index.d.ts +8 -8
- package/dist/components/tooltip/tooltip-compact.vue.d.ts +2 -1
- package/dist/components/tooltip/tooltip-popup.vue.d.ts +1 -2
- package/dist/components/tooltip/tooltip-positioner-impl.js +1 -1
- package/dist/components/tooltip/tooltip-positioner.vue.d.ts +2 -1
- package/dist/components/tooltip/tooltip-root.js +1 -1
- package/dist/components/tooltip/tooltip-root.vue.d.ts +1 -2
- package/dist/components/tooltip/tooltip-trigger.vue.d.ts +3 -1
- package/dist/components/tooltip/types.d.ts +2 -2
- package/dist/components/tree/hooks.js +1 -1
- package/dist/components/tree/index.d.ts +4 -4
- package/dist/components/tree/tree-item.js +1 -1
- package/dist/components/tree/tree-item.vue.d.ts +3 -2
- package/dist/components/tree/tree-root.js +1 -1
- package/dist/components/tree/tree-root.vue.d.ts +6 -6
- package/dist/components/tree/tree-virtualizer-item.vue.d.ts +2 -1
- package/dist/components/tree/tree-virtualizer-root.js +1 -1
- package/dist/components/tree/tree-virtualizer-root.vue.d.ts +648 -9
- package/dist/components/tree/types.d.ts +10 -3
- package/dist/components/tree-menu/context.d.ts +21 -17
- package/dist/components/tree-menu/context.js +1 -1
- package/dist/components/tree-menu/index.d.ts +14 -14
- package/dist/components/tree-menu/shared.js +1 -1
- package/dist/components/tree-menu/tree-menu-button.vue.d.ts +1 -2
- package/dist/components/tree-menu/tree-menu-collapsible.vue.d.ts +1 -2
- package/dist/components/tree-menu/tree-menu-compact.js +1 -1
- package/dist/components/tree-menu/tree-menu-compact.vue.d.ts +3 -4
- package/dist/components/tree-menu/tree-menu-group-label.vue.d.ts +1 -2
- package/dist/components/tree-menu/tree-menu-group-root.vue.d.ts +1 -2
- package/dist/components/tree-menu/tree-menu-group.vue.d.ts +2 -2
- package/dist/components/tree-menu/tree-menu-item.vue.d.ts +2 -2
- package/dist/components/tree-menu/tree-menu-option-compact.js +1 -1
- package/dist/components/tree-menu/tree-menu-option-compact.vue.d.ts +2 -2
- package/dist/components/tree-menu/tree-menu-options-compact.js +1 -1
- package/dist/components/tree-menu/tree-menu-options-compact.vue.d.ts +3 -4
- package/dist/components/tree-menu/tree-menu-root.js +1 -1
- package/dist/components/tree-menu/tree-menu-root.vue.d.ts +3 -3
- package/dist/components/tree-menu/tree-menu-slot-compact.js +1 -1
- package/dist/components/tree-menu/tree-menu-slot-compact.vue.d.ts +8 -9
- package/dist/components/tree-menu/tree-menu-sub.vue.d.ts +2 -2
- package/dist/components/tree-menu/tree-menu-tooltip-compact.js +1 -1
- package/dist/components/tree-menu/types.d.ts +22 -5
- package/dist/components/virtualizer/index.d.ts +3 -3
- package/dist/components/virtualizer/types.d.ts +1 -1
- package/dist/components/virtualizer/virtualizer-content.js +1 -1
- package/dist/components/virtualizer/virtualizer-content.vue.d.ts +1 -2
- package/dist/components/virtualizer/virtualizer-item.vue.d.ts +1 -2
- package/dist/components/virtualizer/virtualizer-root.js +1 -1
- package/dist/components/virtualizer/virtualizer-root.vue.d.ts +4 -4
- package/dist/components/visually-hidden/index.d.ts +2 -2
- package/dist/components/visually-hidden/types.d.ts +0 -1
- package/dist/components/visually-hidden/visually-hidden-input-bubble.js +1 -1
- package/dist/components/visually-hidden/visually-hidden-input.vue.d.ts +2 -3
- package/dist/components/visually-hidden/visually-hidden.vue.d.ts +2 -2
- package/dist/components/watermark/context.d.ts +2 -0
- package/dist/components/watermark/index.d.ts +3 -3
- package/dist/components/watermark/shared.js +1 -1
- package/dist/components/watermark/types.d.ts +1 -1
- package/dist/components/watermark/watermark-compact.vue.d.ts +1 -2
- package/dist/components/watermark/watermark-overlay.vue.d.ts +1 -2
- package/dist/components/watermark/watermark-root.js +1 -1
- package/dist/components/watermark/watermark-root.vue.d.ts +1 -2
- package/dist/composables/use-arrow-navigation.d.ts +1 -0
- package/dist/composables/use-arrow-navigation.js +1 -1
- package/dist/composables/use-bool-prop.js +1 -1
- package/dist/composables/use-collection.d.ts +1 -1
- package/dist/composables/use-collection.js +1 -1
- package/dist/composables/use-controllable-state.d.ts +0 -1
- package/dist/composables/use-dismissable-layer.d.ts +4 -1
- package/dist/composables/use-dismissable-layer.js +1 -1
- package/dist/composables/use-escape-key-down.d.ts +0 -1
- package/dist/composables/use-exposed-element.d.ts +1 -0
- package/dist/composables/use-floating.d.ts +0 -1
- package/dist/composables/use-focus-scope.d.ts +1 -1
- package/dist/composables/use-forward-element.d.ts +1 -0
- package/dist/composables/use-forward-element.js +1 -1
- package/dist/composables/use-fuse.d.ts +0 -1
- package/dist/composables/use-grace-area.d.ts +0 -1
- package/dist/composables/use-grace-area.js +1 -1
- package/dist/composables/use-hide-others.d.ts +1 -1
- package/dist/composables/use-image-loading-status.d.ts +1 -1
- package/dist/composables/use-kbd.d.ts +1 -0
- package/dist/composables/use-popup-events.d.ts +1 -1
- package/dist/composables/use-presence.d.ts +0 -1
- package/dist/composables/use-presence.js +1 -1
- package/dist/composables/use-props.d.ts +0 -1
- package/dist/composables/use-selection.d.ts +1 -1
- package/dist/composables/use-state-machine.d.ts +0 -1
- package/dist/composables/use-typeahead.d.ts +0 -1
- package/dist/composables/use-typeahead.js +1 -1
- package/dist/composables/use-ui-context.d.ts +1 -1
- package/dist/constants/common.d.ts +1 -0
- package/dist/constants/components.d.ts +2 -0
- package/dist/constants/components.js +1 -1
- package/dist/date/calendar.d.ts +2 -9
- package/dist/date/calendar.js +1 -1
- package/dist/date/comparators.d.ts +0 -1
- package/dist/date/comparators.js +1 -1
- package/dist/date/formatter.d.ts +0 -1
- package/dist/date/parser.d.ts +0 -1
- package/dist/date/parser.js +1 -1
- package/dist/date/parts.d.ts +0 -1
- package/dist/date/types.d.ts +2 -3
- package/dist/date/use-date-field.d.ts +3 -1
- package/dist/date/use-date-field.js +1 -1
- package/dist/date/utils.d.ts +0 -1
- package/dist/index.d.ts +580 -471
- package/dist/index.js +1 -1
- package/dist/locale/hooks.d.ts +0 -1
- package/dist/locale/hooks.js +1 -1
- package/dist/locale/langs/ar.d.ts +0 -1
- package/dist/locale/langs/ar.js +1 -1
- package/dist/locale/langs/de.d.ts +0 -1
- package/dist/locale/langs/de.js +1 -1
- package/dist/locale/langs/en.d.ts +0 -1
- package/dist/locale/langs/en.js +1 -1
- package/dist/locale/langs/es.d.ts +0 -1
- package/dist/locale/langs/es.js +1 -1
- package/dist/locale/langs/fr.d.ts +0 -1
- package/dist/locale/langs/fr.js +1 -1
- package/dist/locale/langs/id.d.ts +0 -1
- package/dist/locale/langs/id.js +1 -1
- package/dist/locale/langs/ja.d.ts +0 -1
- package/dist/locale/langs/ja.js +1 -1
- package/dist/locale/langs/ko.d.ts +0 -1
- package/dist/locale/langs/ko.js +1 -1
- package/dist/locale/langs/pt-BR.d.ts +0 -1
- package/dist/locale/langs/pt-BR.js +1 -1
- package/dist/locale/langs/ru.d.ts +0 -1
- package/dist/locale/langs/ru.js +1 -1
- package/dist/locale/langs/tr.d.ts +0 -1
- package/dist/locale/langs/tr.js +1 -1
- package/dist/locale/langs/zh-CN.d.ts +0 -1
- package/dist/locale/langs/zh-CN.js +1 -1
- package/dist/locale/langs/zh-TW.d.ts +0 -1
- package/dist/locale/langs/zh-TW.js +1 -1
- package/dist/locale/locales.d.ts +2 -2
- package/dist/locale/locales.js +1 -1
- package/dist/locale/types.d.ts +152 -2
- package/dist/namespaced/index.d.ts +1012 -980
- package/dist/namespaced/index.js +1 -1
- package/dist/nuxt/index.d.ts +1 -0
- package/dist/shared/color.d.ts +1 -1
- package/dist/shared/color.js +1 -1
- package/dist/shared/comparison.d.ts +1 -0
- package/dist/shared/focus.d.ts +4 -6
- package/dist/shared/focus.js +1 -1
- package/dist/shared/form.d.ts +1 -0
- package/dist/shared/geometry.d.ts +1 -0
- package/dist/shared/time-picker.d.ts +1 -0
- package/dist/shared/time-picker.js +1 -1
- package/dist/shared/tree.d.ts +1 -0
- package/dist/shared/value.d.ts +1 -0
- package/dist/shared/vue.d.ts +2 -2
- package/dist/shared/vue.js +1 -1
- package/dist/types/color.d.ts +0 -1
- package/dist/types/component.d.ts +8 -4
- package/dist/types/event.d.ts +0 -1
- package/dist/types/path.d.ts +2 -3
- package/dist/types/vue.d.ts +5 -6
- package/package.json +21 -18
- package/dist/_virtual/_@oxc-project_runtime@0.135.0/helpers/esm/defineProperty.js +0 -1
- package/dist/_virtual/_@oxc-project_runtime@0.135.0/helpers/esm/toPrimitive.js +0 -1
- package/dist/_virtual/_@oxc-project_runtime@0.135.0/helpers/esm/toPropertyKey.js +0 -1
- package/dist/components/layout/layout-classic-compact.js +0 -1
- package/dist/components/layout/layout-classic-compact.vue.d.ts +0 -28
- package/dist/components/layout/layout-classic-placeholder.js +0 -1
- package/dist/components/layout/layout-classic-root.js +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { CheckedState, Direction, UiClass } from "../../types/common.js";
|
|
2
2
|
import { Path, PathValue } from "../../types/path.js";
|
|
3
3
|
import { BaseProps, PropsToContext } from "../../types/vue.js";
|
|
4
|
+
import "../../types/index.js";
|
|
4
5
|
import { VirtualizerOptions } from "../virtualizer/types.js";
|
|
5
6
|
import { ComputedRef, ShallowRef, TableHTMLAttributes, TdHTMLAttributes, ThHTMLAttributes } from "vue";
|
|
6
|
-
|
|
7
7
|
//#region src/components/table/types.d.ts
|
|
8
8
|
/**
|
|
9
9
|
* Properties for the TableRoot component.
|
|
@@ -519,7 +519,7 @@ interface TableCompactRowProps {
|
|
|
519
519
|
/**
|
|
520
520
|
* Slots for the TableCompactCell component.
|
|
521
521
|
*/
|
|
522
|
-
type TableCompactCellSlots<T extends TableBaseData> = { [K in Path<TableRowValue<T>>]?: (props: TableDataCellSlotProps<T, K>) => any } & {
|
|
522
|
+
type TableCompactCellSlots<T extends TableBaseData> = { [K in Path<TableRowValue<T>>]?: (props: TableDataCellSlotProps<T, K>) => any; } & {
|
|
523
523
|
/**
|
|
524
524
|
* Custom content for the index slot.
|
|
525
525
|
*/
|
|
@@ -1022,7 +1022,7 @@ type TableCompactEmits<T extends TableBaseData = TableBaseData, R extends TableU
|
|
|
1022
1022
|
/**
|
|
1023
1023
|
* Slots for the TableCompact component.
|
|
1024
1024
|
*/
|
|
1025
|
-
type TableCompactSlots<T extends TableBaseData> = { [K in `header-${Path<TableRowValue<T>>}`]?: (props: TableHeaderSlotProps<T>) => any } & { [K in Path<TableRowValue<T>>]?: (props: TableDataCellSlotProps<T, K>) => any } & {
|
|
1025
|
+
type TableCompactSlots<T extends TableBaseData> = { [K in `header-${Path<TableRowValue<T>>}`]?: (props: TableHeaderSlotProps<T>) => any; } & { [K in Path<TableRowValue<T>>]?: (props: TableDataCellSlotProps<T, K>) => any; } & {
|
|
1026
1026
|
/**
|
|
1027
1027
|
* Custom content for the bottom slot.
|
|
1028
1028
|
*/
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { UiClass } from "../../types/common.js";
|
|
2
|
+
import "../../types/index.js";
|
|
2
3
|
import { UseUiConsumer } from "../../composables/use-ui-context.js";
|
|
4
|
+
import "../../composables/index.js";
|
|
3
5
|
import { TabsUiSlot } from "./types.js";
|
|
6
|
+
import "../../index.js";
|
|
4
7
|
import { MaybeRefOrGetter } from "vue";
|
|
5
|
-
|
|
6
8
|
//#region src/components/tabs/context.d.ts
|
|
7
9
|
declare const provideTabsUi: (ui: import("vue").ComputedRef<Partial<UiClass<TabsUiSlot>>>) => import("vue").ComputedRef<Partial<UiClass<TabsUiSlot>>>, useTabsUi: UseUiConsumer<TabsUiSlot>;
|
|
8
10
|
//#endregion
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { TabsCompactEmits, TabsCompactProps, TabsCompactSlots, TabsContentProps, TabsIndicatorProps, TabsListProps, TabsOptionData, TabsRootEmits, TabsRootProps, TabsTriggerProps, TabsUi, TabsUiSlot } from "./types.js";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
2
|
+
import _default$4 from "./tabs-root.vue.js";
|
|
3
|
+
import _default$3 from "./tabs-list.vue.js";
|
|
4
|
+
import _default$5 from "./tabs-trigger.vue.js";
|
|
5
|
+
import _default$1 from "./tabs-content.vue.js";
|
|
6
|
+
import _default$2 from "./tabs-indicator.vue.js";
|
|
7
|
+
import _default from "./tabs-compact.vue.js";
|
|
8
8
|
import { provideTabsUi } from "./context.js";
|
|
9
9
|
export { _default as TabsCompact, type TabsCompactEmits, type TabsCompactProps, type TabsCompactSlots, _default$1 as TabsContent, type TabsContentProps, _default$2 as TabsIndicator, type TabsIndicatorProps, _default$3 as TabsList, type TabsListProps, type TabsOptionData, _default$4 as TabsRoot, type TabsRootEmits, type TabsRootProps, _default$5 as TabsTrigger, type TabsTriggerProps, type TabsUi, type TabsUiSlot, provideTabsUi };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TabsCompactProps, TabsCompactSlots, TabsOptionData } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/tabs/tabs-compact.vue.d.ts
|
|
4
3
|
declare const __VLS_export: <T extends TabsOptionData = TabsOptionData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
4
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<TabsCompactProps<T> & {
|
|
@@ -12,9 +11,9 @@ declare const __VLS_export: <T extends TabsOptionData = TabsOptionData>(__VLS_pr
|
|
|
12
11
|
slots: TabsCompactSlots<T>;
|
|
13
12
|
emit: (evt: "update:modelValue", payload: Exclude<T["value"], undefined>) => void;
|
|
14
13
|
}>) => import("vue").VNode & {
|
|
15
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
14
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
16
15
|
};
|
|
17
16
|
declare const _default: typeof __VLS_export;
|
|
18
|
-
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
17
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
19
18
|
//#endregion
|
|
20
|
-
export { _default };
|
|
19
|
+
export { _default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useForwardElement as e}from"../../composables/use-forward-element.js";import{usePresence as t}from"../../composables/use-presence.js";import"../../composables/index.js";import{useTabsRootContext as n,useTabsUi as r}from"./context.js";import{computed as i,createCommentVNode as a,createElementBlock as o,defineComponent as s,normalizeClass as c,normalizeStyle as l,onBeforeUnmount as u,onMounted as d,openBlock as f,renderSlot as p,shallowRef as m,unref as h}from"vue";const g=[`id`,`aria-labelledby`,`data-state`,`hidden`],_=s({name:`TabsContent`,__name:`tabs-content`,props:{value:{},forceMount:{type:Boolean}},setup(s){let _=s,{modelValue:v,unmountOnHide:y,getId:b,registerContentId:x,unregisterContentId:S}=n(`TabsContent`),[C,w]=e(),T=r(`content`),{contentId:E,triggerId:D}=b(_.value),O=i(()=>_.value===v.value),k=i(()=>O.value?`active`:`inactive`),A=_.forceMount?m(!0):t(C,O),j=m(O.value),M=i(()=>({animationDuration:j.value?`0s`:void 0}));return d(()=>{x(E.value),requestAnimationFrame(()=>{j.value=!1})}),u(()=>{S(E.value)}),(e,t)=>(f(),o(`div`,{id:h(E),ref:h(w),"data-soybean-tabs-content":``,class:c(h(T)),"aria-labelledby":h(D),"data-state":k.value,hidden:!h(A),role:`tabpanel`,tabindex:`0`,style:l(M.value)},[!h(y)||h(A)?p(e.$slots,`default`,{
|
|
1
|
+
import{useForwardElement as e}from"../../composables/use-forward-element.js";import{usePresence as t}from"../../composables/use-presence.js";import"../../composables/index.js";import{useTabsRootContext as n,useTabsUi as r}from"./context.js";import{computed as i,createCommentVNode as a,createElementBlock as o,defineComponent as s,normalizeClass as c,normalizeStyle as l,onBeforeUnmount as u,onMounted as d,openBlock as f,renderSlot as p,shallowRef as m,unref as h}from"vue";const g=[`id`,`aria-labelledby`,`data-state`,`hidden`],_=s({name:`TabsContent`,__name:`tabs-content`,props:{value:{},forceMount:{type:Boolean}},setup(s){let _=s,{modelValue:v,unmountOnHide:y,getId:b,registerContentId:x,unregisterContentId:S}=n(`TabsContent`),[C,w]=e(),T=r(`content`),{contentId:E,triggerId:D}=b(_.value),O=i(()=>_.value===v.value),k=i(()=>O.value?`active`:`inactive`),A=_.forceMount?m(!0):t(C,O),j=m(O.value),M=i(()=>({animationDuration:j.value?`0s`:void 0}));return d(()=>{x(E.value),requestAnimationFrame(()=>{j.value=!1})}),u(()=>{S(E.value)}),(e,t)=>(f(),o(`div`,{id:h(E),ref:h(w),"data-soybean-tabs-content":``,class:c(h(T)),"aria-labelledby":h(D),"data-state":k.value,hidden:!h(A),role:`tabpanel`,tabindex:`0`,style:l(M.value)},[!h(y)||h(A)?p(e.$slots,`default`,{active:O.value},void 0,void 0,0):a(`v-if`,!0)],14,g))}});export{_ as default};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TabsContentProps } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/tabs/tabs-content.vue.d.ts
|
|
4
3
|
declare var __VLS_1: {
|
|
5
4
|
active: boolean;
|
|
@@ -16,4 +15,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
16
15
|
};
|
|
17
16
|
};
|
|
18
17
|
//#endregion
|
|
19
|
-
export { _default };
|
|
18
|
+
export { _default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Primitive as e}from"../primitive/primitive.js";import"../primitive/index.js";import{useTabsRootContext as t,useTabsUi as n}from"./context.js";import{tabsCssVars as r}from"./shared.js";import{computed as i,createBlock as a,createCommentVNode as o,defineComponent as s,normalizeClass as c,normalizeStyle as l,openBlock as u,ref as d,renderSlot as f,unref as p,watch as m,watchPostEffect as h,withCtx as g}from"vue";import{useResizeObserver as
|
|
1
|
+
import{Primitive as e}from"../primitive/primitive.js";import"../primitive/index.js";import{useTabsRootContext as t,useTabsUi as n}from"./context.js";import{tabsCssVars as r}from"./shared.js";import{computed as i,createBlock as a,createCommentVNode as o,defineComponent as s,normalizeClass as c,normalizeStyle as l,openBlock as u,ref as d,renderSlot as f,unref as p,watch as m,watchPostEffect as h,withCtx as g}from"vue";import{useMounted as _,useResizeObserver as v}from"@vueuse/core";const y=s({name:`TabsIndicator`,__name:`tabs-indicator`,props:{asChild:{type:Boolean},as:{}},setup(s){let{listElement:y,modelValue:b,dir:x,orientation:S}=t(`TabsIndicator`),C=n(`indicator`),w=_(),T=d({size:null,position:null}),E=i(()=>({[r.indicatorSize]:`${T.value.size}px`,[r.indicatorPosition]:`${T.value.position}px`})),D=d([]);function O(e){let t=y.value;return!t||x.value!==`rtl`?e.offsetLeft:t.clientWidth-e.offsetLeft-e.offsetWidth}function k(){let e=y.value?.querySelector(`[role="tab"][data-state="active"]`);e&&(S.value===`horizontal`?T.value={size:e.offsetWidth,position:O(e)}:T.value={size:e.offsetHeight,position:e.offsetTop})}return v(i(()=>[y.value,...D.value]),k),h(()=>{D.value=Array.from(y.value?.querySelectorAll(`[role="tab"]`)??[])}),m(()=>[b.value,x.value,y.value],()=>{k()},{immediate:!0,flush:`post`}),(t,n)=>p(w)&&typeof T.value.size==`number`?(u(),a(p(e),{key:0,"data-soybean-tabs-indicator":``,as:s.as,"as-child":s.asChild,class:c(p(C)),style:l(E.value)},{default:g(()=>[f(t.$slots,`default`)]),_:3},8,[`as`,`as-child`,`class`,`style`])):o(`v-if`,!0)}});export{y as default};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TabsIndicatorProps } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/tabs/tabs-indicator.vue.d.ts
|
|
4
3
|
declare var __VLS_8: {};
|
|
5
4
|
type __VLS_Slots = {} & {
|
|
@@ -14,4 +13,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
14
13
|
};
|
|
15
14
|
};
|
|
16
15
|
//#endregion
|
|
17
|
-
export { _default };
|
|
16
|
+
export { _default as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TabsListProps } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/tabs/tabs-list.vue.d.ts
|
|
4
3
|
declare var __VLS_8: {};
|
|
5
4
|
type __VLS_Slots = {} & {
|
|
@@ -14,4 +13,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
14
13
|
};
|
|
15
14
|
};
|
|
16
15
|
//#endregion
|
|
17
|
-
export { _default };
|
|
16
|
+
export { _default as default };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DataOrientation, DefinedValue } from "../../types/common.js";
|
|
2
2
|
import { TabsActivationMode, TabsRootProps } from "./types.js";
|
|
3
|
+
import "../../index.js";
|
|
3
4
|
//#region src/components/tabs/tabs-root.vue.d.ts
|
|
4
5
|
type __VLS_Props = TabsRootProps;
|
|
5
6
|
declare var __VLS_1: {
|
|
@@ -14,8 +15,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
14
15
|
"onUpdate:modelValue"?: ((payload: DefinedValue | null) => any) | undefined;
|
|
15
16
|
}>, {
|
|
16
17
|
orientation: DataOrientation;
|
|
17
|
-
loop: boolean;
|
|
18
18
|
modelValue: DefinedValue | null;
|
|
19
|
+
loop: boolean;
|
|
19
20
|
activationMode: TabsActivationMode;
|
|
20
21
|
unmountOnHide: boolean;
|
|
21
22
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -27,4 +28,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
27
28
|
};
|
|
28
29
|
};
|
|
29
30
|
//#endregion
|
|
30
|
-
export { _default };
|
|
31
|
+
export { _default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Primitive as e}from"../primitive/primitive.js";import"../primitive/index.js";import t from"../roving-focus/roving-focus-item.js";import"../roving-focus/index.js";import{useTabsRootContext as n,useTabsUi as r}from"./context.js";import{computed as i,createBlock as a,createVNode as o,defineComponent as s,normalizeClass as c,openBlock as l,renderSlot as u,unref as d,withCtx as f,withKeys as p,withModifiers as m}from"vue";const h=s({name:`TabsTrigger`,__name:`tabs-trigger`,props:{value:{},disabled:{type:Boolean,default:!1},asChild:{type:Boolean},as:{default:`button`}},setup(s){let h=s,{modelValue:g,orientation:_,changeModelValue:v,activationMode:y,getId:b}=n(`TabsTrigger`),x=r(`trigger`),{contentId:S,triggerId:C,existContentId:w}=b(h.value),T=i(()=>h.value===g.value),E=i(()=>T.value?`active`:`inactive`),D=i(()=>h.as===`button`?`button`:void 0),O=i(()=>w.value?S.value:void 0),k=e=>{!h.disabled&&e.ctrlKey===!1?v(h.value):e.preventDefault()},A=()=>{v(h.value)},j=()=>{T.value||h.disabled||y.value!==`manual`&&v(h.value)};return(n,r)=>(l(),a(d(t),{"as-child":``,focusable:!s.disabled,active:T.value},{default:f(()=>[o(d(e),{id:d(C),as:s.as,"as-child":s.asChild,"data-soybean-tabs-trigger":``,class:c(d(x)),"aria-controls":O.value,"aria-selected":T.value?`true`:`false`,"data-disabled":s.disabled?``:void 0,"data-orientation":d(_),"data-state":E.value,role:`tab`,type:D.value,onMousedown:m(k,[`left`]),onKeydown:p(A,[`enter`,`space`]),onFocus:j},{default:f(()=>[u(n.$slots,`default`,{active:T.value})]),_:3},8,[`id`,`as`,`as-child`,`class`,`aria-controls`,`aria-selected`,`data-disabled`,`data-orientation`,`data-state`,`type`])]),_:3},8,[`focusable`,`active`]))}});export{h as default};
|
|
1
|
+
import{Primitive as e}from"../primitive/primitive.js";import"../primitive/index.js";import t from"../roving-focus/roving-focus-item.js";import"../roving-focus/index.js";import{useTabsRootContext as n,useTabsUi as r}from"./context.js";import{computed as i,createBlock as a,createVNode as o,defineComponent as s,normalizeClass as c,openBlock as l,renderSlot as u,unref as d,withCtx as f,withKeys as p,withModifiers as m}from"vue";const h=s({name:`TabsTrigger`,__name:`tabs-trigger`,props:{value:{},disabled:{type:Boolean,default:!1},asChild:{type:Boolean},as:{default:`button`}},setup(s){let h=s,{modelValue:g,orientation:_,changeModelValue:v,activationMode:y,getId:b}=n(`TabsTrigger`),x=r(`trigger`),{contentId:S,triggerId:C,existContentId:w}=b(h.value),T=i(()=>h.value===g.value),E=i(()=>T.value?`active`:`inactive`),D=i(()=>h.as===`button`?`button`:void 0),O=i(()=>w.value?S.value:void 0),k=e=>{!h.disabled&&e.ctrlKey===!1?v(h.value):e.preventDefault()},A=()=>{h.disabled||v(h.value)},j=()=>{T.value||h.disabled||y.value!==`manual`&&v(h.value)};return(n,r)=>(l(),a(d(t),{"as-child":``,focusable:!s.disabled,active:T.value},{default:f(()=>[o(d(e),{id:d(C),as:s.as,"as-child":s.asChild,"data-soybean-tabs-trigger":``,class:c(d(x)),"aria-controls":O.value,"aria-selected":T.value?`true`:`false`,"data-disabled":s.disabled?``:void 0,"data-orientation":d(_),"data-state":E.value,role:`tab`,type:D.value,onMousedown:m(k,[`left`]),onKeydown:p(A,[`enter`,`space`]),onFocus:j},{default:f(()=>[u(n.$slots,`default`,{active:T.value})]),_:3},8,[`id`,`as`,`as-child`,`class`,`aria-controls`,`aria-selected`,`data-disabled`,`data-orientation`,`data-state`,`type`])]),_:3},8,[`focusable`,`active`]))}});export{h as default};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
|
+
import "../primitive/index.js";
|
|
2
3
|
import { TabsTriggerProps } from "./types.js";
|
|
3
|
-
|
|
4
4
|
//#region src/components/tabs/tabs-trigger.vue.d.ts
|
|
5
5
|
declare var __VLS_18: {
|
|
6
6
|
active: boolean;
|
|
@@ -20,4 +20,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
//#endregion
|
|
23
|
-
export { _default };
|
|
23
|
+
export { _default as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { AcceptableValue, DefinedValue, UiClass } from "../../types/common.js";
|
|
2
2
|
import { ForceMountProps } from "../../types/component.js";
|
|
3
3
|
import { BaseProps } from "../../types/vue.js";
|
|
4
|
+
import "../../types/index.js";
|
|
4
5
|
import { PrimitiveWithBaseProps } from "../primitive/types.js";
|
|
5
6
|
import { RovingFocusGroupProps } from "../roving-focus/types.js";
|
|
6
7
|
import { ShallowRef } from "vue";
|
|
7
|
-
|
|
8
8
|
//#region src/components/tabs/types.d.ts
|
|
9
9
|
/**
|
|
10
10
|
* Type information for TabsActivationMode.
|
|
@@ -38,7 +38,8 @@ interface TabsRootProps<T extends AcceptableValue = AcceptableValue> extends Omi
|
|
|
38
38
|
* Events for the TabsRoot component.
|
|
39
39
|
*/
|
|
40
40
|
type TabsRootEmits<T = AcceptableValue> = {
|
|
41
|
-
/** Event handler called when the value changes */
|
|
41
|
+
/** Event handler called when the value changes */
|
|
42
|
+
'update:modelValue': [payload: Exclude<T, undefined>];
|
|
42
43
|
};
|
|
43
44
|
/**
|
|
44
45
|
* Properties for the TabsList component.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useControllableState as e}from"../../composables/use-controllable-state.js";import"../../composables/index.js";import{createCommentVNode as t,createElementBlock as n,defineComponent as r,openBlock as i,renderSlot as a,unref as o}from"vue";const s=
|
|
1
|
+
import{useControllableState as e}from"../../composables/use-controllable-state.js";import"../../composables/index.js";import{createCommentVNode as t,createElementBlock as n,defineComponent as r,openBlock as i,renderSlot as a,unref as o}from"vue";const s={key:0,"data-soybean-tag":``},c=r({name:`STag`,__name:`tag`,props:{open:{type:Boolean,default:void 0}},emits:[`update:open`],setup(r,{emit:c}){let l=r,u=c,d=e(()=>l.open,e=>{u(`update:open`,e)},!0),f=()=>{d.value=!1};return(e,r)=>o(d)?(i(),n(`div`,s,[a(e.$slots,`default`,{open:o(d),close:f})])):t(`v-if`,!0)}});export{c as default};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TagProps } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/tag/tag.vue.d.ts
|
|
4
3
|
declare var __VLS_1: {
|
|
5
4
|
open: true;
|
|
@@ -23,4 +22,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
23
22
|
};
|
|
24
23
|
};
|
|
25
24
|
//#endregion
|
|
26
|
-
export { _default };
|
|
25
|
+
export { _default as default };
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { UiClass } from "../../types/common.js";
|
|
2
2
|
import { UseUiConsumer } from "../../composables/use-ui-context.js";
|
|
3
|
+
import "../../composables/index.js";
|
|
3
4
|
import { TagsInputUiSlot } from "./types.js";
|
|
5
|
+
import "../../index.js";
|
|
4
6
|
//#region src/components/tags-input/context.d.ts
|
|
5
7
|
declare const provideTagsInputUi: (ui: import("vue").ComputedRef<Partial<UiClass<TagsInputUiSlot>>>) => import("vue").ComputedRef<Partial<UiClass<TagsInputUiSlot>>>, useTagsInputUi: UseUiConsumer<TagsInputUiSlot>;
|
|
6
8
|
//#endregion
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { TagsInputClearProps, TagsInputCompactEmits, TagsInputCompactProps, TagsInputCompactSlotProps, TagsInputCompactSlots, TagsInputControlProps, TagsInputItemDeleteProps, TagsInputItemProps, TagsInputItemTextProps, TagsInputRootEmits, TagsInputRootProps, TagsInputUi, TagsInputUiSlot } from "./types.js";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
2
|
+
import _default$1 from "./tags-input-compact.vue.js";
|
|
3
|
+
import _default$6 from "./tags-input-root.vue.js";
|
|
4
|
+
import _default$3 from "./tags-input-item.vue.js";
|
|
5
|
+
import _default$5 from "./tags-input-item-text.vue.js";
|
|
6
|
+
import _default$4 from "./tags-input-item-delete.vue.js";
|
|
7
|
+
import _default$2 from "./tags-input-control.vue.js";
|
|
8
|
+
import _default from "./tags-input-clear.vue.js";
|
|
9
9
|
import { provideTagsInputUi } from "./context.js";
|
|
10
10
|
export { _default as TagsInputClear, type TagsInputClearProps, _default$1 as TagsInputCompact, type TagsInputCompactEmits, type TagsInputCompactProps, type TagsInputCompactSlotProps, type TagsInputCompactSlots, _default$2 as TagsInputControl, type TagsInputControlProps, _default$3 as TagsInputItem, _default$4 as TagsInputItemDelete, type TagsInputItemDeleteProps, type TagsInputItemProps, _default$5 as TagsInputItemText, type TagsInputItemTextProps, _default$6 as TagsInputRoot, type TagsInputRootEmits, type TagsInputRootProps, type TagsInputUi, type TagsInputUiSlot, provideTagsInputUi };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TagsInputClearProps } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/tags-input/tags-input-clear.vue.d.ts
|
|
4
3
|
declare var __VLS_10: {};
|
|
5
4
|
type __VLS_Slots = {} & {
|
|
@@ -14,4 +13,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
14
13
|
};
|
|
15
14
|
};
|
|
16
15
|
//#endregion
|
|
17
|
-
export { _default };
|
|
16
|
+
export { _default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useForwardListeners as e}from"../../composables/use-forward-listeners.js";import{useOmitProps as t}from"../../composables/use-props.js";import"../../composables/index.js";import n from"./tags-input-clear.js";import r from"./tags-input-control.js";import i from"./tags-input-item-delete.js";import a from"./tags-input-item-text.js";import o from"./tags-input-item.js";import s from"./tags-input-root.js";import{Fragment as c,createBlock as l,
|
|
1
|
+
import{useForwardListeners as e}from"../../composables/use-forward-listeners.js";import{useOmitProps as t}from"../../composables/use-props.js";import"../../composables/index.js";import n from"./tags-input-clear.js";import r from"./tags-input-control.js";import i from"./tags-input-item-delete.js";import a from"./tags-input-item-text.js";import o from"./tags-input-item.js";import s from"./tags-input-root.js";import{Fragment as c,createBlock as l,createCommentVNode as u,createElementBlock as d,createVNode as f,defineComponent as p,guardReactiveProps as m,mergeProps as h,normalizeProps as g,openBlock as _,renderList as v,renderSlot as y,toHandlers as b,unref as x,withCtx as S}from"vue";const C=p({name:`TagsInputCompact`,__name:`tags-input-compact`,props:{clearable:{type:Boolean,default:!0},controlProps:{},clearProps:{},itemProps:{},itemTextProps:{},itemDeleteProps:{},dir:{},modelValue:{},defaultValue:{},addOnPaste:{type:Boolean},addOnTab:{type:Boolean},addOnBlur:{type:Boolean},duplicate:{type:Boolean},delimiter:{},max:{},displayValue:{},id:{},autofocus:{type:Boolean},autocomplete:{},disabled:{type:Boolean},maxlength:{},minlength:{},pattern:{},placeholder:{},readonly:{type:Boolean},type:{},name:{},required:{type:Boolean}},emits:[`update:modelValue`,`invalid`,`addTag`,`removeTag`],setup(p,{emit:C}){let w=p,T=C,E=t(w,[`clearable`,`controlProps`,`clearProps`,`itemProps`,`itemTextProps`,`itemDeleteProps`]),D=e(T);return(e,t)=>(_(),l(s,h(x(E),b(x(D))),{default:S(({modelValue:t,clear:s})=>[(_(!0),d(c,null,v(t,(t,n)=>(_(),l(o,h({key:`${n}-${t}`,ref_for:!0},p.itemProps,{value:t}),{default:S(({onDelete:r,displayedValue:o})=>[y(e.$slots,`item`,{value:t,index:n,displayedValue:o,onDelete:r,onClear:s},()=>[f(a,h({ref_for:!0},p.itemTextProps),null,16),f(i,h({ref_for:!0},p.itemDeleteProps),null,16)])]),_:2},1040,[`value`]))),128)),f(r,g(m(p.controlProps)),null,16),p.clearable?(_(),l(n,g(h({key:0},p.clearProps)),null,16)):u(`v-if`,!0)]),_:3},16))}});export{C as default};
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { TagsInputCompactProps, TagsInputCompactSlots } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/tags-input/tags-input-compact.vue.d.ts
|
|
4
3
|
type __VLS_Slots = TagsInputCompactSlots;
|
|
5
4
|
declare const __VLS_base: import("vue").DefineComponent<TagsInputCompactProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
invalid: (value: string) => any;
|
|
7
5
|
"update:modelValue": (value: string[]) => any;
|
|
6
|
+
invalid: (value: string) => any;
|
|
8
7
|
addTag: (value: string) => any;
|
|
9
8
|
removeTag: (value: string) => any;
|
|
10
9
|
}, string, import("vue").PublicProps, Readonly<TagsInputCompactProps> & Readonly<{
|
|
11
|
-
onInvalid?: ((value: string) => any) | undefined;
|
|
12
10
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
11
|
+
onInvalid?: ((value: string) => any) | undefined;
|
|
13
12
|
onAddTag?: ((value: string) => any) | undefined;
|
|
14
13
|
onRemoveTag?: ((value: string) => any) | undefined;
|
|
15
|
-
}>, {
|
|
14
|
+
}>, {
|
|
15
|
+
clearable: boolean;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
17
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
18
|
declare const _default: typeof __VLS_export;
|
|
18
19
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -21,4 +22,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
21
22
|
};
|
|
22
23
|
};
|
|
23
24
|
//#endregion
|
|
24
|
-
export { _default };
|
|
25
|
+
export { _default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useLocaleMessages as e}from"../../locale/hooks.js";import"../../locale/index.js";import{useTagsInputRootContext as t,useTagsInputUi as n}from"./context.js";import{computed as r,createElementBlock as i,defineComponent as a,nextTick as o,normalizeClass as s,openBlock as c,ref as l,unref as u,useAttrs as d,withKeys as f}from"vue";const p=[`id`,`autofocus`,`placeholder`,`maxlength`,`minlength`,`aria-label`,`disabled`,`pattern`,`readonly`,`data-invalid`],m=a({name:`TagsInputControl`,__name:`tags-input-control`,setup(a){let m=d(),h=n(`control`),{id:g,autofocus:_,disabled:v,maxlength:y,minlength:b,pattern:x,placeholder:S,readonly:C,addOnPaste:w,addOnTab:T,addOnBlur:E,delimiter:D,isInvalidInput:O,onAddValue:k,onInputKeydown:A,selectedElement:j}=t(`TagsInputControl`),M=e(),N=r(()=>m[`aria-label`]??M.value.tagsInput.addTag),P=r(()=>!!m.disabled||v.value),
|
|
1
|
+
import{useLocaleMessages as e}from"../../locale/hooks.js";import"../../locale/index.js";import{useTagsInputRootContext as t,useTagsInputUi as n}from"./context.js";import{computed as r,createElementBlock as i,defineComponent as a,nextTick as o,normalizeClass as s,openBlock as c,ref as l,unref as u,useAttrs as d,withKeys as f}from"vue";const p=[`id`,`autofocus`,`placeholder`,`maxlength`,`minlength`,`aria-label`,`aria-controls`,`disabled`,`pattern`,`readonly`,`data-invalid`],m=a({name:`TagsInputControl`,__name:`tags-input-control`,setup(a){let m=d(),h=n(`control`),{id:g,autofocus:_,disabled:v,maxlength:y,minlength:b,pattern:x,placeholder:S,readonly:C,addOnPaste:w,addOnTab:T,addOnBlur:E,delimiter:D,isInvalidInput:O,onAddValue:k,onInputKeydown:A,selectedElement:j}=t(`TagsInputControl`),M=e(),N=r(()=>m[`aria-label`]??M.value.tagsInput.addTag),P=r(()=>g.value?`${g.value}-tags-list`:void 0),F=r(()=>!!m.disabled||v.value),I=l(!1),L=e=>{if(j.value=void 0,!E.value)return;let t=e.target,n=e.relatedTarget,r=t.getAttribute(`aria-controls`);if(r&&n?.closest(`#${r}`)||!t.value)return;let i=t.value.trim();if(!i){t.value=``;return}k(i)&&(t.value=``)},R=e=>{if(O.value=!1,e.data===null)return;let t=D.value??`,`;if(!(typeof t==`string`?t===e.data:new RegExp(t).test(e.data)))return;let n=e.target;n.value=n.value.replace(t,``);let r=n.value.trim();if(!r){n.value=``;return}k(r)&&(n.value=``)},z=e=>{if(!w.value)return;e.preventDefault();let t=e.clipboardData;if(!t)return;let n=t.getData(`text`),r=D.value??`,`;(typeof r==`string`?n.split(r):n.split(new RegExp(r))).forEach(e=>{let t=e.trim();t&&k(t)})},B=async e=>{if(I.value||e.defaultPrevented)return;await o();let t=e.target;if(!t.value)return;let n=t.value.trim();if(!n){t.value=``,e.preventDefault();return}k(n)&&(t.value=``),e.preventDefault()},V=e=>{T.value&&B(e)},H=()=>{I.value=!0},U=()=>{o(()=>{I.value=!1})};return(e,t)=>(c(),i(`input`,{id:u(g),class:s(u(h)),"data-soybean-tags-input-input":``,type:`text`,autocomplete:`off`,autocorrect:`off`,autocapitalize:`off`,autofocus:u(_),placeholder:u(S),maxlength:u(y),minlength:u(b),"aria-label":N.value,"aria-controls":P.value,disabled:F.value,pattern:u(x),readonly:u(C),"data-invalid":u(O)?``:void 0,onInput:R,onKeydown:[f(B,[`enter`]),f(V,[`tab`]),t[0]||(t[0]=(...e)=>u(A)&&u(A)(...e))],onBlur:L,onPaste:z,onCompositionstart:H,onCompositionend:U},null,42,p))}});export{m as default};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { TagsInputControlProps } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/tags-input/tags-input-control.vue.d.ts
|
|
4
3
|
declare const __VLS_export: import("vue").DefineComponent<TagsInputControlProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TagsInputControlProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
4
|
declare const _default: typeof __VLS_export;
|
|
6
5
|
//#endregion
|
|
7
|
-
export { _default };
|
|
6
|
+
export { _default as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TagsInputItemDeleteProps } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/tags-input/tags-input-item-delete.vue.d.ts
|
|
4
3
|
declare var __VLS_10: {};
|
|
5
4
|
type __VLS_Slots = {} & {
|
|
@@ -14,4 +13,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
14
13
|
};
|
|
15
14
|
};
|
|
16
15
|
//#endregion
|
|
17
|
-
export { _default };
|
|
16
|
+
export { _default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useTagsInputItemContext as
|
|
1
|
+
import{useOmitProps as e}from"../../composables/use-props.js";import"../../composables/index.js";import{useTagsInputItemContext as t,useTagsInputUi as n}from"./context.js";import{createElementBlock as r,createTextVNode as i,defineComponent as a,mergeProps as o,openBlock as s,renderSlot as c,toDisplayString as l,unref as u,useId as d}from"vue";const f=[`id`],p=a({name:`TagsInputItemText`,__name:`tags-input-item-text`,props:{asChild:{type:Boolean},as:{}},setup(a){let p=a,m=n(`itemText`),h=e(p,[`as`,`asChild`]),{displayedValue:g,textId:_}=t(`TagsInputItemText`),v=`soybean-tags-input-item-text-${d()}`;return _.value||(_.value=v),(e,t)=>(s(),r(`span`,o(u(h),{id:u(_),"data-soybean-tags-input-item-text":``,class:u(m)}),[c(e.$slots,`default`,{},()=>[i(l(u(g)),1)])],16,f))}});export{p as default};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TagsInputItemTextProps } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/tags-input/tags-input-item-text.vue.d.ts
|
|
4
3
|
declare var __VLS_1: {};
|
|
5
4
|
type __VLS_Slots = {} & {
|
|
@@ -14,4 +13,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
14
13
|
};
|
|
15
14
|
};
|
|
16
15
|
//#endregion
|
|
17
|
-
export { _default };
|
|
16
|
+
export { _default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useOmitProps as e}from"../../composables/use-props.js";import"../../composables/index.js";import{Primitive as t}from"../primitive/primitive.js";import"../primitive/index.js";import{provideTagsInputItemContext as n,useCollectionItem as r,useTagsInputRootContext as i,useTagsInputUi as a}from"./context.js";import{computed as o,createBlock as s,defineComponent as c,mergeProps as l,openBlock as u,renderSlot as d,shallowRef as f,unref as p,withCtx as m}from"vue";const h=c({name:`TagsInputItem`,__name:`tags-input-item`,props:{value:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(c){let h=c,g=a(`item`),{selectedElement:_,disabled:v,getItems:y,onRemoveValue:b,displayValue:x}=i(`TagsInputItem`),{itemElement:S,setItemElement:C}=r(()=>({value:h.value})),w=e(h,[`value`,`disabled`]),T=o(()=>_.value===S.value),E=o(()=>v.value||h.disabled),D=f(``),O=o(()=>x(h.value)),k=()=>{
|
|
1
|
+
import{useOmitProps as e}from"../../composables/use-props.js";import"../../composables/index.js";import{Primitive as t}from"../primitive/primitive.js";import"../primitive/index.js";import{provideTagsInputItemContext as n,useCollectionItem as r,useTagsInputRootContext as i,useTagsInputUi as a}from"./context.js";import{computed as o,createBlock as s,defineComponent as c,mergeProps as l,openBlock as u,renderSlot as d,shallowRef as f,unref as p,withCtx as m}from"vue";const h=c({name:`TagsInputItem`,__name:`tags-input-item`,props:{value:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(c){let h=c,g=a(`item`),{selectedElement:_,disabled:v,getItems:y,onRemoveValue:b,displayValue:x}=i(`TagsInputItem`),{itemElement:S,setItemElement:C}=r(()=>({value:h.value})),w=e(h,[`value`,`disabled`]),T=o(()=>_.value===S.value),E=o(()=>v.value||h.disabled),D=f(``),O=o(()=>x(h.value)),k=()=>{let e=y().findIndex(e=>e.element===S.value);b(e)};return n({value:o(()=>h.value),displayedValue:O,isSelected:T,disabled:E,itemElement:S,textId:D,onDelete:k}),(e,n)=>(u(),s(p(t),l(p(w),{ref:p(C),"data-soybean-tags-input-item":``,"data-soybean-collection-item":``,class:p(g),"aria-labelledby":D.value||void 0,"aria-current":T.value?`true`:void 0,"data-disabled":E.value?``:void 0,"data-state":T.value?`active`:`inactive`}),{default:m(()=>[d(e.$slots,`default`,{onDelete:k,displayedValue:O.value})]),_:3},16,[`class`,`aria-labelledby`,`aria-current`,`data-disabled`,`data-state`]))}});export{h as default};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TagsInputItemProps } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/tags-input/tags-input-item.vue.d.ts
|
|
4
3
|
declare var __VLS_8: {
|
|
5
4
|
onDelete: () => void;
|
|
@@ -17,4 +16,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
17
16
|
};
|
|
18
17
|
};
|
|
19
18
|
//#endregion
|
|
20
|
-
export { _default };
|
|
19
|
+
export { _default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useArrowNavigation as e}from"../../composables/use-arrow-navigation.js";import{removeAt as t}from"../../shared/object.js";import{isFormControl as n,transformPropsToContext as r}from"../../shared/vue.js";import{useDirection as i}from"../config-provider/context.js";import"../../shared/index.js";import{useControllableState as a}from"../../composables/use-controllable-state.js";import{useForwardElement as o}from"../../composables/use-forward-element.js";import"../../composables/index.js";import s from"../visually-hidden/visually-hidden-input.js";import"../visually-hidden/index.js";import{provideCollectionContext as c,provideTagsInputRootContext as l,useTagsInputUi as u}from"./context.js";import{computed as d,createBlock as f,createCommentVNode as p,createElementBlock as m,defineComponent as h,normalizeClass as g,openBlock as _,renderSlot as v,shallowRef as y,unref as b}from"vue";const x=[`dir`,`data-disabled`,`data-invalid`,`data-has-value`],S=h({name:`TagsInputRoot`,__name:`tags-input-root`,props:{dir:{},modelValue:{default:void 0},defaultValue:{default:()=>[]},addOnPaste:{type:Boolean},addOnTab:{type:Boolean},addOnBlur:{type:Boolean},duplicate:{type:Boolean},delimiter:{default:`,`},max:{default:0},displayValue:{},id:{},autofocus:{type:Boolean},autocomplete:{},disabled:{type:Boolean},maxlength:{},minlength:{},pattern:{},placeholder:{},readonly:{type:Boolean},type:{},name:{},required:{type:Boolean}},emits:[`update:modelValue`,`invalid`,`addTag`,`removeTag`],setup(h,{emit:S}){let C=h,w=S,T=u(`root`),{getOrderedItems:E,getOrderedElements:D,onContainerElementChange:O}=c(),[k,A]=o(O),j=i(()=>C.dir),M=a(()=>C.modelValue,e=>{w(`update:modelValue`,e)},C.defaultValue??[]),N=y(),P=y(!1),F=d(()=>M.value.length>0),I=d(()=>n(k.value)),
|
|
1
|
+
import{useArrowNavigation as e}from"../../composables/use-arrow-navigation.js";import{removeAt as t}from"../../shared/object.js";import{isFormControl as n,transformPropsToContext as r}from"../../shared/vue.js";import{useDirection as i}from"../config-provider/context.js";import"../../shared/index.js";import{useControllableState as a}from"../../composables/use-controllable-state.js";import{useForwardElement as o}from"../../composables/use-forward-element.js";import"../../composables/index.js";import s from"../visually-hidden/visually-hidden-input.js";import"../visually-hidden/index.js";import{provideCollectionContext as c,provideTagsInputRootContext as l,useTagsInputUi as u}from"./context.js";import{computed as d,createBlock as f,createCommentVNode as p,createElementBlock as m,defineComponent as h,normalizeClass as g,openBlock as _,renderSlot as v,shallowRef as y,unref as b}from"vue";const x=[`id`,`dir`,`data-disabled`,`data-invalid`,`data-has-value`],S=h({name:`TagsInputRoot`,__name:`tags-input-root`,props:{dir:{},modelValue:{default:void 0},defaultValue:{default:()=>[]},addOnPaste:{type:Boolean},addOnTab:{type:Boolean},addOnBlur:{type:Boolean},duplicate:{type:Boolean},delimiter:{default:`,`},max:{default:0},displayValue:{},id:{},autofocus:{type:Boolean},autocomplete:{},disabled:{type:Boolean},maxlength:{},minlength:{},pattern:{},placeholder:{},readonly:{type:Boolean},type:{},name:{},required:{type:Boolean}},emits:[`update:modelValue`,`invalid`,`addTag`,`removeTag`],setup(h,{emit:S}){let C=h,w=S,T=u(`root`),{getOrderedItems:E,getOrderedElements:D,onContainerElementChange:O}=c(),[k,A]=o(O),j=i(()=>C.dir),M=a(()=>C.modelValue,e=>{w(`update:modelValue`,e)},C.defaultValue??[]),N=y(),P=y(!1),F=d(()=>M.value.length>0),I=d(()=>C.id?`${C.id}-tags-list`:void 0),L=d(()=>n(k.value)),R=()=>E(),z=()=>D(),B=()=>{C.disabled||(M.value=[],N.value=void 0,P.value=!1)},V=e=>{if(C.disabled||e<0)return;let n=R()[e];n&&(M.value=t(M.value,e),w(`removeTag`,n.data.value))},H=e=>{if(C.disabled)return!1;let t=e.trim();if(!t)return!1;let n=M.value;if(C.max>0&&n.length>=C.max)return P.value=!0,w(`invalid`,t),!1;let r=n.some(e=>e===t);return!C.duplicate&&r?(P.value=!0,w(`invalid`,t),!1):(P.value=!1,M.value=[...n,t],w(`addTag`,t),!0)},U=t=>{if(C.disabled)return;let n=t.target;if(!n)return;let r=z();if(!r.length){N.value=void 0;return}let i=r.at(-1),a=n.selectionStart===0&&n.selectionEnd===0,o=t.key===`ArrowRight`&&j.value===`ltr`||t.key===`ArrowLeft`&&j.value===`rtl`,s=t.key===`ArrowLeft`&&j.value===`ltr`||t.key===`ArrowRight`&&j.value===`rtl`;switch(t.key){case`Delete`:case`Backspace`:if(!a){N.value=void 0;break}if(N.value){let e=R().findIndex(e=>e.element===N.value),n=N.value===i?r.at(r.indexOf(N.value)-1):r.at(r.indexOf(N.value)+1);V(e),N.value=n,t.preventDefault()}else t.key===`Backspace`&&(N.value=i,t.preventDefault());break;case`Home`:case`End`:case`ArrowLeft`:case`ArrowRight`:if(!a){N.value=void 0;break}if(s&&!N.value)N.value=i,t.preventDefault();else if(o&&N.value===i)N.value=void 0,t.preventDefault();else if(N.value){let n=e(t,N.value,void 0,{itemsArray:r,loop:!1,dir:j.value});n&&(N.value=n)}break;case`ArrowUp`:case`ArrowDown`:N.value&&t.preventDefault();break;default:N.value=void 0}};return l({...r(C,[`id`,`autofocus`,`disabled`,`maxlength`,`minlength`,`pattern`,`placeholder`,`readonly`,`addOnPaste`,`addOnTab`,`addOnBlur`,`delimiter`,`max`]),modelValue:M,selectedElement:N,isInvalidInput:P,dir:j,onAddValue:H,onRemoveValue:V,onInputKeydown:U,onClear:B,getItems:R,displayValue:C.displayValue??(e=>e)}),(e,t)=>(_(),m(`div`,{id:I.value,ref:b(A),"data-soybean-tags-input-root":``,class:g(b(T)),role:`group`,dir:b(j),"data-disabled":h.disabled?``:void 0,"data-invalid":P.value?``:void 0,"data-has-value":F.value?``:void 0},[v(e.$slots,`default`,{modelValue:b(M),clear:B}),L.value&&h.name?(_(),f(b(s),{key:0,name:h.name,value:b(M),required:h.required,disabled:h.disabled},null,8,[`name`,`value`,`required`,`disabled`])):p(`v-if`,!0)],10,x))}});export{S as default};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TagsInputRootProps } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/tags-input/tags-input-root.vue.d.ts
|
|
4
3
|
declare var __VLS_1: {
|
|
5
4
|
modelValue: string[];
|
|
@@ -9,19 +8,19 @@ type __VLS_Slots = {} & {
|
|
|
9
8
|
default?: (props: typeof __VLS_1) => any;
|
|
10
9
|
};
|
|
11
10
|
declare const __VLS_base: import("vue").DefineComponent<TagsInputRootProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
-
invalid: (value: string) => any;
|
|
13
11
|
"update:modelValue": (value: string[]) => any;
|
|
12
|
+
invalid: (value: string) => any;
|
|
14
13
|
addTag: (value: string) => any;
|
|
15
14
|
removeTag: (value: string) => any;
|
|
16
15
|
}, string, import("vue").PublicProps, Readonly<TagsInputRootProps> & Readonly<{
|
|
17
|
-
onInvalid?: ((value: string) => any) | undefined;
|
|
18
16
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
17
|
+
onInvalid?: ((value: string) => any) | undefined;
|
|
19
18
|
onAddTag?: ((value: string) => any) | undefined;
|
|
20
19
|
onRemoveTag?: ((value: string) => any) | undefined;
|
|
21
20
|
}>, {
|
|
22
21
|
max: number;
|
|
23
|
-
modelValue: string[];
|
|
24
22
|
defaultValue: string[];
|
|
23
|
+
modelValue: string[];
|
|
25
24
|
delimiter: string | RegExp;
|
|
26
25
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
26
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -32,4 +31,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
32
31
|
};
|
|
33
32
|
};
|
|
34
33
|
//#endregion
|
|
35
|
-
export { _default };
|
|
34
|
+
export { _default as default };
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { Direction, UiClass } from "../../types/common.js";
|
|
2
2
|
import { FormFieldCommonProps } from "../../types/component.js";
|
|
3
3
|
import { BaseProps } from "../../types/vue.js";
|
|
4
|
+
import "../../types/index.js";
|
|
4
5
|
import { PrimitiveWithBaseProps } from "../primitive/types.js";
|
|
5
6
|
import { ButtonProps } from "../button/types.js";
|
|
7
|
+
import "../../composables/index.js";
|
|
6
8
|
import { InputBaseProps } from "../input/types.js";
|
|
7
9
|
import { ComputedRef, InputHTMLAttributes, ShallowRef } from "vue";
|
|
8
|
-
|
|
9
10
|
//#region src/components/tags-input/types.d.ts
|
|
10
11
|
/**
|
|
11
12
|
* Properties for the TagsInputRoot component.
|
|
@@ -124,7 +125,8 @@ interface TagsInputCompactSlotProps {
|
|
|
124
125
|
* Slots for the TagsInputCompact component.
|
|
125
126
|
*/
|
|
126
127
|
type TagsInputCompactSlots = {
|
|
127
|
-
/** Custom item content or full item replacement. */
|
|
128
|
+
/** Custom item content or full item replacement. */
|
|
129
|
+
item?: (props: TagsInputCompactSlotProps) => any;
|
|
128
130
|
};
|
|
129
131
|
/**
|
|
130
132
|
* Available UI slots for the TagsInput component.
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { UiClass } from "../../types/common.js";
|
|
2
2
|
import { UseUiConsumer } from "../../composables/use-ui-context.js";
|
|
3
|
+
import "../../composables/index.js";
|
|
3
4
|
import { TextareaUiSlot } from "./types.js";
|
|
5
|
+
import "../../index.js";
|
|
4
6
|
//#region src/components/textarea/context.d.ts
|
|
5
7
|
declare const provideTextareaUi: (ui: import("vue").ComputedRef<Partial<UiClass<TextareaUiSlot>>>) => import("vue").ComputedRef<Partial<UiClass<TextareaUiSlot>>>, useTextareaUi: UseUiConsumer<TextareaUiSlot>;
|
|
6
8
|
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { TextareaClearEmits, TextareaClearProps, TextareaCompactEmits, TextareaCompactProps, TextareaCompactSlotProps, TextareaCompactSlots, TextareaControlProps, TextareaCounterProps, TextareaRootEmits, TextareaRootProps, TextareaUi, TextareaUiSlot } from "./types.js";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
2
|
+
import _default$1 from "./textarea-compact.vue.js";
|
|
3
|
+
import _default$4 from "./textarea-root.vue.js";
|
|
4
|
+
import _default$2 from "./textarea-control.vue.js";
|
|
5
|
+
import _default from "./textarea-clear.vue.js";
|
|
6
|
+
import _default$3 from "./textarea-counter.vue.js";
|
|
7
7
|
import { provideTextareaUi } from "./context.js";
|
|
8
8
|
export { _default as TextareaClear, type TextareaClearEmits, type TextareaClearProps, _default$1 as TextareaCompact, type TextareaCompactEmits, type TextareaCompactProps, type TextareaCompactSlotProps, type TextareaCompactSlots, _default$2 as TextareaControl, type TextareaControlProps, _default$3 as TextareaCounter, type TextareaCounterProps, _default$4 as TextareaRoot, type TextareaRootEmits, type TextareaRootProps, type TextareaUi, type TextareaUiSlot, provideTextareaUi };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function e(e){let t=window.getComputedStyle(e),n=t.lineHeight;return n===`normal`?Number.parseFloat(t.fontSize)*1.2:Number.parseFloat(n)}function t(t,n){if(!n||!t)return;let r=window.getComputedStyle(t),i=Number.parseFloat(r.paddingTop),a=Number.parseFloat(r.paddingBottom),o=e(t);t.style.height=`auto`;let s=t.scrollHeight;if(n.minRows){let e=o*n.minRows+i+a;s=Math.max(s,e)}if(n.maxRows){let e=o*n.maxRows+i+a;s=Math.min(s,e)}t.style.height=`${s}px`,n.maxRows&&t.scrollHeight>s?t.style.overflowY=`auto`:t.style.overflowY=`hidden`}export{t as adjustHeight};
|
|
1
|
+
function e(e){let t=window.getComputedStyle(e),n=t.lineHeight;return n===`normal`?Number.parseFloat(t.fontSize)*1.2:Number.parseFloat(n)}function t(t,n){if(!n||!t)return;let r=window.getComputedStyle(t),i=Number.parseFloat(r.paddingTop),a=Number.parseFloat(r.paddingBottom),o=e(t);t.style.height=`auto`;let s=t.scrollHeight;if(n.minRows){let e=o*n.minRows+i+a;s=Math.max(s,e)}if(n.maxRows){let e=o*n.maxRows+i+a;s=Math.min(s,e)}t.style.height=`${s}px`,n.maxRows&&t.scrollHeight>s?t.style.overflowY=`auto`:t.style.overflowY=`hidden`}export{t as adjustHeight,e as calculateLineHeight};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TextareaClearProps } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/textarea/textarea-clear.vue.d.ts
|
|
4
3
|
declare var __VLS_10: {};
|
|
5
4
|
type __VLS_Slots = {} & {
|
|
@@ -18,4 +17,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
18
17
|
};
|
|
19
18
|
};
|
|
20
19
|
//#endregion
|
|
21
|
-
export { _default };
|
|
20
|
+
export { _default as default };
|
|
@@ -1 +1 @@
|
|
|
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"./textarea-clear.js";import r from"./textarea-control.js";import i from"./textarea-counter.js";import a from"./textarea-root.js";import{createBlock as o,createCommentVNode as s,createVNode as c,defineComponent as l,guardReactiveProps as u,mergeProps as d,normalizeProps as f,openBlock as p,renderSlot as m,unref as h,withCtx as g}from"vue";const _=l({name:`TextareaCompact`,__name:`textarea-compact`,props:{textareaRef:{type:Function},clearable:{type:Boolean},showCounter:{type:Boolean},controlProps:{},clearProps:{},counterProps:{},defaultValue:{},modelValue:{},autosize:{type:[Boolean,Object]},id:{},autofocus:{type:Boolean},disabled:{type:Boolean},maxlength:{},minlength:{},placeholder:{},readonly:{type:Boolean},name:{},required:{type:Boolean}},emits:[`update:modelValue`,`clear`],setup(l,{emit:_}){let v=l,y=_,b=t(v,[`textareaRef`,`clearable`,`showCounter`,`controlProps`,`clearProps`,`counterProps`]),[x,S]=e(e=>v.textareaRef?.(e));return(e,t)=>(p(),o(a,d(h(b),{"onUpdate:modelValue":t[1]||(t[1]=e=>y(`update:modelValue`,e))}),{default:g(a=>[c(r,d(l.controlProps,{ref:h(S)}),null,16),l.clearable?m(e.$slots,`clear`,f(
|
|
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"./textarea-clear.js";import r from"./textarea-control.js";import i from"./textarea-counter.js";import a from"./textarea-root.js";import{createBlock as o,createCommentVNode as s,createVNode as c,defineComponent as l,guardReactiveProps as u,mergeProps as d,normalizeProps as f,openBlock as p,renderSlot as m,unref as h,withCtx as g}from"vue";const _=l({name:`TextareaCompact`,__name:`textarea-compact`,props:{textareaRef:{type:Function},clearable:{type:Boolean},showCounter:{type:Boolean},controlProps:{},clearProps:{},counterProps:{},defaultValue:{},modelValue:{},autosize:{type:[Boolean,Object]},id:{},autofocus:{type:Boolean},disabled:{type:Boolean},maxlength:{},minlength:{},placeholder:{},readonly:{type:Boolean},name:{},required:{type:Boolean}},emits:[`update:modelValue`,`clear`],setup(l,{emit:_}){let v=l,y=_,b=t(v,[`textareaRef`,`clearable`,`showCounter`,`controlProps`,`clearProps`,`counterProps`]),[x,S]=e(e=>v.textareaRef?.(e));return(e,t)=>(p(),o(a,d(h(b),{"onUpdate:modelValue":t[1]||(t[1]=e=>y(`update:modelValue`,e))}),{default:g(a=>[c(r,d(l.controlProps,{ref:h(S)}),null,16),l.clearable?m(e.$slots,`clear`,f(u(a)),()=>[c(n,d(l.clearProps,{onClear:t[0]||(t[0]=e=>y(`clear`,e))}),null,16)],void 0,0):s(`v-if`,!0),l.showCounter?m(e.$slots,`counter`,f(u(a)),()=>[c(i,f(u(l.counterProps)),null,16)],void 0,1):s(`v-if`,!0),m(e.$slots,`footer`,f(u(a)))]),_:3},16))}});export{_ as default};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TextareaCompactProps, TextareaCompactSlots } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/textarea/textarea-compact.vue.d.ts
|
|
4
3
|
type __VLS_Slots = TextareaCompactSlots;
|
|
5
4
|
declare const __VLS_base: import("vue").DefineComponent<TextareaCompactProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -17,4 +16,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
17
16
|
};
|
|
18
17
|
};
|
|
19
18
|
//#endregion
|
|
20
|
-
export { _default };
|
|
19
|
+
export { _default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useTextareaRootContext as e,useTextareaUi as t}from"./context.js";import{adjustHeight as n}from"./shared.js";import{createElementBlock as r,defineComponent as i,nextTick as a,normalizeClass as o,normalizeStyle as s,openBlock as c,ref as l,unref as u,watch as d}from"vue";const f=[`id`,`aria-disabled`,`autofocus`,`data-disabled`,`data-readonly`,`disabled`,`maxlength`,`minlength`,`placeholder`,`readonly`,`value`],p=i({name:`TextareaControl`,__name:`textarea-control`,setup(i){let{modelValue:p,id:m,autofocus:h,placeholder:g,disabled:_,readonly:v,maxlength:y,minlength:b,autosizeOptions:x}=e(`TextareaControl`),S=t(`control`),C=l(null),w=e=>{p.value=e.target.value};return d(p,async()=>{x.value&&(await a(),n(C.value,x.value))},{immediate:!0,flush:`post`}),(e,t)=>(c(),r(`textarea`,{id:u(m),ref_key:`textareaRef`,ref:C,"data-soybean-textarea-control":``,class:o(u(S)),"aria-disabled":u(_)??void 0,"aria-roledescription":`Textarea`,autocorrect:`off`,autofocus:u(h),"data-disabled":u(_)?``:void 0,"data-readonly":u(v)?``:void 0,disabled:u(_),maxlength:u(y),minlength:u(b),placeholder:u(g),readonly:u(v),spellcheck:`false`,tabindex:`0`,value:u(p),style:s(u(x)?{resize:`none`,overflowY:`hidden`}:void 0),onInput:w},null,46,f))}});export{p as default};
|
|
1
|
+
import{useTextareaRootContext as e,useTextareaUi as t}from"./context.js";import{adjustHeight as n}from"./shared.js";import{createElementBlock as r,defineComponent as i,nextTick as a,normalizeClass as o,normalizeStyle as s,openBlock as c,ref as l,unref as u,watch as d}from"vue";const f=[`id`,`aria-disabled`,`autofocus`,`data-disabled`,`data-readonly`,`disabled`,`maxlength`,`minlength`,`placeholder`,`readonly`,`value`],p=i({name:`TextareaControl`,__name:`textarea-control`,setup(i){let{modelValue:p,id:m,autofocus:h,placeholder:g,disabled:_,readonly:v,maxlength:y,minlength:b,autosizeOptions:x}=e(`TextareaControl`),S=t(`control`),C=l(null),w=e=>{p.value=e.target.value};return d([p,x],async()=>{x.value&&(await a(),n(C.value,x.value))},{immediate:!0,flush:`post`}),(e,t)=>(c(),r(`textarea`,{id:u(m),ref_key:`textareaRef`,ref:C,"data-soybean-textarea-control":``,class:o(u(S)),"aria-disabled":u(_)??void 0,"aria-roledescription":`Textarea`,autocorrect:`off`,autofocus:u(h),"data-disabled":u(_)?``:void 0,"data-readonly":u(v)?``:void 0,disabled:u(_),maxlength:u(y),minlength:u(b),placeholder:u(g),readonly:u(v),spellcheck:`false`,tabindex:`0`,value:u(p),style:s(u(x)?{resize:`none`,overflowY:`hidden`}:void 0),onInput:w},null,46,f))}});export{p as default};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { TextareaControlProps } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/textarea/textarea-control.vue.d.ts
|
|
4
3
|
declare const __VLS_export: import("vue").DefineComponent<TextareaControlProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TextareaControlProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
4
|
declare const _default: typeof __VLS_export;
|
|
6
5
|
//#endregion
|
|
7
|
-
export { _default };
|
|
6
|
+
export { _default as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TextareaCounterProps } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/textarea/textarea-counter.vue.d.ts
|
|
4
3
|
declare var __VLS_1: {
|
|
5
4
|
count: number;
|
|
@@ -17,4 +16,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
17
16
|
};
|
|
18
17
|
};
|
|
19
18
|
//#endregion
|
|
20
|
-
export { _default };
|
|
19
|
+
export { _default as default };
|