chore(project): refactor types dir

This commit is contained in:
vben
2024-05-21 22:14:25 +08:00
parent c31d21be50
commit f6087ce4e8
37 changed files with 141 additions and 65 deletions

View File

@@ -57,6 +57,6 @@
},
"devDependencies": {
"@types/qrcode": "^1.5.5",
"@vben-core/typings": "workspace:*"
"@vben/types": "workspace:*"
}
}

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { AuthPageLayout } from '@vben/types';
import type { VbenDropdownMenuItem } from '@vben-core/shadcn-ui';
import type { AuthPageLayout } from '@vben-core/typings';
import { MdiDockBottom, MdiDockLeft, MdiDockRight } from '@vben-core/iconify';
import { VbenDropdownRadioMenu, VbenIconButton } from '@vben-core/shadcn-ui';

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import type { MenuRecordRaw } from '@vben-core/typings';
import type { MenuRecordRaw } from '@vben/types';
import {
IcRoundArrowDownward,

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import type { MenuRecordRaw } from '@vben-core/typings';
import type { MenuRecordRaw } from '@vben/types';
import { IcRoundClose, IcRoundSearchOff } from '@vben-core/iconify';
import { ScrollArea, VbenIcon } from '@vben-core/shadcn-ui';

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import type { SupportLocale } from '@vben-core/typings';
import type { SupportLocale } from '@vben/types';
import { IcBaselineLanguage } from '@vben-core/iconify';
import { VbenDropdownRadioMenu, VbenIconButton } from '@vben-core/shadcn-ui';

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import type { SelectListItem } from '@vben-core/typings';
import type { SelectListItem } from '@vben/types';
import { $t } from '@vben/locales';
import { staticPreference } from '@vben/preference';

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import type { SelectListItem } from '@vben-core/typings';
import type { SelectListItem } from '@vben/types';
import { $t } from '@vben/locales';

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import type { SelectListItem } from '@vben-core/typings';
import type { SelectListItem } from '@vben/types';
import { $t } from '@vben/locales';

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import type { LayoutHeaderMode, SelectListItem } from '@vben-core/typings';
import type { LayoutHeaderMode, SelectListItem } from '@vben/types';
import { $t } from '@vben/locales';

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import type { LayoutType } from '@vben-core/typings';
import type { LayoutType } from '@vben/types';
import { MdiQuestionMarkCircleOutline } from '@vben-core/iconify';
import { VbenTooltip } from '@vben-core/shadcn-ui';

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import type { SelectListItem } from '@vben-core/typings';
import type { SelectListItem } from '@vben/types';
import { MdiQuestionMarkCircleOutline } from '@vben-core/iconify';
import {

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import type { SelectListItem } from '@vben-core/typings';
import type { SelectListItem } from '@vben/types';
import { ToggleGroup, ToggleGroupItem } from '@vben-core/shadcn-ui';

View File

@@ -1,5 +1,5 @@
<script lang="ts" setup>
import type { PreferenceKeys, SupportLocale } from '@vben-core/typings';
import type { PreferenceKeys, SupportLocale } from '@vben/types';
import { loadLocaleMessages } from '@vben/locales';
import {

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { LayoutHeaderMode, LayoutType } from '@vben/types';
import type { SegmentedItem } from '@vben-core/shadcn-ui';
import type { LayoutHeaderMode, LayoutType } from '@vben-core/typings';
import { IcRoundFolderCopy, IcRoundRestartAlt } from '@vben-core/iconify';
import {

View File

@@ -12,11 +12,11 @@ import {
VbenAvatar,
VbenIcon,
} from '@vben-core/shadcn-ui';
import { AnyFunction } from '@vben-core/typings';
import type { Component } from 'vue';
import { $t } from '@vben/locales';
import { AnyFunction } from '@vben/types';
import { ref } from 'vue';
interface Props {