mirror of https://github.com/halo-dev/halo
				
				
				
			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
							parent
							
								
									6d3c2494f6
								
							
						
					
					
						commit
						47e517d9bf
					
				| 
						 | 
				
			
			@ -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";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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;
 | 
			
		||||
}>();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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";
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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 =
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue