fulldev-ui 0.7.0-beta.5 → 0.7.0-beta.6
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/cli.js +51 -0
- package/components.json +2 -2
- package/package.json +24 -45
- package/pnpm-lock.yaml +13 -1
- package/src/blocks/CategoryGroup1.astro +8 -8
- package/src/blocks/CategoryList1.astro +9 -9
- package/src/blocks/Contact1.astro +9 -9
- package/src/blocks/Contact2.astro +10 -10
- package/src/blocks/Content1.astro +7 -7
- package/src/blocks/Cta1.astro +6 -6
- package/src/blocks/Faqs1.astro +6 -6
- package/src/blocks/Faqs2.astro +7 -7
- package/src/blocks/Features1.astro +8 -8
- package/src/blocks/Footer.astro +10 -10
- package/src/blocks/Header.astro +12 -12
- package/src/blocks/Hero1.astro +7 -7
- package/src/blocks/Intro1.astro +5 -5
- package/src/blocks/PostSingle1.astro +6 -6
- package/src/blocks/ProductGroup1.astro +10 -10
- package/src/blocks/ProductList1.astro +10 -10
- package/src/blocks/ProductSingle1.astro +12 -12
- package/src/blocks/Reviews1.astro +9 -9
- package/src/components/Accordion.vue +1 -1
- package/src/components/Avatar.astro +1 -1
- package/src/components/Badge.astro +2 -2
- package/src/components/Box.astro +1 -1
- package/src/components/Button.astro +3 -3
- package/src/components/Buttons.astro +1 -1
- package/src/components/Card.astro +1 -1
- package/src/components/Carousel.vue +1 -7
- package/src/components/Chip.astro +2 -2
- package/src/components/Code.astro +1 -1
- package/src/components/Container.astro +1 -1
- package/src/components/Drawer.vue +2 -2
- package/src/components/Form.vue +2 -2
- package/src/components/Gallery.vue +2 -2
- package/src/components/Grid.astro +1 -1
- package/src/components/Icon.astro +1 -1
- package/src/components/List.astro +2 -2
- package/src/components/Logo.astro +1 -1
- package/src/components/Masonry.astro +1 -1
- package/src/components/Menu.astro +1 -1
- package/src/components/Menus.astro +1 -1
- package/src/components/Navigation.vue +1 -1
- package/src/components/Panel.astro +1 -1
- package/src/components/Person.astro +3 -3
- package/src/components/Price.astro +1 -1
- package/src/components/Proof.astro +4 -4
- package/src/components/Prose.astro +1 -1
- package/src/components/Rating.astro +2 -2
- package/src/components/Search.vue +2 -2
- package/src/components/Section.astro +1 -1
- package/src/components/Select.vue +1 -1
- package/src/components/Sidebar.astro +1 -1
- package/src/components/Social.astro +1 -1
- package/src/components/Sort.vue +1 -1
- package/src/components/Split.astro +1 -1
- package/src/components/Table.astro +1 -1
- package/src/components/Themer.astro +2 -2
- package/src/components/Toc.astro +2 -2
- package/src/components/Writeup.astro +1 -1
- package/src/components/ui/accordion/AccordionContent.vue +1 -1
- package/src/components/ui/accordion/AccordionItem.vue +1 -1
- package/src/components/ui/accordion/AccordionTrigger.vue +1 -1
- package/src/components/ui/auto-form/AutoForm.vue +1 -1
- package/src/components/ui/auto-form/AutoFormFieldArray.vue +4 -4
- package/src/components/ui/auto-form/AutoFormFieldBoolean.vue +3 -3
- package/src/components/ui/auto-form/AutoFormFieldDate.vue +5 -5
- package/src/components/ui/auto-form/AutoFormFieldEnum.vue +4 -4
- package/src/components/ui/auto-form/AutoFormFieldFile.vue +3 -3
- package/src/components/ui/auto-form/AutoFormFieldInput.vue +3 -3
- package/src/components/ui/auto-form/AutoFormFieldNumber.vue +2 -2
- package/src/components/ui/auto-form/AutoFormFieldObject.vue +2 -2
- package/src/components/ui/auto-form/AutoFormLabel.vue +1 -1
- package/src/components/ui/avatar/Avatar.vue +1 -1
- package/src/components/ui/badge/Badge.vue +1 -1
- package/src/components/ui/button/Button.vue +2 -2
- package/src/components/ui/calendar/Calendar.vue +1 -1
- package/src/components/ui/calendar/CalendarCell.vue +1 -1
- package/src/components/ui/calendar/CalendarCellTrigger.vue +2 -2
- package/src/components/ui/calendar/CalendarGrid.vue +1 -1
- package/src/components/ui/calendar/CalendarGridRow.vue +1 -1
- package/src/components/ui/calendar/CalendarHeadCell.vue +1 -1
- package/src/components/ui/calendar/CalendarHeader.vue +1 -1
- package/src/components/ui/calendar/CalendarHeading.vue +1 -1
- package/src/components/ui/calendar/CalendarNextButton.vue +2 -2
- package/src/components/ui/calendar/CalendarPrevButton.vue +2 -2
- package/src/components/ui/card/Card.vue +1 -1
- package/src/components/ui/card/CardContent.vue +1 -1
- package/src/components/ui/card/CardDescription.vue +1 -1
- package/src/components/ui/card/CardFooter.vue +1 -1
- package/src/components/ui/card/CardHeader.vue +1 -1
- package/src/components/ui/card/CardTitle.vue +1 -1
- package/src/components/ui/carousel/Carousel.vue +1 -1
- package/src/components/ui/carousel/CarouselContent.vue +1 -1
- package/src/components/ui/carousel/CarouselItem.vue +1 -1
- package/src/components/ui/carousel/CarouselNext.vue +2 -2
- package/src/components/ui/carousel/CarouselPrevious.vue +2 -2
- package/src/components/ui/checkbox/Checkbox.vue +1 -1
- package/src/components/ui/command/Command.vue +1 -1
- package/src/components/ui/command/CommandDialog.vue +1 -1
- package/src/components/ui/command/CommandEmpty.vue +1 -1
- package/src/components/ui/command/CommandGroup.vue +1 -1
- package/src/components/ui/command/CommandInput.vue +1 -1
- package/src/components/ui/command/CommandItem.vue +1 -1
- package/src/components/ui/command/CommandList.vue +1 -1
- package/src/components/ui/command/CommandSeparator.vue +1 -1
- package/src/components/ui/command/CommandShortcut.vue +1 -1
- package/src/components/ui/dialog/DialogContent.vue +1 -1
- package/src/components/ui/dialog/DialogDescription.vue +1 -1
- package/src/components/ui/dialog/DialogFooter.vue +1 -1
- package/src/components/ui/dialog/DialogHeader.vue +1 -1
- package/src/components/ui/dialog/DialogScrollContent.vue +1 -1
- package/src/components/ui/dialog/DialogTitle.vue +1 -1
- package/src/components/ui/drawer/DrawerContent.vue +1 -1
- package/src/components/ui/drawer/DrawerDescription.vue +1 -1
- package/src/components/ui/drawer/DrawerFooter.vue +1 -1
- package/src/components/ui/drawer/DrawerHeader.vue +1 -1
- package/src/components/ui/drawer/DrawerOverlay.vue +1 -1
- package/src/components/ui/drawer/DrawerTitle.vue +1 -1
- package/src/components/ui/form/FormDescription.vue +1 -1
- package/src/components/ui/form/FormItem.vue +1 -1
- package/src/components/ui/form/FormLabel.vue +2 -2
- package/src/components/ui/input/Input.vue +1 -1
- package/src/components/ui/label/Label.vue +1 -1
- package/src/components/ui/navigation-menu/NavigationMenu.vue +1 -1
- package/src/components/ui/navigation-menu/NavigationMenuContent.vue +1 -1
- package/src/components/ui/navigation-menu/NavigationMenuIndicator.vue +1 -1
- package/src/components/ui/navigation-menu/NavigationMenuList.vue +1 -1
- package/src/components/ui/navigation-menu/NavigationMenuTrigger.vue +1 -1
- package/src/components/ui/navigation-menu/NavigationMenuViewport.vue +1 -1
- package/src/components/ui/popover/PopoverContent.vue +1 -1
- package/src/components/ui/radio-group/RadioGroup.vue +1 -1
- package/src/components/ui/radio-group/RadioGroupItem.vue +1 -1
- package/src/components/ui/select/SelectContent.vue +1 -1
- package/src/components/ui/select/SelectGroup.vue +1 -1
- package/src/components/ui/select/SelectItem.vue +1 -1
- package/src/components/ui/select/SelectLabel.vue +1 -1
- package/src/components/ui/select/SelectScrollDownButton.vue +1 -1
- package/src/components/ui/select/SelectScrollUpButton.vue +1 -1
- package/src/components/ui/select/SelectSeparator.vue +1 -1
- package/src/components/ui/select/SelectTrigger.vue +1 -1
- package/src/components/ui/separator/Separator.vue +1 -1
- package/src/components/ui/switch/Switch.vue +1 -1
- package/src/components/ui/textarea/Textarea.vue +1 -1
- package/src/content.config.ts +1 -1
- package/src/layouts/NavigationLayout.astro +3 -3
- package/src/lib/integration.ts +27 -0
- package/src/pages/blocks/[...block].astro +2 -2
- package/src/pages/blocks/index.astro +1 -1
- package/src/pages/index.astro +1 -1
- package/src/schemas/blocks/categoryList.ts +1 -1
- package/src/schemas/blocks/categorySingle.ts +1 -1
- package/src/schemas/blocks/content.ts +1 -1
- package/src/schemas/blocks/cta.ts +1 -1
- package/src/schemas/blocks/footer.ts +3 -3
- package/src/schemas/blocks/header.ts +3 -3
- package/src/schemas/blocks/hero.ts +1 -1
- package/src/schemas/blocks/productList.ts +1 -1
- package/src/schemas/blocks/productSingle.ts +1 -1
- package/src/schemas/collections/category.ts +3 -3
- package/src/schemas/collections/page.ts +2 -2
- package/src/schemas/collections/post.ts +3 -3
- package/src/schemas/collections/product.ts +3 -3
- package/src/schemas/fields/card.ts +3 -3
- package/src/schemas/fields/menu.ts +1 -1
- package/src/schemas/fields/proof.ts +1 -1
- package/tsconfig.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from '
|
|
2
|
+
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from '@/components/ui/accordion'
|
|
3
3
|
|
|
4
4
|
interface Props {
|
|
5
5
|
items?: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
+
import { avatarVariant, type AvatarVariants } from '@/components/ui/avatar'
|
|
2
3
|
import type { HTMLAttributes } from 'astro/types'
|
|
3
4
|
import { Image } from 'astro:assets'
|
|
4
|
-
import { avatarVariant, type AvatarVariants } from 'fulldev-ui/components/ui/avatar'
|
|
5
5
|
import Box from './Box.astro'
|
|
6
6
|
|
|
7
7
|
interface Props extends HTMLAttributes<'span'>, AvatarVariants {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
+
import type { BadgeVariants } from '@/components/ui/badge'
|
|
3
|
+
import { badgeVariants } from '@/components/ui/badge/index'
|
|
2
4
|
import type { HTMLAttributes } from 'astro/types'
|
|
3
|
-
import type { BadgeVariants } from 'fulldev-ui/components/ui/badge'
|
|
4
|
-
import { badgeVariants } from 'fulldev-ui/components/ui/badge/index.ts'
|
|
5
5
|
import Box from './Box.astro'
|
|
6
6
|
|
|
7
7
|
interface Props extends HTMLAttributes<'span'>, BadgeVariants {
|
package/src/components/Box.astro
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
|
+
import Icon from '@/components/Icon.astro'
|
|
3
|
+
import type { ButtonVariants } from '@/components/ui/button'
|
|
4
|
+
import { buttonVariants } from '@/components/ui/button'
|
|
2
5
|
import type { HTMLAttributes } from 'astro/types'
|
|
3
|
-
import Icon from 'fulldev-ui/components/Icon.astro'
|
|
4
|
-
import type { ButtonVariants } from 'fulldev-ui/components/ui/button'
|
|
5
|
-
import { buttonVariants } from 'fulldev-ui/components/ui/button'
|
|
6
6
|
import Box from './Box.astro'
|
|
7
7
|
|
|
8
8
|
interface Props extends HTMLAttributes<'button'>, Omit<HTMLAttributes<'a'>, 'type'>, ButtonVariants {
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import {
|
|
3
|
-
Carousel,
|
|
4
|
-
CarouselContent,
|
|
5
|
-
CarouselItem,
|
|
6
|
-
CarouselNext,
|
|
7
|
-
CarouselPrevious,
|
|
8
|
-
} from 'fulldev-ui/components/ui/carousel'
|
|
2
|
+
import { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious } from '@/components/ui/carousel'
|
|
9
3
|
import { parse } from 'node-html-parser'
|
|
10
4
|
import { renderToString } from 'vue/server-renderer'
|
|
11
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
+
import Box from '@/components/Box.astro'
|
|
3
|
+
import { buttonVariants } from '@/components/ui/button'
|
|
2
4
|
import type { HTMLAttributes } from 'astro/types'
|
|
3
|
-
import Box from 'fulldev-ui/components/Box.astro'
|
|
4
|
-
import { buttonVariants } from 'fulldev-ui/components/ui/button'
|
|
5
5
|
import { badgeVariants, type BadgeVariants } from './ui/badge'
|
|
6
6
|
|
|
7
7
|
interface Props extends HTMLAttributes<'a'>, BadgeVariants {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
+
import Box from '@/components/Box.astro'
|
|
2
3
|
import type { ComponentProps } from 'astro/types'
|
|
3
4
|
import { Code as AstroCode } from 'astro:components'
|
|
4
|
-
import Box from 'fulldev-ui/components/Box.astro'
|
|
5
5
|
|
|
6
6
|
interface Props extends ComponentProps<typeof AstroCode> {}
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { Button } from '
|
|
2
|
+
import { Button } from '@/components/ui/button'
|
|
3
3
|
import {
|
|
4
4
|
Drawer,
|
|
5
5
|
DrawerContent,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
DrawerHeader,
|
|
9
9
|
DrawerTitle,
|
|
10
10
|
DrawerTrigger,
|
|
11
|
-
} from '
|
|
11
|
+
} from '@/components/ui/drawer'
|
|
12
12
|
import type { HTMLAttributes } from 'vue'
|
|
13
13
|
|
|
14
14
|
interface Props {
|
package/src/components/Form.vue
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { AutoForm } from '
|
|
3
|
-
import { Button } from '
|
|
2
|
+
import { AutoForm } from '@/components/ui/auto-form'
|
|
3
|
+
import { Button } from '@/components/ui/button'
|
|
4
4
|
import { z } from 'zod'
|
|
5
5
|
|
|
6
6
|
interface Props {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { watchOnce } from '@vueuse/core'
|
|
3
2
|
import {
|
|
4
3
|
Carousel,
|
|
5
4
|
type CarouselApi,
|
|
@@ -7,7 +6,8 @@ import {
|
|
|
7
6
|
CarouselItem,
|
|
8
7
|
CarouselNext,
|
|
9
8
|
CarouselPrevious,
|
|
10
|
-
} from '
|
|
9
|
+
} from '@/components/ui/carousel'
|
|
10
|
+
import { watchOnce } from '@vueuse/core'
|
|
11
11
|
import { parse } from 'node-html-parser'
|
|
12
12
|
import { ref } from 'vue'
|
|
13
13
|
import { renderToString } from 'vue/server-renderer'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
+
import Box from '@/components/Box.astro'
|
|
2
3
|
import tablerIcons from '@iconify-json/tabler/icons.json'
|
|
3
4
|
import type { HTMLAttributes } from 'astro/types'
|
|
4
|
-
import Box from 'fulldev-ui/components/Box.astro'
|
|
5
5
|
|
|
6
6
|
interface Props extends HTMLAttributes<'svg'> {
|
|
7
7
|
name?: string | undefined
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
+
import Box from '@/components/Box.astro'
|
|
3
|
+
import Icon from '@/components/Icon.astro'
|
|
2
4
|
import type { HTMLAttributes } from 'astro/types'
|
|
3
|
-
import Box from 'fulldev-ui/components/Box.astro'
|
|
4
|
-
import Icon from 'fulldev-ui/components/Icon.astro'
|
|
5
5
|
|
|
6
6
|
interface Props extends HTMLAttributes<'ul' | 'ol'> {
|
|
7
7
|
as?: 'ul' | 'ol'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
|
+
import Abstract from '@/components/Abstract.astro'
|
|
3
|
+
import Avatar from '@/components/Avatar.astro'
|
|
4
|
+
import Box from '@/components/Box.astro'
|
|
2
5
|
import type { HTMLAttributes } from 'astro/types'
|
|
3
|
-
import Abstract from 'fulldev-ui/components/Abstract.astro'
|
|
4
|
-
import Avatar from 'fulldev-ui/components/Avatar.astro'
|
|
5
|
-
import Box from 'fulldev-ui/components/Box.astro'
|
|
6
6
|
|
|
7
7
|
interface Props extends HTMLAttributes<'div'> {
|
|
8
8
|
src?: string | undefined
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
---
|
|
2
|
+
import Abstract from '@/components/Abstract.astro'
|
|
3
|
+
import Avatar from '@/components/Avatar.astro'
|
|
4
|
+
import Box from '@/components/Box.astro'
|
|
5
|
+
import Rating from '@/components/Rating.astro'
|
|
2
6
|
import type { ComponentProps, HTMLAttributes } from 'astro/types'
|
|
3
|
-
import Abstract from 'fulldev-ui/components/Abstract.astro'
|
|
4
|
-
import Avatar from 'fulldev-ui/components/Avatar.astro'
|
|
5
|
-
import Box from 'fulldev-ui/components/Box.astro'
|
|
6
|
-
import Rating from 'fulldev-ui/components/Rating.astro'
|
|
7
7
|
|
|
8
8
|
interface Props extends HTMLAttributes<'div'> {
|
|
9
9
|
avatars?: ComponentProps<typeof Avatar>[]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
+
import Box from '@/components/Box.astro'
|
|
3
|
+
import Icon from '@/components/Icon.astro'
|
|
2
4
|
import type { HTMLAttributes } from 'astro/types'
|
|
3
|
-
import Box from 'fulldev-ui/components/Box.astro'
|
|
4
|
-
import Icon from 'fulldev-ui/components/Icon.astro'
|
|
5
5
|
|
|
6
6
|
interface Props extends HTMLAttributes<'div'> {
|
|
7
7
|
size?: 'sm' | 'md' | 'lg' | undefined
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import Button from '
|
|
2
|
+
import Button from '@/components/ui/button/Button.vue'
|
|
3
3
|
import {
|
|
4
4
|
CommandDialog,
|
|
5
5
|
CommandEmpty,
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
CommandInput,
|
|
8
8
|
CommandItem,
|
|
9
9
|
CommandList,
|
|
10
|
-
} from '
|
|
10
|
+
} from '@/components/ui/command'
|
|
11
11
|
import { SearchIcon } from 'lucide-vue-next'
|
|
12
12
|
import { ref } from 'vue'
|
|
13
13
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { Select, SelectContent, SelectGroup, SelectItem, SelectTrigger, SelectValue } from '
|
|
2
|
+
import { Select, SelectContent, SelectGroup, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select'
|
|
3
3
|
import type { HTMLAttributes } from 'vue'
|
|
4
4
|
import type { SelectRootEmits, SelectRootProps } from 'radix-vue'
|
|
5
5
|
import { useForwardPropsEmits } from 'radix-vue'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
+
import Button from '@/components/Button.astro'
|
|
2
3
|
import type { ComponentProps } from 'astro/types'
|
|
3
|
-
import Button from 'fulldev-ui/components/Button.astro'
|
|
4
4
|
|
|
5
5
|
interface Props extends Omit<ComponentProps<typeof Button>, 'text' | 'icon' | 'target' | 'size'> {}
|
|
6
6
|
|
package/src/components/Sort.vue
CHANGED
package/src/components/Toc.astro
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<!-- ---
|
|
2
|
+
import Box from '@/components/Box.astro'
|
|
3
|
+
import Heading from '@/components/Heading.astro'
|
|
2
4
|
import type { MarkdownHeading } from 'astro'
|
|
3
5
|
import type { HTMLAttributes } from 'astro/types'
|
|
4
|
-
import Box from 'fulldev-ui/components/Box.astro'
|
|
5
|
-
import Heading from 'fulldev-ui/components/Heading.astro'
|
|
6
6
|
import Links from './Links.astro'
|
|
7
7
|
|
|
8
8
|
interface Props extends HTMLAttributes<'div'> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { cn } from '
|
|
2
|
+
import { cn } from '@/lib/utils'
|
|
3
3
|
import { ChevronDown } from 'lucide-vue-next'
|
|
4
4
|
import { AccordionHeader, AccordionTrigger, type AccordionTriggerProps } from 'radix-vue'
|
|
5
5
|
import { computed, type HTMLAttributes } from 'vue'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts" generic="T extends ZodObjectOrWrapped">
|
|
2
|
+
import { Form } from '@/components/ui/form'
|
|
2
3
|
import { toTypedSchema } from '@vee-validate/zod'
|
|
3
|
-
import { Form } from 'fulldev-ui/components/ui/form'
|
|
4
4
|
import type { FormContext, GenericObject } from 'vee-validate'
|
|
5
5
|
import { computed, toRefs } from 'vue'
|
|
6
6
|
import type { z, ZodAny } from 'zod'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script setup lang="ts" generic="T extends z.ZodAny">
|
|
2
|
-
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from '
|
|
3
|
-
import { Button } from '
|
|
4
|
-
import { FormItem, FormMessage } from '
|
|
5
|
-
import { Separator } from '
|
|
2
|
+
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from '@/components/ui/accordion'
|
|
3
|
+
import { Button } from '@/components/ui/button'
|
|
4
|
+
import { FormItem, FormMessage } from '@/components/ui/form'
|
|
5
|
+
import { Separator } from '@/components/ui/separator'
|
|
6
6
|
import { PlusIcon, TrashIcon } from 'lucide-vue-next'
|
|
7
7
|
import { FieldArray, FieldContextKey, useField } from 'vee-validate'
|
|
8
8
|
import { computed, provide } from 'vue'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { Checkbox } from '
|
|
3
|
-
import { FormControl, FormDescription, FormField, FormItem, FormMessage } from '
|
|
4
|
-
import { Switch } from '
|
|
2
|
+
import { Checkbox } from '@/components/ui/checkbox'
|
|
3
|
+
import { FormControl, FormDescription, FormField, FormItem, FormMessage } from '@/components/ui/form'
|
|
4
|
+
import { Switch } from '@/components/ui/switch'
|
|
5
5
|
import { computed } from 'vue'
|
|
6
6
|
import AutoFormLabel from './AutoFormLabel.vue'
|
|
7
7
|
import type { FieldProps } from './interface'
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { Button } from '
|
|
3
|
-
import { Calendar } from '
|
|
4
|
-
import { FormControl, FormDescription, FormField, FormItem, FormMessage } from '
|
|
5
|
-
import { Popover, PopoverContent, PopoverTrigger } from '
|
|
6
|
-
import { cn } from '
|
|
2
|
+
import { Button } from '@/components/ui/button'
|
|
3
|
+
import { Calendar } from '@/components/ui/calendar'
|
|
4
|
+
import { FormControl, FormDescription, FormField, FormItem, FormMessage } from '@/components/ui/form'
|
|
5
|
+
import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover'
|
|
6
|
+
import { cn } from '@/lib/utils'
|
|
7
7
|
import type { FieldProps } from './interface'
|
|
8
8
|
|
|
9
9
|
import { DateFormatter, getLocalTimeZone } from '@internationalized/date'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { FormControl, FormDescription, FormField, FormItem, FormMessage } from '
|
|
3
|
-
import { Label } from '
|
|
4
|
-
import { RadioGroup, RadioGroupItem } from '
|
|
5
|
-
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '
|
|
2
|
+
import { FormControl, FormDescription, FormField, FormItem, FormMessage } from '@/components/ui/form'
|
|
3
|
+
import { Label } from '@/components/ui/label'
|
|
4
|
+
import { RadioGroup, RadioGroupItem } from '@/components/ui/radio-group'
|
|
5
|
+
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select'
|
|
6
6
|
import AutoFormLabel from './AutoFormLabel.vue'
|
|
7
7
|
import type { FieldProps } from './interface'
|
|
8
8
|
import { beautifyObjectName, maybeBooleanishToBoolean } from './utils'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { Button } from '
|
|
3
|
-
import { FormControl, FormDescription, FormField, FormItem, FormMessage } from '
|
|
4
|
-
import { Input } from '
|
|
2
|
+
import { Button } from '@/components/ui/button'
|
|
3
|
+
import { FormControl, FormDescription, FormField, FormItem, FormMessage } from '@/components/ui/form'
|
|
4
|
+
import { Input } from '@/components/ui/input'
|
|
5
5
|
import { TrashIcon } from 'lucide-vue-next'
|
|
6
6
|
import { ref } from 'vue'
|
|
7
7
|
import AutoFormLabel from './AutoFormLabel.vue'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { FormControl, FormDescription, FormField, FormItem, FormMessage } from '
|
|
3
|
-
import { Input } from '
|
|
4
|
-
import { Textarea } from '
|
|
2
|
+
import { FormControl, FormDescription, FormField, FormItem, FormMessage } from '@/components/ui/form'
|
|
3
|
+
import { Input } from '@/components/ui/input'
|
|
4
|
+
import { Textarea } from '@/components/ui/textarea'
|
|
5
5
|
import { computed } from 'vue'
|
|
6
6
|
import AutoFormLabel from './AutoFormLabel.vue'
|
|
7
7
|
import type { FieldProps } from './interface'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { FormControl, FormDescription, FormField, FormItem, FormMessage } from '
|
|
3
|
-
import { Input } from '
|
|
2
|
+
import { FormControl, FormDescription, FormField, FormItem, FormMessage } from '@/components/ui/form'
|
|
3
|
+
import { Input } from '@/components/ui/input'
|
|
4
4
|
import AutoFormLabel from './AutoFormLabel.vue'
|
|
5
5
|
import type { FieldProps } from './interface'
|
|
6
6
|
import { beautifyObjectName } from './utils'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts" generic="T extends ZodRawShape">
|
|
2
|
-
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from '
|
|
3
|
-
import { FormItem } from '
|
|
2
|
+
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from '@/components/ui/accordion'
|
|
3
|
+
import { FormItem } from '@/components/ui/form'
|
|
4
4
|
import { FieldContextKey, useField } from 'vee-validate'
|
|
5
5
|
import { computed, provide } from 'vue'
|
|
6
6
|
import type { ZodAny, ZodObject, ZodRawShape } from 'zod'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import
|
|
3
|
-
import { cn } from 'fulldev-ui/lib/utils'
|
|
2
|
+
import { cn } from '@/lib/utils'
|
|
4
3
|
import { Primitive, type PrimitiveProps } from 'radix-vue'
|
|
4
|
+
import type { HTMLAttributes } from 'vue'
|
|
5
5
|
import { type ButtonVariants, buttonVariants } from '.'
|
|
6
6
|
|
|
7
7
|
interface Props extends PrimitiveProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
|
-
import { cn } from '
|
|
2
|
+
import { cn } from '@/lib/utils'
|
|
3
3
|
import { CalendarRoot, type CalendarRootEmits, type CalendarRootProps, useForwardPropsEmits } from 'radix-vue'
|
|
4
4
|
import { computed, type HTMLAttributes } from 'vue'
|
|
5
5
|
import {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
|
-
import { buttonVariants } from '
|
|
3
|
-
import { cn } from '
|
|
2
|
+
import { buttonVariants } from '@/components/ui/button'
|
|
3
|
+
import { cn } from '@/lib/utils'
|
|
4
4
|
import { CalendarCellTrigger, type CalendarCellTriggerProps, useForwardProps } from 'radix-vue'
|
|
5
5
|
import { computed, type HTMLAttributes } from 'vue'
|
|
6
6
|
|