fulldev-ui 0.7.0-beta.5 → 0.7.0-beta.7
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/package.json +35 -46
- 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/lib/integration.ts +27 -0
- 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/.github/CODEOWNERS +0 -2
- package/.github/ISSUE_TEMPLATE/bug_report.yml +0 -12
- package/.github/ISSUE_TEMPLATE/config.yml +0 -8
- package/.github/ISSUE_TEMPLATE/documentation.yml +0 -12
- package/.github/ISSUE_TEMPLATE/feature_request.yml +0 -12
- package/.github/ISSUE_TEMPLATE/support.yml +0 -12
- package/.github/pull_request_template.md +0 -0
- package/.github/workflows/release.yml +0 -99
- package/.prettierignore +0 -15
- package/.prettierrc.yaml +0 -42
- package/.vscode/extensions.json +0 -4
- package/.vscode/launch.json +0 -11
- package/CODE_OF_CONDUCT.md +0 -6
- package/astro.config.ts +0 -26
- package/components.json +0 -18
- package/pnpm-lock.yaml +0 -6938
- package/public/images/anti-slip-profiles.webp +0 -0
- package/public/images/avatar-1.jpeg +0 -0
- package/public/images/avatar-2.jpeg +0 -0
- package/public/images/avatar-3.jpeg +0 -0
- package/public/images/avatar-4.jpeg +0 -0
- package/public/images/avatar-placeholder.jpg +0 -0
- package/public/images/block-code.png +0 -0
- package/public/images/categories/journals.jpg +0 -0
- package/public/images/categories/productivity.jpg +0 -0
- package/public/images/categories/workspace.jpg +0 -0
- package/public/images/component-code.png +0 -0
- package/public/images/favicon.svg +0 -16
- package/public/images/fulldev-ui.webp +0 -0
- package/public/images/lavis-detailing.webp +0 -0
- package/public/images/leather-long-wallet.jpg +0 -0
- package/public/images/leren-trainingsacteren.webp +0 -0
- package/public/images/logo-1.svg +0 -11
- package/public/images/logo-2.svg +0 -13
- package/public/images/logo-basic.svg +0 -10
- package/public/images/logo-simple.svg +0 -13
- package/public/images/logo-thin.svg +0 -15
- package/public/images/logo.svg +0 -14
- package/public/images/logofat.svg +0 -11
- package/public/images/miele-witgoedcenter-amsterdam.webp +0 -0
- package/public/images/og-image.png +0 -0
- package/public/images/placeholder-center.webp +0 -0
- package/public/images/placeholder-landscape-dark.png +0 -0
- package/public/images/placeholder-landscape.webp +0 -0
- package/public/images/placeholder-portrait.webp +0 -0
- package/public/images/placeholder-right.webp +0 -0
- package/public/images/placeholder.webp +0 -0
- package/public/images/products/earthen-mug.jpg +0 -0
- package/public/images/products/leather-long-wallet.jpg +0 -0
- package/public/images/products/leatherbound-daily-journal-set.jpg +0 -0
- package/public/images/products/leatherbound-daily-journal.jpg +0 -0
- package/public/images/products/machines-pen.jpg +0 -0
- package/public/images/products/machines-pencil-and-pen-set.jpg +0 -0
- package/public/images/products/mini-sketchbooks.jpg +0 -0
- package/public/images/products/organizer-set.jpg +0 -0
- package/public/images/sloepverhuur-bolsward.webp +0 -0
- package/public/images/stark-vulcanising-products.webp +0 -0
- package/public/images/the-gym-haren.webp +0 -0
- package/public/images/van-dillen-antieke-bouwmaterialen.webp +0 -0
- package/src/content/blocks/category-group1.md +0 -18
- package/src/content/blocks/category-list1.md +0 -22
- package/src/content/blocks/contact1.md +0 -30
- package/src/content/blocks/contact2.md +0 -31
- package/src/content/blocks/content1.md +0 -14
- package/src/content/blocks/cta1.md +0 -11
- package/src/content/blocks/faqs1.md +0 -18
- package/src/content/blocks/faqs2.md +0 -18
- package/src/content/blocks/features1.md +0 -16
- package/src/content/blocks/hero1.md +0 -14
- package/src/content/blocks/intro1.md +0 -6
- package/src/content/blocks/post-single1.md +0 -18
- package/src/content/blocks/product-group1.md +0 -21
- package/src/content/blocks/product-list1.md +0 -25
- package/src/content/blocks/product-single1.md +0 -23
- package/src/content/blocks/reviews1.md +0 -16
- package/src/content.config.ts +0 -20
- package/src/data/settings.json +0 -26
- package/src/layouts/NavigationLayout.astro +0 -14
- package/src/pages/blocks/[...block].astro +0 -24
- package/src/pages/blocks/index.astro +0 -21
- package/src/pages/index.astro +0 -8
- package/tailwind.config.js +0 -111
- package/tsconfig.json +0 -10
|
@@ -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
|
|
|
@@ -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 { ChevronRight } from 'lucide-vue-next'
|
|
5
5
|
import { CalendarNext, type CalendarNextProps, useForwardProps } from 'radix-vue'
|
|
6
6
|
import { computed, type HTMLAttributes } from 'vue'
|
|
@@ -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 { ChevronLeft } from 'lucide-vue-next'
|
|
5
5
|
import { CalendarPrev, type CalendarPrevProps, useForwardProps } from 'radix-vue'
|
|
6
6
|
import { computed, type HTMLAttributes } from 'vue'
|