@soybeanjs/headless 0.30.0 → 0.40.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -14
- package/README.zh-CN.md +14 -14
- package/dist/components/_icon/icon.js +1 -1
- package/dist/components/_icon/types.d.ts +2 -3
- package/dist/components/accordion/accordion-compact.js +1 -1
- package/dist/components/accordion/accordion-content.js +1 -1
- package/dist/components/accordion/accordion-item.js +1 -1
- package/dist/components/accordion/accordion-root.js +1 -1
- package/dist/components/accordion/accordion-trigger.js +1 -1
- package/dist/components/accordion/context.d.ts +1 -1
- package/dist/components/accordion/context.js +1 -1
- package/dist/components/accordion/types.d.ts +15 -16
- package/dist/components/affix/affix-compact.js +1 -1
- package/dist/components/affix/affix-root.js +1 -1
- package/dist/components/affix/affix-root.vue.d.ts +1 -1
- package/dist/components/affix/context.d.ts +1 -1
- package/dist/components/affix/context.js +1 -1
- package/dist/components/affix/types.d.ts +11 -12
- package/dist/components/alert/alert-close.js +1 -1
- package/dist/components/alert/alert-compact.js +1 -1
- package/dist/components/alert/alert-compact.vue.d.ts +2 -2
- package/dist/components/alert/alert-root.js +1 -1
- package/dist/components/alert/context.d.ts +2 -2
- package/dist/components/alert/context.js +1 -1
- package/dist/components/alert/types.d.ts +13 -14
- package/dist/components/anchor/anchor-compact.js +1 -1
- package/dist/components/anchor/anchor-link.js +1 -1
- package/dist/components/anchor/anchor-root.js +1 -1
- package/dist/components/anchor/anchor-root.vue.d.ts +1 -1
- package/dist/components/anchor/context.d.ts +2 -2
- package/dist/components/anchor/context.js +1 -1
- package/dist/components/anchor/shared.js +1 -1
- package/dist/components/anchor/types.d.ts +11 -12
- package/dist/components/arrow/arrow.js +1 -1
- package/dist/components/arrow/types.d.ts +2 -3
- package/dist/components/aspect-ratio/aspect-ratio.js +1 -1
- package/dist/components/aspect-ratio/types.d.ts +2 -3
- package/dist/components/autocomplete/autocomplete-anchor.js +1 -0
- package/dist/components/autocomplete/autocomplete-anchor.vue.d.ts +16 -0
- package/dist/components/autocomplete/autocomplete-compact.js +1 -1
- package/dist/components/autocomplete/autocomplete-content.js +1 -0
- package/dist/components/autocomplete/autocomplete-content.vue.d.ts +34 -0
- package/dist/components/autocomplete/autocomplete-group-label.js +1 -0
- package/dist/components/autocomplete/autocomplete-group-label.vue.d.ts +16 -0
- package/dist/components/autocomplete/autocomplete-group.js +1 -0
- package/dist/components/autocomplete/autocomplete-group.vue.d.ts +16 -0
- package/dist/components/autocomplete/autocomplete-input.js +1 -1
- package/dist/components/autocomplete/autocomplete-item-indicator.js +1 -0
- package/dist/components/autocomplete/autocomplete-item-indicator.vue.d.ts +16 -0
- package/dist/components/autocomplete/autocomplete-item.js +1 -0
- package/dist/components/autocomplete/autocomplete-item.vue.d.ts +22 -0
- package/dist/components/autocomplete/autocomplete-root.js +1 -1
- package/dist/components/autocomplete/autocomplete-root.vue.d.ts +1 -2
- package/dist/components/autocomplete/autocomplete-separator.js +1 -0
- package/dist/components/autocomplete/autocomplete-separator.vue.d.ts +16 -0
- package/dist/components/autocomplete/autocomplete-trigger.js +1 -0
- package/dist/components/autocomplete/autocomplete-trigger.vue.d.ts +20 -0
- package/dist/components/autocomplete/autocomplete-viewport.js +1 -0
- package/dist/components/autocomplete/autocomplete-viewport.vue.d.ts +16 -0
- package/dist/components/autocomplete/context.d.ts +2 -2
- package/dist/components/autocomplete/context.js +1 -1
- package/dist/components/autocomplete/index.d.ts +14 -17
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/autocomplete/types.d.ts +69 -26
- package/dist/components/avatar/avatar-compact.js +1 -1
- package/dist/components/avatar/avatar-fallback.js +1 -1
- package/dist/components/avatar/avatar-image.js +1 -1
- package/dist/components/avatar/context.d.ts +2 -2
- package/dist/components/avatar/context.js +1 -1
- package/dist/components/avatar/types.d.ts +10 -11
- package/dist/components/backtop/backtop.js +1 -1
- package/dist/components/backtop/backtop.vue.d.ts +3 -3
- package/dist/components/backtop/types.d.ts +5 -6
- package/dist/components/badge/badge-compact.js +1 -1
- package/dist/components/badge/badge-root.js +1 -1
- package/dist/components/badge/context.d.ts +2 -2
- package/dist/components/badge/context.js +1 -1
- package/dist/components/badge/types.d.ts +9 -10
- package/dist/components/bottom-sheet/bottom-sheet-cancel.js +1 -0
- package/dist/components/bottom-sheet/bottom-sheet-cancel.vue.d.ts +20 -0
- package/dist/components/bottom-sheet/bottom-sheet-close.js +1 -0
- package/dist/components/bottom-sheet/bottom-sheet-close.vue.d.ts +20 -0
- package/dist/components/bottom-sheet/bottom-sheet-compact.js +1 -1
- package/dist/components/bottom-sheet/bottom-sheet-confirm.js +1 -0
- package/dist/components/bottom-sheet/bottom-sheet-confirm.vue.d.ts +20 -0
- package/dist/components/bottom-sheet/bottom-sheet-content.js +1 -0
- package/dist/components/bottom-sheet/bottom-sheet-content.vue.d.ts +16 -0
- package/dist/components/bottom-sheet/bottom-sheet-description.js +1 -0
- package/dist/components/bottom-sheet/bottom-sheet-description.vue.d.ts +16 -0
- package/dist/components/bottom-sheet/bottom-sheet-footer.js +1 -0
- package/dist/components/bottom-sheet/bottom-sheet-footer.vue.d.ts +16 -0
- package/dist/components/bottom-sheet/bottom-sheet-header.js +1 -0
- package/dist/components/bottom-sheet/bottom-sheet-header.vue.d.ts +16 -0
- package/dist/components/bottom-sheet/bottom-sheet-overlay.js +1 -1
- package/dist/components/bottom-sheet/bottom-sheet-popup.js +1 -1
- package/dist/components/bottom-sheet/bottom-sheet-root-nested.js +1 -1
- package/dist/components/bottom-sheet/bottom-sheet-root-nested.vue.d.ts +2 -2
- package/dist/components/bottom-sheet/bottom-sheet-root.js +1 -1
- package/dist/components/bottom-sheet/bottom-sheet-title.js +1 -0
- package/dist/components/bottom-sheet/bottom-sheet-title.vue.d.ts +16 -0
- package/dist/components/bottom-sheet/bottom-sheet-trigger.js +1 -0
- package/dist/components/bottom-sheet/bottom-sheet-trigger.vue.d.ts +20 -0
- package/dist/components/bottom-sheet/context.d.ts +2 -2
- package/dist/components/bottom-sheet/context.js +1 -1
- package/dist/components/bottom-sheet/index.d.ts +12 -12
- package/dist/components/bottom-sheet/index.js +1 -1
- package/dist/components/bottom-sheet/types.d.ts +66 -15
- package/dist/components/bottom-sheet/use-scale-background.js +1 -1
- package/dist/components/breadcrumb/breadcrumb-compact.js +1 -1
- package/dist/components/breadcrumb/breadcrumb-ellipsis.js +1 -1
- package/dist/components/breadcrumb/breadcrumb-root.js +1 -1
- package/dist/components/breadcrumb/context.d.ts +2 -2
- package/dist/components/breadcrumb/context.js +1 -1
- package/dist/components/breadcrumb/types.d.ts +16 -17
- package/dist/components/button/button-group.js +1 -1
- package/dist/components/button/button.js +1 -1
- package/dist/components/button/types.d.ts +5 -6
- package/dist/components/calendar/calendar-cell-trigger.js +1 -1
- package/dist/components/calendar/calendar-cell.js +1 -1
- package/dist/components/calendar/calendar-compact.js +1 -1
- package/dist/components/calendar/calendar-grid-body.js +1 -1
- package/dist/components/calendar/calendar-grid-head.js +1 -1
- package/dist/components/calendar/calendar-grid-row.js +1 -1
- package/dist/components/calendar/calendar-grid.js +1 -1
- package/dist/components/calendar/calendar-head-cell.js +1 -1
- package/dist/components/calendar/calendar-header.js +1 -1
- package/dist/components/calendar/calendar-heading.js +1 -1
- package/dist/components/calendar/calendar-next.js +1 -1
- package/dist/components/calendar/calendar-prev.js +1 -1
- package/dist/components/calendar/calendar-root.js +1 -1
- package/dist/components/calendar/context.d.ts +2 -2
- package/dist/components/calendar/context.js +1 -1
- package/dist/components/calendar/types.d.ts +26 -27
- 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.js +1 -1
- package/dist/components/calendar-range/calendar-range-compact.js +1 -1
- package/dist/components/calendar-range/calendar-range-grid-body.js +1 -1
- package/dist/components/calendar-range/calendar-range-grid-head.js +1 -1
- package/dist/components/calendar-range/calendar-range-grid-row.js +1 -1
- package/dist/components/calendar-range/calendar-range-grid.js +1 -1
- package/dist/components/calendar-range/calendar-range-head-cell.js +1 -1
- package/dist/components/calendar-range/calendar-range-header.js +1 -1
- package/dist/components/calendar-range/calendar-range-heading.js +1 -1
- package/dist/components/calendar-range/calendar-range-next.js +1 -1
- package/dist/components/calendar-range/calendar-range-prev.js +1 -1
- package/dist/components/calendar-range/calendar-range-root.js +1 -1
- package/dist/components/calendar-range/calendar-range-root.vue.d.ts +4 -4
- package/dist/components/calendar-range/context.d.ts +2 -2
- package/dist/components/calendar-range/context.js +1 -1
- package/dist/components/calendar-range/types.d.ts +25 -26
- package/dist/components/calendar-range/use-calendar-range.js +1 -1
- package/dist/components/card/card-collapsible-trigger.js +1 -1
- package/dist/components/card/card-compact.js +1 -1
- package/dist/components/card/card-root.js +1 -1
- package/dist/components/card/context.d.ts +2 -2
- package/dist/components/card/context.js +1 -1
- package/dist/components/card/types.d.ts +15 -16
- package/dist/components/carousel/carousel-compact.js +1 -1
- package/dist/components/carousel/carousel-next.js +1 -1
- package/dist/components/carousel/carousel-previous.js +1 -1
- package/dist/components/carousel/carousel-root.js +1 -1
- package/dist/components/carousel/context.d.ts +2 -2
- package/dist/components/carousel/context.js +1 -1
- package/dist/components/carousel/hooks.js +1 -1
- package/dist/components/carousel/types.d.ts +17 -17
- package/dist/components/cascader/cascader-clear.js +1 -1
- package/dist/components/cascader/cascader-compact.js +1 -1
- package/dist/components/cascader/cascader-compact.vue.d.ts +3 -3
- package/dist/components/cascader/cascader-content.js +1 -1
- package/dist/components/cascader/cascader-content.vue.d.ts +5 -5
- package/dist/components/cascader/cascader-menu.js +1 -1
- package/dist/components/cascader/cascader-menu.vue.d.ts +1 -1
- package/dist/components/cascader/cascader-option.js +1 -1
- package/dist/components/cascader/cascader-option.vue.d.ts +1 -1
- package/dist/components/cascader/cascader-root.js +1 -1
- package/dist/components/cascader/cascader-root.vue.d.ts +2 -2
- package/dist/components/cascader/cascader-search-input.js +1 -1
- package/dist/components/cascader/cascader-trigger.js +1 -1
- package/dist/components/cascader/context.d.ts +6 -5
- package/dist/components/cascader/context.js +1 -1
- package/dist/components/cascader/hooks.js +1 -1
- package/dist/components/cascader/types.d.ts +36 -37
- package/dist/components/checkbox/checkbox-card-compact.js +1 -1
- package/dist/components/checkbox/checkbox-card-group-compact.js +1 -1
- package/dist/components/checkbox/checkbox-compact.js +1 -1
- package/dist/components/checkbox/checkbox-control.js +1 -1
- package/dist/components/checkbox/checkbox-group-compact.js +1 -1
- package/dist/components/checkbox/checkbox-group-root.js +1 -1
- package/dist/components/checkbox/checkbox-indicator.js +1 -1
- package/dist/components/checkbox/checkbox-label.js +1 -1
- package/dist/components/checkbox/checkbox-root.js +1 -1
- package/dist/components/checkbox/checkbox-root.vue.d.ts +1 -1
- package/dist/components/checkbox/context.d.ts +2 -2
- package/dist/components/checkbox/context.js +1 -1
- package/dist/components/checkbox/types.d.ts +23 -22
- package/dist/components/clipboard/clipboard.js +1 -1
- package/dist/components/clipboard/types.d.ts +12 -7
- package/dist/components/collapsible/collapsible-content.js +1 -1
- package/dist/components/collapsible/collapsible-root.js +1 -1
- package/dist/components/collapsible/collapsible-root.vue.d.ts +1 -1
- package/dist/components/collapsible/collapsible-trigger.js +1 -1
- package/dist/components/collapsible/context.d.ts +1 -1
- package/dist/components/collapsible/context.js +1 -1
- package/dist/components/collapsible/types.d.ts +7 -8
- package/dist/components/color-area/color-area-area.js +1 -1
- package/dist/components/color-area/color-area-compact.js +1 -1
- package/dist/components/color-area/color-area-compact.vue.d.ts +2 -2
- package/dist/components/color-area/color-area-root.js +1 -1
- package/dist/components/color-area/color-area-root.vue.d.ts +3 -3
- package/dist/components/color-area/color-area-thumb.js +1 -1
- package/dist/components/color-area/context.d.ts +2 -2
- package/dist/components/color-area/context.js +1 -1
- package/dist/components/color-area/types.d.ts +10 -11
- package/dist/components/color-field/color-field-compact.js +1 -1
- package/dist/components/color-field/color-field-root.js +1 -1
- package/dist/components/color-field/color-field-root.vue.d.ts +1 -1
- package/dist/components/color-field/context.d.ts +2 -2
- package/dist/components/color-field/context.js +1 -1
- package/dist/components/color-field/types.d.ts +8 -9
- package/dist/components/color-picker/color-picker-compact.js +1 -1
- package/dist/components/color-picker/color-picker-compact.vue.d.ts +4 -2
- package/dist/components/color-picker/color-picker-root.js +1 -1
- package/dist/components/color-picker/color-picker-root.vue.d.ts +6 -6
- package/dist/components/color-picker/color-picker-trigger.js +1 -1
- package/dist/components/color-picker/context.d.ts +2 -2
- package/dist/components/color-picker/context.js +1 -1
- package/dist/components/color-picker/types.d.ts +13 -11
- package/dist/components/color-slider/color-slider-compact.js +1 -1
- package/dist/components/color-slider/color-slider-compact.vue.d.ts +2 -2
- package/dist/components/color-slider/color-slider-root.js +1 -1
- package/dist/components/color-slider/color-slider-root.vue.d.ts +5 -5
- package/dist/components/color-slider/color-slider-thumb.js +1 -1
- package/dist/components/color-slider/color-slider-track.js +1 -1
- package/dist/components/color-slider/context.d.ts +2 -2
- package/dist/components/color-slider/context.js +1 -1
- package/dist/components/color-slider/types.d.ts +9 -10
- package/dist/components/color-swatch/color-swatch-compact.js +1 -1
- package/dist/components/color-swatch/color-swatch-root.js +1 -1
- package/dist/components/color-swatch/context.d.ts +2 -2
- package/dist/components/color-swatch/context.js +1 -1
- package/dist/components/color-swatch/types.d.ts +10 -11
- 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 +2 -2
- package/dist/components/color-swatch-picker/color-swatch-picker-item-indicator.js +1 -1
- package/dist/components/color-swatch-picker/color-swatch-picker-item.js +1 -1
- package/dist/components/color-swatch-picker/color-swatch-picker-root.js +1 -1
- package/dist/components/color-swatch-picker/color-swatch-picker-root.vue.d.ts +2 -2
- package/dist/components/color-swatch-picker/context.d.ts +2 -2
- package/dist/components/color-swatch-picker/context.js +1 -1
- package/dist/components/color-swatch-picker/types.d.ts +14 -15
- package/dist/components/combobox/combobox-anchor.js +1 -0
- package/dist/components/combobox/combobox-anchor.vue.d.ts +16 -0
- package/dist/components/combobox/combobox-arrow.js +1 -1
- package/dist/components/combobox/combobox-cancel.js +1 -1
- package/dist/components/combobox/combobox-clear.js +1 -0
- package/dist/components/combobox/combobox-clear.vue.d.ts +19 -0
- package/dist/components/combobox/combobox-compact.js +1 -1
- package/dist/components/combobox/combobox-compact.vue.d.ts +3 -3
- package/dist/components/combobox/combobox-content-impl.js +1 -1
- package/dist/components/combobox/combobox-content.js +1 -1
- package/dist/components/combobox/combobox-empty.js +1 -1
- package/dist/components/combobox/combobox-group-label.js +1 -0
- package/dist/components/combobox/combobox-group-label.vue.d.ts +16 -0
- package/dist/components/combobox/combobox-input.js +1 -1
- package/dist/components/combobox/combobox-item-indicator.js +1 -0
- package/dist/components/combobox/combobox-item-indicator.vue.d.ts +16 -0
- package/dist/components/combobox/combobox-item.js +1 -1
- package/dist/components/combobox/combobox-root.js +1 -1
- package/dist/components/combobox/combobox-root.vue.d.ts +1 -1
- package/dist/components/combobox/combobox-separator.js +1 -1
- package/dist/components/combobox/combobox-trigger.js +1 -1
- package/dist/components/combobox/combobox-value.js +1 -0
- package/dist/components/combobox/combobox-value.vue.d.ts +29 -0
- package/dist/components/combobox/combobox-viewport.js +1 -1
- package/dist/components/combobox/combobox-virtualizer.js +1 -1
- package/dist/components/combobox/context.d.ts +2 -2
- package/dist/components/combobox/context.js +1 -1
- package/dist/components/combobox/index.d.ts +21 -19
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/combobox/types.d.ts +81 -38
- package/dist/components/command/command-compact.js +1 -1
- package/dist/components/command/command-compact.vue.d.ts +1 -1
- package/dist/components/command/context.d.ts +2 -2
- package/dist/components/command/context.js +1 -1
- package/dist/components/command/index.d.ts +2 -2
- package/dist/components/command/types.d.ts +50 -19
- package/dist/components/config-provider/config-provider.js +1 -39
- package/dist/components/config-provider/context.js +1 -1
- package/dist/components/config-provider/types.d.ts +11 -4
- package/dist/components/context-menu/context-menu-checkbox-compact.js +1 -1
- package/dist/components/context-menu/context-menu-checkbox-compact.vue.d.ts +2 -2
- package/dist/components/context-menu/context-menu-compact.js +1 -1
- package/dist/components/context-menu/context-menu-compact.vue.d.ts +2 -2
- package/dist/components/context-menu/context-menu-content.js +1 -1
- package/dist/components/context-menu/context-menu-content.vue.d.ts +2 -2
- package/dist/components/context-menu/context-menu-radio-compact.js +1 -1
- package/dist/components/context-menu/context-menu-radio-compact.vue.d.ts +2 -2
- package/dist/components/context-menu/context-menu-root.js +1 -1
- 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.js +1 -1
- package/dist/components/context-menu/context-menu-wrapper-compact.vue.d.ts +2 -2
- package/dist/components/context-menu/context.js +1 -1
- package/dist/components/context-menu/index.d.ts +5 -6
- package/dist/components/context-menu/index.js +1 -1
- package/dist/components/context-menu/types.d.ts +19 -22
- package/dist/components/date-field/context.d.ts +2 -2
- package/dist/components/date-field/context.js +1 -1
- package/dist/components/date-field/date-field-compact.js +1 -1
- package/dist/components/date-field/date-field-input.js +1 -1
- package/dist/components/date-field/date-field-root.js +1 -1
- package/dist/components/date-field/date-field-root.vue.d.ts +1 -1
- package/dist/components/date-field/types.d.ts +11 -12
- package/dist/components/date-picker/context.d.ts +2 -2
- package/dist/components/date-picker/context.js +1 -1
- package/dist/components/date-picker/date-picker-compact.js +1 -1
- package/dist/components/date-picker/date-picker-compact.vue.d.ts +2 -0
- package/dist/components/date-picker/types.d.ts +7 -8
- package/dist/components/date-range-field/context.d.ts +2 -2
- package/dist/components/date-range-field/context.js +1 -1
- package/dist/components/date-range-field/date-range-field-compact.js +1 -1
- package/dist/components/date-range-field/date-range-field-input.js +1 -1
- 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 +1 -1
- package/dist/components/date-range-field/types.d.ts +12 -13
- package/dist/components/date-range-picker/context.d.ts +2 -2
- package/dist/components/date-range-picker/context.js +1 -1
- 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 +2 -0
- package/dist/components/date-range-picker/types.d.ts +7 -7
- package/dist/components/dialog/context.d.ts +2 -2
- package/dist/components/dialog/context.js +1 -1
- package/dist/components/dialog/dialog-close.js +1 -1
- package/dist/components/dialog/dialog-compact.js +1 -1
- package/dist/components/dialog/dialog-compact.vue.d.ts +10 -10
- package/dist/components/dialog/dialog-fullscreen.js +1 -1
- package/dist/components/dialog/dialog-overlay.js +1 -1
- package/dist/components/dialog/dialog-popup-impl.js +1 -1
- package/dist/components/dialog/dialog-popup.js +1 -1
- package/dist/components/dialog/dialog-root.js +1 -1
- package/dist/components/dialog/state.d.ts +2 -3
- package/dist/components/dialog/state.js +1 -1
- package/dist/components/dialog/types.d.ts +34 -34
- package/dist/components/dropdown-menu/context.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-checkbox-compact.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-checkbox-compact.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-compact.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-compact.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-content.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-radio-compact.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-radio-compact.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-root.js +1 -1
- 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.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-wrapper-compact.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/index.d.ts +5 -6
- package/dist/components/dropdown-menu/index.js +1 -1
- package/dist/components/dropdown-menu/types.d.ts +21 -23
- package/dist/components/editable/context.d.ts +2 -2
- package/dist/components/editable/context.js +1 -1
- package/dist/components/editable/editable-area.js +1 -1
- package/dist/components/editable/editable-cancel-trigger.js +1 -1
- package/dist/components/editable/editable-compact.js +1 -1
- package/dist/components/editable/editable-edit-trigger.js +1 -1
- package/dist/components/editable/editable-input.js +1 -1
- package/dist/components/editable/editable-preview.js +1 -1
- package/dist/components/editable/editable-root.js +1 -1
- package/dist/components/editable/editable-root.vue.d.ts +1 -1
- package/dist/components/editable/editable-submit-trigger.js +1 -1
- package/dist/components/editable/types.d.ts +20 -21
- package/dist/components/empty/context.d.ts +2 -2
- package/dist/components/empty/context.js +1 -1
- package/dist/components/empty/empty-compact.js +1 -1
- package/dist/components/empty/types.d.ts +11 -12
- package/dist/components/form/context.d.ts +2 -2
- package/dist/components/form/context.js +1 -1
- package/dist/components/form/core/shared.js +1 -1
- package/dist/components/form/core/types.d.ts +22 -23
- 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/core/use-form.js +1 -1
- package/dist/components/form/form-compact.js +1 -1
- package/dist/components/form/form-field-array-compact.js +1 -1
- package/dist/components/form/form-field-base-compact.js +1 -1
- package/dist/components/form/form-field-compact.js +1 -1
- package/dist/components/form/form-label.js +1 -1
- package/dist/components/form/types.d.ts +20 -21
- package/dist/components/form/use-form.d.ts +2 -3
- package/dist/components/hover-card/context.d.ts +10 -0
- package/dist/components/hover-card/context.js +1 -1
- package/dist/components/hover-card/hover-card-compact.js +1 -1
- package/dist/components/hover-card/hover-card-compact.vue.d.ts +3 -2
- package/dist/components/hover-card/hover-card-popup.js +1 -1
- package/dist/components/hover-card/hover-card-popup.vue.d.ts +2 -2
- package/dist/components/hover-card/hover-card-positioner.js +1 -1
- package/dist/components/hover-card/hover-card-root.js +1 -1
- package/dist/components/hover-card/hover-card-root.vue.d.ts +10 -4
- package/dist/components/hover-card/hover-card-trigger.js +1 -1
- package/dist/components/hover-card/hover-card-trigger.vue.d.ts +2 -2
- package/dist/components/hover-card/index.d.ts +5 -5
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/hover-card/types.d.ts +16 -17
- package/dist/components/input/context.d.ts +2 -2
- package/dist/components/input/context.js +1 -1
- package/dist/components/input/input-clear.js +1 -1
- package/dist/components/input/input-compact.js +1 -1
- package/dist/components/input/input-root.js +1 -1
- package/dist/components/input/types.d.ts +13 -14
- package/dist/components/input-number/context.d.ts +2 -2
- package/dist/components/input-number/context.js +1 -1
- 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-control.js +1 -1
- package/dist/components/input-number/input-number-decrement.js +1 -1
- package/dist/components/input-number/input-number-increment.js +1 -1
- package/dist/components/input-number/input-number-root.js +1 -1
- package/dist/components/input-number/input-number-root.vue.d.ts +1 -1
- package/dist/components/input-number/shared.js +1 -1
- package/dist/components/input-number/types.d.ts +13 -14
- package/dist/components/input-otp/context.d.ts +2 -2
- package/dist/components/input-otp/context.js +1 -1
- package/dist/components/input-otp/input-otp-compact.js +1 -1
- package/dist/components/input-otp/input-otp-compact.vue.d.ts +4 -4
- package/dist/components/input-otp/input-otp-input.js +1 -1
- package/dist/components/input-otp/input-otp-root.js +1 -1
- package/dist/components/input-otp/input-otp-root.vue.d.ts +4 -4
- package/dist/components/input-otp/types.d.ts +15 -16
- package/dist/components/kbd/kbd.js +1 -1
- package/dist/components/kbd/types.d.ts +3 -4
- package/dist/components/label/types.d.ts +2 -3
- package/dist/components/layout/context.d.ts +2 -2
- package/dist/components/layout/context.js +1 -1
- package/dist/components/layout/layout-compact.js +1 -1
- package/dist/components/layout/layout-mobile.js +1 -1
- package/dist/components/layout/layout-rail.js +1 -1
- package/dist/components/layout/layout-root.js +1 -1
- package/dist/components/layout/layout-root.vue.d.ts +1 -1
- package/dist/components/layout/layout-trigger.js +1 -1
- package/dist/components/layout/types.d.ts +22 -23
- package/dist/components/link/link.js +1 -1
- package/dist/components/link/link.vue.d.ts +1 -1
- package/dist/components/link/types.d.ts +5 -6
- package/dist/components/list/context.d.ts +2 -2
- package/dist/components/list/context.js +1 -1
- package/dist/components/list/types.d.ts +8 -9
- package/dist/components/listbox/context.d.ts +2 -2
- package/dist/components/listbox/context.js +1 -1
- package/dist/components/listbox/index.js +1 -1
- package/dist/components/listbox/listbox-content.js +1 -1
- package/dist/components/listbox/listbox-filter.js +1 -1
- package/dist/components/listbox/listbox-item-indicator.js +1 -1
- package/dist/components/listbox/listbox-item.js +1 -1
- package/dist/components/listbox/listbox-root.js +1 -1
- package/dist/components/listbox/listbox-root.vue.d.ts +1 -1
- package/dist/components/listbox/listbox-virtualizer.js +1 -1
- package/dist/components/listbox/types.d.ts +18 -19
- package/dist/components/menu/context.d.ts +2 -2
- package/dist/components/menu/context.js +1 -1
- package/dist/components/menu/hooks.js +1 -1
- package/dist/components/menu/index.d.ts +6 -6
- package/dist/components/menu/index.js +1 -1
- package/dist/components/menu/menu-checkbox-group.js +1 -1
- package/dist/components/menu/menu-checkbox-item.js +1 -1
- package/dist/components/menu/menu-checkbox-options-compact.js +1 -1
- package/dist/components/menu/menu-content-impl.js +1 -1
- package/dist/components/menu/menu-content.js +1 -1
- package/dist/components/menu/menu-content.vue.d.ts +2 -2
- package/dist/components/menu/menu-group.js +1 -1
- package/dist/components/menu/menu-item-impl.js +1 -1
- package/dist/components/menu/menu-item-indicator.js +1 -1
- package/dist/components/menu/menu-item.js +1 -1
- package/dist/components/menu/menu-option-compact.js +1 -1
- package/dist/components/menu/menu-option-compact.vue.d.ts +2 -2
- package/dist/components/menu/menu-options-compact.js +1 -1
- package/dist/components/menu/menu-options-compact.vue.d.ts +2 -2
- package/dist/components/menu/menu-radio-group.js +1 -1
- package/dist/components/menu/menu-radio-item.js +1 -1
- package/dist/components/menu/menu-radio-options-compact.js +1 -1
- package/dist/components/menu/menu-root.js +1 -1
- package/dist/components/menu/menu-root.vue.d.ts +9 -2
- package/dist/components/menu/menu-sub-content.js +1 -1
- package/dist/components/menu/menu-sub-content.vue.d.ts +2 -2
- package/dist/components/menu/menu-sub-trigger.js +1 -1
- package/dist/components/menu/menu-sub.js +1 -1
- package/dist/components/menu/menu-sub.vue.d.ts +2 -2
- package/dist/components/menu/shared.js +1 -1
- package/dist/components/menu/types.d.ts +53 -53
- package/dist/components/menubar/context.d.ts +2 -2
- package/dist/components/menubar/context.js +1 -1
- package/dist/components/menubar/index.d.ts +1 -1
- package/dist/components/menubar/index.js +1 -1
- package/dist/components/menubar/menubar-compact.js +1 -1
- package/dist/components/menubar/menubar-compact.vue.d.ts +2 -2
- package/dist/components/menubar/menubar-content.js +1 -1
- package/dist/components/menubar/menubar-content.vue.d.ts +2 -2
- package/dist/components/menubar/menubar-menu.js +1 -1
- package/dist/components/menubar/menubar-menus.js +1 -1
- package/dist/components/menubar/menubar-root.js +1 -1
- package/dist/components/menubar/menubar-root.vue.d.ts +3 -3
- package/dist/components/menubar/menubar-sub-content.js +1 -1
- package/dist/components/menubar/menubar-sub-content.vue.d.ts +2 -2
- package/dist/components/menubar/menubar-sub-trigger.js +1 -1
- package/dist/components/menubar/menubar-trigger.js +1 -1
- package/dist/components/menubar/menubar-trigger.vue.d.ts +2 -2
- package/dist/components/menubar/types.d.ts +18 -20
- package/dist/components/nav-menu/context.d.ts +9 -0
- package/dist/components/nav-menu/context.js +1 -0
- package/dist/components/nav-menu/index.d.ts +13 -0
- package/dist/components/nav-menu/index.js +1 -0
- package/dist/components/nav-menu/nav-menu-compact.js +1 -0
- package/dist/components/nav-menu/nav-menu-compact.vue.d.ts +23 -0
- package/dist/components/nav-menu/nav-menu-content.js +1 -0
- package/dist/components/nav-menu/nav-menu-content.vue.d.ts +16 -0
- package/dist/components/nav-menu/nav-menu-item.js +1 -0
- package/dist/components/nav-menu/nav-menu-item.vue.d.ts +16 -0
- package/dist/components/nav-menu/nav-menu-link.js +1 -0
- package/dist/components/nav-menu/nav-menu-link.vue.d.ts +28 -0
- package/dist/components/nav-menu/nav-menu-list.js +1 -0
- package/dist/components/nav-menu/nav-menu-list.vue.d.ts +16 -0
- package/dist/components/nav-menu/nav-menu-option-compact.js +1 -0
- package/dist/components/nav-menu/nav-menu-root.js +1 -0
- package/dist/components/nav-menu/nav-menu-root.vue.d.ts +28 -0
- package/dist/components/nav-menu/nav-menu-sub-content.js +1 -0
- package/dist/components/nav-menu/nav-menu-sub-content.vue.d.ts +18 -0
- package/dist/components/nav-menu/nav-menu-sub-option-compact.js +1 -0
- package/dist/components/nav-menu/nav-menu-sub-trigger.js +1 -0
- package/dist/components/nav-menu/nav-menu-sub-trigger.vue.d.ts +20 -0
- package/dist/components/nav-menu/nav-menu-trigger.js +1 -0
- package/dist/components/nav-menu/nav-menu-trigger.vue.d.ts +20 -0
- package/dist/components/nav-menu/nav-menu-viewport.js +1 -0
- package/dist/components/nav-menu/nav-menu-viewport.vue.d.ts +21 -0
- package/dist/components/nav-menu/shared.js +1 -0
- package/dist/components/nav-menu/types.d.ts +219 -0
- package/dist/components/navigation-menu/context.d.ts +2 -2
- package/dist/components/navigation-menu/context.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-compact.js +1 -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-indicator.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-item.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-link.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-option-compact.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-root.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +1 -1
- 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-viewport.js +1 -1
- package/dist/components/navigation-menu/types.d.ts +81 -30
- package/dist/components/page-tabs/context.d.ts +2 -2
- package/dist/components/page-tabs/context.js +1 -1
- package/dist/components/page-tabs/hooks.js +1 -1
- package/dist/components/page-tabs/page-tabs-close.js +1 -1
- package/dist/components/page-tabs/page-tabs-compact.js +1 -1
- package/dist/components/page-tabs/page-tabs-compact.vue.d.ts +3 -3
- package/dist/components/page-tabs/page-tabs-item.js +1 -1
- package/dist/components/page-tabs/page-tabs-item.vue.d.ts +6 -6
- package/dist/components/page-tabs/page-tabs-pin.js +1 -1
- package/dist/components/page-tabs/page-tabs-root.js +1 -1
- package/dist/components/page-tabs/page-tabs-root.vue.d.ts +2 -2
- package/dist/components/page-tabs/types.d.ts +22 -21
- package/dist/components/pagination/context.d.ts +2 -2
- package/dist/components/pagination/context.js +1 -1
- package/dist/components/pagination/pagination-compact.js +1 -1
- package/dist/components/pagination/pagination-ellipsis.js +1 -1
- package/dist/components/pagination/pagination-first.js +1 -1
- package/dist/components/pagination/pagination-last.js +1 -1
- package/dist/components/pagination/pagination-list-item.js +1 -1
- package/dist/components/pagination/pagination-next.js +1 -1
- package/dist/components/pagination/pagination-prev.js +1 -1
- package/dist/components/pagination/pagination-root.js +1 -1
- package/dist/components/pagination/pagination-root.vue.d.ts +2 -2
- package/dist/components/pagination/types.d.ts +15 -16
- package/dist/components/password/context.d.ts +2 -2
- package/dist/components/password/context.js +1 -1
- package/dist/components/password/password-compact.js +1 -1
- package/dist/components/password/types.d.ts +7 -8
- package/dist/components/popconfirm/context.d.ts +2 -2
- package/dist/components/popconfirm/context.js +1 -1
- package/dist/components/popconfirm/index.d.ts +20 -20
- package/dist/components/popconfirm/index.js +1 -1
- package/dist/components/popconfirm/popconfirm-anchor.js +1 -0
- package/dist/components/popconfirm/popconfirm-anchor.vue.d.ts +16 -0
- package/dist/components/popconfirm/popconfirm-cancel.js +1 -1
- package/dist/components/popconfirm/popconfirm-close.js +1 -0
- package/dist/components/popconfirm/popconfirm-close.vue.d.ts +20 -0
- package/dist/components/popconfirm/popconfirm-compact.js +1 -1
- package/dist/components/popconfirm/popconfirm-compact.vue.d.ts +5 -2
- package/dist/components/popconfirm/popconfirm-confirm.js +1 -1
- package/dist/components/popconfirm/popconfirm-popup.js +1 -0
- package/dist/components/popconfirm/popconfirm-popup.vue.d.ts +16 -0
- package/dist/components/popconfirm/popconfirm-positioner.js +1 -0
- package/dist/components/popconfirm/popconfirm-positioner.vue.d.ts +37 -0
- package/dist/components/popconfirm/popconfirm-root.js +1 -0
- package/dist/components/popconfirm/popconfirm-root.vue.d.ts +28 -0
- package/dist/components/popconfirm/popconfirm-trigger.js +1 -0
- package/dist/components/popconfirm/popconfirm-trigger.vue.d.ts +16 -0
- package/dist/components/popconfirm/shared.js +1 -0
- package/dist/components/popconfirm/types.d.ts +64 -25
- package/dist/components/popover/context.d.ts +2 -3
- package/dist/components/popover/context.js +1 -1
- package/dist/components/popover/index.d.ts +6 -6
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/popover-anchor.js +1 -1
- package/dist/components/popover/popover-close.js +1 -1
- package/dist/components/popover/popover-compact.js +1 -1
- package/dist/components/popover/popover-compact.vue.d.ts +2 -0
- package/dist/components/popover/popover-popup.js +1 -1
- package/dist/components/popover/popover-positioner.js +1 -1
- package/dist/components/popover/popover-positioner.vue.d.ts +5 -6
- package/dist/components/popover/popover-root.js +1 -1
- package/dist/components/popover/popover-root.vue.d.ts +9 -5
- package/dist/components/popover/popover-trigger.js +1 -1
- package/dist/components/popover/popover-trigger.vue.d.ts +2 -2
- package/dist/components/popover/types.d.ts +17 -29
- package/dist/components/popper/context.d.ts +8 -5
- package/dist/components/popper/context.js +1 -1
- package/dist/components/popper/index.d.ts +17 -6
- package/dist/components/popper/index.js +1 -1
- package/dist/components/popper/popper-anchor.js +1 -1
- package/dist/components/popper/popper-arrow.js +1 -1
- package/dist/components/popper/popper-compact.js +1 -0
- package/dist/components/popper/popper-compact.vue.d.ts +40 -0
- package/dist/components/popper/popper-popup.js +1 -1
- package/dist/components/popper/popper-portal.js +1 -0
- package/dist/components/popper/popper-portal.vue.d.ts +16 -0
- package/dist/components/popper/popper-positioner-impl.js +1 -0
- package/dist/components/popper/popper-positioner-impl.vue.d.ts +247 -0
- package/dist/components/popper/popper-positioner.js +1 -1
- package/dist/components/popper/popper-positioner.vue.d.ts +15 -209
- package/dist/components/popper/popper-positioning-popup.js +1 -0
- package/dist/components/popper/popper-positioning-popup.vue.d.ts +16 -0
- package/dist/components/popper/popper-positioning-positioner.js +1 -0
- package/dist/components/popper/popper-positioning-positioner.vue.d.ts +231 -0
- package/dist/components/popper/popper-positioning-root.js +1 -0
- package/dist/components/popper/popper-positioning-root.vue.d.ts +16 -0
- package/dist/components/popper/popper-root.js +1 -1
- package/dist/components/popper/popper-root.vue.d.ts +12 -6
- package/dist/components/popper/popper-sub-trigger.js +1 -0
- package/dist/components/popper/popper-sub-trigger.vue.d.ts +22 -0
- package/dist/components/popper/popper-sub.js +1 -0
- package/dist/components/popper/popper-sub.vue.d.ts +21 -0
- package/dist/components/popper/popper-trigger.js +1 -0
- package/dist/components/popper/popper-trigger.vue.d.ts +23 -0
- package/dist/components/popper/shared.d.ts +10 -0
- package/dist/components/popper/shared.js +1 -1
- package/dist/components/popper/types.d.ts +357 -30
- package/dist/components/popper/use-popper-dismiss.js +1 -0
- package/dist/components/popper/use-popper-nesting.js +1 -0
- package/dist/components/popper/use-popper-positioning.js +1 -0
- package/dist/components/popper/use-popper-trigger.js +1 -0
- package/dist/components/popper/use-virtual-point-reference.d.ts +28 -0
- package/dist/components/popper/use-virtual-point-reference.js +1 -0
- package/dist/components/portal/types.d.ts +2 -3
- package/dist/components/primitive/primitive.d.ts +2 -3
- package/dist/components/primitive/primitive.js +1 -1
- package/dist/components/primitive/types.d.ts +4 -5
- package/dist/components/progress/context.d.ts +2 -2
- package/dist/components/progress/context.js +1 -1
- package/dist/components/progress/progress-circle-compact.js +1 -1
- package/dist/components/progress/progress-compact.js +1 -1
- package/dist/components/progress/progress-indicator.js +1 -1
- package/dist/components/progress/progress-provider.js +1 -1
- package/dist/components/progress/progress-root.js +1 -1
- package/dist/components/progress/shared.js +1 -1
- package/dist/components/progress/state.d.ts +2 -3
- package/dist/components/progress/state.js +1 -1
- package/dist/components/progress/types.d.ts +18 -19
- package/dist/components/radio-group/context.d.ts +2 -2
- package/dist/components/radio-group/context.js +1 -1
- package/dist/components/radio-group/radio-group-card-compact.js +1 -1
- package/dist/components/radio-group/radio-group-compact.js +1 -1
- package/dist/components/radio-group/radio-group-control.js +1 -1
- package/dist/components/radio-group/radio-group-control.vue.d.ts +2 -2
- package/dist/components/radio-group/radio-group-indicator.js +1 -1
- package/dist/components/radio-group/radio-group-item.js +1 -1
- package/dist/components/radio-group/radio-group-label.js +1 -1
- package/dist/components/radio-group/radio-group-root.js +1 -1
- package/dist/components/radio-group/types.d.ts +19 -19
- package/dist/components/rating/context.js +1 -1
- package/dist/components/rating/rating-item.js +1 -1
- package/dist/components/rating/rating-root.js +1 -1
- package/dist/components/rating/rating-root.vue.d.ts +3 -3
- package/dist/components/rating/shared.js +1 -1
- package/dist/components/rating/types.d.ts +8 -9
- package/dist/components/scroll-area/context.d.ts +2 -2
- package/dist/components/scroll-area/context.js +1 -1
- package/dist/components/scroll-area/scroll-area-compact.js +1 -1
- package/dist/components/scroll-area/scroll-area-corner.js +1 -1
- package/dist/components/scroll-area/scroll-area-root.js +1 -1
- package/dist/components/scroll-area/scroll-area-scrollbar.js +1 -1
- package/dist/components/scroll-area/scroll-area-thumb.js +1 -1
- package/dist/components/scroll-area/scroll-area-viewport.js +1 -1
- package/dist/components/scroll-area/types.d.ts +15 -16
- package/dist/components/segment/context.d.ts +9 -0
- package/dist/components/segment/context.js +1 -0
- package/dist/components/segment/index.d.ts +8 -8
- package/dist/components/segment/index.js +1 -1
- package/dist/components/segment/segment-compact.js +1 -1
- package/dist/components/segment/segment-indicator.js +1 -0
- package/dist/components/segment/segment-indicator.vue.d.ts +16 -0
- package/dist/components/segment/segment-list.js +1 -0
- package/dist/components/segment/segment-list.vue.d.ts +16 -0
- package/dist/components/segment/segment-root.js +1 -0
- package/dist/components/segment/segment-root.vue.d.ts +25 -0
- package/dist/components/segment/segment-trigger.js +1 -0
- package/dist/components/segment/segment-trigger.vue.d.ts +18 -0
- package/dist/components/segment/types.d.ts +30 -10
- package/dist/components/select/context.d.ts +2 -2
- package/dist/components/select/context.js +1 -1
- package/dist/components/select/index.d.ts +20 -19
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/select-arrow.js +1 -1
- package/dist/components/select/select-bubble-select.js +1 -1
- package/dist/components/select/select-clear.js +1 -0
- package/dist/components/select/select-clear.vue.d.ts +16 -0
- package/dist/components/select/select-compact.js +1 -1
- package/dist/components/select/select-content-impl.js +1 -1
- package/dist/components/select/select-content.js +1 -1
- package/dist/components/select/select-item-aligned-popup.js +1 -1
- package/dist/components/select/select-item-aligned-positioner.js +1 -1
- package/dist/components/select/select-item-indicator.js +1 -1
- package/dist/components/select/select-item-text.js +1 -1
- package/dist/components/select/select-item.js +1 -1
- package/dist/components/select/select-popper-popup.js +1 -1
- package/dist/components/select/select-root.js +1 -1
- package/dist/components/select/select-scroll-button-impl.js +1 -1
- package/dist/components/select/select-scroll-down-button.js +1 -1
- package/dist/components/select/select-scroll-up-button.js +1 -1
- package/dist/components/select/select-trigger.js +1 -1
- package/dist/components/select/select-value.js +1 -1
- package/dist/components/select/select-viewport.js +1 -1
- package/dist/components/select/shared.js +1 -1
- package/dist/components/select/types.d.ts +58 -37
- package/dist/components/separator/context.d.ts +2 -2
- package/dist/components/separator/context.js +1 -1
- package/dist/components/separator/separator-compact.js +1 -1
- package/dist/components/separator/types.d.ts +7 -8
- package/dist/components/skeleton/skeleton.js +1 -1
- package/dist/components/skeleton/types.d.ts +2 -3
- package/dist/components/slider/context.d.ts +2 -2
- package/dist/components/slider/context.js +1 -1
- package/dist/components/slider/shared.js +1 -1
- package/dist/components/slider/slider-compact.js +1 -1
- package/dist/components/slider/slider-range.js +1 -1
- package/dist/components/slider/slider-root.js +1 -1
- package/dist/components/slider/slider-root.vue.d.ts +4 -4
- package/dist/components/slider/slider-thumb.js +1 -1
- package/dist/components/slider/slider-track.js +1 -1
- package/dist/components/slider/types.d.ts +16 -17
- package/dist/components/slot/slot.d.ts +2 -3
- package/dist/components/slot/slot.js +1 -1
- package/dist/components/split-nav/context.d.ts +9 -0
- package/dist/components/split-nav/context.js +1 -0
- package/dist/components/split-nav/dual-vertical-pane.js +1 -0
- package/dist/components/split-nav/first-level-item.js +1 -0
- package/dist/components/split-nav/first-level-menu.js +1 -0
- package/dist/components/split-nav/hooks.js +1 -0
- package/dist/components/split-nav/horizontal-dual-vertical-menu.js +1 -0
- package/dist/components/split-nav/horizontal-first-level-menu.js +1 -0
- package/dist/components/split-nav/horizontal-vertical-menu.js +1 -0
- package/dist/components/split-nav/index.d.ts +4 -0
- package/dist/components/split-nav/index.js +1 -0
- package/dist/components/split-nav/shared.js +1 -0
- package/dist/components/split-nav/split-nav-root.js +1 -0
- package/dist/components/split-nav/split-nav-root.vue.d.ts +22 -0
- package/dist/components/split-nav/types.d.ts +187 -0
- package/dist/components/split-nav/vertical-first-level-menu.js +1 -0
- package/dist/components/split-nav/vertical-horizontal-menu.js +1 -0
- package/dist/components/splitter/context.d.ts +2 -2
- package/dist/components/splitter/context.js +1 -1
- package/dist/components/splitter/shared.js +1 -1
- package/dist/components/splitter/splitter-group.js +1 -1
- package/dist/components/splitter/splitter-panel.js +1 -1
- package/dist/components/splitter/splitter-resize-handle.js +1 -1
- package/dist/components/splitter/splitter-resize-handle.vue.d.ts +1 -1
- package/dist/components/splitter/types.d.ts +13 -14
- package/dist/components/stepper/context.d.ts +2 -2
- package/dist/components/stepper/context.js +1 -1
- package/dist/components/stepper/stepper-compact.js +1 -1
- package/dist/components/stepper/stepper-description.js +1 -1
- package/dist/components/stepper/stepper-indicator.js +1 -1
- package/dist/components/stepper/stepper-item.js +1 -1
- package/dist/components/stepper/stepper-root.js +1 -1
- package/dist/components/stepper/stepper-root.vue.d.ts +1 -1
- package/dist/components/stepper/stepper-separator.js +1 -1
- package/dist/components/stepper/stepper-title.js +1 -1
- package/dist/components/stepper/stepper-trigger.js +1 -1
- package/dist/components/stepper/types.d.ts +16 -17
- package/dist/components/switch/context.d.ts +2 -2
- package/dist/components/switch/context.js +1 -1
- package/dist/components/switch/switch-compact.js +1 -1
- package/dist/components/switch/switch-control.js +1 -1
- package/dist/components/switch/switch-root.js +1 -1
- package/dist/components/switch/switch-thumb.js +1 -1
- package/dist/components/switch/types.d.ts +12 -13
- package/dist/components/table/context.d.ts +2 -2
- package/dist/components/table/context.js +1 -1
- package/dist/components/table/hooks.js +1 -1
- package/dist/components/table/shared.d.ts +28 -29
- package/dist/components/table/shared.js +1 -1
- 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-row.js +1 -1
- package/dist/components/table/table-compact.js +1 -1
- package/dist/components/table/types.d.ts +64 -65
- package/dist/components/tabs/context.d.ts +2 -2
- package/dist/components/tabs/context.js +1 -1
- package/dist/components/tabs/tabs-compact.js +1 -1
- package/dist/components/tabs/tabs-content.js +1 -1
- package/dist/components/tabs/tabs-content.vue.d.ts +1 -1
- package/dist/components/tabs/tabs-indicator.js +1 -1
- package/dist/components/tabs/tabs-list.js +1 -1
- package/dist/components/tabs/tabs-list.vue.d.ts +2 -2
- package/dist/components/tabs/tabs-root.js +1 -1
- package/dist/components/tabs/tabs-root.vue.d.ts +2 -2
- package/dist/components/tabs/tabs-trigger.js +1 -1
- package/dist/components/tabs/tabs-trigger.vue.d.ts +3 -3
- package/dist/components/tabs/types.d.ts +18 -18
- package/dist/components/tag/tag.js +1 -1
- package/dist/components/tag/types.d.ts +3 -4
- package/dist/components/tags-input/context.d.ts +2 -2
- package/dist/components/tags-input/context.js +1 -1
- package/dist/components/tags-input/tags-input-clear.js +1 -1
- package/dist/components/tags-input/tags-input-compact.js +1 -1
- package/dist/components/tags-input/tags-input-compact.vue.d.ts +2 -2
- package/dist/components/tags-input/tags-input-control.js +1 -1
- package/dist/components/tags-input/tags-input-item-delete.js +1 -1
- package/dist/components/tags-input/tags-input-item-text.js +1 -1
- package/dist/components/tags-input/tags-input-item.js +1 -1
- package/dist/components/tags-input/tags-input-root.js +1 -1
- package/dist/components/tags-input/tags-input-root.vue.d.ts +3 -3
- package/dist/components/tags-input/types.d.ts +15 -16
- package/dist/components/textarea/context.d.ts +2 -2
- package/dist/components/textarea/context.js +1 -1
- package/dist/components/textarea/textarea-clear.js +1 -1
- package/dist/components/textarea/textarea-compact.js +1 -1
- package/dist/components/textarea/textarea-root.js +1 -1
- package/dist/components/textarea/types.d.ts +15 -16
- package/dist/components/time-field/context.d.ts +2 -2
- package/dist/components/time-field/context.js +1 -1
- package/dist/components/time-field/time-field-compact.js +1 -1
- package/dist/components/time-field/time-field-input.js +1 -1
- package/dist/components/time-field/time-field-root.js +1 -1
- package/dist/components/time-field/time-field-root.vue.d.ts +1 -1
- package/dist/components/time-field/types.d.ts +10 -10
- package/dist/components/time-range-field/context.d.ts +2 -2
- package/dist/components/time-range-field/context.js +1 -1
- package/dist/components/time-range-field/time-range-field-compact.js +1 -1
- package/dist/components/time-range-field/time-range-field-input.js +1 -1
- 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 +1 -1
- package/dist/components/time-range-field/types.d.ts +11 -12
- package/dist/components/toast/context.d.ts +2 -2
- package/dist/components/toast/context.js +1 -1
- package/dist/components/toast/shared.js +1 -1
- package/dist/components/toast/state.d.ts +2 -3
- package/dist/components/toast/state.js +1 -1
- 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 -1
- package/dist/components/toast/types.d.ts +18 -19
- package/dist/components/toggle/toggle.js +1 -1
- package/dist/components/toggle/types.d.ts +4 -5
- package/dist/components/toggle-group/context.d.ts +2 -2
- package/dist/components/toggle-group/context.js +1 -1
- package/dist/components/toggle-group/toggle-group-item.js +1 -1
- package/dist/components/toggle-group/toggle-group-root.js +1 -1
- package/dist/components/toggle-group/types.d.ts +6 -7
- package/dist/components/toolbar/context.d.ts +2 -2
- package/dist/components/toolbar/context.js +1 -1
- package/dist/components/toolbar/toolbar-button.js +1 -1
- package/dist/components/toolbar/toolbar-button.vue.d.ts +2 -2
- package/dist/components/toolbar/toolbar-link.js +1 -1
- package/dist/components/toolbar/toolbar-link.vue.d.ts +2 -2
- package/dist/components/toolbar/toolbar-root.js +1 -1
- package/dist/components/toolbar/toolbar-root.vue.d.ts +2 -2
- package/dist/components/toolbar/toolbar-separator.js +1 -1
- package/dist/components/toolbar/toolbar-toggle-group.js +1 -1
- package/dist/components/toolbar/toolbar-toggle-item.js +1 -1
- package/dist/components/toolbar/types.d.ts +13 -14
- package/dist/components/tooltip/context.d.ts +10 -0
- package/dist/components/tooltip/context.js +1 -1
- package/dist/components/tooltip/index.d.ts +9 -8
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooltip/shared.js +1 -1
- package/dist/components/tooltip/tooltip-compact.js +1 -1
- package/dist/components/tooltip/tooltip-compact.vue.d.ts +14 -3
- package/dist/components/tooltip/tooltip-popup.js +1 -1
- package/dist/components/tooltip/tooltip-positioner.js +1 -1
- package/dist/components/tooltip/tooltip-positioner.vue.d.ts +12 -1
- package/dist/components/tooltip/tooltip-provider.js +1 -0
- package/dist/components/tooltip/tooltip-provider.vue.d.ts +16 -0
- package/dist/components/tooltip/tooltip-root.js +1 -1
- package/dist/components/tooltip/tooltip-root.vue.d.ts +10 -4
- package/dist/components/tooltip/tooltip-trigger.js +1 -1
- package/dist/components/tooltip/tooltip-trigger.vue.d.ts +2 -2
- package/dist/components/tooltip/types.d.ts +25 -19
- package/dist/components/tree/context.js +1 -1
- package/dist/components/tree/hooks.js +1 -1
- package/dist/components/tree/tree-item.js +1 -1
- package/dist/components/tree/tree-item.vue.d.ts +2 -2
- package/dist/components/tree/tree-root.js +1 -1
- package/dist/components/tree/tree-virtualizer-item.js +1 -1
- package/dist/components/tree/tree-virtualizer-root.js +1 -1
- package/dist/components/tree/tree-virtualizer-root.vue.d.ts +3 -3
- package/dist/components/tree/types.d.ts +14 -15
- package/dist/components/tree-menu/context.d.ts +12 -5
- package/dist/components/tree-menu/context.js +1 -1
- package/dist/components/tree-menu/shared.js +1 -1
- package/dist/components/tree-menu/tree-menu-button.js +1 -1
- package/dist/components/tree-menu/tree-menu-collapsible.js +1 -1
- package/dist/components/tree-menu/tree-menu-compact.js +1 -1
- package/dist/components/tree-menu/tree-menu-compact.vue.d.ts +2 -2
- package/dist/components/tree-menu/tree-menu-group.js +1 -1
- package/dist/components/tree-menu/tree-menu-item.js +1 -1
- package/dist/components/tree-menu/tree-menu-option-compact.js +1 -1
- package/dist/components/tree-menu/tree-menu-options-compact.js +1 -1
- package/dist/components/tree-menu/tree-menu-root.js +1 -1
- package/dist/components/tree-menu/tree-menu-root.vue.d.ts +5 -5
- package/dist/components/tree-menu/tree-menu-slot-compact.js +1 -1
- package/dist/components/tree-menu/tree-menu-sub.js +1 -1
- package/dist/components/tree-menu/tree-menu-tooltip-compact.js +1 -1
- package/dist/components/tree-menu/types.d.ts +46 -36
- package/dist/components/tree-nav/context.d.ts +68 -0
- package/dist/components/tree-nav/context.js +1 -0
- package/dist/components/tree-nav/index.d.ts +8 -0
- package/dist/components/tree-nav/index.js +1 -0
- package/dist/components/tree-nav/shared.js +1 -0
- package/dist/components/tree-nav/tree-nav-compact.js +1 -0
- package/dist/components/tree-nav/tree-nav-compact.vue.d.ts +19 -0
- package/dist/components/tree-nav/tree-nav-option-compact.js +1 -0
- package/dist/components/tree-nav/tree-nav-option-compact.vue.d.ts +15 -0
- package/dist/components/tree-nav/tree-nav-options-compact.js +1 -0
- package/dist/components/tree-nav/tree-nav-options-compact.vue.d.ts +15 -0
- package/dist/components/tree-nav/tree-nav-overflow.js +1 -0
- package/dist/components/tree-nav/tree-nav-overflow.vue.d.ts +16 -0
- package/dist/components/tree-nav/tree-nav-root.js +1 -0
- package/dist/components/tree-nav/tree-nav-root.vue.d.ts +23 -0
- package/dist/components/tree-nav/types.d.ts +299 -0
- package/dist/components/virtualizer/context.js +1 -1
- package/dist/components/virtualizer/types.d.ts +5 -5
- package/dist/components/virtualizer/virtualizer-content.js +1 -1
- package/dist/components/virtualizer/virtualizer-item.js +1 -1
- package/dist/components/virtualizer/virtualizer-root.js +1 -1
- package/dist/components/visually-hidden/types.d.ts +4 -5
- package/dist/components/visually-hidden/visually-hidden-input-bubble.js +1 -1
- package/dist/components/visually-hidden/visually-hidden-input.js +1 -1
- package/dist/components/visually-hidden/visually-hidden-input.vue.d.ts +1 -1
- package/dist/components/visually-hidden/visually-hidden.js +1 -1
- package/dist/components/watermark/context.d.ts +2 -2
- package/dist/components/watermark/context.js +1 -1
- package/dist/components/watermark/shared.js +1 -1
- package/dist/components/watermark/types.d.ts +6 -7
- package/dist/components/watermark/watermark-compact.js +1 -1
- package/dist/components/watermark/watermark-overlay.js +1 -1
- package/dist/components/watermark/watermark-root.js +1 -1
- package/dist/composables/index.d.ts +4 -3
- package/dist/composables/index.js +1 -1
- package/dist/composables/use-arrow-navigation.d.ts +2 -3
- package/dist/composables/use-body-scroll-lock.d.ts +2 -3
- package/dist/composables/use-body-scroll-lock.js +2 -2
- package/dist/composables/use-bool-prop.d.ts +2 -3
- package/dist/composables/use-collection.d.ts +5 -5
- package/dist/composables/use-collection.js +1 -1
- package/dist/composables/use-context.d.ts +25 -2
- package/dist/composables/use-context.js +1 -1
- package/dist/composables/use-controllable-state.d.ts +2 -3
- package/dist/composables/use-controllable-state.js +1 -1
- package/dist/composables/use-dismissable-layer.d.ts +6 -7
- package/dist/composables/use-dismissable-layer.js +1 -1
- package/dist/composables/use-escape-key-down.d.ts +2 -3
- package/dist/composables/use-exposed-element.d.ts +2 -3
- package/dist/composables/use-floating.d.ts +4 -5
- package/dist/composables/use-floating.js +1 -1
- package/dist/composables/use-focus-guards.d.ts +3 -3
- package/dist/composables/use-focus-guards.js +1 -1
- package/dist/composables/use-focus-scope.d.ts +3 -4
- package/dist/composables/use-focus-scope.js +1 -1
- package/dist/composables/use-forward-element.d.ts +2 -3
- package/dist/composables/use-forward-element.js +1 -1
- package/dist/composables/use-forward-listeners.d.ts +2 -3
- package/dist/composables/use-fuse.d.ts +19 -10
- package/dist/composables/use-fuse.js +1 -1
- package/dist/composables/use-grace-area.d.ts +3 -4
- package/dist/composables/use-grace-area.js +1 -1
- package/dist/composables/use-hide-others.d.ts +27 -8
- package/dist/composables/use-hide-others.js +1 -1
- package/dist/composables/use-image-loading-status.d.ts +2 -3
- package/dist/composables/use-image-loading-status.js +1 -1
- package/dist/composables/use-is-using-keyboard.d.ts +2 -3
- package/dist/composables/use-is-using-keyboard.js +1 -1
- package/dist/composables/use-kbd.d.ts +3 -4
- package/dist/composables/use-popup-events.d.ts +3 -5
- package/dist/composables/use-popup-events.js +1 -1
- package/dist/composables/use-presence.d.ts +2 -3
- package/dist/composables/use-props.d.ts +3 -4
- package/dist/composables/use-props.js +1 -1
- package/dist/composables/use-roving-focus.d.ts +79 -0
- package/dist/composables/use-roving-focus.js +1 -0
- package/dist/composables/use-selection.d.ts +2 -3
- package/dist/composables/use-selection.js +1 -1
- package/dist/composables/use-state-machine.d.ts +2 -3
- package/dist/composables/use-typeahead.d.ts +3 -4
- package/dist/composables/use-typeahead.js +1 -1
- package/dist/composables/use-ui-context.d.ts +3 -4
- package/dist/constants/attr.d.ts +11 -4
- package/dist/constants/attr.js +1 -1
- package/dist/constants/common.d.ts +6 -7
- package/dist/constants/components.d.ts +5 -4
- package/dist/constants/components.js +1 -1
- package/dist/constants/index.d.ts +2 -2
- package/dist/constants/index.js +1 -1
- package/dist/constants/regexp.d.ts +4 -5
- package/dist/date/calendar.d.ts +18 -19
- package/dist/date/calendar.js +1 -1
- package/dist/date/comparators.d.ts +26 -27
- package/dist/date/formatter.d.ts +4 -5
- package/dist/date/parser.d.ts +5 -6
- package/dist/date/parts.d.ts +11 -12
- package/dist/date/placeholders.d.ts +2 -3
- package/dist/date/segment.d.ts +5 -6
- package/dist/date/types.d.ts +28 -28
- package/dist/date/use-date-field.d.ts +3 -4
- package/dist/date/use-date-field.js +1 -1
- package/dist/date/utils.d.ts +10 -11
- package/dist/date/utils.js +1 -1
- package/dist/index.d.ts +429 -359
- package/dist/index.js +1 -1
- package/dist/locale/hooks.d.ts +2 -3
- package/dist/locale/hooks.js +1 -1
- package/dist/locale/langs/ar.js +1 -1
- package/dist/locale/langs/de.js +1 -1
- package/dist/locale/langs/en.js +1 -1
- package/dist/locale/langs/es.js +1 -1
- package/dist/locale/langs/fr.js +1 -1
- package/dist/locale/langs/id.js +1 -1
- package/dist/locale/langs/ja.js +1 -1
- package/dist/locale/langs/ko.js +1 -1
- package/dist/locale/langs/pt-BR.js +1 -1
- package/dist/locale/langs/ru.js +1 -1
- package/dist/locale/langs/tr.js +1 -1
- package/dist/locale/langs/zh-CN.js +1 -1
- package/dist/locale/langs/zh-TW.js +1 -1
- package/dist/locale/locales.d.ts +5 -5
- package/dist/locale/types.d.ts +45 -37
- package/dist/namespaced/index.d.ts +1205 -1118
- package/dist/namespaced/index.js +1 -1
- package/dist/nuxt/index.d.ts +2 -2
- package/dist/nuxt/index.js +1 -1
- package/dist/resolver/index.d.ts +2 -2
- package/dist/resolver/index.js +1 -1
- package/dist/shared/array.d.ts +4 -0
- package/dist/shared/array.js +1 -0
- package/dist/shared/color.d.ts +23 -24
- package/dist/shared/color.js +1 -1
- package/dist/shared/comparison.d.ts +2 -3
- package/dist/shared/dom.d.ts +7 -8
- package/dist/shared/dom.js +1 -1
- package/dist/shared/env.d.ts +11 -6
- package/dist/shared/env.js +1 -1
- package/dist/shared/event.d.ts +3 -4
- package/dist/shared/focus.d.ts +9 -10
- package/dist/shared/form.d.ts +6 -7
- package/dist/shared/fuzzy.d.ts +20 -0
- package/dist/shared/fuzzy.js +1 -0
- package/dist/shared/geometry.d.ts +8 -9
- package/dist/shared/guard.d.ts +13 -14
- package/dist/shared/index.d.ts +9 -5
- package/dist/shared/index.js +1 -1
- package/dist/shared/mark-others.d.ts +52 -0
- package/dist/shared/mark-others.js +1 -0
- package/dist/shared/object.d.ts +38 -18
- package/dist/shared/object.js +1 -1
- package/dist/shared/string.d.ts +17 -5
- package/dist/shared/string.js +1 -1
- package/dist/shared/time-picker.d.ts +9 -10
- package/dist/shared/time-picker.js +1 -1
- package/dist/shared/tree-navigation.d.ts +59 -0
- package/dist/shared/tree-navigation.js +1 -0
- package/dist/shared/tree.d.ts +2 -3
- package/dist/shared/value.d.ts +11 -12
- package/dist/shared/vue.d.ts +23 -10
- package/dist/shared/vue.js +1 -1
- package/dist/types/color.d.ts +8 -9
- package/dist/types/common.d.ts +31 -32
- package/dist/types/component.d.ts +8 -9
- package/dist/types/dom.d.ts +4 -5
- package/dist/types/event.d.ts +7 -8
- package/dist/types/index.d.ts +2 -2
- package/dist/types/path.d.ts +6 -7
- package/dist/types/vue.d.ts +7 -8
- package/package.json +16 -32
- package/dist/_virtual/_@oxc-project_runtime@0.143.0/helpers/esm/defineProperty.js +0 -1
- package/dist/_virtual/_@oxc-project_runtime@0.143.0/helpers/esm/toPrimitive.js +0 -1
- package/dist/_virtual/_@oxc-project_runtime@0.143.0/helpers/esm/toPropertyKey.js +0 -1
- package/dist/_virtual/_@oxc-project_runtime@0.143.0/helpers/esm/typeof.js +0 -1
- package/dist/components/dropdown-menu/shared.js +0 -1
- package/dist/components/hover-card/hover-card-positioner-impl.js +0 -1
- package/dist/components/popover/popover-positioner-impl.js +0 -1
- package/dist/components/roving-focus/context.js +0 -1
- package/dist/components/roving-focus/index.d.ts +0 -4
- package/dist/components/roving-focus/index.js +0 -1
- package/dist/components/roving-focus/roving-focus-group.js +0 -1
- package/dist/components/roving-focus/roving-focus-group.vue.d.ts +0 -32
- package/dist/components/roving-focus/roving-focus-item.js +0 -1
- package/dist/components/roving-focus/roving-focus-item.vue.d.ts +0 -18
- package/dist/components/roving-focus/types.d.ts +0 -65
- package/dist/components/tooltip/tooltip-positioner-impl.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{interpolate as e}from"../../shared/string.js";import{useLocaleMessages as t}from"../../locale/hooks.js";import
|
|
1
|
+
import{interpolate as e}from"../../shared/string.js";import{useLocaleMessages as t}from"../../locale/hooks.js";import{useOmitProps as n}from"../../composables/use-props.js";import r from"../button/button.js";import{usePaginationRootContext as i,usePaginationUi as a}from"./context.js";import{computed as o,createBlock as s,createTextVNode as c,defineComponent as l,mergeProps as u,openBlock as d,renderSlot as f,toDisplayString as p,unref as m,withCtx as h}from"vue";const g=l({name:`PaginationListItem`,__name:`pagination-list-item`,props:{value:{},type:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(l){let g=l,_=n(g,[`value`]),{page:v,onPageChange:y,disabled:b}=i(`PaginationListItem`),x=a(`listItem`),S=t(),C=o(()=>v.value===g.value),w=o(()=>e(S.value.pagination.pageLabel,{value:String(g.value)})),T=()=>{y(g.value)};return(e,t)=>(d(),s(r,u(m(_),{"data-soybean-pagination-list-item":``,class:m(x),"data-type":`page`,"aria-label":w.value,"aria-current":C.value?`page`:void 0,"data-selected":C.value?``:void 0,disabled:m(b),onClick:T}),{default:h(()=>[f(e.$slots,`default`,{},()=>[c(p(l.value),1)])]),_:3},16,[`class`,`aria-label`,`aria-current`,`data-selected`,`disabled`]))}});export{g as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useLocaleMessages as e}from"../../locale/hooks.js";import
|
|
1
|
+
import{useLocaleMessages as e}from"../../locale/hooks.js";import t from"../button/button.js";import{usePaginationRootContext as n,usePaginationUi as r}from"./context.js";import{computed as i,createBlock as a,createTextVNode as o,defineComponent as s,mergeProps as c,openBlock as l,renderSlot as u,toDisplayString as d,unref as f,withCtx as p}from"vue";const m=s({name:`PaginationNext`,__name:`pagination-next`,props:{type:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(s){let m=s,{page:h,onPageChange:g,pageCount:_,disabled:v}=n(`PaginationNext`),y=r(`next`),b=e(),x=i(()=>v.value||h.value===_.value),S=()=>{g(h.value+1)};return(e,n)=>(l(),a(t,c(m,{"data-soybean-pagination-next":``,"data-soybean-pagination-action":``,class:f(y),disabled:x.value,"aria-label":f(b).pagination.nextPage,onClick:S}),{default:p(()=>[u(e.$slots,`default`,{},()=>[o(d(f(b).pagination.nextPage),1)])]),_:3},16,[`class`,`disabled`,`aria-label`]))}});export{m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useLocaleMessages as e}from"../../locale/hooks.js";import
|
|
1
|
+
import{useLocaleMessages as e}from"../../locale/hooks.js";import t from"../button/button.js";import{usePaginationRootContext as n,usePaginationUi as r}from"./context.js";import{computed as i,createBlock as a,createTextVNode as o,defineComponent as s,mergeProps as c,openBlock as l,renderSlot as u,toDisplayString as d,unref as f,withCtx as p}from"vue";const m=s({name:`PaginationPrev`,__name:`pagination-prev`,props:{type:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(s){let m=s,{page:h,onPageChange:g,disabled:_}=n(`PaginationPrev`),v=r(`prev`),y=e(),b=i(()=>_.value||h.value===1),x=()=>{g(h.value-1)};return(e,n)=>(l(),a(t,c(m,{"data-soybean-pagination-prev":``,"data-soybean-pagination-action":``,class:f(v),disabled:b.value,"aria-label":f(y).pagination.prevPage,onClick:x}),{default:p(()=>[u(e.$slots,`default`,{},()=>[o(d(f(y).pagination.prevPage),1)])]),_:3},16,[`class`,`disabled`,`aria-label`]))}});export{m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{toContext as e}from"../../shared/vue.js";import{useControllableState as t}from"../../composables/use-controllable-state.js";import{providePaginationRootContext as n,usePaginationUi as r}from"./context.js";import{createElementBlock as i,defineComponent as a,normalizeClass as o,openBlock as s,renderSlot as c,unref as l}from"vue";const u=a({name:`PaginationRoot`,__name:`pagination-root`,props:{page:{},defaultPage:{default:1},pageSize:{},defaultPageSize:{default:10},total:{default:0},siblingCount:{default:2},disabled:{type:Boolean},showEdges:{type:Boolean,default:!1}},emits:[`update:page`,`update:pageSize`],setup(a,{emit:u}){let d=a,f=u,p=r(`root`),m=t(()=>d.page,e=>{f(`update:page`,e)},d.defaultPage),h=t(()=>d.pageSize,e=>{f(`update:pageSize`,e)},d.defaultPageSize),{pageCount:g}=n({...e(d,[`total`,`siblingCount`,`disabled`,`showEdges`]),page:m,pageSize:h});return(e,t)=>(s(),i(`nav`,{"data-soybean-pagination-root":``,class:o(l(p))},[c(e.$slots,`default`,{page:l(m),pageCount:l(g)})],2))}});export{u as default};
|
|
@@ -14,11 +14,11 @@ declare const __VLS_base: import("vue").DefineComponent<PaginationRootProps, {},
|
|
|
14
14
|
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
15
15
|
"onUpdate:pageSize"?: ((value: number) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
|
+
defaultPage: number;
|
|
18
|
+
defaultPageSize: number;
|
|
17
19
|
total: number;
|
|
18
20
|
siblingCount: number;
|
|
19
21
|
showEdges: boolean;
|
|
20
|
-
defaultPage: number;
|
|
21
|
-
defaultPageSize: number;
|
|
22
22
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
23
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
24
24
|
declare const _default: typeof __VLS_export;
|
|
@@ -7,7 +7,7 @@ import { ShallowRef } from "vue";
|
|
|
7
7
|
/**
|
|
8
8
|
* Properties for the PaginationRoot component.
|
|
9
9
|
*/
|
|
10
|
-
interface PaginationRootProps extends BaseProps {
|
|
10
|
+
export interface PaginationRootProps extends BaseProps {
|
|
11
11
|
/** The controlled value of the current page. Can be bound as `v-model:page`. */
|
|
12
12
|
page?: number;
|
|
13
13
|
/**
|
|
@@ -35,7 +35,7 @@ interface PaginationRootProps extends BaseProps {
|
|
|
35
35
|
/**
|
|
36
36
|
* Events for the PaginationRoot component.
|
|
37
37
|
*/
|
|
38
|
-
type PaginationRootEmits = {
|
|
38
|
+
export type PaginationRootEmits = {
|
|
39
39
|
/** Event handler called when the page value changes */
|
|
40
40
|
'update:page': [value: number];
|
|
41
41
|
/** Event handler called when the page size value changes */
|
|
@@ -44,26 +44,26 @@ type PaginationRootEmits = {
|
|
|
44
44
|
/**
|
|
45
45
|
* Properties for the PaginationList component.
|
|
46
46
|
*/
|
|
47
|
-
interface PaginationListProps extends BaseProps {}
|
|
47
|
+
export interface PaginationListProps extends BaseProps {}
|
|
48
48
|
/**
|
|
49
49
|
* Properties for the PaginationListItem component.
|
|
50
50
|
*/
|
|
51
|
-
interface PaginationListItemProps extends ButtonProps {
|
|
51
|
+
export interface PaginationListItemProps extends ButtonProps {
|
|
52
52
|
/** Value for the page */
|
|
53
53
|
value: number;
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
56
|
* Properties for the PaginationEllipsis component.
|
|
57
57
|
*/
|
|
58
|
-
interface PaginationEllipsisProps extends BaseProps {}
|
|
58
|
+
export interface PaginationEllipsisProps extends BaseProps {}
|
|
59
59
|
/**
|
|
60
60
|
* Properties for the PaginationButton component.
|
|
61
61
|
*/
|
|
62
|
-
interface PaginationButtonProps extends ButtonProps {}
|
|
62
|
+
export interface PaginationButtonProps extends ButtonProps {}
|
|
63
63
|
/**
|
|
64
64
|
* Type information for PageEllipsis.
|
|
65
65
|
*/
|
|
66
|
-
interface PageEllipsis {
|
|
66
|
+
export interface PageEllipsis {
|
|
67
67
|
/**
|
|
68
68
|
* Type.
|
|
69
69
|
*/
|
|
@@ -72,7 +72,7 @@ interface PageEllipsis {
|
|
|
72
72
|
/**
|
|
73
73
|
* Type information for PageItem.
|
|
74
74
|
*/
|
|
75
|
-
interface PageItem {
|
|
75
|
+
export interface PageItem {
|
|
76
76
|
/**
|
|
77
77
|
* Type.
|
|
78
78
|
*/
|
|
@@ -85,11 +85,11 @@ interface PageItem {
|
|
|
85
85
|
/**
|
|
86
86
|
* Type information for Pages.
|
|
87
87
|
*/
|
|
88
|
-
type Pages = Array<PageEllipsis | PageItem>;
|
|
88
|
+
export type Pages = Array<PageEllipsis | PageItem>;
|
|
89
89
|
/**
|
|
90
90
|
* Properties for the PaginationCompact component.
|
|
91
91
|
*/
|
|
92
|
-
interface PaginationCompactProps extends PaginationRootProps {
|
|
92
|
+
export interface PaginationCompactProps extends PaginationRootProps {
|
|
93
93
|
/**
|
|
94
94
|
* Whether to show a first or last.
|
|
95
95
|
*/
|
|
@@ -126,11 +126,11 @@ interface PaginationCompactProps extends PaginationRootProps {
|
|
|
126
126
|
/**
|
|
127
127
|
* Events for the PaginationCompact component.
|
|
128
128
|
*/
|
|
129
|
-
type PaginationCompactEmits = PaginationRootEmits;
|
|
129
|
+
export type PaginationCompactEmits = PaginationRootEmits;
|
|
130
130
|
/**
|
|
131
131
|
* Slots for the PaginationCompact component.
|
|
132
132
|
*/
|
|
133
|
-
type PaginationCompactSlots = {
|
|
133
|
+
export type PaginationCompactSlots = {
|
|
134
134
|
/**
|
|
135
135
|
* Custom content for the leading slot.
|
|
136
136
|
*/
|
|
@@ -163,10 +163,9 @@ type PaginationCompactSlots = {
|
|
|
163
163
|
/**
|
|
164
164
|
* Available UI slots for the Pagination component.
|
|
165
165
|
*/
|
|
166
|
-
type PaginationUiSlot = 'root' | 'list' | 'listItem' | 'ellipsis' | 'first' | 'prev' | 'next' | 'last';
|
|
166
|
+
export type PaginationUiSlot = 'root' | 'list' | 'listItem' | 'ellipsis' | 'first' | 'prev' | 'next' | 'last';
|
|
167
167
|
/**
|
|
168
168
|
* UI class overrides for the Pagination component.
|
|
169
169
|
*/
|
|
170
|
-
type PaginationUi = UiClass<PaginationUiSlot>;
|
|
171
|
-
//#endregion
|
|
172
|
-
export { PageEllipsis, PageItem, Pages, PaginationButtonProps, PaginationCompactEmits, PaginationCompactProps, PaginationCompactSlots, PaginationEllipsisProps, PaginationListItemProps, PaginationListProps, PaginationRootEmits, PaginationRootProps, PaginationUi, PaginationUiSlot };
|
|
170
|
+
export type PaginationUi = UiClass<PaginationUiSlot>;
|
|
171
|
+
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { UiClass } from "../../types/common.js";
|
|
2
|
-
import { UseUiConsumer } from "../../composables/use-ui-context.js";
|
|
3
|
-
import "../../composables/index.js";
|
|
4
2
|
import { PasswordUiSlot } from "./types.js";
|
|
5
3
|
import "../../index.js";
|
|
4
|
+
import { UseUiConsumer } from "../../composables/use-ui-context.js";
|
|
5
|
+
import "../../composables/index.js";
|
|
6
6
|
//#region src/components/password/context.d.ts
|
|
7
7
|
declare const providePasswordUi: (ui: import("vue").ComputedRef<Partial<UiClass<PasswordUiSlot>>>) => import("vue").ComputedRef<Partial<UiClass<PasswordUiSlot>>>, usePasswordUi: UseUiConsumer<PasswordUiSlot>;
|
|
8
8
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useUiContext as e}from"../../composables/use-ui-context.js";import
|
|
1
|
+
import{useUiContext as e}from"../../composables/use-ui-context.js";import{provideInputUi as t}from"../input/context.js";const[n,r]=e(`PasswordUi`,e=>(t(e),e));export{n as providePasswordUi,r as usePasswordUi};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useLocaleMessages as e}from"../../locale/hooks.js";import
|
|
1
|
+
import{useLocaleMessages as e}from"../../locale/hooks.js";import{useControllableState as t}from"../../composables/use-controllable-state.js";import{useForwardElement as n}from"../../composables/use-forward-element.js";import{useOmitProps as r}from"../../composables/use-props.js";import i from"../_icon/icon.js";import a from"../button/button.js";import o from"../input/input-clear.js";import s from"../input/input-control.js";import c from"../input/input-root.js";import{usePasswordUi as l}from"./context.js";import{computed as u,createBlock as d,createCommentVNode as f,createVNode as p,defineComponent as m,mergeProps as h,openBlock as g,renderSlot as _,unref as v,withCtx as y}from"vue";const b=m({name:`PasswordCompact`,__name:`password-compact`,props:{visible:{type:Boolean,default:void 0},defaultVisible:{type:Boolean,default:!1},visibleProps:{},inputRef:{},clearable:{type:Boolean},controlProps:{},clearProps:{},defaultValue:{},modelValue:{},disabled:{type:Boolean},readonly:{type:Boolean},rootProps:{},name:{},required:{type:Boolean},id:{},autofocus:{type:Boolean},autocomplete:{},maxlength:{},minlength:{},pattern:{},placeholder:{},type:{}},emits:[`update:modelValue`,`clear`,`update:visible`],setup(m,{emit:b}){let x=m,S=b,C=r(x,[`inputRef`,`controlProps`,`clearable`,`clearProps`,`visible`,`visibleProps`]),[w,T]=n(e=>x.inputRef?.(e)),E=t(()=>x.visible,e=>{S(`update:visible`,e)},x.defaultVisible),D=l(),O=e(),k=u(()=>x.clearProps?.[`aria-label`]??O.value.password.clearInput),A=u(()=>x.disabled||x.readonly||x.visibleProps?.disabled||!1),j=u(()=>E.value?O.value.password.hidePassword:O.value.password.showPassword),M=()=>{E.value=!E.value};return(e,t)=>(g(),d(c,h(v(C),{"data-soybean-password":``,"onUpdate:modelValue":t[1]||=e=>S(`update:modelValue`,e)}),{default:y(({clear:n,modelValue:r})=>[_(e.$slots,`leading`,{clear:n,modelValue:r,toggle:M,visible:v(E)}),p(s,h(m.controlProps,{ref:v(T),type:v(E)?`text`:`password`}),null,16,[`type`]),m.clearable?_(e.$slots,`clear`,{clear:n,modelValue:r,toggle:M,visible:v(E)},()=>[p(o,h(m.clearProps,{"aria-label":k.value,onClear:t[0]||=e=>S(`clear`,e)}),null,16,[`aria-label`])],void 0,0):f(`v-if`,!0),_(e.$slots,`trailing`,{clear:n,modelValue:r,toggle:M,visible:v(E)}),_(e.$slots,`visible`,{clear:n,modelValue:r,toggle:M,visible:v(E)},()=>[p(a,h(m.visibleProps,{"data-soybean-password-visible":``,class:v(D).visible,disabled:A.value,"aria-label":j.value,"aria-pressed":v(E),onClick:M}),{default:y(()=>[p(i,{icon:v(E)?`lucide:eye`:`lucide:eye-off`,"aria-hidden":!0},null,8,[`icon`])]),_:1},16,[`class`,`disabled`,`aria-label`,`aria-pressed`])])]),_:3},16))}});export{b as default};
|
|
@@ -6,7 +6,7 @@ import { InputCompactEmits, InputCompactProps, InputUiSlot } from "../input/type
|
|
|
6
6
|
/**
|
|
7
7
|
* Slot properties for the PasswordCompact component.
|
|
8
8
|
*/
|
|
9
|
-
interface PasswordCompactSlotProps {
|
|
9
|
+
export interface PasswordCompactSlotProps {
|
|
10
10
|
/**
|
|
11
11
|
* Current model value.
|
|
12
12
|
*/
|
|
@@ -27,7 +27,7 @@ interface PasswordCompactSlotProps {
|
|
|
27
27
|
/**
|
|
28
28
|
* Properties for the PasswordCompact component.
|
|
29
29
|
*/
|
|
30
|
-
interface PasswordCompactProps extends InputCompactProps {
|
|
30
|
+
export interface PasswordCompactProps extends InputCompactProps {
|
|
31
31
|
/**
|
|
32
32
|
* Controlled password visibility.
|
|
33
33
|
*/
|
|
@@ -46,7 +46,7 @@ interface PasswordCompactProps extends InputCompactProps {
|
|
|
46
46
|
/**
|
|
47
47
|
* Events for the PasswordCompact component.
|
|
48
48
|
*/
|
|
49
|
-
type PasswordCompactEmits = InputCompactEmits & {
|
|
49
|
+
export type PasswordCompactEmits = InputCompactEmits & {
|
|
50
50
|
/**
|
|
51
51
|
* Emitted when the visible state changes.
|
|
52
52
|
*/
|
|
@@ -55,7 +55,7 @@ type PasswordCompactEmits = InputCompactEmits & {
|
|
|
55
55
|
/**
|
|
56
56
|
* Slots for the PasswordCompact component.
|
|
57
57
|
*/
|
|
58
|
-
type PasswordCompactSlots = {
|
|
58
|
+
export type PasswordCompactSlots = {
|
|
59
59
|
/**
|
|
60
60
|
* Custom content for the leading slot.
|
|
61
61
|
*/
|
|
@@ -76,10 +76,9 @@ type PasswordCompactSlots = {
|
|
|
76
76
|
/**
|
|
77
77
|
* Available UI slots for the Password component.
|
|
78
78
|
*/
|
|
79
|
-
type PasswordUiSlot = InputUiSlot | 'visible';
|
|
79
|
+
export type PasswordUiSlot = InputUiSlot | 'visible';
|
|
80
80
|
/**
|
|
81
81
|
* UI class overrides for the Password component.
|
|
82
82
|
*/
|
|
83
|
-
type PasswordUi = UiClass<PasswordUiSlot>;
|
|
84
|
-
//#endregion
|
|
85
|
-
export { PasswordCompactEmits, PasswordCompactProps, PasswordCompactSlotProps, PasswordCompactSlots, PasswordUi, PasswordUiSlot };
|
|
83
|
+
export type PasswordUi = UiClass<PasswordUiSlot>;
|
|
84
|
+
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { UiClass } from "../../types/common.js";
|
|
2
|
-
import { UseUiConsumer } from "../../composables/use-ui-context.js";
|
|
3
|
-
import "../../composables/index.js";
|
|
4
2
|
import { PopconfirmUiSlot } from "./types.js";
|
|
5
3
|
import "../../index.js";
|
|
4
|
+
import { UseUiConsumer } from "../../composables/use-ui-context.js";
|
|
5
|
+
import "../../composables/index.js";
|
|
6
6
|
//#region src/components/popconfirm/context.d.ts
|
|
7
7
|
declare const providePopconfirmUi: (ui: import("vue").ComputedRef<Partial<UiClass<PopconfirmUiSlot>>>) => import("vue").ComputedRef<Partial<UiClass<PopconfirmUiSlot>>>, usePopconfirmUi: UseUiConsumer<PopconfirmUiSlot>;
|
|
8
8
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useUiContext as e}from"../../composables/use-ui-context.js";import
|
|
1
|
+
import{useUiContext as e}from"../../composables/use-ui-context.js";import{providePopperUi as t}from"../popper/context.js";const[n,r]=e(`Popconfirm`,e=>(t(e),e));export{n as providePopconfirmUi,r as usePopconfirmUi};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import _default$
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import _default$
|
|
8
|
-
import _default$
|
|
9
|
-
import _default
|
|
10
|
-
import _default$
|
|
11
|
-
import _default$
|
|
12
|
-
import _default$
|
|
13
|
-
import _default$
|
|
14
|
-
import _default$
|
|
15
|
-
import _default$
|
|
16
|
-
import _default$
|
|
17
|
-
import _default$
|
|
18
|
-
import _default$
|
|
19
|
-
import _default$
|
|
1
|
+
import { PopperArrowProps, PopperPortalProps } from "../popper/types.js";
|
|
2
|
+
import _default$11 from "../popper/popper-portal.vue.js";
|
|
3
|
+
import _default$1 from "../popper/popper-arrow.vue.js";
|
|
4
|
+
import "../popper/index.js";
|
|
5
|
+
import { PopconfirmAnchorProps, PopconfirmCancelEmits, PopconfirmCancelProps, PopconfirmCloseEmits, PopconfirmCloseProps, PopconfirmCompactBaseSlotProps, PopconfirmCompactEmits, PopconfirmCompactProps, PopconfirmCompactSlots, PopconfirmConfirmEmits, PopconfirmConfirmProps, PopconfirmContentProps, PopconfirmDescriptionProps, PopconfirmFooterProps, PopconfirmHeaderProps, PopconfirmPopupProps, PopconfirmPositionerEmits, PopconfirmPositionerProps, PopconfirmRootEmits, PopconfirmRootProps, PopconfirmTitleProps, PopconfirmTriggerProps, PopconfirmType, PopconfirmUi, PopconfirmUiSlot } from "./types.js";
|
|
6
|
+
import _default$4 from "./popconfirm-compact.vue.js";
|
|
7
|
+
import _default$13 from "./popconfirm-root.vue.js";
|
|
8
|
+
import _default$15 from "./popconfirm-trigger.vue.js";
|
|
9
|
+
import _default from "./popconfirm-anchor.vue.js";
|
|
10
|
+
import _default$12 from "./popconfirm-positioner.vue.js";
|
|
11
|
+
import _default$10 from "./popconfirm-popup.vue.js";
|
|
12
|
+
import _default$3 from "./popconfirm-close.vue.js";
|
|
13
|
+
import _default$9 from "./popconfirm-header.vue.js";
|
|
14
|
+
import _default$14 from "./popconfirm-title.vue.js";
|
|
15
|
+
import _default$7 from "./popconfirm-description.vue.js";
|
|
16
|
+
import _default$6 from "./popconfirm-content.vue.js";
|
|
17
|
+
import _default$8 from "./popconfirm-footer.vue.js";
|
|
18
|
+
import _default$5 from "./popconfirm-confirm.vue.js";
|
|
19
|
+
import _default$2 from "./popconfirm-cancel.vue.js";
|
|
20
20
|
import { providePopconfirmUi } from "./context.js";
|
|
21
|
-
export {
|
|
21
|
+
export { _default as PopconfirmAnchor, type PopconfirmAnchorProps, _default$1 as PopconfirmArrow, type PopperArrowProps as PopconfirmArrowProps, _default$2 as PopconfirmCancel, type PopconfirmCancelEmits, type PopconfirmCancelProps, _default$3 as PopconfirmClose, type PopconfirmCloseEmits, type PopconfirmCloseProps, _default$4 as PopconfirmCompact, type PopconfirmCompactBaseSlotProps, type PopconfirmCompactEmits, type PopconfirmCompactProps, type PopconfirmCompactSlots, _default$5 as PopconfirmConfirm, type PopconfirmConfirmEmits, type PopconfirmConfirmProps, _default$6 as PopconfirmContent, type PopconfirmContentProps, _default$7 as PopconfirmDescription, type PopconfirmDescriptionProps, _default$8 as PopconfirmFooter, type PopconfirmFooterProps, _default$9 as PopconfirmHeader, type PopconfirmHeaderProps, _default$10 as PopconfirmPopup, type PopconfirmPopupProps, _default$11 as PopconfirmPortal, type PopperPortalProps as PopconfirmPortalProps, _default$12 as PopconfirmPositioner, type PopconfirmPositionerEmits, type PopconfirmPositionerProps, _default$13 as PopconfirmRoot, type PopconfirmRootEmits, type PopconfirmRootProps, _default$14 as PopconfirmTitle, type PopconfirmTitleProps, _default$15 as PopconfirmTrigger, type PopconfirmTriggerProps, type PopconfirmType, type PopconfirmUi, type PopconfirmUiSlot, providePopconfirmUi };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"../
|
|
1
|
+
import e from"../popper/popper-portal.js";import t from"../popper/popper-arrow.js";import{providePopconfirmUi as n}from"./context.js";import r from"./popconfirm-cancel.js";import i from"./popconfirm-close.js";import a from"./popconfirm-confirm.js";import o from"./popconfirm-content.js";import s from"./popconfirm-description.js";import c from"./popconfirm-footer.js";import l from"./popconfirm-header.js";import u from"./popconfirm-popup.js";import d from"./popconfirm-positioner.js";import f from"./popconfirm-root.js";import p from"./popconfirm-title.js";import m from"./popconfirm-trigger.js";import h from"./popconfirm-compact.js";import g from"./popconfirm-anchor.js";export{g as PopconfirmAnchor,t as PopconfirmArrow,r as PopconfirmCancel,i as PopconfirmClose,h as PopconfirmCompact,a as PopconfirmConfirm,o as PopconfirmContent,s as PopconfirmDescription,c as PopconfirmFooter,l as PopconfirmHeader,u as PopconfirmPopup,e as PopconfirmPortal,d as PopconfirmPositioner,f as PopconfirmRoot,p as PopconfirmTitle,m as PopconfirmTrigger,n as providePopconfirmUi};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"../popper/popper-anchor.js";import{createBlock as t,defineComponent as n,mergeProps as r,openBlock as i,renderSlot as a,unref as o,withCtx as s}from"vue";const c=n({name:`PopconfirmAnchor`,__name:`popconfirm-anchor`,props:{reference:{},asChild:{type:Boolean},as:{}},setup(n){let c=n;return(n,l)=>(i(),t(o(e),r(c,{"data-soybean-popconfirm-anchor":``}),{default:s(()=>[a(n.$slots,`default`)]),_:3},16))}});export{c as default};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { PopconfirmAnchorProps } from "./types.js";
|
|
2
|
+
//#region src/components/popconfirm/popconfirm-anchor.vue.d.ts
|
|
3
|
+
declare var __VLS_8: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_8) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<PopconfirmAnchorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PopconfirmAnchorProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
export { _default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"../button/button.js";import{
|
|
1
|
+
import e from"../button/button.js";import{usePopperRootContext as t}from"../popper/context.js";import{usePopconfirmUi as n}from"./context.js";import{createBlock as r,defineComponent as i,mergeProps as a,openBlock as o,renderSlot as s,unref as c,withCtx as l}from"vue";const u=i({name:`PopconfirmCancel`,__name:`popconfirm-cancel`,props:{type:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`cancel`],setup(i,{emit:u}){let d=i,f=u,p=n(`cancel`),{onOpenChange:m}=t(`PopconfirmCancel`),h=async e=>{f(`cancel`,e),m(!1)};return(t,n)=>(o(),r(e,a(d,{"data-soybean-popconfirm-cancel":``,class:c(p),onClick:h}),{default:l(()=>[s(t.$slots,`default`)]),_:3},16,[`class`]))}});export{u as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"../button/button.js";import{usePopperRootContext as t}from"../popper/context.js";import{usePopconfirmUi as n}from"./context.js";import{createBlock as r,defineComponent as i,mergeProps as a,openBlock as o,renderSlot as s,unref as c,withCtx as l}from"vue";const u=i({name:`PopconfirmClose`,__name:`popconfirm-close`,props:{type:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`close`],setup(i,{emit:u}){let d=i,f=u,{onOpenChange:p}=t(`PopconfirmClose`),m=n(`close`);function h(e){f(`close`,e),p(!1)}return(t,n)=>(o(),r(e,a({"data-soybean-popconfirm-close":``},d,{class:c(m),onClick:h}),{default:l(()=>[s(t.$slots,`default`)]),_:3},16,[`class`]))}});export{u as default};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PopconfirmCloseProps } from "./types.js";
|
|
2
|
+
//#region src/components/popconfirm/popconfirm-close.vue.d.ts
|
|
3
|
+
declare var __VLS_10: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_10) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<PopconfirmCloseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
close: (event: PointerEvent) => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<PopconfirmCloseProps> & Readonly<{
|
|
10
|
+
onClose?: ((event: PointerEvent) => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
//#endregion
|
|
20
|
+
export { _default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useLocaleMessages as e}from"../../locale/hooks.js";import
|
|
1
|
+
import{useLocaleMessages as e}from"../../locale/hooks.js";import{useForwardListeners as t}from"../../composables/use-forward-listeners.js";import{useOmitProps as n}from"../../composables/use-props.js";import r from"../_icon/icon.js";import i from"../popper/popper-portal.js";import a from"../popper/popper-arrow.js";import{usePopconfirmUi as o}from"./context.js";import s from"./popconfirm-cancel.js";import c from"./popconfirm-close.js";import l from"./popconfirm-confirm.js";import u from"./popconfirm-content.js";import d from"./popconfirm-description.js";import f from"./popconfirm-footer.js";import p from"./popconfirm-header.js";import m from"./popconfirm-popup.js";import h from"./popconfirm-positioner.js";import g from"./popconfirm-root.js";import _ from"./popconfirm-title.js";import ee from"./popconfirm-trigger.js";import{computed as v,createBlock as y,createCommentVNode as b,createElementVNode as x,createTextVNode as S,createVNode as C,defineComponent as w,guardReactiveProps as T,mergeProps as E,normalizeClass as D,normalizeProps as O,openBlock as k,renderSlot as A,toDisplayString as j,toHandlers as M,unref as N,useSlots as P,withCtx as F}from"vue";const I=w({name:`PopconfirmCompact`,inheritAttrs:!1,__name:`popconfirm-compact`,props:{type:{},placement:{},title:{},description:{},content:{},showArrow:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},confirmText:{},cancelText:{},showCancel:{type:[String,Boolean],default:`onlyWarning`},triggerProps:{},portalProps:{},positionerProps:{},popupProps:{},arrowProps:{},closeProps:{},headerProps:{},titleProps:{},descriptionProps:{},contentProps:{},footerProps:{},confirmProps:{},cancelProps:{},dir:{},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:!1},modal:{type:Boolean,default:!1},disabled:{type:Boolean}},emits:[`update:open`,`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`,`placed`,`confirm`,`cancel`],setup(w,{emit:I}){let L=w,R=I,z=P(),B=n(L,[`type`,`placement`,`title`,`description`,`content`,`showArrow`,`showIcon`,`confirmText`,`cancelText`,`showCancel`,`triggerProps`,`portalProps`,`positionerProps`,`popupProps`,`arrowProps`,`closeProps`,`headerProps`,`titleProps`,`descriptionProps`,`contentProps`,`footerProps`,`confirmProps`,`cancelProps`]),V=t(R),H=e(),U=o(),W={error:`lucide:circle-x`,success:`lucide:circle-check`,warning:`lucide:circle-alert`,info:`lucide:info`},G=v(()=>L.type?W[L.type]:null),K=v(()=>({...L.triggerProps,asChild:L.triggerProps?.asChild??!0})),q=v(()=>({...L.positionerProps,placement:L.placement??L.positionerProps?.placement})),J=v(()=>({...L.popupProps,"data-type":L.type})),Y=v(()=>typeof L.showCancel==`boolean`?L.showCancel:L.type===`warning`),X=v(()=>L.cancelText??H.value.dialog.cancel),Z=v(()=>L.confirmText??H.value.dialog.confirm);function Q(e,t){R(`update:open`,e,t)}function $(e){R(`confirm`,e)}function te(e){R(`cancel`,e)}return(e,t)=>(k(),y(g,E(N(B),{"onUpdate:open":Q}),{default:F(t=>[C(ee,O(T(K.value)),{default:F(()=>[A(e.$slots,`trigger`,O(T(t)))]),_:2},1040),C(i,O(T(w.portalProps)),{default:F(()=>[C(h,E(q.value,M(N(V))),{default:F(()=>[C(m,O(T(J.value)),{default:F(()=>[C(p,O(T(w.headerProps)),{default:F(()=>[C(_,O(T(w.titleProps)),{default:F(()=>[w.showIcon&&G.value?(k(),y(r,{key:0,class:D(N(U).icon),icon:G.value},null,8,[`class`,`icon`])):b(`v-if`,!0),A(e.$slots,`title`,O(T(t)),()=>[x(`span`,null,j(w.title),1)])]),_:2},1040),z.description||w.description?(k(),y(d,O(E({key:0},w.descriptionProps)),{default:F(()=>[A(e.$slots,`description`,O(T(t)),()=>[S(j(w.description),1)])]),_:2},1040)):b(`v-if`,!0)]),_:2},1040),z.default||w.content?(k(),y(u,O(E({key:0},w.contentProps)),{default:F(()=>[A(e.$slots,`default`,O(T(t)),()=>[S(j(w.content),1)])]),_:2},1040)):b(`v-if`,!0),C(f,O(T(w.footerProps)),{default:F(()=>[A(e.$slots,`footer`,O(T(t)),()=>[Y.value?(k(),y(s,E({key:0},w.cancelProps,{onCancel:te}),{default:F(()=>[S(j(X.value),1)]),_:1},16)):b(`v-if`,!0),C(l,E(w.confirmProps,{onConfirm:$}),{default:F(()=>[S(j(Z.value),1)]),_:1},16)])]),_:2},1040),w.showArrow?(k(),y(a,O(E({key:1},w.arrowProps)),null,16)):b(`v-if`,!0)]),_:2},1040),z.close?(k(),y(c,O(E({key:0},w.closeProps)),{default:F(()=>[A(e.$slots,`close`,O(T(t)))]),_:2},1040)):b(`v-if`,!0)]),_:2},1040)]),_:2},1040)]),_:3},16))}});export{I as default};
|
|
@@ -1,27 +1,30 @@
|
|
|
1
1
|
import { FocusOutsideEvent, PointerDownOutsideEvent } from "../../types/event.js";
|
|
2
|
+
import { PopperOpenChangeReason } from "../popper/types.js";
|
|
2
3
|
import { PopconfirmCompactProps, PopconfirmCompactSlots } from "./types.js";
|
|
3
4
|
import "../../index.js";
|
|
4
5
|
//#region src/components/popconfirm/popconfirm-compact.vue.d.ts
|
|
5
6
|
type __VLS_Slots = PopconfirmCompactSlots;
|
|
6
7
|
declare const __VLS_base: import("vue").DefineComponent<PopconfirmCompactProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
"update:open": (value: boolean, reason: PopperOpenChangeReason) => any;
|
|
7
9
|
cancel: (event: PointerEvent) => any;
|
|
8
|
-
"update:open": (value: boolean) => any;
|
|
9
10
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
10
11
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
11
12
|
focusOutside: (event: FocusOutsideEvent) => any;
|
|
12
13
|
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
13
14
|
openAutoFocus: (event: Event) => any;
|
|
14
15
|
closeAutoFocus: (event: Event) => any;
|
|
16
|
+
placed: () => any;
|
|
15
17
|
confirm: (event: PointerEvent) => any;
|
|
16
18
|
}, string, import("vue").PublicProps, Readonly<PopconfirmCompactProps> & Readonly<{
|
|
19
|
+
"onUpdate:open"?: ((value: boolean, reason: PopperOpenChangeReason) => any) | undefined;
|
|
17
20
|
onCancel?: ((event: PointerEvent) => any) | undefined;
|
|
18
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
19
21
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
20
22
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
21
23
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
22
24
|
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
23
25
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
24
26
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
27
|
+
onPlaced?: (() => any) | undefined;
|
|
25
28
|
onConfirm?: ((event: PointerEvent) => any) | undefined;
|
|
26
29
|
}>, {
|
|
27
30
|
open: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"../button/button.js";import{
|
|
1
|
+
import e from"../button/button.js";import{usePopperRootContext as t}from"../popper/context.js";import{usePopconfirmUi as n}from"./context.js";import{createBlock as r,defineComponent as i,mergeProps as a,openBlock as o,renderSlot as s,unref as c,withCtx as l}from"vue";const u=i({name:`PopconfirmConfirm`,__name:`popconfirm-confirm`,props:{type:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`confirm`],setup(i,{emit:u}){let d=i,f=u,p=n(`confirm`),{onOpenChange:m}=t(`PopconfirmConfirm`),h=e=>{f(`confirm`,e),m(!1)};return(t,n)=>(o(),r(e,a(d,{"data-soybean-popconfirm-confirm":``,class:c(p),onClick:h}),{default:l(()=>[s(t.$slots,`default`)]),_:3},16,[`class`]))}});export{u as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{popperCssVars as e}from"../popper/shared.js";import t from"../popper/popper-popup.js";import{popconfirmCssVars as n}from"./shared.js";import{createBlock as r,defineComponent as i,mergeProps as a,openBlock as o,renderSlot as s,unref as c,withCtx as l}from"vue";const u=i({name:`PopconfirmPopup`,__name:`popconfirm-popup`,setup(i){let u=i,d={[n.transformOrigin]:`var(${e.transformOrigin})`,[n.availableWidth]:`var(${e.availableWidth})`,[n.availableHeight]:`var(${e.availableHeight})`,[n.anchorWidth]:`var(${e.anchorWidth})`,[n.anchorHeight]:`var(${e.anchorHeight})`};return(e,n)=>(o(),r(c(t),a(u,{"data-soybean-popconfirm-popup":``,role:`dialog`,style:d}),{default:l(()=>[s(e.$slots,`default`)]),_:3},16))}});export{u as default};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { PopconfirmPopupProps } from "./types.js";
|
|
2
|
+
//#region src/components/popconfirm/popconfirm-popup.vue.d.ts
|
|
3
|
+
declare var __VLS_8: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_8) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<PopconfirmPopupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PopconfirmPopupProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
export { _default as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useForwardListeners as e}from"../../composables/use-forward-listeners.js";import{useHideOthers as t}from"../../composables/use-hide-others.js";import{usePopperRootContext as n}from"../popper/context.js";import r from"../popper/popper-positioner.js";import{createBlock as i,defineComponent as a,mergeProps as o,openBlock as s,renderSlot as c,toHandlers as l,unref as u,withCtx as d}from"vue";const f=a({name:`PopconfirmPositioner`,__name:`popconfirm-positioner`,props:{placement:{},side:{},sideOffset:{},sideFlip:{type:Boolean},align:{},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{},collisionPadding:{},arrowPadding:{},hideShiftedArrow:{type:Boolean},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean,default:!0},reference:{},trapFocus:{type:Boolean},disableHoverableContent:{type:Boolean},onGracePointerExit:{},forceMount:{type:Boolean}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`,`placed`],setup(a,{emit:f}){let p=a,m=e(f),{modal:h,positionerElement:g}=n(`PopconfirmPositioner`);return t(g,h),(e,t)=>(s(),i(u(r),o(p,{"data-soybean-popconfirm-positioner":``},l(u(m))),{default:d(()=>[c(e.$slots,`default`)]),_:3},16))}});export{f as default};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { FocusOutsideEvent, PointerDownOutsideEvent } from "../../types/event.js";
|
|
2
|
+
import { PopconfirmPositionerProps } from "./types.js";
|
|
3
|
+
import "../../index.js";
|
|
4
|
+
//#region src/components/popconfirm/popconfirm-positioner.vue.d.ts
|
|
5
|
+
declare var __VLS_8: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_8) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<PopconfirmPositionerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
11
|
+
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
12
|
+
focusOutside: (event: FocusOutsideEvent) => any;
|
|
13
|
+
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
14
|
+
openAutoFocus: (event: Event) => any;
|
|
15
|
+
closeAutoFocus: (event: Event) => any;
|
|
16
|
+
placed: () => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<PopconfirmPositionerProps> & Readonly<{
|
|
18
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
19
|
+
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
20
|
+
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
21
|
+
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
22
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
23
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
24
|
+
onPlaced?: (() => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
avoidCollisions: boolean;
|
|
27
|
+
prioritizePosition: boolean;
|
|
28
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
30
|
+
declare const _default: typeof __VLS_export;
|
|
31
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
//#endregion
|
|
37
|
+
export { _default as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"../popper/popper-root.js";import{createBlock as t,defineComponent as n,guardReactiveProps as r,mergeProps as i,normalizeProps as a,openBlock as o,renderSlot as s,unref as c,withCtx as l}from"vue";const u=n({name:`PopconfirmRoot`,inheritAttrs:!1,__name:`popconfirm-root`,props:{dir:{},open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean},disabled:{type:Boolean}},emits:[`update:open`],setup(n,{emit:u}){let d=n,f=u;function p(e,t){f(`update:open`,e,t)}return(n,u)=>(o(),t(c(e),i(d,{"onUpdate:open":p}),{default:l(e=>[s(n.$slots,`default`,a(r(e)))]),_:3},16))}});export{u as default};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Direction } from "../../types/common.js";
|
|
2
|
+
import { PopperOpenChangeReason } from "../popper/types.js";
|
|
3
|
+
import { PopconfirmRootProps } from "./types.js";
|
|
4
|
+
import "../../index.js";
|
|
5
|
+
//#region src/components/popconfirm/popconfirm-root.vue.d.ts
|
|
6
|
+
declare var __VLS_10: {
|
|
7
|
+
open: boolean;
|
|
8
|
+
reason: PopperOpenChangeReason;
|
|
9
|
+
close: () => void;
|
|
10
|
+
dir: Direction;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
13
|
+
default?: (props: typeof __VLS_10) => any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_base: import("vue").DefineComponent<PopconfirmRootProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
"update:open": (value: boolean, reason: PopperOpenChangeReason) => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<PopconfirmRootProps> & Readonly<{
|
|
18
|
+
"onUpdate:open"?: ((value: boolean, reason: PopperOpenChangeReason) => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
//#endregion
|
|
28
|
+
export { _default as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"../popper/popper-trigger.js";import{createBlock as t,defineComponent as n,mergeProps as r,openBlock as i,renderSlot as a,unref as o,withCtx as s}from"vue";const c=n({name:`PopconfirmTrigger`,__name:`popconfirm-trigger`,props:{trigger:{},reference:{},openDelay:{},closeDelay:{},skipDelayDuration:{},pressOpenDelay:{},openOnFocus:{type:Boolean},focusOpenDelay:{},focusVisibleOnly:{type:Boolean},ariaMode:{},type:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(n){let c=n;return(n,l)=>(i(),t(o(e),r(c,{"data-soybean-popconfirm-trigger":``,"aria-haspopup":`dialog`}),{default:s(()=>[a(n.$slots,`default`)]),_:3},16))}});export{c as default};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { PopconfirmTriggerProps } from "./types.js";
|
|
2
|
+
//#region src/components/popconfirm/popconfirm-trigger.vue.d.ts
|
|
3
|
+
declare var __VLS_8: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_8) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<PopconfirmTriggerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PopconfirmTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
export { _default as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={transformOrigin:`--soybean-popconfirm-transform-origin`,availableWidth:`--soybean-popconfirm-available-width`,availableHeight:`--soybean-popconfirm-available-height`,anchorWidth:`--soybean-popconfirm-anchor-width`,anchorHeight:`--soybean-popconfirm-anchor-height`};export{e as popconfirmCssVars};
|