From 3a6cec3cc9068778953f21516660bc4403bc7ceb Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期一, 04 八月 2025 18:24:28 +0800 Subject: [PATCH] fix: 修改功能模块 --- auto-imports.d.ts | 247 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 246 insertions(+), 1 deletions(-) diff --git a/auto-imports.d.ts b/auto-imports.d.ts index 78b6b10..60138a0 100644 --- a/auto-imports.d.ts +++ b/auto-imports.d.ts @@ -6,9 +6,74 @@ // biome-ignore lint: disable export {} declare global { + const AppType: typeof import('./src/constants/app')['AppType'] + const AreaType: typeof import('./src/constants/enum')['AreaType'] + const AuthorizeType: typeof import('./src/constants/enum')['AuthorizeType'] + const BooleanOptions: typeof import('./src/constants/enum')['BooleanOptions'] + const ChargeTypeEnum: typeof import('./src/constants/enterprise')['ChargeTypeEnum'] + const ChargeTypeEnumText: typeof import('./src/constants/enterprise')['ChargeTypeEnumText'] const CommonAnnexTableColumns: typeof import('@/constants')['CommonAnnexTableColumns'] + const DataRangeEnum: typeof import('./src/constants/enum')['DataRangeEnum'] + const DataRangeEnumText: typeof import('./src/constants/enum')['DataRangeEnumText'] + const EditorType: typeof import('./src/constants/editor')['EditorType'] + const EditorTypeText: typeof import('./src/constants/editor')['EditorTypeText'] const EffectScope: typeof import('vue')['EffectScope'] const ElMessageBox: typeof import('element-plus/es')['ElMessageBox'] + const EmptyTextEditorItem: typeof import('./src/constants/editor')['EmptyTextEditorItem'] + const EnterpriseConfigureType: typeof import('./src/constants/enterprise')['EnterpriseConfigureType'] + const EnterpriseConfigureTypeText: typeof import('./src/constants/enterprise')['EnterpriseConfigureTypeText'] + const EnumClientType: typeof import('./src/constants/apiEnum')['EnumClientType'] + const EnumMenuType: typeof import('./src/constants/apiEnum')['EnumMenuType'] + const EnumMenuVisitLevel: typeof import('./src/constants/apiEnum')['EnumMenuVisitLevel'] + const EnumPagedListOrder: typeof import('./src/constants/apiEnum')['EnumPagedListOrder'] + const EnumUserType: typeof import('./src/constants/apiEnum')['EnumUserType'] + const EnumWebApiMethod: typeof import('./src/constants/apiEnum')['EnumWebApiMethod'] + const FastButtonMap: typeof import('./src/constants/module')['FastButtonMap'] + const FastColumnList: typeof import('./src/constants/module')['FastColumnList'] + const FastDataButtonList: typeof import('./src/constants/module')['FastDataButtonList'] + const FastPageButtonList: typeof import('./src/constants/module')['FastPageButtonList'] + const FlexEnterpriseCertificationStatus: typeof import('./src/constants/enterprise')['FlexEnterpriseCertificationStatus'] + const FlexEnterpriseCertificationStatusText: typeof import('./src/constants/enterprise')['FlexEnterpriseCertificationStatusText'] + const FlexEnterpriseSettingStatus: typeof import('./src/constants/enterprise')['FlexEnterpriseSettingStatus'] + const FlexEnterpriseSettingStatusText: typeof import('./src/constants/enterprise')['FlexEnterpriseSettingStatusText'] + const FlexEnterpriseStatus: typeof import('./src/constants/enterprise')['FlexEnterpriseStatus'] + const FlexEnterpriseStatusText: typeof import('./src/constants/enterprise')['FlexEnterpriseStatusText'] + const FlexTaskWorkerHireEnum: typeof import('./src/constants/cPerson')['FlexTaskWorkerHireEnum'] + const FlexTaskWorkerHireEnumText: typeof import('./src/constants/cPerson')['FlexTaskWorkerHireEnumText'] + const FlexWorkerEleSignEnum: typeof import('./src/constants/cPerson')['FlexWorkerEleSignEnum'] + const FlexWorkerEleSignEnumText: typeof import('./src/constants/cPerson')['FlexWorkerEleSignEnumText'] + const Gender: typeof import('./src/constants/enum')['Gender'] + const GenderText: typeof import('./src/constants/enum')['GenderText'] + const MenuSvgIconMap: typeof import('./src/constants/menu')['MenuSvgIconMap'] + const MessageChannelEnum: typeof import('./src/constants/enterprise')['MessageChannelEnum'] + const MessageChannelEnumText: typeof import('./src/constants/enterprise')['MessageChannelEnumText'] + const ModuleColumns: typeof import('./src/constants/module')['ModuleColumns'] + const MyRegExp: typeof import('./src/constants/regExp')['MyRegExp'] + const OSSBaseURL: typeof import('./src/constants/oss')['OSSBaseURL'] + const OssAdvertise: typeof import('./src/constants/oss')['OssAdvertise'] + const OssAssets: typeof import('./src/constants/img')['OssAssets'] + const OssCover: typeof import('./src/constants/oss')['OssCover'] + const OssEnterprise: typeof import('./src/constants/oss')['OssEnterprise'] + const OssHRSIE: typeof import('./src/constants/oss')['OssHRSIE'] + const OssInsure: typeof import('./src/constants/oss')['OssInsure'] + const OssNews: typeof import('./src/constants/oss')['OssNews'] + const OssPlatformService: typeof import('./src/constants/oss')['OssPlatformService'] + const OssReview: typeof import('./src/constants/oss')['OssReview'] + const OssRich: typeof import('./src/constants/oss')['OssRich'] + const OssUser: typeof import('./src/constants/oss')['OssUser'] + const OssUserSign: typeof import('./src/constants/oss')['OssUserSign'] + const RoleClientType: typeof import('./src/constants/role')['RoleClientType'] + const SearchType: typeof import('./src/constants/dic')['SearchType'] + const SearchTypeText: typeof import('./src/constants/dic')['SearchTypeText'] + const SignChannelEnum: typeof import('./src/constants/enterprise')['SignChannelEnum'] + const SignChannelEnumText: typeof import('./src/constants/enterprise')['SignChannelEnumText'] + const SubModuleKey: typeof import('./src/constants/module')['SubModuleKey'] + const SubModuleTitle: typeof import('./src/constants/module')['SubModuleTitle'] + const SubModuleType: typeof import('./src/constants/module')['SubModuleType'] + const ThemeColors: typeof import('./src/constants/theme')['ThemeColors'] + const VerifyStatus: typeof import('./src/constants/enterprise')['VerifyStatus'] + const VerifyStatusColor: typeof import('./src/constants/enterprise')['VerifyStatusColor'] + const VerifyStatusText: typeof import('./src/constants/enterprise')['VerifyStatusText'] const acceptHMRUpdate: typeof import('pinia')['acceptHMRUpdate'] const computed: typeof import('vue')['computed'] const createApp: typeof import('vue')['createApp'] @@ -33,6 +98,7 @@ const mapStores: typeof import('pinia')['mapStores'] const mapWritableState: typeof import('pinia')['mapWritableState'] const markRaw: typeof import('vue')['markRaw'] + const myClient: typeof import('./src/constants/query')['myClient'] const nextTick: typeof import('vue')['nextTick'] const onActivated: typeof import('vue')['onActivated'] const onBeforeMount: typeof import('vue')['onBeforeMount'] @@ -87,6 +153,185 @@ // for type re-export declare global { // @ts-ignore - export type { Component, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue' + export type { Component, Slot, Slots, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue' import('vue') + // @ts-ignore + export type { EnumClientType, EnumMenuType, EnumMenuVisitLevel, EnumPagedListOrder, EnumUserType, EnumWebApiMethod } from './src/constants/apiEnum' + import('./src/constants/apiEnum') + // @ts-ignore + export type { FlexWorkerEleSignEnum, FlexTaskWorkerHireEnum, FlexWorkerEleSignEnum, FlexTaskWorkerHireEnum } from './src/constants/cPerson' + import('./src/constants/cPerson') + // @ts-ignore + export type { SearchType, SearchType } from './src/constants/dic' + import('./src/constants/dic') + // @ts-ignore + export type { EditorType, EditorType } from './src/constants/editor' + import('./src/constants/editor') + // @ts-ignore + export type { EnterpriseConfigureType, FlexEnterpriseSettingStatus, FlexEnterpriseStatus, VerifyStatus, FlexEnterpriseCertificationStatus, MessageChannelEnum, SignChannelEnum, ChargeTypeEnum, EnterpriseConfigureType, FlexEnterpriseSettingStatus, FlexEnterpriseStatus, VerifyStatus, FlexEnterpriseCertificationStatus, MessageChannelEnum, SignChannelEnum, ChargeTypeEnum } from './src/constants/enterprise' + import('./src/constants/enterprise') + // @ts-ignore + export type { AreaType, DataRangeEnum, AuthorizeType, Gender, AreaType, DataRangeEnum, AuthorizeType, Gender } from './src/constants/enum' + import('./src/constants/enum') + // @ts-ignore + export type { SubModuleType, FastBtn, SubModuleType } from './src/constants/module' + import('./src/constants/module') + // @ts-ignore + export type { MyRegExp, MyRegExp } from './src/constants/regExp' + import('./src/constants/regExp') + // @ts-ignore + export type { ThemeColorItem, ThemeColorName, ThemeColorsType } from './src/constants/theme' + import('./src/constants/theme') + // @ts-ignore + export type { RoleClientType, RoleClientType } from './src/constants/role' + import('./src/constants/role') } + +// for vue template auto import +import { UnwrapRef } from 'vue' +declare module 'vue' { + interface GlobalComponents {} + interface ComponentCustomProperties { + readonly AppType: UnwrapRef<typeof import('./src/constants/app')['AppType']> + readonly AreaType: UnwrapRef<typeof import('./src/constants/enum')['AreaType']> + readonly AuthorizeType: UnwrapRef<typeof import('./src/constants/enum')['AuthorizeType']> + readonly BooleanOptions: UnwrapRef<typeof import('./src/constants/enum')['BooleanOptions']> + readonly ChargeTypeEnum: UnwrapRef<typeof import('./src/constants/enterprise')['ChargeTypeEnum']> + readonly ChargeTypeEnumText: UnwrapRef<typeof import('./src/constants/enterprise')['ChargeTypeEnumText']> + readonly DataRangeEnum: UnwrapRef<typeof import('./src/constants/enum')['DataRangeEnum']> + readonly DataRangeEnumText: UnwrapRef<typeof import('./src/constants/enum')['DataRangeEnumText']> + readonly EditorType: UnwrapRef<typeof import('./src/constants/editor')['EditorType']> + readonly EditorTypeText: UnwrapRef<typeof import('./src/constants/editor')['EditorTypeText']> + readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']> + readonly EmptyTextEditorItem: UnwrapRef<typeof import('./src/constants/editor')['EmptyTextEditorItem']> + readonly EnterpriseConfigureType: UnwrapRef<typeof import('./src/constants/enterprise')['EnterpriseConfigureType']> + readonly EnterpriseConfigureTypeText: UnwrapRef<typeof import('./src/constants/enterprise')['EnterpriseConfigureTypeText']> + readonly EnumClientType: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumClientType']> + readonly EnumMenuType: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumMenuType']> + readonly EnumMenuVisitLevel: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumMenuVisitLevel']> + readonly EnumPagedListOrder: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumPagedListOrder']> + readonly EnumUserType: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumUserType']> + readonly EnumWebApiMethod: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumWebApiMethod']> + readonly FastButtonMap: UnwrapRef<typeof import('./src/constants/module')['FastButtonMap']> + readonly FastColumnList: UnwrapRef<typeof import('./src/constants/module')['FastColumnList']> + readonly FastDataButtonList: UnwrapRef<typeof import('./src/constants/module')['FastDataButtonList']> + readonly FastPageButtonList: UnwrapRef<typeof import('./src/constants/module')['FastPageButtonList']> + readonly FlexEnterpriseCertificationStatus: UnwrapRef<typeof import('./src/constants/enterprise')['FlexEnterpriseCertificationStatus']> + readonly FlexEnterpriseCertificationStatusText: UnwrapRef<typeof import('./src/constants/enterprise')['FlexEnterpriseCertificationStatusText']> + readonly FlexEnterpriseSettingStatus: UnwrapRef<typeof import('./src/constants/enterprise')['FlexEnterpriseSettingStatus']> + readonly FlexEnterpriseSettingStatusText: UnwrapRef<typeof import('./src/constants/enterprise')['FlexEnterpriseSettingStatusText']> + readonly FlexEnterpriseStatus: UnwrapRef<typeof import('./src/constants/enterprise')['FlexEnterpriseStatus']> + readonly FlexEnterpriseStatusText: UnwrapRef<typeof import('./src/constants/enterprise')['FlexEnterpriseStatusText']> + readonly FlexTaskWorkerHireEnum: UnwrapRef<typeof import('./src/constants/cPerson')['FlexTaskWorkerHireEnum']> + readonly FlexTaskWorkerHireEnumText: UnwrapRef<typeof import('./src/constants/cPerson')['FlexTaskWorkerHireEnumText']> + readonly FlexWorkerEleSignEnum: UnwrapRef<typeof import('./src/constants/cPerson')['FlexWorkerEleSignEnum']> + readonly FlexWorkerEleSignEnumText: UnwrapRef<typeof import('./src/constants/cPerson')['FlexWorkerEleSignEnumText']> + readonly Gender: UnwrapRef<typeof import('./src/constants/enum')['Gender']> + readonly GenderText: UnwrapRef<typeof import('./src/constants/enum')['GenderText']> + readonly MenuSvgIconMap: UnwrapRef<typeof import('./src/constants/menu')['MenuSvgIconMap']> + readonly MessageChannelEnum: UnwrapRef<typeof import('./src/constants/enterprise')['MessageChannelEnum']> + readonly MessageChannelEnumText: UnwrapRef<typeof import('./src/constants/enterprise')['MessageChannelEnumText']> + readonly ModuleColumns: UnwrapRef<typeof import('./src/constants/module')['ModuleColumns']> + readonly MyRegExp: UnwrapRef<typeof import('./src/constants/regExp')['MyRegExp']> + readonly OSSBaseURL: UnwrapRef<typeof import('./src/constants/oss')['OSSBaseURL']> + readonly OssAdvertise: UnwrapRef<typeof import('./src/constants/oss')['OssAdvertise']> + readonly OssAssets: UnwrapRef<typeof import('./src/constants/img')['OssAssets']> + readonly OssCover: UnwrapRef<typeof import('./src/constants/oss')['OssCover']> + readonly OssEnterprise: UnwrapRef<typeof import('./src/constants/oss')['OssEnterprise']> + readonly OssHRSIE: UnwrapRef<typeof import('./src/constants/oss')['OssHRSIE']> + readonly OssInsure: UnwrapRef<typeof import('./src/constants/oss')['OssInsure']> + readonly OssNews: UnwrapRef<typeof import('./src/constants/oss')['OssNews']> + readonly OssPlatformService: UnwrapRef<typeof import('./src/constants/oss')['OssPlatformService']> + readonly OssReview: UnwrapRef<typeof import('./src/constants/oss')['OssReview']> + readonly OssRich: UnwrapRef<typeof import('./src/constants/oss')['OssRich']> + readonly OssUser: UnwrapRef<typeof import('./src/constants/oss')['OssUser']> + readonly OssUserSign: UnwrapRef<typeof import('./src/constants/oss')['OssUserSign']> + readonly RoleClientType: UnwrapRef<typeof import('./src/constants/role')['RoleClientType']> + readonly SearchType: UnwrapRef<typeof import('./src/constants/dic')['SearchType']> + readonly SearchTypeText: UnwrapRef<typeof import('./src/constants/dic')['SearchTypeText']> + readonly SignChannelEnum: UnwrapRef<typeof import('./src/constants/enterprise')['SignChannelEnum']> + readonly SignChannelEnumText: UnwrapRef<typeof import('./src/constants/enterprise')['SignChannelEnumText']> + readonly SubModuleKey: UnwrapRef<typeof import('./src/constants/module')['SubModuleKey']> + readonly SubModuleTitle: UnwrapRef<typeof import('./src/constants/module')['SubModuleTitle']> + readonly SubModuleType: UnwrapRef<typeof import('./src/constants/module')['SubModuleType']> + readonly ThemeColors: UnwrapRef<typeof import('./src/constants/theme')['ThemeColors']> + readonly VerifyStatus: UnwrapRef<typeof import('./src/constants/enterprise')['VerifyStatus']> + readonly VerifyStatusColor: UnwrapRef<typeof import('./src/constants/enterprise')['VerifyStatusColor']> + readonly VerifyStatusText: UnwrapRef<typeof import('./src/constants/enterprise')['VerifyStatusText']> + readonly acceptHMRUpdate: UnwrapRef<typeof import('pinia')['acceptHMRUpdate']> + readonly computed: UnwrapRef<typeof import('vue')['computed']> + readonly createApp: UnwrapRef<typeof import('vue')['createApp']> + readonly createPinia: UnwrapRef<typeof import('pinia')['createPinia']> + readonly customRef: UnwrapRef<typeof import('vue')['customRef']> + readonly defineAsyncComponent: UnwrapRef<typeof import('vue')['defineAsyncComponent']> + readonly defineComponent: UnwrapRef<typeof import('vue')['defineComponent']> + readonly defineStore: UnwrapRef<typeof import('pinia')['defineStore']> + readonly effectScope: UnwrapRef<typeof import('vue')['effectScope']> + readonly getActivePinia: UnwrapRef<typeof import('pinia')['getActivePinia']> + readonly getCurrentInstance: UnwrapRef<typeof import('vue')['getCurrentInstance']> + readonly getCurrentScope: UnwrapRef<typeof import('vue')['getCurrentScope']> + readonly h: UnwrapRef<typeof import('vue')['h']> + readonly inject: UnwrapRef<typeof import('vue')['inject']> + readonly isProxy: UnwrapRef<typeof import('vue')['isProxy']> + readonly isReactive: UnwrapRef<typeof import('vue')['isReactive']> + readonly isReadonly: UnwrapRef<typeof import('vue')['isReadonly']> + readonly isRef: UnwrapRef<typeof import('vue')['isRef']> + readonly mapActions: UnwrapRef<typeof import('pinia')['mapActions']> + readonly mapGetters: UnwrapRef<typeof import('pinia')['mapGetters']> + readonly mapState: UnwrapRef<typeof import('pinia')['mapState']> + readonly mapStores: UnwrapRef<typeof import('pinia')['mapStores']> + readonly mapWritableState: UnwrapRef<typeof import('pinia')['mapWritableState']> + readonly markRaw: UnwrapRef<typeof import('vue')['markRaw']> + readonly myClient: UnwrapRef<typeof import('./src/constants/query')['myClient']> + readonly nextTick: UnwrapRef<typeof import('vue')['nextTick']> + readonly onActivated: UnwrapRef<typeof import('vue')['onActivated']> + readonly onBeforeMount: UnwrapRef<typeof import('vue')['onBeforeMount']> + readonly onBeforeRouteLeave: UnwrapRef<typeof import('vue-router')['onBeforeRouteLeave']> + readonly onBeforeRouteUpdate: UnwrapRef<typeof import('vue-router')['onBeforeRouteUpdate']> + readonly onBeforeUnmount: UnwrapRef<typeof import('vue')['onBeforeUnmount']> + readonly onBeforeUpdate: UnwrapRef<typeof import('vue')['onBeforeUpdate']> + readonly onDeactivated: UnwrapRef<typeof import('vue')['onDeactivated']> + readonly onErrorCaptured: UnwrapRef<typeof import('vue')['onErrorCaptured']> + readonly onMounted: UnwrapRef<typeof import('vue')['onMounted']> + readonly onRenderTracked: UnwrapRef<typeof import('vue')['onRenderTracked']> + readonly onRenderTriggered: UnwrapRef<typeof import('vue')['onRenderTriggered']> + readonly onScopeDispose: UnwrapRef<typeof import('vue')['onScopeDispose']> + readonly onServerPrefetch: UnwrapRef<typeof import('vue')['onServerPrefetch']> + readonly onUnmounted: UnwrapRef<typeof import('vue')['onUnmounted']> + readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']> + readonly onWatcherCleanup: UnwrapRef<typeof import('vue')['onWatcherCleanup']> + readonly provide: UnwrapRef<typeof import('vue')['provide']> + readonly reactive: UnwrapRef<typeof import('vue')['reactive']> + readonly readonly: UnwrapRef<typeof import('vue')['readonly']> + readonly ref: UnwrapRef<typeof import('vue')['ref']> + readonly resolveComponent: UnwrapRef<typeof import('vue')['resolveComponent']> + readonly setActivePinia: UnwrapRef<typeof import('pinia')['setActivePinia']> + readonly setMapStoreSuffix: UnwrapRef<typeof import('pinia')['setMapStoreSuffix']> + readonly shallowReactive: UnwrapRef<typeof import('vue')['shallowReactive']> + readonly shallowReadonly: UnwrapRef<typeof import('vue')['shallowReadonly']> + readonly shallowRef: UnwrapRef<typeof import('vue')['shallowRef']> + readonly storeToRefs: UnwrapRef<typeof import('pinia')['storeToRefs']> + readonly toRaw: UnwrapRef<typeof import('vue')['toRaw']> + readonly toRef: UnwrapRef<typeof import('vue')['toRef']> + readonly toRefs: UnwrapRef<typeof import('vue')['toRefs']> + readonly toValue: UnwrapRef<typeof import('vue')['toValue']> + readonly triggerRef: UnwrapRef<typeof import('vue')['triggerRef']> + readonly unref: UnwrapRef<typeof import('vue')['unref']> + readonly useAttrs: UnwrapRef<typeof import('vue')['useAttrs']> + readonly useCssModule: UnwrapRef<typeof import('vue')['useCssModule']> + readonly useCssVars: UnwrapRef<typeof import('vue')['useCssVars']> + readonly useId: UnwrapRef<typeof import('vue')['useId']> + readonly useLink: UnwrapRef<typeof import('vue-router')['useLink']> + readonly useLoading: UnwrapRef<typeof import('@/hooks/global')['useLoading']> + readonly useModel: UnwrapRef<typeof import('vue')['useModel']> + readonly useRoute: UnwrapRef<typeof import('vue-router')['useRoute']> + readonly useRouter: UnwrapRef<typeof import('vue-router')['useRouter']> + readonly useSetReactive: UnwrapRef<typeof import('@/hooks/global')['useSetReactive']> + readonly useSlots: UnwrapRef<typeof import('vue')['useSlots']> + readonly useTemplateRef: UnwrapRef<typeof import('vue')['useTemplateRef']> + readonly watch: UnwrapRef<typeof import('vue')['watch']> + readonly watchEffect: UnwrapRef<typeof import('vue')['watchEffect']> + readonly watchPostEffect: UnwrapRef<typeof import('vue')['watchPostEffect']> + readonly watchSyncEffect: UnwrapRef<typeof import('vue')['watchSyncEffect']> + } +} \ No newline at end of file -- Gitblit v1.9.1