@soybeanjs/headless 0.29.2 → 0.30.0-beta.1
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 +3 -2
- 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 +3 -3
- 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 +3 -4
- 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.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.vue.d.ts +2 -2
- 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 +4 -2
- 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 +62 -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 +3 -1
- 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 +2 -3
- 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 +3 -3
- 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 +8 -8
- 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 +6 -4
- 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 +6 -3
- 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 +5 -4
- 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 +8 -5
- 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 +6 -3
- 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 +8 -5
- package/dist/components/context-menu/context-menu-compact.vue.d.ts +8 -5
- package/dist/components/context-menu/context-menu-content.js +1 -1
- package/dist/components/context-menu/context-menu-content.vue.d.ts +5 -4
- package/dist/components/context-menu/context-menu-radio-compact.vue.d.ts +9 -6
- 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 +4 -3
- 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.vue.d.ts +4 -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-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 +1 -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 +15 -15
- package/dist/components/dialog/state.d.ts +0 -1
- package/dist/components/dialog/state.js +1 -1
- package/dist/components/dialog/types.d.ts +12 -7
- package/dist/components/dropdown-menu/dropdown-menu-checkbox-compact.vue.d.ts +8 -5
- package/dist/components/dropdown-menu/dropdown-menu-compact.vue.d.ts +8 -5
- package/dist/components/dropdown-menu/dropdown-menu-content.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +5 -4
- package/dist/components/dropdown-menu/dropdown-menu-radio-compact.vue.d.ts +9 -6
- package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +1 -2
- 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 +4 -3
- 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 +3 -4
- 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 +3 -4
- 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 +1 -2
- 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 +3 -4
- 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 +4 -5
- 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 +14 -9
- 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 +3 -2
- 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 +4 -4
- 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 +5 -3
- 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 +7 -5
- package/dist/components/menu/menu-options-compact.vue.d.ts +7 -5
- 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 +5 -3
- 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 +8 -5
- package/dist/components/menubar/menubar-content.js +1 -1
- package/dist/components/menubar/menubar-content.vue.d.ts +9 -5
- 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 +4 -3
- 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 +10 -7
- 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 +2 -2
- 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 +3 -2
- 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 +5 -4
- 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 +1 -2
- 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 +4 -4
- 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 +578 -470
- 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 +148 -2
- package/dist/namespaced/index.d.ts +1014 -984
- 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 +1 @@
|
|
|
1
|
-
import{computed as e,onMounted as t,onUnmounted as n,shallowRef as r,watch as i}from"vue";const a=[`[data-lastpass-icon-root]`,`com-1password-button`,`[data-dashlanecreated]`,`[style$="2147483647 !important;"]`].join(`,`);function o(o){let{containerElement:s,inputElement:c,pushPasswordManagerStrategy:l,isFocused:u}=o,d=r(!1),f=r(!1),p=r(!1),m=r(!1),h=e(()=>l()
|
|
1
|
+
import{computed as e,onMounted as t,onUnmounted as n,shallowRef as r,watch as i}from"vue";const a=[`[data-lastpass-icon-root]`,`com-1password-button`,`[data-dashlanecreated]`,`[style$="2147483647 !important;"]`].join(`,`);function o(o){let{containerElement:s,inputElement:c,pushPasswordManagerStrategy:l,isFocused:u}=o,d=r(!1),f=r(!1),p=r(!1),m=r(!1),h=e(()=>l()!==`none`&&d.value&&f.value),g=()=>{if(l()===`none`)return;let e=s.value,t=globalThis.window;if(!e||!t)return;let n=t.innerWidth-e.getBoundingClientRect().right;f.value=n>=40},_=()=>{let e=globalThis.document,t=s.value,n=c.value;if(!e||!t||!n||p.value||l()===`none`)return;let r=t.getBoundingClientRect().left+t.offsetWidth,i=t.getBoundingClientRect().top+t.offsetHeight/2,o=e.elementFromPoint(r-18,i);if((e.querySelectorAll(a).length!==0||o!==t)&&(d.value=!0,p.value=!0,!m.value&&e.activeElement===n)){let e=n.selectionStart,t=n.selectionEnd;n.blur(),n.focus(),e!==null&&t!==null&&n.setSelectionRange(e,t),m.value=!0}},v=0;return t(()=>{g(),v=window.setInterval(g,1e3)}),n(()=>{window.clearInterval(v)}),i([u,c],([e,t],n,r)=>{let i=globalThis.document,a=l(),o=e||i?.activeElement===t;if(a===`none`||!o)return;let s=[0,2e3,5e3].map(e=>window.setTimeout(_,e)),c=window.setTimeout(()=>{p.value=!0},6e3);r(()=>{s.forEach(e=>window.clearTimeout(e)),window.clearTimeout(c)})}),{willPushPWMBadge:h,PASSWORD_MANAGER_BADGE_SPACE_WIDTH:`40px`}}export{o as usePasswordManagerBadge};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { KbdProps } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/kbd/kbd.vue.d.ts
|
|
4
3
|
declare var __VLS_1: {};
|
|
5
4
|
type __VLS_Slots = {} & {
|
|
@@ -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,5 +1,4 @@
|
|
|
1
1
|
import { LabelProps } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/label/label.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,8 +1,9 @@
|
|
|
1
1
|
import { UiClass } from "../../types/common.js";
|
|
2
2
|
import { UseUiConsumer } from "../../composables/use-ui-context.js";
|
|
3
|
-
import
|
|
3
|
+
import "../../composables/index.js";
|
|
4
|
+
import { LayoutUiSlot } from "./types.js";
|
|
5
|
+
import "../../index.js";
|
|
4
6
|
//#region src/components/layout/context.d.ts
|
|
5
7
|
declare const provideLayoutUi: (ui: import("vue").ComputedRef<Partial<UiClass<LayoutUiSlot>>>) => import("vue").ComputedRef<Partial<UiClass<LayoutUiSlot>>>, useLayoutUi: UseUiConsumer<LayoutUiSlot>;
|
|
6
|
-
declare const provideLayoutClassicUi: (ui: import("vue").ComputedRef<Partial<UiClass<LayoutClassicUiSlot>>>) => import("vue").ComputedRef<Partial<UiClass<LayoutClassicUiSlot>>>, useLayoutClassicUi: UseUiConsumer<LayoutClassicUiSlot>;
|
|
7
8
|
//#endregion
|
|
8
|
-
export {
|
|
9
|
+
export { provideLayoutUi };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useContext as e}from"../../composables/use-context.js";import{useUiContext as t}from"../../composables/use-ui-context.js";import"../../composables/index.js";const[n,r]=e(`LayoutRoot`,e=>{let{open:t,isMobile:n,mobileOpen:r}=e,i=e=>{t.value=e},a=e=>{r.value=e},o=()=>{n.value?r.value=!r.value:t.value=!t.value};return{...e,onOpenChange:i,onMobileOpenChange:a,toggleSidebar:o}}),[i,a]=
|
|
1
|
+
import{useContext as e}from"../../composables/use-context.js";import{useUiContext as t}from"../../composables/use-ui-context.js";import"../../composables/index.js";const[n,r]=e(`LayoutRoot`,e=>{let{open:t,isMobile:n,mobileOpen:r}=e,i=e=>{t.value=e},a=e=>{r.value=e},o=()=>{n.value?r.value=!r.value:t.value=!t.value};return{...e,onOpenChange:i,onMobileOpenChange:a,toggleSidebar:o}}),[i,a]=t(`LayoutUi`);export{n as provideLayoutRootContext,i as provideLayoutUi,r as useLayoutRootContext,a as useLayoutUi};
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
14
|
-
|
|
15
|
-
export { _default as LayoutClassicCompact, type LayoutClassicCompactEmits, type LayoutClassicCompactProps, type LayoutClassicCompactSlots, type LayoutClassicScrollBehavior, type LayoutClassicUi, type LayoutClassicUiSlot, type LayoutCollapsible, _default$1 as LayoutCompact, type LayoutCompactEmits, type LayoutCompactProps, type LayoutCompactSlots, _default$2 as LayoutContent, type LayoutContentProps, _default$3 as LayoutFooter, type LayoutFooterProps, _default$4 as LayoutHeader, type LayoutHeaderProps, _default$5 as LayoutMain, type LayoutMainProps, _default$6 as LayoutMobile, type LayoutMobileProps, _default$7 as LayoutRail, type LayoutRailProps, _default$8 as LayoutRoot, type LayoutRootEmits, type LayoutRootProps, type LayoutSide, _default$9 as LayoutSidebar, type LayoutSidebarProps, type LayoutSidebarState, _default$10 as LayoutTab, type LayoutTabProps, _default$11 as LayoutTrigger, type LayoutTriggerProps, type LayoutUi, type LayoutUiSlot, type LayoutVariant, provideLayoutClassicUi, provideLayoutUi };
|
|
1
|
+
import { LayoutCollapsible, LayoutCompactEmits, LayoutCompactProps, LayoutCompactSlots, LayoutContentProps, LayoutFooterProps, LayoutHeaderProps, LayoutMainProps, LayoutMobileProps, LayoutRailProps, LayoutRootEmits, LayoutRootProps, LayoutScrollBehavior, LayoutSide, LayoutSidebarProps, LayoutSidebarState, LayoutTabProps, LayoutTriggerProps, LayoutUi, LayoutUiSlot, LayoutVariant } from "./types.js";
|
|
2
|
+
import _default from "./layout-compact.vue.js";
|
|
3
|
+
import _default$7 from "./layout-root.vue.js";
|
|
4
|
+
import _default$8 from "./layout-sidebar.vue.js";
|
|
5
|
+
import _default$6 from "./layout-rail.vue.js";
|
|
6
|
+
import _default$4 from "./layout-main.vue.js";
|
|
7
|
+
import _default$3 from "./layout-header.vue.js";
|
|
8
|
+
import _default$9 from "./layout-tab.vue.js";
|
|
9
|
+
import _default$1 from "./layout-content.vue.js";
|
|
10
|
+
import _default$2 from "./layout-footer.vue.js";
|
|
11
|
+
import _default$5 from "./layout-mobile.vue.js";
|
|
12
|
+
import _default$10 from "./layout-trigger.vue.js";
|
|
13
|
+
import { provideLayoutUi } from "./context.js";
|
|
14
|
+
export { type LayoutCollapsible, _default as LayoutCompact, type LayoutCompactEmits, type LayoutCompactProps, type LayoutCompactSlots, _default$1 as LayoutContent, type LayoutContentProps, _default$2 as LayoutFooter, type LayoutFooterProps, _default$3 as LayoutHeader, type LayoutHeaderProps, _default$4 as LayoutMain, type LayoutMainProps, _default$5 as LayoutMobile, type LayoutMobileProps, _default$6 as LayoutRail, type LayoutRailProps, _default$7 as LayoutRoot, type LayoutRootEmits, type LayoutRootProps, type LayoutScrollBehavior, type LayoutSide, _default$8 as LayoutSidebar, type LayoutSidebarProps, type LayoutSidebarState, _default$9 as LayoutTab, type LayoutTabProps, _default$10 as LayoutTrigger, type LayoutTriggerProps, type LayoutUi, type LayoutUiSlot, type LayoutVariant, provideLayoutUi };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{provideLayoutUi as e}from"./context.js";import t from"./layout-content.js";import n from"./layout-footer.js";import r from"./layout-header.js";import i from"./layout-main.js";import a from"./layout-rail.js";import o from"./layout-root.js";import s from"./layout-mobile.js";import c from"./layout-sidebar.js";import l from"./layout-tab.js";import u from"./layout-compact.js";import d from"./layout-trigger.js";export{u as LayoutCompact,t as LayoutContent,n as LayoutFooter,r as LayoutHeader,i as LayoutMain,s as LayoutMobile,a as LayoutRail,o as LayoutRoot,c as LayoutSidebar,l as LayoutTab,d as LayoutTrigger,e as provideLayoutUi};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useOmitProps as e}from"../../composables/use-props.js";import"../../composables/index.js";import t from"./layout-content.js";import n from"./layout-footer.js";import r from"./layout-header.js";import i from"./layout-main.js";import a from"./layout-
|
|
1
|
+
import{useOmitProps as e}from"../../composables/use-props.js";import"../../composables/index.js";import t from"./layout-content.js";import n from"./layout-footer.js";import r from"./layout-header.js";import i from"./layout-main.js";import a from"./layout-placeholder.js";import o from"./layout-rail.js";import s from"./layout-root.js";import c from"./layout-sidebar.js";import l from"./layout-tab.js";import{computed as u,createBlock as d,createVNode as f,defineComponent as p,guardReactiveProps as m,mergeProps as h,normalizeProps as g,openBlock as _,renderSlot as v,unref as y,useId as b,withCtx as x}from"vue";const S=p({name:`LayoutCompact`,__name:`layout-compact`,props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:!0},side:{},variant:{},collapsible:{},sidebarVisible:{type:Boolean,default:!0},sidebarWidth:{},collapsedSidebarWidth:{},isMobile:{type:Boolean},mobileSidebarWidth:{},headerVisible:{type:Boolean,default:!0},headerHeight:{},tabVisible:{type:Boolean,default:!0},tabHeight:{},footerVisible:{type:Boolean,default:!0},footerHeight:{},fullContent:{type:Boolean},pxToRem:{},orientation:{},scrollBehavior:{},scrollId:{},baseZIndex:{},fixedTop:{type:Boolean,default:!0},fixedFooter:{type:Boolean},stretchFooter:{type:Boolean},sidebarProps:{},railProps:{},mainProps:{},headerProps:{},tabProps:{},contentProps:{},footerProps:{},mobileProps:{}},emits:[`update:open`],setup(p,{emit:S}){let C=p,w=S,T=b(),E=u(()=>C.scrollId??`soybean-layout-scroll-${T}`),D=e(C,[`sidebarProps`,`railProps`,`mainProps`,`headerProps`,`tabProps`,`contentProps`,`footerProps`,`mobileProps`]);return(e,u)=>(_(),d(s,h(y(D),{"onUpdate:open":u[0]||(u[0]=e=>w(`update:open`,e))}),{default:x(s=>[f(c,g(m(p.sidebarProps)),{default:x(()=>[v(e.$slots,`sidebar`,g(m(s))),f(o,g(m(p.railProps)),null,16)]),_:2},1040),f(i,h(p.mainProps,{id:p.scrollBehavior===`wrapper`?E.value:void 0}),{default:x(()=>[f(r,g(m(p.headerProps)),{default:x(()=>[v(e.$slots,`header`)]),_:3},16),f(a,{type:`header`}),f(l,g(m(p.tabProps)),{default:x(()=>[v(e.$slots,`tab`)]),_:3},16),f(a,{type:`tab`}),f(t,h(p.contentProps,{id:p.scrollBehavior===`content`?E.value:void 0}),{default:x(()=>[v(e.$slots,`default`)]),_:3},16,[`id`]),f(n,g(m(p.footerProps)),{default:x(()=>[v(e.$slots,`footer`)]),_:3},16),f(a,{type:`footer`})]),_:3},16,[`id`])]),_:3},16))}});export{S as default};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { LayoutCompactProps, LayoutCompactSlots } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/layout/layout-compact.vue.d.ts
|
|
4
3
|
type __VLS_Slots = LayoutCompactSlots;
|
|
5
4
|
declare const __VLS_base: import("vue").DefineComponent<LayoutCompactProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -13,6 +12,7 @@ declare const __VLS_base: import("vue").DefineComponent<LayoutCompactProps, {},
|
|
|
13
12
|
headerVisible: boolean;
|
|
14
13
|
tabVisible: boolean;
|
|
15
14
|
footerVisible: boolean;
|
|
15
|
+
fixedTop: boolean;
|
|
16
16
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
18
|
declare const _default: typeof __VLS_export;
|
|
@@ -22,4 +22,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
24
|
//#endregion
|
|
25
|
-
export { _default };
|
|
25
|
+
export { _default as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { LayoutContentProps } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/layout/layout-content.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,5 +1,4 @@
|
|
|
1
1
|
import { LayoutFooterProps } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/layout/layout-footer.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,5 +1,4 @@
|
|
|
1
1
|
import { LayoutHeaderProps } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/layout/layout-header.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,5 +1,4 @@
|
|
|
1
1
|
import { LayoutMainProps } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/layout/layout-main.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,5 +1,4 @@
|
|
|
1
1
|
import { LayoutMobileProps } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/layout/layout-mobile.vue.d.ts
|
|
4
3
|
declare var __VLS_27: {};
|
|
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 };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useLayoutRootContext as e,useLayoutUi as t}from"./context.js";import{computed as n,createCommentVNode as r,createElementBlock as i,defineComponent as a,mergeProps as o,openBlock as s,unref as c}from"vue";const l=a({name:`LayoutPlaceholder`,inheritAttrs:!1,__name:`layout-placeholder`,props:{type:{}},setup(a){let l=a,u=t(`${l.type}Placeholder`),{fixedTop:d,headerVisible:f,tabVisible:p,footerVisible:m,fixedFooter:h}=e(`LayoutPlaceholder`),g=n(()=>l.type===`footer`?h.value:d.value),_=n(()=>l.type===`header`?f.value:l.type===`tab`?p.value:m.value),v=n(()=>({[`data-soybean-layout-${l.type}-placeholder`]:``}));return(e,t)=>_.value&&g.value?(s(),i(`div`,o({key:0,class:c(u)},v.value),null,16)):r(`v-if`,!0)}});export{l as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useLocaleMessages as e}from"../../locale/hooks.js";import"../../locale/index.js";import{useLayoutRootContext as t,useLayoutUi as n}from"./context.js";import{createElementBlock as r,defineComponent as i,normalizeClass as a,openBlock as o,renderSlot as s,unref as c}from"vue";const l=[`aria-label`,`title`],u=i({name:`LayoutRail`,__name:`layout-rail`,setup(i){let{toggleSidebar:u}=t(`LayoutRail`),
|
|
1
|
+
import{useLocaleMessages as e}from"../../locale/hooks.js";import"../../locale/index.js";import{useLayoutRootContext as t,useLayoutUi as n}from"./context.js";import{createElementBlock as r,defineComponent as i,normalizeClass as a,openBlock as o,renderSlot as s,unref as c}from"vue";const l=[`aria-label`,`aria-expanded`,`title`],u=i({name:`LayoutRail`,__name:`layout-rail`,setup(i){let{toggleSidebar:u,open:d}=t(`LayoutRail`),f=e(),p=n(`rail`);return(e,t)=>(o(),r(`button`,{class:a(c(p)),"data-soybean-layout-rail":``,"data-sidebar":`rail`,"aria-label":c(f).layout.toggleSidebar,"aria-expanded":!!c(d),tabindex:-1,title:c(f).layout.toggleSidebar,onClick:t[0]||(t[0]=(...e)=>c(u)&&c(u)(...e))},[s(e.$slots,`default`)],10,l))}});export{u as default};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { LayoutRailProps } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/layout/layout-rail.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{transformPropsToContext as e}from"../../shared/vue.js";import"../../shared/index.js";import{useControllableState as t}from"../../composables/use-controllable-state.js";import"../../composables/index.js";import{provideLayoutRootContext as n,useLayoutUi as r}from"./context.js";import{layoutCssVars as i}from"./shared.js";import{computed as a,createElementBlock as o,defineComponent as s,normalizeClass as c,normalizeStyle as l,openBlock as u,renderSlot as d,shallowRef as f,unref as p}from"vue";const m=[`data-collapsible`,`data-side`,`data-state`,`data-variant`,`data-mobile`,`data-sidebar-visible`,`data-header-visible`,`data-tab-visible`,`data-footer-visible`,`data-
|
|
1
|
+
import{transformPropsToContext as e}from"../../shared/vue.js";import"../../shared/index.js";import{useControllableState as t}from"../../composables/use-controllable-state.js";import"../../composables/index.js";import{provideLayoutRootContext as n,useLayoutUi as r}from"./context.js";import{layoutCssVars as i}from"./shared.js";import{computed as a,createElementBlock as o,defineComponent as s,normalizeClass as c,normalizeStyle as l,openBlock as u,renderSlot as d,shallowRef as f,unref as p}from"vue";const m=[`data-collapsible`,`data-orientation`,`data-side`,`data-state`,`data-variant`,`data-mobile`,`data-scroll-behavior`,`data-full-content`,`data-sidebar-visible`,`data-header-visible`,`data-tab-visible`,`data-footer-visible`,`data-fixed-top`,`data-fixed-footer`,`data-stretch-footer`],h=s({name:`LayoutRoot`,__name:`layout-root`,props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:!0},side:{default:`left`},variant:{default:`sidebar`},collapsible:{default:`icon`},sidebarVisible:{type:Boolean,default:!0},sidebarWidth:{default:240},collapsedSidebarWidth:{default:50},isMobile:{type:Boolean,default:!1},mobileSidebarWidth:{default:240},headerVisible:{type:Boolean,default:!0},headerHeight:{default:56},tabVisible:{type:Boolean,default:!0},tabHeight:{default:44},footerVisible:{type:Boolean,default:!0},footerHeight:{default:48},fullContent:{type:Boolean},pxToRem:{type:Function,default:e=>e/16},orientation:{default:`horizontal`},scrollBehavior:{default:`content`},scrollId:{},baseZIndex:{default:50},fixedTop:{type:Boolean,default:!0},fixedFooter:{type:Boolean},stretchFooter:{type:Boolean}},emits:[`update:open`],setup(s,{emit:h}){let g=s,_=h,v=r(`root`),y=t(()=>g.open,e=>{_(`update:open`,e)},g.defaultOpen),b=f(!1),x=a(()=>y.value?`expanded`:`collapsed`),S=a(()=>x.value===`collapsed`?g.collapsible:``),C=a(()=>g.orientation===`horizontal`),w=a(()=>g.orientation===`vertical`),T=a(()=>w.value||g.scrollBehavior===`content`||!!g.fixedTop),E=a(()=>g.scrollBehavior===`content`||!!g.fixedFooter),D=a(()=>E.value&&g.stretchFooter),O=a(()=>g.collapsible===`offcanvas`),k=a(()=>{let e=g.pxToRem(g.sidebarWidth),t=O.value?`0`:g.pxToRem(g.collapsedSidebarWidth),n=y.value?e:t,r=g.pxToRem(g.headerHeight),a=g.pxToRem(g.tabHeight),o=g.pxToRem(g.footerHeight),s=g.sidebarVisible?`${n}rem`:`0px`,c=C.value?s:`0px`,l=A()?s:`0px`,u=g.headerVisible&&!C.value?`${r}rem`:`0px`,d=g.footerVisible&&l===`0px`?`${o}rem`:`0px`,f=u===`0px`&&d===`0px`?`100%`:`calc(100% - ${u} - ${d})`,p=C.value?g.baseZIndex-2:g.baseZIndex-5,m=g.baseZIndex-4,h=g.baseZIndex-6,_=d?p+1:p-6;return{[i.sidebarWidth]:`${e}rem`,[i.collapsedSidebarWidth]:`${t}rem`,[i.currentSidebarWidth]:`${n}rem`,[i.baseZIndex]:g.baseZIndex,[i.headerHeight]:`${r}rem`,[i.tabHeight]:`${a}rem`,[i.footerHeight]:`${o}rem`,[i.sidebarTopGap]:u,[i.sidebarBottomGap]:d,[i.sidebarHeight]:f,[i.startGap]:s,[i.headerStartGap]:c,[i.footerStartGap]:l,[i.sidebarZIndex]:p,[i.headerZIndex]:m,[i.tabZIndex]:h,[i.footerZIndex]:_}});function A(){return C.value||g.scrollBehavior===`wrapper`&&!E.value?!0:!D.value}let j=a(()=>g.pxToRem(g.mobileSidebarWidth));return n({...e(g,[`sidebarWidth`,`collapsedSidebarWidth`,`isMobile`,`sidebarVisible`,`headerVisible`,`tabVisible`,`footerVisible`]),open:y,mobileOpen:b,mobileSidebarWidth:j,fixedTop:T,fixedFooter:E}),(e,t)=>(u(),o(`div`,{"data-soybean-layout-root":``,class:c(p(v)),"data-collapsible":S.value,"data-orientation":s.orientation,"data-side":s.side,"data-state":x.value,"data-variant":s.variant,"data-mobile":!!s.isMobile,"data-scroll-behavior":s.scrollBehavior,"data-full-content":!!s.fullContent,"data-sidebar-visible":!!s.sidebarVisible,"data-header-visible":!!s.headerVisible,"data-tab-visible":!!s.tabVisible,"data-footer-visible":!!s.footerVisible,"data-fixed-top":!!T.value,"data-fixed-footer":!!E.value,"data-stretch-footer":!!D.value,style:l(k.value)},[d(e.$slots,`default`,{open:p(y),collapsedSidebarWidth:s.collapsedSidebarWidth})],14,m))}});export{h as default};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { DataOrientation } from "../../types/common.js";
|
|
2
|
+
import { LayoutCollapsible, LayoutRootProps, LayoutScrollBehavior, LayoutSide, LayoutVariant } from "./types.js";
|
|
3
|
+
import "../../index.js";
|
|
3
4
|
//#region src/components/layout/layout-root.vue.d.ts
|
|
4
5
|
declare var __VLS_1: {
|
|
5
6
|
open: boolean;
|
|
@@ -14,22 +15,26 @@ declare const __VLS_base: import("vue").DefineComponent<LayoutRootProps, {}, {},
|
|
|
14
15
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
15
16
|
}>, {
|
|
16
17
|
collapsible: LayoutCollapsible;
|
|
18
|
+
orientation: DataOrientation;
|
|
17
19
|
open: boolean;
|
|
18
20
|
defaultOpen: boolean;
|
|
19
21
|
side: LayoutSide;
|
|
20
|
-
variant: LayoutVariant;
|
|
21
|
-
pxToRem: (px: number) => number;
|
|
22
|
-
sidebarVisible: boolean;
|
|
23
22
|
sidebarWidth: number;
|
|
24
23
|
collapsedSidebarWidth: number;
|
|
25
24
|
isMobile: boolean;
|
|
26
|
-
|
|
25
|
+
sidebarVisible: boolean;
|
|
27
26
|
headerVisible: boolean;
|
|
28
|
-
headerHeight: number;
|
|
29
27
|
tabVisible: boolean;
|
|
30
|
-
tabHeight: number;
|
|
31
28
|
footerVisible: boolean;
|
|
29
|
+
variant: LayoutVariant;
|
|
30
|
+
mobileSidebarWidth: number;
|
|
31
|
+
headerHeight: number;
|
|
32
|
+
tabHeight: number;
|
|
32
33
|
footerHeight: number;
|
|
34
|
+
pxToRem: (px: number) => number;
|
|
35
|
+
scrollBehavior: LayoutScrollBehavior;
|
|
36
|
+
baseZIndex: number;
|
|
37
|
+
fixedTop: boolean;
|
|
33
38
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
39
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
35
40
|
declare const _default: typeof __VLS_export;
|
|
@@ -39,4 +44,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
39
44
|
};
|
|
40
45
|
};
|
|
41
46
|
//#endregion
|
|
42
|
-
export { _default };
|
|
47
|
+
export { _default as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { LayoutSidebarProps } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/layout/layout-sidebar.vue.d.ts
|
|
4
3
|
declare var __VLS_8: {}, __VLS_10: {};
|
|
5
4
|
type __VLS_Slots = {} & {
|
|
@@ -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,5 +1,4 @@
|
|
|
1
1
|
import { LayoutTabProps } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/layout/layout-tab.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{useLocaleMessages as e}from"../../locale/hooks.js";import"../../locale/index.js";import t from"../_icon/icon.js";import n from"../button/button.js";import{useLayoutRootContext as r,useLayoutUi as i}from"./context.js";import{createBlock as a,createVNode as o,defineComponent as s,mergeProps as c,openBlock as l,renderSlot as u,unref as d,withCtx as f}from"vue";const p=s({name:`LayoutTrigger`,__name:`layout-trigger`,props:{type:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(s){let p=s,{open:m,toggleSidebar:h}=r(`LayoutTrigger`),g=e(),_=i(`trigger`);return(e,r)=>(l(),a(n,c(p,{"data-soybean-layout-trigger":``,class:d(_),"aria-label":d(g).layout.toggleSidebar,"data-sidebar":`trigger`,onClick:d(h)}),{default:f(()=>[u(e.$slots,`default`,{open:d(m)},()=>[o(t,{icon:d(m)?`lucide:panel-right`:`lucide:panel-left`},null,8,[`icon`])])]),_:3},16,[`class`,`aria-label`,`onClick`]))}});export{p as default};
|
|
1
|
+
import{useLocaleMessages as e}from"../../locale/hooks.js";import"../../locale/index.js";import t from"../_icon/icon.js";import n from"../button/button.js";import{useLayoutRootContext as r,useLayoutUi as i}from"./context.js";import{createBlock as a,createVNode as o,defineComponent as s,mergeProps as c,openBlock as l,renderSlot as u,unref as d,withCtx as f}from"vue";const p=s({name:`LayoutTrigger`,__name:`layout-trigger`,props:{type:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(s){let p=s,{open:m,toggleSidebar:h}=r(`LayoutTrigger`),g=e(),_=i(`trigger`);return(e,r)=>(l(),a(n,c(p,{"data-soybean-layout-trigger":``,class:d(_),"aria-label":d(g).layout.toggleSidebar,"aria-expanded":!!d(m),"data-sidebar":`trigger`,onClick:d(h)}),{default:f(()=>[u(e.$slots,`default`,{open:d(m)},()=>[o(t,{icon:d(m)?`lucide:panel-right`:`lucide:panel-left`},null,8,[`icon`])])]),_:3},16,[`class`,`aria-label`,`aria-expanded`,`onClick`]))}});export{p as default};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { LayoutTriggerProps } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/layout/layout-trigger.vue.d.ts
|
|
4
3
|
declare var __VLS_10: {
|
|
5
4
|
open: boolean | undefined;
|
|
@@ -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
|
-
const e={sidebarWidth:`--soybean-sidebar-width`,collapsedSidebarWidth:`--soybean-collapsed-sidebar-width`,currentSidebarWidth:`--soybean-current-sidebar-width`,headerHeight:`--soybean-layout-header-height`,tabHeight:`--soybean-layout-tab-height`,footerHeight:`--soybean-layout-footer-height`,startGap:`--soybean-layout-start-gap`,sidebarTopGap:`--soybean-layout-sidebar-top-gap`,sidebarBottomGap:`--soybean-layout-sidebar-bottom-gap`,headerStartGap:`--soybean-layout-header-start-gap`,footerStartGap:`--soybean-layout-footer-start-gap`,baseZIndex:`--soybean-layout-base-z-index`,sidebarZIndex:`--soybean-layout-sidebar-z-index`,headerZIndex:`--soybean-layout-header-z-index`,tabZIndex:`--soybean-layout-tab-z-index`,footerZIndex:`--soybean-layout-footer-z-index`};export{e as layoutCssVars};
|
|
1
|
+
const e={sidebarWidth:`--soybean-sidebar-width`,collapsedSidebarWidth:`--soybean-collapsed-sidebar-width`,currentSidebarWidth:`--soybean-current-sidebar-width`,headerHeight:`--soybean-layout-header-height`,tabHeight:`--soybean-layout-tab-height`,footerHeight:`--soybean-layout-footer-height`,startGap:`--soybean-layout-start-gap`,sidebarHeight:`--soybean-layout-sidebar-height`,sidebarTopGap:`--soybean-layout-sidebar-top-gap`,sidebarBottomGap:`--soybean-layout-sidebar-bottom-gap`,headerStartGap:`--soybean-layout-header-start-gap`,footerStartGap:`--soybean-layout-footer-start-gap`,baseZIndex:`--soybean-layout-base-z-index`,sidebarZIndex:`--soybean-layout-sidebar-z-index`,headerZIndex:`--soybean-layout-header-z-index`,tabZIndex:`--soybean-layout-tab-z-index`,footerZIndex:`--soybean-layout-footer-z-index`};export{e as layoutCssVars};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DataOrientation, HorizontalSide, UiClass } from "../../types/common.js";
|
|
2
2
|
import { BaseProps } from "../../types/vue.js";
|
|
3
|
+
import "../../types/index.js";
|
|
3
4
|
import { ButtonProps } from "../button/types.js";
|
|
4
5
|
import { ComputedRef, ShallowRef } from "vue";
|
|
5
|
-
|
|
6
6
|
//#region src/components/layout/types.d.ts
|
|
7
7
|
/**
|
|
8
8
|
* Type information for LayoutVariant.
|
|
@@ -114,6 +114,42 @@ interface LayoutRootProps extends BaseProps {
|
|
|
114
114
|
* @returns The width in rem
|
|
115
115
|
*/
|
|
116
116
|
pxToRem?: (px: number) => number;
|
|
117
|
+
/**
|
|
118
|
+
* Orientation of the component.
|
|
119
|
+
*/
|
|
120
|
+
orientation?: DataOrientation;
|
|
121
|
+
/**
|
|
122
|
+
* Scroll behavior.
|
|
123
|
+
*/
|
|
124
|
+
scrollBehavior?: LayoutScrollBehavior;
|
|
125
|
+
/**
|
|
126
|
+
* Scroll id.
|
|
127
|
+
*/
|
|
128
|
+
scrollId?: string;
|
|
129
|
+
/**
|
|
130
|
+
* The base z-index of the layout. The z-index of the sidebar, header, tab, footer, and their fixed versions will be calculated based on this value.
|
|
131
|
+
*
|
|
132
|
+
* @default 50
|
|
133
|
+
*/
|
|
134
|
+
baseZIndex?: number;
|
|
135
|
+
/**
|
|
136
|
+
* Whether the header and tab are fixed to the top of the layout when the orientation is vertical. If true, the header and tab will be fixed to the top of the layout when the orientation is vertical, and will scroll with the content when the orientation is horizontal.
|
|
137
|
+
*
|
|
138
|
+
* @default true
|
|
139
|
+
*/
|
|
140
|
+
fixedTop?: boolean;
|
|
141
|
+
/**
|
|
142
|
+
* Whether footer is fixed
|
|
143
|
+
*
|
|
144
|
+
* @default true
|
|
145
|
+
*/
|
|
146
|
+
fixedFooter?: boolean;
|
|
147
|
+
/**
|
|
148
|
+
* Whether the footer should stretch to the full width of the layout or the content when layout orientation is vertical.
|
|
149
|
+
*
|
|
150
|
+
* @default true
|
|
151
|
+
*/
|
|
152
|
+
stretchFooter?: boolean;
|
|
117
153
|
}
|
|
118
154
|
/**
|
|
119
155
|
* Events for the LayoutRoot component.
|
|
@@ -160,6 +196,9 @@ interface LayoutTriggerProps extends ButtonProps {}
|
|
|
160
196
|
* Properties for the LayoutMobile component.
|
|
161
197
|
*/
|
|
162
198
|
interface LayoutMobileProps extends BaseProps {}
|
|
199
|
+
/**
|
|
200
|
+
* Properties for the Layout Others component.
|
|
201
|
+
*/
|
|
163
202
|
interface LayoutOthersProps {
|
|
164
203
|
sidebarProps?: LayoutSidebarProps;
|
|
165
204
|
railProps?: LayoutRailProps;
|
|
@@ -211,81 +250,16 @@ type LayoutCompactSlots = {
|
|
|
211
250
|
footer?: () => any;
|
|
212
251
|
};
|
|
213
252
|
/**
|
|
214
|
-
* Type information for
|
|
253
|
+
* Type information for LayoutScrollBehavior.
|
|
215
254
|
*/
|
|
216
|
-
type
|
|
217
|
-
/**
|
|
218
|
-
* Properties for the LayoutClassicRoot component.
|
|
219
|
-
*/
|
|
220
|
-
interface LayoutClassicRootProps extends Omit<LayoutRootProps, 'variant' | 'collapsible'> {
|
|
221
|
-
/**
|
|
222
|
-
* Orientation of the component.
|
|
223
|
-
*/
|
|
224
|
-
orientation?: DataOrientation;
|
|
225
|
-
/**
|
|
226
|
-
* Scroll behavior.
|
|
227
|
-
*/
|
|
228
|
-
scrollBehavior?: LayoutClassicScrollBehavior;
|
|
229
|
-
/**
|
|
230
|
-
* Scroll id.
|
|
231
|
-
*/
|
|
232
|
-
scrollId?: string;
|
|
233
|
-
/**
|
|
234
|
-
* The base z-index of the layout. The z-index of the sidebar, header, tab, footer, and their fixed versions will be calculated based on this value.
|
|
235
|
-
*
|
|
236
|
-
* @default 50
|
|
237
|
-
*/
|
|
238
|
-
baseZIndex?: number;
|
|
239
|
-
/**
|
|
240
|
-
* Whether the header and tab are fixed to the top of the layout when the orientation is vertical. If true, the header and tab will be fixed to the top of the layout when the orientation is vertical, and will scroll with the content when the orientation is horizontal.
|
|
241
|
-
*
|
|
242
|
-
* @default true
|
|
243
|
-
*/
|
|
244
|
-
fixedTop?: boolean;
|
|
245
|
-
/**
|
|
246
|
-
* Whether footer is fixed
|
|
247
|
-
*
|
|
248
|
-
* @default true
|
|
249
|
-
*/
|
|
250
|
-
fixedFooter?: boolean;
|
|
251
|
-
/**
|
|
252
|
-
* Whether the footer should stretch to the full width of the layout or the content when layout orientation is vertical.
|
|
253
|
-
*
|
|
254
|
-
* @default true
|
|
255
|
-
*/
|
|
256
|
-
stretchFooter?: boolean;
|
|
257
|
-
}
|
|
258
|
-
/**
|
|
259
|
-
* Events for the LayoutClassicRoot component.
|
|
260
|
-
*/
|
|
261
|
-
type LayoutClassicRootEmits = LayoutRootEmits;
|
|
262
|
-
/**
|
|
263
|
-
* Properties for the LayoutClassicCompact component.
|
|
264
|
-
*/
|
|
265
|
-
interface LayoutClassicCompactProps extends LayoutClassicRootProps, LayoutOthersProps {}
|
|
266
|
-
/**
|
|
267
|
-
* Events for the LayoutClassicCompact component.
|
|
268
|
-
*/
|
|
269
|
-
type LayoutClassicCompactEmits = LayoutClassicRootEmits;
|
|
270
|
-
/**
|
|
271
|
-
* Slots for the LayoutClassicCompact component.
|
|
272
|
-
*/
|
|
273
|
-
type LayoutClassicCompactSlots = LayoutCompactSlots;
|
|
255
|
+
type LayoutScrollBehavior = 'wrapper' | 'content';
|
|
274
256
|
/**
|
|
275
257
|
* Available UI slots for the Layout component.
|
|
276
258
|
*/
|
|
277
|
-
type LayoutUiSlot = 'root' | 'sidebar' | 'sidebarRoot' | 'sidebarWrapper' | 'sidebarGapHandler' | 'main' | 'header' | 'tab' | 'content' | 'footer' | 'rail' | 'trigger' | 'mobile' | 'mobileDrawer' | 'mobileOverlay';
|
|
259
|
+
type LayoutUiSlot = 'root' | 'sidebar' | 'sidebarRoot' | 'sidebarWrapper' | 'sidebarGapHandler' | 'main' | 'header' | 'tab' | 'content' | 'footer' | 'rail' | 'trigger' | 'mobile' | 'mobileDrawer' | 'mobileOverlay' | 'headerPlaceholder' | 'tabPlaceholder' | 'footerPlaceholder';
|
|
278
260
|
/**
|
|
279
261
|
* UI class overrides for the Layout component.
|
|
280
262
|
*/
|
|
281
263
|
type LayoutUi = UiClass<LayoutUiSlot>;
|
|
282
|
-
/**
|
|
283
|
-
* Available UI slots for the LayoutClassic component.
|
|
284
|
-
*/
|
|
285
|
-
type LayoutClassicUiSlot = LayoutUiSlot | 'headerPlaceholder' | 'tabPlaceholder' | 'footerPlaceholder';
|
|
286
|
-
/**
|
|
287
|
-
* UI class overrides for the LayoutClassic component.
|
|
288
|
-
*/
|
|
289
|
-
type LayoutClassicUi = UiClass<LayoutClassicUiSlot>;
|
|
290
264
|
//#endregion
|
|
291
|
-
export {
|
|
265
|
+
export { LayoutCollapsible, LayoutCompactEmits, LayoutCompactProps, LayoutCompactSlots, LayoutContentProps, LayoutFooterProps, LayoutHeaderProps, LayoutMainProps, LayoutMobileProps, LayoutRailProps, LayoutRootEmits, LayoutRootProps, LayoutScrollBehavior, LayoutSide, LayoutSidebarProps, LayoutSidebarState, LayoutTabProps, LayoutTriggerProps, LayoutUi, LayoutUiSlot, LayoutVariant };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Primitive as e}from"../primitive/primitive.js";import"../primitive/index.js";import{computed as t,createBlock as n,defineComponent as r,mergeProps as i,openBlock as a,renderSlot as o,resolveComponent as s,resolveDynamicComponent as c,unref as l,useAttrs as u,withCtx as d}from"vue";const f=r({name:`Link`,inheritAttrs:!1,__name:`link`,props:{to:{},replace:{type:Boolean,default:void 0},href:{},disabled:{type:Boolean,default:void 0},activeClass:{},exactActiveClass:{},inactiveClass:{},prefetchedClass:{},external:{type:Boolean,default:void 0},ariaCurrentValue:{},viewTransition:{type:Boolean,default:void 0},target:{},rel:{default:`noopener noreferrer`},noRel:{type:Boolean,default:void 0},prefetch:{type:Boolean,default:void 0},prefetchOn:{},noPrefetch:{type:Boolean,default:void 0},trailingSlash:{},asChild:{type:Boolean},as:{default:`a`}},setup(r){let f=r,p=u(),m=s(`RouterLink`),h=typeof m==`string`?null:m,g=t(()=>!!(f.external||f.disabled||typeof f.to==`string`&&f.to.startsWith(`http`)||!f.to)),_=t(()=>g.value||!h),v=t(()=>f.target?f.target:g.value?`_blank`:`_self`),y=t(()=>{let{as:e,asChild:t,href:n,to:r,...i}=f,a=typeof f.to==`string`&&f.to||f.href,o={};return g.value||(o.to=f.to),g.value&&a&&(o.href=a),Object.assign(o,{...i,target:v.value,"data-disabled":f.disabled?``:void 0,"aria-disabled":f.disabled?`true`:void 0,role:f.disabled?`link`:void 0,tabindex:f.disabled?`-1`:f.tabindex,...p}),o}),b=e=>{f.disabled&&(e.preventDefault(),e.stopPropagation())};return(t,s)=>_.value?(a(),n(l(e),i({key:0},y.value,{as:r.as,"as-child":r.asChild,"data-soybean-link":``,
|
|
1
|
+
import{Primitive as e}from"../primitive/primitive.js";import"../primitive/index.js";import{computed as t,createBlock as n,defineComponent as r,mergeProps as i,openBlock as a,renderSlot as o,resolveComponent as s,resolveDynamicComponent as c,unref as l,useAttrs as u,withCtx as d}from"vue";const f=r({name:`Link`,inheritAttrs:!1,__name:`link`,props:{to:{},replace:{type:Boolean,default:void 0},href:{},disabled:{type:Boolean,default:void 0},activeClass:{},exactActiveClass:{},inactiveClass:{},prefetchedClass:{},external:{type:Boolean,default:void 0},ariaCurrentValue:{},viewTransition:{type:Boolean,default:void 0},target:{},rel:{default:`noopener noreferrer`},noRel:{type:Boolean,default:void 0},prefetch:{type:Boolean,default:void 0},prefetchOn:{},noPrefetch:{type:Boolean,default:void 0},trailingSlash:{},asChild:{type:Boolean},as:{default:`a`}},setup(r){let f=r,p=u(),m=s(`RouterLink`),h=typeof m==`string`?null:m,g=t(()=>!!(f.external||f.disabled||typeof f.to==`string`&&f.to.startsWith(`http`)||!f.to)),_=t(()=>g.value||!h),v=t(()=>f.target?f.target:g.value?`_blank`:`_self`),y=t(()=>{let{as:e,asChild:t,href:n,to:r,...i}=f,a=typeof f.to==`string`&&f.to||f.href,o={};return g.value||(o.to=f.to),g.value&&a&&(o.href=a),Object.assign(o,{...i,target:v.value,"data-disabled":f.disabled?``:void 0,"aria-disabled":f.disabled?`true`:void 0,role:f.disabled?`link`:void 0,tabindex:f.disabled?`-1`:f.tabindex,...p}),o}),b=e=>{f.disabled&&(e.preventDefault(),e.stopPropagation())};return(t,s)=>_.value?(a(),n(l(e),i({key:0},y.value,{as:r.as,"as-child":r.asChild,"data-soybean-link":``,onClick:b}),{default:d(()=>[o(t.$slots,`default`,{isHref:!0})]),_:3},16,[`as`,`as-child`])):(a(),n(c(l(h)),i({key:1},y.value,{"data-soybean-link":``,onClick:b}),{default:d(e=>[o(t.$slots,`default`,{isHref:!1,isActive:e?.isActive,isExactActive:e?.isExactActive})]),_:3},16))}});export{f as default};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import { LinkProps } from "./types.js";
|
|
3
|
+
import "../primitive/index.js";
|
|
3
4
|
//#region src/components/link/link.vue.d.ts
|
|
4
5
|
type Slots = {
|
|
5
6
|
default: (args: {
|
|
@@ -11,6 +12,7 @@ type Slots = {
|
|
|
11
12
|
type __VLS_Slots = Slots;
|
|
12
13
|
declare const __VLS_base: import("vue").DefineComponent<LinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkProps> & Readonly<{}>, {
|
|
13
14
|
disabled: boolean;
|
|
15
|
+
as: AsTag | import("vue").Component;
|
|
14
16
|
replace: boolean;
|
|
15
17
|
external: boolean;
|
|
16
18
|
viewTransition: boolean;
|
|
@@ -18,7 +20,6 @@ declare const __VLS_base: import("vue").DefineComponent<LinkProps, {}, {}, {}, {
|
|
|
18
20
|
noRel: boolean;
|
|
19
21
|
prefetch: boolean;
|
|
20
22
|
noPrefetch: boolean;
|
|
21
|
-
as: AsTag | import("vue").Component;
|
|
22
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
24
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
24
25
|
declare const _default: typeof __VLS_export;
|
|
@@ -28,4 +29,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
28
29
|
};
|
|
29
30
|
};
|
|
30
31
|
//#endregion
|
|
31
|
-
export { _default };
|
|
32
|
+
export { _default as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PrimitiveWithBaseProps } from "../primitive/types.js";
|
|
2
2
|
import { RouteLocationRaw } from "vue-router";
|
|
3
|
-
|
|
4
3
|
//#region src/components/link/types.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* Properties for the Link component.
|
|
@@ -100,4 +99,4 @@ interface LinkBaseProps extends Pick<LinkProps, LinkBasePropsKey> {}
|
|
|
100
99
|
*/
|
|
101
100
|
interface LinkExtraProps extends Omit<LinkProps, LinkBasePropsKey> {}
|
|
102
101
|
//#endregion
|
|
103
|
-
export { LinkBaseProps, LinkExtraProps, LinkProps };
|
|
102
|
+
export { LinkBaseProps, LinkBasePropsKey, LinkExtraProps, LinkProps };
|
|
@@ -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 { ListUiSlot } from "./types.js";
|
|
5
|
+
import "../../index.js";
|
|
4
6
|
//#region src/components/list/context.d.ts
|
|
5
7
|
declare const provideListUi: (ui: import("vue").ComputedRef<Partial<UiClass<ListUiSlot>>>) => import("vue").ComputedRef<Partial<UiClass<ListUiSlot>>>, useListUi: UseUiConsumer<ListUiSlot>;
|
|
6
8
|
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ListContentProps, ListDescriptionProps, ListItemProps, ListRootProps, ListTitleProps, ListUi, ListUiSlot } from "./types.js";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
2
|
+
import _default$3 from "./list-root.vue.js";
|
|
3
|
+
import _default$2 from "./list-item.vue.js";
|
|
4
|
+
import _default$4 from "./list-title.vue.js";
|
|
5
|
+
import _default$1 from "./list-description.vue.js";
|
|
6
|
+
import _default from "./list-content.vue.js";
|
|
7
7
|
import { provideListUi } from "./context.js";
|
|
8
8
|
export { _default as ListContent, type ListContentProps, _default$1 as ListDescription, type ListDescriptionProps, _default$2 as ListItem, type ListItemProps, _default$3 as ListRoot, type ListRootProps, _default$4 as ListTitle, type ListTitleProps, type ListUi, type ListUiSlot, provideListUi };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ListContentProps } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/list/list-content.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 };
|