From 3682904ad4223dc16942532f64dbb4c56b73dafa Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期三, 06 八月 2025 11:02:12 +0800 Subject: [PATCH] feat: 更新框架 --- config/openapi.json | 6 src/services/api/resource.ts | 33 src/utils/common/encrypt.ts | 13 src/utils/oss/index.ts | 11 src/hooks/index.ts | 2 pnpm-lock.yaml | 2080 +----------------- src/services/api/menu.ts | 93 src/store/modules/permission.ts | 98 auto-imports.d.ts | 242 ++ src/constants/apiEnum.ts | 106 src/constants/index.ts | 2 src/constants/app.ts | 5 src/constants/apiEnumText.ts | 26 src/hooks/dic.ts | 54 .eslintrc-auto-import.json | 102 src/hooks/useUser.ts | 8 src/services/api/typings.d.ts | 3103 ++++++++------------------- src/hooks/useAccess.ts | 15 src/services/api/dictionary.ts | 99 src/store/modules/user.ts | 103 src/services/api/enterprise.ts | 18 .env.development | 2 /dev/null | 45 src/services/api/index.ts | 56 src/services/api/role.ts | 99 src/utils/storage/auth.ts | 4 build/plugins.ts | 16 package.json | 6 src/services/api/userInfo.ts | 66 src/utils/common/index.ts | 1 src/services/api/auth.ts | 49 31 files changed, 2,211 insertions(+), 4,352 deletions(-) diff --git a/.env.development b/.env.development index 0691814..daf931a 100644 --- a/.env.development +++ b/.env.development @@ -11,7 +11,7 @@ VITE_ROUTER_HISTORY = "h5" # 寮�鍙戠幆澧冨悗绔湴鍧� -VITE_PROXY_DOMAIN_REAL = "http://localhost:58190" +VITE_PROXY_DOMAIN_REAL = "http://localhost:53780/" # VITE_PROXY_DOMAIN_REAL = "http://118.178.252.28:8752/" diff --git a/.eslintrc-auto-import.json b/.eslintrc-auto-import.json index 91085d1..dd9ecb3 100644 --- a/.eslintrc-auto-import.json +++ b/.eslintrc-auto-import.json @@ -1,16 +1,79 @@ { "globals": { - "CommonAnnexTableColumns": true, + "AppLocalConfig": true, + "AppType": true, + "AreaType": true, "Component": true, "ComponentPublicInstance": true, "ComputedRef": true, + "DirectiveBinding": true, + "EditorType": true, + "EditorTypeText": true, "EffectScope": true, + "EmptyTextEditorItem": true, + "EnumClientType": true, + "EnumClientTypeText": true, + "EnumMenuType": true, + "EnumMenuVisitLevel": true, + "EnumPagedListOrder": true, + "EnumResourceController": true, + "EnumResourceMethod": true, + "EnumRoleWebApiDataPower": true, + "EnumRoleWebApiDataPowerText": true, + "EnumRoleWebApiDataPowerTextForFilter": true, + "EnumUserInfoStatus": true, + "EnumUserType": true, + "EnumUserTypeText": true, + "ExtractDefaultPropTypes": true, + "ExtractPropTypes": true, + "ExtractPublicPropTypes": true, + "FastBtn": true, + "FastButtonMap": true, + "FastColumnList": true, + "FastDataButtonList": true, + "FastPageButtonList": true, + "FlexEnterpriseSettingStatus": true, + "Gender": true, + "GenderText": true, + "GlobalEvent": true, + "GlobalEventContext": true, + "GlobalEventListener": true, "InjectionKey": true, + "MaybeRef": true, + "MaybeRefOrGetter": true, + "MenuSvgIconMap": true, + "ModuleColumns": true, + "MyRegExp": true, + "OSSBaseURL": true, + "OssAdvertise": true, + "OssAssets": true, + "OssCover": true, + "OssEnterprise": true, + "OssHRSIE": true, + "OssInsure": true, + "OssNews": true, + "OssPlatformService": true, + "OssReview": true, + "OssRich": true, + "OssUser": true, + "OssUserSign": true, "PropType": true, "Ref": true, + "Slot": true, + "Slots": true, + "SubModuleKey": true, + "SubModuleTitle": true, + "SubModuleType": true, + "TempFolderPath": true, + "ThemeColorItem": true, + "ThemeColorName": true, + "ThemeColors": true, + "ThemeColorsType": true, "VNode": true, + "WritableComputedRef": true, "acceptHMRUpdate": true, "computed": true, + "copyTextToClipboard": true, "createApp": true, "createPinia": true, "customRef": true, @@ -18,9 +81,11 @@ "defineComponent": true, "defineStore": true, "effectScope": true, + "eventKey": true, "getActivePinia": true, "getCurrentInstance": true, "getCurrentScope": true, + "globalEventContextKey": true, "h": true, "inject": true, "isProxy": true, @@ -33,6 +98,7 @@ "mapStores": true, "mapWritableState": true, "markRaw": true, + "myClient": true, "nextTick": true, "onActivated": true, "onBeforeMount": true, @@ -49,6 +115,7 @@ "onServerPrefetch": true, "onUnmounted": true, "onUpdated": true, + "onWatcherCleanup": true, "provide": true, "reactive": true, "readonly": true, @@ -63,33 +130,38 @@ "toRaw": true, "toRef": true, "toRefs": true, + "toValue": true, "triggerRef": true, "unref": true, + "useAccess": true, "useAttrs": true, + "useClearSubModule": true, + "useCopyToClipboard": true, "useCssModule": true, "useCssVars": true, + "useGlobalEventContext": true, + "useGlobalEventProvide": true, + "useGroupColumns": true, + "useGroupOperationBtns": true, + "useId": true, "useLink": true, "useLoading": true, + "useModel": true, + "useOmit": true, + "useOmitProps": true, + "useResizeHander": true, "useRoute": true, + "useRouteView": true, "useRouter": true, "useSetReactive": true, "useSlots": true, + "useTemplateRef": true, + "useUser": true, + "useVModel": true, + "useVModels": true, "watch": true, "watchEffect": true, "watchPostEffect": true, - "watchSyncEffect": true, - "DirectiveBinding": true, - "ExtractDefaultPropTypes": true, - "ExtractPropTypes": true, - "ExtractPublicPropTypes": true, - "MaybeRef": true, - "MaybeRefOrGetter": true, - "WritableComputedRef": true, - "onWatcherCleanup": true, - "toValue": true, - "useId": true, - "useModel": true, - "useTemplateRef": true, - "ElMessageBox": true + "watchSyncEffect": true } } diff --git a/auto-imports.d.ts b/auto-imports.d.ts index 78b6b10..cc114cb 100644 --- a/auto-imports.d.ts +++ b/auto-imports.d.ts @@ -6,11 +6,59 @@ // biome-ignore lint: disable export {} declare global { + const AppLocalConfig: typeof import('./src/constants/app')['AppLocalConfig'] + const AppType: typeof import('./src/constants/app')['AppType'] + const AreaType: typeof import('./src/constants/enum')['AreaType'] const CommonAnnexTableColumns: typeof import('@/constants')['CommonAnnexTableColumns'] + 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 EnumClientType: typeof import('./src/constants/apiEnum')['EnumClientType'] + const EnumClientTypeText: typeof import('./src/constants/apiEnumText')['EnumClientTypeText'] + 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 EnumResourceController: typeof import('./src/constants/apiEnum')['EnumResourceController'] + const EnumResourceMethod: typeof import('./src/constants/apiEnum')['EnumResourceMethod'] + const EnumRoleWebApiDataPower: typeof import('./src/constants/apiEnum')['EnumRoleWebApiDataPower'] + const EnumRoleWebApiDataPowerText: typeof import('./src/constants/apiEnumText')['EnumRoleWebApiDataPowerText'] + const EnumRoleWebApiDataPowerTextForFilter: typeof import('./src/constants/apiEnumText')['EnumRoleWebApiDataPowerTextForFilter'] + const EnumUserInfoStatus: typeof import('./src/constants/apiEnum')['EnumUserInfoStatus'] + const EnumUserType: typeof import('./src/constants/apiEnum')['EnumUserType'] + const EnumUserTypeText: typeof import('./src/constants/apiEnumText')['EnumUserTypeText'] + 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 FlexEnterpriseSettingStatus: typeof import('./src/constants/enum')['FlexEnterpriseSettingStatus'] + 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 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 SubModuleKey: typeof import('./src/constants/module')['SubModuleKey'] + const SubModuleTitle: typeof import('./src/constants/module')['SubModuleTitle'] + const SubModuleType: typeof import('./src/constants/module')['SubModuleType'] + const TempFolderPath: typeof import('./src/constants/enum')['TempFolderPath'] + const ThemeColors: typeof import('./src/constants/theme')['ThemeColors'] const acceptHMRUpdate: typeof import('pinia')['acceptHMRUpdate'] const computed: typeof import('vue')['computed'] + const copyTextToClipboard: typeof import('./src/hooks/useCopyToClipboard')['copyTextToClipboard'] const createApp: typeof import('vue')['createApp'] const createPinia: typeof import('pinia')['createPinia'] const customRef: typeof import('vue')['customRef'] @@ -18,9 +66,11 @@ const defineComponent: typeof import('vue')['defineComponent'] const defineStore: typeof import('pinia')['defineStore'] const effectScope: typeof import('vue')['effectScope'] + const eventKey: typeof import('./src/hooks/useEvent')['eventKey'] const getActivePinia: typeof import('pinia')['getActivePinia'] const getCurrentInstance: typeof import('vue')['getCurrentInstance'] const getCurrentScope: typeof import('vue')['getCurrentScope'] + const globalEventContextKey: typeof import('./src/hooks/useEvent')['globalEventContextKey'] const h: typeof import('vue')['h'] const inject: typeof import('vue')['inject'] const isProxy: typeof import('vue')['isProxy'] @@ -33,6 +83,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'] @@ -67,18 +118,34 @@ const toValue: typeof import('vue')['toValue'] const triggerRef: typeof import('vue')['triggerRef'] const unref: typeof import('vue')['unref'] + const useAccess: typeof import('./src/hooks/useAccess')['useAccess'] const useAttrs: typeof import('vue')['useAttrs'] + const useClearSubModule: typeof import('./src/hooks/useAccess')['useClearSubModule'] + const useCopyToClipboard: typeof import('./src/hooks/useCopyToClipboard')['useCopyToClipboard'] const useCssModule: typeof import('vue')['useCssModule'] const useCssVars: typeof import('vue')['useCssVars'] + const useGlobalEventContext: typeof import('./src/hooks/useEvent')['useGlobalEventContext'] + const useGlobalEventProvide: typeof import('./src/hooks/useEvent')['useGlobalEventProvide'] + const useGroupColumns: typeof import('./src/hooks/useAccess')['useGroupColumns'] + const useGroupOperationBtns: typeof import('./src/hooks/useAccess')['useGroupOperationBtns'] const useId: typeof import('vue')['useId'] + const useIsSystemAdmin: typeof import('./src/hooks/useUser')['useIsSystemAdmin'] const useLink: typeof import('vue-router')['useLink'] - const useLoading: typeof import('@/hooks/global')['useLoading'] + const useLoading: typeof import('./src/hooks/global/useLoading')['useLoading'] const useModel: typeof import('vue')['useModel'] + const useOmit: typeof import('./src/hooks/help')['useOmit'] + const useOmitProps: typeof import('./src/hooks/help')['useOmitProps'] + const useResizeHander: typeof import('./src/hooks/useResizeHander')['useResizeHander'] const useRoute: typeof import('vue-router')['useRoute'] + const useRouteView: typeof import('./src/hooks/useRouteView')['useRouteView'] const useRouter: typeof import('vue-router')['useRouter'] - const useSetReactive: typeof import('@/hooks/global')['useSetReactive'] + const useSearchSettingType: typeof import('./src/hooks/dic')['useSearchSettingType'] + const useSetReactive: typeof import('./src/hooks/global/helper')['useSetReactive'] const useSlots: typeof import('vue')['useSlots'] const useTemplateRef: typeof import('vue')['useTemplateRef'] + const useUser: typeof import('./src/hooks/useUser')['useUser'] + const useVModel: typeof import('./src/hooks/help')['useVModel'] + const useVModels: typeof import('./src/hooks/help')['useVModels'] const watch: typeof import('vue')['watch'] const watchEffect: typeof import('vue')['watchEffect'] const watchPostEffect: typeof import('vue')['watchPostEffect'] @@ -87,6 +154,175 @@ // 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, EnumResourceController, EnumResourceMethod, EnumRoleWebApiDataPower, EnumUserInfoStatus, EnumUserType, EnumClientType, EnumMenuType, EnumMenuVisitLevel, EnumPagedListOrder, EnumResourceController, EnumResourceMethod, EnumRoleWebApiDataPower, EnumUserInfoStatus, EnumUserType } from './src/constants/apiEnum' + import('./src/constants/apiEnum') + // @ts-ignore + export type { EditorType, EditorType } from './src/constants/editor' + import('./src/constants/editor') + // @ts-ignore + export type { AreaType, Gender, FlexEnterpriseSettingStatus, AreaType, Gender, FlexEnterpriseSettingStatus } 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 { GlobalEvent, GlobalEventListener, GlobalEventContext } from './src/hooks/useEvent' + import('./src/hooks/useEvent') } + +// for vue template auto import +import { UnwrapRef } from 'vue' +declare module 'vue' { + interface GlobalComponents {} + interface ComponentCustomProperties { + readonly AppLocalConfig: UnwrapRef<typeof import('./src/constants/app')['AppLocalConfig']> + readonly AppType: UnwrapRef<typeof import('./src/constants/app')['AppType']> + readonly AreaType: UnwrapRef<typeof import('./src/constants/enum')['AreaType']> + 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 EnumClientType: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumClientType']> + readonly EnumClientTypeText: UnwrapRef<typeof import('./src/constants/apiEnumText')['EnumClientTypeText']> + 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 EnumResourceController: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumResourceController']> + readonly EnumResourceMethod: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumResourceMethod']> + readonly EnumRoleWebApiDataPower: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumRoleWebApiDataPower']> + readonly EnumRoleWebApiDataPowerText: UnwrapRef<typeof import('./src/constants/apiEnumText')['EnumRoleWebApiDataPowerText']> + readonly EnumRoleWebApiDataPowerTextForFilter: UnwrapRef<typeof import('./src/constants/apiEnumText')['EnumRoleWebApiDataPowerTextForFilter']> + readonly EnumUserInfoStatus: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumUserInfoStatus']> + readonly EnumUserType: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumUserType']> + readonly EnumUserTypeText: UnwrapRef<typeof import('./src/constants/apiEnumText')['EnumUserTypeText']> + 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 FlexEnterpriseSettingStatus: UnwrapRef<typeof import('./src/constants/enum')['FlexEnterpriseSettingStatus']> + 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 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 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 TempFolderPath: UnwrapRef<typeof import('./src/constants/enum')['TempFolderPath']> + readonly ThemeColors: UnwrapRef<typeof import('./src/constants/theme')['ThemeColors']> + readonly acceptHMRUpdate: UnwrapRef<typeof import('pinia')['acceptHMRUpdate']> + readonly computed: UnwrapRef<typeof import('vue')['computed']> + readonly copyTextToClipboard: UnwrapRef<typeof import('./src/hooks/useCopyToClipboard')['copyTextToClipboard']> + 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 eventKey: UnwrapRef<typeof import('./src/hooks/useEvent')['eventKey']> + readonly getActivePinia: UnwrapRef<typeof import('pinia')['getActivePinia']> + readonly getCurrentInstance: UnwrapRef<typeof import('vue')['getCurrentInstance']> + readonly getCurrentScope: UnwrapRef<typeof import('vue')['getCurrentScope']> + readonly globalEventContextKey: UnwrapRef<typeof import('./src/hooks/useEvent')['globalEventContextKey']> + 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 useAccess: UnwrapRef<typeof import('./src/hooks/useAccess')['useAccess']> + readonly useAttrs: UnwrapRef<typeof import('vue')['useAttrs']> + readonly useClearSubModule: UnwrapRef<typeof import('./src/hooks/useAccess')['useClearSubModule']> + readonly useCopyToClipboard: UnwrapRef<typeof import('./src/hooks/useCopyToClipboard')['useCopyToClipboard']> + readonly useCssModule: UnwrapRef<typeof import('vue')['useCssModule']> + readonly useCssVars: UnwrapRef<typeof import('vue')['useCssVars']> + readonly useGlobalEventContext: UnwrapRef<typeof import('./src/hooks/useEvent')['useGlobalEventContext']> + readonly useGlobalEventProvide: UnwrapRef<typeof import('./src/hooks/useEvent')['useGlobalEventProvide']> + readonly useGroupColumns: UnwrapRef<typeof import('./src/hooks/useAccess')['useGroupColumns']> + readonly useGroupOperationBtns: UnwrapRef<typeof import('./src/hooks/useAccess')['useGroupOperationBtns']> + readonly useId: UnwrapRef<typeof import('vue')['useId']> + readonly useLink: UnwrapRef<typeof import('vue-router')['useLink']> + readonly useLoading: UnwrapRef<typeof import('./src/hooks/global/useLoading')['useLoading']> + readonly useModel: UnwrapRef<typeof import('vue')['useModel']> + readonly useOmit: UnwrapRef<typeof import('./src/hooks/help')['useOmit']> + readonly useOmitProps: UnwrapRef<typeof import('./src/hooks/help')['useOmitProps']> + readonly useResizeHander: UnwrapRef<typeof import('./src/hooks/useResizeHander')['useResizeHander']> + readonly useRoute: UnwrapRef<typeof import('vue-router')['useRoute']> + readonly useRouteView: UnwrapRef<typeof import('./src/hooks/useRouteView')['useRouteView']> + readonly useRouter: UnwrapRef<typeof import('vue-router')['useRouter']> + readonly useSetReactive: UnwrapRef<typeof import('./src/hooks/global/helper')['useSetReactive']> + readonly useSlots: UnwrapRef<typeof import('vue')['useSlots']> + readonly useTemplateRef: UnwrapRef<typeof import('vue')['useTemplateRef']> + readonly useUser: UnwrapRef<typeof import('./src/hooks/useUser')['useUser']> + readonly useVModel: UnwrapRef<typeof import('./src/hooks/help')['useVModel']> + readonly useVModels: UnwrapRef<typeof import('./src/hooks/help')['useVModels']> + 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 diff --git a/build/plugins.ts b/build/plugins.ts index 77d640c..fbddc92 100644 --- a/build/plugins.ts +++ b/build/plugins.ts @@ -76,15 +76,13 @@ AutoImport({ resolvers: [ElementPlusResolver()], - imports: [ - 'vue', - 'pinia', - 'vue-router', - { - '@/hooks/global': Object.keys(hooks), - }, - { '@/constants': ['CommonAnnexTableColumns'] }, - ], + dirs: ['./src/constants/**', './src/hooks/**'], + // dirsScanOptions: { + // fileFilter: (file) => file.endsWith('.ts'), // Filter files + // types: true, + // }, + vueTemplate: true, + imports: ['vue', 'pinia', 'vue-router'], eslintrc: { enabled: true, // Default `false` filepath: './.eslintrc-auto-import.json', // Default `./.eslintrc-auto-import.json` diff --git a/config/openapi.json b/config/openapi.json index 821b74c..524dda8 100644 --- a/config/openapi.json +++ b/config/openapi.json @@ -2,8 +2,10 @@ "config": [ { "requestLibPath": "import { request } from '@/utils/request'", - "schemaPath": "http://localhost:58190/swagger/v1/swagger.json", - "serversPath": "./src/services" + "schemaPath": "http://localhost:53780/swagger/Default/swagger.json", + "serversPath": "./src/services", + "enumStyle": "enum", + "enumFilePath": "../../constants/apiEnum.ts" } ] } diff --git a/package.json b/package.json index d522be6..47ccc4a 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,8 @@ "dependencies": { "@bole-12333/chat-kit": "latest", "@bole-12333/customer-chat": "latest", - "@bole-core/components": "latest", - "@bole-core/core": "latest", + "@bole-core/components": "^1.3.13", + "@bole-core/core": "^1.0.7", "@bole-core/pretty-layout": "latest", "@bole-core/sass-utils": "latest", "@bole-core/theme": "latest", @@ -123,7 +123,7 @@ "stylelint-scss": "^4.3.0", "terser": "^5.34.1", "typescript": "^4.6.4", - "unplugin-auto-import": "^0.18.3", + "unplugin-auto-import": "^19.3.0", "unplugin-icons": "^0.14.10", "unplugin-vue-components": "^0.27.4", "vite": "6.0.6", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 16613f6..299411e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,15 +15,15 @@ dependencies: '@bole-12333/chat-kit': specifier: latest - version: 1.0.1(@tencentcloud/chat-uikit-engine@2.4.0)(lodash@4.17.21)(vue@3.5.11) + version: 1.0.1(@tencentcloud/chat-uikit-engine@2.5.1)(lodash@4.17.21)(vue@3.5.11) '@bole-12333/customer-chat': specifier: latest version: 1.0.3(@bole-12333/chat-kit@1.0.1)(@tiptap/core@2.1.13)(@tiptap/extension-document@2.1.13)(@tiptap/extension-image@2.1.13)(@tiptap/extension-mention@2.1.13)(@tiptap/extension-paragraph@2.1.13)(@tiptap/extension-placeholder@2.1.13)(@tiptap/extension-text@2.1.13)(@tiptap/pm@2.1.13)(@tiptap/suggestion@2.1.13)(dayjs@1.11.6)(vue@3.5.11) '@bole-core/components': - specifier: latest - version: 1.3.10(@bole-core/core@1.0.7)(@bole-core/sass-utils@0.0.1)(@element-plus/icons-vue@2.3.1)(@tanstack/vue-query@4.37.1)(@videojs-player/vue@1.0.0)(@vueuse/core@11.1.0)(@vueuse/shared@11.1.0)(dayjs@1.11.6)(element-plus@2.9.1)(lodash@4.17.21)(mitt@3.0.0)(senin-help@1.0.5)(senin-vue@1.0.4)(video.js@7.20.3)(vue-component-type-helpers@2.1.6)(vue@3.5.11) + specifier: ^1.3.13 + version: 1.3.13(@bole-core/core@1.0.7)(@bole-core/sass-utils@0.0.1)(@element-plus/icons-vue@2.3.1)(@tanstack/vue-query@4.37.1)(@videojs-player/vue@1.0.0)(@vueuse/core@11.1.0)(@vueuse/shared@11.1.0)(dayjs@1.11.6)(element-plus@2.9.1)(lodash@4.17.21)(mitt@3.0.0)(senin-help@1.0.5)(senin-vue@1.0.4)(video.js@7.20.3)(vue-component-type-helpers@2.1.6)(vue@3.5.11) '@bole-core/core': - specifier: latest + specifier: ^1.0.7 version: 1.0.7(@ywwlmm/openapi@0.0.3)(ali-oss@6.21.0)(axios@1.7.7)(dayjs@1.11.6)(element-plus@2.9.1)(file-saver@2.0.5)(jszip@3.10.1)(lodash@4.17.21)(senior-request@1.0.1)(vue-router@4.4.5)(vue@3.5.11)(xlsx-style@0.8.13)(xlsx@0.18.5) '@bole-core/pretty-layout': specifier: latest @@ -51,7 +51,7 @@ version: 3.1.5 '@tencentcloud/chat-uikit-vue': specifier: ^2.0.0 - version: 2.0.0(@tiptap/core@2.1.13)(@tiptap/extension-document@2.1.13)(@tiptap/extension-image@2.1.13)(@tiptap/extension-mention@2.1.13)(@tiptap/extension-paragraph@2.1.13)(@tiptap/extension-placeholder@2.1.13)(@tiptap/extension-text@2.1.13)(@tiptap/pm@2.1.13)(@tiptap/suggestion@2.1.13)(react-native@0.76.5)(react@19.0.0)(vue@3.5.11) + version: 2.0.0(@tiptap/core@2.1.13)(@tiptap/extension-document@2.1.13)(@tiptap/extension-image@2.1.13)(@tiptap/extension-mention@2.1.13)(@tiptap/extension-paragraph@2.1.13)(@tiptap/extension-placeholder@2.1.13)(@tiptap/extension-text@2.1.13)(@tiptap/pm@2.1.13)(@tiptap/suggestion@2.1.13)(vue@3.5.11) '@tencentcloud/tui-core': specifier: ^2.0.0 version: 2.0.0 @@ -328,8 +328,8 @@ specifier: ^4.6.4 version: 4.8.4 unplugin-auto-import: - specifier: ^0.18.3 - version: 0.18.3(@vueuse/core@11.1.0) + specifier: ^19.3.0 + version: 19.3.0(@vueuse/core@11.1.0) unplugin-icons: specifier: ^0.14.10 version: 0.14.12 @@ -972,43 +972,6 @@ - supports-color dev: false - /@babel/plugin-proposal-export-default-from@7.25.9(@babel/core@7.25.7): - resolution: {integrity: sha512-ykqgwNfSnNOB+C8fV5X4mG3AVmvu+WVxcaU9xHHtBb7PCrPeweMmPjGsn8eMaeJg6SJuoUuZENeeSWaarWqonQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.25.7 - '@babel/helper-plugin-utils': 7.25.9 - dev: false - - /@babel/plugin-proposal-nullish-coalescing-operator@7.18.6(@babel/core@7.25.7): - resolution: {integrity: sha512-wQxQzxYeJqHcfppzBDnm1yAY0jSRkUXR2z8RePZYrKwMKgMlE8+Z6LUno+bd6LvbGh8Gltvy74+9pIYkr+XkKA==} - engines: {node: '>=6.9.0'} - deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead. - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.25.7 - '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.25.7) - dev: false - - /@babel/plugin-proposal-optional-chaining@7.21.0(@babel/core@7.25.7): - resolution: {integrity: sha512-p4zeefM72gpmEe2fkUr/OnOXpWEf8nAgk7ZYVqqfFiyIG7oFfVZcCrU64hWn5xp4tQ9LkV4bTIa5rD0KANpKNA==} - engines: {node: '>=6.9.0'} - deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead. - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.25.7 - '@babel/helper-plugin-utils': 7.25.9 - '@babel/helper-skip-transparent-expression-wrappers': 7.25.9 - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.25.7) - transitivePeerDependencies: - - supports-color - dev: false - /@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(@babel/core@7.25.7): resolution: {integrity: sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w==} engines: {node: '>=6.9.0'} @@ -1016,72 +979,6 @@ '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.25.7 - - /@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.25.7): - resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.25.7 - '@babel/helper-plugin-utils': 7.25.9 - dev: false - - /@babel/plugin-syntax-bigint@7.8.3(@babel/core@7.25.7): - resolution: {integrity: sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.25.7 - '@babel/helper-plugin-utils': 7.25.9 - dev: false - - /@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.25.7): - resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.25.7 - '@babel/helper-plugin-utils': 7.25.9 - dev: false - - /@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.25.7): - resolution: {integrity: sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.25.7 - '@babel/helper-plugin-utils': 7.25.9 - dev: false - - /@babel/plugin-syntax-dynamic-import@7.8.3(@babel/core@7.25.7): - resolution: {integrity: sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.25.7 - '@babel/helper-plugin-utils': 7.25.9 - dev: false - - /@babel/plugin-syntax-export-default-from@7.25.9(@babel/core@7.25.7): - resolution: {integrity: sha512-9MhJ/SMTsVqsd69GyQg89lYR4o9T+oDGv5F6IsigxxqFVOyR/IflDLYP8WDI1l8fkhNGGktqkvL5qwNCtGEpgQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.25.7 - '@babel/helper-plugin-utils': 7.25.9 - dev: false - - /@babel/plugin-syntax-flow@7.26.0(@babel/core@7.25.7): - resolution: {integrity: sha512-B+O2DnPc0iG+YXFqOxv2WNuNU97ToWjOomUQ78DouOENWUaM5sVrmet9mcomUGQFwpJd//gvUagXBSdzO1fRKg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.25.7 - '@babel/helper-plugin-utils': 7.25.9 - dev: false /@babel/plugin-syntax-import-assertions@7.25.7(@babel/core@7.25.7): resolution: {integrity: sha512-ZvZQRmME0zfJnDQnVBKYzHxXT7lYBB3Revz1GuS7oLXWMgqUPX4G+DDbT30ICClht9WKV34QVrZhSw6WdklwZQ==} @@ -1101,24 +998,6 @@ '@babel/core': 7.25.7 '@babel/helper-plugin-utils': 7.25.7 - /@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.25.7): - resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.25.7 - '@babel/helper-plugin-utils': 7.25.9 - dev: false - - /@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.25.7): - resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.25.7 - '@babel/helper-plugin-utils': 7.25.9 - dev: false - /@babel/plugin-syntax-jsx@7.24.7(@babel/core@7.25.7): resolution: {integrity: sha512-6ddciUPe/mpMnOKv/U+RSd2vvVy+Yw/JfBB0ZHYjEZt9NLHmCUylNYlsbqCCS1Bffjlb0fCwC9Vqz+sBz6PsiQ==} engines: {node: '>=6.9.0'} @@ -1131,80 +1010,6 @@ /@babel/plugin-syntax-jsx@7.25.9(@babel/core@7.25.7): resolution: {integrity: sha512-ld6oezHQMZsZfp6pWtbjaNDF2tiiCYYDqQszHt5VV437lewP9aSi2Of99CK0D0XB21k7FLgnLcmQKyKzynfeAA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.25.7 - '@babel/helper-plugin-utils': 7.25.9 - dev: false - - /@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.25.7): - resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.25.7 - '@babel/helper-plugin-utils': 7.25.9 - dev: false - - /@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.25.7): - resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.25.7 - '@babel/helper-plugin-utils': 7.25.9 - dev: false - - /@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.25.7): - resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.25.7 - '@babel/helper-plugin-utils': 7.25.9 - dev: false - - /@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.25.7): - resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.25.7 - '@babel/helper-plugin-utils': 7.25.9 - dev: false - - /@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.25.7): - resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.25.7 - '@babel/helper-plugin-utils': 7.25.9 - dev: false - - /@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.25.7): - resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.25.7 - '@babel/helper-plugin-utils': 7.25.9 - dev: false - - /@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.25.7): - resolution: {integrity: sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.25.7 - '@babel/helper-plugin-utils': 7.25.9 - dev: false - - /@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.25.7): - resolution: {integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 @@ -1413,17 +1218,6 @@ dependencies: '@babel/core': 7.25.7 '@babel/helper-plugin-utils': 7.25.7 - - /@babel/plugin-transform-flow-strip-types@7.25.9(@babel/core@7.25.7): - resolution: {integrity: sha512-/VVukELzPDdci7UUsWQaSkhgnjIWXnIyRpM02ldxaVoFK96c41So8JcKT3m0gYjyv7j5FNPGS5vfELrWalkbDA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.25.7 - '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-syntax-flow': 7.26.0(@babel/core@7.25.7) - dev: false /@babel/plugin-transform-for-of@7.25.7(@babel/core@7.25.7): resolution: {integrity: sha512-n/TaiBGJxYFWvpJDfsxSj9lEEE44BFM1EPGz4KEiTipTgkoFVVcCmzAL3qA7fdQU96dpo4gGf5HBx/KnDvqiHw==} @@ -1683,26 +1477,6 @@ - supports-color dev: false - /@babel/plugin-transform-react-jsx-self@7.25.9(@babel/core@7.25.7): - resolution: {integrity: sha512-y8quW6p0WHkEhmErnfe58r7x0A70uKphQm8Sp8cV7tjNQwK56sNVK0M73LK3WuYmsuyrftut4xAkjjgU0twaMg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.25.7 - '@babel/helper-plugin-utils': 7.25.9 - dev: false - - /@babel/plugin-transform-react-jsx-source@7.25.9(@babel/core@7.25.7): - resolution: {integrity: sha512-+iqjT8xmXhhYv4/uiYd8FNQsraMFZIfxVSqxxVSZP0WbbSAWvBXAul0m/zu+7Vv4O/3WtApy9pmaTMiumEZgfg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.25.7 - '@babel/helper-plugin-utils': 7.25.9 - dev: false - /@babel/plugin-transform-react-jsx@7.25.9(@babel/core@7.25.7): resolution: {integrity: sha512-s5XwpQYCqGerXl+Pu6VDL3x0j2d82eiV77UJ8a2mDHAW7j9SWRqQ2y1fNo1Z74CdcYipl5Z41zvjj4Nfzq36rw==} engines: {node: '>=6.9.0'} @@ -1748,23 +1522,6 @@ dependencies: '@babel/core': 7.25.7 '@babel/helper-plugin-utils': 7.25.7 - - /@babel/plugin-transform-runtime@7.25.9(@babel/core@7.25.7): - resolution: {integrity: sha512-nZp7GlEl+yULJrClz0SwHPqir3lc0zsPrDHQUcxGspSL7AKrexNSEfTbfqnDNJUO13bgKyfuOLMF8Xqtu8j3YQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.25.7 - '@babel/helper-module-imports': 7.25.9 - '@babel/helper-plugin-utils': 7.25.9 - babel-plugin-polyfill-corejs2: 0.4.11(@babel/core@7.25.7) - babel-plugin-polyfill-corejs3: 0.10.6(@babel/core@7.25.7) - babel-plugin-polyfill-regenerator: 0.6.2(@babel/core@7.25.7) - semver: 6.3.1 - transitivePeerDependencies: - - supports-color - dev: false /@babel/plugin-transform-shorthand-properties@7.25.7(@babel/core@7.25.7): resolution: {integrity: sha512-uBbxNwimHi5Bv3hUccmOFlUy3ATO6WagTApenHz9KzoIdn0XeACdB12ZJ4cjhuB2WSi80Ez2FWzJnarccriJeA==} @@ -1962,18 +1719,6 @@ transitivePeerDependencies: - supports-color - /@babel/preset-flow@7.25.9(@babel/core@7.25.7): - resolution: {integrity: sha512-EASHsAhE+SSlEzJ4bzfusnXSHiU+JfAYzj+jbw2vgQKgq5HrUr8qs+vgtiEL5dOH6sEweI+PNt2D7AqrDSHyqQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.25.7 - '@babel/helper-plugin-utils': 7.25.9 - '@babel/helper-validator-option': 7.25.9 - '@babel/plugin-transform-flow-strip-types': 7.25.9(@babel/core@7.25.7) - dev: false - /@babel/preset-modules@0.1.6-no-external-plugins(@babel/core@7.25.7): resolution: {integrity: sha512-HrcgcIESLm9aIR842yhJ5RWan/gebQUJ6E/E5+rf0y9o6oj7w0Br+sWuL6kEQ/o/AdfvR1Je9jG18/gnpwjEyA==} peerDependencies: @@ -2015,20 +1760,6 @@ '@babel/plugin-transform-typescript': 7.26.3(@babel/core@7.25.7) transitivePeerDependencies: - supports-color - dev: false - - /@babel/register@7.25.9(@babel/core@7.25.7): - resolution: {integrity: sha512-8D43jXtGsYmEeDvm4MWHYUpWf8iiXgWYx3fW7E7Wb7Oe6FWqJPl5K6TuFW0dOwNZzEE5rjlaSJYH9JjrUKJszA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.25.7 - clone-deep: 4.0.1 - find-cache-dir: 2.1.0 - make-dir: 2.1.0 - pirates: 4.0.6 - source-map-support: 0.5.21 dev: false /@babel/regjsgen@0.8.0: @@ -2116,14 +1847,14 @@ '@babel/helper-validator-identifier': 7.25.9 dev: false - /@bole-12333/chat-kit@1.0.1(@tencentcloud/chat-uikit-engine@2.4.0)(lodash@4.17.21)(vue@3.5.11): + /@bole-12333/chat-kit@1.0.1(@tencentcloud/chat-uikit-engine@2.5.1)(lodash@4.17.21)(vue@3.5.11): resolution: {integrity: sha512-yeSh4XLagaM+uNZRdcG49mhDJO3UbYEpIYZS4Lk303ROnTwxuZyuh5jkoflnCFwWN3Ib3AolfQy999oOqF012A==} peerDependencies: '@tencentcloud/chat-uikit-engine': '*' lodash: '*' vue: 3.5.11 dependencies: - '@tencentcloud/chat-uikit-engine': 2.4.0 + '@tencentcloud/chat-uikit-engine': 2.5.1 lodash: 4.17.21 vue: 3.5.11(typescript@4.8.4) dev: false @@ -2144,7 +1875,7 @@ dayjs: '*' vue: 3.5.11 dependencies: - '@bole-12333/chat-kit': 1.0.1(@tencentcloud/chat-uikit-engine@2.4.0)(lodash@4.17.21)(vue@3.5.11) + '@bole-12333/chat-kit': 1.0.1(@tencentcloud/chat-uikit-engine@2.5.1)(lodash@4.17.21)(vue@3.5.11) '@tiptap/core': 2.1.13(@tiptap/pm@2.1.13) '@tiptap/extension-document': 2.1.13(@tiptap/core@2.1.13) '@tiptap/extension-image': 2.1.13(@tiptap/core@2.1.13) @@ -2158,8 +1889,8 @@ vue: 3.5.11(typescript@4.8.4) dev: false - /@bole-core/components@1.3.10(@bole-core/core@1.0.7)(@bole-core/sass-utils@0.0.1)(@element-plus/icons-vue@2.3.1)(@tanstack/vue-query@4.37.1)(@videojs-player/vue@1.0.0)(@vueuse/core@11.1.0)(@vueuse/shared@11.1.0)(dayjs@1.11.6)(element-plus@2.9.1)(lodash@4.17.21)(mitt@3.0.0)(senin-help@1.0.5)(senin-vue@1.0.4)(video.js@7.20.3)(vue-component-type-helpers@2.1.6)(vue@3.5.11): - resolution: {integrity: sha512-SRE33nhD4i8MQVvBGbCGH++RfozRM74ctmkhCOCeCoZnlKSqI/i9UlYVrg1Yre5P9TLjh7vEXmSI4TlALrTNXQ==} + /@bole-core/components@1.3.13(@bole-core/core@1.0.7)(@bole-core/sass-utils@0.0.1)(@element-plus/icons-vue@2.3.1)(@tanstack/vue-query@4.37.1)(@videojs-player/vue@1.0.0)(@vueuse/core@11.1.0)(@vueuse/shared@11.1.0)(dayjs@1.11.6)(element-plus@2.9.1)(lodash@4.17.21)(mitt@3.0.0)(senin-help@1.0.5)(senin-vue@1.0.4)(video.js@7.20.3)(vue-component-type-helpers@2.1.6)(vue@3.5.11): + resolution: {integrity: sha512-14vVgnE0syul+Zdn1IRdRQYjfbP0WdyTW4QQPN8+5eoWZ/b9AL/0lWt15otFFdfUcOf7/uTtkPm8bsw4dOgphg==} peerDependencies: '@bole-core/core': '*' '@bole-core/sass-utils': '*' @@ -3327,98 +3058,6 @@ wrap-ansi-cjs: /wrap-ansi@7.0.0 dev: true - /@isaacs/ttlcache@1.4.1: - resolution: {integrity: sha512-RQgQ4uQ+pLbqXfOmieB91ejmLwvSgv9nLx6sT6sD83s7umBypgg+OIBOBbEUiJXrfpnp9j0mRhYYdzp9uqq3lA==} - engines: {node: '>=12'} - dev: false - - /@istanbuljs/load-nyc-config@1.1.0: - resolution: {integrity: sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==} - engines: {node: '>=8'} - dependencies: - camelcase: 5.3.1 - find-up: 4.1.0 - get-package-type: 0.1.0 - js-yaml: 3.14.1 - resolve-from: 5.0.0 - dev: false - - /@istanbuljs/schema@0.1.3: - resolution: {integrity: sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==} - engines: {node: '>=8'} - dev: false - - /@jest/create-cache-key-function@29.7.0: - resolution: {integrity: sha512-4QqS3LY5PBmTRHj9sAg1HLoPzqAI0uOX6wI/TRqHIcOxlFidy6YEmCQJk6FSZjNLGCeubDMfmkWL+qaLKhSGQA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/types': 29.6.3 - dev: false - - /@jest/environment@29.7.0: - resolution: {integrity: sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/fake-timers': 29.7.0 - '@jest/types': 29.6.3 - '@types/node': 18.7.18 - jest-mock: 29.7.0 - dev: false - - /@jest/fake-timers@29.7.0: - resolution: {integrity: sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/types': 29.6.3 - '@sinonjs/fake-timers': 10.3.0 - '@types/node': 18.7.18 - jest-message-util: 29.7.0 - jest-mock: 29.7.0 - jest-util: 29.7.0 - dev: false - - /@jest/schemas@29.6.3: - resolution: {integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@sinclair/typebox': 0.27.8 - dev: false - - /@jest/transform@29.7.0: - resolution: {integrity: sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@babel/core': 7.25.7 - '@jest/types': 29.6.3 - '@jridgewell/trace-mapping': 0.3.25 - babel-plugin-istanbul: 6.1.1 - chalk: 4.1.2 - convert-source-map: 2.0.0 - fast-json-stable-stringify: 2.1.0 - graceful-fs: 4.2.11 - jest-haste-map: 29.7.0 - jest-regex-util: 29.6.3 - jest-util: 29.7.0 - micromatch: 4.0.5 - pirates: 4.0.6 - slash: 3.0.0 - write-file-atomic: 4.0.2 - transitivePeerDependencies: - - supports-color - dev: false - - /@jest/types@29.6.3: - resolution: {integrity: sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/schemas': 29.6.3 - '@types/istanbul-lib-coverage': 2.0.6 - '@types/istanbul-reports': 3.0.4 - '@types/node': 18.7.18 - '@types/yargs': 17.0.33 - chalk: 4.1.2 - dev: false - /@jridgewell/gen-mapping@0.1.1: resolution: {integrity: sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==} engines: {node: '>=6.0.0'} @@ -3447,6 +3086,7 @@ dependencies: '@jridgewell/gen-mapping': 0.3.5 '@jridgewell/trace-mapping': 0.3.25 + dev: true /@jridgewell/sourcemap-codec@1.5.0: resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==} @@ -3783,196 +3423,6 @@ config-chain: 1.1.13 dev: true - /@react-native/assets-registry@0.76.5: - resolution: {integrity: sha512-MN5dasWo37MirVcKWuysRkRr4BjNc81SXwUtJYstwbn8oEkfnwR9DaqdDTo/hHOnTdhafffLIa2xOOHcjDIGEw==} - engines: {node: '>=18'} - dev: false - - /@react-native/babel-plugin-codegen@0.76.5(@babel/preset-env@7.25.8): - resolution: {integrity: sha512-xe7HSQGop4bnOLMaXt0aU+rIatMNEQbz242SDl8V9vx5oOTI0VbZV9yLy6yBc6poUlYbcboF20YVjoRsxX4yww==} - engines: {node: '>=18'} - dependencies: - '@react-native/codegen': 0.76.5(@babel/preset-env@7.25.8) - transitivePeerDependencies: - - '@babel/preset-env' - - supports-color - dev: false - - /@react-native/babel-preset@0.76.5(@babel/core@7.25.7)(@babel/preset-env@7.25.8): - resolution: {integrity: sha512-1Nu5Um4EogOdppBLI4pfupkteTjWfmI0hqW8ezWTg7Bezw0FtBj8yS8UYVd3wTnDFT9A5mA2VNoNUqomJnvj2A==} - engines: {node: '>=18'} - peerDependencies: - '@babel/core': '*' - dependencies: - '@babel/core': 7.25.7 - '@babel/plugin-proposal-export-default-from': 7.25.9(@babel/core@7.25.7) - '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.25.7) - '@babel/plugin-syntax-export-default-from': 7.25.9(@babel/core@7.25.7) - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.25.7) - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.25.7) - '@babel/plugin-transform-arrow-functions': 7.25.7(@babel/core@7.25.7) - '@babel/plugin-transform-async-generator-functions': 7.25.8(@babel/core@7.25.7) - '@babel/plugin-transform-async-to-generator': 7.25.7(@babel/core@7.25.7) - '@babel/plugin-transform-block-scoping': 7.25.7(@babel/core@7.25.7) - '@babel/plugin-transform-class-properties': 7.25.7(@babel/core@7.25.7) - '@babel/plugin-transform-classes': 7.25.7(@babel/core@7.25.7) - '@babel/plugin-transform-computed-properties': 7.25.7(@babel/core@7.25.7) - '@babel/plugin-transform-destructuring': 7.25.7(@babel/core@7.25.7) - '@babel/plugin-transform-flow-strip-types': 7.25.9(@babel/core@7.25.7) - '@babel/plugin-transform-for-of': 7.25.7(@babel/core@7.25.7) - '@babel/plugin-transform-function-name': 7.25.7(@babel/core@7.25.7) - '@babel/plugin-transform-literals': 7.25.7(@babel/core@7.25.7) - '@babel/plugin-transform-logical-assignment-operators': 7.25.8(@babel/core@7.25.7) - '@babel/plugin-transform-modules-commonjs': 7.25.7(@babel/core@7.25.7) - '@babel/plugin-transform-named-capturing-groups-regex': 7.25.7(@babel/core@7.25.7) - '@babel/plugin-transform-nullish-coalescing-operator': 7.25.8(@babel/core@7.25.7) - '@babel/plugin-transform-numeric-separator': 7.25.8(@babel/core@7.25.7) - '@babel/plugin-transform-object-rest-spread': 7.25.8(@babel/core@7.25.7) - '@babel/plugin-transform-optional-catch-binding': 7.25.8(@babel/core@7.25.7) - '@babel/plugin-transform-optional-chaining': 7.25.8(@babel/core@7.25.7) - '@babel/plugin-transform-parameters': 7.25.7(@babel/core@7.25.7) - '@babel/plugin-transform-private-methods': 7.25.7(@babel/core@7.25.7) - '@babel/plugin-transform-private-property-in-object': 7.25.8(@babel/core@7.25.7) - '@babel/plugin-transform-react-display-name': 7.24.7(@babel/core@7.25.7) - '@babel/plugin-transform-react-jsx': 7.25.9(@babel/core@7.25.7) - '@babel/plugin-transform-react-jsx-self': 7.25.9(@babel/core@7.25.7) - '@babel/plugin-transform-react-jsx-source': 7.25.9(@babel/core@7.25.7) - '@babel/plugin-transform-regenerator': 7.25.7(@babel/core@7.25.7) - '@babel/plugin-transform-runtime': 7.25.9(@babel/core@7.25.7) - '@babel/plugin-transform-shorthand-properties': 7.25.7(@babel/core@7.25.7) - '@babel/plugin-transform-spread': 7.25.7(@babel/core@7.25.7) - '@babel/plugin-transform-sticky-regex': 7.25.7(@babel/core@7.25.7) - '@babel/plugin-transform-typescript': 7.26.3(@babel/core@7.25.7) - '@babel/plugin-transform-unicode-regex': 7.25.7(@babel/core@7.25.7) - '@babel/template': 7.25.9 - '@react-native/babel-plugin-codegen': 0.76.5(@babel/preset-env@7.25.8) - babel-plugin-syntax-hermes-parser: 0.25.1 - babel-plugin-transform-flow-enums: 0.0.2(@babel/core@7.25.7) - react-refresh: 0.14.2 - transitivePeerDependencies: - - '@babel/preset-env' - - supports-color - dev: false - - /@react-native/codegen@0.76.5(@babel/preset-env@7.25.8): - resolution: {integrity: sha512-FoZ9VRQ5MpgtDAnVo1rT9nNRfjnWpE40o1GeJSDlpUMttd36bVXvsDm8W/NhX8BKTWXSX+CPQJsRcvN1UPYGKg==} - engines: {node: '>=18'} - peerDependencies: - '@babel/preset-env': ^7.1.6 - dependencies: - '@babel/parser': 7.26.3 - '@babel/preset-env': 7.25.8(@babel/core@7.25.7) - glob: 7.2.3 - hermes-parser: 0.23.1 - invariant: 2.2.4 - jscodeshift: 0.14.0(@babel/preset-env@7.25.8) - mkdirp: 0.5.6 - nullthrows: 1.1.1 - yargs: 17.7.2 - transitivePeerDependencies: - - supports-color - dev: false - - /@react-native/community-cli-plugin@0.76.5(@babel/core@7.25.7)(@babel/preset-env@7.25.8): - resolution: {integrity: sha512-3MKMnlU0cZOWlMhz5UG6WqACJiWUrE3XwBEumzbMmZw3Iw3h+fIsn+7kLLE5EhzqLt0hg5Y4cgYFi4kOaNgq+g==} - engines: {node: '>=18'} - peerDependencies: - '@react-native-community/cli-server-api': '*' - peerDependenciesMeta: - '@react-native-community/cli-server-api': - optional: true - dependencies: - '@react-native/dev-middleware': 0.76.5 - '@react-native/metro-babel-transformer': 0.76.5(@babel/core@7.25.7)(@babel/preset-env@7.25.8) - chalk: 4.1.2 - execa: 5.1.1 - invariant: 2.2.4 - metro: 0.81.0 - metro-config: 0.81.0 - metro-core: 0.81.0 - node-fetch: 2.6.1 - readline: 1.3.0 - semver: 7.6.3 - transitivePeerDependencies: - - '@babel/core' - - '@babel/preset-env' - - bufferutil - - supports-color - - utf-8-validate - dev: false - - /@react-native/debugger-frontend@0.76.5: - resolution: {integrity: sha512-5gtsLfBaSoa9WP8ToDb/8NnDBLZjv4sybQQj7rDKytKOdsXm3Pr2y4D7x7GQQtP1ZQRqzU0X0OZrhRz9xNnOqA==} - engines: {node: '>=18'} - dev: false - - /@react-native/dev-middleware@0.76.5: - resolution: {integrity: sha512-f8eimsxpkvMgJia7POKoUu9uqjGF6KgkxX4zqr/a6eoR1qdEAWUd6PonSAqtag3PAqvEaJpB99gLH2ZJI1nDGg==} - engines: {node: '>=18'} - dependencies: - '@isaacs/ttlcache': 1.4.1 - '@react-native/debugger-frontend': 0.76.5 - chrome-launcher: 0.15.2 - chromium-edge-launcher: 0.2.0 - connect: 3.7.0 - debug: 2.6.9 - nullthrows: 1.1.1 - open: 7.4.2 - selfsigned: 2.4.1 - serve-static: 1.16.2 - ws: 6.2.3 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - dev: false - - /@react-native/gradle-plugin@0.76.5: - resolution: {integrity: sha512-7KSyD0g0KhbngITduC8OABn0MAlJfwjIdze7nA4Oe1q3R7qmAv+wQzW+UEXvPah8m1WqFjYTkQwz/4mK3XrQGw==} - engines: {node: '>=18'} - dev: false - - /@react-native/js-polyfills@0.76.5: - resolution: {integrity: sha512-ggM8tcKTcaqyKQcXMIvcB0vVfqr9ZRhWVxWIdiFO1mPvJyS6n+a+lLGkgQAyO8pfH0R1qw6K9D0nqbbDo865WQ==} - engines: {node: '>=18'} - dev: false - - /@react-native/metro-babel-transformer@0.76.5(@babel/core@7.25.7)(@babel/preset-env@7.25.8): - resolution: {integrity: sha512-Cm9G5Sg5BDty3/MKa3vbCAJtT3YHhlEaPlQALLykju7qBS+pHZV9bE9hocfyyvc5N/osTIGWxG5YOfqTeMu1oQ==} - engines: {node: '>=18'} - peerDependencies: - '@babel/core': '*' - dependencies: - '@babel/core': 7.25.7 - '@react-native/babel-preset': 0.76.5(@babel/core@7.25.7)(@babel/preset-env@7.25.8) - hermes-parser: 0.23.1 - nullthrows: 1.1.1 - transitivePeerDependencies: - - '@babel/preset-env' - - supports-color - dev: false - - /@react-native/normalize-colors@0.76.5: - resolution: {integrity: sha512-6QRLEok1r55gLqj+94mEWUENuU5A6wsr2OoXpyq/CgQ7THWowbHtru/kRGRr6o3AQXrVnZheR60JNgFcpNYIug==} - dev: false - - /@react-native/virtualized-lists@0.76.5(react-native@0.76.5)(react@19.0.0): - resolution: {integrity: sha512-M/fW1fTwxrHbcx0OiVOIxzG6rKC0j9cR9Csf80o77y1Xry0yrNPpAlf8D1ev3LvHsiAUiRNFlauoPtodrs2J1A==} - engines: {node: '>=18'} - peerDependencies: - '@types/react': ^18.2.6 - react: '*' - react-native: '*' - peerDependenciesMeta: - '@types/react': - optional: true - dependencies: - invariant: 2.2.4 - nullthrows: 1.1.1 - react: 19.0.0 - react-native: 0.76.5(@babel/core@7.25.7)(@babel/preset-env@7.25.8)(react@19.0.0) - dev: false - /@release-it/conventional-changelog@8.0.2(release-it@17.8.2): resolution: {integrity: sha512-WpnWWRr7O0JeLoiejLrPEWnnwFhCscBn1wBTAXeitiz2/Ifaol0s+t8otf/HYq/OiQOri2iH8d0CnVb72tBdIQ==} engines: {node: ^18.18.0 || ^20.9.0 || ^22.0.0} @@ -4177,26 +3627,10 @@ dev: true optional: true - /@sinclair/typebox@0.27.8: - resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} - dev: false - /@sindresorhus/merge-streams@2.3.0: resolution: {integrity: sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==} engines: {node: '>=18'} dev: true - - /@sinonjs/commons@3.0.1: - resolution: {integrity: sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==} - dependencies: - type-detect: 4.0.8 - dev: false - - /@sinonjs/fake-timers@10.3.0: - resolution: {integrity: sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==} - dependencies: - '@sinonjs/commons': 3.0.1 - dev: false /@stylelint/postcss-css-in-js@0.37.3(postcss-syntax@0.36.2)(postcss@7.0.39): resolution: {integrity: sha512-scLk3cSH1H9KggSniseb2KNAU5D9FWc3H7BxCSAIdtU9OWIyw0zkEZ9qEKHryRM+SExYXRKNb7tOOVNAsQ3iwg==} @@ -4258,42 +3692,34 @@ vue-demi: 0.13.11(vue@3.5.11) dev: false - /@tencentcloud/call-engine-js@3.2.0(react-native@0.76.5)(react@19.0.0): + /@tencentcloud/call-engine-js@3.2.0: resolution: {integrity: sha512-IcDgkD2IICHkQh9WkeWsfwL9gecok89wIEFJPTVVFhC7fTLe4obOCI42TV4n+1sREm8BdGkAYvOurGf6CpXCng==} dependencies: - '@tencentcloud/chat': 3.5.2(react-native@0.76.5)(react@19.0.0) + '@tencentcloud/chat': 3.5.7 core-js: 3.38.1 eventemitter3: 4.0.7 rtc-detect: 0.0.5 trtc-cloud-js-sdk: 2.9.3 tuikit-logger: 0.0.4-beta.1 - transitivePeerDependencies: - - react - - react-native dev: false - /@tencentcloud/call-uikit-vue2.6@4.0.8(react-native@0.76.5)(react@19.0.0)(vue@3.5.11): + /@tencentcloud/call-uikit-vue2.6@4.0.8(vue@3.5.11): resolution: {integrity: sha512-lRxCQ+V684FahkBWEhHhq1mOXgLJPkt/XEfNayYqQmzP8X01FlxLr+xJshnBbi6Hs6B/R1ak0d5vk8EsniQr1g==} dependencies: - '@tencentcloud/call-engine-js': 3.2.0(react-native@0.76.5)(react@19.0.0) - '@tencentcloud/chat': 3.5.2(react-native@0.76.5)(react@19.0.0) + '@tencentcloud/call-engine-js': 3.2.0 + '@tencentcloud/chat': 3.5.7 '@tencentcloud/tui-core': 2.5.1 '@vue/composition-api': 1.7.2(vue@3.5.11) transitivePeerDependencies: - - react - - react-native - vue dev: false - /@tencentcloud/call-uikit-vue2@4.0.8(react-native@0.76.5)(react@19.0.0): + /@tencentcloud/call-uikit-vue2@4.0.8: resolution: {integrity: sha512-vwWv/Wd7349EhI1JTCPpL4ZgHFrxAyuU5v8U2aqzElQO3Uv2HHAowr7DkbFfzbAm0oDvcXWBqwBcb7rDvM1h7w==} dependencies: - '@tencentcloud/call-engine-js': 3.2.0(react-native@0.76.5)(react@19.0.0) - '@tencentcloud/chat': 3.5.2(react-native@0.76.5)(react@19.0.0) + '@tencentcloud/call-engine-js': 3.2.0 + '@tencentcloud/chat': 3.5.7 '@tencentcloud/tui-core': 2.5.1 - transitivePeerDependencies: - - react - - react-native dev: false /@tencentcloud/call-uikit-vue@3.1.5: @@ -4303,23 +3729,12 @@ tuicall-engine-webrtc: 3.1.7 dev: false - /@tencentcloud/call-uikit-vue@4.0.8(react-native@0.76.5)(react@19.0.0): + /@tencentcloud/call-uikit-vue@4.0.8: resolution: {integrity: sha512-eRq0yfhojCJYpywJ2WhRf0UI+oNM5EPOc3F6wskkvHasoySp0NdxwlusX3LAq0WevnxCJl3xZD6fPMnzpndqjQ==} dependencies: - '@tencentcloud/call-engine-js': 3.2.0(react-native@0.76.5)(react@19.0.0) - '@tencentcloud/chat': 3.5.2(react-native@0.76.5)(react@19.0.0) - '@tencentcloud/tui-core': 2.5.1 - transitivePeerDependencies: - - react - - react-native - dev: false - - /@tencentcloud/chat-uikit-engine@2.4.0: - resolution: {integrity: sha512-zE+bygEROaqgeMXXO+X2+2x8JH55mnb9c1sYQVQ507FlFT0maHxEQPOq8/EZBWowUDDlYoWbHh1EBAXEAI3dgA==} - dependencies: + '@tencentcloud/call-engine-js': 3.2.0 '@tencentcloud/chat': 3.5.7 - tim-profanity-filter-plugin: 1.1.0 - tim-upload-plugin: 1.4.2 + '@tencentcloud/tui-core': 2.5.1 dev: false /@tencentcloud/chat-uikit-engine@2.5.1: @@ -4327,10 +3742,10 @@ dependencies: '@tencentcloud/chat': 3.5.7 tim-profanity-filter-plugin: 1.1.0 - tim-upload-plugin: 1.4.2 + tim-upload-plugin: 1.4.3 dev: false - /@tencentcloud/chat-uikit-vue@2.0.0(@tiptap/core@2.1.13)(@tiptap/extension-document@2.1.13)(@tiptap/extension-image@2.1.13)(@tiptap/extension-mention@2.1.13)(@tiptap/extension-paragraph@2.1.13)(@tiptap/extension-placeholder@2.1.13)(@tiptap/extension-text@2.1.13)(@tiptap/pm@2.1.13)(@tiptap/suggestion@2.1.13)(react-native@0.76.5)(react@19.0.0)(vue@3.5.11): + /@tencentcloud/chat-uikit-vue@2.0.0(@tiptap/core@2.1.13)(@tiptap/extension-document@2.1.13)(@tiptap/extension-image@2.1.13)(@tiptap/extension-mention@2.1.13)(@tiptap/extension-paragraph@2.1.13)(@tiptap/extension-placeholder@2.1.13)(@tiptap/extension-text@2.1.13)(@tiptap/pm@2.1.13)(@tiptap/suggestion@2.1.13)(vue@3.5.11): resolution: {integrity: sha512-XgkcF0gE5GauGIqv98lYDlf1sY5WUsYeM3/VY1MVZoCZYVCwbh5T+JYYL64eIaqisHXHYYZsNgBPjdw/43ayvg==} peerDependencies: '@tiptap/core': ^2.0.0-beta.220 @@ -4343,9 +3758,9 @@ '@tiptap/pm': ^2.0.0-beta.220 '@tiptap/suggestion': ^2.0.0-beta.220 dependencies: - '@tencentcloud/call-uikit-vue': 4.0.8(react-native@0.76.5)(react@19.0.0) - '@tencentcloud/call-uikit-vue2': 4.0.8(react-native@0.76.5)(react@19.0.0) - '@tencentcloud/call-uikit-vue2.6': 4.0.8(react-native@0.76.5)(react@19.0.0)(vue@3.5.11) + '@tencentcloud/call-uikit-vue': 4.0.8 + '@tencentcloud/call-uikit-vue2': 4.0.8 + '@tencentcloud/call-uikit-vue2.6': 4.0.8(vue@3.5.11) '@tencentcloud/chat-uikit-engine': 2.5.1 '@tencentcloud/tui-core': 2.5.1 '@tencentcloud/tui-customer-service-plugin': 2.2.6(@tencentcloud/tui-core@2.5.1)(vue@3.5.11) @@ -4364,33 +3779,11 @@ vue-clipboard3: 2.0.0 transitivePeerDependencies: - '@vue/composition-api' - - react - - react-native - vue - dev: false - - /@tencentcloud/chat@3.5.2(react-native@0.76.5)(react@19.0.0): - resolution: {integrity: sha512-UuGswGE3jaPgAFHA5kMDASI4Vq5p3lzeK9YisN5kkl9dcxh7BKbxTp5qtD8Fy7tj4VcWbytCb6ytCufmThbDXA==} - dependencies: - '@tencentcloud/react-native-push': 1.2.0(react-native@0.76.5)(react@19.0.0) - '@tencentcloud/uni-app-push': 1.2.0 - transitivePeerDependencies: - - react - - react-native dev: false /@tencentcloud/chat@3.5.7: resolution: {integrity: sha512-uxACmaFPqV8jXcORBwVSHc0qgKvnHzRg9kC8kHAqCGbsnsm8525JwFzU6ByckGCNqNWUx/5W70EISYAboLuTvQ==} - dev: false - - /@tencentcloud/react-native-push@1.2.0(react-native@0.76.5)(react@19.0.0): - resolution: {integrity: sha512-/GI4J1LNnbCz1LxJ6WHtYhymoVg8ot5gASJ9o/YczgghynnZf7b9rfe2d8Z43YjhPog9Rx1Jfdqb3WVa8T7w0A==} - peerDependencies: - react: '*' - react-native: '>= 0.75' - dependencies: - react: 19.0.0 - react-native: 0.76.5(@babel/core@7.25.7)(@babel/preset-env@7.25.8)(react@19.0.0) dev: false /@tencentcloud/tui-core@2.0.0: @@ -4406,7 +3799,7 @@ dependencies: '@tencentcloud/chat': 3.5.7 tim-profanity-filter-plugin: 1.1.0 - tim-upload-plugin: 1.4.2 + tim-upload-plugin: 1.4.3 dev: false /@tencentcloud/tui-customer-service-plugin@2.2.6(@tencentcloud/tui-core@2.5.1)(vue@3.5.11): @@ -4423,11 +3816,6 @@ '@tencentcloud/universal-api': 2.4.0 marked: 4.0.0 vue: 3.5.11(typescript@4.8.4) - dev: false - - /@tencentcloud/uni-app-push@1.2.0: - resolution: {integrity: sha512-l+hTZ4IkfgTqVLkDMWaJyAdTSM6HArPZ1PYi/V7j21XwsIJh21bEBGQ6UwojuRlOIbQDuZ32o+ZkjcVn2Gj8HA==} - engines: {HBuilderX: ^3.6.8} dev: false /@tencentcloud/universal-api@2.4.0: @@ -4562,35 +3950,6 @@ resolution: {integrity: sha512-/AyemPZy93ZXGzEokMsoPFgjH37snpzH4X/fwans/n63HLaCleriCG3PyrkHCPkgHEc9vj9Uo6paqsBN3vJ3OA==} dev: true - /@types/babel__core@7.20.5: - resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} - dependencies: - '@babel/parser': 7.26.3 - '@babel/types': 7.26.3 - '@types/babel__generator': 7.6.8 - '@types/babel__template': 7.4.4 - '@types/babel__traverse': 7.20.6 - dev: false - - /@types/babel__generator@7.6.8: - resolution: {integrity: sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==} - dependencies: - '@babel/types': 7.26.3 - dev: false - - /@types/babel__template@7.4.4: - resolution: {integrity: sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==} - dependencies: - '@babel/parser': 7.26.3 - '@babel/types': 7.26.3 - dev: false - - /@types/babel__traverse@7.20.6: - resolution: {integrity: sha512-r1bzfrm0tomOI8g1SzvCaQHo6Lcv6zu0EA+W2kHrt8dyrHQxGzBBL4kdkzIS+jBMV+EYcMAEAqXqYaLJq5rOZg==} - dependencies: - '@babel/types': 7.26.3 - dev: false - /@types/eslint@7.29.0: resolution: {integrity: sha512-VNcvioYDH8/FxaeTKkM4/TiTwt6pBV9E3OfGmvaw8tPl0rrHCJ4Ll15HRT+pMiFAf/MLQvAzC+6RzUMEL9Ceng==} dependencies: @@ -4614,28 +3973,6 @@ dependencies: '@types/minimatch': 5.1.2 '@types/node': 18.7.18 - dev: false - - /@types/graceful-fs@4.1.9: - resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==} - dependencies: - '@types/node': 18.7.18 - dev: false - - /@types/istanbul-lib-coverage@2.0.6: - resolution: {integrity: sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==} - dev: false - - /@types/istanbul-lib-report@3.0.3: - resolution: {integrity: sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==} - dependencies: - '@types/istanbul-lib-coverage': 2.0.6 - dev: false - - /@types/istanbul-reports@3.0.4: - resolution: {integrity: sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==} - dependencies: - '@types/istanbul-lib-report': 3.0.3 dev: false /@types/js-cookie@3.0.2: @@ -4684,12 +4021,6 @@ resolution: {integrity: sha512-SXgrhajHG7boLv6oU93CcmdDm0HYRiceuz6b+7z+/2lCJPTWDv0V5YiwFHT2ejE4bQqgSXQiVPQYPWv7LGsK1g==} dev: true - /@types/node-forge@1.3.11: - resolution: {integrity: sha512-FQx220y22OKNTqaByeBGqHWYz4cl94tpcxeFdvBo3wjG6XPBuZ0BNgNZRV5J5TFmmcsJ4IzsLkmGRiQbnYsBEQ==} - dependencies: - '@types/node': 18.7.18 - dev: false - /@types/node@14.18.33: resolution: {integrity: sha512-qelS/Ra6sacc4loe/3MSjXNL1dNQ/GjxNHVzuChwMfmk7HuycRLVQN2qNY3XahK+fZc5E2szqQSKUyAF0E+2bg==} dev: true @@ -4718,10 +4049,6 @@ /@types/semver@7.5.8: resolution: {integrity: sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==} dev: true - - /@types/stack-utils@2.0.3: - resolution: {integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==} - dev: false /@types/svgo@2.6.4: resolution: {integrity: sha512-l4cmyPEckf8moNYHdJ+4wkHvFxjyW6ulm9l4YGaOxeyBWPhBOT0gvni1InpFPdzx1dKf/2s62qGITwxNWnPQng==} @@ -4769,16 +4096,6 @@ /@types/web-bluetooth@0.0.20: resolution: {integrity: sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==} - - /@types/yargs-parser@21.0.3: - resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==} - dev: false - - /@types/yargs@17.0.33: - resolution: {integrity: sha512-WpxBCKWPLr4xSsHgz511rFJAM+wS28w2zEO1QDNY5zM/S8ok70NNfztH0xwhqKyaK0OHCbN98LDAZuy1ctxDkA==} - dependencies: - '@types/yargs-parser': 21.0.3 - dev: false /@typescript-eslint/eslint-plugin@4.33.0(@typescript-eslint/parser@4.33.0)(eslint@7.32.0)(typescript@4.8.4): resolution: {integrity: sha512-aINiAxGVdOl1eJyVjaWn/YcVAq4Gi/Yo35qHGCnqbWVz61g39D0h23veY/MA0rFFGfxK7TySg2uwDeNv+JgVpg==} @@ -5907,21 +5224,6 @@ resolution: {integrity: sha512-RYTOHHdWipFUliRFMCS4X2Yn2X8M87V/OpSqWzKKOGhzqyUxzyVmhHDH9sAvG+ZuQf/TAOFsLCpMw09I1ufUnA==} dev: false - /abort-controller@3.0.0: - resolution: {integrity: sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==} - engines: {node: '>=6.5'} - dependencies: - event-target-shim: 5.0.1 - dev: false - - /accepts@1.3.8: - resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==} - engines: {node: '>= 0.6'} - dependencies: - mime-types: 2.1.35 - negotiator: 0.6.3 - dev: false - /acorn-jsx@5.3.2(acorn@7.4.1): resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} peerDependencies: @@ -5952,6 +5254,13 @@ resolution: {integrity: sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==} engines: {node: '>=0.4.0'} hasBin: true + dev: true + + /acorn@8.15.0: + resolution: {integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==} + engines: {node: '>=0.4.0'} + hasBin: true + dev: true /acorn@8.8.2: resolution: {integrity: sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==} @@ -6059,10 +5368,6 @@ resolution: {integrity: sha512-+mRmCTv6SbCmtYJCN4faJMNFVNN5EuCTTprDTAo7YzIGji2KADmakjVA3+8mVDkZ2Bf09vayB35lSQIex2+QaQ==} dev: false - /anser@1.4.10: - resolution: {integrity: sha512-hCv9AqTQ8ycjpSd3upOJd7vFwW1JaoYQ7tpham03GJ1ca8/65rqn0RpaWpItOAd6ylW9wAw6luXYPJIyPFVOww==} - dev: false - /ansi-align@3.0.1: resolution: {integrity: sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==} dependencies: @@ -6114,11 +5419,6 @@ engines: {node: '>=8'} dependencies: color-convert: 2.0.1 - - /ansi-styles@5.2.0: - resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==} - engines: {node: '>=10'} - dev: false /ansi-styles@6.2.1: resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==} @@ -6331,13 +5631,6 @@ tslib: 2.7.0 dev: true - /ast-types@0.15.2: - resolution: {integrity: sha512-c27loCv9QkZinsa5ProX751khO9DJl/AcB5c2KNtA6NRvHKS0PgLfcftz72KVq504vB0Gku5s2kUZzDBvQWvHg==} - engines: {node: '>=4'} - dependencies: - tslib: 2.7.0 - dev: false - /astral-regex@1.0.0: resolution: {integrity: sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==} engines: {node: '>=4'} @@ -6346,10 +5639,6 @@ /astral-regex@2.0.0: resolution: {integrity: sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==} engines: {node: '>=8'} - - /async-limiter@1.0.1: - resolution: {integrity: sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==} - dev: false /async-retry@1.3.3: resolution: {integrity: sha512-wfr/jstw9xNi/0teMHrRW7dsz3Lt5ARhYNZ2ewpadnhaIp5mbALhOAP+EAdsC7t4Z6wqsDVv9+W6gm1Dk9mEyw==} @@ -6453,55 +5742,6 @@ dequal: 2.0.3 dev: false - /babel-core@7.0.0-bridge.0(@babel/core@7.25.7): - resolution: {integrity: sha512-poPX9mZH/5CSanm50Q+1toVci6pv5KSRv/5TWCwtzQS5XEwn40BcCrgIeMFWP9CKKIniKXNxoIOnOq4VVlGXhg==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.25.7 - dev: false - - /babel-jest@29.7.0(@babel/core@7.25.7): - resolution: {integrity: sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - peerDependencies: - '@babel/core': ^7.8.0 - dependencies: - '@babel/core': 7.25.7 - '@jest/transform': 29.7.0 - '@types/babel__core': 7.20.5 - babel-plugin-istanbul: 6.1.1 - babel-preset-jest: 29.6.3(@babel/core@7.25.7) - chalk: 4.1.2 - graceful-fs: 4.2.11 - slash: 3.0.0 - transitivePeerDependencies: - - supports-color - dev: false - - /babel-plugin-istanbul@6.1.1: - resolution: {integrity: sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==} - engines: {node: '>=8'} - dependencies: - '@babel/helper-plugin-utils': 7.25.9 - '@istanbuljs/load-nyc-config': 1.1.0 - '@istanbuljs/schema': 0.1.3 - istanbul-lib-instrument: 5.2.1 - test-exclude: 6.0.0 - transitivePeerDependencies: - - supports-color - dev: false - - /babel-plugin-jest-hoist@29.6.3: - resolution: {integrity: sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@babel/template': 7.25.9 - '@babel/types': 7.26.3 - '@types/babel__core': 7.20.5 - '@types/babel__traverse': 7.20.6 - dev: false - /babel-plugin-polyfill-corejs2@0.4.11(@babel/core@7.25.7): resolution: {integrity: sha512-sMEJ27L0gRHShOh5G54uAAPaiCOygY/5ratXuiyb2G46FmlSpc9eFCzYVyDiPxfNbwzA7mYahmjQc5q+CZQ09Q==} peerDependencies: @@ -6535,60 +5775,6 @@ transitivePeerDependencies: - supports-color - /babel-plugin-syntax-hermes-parser@0.23.1: - resolution: {integrity: sha512-uNLD0tk2tLUjGFdmCk+u/3FEw2o+BAwW4g+z2QVlxJrzZYOOPADroEcNtTPt5lNiScctaUmnsTkVEnOwZUOLhA==} - dependencies: - hermes-parser: 0.23.1 - dev: false - - /babel-plugin-syntax-hermes-parser@0.25.1: - resolution: {integrity: sha512-IVNpGzboFLfXZUAwkLFcI/bnqVbwky0jP3eBno4HKtqvQJAHBLdgxiG6lQ4to0+Q/YCN3PO0od5NZwIKyY4REQ==} - dependencies: - hermes-parser: 0.25.1 - dev: false - - /babel-plugin-transform-flow-enums@0.0.2(@babel/core@7.25.7): - resolution: {integrity: sha512-g4aaCrDDOsWjbm0PUUeVnkcVd6AKJsVc/MbnPhEotEpkeJQP6b8nzewohQi7+QS8UyPehOhGWn0nOwjvWpmMvQ==} - dependencies: - '@babel/plugin-syntax-flow': 7.26.0(@babel/core@7.25.7) - transitivePeerDependencies: - - '@babel/core' - dev: false - - /babel-preset-current-node-syntax@1.1.0(@babel/core@7.25.7): - resolution: {integrity: sha512-ldYss8SbBlWva1bs28q78Ju5Zq1F+8BrqBZZ0VFhLBvhh6lCpC2o3gDJi/5DRLs9FgYZCnmPYIVFU4lRXCkyUw==} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.25.7 - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.25.7) - '@babel/plugin-syntax-bigint': 7.8.3(@babel/core@7.25.7) - '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.25.7) - '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.25.7) - '@babel/plugin-syntax-import-attributes': 7.25.7(@babel/core@7.25.7) - '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.25.7) - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.25.7) - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.25.7) - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.25.7) - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.25.7) - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.25.7) - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.25.7) - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.25.7) - '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.25.7) - '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.25.7) - dev: false - - /babel-preset-jest@29.6.3(@babel/core@7.25.7): - resolution: {integrity: sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.25.7 - babel-plugin-jest-hoist: 29.6.3 - babel-preset-current-node-syntax: 1.1.0(@babel/core@7.25.7) - dev: false - /bail@1.0.5: resolution: {integrity: sha512-xFbRxM1tahm08yHBP16MMjVUAvDaBMD38zsM9EMAUN61omwLmKlOpB/Zku5QkjZ8TZ4vn53pj+t518cH0S03RQ==} dev: false @@ -6605,6 +5791,7 @@ /base64-js@1.5.1: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} + dev: true /base@0.11.2: resolution: {integrity: sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==} @@ -6762,12 +5949,6 @@ node-releases: 2.0.18 update-browserslist-db: 1.1.0(browserslist@4.24.0) - /bser@2.1.1: - resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==} - dependencies: - node-int64: 0.4.0 - dev: false - /buffer-from@1.1.2: resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} @@ -6882,11 +6063,6 @@ /camelcase@5.3.1: resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} engines: {node: '>=6'} - - /camelcase@6.3.0: - resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} - engines: {node: '>=10'} - dev: false /camelcase@8.0.0: resolution: {integrity: sha512-8WB3Jcas3swSvjIeA2yvCJ+Miyz5l1ZmB6HFb9R1317dt9LCQoswg/BGrmAmkWVEszSrrg4RwmO46qIm2OEnSA==} @@ -7037,39 +6213,8 @@ readdirp: 4.0.2 dev: true - /chrome-launcher@0.15.2: - resolution: {integrity: sha512-zdLEwNo3aUVzIhKhTtXfxhdvZhUghrnmkvcAq2NoDd+LeOHKf03H5jwZ8T/STsAlzyALkBVK552iaG1fGf1xVQ==} - engines: {node: '>=12.13.0'} - hasBin: true - dependencies: - '@types/node': 18.7.18 - escape-string-regexp: 4.0.0 - is-wsl: 2.2.0 - lighthouse-logger: 1.4.2 - transitivePeerDependencies: - - supports-color - dev: false - - /chromium-edge-launcher@0.2.0: - resolution: {integrity: sha512-JfJjUnq25y9yg4FABRRVPmBGWPZZi+AQXT4mxupb67766/0UlhG8PAZCz6xzEMXTbW3CsSoE8PcCWA49n35mKg==} - dependencies: - '@types/node': 18.7.18 - escape-string-regexp: 4.0.0 - is-wsl: 2.2.0 - lighthouse-logger: 1.4.2 - mkdirp: 1.0.4 - rimraf: 3.0.2 - transitivePeerDependencies: - - supports-color - dev: false - /ci-info@2.0.0: resolution: {integrity: sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==} - dev: false - - /ci-info@3.9.0: - resolution: {integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==} - engines: {node: '>=8'} dev: false /ci-info@4.0.0: @@ -7182,15 +6327,6 @@ strip-ansi: 6.0.1 wrap-ansi: 7.0.0 - /clone-deep@4.0.1: - resolution: {integrity: sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==} - engines: {node: '>=6'} - dependencies: - is-plain-object: 2.0.4 - kind-of: 6.0.3 - shallow-clone: 3.0.1 - dev: false - /clone-regexp@1.0.1: resolution: {integrity: sha512-Fcij9IwRW27XedRIJnSOEupS7RVcXtObJXbcUOX93UCLqqOdRpkvzKywOOSizmEK/Is3S/RHX9dLdfo6R1Q1mw==} engines: {node: '>=0.10.0'} @@ -7298,6 +6434,7 @@ /commander@2.20.3: resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} + dev: true /commander@5.1.0: resolution: {integrity: sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==} @@ -7317,10 +6454,6 @@ /commander@9.4.1: resolution: {integrity: sha512-5EEkTNyHNGFPD2H+c/dXXfQZYa/scCKasxWcXJaWnNJ99pnQN9Vnmqow+p+PlFPE63Q6mThaZws1T+HxfpgtPw==} engines: {node: ^12.20.0 || >=14} - - /commondir@1.0.1: - resolution: {integrity: sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==} - dev: false /compare-func@2.0.0: resolution: {integrity: sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==} @@ -7354,6 +6487,10 @@ /confbox@0.1.8: resolution: {integrity: sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==} + dev: true + + /confbox@0.2.2: + resolution: {integrity: sha512-1NB+BKqhtNipMsov4xI/NnhCKp9XG9NamYp5PVm9klAT0fsrNPjaFICsCFhNhwZJKNh7zB/3q8qXz0E9oaMNtQ==} dev: true /config-chain@1.1.13: @@ -7392,6 +6529,7 @@ utils-merge: 1.0.1 transitivePeerDependencies: - supports-color + dev: true /consola@2.15.3: resolution: {integrity: sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==} @@ -8054,15 +7192,6 @@ resolution: {integrity: sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw==} dev: false - /denodeify@1.2.1: - resolution: {integrity: sha512-KNTihKNmQENUZeKu5fzfpzRqR5S2VMp4gl9RFHiWzj9DfvYQPMJ6XHKNaQxaGCXwPk6y9yme3aUoaiAe+KX+vg==} - dev: false - - /depd@2.0.0: - resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==} - engines: {node: '>= 0.8'} - dev: false - /deprecation@2.3.1: resolution: {integrity: sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==} dev: true @@ -8335,11 +7464,7 @@ /encodeurl@1.0.2: resolution: {integrity: sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==} engines: {node: '>= 0.8'} - - /encodeurl@2.0.0: - resolution: {integrity: sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==} - engines: {node: '>= 0.8'} - dev: false + dev: true /end-of-stream@1.4.4: resolution: {integrity: sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==} @@ -8377,12 +7502,6 @@ resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} dependencies: is-arrayish: 0.2.1 - - /error-stack-parser@2.1.4: - resolution: {integrity: sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==} - dependencies: - stackframe: 1.3.4 - dev: false /es-abstract@1.23.3: resolution: {integrity: sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A==} @@ -8593,11 +7712,6 @@ /escape-string-regexp@1.0.5: resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} engines: {node: '>=0.8.0'} - - /escape-string-regexp@2.0.0: - resolution: {integrity: sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==} - engines: {node: '>=8'} - dev: false /escape-string-regexp@4.0.0: resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} @@ -9205,17 +8319,13 @@ /etag@1.8.1: resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==} engines: {node: '>= 0.6'} + dev: true /event-emitter@0.3.5: resolution: {integrity: sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==} dependencies: d: 1.0.1 es5-ext: 0.10.64 - dev: false - - /event-target-shim@5.0.1: - resolution: {integrity: sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==} - engines: {node: '>=6'} dev: false /eventemitter3@4.0.7: @@ -9235,6 +8345,7 @@ onetime: 5.1.2 signal-exit: 3.0.7 strip-final-newline: 2.0.0 + dev: true /execa@6.1.0: resolution: {integrity: sha512-QVWlX2e50heYJcCPG0iWtf8r0xjEYfz/OYLGDYH+IyjWezzPNxz63qNFOu0l4YftGWuizFVZHHs8PrLU5p2IDA==} @@ -9294,9 +8405,9 @@ transitivePeerDependencies: - supports-color - /exponential-backoff@3.1.1: - resolution: {integrity: sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw==} - dev: false + /exsolve@1.0.7: + resolution: {integrity: sha512-VO5fQUzZtI6C+vx4w/4BWJpg3s/5l+6pRQEHzFRM8WFi4XffSP1Z+4qi7GbjWbvRQEbdIco5mIMq+zX4rPuLrw==} + dev: true /ext@1.7.0: resolution: {integrity: sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==} @@ -9406,11 +8517,16 @@ dependencies: reusify: 1.0.4 - /fb-watchman@2.0.2: - resolution: {integrity: sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==} + /fdir@6.4.6(picomatch@4.0.3): + resolution: {integrity: sha512-hiFoqpyZcfNm1yc4u8oWCf9A2c4D3QjCrks3zmoVKVxpQRzmPNar1hUJcBG2RQHvEVGDN+Jm81ZheVLAQMK6+w==} + peerDependencies: + picomatch: ^3 || ^4 + peerDependenciesMeta: + picomatch: + optional: true dependencies: - bser: 2.1.1 - dev: false + picomatch: 4.0.3 + dev: true /file-entry-cache@4.0.0: resolution: {integrity: sha512-AVSwsnbV8vH/UVbvgEhf3saVQXORNv0ZzSkvkhQIaia5Tia+JhGTaa/ePUSVoPHQyGayQNmYfkzFi3WZV5zcpA==} @@ -9463,28 +8579,13 @@ unpipe: 1.0.0 transitivePeerDependencies: - supports-color - - /find-cache-dir@2.1.0: - resolution: {integrity: sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==} - engines: {node: '>=6'} - dependencies: - commondir: 1.0.1 - make-dir: 2.1.0 - pkg-dir: 3.0.0 - dev: false + dev: true /find-up@2.1.0: resolution: {integrity: sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==} engines: {node: '>=4'} dependencies: locate-path: 2.0.0 - dev: false - - /find-up@3.0.0: - resolution: {integrity: sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==} - engines: {node: '>=6'} - dependencies: - locate-path: 3.0.0 dev: false /find-up@4.1.0: @@ -9531,15 +8632,6 @@ /flatted@3.2.7: resolution: {integrity: sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==} - - /flow-enums-runtime@0.0.6: - resolution: {integrity: sha512-3PYnM29RFXwvAN6Pc/scUfkI7RwhQ/xqyLUyPNlXUp9S40zI8nup9tUSrTLSVnWGBN38FNiGWbwZOB6uR4OGdw==} - dev: false - - /flow-parser@0.256.0: - resolution: {integrity: sha512-HFb/GgB7hq+TYosLJuMLdLp8aGlyAVfrJaTvcM0w2rz2T33PjkVbRU419ncK/69cjowUksewuspkBheq9ZX9Hw==} - engines: {node: '>=0.4.0'} - dev: false /follow-redirects@1.15.6: resolution: {integrity: sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==} @@ -9613,11 +8705,6 @@ resolution: {integrity: sha512-jBTqhX6KaQVDyus8muwZbBeGGP0XgujBRbQ7gM7BRdS3CadCZIHiawyzYLnafYcvZIh5j8WE7cxZKFn7dXhu9g==} dependencies: tslib: 2.4.0 - dev: false - - /fresh@0.5.2: - resolution: {integrity: sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==} - engines: {node: '>= 0.6'} dev: false /fs-extra@10.1.0: @@ -9695,11 +8782,6 @@ has-symbols: 1.0.3 hasown: 2.0.2 - /get-package-type@0.1.0: - resolution: {integrity: sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==} - engines: {node: '>=8.0.0'} - dev: false - /get-ready@1.0.0: resolution: {integrity: sha512-mFXCZPJIlcYcth+N8267+mghfYN9h3EhsDa6JSnbA3Wrhh/XFpuowviFcsDeYZtKspQyWyJqfs4O6P8CHeTwzw==} dev: false @@ -9717,6 +8799,7 @@ /get-stream@6.0.1: resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} engines: {node: '>=10'} + dev: true /get-stream@8.0.1: resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==} @@ -10093,36 +9176,6 @@ tslib: 2.7.0 dev: true - /hermes-estree@0.23.1: - resolution: {integrity: sha512-eT5MU3f5aVhTqsfIReZ6n41X5sYn4IdQL0nvz6yO+MMlPxw49aSARHLg/MSehQftyjnrE8X6bYregzSumqc6cg==} - dev: false - - /hermes-estree@0.24.0: - resolution: {integrity: sha512-LyoXLB7IFzeZW0EvAbGZacbxBN7t6KKSDqFJPo3Ydow7wDlrDjXwsdiAHV6XOdvEN9MEuWXsSIFN4tzpyrXIHw==} - dev: false - - /hermes-estree@0.25.1: - resolution: {integrity: sha512-0wUoCcLp+5Ev5pDW2OriHC2MJCbwLwuRx+gAqMTOkGKJJiBCLjtrvy4PWUGn6MIVefecRpzoOZ/UV6iGdOr+Cw==} - dev: false - - /hermes-parser@0.23.1: - resolution: {integrity: sha512-oxl5h2DkFW83hT4DAUJorpah8ou4yvmweUzLJmmr6YV2cezduCdlil1AvU/a/xSsAFo4WUcNA4GoV5Bvq6JffA==} - dependencies: - hermes-estree: 0.23.1 - dev: false - - /hermes-parser@0.24.0: - resolution: {integrity: sha512-IJooSvvu2qNRe7oo9Rb04sUT4omtZqZqf9uq9WM25Tb6v3usmvA93UqfnnoWs5V0uYjEl9Al6MNU10MCGKLwpg==} - dependencies: - hermes-estree: 0.24.0 - dev: false - - /hermes-parser@0.25.1: - resolution: {integrity: sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA==} - dependencies: - hermes-estree: 0.25.1 - dev: false - /hey-listen@1.0.8: resolution: {integrity: sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q==} dev: false @@ -10193,17 +9246,6 @@ domutils: 3.0.1 entities: 4.5.0 - /http-errors@2.0.0: - resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==} - engines: {node: '>= 0.8'} - dependencies: - depd: 2.0.0 - inherits: 2.0.4 - setprototypeof: 1.2.0 - statuses: 2.0.1 - toidentifier: 1.0.1 - dev: false - /http-proxy-agent@7.0.2: resolution: {integrity: sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==} engines: {node: '>= 14'} @@ -10231,6 +9273,7 @@ /human-signals@2.1.0: resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} engines: {node: '>=10.17.0'} + dev: true /human-signals@3.0.1: resolution: {integrity: sha512-rQLskxnM/5OCldHo+wNXbpVgDn5A17CUoKX+7Sokwaknlq7CdSnphy0W39GU8dw59XiCXmFXDg4fRuckQRKewQ==} @@ -10296,14 +9339,6 @@ engines: {node: '>=0.10.0'} hasBin: true dev: true - - /image-size@1.1.1: - resolution: {integrity: sha512-541xKlUw6jr/6gGuk92F+mYM5zaFAc5ahphvkqvNe2bQ6gVBkd6bfrmVJ2t4KDAfikAYZyIqTnktX3i6/aQDrQ==} - engines: {node: '>=16.x'} - hasBin: true - dependencies: - queue: 6.0.2 - dev: false /immediate@3.0.6: resolution: {integrity: sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==} @@ -10415,12 +9450,6 @@ resolution: {integrity: sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==} engines: {node: '>= 0.10'} dev: true - - /invariant@2.2.4: - resolution: {integrity: sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==} - dependencies: - loose-envify: 1.4.0 - dev: false /ip@2.0.0: resolution: {integrity: sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==} @@ -10568,6 +9597,7 @@ resolution: {integrity: sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==} engines: {node: '>=8'} hasBin: true + dev: true /is-docker@3.0.0: resolution: {integrity: sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==} @@ -10776,6 +9806,7 @@ /is-stream@2.0.1: resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} engines: {node: '>=8'} + dev: true /is-stream@3.0.0: resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==} @@ -10884,6 +9915,7 @@ engines: {node: '>=8'} dependencies: is-docker: 2.2.1 + dev: true /is-wsl@3.1.0: resolution: {integrity: sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw==} @@ -10930,24 +9962,6 @@ lodash.uniqby: 4.7.0 dev: true - /istanbul-lib-coverage@3.2.2: - resolution: {integrity: sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==} - engines: {node: '>=8'} - dev: false - - /istanbul-lib-instrument@5.2.1: - resolution: {integrity: sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==} - engines: {node: '>=8'} - dependencies: - '@babel/core': 7.25.7 - '@babel/parser': 7.26.3 - '@istanbuljs/schema': 0.1.3 - istanbul-lib-coverage: 3.2.2 - semver: 6.3.1 - transitivePeerDependencies: - - supports-color - dev: false - /iterator.prototype@1.1.2: resolution: {integrity: sha512-DR33HMMr8EzwuRL8Y9D3u2BMj8+RqSE850jfGu59kS7tbmPLzGkZmVSfyCFSDxuZiEY6Rzt3T2NA/qU+NwVj1w==} dependencies: @@ -10976,105 +9990,6 @@ minimatch: 3.1.2 dev: true - /jest-environment-node@29.7.0: - resolution: {integrity: sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/environment': 29.7.0 - '@jest/fake-timers': 29.7.0 - '@jest/types': 29.6.3 - '@types/node': 18.7.18 - jest-mock: 29.7.0 - jest-util: 29.7.0 - dev: false - - /jest-get-type@29.6.3: - resolution: {integrity: sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dev: false - - /jest-haste-map@29.7.0: - resolution: {integrity: sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/types': 29.6.3 - '@types/graceful-fs': 4.1.9 - '@types/node': 18.7.18 - anymatch: 3.1.2 - fb-watchman: 2.0.2 - graceful-fs: 4.2.11 - jest-regex-util: 29.6.3 - jest-util: 29.7.0 - jest-worker: 29.7.0 - micromatch: 4.0.5 - walker: 1.0.8 - optionalDependencies: - fsevents: 2.3.3 - dev: false - - /jest-message-util@29.7.0: - resolution: {integrity: sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@babel/code-frame': 7.26.2 - '@jest/types': 29.6.3 - '@types/stack-utils': 2.0.3 - chalk: 4.1.2 - graceful-fs: 4.2.11 - micromatch: 4.0.5 - pretty-format: 29.7.0 - slash: 3.0.0 - stack-utils: 2.0.6 - dev: false - - /jest-mock@29.7.0: - resolution: {integrity: sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/types': 29.6.3 - '@types/node': 18.7.18 - jest-util: 29.7.0 - dev: false - - /jest-regex-util@29.6.3: - resolution: {integrity: sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dev: false - - /jest-util@29.7.0: - resolution: {integrity: sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/types': 29.6.3 - '@types/node': 18.7.18 - chalk: 4.1.2 - ci-info: 3.9.0 - graceful-fs: 4.2.11 - picomatch: 2.3.1 - dev: false - - /jest-validate@29.7.0: - resolution: {integrity: sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/types': 29.6.3 - camelcase: 6.3.0 - chalk: 4.1.2 - jest-get-type: 29.6.3 - leven: 3.1.0 - pretty-format: 29.7.0 - dev: false - - /jest-worker@29.7.0: - resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@types/node': 18.7.18 - jest-util: 29.7.0 - merge-stream: 2.0.0 - supports-color: 8.1.1 - dev: false - /js-base64@2.6.4: resolution: {integrity: sha512-pZe//GGmwJndub7ZghVHz7vjb2LgC1m8B07Au3eYqeqv9emhESByMXxaEgkUkEqJe87oBbSniGYoQNIBklc7IQ==} @@ -11096,8 +10011,8 @@ /js-tokens@8.0.0: resolution: {integrity: sha512-PC7MzqInq9OqKyTXfIvQNcjMkODJYC8A17kAaQgeW79yfhqTWSOfjHYQ2mDDcwJ96Iibtwkfh0C7R/OvqPlgVA==} - /js-tokens@9.0.0: - resolution: {integrity: sha512-WriZw1luRMlmV3LGJaR6QOJjWwgLUTf89OwT2lUOyjX2dJGBwgmIkbcz+7WFZjrZM635JOIR517++e/67CP9dQ==} + /js-tokens@9.0.1: + resolution: {integrity: sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==} dev: true /js-yaml@3.14.1: @@ -11113,44 +10028,6 @@ hasBin: true dependencies: argparse: 2.0.1 - - /jsc-android@250231.0.0: - resolution: {integrity: sha512-rS46PvsjYmdmuz1OAWXY/1kCYG7pnf1TBqeTiOJr1iDz7s5DLxxC9n/ZMknLDxzYzNVfI7R95MH10emSSG1Wuw==} - dev: false - - /jsc-safe-url@0.2.4: - resolution: {integrity: sha512-0wM3YBWtYePOjfyXQH5MWQ8H7sdk5EXSwZvmSLKk2RboVQ2Bu239jycHDz5J/8Blf3K0Qnoy2b6xD+z10MFB+Q==} - dev: false - - /jscodeshift@0.14.0(@babel/preset-env@7.25.8): - resolution: {integrity: sha512-7eCC1knD7bLUPuSCwXsMZUH51O8jIcoVyKtI6P0XM0IVzlGjckPy3FIwQlorzbN0Sg79oK+RlohN32Mqf/lrYA==} - hasBin: true - peerDependencies: - '@babel/preset-env': ^7.1.6 - dependencies: - '@babel/core': 7.25.7 - '@babel/parser': 7.26.3 - '@babel/plugin-proposal-class-properties': 7.18.6(@babel/core@7.25.7) - '@babel/plugin-proposal-nullish-coalescing-operator': 7.18.6(@babel/core@7.25.7) - '@babel/plugin-proposal-optional-chaining': 7.21.0(@babel/core@7.25.7) - '@babel/plugin-transform-modules-commonjs': 7.25.7(@babel/core@7.25.7) - '@babel/preset-env': 7.25.8(@babel/core@7.25.7) - '@babel/preset-flow': 7.25.9(@babel/core@7.25.7) - '@babel/preset-typescript': 7.24.7(@babel/core@7.25.7) - '@babel/register': 7.25.9(@babel/core@7.25.7) - babel-core: 7.0.0-bridge.0(@babel/core@7.25.7) - chalk: 4.1.2 - flow-parser: 0.256.0 - graceful-fs: 4.2.11 - micromatch: 4.0.5 - neo-async: 2.6.2 - node-dir: 0.1.17 - recast: 0.21.5 - temp: 0.8.4 - write-file-atomic: 2.4.3 - transitivePeerDependencies: - - supports-color - dev: false /jsesc@0.5.0: resolution: {integrity: sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==} @@ -11317,11 +10194,6 @@ engines: {node: '>=0.10.0'} dev: false - /leven@3.1.0: - resolution: {integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==} - engines: {node: '>=6'} - dev: false - /levn@0.4.1: resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} engines: {node: '>= 0.8.0'} @@ -11333,15 +10205,6 @@ resolution: {integrity: sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==} dependencies: immediate: 3.0.6 - dev: false - - /lighthouse-logger@1.4.2: - resolution: {integrity: sha512-gPWxznF6TKmUHrOQjlVo2UbaL2EJ71mb2CCeRs/2qBpi4L/g4LUVc9+3lKQ6DTUZwJswfM7ainGrLO1+fOqa2g==} - dependencies: - debug: 2.6.9 - marky: 1.2.5 - transitivePeerDependencies: - - supports-color dev: false /lilconfig@2.0.5: @@ -11446,19 +10309,20 @@ pkg-types: 1.2.1 dev: true + /local-pkg@1.1.1: + resolution: {integrity: sha512-WunYko2W1NcdfAFpuLUoucsgULmgDBRkdxHxWQ7mK0cQqwPiy8E1enjuRBrhLtZkB5iScJ1XIPdhVEFK8aOLSg==} + engines: {node: '>=14'} + dependencies: + mlly: 1.7.4 + pkg-types: 2.2.0 + quansync: 0.2.10 + dev: true + /locate-path@2.0.0: resolution: {integrity: sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA==} engines: {node: '>=4'} dependencies: p-locate: 2.0.0 - path-exists: 3.0.0 - dev: false - - /locate-path@3.0.0: - resolution: {integrity: sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==} - engines: {node: '>=6'} - dependencies: - p-locate: 3.0.0 path-exists: 3.0.0 dev: false @@ -11690,22 +10554,14 @@ dependencies: '@jridgewell/sourcemap-codec': 1.5.0 - /make-dir@2.1.0: - resolution: {integrity: sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==} - engines: {node: '>=6'} + /magic-string@0.30.17: + resolution: {integrity: sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==} dependencies: - pify: 4.0.1 - semver: 5.7.1 - dev: false + '@jridgewell/sourcemap-codec': 1.5.0 + dev: true /make-error@1.3.6: resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} - - /makeerror@1.0.12: - resolution: {integrity: sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==} - dependencies: - tmpl: 1.0.5 - dev: false /map-cache@0.2.2: resolution: {integrity: sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==} @@ -11756,10 +10612,6 @@ hasBin: true dev: false - /marky@1.2.5: - resolution: {integrity: sha512-q9JtQJKjpsVxCRVgQ+WapguSbKC3SQ5HEzFGPAJMStgh3QjCawp00UKv3MTTAArTmGmmPUvllHZoNbZ3gs0I+Q==} - dev: false - /mathml-tag-names@2.1.3: resolution: {integrity: sha512-APMBEanjybaPzUrfqU0IMU5I0AswKMH7k8OTLs0vvV4KZpExkTkY87nR/zpbuTPj+gARop7aGUbl11pnDfW6xg==} @@ -11802,10 +10654,6 @@ /mdurl@2.0.0: resolution: {integrity: sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==} - dev: false - - /memoize-one@5.2.1: - resolution: {integrity: sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q==} dev: false /memoize-one@6.0.0: @@ -11902,233 +10750,11 @@ /merge-stream@2.0.0: resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} + dev: true /merge2@1.4.1: resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} engines: {node: '>= 8'} - - /metro-babel-transformer@0.81.0: - resolution: {integrity: sha512-Dc0QWK4wZIeHnyZ3sevWGTnnSkIDDn/SWyfrn99zbKbDOCoCYy71PAn9uCRrP/hduKLJQOy+tebd63Rr9D8tXg==} - engines: {node: '>=18.18'} - dependencies: - '@babel/core': 7.25.7 - flow-enums-runtime: 0.0.6 - hermes-parser: 0.24.0 - nullthrows: 1.1.1 - transitivePeerDependencies: - - supports-color - dev: false - - /metro-cache-key@0.81.0: - resolution: {integrity: sha512-qX/IwtknP9bQZL78OK9xeSvLM/xlGfrs6SlUGgHvrxtmGTRSsxcyqxR+c+7ch1xr05n62Gin/O44QKg5V70rNQ==} - engines: {node: '>=18.18'} - dependencies: - flow-enums-runtime: 0.0.6 - dev: false - - /metro-cache@0.81.0: - resolution: {integrity: sha512-DyuqySicHXkHUDZFVJmh0ygxBSx6pCKUrTcSgb884oiscV/ROt1Vhye+x+OIHcsodyA10gzZtrVtxIFV4l9I4g==} - engines: {node: '>=18.18'} - dependencies: - exponential-backoff: 3.1.1 - flow-enums-runtime: 0.0.6 - metro-core: 0.81.0 - dev: false - - /metro-config@0.81.0: - resolution: {integrity: sha512-6CinEaBe3WLpRlKlYXXu8r1UblJhbwD6Gtnoib5U8j6Pjp7XxMG9h/DGMeNp9aGLDu1OieUqiXpFo7O0/rR5Kg==} - engines: {node: '>=18.18'} - dependencies: - connect: 3.7.0 - cosmiconfig: 5.2.1 - flow-enums-runtime: 0.0.6 - jest-validate: 29.7.0 - metro: 0.81.0 - metro-cache: 0.81.0 - metro-core: 0.81.0 - metro-runtime: 0.81.0 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - dev: false - - /metro-core@0.81.0: - resolution: {integrity: sha512-CVkM5YCOAFkNMvJai6KzA0RpztzfEKRX62/PFMOJ9J7K0uq/UkOFLxcgpcncMIrfy0PbfEj811b69tjULUQe1Q==} - engines: {node: '>=18.18'} - dependencies: - flow-enums-runtime: 0.0.6 - lodash.throttle: 4.1.1 - metro-resolver: 0.81.0 - dev: false - - /metro-file-map@0.81.0: - resolution: {integrity: sha512-zMDI5uYhQCyxbye/AuFx/pAbsz9K+vKL7h1ShUXdN2fz4VUPiyQYRsRqOoVG1DsiCgzd5B6LW0YW77NFpjDQeg==} - engines: {node: '>=18.18'} - dependencies: - anymatch: 3.1.2 - debug: 2.6.9 - fb-watchman: 2.0.2 - flow-enums-runtime: 0.0.6 - graceful-fs: 4.2.11 - invariant: 2.2.4 - jest-worker: 29.7.0 - micromatch: 4.0.5 - node-abort-controller: 3.1.1 - nullthrows: 1.1.1 - walker: 1.0.8 - optionalDependencies: - fsevents: 2.3.3 - transitivePeerDependencies: - - supports-color - dev: false - - /metro-minify-terser@0.81.0: - resolution: {integrity: sha512-U2ramh3W822ZR1nfXgIk+emxsf5eZSg10GbQrT0ZizImK8IZ5BmJY+BHRIkQgHzWFpExOVxC7kWbGL1bZALswA==} - engines: {node: '>=18.18'} - dependencies: - flow-enums-runtime: 0.0.6 - terser: 5.34.1 - dev: false - - /metro-resolver@0.81.0: - resolution: {integrity: sha512-Uu2Q+buHhm571cEwpPek8egMbdSTqmwT/5U7ZVNpK6Z2ElQBBCxd7HmFAslKXa7wgpTO2FAn6MqGeERbAtVDUA==} - engines: {node: '>=18.18'} - dependencies: - flow-enums-runtime: 0.0.6 - dev: false - - /metro-runtime@0.81.0: - resolution: {integrity: sha512-6oYB5HOt37RuGz2eV4A6yhcl+PUTwJYLDlY9vhT+aVjbUWI6MdBCf69vc4f5K5Vpt+yOkjy+2LDwLS0ykWFwYw==} - engines: {node: '>=18.18'} - dependencies: - '@babel/runtime': 7.26.0 - flow-enums-runtime: 0.0.6 - dev: false - - /metro-source-map@0.81.0: - resolution: {integrity: sha512-TzsVxhH83dyxg4A4+L1nzNO12I7ps5IHLjKGZH3Hrf549eiZivkdjYiq/S5lOB+p2HiQ+Ykcwtmcja95LIC62g==} - engines: {node: '>=18.18'} - dependencies: - '@babel/traverse': 7.26.4 - '@babel/traverse--for-generate-function-map': /@babel/traverse@7.26.4 - '@babel/types': 7.26.3 - flow-enums-runtime: 0.0.6 - invariant: 2.2.4 - metro-symbolicate: 0.81.0 - nullthrows: 1.1.1 - ob1: 0.81.0 - source-map: 0.5.7 - vlq: 1.0.1 - transitivePeerDependencies: - - supports-color - dev: false - - /metro-symbolicate@0.81.0: - resolution: {integrity: sha512-C/1rWbNTPYp6yzID8IPuQPpVGzJ2rbWYBATxlvQ9dfK5lVNoxcwz77hjcY8ISLsRRR15hyd/zbjCNKPKeNgE1Q==} - engines: {node: '>=18.18'} - hasBin: true - dependencies: - flow-enums-runtime: 0.0.6 - invariant: 2.2.4 - metro-source-map: 0.81.0 - nullthrows: 1.1.1 - source-map: 0.5.7 - through2: 2.0.5 - vlq: 1.0.1 - transitivePeerDependencies: - - supports-color - dev: false - - /metro-transform-plugins@0.81.0: - resolution: {integrity: sha512-uErLAPBvttGCrmGSCa0dNHlOTk3uJFVEVWa5WDg6tQ79PRmuYRwzUgLhVzn/9/kyr75eUX3QWXN79Jvu4txt6Q==} - engines: {node: '>=18.18'} - dependencies: - '@babel/core': 7.25.7 - '@babel/generator': 7.26.3 - '@babel/template': 7.25.9 - '@babel/traverse': 7.26.4 - flow-enums-runtime: 0.0.6 - nullthrows: 1.1.1 - transitivePeerDependencies: - - supports-color - dev: false - - /metro-transform-worker@0.81.0: - resolution: {integrity: sha512-HrQ0twiruhKy0yA+9nK5bIe3WQXZcC66PXTvRIos61/EASLAP2DzEmW7IxN/MGsfZegN2UzqL2CG38+mOB45vg==} - engines: {node: '>=18.18'} - dependencies: - '@babel/core': 7.25.7 - '@babel/generator': 7.26.3 - '@babel/parser': 7.26.3 - '@babel/types': 7.26.3 - flow-enums-runtime: 0.0.6 - metro: 0.81.0 - metro-babel-transformer: 0.81.0 - metro-cache: 0.81.0 - metro-cache-key: 0.81.0 - metro-minify-terser: 0.81.0 - metro-source-map: 0.81.0 - metro-transform-plugins: 0.81.0 - nullthrows: 1.1.1 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - dev: false - - /metro@0.81.0: - resolution: {integrity: sha512-kzdzmpL0gKhEthZ9aOV7sTqvg6NuTxDV8SIm9pf9sO8VVEbKrQk5DNcwupOUjgPPFAuKUc2NkT0suyT62hm2xg==} - engines: {node: '>=18.18'} - hasBin: true - dependencies: - '@babel/code-frame': 7.26.2 - '@babel/core': 7.25.7 - '@babel/generator': 7.26.3 - '@babel/parser': 7.26.3 - '@babel/template': 7.25.9 - '@babel/traverse': 7.26.4 - '@babel/types': 7.26.3 - accepts: 1.3.8 - chalk: 4.1.2 - ci-info: 2.0.0 - connect: 3.7.0 - debug: 2.6.9 - denodeify: 1.2.1 - error-stack-parser: 2.1.4 - flow-enums-runtime: 0.0.6 - graceful-fs: 4.2.11 - hermes-parser: 0.24.0 - image-size: 1.1.1 - invariant: 2.2.4 - jest-worker: 29.7.0 - jsc-safe-url: 0.2.4 - lodash.throttle: 4.1.1 - metro-babel-transformer: 0.81.0 - metro-cache: 0.81.0 - metro-cache-key: 0.81.0 - metro-config: 0.81.0 - metro-core: 0.81.0 - metro-file-map: 0.81.0 - metro-resolver: 0.81.0 - metro-runtime: 0.81.0 - metro-source-map: 0.81.0 - metro-symbolicate: 0.81.0 - metro-transform-plugins: 0.81.0 - metro-transform-worker: 0.81.0 - mime-types: 2.1.35 - nullthrows: 1.1.1 - serialize-error: 2.1.0 - source-map: 0.5.7 - strip-ansi: 6.0.1 - throat: 5.0.0 - ws: 7.5.10 - yargs: 17.7.2 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - dev: false /micromark@2.11.4: resolution: {integrity: sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA==} @@ -12204,12 +10830,6 @@ dependencies: mime-db: 1.52.0 - /mime@1.6.0: - resolution: {integrity: sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==} - engines: {node: '>=4'} - hasBin: true - dev: false - /mime@2.6.0: resolution: {integrity: sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==} engines: {node: '>=4.0.0'} @@ -12219,6 +10839,7 @@ /mimic-fn@2.1.0: resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} engines: {node: '>=6'} + dev: true /mimic-fn@4.0.0: resolution: {integrity: sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==} @@ -12308,18 +10929,21 @@ minimist: 1.2.7 dev: false - /mkdirp@1.0.4: - resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==} - engines: {node: '>=10'} - hasBin: true - dev: false - /mlly@1.7.2: resolution: {integrity: sha512-tN3dvVHYVz4DhSXinXIk7u9syPYaJvio118uomkovAtWBT+RdbP6Lfh/5Lvo519YMmwBafwlh20IPTXIStscpA==} dependencies: acorn: 8.12.1 pathe: 1.1.2 pkg-types: 1.2.1 + ufo: 1.5.4 + dev: true + + /mlly@1.7.4: + resolution: {integrity: sha512-qmdSIPC4bDJXgZTCR7XosJiNKySV7O215tsPtDN9iEO/7q/76b/ijtgRu/+epFXSJhijtTCCGp3DWS549P3xKw==} + dependencies: + acorn: 8.15.0 + pathe: 2.0.3 + pkg-types: 1.3.1 ufo: 1.5.4 dev: true @@ -12434,13 +11058,9 @@ /natural-compare@1.4.0: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} - /negotiator@0.6.3: - resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==} - engines: {node: '>= 0.6'} - dev: false - /neo-async@2.6.2: resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} + dev: true /netmask@2.0.2: resolution: {integrity: sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg==} @@ -12469,22 +11089,11 @@ tslib: 2.7.0 dev: true - /node-abort-controller@3.1.1: - resolution: {integrity: sha512-AGK2yQKIjRuqnc6VkX2Xj5d+QW8xZ87pa1UK6yA6ouUyuxfHuMP6umE5QK7UmTeOAymo+Zx1Fxiuw9rVx8taHQ==} - dev: false - /node-addon-api@7.1.1: resolution: {integrity: sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==} requiresBuild: true dev: true optional: true - - /node-dir@0.1.17: - resolution: {integrity: sha512-tmPX422rYgofd4epzrNoOXiE8XFZYOcCq1vD7MAXCDO+O+zndlA2ztdKKMa+EeuBG5tHETpr4ml4RGgpqDCCAg==} - engines: {node: '>= 0.10.5'} - dependencies: - minimatch: 3.1.2 - dev: false /node-fetch-h2@2.3.0: resolution: {integrity: sha512-ofRW94Ab0T4AOh5Fk8t0h8OBWrmjb0SSB20xh1H8YnPV9EJ+f5AMoYSUQ2zgJ4Iq2HAK0I2l5/Nequ8YzFS3Hg==} @@ -12498,21 +11107,12 @@ engines: {node: 4.x || >=6.0.0} dev: false - /node-forge@1.3.1: - resolution: {integrity: sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==} - engines: {node: '>= 6.13.0'} - dev: false - /node-html-parser@5.4.2: resolution: {integrity: sha512-RaBPP3+51hPne/OolXxcz89iYvQvKOydaqoePpOgXcrOKZhjVIzmpKZz+Hd/RBO2/zN2q6CNJhQzucVz+u3Jyw==} dependencies: css-select: 4.3.0 he: 1.2.0 dev: true - - /node-int64@0.4.0: - resolution: {integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==} - dev: false /node-readfiles@0.2.0: resolution: {integrity: sha512-SU00ZarexNlE4Rjdm83vglt5Y9yiQ+XI1XpflWlb7q7UTN1JUItm69xMeiQCTxtTfnzt+83T8Cx+vI2ED++VDA==} @@ -12595,6 +11195,7 @@ engines: {node: '>=8'} dependencies: path-key: 3.1.1 + dev: true /npm-run-path@5.1.0: resolution: {integrity: sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==} @@ -12612,10 +11213,6 @@ dependencies: boolbase: 1.0.0 dev: true - - /nullthrows@1.1.1: - resolution: {integrity: sha512-2vPPEi+Z7WqML2jZYddDIfy5Dqb0r2fze2zTxNNknZaFpVHU3mFB3R+DWeJWGVx0ecvttSGlJTI+WG+8Z4cDWw==} - dev: false /num2fraction@1.2.2: resolution: {integrity: sha512-Y1wZESM7VUThYY+4W+X4ySH2maqcA+p7UR+w8VWNWVAd6lwuXXWz/w/Cz43J/dI2I+PS6wD5N+bJUF+gjWvIqg==} @@ -12673,13 +11270,6 @@ reftools: 1.1.9 should: 13.2.3 yaml: 1.10.2 - dev: false - - /ob1@0.81.0: - resolution: {integrity: sha512-6Cvrkxt1tqaRdWqTAMcVYEiO5i1xcF9y7t06nFdjFqkfPsEloCf8WwhXdwBpNUkVYSQlSGS7cDgVQR86miBfBQ==} - engines: {node: '>=18.18'} - dependencies: - flow-enums-runtime: 0.0.6 dev: false /object-assign@4.1.1: @@ -12784,13 +11374,7 @@ engines: {node: '>= 0.8'} dependencies: ee-first: 1.1.1 - - /on-finished@2.4.1: - resolution: {integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==} - engines: {node: '>= 0.8'} - dependencies: - ee-first: 1.1.1 - dev: false + dev: true /once@1.4.0: resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} @@ -12802,6 +11386,7 @@ engines: {node: '>=6'} dependencies: mimic-fn: 2.1.0 + dev: true /onetime@6.0.0: resolution: {integrity: sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==} @@ -12826,14 +11411,6 @@ is-inside-container: 1.0.0 is-wsl: 3.1.0 dev: true - - /open@7.4.2: - resolution: {integrity: sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q==} - engines: {node: '>=8'} - dependencies: - is-docker: 2.2.1 - is-wsl: 2.2.0 - dev: false /open@8.4.0: resolution: {integrity: sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q==} @@ -12956,13 +11533,6 @@ engines: {node: '>=4'} dependencies: p-limit: 1.3.0 - dev: false - - /p-locate@3.0.0: - resolution: {integrity: sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==} - engines: {node: '>=6'} - dependencies: - p-limit: 2.3.0 dev: false /p-locate@4.1.0: @@ -13123,6 +11693,7 @@ /parseurl@1.3.3: resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==} engines: {node: '>= 0.8'} + dev: true /pascal-case@3.1.2: resolution: {integrity: sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==} @@ -13218,6 +11789,10 @@ resolution: {integrity: sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==} dev: true + /pathe@2.0.3: + resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==} + dev: true + /pause-stream@0.0.11: resolution: {integrity: sha512-e3FBlXLmN/D1S+zHzanP4E/4Z60oFAa3O051qt1pxa7DEJWKAyil6upYVXCWadEnuoqa4Pkc9oUx9zsxYeRv8A==} dependencies: @@ -13241,6 +11816,11 @@ /picomatch@2.3.1: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} + + /picomatch@4.0.3: + resolution: {integrity: sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==} + engines: {node: '>=12'} + dev: true /pidtree@0.3.1: resolution: {integrity: sha512-qQbW94hLHEqCg7nhby4yRC7G2+jYHY4Rguc2bjw7Uug4GIJuu1tvf2uHaZv5Q8zdt+WKJ6qK1FOI6amaWUo5FA==} @@ -13286,23 +11866,11 @@ vue-demi: 0.14.10(vue@3.5.11) dev: false - /pirates@4.0.6: - resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==} - engines: {node: '>= 6'} - dev: false - /pkcs7@1.0.4: resolution: {integrity: sha512-afRERtHn54AlwaF2/+LFszyAANTCggGilmcmILUzEjvs3XgFZT+xE6+QWQcAGmu4xajy+Xtj7acLOPdx5/eXWQ==} hasBin: true dependencies: '@babel/runtime': 7.24.7 - dev: false - - /pkg-dir@3.0.0: - resolution: {integrity: sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==} - engines: {node: '>=6'} - dependencies: - find-up: 3.0.0 dev: false /pkg-types@1.2.1: @@ -13311,6 +11879,22 @@ confbox: 0.1.8 mlly: 1.7.2 pathe: 1.1.2 + dev: true + + /pkg-types@1.3.1: + resolution: {integrity: sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==} + dependencies: + confbox: 0.1.8 + mlly: 1.7.4 + pathe: 2.0.3 + dev: true + + /pkg-types@2.2.0: + resolution: {integrity: sha512-2SM/GZGAEkPp3KWORxQZns4M+WSeXbC2HEvmOIJe3Cmiv6ieAJvdVhDldtHqM5J1Y7MrR1XhkBT/rMlhh9FdqQ==} + dependencies: + confbox: 0.2.2 + exsolve: 1.0.7 + pathe: 2.0.3 dev: true /platform@1.3.6: @@ -14041,15 +12625,6 @@ hasBin: true dev: true - /pretty-format@29.7.0: - resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/schemas': 29.6.3 - ansi-styles: 5.2.0 - react-is: 18.3.1 - dev: false - /prismjs@1.29.0: resolution: {integrity: sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==} engines: {node: '>=6'} @@ -14067,12 +12642,6 @@ /progress@2.0.3: resolution: {integrity: sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==} engines: {node: '>=0.4.0'} - dev: false - - /promise@8.3.0: - resolution: {integrity: sha512-rZPNPKTOYVNEEKFaq1HqTgOwZD+4/YHS5ukLzQCypkj+OkYx7iv0mA91lJlpPPZ8vMau3IIGj5Qlwrx+8iiSmg==} - dependencies: - asap: 2.0.6 dev: false /prop-types@15.8.1: @@ -14298,6 +12867,10 @@ side-channel: 1.0.4 dev: false + /quansync@0.2.10: + resolution: {integrity: sha512-t41VRkMYbkHyCYmOvx/6URnN80H7k4X0lLdBMGsz+maAwrJQYB1djpV6vHrQIBE0WBSGqhtEHrK9U3DWWH8v7A==} + dev: true + /query-string@4.3.4: resolution: {integrity: sha512-O2XLNDBIg1DnTOa+2XrIwSiXEV8h2KImXUnjhhn2+UsvZ+Es2uyd5CCRTNQlDGbzUQOW3aYCBx9rVA6dzsiY7Q==} engines: {node: '>=0.10.0'} @@ -14309,12 +12882,6 @@ /queue-microtask@1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} - /queue@6.0.2: - resolution: {integrity: sha512-iHZWu+q3IdFZFX36ro/lKBkSvfkztY5Y7HMiPlOUjhupPcG2JMfst2KKEpu5XndviX/3UhFbRngUPNKtgvtZiA==} - dependencies: - inherits: 2.0.4 - dev: false - /quick-lru@1.1.0: resolution: {integrity: sha512-tRS7sTgyxMXtLum8L65daJnHUhfDUgboRdcWW2bR9vBfrj2+O5HSMbQOJfJJjIVSPFqbBCF37FpwWXGitDc5tA==} engines: {node: '>=4'} @@ -14323,11 +12890,6 @@ /quick-lru@4.0.1: resolution: {integrity: sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==} engines: {node: '>=8'} - - /range-parser@1.2.1: - resolution: {integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==} - engines: {node: '>= 0.6'} - dev: false /rc@1.2.8: resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==} @@ -14339,91 +12901,8 @@ strip-json-comments: 2.0.1 dev: true - /react-devtools-core@5.3.2: - resolution: {integrity: sha512-crr9HkVrDiJ0A4zot89oS0Cgv0Oa4OG1Em4jit3P3ZxZSKPMYyMjfwMqgcJna9o625g8oN87rBm8SWWrSTBZxg==} - dependencies: - shell-quote: 1.8.2 - ws: 7.5.10 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - dev: false - /react-is@16.13.1: resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==} - dev: false - - /react-is@18.3.1: - resolution: {integrity: sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==} - dev: false - - /react-native@0.76.5(@babel/core@7.25.7)(@babel/preset-env@7.25.8)(react@19.0.0): - resolution: {integrity: sha512-op2p2kB+lqMF1D7AdX4+wvaR0OPFbvWYs+VBE7bwsb99Cn9xISrLRLAgFflZedQsa5HvnOGrULhtnmItbIKVVw==} - engines: {node: '>=18'} - hasBin: true - peerDependencies: - '@types/react': ^18.2.6 - react: ^18.2.0 - peerDependenciesMeta: - '@types/react': - optional: true - dependencies: - '@jest/create-cache-key-function': 29.7.0 - '@react-native/assets-registry': 0.76.5 - '@react-native/codegen': 0.76.5(@babel/preset-env@7.25.8) - '@react-native/community-cli-plugin': 0.76.5(@babel/core@7.25.7)(@babel/preset-env@7.25.8) - '@react-native/gradle-plugin': 0.76.5 - '@react-native/js-polyfills': 0.76.5 - '@react-native/normalize-colors': 0.76.5 - '@react-native/virtualized-lists': 0.76.5(react-native@0.76.5)(react@19.0.0) - abort-controller: 3.0.0 - anser: 1.4.10 - ansi-regex: 5.0.1 - babel-jest: 29.7.0(@babel/core@7.25.7) - babel-plugin-syntax-hermes-parser: 0.23.1 - base64-js: 1.5.1 - chalk: 4.1.2 - commander: 12.1.0 - event-target-shim: 5.0.1 - flow-enums-runtime: 0.0.6 - glob: 7.2.3 - invariant: 2.2.4 - jest-environment-node: 29.7.0 - jsc-android: 250231.0.0 - memoize-one: 5.2.1 - metro-runtime: 0.81.0 - metro-source-map: 0.81.0 - mkdirp: 0.5.6 - nullthrows: 1.1.1 - pretty-format: 29.7.0 - promise: 8.3.0 - react: 19.0.0 - react-devtools-core: 5.3.2 - react-refresh: 0.14.2 - regenerator-runtime: 0.13.10 - scheduler: 0.24.0-canary-efb381bbf-20230505 - semver: 7.6.3 - stacktrace-parser: 0.1.10 - whatwg-fetch: 3.6.20 - ws: 6.2.3 - yargs: 17.7.2 - transitivePeerDependencies: - - '@babel/core' - - '@babel/preset-env' - - '@react-native-community/cli-server-api' - - bufferutil - - supports-color - - utf-8-validate - dev: false - - /react-refresh@0.14.2: - resolution: {integrity: sha512-jCvmsr+1IUSMUyzOkRcvnVbX3ZYC6g9TDrDbFuFmRDq7PD4yaGbLKNQL6k2jnArV8hjYxh7hVhAZB6s9HDGpZA==} - engines: {node: '>=0.10.0'} - dev: false - - /react@19.0.0: - resolution: {integrity: sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==} - engines: {node: '>=0.10.0'} dev: false /read-cache@1.0.0: @@ -14532,20 +13011,6 @@ resolution: {integrity: sha512-yDMz9g+VaZkqBYS/ozoBJwaBhTbZo3UNYQHNRw1D3UFQB8oHB4uS/tAODO+ZLjGWmUbKnIlOWO+aaIiAxrUWHA==} engines: {node: '>= 14.16.0'} dev: true - - /readline@1.3.0: - resolution: {integrity: sha512-k2d6ACCkiNYz222Fs/iNze30rRJ1iIicW7JuX/7/cozvih6YCkFZH+J6mAFDVgv0dRBaAyr4jDqC95R2y4IADg==} - dev: false - - /recast@0.21.5: - resolution: {integrity: sha512-hjMmLaUXAm1hIuTqOdeYObMslq/q+Xff6QE3Y2P+uoHAg2nmVlLBps2hzh1UJDdMtDTMXOFewK6ky51JQIeECg==} - engines: {node: '>= 4'} - dependencies: - ast-types: 0.15.2 - esprima: 4.0.1 - source-map: 0.6.1 - tslib: 2.7.0 - dev: false /rechoir@0.6.2: resolution: {integrity: sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw==} @@ -15116,12 +13581,6 @@ resolution: {integrity: sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==} dev: false - /scheduler@0.24.0-canary-efb381bbf-20230505: - resolution: {integrity: sha512-ABvovCDe/k9IluqSh4/ISoq8tIJnW8euVAWYt5j/bg6dRnqwQwiGO1F/V4AyK96NGF/FB04FhOUDuWj8IKfABA==} - dependencies: - loose-envify: 1.4.0 - dev: false - /scroll-into-view-if-needed@2.2.31: resolution: {integrity: sha512-dGCXy99wZQivjmjIqihaBQNjryrz5rueJY7eHfTdyWEiR4ttYpsajb14rn9s5d4DY4EcY6+4+U/maARBXJedkA==} dependencies: @@ -15144,14 +13603,6 @@ /select@1.1.2: resolution: {integrity: sha512-OwpTSOfy6xSs1+pwcNrv0RBMOzI39Lp3qQKUTPVVPRjCdNa5JH/oPRiqsesIskK8TVgmRiHwO4KXlV2Li9dANA==} - dev: false - - /selfsigned@2.4.1: - resolution: {integrity: sha512-th5B4L2U+eGLq1TVh7zNRGBapioSORUeymIydxgFpwww9d2qyKvtuPU2jJuHvYAwwqi2Y596QBL3eEqcPEYL8Q==} - engines: {node: '>=10'} - dependencies: - '@types/node-forge': 1.3.11 - node-forge: 1.3.1 dev: false /semver@5.7.1: @@ -15182,27 +13633,6 @@ resolution: {integrity: sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==} engines: {node: '>=10'} hasBin: true - - /send@0.19.0: - resolution: {integrity: sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==} - engines: {node: '>= 0.8.0'} - dependencies: - debug: 2.6.9 - depd: 2.0.0 - destroy: 1.2.0 - encodeurl: 1.0.2 - escape-html: 1.0.3 - etag: 1.8.1 - fresh: 0.5.2 - http-errors: 2.0.0 - mime: 1.6.0 - ms: 2.1.3 - on-finished: 2.4.1 - range-parser: 1.2.1 - statuses: 2.0.1 - transitivePeerDependencies: - - supports-color - dev: false /senin-help@1.0.5(@tanstack/vue-query@4.37.1)(axios@1.7.7)(dayjs@1.11.6)(element-plus@2.9.1)(file-saver@2.0.5)(lodash@4.17.21)(semver@7.6.3)(vue@3.5.11)(xlsx-style@0.8.13)(xlsx@0.18.5): resolution: {integrity: sha512-Tr8eI1N0z3S4iql2cy0xTDccNYs9AT4oHyT+vIPm1f+5cU7DDRYLhG7aWUsBmMi7oeHQBO+Jj/1toHGRbAYqjw==} @@ -15272,23 +13702,6 @@ upper-case-first: 2.0.2 dev: true - /serialize-error@2.1.0: - resolution: {integrity: sha512-ghgmKt5o4Tly5yEG/UJp8qTd0AN7Xalw4XBtDEKP655B699qMEtra1WlXeE6WIvdEG481JvRxULKsInq/iNysw==} - engines: {node: '>=0.10.0'} - dev: false - - /serve-static@1.16.2: - resolution: {integrity: sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==} - engines: {node: '>= 0.8.0'} - dependencies: - encodeurl: 2.0.0 - escape-html: 1.0.3 - parseurl: 1.3.3 - send: 0.19.0 - transitivePeerDependencies: - - supports-color - dev: false - /set-blocking@2.0.0: resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} dev: false @@ -15326,17 +13739,6 @@ resolution: {integrity: sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==} dev: false - /setprototypeof@1.2.0: - resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==} - dev: false - - /shallow-clone@3.0.1: - resolution: {integrity: sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==} - engines: {node: '>=8'} - dependencies: - kind-of: 6.0.3 - dev: false - /shebang-command@1.2.0: resolution: {integrity: sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==} engines: {node: '>=0.10.0'} @@ -15362,6 +13764,7 @@ /shell-quote@1.8.2: resolution: {integrity: sha512-AzqKpGKjrj7EM6rKVQEPpB288oCfnrEIuyoT9cyF4nmGa7V8Zk6f7RRqYisX8X9m+Q7bd632aZW4ky7EhbQztA==} engines: {node: '>= 0.4'} + dev: true /shelljs@0.8.5: resolution: {integrity: sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==} @@ -15593,6 +13996,7 @@ dependencies: buffer-from: 1.1.2 source-map: 0.6.1 + dev: true /source-map-url@0.4.1: resolution: {integrity: sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==} @@ -15691,24 +14095,6 @@ deprecated: 'Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility' dev: true - /stack-utils@2.0.6: - resolution: {integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==} - engines: {node: '>=10'} - dependencies: - escape-string-regexp: 2.0.0 - dev: false - - /stackframe@1.3.4: - resolution: {integrity: sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==} - dev: false - - /stacktrace-parser@0.1.10: - resolution: {integrity: sha512-KJP1OCML99+8fhOHxwwzyWrlUuVX5GQ0ZpJTd1DFXhdkrvg1szxfHhawXUZ3g9TkXORQd4/WG68jMlQZ2p8wlg==} - engines: {node: '>=6'} - dependencies: - type-fest: 0.7.1 - dev: false - /state-toggle@1.0.3: resolution: {integrity: sha512-d/5Z4/2iiCnHw6Xzghyhb+GcmF89bxwgXG60wjIiZaxnymbyOmI8Hk4VqHXiVVp6u2ysaskFfXg3ekCj4WNftQ==} dev: false @@ -15723,11 +14109,6 @@ /statuses@1.5.0: resolution: {integrity: sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==} engines: {node: '>= 0.6'} - - /statuses@2.0.1: - resolution: {integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==} - engines: {node: '>= 0.8'} - dev: false /stdin-discarder@0.2.2: resolution: {integrity: sha512-UhDfHmA92YAlNnCfhmq0VeNL5bDbiZGg7sZ2IvPsXubGkiNa9EC+tUTsjBRsYUAz87btI6/1wf4XoVvQ3uRnmQ==} @@ -15904,6 +14285,7 @@ /strip-final-newline@2.0.0: resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==} engines: {node: '>=6'} + dev: true /strip-final-newline@3.0.0: resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==} @@ -15930,10 +14312,10 @@ resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} - /strip-literal@2.1.0: - resolution: {integrity: sha512-Op+UycaUt/8FbN/Z2TWPBLge3jWrP3xj10f3fnYxf052bKuS3EKs1ZQcVGjnEMdsNVAM+plXRdmjrZ/KgG3Skw==} + /strip-literal@3.0.0: + resolution: {integrity: sha512-TcccoMhJOM3OebGhSBEmp3UZ2SfDMZUEBdRA/9ynfLi8yYajyWX3JiXArcJt4Umh4vISpspkQIY8ZZoCqjbviA==} dependencies: - js-tokens: 9.0.0 + js-tokens: 9.0.1 dev: true /stubborn-fs@1.2.5: @@ -16281,13 +14663,6 @@ dependencies: has-flag: 4.0.0 - /supports-color@8.1.1: - resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==} - engines: {node: '>=10'} - dependencies: - has-flag: 4.0.0 - dev: false - /supports-hyperlinks@2.3.0: resolution: {integrity: sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==} engines: {node: '>=8'} @@ -16385,13 +14760,6 @@ string-width: 4.2.3 strip-ansi: 6.0.1 - /temp@0.8.4: - resolution: {integrity: sha512-s0ZZzd0BzYv5tLSptZooSjK8oj6C+c19p7Vqta9+6NPOf7r+fxq0cJe6/oN4LTC79sy5NY8ucOJNgwsKCSbfqg==} - engines: {node: '>=6.0.0'} - dependencies: - rimraf: 2.6.3 - dev: false - /terser@5.34.1: resolution: {integrity: sha512-FsJZ7iZLd/BXkz+4xrRTGJ26o/6VTjQytUk8b8OxkwcD2I+79VPJlz7qss1+zE7h8GNIScFqXcDyJ/KqBYZFVA==} engines: {node: '>=10'} @@ -16401,15 +14769,7 @@ acorn: 8.12.1 commander: 2.20.3 source-map-support: 0.5.21 - - /test-exclude@6.0.0: - resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==} - engines: {node: '>=8'} - dependencies: - '@istanbuljs/schema': 0.1.3 - glob: 7.2.3 - minimatch: 3.1.2 - dev: false + dev: true /text-extensions@1.9.0: resolution: {integrity: sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ==} @@ -16437,10 +14797,6 @@ any-promise: 1.3.0 dev: false - /throat@5.0.0: - resolution: {integrity: sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA==} - dev: false - /throttle-debounce@3.0.1: resolution: {integrity: sha512-dTEWWNu6JmeVXY0ZYoPuH5cRIwc0MeGbJwah9KUNYSJwommQpCzTySTpEe8Gs1J23aeWEuAobe4Ag7EHVt/LOg==} engines: {node: '>=10'} @@ -16450,13 +14806,6 @@ resolution: {integrity: sha512-RkK/CCESdTKQZHdmKICijdKKsCRVHs5KsLZ6pACAmF/1GPUQhonHSXWNERctxEp7RmvjdNbZTL5z9V7nSCXKcg==} dependencies: readable-stream: 1.0.34 - xtend: 4.0.2 - dev: false - - /through2@2.0.5: - resolution: {integrity: sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==} - dependencies: - readable-stream: 2.3.7 xtend: 4.0.2 dev: false @@ -16484,8 +14833,8 @@ resolution: {integrity: sha512-meoGeB3vOs3FvtBh+ik7zlOj8C03tC6MZEkjc8BKYvgTrCzBWVDXZi9a3X8AM/YtoyuTaeLuEmaLQj1O/5luuw==} dev: false - /tim-upload-plugin@1.4.2: - resolution: {integrity: sha512-ERhcRcSxr6YV4Ri1LBTclcruWVW2Z+tOLTaBkJ9FEoUzo1XNGxT5esl3NENEthBTWwqSlCwb6vK7Ef91uJ7ZLw==} + /tim-upload-plugin@1.4.3: + resolution: {integrity: sha512-3ZmbA36dr3eG9YGDon9MLBUtbNawYWkL+TBa+VS0Uviguc7PlVSOIVRG2C4irXX16slDT2Kj+HAZapp+Xqp2xg==} dev: false /timers-ext@0.1.8: @@ -16508,16 +14857,20 @@ resolution: {integrity: sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==} dev: false + /tinyglobby@0.2.14: + resolution: {integrity: sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==} + engines: {node: '>=12.0.0'} + dependencies: + fdir: 6.4.6(picomatch@4.0.3) + picomatch: 4.0.3 + dev: true + /tmp@0.0.33: resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} engines: {node: '>=0.6.0'} dependencies: os-tmpdir: 1.0.2 dev: true - - /tmpl@1.0.5: - resolution: {integrity: sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==} - dev: false /to-arraybuffer@1.0.1: resolution: {integrity: sha512-okFlQcoGTi4LQBG/PgSYblw9VOyptsz2KJZqc6qtgGdes8VktzUQkj4BI2blit072iS8VODNcMA+tvnS9dnuMA==} @@ -16555,11 +14908,6 @@ regex-not: 1.0.2 safe-regex: 1.1.0 - /toidentifier@1.0.1: - resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==} - engines: {node: '>=0.6'} - dev: false - /traverse@0.6.7: resolution: {integrity: sha512-/y956gpUo9ZNCb99YjxG7OaslxZWHfCHAUUfshwqOXmxUIvqLjVO581BT+gM59+QV9tFe6/CGG53tsA1Y7RSdg==} dev: true @@ -16586,12 +14934,6 @@ resolution: {integrity: sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA==} dev: false - /trtc-cloud-js-sdk@2.5.0: - resolution: {integrity: sha512-tWaKgAl7ENYSjfm7hxuoCLCc0V6KVfk8sDOSmR2V591Iaxjmnw7PyUtlvGQyC9on37txAxYKW0a4pZQE/H2p8g==} - dependencies: - trtc-sdk-v5: 5.6.2 - dev: false - /trtc-cloud-js-sdk@2.9.3: resolution: {integrity: sha512-4pZmNNoD1RjmhCIEA1HVRe/NIWDO8+w9hBpy8fJYa2B07la4Xc7QzCHnVZb7JgNoa6f3MVfUuOrtyrMsUMnt/Q==} dependencies: @@ -16606,12 +14948,6 @@ /trtc-sdk-v5@5.11.1: resolution: {integrity: sha512-7EPZx3UUrvBAU9HynXsIcgI91wYWTYKbEkYUp186EDwgVEzc+v4uDL0427AY1PBI8tgf2ednO4qFk/C8crTSPQ==} - dependencies: - webrtc-adapter: 8.2.3 - dev: false - - /trtc-sdk-v5@5.6.2: - resolution: {integrity: sha512-Ylt9LePeHyet2+hABcDxKSMTRMY6IVukw72yvRXgpRi2iR/sDLFSKtj+i3EeQ/BJZZWSTuyFXbolHpVJMPxgPg==} dependencies: webrtc-adapter: 8.2.3 dev: false @@ -16678,6 +15014,7 @@ /tslib@2.7.0: resolution: {integrity: sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==} + dev: true /tsutils@3.21.0(typescript@4.8.4): resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} @@ -16693,7 +15030,7 @@ dependencies: '@tencentcloud/chat': 3.5.7 rtc-ai-denoiser: 1.1.7 - trtc-cloud-js-sdk: 2.5.0 + trtc-cloud-js-sdk: 2.9.3 dev: false /tuikit-logger@0.0.4-beta.1: @@ -16705,11 +15042,6 @@ engines: {node: '>= 0.8.0'} dependencies: prelude-ls: 1.2.1 - - /type-detect@4.0.8: - resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==} - engines: {node: '>=4'} - dev: false /type-fest@0.18.1: resolution: {integrity: sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==} @@ -16726,11 +15058,6 @@ /type-fest@0.6.0: resolution: {integrity: sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==} engines: {node: '>=8'} - - /type-fest@0.7.1: - resolution: {integrity: sha512-Ne2YiiGN8bmrmJJEuTWTLJR32nh/JdL1+PSicowtNb0WFpn59GK8/lfD61bVtzguz7b3PBt74nxpv/Pw5po5Rg==} - engines: {node: '>=8'} - dev: false /type-fest@0.8.1: resolution: {integrity: sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==} @@ -16929,25 +15256,24 @@ vfile: 4.2.1 dev: false - /unimport@3.13.1: - resolution: {integrity: sha512-nNrVzcs93yrZQOW77qnyOVHtb68LegvhYFwxFMfuuWScmwQmyVCG/NBuN8tYsaGzgQUVYv34E/af+Cc9u4og4A==} + /unimport@4.2.0: + resolution: {integrity: sha512-mYVtA0nmzrysnYnyb3ALMbByJ+Maosee2+WyE0puXl+Xm2bUwPorPaaeZt0ETfuroPOtG8jj1g/qeFZ6buFnag==} + engines: {node: '>=18.12.0'} dependencies: - '@rollup/pluginutils': 5.1.2 - acorn: 8.12.1 + acorn: 8.15.0 escape-string-regexp: 5.0.0 estree-walker: 3.0.3 - fast-glob: 3.3.2 - local-pkg: 0.5.0 - magic-string: 0.30.11 - mlly: 1.7.2 - pathe: 1.1.2 - pkg-types: 1.2.1 + local-pkg: 1.1.1 + magic-string: 0.30.17 + mlly: 1.7.4 + pathe: 2.0.3 + picomatch: 4.0.3 + pkg-types: 2.2.0 scule: 1.3.0 - strip-literal: 2.1.0 - unplugin: 1.14.1 - transitivePeerDependencies: - - rollup - - webpack-sources + strip-literal: 3.0.0 + tinyglobby: 0.2.14 + unplugin: 2.3.5 + unplugin-utils: 0.2.4 dev: true /union-value@1.0.1: @@ -17029,9 +15355,10 @@ /unpipe@1.0.0: resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} engines: {node: '>= 0.8'} + dev: true - /unplugin-auto-import@0.18.3(@vueuse/core@11.1.0): - resolution: {integrity: sha512-q3FUtGQjYA2e+kb1WumyiQMjHM27MrTQ05QfVwtLRVhyYe+KF6TblBYaEX9L6Z0EibsqaXAiW+RFfkcQpfaXzg==} + /unplugin-auto-import@19.3.0(@vueuse/core@11.1.0): + resolution: {integrity: sha512-iIi0u4Gq2uGkAOGqlPJOAMI8vocvjh1clGTfSK4SOrJKrt+tirrixo/FjgBwXQNNdS7ofcr7OxzmOb/RjWxeEQ==} engines: {node: '>=14'} peerDependencies: '@nuxt/kit': ^3.2.2 @@ -17042,18 +15369,13 @@ '@vueuse/core': optional: true dependencies: - '@antfu/utils': 0.7.10 - '@rollup/pluginutils': 5.1.2 '@vueuse/core': 11.1.0(vue@3.5.11) - fast-glob: 3.3.2 - local-pkg: 0.5.0 - magic-string: 0.30.11 - minimatch: 9.0.5 - unimport: 3.13.1 - unplugin: 1.14.1 - transitivePeerDependencies: - - rollup - - webpack-sources + local-pkg: 1.1.1 + magic-string: 0.30.17 + picomatch: 4.0.3 + unimport: 4.2.0 + unplugin: 2.3.5 + unplugin-utils: 0.2.4 dev: true /unplugin-icons@0.14.12: @@ -17082,6 +15404,14 @@ unplugin: 0.9.6 transitivePeerDependencies: - supports-color + dev: true + + /unplugin-utils@0.2.4: + resolution: {integrity: sha512-8U/MtpkPkkk3Atewj1+RcKIjb5WBimZ/WSLhhR3w6SsIj8XJuKTacSP8g+2JhfSGw0Cb125Y+2zA/IzJZDVbhA==} + engines: {node: '>=18.12.0'} + dependencies: + pathe: 2.0.3 + picomatch: 4.0.3 dev: true /unplugin-vue-components@0.27.4(vue@3.5.11): @@ -17133,6 +15463,15 @@ optional: true dependencies: acorn: 8.12.1 + webpack-virtual-modules: 0.6.2 + dev: true + + /unplugin@2.3.5: + resolution: {integrity: sha512-RyWSb5AHmGtjjNQ6gIlA67sHOsWpsbWpwDokLwTcejVdOjEkJZh7QKu14J00gDDVSh8kGH4KYC/TNBceXFZhtw==} + engines: {node: '>=18.12.0'} + dependencies: + acorn: 8.15.0 + picomatch: 4.0.3 webpack-virtual-modules: 0.6.2 dev: true @@ -17276,6 +15615,7 @@ /utils-merge@1.0.1: resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==} engines: {node: '>= 0.4.0'} + dev: true /v8-compile-cache-lib@3.0.1: resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==} @@ -17559,10 +15899,6 @@ fsevents: 2.3.3 dev: true - /vlq@1.0.1: - resolution: {integrity: sha512-gQpnTgkubC6hQgdIcRdYGDSDc+SaujOdyesZQMv6JlfQee/9Mp0Qhnys6WxDWvQnL5WZdT7o2Ul187aSt0Rq+w==} - dev: false - /voc@1.2.0: resolution: {integrity: sha512-BOuDjFFYvJdZO6e/N65AlaDItXo2TgyLjeyRYcqgAPkXpp5yTJcvkL2n+syO1r9Qc5g96tfBD2tuiMhYDmaGcA==} engines: {node: '>=0.8'} @@ -17683,12 +16019,6 @@ resolution: {integrity: sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ==} dev: false - /walker@1.0.8: - resolution: {integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==} - dependencies: - makeerror: 1.0.12 - dev: false - /wcwidth@1.0.1: resolution: {integrity: sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==} dependencies: @@ -17713,10 +16043,6 @@ engines: {node: '>=6.0.0', npm: '>=3.10.0'} dependencies: sdp: 3.2.0 - dev: false - - /whatwg-fetch@3.6.20: - resolution: {integrity: sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg==} dev: false /when-exit@2.1.3: @@ -17871,14 +16197,6 @@ /wrappy@1.0.2: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} - /write-file-atomic@2.4.3: - resolution: {integrity: sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ==} - dependencies: - graceful-fs: 4.2.11 - imurmurhash: 0.1.4 - signal-exit: 3.0.7 - dev: false - /write-file-atomic@3.0.3: resolution: {integrity: sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==} dependencies: @@ -17894,39 +16212,13 @@ dependencies: imurmurhash: 0.1.4 signal-exit: 3.0.7 + dev: true /write@1.0.3: resolution: {integrity: sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==} engines: {node: '>=4'} dependencies: mkdirp: 0.5.6 - dev: false - - /ws@6.2.3: - resolution: {integrity: sha512-jmTjYU0j60B+vHey6TfR3Z7RD61z/hmxBS3VMSGIrroOWXQEneK1zNuotOUrGyBHQj0yrpsLHPWtigEFd13ndA==} - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: ^5.0.2 - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - dependencies: - async-limiter: 1.0.1 - dev: false - - /ws@7.5.10: - resolution: {integrity: sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==} - engines: {node: '>=8.3.0'} - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: ^5.0.2 - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true dev: false /x-is-string@0.1.0: diff --git a/src/components/Dialog/ConfigureInsureProductDialog.vue b/src/components/Dialog/ConfigureInsureProductDialog.vue deleted file mode 100644 index 4d5e7e2..0000000 --- a/src/components/Dialog/ConfigureInsureProductDialog.vue +++ /dev/null @@ -1,167 +0,0 @@ -<template> - <ProDialog title="閰嶇疆淇濋櫓浜у搧" v-model="innerVisible" destroy-on-close width="900px"> - <el-scrollbar max-height="400px"> - <el-collapse - v-model="activeNames" - @change="handleChange" - class="configure-insure-product-dialog-collapse" - > - <el-collapse-item title="宸叉巿鏉冧骇鍝�" name="Authorized"> - <ConfigureInsureProductItem - v-for="item in productList.hasAuthList" - :key="item.productId" - :productName="item.productName" - :schemeTypeCount="item.schemeTypeCount" - :schemeName="item.schemeName" - isAuthed - :beforeChange="() => beforeChange(item.productId, true)" - /> - </el-collapse-item> - <el-collapse-item title="鏈巿鏉冧骇鍝�" name="Unauthorized"> - <ConfigureInsureProductItem - v-for="item in productList.notAuthList" - :key="item.productId" - :productName="item.productName" - :schemeTypeCount="item.schemeTypeCount" - :schemeName="item.schemeName" - :isAuthed="false" - :beforeChange="() => beforeChange(item.productId, false)" - /> - </el-collapse-item> - </el-collapse> - </el-scrollbar> - - <template #footer> - <span class="dialog-footer"> - <el-button @click="emit('onCancel')">鍙� 娑�</el-button> - <el-button type="primary" @click="emit('onCancel')">纭� 瀹�</el-button> - </span> - </template> - </ProDialog> -</template> - -<script setup lang="ts"> -import { ProDialog } from '@bole-core/components'; -import { FormInstance } from 'element-plus'; -import * as insureMarketProductServices from '@/services/api/InsureMarketProduct'; -import { useQuery, useQueryClient } from '@tanstack/vue-query'; -import ConfigureInsureProductItem from './ConfigureInsureProductItem.vue'; - -defineOptions({ - name: 'ConfigureInsureProductDialog', -}); - -type Props = { - modelValue: boolean; - form?: { - id: string; - }; -}; - -const props = withDefaults(defineProps<Props>(), { - modelValue: false, -}); - -const id = computed(() => props.form?.id); - -const emit = defineEmits<{ - (e: 'update:modelValue', value: boolean): void; - (e: 'onCancel'): void; - (e: 'onSelect', value: API.HelpQuestionDto[]): void; -}>(); - -const innerVisible = computed({ - get() { - return props.modelValue; - }, - set(val) { - emit('update:modelValue', val); - }, -}); - -const { - data: productList, - isLoading, - refetch, -} = useQuery({ - queryKey: ['insureMarketProductServices/getUserCanAuthProductList', id], - queryFn: async () => { - return await insureMarketProductServices.getUserCanAuthProductList( - { companyId: id.value }, - { - showLoading: false, - } - ); - }, - placeholderData: () => - ({ - hasAuthList: [], - notAuthList: [], - } as API.GetCanAuthMarkProductOutput), - enabled: computed(() => !!id.value), -}); - -const activeNames = ref(); - -function handleChange(val: string[]) {} - -async function beforeChange(productId: string, isAuthed: boolean) { - try { - let params: API.InsureMarketProductToAuthInput = { - companyId: id.value, - authProductIds: isAuthed - ? productList.value.hasAuthList - .filter((x) => x.productId !== productId) - .map((x) => x.productId) - : [...productList.value.hasAuthList.map((x) => x.productId), productId], - }; - let res = await insureMarketProductServices.insureMarketProductToAuth(params); - if (res) { - refetch({ - type: 'inactive', - }); - } - return !!res; - } catch (error) {} -} - -const formRef = ref<FormInstance>(); -function handleConfirm() { - if (!formRef.value) return; - formRef.value.validate((valid) => { - if (valid) { - // handleCreateOrUpdate(); - } else { - return; - } - }); -} -</script> - -<style lang="scss" scoped> -@use '@/style/common.scss' as *; - -.configure-insure-product-dialog-collapse { - --bole-pro-form-input-height: 20px; - - :deep() { - .el-collapse-item__header { - font-size: 14px; - font-weight: bold; - - &::before { - margin-right: 8px; - width: 2px; - height: 14px; - background-color: getCssVar('color', 'primary'); - content: ''; - } - } - } -} -</style> -<style lang="scss"> -.text-over-tooltip-content { - max-width: 600px; -} -</style> diff --git a/src/components/Form/CheckboxWithCustomize.vue b/src/components/Form/CheckboxWithCustomize.vue deleted file mode 100644 index b6068b9..0000000 --- a/src/components/Form/CheckboxWithCustomize.vue +++ /dev/null @@ -1,129 +0,0 @@ -<template> - <div class="checkbox-with-extra-wrapper"> - <ProFormCheckbox - v-model="innerModelValue" - :value-enum="checkList" - v-bind="$attrs" - ></ProFormCheckbox> - <div class="checkbox-with-extra-input"> - <el-input - class="checkbox-with-extra-input-view" - v-model.trim="state.customInputValue" - :placeholder="`璇疯緭鍏ユ柊${extraText}`" - :maxlength="15" - :validate-event="false" - /> - <el-button - class="checkbox-with-extra-input-button" - link - type="primary" - @click="handleAddExtra" - > - 鏂板{{ extraText }} <el-icon> <circle-plus /> </el-icon - ></el-button> - </div> - </div> -</template> - -<script setup lang="ts"> -import { ProFormCheckbox } from '@bole-core/components'; -import { Message } from '@bole-core/core'; -// import * as searchSettingServices from '@/services/api/SearchSetting'; -import _ from 'lodash'; -import { useSearchSettingType } from '@/hooks'; - -defineOptions({ - name: 'CheckboxWithCustomize', -}); - -type Props = { - modelValue: string[]; - extraText: string; - searchType: number; - cuntomizeSearchType: number; - belongType?: number; -}; - -const props = withDefaults(defineProps<Props>(), {}); -const state = reactive({ - customInputValue: '', -}); - -const { searchSettingTypeList: typeList } = useSearchSettingType({ - searchType: props.searchType, - belongType: props.belongType, -}); -const { searchSettingTypeList: cuntomizeList, refetchSearchSettingType } = useSearchSettingType({ - searchType: props.cuntomizeSearchType, - belongType: props.belongType, -}); - -const emit = defineEmits<{ - (e: 'update:modelValue', val: string[]): void; - (e: 'handleChange'): void; -}>(); - -const innerModelValue = computed({ - get() { - return props.modelValue; - }, - set(val) { - emit('update:modelValue', val); - }, -}); - -const checkList = computed(() => { - return typeList.value.concat(cuntomizeList.value); -}); - -const handleAddExtra = _.debounce( - async () => { - if (!state.customInputValue) { - Message.warnMessage(`璇疯緭鍏ユ柊${props.extraText}`); - return; - } - await createExtra(); - }, - 1000, - { - leading: true, - trailing: false, - } -); -async function createExtra() { - try { - // let params: API.CreateOrEditSearchInput = { - // searchType: props.cuntomizeSearchType, - // belongType: props.belongType, - // name: state.customInputValue, - // sort: cuntomizeList.value.length + 1, - // status: true, - // src: '', - // }; - // let res = await searchSettingServices.createOrEditSearchSetting(params); - // if (res) { - // refetchSearchSettingType(); - // } - } catch (error) {} -} -</script> - -<style lang="scss" scoped> -@use '@/style/common.scss' as *; - -.checkbox-with-extra-wrapper { - display: inline-flex; - align-items: flex-start; - width: 100%; - - .checkbox-with-extra-input { - display: inline-flex; - margin-left: 10px; - width: 250px; - - .checkbox-with-extra-input-view { - width: 150px; - } - } -} -</style> diff --git a/src/constants/apiEnum.ts b/src/constants/apiEnum.ts new file mode 100644 index 0000000..8069622 --- /dev/null +++ b/src/constants/apiEnum.ts @@ -0,0 +1,106 @@ +/* eslint-disable */ +// @ts-ignore + +/** 瀹㈡埛绔被鍨� */ +export enum EnumClientType { + /**鐢佃剳缃戦〉 */ + PcWeb = 10, + /**寰俊灏忕▼搴� */ + Wxmp = 20, +} + +/** 鑿滃崟绫诲瀷 */ +export enum EnumMenuType { + /**鑿滃崟 */ + Menu = 10, + /**椤甸潰 */ + Page = 20, + /**妯℃�佹 */ + Modal = 30, + /**鎸夐挳 */ + Button = 40, + /**瀛楁 */ + Field = 50, +} + +/** 鏉冮檺璁块棶绾у埆 */ +export enum EnumMenuVisitLevel { + /**鎵�鏈変汉 */ + Everyone = 10, + /**闇�瑕佺櫥褰� */ + NeedLogin = 20, + /**闇�瑕佹潈闄� */ + NeedPower = 30, +} + +/** 鍒嗛〉鍒楄〃鎺掑簭 */ +export enum EnumPagedListOrder { + /**鍗囧簭 */ + Asc = 0, + /**闄嶅簭 */ + Desc = 1, +} + +/** 璧勬簮鎺у埗鍣� */ +export enum EnumResourceController { + /**鏁版嵁瀛楀吀 */ + Dictionary = 0, + /**鐢ㄦ埛璁よ瘉 */ + Auth = 1, + /**鐢ㄦ埛鑿滃崟 */ + Menu = 2, + /**鐢ㄦ埛璧勬簮 */ + Resource = 3, + /**鐢ㄦ埛瑙掕壊 */ + Role = 4, + /**鐢ㄦ埛淇℃伅 */ + UserInfo = 5, + /**浼佷笟淇℃伅 */ + Enterprise = 6, +} + +/** 璧勬簮璇锋眰鏂瑰紡 */ +export enum EnumResourceMethod { + /**鏌ヨ */ + Get = 10, + /**鎻愪氦 */ + Post = 20, + /**淇敼 */ + Put = 30, + /**鍒犻櫎 */ + Delete = 40, +} + +/** 瑙掕壊鎺ュ彛鏁版嵁鏉冮檺 */ +export enum EnumRoleWebApiDataPower { + /**鑷畾涔� */ + Custom = 1, + /**鏌ヨ涓汉鍒涘缓鏁版嵁 */ + Creator = 10, + /**鏌ヨ褰撳墠閮ㄩ棬鏁版嵁 */ + CurrentDepartment = 20, + /**鏌ヨ褰撳墠鍙婁笅绾ч儴闂ㄦ暟鎹� */ + NestingDepartment = 21, + /**鏌ヨ褰撳墠浼佷笟鎵�鏈夋暟鎹� */ + CurrentEnterprise = 30, + /**鏌ヨ鎵�鏈� */ + All = 999, +} + +/** 鐢ㄦ埛淇℃伅鐘舵�� */ +export enum EnumUserInfoStatus { + /**姝e父 */ + Normal = 10, + /**绂佺敤 */ + Disabled = 100, +} + +/** 鐢ㄦ埛绫诲瀷 */ +export enum EnumUserType { + /**涓汉 */ + Personal = 10, + /**浼佷笟 */ + Enterprise = 20, + /**杩愯惀 */ + Operation = 100, +} diff --git a/src/constants/apiEnumText.ts b/src/constants/apiEnumText.ts new file mode 100644 index 0000000..392c27d --- /dev/null +++ b/src/constants/apiEnumText.ts @@ -0,0 +1,26 @@ +import { EnumClientType, EnumUserType, EnumRoleWebApiDataPower } from './apiEnum'; + +export const EnumClientTypeText = { + [EnumClientType.PcWeb]: '鐢佃剳缃戦〉', + [EnumClientType.Wxmp]: '寰俊灏忕▼搴�', +}; + +export const EnumUserTypeText = { + [EnumUserType.Personal]: '涓汉', + [EnumUserType.Enterprise]: '浼佷笟', + [EnumUserType.Operation]: '杩愯惀', +}; + +export const EnumRoleWebApiDataPowerText = { + [EnumRoleWebApiDataPower.Custom]: '鑷畾涔�', + [EnumRoleWebApiDataPower.Creator]: '涓汉鏁版嵁', + [EnumRoleWebApiDataPower.CurrentDepartment]: '褰撳墠閮ㄩ棬鏁版嵁', + [EnumRoleWebApiDataPower.NestingDepartment]: '褰撳墠鍙婁笅绾ч儴闂ㄦ暟鎹�', + [EnumRoleWebApiDataPower.CurrentEnterprise]: '褰撳墠浼佷笟鎵�鏈夋暟鎹�', + [EnumRoleWebApiDataPower.All]: '鍏ㄩ儴鏁版嵁', +}; + +export const EnumRoleWebApiDataPowerTextForFilter = { + [EnumRoleWebApiDataPower.Creator]: '涓汉鏁版嵁', + [EnumRoleWebApiDataPower.All]: '鍏ㄩ儴鏁版嵁', +}; diff --git a/src/constants/app.ts b/src/constants/app.ts index 22b3f14..46dbc29 100644 --- a/src/constants/app.ts +++ b/src/constants/app.ts @@ -1 +1,6 @@ export const AppType = import.meta.env.VITE_AppType || 'one'; + +export const AppLocalConfig = { + userType: EnumUserType.Operation, + clientType: EnumClientType.PcWeb, +}; diff --git a/src/constants/index.ts b/src/constants/index.ts index bec683f..f3951d7 100644 --- a/src/constants/index.ts +++ b/src/constants/index.ts @@ -8,3 +8,5 @@ export * from './theme'; export * from './menu'; export * from './app'; +export * from './apiEnum'; +export * from './apiEnumText'; diff --git a/src/hooks/dic.ts b/src/hooks/dic.ts index e256f01..e69de29 100644 --- a/src/hooks/dic.ts +++ b/src/hooks/dic.ts @@ -1,54 +0,0 @@ -import * as searchSettingServices from '@/services/api/SearchSetting'; -import { useQuery } from '@tanstack/vue-query'; -import { useQueryClient } from '@tanstack/vue-query'; - -type UseSearchSettingTypeOptions = { - searchType: number; - belongType?: number; - onSuccess?: (data: API.GetTypeSearchSettingList[]) => any; -}; - -export function useSearchSettingType({ - searchType, - belongType = null, - onSuccess, -}: UseSearchSettingTypeOptions) { - const { data, refetch } = useQuery({ - queryKey: ['searchSettingServices/getTypeSearchSettingList', { searchType, belongType }], - queryFn: async () => { - return await searchSettingServices.getTypeSearchSettingList( - { - searchType: searchType, - belongType: belongType, - }, - { showLoading: false } - ); - }, - placeholderData: () => [] as API.GetTypeSearchSettingList[], - onSuccess(data) { - onSuccess?.(data); - }, - }); - - const queryClient = useQueryClient(); - - async function ensureSearchSettingType() { - return await queryClient.ensureQueryData({ - queryKey: [ - 'searchSettingServices/getTypeSearchSettingList', - { searchType: searchType, belongType: belongType }, - ], - }); - } - - function getSearchSettingTypeNameById(id: string) { - return data.value.find((x) => x.id === id)?.name ?? ''; - } - - return { - searchSettingTypeList: data, - ensureSearchSettingType, - refetchSearchSettingType: refetch, - getSearchSettingTypeNameById, - }; -} diff --git a/src/hooks/index.ts b/src/hooks/index.ts index bc2b519..ff53805 100644 --- a/src/hooks/index.ts +++ b/src/hooks/index.ts @@ -6,4 +6,4 @@ export * from './useEvent'; export * from './useUser'; export * from './help'; -export * from './dic'; +// export * from './dic'; diff --git a/src/hooks/useAccess.ts b/src/hooks/useAccess.ts index 9546d73..0c61411 100644 --- a/src/hooks/useAccess.ts +++ b/src/hooks/useAccess.ts @@ -1,13 +1,14 @@ import { Route } from '@/router'; -import type { OperationBtnType, ColumnPropsMap } from '@bole-core/components'; +import type { OperationBtnType, ColumnPropsMap, ModuleColumnDto } from '@bole-core/components'; import { useAccess as useBoleAccess, useGroupColumns as useBoleGroupColumns, useGroupOperationBtns as useBoleGroupOperationBtns, + DaPengAccessAdapter, } from '@bole-core/components'; import type { Ref, ComputedRef } from 'vue'; -import * as baseModuleServices from '@/services/api/BaseModule'; import { myClient } from '@/constants/query'; +import * as menuServices from '@/services/api/menu'; type UseAccessOptions = { operationBtnMap?: Record<string, OperationBtnType>; @@ -32,7 +33,13 @@ return useBoleAccess({ queryKey: ['baseModuleServices/getCurrentSubModuleList', { moduleId }], service: async () => { - return await baseModuleServices.getCurrentSubModuleList({ moduleId }, { showLoading: false }); + const res = await menuServices.getMenu( + { id: moduleId }, + { + showLoading: false, + } + ); + return DaPengAccessAdapter.menuAdapter({ groups: res.groups, moduleId }); }, ...options, }); @@ -49,7 +56,7 @@ /** * 瀵筩olumns杩涜鍒嗙粍 */ -export function useGroupColumns(columns: Ref<API.ModuleColumnDto[]>, groups: string[]) { +export function useGroupColumns(columns: Ref<ModuleColumnDto[]>, groups: string[]) { //@ts-ignore return useBoleGroupColumns(columns, groups); } diff --git a/src/hooks/useUser.ts b/src/hooks/useUser.ts index 45e4ba7..49688e7 100644 --- a/src/hooks/useUser.ts +++ b/src/hooks/useUser.ts @@ -1,14 +1,6 @@ import { useUserStore } from '@/store/modules/user'; import { UserUtils } from '@bole-core/core'; -// import * as userRoleServices from '@/services/api/UserRole'; import { useQuery, useQueryClient } from '@tanstack/vue-query'; - -export function useIsSystemAdmin() { - const userStore = useUserStore(); - const { accountInfo } = storeToRefs(userStore); - const isSystemAdmin = computed(() => UserUtils.isSystemRole(accountInfo.value)); - return isSystemAdmin; -} export function useUser() { const userStore = useUserStore(); diff --git a/src/services/api/AbpApiDefinition.ts b/src/services/api/AbpApiDefinition.ts deleted file mode 100644 index db39f3b..0000000 --- a/src/services/api/AbpApiDefinition.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* eslint-disable */ -// @ts-ignore -import { request } from '@/utils/request'; - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/abp/api-definition */ -export async function apiDefinition( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIapiDefinitionParams, - options?: API.RequestConfig -) { - return request<API.ApplicationApiDescriptionModel>('/api/abp/api-definition', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} diff --git a/src/services/api/AbpApplicationConfiguration.ts b/src/services/api/AbpApplicationConfiguration.ts deleted file mode 100644 index 85b59c7..0000000 --- a/src/services/api/AbpApplicationConfiguration.ts +++ /dev/null @@ -1,11 +0,0 @@ -/* eslint-disable */ -// @ts-ignore -import { request } from '@/utils/request'; - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/abp/application-configuration */ -export async function applicationConfiguration(options?: API.RequestConfig) { - return request<API.ApplicationConfigurationDto>('/api/abp/application-configuration', { - method: 'GET', - ...(options || {}), - }); -} diff --git a/src/services/api/Account.ts b/src/services/api/Account.ts deleted file mode 100644 index fe200c0..0000000 --- a/src/services/api/Account.ts +++ /dev/null @@ -1,483 +0,0 @@ -/* eslint-disable */ -// @ts-ignore -import { request } from '@/utils/request'; - -/** 鏍规嵁鎵嬫満鍙峰垽鏂敤鎴锋槸鍚﹀凡瀛樺湪 POST /api/Account/AnyUserByPhoneNumber */ -export async function anyUserByPhoneNumber( - body: API.AnyUserByPhoneNumberInput, - options?: API.RequestConfig -) { - return request<boolean>('/api/Account/AnyUserByPhoneNumber', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** C绔獙璇佺爜鐧诲綍 POST /api/Account/CClientPhoneMesssageCodeLogin */ -export async function cClientPhoneMesssageCodeLogin( - body: API.PhoneMesssageCodeLoginInput, - options?: API.RequestConfig -) { - return request<API.IdentityModelTokenCacheItem>('/api/Account/CClientPhoneMesssageCodeLogin', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** C绔墜鏈哄彿楠岃瘉鐮佹敞鍐屾敞鍐� POST /api/Account/CClientPhoneMesssageCodeRegister */ -export async function cClientPhoneMesssageCodeRegister( - body: API.PhoneMesssageCodeRegisterInput, - options?: API.RequestConfig -) { - return request<number>('/api/Account/CClientPhoneMesssageCodeRegister', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 鐢ㄦ埛鏍规嵁褰撳墠瀵嗙爜淇敼瀵嗙爜 POST /api/Account/ChangePasswordFromCurrentPwd */ -export async function changePasswordFromCurrentPwd( - body: API.ChangePasswordFromCurrentPwdInput, - options?: API.RequestConfig -) { - return request<number>('/api/Account/ChangePasswordFromCurrentPwd', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 鐢ㄦ埛鏍规嵁鎵嬫満鍙蜂慨鏀瑰瘑鐮侀獙璇佺爜 POST /api/Account/ChangePasswordFromPhoneNumber */ -export async function changePasswordFromPhoneNumber( - body: API.ChangePasswordFromPhoneNumberInput, - options?: API.RequestConfig -) { - return request<number>('/api/Account/ChangePasswordFromPhoneNumber', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 鏈櫥褰曚笅鏍规嵁鎵嬫満鍙蜂慨鏀瑰瘑鐮侀獙璇佺爜(蹇樿瀵嗙爜) POST /api/Account/ChangePasswordWithNoLogin */ -export async function changePasswordWithNoLogin( - body: API.ChangePasswordFromPhoneNumberInput, - options?: API.RequestConfig -) { - return request<number>('/api/Account/ChangePasswordWithNoLogin', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 淇敼璐﹀彿 POST /api/Account/ChangeUserName */ -export async function changeUserName(body: API.ChangeUserNameInput, options?: API.RequestConfig) { - return request<number>('/api/Account/ChangeUserName', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 绠$悊鍛樻洿鏀圭敤鎴风櫥褰曟墜鏈哄彿 POST /api/Account/ChangeUserPhoneNumberForAdmin */ -export async function changeUserPhoneNumberForAdmin( - body: API.ChangePhoneNumberInput, - options?: API.RequestConfig -) { - return request<number>('/api/Account/ChangeUserPhoneNumberForAdmin', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 鐢ㄦ埛鏇存敼鐧诲綍鎵嬫満鍙� POST /api/Account/ChangeUserPhoneNumberForUser */ -export async function changeUserPhoneNumberForUser( - body: API.ChangeUserPhoneNumberForUserInput, - options?: API.RequestConfig -) { - return request<number>('/api/Account/ChangeUserPhoneNumberForUser', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 鐢熸垚璐﹀彿 POST /api/Account/GenerateUserName */ -export async function generateUserName( - body: API.GenerateUserNameInput, - options?: API.RequestConfig -) { - return request<string>('/api/Account/GenerateUserName', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/Account/GetOssSTS */ -export async function getOssSTS(options?: API.RequestConfig) { - return request<API.OssSTSReponse>('/api/Account/GetOssSTS', { - method: 'POST', - ...(options || {}), - }); -} - -/** 鑾峰彇鎵爜鐧诲綍浜岀淮鐮佷俊鎭� GET /api/Account/GetQrCodeForLogin */ -export async function getQrCodeForLogin(options?: API.RequestConfig) { - return request<API.QrCodeLogin>('/api/Account/GetQrCodeForLogin', { - method: 'GET', - ...(options || {}), - }); -} - -/** 鑾峰彇鎵爜鐧诲綍缁撴灉 GET /api/Account/GetQrCodeLoginResult */ -export async function getQrCodeLoginResult( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIgetQrCodeLoginResultParams, - options?: API.RequestConfig -) { - return request<API.WxMiniAppLoginInfo>('/api/Account/GetQrCodeLoginResult', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 鐢靛瓙绛剧櫥褰� POST /api/Account/GetTokenForUserSign */ -export async function getTokenForUserSign(body: API.AccessRequestDto, options?: API.RequestConfig) { - return request<API.IdentityModelTokenCacheItem>('/api/Account/GetTokenForUserSign', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/Account/GetTokenForWeb */ -export async function getTokenForWeb(body: API.AccessRequestDto, options?: API.RequestConfig) { - return request<API.IdentityModelTokenCacheItem>('/api/Account/GetTokenForWeb', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 鑾峰彇寰俊灏忕▼搴忕敤鎴疯韩浠戒細璇濅俊鎭� GET /api/Account/GetWxIndentity */ -export async function getWxIndentity( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIgetWxIndentityParams, - options?: API.RequestConfig -) { - return request<API.WxMiniAppIndentityInfo>('/api/Account/GetWxIndentity', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 鍒ゆ柇鐢ㄦ埛鎵嬫満鍙锋槸鍚﹂噸澶� GET /api/Account/IsRepeatByPhoneNumber */ -export async function isRepeatByPhoneNumber( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIisRepeatByPhoneNumberParams, - options?: API.RequestConfig -) { - return request<boolean>('/api/Account/IsRepeatByPhoneNumber', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 瀵嗙爜鐧诲綍 POST /api/Account/PasswordLogin */ -export async function passwordLogin(body: API.PasswordLoginInput, options?: API.RequestConfig) { - return request<API.IdentityModelTokenCacheItem>('/api/Account/PasswordLogin', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 楠岃瘉鐮佺櫥褰� POST /api/Account/PhoneMesssageCodeLogin */ -export async function phoneMesssageCodeLogin( - body: API.PhoneMesssageCodeLoginInput, - options?: API.RequestConfig -) { - return request<API.IdentityModelTokenCacheItem>('/api/Account/PhoneMesssageCodeLogin', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 鎵嬫満鍙烽獙璇佺爜娉ㄥ唽娉ㄥ唽 POST /api/Account/PhoneMesssageCodeRegister */ -export async function phoneMesssageCodeRegister( - body: API.PhoneMesssageCodeRegisterInput, - options?: API.RequestConfig -) { - return request<number>('/api/Account/PhoneMesssageCodeRegister', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 閲嶇疆瀵嗙爜骞跺彂閫佹墜鏈洪�氱煡鏂板瘑鐮� POST /api/Account/ResetPasswordWithMicroNotify */ -export async function resetPasswordWithMicroNotify( - body: API.ResetPasswordBaseInput, - options?: API.RequestConfig -) { - return request<number>('/api/Account/ResetPasswordWithMicroNotify', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 鍙戦�佺櫥褰曟敞鍐岀煭淇¢獙璇佺爜 POST /api/Account/SendPhoneMesssageCode */ -export async function sendPhoneMesssageCode( - body: API.SendPhoneMesssageCodeInput, - options?: API.RequestConfig -) { - return request<number>('/api/Account/SendPhoneMesssageCode', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 瑙g粦鐢ㄦ埛鎵嬫満鍙� POST /api/Account/UnbindingUserPhoneNumber */ -export async function unbindingUserPhoneNumber( - body: API.UnbindingUserPhoneNumber, - options?: API.RequestConfig -) { - return request<number>('/api/Account/UnbindingUserPhoneNumber', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 璇嗗埆钀ヤ笟鎵х収 GET /api/Account/VatLicense */ -export async function vatLicense( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIvatLicenseParams, - options?: API.RequestConfig -) { - return request<API.LicenseOcrModel>('/api/Account/VatLicense', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 灏忕▼搴忔墜鏈烘巿鏉冩敞鍐岀櫥褰� POST /api/Account/WxMiniAppPhoneAuthLogin */ -export async function wxMiniAppPhoneAuthLogin( - body: API.WxMiniAppPhoneLoginInput, - options?: API.RequestConfig -) { - return request<API.IdentityModelTokenCacheItem>('/api/Account/WxMiniAppPhoneAuthLogin', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 灏忕▼搴忔壂鐮佹墜鏈烘巿鏉冩敞鍐岀櫥褰� POST /api/Account/WxMiniAppPhoneAuthLoginFromScan */ -export async function wxMiniAppPhoneAuthLoginFromScan( - body: API.WxMiniAppPhoneAuthLoginFromScanInput, - options?: API.RequestConfig -) { - return request<API.IdentityModelTokenCacheItem>('/api/Account/WxMiniAppPhoneAuthLoginFromScan', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 宸叉湁灏忕▼搴忕敤鎴风‘璁ょ櫥褰� GET /api/Account/WxMiniAppUserLogin */ -export async function wxMiniAppUserLogin( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIwxMiniAppUserLoginParams, - options?: API.RequestConfig -) { - return request<any>('/api/Account/WxMiniAppUserLogin', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 宸叉湁灏忕▼搴忕敤鎴锋壂鐮佺‘璁ょ櫥褰� POST /api/Account/WxMiniAppUserLoginFromScan */ -export async function wxMiniAppUserLoginFromScan( - body: API.WxMiniAppUserLoginFromScanInput, - options?: API.RequestConfig -) { - return request<API.IdentityModelTokenCacheItem>('/api/Account/WxMiniAppUserLoginFromScan', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/accountAuth/GetCode */ -export async function getCode(options?: API.RequestConfig) { - return request<any>('/api/accountAuth/GetCode', { - method: 'GET', - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/accountAuth/GetPhoneToken */ -export async function getPhoneToken(body: API.PhoneToken, options?: API.RequestConfig) { - return request<API.IdentityModelTokenCacheItem>('/api/accountAuth/GetPhoneToken', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/accountAuth/GetToken */ -export async function getToken(body: API.AccessRequestDto, options?: API.RequestConfig) { - return request<API.IdentityModelTokenCacheItem>('/api/accountAuth/GetToken', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/accountAuth/GetTokenByRefreshToken */ -export async function getTokenByRefreshToken( - body: API.AccessRefreshToken, - options?: API.RequestConfig -) { - return request<API.IdentityModelTokenCacheItem>('/api/accountAuth/GetTokenByRefreshToken', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/accountAuth/Register */ -export async function register(body: API.RegisterDto, options?: API.RequestConfig) { - return request<API.IdentityUserDto>('/api/accountAuth/Register', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/accountAuth/ResetPassword */ -export async function resetPassword(body: API.ResetPasswordDto, options?: API.RequestConfig) { - return request<any>('/api/accountAuth/ResetPassword', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/accountAuth/SendPasswordResetCode */ -export async function sendPasswordResetCode( - body: API.SendPasswordResetCodeDto, - options?: API.RequestConfig -) { - return request<any>('/api/accountAuth/SendPasswordResetCode', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} diff --git a/src/services/api/BaseModule.ts b/src/services/api/BaseModule.ts deleted file mode 100644 index 0c3ff89..0000000 --- a/src/services/api/BaseModule.ts +++ /dev/null @@ -1,326 +0,0 @@ -/* eslint-disable */ -// @ts-ignore -import { request } from '@/utils/request'; - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/BaseModule/AddAuthorizeModule */ -export async function addAuthorizeModule( - body: API.BaseAuthorizeInput, - options?: API.RequestConfig -) { - return request<number>('/api/BaseModule/AddAuthorizeModule', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/BaseModule/AddModuleColumnList */ -export async function addModuleColumnList( - body: API.ModuleColumnDto[], - options?: API.RequestConfig -) { - return request<number>('/api/BaseModule/AddModuleColumnList', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/BaseModule/AddOrEditModule */ -export async function addOrEditModule(body: API.ModuleDto, options?: API.RequestConfig) { - return request<string>('/api/BaseModule/AddOrEditModule', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/BaseModule/AddOrEditModuleButton */ -export async function addOrEditModuleButton( - body: API.ModuleButtonDto, - options?: API.RequestConfig -) { - return request<string>('/api/BaseModule/AddOrEditModuleButton', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/BaseModule/AddOrEditModuleColumn */ -export async function addOrEditModuleColumn( - body: API.ModuleColumnDto, - options?: API.RequestConfig -) { - return request<string>('/api/BaseModule/AddOrEditModuleColumn', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/BaseModule/AddOrEditModuleStatus */ -export async function addOrEditModuleStatus( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIaddOrEditModuleStatusParams, - options?: API.RequestConfig -) { - return request<string>('/api/BaseModule/AddOrEditModuleStatus', { - method: 'POST', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/BaseModule/ChangeSort */ -export async function changeSort(body: API.ChangeSortInput, options?: API.RequestConfig) { - return request<number>('/api/BaseModule/ChangeSort', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 DELETE /api/BaseModule/DeleteModule */ -export async function deleteModule( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIdeleteModuleParams, - options?: API.RequestConfig -) { - return request<number>('/api/BaseModule/DeleteModule', { - method: 'DELETE', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 DELETE /api/BaseModule/DeleteModuleButton */ -export async function deleteModuleButton( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIdeleteModuleButtonParams, - options?: API.RequestConfig -) { - return request<number>('/api/BaseModule/DeleteModuleButton', { - method: 'DELETE', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 DELETE /api/BaseModule/DeleteModuleColumn */ -export async function deleteModuleColumn( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIdeleteModuleColumnParams, - options?: API.RequestConfig -) { - return request<number>('/api/BaseModule/DeleteModuleColumn', { - method: 'DELETE', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/BaseModule/GetAllModuleList */ -export async function getAllModuleList(options?: API.RequestConfig) { - return request<API.ModuleDto[]>('/api/BaseModule/GetAllModuleList', { - method: 'GET', - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/BaseModule/GetAllSubModule */ -export async function getAllSubModule( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIgetAllSubModuleParams, - options?: API.RequestConfig -) { - return request<API.AllSubModule>('/api/BaseModule/GetAllSubModule', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/BaseModule/GetCurrentSubModuleList */ -export async function getCurrentSubModuleList( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIgetCurrentSubModuleListParams, - options?: API.RequestConfig -) { - return request<API.AllSubModule>('/api/BaseModule/GetCurrentSubModuleList', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/BaseModule/GetCurrentUserModuleList */ -export async function getCurrentUserModuleList(options?: API.RequestConfig) { - return request<API.ModuleDto[]>('/api/BaseModule/GetCurrentUserModuleList', { - method: 'GET', - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/BaseModule/GetFirstCurrentUserModuleList */ -export async function getFirstCurrentUserModuleList(options?: API.RequestConfig) { - return request<API.ModuleDto[]>('/api/BaseModule/GetFirstCurrentUserModuleList', { - method: 'GET', - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/BaseModule/GetFirstCurrentUserModuleListCacheByModuleId */ -export async function getFirstCurrentUserModuleListCacheByModuleId( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIgetFirstCurrentUserModuleListCacheByModuleIdParams, - options?: API.RequestConfig -) { - return request<API.ModuleDto[]>('/api/BaseModule/GetFirstCurrentUserModuleListCacheByModuleId', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/BaseModule/GetMyModule */ -export async function getMyModule(options?: API.RequestConfig) { - return request<API.MyModuleDto[]>('/api/BaseModule/GetMyModule', { - method: 'GET', - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/BaseModule/GetUserOrRoleModuleList */ -export async function getUserOrRoleModuleList( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIgetUserOrRoleModuleListParams, - options?: API.RequestConfig -) { - return request<API.ModuleDto[]>('/api/BaseModule/GetUserOrRoleModuleList', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/BaseModule/GetUserOrRoleSubModuleList */ -export async function getUserOrRoleSubModuleList( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIgetUserOrRoleSubModuleListParams, - options?: API.RequestConfig -) { - return request<API.AllSubModule>('/api/BaseModule/GetUserOrRoleSubModuleList', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/BaseModule/GetVersionModuleList */ -export async function getVersionModuleList( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIgetVersionModuleListParams, - options?: API.RequestConfig -) { - return request<API.ModuleDto[]>('/api/BaseModule/GetVersionModuleList', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/BaseModule/GetVersionSubModule */ -export async function getVersionSubModule( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIgetVersionSubModuleParams, - options?: API.RequestConfig -) { - return request<API.AllSubModule>('/api/BaseModule/GetVersionSubModule', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/BaseModule/SetMyModule */ -export async function setMyModule(body: API.SetMyModuleInput, options?: API.RequestConfig) { - return request<number>('/api/BaseModule/SetMyModule', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/BaseModule/SetVersionModule */ -export async function setVersionModule( - body: API.SetVersionModuleInput, - options?: API.RequestConfig -) { - return request<any>('/api/BaseModule/SetVersionModule', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/BaseModule/SingleSetAuthorizeModule */ -export async function singleSetAuthorizeModule( - body: API.BaseAuthorizeDto, - options?: API.RequestConfig -) { - return request<number>('/api/BaseModule/SingleSetAuthorizeModule', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} diff --git a/src/services/api/Common.ts b/src/services/api/Common.ts deleted file mode 100644 index 33f7365..0000000 --- a/src/services/api/Common.ts +++ /dev/null @@ -1,60 +0,0 @@ -/* eslint-disable */ -// @ts-ignore -import { request } from '@/utils/request'; - -/** 鑾峰彇棰勮鏁版嵁 GET /api/Common/GetPreViewCache */ -export async function getPreViewCache( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIgetPreViewCacheParams, - options?: API.RequestConfig -) { - return request<string>('/api/Common/GetPreViewCache', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 绗笁鏂规墜鏈哄彿楠岃瘉 鍙戦�侀獙璇佺爜 POST /api/Common/SendPhoneCertificationVerificationCode */ -export async function sendPhoneCertificationVerificationCode( - body: API.SendPhoneCertificationVerificationCodeInput, - options?: API.RequestConfig -) { - return request<number>('/api/Common/SendPhoneCertificationVerificationCode', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 鍙戦�侀獙璇佺爜 POST /api/Common/SendVerificationCode */ -export async function sendVerificationCode( - body: API.SendPhoneVerificationCodeByBusinessTypeInput, - options?: API.RequestConfig -) { - return request<number>('/api/Common/SendVerificationCode', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 鍐欏叆棰勮鏁版嵁 POST /api/Common/SetPreViewCache */ -export async function setPreViewCache(body: API.SetPreViewCacheInput, options?: API.RequestConfig) { - return request<string>('/api/Common/SetPreViewCache', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} diff --git a/src/services/api/Features.ts b/src/services/api/Features.ts deleted file mode 100644 index 727f5bf..0000000 --- a/src/services/api/Features.ts +++ /dev/null @@ -1,38 +0,0 @@ -/* eslint-disable */ -// @ts-ignore -import { request } from '@/utils/request'; - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/Features/Get */ -export async function get( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIgetParams, - options?: API.RequestConfig -) { - return request<API.GetFeatureListResultDto>('/api/Features/Get', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 PUT /api/Features/Update */ -export async function update( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIupdateParams, - body: API.UpdateFeaturesDto, - options?: API.RequestConfig -) { - return request<any>('/api/Features/Update', { - method: 'PUT', - headers: { - 'Content-Type': 'application/json', - }, - params: { - ...params, - }, - data: body, - ...(options || {}), - }); -} diff --git a/src/services/api/FlexEnterprise.ts b/src/services/api/FlexEnterprise.ts deleted file mode 100644 index 47751e0..0000000 --- a/src/services/api/FlexEnterprise.ts +++ /dev/null @@ -1,108 +0,0 @@ -/* eslint-disable */ -// @ts-ignore -import { request } from '@/utils/request'; - -/** 鏂板鎴栦慨鏀逛紒涓氱鐞� POST /api/FlexEnterprise/CreateOrEditFlexEnterprise */ -export async function createOrEditFlexEnterprise( - body: API.CreateOrEditFlexEnterpriseInput, - options?: API.RequestConfig -) { - return request<string>('/api/FlexEnterprise/CreateOrEditFlexEnterprise', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 鏂板鎴栦慨鏀归摱琛岃缃� POST /api/FlexEnterprise/CreateOrEditFlexEnterpriseBankSetting */ -export async function createOrEditFlexEnterpriseBankSetting( - body: API.CreateOrEditFlexEnterpriseBankInput, - options?: API.RequestConfig -) { - return request<string>('/api/FlexEnterprise/CreateOrEditFlexEnterpriseBankSetting', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 鏂板鎴栦慨鏀规秷鎭缃� POST /api/FlexEnterprise/CreateOrEditFlexEnterpriseMessageSetting */ -export async function createOrEditFlexEnterpriseMessageSetting( - body: API.CreateOrEditFlexEnterpriseMessageSettingInput, - options?: API.RequestConfig -) { - return request<string>('/api/FlexEnterprise/CreateOrEditFlexEnterpriseMessageSetting', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 鏂板鎴栦慨鏀圭數瀛愮璁剧疆 POST /api/FlexEnterprise/CreateOrEditFlexEnterpriseSignSetting */ -export async function createOrEditFlexEnterpriseSignSetting( - body: API.CreateOrEditFlexEnterpriseSignSettingInput, - options?: API.RequestConfig -) { - return request<string>('/api/FlexEnterprise/CreateOrEditFlexEnterpriseSignSetting', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 鍒犻櫎浼佷笟绠$悊 DELETE /api/FlexEnterprise/DeleteFlexEnterprise */ -export async function deleteFlexEnterprise( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIdeleteFlexEnterpriseParams, - options?: API.RequestConfig -) { - return request<number>('/api/FlexEnterprise/DeleteFlexEnterprise', { - method: 'DELETE', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 鑾峰彇浼佷笟绠$悊鍒楄〃 POST /api/FlexEnterprise/GetFlexEnterpriseList */ -export async function getFlexEnterpriseList( - body: API.GetFlexEnterpriseInput, - options?: API.RequestConfig -) { - return request<API.FlexEnterpriseDtoPageOutput>('/api/FlexEnterprise/GetFlexEnterpriseList', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 璁剧疆浼佷笟鐘舵�� POST /api/FlexEnterprise/SetFlexEnterpriseStatus */ -export async function setFlexEnterpriseStatus( - body: API.SetFlexEnterpriseStatusInput, - options?: API.RequestConfig -) { - return request<number>('/api/FlexEnterprise/SetFlexEnterpriseStatus', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} diff --git a/src/services/api/FlexEnterpriseWoker.ts b/src/services/api/FlexEnterpriseWoker.ts deleted file mode 100644 index 9bafeb5..0000000 --- a/src/services/api/FlexEnterpriseWoker.ts +++ /dev/null @@ -1,54 +0,0 @@ -/* eslint-disable */ -// @ts-ignore -import { request } from '@/utils/request'; - -/** C绔汉鍛樼鐞嗗垪琛� POST /api/FlexEnterpriseWoker/GetUserClientList */ -export async function getUserClientList( - body: API.GetUserClientForBackInput, - options?: API.RequestConfig -) { - return request<API.GetUserClientForBackOutputPageOutput>( - '/api/FlexEnterpriseWoker/GetUserClientList', - { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - } - ); -} - -/** C绔汉鍛樼鐞�--绛剧害璇︽儏 POST /api/FlexEnterpriseWoker/GetUserClientSignList */ -export async function getUserClientSignList( - body: API.GetUserClientSignListInput, - options?: API.RequestConfig -) { - return request<API.UserClientSignListOutputPageOutput>( - '/api/FlexEnterpriseWoker/GetUserClientSignList', - { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - } - ); -} - -/** C绔汉鍛樼鐞�--鑾峰彇浜哄憳璇︽儏 GET /api/FlexEnterpriseWoker/GetUserDetailForBack */ -export async function getUserDetailForBack( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIgetUserDetailForBackParams, - options?: API.RequestConfig -) { - return request<API.GetUserDetailForBackOutput>('/api/FlexEnterpriseWoker/GetUserDetailForBack', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} diff --git a/src/services/api/FlexTask.ts b/src/services/api/FlexTask.ts deleted file mode 100644 index e26d387..0000000 --- a/src/services/api/FlexTask.ts +++ /dev/null @@ -1,63 +0,0 @@ -/* eslint-disable */ -// @ts-ignore -import { request } from '@/utils/request'; - -/** 鑾峰彇浠诲姟璇︽儏 GET /api/FlexTask/GetFlexTaskDetail */ -export async function getFlexTaskDetail( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIgetFlexTaskDetailParams, - options?: API.RequestConfig -) { - return request<API.GetFlexTaskDetailForBackOutput>('/api/FlexTask/GetFlexTaskDetail', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 鑾峰彇杩愯惀绔换鍔$鐞嗗垪琛� POST /api/FlexTask/GetFlexTaskList */ -export async function getFlexTaskList( - body: API.GetFlexTaskForBackInput, - options?: API.RequestConfig -) { - return request<API.FlexTaskListOutputPageOutput>('/api/FlexTask/GetFlexTaskList', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 鑾峰彇鎶ュ悕璇︽儏 POST /api/FlexTask/GetFlexTaskWorkerList */ -export async function getFlexTaskWorkerList( - body: API.GetFlexTaskWorkerListInput, - options?: API.RequestConfig -) { - return request<API.GetWorkerListForBackOutputPageOutput>('/api/FlexTask/GetFlexTaskWorkerList', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 璁剧疆浠诲姟鎺ㄨ崘鐘舵�� POST /api/FlexTask/SetFlexTaskReRecommendStatus */ -export async function setFlexTaskReRecommendStatus( - body: API.SetRecommendInput, - options?: API.RequestConfig -) { - return request<number>('/api/FlexTask/SetFlexTaskReRecommendStatus', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} diff --git a/src/services/api/FlexWorker.ts b/src/services/api/FlexWorker.ts deleted file mode 100644 index 8c2cc4c..0000000 --- a/src/services/api/FlexWorker.ts +++ /dev/null @@ -1,441 +0,0 @@ -/* eslint-disable */ -// @ts-ignore -import { request } from '@/utils/request'; - -/** 鍙戝竷/缂栬緫浠诲姟 POST /api/FlexWorker/AddEidtFlexTask */ -export async function addEidtFlexTask(body: API.AddEidtFlexTaskInput, options?: API.RequestConfig) { - return request<number>('/api/FlexWorker/AddEidtFlexTask', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 娣诲姞鑱旂郴璁板綍 GET /api/FlexWorker/AddUserResumeContractRecord */ -export async function addUserResumeContractRecord( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIaddUserResumeContractRecordParams, - options?: API.RequestConfig -) { - return request<number>('/api/FlexWorker/AddUserResumeContractRecord', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 鍙栨秷浜哄憳鏀惰棌 DELETE /api/FlexWorker/CancelUserResumeCollect */ -export async function cancelUserResumeCollect( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIcancelUserResumeCollectParams, - options?: API.RequestConfig -) { - return request<number>('/api/FlexWorker/CancelUserResumeCollect', { - method: 'DELETE', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 鏀惰棌浜哄憳绠�鍘� POST /api/FlexWorker/CollectFlexWorkerResume */ -export async function collectFlexWorkerResume( - body: API.CollectFlexWorkerResumeInput, - options?: API.RequestConfig -) { - return request<number>('/api/FlexWorker/CollectFlexWorkerResume', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 鏀惰棌鍚嶇墖 GET /api/FlexWorker/CollectVisitingCard */ -export async function collectVisitingCard( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIcollectVisitingCardParams, - options?: API.RequestConfig -) { - return request<number>('/api/FlexWorker/CollectVisitingCard', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 浠诲姟鍒犻櫎 DELETE /api/FlexWorker/DeleteFlexTask */ -export async function deleteFlexTask( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIdeleteFlexTaskParams, - options?: API.RequestConfig -) { - return request<number>('/api/FlexWorker/DeleteFlexTask', { - method: 'DELETE', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 鍒犻櫎鍚嶇墖鏀惰棌 DELETE /api/FlexWorker/DeleteMyCardCollect */ -export async function deleteMyCardCollect( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIdeleteMyCardCollectParams, - options?: API.RequestConfig -) { - return request<number>('/api/FlexWorker/DeleteMyCardCollect', { - method: 'DELETE', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 缂栬緫B绔悕鐗� POST /api/FlexWorker/EditVisitingCard */ -export async function editVisitingCard( - body: API.MyVisitingCardOutput, - options?: API.RequestConfig -) { - return request<number>('/api/FlexWorker/EditVisitingCard', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 鑾峰彇鐪佸競鍖哄垪琛� POST /api/FlexWorker/GetAreaList */ -export async function getAreaList(body: API.GetAreaListInput, options?: API.RequestConfig) { - return request<API.AreaDto[]>('/api/FlexWorker/GetAreaList', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 鑾峰彇璧勬牸璇佷功鍒楄〃 GET /api/FlexWorker/GetCertificationList */ -export async function getCertificationList(options?: API.RequestConfig) { - return request<API.GetSearchSettingListOutput[]>('/api/FlexWorker/GetCertificationList', { - method: 'GET', - ...(options || {}), - }); -} - -/** 鑾峰彇浼佷笟绂忓埄鍒楄〃 GET /api/FlexWorker/GetEnterpriseWelfareList */ -export async function getEnterpriseWelfareList(options?: API.RequestConfig) { - return request<API.GetSearchSettingListOutput[]>('/api/FlexWorker/GetEnterpriseWelfareList', { - method: 'GET', - ...(options || {}), - }); -} - -/** 鑾峰彇绛剧害浜哄憳鍒楄〃 POST /api/FlexWorker/GetFlexSignWorkerList */ -export async function getFlexSignWorkerList( - body: API.GetFlexSignWorkerListInput, - options?: API.RequestConfig -) { - return request<API.GetNewestWorkerListOutputPageOutput>('/api/FlexWorker/GetFlexSignWorkerList', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** B绔皬绋嬪簭-鑾峰彇浠诲姟绠$悊(鏈畨鎺�/宸插畨鎺�) POST /api/FlexWorker/GetFlexTaskByArrange */ -export async function getFlexTaskByArrange( - body: API.GetFlexTaskListInput, - options?: API.RequestConfig -) { - return request<API.GetFlexTaskListOutputPageOutput>('/api/FlexWorker/GetFlexTaskByArrange', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** B绔皬绋嬪簭-鑾峰彇楠屾敹绠$悊(寰呴獙鏀�/宸查獙鏀�) POST /api/FlexWorker/GetFlexTaskByIsOverCheck */ -export async function getFlexTaskByIsOverCheck( - body: API.GetFlexTaskListInput, - options?: API.RequestConfig -) { - return request<API.GetFlexTaskListOutputPageOutput>('/api/FlexWorker/GetFlexTaskByIsOverCheck', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 鑾峰彇鎷涜仒浠诲姟璇︽儏 GET /api/FlexWorker/GetFlexTaskDto */ -export async function getFlexTaskDto( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIgetFlexTaskDtoParams, - options?: API.RequestConfig -) { - return request<API.GetFlexTaskDtoOutput>('/api/FlexWorker/GetFlexTaskDto', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 鑾峰彇鎷涜仒绠$悊鍒楄〃(鍙戝竷涓�/宸插仠姝�) POST /api/FlexWorker/GetFlexTaskList */ -export async function getFlexTaskList( - body: API.GetFlexTaskListByStatusInput, - options?: API.RequestConfig -) { - return request<API.GetFlexTaskListOutputPageOutput>('/api/FlexWorker/GetFlexTaskList', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 搴旇仒绠$悊-浠诲姟璇︽儏-鑾峰彇浜哄憳鎶ュ悕鍒楄〃 POST /api/FlexWorker/GetFlexTaskWorkerApplyList */ -export async function getFlexTaskWorkerApplyList( - body: API.GetFlexTaskWorkerApplyListInput, - options?: API.RequestConfig -) { - return request<API.GetNewestWorkerListOutputPageOutput>( - '/api/FlexWorker/GetFlexTaskWorkerApplyList', - { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - } - ); -} - -/** 浠诲姟绠$悊-寰呭畨鎺�/宸插畨鎺� 浜哄憳鍒楄〃 POST /api/FlexWorker/GetFlexTaskWorkerArrangeList */ -export async function getFlexTaskWorkerArrangeList( - body: API.GetFlexTaskWorkerArrangeListInput, - options?: API.RequestConfig -) { - return request<API.GetNewestWorkerListOutputPageOutput>( - '/api/FlexWorker/GetFlexTaskWorkerArrangeList', - { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - } - ); -} - -/** 楠屾敹绠$悊-浠诲姟璇︽儏-鑾峰彇鍗曚釜浜哄憳鎻愪氦楠屾敹鍐呭鍒楄〃 POST /api/FlexWorker/GetFlexTaskWorkerCheckContentDto */ -export async function getFlexTaskWorkerCheckContentDto( - body: API.GetFlexTaskWorkerCheckContentDtoInput, - options?: API.RequestConfig -) { - return request<API.GetTaskWorkerCheckContentOutput>( - '/api/FlexWorker/GetFlexTaskWorkerCheckContentDto', - { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - } - ); -} - -/** 鑾峰彇楠屾敹绠$悊 寰呴獙鏀�/宸查獙鏀�-浜哄憳鍒楄〃 POST /api/FlexWorker/GetFlexTaskWorkerCheckList */ -export async function getFlexTaskWorkerCheckList( - body: API.GetFlexTaskWorkerCheckListInput, - options?: API.RequestConfig -) { - return request<API.GetNewestWorkerListOutputPageOutput>( - '/api/FlexWorker/GetFlexTaskWorkerCheckList', - { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - } - ); -} - -/** 鎴戠殑鍚嶇墖澶� POST /api/FlexWorker/GetMyCollectVisitingCardList */ -export async function getMyCollectVisitingCardList( - body: API.GetCollectVisitingCardListInput, - options?: API.RequestConfig -) { - return request<API.GetCollectVisitingCardOutputPageOutput>( - '/api/FlexWorker/GetMyCollectVisitingCardList', - { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - } - ); -} - -/** 鑾峰彇鎴戠殑鍚嶇墖 GET /api/FlexWorker/GetMyVisitingCard */ -export async function getMyVisitingCard(options?: API.RequestConfig) { - return request<API.MyVisitingCardOutput>('/api/FlexWorker/GetMyVisitingCard', { - method: 'GET', - ...(options || {}), - }); -} - -/** 鑾峰彇鐏靛伐鍒楄〃 POST /api/FlexWorker/GetNewesWorkertList */ -export async function getNewesWorkertList( - body: API.GetNewestWorkerListInput, - options?: API.RequestConfig -) { - return request<API.GetNewestWorkerListOutputPageOutput>('/api/FlexWorker/GetNewesWorkertList', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 鑾峰彇鑱旂郴璁板綍 POST /api/FlexWorker/GetUserContractRecordList */ -export async function getUserContractRecordList(body: API.PageInput, options?: API.RequestConfig) { - return request<API.GetNewestWorkerListOutputPageOutput>( - '/api/FlexWorker/GetUserContractRecordList', - { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - } - ); -} - -/** 鑾峰彇绠�鍘嗘敹钘忓垪琛� POST /api/FlexWorker/GetWorkerResumeCollectList */ -export async function getWorkerResumeCollectList(body: API.PageInput, options?: API.RequestConfig) { - return request<API.GetNewestWorkerListOutputPageOutput>( - '/api/FlexWorker/GetWorkerResumeCollectList', - { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - } - ); -} - -/** 浼佷笟瑙g害 GET /api/FlexWorker/StopEnterpriseUserContract */ -export async function stopEnterpriseUserContract( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIstopEnterpriseUserContractParams, - options?: API.RequestConfig -) { - return request<number>('/api/FlexWorker/StopEnterpriseUserContract', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 浠诲姟浜哄憳瀹夋帓/鍙栨秷瀹夋帓 POST /api/FlexWorker/TaskWorkerArrange */ -export async function taskWorkerArrange( - body: API.TaskWorkerArrangeInput, - options?: API.RequestConfig -) { - return request<number>('/api/FlexWorker/TaskWorkerArrange', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 楠屾敹绠$悊-楠屾敹璇︽儏-瀵逛汉鍛樿繘琛岄獙鏀跺鏍� POST /api/FlexWorker/TaskWorkerCheckAcceptStatus */ -export async function taskWorkerCheckAcceptStatus( - body: API.TaskWorkerCheckAcceptStatusInput, - options?: API.RequestConfig -) { - return request<number>('/api/FlexWorker/TaskWorkerCheckAcceptStatus', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 浠诲姟浜哄憳褰曠敤/璋㈢粷 POST /api/FlexWorker/TaskWorkerHireRefuse */ -export async function taskWorkerHireRefuse( - body: API.TaskWorkerHireRefuseInput, - options?: API.RequestConfig -) { - return request<number>('/api/FlexWorker/TaskWorkerHireRefuse', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 鏇存柊鎷涜仒浠诲姟鍙戝竷鐘舵�� POST /api/FlexWorker/UpdateFlexTaskReleaseStatus */ -export async function updateFlexTaskReleaseStatus( - body: API.UpdateTaskReleaseStatusInput, - options?: API.RequestConfig -) { - return request<number>('/api/FlexWorker/UpdateFlexTaskReleaseStatus', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} diff --git a/src/services/api/IdentityRole.ts b/src/services/api/IdentityRole.ts deleted file mode 100644 index a0aef1b..0000000 --- a/src/services/api/IdentityRole.ts +++ /dev/null @@ -1,85 +0,0 @@ -/* eslint-disable */ -// @ts-ignore -import { request } from '@/utils/request'; - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/IdentityRole/Create */ -export async function create(body: API.IdentityRoleCreateDto, options?: API.RequestConfig) { - return request<API.IdentityRoleDto>('/api/IdentityRole/Create', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 DELETE /api/IdentityRole/DeleteRole */ -export async function deleteRole( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIdeleteRoleParams, - options?: API.RequestConfig -) { - return request<number>('/api/IdentityRole/DeleteRole', { - method: 'DELETE', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/IdentityRole/Get */ -export async function get( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIgetParams, - options?: API.RequestConfig -) { - return request<API.IdentityRoleDto>('/api/IdentityRole/Get', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/IdentityRole/GetAllList */ -export async function getAllList(options?: API.RequestConfig) { - return request<API.IdentityRoleDtoListResultDto>('/api/IdentityRole/GetAllList', { - method: 'GET', - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/IdentityRole/GetList */ -export async function getList(body: API.IdentityRoleListInput, options?: API.RequestConfig) { - return request<API.IdentityRoleDtoPagedResultDto>('/api/IdentityRole/GetList', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 PUT /api/IdentityRole/Update */ -export async function update( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIupdateParams, - body: API.IdentityRoleUpdateDto, - options?: API.RequestConfig -) { - return request<API.IdentityRoleDto>('/api/IdentityRole/Update', { - method: 'PUT', - headers: { - 'Content-Type': 'application/json', - }, - params: { - ...params, - }, - data: body, - ...(options || {}), - }); -} diff --git a/src/services/api/IdentityUser.ts b/src/services/api/IdentityUser.ts deleted file mode 100644 index 5a947f3..0000000 --- a/src/services/api/IdentityUser.ts +++ /dev/null @@ -1,281 +0,0 @@ -/* eslint-disable */ -// @ts-ignore -import { request } from '@/utils/request'; - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/IdentityUser/Create */ -export async function create(body: API.IdentityUserCreateDto, options?: API.RequestConfig) { - return request<API.IdentityUserDto>('/api/IdentityUser/Create', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 DELETE /api/IdentityUser/DeleteUser */ -export async function deleteUser( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIdeleteUserParams, - options?: API.RequestConfig -) { - return request<number>('/api/IdentityUser/DeleteUser', { - method: 'DELETE', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/IdentityUser/FindByEmail */ -export async function findByEmail( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIfindByEmailParams, - options?: API.RequestConfig -) { - return request<API.IdentityUserDto>('/api/IdentityUser/FindByEmail', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/IdentityUser/FindByUsername */ -export async function findByUsername( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIfindByUsernameParams, - options?: API.RequestConfig -) { - return request<API.IdentityUserDto>('/api/IdentityUser/FindByUsername', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/IdentityUser/Get */ -export async function get( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIgetParams, - options?: API.RequestConfig -) { - return request<API.IdentityUserDto>('/api/IdentityUser/Get', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/IdentityUser/GetAssignableRoles */ -export async function getAssignableRoles(options?: API.RequestConfig) { - return request<API.IdentityRoleDtoListResultDto>('/api/IdentityUser/GetAssignableRoles', { - method: 'GET', - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/IdentityUser/GetList */ -export async function getList( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIgetListParams, - options?: API.RequestConfig -) { - return request<API.IdentityUserDtoPagedResultDto>('/api/IdentityUser/GetList', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/IdentityUser/GetPageList */ -export async function getPageList(body: API.PageUserInput, options?: API.RequestConfig) { - return request<API.IdentityUserDtoPagedResultDto>('/api/IdentityUser/GetPageList', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/IdentityUser/GetRoles/${param0}/roles */ -export async function getRolesIdRoles( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIgetRolesIdRolesParams, - options?: API.RequestConfig -) { - const { id: param0, ...queryParams } = params; - return request<API.IdentityRoleDtoListResultDto>(`/api/IdentityUser/GetRoles/${param0}/roles`, { - method: 'GET', - params: { ...queryParams }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/IdentityUser/GetRoleUserList */ -export async function getRoleUserList(body: API.KeyPageInput, options?: API.RequestConfig) { - return request<API.IdentityUserDtoPageOutput>('/api/IdentityUser/GetRoleUserList', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/IdentityUser/GetUserListByPhoneNumber */ -export async function getUserListByPhoneNumber( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIgetUserListByPhoneNumberParams, - options?: API.RequestConfig -) { - return request<API.IdentityUserDto[]>('/api/IdentityUser/GetUserListByPhoneNumber', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/IdentityUser/ResetPassword */ -export async function resetPassword(body: API.KeyInput, options?: API.RequestConfig) { - return request<number>('/api/IdentityUser/ResetPassword', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/IdentityUser/ResetPasswordWithNotify */ -export async function resetPasswordWithNotify( - body: API.ResetPassWordInput, - options?: API.RequestConfig -) { - return request<number>('/api/IdentityUser/ResetPasswordWithNotify', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/IdentityUser/SetRoleUser */ -export async function setRoleUser(body: API.SetRoleUserInput, options?: API.RequestConfig) { - return request<number>('/api/IdentityUser/SetRoleUser', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/IdentityUser/SetUserRole */ -export async function setUserRole(body: API.SetUserRoleInput, options?: API.RequestConfig) { - return request<number>('/api/IdentityUser/SetUserRole', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 PUT /api/IdentityUser/Update */ -export async function update( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIupdateParams, - body: API.IdentityUserUpdateDto, - options?: API.RequestConfig -) { - return request<API.IdentityUserDto>('/api/IdentityUser/Update', { - method: 'PUT', - headers: { - 'Content-Type': 'application/json', - }, - params: { - ...params, - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/IdentityUser/UpdatePassWord */ -export async function updatePassWord(body: API.UpdatePassWordInput, options?: API.RequestConfig) { - return request<number>('/api/IdentityUser/UpdatePassWord', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/IdentityUser/UpdatePassWordWithNoCode */ -export async function updatePassWordWithNoCode( - body: API.UpdatePassWordInputWithNoCode, - options?: API.RequestConfig -) { - return request<number>('/api/IdentityUser/UpdatePassWordWithNoCode', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 PUT /api/IdentityUser/UpdateRoles */ -export async function updateRoles( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIupdateRolesParams, - body: API.IdentityUserUpdateRolesDto, - options?: API.RequestConfig -) { - return request<number>('/api/IdentityUser/UpdateRoles', { - method: 'PUT', - headers: { - 'Content-Type': 'application/json', - }, - params: { - ...params, - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/IdentityUser/UserForbidden */ -export async function userForbidden(body: API.KeyInput, options?: API.RequestConfig) { - return request<number>('/api/IdentityUser/UserForbidden', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} diff --git a/src/services/api/IdentityUserLookup.ts b/src/services/api/IdentityUserLookup.ts deleted file mode 100644 index f2a20fe..0000000 --- a/src/services/api/IdentityUserLookup.ts +++ /dev/null @@ -1,63 +0,0 @@ -/* eslint-disable */ -// @ts-ignore -import { request } from '@/utils/request'; - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/IdentityUserLookup/FindById */ -export async function findById( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIfindByIdParams, - options?: API.RequestConfig -) { - return request<API.UserData>('/api/IdentityUserLookup/FindById', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/IdentityUserLookup/FindByUserName */ -export async function findByUserName( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIfindByUserNameParams, - options?: API.RequestConfig -) { - return request<API.UserData>('/api/IdentityUserLookup/FindByUserName', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/IdentityUserLookup/GetCount */ -export async function getCount( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIgetCountParams, - options?: API.RequestConfig -) { - return request<number>('/api/IdentityUserLookup/GetCount', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/IdentityUserLookup/Search */ -export async function search( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIsearchParams, - options?: API.RequestConfig -) { - return request<API.UserDataListResultDto>('/api/IdentityUserLookup/Search', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} diff --git a/src/services/api/Permissions.ts b/src/services/api/Permissions.ts deleted file mode 100644 index ebd17c4..0000000 --- a/src/services/api/Permissions.ts +++ /dev/null @@ -1,98 +0,0 @@ -/* eslint-disable */ -// @ts-ignore -import { request } from '@/utils/request'; - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 PUT /api/Permissions/ForbiddenRole */ -export async function forbiddenRole( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIforbiddenRoleParams, - options?: API.RequestConfig -) { - return request<any>('/api/Permissions/ForbiddenRole', { - method: 'PUT', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 PUT /api/Permissions/ForbiddenUser */ -export async function forbiddenUser( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIforbiddenUserParams, - options?: API.RequestConfig -) { - return request<any>('/api/Permissions/ForbiddenUser', { - method: 'PUT', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/Permissions/Get */ -export async function get( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIgetParams, - options?: API.RequestConfig -) { - return request<API.GetPermissionListResultDto>('/api/Permissions/Get', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 PUT /api/Permissions/SetForRole */ -export async function setForRole( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIsetForRoleParams, - options?: API.RequestConfig -) { - return request<any>('/api/Permissions/SetForRole', { - method: 'PUT', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 PUT /api/Permissions/SetForUser */ -export async function setForUser( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIsetForUserParams, - options?: API.RequestConfig -) { - return request<any>('/api/Permissions/SetForUser', { - method: 'PUT', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 PUT /api/Permissions/Update */ -export async function update( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIupdateParams, - body: API.UpdatePermissionsDto, - options?: API.RequestConfig -) { - return request<any>('/api/Permissions/Update', { - method: 'PUT', - headers: { - 'Content-Type': 'application/json', - }, - params: { - ...params, - }, - data: body, - ...(options || {}), - }); -} diff --git a/src/services/api/PhoneMessage.ts b/src/services/api/PhoneMessage.ts deleted file mode 100644 index 60b84e6..0000000 --- a/src/services/api/PhoneMessage.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* eslint-disable */ -// @ts-ignore -import { request } from '@/utils/request'; - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/PhoneMessage/CheckVerificationCode */ -export async function checkVerificationCode( - body: API.CheckLoginVerificationCodeInput, - options?: API.RequestConfig -) { - return request<number>('/api/PhoneMessage/CheckVerificationCode', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/PhoneMessage/SendVerificationCode */ -export async function sendVerificationCode( - body: API.SendPhoneMessageBaseInput, - options?: API.RequestConfig -) { - return request<number>('/api/PhoneMessage/SendVerificationCode', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} diff --git a/src/services/api/Profile.ts b/src/services/api/Profile.ts deleted file mode 100644 index 31a356b..0000000 --- a/src/services/api/Profile.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* eslint-disable */ -// @ts-ignore -import { request } from '@/utils/request'; - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/Profile/ChangePassword */ -export async function changePassword(body: API.ChangePasswordInput, options?: API.RequestConfig) { - return request<any>('/api/Profile/ChangePassword', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/Profile/Get */ -export async function get(options?: API.RequestConfig) { - return request<API.ProfileDto>('/api/Profile/Get', { - method: 'GET', - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 PUT /api/Profile/Update */ -export async function update(body: API.UpdateProfileDto, options?: API.RequestConfig) { - return request<API.ProfileDto>('/api/Profile/Update', { - method: 'PUT', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} diff --git a/src/services/api/SearchSetting.ts b/src/services/api/SearchSetting.ts deleted file mode 100644 index 1e18b19..0000000 --- a/src/services/api/SearchSetting.ts +++ /dev/null @@ -1,86 +0,0 @@ -/* eslint-disable */ -// @ts-ignore -import { request } from '@/utils/request'; - -/** 鎼滅储绠$悊--鏂板缓缂栬緫 POST /api/SearchSetting/CreateOrEditSearchSetting */ -export async function createOrEditSearchSetting( - body: API.CreateOrEditSearchInput, - options?: API.RequestConfig -) { - return request<number>('/api/SearchSetting/CreateOrEditSearchSetting', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 鎼滅储绠$悊--绂佺敤鍚敤 POST /api/SearchSetting/EnableSearchSetting */ -export async function enableSearchSetting( - body: API.EnableSearchSettingInput, - options?: API.RequestConfig -) { - return request<number>('/api/SearchSetting/EnableSearchSetting', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 鏍规嵁鑾峰緱鍏ㄩ儴鎸囧畾绫诲瀷鎼滅储鏉′欢 POST /api/SearchSetting/GetAllSearchSettingList */ -export async function getAllSearchSettingList( - body: API.GetSearchSettingListInput, - options?: API.RequestConfig -) { - return request<API.GetSearchSettingList[]>('/api/SearchSetting/GetAllSearchSettingList', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 鑾峰彇鏌ヨ鏉′欢鍒楄〃 GET /api/SearchSetting/GetSearchConditionList */ -export async function getSearchConditionList(options?: API.RequestConfig) { - return request<API.SearchConditionList[]>('/api/SearchSetting/GetSearchConditionList', { - method: 'GET', - ...(options || {}), - }); -} - -/** 鎼滅储绠$悊--鍒楄〃 POST /api/SearchSetting/GetSearchSettingList */ -export async function getSearchSettingList( - body: API.GetSearchSettingListInput, - options?: API.RequestConfig -) { - return request<API.GetSearchSettingListPageOutput>('/api/SearchSetting/GetSearchSettingList', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 鏍规嵁绫诲瀷鑾峰緱鎸囧畾绫诲瀷鎼滅储鏉′欢 POST /api/SearchSetting/GetTypeSearchSettingList */ -export async function getTypeSearchSettingList( - body: API.GetTypeSearchSettingListInput, - options?: API.RequestConfig -) { - return request<API.GetTypeSearchSettingList[]>('/api/SearchSetting/GetTypeSearchSettingList', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} diff --git a/src/services/api/Tenant.ts b/src/services/api/Tenant.ts deleted file mode 100644 index af392db..0000000 --- a/src/services/api/Tenant.ts +++ /dev/null @@ -1,127 +0,0 @@ -/* eslint-disable */ -// @ts-ignore -import { request } from '@/utils/request'; - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/Tenant/Create */ -export async function create( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIcreateParams, - options?: API.RequestConfig -) { - return request<API.TenantDto>('/api/Tenant/Create', { - method: 'POST', - params: { - ...params, - ExtraProperties: undefined, - ...params['ExtraProperties'], - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 DELETE /api/Tenant/DeleteDefaultConnectionString */ -export async function deleteDefaultConnectionString( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIdeleteDefaultConnectionStringParams, - options?: API.RequestConfig -) { - return request<any>('/api/Tenant/DeleteDefaultConnectionString', { - method: 'DELETE', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 DELETE /api/Tenant/DeleteTenant */ -export async function deleteTenant( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIdeleteTenantParams, - options?: API.RequestConfig -) { - return request<any>('/api/Tenant/DeleteTenant', { - method: 'DELETE', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/Tenant/Get */ -export async function get( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIgetParams, - options?: API.RequestConfig -) { - return request<API.TenantDto>('/api/Tenant/Get', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/Tenant/GetDefaultConnectionString */ -export async function getDefaultConnectionString( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIgetDefaultConnectionStringParams, - options?: API.RequestConfig -) { - return request<string>('/api/Tenant/GetDefaultConnectionString', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/Tenant/GetList */ -export async function getList( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIgetListParams, - options?: API.RequestConfig -) { - return request<API.TenantDtoPagedResultDto>('/api/Tenant/GetList', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 PUT /api/Tenant/Update */ -export async function update( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIupdateParams, - options?: API.RequestConfig -) { - return request<API.TenantDto>('/api/Tenant/Update', { - method: 'PUT', - params: { - ...params, - ExtraProperties: undefined, - ...params['ExtraProperties'], - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 PUT /api/Tenant/UpdateDefaultConnectionString */ -export async function updateDefaultConnectionString( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIupdateDefaultConnectionStringParams, - options?: API.RequestConfig -) { - return request<any>('/api/Tenant/UpdateDefaultConnectionString', { - method: 'PUT', - params: { - ...params, - }, - ...(options || {}), - }); -} diff --git a/src/services/api/User.ts b/src/services/api/User.ts deleted file mode 100644 index 603e2e7..0000000 --- a/src/services/api/User.ts +++ /dev/null @@ -1,11 +0,0 @@ -/* eslint-disable */ -// @ts-ignore -import { request } from '@/utils/request'; - -/** 鑾峰彇涓汉淇℃伅璇︽儏 GET /api/User/GetUserInfo */ -export async function getUserInfo(options?: API.RequestConfig) { - return request<API.UserDto>('/api/User/GetUserInfo', { - method: 'GET', - ...(options || {}), - }); -} diff --git a/src/services/api/UserResume.ts b/src/services/api/UserResume.ts deleted file mode 100644 index 3ec42a4..0000000 --- a/src/services/api/UserResume.ts +++ /dev/null @@ -1,150 +0,0 @@ -/* eslint-disable */ -// @ts-ignore -import { request } from '@/utils/request'; - -/** 鏍规嵁鐢ㄦ埛鑾峰彇鏈熷緟鐨勫伐浣� GET /api/UserResume/GetResumeExpectationJob */ -export async function getResumeExpectationJob(options?: API.RequestConfig) { - return request<API.UserResumeExpectationJobOutput>('/api/UserResume/GetResumeExpectationJob', { - method: 'GET', - ...(options || {}), - }); -} - -/** 鏍规嵁鐢ㄦ埛鑾峰彇绠�鍘� GET /api/UserResume/GetUserResume */ -export async function getUserResume(options?: API.RequestConfig) { - return request<API.MyResumeOutput>('/api/UserResume/GetUserResume', { - method: 'GET', - ...(options || {}), - }); -} - -/** 鏍规嵁鐢ㄦ埛鑾峰彇绠�鍘嗗熀纭�淇℃伅 GET /api/UserResume/GetUserResumeBaseInfo */ -export async function getUserResumeBaseInfo(options?: API.RequestConfig) { - return request<API.UserResumeBaseInfoOutput>('/api/UserResume/GetUserResumeBaseInfo', { - method: 'GET', - ...(options || {}), - }); -} - -/** 鏍规嵁璁よ瘉id鑾峰彇璁よ瘉璇︽儏 GET /api/UserResume/GetUserResumeCertificateDetailById */ -export async function getUserResumeCertificateDetailById( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIgetUserResumeCertificateDetailByIdParams, - options?: API.RequestConfig -) { - return request<API.UserResumeCertificateDetailOutput>( - '/api/UserResume/GetUserResumeCertificateDetailById', - { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - } - ); -} - -/** 鏍规嵁鐢ㄦ埛ID鑾峰彇鐢ㄦ埛璁よ瘉淇℃伅 GET /api/UserResume/GetUserResumeCertificateList */ -export async function getUserResumeCertificateList(options?: API.RequestConfig) { - return request<API.UserResumeCertificateListOutput[]>( - '/api/UserResume/GetUserResumeCertificateList', - { - method: 'GET', - ...(options || {}), - } - ); -} - -/** 鑾峰彇鐢ㄦ埛绠�鍘嗚鎯� GET /api/UserResume/GetUserResumeDetailInfo */ -export async function getUserResumeDetailInfo(options?: API.RequestConfig) { - return request<API.UserResumeDetailInfoOutput>('/api/UserResume/GetUserResumeDetailInfo', { - method: 'GET', - ...(options || {}), - }); -} - -/** 鏍规嵁鐢ㄦ埛id鑾峰彇鐢ㄦ埛宸ヤ綔缁忓巻 GET /api/UserResume/GetUserResumeWorkExperience */ -export async function getUserResumeWorkExperience(options?: API.RequestConfig) { - return request<API.UserResumeWorkExperienceOutput>( - '/api/UserResume/GetUserResumeWorkExperience', - { - method: 'GET', - ...(options || {}), - } - ); -} - -/** 淇濆瓨绠�鍘嗙殑鍩虹淇℃伅 POST /api/UserResume/SaveUserResumeBaseInfo */ -export async function saveUserResumeBaseInfo( - body: API.SaveUserResumeBaseInfoInput, - options?: API.RequestConfig -) { - return request<number>('/api/UserResume/SaveUserResumeBaseInfo', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 淇濆瓨鐢ㄦ埛鐨勭畝鍘嗚璇佷俊鎭� POST /api/UserResume/SaveUserResumeCertificate */ -export async function saveUserResumeCertificate( - body: API.SaveUserResumeCertificateInput, - options?: API.RequestConfig -) { - return request<number>('/api/UserResume/SaveUserResumeCertificate', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 淇濆瓨绠�鍘嗚鎯� POST /api/UserResume/SaveUserResumeDetailInfo */ -export async function saveUserResumeDetailInfo( - body: API.SaveUserResumeDetailInfoInput, - options?: API.RequestConfig -) { - return request<number>('/api/UserResume/SaveUserResumeDetailInfo', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 淇濆瓨鐢ㄦ埛鏈熸湜鐨勫矖浣嶄俊鎭� POST /api/UserResume/SaveUserResumeExpectationJob */ -export async function saveUserResumeExpectationJob( - body: API.SaveUserResumeExpectationJobInput, - options?: API.RequestConfig -) { - return request<number>('/api/UserResume/SaveUserResumeExpectationJob', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 淇濆瓨鐢ㄦ埛宸ヤ綔缁忓巻 POST /api/UserResume/SaveUserResumeWorkExperience */ -export async function saveUserResumeWorkExperience( - body: API.SaveUserResumeWorkExperienceInput, - options?: API.RequestConfig -) { - return request<number>('/api/UserResume/SaveUserResumeWorkExperience', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} diff --git a/src/services/api/Version.ts b/src/services/api/Version.ts deleted file mode 100644 index 03d997d..0000000 --- a/src/services/api/Version.ts +++ /dev/null @@ -1,66 +0,0 @@ -/* eslint-disable */ -// @ts-ignore -import { request } from '@/utils/request'; - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/Version/Create */ -export async function create(body: API.VersionCreate, options?: API.RequestConfig) { - return request<string>('/api/Version/Create', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/Version/DeleteVersion */ -export async function deleteVersion(body: API.KeyInput, options?: API.RequestConfig) { - return request<number>('/api/Version/DeleteVersion', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/Version/Detail */ -export async function detail( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIdetailParams, - options?: API.RequestConfig -) { - return request<API.VersionCache>('/api/Version/Detail', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/Version/List */ -export async function list(body: API.PageInput, options?: API.RequestConfig) { - return request<API.VersionDtoPageOutput>('/api/Version/List', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/Version/Update */ -export async function update(body: API.VersionUpdateInput, options?: API.RequestConfig) { - return request<number>('/api/Version/Update', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} diff --git a/src/services/api/auth.ts b/src/services/api/auth.ts new file mode 100644 index 0000000..db28f67 --- /dev/null +++ b/src/services/api/auth.ts @@ -0,0 +1,49 @@ +/* eslint-disable */ +// @ts-ignore +import { request } from '@/utils/request'; + +/** 鑾峰彇闃块噷浜慜SS鎺堟潈淇℃伅 GET /api/user/auth/getAliyunOSSAcs */ +export async function getAliyunOSSAcs( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetAliyunOSSAcsParams, + options?: API.RequestConfig +) { + return request<API.GetAliyunOSSAcsQueryResult>('/api/user/auth/getAliyunOSSAcs', { + method: 'GET', + params: { + ...params, + request: undefined, + ...params['request'], + }, + ...(options || {}), + }); +} + +/** 鑾峰彇褰撳墠鐧诲綍鐢ㄦ埛鑿滃崟 GET /api/user/auth/getCurrentLogierMenus */ +export async function getCurrentLogierMenus( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetCurrentLogierMenusParams, + options?: API.RequestConfig +) { + return request<API.GetMenusQueryResultItem[]>('/api/user/auth/getCurrentLogierMenus', { + method: 'GET', + params: { + ...params, + request: undefined, + ...params['request'], + }, + ...(options || {}), + }); +} + +/** 瀵嗙爜鐧诲綍 POST /api/user/auth/passwordLogin */ +export async function passwordLogin(body: API.PasswordLoginCommand, options?: API.RequestConfig) { + return request<API.PasswordLoginCommandCallback>('/api/user/auth/passwordLogin', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} diff --git a/src/services/api/dictionary.ts b/src/services/api/dictionary.ts new file mode 100644 index 0000000..26f00b9 --- /dev/null +++ b/src/services/api/dictionary.ts @@ -0,0 +1,99 @@ +/* eslint-disable */ +// @ts-ignore +import { request } from '@/utils/request'; + +/** 鍒犻櫎瀛楀吀绫诲埆 DELETE /api/main/dictionary/deleteDictionaryCategory */ +export async function deleteDictionaryCategory( + body: API.DeleteDictionaryCategoryCommand, + options?: API.RequestConfig +) { + return request<number>('/api/main/dictionary/deleteDictionaryCategory', { + method: 'DELETE', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + +/** 鏌ヨ瀛楀吀绫诲埆鍒嗛〉鍒楄〃鏁版嵁 POST /api/main/dictionary/getDictionaryCategories */ +export async function getDictionaryCategories( + body: API.GetDictionaryCategoriesQuery, + options?: API.RequestConfig +) { + return request<API.PagedListQueryResultGetDictionaryCategoriesQueryResultItem>( + '/api/main/dictionary/getDictionaryCategories', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + } + ); +} + +/** 鑾峰彇瀛楀吀鏁版嵁鍒嗛〉鍒楄〃 POST /api/main/dictionary/getDictionaryDatas */ +export async function getDictionaryDatas( + body: API.GetDictionaryDatasQuery, + options?: API.RequestConfig +) { + return request<API.PagedListQueryResultGetDictionaryDatasQueryResultItem>( + '/api/main/dictionary/getDictionaryDatas', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + } + ); +} + +/** 淇濆瓨瀛楀吀绫诲埆 POST /api/main/dictionary/saveDictionaryCategory */ +export async function saveDictionaryCategory( + body: API.SaveDictionaryCategoryCommand, + options?: API.RequestConfig +) { + return request<string>('/api/main/dictionary/saveDictionaryCategory', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + +/** 淇濆瓨瀛楀吀鏁版嵁 POST /api/main/dictionary/saveDictionaryData */ +export async function saveDictionaryData( + body: API.SaveDictionaryDataCommand, + options?: API.RequestConfig +) { + return request<string>('/api/main/dictionary/saveDictionaryData', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + +/** 璁剧疆瀛楀吀鏁版嵁鏄惁绂佺敤 PUT /api/main/dictionary/setDictionaryDataIsDisabled */ +export async function setDictionaryDataIsDisabled( + body: API.SetDictionaryDataIsDisabledCommand, + options?: API.RequestConfig +) { + return request<number>('/api/main/dictionary/setDictionaryDataIsDisabled', { + method: 'PUT', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} diff --git a/src/services/api/enterprise.ts b/src/services/api/enterprise.ts new file mode 100644 index 0000000..820738d --- /dev/null +++ b/src/services/api/enterprise.ts @@ -0,0 +1,18 @@ +/* eslint-disable */ +// @ts-ignore +import { request } from '@/utils/request'; + +/** 鏌ヨ浼佷笟淇℃伅鍒嗛〉鍒楄〃鏁版嵁 POST /api/user/enterprise/getEnterprises */ +export async function getEnterprises(body: API.GetEnterprisesQuery, options?: API.RequestConfig) { + return request<API.PagedListQueryResultGetEnterprisesQueryResultItem>( + '/api/user/enterprise/getEnterprises', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + } + ); +} diff --git a/src/services/api/index.ts b/src/services/api/index.ts index ffe8d03..7edc9e1 100644 --- a/src/services/api/index.ts +++ b/src/services/api/index.ts @@ -2,47 +2,19 @@ /* eslint-disable */ // API 鏇存柊鏃堕棿锛� // API 鍞竴鏍囪瘑锛� -import * as AbpApiDefinition from './AbpApiDefinition'; -import * as AbpApplicationConfiguration from './AbpApplicationConfiguration'; -import * as Account from './Account'; -import * as BaseModule from './BaseModule'; -import * as Common from './Common'; -import * as Features from './Features'; -import * as FlexEnterprise from './FlexEnterprise'; -import * as FlexEnterpriseWoker from './FlexEnterpriseWoker'; -import * as FlexTask from './FlexTask'; -import * as FlexWorker from './FlexWorker'; -import * as IdentityRole from './IdentityRole'; -import * as IdentityUser from './IdentityUser'; -import * as IdentityUserLookup from './IdentityUserLookup'; -import * as Permissions from './Permissions'; -import * as PhoneMessage from './PhoneMessage'; -import * as Profile from './Profile'; -import * as SearchSetting from './SearchSetting'; -import * as Tenant from './Tenant'; -import * as User from './User'; -import * as UserResume from './UserResume'; -import * as Version from './Version'; +import * as dictionary from './dictionary'; +import * as auth from './auth'; +import * as enterprise from './enterprise'; +import * as menu from './menu'; +import * as resource from './resource'; +import * as role from './role'; +import * as userInfo from './userInfo'; export default { - AbpApiDefinition, - AbpApplicationConfiguration, - Account, - BaseModule, - Common, - Features, - FlexEnterprise, - FlexEnterpriseWoker, - FlexTask, - FlexWorker, - IdentityRole, - IdentityUser, - IdentityUserLookup, - Permissions, - PhoneMessage, - Profile, - SearchSetting, - Tenant, - User, - UserResume, - Version, + dictionary, + auth, + enterprise, + menu, + resource, + role, + userInfo, }; diff --git a/src/services/api/menu.ts b/src/services/api/menu.ts new file mode 100644 index 0000000..c0caa44 --- /dev/null +++ b/src/services/api/menu.ts @@ -0,0 +1,93 @@ +/* eslint-disable */ +// @ts-ignore +import { request } from '@/utils/request'; + +/** 鍒犻櫎鑿滃崟 DELETE /api/user/menu/deleteMenu */ +export async function deleteMenu(body: API.DeleteMenuCommand, options?: API.RequestConfig) { + return request<number>('/api/user/menu/deleteMenu', { + method: 'DELETE', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + +/** 鏌ヨ鑿滃崟璇︽儏 GET /api/user/menu/getMenu */ +export async function getMenu( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetMenuParams, + options?: API.RequestConfig +) { + return request<API.GetMenuQueryResult>('/api/user/menu/getMenu', { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + }); +} + +/** 鏌ヨ鑿滃崟鍒楄〃 GET /api/user/menu/getMenus */ +export async function getMenus( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetMenusParams, + options?: API.RequestConfig +) { + return request<API.GetMenusQueryResultItem[]>('/api/user/menu/getMenus', { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + }); +} + +/** 淇濆瓨鑿滃崟 POST /api/user/menu/saveMenu */ +export async function saveMenu(body: API.SaveMenuCommand, options?: API.RequestConfig) { + return request<string>('/api/user/menu/saveMenu', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + +/** 淇濆瓨鑿滃崟鎸夐挳 POST /api/user/menu/saveMenuButton */ +export async function saveMenuButton(body: API.SaveMenuButtonCommand, options?: API.RequestConfig) { + return request<string>('/api/user/menu/saveMenuButton', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + +/** 淇濆瓨鑿滃崟瀛楁 POST /api/user/menu/saveMenuField */ +export async function saveMenuField(body: API.SaveMenuFieldCommand, options?: API.RequestConfig) { + return request<string>('/api/user/menu/saveMenuField', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + +/** 璁剧疆鑿滃崟鍒囨崲淇℃伅 PUT /api/user/menu/setMenuSwitch */ +export async function setMenuSwitch(body: API.SetMenuSwitchCommand, options?: API.RequestConfig) { + return request<number>('/api/user/menu/setMenuSwitch', { + method: 'PUT', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} diff --git a/src/services/api/resource.ts b/src/services/api/resource.ts new file mode 100644 index 0000000..dc3ef94 --- /dev/null +++ b/src/services/api/resource.ts @@ -0,0 +1,33 @@ +/* eslint-disable */ +// @ts-ignore +import { request } from '@/utils/request'; + +/** 鑾峰彇璧勬簮瀛楁 GET /api/user/resource/getResourceFields */ +export async function getResourceFields( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetResourceFieldsParams, + options?: API.RequestConfig +) { + return request<API.GetResourceFieldsQueryResultItem[]>('/api/user/resource/getResourceFields', { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + }); +} + +/** 鑾峰彇璧勬簮鍒楄〃 GET /api/user/resource/getResources */ +export async function getResources( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetResourcesParams, + options?: API.RequestConfig +) { + return request<API.GetResourcesQueryResultItem[]>('/api/user/resource/getResources', { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + }); +} diff --git a/src/services/api/role.ts b/src/services/api/role.ts new file mode 100644 index 0000000..1ed081d --- /dev/null +++ b/src/services/api/role.ts @@ -0,0 +1,99 @@ +/* eslint-disable */ +// @ts-ignore +import { request } from '@/utils/request'; + +/** 鍒犻櫎瑙掕壊 DELETE /api/user/role/deleteRole */ +export async function deleteRole(body: API.DeleteRoleCommand, options?: API.RequestConfig) { + return request<number>('/api/user/role/deleteRole', { + method: 'DELETE', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + +/** 鏌ヨ瑙掕壊璇︽儏 GET /api/user/role/getRole */ +export async function getRole( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetRoleParams, + options?: API.RequestConfig +) { + return request<API.GetRoleQueryResult>('/api/user/role/getRole', { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + }); +} + +/** 鏌ヨ瑙掕壊鍒嗛〉鍒楄〃 POST /api/user/role/getRoles */ +export async function getRoles(body: API.GetRolesQuery, options?: API.RequestConfig) { + return request<API.PagedListQueryResultGetRolesQueryResultItem>('/api/user/role/getRoles', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + +/** 鏌ヨ瑙掕壊鐢ㄦ埛鍒楄〃 GET /api/user/role/getRoleUserInfos */ +export async function getRoleUserInfos( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetRoleUserInfosParams, + options?: API.RequestConfig +) { + return request<API.GetRoleUserInfosQueryResultItem[]>('/api/user/role/getRoleUserInfos', { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + }); +} + +/** 淇濆瓨瑙掕壊 POST /api/user/role/saveRole */ +export async function saveRole(body: API.SaveRoleCommand, options?: API.RequestConfig) { + return request<string>('/api/user/role/saveRole', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + +/** 璁剧疆瑙掕壊鏄惁绂佺敤 PUT /api/user/role/setRoleIsDisabled */ +export async function setRoleIsDisabled( + body: API.SetRoleIsDisabledCommand, + options?: API.RequestConfig +) { + return request<number>('/api/user/role/setRoleIsDisabled', { + method: 'PUT', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + +/** 璁剧疆瑙掕壊鐢ㄦ埛 PUT /api/user/role/setRoleUserInfos */ +export async function setRoleUserInfos( + body: API.SetRoleUserInfosCommand, + options?: API.RequestConfig +) { + return request<number>('/api/user/role/setRoleUserInfos', { + method: 'PUT', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} diff --git a/src/services/api/typings.d.ts b/src/services/api/typings.d.ts index b4ce2de..52f8a9d 100644 --- a/src/services/api/typings.d.ts +++ b/src/services/api/typings.d.ts @@ -3,1638 +3,468 @@ [key: string]: any; } - interface AccessRefreshToken { - refreshToken?: string; - clientId?: string; + interface APIgetAliyunOSSAcsParams { + /** 鑾峰彇闃块噷浜慜SS鎺堟潈淇℃伅 */ + request?: GetAliyunOSSAcsQuery; } - interface AccessRequestDto { - clientId?: string; - userName?: string; - userPassword?: string; - scope?: string; + interface APIgetCurrentLogierMenusParams { + /** 鑾峰彇褰撳墠鐧诲綍鐢ㄦ埛鑿滃崟 */ + request?: GetCurrentLogierMenusQuery; } - interface ActionApiDescriptionModel { - uniqueName?: string; - name?: string; - httpMethod?: string; - url?: string; - supportedVersions?: string[]; - parametersOnMethod?: MethodParameterApiDescriptionModel[]; - parameters?: ParameterApiDescriptionModel[]; - returnValue?: ReturnValueApiDescriptionModel; - allowAnonymous?: boolean; - implementFrom?: string; - } - - interface AddEidtFlexTaskInput { - taskId?: string; - taskName?: string; - feeType?: FlexTaskFeeTypeEnum; - /** 鏈嶅姟璐� 鍏�/鏈� */ - fee?: number; - settleType?: FlexTaskSettleTypeEnum; - /** 绂忓埄Id */ - listAideIds?: string[]; - minAge?: number; - maxAge?: number; - sexType?: GenderTypeEnum; - /** 璇佷功Id */ - listCertionIds?: string[]; - provinceId?: number; - cityId?: number; - areaId?: number; - address?: string; - startDate?: string; - endDate?: string; - } - - interface AllSubModule { - pageButton?: ModuleButtonDto[]; - dataButton?: ModuleButtonDto[]; - column?: ModuleColumnDto[]; - } - - interface AnyUserByPhoneNumberInput { - /** 鎵嬫満鍙� */ - phoneNumber: string; - } - - interface APIaddOrEditModuleStatusParams { + interface APIgetMenuParams { + /** Id */ id?: string; - isMenu?: number; - enabledMark?: number; - isCache?: boolean; + /** 瑙掕壊Id */ + roleId?: string; } - interface APIaddUserResumeContractRecordParams { - flexWorkerId?: string; + interface APIgetMenusParams { + /** 鐢ㄦ埛绫诲瀷 */ + userType?: EnumUserType; + /** 瀹㈡埛绔被鍨� */ + clientType?: EnumClientType; + /** 瑙掕壊Id */ + roleId?: string; } - interface APIapiDefinitionParams { - includeTypes?: boolean; - } - - interface APIcancelUserResumeCollectParams { - flexWorkerId?: string; - } - - interface APIcollectVisitingCardParams { - flexVisitingCardId?: string; - } - - interface APIcreateParams { - systemEmail: string; - systemPassword: string; - versionId?: string; - systemUserName: string; - systemName: string; - name: string; - extraProperties?: Record<string, any>; - } - - interface APIdeleteDefaultConnectionStringParams { + interface APIgetResourceFieldsParams { + /** Id */ id?: string; } - interface APIdeleteFlexEnterpriseParams { + interface APIgetResourcesParams { + /** 璇锋眰鏂瑰紡 */ + method?: EnumResourceMethod; + /** 鍏抽敭瀛� */ + keywords?: string; + /** 瑙掕壊Id */ + roleId?: string; + } + + interface APIgetRoleParams { + /** Id */ id?: string; } - interface APIdeleteFlexTaskParams { - id?: string; + interface APIgetRoleUserInfosParams { + /** 瑙掕壊Id */ + roleId?: string; } - interface APIdeleteModuleButtonParams { - id?: string; + interface APIgetUserInfoRolesParams { + /** 鐢ㄦ埛Id */ + userInfoId?: string; + /** 瀹㈡埛绔被鍨� */ + clientType?: EnumClientType; } - interface APIdeleteModuleColumnParams { - id?: string; + interface DeleteDictionaryCategoryCommand { + ids: string[]; } - interface APIdeleteModuleParams { - id?: string; + interface DeleteMenuCommand { + ids: string[]; } - interface APIdeleteMyCardCollectParams { - visitingCardCollectId?: string; + interface DeleteRoleCommand { + ids: string[]; } - interface APIdeleteRoleParams { - id?: string; + enum EnumClientType { + /**鐢佃剳缃戦〉 */ + PcWeb = 10, + /**寰俊灏忕▼搴� */ + Wxmp = 20, } - interface APIdeleteTenantParams { - id?: string; + enum EnumMenuType { + /**鑿滃崟 */ + Menu = 10, + /**椤甸潰 */ + Page = 20, + /**妯℃�佹 */ + Modal = 30, + /**鎸夐挳 */ + Button = 40, + /**瀛楁 */ + Field = 50, } - interface APIdeleteUserParams { - id?: string; + enum EnumMenuVisitLevel { + /**鎵�鏈変汉 */ + Everyone = 10, + /**闇�瑕佺櫥褰� */ + NeedLogin = 20, + /**闇�瑕佹潈闄� */ + NeedPower = 30, } - interface APIdetailParams { - id?: string; + enum EnumPagedListOrder { + /**鍗囧簭 */ + Asc = 0, + /**闄嶅簭 */ + Desc = 1, } - interface APIfindByEmailParams { - email?: string; + enum EnumResourceController { + /**鏁版嵁瀛楀吀 */ + Dictionary = 0, + /**鐢ㄦ埛璁よ瘉 */ + Auth = 1, + /**鐢ㄦ埛鑿滃崟 */ + Menu = 2, + /**鐢ㄦ埛璧勬簮 */ + Resource = 3, + /**鐢ㄦ埛瑙掕壊 */ + Role = 4, + /**鐢ㄦ埛淇℃伅 */ + UserInfo = 5, + /**浼佷笟淇℃伅 */ + Enterprise = 6, } - interface APIfindByIdParams { - id?: string; + enum EnumResourceMethod { + /**鏌ヨ */ + Get = 10, + /**鎻愪氦 */ + Post = 20, + /**淇敼 */ + Put = 30, + /**鍒犻櫎 */ + Delete = 40, } - interface APIfindByUsernameParams { - userName?: string; + enum EnumRoleWebApiDataPower { + /**鑷畾涔� */ + Custom = 1, + /**鏌ヨ涓汉鍒涘缓鏁版嵁 */ + Creator = 10, + /**鏌ヨ褰撳墠閮ㄩ棬鏁版嵁 */ + CurrentDepartment = 20, + /**鏌ヨ褰撳墠鍙婁笅绾ч儴闂ㄦ暟鎹� */ + NestingDepartment = 21, + /**鏌ヨ褰撳墠浼佷笟鎵�鏈夋暟鎹� */ + CurrentEnterprise = 30, + /**鏌ヨ鎵�鏈� */ + All = 999, } - interface APIfindByUserNameParams { - userName?: string; + enum EnumUserInfoStatus { + /**姝e父 */ + Normal = 10, + /**绂佺敤 */ + Disabled = 100, } - interface APIforbiddenRoleParams { - roleName?: string; - permissionName?: string; + enum EnumUserType { + /**涓汉 */ + Personal = 10, + /**浼佷笟 */ + Enterprise = 20, + /**杩愯惀 */ + Operation = 100, } - interface APIforbiddenUserParams { - userId?: string; - permissionName?: string; + interface FriendlyResultGetAliyunOSSAcsQueryResult { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: GetAliyunOSSAcsQueryResult; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - interface APIgetAllSubModuleParams { - moduleId?: string; + interface FriendlyResultGetMenuQueryResult { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: GetMenuQueryResult; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - interface APIgetCountParams { - filter?: string; + interface FriendlyResultGetRoleQueryResult { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: GetRoleQueryResult; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - interface APIgetCurrentSubModuleListParams { - moduleId?: string; + interface FriendlyResultGuid { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + /** 鏁版嵁 */ + data?: string; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - interface APIgetDefaultConnectionStringParams { - id?: string; + interface FriendlyResultInt32 { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + /** 鏁版嵁 */ + data?: number; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - interface APIgetFirstCurrentUserModuleListCacheByModuleIdParams { - moduleId?: string; + interface FriendlyResultListGetMenusQueryResultItem { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + /** 鏁版嵁 */ + data?: GetMenusQueryResultItem[]; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - interface APIgetFlexTaskDetailParams { - id?: string; + interface FriendlyResultListGetResourceFieldsQueryResultItem { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + /** 鏁版嵁 */ + data?: GetResourceFieldsQueryResultItem[]; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - interface APIgetFlexTaskDtoParams { - id?: string; + interface FriendlyResultListGetResourcesQueryResultItem { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + /** 鏁版嵁 */ + data?: GetResourcesQueryResultItem[]; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - interface APIgetListParams { - filter?: string; - clientId?: string; - sorting?: string; - skipCount?: number; - maxResultCount?: number; + interface FriendlyResultListGetRoleUserInfosQueryResultItem { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + /** 鏁版嵁 */ + data?: GetRoleUserInfosQueryResultItem[]; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - interface APIgetListParams { - filter?: string; - sorting?: string; - skipCount?: number; - maxResultCount?: number; + interface FriendlyResultListGetUserInfoRolesQueryResultItem { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + /** 鏁版嵁 */ + data?: GetUserInfoRolesQueryResultItem[]; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - interface APIgetParams { - providerName?: string; - providerKey?: string; + interface FriendlyResultPagedListQueryResultGetDictionaryCategoriesQueryResultItem { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: PagedListQueryResultGetDictionaryCategoriesQueryResultItem; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - interface APIgetParams { - id?: string; + interface FriendlyResultPagedListQueryResultGetDictionaryDatasQueryResultItem { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: PagedListQueryResultGetDictionaryDatasQueryResultItem; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - interface APIgetParams { - id?: string; + interface FriendlyResultPagedListQueryResultGetEnterprisesQueryResultItem { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: PagedListQueryResultGetEnterprisesQueryResultItem; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - interface APIgetParams { - providerName?: string; - providerKey?: string; + interface FriendlyResultPagedListQueryResultGetOperationUserInfosQueryResultItem { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: PagedListQueryResultGetOperationUserInfosQueryResultItem; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - interface APIgetParams { - id?: string; + interface FriendlyResultPagedListQueryResultGetRolesQueryResultItem { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: PagedListQueryResultGetRolesQueryResultItem; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - interface APIgetPreViewCacheParams { - id?: string; + interface FriendlyResultPasswordLoginCommandCallback { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: PasswordLoginCommandCallback; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - interface APIgetQrCodeLoginResultParams { - /** 鎵爜鐧诲綍Id */ - uId?: string; - } + type GetAliyunOSSAcsQuery = Record<string, any>; - interface APIgetRolesIdRolesParams { - id: string; - } - - interface APIgetUserDetailForBackParams { - userId?: string; - } - - interface APIgetUserListByPhoneNumberParams { - phoneNumber?: string; - clientId?: string; - } - - interface APIgetUserOrRoleModuleListParams { - id?: string; - objectType?: number; - } - - interface APIgetUserOrRoleSubModuleListParams { - id?: string; - objectType?: number; - } - - interface APIgetUserResumeCertificateDetailByIdParams { - id?: string; - } - - interface APIgetVersionModuleListParams { - versionId?: string; - } - - interface APIgetVersionSubModuleParams { - versionId?: string; - } - - interface APIgetWxIndentityParams { - /** 鐢ㄦ埛鐧诲綍鍑瘉 */ - code?: string; - wxMiniApp?: WxMiniAppEnum; - } - - interface APIisRepeatByPhoneNumberParams { - phoneNumber?: string; - } - - interface APIsearchParams { - filter?: string; - sorting?: string; - skipCount?: number; - maxResultCount?: number; - } - - interface APIsetForRoleParams { - roleName?: string; - permissionName?: string; - } - - interface APIsetForUserParams { - userId?: string; - permissionName?: string; - } - - interface APIstopEnterpriseUserContractParams { - flexWorkerId?: string; - } - - interface APIupdateDefaultConnectionStringParams { - id?: string; - defaultConnectionString?: string; - } - - interface APIupdateParams { - providerName?: string; - providerKey?: string; - } - - interface APIupdateParams { - id?: string; - } - - interface APIupdateParams { - id?: string; - } - - interface APIupdateParams { - providerName?: string; - providerKey?: string; - } - - interface APIupdateParams { - id?: string; - name: string; - extraProperties?: Record<string, any>; - } - - interface APIupdateRolesParams { - id?: string; - } - - interface APIvatLicenseParams { - url?: string; - } - - interface APIwxMiniAppUserLoginParams { - /** 鐢ㄦ埛鐧诲綍鍑瘉 */ - code?: string; - wxMiniApp?: WxMiniAppEnum; - } - - interface ApplicationApiDescriptionModel { - modules?: Record<string, any>; - types?: Record<string, any>; - } - - interface ApplicationAuthConfigurationDto { - policies?: Record<string, any>; - grantedPolicies?: Record<string, any>; - } - - interface ApplicationConfigurationDto { - localization?: ApplicationLocalizationConfigurationDto; - auth?: ApplicationAuthConfigurationDto; - setting?: ApplicationSettingConfigurationDto; - currentUser?: CurrentUserDto; - features?: ApplicationFeatureConfigurationDto; - multiTenancy?: MultiTenancyInfoDto; - currentTenant?: CurrentTenantDto; - timing?: TimingDto; - clock?: ClockDto; - objectExtensions?: ObjectExtensionsDto; - } - - interface ApplicationFeatureConfigurationDto { - values?: Record<string, any>; - } - - interface ApplicationLocalizationConfigurationDto { - values?: Record<string, any>; - languages?: LanguageInfo[]; - currentCulture?: CurrentCultureDto; - defaultResourceName?: string; - languagesMap?: Record<string, any>; - languageFilesMap?: Record<string, any>; - } - - interface ApplicationSettingConfigurationDto { - values?: Record<string, any>; - } - - interface AreaDto { - id?: string; - areaCode?: number; - parentId?: number; - areaName?: string; - /** 1鐪� 2甯� 3鍖� 4闀� */ - layer?: number; - sort?: number; - children?: AreaDto[]; - /** 绠�鏄撴嫾闊� */ - simpleSpelling?: string; - /** 蹇�熸绱� */ - quickQuery?: string; - } - - interface BaseAuthorizeDto { - moduleType?: number; - moduleId?: string; - objectType?: number; - objectId?: string; - addOrDelete?: number; - } - - interface BaseAuthorizeInput { - moduleTypeInfo?: ModuleTypeInfo[]; - objectType?: number; - objectId?: string; - } - - interface ChangePasswordFromCurrentPwdInput { - /** 鏂板瘑鐮� */ - newPassword?: string; - userId?: string; - /** 褰撳墠瀵嗙爜 */ - currentPassword: string; - } - - interface ChangePasswordFromPhoneNumberInput { - /** 鏂板瘑鐮� */ - newPassword?: string; - userId?: string; - /** 鐭俊楠岃瘉鐮� */ - verificationCode: string; - /** 鎵嬫満鍙� */ - phoneNumber: string; - } - - interface ChangePasswordInput { - currentPassword?: string; - newPassword: string; - } - - interface ChangePhoneNumberInput { - userId?: string; - /** 鏂版墜鏈哄彿 */ - newPhoneNumber: string; - } - - interface ChangeSortInput { - id1?: string; - sortCode1?: number; - id2?: string; - sortCode2?: number; - type?: number; - } - - interface ChangeUserNameInput { - /** 鏂拌处鍙� */ - newUserName?: string; - /** 鐢ㄦ埛id */ - userId?: string; - } - - interface ChangeUserPhoneNumberForUserInput { - userId?: string; - /** 鏂版墜鏈哄彿 */ - newPhoneNumber: string; - /** 褰撳墠瀵嗙爜 */ - currentPassword: string; - /** 鐭俊楠岃瘉鐮� */ - verificationCode: string; - } - - type ChargeTypeEnum = 1 | 2; - - interface CheckLoginVerificationCodeInput { - messageType?: string; - phoneNumber: string; - verificationCode?: string; - } - - interface ClockDto { - kind?: string; - } - - interface CollectFlexWorkerResumeInput { - flexWorkerId?: string; - userResumeId?: string; - } - - interface ConditionInfo { - id?: string; - name?: string; - sort?: number; - } - - interface ControllerApiDescriptionModel { - controllerName?: string; - controllerGroupName?: string; - type?: string; - interfaces?: ControllerInterfaceApiDescriptionModel[]; - actions?: Record<string, any>; - } - - interface ControllerInterfaceApiDescriptionModel { - type?: string; - } - - interface CreateOrEditFlexEnterpriseBankInput { - id?: string; - /** 寮�鎴疯 */ - openBank?: string; - /** 寮�鎴锋敮琛� */ - openBranchBank?: string; - /** 閾惰璐︽埛 */ - bankAccount?: string; - verifyStatus?: VerifyStatus; - flexEnterpirseId?: string; - } - - interface CreateOrEditFlexEnterpriseInput { - id?: string; - /** 浼佷笟鍚嶇О */ - enterpriseName?: string; - /** 娉曚汉濮撳悕 */ - legalPersonName?: string; - /** 娉曚汉韬唤璇佸彿 */ - legalPersonIdNumber?: string; - /** 璁よ瘉鑱旂郴浜� */ - contact?: string; - /** 璁よ瘉鑱旂郴浜虹數璇� */ - contactPhone?: string; - /** 绀句細缁熶竴淇$敤浠g爜 */ - societyCreditCode?: string; - /** 鐪佷唤code */ - provinceCode?: number; - /** 鐪佷唤鍚嶇О */ - proviceName?: string; - /** 鍩庡競Code */ - cityCode?: number; - /** 鍩庡競鍚嶇О */ - cityName?: string; - status?: FlexEnterpriseStatus; - settingStatus?: FlexEnterpriseSettingStatus; - certificationStatus?: FlexEnterpriseCertificationStatus; - /** 鎵�灞炶涓� */ - belongIndustryType?: string; - } - - interface CreateOrEditFlexEnterpriseMessageSettingInput { - id?: string; - messageChannel?: MessageChannelEnum; - /** 娑堟伅璐圭敤 */ - messageCost?: number; - flexEnterpirseId?: string; - } - - interface CreateOrEditFlexEnterpriseSignSettingInput { - id?: string; - signChannel?: SignChannelEnum; - chargeType?: ChargeTypeEnum; - /** 瀹炲悕璐圭敤 */ - realVerifyCost?: number; - /** 绛剧害璐圭敤 */ - signCost?: number; - /** 涓�鍙d环 */ - mergeSignCost?: number; - /** 浼佷笟Id */ - flexEnterpirseId?: string; - } - - interface CreateOrEditSearchInput { - id?: string; - parentId?: string; - searchType: number; - belongType?: number; - name: string; - sort: number; - status: boolean; - src?: string; - isRecommend?: boolean; - } - - interface CurrentCultureDto { - displayName?: string; - englishName?: string; - threeLetterIsoLanguageName?: string; - twoLetterIsoLanguageName?: string; - isRightToLeft?: boolean; - cultureName?: string; - name?: string; - nativeName?: string; - dateTimeFormat?: DateTimeFormatDto; - } - - interface CurrentTenantDto { - id?: string; - name?: string; - isAvailable?: boolean; - } - - interface CurrentUserDto { - isAuthenticated?: boolean; - id?: string; - tenantId?: string; - impersonatorUserId?: string; - impersonatorTenantId?: string; - impersonatorUserName?: string; - impersonatorTenantName?: string; - userName?: string; - name?: string; - surName?: string; - email?: string; - emailVerified?: boolean; - phoneNumber?: string; - phoneNumberVerified?: boolean; - roles?: string[]; - } - - interface DateTimeFormatDto { - calendarAlgorithmType?: string; - dateTimeFormatLong?: string; - shortDatePattern?: string; - fullDateTimePattern?: string; - dateSeparator?: string; - shortTimePattern?: string; - longTimePattern?: string; - } - - interface EnableSearchSettingInput { - id: string; - status: boolean; - } - - interface EnterpriseSignSettingDto { - id?: string; - signChannel?: SignChannelEnum; - chargeType?: ChargeTypeEnum; - /** 瀹炲悕璐圭敤 */ - realVerifyCost?: number; - /** 绛剧害璐圭敤 */ - signCost?: number; - /** 涓�鍙d环 */ - mergeSignCost?: number; - /** 浼佷笟Id */ - flexEnterpirseId?: string; - } - - interface EntityExtensionDto { - properties?: Record<string, any>; - configuration?: Record<string, any>; - } - - interface ExtensionEnumDto { - fields?: ExtensionEnumFieldDto[]; - localizationResource?: string; - } - - interface ExtensionEnumFieldDto { - name?: string; - value?: any; - } - - interface ExtensionPropertyApiCreateDto { - isAvailable?: boolean; - } - - interface ExtensionPropertyApiDto { - onGet?: ExtensionPropertyApiGetDto; - onCreate?: ExtensionPropertyApiCreateDto; - onUpdate?: ExtensionPropertyApiUpdateDto; - } - - interface ExtensionPropertyApiGetDto { - isAvailable?: boolean; - } - - interface ExtensionPropertyApiUpdateDto { - isAvailable?: boolean; - } - - interface ExtensionPropertyAttributeDto { - typeSimple?: string; - config?: Record<string, any>; - } - - interface ExtensionPropertyDto { - type?: string; - typeSimple?: string; - displayName?: LocalizableStringDto; - api?: ExtensionPropertyApiDto; - ui?: ExtensionPropertyUiDto; - attributes?: ExtensionPropertyAttributeDto[]; - configuration?: Record<string, any>; - defaultValue?: any; - } - - interface ExtensionPropertyUiDto { - onTable?: ExtensionPropertyUiTableDto; - onCreateForm?: ExtensionPropertyUiFormDto; - onEditForm?: ExtensionPropertyUiFormDto; - lookup?: ExtensionPropertyUiLookupDto; - } - - interface ExtensionPropertyUiFormDto { - isVisible?: boolean; - } - - interface ExtensionPropertyUiLookupDto { - url?: string; - resultListPropertyName?: string; - displayPropertyName?: string; - valuePropertyName?: string; - filterParamName?: string; - } - - interface ExtensionPropertyUiTableDto { - isVisible?: boolean; - } - - interface FeatureDto { - name?: string; - displayName?: string; - value?: string; - provider?: FeatureProviderDto; - description?: string; - valueType?: IStringValueType; - depth?: number; - parentName?: string; - } - - interface FeatureGroupDto { - name?: string; - displayName?: string; - features?: FeatureDto[]; - } - - interface FeatureProviderDto { - name?: string; - key?: string; - } - - interface FlexEnterpriseBankDto { - id?: string; - /** 寮�鎴疯 */ - openBank?: string; - /** 寮�鎴锋敮琛� */ - openBranchBank?: string; - /** 閾惰璐︽埛 */ - bankAccount?: string; - verifyStatus?: VerifyStatus; - flexEnterpirseId?: string; - } - - type FlexEnterpriseCertificationStatus = 10 | -10; - - interface FlexEnterpriseDto { - id?: string; - /** 浼佷笟鍚嶇О */ - enterpriseName?: string; - /** 娉曚汉濮撳悕 */ - legalPersonName?: string; - /** 娉曚汉韬唤璇佸彿 */ - legalPersonIdNumber?: string; - /** 璁よ瘉鑱旂郴浜� */ - contact?: string; - /** 璁よ瘉鑱旂郴浜虹數璇� */ - contactPhone?: string; - /** 绀句細缁熶竴淇$敤浠g爜 */ - societyCreditCode?: string; - /** 鐪佷唤code */ - provinceCode?: number; - /** 鐪佷唤鍚嶇О */ - proviceName?: string; - /** 鍩庡競Code */ - cityCode?: number; - /** 鍩庡競鍚嶇О */ - cityName?: string; - status?: FlexEnterpriseStatus; - settingStatus?: FlexEnterpriseSettingStatus; - certificationStatus?: FlexEnterpriseCertificationStatus; - /** 鎵�灞炶涓� */ - belongIndustryType?: string; - enterpriseSignSettingDto?: EnterpriseSignSettingDto; - flexEnterpriseBankDto?: FlexEnterpriseBankDto; - flexEnterpriseMessageSettingDto?: FlexEnterpriseMessageSettingDto; - } - - interface FlexEnterpriseDtoPageOutput { - pageModel?: Pagination; - objectData?: any; - data?: FlexEnterpriseDto[]; - } - - interface FlexEnterpriseMessageSettingDto { - id?: string; - messageChannel?: MessageChannelEnum; - /** 娑堟伅璐圭敤 */ - messageCost?: number; - flexEnterpirseId?: string; - } - - type FlexEnterpriseSettingStatus = 10 | -10; - - type FlexEnterpriseStatus = 10 | -10; - - interface FlexTaskAideDto { - id?: string; - aideType?: FlexTaskAideEnum; - name?: string; - imageUrl?: string; - } - - type FlexTaskAideEnum = 10 | 20; - - type FlexTaskCheckAcceptStatusEnum = 10 | 20 | 30; - - type FlexTaskFeeTypeEnum = 10 | 20 | 30 | 40; - - interface FlexTaskListOutput { - taskId?: string; - /** 浠诲姟鍚嶇О */ - taskName?: string; - releaseStatus?: FlexTaskReleaseStatusEnum; - /** 瀹夋帓鐘舵�� */ - arrangeStatus?: boolean; - /** 鍙戝竷鏃ユ湡 */ - startDate?: string; - /** 缁撴潫鏃ユ湡 */ - endDate?: string; - feeType?: FlexTaskFeeTypeEnum; - settleType?: FlexTaskSettleTypeEnum; - settleStatus?: SettleStatusEnum; - /** 鏄惁鎺ㄨ崘 */ - isRecommend?: boolean; - /** 缁撶畻鏂瑰紡 */ - fee?: number; - /** 鎶ュ悕浜烘暟 */ - applyWorkerCount?: number; - /** 鏄惁宸插畬鎴愰獙鏀� */ - isOverCheck?: boolean; - overCheckStatus?: OverCheckStatusEnum; - creationTime?: string; - } - - interface FlexTaskListOutputPageOutput { - pageModel?: Pagination; - objectData?: any; - data?: FlexTaskListOutput[]; - } - - type FlexTaskReleaseStatusEnum = 10 | 20; - - type FlexTaskSettleTypeEnum = 10 | 20 | 30; - - type FlexTaskWorkerHireEnum = 1 | 10 | 20 | 30 | 40; - - type FlexWorkerEleSignEnum = 10 | 20 | 30; - - type GenderTypeEnum = 1 | 2; - - interface GenerateUserNameInput { - /** 鎵嬫満鍙� */ - phoneNumber: string; - } - - interface GetAreaListInput { - /** 1鐪� 2甯� 3鍖� 4闀� */ - layer?: number; - /** 鐖剁骇缂栫爜 */ - parentCode?: number; - } - - interface GetCollectVisitingCardListInput { - pageModel?: Pagination; - } - - interface GetCollectVisitingCardOutput { - id?: string; - enterpriseId?: string; - userId?: string; - name?: string; - headPhoto?: string; - phoneNum?: string; - weChat?: string; - jobName?: string; - email?: string; - companyName?: string; - creationTime?: string; - } - - interface GetCollectVisitingCardOutputPageOutput { - pageModel?: Pagination; - objectData?: any; - data?: GetCollectVisitingCardOutput[]; - } - - interface GetFeatureListResultDto { - groups?: FeatureGroupDto[]; - } - - interface GetFlexEnterpriseInput { - pageModel?: Pagination; - /** 浼佷笟鍚嶇О/娉曚汉/鑱旂郴浜� */ - searchWord?: string; - flexEnterpriseSettingStatus?: FlexEnterpriseSettingStatus; - } - - interface GetFlexSignWorkerListInput { - pageModel?: Pagination; - signStatus?: FlexWorkerEleSignEnum; - } - - interface GetFlexTaskDetailForBackOutput { - /** 浠诲姟Id */ - taskId?: string; - /** 浠诲姟鍚嶇О */ - taskName?: string; - isArrange?: boolean; - startDate?: string; - endDate?: string; - feeType?: FlexTaskFeeTypeEnum; - feeTypeName?: string; - settleType?: FlexTaskSettleTypeEnum; - /** 缁撶畻鏂瑰紡 */ - settleTypeName?: string; - /** 绂忓埄 */ - taskWeals?: FlexTaskAideDto[]; - /** 璇佷功 */ - taskCerts?: FlexTaskAideDto[]; - /** 鏈嶅姟璐� */ - fee?: number; - provinceId?: number; - cityId?: number; - areaId?: number; - /** 鐪� */ - provinceName?: string; - /** 甯� */ - cityName?: string; - /** 鍖哄煙 */ - areaName?: string; - /** 浠诲姟鍦扮偣 */ - address?: string; - creationDate?: string; - /** 鏈�灏忓勾榫� */ - minAge?: number; - /** 鏈�澶у勾榫� */ - maxAge?: number; - sexType?: GenderTypeEnum; - } - - interface GetFlexTaskDtoOutput { - taskId?: string; - taskName?: string; - isArrange?: boolean; - startDate?: string; - endDate?: string; - feeType?: FlexTaskFeeTypeEnum; - feeTypeName?: string; - settleType?: FlexTaskSettleTypeEnum; - settleTypeName?: string; - taskWeals?: FlexTaskAideDto[]; - taskCerts?: FlexTaskAideDto[]; - fee?: number; - provinceId?: number; - cityId?: number; - areaId?: number; - provinceName?: string; - cityName?: string; - areaName?: string; - address?: string; - creationDate?: string; - minAge?: number; - maxAge?: number; - sexType?: GenderTypeEnum; - } - - interface GetFlexTaskForBackInput { - pageModel?: Pagination; - /** 浠诲姟鍚嶇О */ - taskName?: string; - /** 鍙戝竷寮�濮嬫棩鏈� */ - startBeginDate?: string; - /** 鍙戝竷缁撴潫鏃ユ湡 */ - startEndDate?: string; - releaseStatus?: FlexTaskReleaseStatusEnum; - /** 鏄惁鎺ㄨ崘 */ - isRecommend?: boolean; - } - - interface GetFlexTaskListByStatusInput { - pageModel?: Pagination; - releaseStatus?: FlexTaskReleaseStatusEnum; - } - - interface GetFlexTaskListInput { - pageModel?: Pagination; - /** 鏄惁宸插畨鎺掍换鍔� */ - isArrange?: boolean; - /** 鏄惁宸查獙鏀� */ - isOverCheck?: boolean; - } - - interface GetFlexTaskListOutput { - taskId?: string; - taskName?: string; - isArrange?: boolean; - isOverCheck?: boolean; - releaseStatus?: FlexTaskReleaseStatusEnum; - startDate?: string; - endDate?: string; - feeType?: FlexTaskFeeTypeEnum; - feeTypeName?: string; - settleType?: FlexTaskSettleTypeEnum; - settleTypeName?: string; - fee?: number; - provinceName?: string; - cityName?: string; - areaName?: string; - address?: string; - applyWorkerCount?: number; - creationTime?: string; - } - - interface GetFlexTaskListOutputPageOutput { - pageModel?: Pagination; - objectData?: any; - data?: GetFlexTaskListOutput[]; - } - - interface GetFlexTaskWorkerApplyListInput { - pageModel?: Pagination; - flexTaskId?: string; - } - - interface GetFlexTaskWorkerArrangeListInput { - pageModel?: Pagination; - flexTaskId?: string; - /** 濮撳悕韬唤璇佸彿 */ - searchKeys?: string; - /** 鏄惁宸插畨鎺� */ - arrangStatus?: boolean; - } - - interface GetFlexTaskWorkerCheckContentDtoInput { - /** 浠诲姟Id */ - flexTaskId?: string; - /** 鐏靛伐Id */ - flexWorkerId?: string; - } - - interface GetFlexTaskWorkerCheckListInput { - pageModel?: Pagination; - /** 浠诲姟Id */ - flexTaskId?: string; - checkAcceptStatus?: FlexTaskCheckAcceptStatusEnum; - } - - interface GetFlexTaskWorkerListInput { - pageModel?: Pagination; - flexTaskId?: string; - } - - interface GetFlexWorkerRecordOutput { - taskId?: string; - workTime?: string; - cityId?: string; - cityName?: string; - address?: string; - taskName?: string; - } - - interface GetNewestWorkerListInput { - pageModel?: Pagination; - /** 宀椾綅Id */ - expectationJobId?: string; - genderType?: GenderTypeEnum; - /** 韬唤 */ - socialIdentity?: string; - minAge?: number; - maxAge?: number; - /** 璇佷功 */ - certificateTypeId?: string; - } - - interface GetNewestWorkerListOutput { - userId?: string; - userResumeId?: string; - name?: string; - idNumber?: string; - contactPhone?: string; - isRealName?: boolean; - age?: number; - avatarUrl?: string; - genderType?: GenderTypeEnum; - educationalLevel?: string; - socialIdentity?: string; - jobIds?: string[]; - listExpectationJobName?: string[]; - certIds?: string[]; - listCertificateNames?: string[]; - userResumeLifeCircles?: string[]; - socialIdentityName?: string; - eduLevelName?: string; - arrangeCount?: number; - workExperience?: string; - freeTime?: UserResumeFreeTimeEnum; - jobSeekingStatus?: UserResumeJobSeekingStatusEnum; - creationTime?: string; - lastModificationTime?: string; - fristContractTime?: string; - lastContractTime?: string; - userSignStatus?: FlexWorkerEleSignEnum; - enterSignStatus?: FlexWorkerEleSignEnum; - hireStatus?: FlexTaskWorkerHireEnum; - checkAcceptStatus?: FlexTaskCheckAcceptStatusEnum; - arrangeStatus?: boolean; - applyTime?: string; - height?: string; - weight?: string; - workRecordList?: GetFlexWorkerRecordOutput[]; - } - - interface GetNewestWorkerListOutputPageOutput { - pageModel?: Pagination; - objectData?: any; - data?: GetNewestWorkerListOutput[]; - } - - interface GetPermissionListResultDto { - entityDisplayName?: string; - groups?: PermissionGroupDto[]; - } - - interface GetSearchSettingList { - id?: string; - parentId?: string; - parentName?: string; - belongType?: number; - name?: string; - sort?: number; - status?: boolean; - clickCount?: number; - src?: string; - isRecommend?: boolean; - searchType?: number; - } - - interface GetSearchSettingListInput { - pageModel?: Pagination; - searchType: number; - belongType?: number; - name?: string; - isRecommend?: boolean; - status?: boolean; - parentId?: string; - } - - interface GetSearchSettingListOutput { - id?: string; - name?: string; - searchType?: number; - url?: string; - sort?: number; - } - - interface GetSearchSettingListPageOutput { - pageModel?: Pagination; - objectData?: any; - data?: GetSearchSettingList[]; - } - - interface GetTaskWorkerCheckContentOutput { - /** 浠诲姟Id */ - flexTaskId?: string; - /** 鐏靛伐Id */ - flexWorkerId?: string; - /** 濮撳悕 */ - name?: string; - /** 鑱旂郴鐢佃瘽 */ - contactPhone?: string; - /** 鏄惁瀹炲悕 */ - isRealName?: boolean; - /** 澶村儚 */ - avatarUrl?: string; - /** 鎻愪氦楠屾敹鏃堕棿 */ - appleCheckTime?: string; - /** 楠屾敹鍥剧墖璺緞 */ - checkImageUrl?: string; - checkImageLists?: string[]; - checkAcceptStatus?: FlexTaskCheckAcceptStatusEnum; - } - - interface GetTypeSearchSettingList { - id?: string; - name?: string; - src?: string; - } - - interface GetTypeSearchSettingListInput { - searchType: number; - belongType?: number; - } - - interface GetUserClientForBackInput { - pageModel?: Pagination; - /** 濮撳悕/鎵嬫満/韬唤璇佸彿/瀹㈡埛 */ - searchKeys?: string; - /** 鏈�杩戝綍鐢ㄦ椂闂�--寮�濮� */ - nearlyHireDateTimeBegin?: string; - /** 鏈�杩戝綍鐢ㄦ椂闂�--缁撴潫 */ - nearlyHireDateTimeEnd?: string; - /** 鏈�杩戠绾︽椂闂�--寮�濮� */ - nearlySignDateTimeBegin?: string; - /** 鏈�杩戠绾︽椂闂�--缁撴潫 */ - nearlySignDateTimeEnd?: string; - /** 瀹炲悕鐘舵�� */ - realVerifyStatus?: boolean; - } - - interface GetUserClientForBackOutput { - userId?: string; - userResumeId?: string; - /** 濮撳悕 */ - name?: string; - /** 韬唤璇佸彿 */ - idNumber?: string; - /** 鎵嬫満鍙� */ - contactPhone?: string; - /** 骞撮緞 */ - age?: number; - genderType?: GenderTypeEnum; - /** 甯搁┗鐪佷唤Code */ - residentProvinceCode?: number; - /** 甯搁┗鍩庡競code */ - residentCityCode?: number; - /** 甯搁┗鐪佷唤鍚嶇О */ - residentProvinceName?: string; - /** 甯搁┗鍩庡競鍚嶇О */ - residentCityName?: string; - /** 瀹炲悕鐘舵�� */ - realVerifyStatus?: boolean; - /** 瀹炲悕鏃堕棿 */ - realVerifyTime?: string; - nearlyWorkRecord?: NearlyFlexWorkerRecord; - } - - interface GetUserClientForBackOutputPageOutput { - pageModel?: Pagination; - objectData?: any; - data?: GetUserClientForBackOutput[]; - } - - interface GetUserClientSignListInput { - pageModel?: Pagination; - userId?: string; - } - - interface GetUserDetailForBackOutput { - userId?: string; - userResumeId?: string; - /** 濮撳悕 */ - name?: string; - /** 韬唤璇佸彿 */ - idNumber?: string; - /** 鎵嬫満鍙� */ - contactPhone?: string; - /** 骞撮緞 */ - age?: number; - /** 韬唤璇佹闈� */ - certificateFrontImgUrl?: string; - /** 韬唤璇佸弽闈� */ - certificateBackImgUrl?: string; - } - - interface GetWorkerListForBackOutput { - userId?: string; - /** 濮撳悕 */ - name?: string; - /** 韬唤璇佸彿鐮� */ - idNumber?: string; - /** 鐢佃瘽鍙风爜 */ - contactPhone?: string; - /** 骞撮緞 */ - age?: number; - genderType?: GenderTypeEnum; - eduLevelName?: string; - hireStatus?: FlexTaskWorkerHireEnum; - } - - interface GetWorkerListForBackOutputPageOutput { - pageModel?: Pagination; - objectData?: any; - data?: GetWorkerListForBackOutput[]; - } - - interface IanaTimeZone { - timeZoneName?: string; - } - - interface IdentityModelTokenCacheItem { - accessToken?: string; - expiresIn?: number; - creationTime?: string; - refreshToken?: string; - } - - interface IdentityRoleCreateDto { - extraProperties?: Record<string, any>; - name: string; - isDefault?: boolean; - isPublic?: boolean; - sequence?: number; - note?: string; - roleType?: number; - isLeader?: boolean; - } - - interface IdentityRoleDto { - extraProperties?: Record<string, any>; - id?: string; - name?: string; - isDefault?: boolean; - isStatic?: boolean; - isPublic?: boolean; - concurrencyStamp?: string; - sequence?: number; - isEnable?: boolean; - note?: string; - roleType?: number; - } - - interface IdentityRoleDtoListResultDto { - items?: IdentityRoleDto[]; - } - - interface IdentityRoleDtoPagedResultDto { - items?: IdentityRoleDto[]; - totalCount?: number; - } - - interface IdentityRoleListInput { - pageModel?: Pagination; - name?: string; - type?: number; - roleIds?: string[]; - } - - interface IdentityRoleUpdateDto { - extraProperties?: Record<string, any>; - name: string; - isDefault?: boolean; - isPublic?: boolean; - concurrencyStamp?: string; - sequence?: number; - isEnable?: boolean; - roleType?: number; - isLeader?: boolean; - note?: string; - isSetEnable?: boolean; - } - - interface IdentityUserCreateDto { - extraProperties?: Record<string, any>; - userName: string; - name?: string; - surname?: string; - email?: string; - phoneNumber?: string; - lockoutEnabled?: boolean; - sex?: number; - roleNames?: string[]; - password?: string; - versionId?: string; - clientId?: string; - } - - interface IdentityUserDto { - extraProperties?: Record<string, any>; - id?: string; - creationTime?: string; - creatorId?: string; - lastModificationTime?: string; - lastModifierId?: string; - isDeleted?: boolean; - deleterId?: string; - deletionTime?: string; - tenantId?: string; - userName?: string; - name?: string; - surname?: string; - email?: string; - sex?: number; - emailConfirmed?: boolean; - phoneNumber?: string; - phoneNumberConfirmed?: boolean; - lockoutEnabled?: boolean; - lockoutEnd?: string; - concurrencyStamp?: string; - clientId?: string; - roles?: IdentityRoleDto[]; - } - - interface IdentityUserDtoPagedResultDto { - items?: IdentityUserDto[]; - totalCount?: number; - } - - interface IdentityUserDtoPageOutput { - pageModel?: Pagination; - objectData?: any; - data?: IdentityUserDto[]; - } - - interface IdentityUserUpdateDto { - extraProperties?: Record<string, any>; - userName: string; - name?: string; - surname?: string; - email?: string; - phoneNumber?: string; - lockoutEnabled?: boolean; - sex?: number; - roleNames?: string[]; - password?: string; - concurrencyStamp?: string; - } - - interface IdentityUserUpdateRolesDto { - roleNames: string[]; - } - - interface IdNameOutput { - id?: string; - name?: string; - } - - interface IStringValueType { - name?: string; - properties?: Record<string, any>; - validator?: IValueValidator; - } - - interface IValueValidator { - name?: string; - properties?: Record<string, any>; - } - - interface KeyInput { - id?: string; - } - - interface KeyPageInput { - pageModel?: Pagination; - id?: string; - } - - interface LanguageInfo { - cultureName?: string; - uiCultureName?: string; - displayName?: string; - flagIcon?: string; - } - - interface LicenseOcrModel { - name?: string; - cardNum?: string; - address?: string; - type?: string; - dateFrom?: string; - dateTo?: string; - societyCode?: string; - registerMoney?: string; - businessRange?: string; - legalPerson?: string; - } - - interface LocalizableStringDto { - name?: string; - resource?: string; - } - - type MessageChannelEnum = 10 | 20; - - interface MethodParameterApiDescriptionModel { - name?: string; - typeAsString?: string; - type?: string; - typeSimple?: string; - isOptional?: boolean; - defaultValue?: any; - } - - interface ModuleApiDescriptionModel { - rootPath?: string; - remoteServiceName?: string; - controllers?: Record<string, any>; - } - - interface ModuleButtonDto { - id?: string; - moduleId?: string; - parentId?: string; - icon?: string; - enCode?: string; - name?: string; - actionAddress?: string; - sortCode?: number; - buttonType?: number; - hasCheck?: boolean; - } - - interface ModuleColumnDto { - id?: string; - moduleId?: string; - parentId?: string; - enCode?: string; - name?: string; - sortCode?: number; - description?: string; - width?: number; - hasCheck?: boolean; - apiName?: string; - isShow?: boolean; - realColumn?: string; - } - - interface ModuleDto { - id?: string; - description?: string; - sortCode?: number; - enabledMark?: number; - parentId?: string; - name?: string; - isCache?: boolean; - path?: string; - viewAddress?: string; - levelNum?: number; - enCode?: string; - icon?: string; - hasCheck?: boolean; - isMenu?: number; - parentModuleName?: string; - } - - interface ModuleExtensionDto { - entities?: Record<string, any>; - configuration?: Record<string, any>; - } - - interface ModuleTypeInfo { - moduleType?: number; - moduleId?: string; - } - - interface MultiTenancyInfoDto { - isEnabled?: boolean; - } - - interface MyModuleDto { - id?: string; - description?: string; - sortCode?: number; - enabledMark?: number; - parentId?: string; - name?: string; - isCache?: boolean; - path?: string; - viewAddress?: string; - levelNum?: number; - enCode?: string; - icon?: string; - hasCheck?: boolean; - isMenu?: number; - parentModuleName?: string; - sequence?: number; - } - - interface MyResumeOutput { - resumeBaseInfo?: UserResumeBaseInfoOutput; - resumeExpectationJob?: UserResumeExpectationJobOutput; - resumeCertifiCate?: UserResumeCertificateListOutput; - resumeCertifiDetail?: UserResumeCertificateDetailOutput; - resumeDetailInfo?: UserResumeDetailInfoOutput; - resumeWorkExperience?: UserResumeWorkExperienceOutput; - /** 宸ヤ綔璁板綍 */ - resumeWorkRecordList?: UserResumeWorkerRecordOutput[]; - } - - interface MyVisitingCardOutput { - id?: string; - enterpriseId?: string; - userId?: string; - name?: string; - headPhoto?: string; - phoneNum?: string; - weChat?: string; - jobName?: string; - email?: string; - companyName?: string; - provinceId?: string; - cityId?: string; - areaId?: string; - provinceName?: string; - cityName?: string; - areaName?: string; - address?: string; - companyDesc?: string; - } - - interface NameValue { - name?: string; - value?: string; - } - - interface NearlyFlexWorkerRecord { - taskId?: string; - /** 鏈�杩戝綍鐢ㄦ椂闂� */ - nearlyHireDateTime?: string; - /** 鏈�杩戠绾︽椂闂� */ - nearlySignDateTime?: string; - /** 鎵�灞炲晢鎴� */ - enterpirseName?: string; - } - - interface ObjectExtensionsDto { - modules?: Record<string, any>; - enums?: Record<string, any>; - } - - interface OrderInput { - property?: string; - order?: OrderTypeEnum; - } - - type OrderTypeEnum = 0 | 1; - - interface OssSTSReponse { + interface GetAliyunOSSAcsQueryResult { expiration?: string; ossAccessSecret?: string; ossAccessKeyId?: string; @@ -1642,657 +472,630 @@ requestId?: string; } - type OverCheckStatusEnum = 10 | 20 | -10; + type GetCurrentLogierMenusQuery = Record<string, any>; - interface PageInput { - pageModel?: Pagination; + interface GetDictionaryCategoriesQuery { + pageModel?: PagedListQueryPageModel; + /** 鍏抽敭瀛� */ + keywords?: string; } - interface PageUserInput { - pageModel?: Pagination; - key?: string; - roleType?: string; + interface GetDictionaryCategoriesQueryResultItem { + /** Id */ + id?: string; + /** 缂栧彿 */ + code?: string; + /** 鍚嶇О */ + name?: string; + /** 瀛楁鍚嶏紙閫楀彿闅斿紑锛� */ + fieldNames?: string; + /** 鎺掑簭 */ + sort?: number; } - interface Pagination { + interface GetDictionaryDatasQuery { + pageModel?: PagedListQueryPageModel; + /** 绫诲埆Id */ + categoryId?: string; + /** 鍏抽敭瀛� */ + keywords?: string; + } + + interface GetDictionaryDatasQueryResultItem { + /** Id */ + id?: string; + /** 绫诲埆Id */ + categoryId?: string; + /** 涓婄骇Id */ + parentId?: string; + /** 缂栧彿 */ + code?: string; + /** 鏄剧ず鍐呭 */ + content: string; + /** 瀛楁1 */ + field1?: string; + /** 瀛楁2 */ + field2?: string; + /** 瀛楁3 */ + field3?: string; + /** 瀛楁4 */ + field4?: string; + /** 瀛楁5 */ + field5?: string; + /** 鎺掑簭 */ + sort?: number; + /** 鏄惁绂佺敤 */ + isDisabled?: boolean; + } + + interface GetEnterprisesQuery { + pageModel?: PagedListQueryPageModel; + /** 鍏抽敭瀛� */ + keywords?: string; + /** 鏄惁宸查厤缃� */ + isConfigured?: boolean; + } + + interface GetEnterprisesQueryResultItem { + /** Id */ + id?: string; + /** 浼佷笟鍏ㄧО */ + enterpriseName?: string; + /** 娉曚汉濮撳悕 */ + legalPerson?: string; + /** 缁熶竴绀句細淇$敤浠g爜 */ + societyCreditCode?: string; + /** 鑱旂郴浜� */ + contacts?: string; + /** 鑱旂郴鐢佃瘽 */ + contactNumber?: string; + } + + interface GetMenuQueryResult { + /** Id */ + id?: string; + /** 鏄惁閫夋嫨锛堢敤鎴疯鑹叉巿鏉冿級 */ + isChecked?: boolean; + userType?: EnumUserType; + clientType?: EnumClientType; + /** 涓婄骇Id */ + parentId?: string; + /** 鑿滃崟璺緞 */ + path?: string; + /** 缂栧彿 */ + code?: string; + /** 鍚嶇О */ + name?: string; + type?: EnumMenuType; + visitLevel?: EnumMenuVisitLevel; + /** 鍥炬爣 */ + icon?: string; + /** 閾炬帴鍦板潃 */ + url?: string; + /** 鏄惁绂佺敤 */ + isDisabled?: boolean; + /** 鏄惁缂撳瓨 */ + isCache?: boolean; + /** 鎺掑簭 */ + sort?: number; + /** 澶囨敞 */ + remark?: string; + /** 鍒嗙粍 */ + groups?: GetMenuQueryResultGroup[]; + } + + interface GetMenuQueryResultButton { + /** Id */ + id?: string; + /** 鏄惁閫夋嫨锛堢敤鎴疯鑹叉巿鏉冿級 */ + isChecked?: boolean; + /** 缂栧彿 */ + code?: string; + /** 鍚嶇О */ + name?: string; + /** 鍥炬爣 */ + icon?: string; + /** 瀹藉害锛堢敤浜庢寜閽�/鍒�/鍏冪礌锛� */ + width?: string; + /** 鎺掑簭 */ + sort?: number; + /** 澶囨敞 */ + remark?: string; + } + + interface GetMenuQueryResultButtonLocation { + /** 浣嶇疆锛堢敤浜庢寜閽級 */ + location?: string; + /** 鎸夐挳 */ + buttons?: GetMenuQueryResultButton[]; + } + + interface GetMenuQueryResultField { + /** Id */ + id?: string; + /** 鏄惁閫夋嫨锛堢敤鎴疯鑹叉巿鏉冿級 */ + isChecked?: boolean; + /** 缂栧彿 */ + code?: string; + /** 鍚嶇О */ + name?: string; + /** 瀹藉害锛堢敤浜庢寜閽�/鍒�/鍏冪礌锛� */ + width?: string; + /** 鎺掑簭 */ + sort?: number; + /** 澶囨敞 */ + remark?: string; + } + + interface GetMenuQueryResultGroup { + /** 鍒嗙粍鍚嶇О锛堢敤浜庢寜閽�/瀛楁锛� */ + group?: string; + /** 鎸夐挳浣嶇疆 */ + buttonLocations?: GetMenuQueryResultButtonLocation[]; + /** 瀛楁 */ + fields?: GetMenuQueryResultField[]; + } + + interface GetMenusQueryResultItem { + /** Id */ + id?: string; + /** 鏄惁閫夋嫨锛堢敤鎴疯鑹叉巿鏉冿級 */ + isChecked?: boolean; + /** 涓婄骇Id */ + parentId?: string; + /** 涓嬬骇 */ + children?: GetMenusQueryResultItem[]; + /** 缂栧彿 */ + code?: string; + /** 鍚嶇О */ + name?: string; + /** 鑿滃崟璺緞 */ + path?: string; + type?: EnumMenuType; + visitLevel?: EnumMenuVisitLevel; + /** 鍥炬爣 */ + icon?: string; + /** 閾炬帴鍦板潃 */ + url?: string; + /** 鏄惁绂佺敤 */ + isDisabled?: boolean; + /** 鏄惁缂撳瓨 */ + isCache?: boolean; + /** 鎺掑簭 */ + sort?: number; + /** 澶囨敞 */ + remark?: string; + } + + interface GetOperationUserInfosQuery { + pageModel?: PagedListQueryPageModel; + /** 鍏抽敭瀛� */ + keywords?: string; + } + + interface GetOperationUserInfosQueryResultItem { + /** Id */ + id?: string; + /** 濮撳悕 */ + name?: string; + /** 鐢ㄦ埛鍚� */ + userName?: string; + /** 鎵嬫満鍙� */ + phoneNumber?: string; + /** 澶囨敞 */ + remark?: string; + /** 瑙掕壊 */ + roles?: GetOperationUserInfosQueryResultItemRole[]; + status?: EnumUserInfoStatus; + } + + interface GetOperationUserInfosQueryResultItemRole { + /** 鐢ㄦ埛Id */ + userInfoId?: string; + /** 瑙掕壊Id */ + id?: string; + /** 鍚嶇О */ + name?: string; + } + + interface GetResourceFieldsQueryResultItem { + /** 缂栧彿 */ + code?: string; + /** 鍚嶇О */ + name?: string; + } + + interface GetResourcesQueryResultItem { + /** Id */ + id?: string; + /** 鏄惁閫変腑锛堢敤浜庤鑹叉巿鏉冿級 */ + isChecked?: boolean; + controller?: EnumResourceController; + /** 濮旀墭鍚嶇О */ + actionName?: string; + /** 缂栧彿 */ + code?: string; + /** 鍚嶇О */ + name?: string; + method?: EnumResourceMethod; + /** 璺敱 */ + route?: string; + /** 璇锋眰绫诲瀷鍚嶇О */ + requestTypeName?: string; + /** 璇锋眰绫诲瀷鍏ㄥ悕 */ + requestTypeFullName?: string; + /** 鍝嶅簲绫诲瀷鍚嶇О */ + responseTypeName?: string; + /** 鍝嶅簲绫诲瀷鍏ㄥ悕 */ + responseTypeFullName?: string; + } + + interface GetRoleQueryResult { + /** Id */ + id?: string; + /** 鍚嶇О */ + name?: string; + userType?: EnumUserType; + clientType?: EnumClientType; + /** 鏈�浣庣骇鍒� */ + minLevel?: number; + dataPower?: EnumRoleWebApiDataPower; + /** 澶囨敞 */ + remark?: string; + /** 鑿滃崟Id */ + menuIds?: string[]; + /** 璧勬簮 */ + resources?: GetRoleQueryResultResource[]; + } + + interface GetRoleQueryResultResource { + /** 璧勬簮Id */ + resourceId?: string; + dataPower?: EnumRoleWebApiDataPower; + } + + interface GetRolesQuery { + pageModel?: PagedListQueryPageModel; + userType?: EnumUserType; + clientType?: EnumClientType; + /** 鍏抽敭瀛� */ + keywords?: string; + } + + interface GetRolesQueryResultItem { + /** Id */ + id?: string; + /** 鍚嶇О */ + name?: string; + userType?: EnumUserType; + clientType?: EnumClientType; + /** 鏈�浣庣骇鍒� */ + minLevel?: number; + dataPower?: EnumRoleWebApiDataPower; + /** 澶囨敞 */ + remark?: string; + /** 鏄惁绂佺敤 */ + isDisabled?: boolean; + /** 鐢ㄦ埛鏁伴噺 */ + userCount?: number; + } + + interface GetRoleUserInfosQueryResultItem { + /** 鐢ㄦ埛Id */ + id?: string; + /** 濮撳悕 */ + name?: string; + /** 鐢ㄦ埛鍚� */ + userName?: string; + /** 鏄惁閫変腑 */ + isChecked?: boolean; + } + + interface GetUserInfoRolesQueryResultItem { + /** 瑙掕壊Id */ + id?: string; + /** 鍚嶇О */ + name?: string; + /** 澶囨敞 */ + remark?: string; + /** 鏄惁閫変腑 */ + isChecked?: boolean; + } + + interface PagedListQueryPageModel { + /** 琛屾暟 */ rows?: number; + /** 椤电爜 */ page?: number; - orderInput?: OrderInput[]; + /** 鎺掑簭 */ + orderInput?: PagedListQueryPageModelOrderInput[]; + } + + interface PagedListQueryPageModelOrderInput { + /** 灞炴�� */ + property?: string; + order?: EnumPagedListOrder; + } + + interface PagedListQueryResultGetDictionaryCategoriesQueryResultItem { + pageModel?: PagedListQueryResultPageModel; + /** 鏁版嵁 */ + data?: GetDictionaryCategoriesQueryResultItem[]; + } + + interface PagedListQueryResultGetDictionaryDatasQueryResultItem { + pageModel?: PagedListQueryResultPageModel; + /** 鏁版嵁 */ + data?: GetDictionaryDatasQueryResultItem[]; + } + + interface PagedListQueryResultGetEnterprisesQueryResultItem { + pageModel?: PagedListQueryResultPageModel; + /** 鏁版嵁 */ + data?: GetEnterprisesQueryResultItem[]; + } + + interface PagedListQueryResultGetOperationUserInfosQueryResultItem { + pageModel?: PagedListQueryResultPageModel; + /** 鏁版嵁 */ + data?: GetOperationUserInfosQueryResultItem[]; + } + + interface PagedListQueryResultGetRolesQueryResultItem { + pageModel?: PagedListQueryResultPageModel; + /** 鏁版嵁 */ + data?: GetRolesQueryResultItem[]; + } + + interface PagedListQueryResultPageModel { + /** 琛屾暟 */ + rows?: number; + /** 椤电爜 */ + page?: number; + /** 鎺掑簭 */ + orderInput?: PagedListQueryPageModelOrderInput[]; + /** 鎬绘暟 */ totalCount?: number; + /** 椤垫暟 */ totalPage?: number; } - interface ParameterApiDescriptionModel { - nameOnMethod?: string; - name?: string; - jsonName?: string; - type?: string; - typeSimple?: string; - isOptional?: boolean; - defaultValue?: any; - constraintTypes?: string[]; - bindingSourceId?: string; - descriptorName?: string; - } - - interface PasswordLoginInput { - /** 鐧诲綍鍚� */ - loginName: string; - /** 鐧诲綍瀵嗙爜 */ - password: string; - } - - interface PermissionGrantInfoDto { - name?: string; - displayName?: string; - parentName?: string; - isGranted?: boolean; - allowedProviders?: string[]; - grantedProviders?: ProviderInfoDto[]; - } - - interface PermissionGroupDto { - name?: string; - displayName?: string; - permissions?: PermissionGrantInfoDto[]; - } - - interface PhoneMesssageCodeLoginInput { - /** 鎵嬫満鍙� */ - phoneNumber: string; - /** 楠岃瘉鐮� */ - code: string; - type?: UserTypeEnum; - } - - interface PhoneMesssageCodeRegisterInput { - /** 鎵嬫満鍙� */ - phoneNumber: string; - /** 楠岃瘉鐮� */ - code: string; - type?: UserTypeEnum; - } - - interface PhoneToken { - phone?: string; - phoneCode?: string; - clientId?: string; - } - - interface ProfileDto { - extraProperties?: Record<string, any>; - userName?: string; - email?: string; - name?: string; - surname?: string; - phoneNumber?: string; - isExternal?: boolean; - hasPassword?: boolean; - } - - interface PropertyApiDescriptionModel { - name?: string; - jsonName?: string; - type?: string; - typeSimple?: string; - isRequired?: boolean; - } - - interface ProviderInfoDto { - providerName?: string; - providerKey?: string; - } - - interface QrCodeLogin { - /** 鎵爜鐧诲綍Id */ - uId?: string; - /** 浜岀淮鐮佸湴鍧� */ - url?: string; - } - - interface RegisterDto { - extraProperties?: Record<string, any>; + interface PasswordLoginCommand { + /** 璐﹀彿 */ userName: string; - emailAddress: string; - sex?: number; + /** 瀵嗙爜 */ password: string; - appName: string; + type?: EnumUserType; + clientType?: EnumClientType; } - interface RemoteServiceErrorInfo { - code?: string; - message?: string; - details?: string; - data?: Record<string, any>; - validationErrors?: RemoteServiceValidationErrorInfo[]; + interface PasswordLoginCommandCallback { + /** 鐢ㄦ埛璁块棶浠ょ墝 */ + accessToken?: string; + /** 鍒锋柊浠ょ墝 */ + refreshToken?: string; } - interface RemoteServiceErrorResponse { - error?: RemoteServiceErrorInfo; - } - - interface RemoteServiceValidationErrorInfo { - message?: string; - members?: string[]; - } - - interface ResetPasswordBaseInput { - userId?: string; - } - - interface ResetPasswordDto { - userId?: string; - resetToken: string; - password: string; - } - - interface ResetPassWordInput { - userId?: string; - name?: string; - userName?: string; - phoneNumber?: string; - password?: string; - } - - interface ReturnValueApiDescriptionModel { - type?: string; - typeSimple?: string; - } - - interface RoleDto { - /** 瑙掕壊Id */ + interface SaveDictionaryCategoryCommand { id?: string; - /** 瑙掕壊鍚� */ - name?: string; - } - - interface SaveUserResumeBaseInfoInput { - name?: string; - socialIdentity?: string; - educationalLevel?: string; - residentProvinceCode?: number; - residentCityCode?: number; - residentProvinceName?: string; - residentCityName?: string; - /** 鑱旂郴鐢佃瘽 */ - phoneNumber?: string; - /** 澶村儚 */ - avatarUrl?: string; - } - - interface SaveUserResumeCertificateInput { - id?: string; - certificateTypeId?: string; - certificateNo?: string; - beginTime?: string; - endTime?: string; - isPermanent?: boolean; - certificateUnit?: string; - certificateFrontImgUrl?: string; - certificateBackImgUrl?: string; - } - - interface SaveUserResumeDetailInfoInput { - lifeCircleImgUrlList?: string[]; - height?: string; - weight?: string; - } - - interface SaveUserResumeExpectationJobInput { - jobIdList?: string[]; - freeTime?: UserResumeFreeTimeEnum; - jobSeekingStatus?: UserResumeJobSeekingStatusEnum; - } - - interface SaveUserResumeWorkExperienceInput { - workingSeniority?: string; - workExperience?: string; - } - - interface SearchConditionList { - searchType?: number; - belongType?: number; - conditionList?: ConditionInfo[]; - } - - interface SendPasswordResetCodeDto { - email: string; - appName: string; - returnUrl?: string; - returnUrlHash?: string; - } - - interface SendPhoneCertificationVerificationCodeInput { - /** 濮撳悕 */ + /** 缂栧彿 */ + code: string; + /** 鍚嶇О */ name: string; - /** 璇佷欢鍙风爜 */ - identity: string; - /** 鐢ㄦ埛甯愬彿 */ - mobile: string; - businessType?: VerificationCodeBusinessTypeEnum; + /** 瀛楁鍚嶏紙閫楀彿闅斿紑锛� */ + fieldNames?: string; + /** 鎺掑簭 */ + sort?: number; } - interface SendPhoneMessageBaseInput { - messageType?: string; - phoneNumber: string; - } - - interface SendPhoneMesssageCodeInput { - /** 鎵嬫満鍙� */ - phoneNumber: string; - } - - interface SendPhoneVerificationCodeByBusinessTypeInput { - /** 鎵嬫満鍙� */ - phoneNumber: string; - businessType?: VerificationCodeBusinessTypeEnum; - } - - interface SetFlexEnterpriseStatusInput { + interface SaveDictionaryDataCommand { id?: string; - status?: FlexEnterpriseStatus; - } - - interface SetMyModule { - moduleId?: string; - sequence?: number; - } - - interface SetMyModuleInput { - moduleIds?: SetMyModule[]; - } - - interface SetPreViewCacheInput { - preViewData?: string; - } - - interface SetRecommendInput { - id?: string; - /** 鏄惁鎺ㄨ崘 */ - isRecommend?: boolean; - } - - interface SetRoleUserInput { - userId?: string[]; - roleId?: string; - } - - type SettleStatusEnum = 10 | 20 | -10; - - interface SetUserRoleInput { - userId?: string; - roleName?: string[]; - extendId?: string; - type?: number; - } - - interface SetVersionModuleInput { - versionId: string; - modules: ModuleTypeInfo[]; - } - - type SignChannelEnum = 10 | 20; - - interface TaskWorkerArrangeInput { - flexTaskId?: string; - flexWorkerId?: string; - arrange?: boolean; - } - - interface TaskWorkerCheckAcceptStatusInput { - flexTaskId?: string; - flexWorkerId?: string; - checkAcceptStatus?: FlexTaskCheckAcceptStatusEnum; - } - - interface TaskWorkerHireRefuseInput { - flexTaskId?: string; - flexWorkerId?: string; - hireStatus?: FlexTaskWorkerHireEnum; - } - - interface TenantDto { - extraProperties?: Record<string, any>; - id?: string; - name?: string; - } - - interface TenantDtoPagedResultDto { - items?: TenantDto[]; - totalCount?: number; - } - - interface TimeZone { - iana?: IanaTimeZone; - windows?: WindowsTimeZone; - } - - interface TimingDto { - timeZone?: TimeZone; - } - - interface TypeApiDescriptionModel { - baseType?: string; - isEnum?: boolean; - enumNames?: string[]; - enumValues?: any[]; - genericArguments?: string[]; - properties?: PropertyApiDescriptionModel[]; - } - - interface UnbindingUserPhoneNumber { - userId?: string; - } - - interface UpdateFeatureDto { - name?: string; - value?: string; - } - - interface UpdateFeaturesDto { - features?: UpdateFeatureDto[]; - } - - interface UpdatePassWordInput { - id?: string; - passWord?: string; + /** 绫诲埆Id */ + categoryId?: string; + /** 涓婄骇Id */ + parentId?: string; + /** 缂栧彿 */ code?: string; + /** 鏄剧ず鍐呭 */ + content: string; + /** 瀛楁1 */ + field1?: string; + /** 瀛楁2 */ + field2?: string; + /** 瀛楁3 */ + field3?: string; + /** 瀛楁4 */ + field4?: string; + /** 瀛楁5 */ + field5?: string; + /** 鎺掑簭 */ + sort?: number; + /** 鏄惁绂佺敤 */ + isDisabled?: boolean; } - interface UpdatePassWordInputWithNoCode { + interface SaveMenuButtonCommand { + /** Id */ id?: string; - passWord?: string; - } - - interface UpdatePermissionDto { - name?: string; - isGranted?: boolean; - } - - interface UpdatePermissionsDto { - permissions?: UpdatePermissionDto[]; - } - - interface UpdateProfileDto { - extraProperties?: Record<string, any>; - userName?: string; - email?: string; - name?: string; - surname?: string; - phoneNumber?: string; - } - - interface UpdateTaskReleaseStatusInput { - taskId?: string; - releaseStatus?: FlexTaskReleaseStatusEnum; - } - - interface UserClientSignListOutput { - /** 鎵�灞炲晢鎴� */ - enterpirseName?: string; - /** 鎶ュ悕鏃堕棿 */ - applyTime?: string; - enterSignStatus?: FlexWorkerEleSignEnum; - /** 浼佷笟绛剧害鏃堕棿 */ - enterSignTime?: string; - hireStatus?: FlexTaskWorkerHireEnum; - /** 褰曠敤鏃堕棿 */ - hireDateTime?: string; - userSignStatus?: FlexWorkerEleSignEnum; - /** 鐏靛伐绛剧害鏃堕棿 */ - userSignTime?: string; - /** 鐢靛瓙鍚堝悓 */ - contractUrl?: string; - } - - interface UserClientSignListOutputPageOutput { - pageModel?: Pagination; - objectData?: any; - data?: UserClientSignListOutput[]; - } - - interface UserData { - id?: string; - tenantId?: string; - userName?: string; - name?: string; - surname?: string; - email?: string; - emailConfirmed?: boolean; - phoneNumber?: string; - phoneNumberConfirmed?: boolean; - sex?: number; - clientId?: string; - creationTime?: string; - lockoutEnd?: string; - extraProperties?: Record<string, any>; - lockoutEnabled?: boolean; - } - - interface UserDataListResultDto { - items?: UserData[]; - } - - interface UserDto { - /** 鐢ㄦ埛Id */ - id?: string; - /** 鐧诲綍鐢ㄦ埛鍚嶏紙璐﹀彿锛� */ - userName?: string; + /** 鑿滃崟Id */ + parentId?: string; + /** 缂栧彿 */ + code?: string; /** 鍚嶇О */ name?: string; - /** 鐢ㄦ埛鎵嬫満鍙� */ - phoneNumber?: string; - /** 璐︽埛鏄惁閿佷綇锛堟槸鍚︾鐢級 */ - isLocked?: boolean; - /** 瑙掕壊淇℃伅 */ - roles?: RoleDto[]; + /** 鍒嗙粍鍚嶇О锛堢敤浜庢寜閽�/瀛楁锛� */ + group?: string; + /** 浣嶇疆锛堢敤浜庢寜閽級 */ + location?: string; + /** 鍥炬爣 */ + icon?: string; + /** 瀹藉害锛堢敤浜庢寜閽�/鍒�/鍏冪礌锛� */ + width?: string; + /** 鎺掑簭 */ + sort?: number; /** 澶囨敞 */ remark?: string; - /** 缁勭粐鏋舵瀯鍏徃id */ - companyOrgId?: string; - /** 缁勭粐鏋舵瀯閮ㄩ棬id */ - departmentOrgId?: string; } - interface UserResumeBaseInfoOutput { - /** 濮撳悕 */ - name?: string; - /** 鐢佃瘽鍙风爜 */ - phoneNumber?: string; - /** 澶村儚 */ - avatarUrl?: string; - genderType?: GenderTypeEnum; - /** 骞撮緞 */ - age?: number; - /** 涓婂矖娆℃暟 */ - arrangeCount?: number; - /** 韬唤璇佸彿鐮� */ - idNumber?: string; - /** 韬唤 */ - socialIdentity?: string; - /** 韬唤鍚嶇О */ - socialIdentityName?: string; - /** 瀛﹀巻 */ - educationalLevel?: string; - /** 瀛﹀巻鍚嶇О */ - educationalLevelName?: string; - /** 甯搁┗鐪佷唤Code */ - residentProvinceCode?: number; - /** 甯搁┗鍩庡競code */ - residentCityCode?: number; - /** 甯搁┗鐪佷唤鍚嶇О */ - residentProvinceName?: string; - /** 甯搁┗鍩庡競鍚嶇О */ - residentCityName?: string; - } - - interface UserResumeCertificateDetailOutput { - /** 绠�鍘嗚璇佽鎯匢d */ + interface SaveMenuCommand { + /** Id */ id?: string; - /** 鐢ㄦ埛绠�鍘咺d */ - userId?: string; - /** 璁よ瘉绫诲埆Id */ - certificateTypeId?: string; - /** 璁よ瘉璇佷欢鍙烽粯璁よ韩浠借瘉 */ - certificateNo?: string; - /** 璇佷欢寮�濮嬫椂闂� */ - beginTime?: string; - /** 璇佷欢缁撴潫鏃堕棿 */ - endTime?: string; - /** 鏄惁姘镐箙 */ - isPermanent?: boolean; - certificateUnit?: string; - /** 韬唤璇佹闈� */ - certificateFrontImgUrl?: string; - /** 韬唤璇佸弽闈� */ - certificateBackImgUrl?: string; - } - - interface UserResumeCertificateListOutput { - id?: string; - /** 璇佷功Id */ - certificateTypeId?: string; - /** 璇佷功鍚嶇О */ - certificateTypeName?: string; - /** 宸ヤ綔绠�鍘咺d */ - userResumeId?: string; - } - - interface UserResumeDetailInfoOutput { - /** 韬珮 */ - height?: string; - /** 浣撻噸 */ - weight?: string; - /** 涓汉鐢熸椿鐓� */ - lifeCircleImgUrlList?: string[]; - } - - interface UserResumeExpectationJobOutput { - /** 鏈熸湜宀椾綅鍒楄〃 */ - jobIdList?: IdNameOutput[]; - freeTime?: UserResumeFreeTimeEnum; - jobSeekingStatus?: UserResumeJobSeekingStatusEnum; - } - - type UserResumeFreeTimeEnum = 1 | 2 | 3 | 4 | 5; - - type UserResumeJobSeekingStatusEnum = 1 | 2 | 3; - - interface UserResumeWorkerRecordOutput { - /** 宸ヤ綔鏃堕棿 */ - workTime?: string; - /** 宸ヤ綔鍦扮偣 */ - workAddress?: string; - /** 宸ヤ綔鍚嶇О */ - workName?: string; - } - - interface UserResumeWorkExperienceOutput { - /** 宸ヤ綔骞撮檺 */ - workingSeniority?: string; - /** 宸ヤ綔缁忛獙 */ - workExperience?: string; - } - - type UserTypeEnum = 1 | 2; - - type VerificationCodeBusinessTypeEnum = 10 | 11 | 20 | 30 | 40 | 70 | 900 | 910 | 920 | 930; - - type VerifyStatus = 10 | -10; - - interface VersionCache { + userType?: EnumUserType; + clientType?: EnumClientType; + /** 涓婄骇Id */ + parentId?: string; + /** 缂栧彿 */ + code?: string; + /** 鍚嶇О */ name?: string; - departmentCount?: number; - apiCount?: number; + type?: EnumMenuType; + visitLevel?: EnumMenuVisitLevel; + /** 鍥炬爣 */ + icon?: string; + /** 閾炬帴鍦板潃 */ + url?: string; + /** 鏄惁绂佺敤 */ + isDisabled?: boolean; + /** 鏄惁缂撳瓨 */ + isCache?: boolean; + /** 鎺掑簭 */ + sort?: number; + /** 澶囨敞 */ + remark?: string; + /** 鍒嗙粍 */ + groups?: SaveMenuCommandGroup[]; + } + + interface SaveMenuCommandButton { + /** Id */ + id?: string; + /** 缂栧彿 */ + code?: string; + /** 鍚嶇О */ + name?: string; + /** 鍥炬爣 */ + icon?: string; + /** 瀹藉害锛堢敤浜庢寜閽�/鍒�/鍏冪礌锛� */ + width?: string; + /** 鎺掑簭 */ + sort?: number; + /** 澶囨敞 */ remark?: string; } - interface VersionCreate { + interface SaveMenuCommandButtonLocation { + /** 浣嶇疆锛堢敤浜庢寜閽級 */ + location?: string; + /** 鎸夐挳 */ + buttons?: SaveMenuCommandButton[]; + } + + interface SaveMenuCommandField { + /** Id */ + id?: string; + /** 缂栧彿 */ + code?: string; + /** 鍚嶇О */ name?: string; - departmentCount?: number; - apiCount?: number; - sequence?: number; + /** 瀹藉害锛堢敤浜庢寜閽�/鍒�/鍏冪礌锛� */ + width?: string; + /** 鎺掑簭 */ + sort?: number; + /** 澶囨敞 */ remark?: string; } - interface VersionDto { - id?: string; - name?: string; - departmentCount?: number; - apiCount?: number; - sequence?: number; + interface SaveMenuCommandGroup { + /** 鍒嗙粍鍚嶇О锛堢敤浜庢寜閽�/瀛楁锛� */ + group?: string; + /** 鎸夐挳浣嶇疆 */ + buttonLocations?: SaveMenuCommandButtonLocation[]; + /** 瀛楁 */ + fields?: SaveMenuCommandField[]; } - interface VersionDtoPageOutput { - pageModel?: Pagination; - objectData?: any; - data?: VersionDto[]; - } - - interface VersionUpdateInput { + interface SaveMenuFieldCommand { + /** Id */ id?: string; + /** 鑿滃崟Id */ + parentId?: string; + /** 缂栧彿 */ + code?: string; + /** 鍚嶇О */ name?: string; - departmentCount?: number; - apiCount?: number; + /** 鍒嗙粍鍚嶇О锛堢敤浜庢寜閽�/瀛楁锛� */ + group?: string; + /** 浣嶇疆锛堢敤浜庢寜閽級 */ + location?: string; + /** 鍥炬爣 */ + icon?: string; + /** 瀹藉害锛堢敤浜庢寜閽�/鍒�/鍏冪礌锛� */ + width?: string; + /** 鎺掑簭 */ + sort?: number; + /** 澶囨敞 */ remark?: string; - sequence?: number; } - interface WindowsTimeZone { - timeZoneId?: string; + interface SaveRoleCommand { + /** Id */ + id?: string; + /** 鍚嶇О */ + name?: string; + userType?: EnumUserType; + clientType?: EnumClientType; + /** 鏈�浣庣骇鍒� */ + minLevel?: number; + dataPower?: EnumRoleWebApiDataPower; + /** 澶囨敞 */ + remark?: string; + /** 鑿滃崟Id */ + menuIds?: string[]; + /** 璧勬簮 */ + resources?: GetRoleQueryResultResource[]; } - type WxMiniAppEnum = 10; - - interface WxMiniAppIndentityInfo { - /** 浼氳瘽瀵嗛挜 */ - sessionKey?: string; - /** 灏忕▼搴廜penId */ - openId?: string; - /** 鐢ㄦ埛鍚嶏紙璇ュ�间负绌哄垯闇�鎵嬫満鎺堟潈鐧诲綍锛屼笉涓虹┖鍒欏凡鏈夎灏忕▼搴忕敤鎴凤級 */ - userName?: string; + interface SetDictionaryDataIsDisabledCommand { + /** Id */ + ids?: string[]; + /** 鏄惁绂佺敤 */ + isDisabled?: boolean; } - interface WxMiniAppLoginInfo { - /** 鐘舵�侊細-10锛氫簩缁寸爜杩囨湡/鐧诲綍鏃舵晥杩囨湡锛�0锛氱櫥褰曞垵濮�/浜岀淮鐮佸垵鐢熸垚锛�10锛氱櫥褰曠‘璁� */ - status?: number; - /** 鐢ㄦ埛鍚� */ - userName?: string; - accessToken?: IdentityModelTokenCacheItem; + interface SetMenuSwitchCommand { + /** Id */ + ids?: string[]; + type?: EnumMenuType; + /** 鏄惁绂佺敤锛坣ull鏃朵笉鏇存柊锛� */ + isDisabled?: boolean; + /** 鏄惁缂撳瓨锛坣ull鏃朵笉鏇存柊锛� */ + isCache?: boolean; } - interface WxMiniAppPhoneAuthLoginFromScanInput { - /** 锛堟壂鐮侊級鐧诲綍Id */ - uId: string; - /** 鍖呮嫭鏁忔劅鏁版嵁鍦ㄥ唴鐨勫畬鏁寸敤鎴蜂俊鎭殑鍔犲瘑鏁版嵁 */ - encryptedData: string; - /** 鍔犲瘑绠楁硶鐨勫垵濮嬪悜閲� */ - iv: string; - /** 鑾峰彇浼氳瘽瀵嗛挜 */ - sessionKey: string; - /** 灏忕▼搴廜penId */ - openId: string; - wxMiniApp?: WxMiniAppEnum; + interface SetRoleIsDisabledCommand { + /** Id */ + ids: string[]; + /** 鏄惁绂佺敤 */ + isDisabled?: boolean; } - interface WxMiniAppPhoneLoginInput { - /** 鍖呮嫭鏁忔劅鏁版嵁鍦ㄥ唴鐨勫畬鏁寸敤鎴蜂俊鎭殑鍔犲瘑鏁版嵁 */ - encryptedData: string; - /** 鍔犲瘑绠楁硶鐨勫垵濮嬪悜閲� */ - iv: string; - /** 鑾峰彇浼氳瘽瀵嗛挜 */ - sessionKey: string; - /** 灏忕▼搴廜penId */ - openId: string; - wxMiniApp?: WxMiniAppEnum; + interface SetRoleUserInfosCommand { + /** 瑙掕壊Id */ + roleId?: string; + /** 鐢ㄦ埛Id */ + userInfoIds?: string[]; } - interface WxMiniAppUserLoginFromScanInput { - /** 锛堟壂鐮侊級鐧诲綍Id */ - uId: string; - /** 鐢ㄦ埛鍚� */ - userName: string; - /** 灏忕▼搴廜penId */ - openId: string; + interface SetUserInfoRolesCommand { + /** 鐢ㄦ埛Id */ + userInfoId?: string; + /** 瑙掕壊Id */ + roleIds?: string[]; + } + + interface SetUserInfoStatusCommand { + /** Id */ + ids?: string[]; + status?: EnumUserInfoStatus; } } diff --git a/src/services/api/userInfo.ts b/src/services/api/userInfo.ts new file mode 100644 index 0000000..4367d18 --- /dev/null +++ b/src/services/api/userInfo.ts @@ -0,0 +1,66 @@ +/* eslint-disable */ +// @ts-ignore +import { request } from '@/utils/request'; + +/** 鏌ヨ杩愯惀绔敤鎴峰垎椤靛垪琛ㄦ暟鎹� POST /api/user/userInfo/getOperationUserInfos */ +export async function getOperationUserInfos( + body: API.GetOperationUserInfosQuery, + options?: API.RequestConfig +) { + return request<API.PagedListQueryResultGetOperationUserInfosQueryResultItem>( + '/api/user/userInfo/getOperationUserInfos', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + } + ); +} + +/** 鏌ヨ鐢ㄦ埛瑙掕壊鍒楄〃 GET /api/user/userInfo/getUserInfoRoles */ +export async function getUserInfoRoles( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetUserInfoRolesParams, + options?: API.RequestConfig +) { + return request<API.GetUserInfoRolesQueryResultItem[]>('/api/user/userInfo/getUserInfoRoles', { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + }); +} + +/** 璁剧疆鐢ㄦ埛淇℃伅瑙掕壊 PUT /api/user/userInfo/setUserInfoRoles */ +export async function setUserInfoRoles( + body: API.SetUserInfoRolesCommand, + options?: API.RequestConfig +) { + return request<number>('/api/user/userInfo/setUserInfoRoles', { + method: 'PUT', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + +/** 璁剧疆鐢ㄦ埛淇℃伅鐘舵�� PUT /api/user/userInfo/setUserInfoStatus */ +export async function setUserInfoStatus( + body: API.SetUserInfoStatusCommand, + options?: API.RequestConfig +) { + return request<number>('/api/user/userInfo/setUserInfoStatus', { + method: 'PUT', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} diff --git a/src/store/modules/permission.ts b/src/store/modules/permission.ts index 2fc37a5..734facd 100644 --- a/src/store/modules/permission.ts +++ b/src/store/modules/permission.ts @@ -3,7 +3,8 @@ // import { RouteConfigs } from "@/layout/types"; import { constantRoutes, Route } from '@/router'; import { addAsyncRoutes, ascending } from '@/router/utils'; -import * as baseModuleServices from '@/services/api/BaseModule'; +import * as menuServices from '@/services/api/menu'; +import { myClient } from '@/constants/query'; export interface PermissonState { routes: Route[]; @@ -27,13 +28,20 @@ getModuleList() { return new Promise<Route[]>(async (resolve, reject) => { try { - // let res = await userApiClient.apiUserUserMenusGet(); - // let userMenuList = res.data.data; - // let userInfo = rootGetters['userInfo'] as Getter['userInfo']; - const res = await baseModuleServices.getCurrentUserModuleList({ - showLoading: false, + const params: API.APIgetMenusParams = { + userType: AppLocalConfig.userType, + clientType: AppLocalConfig.clientType, + }; + const res = await myClient.fetchQuery({ + queryKey: ['menuServices/getMenus', params], + queryFn: () => { + return menuServices.getMenus(params, { + showLoading: false, + }); + }, + staleTime: Infinity, }); - const accessedRoutes = ascending(addAsyncRoutes(formatModuleList(res, null))); // createAccessedRoutes(userMenuList, userInfo) + const accessedRoutes = ascending(addAsyncRoutes(formatModuleList(res))); // createAccessedRoutes(userMenuList, userInfo) //@ts-ignore accessedRoutes.push({ path: '/:pathMatch(.*)*', redirect: '/404', hidden: true }); @@ -58,47 +66,41 @@ return usePermissionStore(store); } -function formatModuleList(moduleList: API.ModuleDto[], parentId: string | null) { - const treeModuleList: Route[] = []; - if (moduleList.length > 0) { - moduleList.forEach((item) => { - if (item.parentId === parentId) { - const isRootModule = !item.parentId && item.isMenu === 1; - //@ts-ignore - const asyncRoute: Route = isRootModule - ? { - path: formatPath(item.path), - name: item.enCode, - redirect: 'noRedirect', - alwaysShow: true, - hidden: item.isMenu !== 1, - meta: { - title: item.name, - icon: item.icon, - moduleId: item.id, - rank: item?.sortCode, - rootMenu: true, - }, - } - : { - path: formatPath(item.path), - name: item.enCode, - hidden: item.isMenu !== 1, - alwaysShow: true, - meta: { - title: item.name, - moduleId: item.id, - noCache: !item.isCache, - rank: item?.sortCode, - }, - }; - const children = formatModuleList(moduleList, item.id); - asyncRoute.children = children; - treeModuleList.push(asyncRoute); - } - }); - } - return treeModuleList; +function formatModuleList(moduleList: API.GetMenusQueryResultItem[]) { + return moduleList.map((item) => { + const isRootModule = !item.parentId && item.type == EnumMenuType.Menu; + //@ts-ignore + let asyncRoute: Route = isRootModule + ? { + path: formatPath(item.url), + name: item.code, + redirect: 'noRedirect', + alwaysShow: true, + hidden: item.type != EnumMenuType.Menu, + meta: { + title: item.name, + icon: item.icon, + moduleId: item.id, + rank: item?.sort, + rootMenu: true, + }, + } + : { + path: formatPath(item.url), + name: item.code, + hidden: item.type != EnumMenuType.Menu, + alwaysShow: true, + meta: { + title: item.name, + moduleId: item.id, + noCache: !item.isCache, + rank: item?.sort, + }, + }; + const children = formatModuleList(item.children); + asyncRoute.children = children; + return asyncRoute; + }); } function formatPath(path: string) { diff --git a/src/store/modules/subModuleStore.ts b/src/store/modules/subModuleStore.ts deleted file mode 100644 index 1c4f35c..0000000 --- a/src/store/modules/subModuleStore.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { store } from '@/store'; -import { defineStore } from 'pinia'; -import * as baseModuleServices from '@/services/api/BaseModule'; - -export interface SubModuleState { - subModuleMap: Record<string, API.AllSubModule>; -} - -export const useSubModuleStore = defineStore({ - id: 'subModule', - state: (): SubModuleState => ({ - subModuleMap: {}, - }), - actions: { - async getCurrentSubModuleList(moduleId: string) { - try { - if (!moduleId) return; - - if (this.subModuleMap[moduleId]) { - return this.subModuleMap[moduleId]; - } - - const subModule = await baseModuleServices.getCurrentSubModuleList( - { moduleId }, - { showLoading: false } - ); - this.subModuleMap[moduleId] = subModule; - return subModule; - } catch (error) { - return { - pageButton: [], - column: [], - dataButton: [], - } as API.AllSubModule; - } - }, - clearSubModule() { - this.subModuleMap = {}; - }, - }, -}); - -export function useSubModuleStoreHook() { - return useSubModuleStore(store); -} diff --git a/src/store/modules/user.ts b/src/store/modules/user.ts index 3aecc22..d472450 100644 --- a/src/store/modules/user.ts +++ b/src/store/modules/user.ts @@ -1,30 +1,33 @@ import { defineStore } from 'pinia'; import { store } from '@/store'; -import { getToken, setToken, removeToken, removeUserInfo, setUserInfo, getUserInfo } from '@/utils'; +import { + getToken, + setToken, + removeToken, + removeUserInfo, + setUserInfo, + getUserInfo, + md5Encrypt, +} from '@/utils'; import { resetRouter, router } from '@/router'; import { useTagsViewStoreHook } from './tagsView'; -import * as accountServices from '@/services/api/Account'; import { usePermissionStoreHook } from './permission'; import { getAccountInfoFromAccessToken, AccountInfo } from '@bole-core/core'; import { useClearSubModule } from '@/hooks'; import { myClient } from '@/constants/query'; +import * as authServices from '@/services/api/auth'; export interface UserState { token: string; - userInfo: API.IdentityModelTokenCacheItem; - accountInfo: Partial<AccountInfo>; - name: string; + userInfo: API.PasswordLoginCommandCallback; } function getDefaultState() { const accessToken = getToken(); const userInfo = getUserInfo(); - const accountInfo = getAccountInfoFromAccessToken(accessToken); return { token: accessToken, - name: accountInfo.name, - accountInfo: accountInfo || {}, userInfo: userInfo || {}, } as UserState; } @@ -41,7 +44,7 @@ }, userId(state) { - return state.accountInfo.sub; + return ''; }, }, actions: { @@ -49,49 +52,28 @@ this.token = token; setToken(token); }, - setName(name: string) { - this.name = name; - }, - setUserInfo(userInfo: API.IdentityModelTokenCacheItem) { + setUserInfo(userInfo: API.PasswordLoginCommandCallback) { this.userInfo = userInfo; setUserInfo(userInfo); }, - setAccountInfo(accountInfo: Partial<AccountInfo>) { - this.accountInfo = accountInfo; - }, // 鐢ㄦ埛鐧诲叆 - loginByUsername(data: API.AccessRequestDto) { - return new Promise<void>((resolve, reject) => { - accountServices - .getTokenForWeb(data, { showLoading: false }) - // .passwordLogin( - // { - // loginName: data.userName, - // password: data.userPassword, - // }, - // { showLoading: false } - // ) - .then((res) => { - if (res) { - console.log('res: ', res); - this.setToken(res.accessToken); - - const accountInfo = getAccountInfoFromAccessToken(res.accessToken); - - this.setName(accountInfo.name); - this.setAccountInfo(accountInfo); - - // 鑾峰彇鐢ㄦ埛淇℃伅 - this.setUserInfo(res); - - resolve(); - } - }) - .catch((error) => { - reject(error); - }); - }); + async loginByUsername(params: API.PasswordLoginCommand) { + let res = await authServices.passwordLogin( + { + ...params, + password: md5Encrypt(params.password), + type: AppLocalConfig.userType, + clientType: AppLocalConfig.clientType, + }, + { + showLoading: false, + } + ); + if (res) { + this.setToken(res.accessToken); + this.setUserInfo(res); + } }, // 鐧诲嚭 娓呯┖缂撳瓨 @@ -126,26 +108,13 @@ Object.assign(this, getDefaultState()); }, - refreshToken(params: API.AccessRefreshToken) { - return new Promise<API.IdentityModelTokenCacheItem>( - // eslint-disable-next-line no-async-promise-executor - async (resolve, reject) => { - try { - const res = await accountServices.getTokenByRefreshToken(params, { - showLoading: false, - }); - if (res) { - this.setToken(res.accessToken); - this.setUserInfo(res); - resolve(res); - return; - } - reject('鍑洪敊浜�'); - } catch (error) { - reject(error); - } - } - ); + async refreshToken(params: any) { + return Promise.resolve({ + accessToken: '1222', + expiresIn: 1000 * 60 * 24 * 60, + creationTime: '2025-08-04 00:00:00', + refreshToken: '1222', + }); }, }, }); diff --git a/src/utils/common/encrypt.ts b/src/utils/common/encrypt.ts new file mode 100644 index 0000000..687f958 --- /dev/null +++ b/src/utils/common/encrypt.ts @@ -0,0 +1,13 @@ +import CryptoJS from 'crypto-js'; + +/** + * MD5鍔犲瘑鍑芥暟 + * @param {string} data - 闇�瑕佸姞瀵嗙殑鏁版嵁 + * @returns {string} 鍔犲瘑鍚庣殑16杩涘埗瀛楃涓� + */ +export function md5Encrypt(data: string) { + // 杩涜MD5鍔犲瘑锛岃繑鍥濿ordArray瀵硅薄 + const hash = CryptoJS.MD5(data); + // 杞崲涓�16杩涘埗瀛楃涓� + return hash.toString(CryptoJS.enc.Hex); +} diff --git a/src/utils/common/index.ts b/src/utils/common/index.ts index 2bc5917..8959df3 100644 --- a/src/utils/common/index.ts +++ b/src/utils/common/index.ts @@ -13,3 +13,4 @@ export * from './file'; export * from './vueHelper'; export * from './categoryUtils'; +export * from './encrypt'; diff --git a/src/utils/oss/index.ts b/src/utils/oss/index.ts index 2dd5d98..76efceb 100644 --- a/src/utils/oss/index.ts +++ b/src/utils/oss/index.ts @@ -1,15 +1,18 @@ import { BoleOss } from '@bole-core/core'; import { loadEnv } from '@build/index'; import AliOSS from 'ali-oss'; -import * as accountServices from '@/services/api/Account'; +import * as authServices from '@/services/api/auth'; export class OssManager { private static OssInstance: BoleOss; private static async getOssSTS() { - return await accountServices.getOssSTS({ - showLoading: false, - }); + return await authServices.getAliyunOSSAcs( + {}, + { + showLoading: false, + } + ); } public static async getOssInstance() { diff --git a/src/utils/storage/auth.ts b/src/utils/storage/auth.ts index e28e6c2..b5920be 100644 --- a/src/utils/storage/auth.ts +++ b/src/utils/storage/auth.ts @@ -30,11 +30,11 @@ return storageLocal.removeItem(StorageKey.REFRESH_TOKEN_KEY); } -export function getUserInfo(): API.IdentityModelTokenCacheItem | null { +export function getUserInfo(): API.PasswordLoginCommandCallback | null { return storageLocal.getItem(StorageKey.USER_INFO_KEY); } -export function setUserInfo(userInfo: API.IdentityModelTokenCacheItem) { +export function setUserInfo(userInfo: API.PasswordLoginCommandCallback) { return storageLocal.setItem(StorageKey.USER_INFO_KEY, userInfo); } -- Gitblit v1.9.1