@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
|
@@ -4,5 +4,4 @@ import { _default as _default$1 } from "./input-otp-input.vue.js";
|
|
|
4
4
|
import { _default as _default$2 } from "./input-otp-positioner.vue.js";
|
|
5
5
|
import { _default as _default$3 } from "./input-otp-root.vue.js";
|
|
6
6
|
import { provideInputOtpUi } from "./context.js";
|
|
7
|
-
|
|
8
|
-
export { _default as InputOtpCompact, type InputOtpCompactEmits, type InputOtpCompactProps, type InputOtpCompactSlots, _default$1 as InputOtpInput, type InputOtpInputMode, type InputOtpInputProps, _default$2 as InputOtpPositioner, type InputOtpPositionerProps, type InputOtpPushPasswordManagerStrategy, _default$3 as InputOtpRoot, type InputOtpRootContext, type InputOtpRootEmits, type InputOtpRootProps, type InputOtpRootSlotProps, type InputOtpSlotProps, type InputOtpUi, type InputOtpUiSlot, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS, provideInputOtpUi };
|
|
7
|
+
export { _default as InputOtpCompact, type InputOtpCompactEmits, type InputOtpCompactProps, type InputOtpCompactSlots, _default$1 as InputOtpInput, type InputOtpInputMode, type InputOtpInputProps, _default$2 as InputOtpPositioner, type InputOtpPositionerProps, type InputOtpPushPasswordManagerStrategy, _default$3 as InputOtpRoot, type InputOtpRootContext, type InputOtpRootEmits, type InputOtpRootProps, type InputOtpRootSlotProps, type InputOtpSlotProps, type InputOtpUi, type InputOtpUiSlot, provideInputOtpUi };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{provideInputOtpUi as e}from"./context.js";import t from"./input-otp-input.js";import n from"./input-otp-positioner.js";import r from"./input-otp-root.js";import i from"./input-otp-compact.js";
|
|
1
|
+
import{provideInputOtpUi as e}from"./context.js";import t from"./input-otp-input.js";import n from"./input-otp-positioner.js";import r from"./input-otp-root.js";import i from"./input-otp-compact.js";export{i as InputOtpCompact,t as InputOtpInput,n as InputOtpPositioner,r as InputOtpRoot,e as provideInputOtpUi};
|
|
@@ -40,8 +40,8 @@ declare const __VLS_base: _$vue.DefineComponent<InputOtpRootProps, {
|
|
|
40
40
|
}>, {
|
|
41
41
|
autocomplete: string;
|
|
42
42
|
inputmode: InputOtpInputMode;
|
|
43
|
-
defaultValue: string;
|
|
44
43
|
modelValue: string;
|
|
44
|
+
defaultValue: string;
|
|
45
45
|
pushPasswordManagerStrategy: InputOtpPushPasswordManagerStrategy;
|
|
46
46
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
47
47
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -3,8 +3,17 @@ import { FormFieldCommonProps } from "../../types/component.js";
|
|
|
3
3
|
import { ComputedRef, HTMLAttributes, InputHTMLAttributes, ShallowRef } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/components/input-otp/types.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* Type information for InputOtpInputMode.
|
|
8
|
+
*/
|
|
6
9
|
type InputOtpInputMode = 'numeric' | 'text';
|
|
10
|
+
/**
|
|
11
|
+
* Type information for InputOtpPushPasswordManagerStrategy.
|
|
12
|
+
*/
|
|
7
13
|
type InputOtpPushPasswordManagerStrategy = 'increase-width' | 'none';
|
|
14
|
+
/**
|
|
15
|
+
* Properties for the InputOtpRoot component.
|
|
16
|
+
*/
|
|
8
17
|
interface InputOtpRootProps extends FormFieldCommonProps, /** @vue-ignore */Omit<HTMLAttributes, 'onInput'> {
|
|
9
18
|
/** The id of the native input element. */
|
|
10
19
|
id?: string;
|
|
@@ -37,25 +46,79 @@ interface InputOtpRootProps extends FormFieldCommonProps, /** @vue-ignore */Omit
|
|
|
37
46
|
/** Transform pasted content before it is inserted. */
|
|
38
47
|
pasteTransformer?: (pasted: string | undefined) => string;
|
|
39
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* Events for the InputOtpRoot component.
|
|
51
|
+
*/
|
|
40
52
|
type InputOtpRootEmits = {
|
|
53
|
+
/**
|
|
54
|
+
* Emitted when the model value changes.
|
|
55
|
+
*/
|
|
41
56
|
'update:modelValue': [value: string];
|
|
57
|
+
/**
|
|
58
|
+
* Emitted when complete occurs.
|
|
59
|
+
*/
|
|
42
60
|
complete: [value: string];
|
|
61
|
+
/**
|
|
62
|
+
* Emitted when input occurs.
|
|
63
|
+
*/
|
|
43
64
|
input: [value: string];
|
|
65
|
+
/**
|
|
66
|
+
* Emitted when change occurs.
|
|
67
|
+
*/
|
|
44
68
|
change: [event: Event];
|
|
69
|
+
/**
|
|
70
|
+
* Emitted when select occurs.
|
|
71
|
+
*/
|
|
45
72
|
select: [event: Event];
|
|
73
|
+
/**
|
|
74
|
+
* Emitted when focus occurs.
|
|
75
|
+
*/
|
|
46
76
|
focus: [event: FocusEvent];
|
|
77
|
+
/**
|
|
78
|
+
* Emitted when blur occurs.
|
|
79
|
+
*/
|
|
47
80
|
blur: [event: FocusEvent];
|
|
81
|
+
/**
|
|
82
|
+
* Emitted when mouseover occurs.
|
|
83
|
+
*/
|
|
48
84
|
mouseover: [event: MouseEvent];
|
|
85
|
+
/**
|
|
86
|
+
* Emitted when mouseleave occurs.
|
|
87
|
+
*/
|
|
49
88
|
mouseleave: [event: MouseEvent];
|
|
89
|
+
/**
|
|
90
|
+
* Emitted when paste occurs.
|
|
91
|
+
*/
|
|
50
92
|
paste: [event: ClipboardEvent];
|
|
51
93
|
};
|
|
94
|
+
/**
|
|
95
|
+
* Properties for the InputOtpPositioner component.
|
|
96
|
+
*/
|
|
52
97
|
interface InputOtpPositionerProps extends /** @vue-ignore */HTMLAttributes {}
|
|
98
|
+
/**
|
|
99
|
+
* Properties for the InputOtpInput component.
|
|
100
|
+
*/
|
|
53
101
|
interface InputOtpInputProps extends /** @vue-ignore */InputHTMLAttributes {}
|
|
102
|
+
/**
|
|
103
|
+
* Properties for the InputOtpCompact component.
|
|
104
|
+
*/
|
|
54
105
|
interface InputOtpCompactProps extends InputOtpRootProps {}
|
|
106
|
+
/**
|
|
107
|
+
* Events for the InputOtpCompact component.
|
|
108
|
+
*/
|
|
55
109
|
type InputOtpCompactEmits = InputOtpRootEmits;
|
|
110
|
+
/**
|
|
111
|
+
* Slots for the InputOtpCompact component.
|
|
112
|
+
*/
|
|
56
113
|
type InputOtpCompactSlots = {
|
|
114
|
+
/**
|
|
115
|
+
* Custom content for the default slot.
|
|
116
|
+
*/
|
|
57
117
|
default?: (props: InputOtpRootSlotProps) => any;
|
|
58
118
|
};
|
|
119
|
+
/**
|
|
120
|
+
* Slot properties for the InputOtp component.
|
|
121
|
+
*/
|
|
59
122
|
interface InputOtpSlotProps {
|
|
60
123
|
/** The typed character at the current slot. */
|
|
61
124
|
char: string | null;
|
|
@@ -66,48 +129,171 @@ interface InputOtpSlotProps {
|
|
|
66
129
|
/** Whether the slot should render a fake caret. */
|
|
67
130
|
hasFakeCaret: boolean;
|
|
68
131
|
}
|
|
132
|
+
/**
|
|
133
|
+
* Slot properties for the InputOtpRoot component.
|
|
134
|
+
*/
|
|
69
135
|
interface InputOtpRootSlotProps {
|
|
136
|
+
/**
|
|
137
|
+
* Slots exposed in the slot scope.
|
|
138
|
+
*/
|
|
70
139
|
slots: InputOtpSlotProps[];
|
|
140
|
+
/**
|
|
141
|
+
* Whether the item is focused.
|
|
142
|
+
*/
|
|
71
143
|
isFocused: boolean;
|
|
144
|
+
/**
|
|
145
|
+
* Whether the item is hovered.
|
|
146
|
+
*/
|
|
72
147
|
isHovering: boolean;
|
|
73
148
|
}
|
|
149
|
+
/**
|
|
150
|
+
* Context for the InputOtpRoot component.
|
|
151
|
+
*/
|
|
74
152
|
interface InputOtpRootContext {
|
|
153
|
+
/**
|
|
154
|
+
* Autocomplete used by the component context.
|
|
155
|
+
*/
|
|
75
156
|
autocomplete: ComputedRef<string | undefined>;
|
|
157
|
+
/**
|
|
158
|
+
* Autofocus used by the component context.
|
|
159
|
+
*/
|
|
76
160
|
autofocus: ComputedRef<boolean | undefined>;
|
|
161
|
+
/**
|
|
162
|
+
* Whether the component is disabled.
|
|
163
|
+
*/
|
|
77
164
|
disabled: ComputedRef<boolean | undefined>;
|
|
165
|
+
/**
|
|
166
|
+
* Input attrs used by the component context.
|
|
167
|
+
*/
|
|
78
168
|
inputAttrs: ComputedRef<Record<string, unknown>>;
|
|
169
|
+
/**
|
|
170
|
+
* Current model value.
|
|
171
|
+
*/
|
|
79
172
|
modelValue: ComputedRef<string>;
|
|
173
|
+
/**
|
|
174
|
+
* Slots used by the component context.
|
|
175
|
+
*/
|
|
80
176
|
slots: ComputedRef<InputOtpSlotProps[]>;
|
|
177
|
+
/**
|
|
178
|
+
* Whether will push pwmbadge.
|
|
179
|
+
*/
|
|
81
180
|
willPushPWMBadge: ComputedRef<boolean>;
|
|
181
|
+
/**
|
|
182
|
+
* Whether the item is focused.
|
|
183
|
+
*/
|
|
82
184
|
isFocused: ShallowRef<boolean>;
|
|
185
|
+
/**
|
|
186
|
+
* Whether the item is hovered.
|
|
187
|
+
*/
|
|
83
188
|
isHovering: ShallowRef<boolean>;
|
|
189
|
+
/**
|
|
190
|
+
* Input element used by the component context.
|
|
191
|
+
*/
|
|
84
192
|
inputElement: ShallowRef<HTMLInputElement | null>;
|
|
193
|
+
/**
|
|
194
|
+
* Inputmode used by the component context.
|
|
195
|
+
*/
|
|
85
196
|
inputmode: ComputedRef<InputOtpInputMode | undefined>;
|
|
197
|
+
/**
|
|
198
|
+
* Maxlength used by the component context.
|
|
199
|
+
*/
|
|
86
200
|
maxlength: ComputedRef<number>;
|
|
201
|
+
/**
|
|
202
|
+
* Minlength used by the component context.
|
|
203
|
+
*/
|
|
87
204
|
minlength: ComputedRef<number | undefined>;
|
|
205
|
+
/**
|
|
206
|
+
* Mirror selection start used by the component context.
|
|
207
|
+
*/
|
|
88
208
|
mirrorSelectionStart: ShallowRef<number | null>;
|
|
209
|
+
/**
|
|
210
|
+
* Mirror selection end used by the component context.
|
|
211
|
+
*/
|
|
89
212
|
mirrorSelectionEnd: ShallowRef<number | null>;
|
|
213
|
+
/**
|
|
214
|
+
* Name used by the component context.
|
|
215
|
+
*/
|
|
90
216
|
name: ComputedRef<string | undefined>;
|
|
217
|
+
/**
|
|
218
|
+
* Pattern used by the component context.
|
|
219
|
+
*/
|
|
91
220
|
pattern: ComputedRef<string | undefined>;
|
|
221
|
+
/**
|
|
222
|
+
* Whether the component is readonly.
|
|
223
|
+
*/
|
|
92
224
|
readonly: ComputedRef<boolean | undefined>;
|
|
225
|
+
/**
|
|
226
|
+
* Whether the value is required.
|
|
227
|
+
*/
|
|
93
228
|
required: ComputedRef<boolean | undefined>;
|
|
229
|
+
/**
|
|
230
|
+
* Resolved accessible label used by the component context.
|
|
231
|
+
*/
|
|
94
232
|
resolvedAccessibleLabel: ComputedRef<string>;
|
|
233
|
+
/**
|
|
234
|
+
* Resolved id used by the component context.
|
|
235
|
+
*/
|
|
95
236
|
resolvedId: ComputedRef<string | undefined>;
|
|
237
|
+
/**
|
|
238
|
+
* Resolved placeholder used by the component context.
|
|
239
|
+
*/
|
|
96
240
|
resolvedPlaceholder: ComputedRef<string | undefined>;
|
|
241
|
+
/**
|
|
242
|
+
* Focus used by the component context.
|
|
243
|
+
*/
|
|
97
244
|
focus: () => void;
|
|
245
|
+
/**
|
|
246
|
+
* Blur used by the component context.
|
|
247
|
+
*/
|
|
98
248
|
blur: () => void;
|
|
249
|
+
/**
|
|
250
|
+
* Select used by the component context.
|
|
251
|
+
*/
|
|
99
252
|
select: () => void;
|
|
253
|
+
/**
|
|
254
|
+
* Callback invoked when the before input event fires.
|
|
255
|
+
*/
|
|
100
256
|
onBeforeInput: (event: InputEvent) => void;
|
|
257
|
+
/**
|
|
258
|
+
* Callback invoked when the native changes.
|
|
259
|
+
*/
|
|
101
260
|
onNativeChange: (event: Event) => void;
|
|
261
|
+
/**
|
|
262
|
+
* Callback invoked when the native select event fires.
|
|
263
|
+
*/
|
|
102
264
|
onNativeSelect: (event: Event) => void;
|
|
265
|
+
/**
|
|
266
|
+
* Callback invoked when the mouse over event fires.
|
|
267
|
+
*/
|
|
103
268
|
onMouseOver: (event: MouseEvent) => void;
|
|
269
|
+
/**
|
|
270
|
+
* Callback invoked when the mouse leave event fires.
|
|
271
|
+
*/
|
|
104
272
|
onMouseLeave: (event: MouseEvent) => void;
|
|
273
|
+
/**
|
|
274
|
+
* Callback invoked when the paste event fires.
|
|
275
|
+
*/
|
|
105
276
|
onPaste: (event: ClipboardEvent) => void;
|
|
277
|
+
/**
|
|
278
|
+
* Callback invoked when the input event fires.
|
|
279
|
+
*/
|
|
106
280
|
onInput: (event: Event) => void;
|
|
281
|
+
/**
|
|
282
|
+
* Callback invoked when the focus event fires.
|
|
283
|
+
*/
|
|
107
284
|
onFocus: (event: FocusEvent) => void;
|
|
285
|
+
/**
|
|
286
|
+
* Callback invoked when the blur event fires.
|
|
287
|
+
*/
|
|
108
288
|
onBlur: (event: FocusEvent) => void;
|
|
109
289
|
}
|
|
290
|
+
/**
|
|
291
|
+
* Available UI slots for the InputOtp component.
|
|
292
|
+
*/
|
|
110
293
|
type InputOtpUiSlot = 'root' | 'positioner' | 'input' | 'group' | 'slot' | 'char' | 'placeholder' | 'caret';
|
|
294
|
+
/**
|
|
295
|
+
* UI class overrides for the InputOtp component.
|
|
296
|
+
*/
|
|
111
297
|
type InputOtpUi = UiClass<InputOtpUiSlot>;
|
|
112
298
|
//#endregion
|
|
113
299
|
export { InputOtpCompactEmits, InputOtpCompactProps, InputOtpCompactSlots, InputOtpInputMode, InputOtpInputProps, InputOtpPositionerProps, InputOtpPushPasswordManagerStrategy, InputOtpRootContext, InputOtpRootEmits, InputOtpRootProps, InputOtpRootSlotProps, InputOtpSlotProps, InputOtpUi, InputOtpUiSlot };
|
|
@@ -2,7 +2,13 @@ import { KbdKey } from "../../types/common.js";
|
|
|
2
2
|
import { HTMLAttributes } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/kbd/types.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Type information for KbdValue.
|
|
7
|
+
*/
|
|
5
8
|
type KbdValue = KbdKey | (string & {});
|
|
9
|
+
/**
|
|
10
|
+
* Properties for the Kbd component.
|
|
11
|
+
*/
|
|
6
12
|
interface KbdProps extends /** @vue-ignore */HTMLAttributes {
|
|
7
13
|
/**
|
|
8
14
|
* The value of the component.
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { LabelHTMLAttributes } from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/components/label/types.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Properties for the Label component.
|
|
6
|
+
*/
|
|
4
7
|
interface LabelProps extends /** @vue-ignore */LabelHTMLAttributes {
|
|
5
8
|
/** The id of the element the label is associated with. */
|
|
6
9
|
for?: string;
|
|
@@ -10,8 +10,8 @@ declare const __VLS_base: _$vue.DefineComponent<LayoutClassicCompactProps, {}, {
|
|
|
10
10
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
11
11
|
}>, {
|
|
12
12
|
orientation: DataOrientation;
|
|
13
|
-
open: boolean;
|
|
14
13
|
defaultOpen: boolean;
|
|
14
|
+
open: boolean;
|
|
15
15
|
sidebarVisible: boolean;
|
|
16
16
|
headerVisible: boolean;
|
|
17
17
|
tabVisible: boolean;
|
|
@@ -8,8 +8,8 @@ declare const __VLS_base: _$vue.DefineComponent<LayoutCompactProps, {}, {}, {},
|
|
|
8
8
|
}, string, _$vue.PublicProps, Readonly<LayoutCompactProps> & Readonly<{
|
|
9
9
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
|
-
open: boolean;
|
|
12
11
|
defaultOpen: boolean;
|
|
12
|
+
open: boolean;
|
|
13
13
|
sidebarVisible: boolean;
|
|
14
14
|
headerVisible: boolean;
|
|
15
15
|
tabVisible: boolean;
|
|
@@ -15,10 +15,10 @@ declare const __VLS_base: _$vue.DefineComponent<LayoutRootProps, {}, {}, {}, {},
|
|
|
15
15
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
17
|
collapsible: LayoutCollapsible;
|
|
18
|
-
open: boolean;
|
|
19
18
|
defaultOpen: boolean;
|
|
20
|
-
|
|
19
|
+
open: boolean;
|
|
21
20
|
side: LayoutSide;
|
|
21
|
+
variant: LayoutVariant;
|
|
22
22
|
sidebarVisible: boolean;
|
|
23
23
|
sidebarWidth: number;
|
|
24
24
|
collapsedSidebarWidth: number;
|
|
@@ -3,11 +3,26 @@ import { PrimitiveProps } from "../primitive/types.js";
|
|
|
3
3
|
import { ComputedRef, HTMLAttributes, ShallowRef } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/components/layout/types.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* Type information for LayoutVariant.
|
|
8
|
+
*/
|
|
6
9
|
type LayoutVariant = 'sidebar' | 'floating' | 'inset';
|
|
10
|
+
/**
|
|
11
|
+
* Type information for LayoutSide.
|
|
12
|
+
*/
|
|
7
13
|
type LayoutSide = HorizontalSide;
|
|
14
|
+
/**
|
|
15
|
+
* Type information for LayoutCollapsible.
|
|
16
|
+
*/
|
|
8
17
|
type LayoutCollapsible = 'offcanvas' | 'icon';
|
|
18
|
+
/**
|
|
19
|
+
* State values for LayoutSidebarState.
|
|
20
|
+
*/
|
|
9
21
|
type LayoutSidebarState = 'expanded' | 'collapsed';
|
|
10
|
-
|
|
22
|
+
/**
|
|
23
|
+
* Properties for the LayoutRoot component.
|
|
24
|
+
*/
|
|
25
|
+
interface LayoutRootProps extends /** @vue-ignore */HTMLAttributes {
|
|
11
26
|
/** The controlled open state of the layout. Can be bound with `v-model`. */
|
|
12
27
|
open?: boolean;
|
|
13
28
|
/** The open state of the layout when it is initially rendered.
|
|
@@ -99,18 +114,51 @@ interface LayoutRootProps extends /* @vue-ignore */HTMLAttributes {
|
|
|
99
114
|
*/
|
|
100
115
|
pxToRem?: (px: number) => number;
|
|
101
116
|
}
|
|
117
|
+
/**
|
|
118
|
+
* Events for the LayoutRoot component.
|
|
119
|
+
*/
|
|
102
120
|
type LayoutRootEmits = {
|
|
121
|
+
/**
|
|
122
|
+
* Emitted when the open state changes.
|
|
123
|
+
*/
|
|
103
124
|
'update:open': [open: boolean];
|
|
104
125
|
};
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
interface
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
interface
|
|
113
|
-
|
|
126
|
+
/**
|
|
127
|
+
* Properties for the LayoutSidebar component.
|
|
128
|
+
*/
|
|
129
|
+
interface LayoutSidebarProps extends /** @vue-ignore */HTMLAttributes {}
|
|
130
|
+
/**
|
|
131
|
+
* Properties for the LayoutRail component.
|
|
132
|
+
*/
|
|
133
|
+
interface LayoutRailProps extends /** @vue-ignore */HTMLAttributes {}
|
|
134
|
+
/**
|
|
135
|
+
* Properties for the LayoutMain component.
|
|
136
|
+
*/
|
|
137
|
+
interface LayoutMainProps extends /** @vue-ignore */HTMLAttributes {}
|
|
138
|
+
/**
|
|
139
|
+
* Properties for the LayoutHeader component.
|
|
140
|
+
*/
|
|
141
|
+
interface LayoutHeaderProps extends /** @vue-ignore */HTMLAttributes {}
|
|
142
|
+
/**
|
|
143
|
+
* Properties for the LayoutTab component.
|
|
144
|
+
*/
|
|
145
|
+
interface LayoutTabProps extends /** @vue-ignore */HTMLAttributes {}
|
|
146
|
+
/**
|
|
147
|
+
* Properties for the LayoutContent component.
|
|
148
|
+
*/
|
|
149
|
+
interface LayoutContentProps extends /** @vue-ignore */HTMLAttributes {}
|
|
150
|
+
/**
|
|
151
|
+
* Properties for the LayoutFooter component.
|
|
152
|
+
*/
|
|
153
|
+
interface LayoutFooterProps extends /** @vue-ignore */HTMLAttributes {}
|
|
154
|
+
/**
|
|
155
|
+
* Properties for the LayoutTrigger component.
|
|
156
|
+
*/
|
|
157
|
+
interface LayoutTriggerProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
158
|
+
/**
|
|
159
|
+
* Properties for the LayoutMobile component.
|
|
160
|
+
*/
|
|
161
|
+
interface LayoutMobileProps extends /** @vue-ignore */HTMLAttributes {}
|
|
114
162
|
interface LayoutOthersProps {
|
|
115
163
|
sidebarProps?: LayoutSidebarProps;
|
|
116
164
|
railProps?: LayoutRailProps;
|
|
@@ -121,23 +169,65 @@ interface LayoutOthersProps {
|
|
|
121
169
|
footerProps?: LayoutFooterProps;
|
|
122
170
|
mobileProps?: LayoutMobileProps;
|
|
123
171
|
}
|
|
172
|
+
/**
|
|
173
|
+
* Properties for the LayoutCompact component.
|
|
174
|
+
*/
|
|
124
175
|
interface LayoutCompactProps extends LayoutRootProps, LayoutOthersProps {}
|
|
176
|
+
/**
|
|
177
|
+
* Events for the LayoutCompact component.
|
|
178
|
+
*/
|
|
125
179
|
type LayoutCompactEmits = LayoutRootEmits;
|
|
180
|
+
/**
|
|
181
|
+
* Slots for the LayoutCompact component.
|
|
182
|
+
*/
|
|
126
183
|
type LayoutCompactSlots = {
|
|
184
|
+
/**
|
|
185
|
+
* Custom content for the default slot.
|
|
186
|
+
*/
|
|
127
187
|
default?: () => any;
|
|
188
|
+
/**
|
|
189
|
+
* Custom content for the sidebar slot.
|
|
190
|
+
*/
|
|
128
191
|
sidebar?: (props: {
|
|
129
192
|
open: boolean | undefined;
|
|
130
193
|
collapsedSidebarWidth: number;
|
|
131
194
|
}) => any;
|
|
195
|
+
/**
|
|
196
|
+
* Custom content for the header slot.
|
|
197
|
+
*/
|
|
132
198
|
header?: () => any;
|
|
199
|
+
/**
|
|
200
|
+
* Custom content for the tab slot.
|
|
201
|
+
*/
|
|
133
202
|
tab?: () => any;
|
|
203
|
+
/**
|
|
204
|
+
* Custom content for the content slot.
|
|
205
|
+
*/
|
|
134
206
|
content?: () => any;
|
|
207
|
+
/**
|
|
208
|
+
* Custom content for the footer slot.
|
|
209
|
+
*/
|
|
135
210
|
footer?: () => any;
|
|
136
211
|
};
|
|
212
|
+
/**
|
|
213
|
+
* Type information for LayoutClassicScrollBehavior.
|
|
214
|
+
*/
|
|
137
215
|
type LayoutClassicScrollBehavior = 'wrapper' | 'content';
|
|
216
|
+
/**
|
|
217
|
+
* Properties for the LayoutClassicRoot component.
|
|
218
|
+
*/
|
|
138
219
|
interface LayoutClassicRootProps extends Omit<LayoutRootProps, 'variant' | 'collapsible'> {
|
|
220
|
+
/**
|
|
221
|
+
* Orientation of the component.
|
|
222
|
+
*/
|
|
139
223
|
orientation?: DataOrientation;
|
|
224
|
+
/**
|
|
225
|
+
* Scroll behavior.
|
|
226
|
+
*/
|
|
140
227
|
scrollBehavior?: LayoutClassicScrollBehavior;
|
|
228
|
+
/**
|
|
229
|
+
* Scroll id.
|
|
230
|
+
*/
|
|
141
231
|
scrollId?: string;
|
|
142
232
|
/**
|
|
143
233
|
* The base z-index of the layout. The z-index of the sidebar, header, tab, footer, and their fixed versions will be calculated based on this value.
|
|
@@ -164,13 +254,37 @@ interface LayoutClassicRootProps extends Omit<LayoutRootProps, 'variant' | 'coll
|
|
|
164
254
|
*/
|
|
165
255
|
stretchFooter?: boolean;
|
|
166
256
|
}
|
|
257
|
+
/**
|
|
258
|
+
* Events for the LayoutClassicRoot component.
|
|
259
|
+
*/
|
|
167
260
|
type LayoutClassicRootEmits = LayoutRootEmits;
|
|
261
|
+
/**
|
|
262
|
+
* Properties for the LayoutClassicCompact component.
|
|
263
|
+
*/
|
|
168
264
|
interface LayoutClassicCompactProps extends LayoutClassicRootProps, LayoutOthersProps {}
|
|
265
|
+
/**
|
|
266
|
+
* Events for the LayoutClassicCompact component.
|
|
267
|
+
*/
|
|
169
268
|
type LayoutClassicCompactEmits = LayoutClassicRootEmits;
|
|
269
|
+
/**
|
|
270
|
+
* Slots for the LayoutClassicCompact component.
|
|
271
|
+
*/
|
|
170
272
|
type LayoutClassicCompactSlots = LayoutCompactSlots;
|
|
273
|
+
/**
|
|
274
|
+
* Available UI slots for the Layout component.
|
|
275
|
+
*/
|
|
171
276
|
type LayoutUiSlot = 'root' | 'sidebar' | 'sidebarRoot' | 'sidebarWrapper' | 'sidebarGapHandler' | 'main' | 'header' | 'tab' | 'content' | 'footer' | 'rail' | 'trigger' | 'mobile' | 'mobileDrawer' | 'mobileOverlay';
|
|
277
|
+
/**
|
|
278
|
+
* UI class overrides for the Layout component.
|
|
279
|
+
*/
|
|
172
280
|
type LayoutUi = UiClass<LayoutUiSlot>;
|
|
281
|
+
/**
|
|
282
|
+
* Available UI slots for the LayoutClassic component.
|
|
283
|
+
*/
|
|
173
284
|
type LayoutClassicUiSlot = LayoutUiSlot | 'headerPlaceholder' | 'tabPlaceholder' | 'footerPlaceholder';
|
|
285
|
+
/**
|
|
286
|
+
* UI class overrides for the LayoutClassic component.
|
|
287
|
+
*/
|
|
174
288
|
type LayoutClassicUi = UiClass<LayoutClassicUiSlot>;
|
|
175
289
|
//#endregion
|
|
176
290
|
export { LayoutClassicCompactEmits, LayoutClassicCompactProps, LayoutClassicCompactSlots, LayoutClassicScrollBehavior, LayoutClassicUi, LayoutClassicUiSlot, LayoutCollapsible, LayoutCompactEmits, LayoutCompactProps, LayoutCompactSlots, LayoutContentProps, LayoutFooterProps, LayoutHeaderProps, LayoutMainProps, LayoutMobileProps, LayoutRailProps, LayoutRootEmits, LayoutRootProps, LayoutSide, LayoutSidebarProps, LayoutSidebarState, LayoutTabProps, LayoutTriggerProps, LayoutUi, LayoutUiSlot, LayoutVariant };
|
|
@@ -3,6 +3,9 @@ import { HTMLAttributes } from "vue";
|
|
|
3
3
|
import { RouteLocationRaw } from "vue-router";
|
|
4
4
|
|
|
5
5
|
//#region src/components/link/types.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* Properties for the Link component.
|
|
8
|
+
*/
|
|
6
9
|
interface LinkProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {
|
|
7
10
|
/**
|
|
8
11
|
* Route Location the link should navigate to when clicked on.
|
|
@@ -85,8 +88,17 @@ interface LinkProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {
|
|
|
85
88
|
*/
|
|
86
89
|
trailingSlash?: 'append' | 'remove';
|
|
87
90
|
}
|
|
91
|
+
/**
|
|
92
|
+
* Type information for LinkBasePropsKey.
|
|
93
|
+
*/
|
|
88
94
|
type LinkBasePropsKey = Extract<keyof LinkProps, 'to' | 'href' | 'external' | 'target'>;
|
|
95
|
+
/**
|
|
96
|
+
* Properties for the LinkBase component.
|
|
97
|
+
*/
|
|
89
98
|
interface LinkBaseProps extends Pick<LinkProps, LinkBasePropsKey> {}
|
|
99
|
+
/**
|
|
100
|
+
* Properties for the LinkExtra component.
|
|
101
|
+
*/
|
|
90
102
|
interface LinkExtraProps extends Omit<LinkProps, LinkBasePropsKey> {}
|
|
91
103
|
//#endregion
|
|
92
104
|
export { LinkBaseProps, LinkExtraProps, LinkProps };
|
|
@@ -2,12 +2,33 @@ import { UiClass } from "../../types/common.js";
|
|
|
2
2
|
import { HTMLAttributes } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/list/types.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Properties for the ListRoot component.
|
|
7
|
+
*/
|
|
5
8
|
interface ListRootProps extends /** @vue-ignore */HTMLAttributes {}
|
|
9
|
+
/**
|
|
10
|
+
* Properties for the ListItem component.
|
|
11
|
+
*/
|
|
6
12
|
interface ListItemProps extends /** @vue-ignore */HTMLAttributes {}
|
|
13
|
+
/**
|
|
14
|
+
* Properties for the ListContent component.
|
|
15
|
+
*/
|
|
7
16
|
interface ListContentProps extends /** @vue-ignore */HTMLAttributes {}
|
|
17
|
+
/**
|
|
18
|
+
* Properties for the ListTitle component.
|
|
19
|
+
*/
|
|
8
20
|
interface ListTitleProps extends /** @vue-ignore */HTMLAttributes {}
|
|
21
|
+
/**
|
|
22
|
+
* Properties for the ListDescription component.
|
|
23
|
+
*/
|
|
9
24
|
interface ListDescriptionProps extends /** @vue-ignore */HTMLAttributes {}
|
|
25
|
+
/**
|
|
26
|
+
* Available UI slots for the List component.
|
|
27
|
+
*/
|
|
10
28
|
type ListUiSlot = 'root' | 'item' | 'content' | 'title' | 'description';
|
|
29
|
+
/**
|
|
30
|
+
* UI class overrides for the List component.
|
|
31
|
+
*/
|
|
11
32
|
type ListUi = UiClass<ListUiSlot>;
|
|
12
33
|
//#endregion
|
|
13
34
|
export { ListContentProps, ListDescriptionProps, ListItemProps, ListRootProps, ListTitleProps, ListUi, ListUiSlot };
|
|
@@ -6,8 +6,8 @@ import * as _$vue from "vue";
|
|
|
6
6
|
declare const __VLS_export: <M extends boolean>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
7
7
|
props: _$vue.PublicProps & __VLS_PrettifyLocal<ListboxRootProps<M> & {
|
|
8
8
|
"onUpdate:modelValue"?: ((value: M extends true ? string[] : string) => any) | undefined;
|
|
9
|
-
onHighlight?: ((payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => any) | undefined;
|
|
10
9
|
onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
|
|
10
|
+
onHighlight?: ((payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => any) | undefined;
|
|
11
11
|
onLeave?: ((event: Event) => any) | undefined;
|
|
12
12
|
}> & (typeof globalThis extends {
|
|
13
13
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -25,7 +25,7 @@ declare const __VLS_export: <M extends boolean>(__VLS_props: NonNullable<Awaited
|
|
|
25
25
|
modelValue: (M extends true ? string[] : string) | undefined;
|
|
26
26
|
}) => any;
|
|
27
27
|
};
|
|
28
|
-
emit: ((evt: "update:modelValue", value: M extends true ? string[] : string) => void) & ((evt: "
|
|
28
|
+
emit: ((evt: "update:modelValue", value: M extends true ? string[] : string) => void) & ((evt: "entryFocus", event: CustomEvent<any>) => void) & ((evt: "highlight", payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => void) & ((evt: "leave", event: Event) => void);
|
|
29
29
|
}>) => _$vue.VNode & {
|
|
30
30
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
31
31
|
};
|