fix: correct package import paths (#7506)

#### What type of PR is this?

/kind cleanup
/area ui

#### What this PR does / why we need it:

Fix correct package import paths

#### Does this PR introduce a user-facing change?

```release-note
None
```
pull/7512/head
Ryan Wang 2025-06-06 17:06:56 +08:00 committed by GitHub
parent 6d3c2494f6
commit 47e517d9bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 7 additions and 7 deletions

View File

@ -5,7 +5,7 @@ import {
VButton,
VPageHeader,
} from "@halo-dev/components";
import type { DashboardWidgetDefinition } from "packages/shared/dist";
import type { DashboardWidgetDefinition } from "@halo-dev/console-shared";
import { computed, type ComputedRef, provide, ref } from "vue";
import WidgetViewItem from "./components/WidgetViewItem.vue";
import { useDashboardExtensionPoint } from "./composables/use-dashboard-extension-point";

View File

@ -1,7 +1,7 @@
<script setup lang="ts">
import { usePermission } from "@/utils/permission";
import { VButton, VModal, VTabbar } from "@halo-dev/components";
import type { DashboardWidgetDefinition } from "packages/shared/dist";
import type { DashboardWidgetDefinition } from "@halo-dev/console-shared";
import { computed, inject, ref, useTemplateRef, type ComputedRef } from "vue";
const { currentUserHasPermission } = usePermission();

View File

@ -1,5 +1,5 @@
import { usePluginModuleStore } from "@/stores/plugin";
import type { DashboardWidgetDefinition } from "packages/shared/dist";
import type { DashboardWidgetDefinition } from "@halo-dev/console-shared";
import { onMounted, ref } from "vue";
const EXTENSION_POINT_NAME = "console:dashboard:widgets:create";

View File

@ -1,7 +1,7 @@
<script lang="ts" setup>
import { usePermission } from "@/utils/permission";
import { IconArrowRight } from "@halo-dev/components";
import type { DashboardWidgetQuickActionItem } from "packages/shared/dist";
import type { DashboardWidgetQuickActionItem } from "@halo-dev/console-shared";
defineProps<{
item: DashboardWidgetQuickActionItem;
}>();

View File

@ -19,8 +19,8 @@ import {
VModal,
VSpace,
} from "@halo-dev/components";
import type { DashboardWidgetQuickActionItem } from "@halo-dev/console-shared";
import { OverlayScrollbarsComponent } from "overlayscrollbars-vue";
import type { DashboardWidgetQuickActionItem } from "packages/shared/dist";
import { computed, markRaw, ref, useTemplateRef } from "vue";
import { useI18n } from "vue-i18n";
import { useRouter } from "vue-router";

View File

@ -1,6 +1,6 @@
<script lang="ts" setup>
import ThemePreviewModal from "@console/modules/interface/themes/components/preview/ThemePreviewModal.vue";
import type { DashboardWidgetQuickActionItem } from "packages/shared/dist";
import type { DashboardWidgetQuickActionItem } from "@halo-dev/console-shared";
import { ref } from "vue";
import QuickActionItem from "./QuickActionItem.vue";

View File

@ -1,5 +1,5 @@
import { usePluginModuleStore } from "@/stores/plugin";
import type { DashboardWidgetQuickActionItem } from "packages/shared/dist";
import type { DashboardWidgetQuickActionItem } from "@halo-dev/console-shared";
import { onMounted, ref } from "vue";
const EXTENSION_POINT_NAME =