@soybeanjs/headless 0.16.0 → 0.18.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/README.md +10 -5
- package/README.zh-CN.md +10 -5
- package/dist/components/_icon/types.d.ts +9 -0
- package/dist/components/accordion/types.d.ts +87 -0
- package/dist/components/affix/types.d.ts +39 -0
- package/dist/components/alert/types.d.ts +78 -0
- package/dist/components/anchor/anchor-compact.js +1 -1
- package/dist/components/anchor/{anchor-compact-item.js → anchor-item-compact.js} +1 -1
- package/dist/components/anchor/anchor-item-compact.vue.d.ts +8 -0
- package/dist/components/anchor/anchor-link.js +1 -1
- package/dist/components/anchor/index.d.ts +5 -4
- package/dist/components/anchor/index.js +1 -1
- package/dist/components/anchor/types.d.ts +122 -10
- package/dist/components/arrow/types.d.ts +3 -0
- package/dist/components/aspect-ratio/types.d.ts +3 -0
- package/dist/components/autocomplete/autocomplete-root.vue.d.ts +1 -1
- package/dist/components/autocomplete/types.d.ts +141 -0
- package/dist/components/avatar/avatar-compact.js +1 -0
- package/dist/components/avatar/avatar-compact.vue.d.ts +20 -0
- 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/index.d.ts +6 -5
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/avatar/types.d.ts +50 -1
- package/dist/components/backtop/backtop.vue.d.ts +10 -4
- package/dist/components/backtop/index.d.ts +2 -2
- package/dist/components/backtop/types.d.ts +19 -12
- package/dist/components/badge/badge-compact.js +1 -0
- package/dist/components/badge/badge-compact.vue.d.ts +21 -0
- package/dist/components/badge/badge-content.js +1 -1
- package/dist/components/badge/badge-root.js +1 -1
- package/dist/components/badge/index.d.ts +5 -4
- package/dist/components/badge/index.js +1 -1
- package/dist/components/badge/types.d.ts +42 -1
- package/dist/components/bottom-sheet/bottom-sheet-compact.js +1 -1
- package/dist/components/bottom-sheet/bottom-sheet-root-nested.js +1 -1
- package/dist/components/bottom-sheet/bottom-sheet-root.js +1 -1
- package/dist/components/bottom-sheet/types.d.ts +99 -0
- package/dist/components/breadcrumb/index.d.ts +2 -2
- package/dist/components/breadcrumb/types.d.ts +103 -1
- package/dist/components/button/button.js +1 -1
- package/dist/components/button/button.vue.d.ts +2 -2
- package/dist/components/button/types.d.ts +18 -3
- package/dist/components/calendar/calendar-root.js +1 -1
- package/dist/components/calendar/types.d.ts +363 -0
- package/dist/components/card/card-root.vue.d.ts +1 -1
- package/dist/components/card/types.d.ts +90 -0
- package/dist/components/carousel/carousel-compact.js +1 -0
- package/dist/components/carousel/carousel-compact.vue.d.ts +23 -0
- package/dist/components/carousel/carousel-container.js +1 -0
- package/dist/components/carousel/carousel-container.vue.d.ts +18 -0
- package/dist/components/carousel/carousel-content.js +1 -1
- package/dist/components/carousel/carousel-control.js +1 -0
- package/dist/components/carousel/carousel-control.vue.d.ts +18 -0
- package/dist/components/carousel/carousel-item.js +1 -1
- package/dist/components/carousel/carousel-navigation.js +1 -0
- package/dist/components/carousel/carousel-navigation.vue.d.ts +18 -0
- package/dist/components/carousel/carousel-next.js +1 -1
- package/dist/components/carousel/carousel-next.vue.d.ts +2 -12
- package/dist/components/carousel/carousel-previous.js +1 -1
- package/dist/components/carousel/carousel-previous.vue.d.ts +2 -12
- package/dist/components/carousel/carousel-root.js +1 -1
- package/dist/components/carousel/carousel-root.vue.d.ts +6 -28
- package/dist/components/carousel/context.d.ts +0 -1
- package/dist/components/carousel/context.js +1 -1
- package/dist/components/carousel/hooks.js +1 -0
- package/dist/components/carousel/index.d.ts +11 -9
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/carousel/types.d.ts +146 -12
- package/dist/components/checkbox/types.d.ts +111 -0
- package/dist/components/clipboard/clipboard.vue.d.ts +2 -2
- package/dist/components/clipboard/types.d.ts +43 -1
- package/dist/components/collapsible/collapsible-root.vue.d.ts +1 -1
- package/dist/components/collapsible/types.d.ts +18 -0
- package/dist/components/color-area/color-area-root.vue.d.ts +2 -2
- package/dist/components/color-area/types.d.ts +60 -0
- package/dist/components/color-field/color-field-root.vue.d.ts +2 -2
- package/dist/components/color-field/types.d.ts +51 -0
- package/dist/components/color-picker/color-picker-root.vue.d.ts +1 -1
- package/dist/components/color-picker/types.d.ts +39 -0
- package/dist/components/color-slider/color-slider-root.vue.d.ts +2 -2
- package/dist/components/color-slider/types.d.ts +60 -0
- package/dist/components/color-swatch/types.d.ts +9 -0
- package/dist/components/color-swatch-picker/color-swatch-picker-root.vue.d.ts +2 -2
- package/dist/components/color-swatch-picker/types.d.ts +27 -0
- package/dist/components/combobox/combobox-compact.vue.d.ts +2 -2
- package/dist/components/combobox/combobox-content.vue.d.ts +1 -1
- package/dist/components/combobox/types.d.ts +237 -0
- package/dist/components/command/command-compact.vue.d.ts +2 -2
- package/dist/components/command/types.d.ts +147 -0
- package/dist/components/config-provider/config-provider.js +12 -0
- package/dist/components/config-provider/types.d.ts +3 -0
- package/dist/components/context-menu/context-menu-checkbox-compact.js +1 -1
- package/dist/components/context-menu/context-menu-checkbox-compact.vue.d.ts +2 -2
- package/dist/components/context-menu/context-menu-compact.js +1 -1
- package/dist/components/context-menu/context-menu-compact.vue.d.ts +2 -2
- package/dist/components/context-menu/context-menu-content.vue.d.ts +2 -2
- package/dist/components/context-menu/context-menu-radio-compact.js +1 -1
- package/dist/components/context-menu/context-menu-radio-compact.vue.d.ts +2 -2
- package/dist/components/context-menu/context-menu-root.js +1 -1
- package/dist/components/context-menu/context-menu-wrapper-compact.js +1 -1
- package/dist/components/context-menu/context-menu-wrapper-compact.vue.d.ts +2 -2
- package/dist/components/context-menu/types.d.ts +78 -0
- package/dist/components/date-field/types.d.ts +147 -0
- package/dist/components/date-picker/context.js +1 -1
- package/dist/components/date-picker/date-picker-compact.js +1 -0
- package/dist/components/date-picker/date-picker-compact.vue.d.ts +27 -0
- package/dist/components/date-picker/date-picker-content.js +1 -0
- package/dist/components/date-picker/date-picker-content.vue.d.ts +33 -0
- package/dist/components/date-picker/date-picker-root.js +1 -1
- package/dist/components/date-picker/date-picker-root.vue.d.ts +3 -8
- package/dist/components/date-picker/index.d.ts +8 -5
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-picker/types.d.ts +236 -10
- package/dist/components/date-range-field/types.d.ts +192 -0
- package/dist/components/date-range-picker/date-range-picker-compact.vue.d.ts +2 -2
- package/dist/components/date-range-picker/date-range-picker-root.vue.d.ts +3 -3
- package/dist/components/date-range-picker/types.d.ts +189 -0
- package/dist/components/dialog/dialog-compact.js +1 -1
- package/dist/components/dialog/dialog-compact.vue.d.ts +1 -1
- package/dist/components/dialog/dialog-root.js +1 -1
- package/dist/components/dialog/types.d.ts +196 -2
- package/dist/components/dropdown-menu/dropdown-menu-checkbox-compact.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-checkbox-compact.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-compact.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-compact.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-radio-compact.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-radio-compact.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-root.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-wrapper-compact.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-wrapper-compact.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/types.d.ts +84 -0
- package/dist/components/editable/types.d.ts +123 -0
- package/dist/components/empty/empty-compact.js +1 -0
- package/dist/components/empty/empty-compact.vue.d.ts +15 -0
- 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/index.d.ts +9 -8
- package/dist/components/empty/index.js +1 -1
- package/dist/components/empty/types.d.ts +88 -1
- package/dist/components/form/context.d.ts +3 -2
- package/dist/components/form/context.js +1 -1
- package/dist/components/form/core/types.d.ts +399 -16
- package/dist/components/form/core/use-form.js +1 -1
- package/dist/components/form/form-compact.js +1 -0
- package/dist/components/form/form-compact.vue.d.ts +21 -0
- 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 -0
- package/dist/components/form/form-field-array-compact.vue.d.ts +16 -0
- package/dist/components/form/form-field-base-compact.js +1 -0
- package/dist/components/form/form-field-base-compact.vue.d.ts +26 -0
- package/dist/components/form/form-field-compact.js +1 -0
- package/dist/components/form/form-field-compact.vue.d.ts +16 -0
- package/dist/components/form/form-field.js +1 -1
- package/dist/components/form/form-label.js +1 -1
- package/dist/components/form/index.d.ts +14 -10
- package/dist/components/form/index.js +1 -1
- package/dist/components/form/shared.js +1 -0
- package/dist/components/form/types.d.ts +149 -3
- package/dist/components/form/use-form.d.ts +8 -0
- package/dist/components/form/use-form.js +1 -0
- package/dist/components/hover-card/hover-card-compact.vue.d.ts +1 -1
- package/dist/components/hover-card/hover-card-positioner-impl.js +1 -1
- package/dist/components/hover-card/hover-card-root.vue.d.ts +1 -1
- package/dist/components/hover-card/types.d.ts +57 -0
- package/dist/components/input/index.d.ts +6 -4
- package/dist/components/input/index.js +1 -1
- package/dist/components/input/input-clear.js +1 -0
- package/dist/components/input/input-clear.vue.d.ts +22 -0
- package/dist/components/input/input-compact.js +1 -0
- package/dist/components/input/input-compact.vue.d.ts +21 -0
- package/dist/components/input/input-control.js +1 -1
- package/dist/components/input/input-root.js +1 -1
- package/dist/components/input/types.d.ts +94 -2
- package/dist/components/input-number/input-number-root.vue.d.ts +1 -1
- package/dist/components/input-number/types.d.ts +30 -0
- package/dist/components/input-otp/index.d.ts +1 -2
- package/dist/components/input-otp/index.js +1 -1
- package/dist/components/input-otp/input-otp-root.vue.d.ts +1 -1
- package/dist/components/input-otp/types.d.ts +186 -0
- package/dist/components/kbd/types.d.ts +6 -0
- package/dist/components/label/types.d.ts +3 -0
- package/dist/components/layout/layout-classic-compact.vue.d.ts +1 -1
- package/dist/components/layout/layout-compact.vue.d.ts +1 -1
- package/dist/components/layout/layout-root.vue.d.ts +2 -2
- package/dist/components/layout/types.d.ts +124 -10
- package/dist/components/link/types.d.ts +12 -0
- package/dist/components/list/types.d.ts +21 -0
- package/dist/components/listbox/listbox-root.vue.d.ts +2 -2
- package/dist/components/listbox/types.d.ts +66 -0
- package/dist/components/menu/menu-content.vue.d.ts +2 -2
- package/dist/components/menu/menu-option-compact.js +1 -1
- package/dist/components/menu/menu-option-compact.vue.d.ts +2 -2
- package/dist/components/menu/menu-options-compact.js +1 -1
- package/dist/components/menu/menu-options-compact.vue.d.ts +2 -2
- package/dist/components/menu/menu-root.js +1 -1
- package/dist/components/menu/menu-sub-content.vue.d.ts +2 -2
- package/dist/components/menu/types.d.ts +266 -2
- package/dist/components/menubar/menubar-compact.js +1 -1
- package/dist/components/menubar/menubar-compact.vue.d.ts +2 -2
- package/dist/components/menubar/menubar-content.vue.d.ts +2 -2
- package/dist/components/menubar/menubar-sub-content.vue.d.ts +2 -2
- package/dist/components/menubar/types.d.ts +72 -0
- package/dist/components/month-picker/month-picker-root.vue.d.ts +1 -1
- package/dist/components/month-picker/types.d.ts +141 -0
- package/dist/components/month-range-picker/month-range-picker-root.vue.d.ts +3 -3
- package/dist/components/month-range-picker/types.d.ts +165 -0
- package/dist/components/navigation-menu/types.d.ts +96 -9
- package/dist/components/page-tabs/types.d.ts +24 -0
- package/dist/components/pagination/types.d.ts +96 -0
- package/dist/components/popover/context.d.ts +9 -0
- package/dist/components/popover/context.js +1 -1
- package/dist/components/popover/index.d.ts +6 -6
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/popover-compact.js +1 -1
- package/dist/components/popover/popover-compact.vue.d.ts +1 -1
- package/dist/components/popover/popover-root.js +1 -1
- package/dist/components/popover/popover-root.vue.d.ts +0 -2
- package/dist/components/popover/popover-trigger.js +1 -1
- package/dist/components/popover/types.d.ts +94 -6
- package/dist/components/popper/popper-positioner.vue.d.ts +1 -1
- package/dist/components/popper/types.d.ts +21 -0
- package/dist/components/portal/types.d.ts +3 -0
- package/dist/components/primitive/types.d.ts +6 -0
- package/dist/components/progress/types.d.ts +81 -0
- package/dist/components/radio-group/types.d.ts +66 -0
- package/dist/components/range-calendar/types.d.ts +330 -0
- package/dist/components/roving-focus/types.d.ts +18 -0
- package/dist/components/scroll-area/types.d.ts +33 -0
- package/dist/components/segment/types.d.ts +36 -0
- package/dist/components/select/select-content.vue.d.ts +1 -1
- package/dist/components/select/types.d.ts +240 -0
- package/dist/components/separator/types.d.ts +12 -0
- package/dist/components/skeleton/types.d.ts +3 -0
- package/dist/components/slider/slider-root.vue.d.ts +2 -2
- package/dist/components/slider/types.d.ts +90 -0
- package/dist/components/splitter/splitter-group.vue.d.ts +1 -1
- package/dist/components/splitter/types.d.ts +114 -0
- package/dist/components/stepper/stepper-root.vue.d.ts +1 -1
- package/dist/components/stepper/types.d.ts +96 -0
- package/dist/components/switch/types.d.ts +21 -0
- package/dist/components/table/types.d.ts +819 -0
- package/dist/components/tabs/tabs-root.vue.d.ts +1 -1
- package/dist/components/tabs/types.d.ts +75 -0
- package/dist/components/tag/types.d.ts +12 -0
- package/dist/components/tags-input/types.d.ts +63 -0
- package/dist/components/textarea/types.d.ts +27 -0
- package/dist/components/time-field/types.d.ts +138 -0
- package/dist/components/time-picker/time-picker-root.vue.d.ts +1 -1
- package/dist/components/time-picker/types.d.ts +156 -0
- package/dist/components/time-range-field/time-range-field-root.vue.d.ts +1 -1
- package/dist/components/time-range-field/types.d.ts +192 -0
- package/dist/components/time-range-picker/time-range-picker-compact.vue.d.ts +2 -2
- package/dist/components/time-range-picker/time-range-picker-root.vue.d.ts +3 -3
- package/dist/components/time-range-picker/types.d.ts +201 -0
- package/dist/components/toast/toaster.vue.d.ts +2 -2
- package/dist/components/toast/types.d.ts +224 -4
- package/dist/components/toggle/types.d.ts +9 -0
- package/dist/components/toggle-group/types.d.ts +15 -0
- package/dist/components/toolbar/toolbar-button.vue.d.ts +2 -2
- package/dist/components/toolbar/types.d.ts +48 -0
- package/dist/components/tooltip/tooltip-root.vue.d.ts +1 -1
- package/dist/components/tooltip/types.d.ts +27 -0
- package/dist/components/tree/types.d.ts +75 -0
- package/dist/components/tree-menu/types.d.ts +60 -0
- package/dist/components/virtualizer/types.d.ts +33 -0
- package/dist/components/visually-hidden/types.d.ts +30 -0
- package/dist/components/year-picker/types.d.ts +144 -0
- package/dist/components/year-picker/year-picker-root.vue.d.ts +1 -1
- package/dist/components/year-range-picker/types.d.ts +168 -0
- package/dist/components/year-range-picker/year-range-picker-root.vue.d.ts +3 -3
- package/dist/composables/use-collection.js +1 -1
- package/dist/constants/components.d.ts +5 -5
- package/dist/constants/components.js +1 -1
- package/dist/constants/index.d.ts +2 -1
- package/dist/constants/index.js +1 -1
- package/dist/{components/input-otp → constants}/regexp.d.ts +1 -1
- package/dist/date/parts.d.ts +1 -1
- package/dist/index.d.ts +440 -428
- package/dist/index.js +1 -1
- package/dist/namespaced/index.d.ts +903 -872
- package/dist/namespaced/index.js +1 -1
- package/dist/node_modules/.pnpm/@soybeanjs_utils@0.1.1/node_modules/@soybeanjs/utils/dist/index.js +1 -1
- package/dist/resolver/index.js +1 -1
- package/dist/shared/index.d.ts +2 -2
- package/dist/shared/index.js +1 -1
- package/dist/shared/string.d.ts +1 -34
- package/dist/shared/string.js +1 -1
- package/dist/types/common.d.ts +10 -2
- package/dist/types/dom.d.ts +3 -1
- package/dist/types/event.d.ts +10 -1
- package/dist/types/index.d.ts +5 -4
- package/dist/types/index.js +0 -0
- package/dist/types/vue.d.ts +4 -1
- package/package.json +9 -2
- package/dist/components/date-picker/date-picker-popup.js +0 -1
- package/dist/components/date-picker/date-picker-popup.vue.d.ts +0 -21
- package/dist/components/date-picker/date-picker-trigger.js +0 -1
- package/dist/components/date-picker/date-picker-trigger.vue.d.ts +0 -21
- package/dist/components/form/core/use-form.d.ts +0 -7
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Alignment.d.ts +0 -4
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Animations.d.ts +0 -11
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Axis.d.ts +0 -16
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Counter.d.ts +0 -9
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/DragHandler.d.ts +0 -13
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/DragTracker.d.ts +0 -4
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/EmblaCarousel.d.ts +0 -31
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Engine.d.ts +0 -67
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/EventHandler.d.ts +0 -29
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/EventStore.d.ts +0 -10
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Limit.d.ts +0 -13
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/NodeRects.d.ts +0 -11
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Options.d.ts +0 -43
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/OptionsHandler.d.ts +0 -11
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/PercentOfView.d.ts +0 -6
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Plugins.d.ts +0 -20
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ResizeHandler.d.ts +0 -11
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollBody.d.ts +0 -14
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollBounds.d.ts +0 -8
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollContain.d.ts +0 -4
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollLooper.d.ts +0 -6
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollProgress.d.ts +0 -6
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollTarget.d.ts +0 -12
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollTo.d.ts +0 -7
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlideFocus.d.ts +0 -10
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlideLooper.d.ts +0 -19
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlideRegistry.d.ts +0 -6
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlidesHandler.d.ts +0 -11
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlidesInView.d.ts +0 -9
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlidesToScroll.d.ts +0 -7
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Translate.d.ts +0 -8
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Vector1d.d.ts +0 -9
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/utils.d.ts +0 -4
- /package/dist/{components/input-otp → constants}/regexp.js +0 -0
|
@@ -7,55 +7,196 @@ import { ComputedRef, HTMLAttributes, ShallowRef } from "vue";
|
|
|
7
7
|
import { DateValue } from "@internationalized/date";
|
|
8
8
|
|
|
9
9
|
//#region src/components/month-picker/types.d.ts
|
|
10
|
+
/**
|
|
11
|
+
* Properties for the MonthPickerRoot component.
|
|
12
|
+
*/
|
|
10
13
|
interface MonthPickerRootProps extends PrimitiveProps, FormFieldCommonProps, /** @vue-ignore */Omit<HTMLAttributes, 'placeholder'> {
|
|
14
|
+
/**
|
|
15
|
+
* Default value.
|
|
16
|
+
*/
|
|
11
17
|
defaultValue?: DateValue;
|
|
18
|
+
/**
|
|
19
|
+
* Default placeholder.
|
|
20
|
+
*/
|
|
12
21
|
defaultPlaceholder?: DateValue;
|
|
22
|
+
/**
|
|
23
|
+
* Placeholder.
|
|
24
|
+
*/
|
|
13
25
|
placeholder?: DateValue;
|
|
26
|
+
/**
|
|
27
|
+
* Current model value.
|
|
28
|
+
*/
|
|
14
29
|
modelValue?: DateValue;
|
|
30
|
+
/**
|
|
31
|
+
* Min value.
|
|
32
|
+
*/
|
|
15
33
|
minValue?: DateValue;
|
|
34
|
+
/**
|
|
35
|
+
* Max value.
|
|
36
|
+
*/
|
|
16
37
|
maxValue?: DateValue;
|
|
38
|
+
/**
|
|
39
|
+
* Locale.
|
|
40
|
+
*/
|
|
17
41
|
locale?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Whether the component is disabled.
|
|
44
|
+
*/
|
|
18
45
|
disabled?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Whether the component is readonly.
|
|
48
|
+
*/
|
|
19
49
|
readonly?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Id.
|
|
52
|
+
*/
|
|
20
53
|
id?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Reading direction of the component.
|
|
56
|
+
*/
|
|
21
57
|
dir?: Direction;
|
|
58
|
+
/**
|
|
59
|
+
* Whether the component is open by default.
|
|
60
|
+
*/
|
|
22
61
|
defaultOpen?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Whether the component is open.
|
|
64
|
+
*/
|
|
23
65
|
open?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Whether the popup is modal.
|
|
68
|
+
*/
|
|
24
69
|
modal?: boolean;
|
|
25
70
|
}
|
|
71
|
+
/**
|
|
72
|
+
* Events for the MonthPickerRoot component.
|
|
73
|
+
*/
|
|
26
74
|
type MonthPickerRootEmits = {
|
|
75
|
+
/**
|
|
76
|
+
* Emitted when the model value changes.
|
|
77
|
+
*/
|
|
27
78
|
'update:modelValue': [date: DateValue | undefined];
|
|
79
|
+
/**
|
|
80
|
+
* Emitted when the placeholder value changes.
|
|
81
|
+
*/
|
|
28
82
|
'update:placeholder': [date: DateValue];
|
|
83
|
+
/**
|
|
84
|
+
* Emitted when the open state changes.
|
|
85
|
+
*/
|
|
29
86
|
'update:open': [open: boolean];
|
|
30
87
|
};
|
|
88
|
+
/**
|
|
89
|
+
* Properties for the MonthPickerTrigger component.
|
|
90
|
+
*/
|
|
31
91
|
interface MonthPickerTriggerProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
92
|
+
/**
|
|
93
|
+
* Properties for the MonthPickerPopup component.
|
|
94
|
+
*/
|
|
32
95
|
interface MonthPickerPopupProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
96
|
+
/**
|
|
97
|
+
* Context for the MonthPickerRoot component.
|
|
98
|
+
*/
|
|
33
99
|
interface MonthPickerRootContext extends PropsToContext<MonthPickerRootProps, 'disabled' | 'readonly'> {
|
|
100
|
+
/**
|
|
101
|
+
* Locale used by the component context.
|
|
102
|
+
*/
|
|
34
103
|
locale: ComputedRef<string>;
|
|
104
|
+
/**
|
|
105
|
+
* Reading direction of the component.
|
|
106
|
+
*/
|
|
35
107
|
dir: ComputedRef<Direction>;
|
|
108
|
+
/**
|
|
109
|
+
* Current model value.
|
|
110
|
+
*/
|
|
36
111
|
modelValue: ShallowRef<DateValue | undefined>;
|
|
112
|
+
/**
|
|
113
|
+
* Placeholder used by the component context.
|
|
114
|
+
*/
|
|
37
115
|
placeholder: ShallowRef<DateValue>;
|
|
116
|
+
/**
|
|
117
|
+
* Whether the current value is invalid.
|
|
118
|
+
*/
|
|
38
119
|
isInvalid: ComputedRef<boolean>;
|
|
120
|
+
/**
|
|
121
|
+
* Formatter used by the component context.
|
|
122
|
+
*/
|
|
39
123
|
formatter: Formatter;
|
|
124
|
+
/**
|
|
125
|
+
* Whether the component is open.
|
|
126
|
+
*/
|
|
40
127
|
open: ShallowRef<boolean | undefined>;
|
|
128
|
+
/**
|
|
129
|
+
* Popup id used by the component context.
|
|
130
|
+
*/
|
|
41
131
|
popupId: string;
|
|
132
|
+
/**
|
|
133
|
+
* Display value used by the component context.
|
|
134
|
+
*/
|
|
42
135
|
displayValue: ComputedRef<string>;
|
|
136
|
+
/**
|
|
137
|
+
* Heading value used by the component context.
|
|
138
|
+
*/
|
|
43
139
|
headingValue: ComputedRef<string>;
|
|
140
|
+
/**
|
|
141
|
+
* Focused month used by the component context.
|
|
142
|
+
*/
|
|
44
143
|
focusedMonth: ShallowRef<DateValue>;
|
|
144
|
+
/**
|
|
145
|
+
* Min value used by the component context.
|
|
146
|
+
*/
|
|
45
147
|
minValue: ComputedRef<DateValue | undefined>;
|
|
148
|
+
/**
|
|
149
|
+
* Max value used by the component context.
|
|
150
|
+
*/
|
|
46
151
|
maxValue: ComputedRef<DateValue | undefined>;
|
|
152
|
+
/**
|
|
153
|
+
* Callback invoked when the month changes.
|
|
154
|
+
*/
|
|
47
155
|
onMonthChange: (date: DateValue) => void;
|
|
156
|
+
/**
|
|
157
|
+
* Callback invoked when the placeholder changes.
|
|
158
|
+
*/
|
|
48
159
|
onPlaceholderChange: (date: DateValue) => void;
|
|
160
|
+
/**
|
|
161
|
+
* Whether the month is disabled.
|
|
162
|
+
*/
|
|
49
163
|
isMonthDisabled: (date: DateValue) => boolean;
|
|
164
|
+
/**
|
|
165
|
+
* Whether the month is selected.
|
|
166
|
+
*/
|
|
50
167
|
isMonthSelected: (date: DateValue) => boolean;
|
|
168
|
+
/**
|
|
169
|
+
* Set open used by the component context.
|
|
170
|
+
*/
|
|
51
171
|
setOpen: (value: boolean) => void;
|
|
172
|
+
/**
|
|
173
|
+
* Set focused month used by the component context.
|
|
174
|
+
*/
|
|
52
175
|
setFocusedMonth: (date: DateValue) => void;
|
|
176
|
+
/**
|
|
177
|
+
* Prev page used by the component context.
|
|
178
|
+
*/
|
|
53
179
|
prevPage: () => void;
|
|
180
|
+
/**
|
|
181
|
+
* Next page used by the component context.
|
|
182
|
+
*/
|
|
54
183
|
nextPage: () => void;
|
|
184
|
+
/**
|
|
185
|
+
* Whether the previous button is disabled.
|
|
186
|
+
*/
|
|
55
187
|
isPrevButtonDisabled: () => boolean;
|
|
188
|
+
/**
|
|
189
|
+
* Whether the next button is disabled.
|
|
190
|
+
*/
|
|
56
191
|
isNextButtonDisabled: () => boolean;
|
|
57
192
|
}
|
|
193
|
+
/**
|
|
194
|
+
* Available UI slots for the MonthPicker component.
|
|
195
|
+
*/
|
|
58
196
|
type MonthPickerUiSlot = 'root' | 'trigger' | 'popup' | 'header' | 'heading' | 'prev' | 'next' | 'grid' | 'cellTrigger';
|
|
197
|
+
/**
|
|
198
|
+
* UI class overrides for the MonthPicker component.
|
|
199
|
+
*/
|
|
59
200
|
type MonthPickerUi = UiClass<MonthPickerUiSlot>;
|
|
60
201
|
//#endregion
|
|
61
202
|
export { MonthPickerPopupProps, MonthPickerRootContext, MonthPickerRootEmits, MonthPickerRootProps, MonthPickerTriggerProps, MonthPickerUi, MonthPickerUiSlot };
|
|
@@ -13,23 +13,23 @@ type __VLS_Slots = {
|
|
|
13
13
|
declare const __VLS_base: _$vue.DefineComponent<MonthRangePickerRootProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
14
14
|
"update:modelValue": (range: DateRange) => any;
|
|
15
15
|
"update:placeholder": (date: DateValue) => any;
|
|
16
|
-
"update:open": (open: boolean) => any;
|
|
17
16
|
"update:startValue": (date: DateValue | undefined) => any;
|
|
18
17
|
"update:endValue": (date: DateValue | undefined) => any;
|
|
18
|
+
"update:open": (open: boolean) => any;
|
|
19
19
|
}, string, _$vue.PublicProps, Readonly<MonthRangePickerRootProps> & Readonly<{
|
|
20
20
|
"onUpdate:modelValue"?: ((range: DateRange) => any) | undefined;
|
|
21
21
|
"onUpdate:placeholder"?: ((date: DateValue) => any) | undefined;
|
|
22
|
-
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
23
22
|
"onUpdate:startValue"?: ((date: DateValue | undefined) => any) | undefined;
|
|
24
23
|
"onUpdate:endValue"?: ((date: DateValue | undefined) => any) | undefined;
|
|
24
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
26
|
placeholder: DateValue;
|
|
27
27
|
disabled: boolean;
|
|
28
28
|
defaultValue: DateRange;
|
|
29
29
|
defaultPlaceholder: DateValue;
|
|
30
30
|
readonly: boolean;
|
|
31
|
-
open: boolean;
|
|
32
31
|
defaultOpen: boolean;
|
|
32
|
+
open: boolean;
|
|
33
33
|
modal: boolean;
|
|
34
34
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -7,63 +7,228 @@ import { Formatter } from "../../date/formatter.js";
|
|
|
7
7
|
import { ComputedRef, HTMLAttributes, ShallowRef } from "vue";
|
|
8
8
|
|
|
9
9
|
//#region src/components/month-range-picker/types.d.ts
|
|
10
|
+
/**
|
|
11
|
+
* Properties for the MonthRangePickerRoot component.
|
|
12
|
+
*/
|
|
10
13
|
interface MonthRangePickerRootProps extends PrimitiveProps, FormFieldCommonProps, /** @vue-ignore */Omit<HTMLAttributes, 'placeholder'> {
|
|
14
|
+
/**
|
|
15
|
+
* Default value.
|
|
16
|
+
*/
|
|
11
17
|
defaultValue?: DateRange;
|
|
18
|
+
/**
|
|
19
|
+
* Default placeholder.
|
|
20
|
+
*/
|
|
12
21
|
defaultPlaceholder?: DateValue;
|
|
22
|
+
/**
|
|
23
|
+
* Placeholder.
|
|
24
|
+
*/
|
|
13
25
|
placeholder?: DateValue;
|
|
26
|
+
/**
|
|
27
|
+
* Current model value.
|
|
28
|
+
*/
|
|
14
29
|
modelValue?: DateRange;
|
|
30
|
+
/**
|
|
31
|
+
* Min value.
|
|
32
|
+
*/
|
|
15
33
|
minValue?: DateValue;
|
|
34
|
+
/**
|
|
35
|
+
* Max value.
|
|
36
|
+
*/
|
|
16
37
|
maxValue?: DateValue;
|
|
38
|
+
/**
|
|
39
|
+
* Locale.
|
|
40
|
+
*/
|
|
17
41
|
locale?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Whether the component is disabled.
|
|
44
|
+
*/
|
|
18
45
|
disabled?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Whether the component is readonly.
|
|
48
|
+
*/
|
|
19
49
|
readonly?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Id.
|
|
52
|
+
*/
|
|
20
53
|
id?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Reading direction of the component.
|
|
56
|
+
*/
|
|
21
57
|
dir?: Direction;
|
|
58
|
+
/**
|
|
59
|
+
* Whether the component is open by default.
|
|
60
|
+
*/
|
|
22
61
|
defaultOpen?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Whether the component is open.
|
|
64
|
+
*/
|
|
23
65
|
open?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Whether the popup is modal.
|
|
68
|
+
*/
|
|
24
69
|
modal?: boolean;
|
|
25
70
|
}
|
|
71
|
+
/**
|
|
72
|
+
* Events for the MonthRangePickerRoot component.
|
|
73
|
+
*/
|
|
26
74
|
type MonthRangePickerRootEmits = {
|
|
75
|
+
/**
|
|
76
|
+
* Emitted when the model value changes.
|
|
77
|
+
*/
|
|
27
78
|
'update:modelValue': [range: DateRange];
|
|
79
|
+
/**
|
|
80
|
+
* Emitted when the placeholder value changes.
|
|
81
|
+
*/
|
|
28
82
|
'update:placeholder': [date: DateValue];
|
|
83
|
+
/**
|
|
84
|
+
* Emitted when the start value changes.
|
|
85
|
+
*/
|
|
29
86
|
'update:startValue': [date: DateValue | undefined];
|
|
87
|
+
/**
|
|
88
|
+
* Emitted when the end value changes.
|
|
89
|
+
*/
|
|
30
90
|
'update:endValue': [date: DateValue | undefined];
|
|
91
|
+
/**
|
|
92
|
+
* Emitted when the open state changes.
|
|
93
|
+
*/
|
|
31
94
|
'update:open': [open: boolean];
|
|
32
95
|
};
|
|
96
|
+
/**
|
|
97
|
+
* Properties for the MonthRangePickerTrigger component.
|
|
98
|
+
*/
|
|
33
99
|
interface MonthRangePickerTriggerProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
100
|
+
/**
|
|
101
|
+
* Properties for the MonthRangePickerPopup component.
|
|
102
|
+
*/
|
|
34
103
|
interface MonthRangePickerPopupProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
104
|
+
/**
|
|
105
|
+
* Context for the MonthRangePickerRoot component.
|
|
106
|
+
*/
|
|
35
107
|
interface MonthRangePickerRootContext extends PropsToContext<MonthRangePickerRootProps, 'disabled' | 'readonly'> {
|
|
108
|
+
/**
|
|
109
|
+
* Locale used by the component context.
|
|
110
|
+
*/
|
|
36
111
|
locale: ComputedRef<string>;
|
|
112
|
+
/**
|
|
113
|
+
* Reading direction of the component.
|
|
114
|
+
*/
|
|
37
115
|
dir: ComputedRef<Direction>;
|
|
116
|
+
/**
|
|
117
|
+
* Current model value.
|
|
118
|
+
*/
|
|
38
119
|
modelValue: ShallowRef<DateRange>;
|
|
120
|
+
/**
|
|
121
|
+
* Placeholder used by the component context.
|
|
122
|
+
*/
|
|
39
123
|
placeholder: ShallowRef<DateValue>;
|
|
124
|
+
/**
|
|
125
|
+
* Whether the current value is invalid.
|
|
126
|
+
*/
|
|
40
127
|
isInvalid: ComputedRef<boolean>;
|
|
128
|
+
/**
|
|
129
|
+
* Formatter used by the component context.
|
|
130
|
+
*/
|
|
41
131
|
formatter: Formatter;
|
|
132
|
+
/**
|
|
133
|
+
* Whether the component is open.
|
|
134
|
+
*/
|
|
42
135
|
open: ShallowRef<boolean | undefined>;
|
|
136
|
+
/**
|
|
137
|
+
* Popup id used by the component context.
|
|
138
|
+
*/
|
|
43
139
|
popupId: string;
|
|
140
|
+
/**
|
|
141
|
+
* Display value used by the component context.
|
|
142
|
+
*/
|
|
44
143
|
displayValue: ComputedRef<string>;
|
|
144
|
+
/**
|
|
145
|
+
* Heading value used by the component context.
|
|
146
|
+
*/
|
|
45
147
|
headingValue: ComputedRef<string>;
|
|
148
|
+
/**
|
|
149
|
+
* Focused month used by the component context.
|
|
150
|
+
*/
|
|
46
151
|
focusedMonth: ShallowRef<DateValue>;
|
|
152
|
+
/**
|
|
153
|
+
* Hovered month used by the component context.
|
|
154
|
+
*/
|
|
47
155
|
hoveredMonth: ShallowRef<DateValue | undefined>;
|
|
156
|
+
/**
|
|
157
|
+
* Min value used by the component context.
|
|
158
|
+
*/
|
|
48
159
|
minValue: ComputedRef<DateValue | undefined>;
|
|
160
|
+
/**
|
|
161
|
+
* Max value used by the component context.
|
|
162
|
+
*/
|
|
49
163
|
maxValue: ComputedRef<DateValue | undefined>;
|
|
164
|
+
/**
|
|
165
|
+
* Whether the component has selected range.
|
|
166
|
+
*/
|
|
50
167
|
hasSelectedRange: ComputedRef<boolean>;
|
|
168
|
+
/**
|
|
169
|
+
* Callback invoked when the range changes.
|
|
170
|
+
*/
|
|
51
171
|
onRangeChange: (month: DateValue) => void;
|
|
172
|
+
/**
|
|
173
|
+
* Callback invoked when the placeholder changes.
|
|
174
|
+
*/
|
|
52
175
|
onPlaceholderChange: (date: DateValue) => void;
|
|
176
|
+
/**
|
|
177
|
+
* Whether the month is disabled.
|
|
178
|
+
*/
|
|
53
179
|
isMonthDisabled: (date: DateValue) => boolean;
|
|
180
|
+
/**
|
|
181
|
+
* Whether the month is selected.
|
|
182
|
+
*/
|
|
54
183
|
isMonthSelected: (date: DateValue) => boolean;
|
|
184
|
+
/**
|
|
185
|
+
* Whether the month is highlighted.
|
|
186
|
+
*/
|
|
55
187
|
isMonthHighlighted: (date: DateValue) => boolean;
|
|
188
|
+
/**
|
|
189
|
+
* Whether a range start.
|
|
190
|
+
*/
|
|
56
191
|
isRangeStart: (date: DateValue) => boolean;
|
|
192
|
+
/**
|
|
193
|
+
* Whether a range end.
|
|
194
|
+
*/
|
|
57
195
|
isRangeEnd: (date: DateValue) => boolean;
|
|
196
|
+
/**
|
|
197
|
+
* Set open used by the component context.
|
|
198
|
+
*/
|
|
58
199
|
setOpen: (value: boolean) => void;
|
|
200
|
+
/**
|
|
201
|
+
* Set focused month used by the component context.
|
|
202
|
+
*/
|
|
59
203
|
setFocusedMonth: (date: DateValue) => void;
|
|
204
|
+
/**
|
|
205
|
+
* Set hovered month used by the component context.
|
|
206
|
+
*/
|
|
60
207
|
setHoveredMonth: (date: DateValue | undefined) => void;
|
|
208
|
+
/**
|
|
209
|
+
* Prev page used by the component context.
|
|
210
|
+
*/
|
|
61
211
|
prevPage: () => void;
|
|
212
|
+
/**
|
|
213
|
+
* Next page used by the component context.
|
|
214
|
+
*/
|
|
62
215
|
nextPage: () => void;
|
|
216
|
+
/**
|
|
217
|
+
* Whether the previous button is disabled.
|
|
218
|
+
*/
|
|
63
219
|
isPrevButtonDisabled: () => boolean;
|
|
220
|
+
/**
|
|
221
|
+
* Whether the next button is disabled.
|
|
222
|
+
*/
|
|
64
223
|
isNextButtonDisabled: () => boolean;
|
|
65
224
|
}
|
|
225
|
+
/**
|
|
226
|
+
* Available UI slots for the MonthRangePicker component.
|
|
227
|
+
*/
|
|
66
228
|
type MonthRangePickerUiSlot = 'root' | 'trigger' | 'popup' | 'header' | 'heading' | 'prev' | 'next' | 'grid' | 'cellTrigger';
|
|
229
|
+
/**
|
|
230
|
+
* UI class overrides for the MonthRangePicker component.
|
|
231
|
+
*/
|
|
67
232
|
type MonthRangePickerUi = UiClass<MonthRangePickerUiSlot>;
|
|
68
233
|
//#endregion
|
|
69
234
|
export { MonthRangePickerPopupProps, MonthRangePickerRootContext, MonthRangePickerRootEmits, MonthRangePickerRootProps, MonthRangePickerTriggerProps, MonthRangePickerUi, MonthRangePickerUiSlot };
|
|
@@ -5,6 +5,9 @@ import { LinkBaseProps, LinkProps } from "../link/types.js";
|
|
|
5
5
|
import { HTMLAttributes, ShallowRef } from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/components/navigation-menu/types.d.ts
|
|
8
|
+
/**
|
|
9
|
+
* Properties for the NavigationMenuRoot component.
|
|
10
|
+
*/
|
|
8
11
|
interface NavigationMenuRootProps extends /** @vue-ignore */HTMLAttributes {
|
|
9
12
|
/** The controlled value of the menu item to activate. Can be used as `v-model`. */
|
|
10
13
|
modelValue?: string;
|
|
@@ -59,41 +62,116 @@ interface NavigationMenuRootProps extends /** @vue-ignore */HTMLAttributes {
|
|
|
59
62
|
*/
|
|
60
63
|
unmountOnHide?: boolean;
|
|
61
64
|
}
|
|
65
|
+
/**
|
|
66
|
+
* Events for the NavigationMenuRoot component.
|
|
67
|
+
*/
|
|
62
68
|
type NavigationMenuRootEmits = {
|
|
69
|
+
/**
|
|
70
|
+
* Emitted when the model value changes.
|
|
71
|
+
*/
|
|
63
72
|
'update:modelValue': [value: string];
|
|
64
73
|
};
|
|
74
|
+
/**
|
|
75
|
+
* Properties for the NavigationMenuViewport component.
|
|
76
|
+
*/
|
|
65
77
|
interface NavigationMenuViewportProps extends ForceMountProps, /** @vue-ignore */HTMLAttributes {
|
|
78
|
+
/**
|
|
79
|
+
* Align.
|
|
80
|
+
*/
|
|
66
81
|
align?: Align;
|
|
67
82
|
}
|
|
83
|
+
/**
|
|
84
|
+
* Properties for the NavigationMenuContentImpl component.
|
|
85
|
+
*/
|
|
68
86
|
interface NavigationMenuContentImplProps extends DismissableLayerProps, /** @vue-ignore */HTMLAttributes {}
|
|
87
|
+
/**
|
|
88
|
+
* Events for the NavigationMenuContentImpl component.
|
|
89
|
+
*/
|
|
69
90
|
type NavigationMenuContentImplEmits = DismissableLayerEmits;
|
|
91
|
+
/**
|
|
92
|
+
* Properties for the NavigationMenuContent component.
|
|
93
|
+
*/
|
|
70
94
|
interface NavigationMenuContentProps extends NavigationMenuContentImplProps, ForceMountProps {}
|
|
95
|
+
/**
|
|
96
|
+
* Events for the NavigationMenuContent component.
|
|
97
|
+
*/
|
|
71
98
|
type NavigationMenuContentEmits = NavigationMenuContentImplEmits;
|
|
99
|
+
/**
|
|
100
|
+
* Properties for the NavigationMenuTrigger component.
|
|
101
|
+
*/
|
|
72
102
|
interface NavigationMenuTriggerProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {
|
|
103
|
+
/**
|
|
104
|
+
* Whether the component is disabled.
|
|
105
|
+
*/
|
|
73
106
|
disabled?: boolean;
|
|
74
107
|
}
|
|
108
|
+
/**
|
|
109
|
+
* Properties for the NavigationMenuList component.
|
|
110
|
+
*/
|
|
75
111
|
interface NavigationMenuListProps extends /** @vue-ignore */HTMLAttributes {}
|
|
112
|
+
/**
|
|
113
|
+
* Properties for the NavigationMenuSubList component.
|
|
114
|
+
*/
|
|
76
115
|
interface NavigationMenuSubListProps extends /** @vue-ignore */HTMLAttributes {}
|
|
116
|
+
/**
|
|
117
|
+
* Properties for the NavigationMenuItem component.
|
|
118
|
+
*/
|
|
77
119
|
interface NavigationMenuItemProps extends /** @vue-ignore */HTMLAttributes {
|
|
120
|
+
/**
|
|
121
|
+
* Value associated with the current item.
|
|
122
|
+
*/
|
|
78
123
|
value?: string;
|
|
79
124
|
}
|
|
125
|
+
/**
|
|
126
|
+
* Properties for the NavigationMenuLink component.
|
|
127
|
+
*/
|
|
80
128
|
interface NavigationMenuLinkProps extends Omit<LinkProps, 'onSelect'> {
|
|
81
129
|
/** Used to identify the link as the currently active page. */
|
|
82
130
|
active?: boolean;
|
|
83
131
|
}
|
|
132
|
+
/**
|
|
133
|
+
* Events for the NavigationMenuLink component.
|
|
134
|
+
*/
|
|
84
135
|
type NavigationMenuLinkEmits = {
|
|
136
|
+
/**
|
|
137
|
+
* Emitted when select occurs.
|
|
138
|
+
*/
|
|
85
139
|
select: [payload: CustomEvent<{
|
|
86
140
|
originalEvent: Event;
|
|
87
141
|
}>];
|
|
88
142
|
};
|
|
143
|
+
/**
|
|
144
|
+
* Properties for the NavigationMenuIndicator component.
|
|
145
|
+
*/
|
|
89
146
|
interface NavigationMenuIndicatorProps extends ForceMountProps, /** @vue-ignore */HTMLAttributes {}
|
|
147
|
+
/**
|
|
148
|
+
* Properties for the NavigationMenuSub component.
|
|
149
|
+
*/
|
|
90
150
|
interface NavigationMenuSubProps extends /** @vue-ignore */HTMLAttributes {
|
|
151
|
+
/**
|
|
152
|
+
* Current model value.
|
|
153
|
+
*/
|
|
91
154
|
modelValue?: string;
|
|
155
|
+
/**
|
|
156
|
+
* Default value.
|
|
157
|
+
*/
|
|
92
158
|
defaultValue?: string;
|
|
93
159
|
}
|
|
160
|
+
/**
|
|
161
|
+
* Events for the NavigationMenuSub component.
|
|
162
|
+
*/
|
|
94
163
|
type NavigationMenuSubEmits = NavigationMenuRootEmits;
|
|
164
|
+
/**
|
|
165
|
+
* Available UI slots for the NavigationMenu component.
|
|
166
|
+
*/
|
|
95
167
|
type NavigationMenuUiSlot = 'root' | 'trigger' | 'content' | 'list' | 'indicator' | 'viewport' | 'item' | 'link' | 'subList' | 'subItem' | 'subLink';
|
|
168
|
+
/**
|
|
169
|
+
* UI class overrides for the NavigationMenu component.
|
|
170
|
+
*/
|
|
96
171
|
type NavigationMenuUi = UiClass<NavigationMenuUiSlot>;
|
|
172
|
+
/**
|
|
173
|
+
* Type information for NavigationMenuItemData.
|
|
174
|
+
*/
|
|
97
175
|
interface NavigationMenuItemData extends LinkBaseProps {
|
|
98
176
|
/** The value of the item. */
|
|
99
177
|
value: string;
|
|
@@ -106,29 +184,38 @@ interface NavigationMenuItemData extends LinkBaseProps {
|
|
|
106
184
|
/** The children of the item. */
|
|
107
185
|
children?: NavigationMenuItemData[];
|
|
108
186
|
}
|
|
187
|
+
/**
|
|
188
|
+
* Properties for the NavigationMenuCompact component.
|
|
189
|
+
*/
|
|
109
190
|
interface NavigationMenuCompactProps extends NavigationMenuRootProps {
|
|
110
191
|
/** The items to render in the navigation menu. */
|
|
111
192
|
items: NavigationMenuItemData[];
|
|
112
|
-
/**
|
|
193
|
+
/** Properties for each NavigationMenuItem. */
|
|
113
194
|
itemProps?: NavigationMenuItemProps;
|
|
114
|
-
/**
|
|
195
|
+
/** Properties for NavigationMenuLink. */
|
|
115
196
|
linkProps?: NavigationMenuLinkProps;
|
|
116
|
-
/**
|
|
197
|
+
/** Properties for NavigationMenuTrigger. */
|
|
117
198
|
triggerProps?: NavigationMenuTriggerProps;
|
|
118
|
-
/**
|
|
199
|
+
/** Properties for NavigationMenuContent. */
|
|
119
200
|
contentProps?: NavigationMenuContentProps;
|
|
120
|
-
/**
|
|
201
|
+
/** Properties for NavigationMenuList. */
|
|
121
202
|
listProps?: NavigationMenuListProps;
|
|
122
|
-
/**
|
|
203
|
+
/** Properties for NavigationMenuSubList. */
|
|
123
204
|
subListProps?: NavigationMenuListProps;
|
|
124
|
-
/**
|
|
205
|
+
/** Properties for sub-items. */
|
|
125
206
|
subItemProps?: NavigationMenuItemProps;
|
|
126
|
-
/**
|
|
207
|
+
/** Properties for NavigationMenuViewport. */
|
|
127
208
|
viewportProps?: NavigationMenuViewportProps;
|
|
128
|
-
/**
|
|
209
|
+
/** Properties for NavigationMenuIndicator. */
|
|
129
210
|
indicatorProps?: NavigationMenuIndicatorProps;
|
|
130
211
|
}
|
|
212
|
+
/**
|
|
213
|
+
* Events for the NavigationMenuCompact component.
|
|
214
|
+
*/
|
|
131
215
|
type NavigationMenuCompactEmits = NavigationMenuRootEmits & NavigationMenuLinkEmits & NavigationMenuContentEmits;
|
|
216
|
+
/**
|
|
217
|
+
* Slots for the NavigationMenuCompact component.
|
|
218
|
+
*/
|
|
132
219
|
interface NavigationMenuCompactSlots {
|
|
133
220
|
/** Slot for rendering the entire item (for top-level items). */
|
|
134
221
|
item?: (props: {
|
|
@@ -3,6 +3,9 @@ import { PrimitiveProps } from "../primitive/types.js";
|
|
|
3
3
|
import { ComputedRef, HTMLAttributes, ShallowRef } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/components/page-tabs/types.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* Properties for the PageTabsRoot component.
|
|
8
|
+
*/
|
|
6
9
|
interface PageTabsRootProps extends /** @vue-ignore */HTMLAttributes {
|
|
7
10
|
/**
|
|
8
11
|
* The active tab value.
|
|
@@ -13,12 +16,18 @@ interface PageTabsRootProps extends /** @vue-ignore */HTMLAttributes {
|
|
|
13
16
|
*/
|
|
14
17
|
middleClickClose?: boolean;
|
|
15
18
|
}
|
|
19
|
+
/**
|
|
20
|
+
* Events for the PageTabsRoot component.
|
|
21
|
+
*/
|
|
16
22
|
type PageTabsRootEmits = {
|
|
17
23
|
/**
|
|
18
24
|
* Emitted when the active tab change.
|
|
19
25
|
*/
|
|
20
26
|
(e: 'update:modelValue', value: string): void;
|
|
21
27
|
};
|
|
28
|
+
/**
|
|
29
|
+
* Properties for the PageTabsItem component.
|
|
30
|
+
*/
|
|
22
31
|
interface PageTabsItemProps extends /** @vue-ignore */Omit<HTMLAttributes, 'onClick'> {
|
|
23
32
|
/**
|
|
24
33
|
* The unique value of the tab.
|
|
@@ -29,6 +38,9 @@ interface PageTabsItemProps extends /** @vue-ignore */Omit<HTMLAttributes, 'onCl
|
|
|
29
38
|
*/
|
|
30
39
|
pinned?: boolean;
|
|
31
40
|
}
|
|
41
|
+
/**
|
|
42
|
+
* Events for the PageTabsItem component.
|
|
43
|
+
*/
|
|
32
44
|
type PageTabsItemEmits = {
|
|
33
45
|
/**
|
|
34
46
|
* Emitted when the tab is clicked.
|
|
@@ -43,9 +55,21 @@ type PageTabsItemEmits = {
|
|
|
43
55
|
*/
|
|
44
56
|
(e: 'pin', pinned: boolean): void;
|
|
45
57
|
};
|
|
58
|
+
/**
|
|
59
|
+
* Properties for the PageTabsClose component.
|
|
60
|
+
*/
|
|
46
61
|
interface PageTabsCloseProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
62
|
+
/**
|
|
63
|
+
* Properties for the PageTabsPin component.
|
|
64
|
+
*/
|
|
47
65
|
interface PageTabsPinProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
66
|
+
/**
|
|
67
|
+
* Available UI slots for the PageTabs component.
|
|
68
|
+
*/
|
|
48
69
|
type PageTabsUiSlot = 'root' | 'item' | 'close' | 'pin';
|
|
70
|
+
/**
|
|
71
|
+
* UI class overrides for the PageTabs component.
|
|
72
|
+
*/
|
|
49
73
|
type PageTabsUi = UiClass<PageTabsUiSlot>;
|
|
50
74
|
//#endregion
|
|
51
75
|
export { PageTabsCloseProps, PageTabsItemEmits, PageTabsItemProps, PageTabsPinProps, PageTabsRootEmits, PageTabsRootProps, PageTabsUi, PageTabsUiSlot };
|