@soybeanjs/headless 0.18.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/_icon/types.d.ts +1 -10
- package/dist/components/accordion/accordion-content.js +1 -1
- package/dist/components/accordion/accordion-description.js +1 -1
- package/dist/components/accordion/accordion-header.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.js +1 -1
- package/dist/components/accordion/types.d.ts +6 -5
- package/dist/components/affix/affix-content.js +1 -1
- package/dist/components/affix/affix-placeholder.js +1 -1
- package/dist/components/affix/affix-root.js +1 -1
- package/dist/components/affix/types.d.ts +5 -4
- package/dist/components/alert/alert-close.js +1 -1
- package/dist/components/alert/alert-close.vue.d.ts +5 -4
- package/dist/components/alert/alert-compact.js +1 -1
- package/dist/components/alert/alert-compact.vue.d.ts +2 -0
- package/dist/components/alert/alert-content.js +1 -1
- package/dist/components/alert/alert-description.js +1 -1
- package/dist/components/alert/alert-root.js +1 -1
- package/dist/components/alert/alert-title.js +1 -1
- package/dist/components/alert/types.d.ts +16 -9
- 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 +2 -2
- package/dist/components/anchor/context.js +1 -1
- package/dist/components/anchor/types.d.ts +5 -4
- package/dist/components/arrow/arrow.js +1 -1
- package/dist/components/arrow/types.d.ts +2 -1
- 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-compact.js +1 -1
- package/dist/components/autocomplete/autocomplete-compact.vue.d.ts +2 -2
- package/dist/components/autocomplete/autocomplete-input.js +1 -1
- package/dist/components/autocomplete/autocomplete-root.js +1 -1
- package/dist/components/autocomplete/autocomplete-root.vue.d.ts +3 -3
- package/dist/components/autocomplete/types.d.ts +4 -3
- package/dist/components/avatar/avatar-fallback.js +1 -1
- package/dist/components/avatar/avatar-image.js +1 -1
- package/dist/components/avatar/avatar-root.js +1 -1
- package/dist/components/avatar/types.d.ts +5 -4
- package/dist/components/backtop/backtop.js +1 -1
- package/dist/components/backtop/backtop.vue.d.ts +3 -7
- package/dist/components/backtop/types.d.ts +2 -2
- package/dist/components/badge/badge-content.js +1 -1
- package/dist/components/badge/badge-root.js +1 -1
- package/dist/components/badge/types.d.ts +4 -3
- package/dist/components/bottom-sheet/bottom-sheet-compact.js +1 -1
- package/dist/components/bottom-sheet/bottom-sheet-popup.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/context.js +1 -1
- package/dist/components/bottom-sheet/types.d.ts +3 -2
- package/dist/components/breadcrumb/breadcrumb-ellipsis.js +1 -1
- package/dist/components/breadcrumb/breadcrumb-item.js +1 -1
- package/dist/components/breadcrumb/breadcrumb-link.js +1 -1
- package/dist/components/breadcrumb/breadcrumb-list.js +1 -1
- package/dist/components/breadcrumb/breadcrumb-page.js +1 -1
- package/dist/components/breadcrumb/breadcrumb-root.js +1 -1
- package/dist/components/breadcrumb/breadcrumb-separator.js +1 -1
- package/dist/components/breadcrumb/types.d.ts +8 -8
- package/dist/components/button/button.js +1 -1
- package/dist/components/button/types.d.ts +3 -2
- package/dist/components/calendar/calendar-cell-trigger.js +1 -1
- package/dist/components/calendar/calendar-cell-trigger.vue.d.ts +3 -16
- package/dist/components/calendar/calendar-cell.js +1 -1
- package/dist/components/calendar/calendar-compact.js +1 -1
- package/dist/components/calendar/calendar-compact.vue.d.ts +3 -3
- 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-header.vue.d.ts +1 -4
- package/dist/components/calendar/calendar-heading.js +1 -1
- package/dist/components/calendar/calendar-heading.vue.d.ts +6 -8
- package/dist/components/calendar/calendar-next.js +1 -1
- package/dist/components/calendar/calendar-next.vue.d.ts +6 -10
- package/dist/components/calendar/calendar-prev.js +1 -1
- package/dist/components/calendar/calendar-prev.vue.d.ts +6 -10
- package/dist/components/calendar/calendar-root.js +1 -1
- package/dist/components/calendar/calendar-root.vue.d.ts +2 -4
- package/dist/components/calendar/index.d.ts +2 -2
- package/dist/components/calendar/shared.js +1 -0
- package/dist/components/calendar/types.d.ts +119 -202
- package/dist/components/calendar/use-calendar.js +1 -1
- package/dist/components/calendar-range/calendar-range-cell-trigger.js +1 -0
- package/dist/components/calendar-range/calendar-range-cell-trigger.vue.d.ts +15 -0
- package/dist/components/calendar-range/calendar-range-cell.js +1 -0
- package/dist/components/{range-calendar/range-calendar-cell.vue.d.ts → calendar-range/calendar-range-cell.vue.d.ts} +3 -3
- package/dist/components/calendar-range/calendar-range-compact.js +1 -0
- package/dist/components/{range-calendar/range-calendar-compact.vue.d.ts → calendar-range/calendar-range-compact.vue.d.ts} +5 -5
- package/dist/components/calendar-range/calendar-range-grid-body.js +1 -0
- package/dist/components/{range-calendar/range-calendar-grid-body.vue.d.ts → calendar-range/calendar-range-grid-body.vue.d.ts} +3 -3
- package/dist/components/calendar-range/calendar-range-grid-head.js +1 -0
- package/dist/components/{range-calendar/range-calendar-grid-head.vue.d.ts → calendar-range/calendar-range-grid-head.vue.d.ts} +3 -3
- package/dist/components/calendar-range/calendar-range-grid-row.js +1 -0
- package/dist/components/{range-calendar/range-calendar-grid-row.vue.d.ts → calendar-range/calendar-range-grid-row.vue.d.ts} +3 -3
- package/dist/components/calendar-range/calendar-range-grid.js +1 -0
- package/dist/components/{range-calendar/range-calendar-grid.vue.d.ts → calendar-range/calendar-range-grid.vue.d.ts} +3 -3
- package/dist/components/calendar-range/calendar-range-head-cell.js +1 -0
- package/dist/components/{range-calendar/range-calendar-head-cell.vue.d.ts → calendar-range/calendar-range-head-cell.vue.d.ts} +3 -3
- package/dist/components/calendar-range/calendar-range-header.js +1 -0
- package/dist/components/calendar-range/calendar-range-header.vue.d.ts +18 -0
- package/dist/components/calendar-range/calendar-range-heading.js +1 -0
- package/dist/components/calendar-range/calendar-range-heading.vue.d.ts +20 -0
- package/dist/components/calendar-range/calendar-range-next.js +1 -0
- package/dist/components/calendar-range/calendar-range-next.vue.d.ts +20 -0
- package/dist/components/calendar-range/calendar-range-prev.js +1 -0
- package/dist/components/calendar-range/calendar-range-prev.vue.d.ts +20 -0
- package/dist/components/calendar-range/calendar-range-root.js +1 -0
- package/dist/components/{range-calendar/range-calendar-root.vue.d.ts → calendar-range/calendar-range-root.vue.d.ts} +11 -23
- package/dist/components/calendar-range/context.d.ts +9 -0
- package/dist/components/calendar-range/context.js +1 -0
- package/dist/components/calendar-range/index.d.ts +16 -0
- package/dist/components/calendar-range/index.js +1 -0
- package/dist/components/calendar-range/types.d.ts +471 -0
- package/dist/components/{range-calendar/use-range-calendar.js → calendar-range/use-calendar-range.js} +1 -1
- package/dist/components/card/card-collapsible-trigger.js +1 -1
- package/dist/components/card/card-content.js +1 -1
- package/dist/components/card/card-description.js +1 -1
- package/dist/components/card/card-footer.js +1 -1
- package/dist/components/card/card-header.js +1 -1
- package/dist/components/card/card-root.js +1 -1
- package/dist/components/card/card-title-root.js +1 -1
- package/dist/components/card/card-title.js +1 -1
- package/dist/components/card/types.d.ts +6 -6
- package/dist/components/carousel/carousel-container.js +1 -1
- package/dist/components/carousel/carousel-content.js +1 -1
- package/dist/components/carousel/carousel-control.js +1 -1
- package/dist/components/carousel/carousel-item.js +1 -1
- package/dist/components/carousel/carousel-navigation.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/types.d.ts +8 -7
- 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.vue.d.ts +2 -2
- 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.js +1 -1
- package/dist/components/checkbox/types.d.ts +8 -6
- package/dist/components/clipboard/clipboard.js +1 -1
- package/dist/components/clipboard/types.d.ts +1 -1
- 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 +2 -2
- package/dist/components/collapsible/collapsible-trigger.js +1 -1
- package/dist/components/collapsible/collapsible-trigger.vue.d.ts +1 -4
- package/dist/components/collapsible/context.js +1 -1
- package/dist/components/collapsible/types.d.ts +6 -5
- package/dist/components/color-area/color-area-area.js +1 -1
- package/dist/components/color-area/color-area-area.vue.d.ts +1 -4
- package/dist/components/color-area/color-area-compact.js +1 -0
- package/dist/components/color-area/color-area-compact.vue.d.ts +19 -0
- package/dist/components/color-area/color-area-root.js +1 -1
- package/dist/components/color-area/color-area-root.vue.d.ts +2 -4
- package/dist/components/color-area/color-area-thumb.js +1 -1
- package/dist/components/color-area/index.d.ts +5 -4
- package/dist/components/color-area/index.js +1 -1
- package/dist/components/color-area/types.d.ts +24 -7
- package/dist/components/color-field/color-field-compact.js +1 -0
- package/dist/components/color-field/color-field-compact.vue.d.ts +15 -0
- package/dist/components/color-field/color-field-input.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 +2 -4
- package/dist/components/color-field/index.d.ts +5 -4
- package/dist/components/color-field/index.js +1 -1
- package/dist/components/color-field/types.d.ts +20 -6
- package/dist/components/color-picker/color-picker-compact.js +1 -0
- package/dist/components/color-picker/color-picker-compact.vue.d.ts +60 -0
- package/dist/components/color-picker/color-picker-root.js +1 -1
- package/dist/components/color-picker/color-picker-root.vue.d.ts +16 -5
- package/dist/components/color-picker/color-picker-trigger.js +1 -0
- package/dist/components/color-picker/color-picker-trigger.vue.d.ts +25 -0
- package/dist/components/color-picker/context.d.ts +9 -0
- package/dist/components/color-picker/context.js +1 -0
- package/dist/components/color-picker/index.d.ts +6 -3
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/color-picker/shared.js +1 -0
- package/dist/components/color-picker/types.d.ts +132 -5
- package/dist/components/color-slider/color-slider-compact.js +1 -0
- package/dist/components/color-slider/color-slider-compact.vue.d.ts +19 -0
- package/dist/components/color-slider/color-slider-root.js +1 -1
- package/dist/components/color-slider/color-slider-root.vue.d.ts +3 -3
- 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/index.d.ts +6 -5
- package/dist/components/color-slider/index.js +1 -1
- package/dist/components/color-slider/types.d.ts +24 -7
- package/dist/components/color-swatch/color-swatch-checker.js +1 -0
- package/dist/components/color-swatch/color-swatch-checker.vue.d.ts +8 -0
- package/dist/components/color-swatch/color-swatch-compact.js +1 -0
- package/dist/components/color-swatch/color-swatch-compact.vue.d.ts +15 -0
- package/dist/components/color-swatch/color-swatch-fill.js +1 -0
- package/dist/components/color-swatch/color-swatch-fill.vue.d.ts +8 -0
- package/dist/components/color-swatch/color-swatch-root.js +1 -0
- package/dist/components/color-swatch/color-swatch-root.vue.d.ts +15 -0
- package/dist/components/color-swatch/context.d.ts +9 -0
- package/dist/components/color-swatch/context.js +1 -0
- package/dist/components/color-swatch/index.d.ts +7 -3
- package/dist/components/color-swatch/index.js +1 -1
- package/dist/components/color-swatch/types.d.ts +58 -5
- package/dist/components/color-swatch-picker/color-swatch-picker-compact.js +1 -0
- package/dist/components/color-swatch-picker/color-swatch-picker-compact.vue.d.ts +28 -0
- package/dist/components/color-swatch-picker/color-swatch-picker-item-indicator.js +1 -1
- package/dist/components/color-swatch-picker/color-swatch-picker-item-swatch.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 +1 -1
- package/dist/components/color-swatch-picker/context.js +1 -1
- package/dist/components/color-swatch-picker/index.d.ts +7 -6
- package/dist/components/color-swatch-picker/index.js +1 -1
- package/dist/components/color-swatch-picker/types.d.ts +63 -8
- package/dist/components/combobox/combobox-arrow.js +1 -1
- package/dist/components/combobox/combobox-cancel.js +1 -1
- 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-empty.vue.d.ts +1 -4
- package/dist/components/combobox/combobox-group.js +1 -1
- package/dist/components/combobox/combobox-input.js +1 -1
- package/dist/components/combobox/combobox-item.js +1 -1
- package/dist/components/combobox/combobox-root.js +1 -1
- package/dist/components/combobox/combobox-root.vue.d.ts +3 -3
- package/dist/components/combobox/combobox-separator.js +1 -1
- package/dist/components/combobox/combobox-trigger.js +1 -1
- package/dist/components/combobox/combobox-viewport.js +1 -1
- package/dist/components/combobox/combobox-virtualizer.js +1 -1
- package/dist/components/combobox/types.d.ts +9 -8
- package/dist/components/command/command-compact.js +1 -1
- package/dist/components/command/types.d.ts +4 -4
- package/dist/components/config-provider/config-provider.js +1 -1
- package/dist/components/config-provider/context.js +1 -1
- package/dist/components/config-provider/types.d.ts +9 -1
- package/dist/components/context-menu/context-menu-checkbox-compact.vue.d.ts +3 -3
- 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.vue.d.ts +3 -3
- package/dist/components/context-menu/context-menu-trigger.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/date-field/date-field-compact.js +1 -1
- package/dist/components/date-field/date-field-compact.vue.d.ts +17 -5
- 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 +14 -22
- package/dist/components/date-field/index.d.ts +3 -3
- package/dist/components/date-field/types.d.ts +44 -144
- 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 +290 -10
- package/dist/components/date-picker/index.d.ts +2 -7
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-picker/types.d.ts +11 -274
- 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-input.vue.d.ts +2 -2
- package/dist/components/date-range-field/date-range-field-root.js +1 -1
- package/dist/components/date-range-field/date-range-field-root.vue.d.ts +15 -30
- package/dist/components/date-range-field/index.d.ts +3 -3
- package/dist/components/date-range-field/types.d.ts +36 -183
- 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 +293 -12
- package/dist/components/date-range-picker/index.d.ts +2 -5
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-range-picker/types.d.ts +14 -269
- package/dist/components/dialog/context.js +1 -1
- package/dist/components/dialog/dialog-cancel.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 +7 -7
- package/dist/components/dialog/dialog-confirm.js +1 -1
- package/dist/components/dialog/dialog-content.js +1 -1
- package/dist/components/dialog/dialog-description.js +1 -1
- package/dist/components/dialog/dialog-footer.js +1 -1
- package/dist/components/dialog/dialog-header.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/dialog-title.js +1 -1
- package/dist/components/dialog/dialog-trigger.js +1 -1
- package/dist/components/dialog/dialog-trigger.vue.d.ts +5 -1
- package/dist/components/dialog/types.d.ts +21 -14
- package/dist/components/dropdown-menu/context.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-checkbox-compact.vue.d.ts +3 -3
- 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.vue.d.ts +3 -3
- package/dist/components/dropdown-menu/dropdown-menu-root.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-trigger.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-wrapper-compact.vue.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-area.vue.d.ts +1 -4
- package/dist/components/editable/editable-cancel-trigger.js +1 -1
- package/dist/components/editable/editable-cancel-trigger.vue.d.ts +1 -4
- package/dist/components/editable/editable-compact.js +1 -1
- package/dist/components/editable/editable-edit-trigger.js +1 -1
- package/dist/components/editable/editable-edit-trigger.vue.d.ts +1 -4
- package/dist/components/editable/editable-input.js +1 -1
- package/dist/components/editable/editable-input.vue.d.ts +4 -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 +2 -4
- package/dist/components/editable/editable-submit-trigger.js +1 -1
- package/dist/components/editable/editable-submit-trigger.vue.d.ts +1 -4
- package/dist/components/editable/types.d.ts +10 -9
- package/dist/components/empty/empty-content.js +1 -1
- package/dist/components/empty/empty-description.js +1 -1
- package/dist/components/empty/empty-header.js +1 -1
- package/dist/components/empty/empty-media.js +1 -1
- package/dist/components/empty/empty-root.js +1 -1
- package/dist/components/empty/empty-title.js +1 -1
- package/dist/components/empty/types.d.ts +8 -8
- package/dist/components/form/form-compact.js +1 -1
- package/dist/components/form/form-control.js +1 -1
- package/dist/components/form/form-description.js +1 -1
- package/dist/components/form/form-error.js +1 -1
- package/dist/components/form/form-field-array-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 +7 -6
- package/dist/components/hover-card/context.js +1 -1
- package/dist/components/hover-card/hover-card-popup.js +1 -1
- 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 +1 -1
- package/dist/components/hover-card/hover-card-trigger.js +1 -1
- package/dist/components/hover-card/index.d.ts +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-control.js +1 -1
- package/dist/components/input/input-root.js +1 -1
- package/dist/components/input/input-root.vue.d.ts +1 -1
- package/dist/components/input/types.d.ts +10 -9
- package/dist/components/input-number/context.js +1 -1
- package/dist/components/input-number/index.d.ts +7 -6
- package/dist/components/input-number/index.js +1 -1
- package/dist/components/input-number/input-number-clear.js +1 -0
- package/dist/components/input-number/input-number-compact.js +1 -0
- package/dist/components/input-number/input-number-compact.vue.d.ts +21 -0
- 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-decrement.vue.d.ts +1 -4
- package/dist/components/input-number/input-number-increment.js +1 -1
- package/dist/components/input-number/input-number-increment.vue.d.ts +1 -4
- package/dist/components/input-number/input-number-root.js +1 -1
- package/dist/components/input-number/input-number-root.vue.d.ts +4 -4
- package/dist/components/input-number/types.d.ts +87 -14
- package/dist/components/input-otp/input-otp-compact.js +1 -1
- package/dist/components/input-otp/input-otp-compact.vue.d.ts +2 -2
- package/dist/components/input-otp/input-otp-input.js +1 -1
- package/dist/components/input-otp/input-otp-positioner.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 +2 -2
- package/dist/components/input-otp/types.d.ts +5 -4
- package/dist/components/kbd/kbd.js +1 -1
- package/dist/components/kbd/types.d.ts +2 -3
- package/dist/components/label/label.js +1 -1
- package/dist/components/label/types.d.ts +2 -3
- package/dist/components/layout/layout-classic-placeholder.js +1 -1
- package/dist/components/layout/layout-classic-root.js +1 -1
- package/dist/components/layout/layout-content.js +1 -1
- package/dist/components/layout/layout-footer.js +1 -1
- package/dist/components/layout/layout-header.js +1 -1
- package/dist/components/layout/layout-main.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 +2 -2
- package/dist/components/layout/layout-sidebar.js +1 -1
- package/dist/components/layout/layout-tab.js +1 -1
- package/dist/components/layout/layout-trigger.js +1 -1
- package/dist/components/layout/layout-trigger.vue.d.ts +1 -4
- package/dist/components/layout/types.d.ts +13 -12
- package/dist/components/link/link.js +1 -1
- package/dist/components/link/types.d.ts +2 -3
- package/dist/components/list/list-content.js +1 -1
- package/dist/components/list/list-description.js +1 -1
- package/dist/components/list/list-item.js +1 -1
- package/dist/components/list/list-root.js +1 -1
- package/dist/components/list/list-title.js +1 -1
- package/dist/components/list/types.d.ts +6 -7
- package/dist/components/listbox/context.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-group-label.js +1 -1
- package/dist/components/listbox/listbox-group.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-item.vue.d.ts +1 -4
- package/dist/components/listbox/listbox-root.js +1 -1
- package/dist/components/listbox/types.d.ts +9 -8
- package/dist/components/menu/context.js +1 -1
- package/dist/components/menu/menu-checkbox-group.js +1 -1
- package/dist/components/menu/menu-checkbox-group.vue.d.ts +1 -1
- package/dist/components/menu/menu-checkbox-item.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-label.js +1 -1
- 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.vue.d.ts +2 -2
- 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-group.vue.d.ts +3 -3
- 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-radio-options-compact.vue.d.ts +2 -2
- package/dist/components/menu/menu-root.js +1 -1
- package/dist/components/menu/menu-root.vue.d.ts +1 -1
- 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/types.d.ts +11 -12
- package/dist/components/menubar/context.js +1 -1
- package/dist/components/menubar/menubar-compact.vue.d.ts +3 -3
- 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-root.js +1 -1
- package/dist/components/menubar/menubar-root.vue.d.ts +1 -1
- 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 +1 -4
- package/dist/components/menubar/types.d.ts +5 -7
- package/dist/components/navigation-menu/context.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-list.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-root.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-sub-list.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 +12 -11
- package/dist/components/page-tabs/hooks.js +1 -1
- package/dist/components/page-tabs/index.d.ts +6 -5
- package/dist/components/page-tabs/index.js +1 -1
- package/dist/components/page-tabs/page-tabs-close.js +1 -1
- package/dist/components/page-tabs/page-tabs-compact.js +1 -0
- package/dist/components/page-tabs/page-tabs-compact.vue.d.ts +27 -0
- package/dist/components/page-tabs/page-tabs-item.js +1 -1
- package/dist/components/page-tabs/page-tabs-item.vue.d.ts +2 -2
- 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 +3 -2
- package/dist/components/page-tabs/types.d.ts +208 -9
- package/dist/components/pagination/pagination-ellipsis.js +1 -1
- package/dist/components/pagination/pagination-first.js +1 -1
- package/dist/components/pagination/pagination-first.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-last.js +1 -1
- package/dist/components/pagination/pagination-last.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-list-item.js +1 -1
- package/dist/components/pagination/pagination-list-item.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-list.js +1 -1
- package/dist/components/pagination/pagination-next.js +1 -1
- package/dist/components/pagination/pagination-next.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-prev.js +1 -1
- package/dist/components/pagination/pagination-prev.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-root.js +1 -1
- package/dist/components/pagination/types.d.ts +8 -6
- package/dist/components/password/context.d.ts +9 -0
- package/dist/components/password/context.js +1 -0
- package/dist/components/password/index.d.ts +4 -0
- package/dist/components/password/index.js +1 -0
- package/dist/components/password/password-compact.js +1 -0
- package/dist/components/password/password-compact.vue.d.ts +23 -0
- package/dist/components/password/types.d.ts +97 -0
- package/dist/components/popconfirm/context.d.ts +9 -0
- package/dist/components/popconfirm/context.js +1 -0
- package/dist/components/popconfirm/index.d.ts +21 -0
- package/dist/components/popconfirm/index.js +1 -0
- package/dist/components/popconfirm/popconfirm-cancel.js +1 -0
- package/dist/components/popconfirm/popconfirm-cancel.vue.d.ts +22 -0
- package/dist/components/popconfirm/popconfirm-compact.js +1 -0
- package/dist/components/{date-picker/date-picker-content.vue.d.ts → popconfirm/popconfirm-compact.vue.d.ts} +17 -7
- package/dist/components/popconfirm/popconfirm-confirm.js +1 -0
- package/dist/components/popconfirm/popconfirm-confirm.vue.d.ts +22 -0
- package/dist/components/popconfirm/popconfirm-content.js +1 -0
- package/dist/components/popconfirm/popconfirm-content.vue.d.ts +18 -0
- package/dist/components/popconfirm/popconfirm-description.js +1 -0
- package/dist/components/popconfirm/popconfirm-description.vue.d.ts +18 -0
- package/dist/components/popconfirm/popconfirm-footer.js +1 -0
- package/dist/components/popconfirm/popconfirm-footer.vue.d.ts +18 -0
- package/dist/components/popconfirm/popconfirm-header.js +1 -0
- package/dist/components/popconfirm/popconfirm-header.vue.d.ts +18 -0
- package/dist/components/popconfirm/popconfirm-title.js +1 -0
- package/dist/components/popconfirm/popconfirm-title.vue.d.ts +18 -0
- package/dist/components/popconfirm/types.d.ts +221 -0
- package/dist/components/popover/context.js +1 -1
- package/dist/components/popover/index.d.ts +3 -3
- 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-close.vue.d.ts +3 -6
- package/dist/components/popover/popover-compact.js +1 -1
- package/dist/components/popover/popover-popup.js +1 -1
- package/dist/components/popover/popover-positioner-impl.js +1 -1
- package/dist/components/popover/popover-positioner.js +1 -1
- package/dist/components/popover/popover-positioner.vue.d.ts +1 -0
- package/dist/components/popover/popover-root.js +1 -1
- package/dist/components/popover/popover-root.vue.d.ts +1 -1
- package/dist/components/popover/popover-trigger.js +1 -1
- package/dist/components/popover/types.d.ts +13 -15
- package/dist/components/popper/index.d.ts +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-positioner.js +1 -1
- package/dist/components/popper/popper-positioner.vue.d.ts +3 -2
- package/dist/components/popper/types.d.ts +7 -6
- package/dist/components/primitive/index.d.ts +2 -2
- package/dist/components/primitive/types.d.ts +3 -1
- package/dist/components/progress/index.d.ts +8 -6
- package/dist/components/progress/index.js +1 -1
- package/dist/components/progress/progress-circle-compact.js +1 -0
- package/dist/components/progress/progress-circle-compact.vue.d.ts +21 -0
- package/dist/components/progress/progress-circle-svg.js +1 -0
- package/dist/components/progress/{progress-circle.vue.d.ts → progress-circle-svg.vue.d.ts} +3 -3
- package/dist/components/progress/progress-compact.js +1 -0
- package/dist/components/progress/progress-compact.vue.d.ts +21 -0
- package/dist/components/progress/progress-indicator.js +1 -1
- package/dist/components/progress/progress-indicator.vue.d.ts +1 -4
- package/dist/components/progress/progress-provider.js +1 -1
- package/dist/components/progress/progress-root.js +1 -1
- package/dist/components/progress/progress-root.vue.d.ts +1 -3
- package/dist/components/progress/shared.js +1 -1
- package/dist/components/progress/types.d.ts +67 -22
- package/dist/components/radio-group/context.js +1 -1
- package/dist/components/radio-group/radio-group-compact.vue.d.ts +2 -2
- 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/radio-group-root.vue.d.ts +3 -3
- package/dist/components/radio-group/types.d.ts +9 -7
- package/dist/components/roving-focus/context.js +1 -1
- package/dist/components/roving-focus/roving-focus-group.js +1 -1
- package/dist/components/roving-focus/roving-focus-group.vue.d.ts +1 -1
- package/dist/components/roving-focus/roving-focus-item.js +1 -1
- package/dist/components/roving-focus/types.d.ts +3 -4
- package/dist/components/scroll-area/index.d.ts +8 -7
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/scroll-area/scroll-area-compact.js +1 -0
- package/dist/components/scroll-area/scroll-area-compact.vue.d.ts +15 -0
- package/dist/components/scroll-area/scroll-area-corner.js +1 -1
- package/dist/components/scroll-area/scroll-area-corner.vue.d.ts +1 -4
- package/dist/components/scroll-area/scroll-area-root.js +1 -1
- package/dist/components/scroll-area/scroll-area-root.vue.d.ts +0 -2
- package/dist/components/scroll-area/scroll-area-scrollbar.js +1 -1
- package/dist/components/scroll-area/scroll-area-scrollbar.vue.d.ts +0 -2
- package/dist/components/scroll-area/scroll-area-thumb.js +1 -1
- package/dist/components/scroll-area/scroll-area-thumb.vue.d.ts +1 -4
- package/dist/components/scroll-area/scroll-area-viewport.js +1 -1
- package/dist/components/scroll-area/types.d.ts +46 -8
- package/dist/components/segment/index.d.ts +1 -1
- package/dist/components/segment/segment-compact.js +1 -1
- package/dist/components/segment/segment-compact.vue.d.ts +2 -2
- package/dist/components/select/context.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-compact.vue.d.ts +2 -2
- package/dist/components/select/select-content.js +1 -1
- package/dist/components/select/select-group-label.js +1 -1
- package/dist/components/select/select-group.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.vue.d.ts +2 -2
- 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-separator.js +1 -1
- package/dist/components/select/select-trigger-icon.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/types.d.ts +16 -14
- package/dist/components/separator/index.d.ts +5 -4
- package/dist/components/separator/index.js +1 -1
- package/dist/components/separator/separator-compact.js +1 -0
- package/dist/components/separator/separator-compact.vue.d.ts +18 -0
- package/dist/components/separator/separator-label.js +1 -1
- package/dist/components/separator/separator-root.js +1 -1
- package/dist/components/separator/types.d.ts +26 -5
- package/dist/components/skeleton/skeleton.js +1 -1
- package/dist/components/skeleton/skeleton.vue.d.ts +1 -4
- package/dist/components/skeleton/types.d.ts +2 -3
- package/dist/components/slider/index.d.ts +7 -6
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slider/shared.js +1 -1
- package/dist/components/slider/slider-compact.js +1 -0
- package/dist/components/slider/slider-compact.vue.d.ts +21 -0
- package/dist/components/slider/slider-range.js +1 -1
- package/dist/components/slider/slider-range.vue.d.ts +1 -4
- package/dist/components/slider/slider-root.js +1 -1
- package/dist/components/slider/slider-root.vue.d.ts +1 -3
- package/dist/components/slider/slider-thumb.js +1 -1
- package/dist/components/slider/slider-thumb.vue.d.ts +1 -4
- package/dist/components/slider/slider-track.js +1 -1
- package/dist/components/slider/slider-track.vue.d.ts +1 -4
- package/dist/components/slider/types.d.ts +55 -8
- package/dist/components/splitter/context.js +1 -1
- package/dist/components/splitter/splitter-group.js +1 -1
- package/dist/components/splitter/splitter-group.vue.d.ts +1 -3
- package/dist/components/splitter/splitter-panel.js +1 -1
- package/dist/components/splitter/splitter-panel.vue.d.ts +4 -6
- package/dist/components/splitter/splitter-resize-handle.js +1 -1
- package/dist/components/splitter/splitter-resize-handle.vue.d.ts +0 -2
- package/dist/components/splitter/types.d.ts +5 -5
- package/dist/components/stepper/context.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-item.vue.d.ts +0 -2
- package/dist/components/stepper/stepper-root.js +1 -1
- package/dist/components/stepper/stepper-root.vue.d.ts +2 -4
- 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 +8 -8
- package/dist/components/switch/context.js +1 -1
- package/dist/components/switch/index.d.ts +6 -5
- package/dist/components/switch/index.js +1 -1
- package/dist/components/switch/switch-compact.js +1 -0
- package/dist/components/switch/switch-compact.vue.d.ts +22 -0
- package/dist/components/switch/switch-control.js +1 -1
- package/dist/components/switch/switch-control.vue.d.ts +2 -2
- package/dist/components/switch/switch-root.js +1 -1
- package/dist/components/switch/switch-root.vue.d.ts +1 -1
- package/dist/components/switch/switch-thumb.js +1 -1
- package/dist/components/switch/types.d.ts +51 -6
- package/dist/components/table/hooks.js +1 -1
- package/dist/components/table/shared.js +1 -1
- package/dist/components/table/table-body.js +1 -1
- package/dist/components/table/table-cell.js +1 -1
- package/dist/components/table/table-compact.js +1 -1
- package/dist/components/table/table-content.js +1 -1
- package/dist/components/table/table-footer.js +1 -1
- package/dist/components/table/table-head.js +1 -1
- package/dist/components/table/table-header.js +1 -1
- package/dist/components/table/table-root.js +1 -1
- package/dist/components/table/table-row.js +1 -1
- package/dist/components/table/table-scroll.js +1 -1
- package/dist/components/table/table-virtual-spacer-row.js +1 -1
- package/dist/components/table/types.d.ts +15 -11
- package/dist/components/tabs/context.js +1 -1
- package/dist/components/tabs/tabs-compact.vue.d.ts +2 -2
- package/dist/components/tabs/tabs-content.js +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-root.js +1 -1
- package/dist/components/tabs/tabs-root.vue.d.ts +5 -5
- package/dist/components/tabs/tabs-trigger.js +1 -1
- package/dist/components/tabs/types.d.ts +8 -7
- package/dist/components/tag/tag.js +1 -1
- package/dist/components/tag/types.d.ts +2 -3
- package/dist/components/tags-input/index.d.ts +8 -7
- package/dist/components/tags-input/index.js +1 -1
- package/dist/components/tags-input/tags-input-clear.js +1 -1
- package/dist/components/tags-input/tags-input-clear.vue.d.ts +1 -4
- package/dist/components/tags-input/tags-input-compact.js +1 -0
- package/dist/components/tags-input/tags-input-compact.vue.d.ts +25 -0
- package/dist/components/tags-input/tags-input-control.js +1 -0
- package/dist/components/tags-input/tags-input-control.vue.d.ts +8 -0
- package/dist/components/tags-input/tags-input-item-delete.js +1 -1
- package/dist/components/tags-input/tags-input-item-delete.vue.d.ts +1 -4
- package/dist/components/tags-input/tags-input-item-text.js +1 -1
- package/dist/components/tags-input/tags-input-item-text.vue.d.ts +3 -6
- package/dist/components/tags-input/tags-input-item.js +1 -1
- package/dist/components/tags-input/tags-input-item.vue.d.ts +14 -14
- package/dist/components/tags-input/tags-input-root.js +1 -1
- package/dist/components/tags-input/tags-input-root.vue.d.ts +29 -21
- package/dist/components/tags-input/types.d.ts +75 -63
- package/dist/components/textarea/index.d.ts +7 -5
- package/dist/components/textarea/index.js +1 -1
- package/dist/components/textarea/textarea-clear.js +1 -0
- package/dist/components/textarea/textarea-clear.vue.d.ts +22 -0
- package/dist/components/textarea/textarea-compact.js +1 -0
- package/dist/components/textarea/textarea-compact.vue.d.ts +21 -0
- package/dist/components/textarea/textarea-control.js +1 -1
- package/dist/components/textarea/textarea-counter.js +1 -1
- package/dist/components/textarea/textarea-root.js +1 -1
- package/dist/components/textarea/textarea-root.vue.d.ts +3 -1
- package/dist/components/textarea/types.d.ts +96 -6
- package/dist/components/time-field/index.d.ts +6 -4
- package/dist/components/time-field/index.js +1 -1
- package/dist/components/time-field/time-field-compact.js +1 -0
- package/dist/components/time-field/time-field-compact.vue.d.ts +15 -0
- package/dist/components/time-field/time-field-input.js +1 -1
- package/dist/components/time-field/time-field-input.vue.d.ts +2 -2
- package/dist/components/time-field/time-field-root.js +1 -1
- package/dist/components/time-field/time-field-root.vue.d.ts +5 -15
- package/dist/components/time-field/types.d.ts +33 -132
- package/dist/components/time-range-field/index.d.ts +2 -2
- package/dist/components/time-range-field/time-range-field-compact.js +1 -1
- package/dist/components/time-range-field/time-range-field-compact.vue.d.ts +1 -2
- 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 +6 -20
- package/dist/components/time-range-field/types.d.ts +36 -184
- package/dist/components/toast/toast-provider.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 +3 -2
- package/dist/components/toggle/toggle.js +1 -1
- package/dist/components/toggle/toggle.vue.d.ts +1 -4
- package/dist/components/toggle/types.d.ts +2 -7
- 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 +3 -5
- package/dist/components/toolbar/context.js +1 -1
- package/dist/components/toolbar/toolbar-button.js +1 -1
- package/dist/components/toolbar/toolbar-link.js +1 -1
- package/dist/components/toolbar/toolbar-root.js +1 -1
- 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 +4 -4
- package/dist/components/tooltip/index.d.ts +8 -7
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooltip/tooltip-compact.js +1 -0
- package/dist/components/tooltip/tooltip-compact.vue.d.ts +28 -0
- package/dist/components/tooltip/tooltip-popup.js +1 -1
- package/dist/components/tooltip/tooltip-positioner-impl.js +1 -1
- package/dist/components/tooltip/tooltip-positioner.js +1 -1
- package/dist/components/tooltip/tooltip-positioner.vue.d.ts +1 -0
- package/dist/components/tooltip/tooltip-root.js +1 -1
- package/dist/components/tooltip/tooltip-root.vue.d.ts +1 -1
- package/dist/components/tooltip/tooltip-trigger.js +1 -1
- package/dist/components/tooltip/types.d.ts +58 -2
- package/dist/components/tree/context.js +1 -1
- package/dist/components/tree/tree-item.js +1 -1
- package/dist/components/tree/tree-root.js +1 -1
- package/dist/components/tree/tree-root.vue.d.ts +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/types.d.ts +5 -5
- package/dist/components/tree-menu/index.d.ts +12 -8
- package/dist/components/tree-menu/index.js +1 -1
- package/dist/components/tree-menu/shared.js +1 -0
- package/dist/components/tree-menu/tree-menu-button.js +1 -1
- package/dist/components/tree-menu/tree-menu-button.vue.d.ts +1 -4
- package/dist/components/tree-menu/tree-menu-collapsible.js +1 -1
- package/dist/components/tree-menu/tree-menu-compact.js +1 -0
- package/dist/components/tree-menu/tree-menu-compact.vue.d.ts +24 -0
- package/dist/components/tree-menu/tree-menu-group-label.js +1 -1
- package/dist/components/tree-menu/tree-menu-group-root.js +1 -1
- 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 -0
- package/dist/components/tree-menu/tree-menu-option-compact.vue.d.ts +33 -0
- package/dist/components/tree-menu/tree-menu-options-compact.js +1 -0
- package/dist/components/tree-menu/tree-menu-options-compact.vue.d.ts +34 -0
- package/dist/components/tree-menu/tree-menu-root.js +1 -1
- package/dist/components/tree-menu/tree-menu-root.vue.d.ts +4 -1
- package/dist/components/tree-menu/tree-menu-slot-compact.js +1 -0
- package/dist/components/tree-menu/tree-menu-slot-compact.vue.d.ts +28 -0
- package/dist/components/tree-menu/tree-menu-sub.js +1 -1
- package/dist/components/tree-menu/types.d.ts +241 -12
- package/dist/components/virtualizer/types.d.ts +7 -6
- 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 +2 -3
- 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.js +1 -1
- package/dist/composables/index.d.ts +2 -1
- package/dist/composables/index.js +1 -1
- package/dist/composables/use-bool-prop.d.ts +12 -0
- package/dist/composables/use-bool-prop.js +1 -0
- package/dist/composables/use-collection.d.ts +0 -3
- package/dist/composables/use-collection.js +1 -1
- package/dist/composables/use-controllable-state.d.ts +10 -1
- package/dist/composables/use-controllable-state.js +1 -1
- package/dist/composables/use-selection.js +1 -1
- package/dist/constants/components.d.ts +3 -7
- package/dist/constants/components.js +1 -1
- package/dist/date/calendar.d.ts +22 -24
- package/dist/date/calendar.js +1 -1
- package/dist/date/comparators.d.ts +29 -30
- package/dist/date/formatter.d.ts +1 -1
- package/dist/date/index.d.ts +8 -8
- package/dist/date/index.js +1 -1
- package/dist/date/parser.d.ts +14 -13
- package/dist/date/parser.js +1 -1
- package/dist/date/parts.d.ts +6 -6
- package/dist/date/placeholders.d.ts +2 -21
- package/dist/date/placeholders.js +1 -1
- package/dist/date/types.d.ts +12 -11
- package/dist/date/use-date-field.d.ts +6 -8
- package/dist/date/use-date-field.js +1 -1
- package/dist/date/utils.d.ts +3 -7
- package/dist/date/utils.js +1 -1
- package/dist/index.d.ts +423 -414
- package/dist/index.js +1 -1
- package/dist/locale/hooks.d.ts +14 -0
- package/dist/locale/hooks.js +1 -0
- package/dist/locale/index.d.ts +5 -0
- package/dist/locale/index.js +1 -0
- package/dist/locale/langs/en.d.ts +6 -0
- package/dist/locale/langs/en.js +1 -0
- package/dist/locale/langs/zh-CN.d.ts +6 -0
- package/dist/locale/langs/zh-CN.js +1 -0
- package/dist/locale/locales.d.ts +23 -0
- package/dist/locale/locales.js +1 -0
- package/dist/locale/types.d.ts +234 -0
- package/dist/namespaced/index.d.ts +983 -966
- package/dist/namespaced/index.js +1 -1
- package/dist/shared/color.d.ts +3 -13
- package/dist/shared/color.js +1 -1
- package/dist/shared/index.d.ts +4 -4
- package/dist/shared/index.js +1 -1
- package/dist/shared/object.d.ts +2 -1
- package/dist/shared/object.js +1 -1
- package/dist/shared/string.d.ts +6 -1
- package/dist/shared/string.js +1 -1
- package/dist/shared/time-picker.d.ts +1 -2
- package/dist/shared/vue.js +1 -1
- package/dist/types/color.d.ts +16 -0
- package/dist/types/index.d.ts +3 -2
- package/dist/types/vue.d.ts +4 -2
- package/package.json +13 -3
- package/dist/components/_icon/icon.vue.d.ts +0 -8
- package/dist/components/_icon/index.d.ts +0 -3
- package/dist/components/_icon/index.js +0 -1
- package/dist/components/calendar/use-calendar.d.ts +0 -45
- package/dist/components/color-swatch/color-swatch.js +0 -1
- package/dist/components/color-swatch/color-swatch.vue.d.ts +0 -26
- package/dist/components/date-picker/date-picker-content.js +0 -1
- package/dist/components/date-picker/date-picker-root.js +0 -1
- package/dist/components/date-picker/date-picker-root.vue.d.ts +0 -38
- package/dist/components/date-range-picker/date-range-picker-popup.js +0 -1
- package/dist/components/date-range-picker/date-range-picker-popup.vue.d.ts +0 -21
- package/dist/components/date-range-picker/date-range-picker-root.js +0 -1
- package/dist/components/date-range-picker/date-range-picker-root.vue.d.ts +0 -50
- package/dist/components/date-range-picker/date-range-picker-trigger.js +0 -1
- package/dist/components/date-range-picker/date-range-picker-trigger.vue.d.ts +0 -21
- package/dist/components/month-picker/context.d.ts +0 -9
- package/dist/components/month-picker/context.js +0 -1
- package/dist/components/month-picker/index.d.ts +0 -6
- package/dist/components/month-picker/index.js +0 -1
- package/dist/components/month-picker/month-picker-popup.js +0 -1
- package/dist/components/month-picker/month-picker-popup.vue.d.ts +0 -36
- package/dist/components/month-picker/month-picker-root.js +0 -1
- package/dist/components/month-picker/month-picker-root.vue.d.ts +0 -39
- package/dist/components/month-picker/month-picker-trigger.js +0 -1
- package/dist/components/month-picker/month-picker-trigger.vue.d.ts +0 -21
- package/dist/components/month-picker/types.d.ts +0 -202
- package/dist/components/month-range-picker/context.d.ts +0 -9
- package/dist/components/month-range-picker/context.js +0 -1
- package/dist/components/month-range-picker/index.d.ts +0 -6
- package/dist/components/month-range-picker/index.js +0 -1
- package/dist/components/month-range-picker/month-range-picker-popup.js +0 -1
- package/dist/components/month-range-picker/month-range-picker-popup.vue.d.ts +0 -39
- package/dist/components/month-range-picker/month-range-picker-root.js +0 -1
- package/dist/components/month-range-picker/month-range-picker-root.vue.d.ts +0 -43
- package/dist/components/month-range-picker/month-range-picker-trigger.js +0 -1
- package/dist/components/month-range-picker/month-range-picker-trigger.vue.d.ts +0 -21
- package/dist/components/month-range-picker/types.d.ts +0 -234
- package/dist/components/progress/progress-circle.js +0 -1
- package/dist/components/range-calendar/context.d.ts +0 -9
- package/dist/components/range-calendar/context.js +0 -1
- package/dist/components/range-calendar/index.d.ts +0 -16
- package/dist/components/range-calendar/index.js +0 -1
- package/dist/components/range-calendar/range-calendar-cell-trigger.js +0 -1
- package/dist/components/range-calendar/range-calendar-cell-trigger.vue.d.ts +0 -33
- package/dist/components/range-calendar/range-calendar-cell.js +0 -1
- package/dist/components/range-calendar/range-calendar-compact.js +0 -1
- package/dist/components/range-calendar/range-calendar-grid-body.js +0 -1
- package/dist/components/range-calendar/range-calendar-grid-head.js +0 -1
- package/dist/components/range-calendar/range-calendar-grid-row.js +0 -1
- package/dist/components/range-calendar/range-calendar-grid.js +0 -1
- package/dist/components/range-calendar/range-calendar-head-cell.js +0 -1
- package/dist/components/range-calendar/range-calendar-header.js +0 -1
- package/dist/components/range-calendar/range-calendar-header.vue.d.ts +0 -21
- package/dist/components/range-calendar/range-calendar-heading.js +0 -1
- package/dist/components/range-calendar/range-calendar-heading.vue.d.ts +0 -22
- package/dist/components/range-calendar/range-calendar-next.js +0 -1
- package/dist/components/range-calendar/range-calendar-next.vue.d.ts +0 -24
- package/dist/components/range-calendar/range-calendar-prev.js +0 -1
- package/dist/components/range-calendar/range-calendar-prev.vue.d.ts +0 -24
- package/dist/components/range-calendar/range-calendar-root.js +0 -1
- package/dist/components/range-calendar/types.d.ts +0 -488
- package/dist/components/tags-input/tags-input-input.js +0 -1
- package/dist/components/tags-input/tags-input-input.vue.d.ts +0 -21
- package/dist/components/time-picker/context.d.ts +0 -9
- package/dist/components/time-picker/context.js +0 -1
- package/dist/components/time-picker/index.d.ts +0 -6
- package/dist/components/time-picker/index.js +0 -1
- package/dist/components/time-picker/time-picker-popup.js +0 -1
- package/dist/components/time-picker/time-picker-popup.vue.d.ts +0 -27
- package/dist/components/time-picker/time-picker-root.js +0 -1
- package/dist/components/time-picker/time-picker-root.vue.d.ts +0 -45
- package/dist/components/time-picker/time-picker-trigger.js +0 -1
- package/dist/components/time-picker/time-picker-trigger.vue.d.ts +0 -21
- package/dist/components/time-picker/types.d.ts +0 -224
- package/dist/components/time-range-picker/context.d.ts +0 -9
- package/dist/components/time-range-picker/context.js +0 -1
- package/dist/components/time-range-picker/index.d.ts +0 -7
- package/dist/components/time-range-picker/index.js +0 -1
- package/dist/components/time-range-picker/time-range-picker-compact.js +0 -1
- package/dist/components/time-range-picker/time-range-picker-compact.vue.d.ts +0 -31
- package/dist/components/time-range-picker/time-range-picker-popup.js +0 -1
- package/dist/components/time-range-picker/time-range-picker-popup.vue.d.ts +0 -30
- package/dist/components/time-range-picker/time-range-picker-root.js +0 -1
- package/dist/components/time-range-picker/time-range-picker-root.vue.d.ts +0 -50
- package/dist/components/time-range-picker/time-range-picker-trigger.js +0 -1
- package/dist/components/time-range-picker/time-range-picker-trigger.vue.d.ts +0 -21
- package/dist/components/time-range-picker/types.d.ts +0 -304
- package/dist/components/year-picker/context.d.ts +0 -9
- package/dist/components/year-picker/context.js +0 -1
- package/dist/components/year-picker/index.d.ts +0 -6
- package/dist/components/year-picker/index.js +0 -1
- package/dist/components/year-picker/types.d.ts +0 -207
- package/dist/components/year-picker/year-picker-popup.js +0 -1
- package/dist/components/year-picker/year-picker-popup.vue.d.ts +0 -36
- package/dist/components/year-picker/year-picker-root.js +0 -1
- package/dist/components/year-picker/year-picker-root.vue.d.ts +0 -39
- package/dist/components/year-picker/year-picker-trigger.js +0 -1
- package/dist/components/year-picker/year-picker-trigger.vue.d.ts +0 -21
- package/dist/components/year-range-picker/context.d.ts +0 -9
- package/dist/components/year-range-picker/context.js +0 -1
- package/dist/components/year-range-picker/index.d.ts +0 -6
- package/dist/components/year-range-picker/index.js +0 -1
- package/dist/components/year-range-picker/types.d.ts +0 -239
- package/dist/components/year-range-picker/year-range-picker-popup.js +0 -1
- package/dist/components/year-range-picker/year-range-picker-popup.vue.d.ts +0 -39
- package/dist/components/year-range-picker/year-range-picker-root.js +0 -1
- package/dist/components/year-range-picker/year-range-picker-root.vue.d.ts +0 -43
- package/dist/components/year-range-picker/year-range-picker-trigger.js +0 -1
- package/dist/components/year-range-picker/year-range-picker-trigger.vue.d.ts +0 -21
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
import { UiClass } from "../../types/common.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { MaybePromise, UiClass } from "../../types/common.js";
|
|
2
|
+
import { BaseProps } from "../../types/vue.js";
|
|
3
|
+
import { ButtonProps } from "../button/types.js";
|
|
4
|
+
import { IconValue } from "../_icon/types.js";
|
|
5
|
+
import { RovingFocusGroupProps } from "../roving-focus/types.js";
|
|
6
|
+
import { MenuOptionData } from "../menu/types.js";
|
|
7
|
+
import { ContextMenuCompactProps } from "../context-menu/types.js";
|
|
8
|
+
import { ComputedRef, ShallowRef } from "vue";
|
|
4
9
|
|
|
5
10
|
//#region src/components/page-tabs/types.d.ts
|
|
6
11
|
/**
|
|
7
12
|
* Properties for the PageTabsRoot component.
|
|
8
13
|
*/
|
|
9
|
-
interface PageTabsRootProps extends
|
|
14
|
+
interface PageTabsRootProps extends Omit<RovingFocusGroupProps, 'orientation'>, Omit<BaseProps, 'dir'> {
|
|
10
15
|
/**
|
|
11
16
|
* The active tab value.
|
|
12
17
|
*/
|
|
@@ -28,7 +33,7 @@ type PageTabsRootEmits = {
|
|
|
28
33
|
/**
|
|
29
34
|
* Properties for the PageTabsItem component.
|
|
30
35
|
*/
|
|
31
|
-
interface PageTabsItemProps extends
|
|
36
|
+
interface PageTabsItemProps extends Omit<BaseProps, 'onClick'> {
|
|
32
37
|
/**
|
|
33
38
|
* The unique value of the tab.
|
|
34
39
|
*/
|
|
@@ -58,18 +63,212 @@ type PageTabsItemEmits = {
|
|
|
58
63
|
/**
|
|
59
64
|
* Properties for the PageTabsClose component.
|
|
60
65
|
*/
|
|
61
|
-
interface PageTabsCloseProps extends
|
|
66
|
+
interface PageTabsCloseProps extends ButtonProps {}
|
|
62
67
|
/**
|
|
63
68
|
* Properties for the PageTabsPin component.
|
|
64
69
|
*/
|
|
65
|
-
interface PageTabsPinProps extends
|
|
70
|
+
interface PageTabsPinProps extends ButtonProps {}
|
|
71
|
+
/**
|
|
72
|
+
* Option data for the PageTabs component.
|
|
73
|
+
*/
|
|
74
|
+
interface PageTabsOptionData extends PageTabsItemProps {
|
|
75
|
+
/**
|
|
76
|
+
* Label text rendered by the component.
|
|
77
|
+
*/
|
|
78
|
+
label: string;
|
|
79
|
+
/**
|
|
80
|
+
* Icon rendered by the component.
|
|
81
|
+
*/
|
|
82
|
+
icon?: IconValue;
|
|
83
|
+
/**
|
|
84
|
+
* Whether to hide the pinned icon on the tab.
|
|
85
|
+
*/
|
|
86
|
+
hidePinnedIcon?: boolean;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* State values for PageTabsState.
|
|
90
|
+
*/
|
|
91
|
+
interface PageTabsState {
|
|
92
|
+
/**
|
|
93
|
+
* Pin.
|
|
94
|
+
*/
|
|
95
|
+
pin: () => void;
|
|
96
|
+
/**
|
|
97
|
+
* Unpin.
|
|
98
|
+
*/
|
|
99
|
+
unpin: () => void;
|
|
100
|
+
/**
|
|
101
|
+
* Whether the component can be closed.
|
|
102
|
+
*/
|
|
103
|
+
closable: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* Close.
|
|
106
|
+
*/
|
|
107
|
+
close: () => Promise<void>;
|
|
108
|
+
/**
|
|
109
|
+
* Whether left closable.
|
|
110
|
+
*/
|
|
111
|
+
leftClosable: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Close left.
|
|
114
|
+
*/
|
|
115
|
+
closeLeft: () => void;
|
|
116
|
+
/**
|
|
117
|
+
* Whether right closable.
|
|
118
|
+
*/
|
|
119
|
+
rightClosable: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* Close right.
|
|
122
|
+
*/
|
|
123
|
+
closeRight: () => void;
|
|
124
|
+
/**
|
|
125
|
+
* Whether other closable.
|
|
126
|
+
*/
|
|
127
|
+
otherClosable: boolean;
|
|
128
|
+
/**
|
|
129
|
+
* Close other.
|
|
130
|
+
*/
|
|
131
|
+
closeOther: () => void;
|
|
132
|
+
/**
|
|
133
|
+
* Whether all closable.
|
|
134
|
+
*/
|
|
135
|
+
allClosable: boolean;
|
|
136
|
+
/**
|
|
137
|
+
* Close all.
|
|
138
|
+
*/
|
|
139
|
+
closeAll: () => void;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Option data for the PageTabs context menu.
|
|
143
|
+
*/
|
|
144
|
+
interface PageTabsContextMenuOptionData extends MenuOptionData<string> {
|
|
145
|
+
/**
|
|
146
|
+
* Action to perform when the menu item is selected.
|
|
147
|
+
*/
|
|
148
|
+
action?: () => MaybePromise<void>;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Properties for the PageTabsCompact component.
|
|
152
|
+
*/
|
|
153
|
+
interface PageTabsCompactProps<T extends PageTabsOptionData = PageTabsOptionData> extends PageTabsRootProps {
|
|
154
|
+
/**
|
|
155
|
+
* Items rendered by the component.
|
|
156
|
+
*/
|
|
157
|
+
items: T[];
|
|
158
|
+
/**
|
|
159
|
+
* A factory function to generate context menu options for each tab.
|
|
160
|
+
* @param tab The tab data.
|
|
161
|
+
* @param state The current state and operations for the tab.
|
|
162
|
+
*/
|
|
163
|
+
menuFactory?: (tab: T, state: PageTabsState) => PageTabsContextMenuOptionData[];
|
|
164
|
+
/**
|
|
165
|
+
* Callback invoked before closing the tab. Return `false` or a promise that resolves to `false` to prevent closing.
|
|
166
|
+
* @param value The current tab value.
|
|
167
|
+
*/
|
|
168
|
+
beforeClose?: (value: string) => MaybePromise<boolean | void>;
|
|
169
|
+
/**
|
|
170
|
+
* Per-slot class overrides for the component.
|
|
171
|
+
*/
|
|
172
|
+
itemProps?: BaseProps;
|
|
173
|
+
/**
|
|
174
|
+
* Per-slot class overrides for the component.
|
|
175
|
+
*/
|
|
176
|
+
pinProps?: BaseProps;
|
|
177
|
+
/**
|
|
178
|
+
* Per-slot class overrides for the component.
|
|
179
|
+
*/
|
|
180
|
+
closeProps?: BaseProps;
|
|
181
|
+
/**
|
|
182
|
+
* Additional props for the context menu component.
|
|
183
|
+
*/
|
|
184
|
+
contextMenuProps?: Omit<ContextMenuCompactProps, 'options'>;
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* Events for the PageTabsCompact component.
|
|
188
|
+
*/
|
|
189
|
+
type PageTabsCompactEmits<T extends PageTabsOptionData = PageTabsOptionData> = PageTabsRootEmits & {
|
|
190
|
+
/**
|
|
191
|
+
* Emitted when the items change.
|
|
192
|
+
*/
|
|
193
|
+
(e: 'update:items', items: T[]): void;
|
|
194
|
+
/**
|
|
195
|
+
* Emitted when a tab is clicked.
|
|
196
|
+
*/
|
|
197
|
+
(e: 'click', tab: T): void;
|
|
198
|
+
/**
|
|
199
|
+
* Emitted when a tab is closed.
|
|
200
|
+
*/
|
|
201
|
+
(e: 'close', tab: T): void;
|
|
202
|
+
/**
|
|
203
|
+
* Emitted when a tab is pinned or unpinned.
|
|
204
|
+
*/
|
|
205
|
+
(e: 'pin', tab: T): void;
|
|
206
|
+
/**
|
|
207
|
+
* Emitted when the context target tab changes.
|
|
208
|
+
*/
|
|
209
|
+
(e: 'contextmenu', tab: T): void;
|
|
210
|
+
/**
|
|
211
|
+
* Emitted when a context menu item is selected.
|
|
212
|
+
*/
|
|
213
|
+
(e: 'selectContextMenu', menu: PageTabsContextMenuOptionData, tab: T): void;
|
|
214
|
+
};
|
|
215
|
+
/**
|
|
216
|
+
* Slot props for a compact page tab item.
|
|
217
|
+
*/
|
|
218
|
+
interface PageTabsCompactItemSlotProps<T extends PageTabsOptionData = PageTabsOptionData> {
|
|
219
|
+
/**
|
|
220
|
+
* Current item data.
|
|
221
|
+
*/
|
|
222
|
+
item: T;
|
|
223
|
+
/**
|
|
224
|
+
* Index of the current item.
|
|
225
|
+
*/
|
|
226
|
+
index: number;
|
|
227
|
+
/**
|
|
228
|
+
* Whether the current item is active.
|
|
229
|
+
*/
|
|
230
|
+
active: boolean;
|
|
231
|
+
/**
|
|
232
|
+
* Whether the current item can be closed.
|
|
233
|
+
*/
|
|
234
|
+
closable: boolean;
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* Slots for the PageTabsCompact component.
|
|
238
|
+
*/
|
|
239
|
+
type PageTabsCompactSlots<T extends PageTabsOptionData = PageTabsOptionData> = {
|
|
240
|
+
/**
|
|
241
|
+
* Custom content for the default tab item body.
|
|
242
|
+
*/
|
|
243
|
+
item?: (props: PageTabsCompactItemSlotProps<T>) => any;
|
|
244
|
+
/**
|
|
245
|
+
* Custom content for the tab icon.
|
|
246
|
+
*/
|
|
247
|
+
icon?: (props: PageTabsCompactItemSlotProps<T>) => any;
|
|
248
|
+
/**
|
|
249
|
+
* Custom content for the tab label.
|
|
250
|
+
*/
|
|
251
|
+
label?: (props: PageTabsCompactItemSlotProps<T>) => any;
|
|
252
|
+
/**
|
|
253
|
+
* Custom content for the tab indicator.
|
|
254
|
+
*/
|
|
255
|
+
indicator?: (props: PageTabsCompactItemSlotProps<T>) => any;
|
|
256
|
+
/**
|
|
257
|
+
* Custom content for the pin icon.
|
|
258
|
+
*/
|
|
259
|
+
'pin-icon'?: () => void;
|
|
260
|
+
/**
|
|
261
|
+
* Custom content for the close icon.
|
|
262
|
+
*/
|
|
263
|
+
'close-icon'?: () => void;
|
|
264
|
+
};
|
|
66
265
|
/**
|
|
67
266
|
* Available UI slots for the PageTabs component.
|
|
68
267
|
*/
|
|
69
|
-
type PageTabsUiSlot = 'root' | 'item' | 'close' | 'pin';
|
|
268
|
+
type PageTabsUiSlot = 'root' | 'item' | 'close' | 'pin' | 'itemText';
|
|
70
269
|
/**
|
|
71
270
|
* UI class overrides for the PageTabs component.
|
|
72
271
|
*/
|
|
73
272
|
type PageTabsUi = UiClass<PageTabsUiSlot>;
|
|
74
273
|
//#endregion
|
|
75
|
-
export { PageTabsCloseProps, PageTabsItemEmits, PageTabsItemProps, PageTabsPinProps, PageTabsRootEmits, PageTabsRootProps, PageTabsUi, PageTabsUiSlot };
|
|
274
|
+
export { PageTabsCloseProps, PageTabsCompactEmits, PageTabsCompactItemSlotProps, PageTabsCompactProps, PageTabsCompactSlots, PageTabsContextMenuOptionData, PageTabsItemEmits, PageTabsItemProps, PageTabsOptionData, PageTabsPinProps, PageTabsRootEmits, PageTabsRootProps, PageTabsState, PageTabsUi, PageTabsUiSlot };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{usePaginationUi as e}from"./context.js";import{createElementBlock as t,createTextVNode as n,defineComponent as r,normalizeClass as i,openBlock as a,renderSlot as o,unref as s}from"vue";const c=r({name:`PaginationEllipsis`,__name:`pagination-ellipsis`,setup(r){let c=e(`ellipsis`);return(e,r)=>(a(),t(`div`,{class:i(s(c)),"data-type":`ellipsis`},[o(e.$slots,`default`,{},()=>[r[0]||(r[0]=n(`...`,-1))])],2))}});export{c as default};
|
|
1
|
+
import{usePaginationUi as e}from"./context.js";import{createElementBlock as t,createTextVNode as n,defineComponent as r,normalizeClass as i,openBlock as a,renderSlot as o,unref as s}from"vue";const c=r({name:`PaginationEllipsis`,__name:`pagination-ellipsis`,setup(r){let c=e(`ellipsis`);return(e,r)=>(a(),t(`div`,{"data-soybean-pagination-ellipsis":``,class:i(s(c)),"data-type":`ellipsis`},[o(e.$slots,`default`,{},()=>[r[0]||(r[0]=n(`...`,-1))])],2))}});export{c as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{usePaginationRootContext as
|
|
1
|
+
import{useLocaleMessages as e}from"../../locale/hooks.js";import"../../locale/index.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:`PaginationFirst`,__name:`pagination-first`,props:{type:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(s){let m=s,{page:h,onPageChange:g,disabled:_}=n(`PaginationFirst`),v=r(`first`),y=e(),b=i(()=>_.value||h.value===1),x=()=>{g(1)};return(e,n)=>(l(),a(t,c(m,{"data-soybean-pagination-first":``,class:f(v),disabled:b.value,"aria-label":f(y).pagination.firstPage,onClick:x}),{default:p(()=>[u(e.$slots,`default`,{},()=>[o(d(f(y).pagination.firstPage),1)])]),_:3},16,[`class`,`disabled`,`aria-label`]))}});export{m as default};
|
|
@@ -2,9 +2,9 @@ import { PaginationButtonProps } from "./types.js";
|
|
|
2
2
|
import * as _$vue from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pagination/pagination-first.vue.d.ts
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_10: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof
|
|
7
|
+
default?: (props: typeof __VLS_10) => any;
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_base: _$vue.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{usePaginationRootContext as
|
|
1
|
+
import{useLocaleMessages as e}from"../../locale/hooks.js";import"../../locale/index.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:`PaginationLast`,__name:`pagination-last`,props:{type:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(s){let m=s,{page:h,onPageChange:g,pageCount:_,disabled:v}=n(`PaginationLast`),y=r(`last`),b=e(),x=i(()=>v.value||h.value===_.value),S=()=>{g(_.value)};return(e,n)=>(l(),a(t,c(m,{"data-soybean-pagination-last":``,class:f(y),disabled:x.value,"aria-label":f(b).pagination.lastPage,onClick:S}),{default:p(()=>[u(e.$slots,`default`,{},()=>[o(d(f(b).pagination.lastPage),1)])]),_:3},16,[`class`,`disabled`,`aria-label`]))}});export{m as default};
|
|
@@ -2,9 +2,9 @@ import { PaginationButtonProps } from "./types.js";
|
|
|
2
2
|
import * as _$vue from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pagination/pagination-last.vue.d.ts
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_10: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof
|
|
7
|
+
default?: (props: typeof __VLS_10) => any;
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_base: _$vue.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{usePaginationRootContext as
|
|
1
|
+
import{useOmitProps as e}from"../../composables/use-props.js";import"../../composables/index.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:`PaginationListItem`,__name:`pagination-list-item`,props:{value:{},type:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(s){let m=s,h=e(m,[`value`]),{page:g,onPageChange:_,disabled:v}=n(`PaginationListItem`),y=r(`listItem`),b=i(()=>g.value===m.value),x=()=>{_(m.value)};return(e,n)=>(l(),a(t,c(f(h),{"data-soybean-pagination-list-item":``,class:f(y),"data-type":`page`,"aria-label":`Page ${s.value}`,"aria-current":b.value?`page`:void 0,"data-selected":b.value?``:void 0,disabled:f(v),onClick:x}),{default:p(()=>[u(e.$slots,`default`,{},()=>[o(d(s.value),1)])]),_:3},16,[`class`,`aria-label`,`aria-current`,`data-selected`,`disabled`]))}});export{m as default};
|
|
@@ -2,9 +2,9 @@ import { PaginationListItemProps } from "./types.js";
|
|
|
2
2
|
import * as _$vue from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pagination/pagination-list-item.vue.d.ts
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_10: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof
|
|
7
|
+
default?: (props: typeof __VLS_10) => any;
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_base: _$vue.DefineComponent<PaginationListItemProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<PaginationListItemProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{usePaginationRootContext as e,usePaginationUi as t}from"./context.js";import{getRange as n,transform as r}from"./shared.js";import{computed as i,createElementBlock as a,defineComponent as o,normalizeClass as s,openBlock as c,renderSlot as l,unref as u}from"vue";const d=o({name:`PaginationList`,__name:`pagination-list`,setup(o){let{page:d,pageCount:f,siblingCount:p,showEdges:m}=e(`PaginationList`),h=t(`list`),g=i(()=>r(n(d.value,f.value,p.value,m.value)));return(e,t)=>(c(),a(`div`,{class:s(u(h))},[l(e.$slots,`default`,{items:g.value})],2))}});export{d as default};
|
|
1
|
+
import{usePaginationRootContext as e,usePaginationUi as t}from"./context.js";import{getRange as n,transform as r}from"./shared.js";import{computed as i,createElementBlock as a,defineComponent as o,normalizeClass as s,openBlock as c,renderSlot as l,unref as u}from"vue";const d=o({name:`PaginationList`,__name:`pagination-list`,setup(o){let{page:d,pageCount:f,siblingCount:p,showEdges:m}=e(`PaginationList`),h=t(`list`),g=i(()=>r(n(d.value,f.value,p.value,m.value)));return(e,t)=>(c(),a(`div`,{"data-soybean-pagination-list":``,class:s(u(h))},[l(e.$slots,`default`,{items:g.value})],2))}});export{d as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{usePaginationRootContext as
|
|
1
|
+
import{useLocaleMessages as e}from"../../locale/hooks.js";import"../../locale/index.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":``,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};
|
|
@@ -2,9 +2,9 @@ import { PaginationButtonProps } from "./types.js";
|
|
|
2
2
|
import * as _$vue from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pagination/pagination-next.vue.d.ts
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_10: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof
|
|
7
|
+
default?: (props: typeof __VLS_10) => any;
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_base: _$vue.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{usePaginationRootContext as
|
|
1
|
+
import{useLocaleMessages as e}from"../../locale/hooks.js";import"../../locale/index.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":``,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};
|
|
@@ -2,9 +2,9 @@ import { PaginationButtonProps } from "./types.js";
|
|
|
2
2
|
import * as _$vue from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pagination/pagination-prev.vue.d.ts
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_10: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof
|
|
7
|
+
default?: (props: typeof __VLS_10) => any;
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_base: _$vue.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{transformPropsToContext as e}from"../../shared/vue.js";import"../../shared/index.js";import{useControllableState as t}from"../../composables/use-controllable-state.js";import"../../composables/index.js";import{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`,{class:o(l(p))},[c(e.$slots,`default`,{page:l(m),pageCount:l(g)})],2))}});export{u as default};
|
|
1
|
+
import{transformPropsToContext as e}from"../../shared/vue.js";import"../../shared/index.js";import{useControllableState as t}from"../../composables/use-controllable-state.js";import"../../composables/index.js";import{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};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { UiClass } from "../../types/common.js";
|
|
2
|
-
import {
|
|
2
|
+
import { BaseProps } from "../../types/vue.js";
|
|
3
|
+
import { ButtonProps } from "../button/types.js";
|
|
4
|
+
import { ShallowRef } from "vue";
|
|
3
5
|
|
|
4
6
|
//#region src/components/pagination/types.d.ts
|
|
5
7
|
/**
|
|
6
8
|
* Properties for the PaginationRoot component.
|
|
7
9
|
*/
|
|
8
|
-
interface PaginationRootProps extends
|
|
10
|
+
interface PaginationRootProps extends BaseProps {
|
|
9
11
|
/** The controlled value of the current page. Can be bound as `v-model:page`. */
|
|
10
12
|
page?: number;
|
|
11
13
|
/**
|
|
@@ -40,22 +42,22 @@ type PaginationRootEmits = {
|
|
|
40
42
|
/**
|
|
41
43
|
* Properties for the PaginationList component.
|
|
42
44
|
*/
|
|
43
|
-
interface PaginationListProps extends
|
|
45
|
+
interface PaginationListProps extends BaseProps {}
|
|
44
46
|
/**
|
|
45
47
|
* Properties for the PaginationListItem component.
|
|
46
48
|
*/
|
|
47
|
-
interface PaginationListItemProps extends
|
|
49
|
+
interface PaginationListItemProps extends ButtonProps {
|
|
48
50
|
/** Value for the page */
|
|
49
51
|
value: number;
|
|
50
52
|
}
|
|
51
53
|
/**
|
|
52
54
|
* Properties for the PaginationEllipsis component.
|
|
53
55
|
*/
|
|
54
|
-
interface PaginationEllipsisProps extends
|
|
56
|
+
interface PaginationEllipsisProps extends BaseProps {}
|
|
55
57
|
/**
|
|
56
58
|
* Properties for the PaginationButton component.
|
|
57
59
|
*/
|
|
58
|
-
interface PaginationButtonProps extends
|
|
60
|
+
interface PaginationButtonProps extends ButtonProps {}
|
|
59
61
|
/**
|
|
60
62
|
* Available UI slots for the Pagination component.
|
|
61
63
|
*/
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { UiClass } from "../../types/common.js";
|
|
2
|
+
import { UseUiConsumer } from "../../composables/use-ui-context.js";
|
|
3
|
+
import { PasswordUiSlot } from "./types.js";
|
|
4
|
+
import * as _$vue from "vue";
|
|
5
|
+
|
|
6
|
+
//#region src/components/password/context.d.ts
|
|
7
|
+
declare const providePasswordUi: (ui: _$vue.ComputedRef<Partial<UiClass<PasswordUiSlot>>>) => _$vue.ComputedRef<Partial<UiClass<PasswordUiSlot>>>, usePasswordUi: UseUiConsumer<PasswordUiSlot>;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { providePasswordUi };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useUiContext as e}from"../../composables/use-ui-context.js";import"../../composables/index.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};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { PasswordCompactEmits, PasswordCompactProps, PasswordCompactSlotProps, PasswordCompactSlots, PasswordUi, PasswordUiSlot } from "./types.js";
|
|
2
|
+
import { _default } from "./password-compact.vue.js";
|
|
3
|
+
import { providePasswordUi } from "./context.js";
|
|
4
|
+
export { _default as PasswordCompact, type PasswordCompactEmits, type PasswordCompactProps, type PasswordCompactSlotProps, type PasswordCompactSlots, type PasswordUi, type PasswordUiSlot, providePasswordUi };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{providePasswordUi as e}from"./context.js";import t from"./password-compact.js";export{t as PasswordCompact,e as providePasswordUi};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useLocaleMessages as e}from"../../locale/hooks.js";import"../../locale/index.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"../../composables/index.js";import i from"../_icon/icon.js";import a from"../button/button.js";import o from"../input/input-root.js";import s from"../input/input-clear.js";import c from"../input/input-control.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:{clearable:{type:Boolean},visible:{type:Boolean,default:void 0},inputRef:{},controlProps:{},clearProps:{},visibleProps:{},defaultValue:{},modelValue:{},id:{},autofocus:{type:Boolean},disabled:{type:Boolean},maxlength:{},minlength:{},pattern:{},placeholder:{},readonly:{type:Boolean},name:{},required:{type:Boolean}},emits:[`update:modelValue`,`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)},!1),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(o,h(v(C),{"data-soybean-password":``,"onUpdate:modelValue":t[0]||(t[0]=e=>S(`update:modelValue`,e))}),{default:y(({clear:t,modelValue:n})=>[_(e.$slots,`leading`,{clear:t,modelValue:n,toggle:M,visible:v(E)}),p(c,h(m.controlProps,{ref:v(T),type:v(E)?`text`:`password`}),null,16,[`type`]),m.clearable?_(e.$slots,`clear`,{key:0,clear:t,modelValue:n,toggle:M,visible:v(E)},()=>[p(s,h(m.clearProps,{"aria-label":k.value}),null,16,[`aria-label`])]):f(`v-if`,!0),_(e.$slots,`trailing`,{clear:t,modelValue:n,toggle:M,visible:v(E)}),_(e.$slots,`visible`,{clear:t,modelValue:n,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};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { PasswordCompactProps, PasswordCompactSlots } from "./types.js";
|
|
2
|
+
import * as _$vue from "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/components/password/password-compact.vue.d.ts
|
|
5
|
+
type __VLS_Slots = PasswordCompactSlots;
|
|
6
|
+
declare const __VLS_base: _$vue.DefineComponent<PasswordCompactProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (value: string) => any;
|
|
8
|
+
"update:visible": (visible: boolean) => any;
|
|
9
|
+
}, string, _$vue.PublicProps, Readonly<PasswordCompactProps> & Readonly<{
|
|
10
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
11
|
+
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
visible: boolean;
|
|
14
|
+
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
//#endregion
|
|
23
|
+
export { _default };
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { UiClass } from "../../types/common.js";
|
|
2
|
+
import { ButtonProps } from "../button/types.js";
|
|
3
|
+
import { InputClearProps, InputControlProps, InputRootEmits, InputRootProps, InputUiSlot } from "../input/types.js";
|
|
4
|
+
|
|
5
|
+
//#region src/components/password/types.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* Slot properties for the PasswordCompact component.
|
|
8
|
+
*/
|
|
9
|
+
interface PasswordCompactSlotProps {
|
|
10
|
+
/**
|
|
11
|
+
* Current model value.
|
|
12
|
+
*/
|
|
13
|
+
modelValue?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Clear handler.
|
|
16
|
+
*/
|
|
17
|
+
clear: () => void;
|
|
18
|
+
/**
|
|
19
|
+
* Whether the password is visible.
|
|
20
|
+
*/
|
|
21
|
+
visible: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Toggle password visibility.
|
|
24
|
+
*/
|
|
25
|
+
toggle: () => void;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Properties for the PasswordCompact component.
|
|
29
|
+
*/
|
|
30
|
+
interface PasswordCompactProps extends InputRootProps {
|
|
31
|
+
/**
|
|
32
|
+
* Whether to show the clear trigger.
|
|
33
|
+
*
|
|
34
|
+
* @defaultValue false
|
|
35
|
+
*/
|
|
36
|
+
clearable?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Controlled password visibility.
|
|
39
|
+
*/
|
|
40
|
+
visible?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* The function to set the input element.
|
|
43
|
+
*/
|
|
44
|
+
inputRef?: (el: HTMLInputElement) => void;
|
|
45
|
+
/**
|
|
46
|
+
* Properties forwarded to the control element.
|
|
47
|
+
*/
|
|
48
|
+
controlProps?: InputControlProps;
|
|
49
|
+
/**
|
|
50
|
+
* Properties forwarded to the clear element.
|
|
51
|
+
*/
|
|
52
|
+
clearProps?: InputClearProps;
|
|
53
|
+
/**
|
|
54
|
+
* Properties forwarded to the visible element.
|
|
55
|
+
*/
|
|
56
|
+
visibleProps?: ButtonProps;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Events for the PasswordCompact component.
|
|
60
|
+
*/
|
|
61
|
+
type PasswordCompactEmits = InputRootEmits & {
|
|
62
|
+
/**
|
|
63
|
+
* Emitted when the visible state changes.
|
|
64
|
+
*/
|
|
65
|
+
'update:visible': [visible: boolean];
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Slots for the PasswordCompact component.
|
|
69
|
+
*/
|
|
70
|
+
type PasswordCompactSlots = {
|
|
71
|
+
/**
|
|
72
|
+
* Custom content for the leading slot.
|
|
73
|
+
*/
|
|
74
|
+
leading?: (props: PasswordCompactSlotProps) => any;
|
|
75
|
+
/**
|
|
76
|
+
* Custom content for the trailing slot.
|
|
77
|
+
*/
|
|
78
|
+
trailing?: (props: PasswordCompactSlotProps) => any;
|
|
79
|
+
/**
|
|
80
|
+
* Custom content for the clear slot.
|
|
81
|
+
*/
|
|
82
|
+
clear?: (props: PasswordCompactSlotProps) => any;
|
|
83
|
+
/**
|
|
84
|
+
* Custom content for the visible slot.
|
|
85
|
+
*/
|
|
86
|
+
visible?: (props: PasswordCompactSlotProps) => any;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Available UI slots for the Password component.
|
|
90
|
+
*/
|
|
91
|
+
type PasswordUiSlot = InputUiSlot | 'visible';
|
|
92
|
+
/**
|
|
93
|
+
* UI class overrides for the Password component.
|
|
94
|
+
*/
|
|
95
|
+
type PasswordUi = UiClass<PasswordUiSlot>;
|
|
96
|
+
//#endregion
|
|
97
|
+
export { PasswordCompactEmits, PasswordCompactProps, PasswordCompactSlotProps, PasswordCompactSlots, PasswordUi, PasswordUiSlot };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { UiClass } from "../../types/common.js";
|
|
2
|
+
import { UseUiConsumer } from "../../composables/use-ui-context.js";
|
|
3
|
+
import { PopconfirmUiSlot } from "./types.js";
|
|
4
|
+
import * as _$vue from "vue";
|
|
5
|
+
|
|
6
|
+
//#region src/components/popconfirm/context.d.ts
|
|
7
|
+
declare const providePopconfirmUi: (ui: _$vue.ComputedRef<Partial<UiClass<PopconfirmUiSlot>>>) => _$vue.ComputedRef<Partial<UiClass<PopconfirmUiSlot>>>, usePopconfirmUi: UseUiConsumer<PopconfirmUiSlot>;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { providePopconfirmUi };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useUiContext as e}from"../../composables/use-ui-context.js";import"../../composables/index.js";import{providePopoverUi as t}from"../popover/context.js";const[n,r]=e(`Popconfirm`,e=>(t(e),e));export{n as providePopconfirmUi,r as usePopconfirmUi};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { PopperAnchorProps, PopperArrowProps } from "../popper/types.js";
|
|
2
|
+
import { PortalProps } from "../portal/types.js";
|
|
3
|
+
import { _default as _default$10 } from "../portal/portal.vue.js";
|
|
4
|
+
import { PopoverCloseProps, PopoverPopupProps, PopoverPositionerEmits, PopoverPositionerProps, PopoverRootEmits, PopoverRootProps, PopoverTriggerProps } from "../popover/types.js";
|
|
5
|
+
import { _default } from "../popper/popper-arrow.vue.js";
|
|
6
|
+
import { PopconfirmCancelEmits, PopconfirmCancelProps, PopconfirmCompactBaseSlotProps, PopconfirmCompactEmits, PopconfirmCompactProps, PopconfirmCompactSlots, PopconfirmConfirmEmits, PopconfirmConfirmProps, PopconfirmContentProps, PopconfirmDescriptionProps, PopconfirmFooterProps, PopconfirmHeaderProps, PopconfirmTitleProps, PopconfirmType, PopconfirmUi, PopconfirmUiSlot } from "./types.js";
|
|
7
|
+
import { _default as _default$3 } from "./popconfirm-compact.vue.js";
|
|
8
|
+
import { _default as _default$12 } from "../popover/popover-root.vue.js";
|
|
9
|
+
import { _default as _default$14 } from "../popover/popover-trigger.vue.js";
|
|
10
|
+
import { _default as _default$11 } from "../popover/popover-positioner.vue.js";
|
|
11
|
+
import { _default as _default$9 } from "../popover/popover-popup.vue.js";
|
|
12
|
+
import { _default as _default$2 } from "../popover/popover-close.vue.js";
|
|
13
|
+
import { _default as _default$8 } from "./popconfirm-header.vue.js";
|
|
14
|
+
import { _default as _default$13 } from "./popconfirm-title.vue.js";
|
|
15
|
+
import { _default as _default$6 } from "./popconfirm-description.vue.js";
|
|
16
|
+
import { _default as _default$5 } from "./popconfirm-content.vue.js";
|
|
17
|
+
import { _default as _default$7 } from "./popconfirm-footer.vue.js";
|
|
18
|
+
import { _default as _default$4 } from "./popconfirm-confirm.vue.js";
|
|
19
|
+
import { _default as _default$1 } from "./popconfirm-cancel.vue.js";
|
|
20
|
+
import { providePopconfirmUi } from "./context.js";
|
|
21
|
+
export { type PopperAnchorProps as PopconfirmAnchorProps, _default as PopconfirmArrow, type PopperArrowProps as PopconfirmArrowProps, _default$1 as PopconfirmCancel, type PopconfirmCancelEmits, type PopconfirmCancelProps, _default$2 as PopconfirmClose, type PopoverCloseProps as PopconfirmCloseProps, _default$3 as PopconfirmCompact, type PopconfirmCompactBaseSlotProps, type PopconfirmCompactEmits, type PopconfirmCompactProps, type PopconfirmCompactSlots, _default$4 as PopconfirmConfirm, type PopconfirmConfirmEmits, type PopconfirmConfirmProps, _default$5 as PopconfirmContent, type PopconfirmContentProps, _default$6 as PopconfirmDescription, type PopconfirmDescriptionProps, _default$7 as PopconfirmFooter, type PopconfirmFooterProps, _default$8 as PopconfirmHeader, type PopconfirmHeaderProps, _default$9 as PopconfirmPopup, type PopoverPopupProps as PopconfirmPopupProps, _default$10 as PopconfirmPortal, type PortalProps as PopconfirmPortalProps, _default$11 as PopconfirmPositioner, type PopoverPositionerEmits as PopconfirmPositionerEmits, type PopoverPositionerProps as PopconfirmPositionerProps, _default$12 as PopconfirmRoot, type PopoverRootEmits as PopconfirmRootEmits, type PopoverRootProps as PopconfirmRootProps, _default$13 as PopconfirmTitle, type PopconfirmTitleProps, _default$14 as PopconfirmTrigger, type PopoverTriggerProps as PopconfirmTriggerProps, type PopconfirmType, type PopconfirmUi, type PopconfirmUiSlot, providePopconfirmUi };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"../portal/portal.js";import t from"../popper/popper-arrow.js";import n from"../popover/popover-root.js";import r from"../popover/popover-trigger.js";import i from"../popover/popover-positioner.js";import a from"../popover/popover-popup.js";import o from"../popover/popover-close.js";import{providePopconfirmUi as s}from"./context.js";import c from"./popconfirm-header.js";import l from"./popconfirm-title.js";import u from"./popconfirm-description.js";import d from"./popconfirm-content.js";import f from"./popconfirm-footer.js";import p from"./popconfirm-cancel.js";import m from"./popconfirm-confirm.js";import h from"./popconfirm-compact.js";export{t as PopconfirmArrow,p as PopconfirmCancel,o as PopconfirmClose,h as PopconfirmCompact,m as PopconfirmConfirm,d as PopconfirmContent,u as PopconfirmDescription,f as PopconfirmFooter,c as PopconfirmHeader,a as PopconfirmPopup,e as PopconfirmPortal,i as PopconfirmPositioner,n as PopconfirmRoot,l as PopconfirmTitle,r as PopconfirmTrigger,s as providePopconfirmUi};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"../button/button.js";import{usePopoverRootContext as t}from"../popover/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};
|