abckit 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module.d.mts +41 -0
- package/dist/module.json +9 -0
- package/dist/module.mjs +262 -0
- package/dist/runtime/assets/css/tailwind.css +1 -0
- package/dist/runtime/colada.options.d.ts +6 -0
- package/dist/runtime/colada.options.js +87 -0
- package/dist/runtime/components/app/AppBreadcrumbs.d.vue.ts +3 -0
- package/dist/runtime/components/app/AppBreadcrumbs.vue +80 -0
- package/dist/runtime/components/app/AppBreadcrumbs.vue.d.ts +3 -0
- package/dist/runtime/components/app/AppHeader.d.vue.ts +9 -0
- package/dist/runtime/components/app/AppHeader.vue +26 -0
- package/dist/runtime/components/app/AppHeader.vue.d.ts +9 -0
- package/dist/runtime/components/app/AppImage.d.vue.ts +11 -0
- package/dist/runtime/components/app/AppImage.vue +39 -0
- package/dist/runtime/components/app/AppImage.vue.d.ts +11 -0
- package/dist/runtime/components/app/AppNavMain.d.vue.ts +18 -0
- package/dist/runtime/components/app/AppNavMain.vue +68 -0
- package/dist/runtime/components/app/AppNavMain.vue.d.ts +18 -0
- package/dist/runtime/components/app/index.d.ts +4 -0
- package/dist/runtime/components/app/index.js +4 -0
- package/dist/runtime/components/ui/accordion/Accordion.d.vue.ts +21 -0
- package/dist/runtime/components/ui/accordion/Accordion.vue +26 -0
- package/dist/runtime/components/ui/accordion/Accordion.vue.d.ts +21 -0
- package/dist/runtime/components/ui/accordion/AccordionContent.d.vue.ts +18 -0
- package/dist/runtime/components/ui/accordion/AccordionContent.vue +24 -0
- package/dist/runtime/components/ui/accordion/AccordionContent.vue.d.ts +18 -0
- package/dist/runtime/components/ui/accordion/AccordionItem.d.vue.ts +20 -0
- package/dist/runtime/components/ui/accordion/AccordionItem.vue +26 -0
- package/dist/runtime/components/ui/accordion/AccordionItem.vue.d.ts +20 -0
- package/dist/runtime/components/ui/accordion/AccordionTrigger.d.vue.ts +20 -0
- package/dist/runtime/components/ui/accordion/AccordionTrigger.vue +37 -0
- package/dist/runtime/components/ui/accordion/AccordionTrigger.vue.d.ts +20 -0
- package/dist/runtime/components/ui/accordion/index.d.ts +4 -0
- package/dist/runtime/components/ui/accordion/index.js +4 -0
- package/dist/runtime/components/ui/alert/Alert.d.vue.ts +19 -0
- package/dist/runtime/components/ui/alert/Alert.vue +18 -0
- package/dist/runtime/components/ui/alert/Alert.vue.d.ts +19 -0
- package/dist/runtime/components/ui/alert/AlertDescription.d.vue.ts +17 -0
- package/dist/runtime/components/ui/alert/AlertDescription.vue +15 -0
- package/dist/runtime/components/ui/alert/AlertDescription.vue.d.ts +17 -0
- package/dist/runtime/components/ui/alert/AlertTitle.d.vue.ts +17 -0
- package/dist/runtime/components/ui/alert/AlertTitle.vue +15 -0
- package/dist/runtime/components/ui/alert/AlertTitle.vue.d.ts +17 -0
- package/dist/runtime/components/ui/alert/index.d.ts +8 -0
- package/dist/runtime/components/ui/alert/index.js +18 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialog.d.vue.ts +21 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialog.vue +15 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialog.vue.d.ts +21 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.d.vue.ts +18 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.vue +18 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.vue.d.ts +18 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.d.vue.ts +18 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.vue +25 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.vue.d.ts +18 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.d.vue.ts +32 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.vue +44 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.vue.d.ts +32 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.d.vue.ts +18 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.vue +23 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.vue.d.ts +18 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.d.vue.ts +17 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.vue +20 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.vue.d.ts +17 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.d.vue.ts +17 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.vue +15 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.vue.d.ts +17 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.d.vue.ts +18 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.vue +21 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.vue.d.ts +18 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.d.vue.ts +14 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.vue +13 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.vue.d.ts +14 -0
- package/dist/runtime/components/ui/alert-dialog/index.d.ts +9 -0
- package/dist/runtime/components/ui/alert-dialog/index.js +9 -0
- package/dist/runtime/components/ui/aspect-ratio/AspectRatio.d.vue.ts +16 -0
- package/dist/runtime/components/ui/aspect-ratio/AspectRatio.vue +18 -0
- package/dist/runtime/components/ui/aspect-ratio/AspectRatio.vue.d.ts +16 -0
- package/dist/runtime/components/ui/aspect-ratio/index.d.ts +1 -0
- package/dist/runtime/components/ui/aspect-ratio/index.js +1 -0
- package/dist/runtime/components/ui/auto-form/AutoForm.d.vue.ts +44 -0
- package/dist/runtime/components/ui/auto-form/AutoForm.vue +91 -0
- package/dist/runtime/components/ui/auto-form/AutoForm.vue.d.ts +44 -0
- package/dist/runtime/components/ui/auto-form/AutoFormField.d.vue.ts +31 -0
- package/dist/runtime/components/ui/auto-form/AutoFormField.vue +37 -0
- package/dist/runtime/components/ui/auto-form/AutoFormField.vue.d.ts +31 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldArray.d.vue.ts +0 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldArray.vue +128 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldArray.vue.d.ts +0 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldBoolean.d.vue.ts +14 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldBoolean.vue +44 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldBoolean.vue.d.ts +14 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldDate.d.vue.ts +14 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldDate.vue +59 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldDate.vue.d.ts +14 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldEnum.d.vue.ts +17 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldEnum.vue +52 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldEnum.vue.d.ts +17 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldFile.d.vue.ts +14 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldFile.vue +77 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldFile.vue.d.ts +14 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldInput.d.vue.ts +17 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldInput.vue +43 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldInput.vue.d.ts +17 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldNumber.d.vue.ts +14 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldNumber.vue +35 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldNumber.vue.d.ts +14 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldObject.d.vue.ts +0 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldObject.vue +70 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldObject.vue.d.ts +0 -0
- package/dist/runtime/components/ui/auto-form/AutoFormLabel.d.vue.ts +16 -0
- package/dist/runtime/components/ui/auto-form/AutoFormLabel.vue +13 -0
- package/dist/runtime/components/ui/auto-form/AutoFormLabel.vue.d.ts +16 -0
- package/dist/runtime/components/ui/auto-form/constant.d.ts +9 -0
- package/dist/runtime/components/ui/auto-form/constant.js +31 -0
- package/dist/runtime/components/ui/auto-form/dependencies.d.ts +9 -0
- package/dist/runtime/components/ui/auto-form/dependencies.js +70 -0
- package/dist/runtime/components/ui/auto-form/index.d.ts +13 -0
- package/dist/runtime/components/ui/auto-form/index.js +12 -0
- package/dist/runtime/components/ui/auto-form/interface.d.ts +67 -0
- package/dist/runtime/components/ui/auto-form/interface.js +7 -0
- package/dist/runtime/components/ui/auto-form/utils.d.ts +49 -0
- package/dist/runtime/components/ui/auto-form/utils.js +103 -0
- package/dist/runtime/components/ui/avatar/Avatar.d.vue.ts +17 -0
- package/dist/runtime/components/ui/avatar/Avatar.vue +16 -0
- package/dist/runtime/components/ui/avatar/Avatar.vue.d.ts +17 -0
- package/dist/runtime/components/ui/avatar/AvatarFallback.d.vue.ts +18 -0
- package/dist/runtime/components/ui/avatar/AvatarFallback.vue +22 -0
- package/dist/runtime/components/ui/avatar/AvatarFallback.vue.d.ts +18 -0
- package/dist/runtime/components/ui/avatar/AvatarImage.d.vue.ts +14 -0
- package/dist/runtime/components/ui/avatar/AvatarImage.vue +20 -0
- package/dist/runtime/components/ui/avatar/AvatarImage.vue.d.ts +14 -0
- package/dist/runtime/components/ui/avatar/index.d.ts +3 -0
- package/dist/runtime/components/ui/avatar/index.js +3 -0
- package/dist/runtime/components/ui/badge/Badge.d.vue.ts +20 -0
- package/dist/runtime/components/ui/badge/Badge.vue +23 -0
- package/dist/runtime/components/ui/badge/Badge.vue.d.ts +20 -0
- package/dist/runtime/components/ui/badge/index.d.ts +6 -0
- package/dist/runtime/components/ui/badge/index.js +18 -0
- package/dist/runtime/components/ui/breadcrumb/Breadcrumb.d.vue.ts +17 -0
- package/dist/runtime/components/ui/breadcrumb/Breadcrumb.vue +15 -0
- package/dist/runtime/components/ui/breadcrumb/Breadcrumb.vue.d.ts +17 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbEllipsis.d.vue.ts +17 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbEllipsis.vue +21 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbEllipsis.vue.d.ts +17 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbItem.d.vue.ts +17 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbItem.vue +15 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbItem.vue.d.ts +17 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.d.vue.ts +18 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.vue +20 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.vue.d.ts +18 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbList.d.vue.ts +17 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbList.vue +15 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbList.vue.d.ts +17 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbPage.d.vue.ts +17 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbPage.vue +18 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbPage.vue.d.ts +17 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbSeparator.d.vue.ts +17 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbSeparator.vue +20 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbSeparator.vue.d.ts +17 -0
- package/dist/runtime/components/ui/breadcrumb/index.d.ts +7 -0
- package/dist/runtime/components/ui/breadcrumb/index.js +7 -0
- package/dist/runtime/components/ui/button/Button.d.vue.ts +21 -0
- package/dist/runtime/components/ui/button/Button.vue +23 -0
- package/dist/runtime/components/ui/button/Button.vue.d.ts +21 -0
- package/dist/runtime/components/ui/button/ThemeToggle.d.vue.ts +3 -0
- package/dist/runtime/components/ui/button/ThemeToggle.vue +26 -0
- package/dist/runtime/components/ui/button/ThemeToggle.vue.d.ts +3 -0
- package/dist/runtime/components/ui/button/index.d.ts +7 -0
- package/dist/runtime/components/ui/button/index.js +29 -0
- package/dist/runtime/components/ui/button-group/ButtonGroup.d.vue.ts +19 -0
- package/dist/runtime/components/ui/button-group/ButtonGroup.vue +19 -0
- package/dist/runtime/components/ui/button-group/ButtonGroup.vue.d.ts +19 -0
- package/dist/runtime/components/ui/button-group/ButtonGroupSeparator.d.vue.ts +8 -0
- package/dist/runtime/components/ui/button-group/ButtonGroupSeparator.vue +25 -0
- package/dist/runtime/components/ui/button-group/ButtonGroupSeparator.vue.d.ts +8 -0
- package/dist/runtime/components/ui/button-group/ButtonGroupText.d.vue.ts +20 -0
- package/dist/runtime/components/ui/button-group/ButtonGroupText.vue +23 -0
- package/dist/runtime/components/ui/button-group/ButtonGroupText.vue.d.ts +20 -0
- package/dist/runtime/components/ui/button-group/index.d.ts +8 -0
- package/dist/runtime/components/ui/button-group/index.js +18 -0
- package/dist/runtime/components/ui/calendar/Calendar.d.vue.ts +39 -0
- package/dist/runtime/components/ui/calendar/Calendar.vue +173 -0
- package/dist/runtime/components/ui/calendar/Calendar.vue.d.ts +39 -0
- package/dist/runtime/components/ui/calendar/CalendarCell.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarCell.vue +23 -0
- package/dist/runtime/components/ui/calendar/CalendarCell.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarCellTrigger.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue +38 -0
- package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarGrid.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarGrid.vue +22 -0
- package/dist/runtime/components/ui/calendar/CalendarGrid.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarGridBody.d.vue.ts +14 -0
- package/dist/runtime/components/ui/calendar/CalendarGridBody.vue +16 -0
- package/dist/runtime/components/ui/calendar/CalendarGridBody.vue.d.ts +14 -0
- package/dist/runtime/components/ui/calendar/CalendarGridHead.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarGridHead.vue +17 -0
- package/dist/runtime/components/ui/calendar/CalendarGridHead.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarGridRow.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarGridRow.vue +21 -0
- package/dist/runtime/components/ui/calendar/CalendarGridRow.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarHeadCell.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarHeadCell.vue +22 -0
- package/dist/runtime/components/ui/calendar/CalendarHeadCell.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarHeader.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarHeader.vue +22 -0
- package/dist/runtime/components/ui/calendar/CalendarHeader.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarHeading.d.vue.ts +19 -0
- package/dist/runtime/components/ui/calendar/CalendarHeading.vue +26 -0
- package/dist/runtime/components/ui/calendar/CalendarHeading.vue.d.ts +19 -0
- package/dist/runtime/components/ui/calendar/CalendarNextButton.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarNextButton.vue +31 -0
- package/dist/runtime/components/ui/calendar/CalendarNextButton.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarPrevButton.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarPrevButton.vue +31 -0
- package/dist/runtime/components/ui/calendar/CalendarPrevButton.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/index.d.ts +13 -0
- package/dist/runtime/components/ui/calendar/index.js +12 -0
- package/dist/runtime/components/ui/card/Card.d.vue.ts +17 -0
- package/dist/runtime/components/ui/card/Card.vue +20 -0
- package/dist/runtime/components/ui/card/Card.vue.d.ts +17 -0
- package/dist/runtime/components/ui/card/CardAction.d.vue.ts +17 -0
- package/dist/runtime/components/ui/card/CardAction.vue +15 -0
- package/dist/runtime/components/ui/card/CardAction.vue.d.ts +17 -0
- package/dist/runtime/components/ui/card/CardContent.d.vue.ts +17 -0
- package/dist/runtime/components/ui/card/CardContent.vue +15 -0
- package/dist/runtime/components/ui/card/CardContent.vue.d.ts +17 -0
- package/dist/runtime/components/ui/card/CardDescription.d.vue.ts +17 -0
- package/dist/runtime/components/ui/card/CardDescription.vue +15 -0
- package/dist/runtime/components/ui/card/CardDescription.vue.d.ts +17 -0
- package/dist/runtime/components/ui/card/CardFooter.d.vue.ts +17 -0
- package/dist/runtime/components/ui/card/CardFooter.vue +15 -0
- package/dist/runtime/components/ui/card/CardFooter.vue.d.ts +17 -0
- package/dist/runtime/components/ui/card/CardHeader.d.vue.ts +17 -0
- package/dist/runtime/components/ui/card/CardHeader.vue +15 -0
- package/dist/runtime/components/ui/card/CardHeader.vue.d.ts +17 -0
- package/dist/runtime/components/ui/card/CardTitle.d.vue.ts +17 -0
- package/dist/runtime/components/ui/card/CardTitle.vue +15 -0
- package/dist/runtime/components/ui/card/CardTitle.vue.d.ts +17 -0
- package/dist/runtime/components/ui/card/index.d.ts +7 -0
- package/dist/runtime/components/ui/card/index.js +7 -0
- package/dist/runtime/components/ui/carousel/Carousel.d.vue.ts +0 -0
- package/dist/runtime/components/ui/carousel/Carousel.vue +47 -0
- package/dist/runtime/components/ui/carousel/Carousel.vue.d.ts +0 -0
- package/dist/runtime/components/ui/carousel/CarouselContent.d.vue.ts +14 -0
- package/dist/runtime/components/ui/carousel/CarouselContent.vue +32 -0
- package/dist/runtime/components/ui/carousel/CarouselContent.vue.d.ts +14 -0
- package/dist/runtime/components/ui/carousel/CarouselItem.d.vue.ts +14 -0
- package/dist/runtime/components/ui/carousel/CarouselItem.vue +23 -0
- package/dist/runtime/components/ui/carousel/CarouselItem.vue.d.ts +14 -0
- package/dist/runtime/components/ui/carousel/CarouselNext.d.vue.ts +19 -0
- package/dist/runtime/components/ui/carousel/CarouselNext.vue +32 -0
- package/dist/runtime/components/ui/carousel/CarouselNext.vue.d.ts +19 -0
- package/dist/runtime/components/ui/carousel/CarouselPrevious.d.vue.ts +19 -0
- package/dist/runtime/components/ui/carousel/CarouselPrevious.vue +32 -0
- package/dist/runtime/components/ui/carousel/CarouselPrevious.vue.d.ts +19 -0
- package/dist/runtime/components/ui/carousel/index.d.ts +7 -0
- package/dist/runtime/components/ui/carousel/index.js +6 -0
- package/dist/runtime/components/ui/carousel/interface.d.ts +20 -0
- package/dist/runtime/components/ui/carousel/interface.js +0 -0
- package/dist/runtime/components/ui/carousel/useCarousel.d.ts +15 -0
- package/dist/runtime/components/ui/carousel/useCarousel.js +43 -0
- package/dist/runtime/components/ui/chart/ChartContainer.d.vue.ts +25 -0
- package/dist/runtime/components/ui/chart/ChartContainer.vue +49 -0
- package/dist/runtime/components/ui/chart/ChartContainer.vue.d.ts +25 -0
- package/dist/runtime/components/ui/chart/ChartLegendContent.d.vue.ts +10 -0
- package/dist/runtime/components/ui/chart/ChartLegendContent.vue +52 -0
- package/dist/runtime/components/ui/chart/ChartLegendContent.vue.d.ts +10 -0
- package/dist/runtime/components/ui/chart/ChartStyle.d.vue.ts +7 -0
- package/dist/runtime/components/ui/chart/ChartStyle.vue +32 -0
- package/dist/runtime/components/ui/chart/ChartStyle.vue.d.ts +7 -0
- package/dist/runtime/components/ui/chart/ChartTooltipContent.d.vue.ts +28 -0
- package/dist/runtime/components/ui/chart/ChartTooltipContent.vue +92 -0
- package/dist/runtime/components/ui/chart/ChartTooltipContent.vue.d.ts +28 -0
- package/dist/runtime/components/ui/chart/index.d.ts +27 -0
- package/dist/runtime/components/ui/chart/index.js +8 -0
- package/dist/runtime/components/ui/chart/utils.d.ts +11 -0
- package/dist/runtime/components/ui/chart/utils.js +23 -0
- package/dist/runtime/components/ui/checkbox/Checkbox.d.vue.ts +25 -0
- package/dist/runtime/components/ui/checkbox/Checkbox.vue +44 -0
- package/dist/runtime/components/ui/checkbox/Checkbox.vue.d.ts +25 -0
- package/dist/runtime/components/ui/checkbox/index.d.ts +1 -0
- package/dist/runtime/components/ui/checkbox/index.js +1 -0
- package/dist/runtime/components/ui/collapsible/Collapsible.d.vue.ts +20 -0
- package/dist/runtime/components/ui/collapsible/Collapsible.vue +23 -0
- package/dist/runtime/components/ui/collapsible/Collapsible.vue.d.ts +20 -0
- package/dist/runtime/components/ui/collapsible/CollapsibleContent.d.vue.ts +14 -0
- package/dist/runtime/components/ui/collapsible/CollapsibleContent.vue +17 -0
- package/dist/runtime/components/ui/collapsible/CollapsibleContent.vue.d.ts +14 -0
- package/dist/runtime/components/ui/collapsible/CollapsibleTrigger.d.vue.ts +14 -0
- package/dist/runtime/components/ui/collapsible/CollapsibleTrigger.vue +16 -0
- package/dist/runtime/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +14 -0
- package/dist/runtime/components/ui/collapsible/index.d.ts +3 -0
- package/dist/runtime/components/ui/collapsible/index.js +3 -0
- package/dist/runtime/components/ui/combobox/Combobox.d.vue.ts +32 -0
- package/dist/runtime/components/ui/combobox/Combobox.vue +36 -0
- package/dist/runtime/components/ui/combobox/Combobox.vue.d.ts +32 -0
- package/dist/runtime/components/ui/combobox/ComboboxAnchor.d.vue.ts +18 -0
- package/dist/runtime/components/ui/combobox/ComboboxAnchor.vue +23 -0
- package/dist/runtime/components/ui/combobox/ComboboxAnchor.vue.d.ts +18 -0
- package/dist/runtime/components/ui/combobox/ComboboxEmpty.d.vue.ts +18 -0
- package/dist/runtime/components/ui/combobox/ComboboxEmpty.vue +21 -0
- package/dist/runtime/components/ui/combobox/ComboboxEmpty.vue.d.ts +18 -0
- package/dist/runtime/components/ui/combobox/ComboboxGroup.d.vue.ts +19 -0
- package/dist/runtime/components/ui/combobox/ComboboxGroup.vue +25 -0
- package/dist/runtime/components/ui/combobox/ComboboxGroup.vue.d.ts +19 -0
- package/dist/runtime/components/ui/combobox/ComboboxInput.d.vue.ts +22 -0
- package/dist/runtime/components/ui/combobox/ComboboxInput.vue +41 -0
- package/dist/runtime/components/ui/combobox/ComboboxInput.vue.d.ts +22 -0
- package/dist/runtime/components/ui/combobox/ComboboxItem.d.vue.ts +22 -0
- package/dist/runtime/components/ui/combobox/ComboboxItem.vue +26 -0
- package/dist/runtime/components/ui/combobox/ComboboxItem.vue.d.ts +22 -0
- package/dist/runtime/components/ui/combobox/ComboboxItemIndicator.d.vue.ts +18 -0
- package/dist/runtime/components/ui/combobox/ComboboxItemIndicator.vue +22 -0
- package/dist/runtime/components/ui/combobox/ComboboxItemIndicator.vue.d.ts +18 -0
- package/dist/runtime/components/ui/combobox/ComboboxList.d.vue.ts +28 -0
- package/dist/runtime/components/ui/combobox/ComboboxList.vue +49 -0
- package/dist/runtime/components/ui/combobox/ComboboxList.vue.d.ts +28 -0
- package/dist/runtime/components/ui/combobox/ComboboxSeparator.d.vue.ts +18 -0
- package/dist/runtime/components/ui/combobox/ComboboxSeparator.vue +21 -0
- package/dist/runtime/components/ui/combobox/ComboboxSeparator.vue.d.ts +18 -0
- package/dist/runtime/components/ui/combobox/ComboboxTrigger.d.vue.ts +18 -0
- package/dist/runtime/components/ui/combobox/ComboboxTrigger.vue +24 -0
- package/dist/runtime/components/ui/combobox/ComboboxTrigger.vue.d.ts +18 -0
- package/dist/runtime/components/ui/combobox/ComboboxViewport.d.vue.ts +18 -0
- package/dist/runtime/components/ui/combobox/ComboboxViewport.vue +23 -0
- package/dist/runtime/components/ui/combobox/ComboboxViewport.vue.d.ts +18 -0
- package/dist/runtime/components/ui/combobox/index.d.ts +11 -0
- package/dist/runtime/components/ui/combobox/index.js +11 -0
- package/dist/runtime/components/ui/command/Command.d.vue.ts +34 -0
- package/dist/runtime/components/ui/command/Command.vue +81 -0
- package/dist/runtime/components/ui/command/Command.vue.d.ts +34 -0
- package/dist/runtime/components/ui/command/CommandDialog.d.vue.ts +22 -0
- package/dist/runtime/components/ui/command/CommandDialog.vue +28 -0
- package/dist/runtime/components/ui/command/CommandDialog.vue.d.ts +22 -0
- package/dist/runtime/components/ui/command/CommandEmpty.d.vue.ts +18 -0
- package/dist/runtime/components/ui/command/CommandEmpty.vue +27 -0
- package/dist/runtime/components/ui/command/CommandEmpty.vue.d.ts +18 -0
- package/dist/runtime/components/ui/command/CommandGroup.d.vue.ts +19 -0
- package/dist/runtime/components/ui/command/CommandGroup.vue +40 -0
- package/dist/runtime/components/ui/command/CommandGroup.vue.d.ts +19 -0
- package/dist/runtime/components/ui/command/CommandInput.d.vue.ts +8 -0
- package/dist/runtime/components/ui/command/CommandInput.vue +37 -0
- package/dist/runtime/components/ui/command/CommandInput.vue.d.ts +8 -0
- package/dist/runtime/components/ui/command/CommandItem.d.vue.ts +22 -0
- package/dist/runtime/components/ui/command/CommandItem.vue +65 -0
- package/dist/runtime/components/ui/command/CommandItem.vue.d.ts +22 -0
- package/dist/runtime/components/ui/command/CommandList.d.vue.ts +18 -0
- package/dist/runtime/components/ui/command/CommandList.vue +24 -0
- package/dist/runtime/components/ui/command/CommandList.vue.d.ts +18 -0
- package/dist/runtime/components/ui/command/CommandSeparator.d.vue.ts +18 -0
- package/dist/runtime/components/ui/command/CommandSeparator.vue +23 -0
- package/dist/runtime/components/ui/command/CommandSeparator.vue.d.ts +18 -0
- package/dist/runtime/components/ui/command/CommandShortcut.d.vue.ts +17 -0
- package/dist/runtime/components/ui/command/CommandShortcut.vue +15 -0
- package/dist/runtime/components/ui/command/CommandShortcut.vue.d.ts +17 -0
- package/dist/runtime/components/ui/command/index.d.ts +90 -0
- package/dist/runtime/components/ui/command/index.js +12 -0
- package/dist/runtime/components/ui/context-menu/ContextMenu.d.vue.ts +18 -0
- package/dist/runtime/components/ui/context-menu/ContextMenu.vue +19 -0
- package/dist/runtime/components/ui/context-menu/ContextMenu.vue.d.ts +18 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuCheckboxItem.d.vue.ts +26 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuCheckboxItem.vue +41 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuCheckboxItem.vue.d.ts +26 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuContent.d.vue.ts +30 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuContent.vue +49 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuContent.vue.d.ts +30 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuGroup.d.vue.ts +14 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuGroup.vue +16 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuGroup.vue.d.ts +14 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuItem.d.vue.ts +24 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuItem.vue +35 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuItem.vue.d.ts +24 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuLabel.d.vue.ts +19 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuLabel.vue +23 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuLabel.vue.d.ts +19 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuPortal.d.vue.ts +14 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuPortal.vue +18 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuPortal.vue.d.ts +14 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuRadioGroup.d.vue.ts +18 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuRadioGroup.vue +22 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuRadioGroup.vue.d.ts +18 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuRadioItem.d.vue.ts +24 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuRadioItem.vue +41 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuRadioItem.vue.d.ts +24 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSeparator.d.vue.ts +8 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSeparator.vue +21 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSeparator.vue.d.ts +8 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuShortcut.d.vue.ts +17 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuShortcut.vue +15 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuShortcut.vue.d.ts +17 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSub.d.vue.ts +18 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSub.vue +21 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSub.vue.d.ts +18 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSubContent.d.vue.ts +34 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSubContent.vue +48 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSubContent.vue.d.ts +34 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSubTrigger.d.vue.ts +19 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSubTrigger.vue +34 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSubTrigger.vue.d.ts +19 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuTrigger.d.vue.ts +14 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuTrigger.vue +18 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuTrigger.vue.d.ts +14 -0
- package/dist/runtime/components/ui/context-menu/index.d.ts +14 -0
- package/dist/runtime/components/ui/context-menu/index.js +14 -0
- package/dist/runtime/components/ui/country-select/CountrySelect.d.vue.ts +13 -0
- package/dist/runtime/components/ui/country-select/CountrySelect.vue +64 -0
- package/dist/runtime/components/ui/country-select/CountrySelect.vue.d.ts +13 -0
- package/dist/runtime/components/ui/country-select/index.d.ts +2 -0
- package/dist/runtime/components/ui/country-select/index.js +2 -0
- package/dist/runtime/components/ui/country-select/useCountries.d.ts +15 -0
- package/dist/runtime/components/ui/country-select/useCountries.js +68 -0
- package/dist/runtime/components/ui/currency-select/CurrencySelect.d.vue.ts +13 -0
- package/dist/runtime/components/ui/currency-select/CurrencySelect.vue +64 -0
- package/dist/runtime/components/ui/currency-select/CurrencySelect.vue.d.ts +13 -0
- package/dist/runtime/components/ui/currency-select/index.d.ts +2 -0
- package/dist/runtime/components/ui/currency-select/index.js +2 -0
- package/dist/runtime/components/ui/currency-select/useCurrencies.d.ts +16 -0
- package/dist/runtime/components/ui/currency-select/useCurrencies.js +79 -0
- package/dist/runtime/components/ui/dialog/Dialog.d.vue.ts +21 -0
- package/dist/runtime/components/ui/dialog/Dialog.vue +20 -0
- package/dist/runtime/components/ui/dialog/Dialog.vue.d.ts +21 -0
- package/dist/runtime/components/ui/dialog/DialogClose.d.vue.ts +14 -0
- package/dist/runtime/components/ui/dialog/DialogClose.vue +16 -0
- package/dist/runtime/components/ui/dialog/DialogClose.vue.d.ts +14 -0
- package/dist/runtime/components/ui/dialog/DialogContent.d.vue.ts +33 -0
- package/dist/runtime/components/ui/dialog/DialogContent.vue +53 -0
- package/dist/runtime/components/ui/dialog/DialogContent.vue.d.ts +33 -0
- package/dist/runtime/components/ui/dialog/DialogDescription.d.vue.ts +18 -0
- package/dist/runtime/components/ui/dialog/DialogDescription.vue +22 -0
- package/dist/runtime/components/ui/dialog/DialogDescription.vue.d.ts +18 -0
- package/dist/runtime/components/ui/dialog/DialogFooter.d.vue.ts +17 -0
- package/dist/runtime/components/ui/dialog/DialogFooter.vue +15 -0
- package/dist/runtime/components/ui/dialog/DialogFooter.vue.d.ts +17 -0
- package/dist/runtime/components/ui/dialog/DialogHeader.d.vue.ts +17 -0
- package/dist/runtime/components/ui/dialog/DialogHeader.vue +15 -0
- package/dist/runtime/components/ui/dialog/DialogHeader.vue.d.ts +17 -0
- package/dist/runtime/components/ui/dialog/DialogOverlay.d.vue.ts +18 -0
- package/dist/runtime/components/ui/dialog/DialogOverlay.vue +22 -0
- package/dist/runtime/components/ui/dialog/DialogOverlay.vue.d.ts +18 -0
- package/dist/runtime/components/ui/dialog/DialogScrollContent.d.vue.ts +32 -0
- package/dist/runtime/components/ui/dialog/DialogScrollContent.vue +59 -0
- package/dist/runtime/components/ui/dialog/DialogScrollContent.vue.d.ts +32 -0
- package/dist/runtime/components/ui/dialog/DialogTitle.d.vue.ts +18 -0
- package/dist/runtime/components/ui/dialog/DialogTitle.vue +22 -0
- package/dist/runtime/components/ui/dialog/DialogTitle.vue.d.ts +18 -0
- package/dist/runtime/components/ui/dialog/DialogTrigger.d.vue.ts +14 -0
- package/dist/runtime/components/ui/dialog/DialogTrigger.vue +16 -0
- package/dist/runtime/components/ui/dialog/DialogTrigger.vue.d.ts +14 -0
- package/dist/runtime/components/ui/dialog/index.d.ts +10 -0
- package/dist/runtime/components/ui/dialog/index.js +10 -0
- package/dist/runtime/components/ui/drawer/Drawer.d.vue.ts +30 -0
- package/dist/runtime/components/ui/drawer/Drawer.vue +35 -0
- package/dist/runtime/components/ui/drawer/Drawer.vue.d.ts +30 -0
- package/dist/runtime/components/ui/drawer/DrawerClose.d.vue.ts +14 -0
- package/dist/runtime/components/ui/drawer/DrawerClose.vue +16 -0
- package/dist/runtime/components/ui/drawer/DrawerClose.vue.d.ts +14 -0
- package/dist/runtime/components/ui/drawer/DrawerContent.d.vue.ts +32 -0
- package/dist/runtime/components/ui/drawer/DrawerContent.vue +39 -0
- package/dist/runtime/components/ui/drawer/DrawerContent.vue.d.ts +32 -0
- package/dist/runtime/components/ui/drawer/DrawerDescription.d.vue.ts +18 -0
- package/dist/runtime/components/ui/drawer/DrawerDescription.vue +21 -0
- package/dist/runtime/components/ui/drawer/DrawerDescription.vue.d.ts +18 -0
- package/dist/runtime/components/ui/drawer/DrawerFooter.d.vue.ts +17 -0
- package/dist/runtime/components/ui/drawer/DrawerFooter.vue +15 -0
- package/dist/runtime/components/ui/drawer/DrawerFooter.vue.d.ts +17 -0
- package/dist/runtime/components/ui/drawer/DrawerHeader.d.vue.ts +17 -0
- package/dist/runtime/components/ui/drawer/DrawerHeader.vue +15 -0
- package/dist/runtime/components/ui/drawer/DrawerHeader.vue.d.ts +17 -0
- package/dist/runtime/components/ui/drawer/DrawerOverlay.d.vue.ts +8 -0
- package/dist/runtime/components/ui/drawer/DrawerOverlay.vue +20 -0
- package/dist/runtime/components/ui/drawer/DrawerOverlay.vue.d.ts +8 -0
- package/dist/runtime/components/ui/drawer/DrawerTitle.d.vue.ts +18 -0
- package/dist/runtime/components/ui/drawer/DrawerTitle.vue +21 -0
- package/dist/runtime/components/ui/drawer/DrawerTitle.vue.d.ts +18 -0
- package/dist/runtime/components/ui/drawer/DrawerTrigger.d.vue.ts +14 -0
- package/dist/runtime/components/ui/drawer/DrawerTrigger.vue +16 -0
- package/dist/runtime/components/ui/drawer/DrawerTrigger.vue.d.ts +14 -0
- package/dist/runtime/components/ui/drawer/index.d.ts +9 -0
- package/dist/runtime/components/ui/drawer/index.js +9 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.d.vue.ts +20 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.vue +21 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +20 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.d.vue.ts +26 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +41 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +26 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.d.vue.ts +30 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue +51 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +30 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuGroup.d.vue.ts +14 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuGroup.vue +16 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +14 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.d.vue.ts +20 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue +28 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +20 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.d.vue.ts +19 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.vue +24 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +19 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioGroup.d.vue.ts +18 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +22 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +18 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.d.vue.ts +24 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +41 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +24 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSeparator.d.vue.ts +8 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSeparator.vue +21 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +8 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuShortcut.d.vue.ts +17 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuShortcut.vue +15 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +17 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSub.d.vue.ts +20 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSub.vue +18 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +20 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.d.vue.ts +34 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue +43 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +34 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.d.vue.ts +19 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +33 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +19 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.d.vue.ts +14 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.vue +18 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +14 -0
- package/dist/runtime/components/ui/dropdown-menu/index.d.ts +15 -0
- package/dist/runtime/components/ui/dropdown-menu/index.js +15 -0
- package/dist/runtime/components/ui/empty/Empty.d.vue.ts +17 -0
- package/dist/runtime/components/ui/empty/Empty.vue +18 -0
- package/dist/runtime/components/ui/empty/Empty.vue.d.ts +17 -0
- package/dist/runtime/components/ui/empty/EmptyContent.d.vue.ts +17 -0
- package/dist/runtime/components/ui/empty/EmptyContent.vue +18 -0
- package/dist/runtime/components/ui/empty/EmptyContent.vue.d.ts +17 -0
- package/dist/runtime/components/ui/empty/EmptyDescription.d.vue.ts +17 -0
- package/dist/runtime/components/ui/empty/EmptyDescription.vue +18 -0
- package/dist/runtime/components/ui/empty/EmptyDescription.vue.d.ts +17 -0
- package/dist/runtime/components/ui/empty/EmptyHeader.d.vue.ts +17 -0
- package/dist/runtime/components/ui/empty/EmptyHeader.vue +18 -0
- package/dist/runtime/components/ui/empty/EmptyHeader.vue.d.ts +17 -0
- package/dist/runtime/components/ui/empty/EmptyMedia.d.vue.ts +19 -0
- package/dist/runtime/components/ui/empty/EmptyMedia.vue +18 -0
- package/dist/runtime/components/ui/empty/EmptyMedia.vue.d.ts +19 -0
- package/dist/runtime/components/ui/empty/EmptyTitle.d.vue.ts +17 -0
- package/dist/runtime/components/ui/empty/EmptyTitle.vue +15 -0
- package/dist/runtime/components/ui/empty/EmptyTitle.vue.d.ts +17 -0
- package/dist/runtime/components/ui/empty/index.d.ts +11 -0
- package/dist/runtime/components/ui/empty/index.js +21 -0
- package/dist/runtime/components/ui/field/Field.d.vue.ts +19 -0
- package/dist/runtime/components/ui/field/Field.vue +22 -0
- package/dist/runtime/components/ui/field/Field.vue.d.ts +19 -0
- package/dist/runtime/components/ui/field/FieldContent.d.vue.ts +17 -0
- package/dist/runtime/components/ui/field/FieldContent.vue +18 -0
- package/dist/runtime/components/ui/field/FieldContent.vue.d.ts +17 -0
- package/dist/runtime/components/ui/field/FieldDescription.d.vue.ts +17 -0
- package/dist/runtime/components/ui/field/FieldDescription.vue +20 -0
- package/dist/runtime/components/ui/field/FieldDescription.vue.d.ts +17 -0
- package/dist/runtime/components/ui/field/FieldError.d.vue.ts +20 -0
- package/dist/runtime/components/ui/field/FieldError.vue +45 -0
- package/dist/runtime/components/ui/field/FieldError.vue.d.ts +20 -0
- package/dist/runtime/components/ui/field/FieldGroup.d.vue.ts +17 -0
- package/dist/runtime/components/ui/field/FieldGroup.vue +18 -0
- package/dist/runtime/components/ui/field/FieldGroup.vue.d.ts +17 -0
- package/dist/runtime/components/ui/field/FieldLabel.d.vue.ts +17 -0
- package/dist/runtime/components/ui/field/FieldLabel.vue +21 -0
- package/dist/runtime/components/ui/field/FieldLabel.vue.d.ts +17 -0
- package/dist/runtime/components/ui/field/FieldLegend.d.vue.ts +18 -0
- package/dist/runtime/components/ui/field/FieldLegend.vue +22 -0
- package/dist/runtime/components/ui/field/FieldLegend.vue.d.ts +18 -0
- package/dist/runtime/components/ui/field/FieldSeparator.d.vue.ts +17 -0
- package/dist/runtime/components/ui/field/FieldSeparator.vue +27 -0
- package/dist/runtime/components/ui/field/FieldSeparator.vue.d.ts +17 -0
- package/dist/runtime/components/ui/field/FieldSet.d.vue.ts +17 -0
- package/dist/runtime/components/ui/field/FieldSet.vue +19 -0
- package/dist/runtime/components/ui/field/FieldSet.vue.d.ts +17 -0
- package/dist/runtime/components/ui/field/FieldTitle.d.vue.ts +17 -0
- package/dist/runtime/components/ui/field/FieldTitle.vue +18 -0
- package/dist/runtime/components/ui/field/FieldTitle.vue.d.ts +17 -0
- package/dist/runtime/components/ui/field/index.d.ts +15 -0
- package/dist/runtime/components/ui/field/index.js +34 -0
- package/dist/runtime/components/ui/file/FileEmptyState.d.vue.ts +12 -0
- package/dist/runtime/components/ui/file/FileEmptyState.vue +65 -0
- package/dist/runtime/components/ui/file/FileEmptyState.vue.d.ts +12 -0
- package/dist/runtime/components/ui/file/FileGrid.d.vue.ts +36 -0
- package/dist/runtime/components/ui/file/FileGrid.vue +92 -0
- package/dist/runtime/components/ui/file/FileGrid.vue.d.ts +36 -0
- package/dist/runtime/components/ui/file/FileTable.d.vue.ts +41 -0
- package/dist/runtime/components/ui/file/FileTable.vue +234 -0
- package/dist/runtime/components/ui/file/FileTable.vue.d.ts +41 -0
- package/dist/runtime/components/ui/file/FolderTree.d.vue.ts +20 -0
- package/dist/runtime/components/ui/file/FolderTree.vue +69 -0
- package/dist/runtime/components/ui/file/FolderTree.vue.d.ts +20 -0
- package/dist/runtime/components/ui/file/index.d.ts +4 -0
- package/dist/runtime/components/ui/file/index.js +4 -0
- package/dist/runtime/components/ui/form/FormControl.d.vue.ts +13 -0
- package/dist/runtime/components/ui/form/FormControl.vue +16 -0
- package/dist/runtime/components/ui/form/FormControl.vue.d.ts +13 -0
- package/dist/runtime/components/ui/form/FormDescription.d.vue.ts +17 -0
- package/dist/runtime/components/ui/form/FormDescription.vue +18 -0
- package/dist/runtime/components/ui/form/FormDescription.vue.d.ts +17 -0
- package/dist/runtime/components/ui/form/FormItem.d.vue.ts +17 -0
- package/dist/runtime/components/ui/form/FormItem.vue +20 -0
- package/dist/runtime/components/ui/form/FormItem.vue.d.ts +17 -0
- package/dist/runtime/components/ui/form/FormLabel.d.vue.ts +18 -0
- package/dist/runtime/components/ui/form/FormLabel.vue +26 -0
- package/dist/runtime/components/ui/form/FormLabel.vue.d.ts +18 -0
- package/dist/runtime/components/ui/form/FormMessage.d.vue.ts +7 -0
- package/dist/runtime/components/ui/form/FormMessage.vue +20 -0
- package/dist/runtime/components/ui/form/FormMessage.vue.d.ts +7 -0
- package/dist/runtime/components/ui/form/index.d.ts +7 -0
- package/dist/runtime/components/ui/form/index.js +7 -0
- package/dist/runtime/components/ui/form/injectionKeys.d.ts +2 -0
- package/dist/runtime/components/ui/form/injectionKeys.js +1 -0
- package/dist/runtime/components/ui/form/useFormField.d.ts +11 -0
- package/dist/runtime/components/ui/form/useFormField.js +25 -0
- package/dist/runtime/components/ui/hover-card/HoverCard.d.vue.ts +20 -0
- package/dist/runtime/components/ui/hover-card/HoverCard.vue +21 -0
- package/dist/runtime/components/ui/hover-card/HoverCard.vue.d.ts +20 -0
- package/dist/runtime/components/ui/hover-card/HoverCardContent.d.vue.ts +18 -0
- package/dist/runtime/components/ui/hover-card/HoverCardContent.vue +54 -0
- package/dist/runtime/components/ui/hover-card/HoverCardContent.vue.d.ts +18 -0
- package/dist/runtime/components/ui/hover-card/HoverCardTrigger.d.vue.ts +14 -0
- package/dist/runtime/components/ui/hover-card/HoverCardTrigger.vue +17 -0
- package/dist/runtime/components/ui/hover-card/HoverCardTrigger.vue.d.ts +14 -0
- package/dist/runtime/components/ui/hover-card/index.d.ts +3 -0
- package/dist/runtime/components/ui/hover-card/index.js +3 -0
- package/dist/runtime/components/ui/input/Input.d.vue.ts +13 -0
- package/dist/runtime/components/ui/input/Input.vue +27 -0
- package/dist/runtime/components/ui/input/Input.vue.d.ts +13 -0
- package/dist/runtime/components/ui/input/index.d.ts +1 -0
- package/dist/runtime/components/ui/input/index.js +1 -0
- package/dist/runtime/components/ui/input-group/InputGroup.d.vue.ts +17 -0
- package/dist/runtime/components/ui/input-group/InputGroup.vue +29 -0
- package/dist/runtime/components/ui/input-group/InputGroup.vue.d.ts +17 -0
- package/dist/runtime/components/ui/input-group/InputGroupAddon.d.vue.ts +19 -0
- package/dist/runtime/components/ui/input-group/InputGroupAddon.vue +30 -0
- package/dist/runtime/components/ui/input-group/InputGroupAddon.vue.d.ts +19 -0
- package/dist/runtime/components/ui/input-group/InputGroupButton.d.vue.ts +14 -0
- package/dist/runtime/components/ui/input-group/InputGroupButton.vue +20 -0
- package/dist/runtime/components/ui/input-group/InputGroupButton.vue.d.ts +14 -0
- package/dist/runtime/components/ui/input-group/InputGroupInput.d.vue.ts +7 -0
- package/dist/runtime/components/ui/input-group/InputGroupInput.vue +17 -0
- package/dist/runtime/components/ui/input-group/InputGroupInput.vue.d.ts +7 -0
- package/dist/runtime/components/ui/input-group/InputGroupText.d.vue.ts +17 -0
- package/dist/runtime/components/ui/input-group/InputGroupText.vue +17 -0
- package/dist/runtime/components/ui/input-group/InputGroupText.vue.d.ts +17 -0
- package/dist/runtime/components/ui/input-group/InputGroupTextarea.d.vue.ts +7 -0
- package/dist/runtime/components/ui/input-group/InputGroupTextarea.vue +17 -0
- package/dist/runtime/components/ui/input-group/InputGroupTextarea.vue.d.ts +7 -0
- package/dist/runtime/components/ui/input-group/index.d.ts +22 -0
- package/dist/runtime/components/ui/input-group/index.js +39 -0
- package/dist/runtime/components/ui/input-otp/InputOTP.d.vue.ts +42 -0
- package/dist/runtime/components/ui/input-otp/InputOTP.vue +65 -0
- package/dist/runtime/components/ui/input-otp/InputOTP.vue.d.ts +42 -0
- package/dist/runtime/components/ui/input-otp/InputOTPGroup.d.vue.ts +17 -0
- package/dist/runtime/components/ui/input-otp/InputOTPGroup.vue +20 -0
- package/dist/runtime/components/ui/input-otp/InputOTPGroup.vue.d.ts +17 -0
- package/dist/runtime/components/ui/input-otp/InputOTPSeparator.d.vue.ts +17 -0
- package/dist/runtime/components/ui/input-otp/InputOTPSeparator.vue +20 -0
- package/dist/runtime/components/ui/input-otp/InputOTPSeparator.vue.d.ts +17 -0
- package/dist/runtime/components/ui/input-otp/InputOTPSlot.d.vue.ts +8 -0
- package/dist/runtime/components/ui/input-otp/InputOTPSlot.vue +28 -0
- package/dist/runtime/components/ui/input-otp/InputOTPSlot.vue.d.ts +8 -0
- package/dist/runtime/components/ui/input-otp/index.d.ts +4 -0
- package/dist/runtime/components/ui/input-otp/index.js +4 -0
- package/dist/runtime/components/ui/item/Item.d.vue.ts +21 -0
- package/dist/runtime/components/ui/item/Item.vue +23 -0
- package/dist/runtime/components/ui/item/Item.vue.d.ts +21 -0
- package/dist/runtime/components/ui/item/ItemActions.d.vue.ts +17 -0
- package/dist/runtime/components/ui/item/ItemActions.vue +15 -0
- package/dist/runtime/components/ui/item/ItemActions.vue.d.ts +17 -0
- package/dist/runtime/components/ui/item/ItemContent.d.vue.ts +17 -0
- package/dist/runtime/components/ui/item/ItemContent.vue +15 -0
- package/dist/runtime/components/ui/item/ItemContent.vue.d.ts +17 -0
- package/dist/runtime/components/ui/item/ItemDescription.d.vue.ts +17 -0
- package/dist/runtime/components/ui/item/ItemDescription.vue +19 -0
- package/dist/runtime/components/ui/item/ItemDescription.vue.d.ts +17 -0
- package/dist/runtime/components/ui/item/ItemFooter.d.vue.ts +17 -0
- package/dist/runtime/components/ui/item/ItemFooter.vue +15 -0
- package/dist/runtime/components/ui/item/ItemFooter.vue.d.ts +17 -0
- package/dist/runtime/components/ui/item/ItemGroup.d.vue.ts +17 -0
- package/dist/runtime/components/ui/item/ItemGroup.vue +16 -0
- package/dist/runtime/components/ui/item/ItemGroup.vue.d.ts +17 -0
- package/dist/runtime/components/ui/item/ItemHeader.d.vue.ts +17 -0
- package/dist/runtime/components/ui/item/ItemHeader.vue +15 -0
- package/dist/runtime/components/ui/item/ItemHeader.vue.d.ts +17 -0
- package/dist/runtime/components/ui/item/ItemMedia.d.vue.ts +19 -0
- package/dist/runtime/components/ui/item/ItemMedia.vue +18 -0
- package/dist/runtime/components/ui/item/ItemMedia.vue.d.ts +19 -0
- package/dist/runtime/components/ui/item/ItemSeparator.d.vue.ts +8 -0
- package/dist/runtime/components/ui/item/ItemSeparator.vue +19 -0
- package/dist/runtime/components/ui/item/ItemSeparator.vue.d.ts +8 -0
- package/dist/runtime/components/ui/item/ItemTitle.d.vue.ts +17 -0
- package/dist/runtime/components/ui/item/ItemTitle.vue +15 -0
- package/dist/runtime/components/ui/item/ItemTitle.vue.d.ts +17 -0
- package/dist/runtime/components/ui/item/index.d.ts +20 -0
- package/dist/runtime/components/ui/item/index.js +46 -0
- package/dist/runtime/components/ui/kbd/Kbd.d.vue.ts +17 -0
- package/dist/runtime/components/ui/kbd/Kbd.vue +19 -0
- package/dist/runtime/components/ui/kbd/Kbd.vue.d.ts +17 -0
- package/dist/runtime/components/ui/kbd/KbdGroup.d.vue.ts +17 -0
- package/dist/runtime/components/ui/kbd/KbdGroup.vue +15 -0
- package/dist/runtime/components/ui/kbd/KbdGroup.vue.d.ts +17 -0
- package/dist/runtime/components/ui/kbd/index.d.ts +2 -0
- package/dist/runtime/components/ui/kbd/index.js +2 -0
- package/dist/runtime/components/ui/label/Label.d.vue.ts +18 -0
- package/dist/runtime/components/ui/label/Label.vue +27 -0
- package/dist/runtime/components/ui/label/Label.vue.d.ts +18 -0
- package/dist/runtime/components/ui/label/index.d.ts +1 -0
- package/dist/runtime/components/ui/label/index.js +1 -0
- package/dist/runtime/components/ui/language-select/LanguageSelect.d.vue.ts +14 -0
- package/dist/runtime/components/ui/language-select/LanguageSelect.vue +65 -0
- package/dist/runtime/components/ui/language-select/LanguageSelect.vue.d.ts +14 -0
- package/dist/runtime/components/ui/language-select/index.d.ts +2 -0
- package/dist/runtime/components/ui/language-select/index.js +2 -0
- package/dist/runtime/components/ui/language-select/useLanguages.d.ts +16 -0
- package/dist/runtime/components/ui/language-select/useLanguages.js +167 -0
- package/dist/runtime/components/ui/menubar/Menubar.d.vue.ts +24 -0
- package/dist/runtime/components/ui/menubar/Menubar.vue +34 -0
- package/dist/runtime/components/ui/menubar/Menubar.vue.d.ts +24 -0
- package/dist/runtime/components/ui/menubar/MenubarCheckboxItem.d.vue.ts +26 -0
- package/dist/runtime/components/ui/menubar/MenubarCheckboxItem.vue +41 -0
- package/dist/runtime/components/ui/menubar/MenubarCheckboxItem.vue.d.ts +26 -0
- package/dist/runtime/components/ui/menubar/MenubarContent.d.vue.ts +18 -0
- package/dist/runtime/components/ui/menubar/MenubarContent.vue +55 -0
- package/dist/runtime/components/ui/menubar/MenubarContent.vue.d.ts +18 -0
- package/dist/runtime/components/ui/menubar/MenubarGroup.d.vue.ts +14 -0
- package/dist/runtime/components/ui/menubar/MenubarGroup.vue +16 -0
- package/dist/runtime/components/ui/menubar/MenubarGroup.vue.d.ts +14 -0
- package/dist/runtime/components/ui/menubar/MenubarItem.d.vue.ts +24 -0
- package/dist/runtime/components/ui/menubar/MenubarItem.vue +35 -0
- package/dist/runtime/components/ui/menubar/MenubarItem.vue.d.ts +24 -0
- package/dist/runtime/components/ui/menubar/MenubarLabel.d.vue.ts +19 -0
- package/dist/runtime/components/ui/menubar/MenubarLabel.vue +22 -0
- package/dist/runtime/components/ui/menubar/MenubarLabel.vue.d.ts +19 -0
- package/dist/runtime/components/ui/menubar/MenubarMenu.d.vue.ts +14 -0
- package/dist/runtime/components/ui/menubar/MenubarMenu.vue +15 -0
- package/dist/runtime/components/ui/menubar/MenubarMenu.vue.d.ts +14 -0
- package/dist/runtime/components/ui/menubar/MenubarRadioGroup.d.vue.ts +18 -0
- package/dist/runtime/components/ui/menubar/MenubarRadioGroup.vue +22 -0
- package/dist/runtime/components/ui/menubar/MenubarRadioGroup.vue.d.ts +18 -0
- package/dist/runtime/components/ui/menubar/MenubarRadioItem.d.vue.ts +24 -0
- package/dist/runtime/components/ui/menubar/MenubarRadioItem.vue +41 -0
- package/dist/runtime/components/ui/menubar/MenubarRadioItem.vue.d.ts +24 -0
- package/dist/runtime/components/ui/menubar/MenubarSeparator.d.vue.ts +8 -0
- package/dist/runtime/components/ui/menubar/MenubarSeparator.vue +20 -0
- package/dist/runtime/components/ui/menubar/MenubarSeparator.vue.d.ts +8 -0
- package/dist/runtime/components/ui/menubar/MenubarShortcut.d.vue.ts +17 -0
- package/dist/runtime/components/ui/menubar/MenubarShortcut.vue +15 -0
- package/dist/runtime/components/ui/menubar/MenubarShortcut.vue.d.ts +17 -0
- package/dist/runtime/components/ui/menubar/MenubarSub.d.vue.ts +23 -0
- package/dist/runtime/components/ui/menubar/MenubarSub.vue +19 -0
- package/dist/runtime/components/ui/menubar/MenubarSub.vue.d.ts +23 -0
- package/dist/runtime/components/ui/menubar/MenubarSubContent.d.vue.ts +34 -0
- package/dist/runtime/components/ui/menubar/MenubarSubContent.vue +54 -0
- package/dist/runtime/components/ui/menubar/MenubarSubContent.vue.d.ts +34 -0
- package/dist/runtime/components/ui/menubar/MenubarSubTrigger.d.vue.ts +19 -0
- package/dist/runtime/components/ui/menubar/MenubarSubTrigger.vue +31 -0
- package/dist/runtime/components/ui/menubar/MenubarSubTrigger.vue.d.ts +19 -0
- package/dist/runtime/components/ui/menubar/MenubarTrigger.d.vue.ts +18 -0
- package/dist/runtime/components/ui/menubar/MenubarTrigger.vue +28 -0
- package/dist/runtime/components/ui/menubar/MenubarTrigger.vue.d.ts +18 -0
- package/dist/runtime/components/ui/menubar/index.d.ts +15 -0
- package/dist/runtime/components/ui/menubar/index.js +15 -0
- package/dist/runtime/components/ui/native-select/NativeSelect.d.vue.ts +17 -0
- package/dist/runtime/components/ui/native-select/NativeSelect.vue +37 -0
- package/dist/runtime/components/ui/native-select/NativeSelect.vue.d.ts +17 -0
- package/dist/runtime/components/ui/native-select/NativeSelectOptGroup.d.vue.ts +13 -0
- package/dist/runtime/components/ui/native-select/NativeSelectOptGroup.vue +9 -0
- package/dist/runtime/components/ui/native-select/NativeSelectOptGroup.vue.d.ts +13 -0
- package/dist/runtime/components/ui/native-select/NativeSelectOption.d.vue.ts +13 -0
- package/dist/runtime/components/ui/native-select/NativeSelectOption.vue +9 -0
- package/dist/runtime/components/ui/native-select/NativeSelectOption.vue.d.ts +13 -0
- package/dist/runtime/components/ui/native-select/index.d.ts +3 -0
- package/dist/runtime/components/ui/native-select/index.js +3 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenu.d.vue.ts +25 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenu.vue +41 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenu.vue.d.ts +25 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuContent.d.vue.ts +28 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuContent.vue +32 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuContent.vue.d.ts +28 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuIndicator.d.vue.ts +8 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuIndicator.vue +23 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuIndicator.vue.d.ts +8 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuItem.d.vue.ts +18 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuItem.vue +22 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuItem.vue.d.ts +18 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuLink.d.vue.ts +26 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuLink.vue +27 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuLink.vue.d.ts +26 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuList.d.vue.ts +18 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuList.vue +27 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuList.vue.d.ts +18 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuTrigger.d.vue.ts +18 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuTrigger.vue +32 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuTrigger.vue.d.ts +18 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuViewport.d.vue.ts +8 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuViewport.vue +32 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuViewport.vue.d.ts +8 -0
- package/dist/runtime/components/ui/navigation-menu/index.d.ts +9 -0
- package/dist/runtime/components/ui/navigation-menu/index.js +12 -0
- package/dist/runtime/components/ui/number-field/NumberField.d.vue.ts +25 -0
- package/dist/runtime/components/ui/number-field/NumberField.vue +34 -0
- package/dist/runtime/components/ui/number-field/NumberField.vue.d.ts +25 -0
- package/dist/runtime/components/ui/number-field/NumberFieldContent.d.vue.ts +17 -0
- package/dist/runtime/components/ui/number-field/NumberFieldContent.vue +12 -0
- package/dist/runtime/components/ui/number-field/NumberFieldContent.vue.d.ts +17 -0
- package/dist/runtime/components/ui/number-field/NumberFieldDecrement.d.vue.ts +18 -0
- package/dist/runtime/components/ui/number-field/NumberFieldDecrement.vue +22 -0
- package/dist/runtime/components/ui/number-field/NumberFieldDecrement.vue.d.ts +18 -0
- package/dist/runtime/components/ui/number-field/NumberFieldIncrement.d.vue.ts +18 -0
- package/dist/runtime/components/ui/number-field/NumberFieldIncrement.vue +22 -0
- package/dist/runtime/components/ui/number-field/NumberFieldIncrement.vue.d.ts +18 -0
- package/dist/runtime/components/ui/number-field/NumberFieldInput.d.vue.ts +7 -0
- package/dist/runtime/components/ui/number-field/NumberFieldInput.vue +14 -0
- package/dist/runtime/components/ui/number-field/NumberFieldInput.vue.d.ts +7 -0
- package/dist/runtime/components/ui/number-field/index.d.ts +5 -0
- package/dist/runtime/components/ui/number-field/index.js +5 -0
- package/dist/runtime/components/ui/pagination/Pagination.d.vue.ts +25 -0
- package/dist/runtime/components/ui/pagination/Pagination.vue +31 -0
- package/dist/runtime/components/ui/pagination/Pagination.vue.d.ts +25 -0
- package/dist/runtime/components/ui/pagination/PaginationContent.d.vue.ts +25 -0
- package/dist/runtime/components/ui/pagination/PaginationContent.vue +22 -0
- package/dist/runtime/components/ui/pagination/PaginationContent.vue.d.ts +25 -0
- package/dist/runtime/components/ui/pagination/PaginationEllipsis.d.vue.ts +18 -0
- package/dist/runtime/components/ui/pagination/PaginationEllipsis.vue +25 -0
- package/dist/runtime/components/ui/pagination/PaginationEllipsis.vue.d.ts +18 -0
- package/dist/runtime/components/ui/pagination/PaginationFirst.d.vue.ts +20 -0
- package/dist/runtime/components/ui/pagination/PaginationFirst.vue +28 -0
- package/dist/runtime/components/ui/pagination/PaginationFirst.vue.d.ts +20 -0
- package/dist/runtime/components/ui/pagination/PaginationItem.d.vue.ts +21 -0
- package/dist/runtime/components/ui/pagination/PaginationItem.vue +31 -0
- package/dist/runtime/components/ui/pagination/PaginationItem.vue.d.ts +21 -0
- package/dist/runtime/components/ui/pagination/PaginationLast.d.vue.ts +20 -0
- package/dist/runtime/components/ui/pagination/PaginationLast.vue +28 -0
- package/dist/runtime/components/ui/pagination/PaginationLast.vue.d.ts +20 -0
- package/dist/runtime/components/ui/pagination/PaginationNext.d.vue.ts +20 -0
- package/dist/runtime/components/ui/pagination/PaginationNext.vue +28 -0
- package/dist/runtime/components/ui/pagination/PaginationNext.vue.d.ts +20 -0
- package/dist/runtime/components/ui/pagination/PaginationPrevious.d.vue.ts +20 -0
- package/dist/runtime/components/ui/pagination/PaginationPrevious.vue +28 -0
- package/dist/runtime/components/ui/pagination/PaginationPrevious.vue.d.ts +20 -0
- package/dist/runtime/components/ui/pagination/index.d.ts +8 -0
- package/dist/runtime/components/ui/pagination/index.js +8 -0
- package/dist/runtime/components/ui/pin-input/PinInput.d.vue.ts +25 -0
- package/dist/runtime/components/ui/pin-input/PinInput.vue +34 -0
- package/dist/runtime/components/ui/pin-input/PinInput.vue.d.ts +25 -0
- package/dist/runtime/components/ui/pin-input/PinInputGroup.d.vue.ts +18 -0
- package/dist/runtime/components/ui/pin-input/PinInputGroup.vue +22 -0
- package/dist/runtime/components/ui/pin-input/PinInputGroup.vue.d.ts +18 -0
- package/dist/runtime/components/ui/pin-input/PinInputSeparator.d.vue.ts +14 -0
- package/dist/runtime/components/ui/pin-input/PinInputSeparator.vue +20 -0
- package/dist/runtime/components/ui/pin-input/PinInputSeparator.vue.d.ts +14 -0
- package/dist/runtime/components/ui/pin-input/PinInputSlot.d.vue.ts +8 -0
- package/dist/runtime/components/ui/pin-input/PinInputSlot.vue +22 -0
- package/dist/runtime/components/ui/pin-input/PinInputSlot.vue.d.ts +8 -0
- package/dist/runtime/components/ui/pin-input/index.d.ts +4 -0
- package/dist/runtime/components/ui/pin-input/index.js +4 -0
- package/dist/runtime/components/ui/popover/Popover.d.vue.ts +21 -0
- package/dist/runtime/components/ui/popover/Popover.vue +20 -0
- package/dist/runtime/components/ui/popover/Popover.vue.d.ts +21 -0
- package/dist/runtime/components/ui/popover/PopoverAnchor.d.vue.ts +14 -0
- package/dist/runtime/components/ui/popover/PopoverAnchor.vue +17 -0
- package/dist/runtime/components/ui/popover/PopoverAnchor.vue.d.ts +14 -0
- package/dist/runtime/components/ui/popover/PopoverContent.d.vue.ts +32 -0
- package/dist/runtime/components/ui/popover/PopoverContent.vue +56 -0
- package/dist/runtime/components/ui/popover/PopoverContent.vue.d.ts +32 -0
- package/dist/runtime/components/ui/popover/PopoverTrigger.d.vue.ts +14 -0
- package/dist/runtime/components/ui/popover/PopoverTrigger.vue +16 -0
- package/dist/runtime/components/ui/popover/PopoverTrigger.vue.d.ts +14 -0
- package/dist/runtime/components/ui/popover/index.d.ts +4 -0
- package/dist/runtime/components/ui/popover/index.js +4 -0
- package/dist/runtime/components/ui/progress/Progress.d.vue.ts +8 -0
- package/dist/runtime/components/ui/progress/Progress.vue +37 -0
- package/dist/runtime/components/ui/progress/Progress.vue.d.ts +8 -0
- package/dist/runtime/components/ui/progress/index.d.ts +1 -0
- package/dist/runtime/components/ui/progress/index.js +1 -0
- package/dist/runtime/components/ui/radio-group/RadioGroup.d.vue.ts +24 -0
- package/dist/runtime/components/ui/radio-group/RadioGroup.vue +32 -0
- package/dist/runtime/components/ui/radio-group/RadioGroup.vue.d.ts +24 -0
- package/dist/runtime/components/ui/radio-group/RadioGroupItem.d.vue.ts +18 -0
- package/dist/runtime/components/ui/radio-group/RadioGroupItem.vue +44 -0
- package/dist/runtime/components/ui/radio-group/RadioGroupItem.vue.d.ts +18 -0
- package/dist/runtime/components/ui/radio-group/index.d.ts +2 -0
- package/dist/runtime/components/ui/radio-group/index.js +2 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendar.d.vue.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendar.vue +87 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendar.vue.d.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCell.d.vue.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCell.vue +23 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCell.vue.d.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.d.vue.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.vue +40 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.vue.d.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGrid.d.vue.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGrid.vue +22 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGrid.vue.d.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridBody.d.vue.ts +14 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridBody.vue +16 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridBody.vue.d.ts +14 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridHead.d.vue.ts +14 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridHead.vue +16 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridHead.vue.d.ts +14 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridRow.d.vue.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridRow.vue +21 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridRow.vue.d.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeadCell.d.vue.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeadCell.vue +22 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeadCell.vue.d.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeader.d.vue.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeader.vue +22 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeader.vue.d.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeading.d.vue.ts +19 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeading.vue +26 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeading.vue.d.ts +19 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarNextButton.d.vue.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarNextButton.vue +32 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarNextButton.vue.d.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarPrevButton.d.vue.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarPrevButton.vue +32 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarPrevButton.vue.d.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/index.d.ts +12 -0
- package/dist/runtime/components/ui/range-calendar/index.js +12 -0
- package/dist/runtime/components/ui/resizable/ResizableHandle.d.vue.ts +23 -0
- package/dist/runtime/components/ui/resizable/ResizableHandle.vue +36 -0
- package/dist/runtime/components/ui/resizable/ResizableHandle.vue.d.ts +23 -0
- package/dist/runtime/components/ui/resizable/ResizablePanel.d.vue.ts +28 -0
- package/dist/runtime/components/ui/resizable/ResizablePanel.vue +27 -0
- package/dist/runtime/components/ui/resizable/ResizablePanel.vue.d.ts +28 -0
- package/dist/runtime/components/ui/resizable/ResizablePanelGroup.d.vue.ts +24 -0
- package/dist/runtime/components/ui/resizable/ResizablePanelGroup.vue +29 -0
- package/dist/runtime/components/ui/resizable/ResizablePanelGroup.vue.d.ts +24 -0
- package/dist/runtime/components/ui/resizable/index.d.ts +3 -0
- package/dist/runtime/components/ui/resizable/index.js +3 -0
- package/dist/runtime/components/ui/scroll-area/ScrollArea.d.vue.ts +18 -0
- package/dist/runtime/components/ui/scroll-area/ScrollArea.vue +36 -0
- package/dist/runtime/components/ui/scroll-area/ScrollArea.vue.d.ts +18 -0
- package/dist/runtime/components/ui/scroll-area/ScrollBar.d.vue.ts +8 -0
- package/dist/runtime/components/ui/scroll-area/ScrollBar.vue +33 -0
- package/dist/runtime/components/ui/scroll-area/ScrollBar.vue.d.ts +8 -0
- package/dist/runtime/components/ui/scroll-area/index.d.ts +2 -0
- package/dist/runtime/components/ui/scroll-area/index.js +2 -0
- package/dist/runtime/components/ui/select/Select.d.vue.ts +24 -0
- package/dist/runtime/components/ui/select/Select.vue +28 -0
- package/dist/runtime/components/ui/select/Select.vue.d.ts +24 -0
- package/dist/runtime/components/ui/select/SelectContent.d.vue.ts +26 -0
- package/dist/runtime/components/ui/select/SelectContent.vue +64 -0
- package/dist/runtime/components/ui/select/SelectContent.vue.d.ts +26 -0
- package/dist/runtime/components/ui/select/SelectGroup.d.vue.ts +14 -0
- package/dist/runtime/components/ui/select/SelectGroup.vue +16 -0
- package/dist/runtime/components/ui/select/SelectGroup.vue.d.ts +14 -0
- package/dist/runtime/components/ui/select/SelectItem.d.vue.ts +20 -0
- package/dist/runtime/components/ui/select/SelectItem.vue +46 -0
- package/dist/runtime/components/ui/select/SelectItem.vue.d.ts +20 -0
- package/dist/runtime/components/ui/select/SelectItemText.d.vue.ts +14 -0
- package/dist/runtime/components/ui/select/SelectItemText.vue +16 -0
- package/dist/runtime/components/ui/select/SelectItemText.vue.d.ts +14 -0
- package/dist/runtime/components/ui/select/SelectLabel.d.vue.ts +18 -0
- package/dist/runtime/components/ui/select/SelectLabel.vue +19 -0
- package/dist/runtime/components/ui/select/SelectLabel.vue.d.ts +18 -0
- package/dist/runtime/components/ui/select/SelectScrollDownButton.d.vue.ts +18 -0
- package/dist/runtime/components/ui/select/SelectScrollDownButton.vue +25 -0
- package/dist/runtime/components/ui/select/SelectScrollDownButton.vue.d.ts +18 -0
- package/dist/runtime/components/ui/select/SelectScrollUpButton.d.vue.ts +18 -0
- package/dist/runtime/components/ui/select/SelectScrollUpButton.vue +25 -0
- package/dist/runtime/components/ui/select/SelectScrollUpButton.vue.d.ts +18 -0
- package/dist/runtime/components/ui/select/SelectSeparator.d.vue.ts +8 -0
- package/dist/runtime/components/ui/select/SelectSeparator.vue +19 -0
- package/dist/runtime/components/ui/select/SelectSeparator.vue.d.ts +8 -0
- package/dist/runtime/components/ui/select/SelectTrigger.d.vue.ts +19 -0
- package/dist/runtime/components/ui/select/SelectTrigger.vue +33 -0
- package/dist/runtime/components/ui/select/SelectTrigger.vue.d.ts +19 -0
- package/dist/runtime/components/ui/select/SelectValue.d.vue.ts +14 -0
- package/dist/runtime/components/ui/select/SelectValue.vue +17 -0
- package/dist/runtime/components/ui/select/SelectValue.vue.d.ts +14 -0
- package/dist/runtime/components/ui/select/index.d.ts +11 -0
- package/dist/runtime/components/ui/select/index.js +11 -0
- package/dist/runtime/components/ui/separator/Separator.d.vue.ts +8 -0
- package/dist/runtime/components/ui/separator/Separator.vue +26 -0
- package/dist/runtime/components/ui/separator/Separator.vue.d.ts +8 -0
- package/dist/runtime/components/ui/separator/index.d.ts +1 -0
- package/dist/runtime/components/ui/separator/index.js +1 -0
- package/dist/runtime/components/ui/sheet/InnerSheet.d.vue.ts +20 -0
- package/dist/runtime/components/ui/sheet/InnerSheet.vue +16 -0
- package/dist/runtime/components/ui/sheet/InnerSheet.vue.d.ts +20 -0
- package/dist/runtime/components/ui/sheet/InnerSheetContent.d.vue.ts +33 -0
- package/dist/runtime/components/ui/sheet/InnerSheetContent.vue +53 -0
- package/dist/runtime/components/ui/sheet/InnerSheetContent.vue.d.ts +33 -0
- package/dist/runtime/components/ui/sheet/Sheet.d.vue.ts +21 -0
- package/dist/runtime/components/ui/sheet/Sheet.vue +20 -0
- package/dist/runtime/components/ui/sheet/Sheet.vue.d.ts +21 -0
- package/dist/runtime/components/ui/sheet/SheetClose.d.vue.ts +14 -0
- package/dist/runtime/components/ui/sheet/SheetClose.vue +16 -0
- package/dist/runtime/components/ui/sheet/SheetClose.vue.d.ts +14 -0
- package/dist/runtime/components/ui/sheet/SheetContent.d.vue.ts +33 -0
- package/dist/runtime/components/ui/sheet/SheetContent.vue +53 -0
- package/dist/runtime/components/ui/sheet/SheetContent.vue.d.ts +33 -0
- package/dist/runtime/components/ui/sheet/SheetDescription.d.vue.ts +18 -0
- package/dist/runtime/components/ui/sheet/SheetDescription.vue +21 -0
- package/dist/runtime/components/ui/sheet/SheetDescription.vue.d.ts +18 -0
- package/dist/runtime/components/ui/sheet/SheetFooter.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sheet/SheetFooter.vue +17 -0
- package/dist/runtime/components/ui/sheet/SheetFooter.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sheet/SheetHeader.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sheet/SheetHeader.vue +15 -0
- package/dist/runtime/components/ui/sheet/SheetHeader.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sheet/SheetOverlay.d.vue.ts +18 -0
- package/dist/runtime/components/ui/sheet/SheetOverlay.vue +22 -0
- package/dist/runtime/components/ui/sheet/SheetOverlay.vue.d.ts +18 -0
- package/dist/runtime/components/ui/sheet/SheetTitle.d.vue.ts +18 -0
- package/dist/runtime/components/ui/sheet/SheetTitle.vue +21 -0
- package/dist/runtime/components/ui/sheet/SheetTitle.vue.d.ts +18 -0
- package/dist/runtime/components/ui/sheet/SheetTrigger.d.vue.ts +14 -0
- package/dist/runtime/components/ui/sheet/SheetTrigger.vue +16 -0
- package/dist/runtime/components/ui/sheet/SheetTrigger.vue.d.ts +14 -0
- package/dist/runtime/components/ui/sheet/index.d.ts +8 -0
- package/dist/runtime/components/ui/sheet/index.js +8 -0
- package/dist/runtime/components/ui/sidebar/Sidebar.d.vue.ts +18 -0
- package/dist/runtime/components/ui/sidebar/Sidebar.vue +87 -0
- package/dist/runtime/components/ui/sidebar/Sidebar.vue.d.ts +18 -0
- package/dist/runtime/components/ui/sidebar/SidebarContent.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarContent.vue +16 -0
- package/dist/runtime/components/ui/sidebar/SidebarContent.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarFooter.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarFooter.vue +16 -0
- package/dist/runtime/components/ui/sidebar/SidebarFooter.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroup.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroup.vue +16 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroup.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupAction.d.vue.ts +18 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupAction.vue +26 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupAction.vue.d.ts +18 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupContent.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupContent.vue +16 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupContent.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupLabel.d.vue.ts +18 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupLabel.vue +25 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupLabel.vue.d.ts +18 -0
- package/dist/runtime/components/ui/sidebar/SidebarHeader.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarHeader.vue +16 -0
- package/dist/runtime/components/ui/sidebar/SidebarHeader.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarInput.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarInput.vue +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarInput.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarInset.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarInset.vue +19 -0
- package/dist/runtime/components/ui/sidebar/SidebarInset.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenu.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenu.vue +16 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenu.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuAction.d.vue.ts +19 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuAction.vue +31 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuAction.vue.d.ts +19 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuBadge.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuBadge.vue +24 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuBadge.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuButton.d.vue.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuButton.vue +44 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuButton.vue.d.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.d.vue.ts +22 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.vue +28 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.vue.d.ts +22 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuItem.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuItem.vue +16 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuItem.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.d.vue.ts +8 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.vue +32 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.vue.d.ts +8 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSub.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSub.vue +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSub.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.d.vue.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.vue +32 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.vue.d.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubItem.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubItem.vue +16 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubItem.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarProvider.d.vue.ts +23 -0
- package/dist/runtime/components/ui/sidebar/SidebarProvider.vue +61 -0
- package/dist/runtime/components/ui/sidebar/SidebarProvider.vue.d.ts +23 -0
- package/dist/runtime/components/ui/sidebar/SidebarRail.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarRail.vue +30 -0
- package/dist/runtime/components/ui/sidebar/SidebarRail.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarSeparator.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarSeparator.vue +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarSeparator.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarTrigger.d.vue.ts +7 -0
- package/dist/runtime/components/ui/sidebar/SidebarTrigger.vue +24 -0
- package/dist/runtime/components/ui/sidebar/SidebarTrigger.vue.d.ts +7 -0
- package/dist/runtime/components/ui/sidebar/index.d.ts +37 -0
- package/dist/runtime/components/ui/sidebar/index.js +45 -0
- package/dist/runtime/components/ui/sidebar/utils.d.ts +56 -0
- package/dist/runtime/components/ui/sidebar/utils.js +8 -0
- package/dist/runtime/components/ui/skeleton/Skeleton.d.vue.ts +7 -0
- package/dist/runtime/components/ui/skeleton/Skeleton.vue +13 -0
- package/dist/runtime/components/ui/skeleton/Skeleton.vue.d.ts +7 -0
- package/dist/runtime/components/ui/skeleton/index.d.ts +1 -0
- package/dist/runtime/components/ui/skeleton/index.js +1 -0
- package/dist/runtime/components/ui/slider/Slider.d.vue.ts +14 -0
- package/dist/runtime/components/ui/slider/Slider.vue +55 -0
- package/dist/runtime/components/ui/slider/Slider.vue.d.ts +14 -0
- package/dist/runtime/components/ui/slider/index.d.ts +1 -0
- package/dist/runtime/components/ui/slider/index.js +1 -0
- package/dist/runtime/components/ui/spinner/Spinner.d.vue.ts +7 -0
- package/dist/runtime/components/ui/spinner/Spinner.vue +15 -0
- package/dist/runtime/components/ui/spinner/Spinner.vue.d.ts +7 -0
- package/dist/runtime/components/ui/spinner/index.d.ts +1 -0
- package/dist/runtime/components/ui/spinner/index.js +1 -0
- package/dist/runtime/components/ui/stepper/Stepper.d.vue.ts +34 -0
- package/dist/runtime/components/ui/stepper/Stepper.vue +31 -0
- package/dist/runtime/components/ui/stepper/Stepper.vue.d.ts +34 -0
- package/dist/runtime/components/ui/stepper/StepperDescription.d.vue.ts +18 -0
- package/dist/runtime/components/ui/stepper/StepperDescription.vue +18 -0
- package/dist/runtime/components/ui/stepper/StepperDescription.vue.d.ts +18 -0
- package/dist/runtime/components/ui/stepper/StepperIndicator.d.vue.ts +20 -0
- package/dist/runtime/components/ui/stepper/StepperIndicator.vue +31 -0
- package/dist/runtime/components/ui/stepper/StepperIndicator.vue.d.ts +20 -0
- package/dist/runtime/components/ui/stepper/StepperItem.d.vue.ts +20 -0
- package/dist/runtime/components/ui/stepper/StepperItem.vue +25 -0
- package/dist/runtime/components/ui/stepper/StepperItem.vue.d.ts +20 -0
- package/dist/runtime/components/ui/stepper/StepperSeparator.d.vue.ts +8 -0
- package/dist/runtime/components/ui/stepper/StepperSeparator.vue +28 -0
- package/dist/runtime/components/ui/stepper/StepperSeparator.vue.d.ts +8 -0
- package/dist/runtime/components/ui/stepper/StepperTitle.d.vue.ts +18 -0
- package/dist/runtime/components/ui/stepper/StepperTitle.vue +18 -0
- package/dist/runtime/components/ui/stepper/StepperTitle.vue.d.ts +18 -0
- package/dist/runtime/components/ui/stepper/StepperTrigger.d.vue.ts +18 -0
- package/dist/runtime/components/ui/stepper/StepperTrigger.vue +21 -0
- package/dist/runtime/components/ui/stepper/StepperTrigger.vue.d.ts +18 -0
- package/dist/runtime/components/ui/stepper/index.d.ts +7 -0
- package/dist/runtime/components/ui/stepper/index.js +7 -0
- package/dist/runtime/components/ui/storage/StorageActionBar.d.vue.ts +26 -0
- package/dist/runtime/components/ui/storage/StorageActionBar.vue +109 -0
- package/dist/runtime/components/ui/storage/StorageActionBar.vue.d.ts +26 -0
- package/dist/runtime/components/ui/storage/StorageBreadcrumb.d.vue.ts +17 -0
- package/dist/runtime/components/ui/storage/StorageBreadcrumb.vue +184 -0
- package/dist/runtime/components/ui/storage/StorageBreadcrumb.vue.d.ts +17 -0
- package/dist/runtime/components/ui/storage/StorageDialogs.d.vue.ts +60 -0
- package/dist/runtime/components/ui/storage/StorageDialogs.vue +191 -0
- package/dist/runtime/components/ui/storage/StorageDialogs.vue.d.ts +60 -0
- package/dist/runtime/components/ui/storage/StorageEmptyState.d.vue.ts +12 -0
- package/dist/runtime/components/ui/storage/StorageEmptyState.vue +68 -0
- package/dist/runtime/components/ui/storage/StorageEmptyState.vue.d.ts +12 -0
- package/dist/runtime/components/ui/storage/StorageGrid.d.vue.ts +51 -0
- package/dist/runtime/components/ui/storage/StorageGrid.vue +139 -0
- package/dist/runtime/components/ui/storage/StorageGrid.vue.d.ts +51 -0
- package/dist/runtime/components/ui/storage/StorageSelectionBar.d.vue.ts +20 -0
- package/dist/runtime/components/ui/storage/StorageSelectionBar.vue +50 -0
- package/dist/runtime/components/ui/storage/StorageSelectionBar.vue.d.ts +20 -0
- package/dist/runtime/components/ui/storage/StorageTable.d.vue.ts +54 -0
- package/dist/runtime/components/ui/storage/StorageTable.vue +182 -0
- package/dist/runtime/components/ui/storage/StorageTable.vue.d.ts +54 -0
- package/dist/runtime/components/ui/storage/StorageUploadZone.d.vue.ts +17 -0
- package/dist/runtime/components/ui/storage/StorageUploadZone.vue +69 -0
- package/dist/runtime/components/ui/storage/StorageUploadZone.vue.d.ts +17 -0
- package/dist/runtime/components/ui/storage/index.d.ts +8 -0
- package/dist/runtime/components/ui/storage/index.js +8 -0
- package/dist/runtime/components/ui/switch/Switch.d.vue.ts +24 -0
- package/dist/runtime/components/ui/switch/Switch.vue +43 -0
- package/dist/runtime/components/ui/switch/Switch.vue.d.ts +24 -0
- package/dist/runtime/components/ui/switch/index.d.ts +1 -0
- package/dist/runtime/components/ui/switch/index.js +1 -0
- package/dist/runtime/components/ui/table/Table.d.vue.ts +17 -0
- package/dist/runtime/components/ui/table/Table.vue +14 -0
- package/dist/runtime/components/ui/table/Table.vue.d.ts +17 -0
- package/dist/runtime/components/ui/table/TableBody.d.vue.ts +17 -0
- package/dist/runtime/components/ui/table/TableBody.vue +15 -0
- package/dist/runtime/components/ui/table/TableBody.vue.d.ts +17 -0
- package/dist/runtime/components/ui/table/TableCaption.d.vue.ts +17 -0
- package/dist/runtime/components/ui/table/TableCaption.vue +15 -0
- package/dist/runtime/components/ui/table/TableCaption.vue.d.ts +17 -0
- package/dist/runtime/components/ui/table/TableCell.d.vue.ts +17 -0
- package/dist/runtime/components/ui/table/TableCell.vue +20 -0
- package/dist/runtime/components/ui/table/TableCell.vue.d.ts +17 -0
- package/dist/runtime/components/ui/table/TableEmpty.d.vue.ts +18 -0
- package/dist/runtime/components/ui/table/TableEmpty.vue +29 -0
- package/dist/runtime/components/ui/table/TableEmpty.vue.d.ts +18 -0
- package/dist/runtime/components/ui/table/TableFooter.d.vue.ts +17 -0
- package/dist/runtime/components/ui/table/TableFooter.vue +15 -0
- package/dist/runtime/components/ui/table/TableFooter.vue.d.ts +17 -0
- package/dist/runtime/components/ui/table/TableHead.d.vue.ts +17 -0
- package/dist/runtime/components/ui/table/TableHead.vue +15 -0
- package/dist/runtime/components/ui/table/TableHead.vue.d.ts +17 -0
- package/dist/runtime/components/ui/table/TableHeader.d.vue.ts +17 -0
- package/dist/runtime/components/ui/table/TableHeader.vue +15 -0
- package/dist/runtime/components/ui/table/TableHeader.vue.d.ts +17 -0
- package/dist/runtime/components/ui/table/TableRow.d.vue.ts +17 -0
- package/dist/runtime/components/ui/table/TableRow.vue +15 -0
- package/dist/runtime/components/ui/table/TableRow.vue.d.ts +17 -0
- package/dist/runtime/components/ui/table/index.d.ts +9 -0
- package/dist/runtime/components/ui/table/index.js +9 -0
- package/dist/runtime/components/ui/table/utils.d.ts +3 -0
- package/dist/runtime/components/ui/table/utils.js +4 -0
- package/dist/runtime/components/ui/tabs/Tabs.d.vue.ts +24 -0
- package/dist/runtime/components/ui/tabs/Tabs.vue +30 -0
- package/dist/runtime/components/ui/tabs/Tabs.vue.d.ts +24 -0
- package/dist/runtime/components/ui/tabs/TabsContent.d.vue.ts +18 -0
- package/dist/runtime/components/ui/tabs/TabsContent.vue +23 -0
- package/dist/runtime/components/ui/tabs/TabsContent.vue.d.ts +18 -0
- package/dist/runtime/components/ui/tabs/TabsList.d.vue.ts +18 -0
- package/dist/runtime/components/ui/tabs/TabsList.vue +25 -0
- package/dist/runtime/components/ui/tabs/TabsList.vue.d.ts +18 -0
- package/dist/runtime/components/ui/tabs/TabsTrigger.d.vue.ts +18 -0
- package/dist/runtime/components/ui/tabs/TabsTrigger.vue +27 -0
- package/dist/runtime/components/ui/tabs/TabsTrigger.vue.d.ts +18 -0
- package/dist/runtime/components/ui/tabs/index.d.ts +4 -0
- package/dist/runtime/components/ui/tabs/index.js +4 -0
- package/dist/runtime/components/ui/tags-input/TagsInput.d.vue.ts +30 -0
- package/dist/runtime/components/ui/tags-input/TagsInput.vue +34 -0
- package/dist/runtime/components/ui/tags-input/TagsInput.vue.d.ts +30 -0
- package/dist/runtime/components/ui/tags-input/TagsInputInput.d.vue.ts +8 -0
- package/dist/runtime/components/ui/tags-input/TagsInputInput.vue +19 -0
- package/dist/runtime/components/ui/tags-input/TagsInputInput.vue.d.ts +8 -0
- package/dist/runtime/components/ui/tags-input/TagsInputItem.d.vue.ts +18 -0
- package/dist/runtime/components/ui/tags-input/TagsInputItem.vue +20 -0
- package/dist/runtime/components/ui/tags-input/TagsInputItem.vue.d.ts +18 -0
- package/dist/runtime/components/ui/tags-input/TagsInputItemDelete.d.vue.ts +18 -0
- package/dist/runtime/components/ui/tags-input/TagsInputItemDelete.vue +21 -0
- package/dist/runtime/components/ui/tags-input/TagsInputItemDelete.vue.d.ts +18 -0
- package/dist/runtime/components/ui/tags-input/TagsInputItemText.d.vue.ts +8 -0
- package/dist/runtime/components/ui/tags-input/TagsInputItemText.vue +16 -0
- package/dist/runtime/components/ui/tags-input/TagsInputItemText.vue.d.ts +8 -0
- package/dist/runtime/components/ui/tags-input/index.d.ts +5 -0
- package/dist/runtime/components/ui/tags-input/index.js +5 -0
- package/dist/runtime/components/ui/textarea/Textarea.d.vue.ts +13 -0
- package/dist/runtime/components/ui/textarea/Textarea.vue +22 -0
- package/dist/runtime/components/ui/textarea/Textarea.vue.d.ts +13 -0
- package/dist/runtime/components/ui/textarea/index.d.ts +1 -0
- package/dist/runtime/components/ui/textarea/index.js +1 -0
- package/dist/runtime/components/ui/timezone-select/TimezoneSelect.d.vue.ts +12 -0
- package/dist/runtime/components/ui/timezone-select/TimezoneSelect.vue +89 -0
- package/dist/runtime/components/ui/timezone-select/TimezoneSelect.vue.d.ts +12 -0
- package/dist/runtime/components/ui/timezone-select/index.d.ts +2 -0
- package/dist/runtime/components/ui/timezone-select/index.js +2 -0
- package/dist/runtime/components/ui/timezone-select/useTimezone.d.ts +29 -0
- package/dist/runtime/components/ui/timezone-select/useTimezone.js +224 -0
- package/dist/runtime/components/ui/toggle/Toggle.d.vue.ts +30 -0
- package/dist/runtime/components/ui/toggle/Toggle.vue +32 -0
- package/dist/runtime/components/ui/toggle/Toggle.vue.d.ts +30 -0
- package/dist/runtime/components/ui/toggle/index.d.ts +7 -0
- package/dist/runtime/components/ui/toggle/index.js +22 -0
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.d.vue.ts +30 -0
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue +49 -0
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue.d.ts +30 -0
- package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.d.vue.ts +30 -0
- package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.vue +41 -0
- package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.vue.d.ts +30 -0
- package/dist/runtime/components/ui/toggle-group/index.d.ts +2 -0
- package/dist/runtime/components/ui/toggle-group/index.js +2 -0
- package/dist/runtime/components/ui/tooltip/Tooltip.d.vue.ts +20 -0
- package/dist/runtime/components/ui/tooltip/Tooltip.vue +24 -0
- package/dist/runtime/components/ui/tooltip/Tooltip.vue.d.ts +20 -0
- package/dist/runtime/components/ui/tooltip/TooltipContent.d.vue.ts +24 -0
- package/dist/runtime/components/ui/tooltip/TooltipContent.vue +44 -0
- package/dist/runtime/components/ui/tooltip/TooltipContent.vue.d.ts +24 -0
- package/dist/runtime/components/ui/tooltip/TooltipProvider.d.vue.ts +14 -0
- package/dist/runtime/components/ui/tooltip/TooltipProvider.vue +17 -0
- package/dist/runtime/components/ui/tooltip/TooltipProvider.vue.d.ts +14 -0
- package/dist/runtime/components/ui/tooltip/TooltipTrigger.d.vue.ts +14 -0
- package/dist/runtime/components/ui/tooltip/TooltipTrigger.vue +17 -0
- package/dist/runtime/components/ui/tooltip/TooltipTrigger.vue.d.ts +14 -0
- package/dist/runtime/components/ui/tooltip/index.d.ts +4 -0
- package/dist/runtime/components/ui/tooltip/index.js +4 -0
- package/dist/runtime/composables/useAuth.d.ts +2707 -0
- package/dist/runtime/composables/useAuth.js +41 -0
- package/dist/runtime/composables/useBreadcrumbItems.d.ts +55 -0
- package/dist/runtime/composables/useBreadcrumbItems.js +256 -0
- package/dist/runtime/composables/useImageUrl.d.ts +10 -0
- package/dist/runtime/composables/useImageUrl.js +100 -0
- package/dist/runtime/error.d.vue.ts +11 -0
- package/dist/runtime/error.vue +297 -0
- package/dist/runtime/error.vue.d.ts +11 -0
- package/dist/runtime/graphql/.gitkeep +0 -0
- package/dist/runtime/middleware/auth.global.d.ts +8 -0
- package/dist/runtime/middleware/auth.global.js +28 -0
- package/dist/runtime/server/plugins/s3-storage.d.ts +2 -0
- package/dist/runtime/server/plugins/s3-storage.js +37 -0
- package/dist/runtime/server/utils/index.d.ts +1 -0
- package/dist/runtime/server/utils/index.js +1 -0
- package/dist/runtime/shared/index.d.ts +1 -0
- package/dist/runtime/shared/index.js +1 -0
- package/dist/runtime/stores/.gitkeep +0 -0
- package/dist/runtime/types/nitro-graphql-client.d.ts +2 -0
- package/dist/runtime/utils/index.d.ts +2 -0
- package/dist/runtime/utils/index.js +5 -0
- package/dist/types.d.mts +9 -0
- package/package.json +126 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { FormContext, GenericObject } from 'vee-validate';
|
|
2
|
+
import type { z } from 'zod';
|
|
3
|
+
import type { Config, ConfigItem, Dependency, Shape } from './interface.js';
|
|
4
|
+
import { type ZodObjectOrWrapped } from './utils.js';
|
|
5
|
+
declare const __VLS_export: <T extends ZodObjectOrWrapped>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
6
|
+
props: __VLS_PrettifyLocal<{
|
|
7
|
+
schema: T;
|
|
8
|
+
form?: FormContext<GenericObject>;
|
|
9
|
+
fieldConfig?: Config<z.infer<T>>;
|
|
10
|
+
dependencies?: Dependency<z.infer<T>>[];
|
|
11
|
+
initialValues?: Partial<z.infer<T>>;
|
|
12
|
+
} & {
|
|
13
|
+
onSubmit?: ((event: z.core.output<T>) => any) | undefined;
|
|
14
|
+
}> & import("vue").PublicProps & (typeof globalThis extends {
|
|
15
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
16
|
+
} ? P : {});
|
|
17
|
+
expose: (exposed: {}) => void;
|
|
18
|
+
attrs: any;
|
|
19
|
+
slots: { [K in NonNullable<keyof z.core.output<T>>]?: ((props: {
|
|
20
|
+
shape: { [key in keyof T]: Shape; }[keyof T];
|
|
21
|
+
fieldName: string;
|
|
22
|
+
config: ConfigItem;
|
|
23
|
+
}) => any) | undefined; } & {
|
|
24
|
+
customAutoForm?: (props: {
|
|
25
|
+
fields: { [key in keyof z.core.output<T>]: {
|
|
26
|
+
shape: Shape;
|
|
27
|
+
fieldName: string;
|
|
28
|
+
config: ConfigItem;
|
|
29
|
+
}; };
|
|
30
|
+
}) => any;
|
|
31
|
+
} & {
|
|
32
|
+
default?: (props: {
|
|
33
|
+
shapes: { [key in keyof T]: Shape; };
|
|
34
|
+
}) => any;
|
|
35
|
+
};
|
|
36
|
+
emit: (evt: "submit", event: z.core.output<T>) => void;
|
|
37
|
+
}>) => import("vue").VNode & {
|
|
38
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
39
|
+
};
|
|
40
|
+
declare const _default: typeof __VLS_export;
|
|
41
|
+
export default _default;
|
|
42
|
+
type __VLS_PrettifyLocal<T> = {
|
|
43
|
+
[K in keyof T as K]: T[K];
|
|
44
|
+
} & {};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { Form } from "abckit/shadcn/form";
|
|
3
|
+
import { computed, toRefs } from "vue";
|
|
4
|
+
import AutoFormField from "./AutoFormField.vue";
|
|
5
|
+
import { provideDependencies } from "./dependencies";
|
|
6
|
+
import { getBaseSchema, getBaseType, getDefaultValueInZodStack, getObjectFormSchema } from "./utils";
|
|
7
|
+
const props = defineProps({
|
|
8
|
+
schema: { type: null, required: true },
|
|
9
|
+
form: { type: Object, required: false },
|
|
10
|
+
fieldConfig: { type: null, required: false },
|
|
11
|
+
dependencies: { type: Array, required: false },
|
|
12
|
+
initialValues: { type: Object, required: false }
|
|
13
|
+
});
|
|
14
|
+
const emits = defineEmits(["submit"]);
|
|
15
|
+
const { dependencies } = toRefs(props);
|
|
16
|
+
provideDependencies(dependencies);
|
|
17
|
+
const shapes = computed(() => {
|
|
18
|
+
const val = {};
|
|
19
|
+
const baseSchema = getObjectFormSchema(props.schema);
|
|
20
|
+
const shape = baseSchema.shape;
|
|
21
|
+
Object.keys(shape).forEach((name) => {
|
|
22
|
+
const item = shape[name];
|
|
23
|
+
const baseItem = getBaseSchema(item);
|
|
24
|
+
let options = baseItem && "values" in baseItem._def ? baseItem._def.values : void 0;
|
|
25
|
+
if (!Array.isArray(options) && typeof options === "object")
|
|
26
|
+
options = Object.values(options);
|
|
27
|
+
val[name] = {
|
|
28
|
+
type: getBaseType(item),
|
|
29
|
+
default: getDefaultValueInZodStack(item),
|
|
30
|
+
options,
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
required: !["ZodOptional", "ZodNullable"].includes(item._def.typeName),
|
|
33
|
+
schema: baseItem
|
|
34
|
+
};
|
|
35
|
+
});
|
|
36
|
+
return val;
|
|
37
|
+
});
|
|
38
|
+
const fields = computed(() => {
|
|
39
|
+
const val = {};
|
|
40
|
+
for (const key in shapes.value) {
|
|
41
|
+
const shape = shapes.value[key];
|
|
42
|
+
val[key] = {
|
|
43
|
+
shape,
|
|
44
|
+
config: props.fieldConfig?.[key],
|
|
45
|
+
fieldName: key
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
return val;
|
|
49
|
+
});
|
|
50
|
+
const formComponent = computed(() => props.form ? "form" : Form);
|
|
51
|
+
const formComponentProps = computed(() => {
|
|
52
|
+
if (props.form) {
|
|
53
|
+
return {
|
|
54
|
+
onSubmit: props.form.handleSubmit((val) => emits("submit", val))
|
|
55
|
+
};
|
|
56
|
+
} else {
|
|
57
|
+
return {
|
|
58
|
+
keepValues: true,
|
|
59
|
+
validationSchema: props.schema,
|
|
60
|
+
initialValues: props.initialValues || {},
|
|
61
|
+
onSubmit: (val) => emits("submit", val)
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
</script>
|
|
66
|
+
|
|
67
|
+
<template>
|
|
68
|
+
<component
|
|
69
|
+
:is="formComponent"
|
|
70
|
+
v-bind="formComponentProps"
|
|
71
|
+
>
|
|
72
|
+
<slot name="customAutoForm" :fields="fields">
|
|
73
|
+
<template v-for="(shape, key) of shapes" :key="key">
|
|
74
|
+
<slot
|
|
75
|
+
:shape="shape"
|
|
76
|
+
:name="key.toString()"
|
|
77
|
+
:field-name="key.toString()"
|
|
78
|
+
:config="fieldConfig?.[key]"
|
|
79
|
+
>
|
|
80
|
+
<AutoFormField
|
|
81
|
+
:config="fieldConfig?.[key]"
|
|
82
|
+
:field-name="key.toString()"
|
|
83
|
+
:shape="shape"
|
|
84
|
+
/>
|
|
85
|
+
</slot>
|
|
86
|
+
</template>
|
|
87
|
+
</slot>
|
|
88
|
+
|
|
89
|
+
<slot :shapes="shapes" />
|
|
90
|
+
</component>
|
|
91
|
+
</template>
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { FormContext, GenericObject } from 'vee-validate';
|
|
2
|
+
import type { z } from 'zod';
|
|
3
|
+
import type { Config, ConfigItem, Dependency, Shape } from './interface.js';
|
|
4
|
+
import { type ZodObjectOrWrapped } from './utils.js';
|
|
5
|
+
declare const __VLS_export: <T extends ZodObjectOrWrapped>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
6
|
+
props: __VLS_PrettifyLocal<{
|
|
7
|
+
schema: T;
|
|
8
|
+
form?: FormContext<GenericObject>;
|
|
9
|
+
fieldConfig?: Config<z.infer<T>>;
|
|
10
|
+
dependencies?: Dependency<z.infer<T>>[];
|
|
11
|
+
initialValues?: Partial<z.infer<T>>;
|
|
12
|
+
} & {
|
|
13
|
+
onSubmit?: ((event: z.core.output<T>) => any) | undefined;
|
|
14
|
+
}> & import("vue").PublicProps & (typeof globalThis extends {
|
|
15
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
16
|
+
} ? P : {});
|
|
17
|
+
expose: (exposed: {}) => void;
|
|
18
|
+
attrs: any;
|
|
19
|
+
slots: { [K in NonNullable<keyof z.core.output<T>>]?: ((props: {
|
|
20
|
+
shape: { [key in keyof T]: Shape; }[keyof T];
|
|
21
|
+
fieldName: string;
|
|
22
|
+
config: ConfigItem;
|
|
23
|
+
}) => any) | undefined; } & {
|
|
24
|
+
customAutoForm?: (props: {
|
|
25
|
+
fields: { [key in keyof z.core.output<T>]: {
|
|
26
|
+
shape: Shape;
|
|
27
|
+
fieldName: string;
|
|
28
|
+
config: ConfigItem;
|
|
29
|
+
}; };
|
|
30
|
+
}) => any;
|
|
31
|
+
} & {
|
|
32
|
+
default?: (props: {
|
|
33
|
+
shapes: { [key in keyof T]: Shape; };
|
|
34
|
+
}) => any;
|
|
35
|
+
};
|
|
36
|
+
emit: (evt: "submit", event: z.core.output<T>) => void;
|
|
37
|
+
}>) => import("vue").VNode & {
|
|
38
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
39
|
+
};
|
|
40
|
+
declare const _default: typeof __VLS_export;
|
|
41
|
+
export default _default;
|
|
42
|
+
type __VLS_PrettifyLocal<T> = {
|
|
43
|
+
[K in keyof T as K]: T[K];
|
|
44
|
+
} & {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { ZodAny } from 'zod';
|
|
2
|
+
import type { Config, ConfigItem, Shape } from './interface.js';
|
|
3
|
+
declare const __VLS_export: <U extends ZodAny>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
+
props: __VLS_PrettifyLocal<{
|
|
5
|
+
fieldName: string;
|
|
6
|
+
shape: Shape;
|
|
7
|
+
config?: ConfigItem | Config<U>;
|
|
8
|
+
}> & import("vue").PublicProps & (typeof globalThis extends {
|
|
9
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
10
|
+
} ? P : {});
|
|
11
|
+
expose: (exposed: {}) => void;
|
|
12
|
+
attrs: any;
|
|
13
|
+
slots: {
|
|
14
|
+
default?: (props: {
|
|
15
|
+
id: string;
|
|
16
|
+
fieldName: string;
|
|
17
|
+
label: string | undefined;
|
|
18
|
+
required: boolean | undefined;
|
|
19
|
+
config: ConfigItem | Config<U> | undefined;
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
}) => any;
|
|
22
|
+
};
|
|
23
|
+
emit: {};
|
|
24
|
+
}>) => import("vue").VNode & {
|
|
25
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
26
|
+
};
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_PrettifyLocal<T> = {
|
|
30
|
+
[K in keyof T as K]: T[K];
|
|
31
|
+
} & {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed } from "vue";
|
|
3
|
+
import { DEFAULT_ZOD_HANDLERS, INPUT_COMPONENTS } from "./constant";
|
|
4
|
+
import useDependencies from "./dependencies";
|
|
5
|
+
const props = defineProps({
|
|
6
|
+
fieldName: { type: String, required: true },
|
|
7
|
+
shape: { type: Object, required: true },
|
|
8
|
+
config: { type: null, required: false }
|
|
9
|
+
});
|
|
10
|
+
function isValidConfig(config) {
|
|
11
|
+
return !!config?.component;
|
|
12
|
+
}
|
|
13
|
+
const delegatedProps = computed(() => {
|
|
14
|
+
if (["ZodObject", "ZodArray"].includes(props.shape?.type))
|
|
15
|
+
return { schema: props.shape?.schema };
|
|
16
|
+
return void 0;
|
|
17
|
+
});
|
|
18
|
+
const { isDisabled, isHidden, isRequired, overrideOptions } = useDependencies(props.fieldName);
|
|
19
|
+
const fieldId = `afield-${props.fieldName.replace(/\W/g, "_")}`;
|
|
20
|
+
</script>
|
|
21
|
+
|
|
22
|
+
<template>
|
|
23
|
+
<component
|
|
24
|
+
:is="isValidConfig(config) ? typeof config.component === 'string' ? INPUT_COMPONENTS[config.component] : config.component : INPUT_COMPONENTS[DEFAULT_ZOD_HANDLERS[shape.type]]"
|
|
25
|
+
v-if="!isHidden"
|
|
26
|
+
:field-name="fieldName"
|
|
27
|
+
:label="shape.schema?.description"
|
|
28
|
+
:required="isRequired || shape.required"
|
|
29
|
+
:options="overrideOptions || shape.options"
|
|
30
|
+
:disabled="isDisabled"
|
|
31
|
+
:config="config"
|
|
32
|
+
:id="fieldId"
|
|
33
|
+
v-bind="delegatedProps"
|
|
34
|
+
>
|
|
35
|
+
<slot v-bind="{ id: fieldId, fieldName, label: shape.schema?.description, required: isRequired || shape.required, config, disabled: isDisabled }" />
|
|
36
|
+
</component>
|
|
37
|
+
</template>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { ZodAny } from 'zod';
|
|
2
|
+
import type { Config, ConfigItem, Shape } from './interface.js';
|
|
3
|
+
declare const __VLS_export: <U extends ZodAny>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
+
props: __VLS_PrettifyLocal<{
|
|
5
|
+
fieldName: string;
|
|
6
|
+
shape: Shape;
|
|
7
|
+
config?: ConfigItem | Config<U>;
|
|
8
|
+
}> & import("vue").PublicProps & (typeof globalThis extends {
|
|
9
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
10
|
+
} ? P : {});
|
|
11
|
+
expose: (exposed: {}) => void;
|
|
12
|
+
attrs: any;
|
|
13
|
+
slots: {
|
|
14
|
+
default?: (props: {
|
|
15
|
+
id: string;
|
|
16
|
+
fieldName: string;
|
|
17
|
+
label: string | undefined;
|
|
18
|
+
required: boolean | undefined;
|
|
19
|
+
config: ConfigItem | Config<U> | undefined;
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
}) => any;
|
|
22
|
+
};
|
|
23
|
+
emit: {};
|
|
24
|
+
}>) => import("vue").VNode & {
|
|
25
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
26
|
+
};
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_PrettifyLocal<T> = {
|
|
30
|
+
[K in keyof T as K]: T[K];
|
|
31
|
+
} & {};
|
|
File without changes
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { Button } from "abckit/shadcn/button";
|
|
3
|
+
import { FormItem, FormMessage } from "abckit/shadcn/form";
|
|
4
|
+
import { PlusIcon, TrashIcon } from "lucide-vue-next";
|
|
5
|
+
import { FieldArray, FieldContextKey, useField } from "vee-validate";
|
|
6
|
+
import { computed, provide } from "vue";
|
|
7
|
+
import * as z from "zod";
|
|
8
|
+
import AutoFormField from "./AutoFormField.vue";
|
|
9
|
+
import AutoFormLabel from "./AutoFormLabel.vue";
|
|
10
|
+
import { beautifyObjectName, getBaseType } from "./utils";
|
|
11
|
+
const props = defineProps({
|
|
12
|
+
fieldName: { type: String, required: true },
|
|
13
|
+
required: { type: Boolean, required: false },
|
|
14
|
+
config: { type: null, required: false },
|
|
15
|
+
schema: { type: null, required: false },
|
|
16
|
+
disabled: { type: Boolean, required: false }
|
|
17
|
+
});
|
|
18
|
+
function isZodArray(item) {
|
|
19
|
+
return item instanceof z.ZodArray;
|
|
20
|
+
}
|
|
21
|
+
function isZodDefault(item) {
|
|
22
|
+
return item instanceof z.ZodDefault;
|
|
23
|
+
}
|
|
24
|
+
const itemShape = computed(() => {
|
|
25
|
+
if (!props.schema)
|
|
26
|
+
return;
|
|
27
|
+
const schema = isZodArray(props.schema) ? props.schema._def.type : isZodDefault(props.schema) ? props.schema._def.innerType._def.type : null;
|
|
28
|
+
return {
|
|
29
|
+
type: getBaseType(schema),
|
|
30
|
+
schema
|
|
31
|
+
};
|
|
32
|
+
});
|
|
33
|
+
const fieldContext = useField(props.fieldName);
|
|
34
|
+
provide(FieldContextKey, fieldContext);
|
|
35
|
+
function getEmptyValueForZodType(schema) {
|
|
36
|
+
if (!schema) return void 0;
|
|
37
|
+
const def = schema._def;
|
|
38
|
+
switch (def.typeName) {
|
|
39
|
+
case "ZodString":
|
|
40
|
+
return "";
|
|
41
|
+
case "ZodNumber":
|
|
42
|
+
return 0;
|
|
43
|
+
case "ZodBoolean":
|
|
44
|
+
return false;
|
|
45
|
+
case "ZodObject": {
|
|
46
|
+
const shape = schema.shape;
|
|
47
|
+
const obj = {};
|
|
48
|
+
for (const key in shape) {
|
|
49
|
+
obj[key] = getEmptyValueForZodType(shape[key]);
|
|
50
|
+
}
|
|
51
|
+
return obj;
|
|
52
|
+
}
|
|
53
|
+
case "ZodArray":
|
|
54
|
+
return [];
|
|
55
|
+
case "ZodEnum":
|
|
56
|
+
return def.values?.[0] ?? "";
|
|
57
|
+
case "ZodDate":
|
|
58
|
+
return "";
|
|
59
|
+
case "ZodNullable":
|
|
60
|
+
return null;
|
|
61
|
+
case "ZodOptional":
|
|
62
|
+
return void 0;
|
|
63
|
+
default:
|
|
64
|
+
return void 0;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
</script>
|
|
68
|
+
|
|
69
|
+
<template>
|
|
70
|
+
<FieldArray v-slot="{ fields, remove, push }" as="section" :name="fieldName">
|
|
71
|
+
<slot v-bind="props">
|
|
72
|
+
<FormItem class="space-y-4">
|
|
73
|
+
<!-- Başlık ve açıklama -->
|
|
74
|
+
<div class="space-y-2">
|
|
75
|
+
<AutoFormLabel class="text-base" :required="required">
|
|
76
|
+
{{ schema?.description || beautifyObjectName(fieldName) }}
|
|
77
|
+
</AutoFormLabel>
|
|
78
|
+
<p v-if="schema?.description" class="text-sm text-muted-foreground">
|
|
79
|
+
{{ schema.description }}
|
|
80
|
+
</p>
|
|
81
|
+
</div>
|
|
82
|
+
|
|
83
|
+
<!-- Array items - Her zaman görünür -->
|
|
84
|
+
<div class="space-y-4 border rounded-lg p-4">
|
|
85
|
+
<template v-for="(field, index) of fields" :key="`${fieldName}-${field.key}`">
|
|
86
|
+
<div class="relative space-y-3 p-3 border rounded-md bg-card">
|
|
87
|
+
<div class="flex items-center justify-between">
|
|
88
|
+
<span class="text-sm font-medium text-muted-foreground">
|
|
89
|
+
{{ beautifyObjectName(fieldName) }} #{{ index + 1 }}
|
|
90
|
+
</span>
|
|
91
|
+
<Button
|
|
92
|
+
type="button"
|
|
93
|
+
size="sm"
|
|
94
|
+
variant="ghost"
|
|
95
|
+
class="h-8 w-8 p-0 text-destructive hover:text-destructive"
|
|
96
|
+
@click="remove(index)"
|
|
97
|
+
>
|
|
98
|
+
<TrashIcon :size="14" />
|
|
99
|
+
</Button>
|
|
100
|
+
</div>
|
|
101
|
+
|
|
102
|
+
<AutoFormField
|
|
103
|
+
:field-name="`${fieldName}[${index}]`"
|
|
104
|
+
:label="fieldName"
|
|
105
|
+
:shape="itemShape"
|
|
106
|
+
:config="config"
|
|
107
|
+
/>
|
|
108
|
+
</div>
|
|
109
|
+
</template>
|
|
110
|
+
|
|
111
|
+
<!-- Add button -->
|
|
112
|
+
<Button
|
|
113
|
+
type="button"
|
|
114
|
+
variant="outline"
|
|
115
|
+
class="w-full flex items-center justify-center gap-2"
|
|
116
|
+
:disabled="disabled"
|
|
117
|
+
@click="push(getEmptyValueForZodType(itemShape?.schema))"
|
|
118
|
+
>
|
|
119
|
+
<PlusIcon :size="16" />
|
|
120
|
+
{{ `Add ${beautifyObjectName(fieldName.replace(/s$/, ""))}` }}
|
|
121
|
+
</Button>
|
|
122
|
+
</div>
|
|
123
|
+
|
|
124
|
+
<FormMessage />
|
|
125
|
+
</FormItem>
|
|
126
|
+
</slot>
|
|
127
|
+
</FieldArray>
|
|
128
|
+
</template>
|
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { FieldProps } from './interface.js';
|
|
2
|
+
declare var __VLS_20: any;
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_20) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<FieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { Checkbox } from "abckit/shadcn/checkbox";
|
|
3
|
+
import { FormControl, FormDescription, FormField, FormItem, FormMessage } from "abckit/shadcn/form";
|
|
4
|
+
import { Switch } from "abckit/shadcn/switch";
|
|
5
|
+
import { computed } from "vue";
|
|
6
|
+
import AutoFormLabel from "./AutoFormLabel.vue";
|
|
7
|
+
import { beautifyObjectName, maybeBooleanishToBoolean } from "./utils";
|
|
8
|
+
const props = defineProps({
|
|
9
|
+
fieldName: { type: String, required: true },
|
|
10
|
+
label: { type: String, required: false },
|
|
11
|
+
required: { type: Boolean, required: false },
|
|
12
|
+
config: { type: Object, required: false },
|
|
13
|
+
disabled: { type: Boolean, required: false }
|
|
14
|
+
});
|
|
15
|
+
const booleanComponent = computed(() => props.config?.component === "switch" ? Switch : Checkbox);
|
|
16
|
+
</script>
|
|
17
|
+
|
|
18
|
+
<template>
|
|
19
|
+
<FormField v-slot="slotProps" :name="fieldName">
|
|
20
|
+
<FormItem>
|
|
21
|
+
<div class="space-y-0 mb-3 flex items-center gap-3">
|
|
22
|
+
<FormControl>
|
|
23
|
+
<slot v-bind="slotProps">
|
|
24
|
+
<component
|
|
25
|
+
:is="booleanComponent"
|
|
26
|
+
:disabled="maybeBooleanishToBoolean(config?.inputProps?.disabled) ?? disabled"
|
|
27
|
+
:name="slotProps.componentField.name"
|
|
28
|
+
:model-value="slotProps.componentField.modelValue"
|
|
29
|
+
@update:model-value="slotProps.componentField['onUpdate:modelValue']"
|
|
30
|
+
/>
|
|
31
|
+
</slot>
|
|
32
|
+
</FormControl>
|
|
33
|
+
<AutoFormLabel v-if="!config?.hideLabel" :required="required">
|
|
34
|
+
{{ config?.label || beautifyObjectName(label ?? fieldName) }}
|
|
35
|
+
</AutoFormLabel>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
<FormDescription v-if="config?.description">
|
|
39
|
+
{{ config.description }}
|
|
40
|
+
</FormDescription>
|
|
41
|
+
<FormMessage />
|
|
42
|
+
</FormItem>
|
|
43
|
+
</FormField>
|
|
44
|
+
</template>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { FieldProps } from './interface.js';
|
|
2
|
+
declare var __VLS_20: any;
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_20) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<FieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { FieldProps } from './interface.js';
|
|
2
|
+
declare var __VLS_25: any;
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_25) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<FieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { cn } from "abckit/utils";
|
|
3
|
+
import { Button } from "abckit/shadcn/button";
|
|
4
|
+
import { Calendar } from "abckit/shadcn/calendar";
|
|
5
|
+
import { FormControl, FormDescription, FormField, FormItem, FormMessage } from "abckit/shadcn/form";
|
|
6
|
+
import { Popover, PopoverContent, PopoverTrigger } from "abckit/shadcn/popover";
|
|
7
|
+
import { DateFormatter, getLocalTimeZone } from "@internationalized/date";
|
|
8
|
+
import { CalendarIcon } from "lucide-vue-next";
|
|
9
|
+
import AutoFormLabel from "./AutoFormLabel.vue";
|
|
10
|
+
import { beautifyObjectName, maybeBooleanishToBoolean } from "./utils";
|
|
11
|
+
defineProps({
|
|
12
|
+
fieldName: { type: String, required: true },
|
|
13
|
+
label: { type: String, required: false },
|
|
14
|
+
required: { type: Boolean, required: false },
|
|
15
|
+
config: { type: Object, required: false },
|
|
16
|
+
disabled: { type: Boolean, required: false }
|
|
17
|
+
});
|
|
18
|
+
const df = new DateFormatter("en-US", {
|
|
19
|
+
dateStyle: "long"
|
|
20
|
+
});
|
|
21
|
+
</script>
|
|
22
|
+
|
|
23
|
+
<template>
|
|
24
|
+
<FormField v-slot="slotProps" :name="fieldName">
|
|
25
|
+
<FormItem>
|
|
26
|
+
<AutoFormLabel v-if="!config?.hideLabel" :required="required">
|
|
27
|
+
{{ config?.label || beautifyObjectName(label ?? fieldName) }}
|
|
28
|
+
</AutoFormLabel>
|
|
29
|
+
<FormControl>
|
|
30
|
+
<slot v-bind="slotProps">
|
|
31
|
+
<div>
|
|
32
|
+
<Popover>
|
|
33
|
+
<PopoverTrigger as-child :disabled="maybeBooleanishToBoolean(config?.inputProps?.disabled) ?? disabled">
|
|
34
|
+
<Button
|
|
35
|
+
variant="outline"
|
|
36
|
+
:class="cn(
|
|
37
|
+
'w-full justify-start text-left font-normal',
|
|
38
|
+
!slotProps.componentField.modelValue && 'text-muted-foreground'
|
|
39
|
+
)"
|
|
40
|
+
>
|
|
41
|
+
<CalendarIcon class="mr-2 h-4 w-4" />
|
|
42
|
+
{{ slotProps.componentField.modelValue ? df.format(slotProps.componentField.modelValue.toDate(getLocalTimeZone())) : "Pick a date" }}
|
|
43
|
+
</Button>
|
|
44
|
+
</PopoverTrigger>
|
|
45
|
+
<PopoverContent class="w-auto p-0">
|
|
46
|
+
<Calendar initial-focus v-bind="slotProps.componentField" />
|
|
47
|
+
</PopoverContent>
|
|
48
|
+
</Popover>
|
|
49
|
+
</div>
|
|
50
|
+
</slot>
|
|
51
|
+
</FormControl>
|
|
52
|
+
|
|
53
|
+
<FormDescription v-if="config?.description">
|
|
54
|
+
{{ config.description }}
|
|
55
|
+
</FormDescription>
|
|
56
|
+
<FormMessage />
|
|
57
|
+
</FormItem>
|
|
58
|
+
</FormField>
|
|
59
|
+
</template>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { FieldProps } from './interface.js';
|
|
2
|
+
declare var __VLS_25: any;
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_25) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<FieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { FieldProps } from './interface.js';
|
|
2
|
+
type __VLS_Props = FieldProps & {
|
|
3
|
+
options?: string[];
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_25: any;
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_25) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { FormControl, FormDescription, FormField, FormItem, FormMessage } from "abckit/shadcn/form";
|
|
3
|
+
import { Label } from "abckit/shadcn/label";
|
|
4
|
+
import { RadioGroup, RadioGroupItem } from "abckit/shadcn/radio-group";
|
|
5
|
+
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "abckit/shadcn/select";
|
|
6
|
+
import AutoFormLabel from "./AutoFormLabel.vue";
|
|
7
|
+
import { beautifyObjectName, maybeBooleanishToBoolean } from "./utils";
|
|
8
|
+
defineProps({
|
|
9
|
+
fieldName: { type: String, required: true },
|
|
10
|
+
label: { type: String, required: false },
|
|
11
|
+
required: { type: Boolean, required: false },
|
|
12
|
+
config: { type: Object, required: false },
|
|
13
|
+
disabled: { type: Boolean, required: false },
|
|
14
|
+
options: { type: Array, required: false }
|
|
15
|
+
});
|
|
16
|
+
</script>
|
|
17
|
+
|
|
18
|
+
<template>
|
|
19
|
+
<FormField v-slot="slotProps" :name="fieldName">
|
|
20
|
+
<FormItem>
|
|
21
|
+
<AutoFormLabel v-if="!config?.hideLabel" :required="required">
|
|
22
|
+
{{ config?.label || beautifyObjectName(label ?? fieldName) }}
|
|
23
|
+
</AutoFormLabel>
|
|
24
|
+
<FormControl>
|
|
25
|
+
<slot v-bind="slotProps">
|
|
26
|
+
<RadioGroup v-if="config?.component === 'radio'" :disabled="maybeBooleanishToBoolean(config?.inputProps?.disabled) ?? disabled" :orientation="'vertical'" v-bind="{ ...slotProps.componentField }">
|
|
27
|
+
<div v-for="(option, index) in options" :key="option" class="mb-2 flex items-center gap-3 space-y-0">
|
|
28
|
+
<RadioGroupItem :id="`${option}-${index}`" :value="option" />
|
|
29
|
+
<Label :for="`${option}-${index}`">{{ beautifyObjectName(option) }}</Label>
|
|
30
|
+
</div>
|
|
31
|
+
</RadioGroup>
|
|
32
|
+
|
|
33
|
+
<Select v-else :disabled="maybeBooleanishToBoolean(config?.inputProps?.disabled) ?? disabled" v-bind="{ ...slotProps.componentField }">
|
|
34
|
+
<SelectTrigger class="w-full">
|
|
35
|
+
<SelectValue :placeholder="config?.inputProps?.placeholder" />
|
|
36
|
+
</SelectTrigger>
|
|
37
|
+
<SelectContent>
|
|
38
|
+
<SelectItem v-for="option in options" :key="option" :value="option">
|
|
39
|
+
{{ beautifyObjectName(option) }}
|
|
40
|
+
</SelectItem>
|
|
41
|
+
</SelectContent>
|
|
42
|
+
</Select>
|
|
43
|
+
</slot>
|
|
44
|
+
</FormControl>
|
|
45
|
+
|
|
46
|
+
<FormDescription v-if="config?.description">
|
|
47
|
+
{{ config.description }}
|
|
48
|
+
</FormDescription>
|
|
49
|
+
<FormMessage />
|
|
50
|
+
</FormItem>
|
|
51
|
+
</FormField>
|
|
52
|
+
</template>
|