From 22b3099cb8d54eefc728ea4dd5eef0343c6f88d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B3=E5=90=9B=E5=81=A5?= Date: Wed, 30 Jul 2025 11:07:49 +0800 Subject: [PATCH] fix(PropType): fix import of PropType (#3620) * fix(PropType): fix import of PropType * fix(propType): fix --- packages/vue/src/button-group/src/index.ts | 3 ++- packages/vue/src/button/src/index.ts | 1 + packages/vue/src/pager/src/index.ts | 3 ++- packages/vue/src/radio-group/src/index.ts | 3 ++- packages/vue/src/radio/src/index.ts | 3 ++- packages/vue/src/slider/src/index.ts | 3 ++- packages/vue/src/user-contact/src/index.ts | 1 + 7 files changed, 12 insertions(+), 5 deletions(-) diff --git a/packages/vue/src/button-group/src/index.ts b/packages/vue/src/button-group/src/index.ts index 685ac5bb3..53403893f 100644 --- a/packages/vue/src/button-group/src/index.ts +++ b/packages/vue/src/button-group/src/index.ts @@ -9,8 +9,9 @@ * A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS. * */ -import { $props, $prefix, $setup, defineComponent, type PropType } from '@opentiny/vue-common' +import { $props, $prefix, $setup, defineComponent } from '@opentiny/vue-common' import template from 'virtual-template?pc' +import type { PropType } from '@opentiny/vue-common' import type { IButtonGroupNode } from '@opentiny/vue-renderless/types/button-group.type' export const buttonGroupProps = { diff --git a/packages/vue/src/button/src/index.ts b/packages/vue/src/button/src/index.ts index 6e07588bd..3bb50ab68 100644 --- a/packages/vue/src/button/src/index.ts +++ b/packages/vue/src/button/src/index.ts @@ -10,6 +10,7 @@ * */ import { $props, $prefix, $setup, defineComponent } from '@opentiny/vue-common' +import { type PropType } from '@opentiny/vue-common' import template from 'virtual-template?pc|mobile-first' export const buttonProps = { diff --git a/packages/vue/src/pager/src/index.ts b/packages/vue/src/pager/src/index.ts index 686edb11e..48f6b5335 100644 --- a/packages/vue/src/pager/src/index.ts +++ b/packages/vue/src/pager/src/index.ts @@ -1,4 +1,5 @@ -import { $props, $prefix, $setup, defineComponent, type PropType } from '@opentiny/vue-common' +import type { PropType } from '@opentiny/vue-common' +import { $props, $prefix, $setup, defineComponent } from '@opentiny/vue-common' import template from 'virtual-template?pc|mobile-first' export const pagerProps = { diff --git a/packages/vue/src/radio-group/src/index.ts b/packages/vue/src/radio-group/src/index.ts index 92530f11c..5c8ab60ba 100644 --- a/packages/vue/src/radio-group/src/index.ts +++ b/packages/vue/src/radio-group/src/index.ts @@ -9,7 +9,8 @@ * A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS. * */ -import { $props, $prefix, $setup, defineComponent, type PropType } from '@opentiny/vue-common' +import type { PropType } from '@opentiny/vue-common' +import { $props, $prefix, $setup, defineComponent } from '@opentiny/vue-common' import template from 'virtual-template?pc|mobile-first' export const radioGroupProps = { diff --git a/packages/vue/src/radio/src/index.ts b/packages/vue/src/radio/src/index.ts index 906291db0..0d1d52264 100644 --- a/packages/vue/src/radio/src/index.ts +++ b/packages/vue/src/radio/src/index.ts @@ -9,7 +9,8 @@ * A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS. * */ -import { $props, $prefix, $setup, defineComponent, type PropType } from '@opentiny/vue-common' +import type { PropType } from '@opentiny/vue-common' +import { $props, $prefix, $setup, defineComponent } from '@opentiny/vue-common' import template from 'virtual-template?pc|mobile-first' export const $constants = { diff --git a/packages/vue/src/slider/src/index.ts b/packages/vue/src/slider/src/index.ts index 07214e05e..1497162af 100644 --- a/packages/vue/src/slider/src/index.ts +++ b/packages/vue/src/slider/src/index.ts @@ -9,7 +9,8 @@ * A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS. * */ -import { $props, $prefix, $setup, defineComponent, type PropType } from '@opentiny/vue-common' +import { $props, $prefix, $setup, defineComponent } from '@opentiny/vue-common' +import type { PropType } from '@opentiny/vue-common' import template from 'virtual-template?pc|mobile-first' export const $constants = { diff --git a/packages/vue/src/user-contact/src/index.ts b/packages/vue/src/user-contact/src/index.ts index e8a71b4a5..e0e295a43 100644 --- a/packages/vue/src/user-contact/src/index.ts +++ b/packages/vue/src/user-contact/src/index.ts @@ -11,6 +11,7 @@ */ import { $props, $setup, $prefix, defineComponent } from '@opentiny/vue-common' +import { type PropType } from '@opentiny/vue-common' import template from 'virtual-template?pc' export const userContactProps = {