From 081d2aed23fb39b966b1f4c6966ede7a27fb3347 Mon Sep 17 00:00:00 2001 From: Vben Date: Wed, 1 Jan 2025 11:39:49 +0800 Subject: [PATCH] perf: format code with better style (#5283) --- .lintstagedrc.mjs | 14 +- apps/web-antd/src/adapter/component/index.ts | 3 +- apps/web-antd/src/locales/index.ts | 4 +- .../dashboard/analytics/analytics-trends.vue | 8 +- .../analytics/analytics-visits-data.vue | 8 +- .../analytics/analytics-visits-sales.vue | 8 +- .../analytics/analytics-visits-source.vue | 8 +- .../dashboard/analytics/analytics-visits.vue | 8 +- .../src/views/dashboard/analytics/index.vue | 2 +- apps/web-ele/src/adapter/component/index.ts | 3 +- apps/web-ele/src/locales/index.ts | 4 +- .../dashboard/analytics/analytics-trends.vue | 8 +- .../analytics/analytics-visits-data.vue | 8 +- .../analytics/analytics-visits-sales.vue | 8 +- .../analytics/analytics-visits-source.vue | 8 +- .../dashboard/analytics/analytics-visits.vue | 8 +- .../src/views/dashboard/analytics/index.vue | 2 +- apps/web-naive/src/adapter/component/index.ts | 3 +- apps/web-naive/src/locales/index.ts | 4 +- .../dashboard/analytics/analytics-trends.vue | 8 +- .../analytics/analytics-visits-data.vue | 8 +- .../analytics/analytics-visits-sales.vue | 8 +- .../analytics/analytics-visits-source.vue | 8 +- .../dashboard/analytics/analytics-visits.vue | 8 +- .../src/views/dashboard/analytics/index.vue | 2 +- .../web-naive/src/views/demos/naive/index.vue | 3 +- docs/.vitepress/config/en.mts | 4 +- docs/.vitepress/config/zh.mts | 4 +- .../theme/components/site-layout.vue | 1 - docs/src/_env/adapter/component.ts | 3 +- .../eslint-config/src/configs/import.ts | 1 + .../eslint-config/src/configs/javascript.ts | 1 - .../src/configs/perfectionist.ts | 61 +- internal/node-utils/src/index.ts | 2 +- internal/node-utils/src/spinner.ts | 4 +- internal/tailwind-config/src/index.ts | 2 +- internal/vite-config/src/plugins/importmap.ts | 4 +- .../src/plugins/inject-app-loading/index.ts | 4 +- internal/vite-config/src/utils/env.ts | 4 +- package.json | 2 +- packages/@core/base/icons/src/lucide.ts | 6 +- packages/@core/base/shared/package.json | 2 +- .../base/shared/src/cache/storage-manager.ts | 18 +- .../shared/src/utils/__tests__/util.test.ts | 12 +- packages/@core/base/shared/src/utils/cn.ts | 4 +- .../base/shared/src/utils/state-handler.ts | 12 +- packages/@core/base/typings/src/helper.d.ts | 2 +- .../@core/base/typings/src/menu-record.ts | 7 +- .../@core/base/typings/src/vue-router.d.ts | 10 +- .../@core/composables/src/use-layout-style.ts | 8 +- .../composables/src/use-priority-value.ts | 1 + .../src/use-simple-locale/index.ts | 4 +- packages/@core/preferences/src/preferences.ts | 168 +- packages/@core/ui-kit/form-ui/src/config.ts | 3 +- packages/@core/ui-kit/form-ui/src/form-api.ts | 76 +- .../form-ui/src/form-render/form-field.vue | 4 +- .../ui-kit/form-ui/src/form-render/form.vue | 9 +- .../ui-kit/form-ui/src/form-render/index.ts | 2 +- packages/@core/ui-kit/form-ui/src/index.ts | 2 +- packages/@core/ui-kit/form-ui/src/types.ts | 19 +- .../ui-kit/form-ui/src/use-form-context.ts | 8 +- .../ui-kit/form-ui/src/vben-use-form.vue | 6 +- .../src/components/layout-content.vue | 3 +- .../src/components/layout-footer.vue | 1 + .../src/components/layout-header.vue | 1 + .../src/components/layout-sidebar.vue | 1 + .../src/components/layout-tabbar.vue | 1 + .../ui-kit/layout-ui/src/vben-layout.vue | 3 +- .../ui-kit/menu-ui/src/components/index.ts | 2 +- .../ui-kit/menu-ui/src/components/menu.vue | 3 +- packages/@core/ui-kit/menu-ui/src/types.ts | 4 +- .../@core/ui-kit/menu-ui/src/utils/index.ts | 1 + .../src/drawer/__tests__/drawer-api.test.ts | 19 +- .../ui-kit/popup-ui/src/drawer/drawer-api.ts | 19 +- .../ui-kit/popup-ui/src/drawer/drawer.ts | 8 +- .../ui-kit/popup-ui/src/drawer/use-drawer.ts | 2 +- .../src/modal/__tests__/modal-api.test.ts | 19 +- .../ui-kit/popup-ui/src/modal/modal-api.ts | 19 +- .../@core/ui-kit/popup-ui/src/modal/modal.ts | 8 +- .../popup-ui/src/modal/use-modal-draggable.ts | 3 +- .../ui-kit/popup-ui/src/modal/use-modal.ts | 2 +- .../src/components/avatar/avatar.vue | 5 +- .../components/breadcrumb/breadcrumb-view.vue | 2 +- .../src/components/breadcrumb/types.ts | 4 +- .../shadcn-ui/src/components/button/button.ts | 4 +- .../components/context-menu/context-menu.vue | 7 +- .../src/components/hover-card/hover-card.vue | 3 +- .../shadcn-ui/src/components/icon/icon.vue | 4 +- .../src/components/popover/popover.vue | 3 +- .../render-content/render-content.vue | 1 + .../components/segmented/tabs-indicator.vue | 2 +- .../src/components/tooltip/tooltip.vue | 3 +- .../shadcn-ui/src/ui/accordion/Accordion.vue | 9 +- .../src/ui/accordion/AccordionContent.vue | 6 +- .../src/ui/accordion/AccordionItem.vue | 10 +- .../src/ui/accordion/AccordionTrigger.vue | 10 +- .../ui-kit/shadcn-ui/src/ui/avatar/Avatar.vue | 4 +- .../src/ui/avatar/AvatarFallback.vue | 4 +- .../shadcn-ui/src/ui/avatar/AvatarImage.vue | 4 +- .../ui-kit/shadcn-ui/src/ui/avatar/avatar.ts | 4 +- .../ui-kit/shadcn-ui/src/ui/badge/Badge.vue | 4 +- .../ui-kit/shadcn-ui/src/ui/badge/badge.ts | 4 +- .../src/ui/breadcrumb/BreadcrumbLink.vue | 6 +- .../ui-kit/shadcn-ui/src/ui/button/Button.vue | 4 +- .../shadcn-ui/src/ui/checkbox/Checkbox.vue | 2 +- .../context-menu/ContextMenuCheckboxItem.vue | 9 +- .../ui/context-menu/ContextMenuContent.vue | 9 +- .../src/ui/context-menu/ContextMenuGroup.vue | 4 +- .../src/ui/context-menu/ContextMenuItem.vue | 11 +- .../src/ui/context-menu/ContextMenuLabel.vue | 6 +- .../src/ui/context-menu/ContextMenuPortal.vue | 4 +- .../ui/context-menu/ContextMenuRadioGroup.vue | 10 +- .../ui/context-menu/ContextMenuRadioItem.vue | 9 +- .../ui/context-menu/ContextMenuSeparator.vue | 9 +- .../src/ui/context-menu/ContextMenuSub.vue | 9 +- .../ui/context-menu/ContextMenuSubContent.vue | 14 +- .../ui/context-menu/ContextMenuSubTrigger.vue | 12 +- .../ui/context-menu/ContextMenuTrigger.vue | 8 +- .../ui-kit/shadcn-ui/src/ui/dialog/Dialog.vue | 9 +- .../shadcn-ui/src/ui/dialog/DialogClose.vue | 4 +- .../shadcn-ui/src/ui/dialog/DialogContent.vue | 10 +- .../src/ui/dialog/DialogDescription.vue | 10 +- .../src/ui/dialog/DialogScrollContent.vue | 6 +- .../shadcn-ui/src/ui/dialog/DialogTitle.vue | 6 +- .../shadcn-ui/src/ui/dialog/DialogTrigger.vue | 4 +- .../src/ui/dropdown-menu/DropdownMenu.vue | 9 +- .../DropdownMenuCheckboxItem.vue | 9 +- .../ui/dropdown-menu/DropdownMenuContent.vue | 9 +- .../ui/dropdown-menu/DropdownMenuGroup.vue | 4 +- .../src/ui/dropdown-menu/DropdownMenuItem.vue | 10 +- .../ui/dropdown-menu/DropdownMenuLabel.vue | 10 +- .../dropdown-menu/DropdownMenuRadioGroup.vue | 10 +- .../dropdown-menu/DropdownMenuRadioItem.vue | 9 +- .../dropdown-menu/DropdownMenuSeparator.vue | 11 +- .../src/ui/dropdown-menu/DropdownMenuSub.vue | 9 +- .../dropdown-menu/DropdownMenuSubContent.vue | 14 +- .../dropdown-menu/DropdownMenuSubTrigger.vue | 10 +- .../ui/dropdown-menu/DropdownMenuTrigger.vue | 8 +- .../shadcn-ui/src/ui/form/FormLabel.vue | 2 +- .../ui-kit/shadcn-ui/src/ui/form/index.ts | 2 +- .../shadcn-ui/src/ui/hover-card/HoverCard.vue | 9 +- .../src/ui/hover-card/HoverCardContent.vue | 11 +- .../src/ui/hover-card/HoverCardTrigger.vue | 4 +- .../ui-kit/shadcn-ui/src/ui/label/Label.vue | 6 +- .../src/ui/number-field/NumberField.vue | 2 +- .../ui/number-field/NumberFieldDecrement.vue | 2 +- .../ui/number-field/NumberFieldIncrement.vue | 2 +- .../src/ui/pagination/PaginationEllipsis.vue | 6 +- .../src/ui/pagination/PaginationFirst.vue | 6 +- .../src/ui/pagination/PaginationLast.vue | 6 +- .../src/ui/pagination/PaginationNext.vue | 6 +- .../src/ui/pagination/PaginationPrev.vue | 6 +- .../shadcn-ui/src/ui/pagination/index.ts | 2 +- .../shadcn-ui/src/ui/pin-input/PinInput.vue | 11 +- .../src/ui/pin-input/PinInputGroup.vue | 6 +- .../src/ui/pin-input/PinInputInput.vue | 10 +- .../src/ui/pin-input/PinInputSeparator.vue | 4 +- .../src/ui/popover/PopoverContent.vue | 12 +- .../src/ui/popover/PopoverTrigger.vue | 4 +- .../src/ui/radio-group/RadioGroup.vue | 11 +- .../src/ui/radio-group/RadioGroupItem.vue | 5 +- .../src/ui/resizable/ResizableHandle.vue | 20 +- .../src/ui/resizable/ResizablePanelGroup.vue | 15 +- .../src/ui/scroll-area/ScrollArea.vue | 7 +- .../src/ui/scroll-area/ScrollBar.vue | 10 +- .../shadcn-ui/src/ui/select/SelectContent.vue | 6 +- .../shadcn-ui/src/ui/select/SelectGroup.vue | 6 +- .../shadcn-ui/src/ui/select/SelectItem.vue | 5 +- .../src/ui/select/SelectItemText.vue | 4 +- .../shadcn-ui/src/ui/select/SelectLabel.vue | 6 +- .../src/ui/select/SelectScrollDownButton.vue | 10 +- .../src/ui/select/SelectScrollUpButton.vue | 10 +- .../src/ui/select/SelectSeparator.vue | 6 +- .../shadcn-ui/src/ui/select/SelectTrigger.vue | 11 +- .../shadcn-ui/src/ui/select/SelectValue.vue | 4 +- .../shadcn-ui/src/ui/separator/Separator.vue | 6 +- .../ui-kit/shadcn-ui/src/ui/sheet/Sheet.vue | 9 +- .../shadcn-ui/src/ui/sheet/SheetClose.vue | 4 +- .../shadcn-ui/src/ui/sheet/SheetContent.vue | 16 +- .../src/ui/sheet/SheetDescription.vue | 6 +- .../shadcn-ui/src/ui/sheet/SheetTitle.vue | 6 +- .../shadcn-ui/src/ui/sheet/SheetTrigger.vue | 4 +- .../ui-kit/shadcn-ui/src/ui/sheet/sheet.ts | 4 +- .../ui-kit/shadcn-ui/src/ui/switch/Switch.vue | 12 +- .../shadcn-ui/src/ui/tabs/TabsContent.vue | 6 +- .../ui-kit/shadcn-ui/src/ui/tabs/TabsList.vue | 6 +- .../shadcn-ui/src/ui/tabs/TabsTrigger.vue | 6 +- .../src/ui/toggle-group/ToggleGroup.vue | 12 +- .../src/ui/toggle-group/ToggleGroupItem.vue | 11 +- .../ui-kit/shadcn-ui/src/ui/toggle/Toggle.vue | 17 +- .../ui-kit/shadcn-ui/src/ui/toggle/toggle.ts | 4 +- .../shadcn-ui/src/ui/tooltip/Tooltip.vue | 9 +- .../src/ui/tooltip/TooltipContent.vue | 12 +- .../src/ui/tooltip/TooltipProvider.vue | 4 +- .../src/ui/tooltip/TooltipTrigger.vue | 4 +- .../ui-kit/tabs-ui/src/components/index.ts | 2 +- .../@core/ui-kit/tabs-ui/src/use-tabs-drag.ts | 7 +- packages/effects/common-ui/package.json | 1 - .../api-component/api-component.vue | 5 +- .../captcha/point-selection-captcha/index.vue | 1 + .../point-selection-captcha-card.vue | 1 + .../captcha/slider-captcha/index.vue | 1 + .../slider-captcha/slider-captcha-action.vue | 2 + .../slider-captcha/slider-captcha-bar.vue | 4 +- .../slider-captcha/slider-captcha-content.vue | 1 + .../common-ui/src/components/captcha/types.ts | 4 +- .../ellipsis-text/ellipsis-text.vue | 4 +- .../components/icon-picker/icon-picker.vue | 5 +- .../components/page/__tests__/page.test.ts | 1 + .../common-ui/src/components/page/page.vue | 11 +- .../effects/common-ui/src/ui/about/about.vue | 1 + .../src/ui/authentication/code-login.vue | 2 + .../src/ui/authentication/forget-password.vue | 1 + .../common-ui/src/ui/authentication/index.ts | 2 +- .../common-ui/src/ui/authentication/login.vue | 2 + .../src/ui/authentication/qrcode-login.vue | 1 + .../src/ui/authentication/register.vue | 2 + .../ui/authentication/third-party-login.vue | 1 + .../common-ui/src/ui/fallback/fallback.vue | 1 + .../effects/hooks/src/use-hover-toggle.ts | 3 +- packages/effects/hooks/src/use-pagination.ts | 1 + packages/effects/hooks/src/use-tabs.ts | 4 +- .../layouts/src/basic/content/content.vue | 2 +- .../layouts/src/basic/content/index.ts | 2 +- .../layouts/src/basic/header/header.vue | 1 + packages/effects/layouts/src/basic/layout.vue | 5 +- .../layouts/src/basic/menu/extra-menu.vue | 1 + .../effects/layouts/src/basic/menu/menu.vue | 1 + .../layouts/src/basic/menu/mixed-menu.vue | 2 + .../layouts/src/basic/menu/use-extra-menu.ts | 4 +- .../layouts/src/basic/menu/use-navigation.ts | 4 +- .../layouts/src/basic/tabbar/tabbar.vue | 1 + .../layouts/src/basic/tabbar/use-tabbar.ts | 6 +- .../layouts/src/iframe/iframe-router-view.vue | 1 + .../layouts/src/widgets/breadcrumb.vue | 2 + .../widgets/check-updates/check-updates.vue | 1 + .../layouts/src/widgets/color-toggle.vue | 1 + .../widgets/global-search/global-search.vue | 1 + .../widgets/global-search/search-panel.vue | 1 + .../layouts/src/widgets/language-toggle.vue | 1 + .../layouts/src/widgets/layout-toggle.vue | 2 + .../layouts/src/widgets/lock-screen/index.ts | 2 +- .../widgets/lock-screen/lock-screen-modal.vue | 1 + .../src/widgets/lock-screen/lock-screen.vue | 1 + .../src/widgets/notification/notification.vue | 1 + .../widgets/preferences/blocks/input-item.vue | 1 + .../preferences/blocks/layout/content.vue | 4 +- .../preferences/blocks/layout/layout.vue | 5 +- .../preferences/blocks/number-field-item.vue | 1 + .../preferences/blocks/select-item.vue | 1 + .../preferences/blocks/switch-item.vue | 1 + .../preferences/blocks/theme/builtin.vue | 6 +- .../preferences/blocks/theme/theme.vue | 4 +- .../layouts/src/widgets/preferences/index.ts | 2 +- .../preferences/preferences-button.vue | 1 + .../preferences/preferences-drawer.vue | 2 + .../src/widgets/preferences/preferences.vue | 1 + .../src/widgets/theme-toggle/theme-toggle.vue | 1 + .../widgets/user-dropdown/user-dropdown.vue | 4 +- .../plugins/src/echarts/use-echarts.ts | 3 +- packages/effects/plugins/src/vxe-table/api.ts | 11 +- .../effects/plugins/src/vxe-table/extends.ts | 3 +- .../effects/plugins/src/vxe-table/init.ts | 2 +- .../effects/plugins/src/vxe-table/types.ts | 14 +- .../plugins/src/vxe-table/use-vxe-grid.vue | 4 +- .../src/request-client/modules/uploader.ts | 2 +- .../src/request-client/request-client.ts | 9 +- packages/icons/src/svg/load.ts | 2 +- packages/locales/src/i18n.ts | 3 +- packages/stores/src/modules/access.ts | 3 +- packages/stores/src/modules/tabbar.ts | 3 +- packages/utils/src/helpers/generate-menus.ts | 3 +- .../src/helpers/generate-routes-backend.ts | 3 +- playground/src/adapter/component/index.ts | 3 +- playground/src/locales/index.ts | 4 +- .../dashboard/analytics/analytics-trends.vue | 8 +- .../analytics/analytics-visits-data.vue | 8 +- .../analytics/analytics-visits-sales.vue | 8 +- .../analytics/analytics-visits-source.vue | 8 +- .../dashboard/analytics/analytics-visits.vue | 8 +- .../src/views/dashboard/analytics/index.vue | 2 +- playground/src/views/demos/badge/index.vue | 1 + .../features/vue-query/paginated-queries.vue | 4 +- .../src/views/examples/drawer/index.vue | 4 +- playground/src/views/examples/form/basic.vue | 2 +- pnpm-lock.yaml | 2075 +++++++---------- pnpm-workspace.yaml | 46 +- scripts/vsh/src/publint/index.ts | 4 +- 288 files changed, 1805 insertions(+), 2164 deletions(-) diff --git a/.lintstagedrc.mjs b/.lintstagedrc.mjs index e68d8a3e0..94b0192a7 100644 --- a/.lintstagedrc.mjs +++ b/.lintstagedrc.mjs @@ -1,4 +1,10 @@ export default { + '*.md': ['prettier --cache --ignore-unknown --write'], + '*.vue': [ + 'prettier --write', + 'eslint --cache --fix', + 'stylelint --fix --allow-empty-input', + ], '*.{js,jsx,ts,tsx}': [ 'prettier --cache --ignore-unknown --write', 'eslint --cache --fix', @@ -7,14 +13,8 @@ export default { 'prettier --cache --ignore-unknown --write', 'stylelint --fix --allow-empty-input', ], - '*.md': ['prettier --cache --ignore-unknown --write'], - '*.vue': [ - 'prettier --write', - 'eslint --cache --fix', - 'stylelint --fix --allow-empty-input', - ], + 'package.json': ['prettier --cache --write'], '{!(package)*.json,*.code-snippets,.!(browserslist)*rc}': [ 'prettier --cache --write--parser json', ], - 'package.json': ['prettier --cache --write'], }; diff --git a/apps/web-antd/src/adapter/component/index.ts b/apps/web-antd/src/adapter/component/index.ts index a43a8280a..17436a834 100644 --- a/apps/web-antd/src/adapter/component/index.ts +++ b/apps/web-antd/src/adapter/component/index.ts @@ -3,9 +3,10 @@ * 可用于 vben-form、vben-modal、vben-drawer 等组件使用, */ +import type { Component, SetupContext } from 'vue'; + import type { BaseFormComponentType } from '@vben/common-ui'; -import type { Component, SetupContext } from 'vue'; import { h } from 'vue'; import { ApiComponent, globalShareState, IconPicker } from '@vben/common-ui'; diff --git a/apps/web-antd/src/locales/index.ts b/apps/web-antd/src/locales/index.ts index 1972e06ee..7f32bd18e 100644 --- a/apps/web-antd/src/locales/index.ts +++ b/apps/web-antd/src/locales/index.ts @@ -1,7 +1,9 @@ -import type { LocaleSetupOptions, SupportedLanguagesType } from '@vben/locales'; import type { Locale } from 'ant-design-vue/es/locale'; import type { App } from 'vue'; + +import type { LocaleSetupOptions, SupportedLanguagesType } from '@vben/locales'; + import { ref } from 'vue'; import { diff --git a/apps/web-antd/src/views/dashboard/analytics/analytics-trends.vue b/apps/web-antd/src/views/dashboard/analytics/analytics-trends.vue index fadfc917c..f1f0b232a 100644 --- a/apps/web-antd/src/views/dashboard/analytics/analytics-trends.vue +++ b/apps/web-antd/src/views/dashboard/analytics/analytics-trends.vue @@ -1,11 +1,9 @@ diff --git a/packages/@core/ui-kit/shadcn-ui/src/ui/avatar/AvatarImage.vue b/packages/@core/ui-kit/shadcn-ui/src/ui/avatar/AvatarImage.vue index bac84a5c4..787eeeb7e 100644 --- a/packages/@core/ui-kit/shadcn-ui/src/ui/avatar/AvatarImage.vue +++ b/packages/@core/ui-kit/shadcn-ui/src/ui/avatar/AvatarImage.vue @@ -1,5 +1,7 @@ diff --git a/packages/@core/ui-kit/shadcn-ui/src/ui/avatar/avatar.ts b/packages/@core/ui-kit/shadcn-ui/src/ui/avatar/avatar.ts index b99641556..8aae81f49 100644 --- a/packages/@core/ui-kit/shadcn-ui/src/ui/avatar/avatar.ts +++ b/packages/@core/ui-kit/shadcn-ui/src/ui/avatar/avatar.ts @@ -1,4 +1,6 @@ -import { cva, type VariantProps } from 'class-variance-authority'; +import type { VariantProps } from 'class-variance-authority'; + +import { cva } from 'class-variance-authority'; export const avatarVariant = cva( 'inline-flex items-center justify-center font-normal text-foreground select-none shrink-0 bg-secondary overflow-hidden', diff --git a/packages/@core/ui-kit/shadcn-ui/src/ui/badge/Badge.vue b/packages/@core/ui-kit/shadcn-ui/src/ui/badge/Badge.vue index 729dc9dc3..818d40452 100644 --- a/packages/@core/ui-kit/shadcn-ui/src/ui/badge/Badge.vue +++ b/packages/@core/ui-kit/shadcn-ui/src/ui/badge/Badge.vue @@ -1,7 +1,9 @@ diff --git a/packages/@core/ui-kit/shadcn-ui/src/ui/button/Button.vue b/packages/@core/ui-kit/shadcn-ui/src/ui/button/Button.vue index 7895d0106..03e67803b 100644 --- a/packages/@core/ui-kit/shadcn-ui/src/ui/button/Button.vue +++ b/packages/@core/ui-kit/shadcn-ui/src/ui/button/Button.vue @@ -1,9 +1,11 @@ diff --git a/packages/@core/ui-kit/shadcn-ui/src/ui/context-menu/ContextMenuItem.vue b/packages/@core/ui-kit/shadcn-ui/src/ui/context-menu/ContextMenuItem.vue index ed11878d4..aab42115d 100644 --- a/packages/@core/ui-kit/shadcn-ui/src/ui/context-menu/ContextMenuItem.vue +++ b/packages/@core/ui-kit/shadcn-ui/src/ui/context-menu/ContextMenuItem.vue @@ -1,17 +1,14 @@ diff --git a/packages/@core/ui-kit/shadcn-ui/src/ui/context-menu/ContextMenuRadioGroup.vue b/packages/@core/ui-kit/shadcn-ui/src/ui/context-menu/ContextMenuRadioGroup.vue index bfed356d5..b757dd516 100644 --- a/packages/@core/ui-kit/shadcn-ui/src/ui/context-menu/ContextMenuRadioGroup.vue +++ b/packages/@core/ui-kit/shadcn-ui/src/ui/context-menu/ContextMenuRadioGroup.vue @@ -1,11 +1,11 @@ diff --git a/packages/@core/ui-kit/shadcn-ui/src/ui/dialog/DialogContent.vue b/packages/@core/ui-kit/shadcn-ui/src/ui/dialog/DialogContent.vue index 9a8d73962..67bf64a68 100644 --- a/packages/@core/ui-kit/shadcn-ui/src/ui/dialog/DialogContent.vue +++ b/packages/@core/ui-kit/shadcn-ui/src/ui/dialog/DialogContent.vue @@ -1,4 +1,6 @@ diff --git a/packages/@core/ui-kit/shadcn-ui/src/ui/dropdown-menu/DropdownMenu.vue b/packages/@core/ui-kit/shadcn-ui/src/ui/dropdown-menu/DropdownMenu.vue index 6a4328e63..12c20692b 100644 --- a/packages/@core/ui-kit/shadcn-ui/src/ui/dropdown-menu/DropdownMenu.vue +++ b/packages/@core/ui-kit/shadcn-ui/src/ui/dropdown-menu/DropdownMenu.vue @@ -1,10 +1,7 @@ diff --git a/packages/@core/ui-kit/shadcn-ui/src/ui/dropdown-menu/DropdownMenuItem.vue b/packages/@core/ui-kit/shadcn-ui/src/ui/dropdown-menu/DropdownMenuItem.vue index 3aac66780..c8836d47b 100644 --- a/packages/@core/ui-kit/shadcn-ui/src/ui/dropdown-menu/DropdownMenuItem.vue +++ b/packages/@core/ui-kit/shadcn-ui/src/ui/dropdown-menu/DropdownMenuItem.vue @@ -1,16 +1,14 @@ diff --git a/packages/@core/ui-kit/shadcn-ui/src/ui/form/index.ts b/packages/@core/ui-kit/shadcn-ui/src/ui/form/index.ts index 3e8467b25..1d45b2b4d 100644 --- a/packages/@core/ui-kit/shadcn-ui/src/ui/form/index.ts +++ b/packages/@core/ui-kit/shadcn-ui/src/ui/form/index.ts @@ -5,7 +5,7 @@ export { default as FormLabel } from './FormLabel.vue'; export { default as FormMessage } from './FormMessage.vue'; export { FORM_ITEM_INJECTION_KEY } from './injectionKeys'; export { + Form, Field as FormField, FieldArray as FormFieldArray, - Form, } from 'vee-validate'; diff --git a/packages/@core/ui-kit/shadcn-ui/src/ui/hover-card/HoverCard.vue b/packages/@core/ui-kit/shadcn-ui/src/ui/hover-card/HoverCard.vue index 6c4ac04fc..f960699b9 100644 --- a/packages/@core/ui-kit/shadcn-ui/src/ui/hover-card/HoverCard.vue +++ b/packages/@core/ui-kit/shadcn-ui/src/ui/hover-card/HoverCard.vue @@ -1,10 +1,7 @@ diff --git a/packages/@core/ui-kit/shadcn-ui/src/ui/label/Label.vue b/packages/@core/ui-kit/shadcn-ui/src/ui/label/Label.vue index a4169355d..ba6890a86 100644 --- a/packages/@core/ui-kit/shadcn-ui/src/ui/label/Label.vue +++ b/packages/@core/ui-kit/shadcn-ui/src/ui/label/Label.vue @@ -1,11 +1,13 @@ diff --git a/packages/@core/ui-kit/shadcn-ui/src/ui/radio-group/RadioGroup.vue b/packages/@core/ui-kit/shadcn-ui/src/ui/radio-group/RadioGroup.vue index 35c48701b..0bdcafc3c 100644 --- a/packages/@core/ui-kit/shadcn-ui/src/ui/radio-group/RadioGroup.vue +++ b/packages/@core/ui-kit/shadcn-ui/src/ui/radio-group/RadioGroup.vue @@ -1,16 +1,13 @@ diff --git a/packages/@core/ui-kit/shadcn-ui/src/ui/select/SelectLabel.vue b/packages/@core/ui-kit/shadcn-ui/src/ui/select/SelectLabel.vue index 598426865..0dd694f80 100644 --- a/packages/@core/ui-kit/shadcn-ui/src/ui/select/SelectLabel.vue +++ b/packages/@core/ui-kit/shadcn-ui/src/ui/select/SelectLabel.vue @@ -1,9 +1,11 @@