commit e57d49775160d7caa4922797f0ed87c4f4613326 Author: liangzai <2440983361@qq.com> Date: Mon Nov 24 16:06:44 2025 +0800 first commit diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..5a5809d --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +[*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue,css,scss,sass,less,styl}] +charset = utf-8 +indent_size = 2 +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true + +end_of_line = lf +max_line_length = 100 diff --git a/.env b/.env new file mode 100644 index 0000000..03cefb7 --- /dev/null +++ b/.env @@ -0,0 +1 @@ +VITE_API_URL="https://api.tianyuanapi.com" \ No newline at end of file diff --git a/.eslintrc-auto-import.json b/.eslintrc-auto-import.json new file mode 100644 index 0000000..0a6289a --- /dev/null +++ b/.eslintrc-auto-import.json @@ -0,0 +1,410 @@ +{ + "globals": { + "Component": true, + "ComponentPublicInstance": true, + "ComputedRef": true, + "DirectiveBinding": true, + "EffectScope": true, + "ExtractDefaultPropTypes": true, + "ExtractPropTypes": true, + "ExtractPublicPropTypes": true, + "InjectionKey": true, + "MaybeRef": true, + "MaybeRefOrGetter": true, + "PERMISSIONS": true, + "PropType": true, + "ROLES": true, + "ROLE_PERMISSIONS": true, + "Ref": true, + "Slot": true, + "Slots": true, + "VERSION_CONFIG": true, + "VNode": true, + "VersionChecker": true, + "WritableComputedRef": true, + "acceptHMRUpdate": true, + "applyRenderOptimizations": true, + "asyncComputed": true, + "authEventBus": true, + "autoResetRef": true, + "axios": true, + "camelCase": true, + "capitalize": true, + "checkForUpdates": true, + "checkPermission": true, + "clearLocalVersions": true, + "compareVersions": true, + "computed": true, + "computedAsync": true, + "computedEager": true, + "computedInject": true, + "computedWithControl": true, + "controlledComputed": true, + "controlledRef": true, + "copyToClipboard": true, + "createApp": true, + "createEventHook": true, + "createGlobalState": true, + "createInjectionState": true, + "createIntersectionObserver": true, + "createPinia": true, + "createReactiveFn": true, + "createRef": true, + "createReusableTemplate": true, + "createSharedComposable": true, + "createTemplatePromise": true, + "createUnrefFn": true, + "customRef": true, + "dayjs": true, + "debounce": true, + "debouncedRef": true, + "debouncedWatch": true, + "deepClone": true, + "defineAsyncComponent": true, + "defineComponent": true, + "defineStore": true, + "downloadFile": true, + "eagerComputed": true, + "effectScope": true, + "endsWith": true, + "escape": true, + "extendRef": true, + "filter": true, + "find": true, + "findIndex": true, + "formatDate": true, + "formatFileSize": true, + "formatMoney": true, + "formatPhone": true, + "fromNow": true, + "generateUUID": true, + "get": true, + "getActivePinia": true, + "getBrowserInfo": true, + "getCurrentInstance": true, + "getCurrentScope": true, + "getDevicePerformanceLevel": true, + "getLocalVersions": true, + "getUrlParam": true, + "getUserPermissions": true, + "groupBy": true, + "h": true, + "handleError": true, + "handleResponse": true, + "hasAllPermissions": true, + "hasAnyPermission": true, + "hasUserPermission": true, + "ignorableWatch": true, + "includes": true, + "initRenderOptimizations": true, + "inject": true, + "injectLocal": true, + "isAlipay": true, + "isDefined": true, + "isEmpty": true, + "isEqual": true, + "isMobile": true, + "isProxy": true, + "isReactive": true, + "isReadonly": true, + "isRef": true, + "isWeChat": true, + "kebabCase": true, + "keyBy": true, + "lowerCase": true, + "makeDestructurable": true, + "map": true, + "mapActions": true, + "mapGetters": true, + "mapState": true, + "mapStores": true, + "mapWritableState": true, + "markRaw": true, + "merge": true, + "nextTick": true, + "omit": true, + "onActivated": true, + "onBeforeMount": true, + "onBeforeRouteLeave": true, + "onBeforeRouteUpdate": true, + "onBeforeUnmount": true, + "onBeforeUpdate": true, + "onClickOutside": true, + "onDeactivated": true, + "onElementRemoval": true, + "onErrorCaptured": true, + "onKeyStroke": true, + "onLongPress": true, + "onMounted": true, + "onRenderTracked": true, + "onRenderTriggered": true, + "onScopeDispose": true, + "onServerPrefetch": true, + "onStartTyping": true, + "onUnmounted": true, + "onUpdated": true, + "onWatcherCleanup": true, + "optimizeAnimations": true, + "optimizeImageLoading": true, + "optimizeLayout": true, + "optimizeMemory": true, + "orderBy": true, + "pausableWatch": true, + "permission": true, + "pick": true, + "prefersReducedMotion": true, + "provide": true, + "provideLocal": true, + "reactify": true, + "reactifyObject": true, + "reactive": true, + "reactiveComputed": true, + "reactiveOmit": true, + "reactivePick": true, + "readonly": true, + "reduce": true, + "ref": true, + "refAutoReset": true, + "refDebounced": true, + "refDefault": true, + "refThrottled": true, + "refWithControl": true, + "removeUrlParam": true, + "request": true, + "resolveComponent": true, + "resolveRef": true, + "resolveUnref": true, + "role": true, + "saveLocalVersions": true, + "set": true, + "setActivePinia": true, + "setMapStoreSuffix": true, + "setUrlParam": true, + "shallowReactive": true, + "shallowReadonly": true, + "shallowRef": true, + "snakeCase": true, + "sortBy": true, + "startsWith": true, + "storeToRefs": true, + "supportsBackdropFilter": true, + "supportsHardwareAcceleration": true, + "syncRef": true, + "syncRefs": true, + "templateRef": true, + "throttle": true, + "throttledRef": true, + "throttledWatch": true, + "toRaw": true, + "toReactive": true, + "toRef": true, + "toRefs": true, + "toValue": true, + "triggerRef": true, + "trim": true, + "tryOnBeforeMount": true, + "tryOnBeforeUnmount": true, + "tryOnMounted": true, + "tryOnScopeDispose": true, + "tryOnUnmounted": true, + "unescape": true, + "uniq": true, + "uniqBy": true, + "unref": true, + "unrefElement": true, + "until": true, + "upperCase": true, + "useActiveElement": true, + "useAnimate": true, + "useAppStore": true, + "useArrayDifference": true, + "useArrayEvery": true, + "useArrayFilter": true, + "useArrayFind": true, + "useArrayFindIndex": true, + "useArrayFindLast": true, + "useArrayIncludes": true, + "useArrayJoin": true, + "useArrayMap": true, + "useArrayReduce": true, + "useArraySome": true, + "useArrayUnique": true, + "useAsyncQueue": true, + "useAsyncState": true, + "useAttrs": true, + "useBase64": true, + "useBattery": true, + "useBluetooth": true, + "useBreakpoints": true, + "useBroadcastChannel": true, + "useBrowserLocation": true, + "useCached": true, + "useCertification": true, + "useClipboard": true, + "useClipboardItems": true, + "useCloned": true, + "useColorMode": true, + "useConfirmDialog": true, + "useCountdown": true, + "useCounter": true, + "useCounterStore": true, + "useCssModule": true, + "useCssVar": true, + "useCssVars": true, + "useCurrentElement": true, + "useCycleList": true, + "useDark": true, + "useDateFormat": true, + "useDebounce": true, + "useDebounceFn": true, + "useDebouncedRefHistory": true, + "useDeviceMotion": true, + "useDeviceOrientation": true, + "useDevicePixelRatio": true, + "useDevicesList": true, + "useDisplayMedia": true, + "useDocumentVisibility": true, + "useDraggable": true, + "useDropZone": true, + "useElementBounding": true, + "useElementByPoint": true, + "useElementHover": true, + "useElementSize": true, + "useElementVisibility": true, + "useEventBus": true, + "useEventListener": true, + "useEventSource": true, + "useEyeDropper": true, + "useFavicon": true, + "useFetch": true, + "useFileDialog": true, + "useFileSystemAccess": true, + "useFocus": true, + "useFocusWithin": true, + "useFps": true, + "useFullscreen": true, + "useGamepad": true, + "useGeolocation": true, + "useId": true, + "useIdle": true, + "useImage": true, + "useInfiniteScroll": true, + "useIntersectionObserver": true, + "useInterval": true, + "useIntervalFn": true, + "useKeyModifier": true, + "useLastChanged": true, + "useLink": true, + "useLocalStorage": true, + "useMagicKeys": true, + "useManualRefHistory": true, + "useMediaControls": true, + "useMediaQuery": true, + "useMemoize": true, + "useMemory": true, + "useModel": true, + "useMounted": true, + "useMouse": true, + "useMouseInElement": true, + "useMousePressed": true, + "useMutationObserver": true, + "useNavigatorLanguage": true, + "useNetwork": true, + "useNow": true, + "useObjectUrl": true, + "useOffsetPagination": true, + "useOnline": true, + "usePageLeave": true, + "useParallax": true, + "useParentElement": true, + "usePerformanceObserver": true, + "usePermission": true, + "usePointer": true, + "usePointerLock": true, + "usePointerSwipe": true, + "usePreferredColorScheme": true, + "usePreferredContrast": true, + "usePreferredDark": true, + "usePreferredLanguages": true, + "usePreferredReducedMotion": true, + "usePreferredReducedTransparency": true, + "usePrevious": true, + "useRafFn": true, + "useRefHistory": true, + "useResizeObserver": true, + "useRoute": true, + "useRouter": true, + "useSSRWidth": true, + "useScreenOrientation": true, + "useScreenSafeArea": true, + "useScriptTag": true, + "useScroll": true, + "useScrollLock": true, + "useSessionStorage": true, + "useShare": true, + "useSlots": true, + "useSorted": true, + "useSpeechRecognition": true, + "useSpeechSynthesis": true, + "useStepper": true, + "useStorage": true, + "useStorageAsync": true, + "useStyleTag": true, + "useSupported": true, + "useSwipe": true, + "useTemplateRef": true, + "useTemplateRefsList": true, + "useTextDirection": true, + "useTextSelection": true, + "useTextareaAutosize": true, + "useThrottle": true, + "useThrottleFn": true, + "useThrottledRefHistory": true, + "useTimeAgo": true, + "useTimeout": true, + "useTimeoutFn": true, + "useTimeoutPoll": true, + "useTimestamp": true, + "useTitle": true, + "useToNumber": true, + "useToString": true, + "useToggle": true, + "useTransition": true, + "useUrlSearchParams": true, + "useUserMedia": true, + "useUserStore": true, + "useVModel": true, + "useVModels": true, + "useVibrate": true, + "useVirtualList": true, + "useWakeLock": true, + "useWebNotification": true, + "useWebSocket": true, + "useWebWorker": true, + "useWebWorkerFn": true, + "useWindowFocus": true, + "useWindowScroll": true, + "useWindowSize": true, + "validateEmail": true, + "validateIdCard": true, + "validatePhone": true, + "version": true, + "versionChecker": true, + "watch": true, + "watchArray": true, + "watchAtMost": true, + "watchDebounced": true, + "watchDeep": true, + "watchEffect": true, + "watchIgnorable": true, + "watchImmediate": true, + "watchOnce": true, + "watchPausable": true, + "watchPostEffect": true, + "watchSyncEffect": true, + "watchThrottled": true, + "watchTriggerable": true, + "watchWithFilter": true, + "whenever": true + } +} diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..6313b56 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8ee54e8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,30 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +.DS_Store +dist +dist-ssr +coverage +*.local + +/cypress/videos/ +/cypress/screenshots/ + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? + +*.tsbuildinfo diff --git a/.prettierrc.json b/.prettierrc.json new file mode 100644 index 0000000..29a2402 --- /dev/null +++ b/.prettierrc.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://json.schemastore.org/prettierrc", + "semi": false, + "singleQuote": true, + "printWidth": 100 +} diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..3f84126 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,9 @@ +{ + "recommendations": [ + "Vue.volar", + "dbaeumer.vscode-eslint", + "EditorConfig.EditorConfig", + "oxc.oxc-vscode", + "esbenp.prettier-vscode" + ] +} diff --git a/auto-imports.d.ts b/auto-imports.d.ts new file mode 100644 index 0000000..d1fcea3 --- /dev/null +++ b/auto-imports.d.ts @@ -0,0 +1,855 @@ +/* eslint-disable */ +/* prettier-ignore */ +// @ts-nocheck +// noinspection JSUnusedGlobalSymbols +// Generated by unplugin-auto-import +// biome-ignore lint: disable +export {} +declare global { + const EffectScope: typeof import('vue')['EffectScope'] + const ElLoading: typeof import('element-plus')['ElLoading'] + const ElMessage: typeof import('element-plus/es')['ElMessage'] + const ElMessageBox: typeof import('element-plus/es')['ElMessageBox'] + const ElNotification: typeof import('element-plus')['ElNotification'] + const PERMISSIONS: typeof import('./src/utils/permission.js')['PERMISSIONS'] + const ROLES: typeof import('./src/utils/permission.js')['ROLES'] + const ROLE_PERMISSIONS: typeof import('./src/utils/permission.js')['ROLE_PERMISSIONS'] + const VERSION_CONFIG: typeof import('./src/utils/version.js')['VERSION_CONFIG'] + const VersionChecker: typeof import('./src/utils/version.js')['VersionChecker'] + const acceptHMRUpdate: typeof import('pinia')['acceptHMRUpdate'] + const applyPerformanceOptimizations: typeof import('./src/utils/performance.js')['applyPerformanceOptimizations'] + const applyRenderOptimizations: typeof import('./src/utils/performance.js')['applyRenderOptimizations'] + const asyncComputed: typeof import('@vueuse/core')['asyncComputed'] + const authEventBus: typeof import('./src/utils/request.js')['authEventBus'] + const autoImports: typeof import('./src/utils/auto-imports.js')['autoImports'] + const autoResetRef: typeof import('@vueuse/core')['autoResetRef'] + const axios: typeof import('axios')['default'] + const camelCase: typeof import('lodash-es')['camelCase'] + const capitalize: typeof import('lodash-es')['capitalize'] + const checkForUpdates: typeof import('./src/utils/version.js')['checkForUpdates'] + const checkPermission: typeof import('./src/utils/permission.js')['checkPermission'] + const clearLocalVersions: typeof import('./src/utils/version.js')['clearLocalVersions'] + const cloneDeep: typeof import('lodash-es')['cloneDeep'] + const compareVersions: typeof import('./src/utils/version.js')['compareVersions'] + const computed: typeof import('vue')['computed'] + const computedAsync: typeof import('@vueuse/core')['computedAsync'] + const computedEager: typeof import('@vueuse/core')['computedEager'] + const computedInject: typeof import('@vueuse/core')['computedInject'] + const computedWithControl: typeof import('@vueuse/core')['computedWithControl'] + const controlledComputed: typeof import('@vueuse/core')['controlledComputed'] + const controlledRef: typeof import('@vueuse/core')['controlledRef'] + const copyToClipboard: typeof import('./src/utils/index.js')['copyToClipboard'] + const createApp: typeof import('vue')['createApp'] + const createEventHook: typeof import('@vueuse/core')['createEventHook'] + const createGlobalState: typeof import('@vueuse/core')['createGlobalState'] + const createInjectionState: typeof import('@vueuse/core')['createInjectionState'] + const createIntersectionObserver: typeof import('./src/utils/performance.js')['createIntersectionObserver'] + const createPinia: typeof import('pinia')['createPinia'] + const createReactiveFn: typeof import('@vueuse/core')['createReactiveFn'] + const createRef: typeof import('@vueuse/core')['createRef'] + const createReusableTemplate: typeof import('@vueuse/core')['createReusableTemplate'] + const createSharedComposable: typeof import('@vueuse/core')['createSharedComposable'] + const createTemplatePromise: typeof import('@vueuse/core')['createTemplatePromise'] + const createUnrefFn: typeof import('@vueuse/core')['createUnrefFn'] + const customRef: typeof import('vue')['customRef'] + const dayjs: typeof import('dayjs')['default'] + const debounce: typeof import('./src/utils/performance.js')['debounce'] + const debouncedRef: typeof import('@vueuse/core')['debouncedRef'] + const debouncedWatch: typeof import('@vueuse/core')['debouncedWatch'] + const deepClone: typeof import('./src/utils/index.js')['deepClone'] + const defineAsyncComponent: typeof import('vue')['defineAsyncComponent'] + const defineComponent: typeof import('vue')['defineComponent'] + const defineStore: typeof import('pinia')['defineStore'] + const downloadFile: typeof import('./src/utils/index.js')['downloadFile'] + const eagerComputed: typeof import('@vueuse/core')['eagerComputed'] + const effectScope: typeof import('vue')['effectScope'] + const endsWith: typeof import('lodash-es')['endsWith'] + const errorMonitor: typeof import('./src/utils/errorMonitor.js')['default'] + const escape: typeof import('lodash-es')['escape'] + const exportToCSV: typeof import('./src/utils/export.js')['exportToCSV'] + const exportToExcel: typeof import('./src/utils/export.js')['exportToExcel'] + const extendRef: typeof import('@vueuse/core')['extendRef'] + const filter: typeof import('lodash-es')['filter'] + const find: typeof import('lodash-es')['find'] + const findIndex: typeof import('lodash-es')['findIndex'] + const formatAmount: typeof import('./src/utils/export.js')['formatAmount'] + const formatDate: typeof import('./src/utils/index.js')['formatDate'] + const formatDateTime: typeof import('./src/utils/export.js')['formatDateTime'] + const formatFileSize: typeof import('./src/utils/index.js')['formatFileSize'] + const formatMoney: typeof import('./src/utils/index.js')['formatMoney'] + const formatPhone: typeof import('./src/utils/index.js')['formatPhone'] + const fromNow: typeof import('./src/utils/index.js')['fromNow'] + const generateFilename: typeof import('./src/utils/export.js')['generateFilename'] + const generateUUID: typeof import('./src/utils/index.js')['generateUUID'] + const get: typeof import('lodash-es')['get'] + const getActivePinia: typeof import('pinia')['getActivePinia'] + const getBrowserInfo: typeof import('./src/utils/index.js')['getBrowserInfo'] + const getCurrentInstance: typeof import('vue')['getCurrentInstance'] + const getCurrentScope: typeof import('vue')['getCurrentScope'] + const getDevicePerformanceLevel: typeof import('./src/utils/performance.js')['getDevicePerformanceLevel'] + const getLocalVersions: typeof import('./src/utils/version.js')['getLocalVersions'] + const getNetworkQuality: typeof import('./src/utils/performance.js')['getNetworkQuality'] + const getUrlParam: typeof import('./src/utils/index.js')['getUrlParam'] + const getUserPermissions: typeof import('./src/utils/permission.js')['getUserPermissions'] + const groupBy: typeof import('lodash-es')['groupBy'] + const h: typeof import('vue')['h'] + const handleError: typeof import('./src/utils/request.js')['handleError'] + const handleResponse: typeof import('./src/utils/request.js')['handleResponse'] + const hasAllPermissions: typeof import('./src/utils/permission.js')['hasAllPermissions'] + const hasAnyPermission: typeof import('./src/utils/permission.js')['hasAnyPermission'] + const hasUserPermission: typeof import('./src/utils/permission.js')['hasUserPermission'] + const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch'] + const includes: typeof import('lodash-es')['includes'] + const initPerformanceOptimizations: typeof import('./src/utils/performance.js')['initPerformanceOptimizations'] + const initRenderOptimizations: typeof import('./src/utils/performance.js')['initRenderOptimizations'] + const inject: typeof import('vue')['inject'] + const injectLocal: typeof import('@vueuse/core')['injectLocal'] + const isAlipay: typeof import('./src/utils/index.js')['isAlipay'] + const isDefined: typeof import('@vueuse/core')['isDefined'] + const isEmpty: typeof import('lodash-es')['isEmpty'] + const isEqual: typeof import('lodash-es')['isEqual'] + const isMobile: typeof import('./src/utils/index.js')['isMobile'] + const isProxy: typeof import('vue')['isProxy'] + const isReactive: typeof import('vue')['isReactive'] + const isReadonly: typeof import('vue')['isReadonly'] + const isRef: typeof import('vue')['isRef'] + const isWeChat: typeof import('./src/utils/index.js')['isWeChat'] + const kebabCase: typeof import('lodash-es')['kebabCase'] + const keyBy: typeof import('lodash-es')['keyBy'] + const lowerCase: typeof import('lodash-es')['lowerCase'] + const makeDestructurable: typeof import('@vueuse/core')['makeDestructurable'] + const map: typeof import('lodash-es')['map'] + const mapActions: typeof import('pinia')['mapActions'] + const mapGetters: typeof import('pinia')['mapGetters'] + const mapState: typeof import('pinia')['mapState'] + const mapStores: typeof import('pinia')['mapStores'] + const mapWritableState: typeof import('pinia')['mapWritableState'] + const markRaw: typeof import('vue')['markRaw'] + const merge: typeof import('lodash-es')['merge'] + const nextTick: typeof import('vue')['nextTick'] + const omit: typeof import('lodash-es')['omit'] + const onActivated: typeof import('vue')['onActivated'] + const onBeforeMount: typeof import('vue')['onBeforeMount'] + const onBeforeRouteLeave: typeof import('vue-router')['onBeforeRouteLeave'] + const onBeforeRouteUpdate: typeof import('vue-router')['onBeforeRouteUpdate'] + const onBeforeUnmount: typeof import('vue')['onBeforeUnmount'] + const onBeforeUpdate: typeof import('vue')['onBeforeUpdate'] + const onClickOutside: typeof import('@vueuse/core')['onClickOutside'] + const onDeactivated: typeof import('vue')['onDeactivated'] + const onElementRemoval: typeof import('@vueuse/core')['onElementRemoval'] + const onErrorCaptured: typeof import('vue')['onErrorCaptured'] + const onKeyStroke: typeof import('@vueuse/core')['onKeyStroke'] + const onLongPress: typeof import('@vueuse/core')['onLongPress'] + const onMounted: typeof import('vue')['onMounted'] + const onRenderTracked: typeof import('vue')['onRenderTracked'] + const onRenderTriggered: typeof import('vue')['onRenderTriggered'] + const onScopeDispose: typeof import('vue')['onScopeDispose'] + const onServerPrefetch: typeof import('vue')['onServerPrefetch'] + const onStartTyping: typeof import('@vueuse/core')['onStartTyping'] + const onUnmounted: typeof import('vue')['onUnmounted'] + const onUpdated: typeof import('vue')['onUpdated'] + const onWatcherCleanup: typeof import('vue')['onWatcherCleanup'] + const optimizeAnimations: typeof import('./src/utils/performance.js')['optimizeAnimations'] + const optimizeImageLoading: typeof import('./src/utils/performance.js')['optimizeImageLoading'] + const optimizeLayout: typeof import('./src/utils/performance.js')['optimizeLayout'] + const optimizeMemory: typeof import('./src/utils/performance.js')['optimizeMemory'] + const optimizeNetwork: typeof import('./src/utils/performance.js')['optimizeNetwork'] + const optimizeTransitions: typeof import('./src/utils/performance.js')['optimizeTransitions'] + const orderBy: typeof import('lodash-es')['orderBy'] + const pausableWatch: typeof import('@vueuse/core')['pausableWatch'] + const permission: typeof import('./src/utils/permission.js')['default'] + const pick: typeof import('lodash-es')['pick'] + const prefersReducedMotion: typeof import('./src/utils/performance.js')['prefersReducedMotion'] + const provide: typeof import('vue')['provide'] + const provideLocal: typeof import('@vueuse/core')['provideLocal'] + const reactify: typeof import('@vueuse/core')['reactify'] + const reactifyObject: typeof import('@vueuse/core')['reactifyObject'] + const reactive: typeof import('vue')['reactive'] + const reactiveComputed: typeof import('@vueuse/core')['reactiveComputed'] + const reactiveOmit: typeof import('@vueuse/core')['reactiveOmit'] + const reactivePick: typeof import('@vueuse/core')['reactivePick'] + const readonly: typeof import('vue')['readonly'] + const reduce: typeof import('lodash-es')['reduce'] + const ref: typeof import('vue')['ref'] + const refAutoReset: typeof import('@vueuse/core')['refAutoReset'] + const refDebounced: typeof import('@vueuse/core')['refDebounced'] + const refDefault: typeof import('@vueuse/core')['refDefault'] + const refThrottled: typeof import('@vueuse/core')['refThrottled'] + const refWithControl: typeof import('@vueuse/core')['refWithControl'] + const removeUrlParam: typeof import('./src/utils/index.js')['removeUrlParam'] + const request: typeof import('./src/utils/request.js')['default'] + const resolveComponent: typeof import('vue')['resolveComponent'] + const resolveRef: typeof import('@vueuse/core')['resolveRef'] + const resolveUnref: typeof import('@vueuse/core')['resolveUnref'] + const role: typeof import('./src/utils/permission.js')['role'] + const saveLocalVersions: typeof import('./src/utils/version.js')['saveLocalVersions'] + const set: typeof import('lodash-es')['set'] + const setActivePinia: typeof import('pinia')['setActivePinia'] + const setMapStoreSuffix: typeof import('pinia')['setMapStoreSuffix'] + const setUrlParam: typeof import('./src/utils/index.js')['setUrlParam'] + const shallowReactive: typeof import('vue')['shallowReactive'] + const shallowReadonly: typeof import('vue')['shallowReadonly'] + const shallowRef: typeof import('vue')['shallowRef'] + const snakeCase: typeof import('lodash-es')['snakeCase'] + const sortBy: typeof import('lodash-es')['sortBy'] + const startsWith: typeof import('lodash-es')['startsWith'] + const storeToRefs: typeof import('pinia')['storeToRefs'] + const supportsBackdropFilter: typeof import('./src/utils/performance.js')['supportsBackdropFilter'] + const supportsHardwareAcceleration: typeof import('./src/utils/performance.js')['supportsHardwareAcceleration'] + const syncRef: typeof import('@vueuse/core')['syncRef'] + const syncRefs: typeof import('@vueuse/core')['syncRefs'] + const templateRef: typeof import('@vueuse/core')['templateRef'] + const throttle: typeof import('./src/utils/performance.js')['throttle'] + const throttledRef: typeof import('@vueuse/core')['throttledRef'] + const throttledWatch: typeof import('@vueuse/core')['throttledWatch'] + const toRaw: typeof import('vue')['toRaw'] + const toReactive: typeof import('@vueuse/core')['toReactive'] + const toRef: typeof import('vue')['toRef'] + const toRefs: typeof import('vue')['toRefs'] + const toValue: typeof import('vue')['toValue'] + const triggerRef: typeof import('vue')['triggerRef'] + const trim: typeof import('lodash-es')['trim'] + const tryOnBeforeMount: typeof import('@vueuse/core')['tryOnBeforeMount'] + const tryOnBeforeUnmount: typeof import('@vueuse/core')['tryOnBeforeUnmount'] + const tryOnMounted: typeof import('@vueuse/core')['tryOnMounted'] + const tryOnScopeDispose: typeof import('@vueuse/core')['tryOnScopeDispose'] + const tryOnUnmounted: typeof import('@vueuse/core')['tryOnUnmounted'] + const unescape: typeof import('lodash-es')['unescape'] + const uniq: typeof import('lodash-es')['uniq'] + const uniqBy: typeof import('lodash-es')['uniqBy'] + const unref: typeof import('vue')['unref'] + const unrefElement: typeof import('@vueuse/core')['unrefElement'] + const until: typeof import('@vueuse/core')['until'] + const upperCase: typeof import('lodash-es')['upperCase'] + const useActiveElement: typeof import('@vueuse/core')['useActiveElement'] + const useAnimate: typeof import('@vueuse/core')['useAnimate'] + const useAppStore: typeof import('./src/stores/app.js')['useAppStore'] + const useArrayDifference: typeof import('@vueuse/core')['useArrayDifference'] + const useArrayEvery: typeof import('@vueuse/core')['useArrayEvery'] + const useArrayFilter: typeof import('@vueuse/core')['useArrayFilter'] + const useArrayFind: typeof import('@vueuse/core')['useArrayFind'] + const useArrayFindIndex: typeof import('@vueuse/core')['useArrayFindIndex'] + const useArrayFindLast: typeof import('@vueuse/core')['useArrayFindLast'] + const useArrayIncludes: typeof import('@vueuse/core')['useArrayIncludes'] + const useArrayJoin: typeof import('@vueuse/core')['useArrayJoin'] + const useArrayMap: typeof import('@vueuse/core')['useArrayMap'] + const useArrayReduce: typeof import('@vueuse/core')['useArrayReduce'] + const useArraySome: typeof import('@vueuse/core')['useArraySome'] + const useArrayUnique: typeof import('@vueuse/core')['useArrayUnique'] + const useAsyncData: typeof import('@vueuse/core')['useAsyncData'] + const useAsyncQueue: typeof import('@vueuse/core')['useAsyncQueue'] + const useAsyncState: typeof import('@vueuse/core')['useAsyncState'] + const useAttrs: typeof import('vue')['useAttrs'] + const useBase64: typeof import('@vueuse/core')['useBase64'] + const useBattery: typeof import('@vueuse/core')['useBattery'] + const useBluetooth: typeof import('@vueuse/core')['useBluetooth'] + const useBluetoothAvailability: typeof import('@vueuse/core')['useBluetoothAvailability'] + const useBluetoothConnect: typeof import('@vueuse/core')['useBluetoothConnect'] + const useBluetoothDisconnect: typeof import('@vueuse/core')['useBluetoothDisconnect'] + const useBluetoothGetAvailability: typeof import('@vueuse/core')['useBluetoothGetAvailability'] + const useBluetoothGetCharacteristic: typeof import('@vueuse/core')['useBluetoothGetCharacteristic'] + const useBluetoothGetCharacteristics: typeof import('@vueuse/core')['useBluetoothGetCharacteristics'] + const useBluetoothGetDescriptor: typeof import('@vueuse/core')['useBluetoothGetDescriptor'] + const useBluetoothGetDescriptors: typeof import('@vueuse/core')['useBluetoothGetDescriptors'] + const useBluetoothGetDevices: typeof import('@vueuse/core')['useBluetoothGetDevices'] + const useBluetoothGetService: typeof import('@vueuse/core')['useBluetoothGetService'] + const useBluetoothGetServices: typeof import('@vueuse/core')['useBluetoothGetServices'] + const useBluetoothReadValue: typeof import('@vueuse/core')['useBluetoothReadValue'] + const useBluetoothRequestDevice: typeof import('@vueuse/core')['useBluetoothRequestDevice'] + const useBluetoothStartNotifications: typeof import('@vueuse/core')['useBluetoothStartNotifications'] + const useBluetoothStopNotifications: typeof import('@vueuse/core')['useBluetoothStopNotifications'] + const useBluetoothWriteValue: typeof import('@vueuse/core')['useBluetoothWriteValue'] + const useBreakpoints: typeof import('@vueuse/core')['useBreakpoints'] + const useBroadcastChannel: typeof import('@vueuse/core')['useBroadcastChannel'] + const useBrowserLocation: typeof import('@vueuse/core')['useBrowserLocation'] + const useCached: typeof import('@vueuse/core')['useCached'] + const useCertification: typeof import('./src/composables/useCertification.js')['useCertification'] + const useClickOutside: typeof import('@vueuse/core')['useClickOutside'] + const useClipboard: typeof import('@vueuse/core')['useClipboard'] + const useClipboardItems: typeof import('@vueuse/core')['useClipboardItems'] + const useCloned: typeof import('@vueuse/core')['useCloned'] + const useColorMode: typeof import('@vueuse/core')['useColorMode'] + const useConfirmDialog: typeof import('@vueuse/core')['useConfirmDialog'] + const useCountdown: typeof import('@vueuse/core')['useCountdown'] + const useCounter: typeof import('@vueuse/core')['useCounter'] + const useCounterStore: typeof import('./src/stores/counter.js')['useCounterStore'] + const useCssModule: typeof import('vue')['useCssModule'] + const useCssVar: typeof import('@vueuse/core')['useCssVar'] + const useCssVars: typeof import('vue')['useCssVars'] + const useCurrentElement: typeof import('@vueuse/core')['useCurrentElement'] + const useCycleList: typeof import('@vueuse/core')['useCycleList'] + const useDark: typeof import('@vueuse/core')['useDark'] + const useDateFormat: typeof import('@vueuse/core')['useDateFormat'] + const useDebounce: typeof import('@vueuse/core')['useDebounce'] + const useDebounceFn: typeof import('@vueuse/core')['useDebounceFn'] + const useDebouncedRefHistory: typeof import('@vueuse/core')['useDebouncedRefHistory'] + const useDeviceMotion: typeof import('@vueuse/core')['useDeviceMotion'] + const useDeviceOrientation: typeof import('@vueuse/core')['useDeviceOrientation'] + const useDevicePixelRatio: typeof import('@vueuse/core')['useDevicePixelRatio'] + const useDevicesList: typeof import('@vueuse/core')['useDevicesList'] + const useDisplayMedia: typeof import('@vueuse/core')['useDisplayMedia'] + const useDocumentVisibility: typeof import('@vueuse/core')['useDocumentVisibility'] + const useDoubleClick: typeof import('@vueuse/core')['useDoubleClick'] + const useDraggable: typeof import('@vueuse/core')['useDraggable'] + const useDropZone: typeof import('@vueuse/core')['useDropZone'] + const useDroppable: typeof import('@vueuse/core')['useDroppable'] + const useElementBounding: typeof import('@vueuse/core')['useElementBounding'] + const useElementByPoint: typeof import('@vueuse/core')['useElementByPoint'] + const useElementFocus: typeof import('@vueuse/core')['useElementFocus'] + const useElementHover: typeof import('@vueuse/core')['useElementHover'] + const useElementSize: typeof import('@vueuse/core')['useElementSize'] + const useElementVisibility: typeof import('@vueuse/core')['useElementVisibility'] + const useEventBus: typeof import('@vueuse/core')['useEventBus'] + const useEventListener: typeof import('@vueuse/core')['useEventListener'] + const useEventSource: typeof import('@vueuse/core')['useEventSource'] + const useEyeDropper: typeof import('@vueuse/core')['useEyeDropper'] + const useFavicon: typeof import('@vueuse/core')['useFavicon'] + const useFetch: typeof import('@vueuse/core')['useFetch'] + const useFileDialog: typeof import('@vueuse/core')['useFileDialog'] + const useFileSystemAccess: typeof import('@vueuse/core')['useFileSystemAccess'] + const useFocus: typeof import('@vueuse/core')['useFocus'] + const useFocusWithin: typeof import('@vueuse/core')['useFocusWithin'] + const useFps: typeof import('@vueuse/core')['useFps'] + const useFullscreen: typeof import('@vueuse/core')['useFullscreen'] + const useGamepad: typeof import('@vueuse/core')['useGamepad'] + const useGeolocation: typeof import('@vueuse/core')['useGeolocation'] + const useGesture: typeof import('@vueuse/core')['useGesture'] + const useHotkeys: typeof import('@vueuse/core')['useHotkeys'] + const useId: typeof import('vue')['useId'] + const useIdle: typeof import('@vueuse/core')['useIdle'] + const useImage: typeof import('@vueuse/core')['useImage'] + const useInfiniteScroll: typeof import('@vueuse/core')['useInfiniteScroll'] + const useIntersectionObserver: typeof import('@vueuse/core')['useIntersectionObserver'] + const useInterval: typeof import('@vueuse/core')['useInterval'] + const useIntervalFn: typeof import('@vueuse/core')['useIntervalFn'] + const useKeyCombo: typeof import('@vueuse/core')['useKeyCombo'] + const useKeyModifier: typeof import('@vueuse/core')['useKeyModifier'] + const useKeyPressed: typeof import('@vueuse/core')['useKeyPressed'] + const useKeyboard: typeof import('@vueuse/core')['useKeyboard'] + const useLastChanged: typeof import('@vueuse/core')['useLastChanged'] + const useLink: typeof import('vue-router')['useLink'] + const useLocalStorage: typeof import('@vueuse/core')['useLocalStorage'] + const useLongPress: typeof import('@vueuse/core')['useLongPress'] + const useMagicKeys: typeof import('@vueuse/core')['useMagicKeys'] + const useManualRefHistory: typeof import('@vueuse/core')['useManualRefHistory'] + const useMediaControls: typeof import('@vueuse/core')['useMediaControls'] + const useMediaQuery: typeof import('@vueuse/core')['useMediaQuery'] + const useMemoize: typeof import('@vueuse/core')['useMemoize'] + const useMemory: typeof import('@vueuse/core')['useMemory'] + const useModel: typeof import('vue')['useModel'] + const useMounted: typeof import('@vueuse/core')['useMounted'] + const useMouse: typeof import('@vueuse/core')['useMouse'] + const useMouseInElement: typeof import('@vueuse/core')['useMouseInElement'] + const useMousePressed: typeof import('@vueuse/core')['useMousePressed'] + const useMutationObserver: typeof import('@vueuse/core')['useMutationObserver'] + const useNavigatorLanguage: typeof import('@vueuse/core')['useNavigatorLanguage'] + const useNetwork: typeof import('@vueuse/core')['useNetwork'] + const useNow: typeof import('@vueuse/core')['useNow'] + const useObjectUrl: typeof import('@vueuse/core')['useObjectUrl'] + const useOffsetPagination: typeof import('@vueuse/core')['useOffsetPagination'] + const useOnline: typeof import('@vueuse/core')['useOnline'] + const usePageLeave: typeof import('@vueuse/core')['usePageLeave'] + const usePageVisibility: typeof import('@vueuse/core')['usePageVisibility'] + const useParallax: typeof import('@vueuse/core')['useParallax'] + const useParentElement: typeof import('@vueuse/core')['useParentElement'] + const usePerformanceObserver: typeof import('@vueuse/core')['usePerformanceObserver'] + const usePermission: typeof import('@vueuse/core')['usePermission'] + const usePointer: typeof import('@vueuse/core')['usePointer'] + const usePointerLock: typeof import('@vueuse/core')['usePointerLock'] + const usePointerSwipe: typeof import('@vueuse/core')['usePointerSwipe'] + const usePreferredColorScheme: typeof import('@vueuse/core')['usePreferredColorScheme'] + const usePreferredContrast: typeof import('@vueuse/core')['usePreferredContrast'] + const usePreferredDark: typeof import('@vueuse/core')['usePreferredDark'] + const usePreferredLanguages: typeof import('@vueuse/core')['usePreferredLanguages'] + const usePreferredReducedMotion: typeof import('@vueuse/core')['usePreferredReducedMotion'] + const usePreferredReducedTransparency: typeof import('@vueuse/core')['usePreferredReducedTransparency'] + const usePrevious: typeof import('@vueuse/core')['usePrevious'] + const useRafFn: typeof import('@vueuse/core')['useRafFn'] + const useRefHistory: typeof import('@vueuse/core')['useRefHistory'] + const useResizeObserver: typeof import('@vueuse/core')['useResizeObserver'] + const useRoute: typeof import('vue-router')['useRoute'] + const useRouter: typeof import('vue-router')['useRouter'] + const useSSRWidth: typeof import('@vueuse/core')['useSSRWidth'] + const useScreenOrientation: typeof import('@vueuse/core')['useScreenOrientation'] + const useScreenSafeArea: typeof import('@vueuse/core')['useScreenSafeArea'] + const useScriptTag: typeof import('@vueuse/core')['useScriptTag'] + const useScroll: typeof import('@vueuse/core')['useScroll'] + const useScrollLock: typeof import('@vueuse/core')['useScrollLock'] + const useSessionStorage: typeof import('@vueuse/core')['useSessionStorage'] + const useShare: typeof import('@vueuse/core')['useShare'] + const useSharedWorker: typeof import('@vueuse/core')['useSharedWorker'] + const useSlots: typeof import('vue')['useSlots'] + const useSortable: typeof import('@vueuse/core')['useSortable'] + const useSorted: typeof import('@vueuse/core')['useSorted'] + const useSpeechRecognition: typeof import('@vueuse/core')['useSpeechRecognition'] + const useSpeechSynthesis: typeof import('@vueuse/core')['useSpeechSynthesis'] + const useStepper: typeof import('@vueuse/core')['useStepper'] + const useStorage: typeof import('@vueuse/core')['useStorage'] + const useStorageAsync: typeof import('@vueuse/core')['useStorageAsync'] + const useStyleTag: typeof import('@vueuse/core')['useStyleTag'] + const useSupported: typeof import('@vueuse/core')['useSupported'] + const useSwipe: typeof import('@vueuse/core')['useSwipe'] + const useTemplateRef: typeof import('vue')['useTemplateRef'] + const useTemplateRefsList: typeof import('@vueuse/core')['useTemplateRefsList'] + const useTextDirection: typeof import('@vueuse/core')['useTextDirection'] + const useTextSelection: typeof import('@vueuse/core')['useTextSelection'] + const useTextareaAutosize: typeof import('@vueuse/core')['useTextareaAutosize'] + const useThrottle: typeof import('@vueuse/core')['useThrottle'] + const useThrottleFn: typeof import('@vueuse/core')['useThrottleFn'] + const useThrottledRefHistory: typeof import('@vueuse/core')['useThrottledRefHistory'] + const useTimeAgo: typeof import('@vueuse/core')['useTimeAgo'] + const useTimeout: typeof import('@vueuse/core')['useTimeout'] + const useTimeoutFn: typeof import('@vueuse/core')['useTimeoutFn'] + const useTimeoutPoll: typeof import('@vueuse/core')['useTimeoutPoll'] + const useTimestamp: typeof import('@vueuse/core')['useTimestamp'] + const useTitle: typeof import('@vueuse/core')['useTitle'] + const useToNumber: typeof import('@vueuse/core')['useToNumber'] + const useToString: typeof import('@vueuse/core')['useToString'] + const useToggle: typeof import('@vueuse/core')['useToggle'] + const useToggleDark: typeof import('@vueuse/core')['useToggleDark'] + const useTransition: typeof import('@vueuse/core')['useTransition'] + const useUrlSearchParams: typeof import('@vueuse/core')['useUrlSearchParams'] + const useUserMedia: typeof import('@vueuse/core')['useUserMedia'] + const useUserStore: typeof import('./src/stores/user.js')['useUserStore'] + const useVModel: typeof import('@vueuse/core')['useVModel'] + const useVModels: typeof import('@vueuse/core')['useVModels'] + const useVersionStore: typeof import('./src/stores/version.js')['useVersionStore'] + const useVibrate: typeof import('@vueuse/core')['useVibrate'] + const useVirtualList: typeof import('@vueuse/core')['useVirtualList'] + const useWakeLock: typeof import('@vueuse/core')['useWakeLock'] + const useWebNotification: typeof import('@vueuse/core')['useWebNotification'] + const useWebSocket: typeof import('@vueuse/core')['useWebSocket'] + const useWebWorker: typeof import('@vueuse/core')['useWebWorker'] + const useWebWorkerFn: typeof import('@vueuse/core')['useWebWorkerFn'] + const useWindowFocus: typeof import('@vueuse/core')['useWindowFocus'] + const useWindowScroll: typeof import('@vueuse/core')['useWindowScroll'] + const useWindowSize: typeof import('@vueuse/core')['useWindowSize'] + const validateEmail: typeof import('./src/utils/index.js')['validateEmail'] + const validateIdCard: typeof import('./src/utils/index.js')['validateIdCard'] + const validatePhone: typeof import('./src/utils/index.js')['validatePhone'] + const version: typeof import('./src/utils/version.js')['default'] + const versionChecker: typeof import('./src/utils/version.js')['versionChecker'] + const watch: typeof import('vue')['watch'] + const watchArray: typeof import('@vueuse/core')['watchArray'] + const watchAtMost: typeof import('@vueuse/core')['watchAtMost'] + const watchDebounced: typeof import('@vueuse/core')['watchDebounced'] + const watchDeep: typeof import('@vueuse/core')['watchDeep'] + const watchEffect: typeof import('vue')['watchEffect'] + const watchIgnorable: typeof import('@vueuse/core')['watchIgnorable'] + const watchImmediate: typeof import('@vueuse/core')['watchImmediate'] + const watchOnce: typeof import('@vueuse/core')['watchOnce'] + const watchPausable: typeof import('@vueuse/core')['watchPausable'] + const watchPostEffect: typeof import('vue')['watchPostEffect'] + const watchSyncEffect: typeof import('vue')['watchSyncEffect'] + const watchThrottled: typeof import('@vueuse/core')['watchThrottled'] + const watchTriggerable: typeof import('@vueuse/core')['watchTriggerable'] + const watchWithFilter: typeof import('@vueuse/core')['watchWithFilter'] + const whenever: typeof import('@vueuse/core')['whenever'] +} +// for type re-export +declare global { + // @ts-ignore + 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 { VersionChecker } from './src/utils/version.js' + import('./src/utils/version.js') +} + +// for vue template auto import +import { UnwrapRef } from 'vue' +declare module 'vue' { + interface GlobalComponents {} + interface ComponentCustomProperties { + readonly EffectScope: UnwrapRef + readonly PERMISSIONS: UnwrapRef + readonly ROLES: UnwrapRef + readonly ROLE_PERMISSIONS: UnwrapRef + readonly VERSION_CONFIG: UnwrapRef + readonly VersionChecker: UnwrapRef + readonly acceptHMRUpdate: UnwrapRef + readonly applyRenderOptimizations: UnwrapRef + readonly asyncComputed: UnwrapRef + readonly authEventBus: UnwrapRef + readonly autoResetRef: UnwrapRef + readonly axios: UnwrapRef + readonly camelCase: UnwrapRef + readonly capitalize: UnwrapRef + readonly checkForUpdates: UnwrapRef + readonly checkPermission: UnwrapRef + readonly clearLocalVersions: UnwrapRef + readonly compareVersions: UnwrapRef + readonly computed: UnwrapRef + readonly computedAsync: UnwrapRef + readonly computedEager: UnwrapRef + readonly computedInject: UnwrapRef + readonly computedWithControl: UnwrapRef + readonly controlledComputed: UnwrapRef + readonly controlledRef: UnwrapRef + readonly copyToClipboard: UnwrapRef + readonly createApp: UnwrapRef + readonly createEventHook: UnwrapRef + readonly createGlobalState: UnwrapRef + readonly createInjectionState: UnwrapRef + readonly createIntersectionObserver: UnwrapRef + readonly createPinia: UnwrapRef + readonly createReactiveFn: UnwrapRef + readonly createRef: UnwrapRef + readonly createReusableTemplate: UnwrapRef + readonly createSharedComposable: UnwrapRef + readonly createTemplatePromise: UnwrapRef + readonly createUnrefFn: UnwrapRef + readonly customRef: UnwrapRef + readonly dayjs: UnwrapRef + readonly debounce: UnwrapRef + readonly debouncedRef: UnwrapRef + readonly debouncedWatch: UnwrapRef + readonly deepClone: UnwrapRef + readonly defineAsyncComponent: UnwrapRef + readonly defineComponent: UnwrapRef + readonly defineStore: UnwrapRef + readonly downloadFile: UnwrapRef + readonly eagerComputed: UnwrapRef + readonly effectScope: UnwrapRef + readonly endsWith: UnwrapRef + readonly escape: UnwrapRef + readonly extendRef: UnwrapRef + readonly filter: UnwrapRef + readonly find: UnwrapRef + readonly findIndex: UnwrapRef + readonly formatDate: UnwrapRef + readonly formatFileSize: UnwrapRef + readonly formatMoney: UnwrapRef + readonly formatPhone: UnwrapRef + readonly fromNow: UnwrapRef + readonly generateUUID: UnwrapRef + readonly get: UnwrapRef + readonly getActivePinia: UnwrapRef + readonly getBrowserInfo: UnwrapRef + readonly getCurrentInstance: UnwrapRef + readonly getCurrentScope: UnwrapRef + readonly getDevicePerformanceLevel: UnwrapRef + readonly getLocalVersions: UnwrapRef + readonly getUrlParam: UnwrapRef + readonly getUserPermissions: UnwrapRef + readonly groupBy: UnwrapRef + readonly h: UnwrapRef + readonly handleError: UnwrapRef + readonly handleResponse: UnwrapRef + readonly hasAllPermissions: UnwrapRef + readonly hasAnyPermission: UnwrapRef + readonly hasUserPermission: UnwrapRef + readonly ignorableWatch: UnwrapRef + readonly includes: UnwrapRef + readonly initRenderOptimizations: UnwrapRef + readonly inject: UnwrapRef + readonly injectLocal: UnwrapRef + readonly isAlipay: UnwrapRef + readonly isDefined: UnwrapRef + readonly isEmpty: UnwrapRef + readonly isEqual: UnwrapRef + readonly isMobile: UnwrapRef + readonly isProxy: UnwrapRef + readonly isReactive: UnwrapRef + readonly isReadonly: UnwrapRef + readonly isRef: UnwrapRef + readonly isWeChat: UnwrapRef + readonly kebabCase: UnwrapRef + readonly keyBy: UnwrapRef + readonly lowerCase: UnwrapRef + readonly makeDestructurable: UnwrapRef + readonly map: UnwrapRef + readonly mapActions: UnwrapRef + readonly mapGetters: UnwrapRef + readonly mapState: UnwrapRef + readonly mapStores: UnwrapRef + readonly mapWritableState: UnwrapRef + readonly markRaw: UnwrapRef + readonly merge: UnwrapRef + readonly nextTick: UnwrapRef + readonly omit: UnwrapRef + readonly onActivated: UnwrapRef + readonly onBeforeMount: UnwrapRef + readonly onBeforeRouteLeave: UnwrapRef + readonly onBeforeRouteUpdate: UnwrapRef + readonly onBeforeUnmount: UnwrapRef + readonly onBeforeUpdate: UnwrapRef + readonly onClickOutside: UnwrapRef + readonly onDeactivated: UnwrapRef + readonly onElementRemoval: UnwrapRef + readonly onErrorCaptured: UnwrapRef + readonly onKeyStroke: UnwrapRef + readonly onLongPress: UnwrapRef + readonly onMounted: UnwrapRef + readonly onRenderTracked: UnwrapRef + readonly onRenderTriggered: UnwrapRef + readonly onScopeDispose: UnwrapRef + readonly onServerPrefetch: UnwrapRef + readonly onStartTyping: UnwrapRef + readonly onUnmounted: UnwrapRef + readonly onUpdated: UnwrapRef + readonly onWatcherCleanup: UnwrapRef + readonly optimizeAnimations: UnwrapRef + readonly optimizeImageLoading: UnwrapRef + readonly optimizeLayout: UnwrapRef + readonly optimizeMemory: UnwrapRef + readonly orderBy: UnwrapRef + readonly pausableWatch: UnwrapRef + readonly permission: UnwrapRef + readonly pick: UnwrapRef + readonly prefersReducedMotion: UnwrapRef + readonly provide: UnwrapRef + readonly provideLocal: UnwrapRef + readonly reactify: UnwrapRef + readonly reactifyObject: UnwrapRef + readonly reactive: UnwrapRef + readonly reactiveComputed: UnwrapRef + readonly reactiveOmit: UnwrapRef + readonly reactivePick: UnwrapRef + readonly readonly: UnwrapRef + readonly reduce: UnwrapRef + readonly ref: UnwrapRef + readonly refAutoReset: UnwrapRef + readonly refDebounced: UnwrapRef + readonly refDefault: UnwrapRef + readonly refThrottled: UnwrapRef + readonly refWithControl: UnwrapRef + readonly removeUrlParam: UnwrapRef + readonly request: UnwrapRef + readonly resolveComponent: UnwrapRef + readonly resolveRef: UnwrapRef + readonly resolveUnref: UnwrapRef + readonly role: UnwrapRef + readonly saveLocalVersions: UnwrapRef + readonly set: UnwrapRef + readonly setActivePinia: UnwrapRef + readonly setMapStoreSuffix: UnwrapRef + readonly setUrlParam: UnwrapRef + readonly shallowReactive: UnwrapRef + readonly shallowReadonly: UnwrapRef + readonly shallowRef: UnwrapRef + readonly snakeCase: UnwrapRef + readonly sortBy: UnwrapRef + readonly startsWith: UnwrapRef + readonly storeToRefs: UnwrapRef + readonly supportsBackdropFilter: UnwrapRef + readonly supportsHardwareAcceleration: UnwrapRef + readonly syncRef: UnwrapRef + readonly syncRefs: UnwrapRef + readonly templateRef: UnwrapRef + readonly throttle: UnwrapRef + readonly throttledRef: UnwrapRef + readonly throttledWatch: UnwrapRef + readonly toRaw: UnwrapRef + readonly toReactive: UnwrapRef + readonly toRef: UnwrapRef + readonly toRefs: UnwrapRef + readonly toValue: UnwrapRef + readonly triggerRef: UnwrapRef + readonly trim: UnwrapRef + readonly tryOnBeforeMount: UnwrapRef + readonly tryOnBeforeUnmount: UnwrapRef + readonly tryOnMounted: UnwrapRef + readonly tryOnScopeDispose: UnwrapRef + readonly tryOnUnmounted: UnwrapRef + readonly unescape: UnwrapRef + readonly uniq: UnwrapRef + readonly uniqBy: UnwrapRef + readonly unref: UnwrapRef + readonly unrefElement: UnwrapRef + readonly until: UnwrapRef + readonly upperCase: UnwrapRef + readonly useActiveElement: UnwrapRef + readonly useAnimate: UnwrapRef + readonly useAppStore: UnwrapRef + readonly useArrayDifference: UnwrapRef + readonly useArrayEvery: UnwrapRef + readonly useArrayFilter: UnwrapRef + readonly useArrayFind: UnwrapRef + readonly useArrayFindIndex: UnwrapRef + readonly useArrayFindLast: UnwrapRef + readonly useArrayIncludes: UnwrapRef + readonly useArrayJoin: UnwrapRef + readonly useArrayMap: UnwrapRef + readonly useArrayReduce: UnwrapRef + readonly useArraySome: UnwrapRef + readonly useArrayUnique: UnwrapRef + readonly useAsyncQueue: UnwrapRef + readonly useAsyncState: UnwrapRef + readonly useAttrs: UnwrapRef + readonly useBase64: UnwrapRef + readonly useBattery: UnwrapRef + readonly useBluetooth: UnwrapRef + readonly useBreakpoints: UnwrapRef + readonly useBroadcastChannel: UnwrapRef + readonly useBrowserLocation: UnwrapRef + readonly useCached: UnwrapRef + readonly useCertification: UnwrapRef + readonly useClipboard: UnwrapRef + readonly useClipboardItems: UnwrapRef + readonly useCloned: UnwrapRef + readonly useColorMode: UnwrapRef + readonly useConfirmDialog: UnwrapRef + readonly useCountdown: UnwrapRef + readonly useCounter: UnwrapRef + readonly useCounterStore: UnwrapRef + readonly useCssModule: UnwrapRef + readonly useCssVar: UnwrapRef + readonly useCssVars: UnwrapRef + readonly useCurrentElement: UnwrapRef + readonly useCycleList: UnwrapRef + readonly useDark: UnwrapRef + readonly useDateFormat: UnwrapRef + readonly useDebounce: UnwrapRef + readonly useDebounceFn: UnwrapRef + readonly useDebouncedRefHistory: UnwrapRef + readonly useDeviceMotion: UnwrapRef + readonly useDeviceOrientation: UnwrapRef + readonly useDevicePixelRatio: UnwrapRef + readonly useDevicesList: UnwrapRef + readonly useDisplayMedia: UnwrapRef + readonly useDocumentVisibility: UnwrapRef + readonly useDraggable: UnwrapRef + readonly useDropZone: UnwrapRef + readonly useElementBounding: UnwrapRef + readonly useElementByPoint: UnwrapRef + readonly useElementHover: UnwrapRef + readonly useElementSize: UnwrapRef + readonly useElementVisibility: UnwrapRef + readonly useEventBus: UnwrapRef + readonly useEventListener: UnwrapRef + readonly useEventSource: UnwrapRef + readonly useEyeDropper: UnwrapRef + readonly useFavicon: UnwrapRef + readonly useFetch: UnwrapRef + readonly useFileDialog: UnwrapRef + readonly useFileSystemAccess: UnwrapRef + readonly useFocus: UnwrapRef + readonly useFocusWithin: UnwrapRef + readonly useFps: UnwrapRef + readonly useFullscreen: UnwrapRef + readonly useGamepad: UnwrapRef + readonly useGeolocation: UnwrapRef + readonly useId: UnwrapRef + readonly useIdle: UnwrapRef + readonly useImage: UnwrapRef + readonly useInfiniteScroll: UnwrapRef + readonly useIntersectionObserver: UnwrapRef + readonly useInterval: UnwrapRef + readonly useIntervalFn: UnwrapRef + readonly useKeyModifier: UnwrapRef + readonly useLastChanged: UnwrapRef + readonly useLink: UnwrapRef + readonly useLocalStorage: UnwrapRef + readonly useMagicKeys: UnwrapRef + readonly useManualRefHistory: UnwrapRef + readonly useMediaControls: UnwrapRef + readonly useMediaQuery: UnwrapRef + readonly useMemoize: UnwrapRef + readonly useMemory: UnwrapRef + readonly useModel: UnwrapRef + readonly useMounted: UnwrapRef + readonly useMouse: UnwrapRef + readonly useMouseInElement: UnwrapRef + readonly useMousePressed: UnwrapRef + readonly useMutationObserver: UnwrapRef + readonly useNavigatorLanguage: UnwrapRef + readonly useNetwork: UnwrapRef + readonly useNow: UnwrapRef + readonly useObjectUrl: UnwrapRef + readonly useOffsetPagination: UnwrapRef + readonly useOnline: UnwrapRef + readonly usePageLeave: UnwrapRef + readonly useParallax: UnwrapRef + readonly useParentElement: UnwrapRef + readonly usePerformanceObserver: UnwrapRef + readonly usePermission: UnwrapRef + readonly usePointer: UnwrapRef + readonly usePointerLock: UnwrapRef + readonly usePointerSwipe: UnwrapRef + readonly usePreferredColorScheme: UnwrapRef + readonly usePreferredContrast: UnwrapRef + readonly usePreferredDark: UnwrapRef + readonly usePreferredLanguages: UnwrapRef + readonly usePreferredReducedMotion: UnwrapRef + readonly usePreferredReducedTransparency: UnwrapRef + readonly usePrevious: UnwrapRef + readonly useRafFn: UnwrapRef + readonly useRefHistory: UnwrapRef + readonly useResizeObserver: UnwrapRef + readonly useRoute: UnwrapRef + readonly useRouter: UnwrapRef + readonly useSSRWidth: UnwrapRef + readonly useScreenOrientation: UnwrapRef + readonly useScreenSafeArea: UnwrapRef + readonly useScriptTag: UnwrapRef + readonly useScroll: UnwrapRef + readonly useScrollLock: UnwrapRef + readonly useSessionStorage: UnwrapRef + readonly useShare: UnwrapRef + readonly useSlots: UnwrapRef + readonly useSorted: UnwrapRef + readonly useSpeechRecognition: UnwrapRef + readonly useSpeechSynthesis: UnwrapRef + readonly useStepper: UnwrapRef + readonly useStorage: UnwrapRef + readonly useStorageAsync: UnwrapRef + readonly useStyleTag: UnwrapRef + readonly useSupported: UnwrapRef + readonly useSwipe: UnwrapRef + readonly useTemplateRef: UnwrapRef + readonly useTemplateRefsList: UnwrapRef + readonly useTextDirection: UnwrapRef + readonly useTextSelection: UnwrapRef + readonly useTextareaAutosize: UnwrapRef + readonly useThrottle: UnwrapRef + readonly useThrottleFn: UnwrapRef + readonly useThrottledRefHistory: UnwrapRef + readonly useTimeAgo: UnwrapRef + readonly useTimeout: UnwrapRef + readonly useTimeoutFn: UnwrapRef + readonly useTimeoutPoll: UnwrapRef + readonly useTimestamp: UnwrapRef + readonly useTitle: UnwrapRef + readonly useToNumber: UnwrapRef + readonly useToString: UnwrapRef + readonly useToggle: UnwrapRef + readonly useTransition: UnwrapRef + readonly useUrlSearchParams: UnwrapRef + readonly useUserMedia: UnwrapRef + readonly useUserStore: UnwrapRef + readonly useVModel: UnwrapRef + readonly useVModels: UnwrapRef + readonly useVibrate: UnwrapRef + readonly useVirtualList: UnwrapRef + readonly useWakeLock: UnwrapRef + readonly useWebNotification: UnwrapRef + readonly useWebSocket: UnwrapRef + readonly useWebWorker: UnwrapRef + readonly useWebWorkerFn: UnwrapRef + readonly useWindowFocus: UnwrapRef + readonly useWindowScroll: UnwrapRef + readonly useWindowSize: UnwrapRef + readonly validateEmail: UnwrapRef + readonly validateIdCard: UnwrapRef + readonly validatePhone: UnwrapRef + readonly version: UnwrapRef + readonly versionChecker: UnwrapRef + readonly watch: UnwrapRef + readonly watchArray: UnwrapRef + readonly watchAtMost: UnwrapRef + readonly watchDebounced: UnwrapRef + readonly watchDeep: UnwrapRef + readonly watchEffect: UnwrapRef + readonly watchIgnorable: UnwrapRef + readonly watchImmediate: UnwrapRef + readonly watchOnce: UnwrapRef + readonly watchPausable: UnwrapRef + readonly watchPostEffect: UnwrapRef + readonly watchSyncEffect: UnwrapRef + readonly watchThrottled: UnwrapRef + readonly watchTriggerable: UnwrapRef + readonly watchWithFilter: UnwrapRef + readonly whenever: UnwrapRef + } +} \ No newline at end of file diff --git a/components.d.ts b/components.d.ts new file mode 100644 index 0000000..c59e07a --- /dev/null +++ b/components.d.ts @@ -0,0 +1,94 @@ +/* eslint-disable */ +// @ts-nocheck +// Generated by unplugin-vue-components +// Read more: https://github.com/vuejs/core/pull/3399 +// biome-ignore lint: disable +export {} + +/* prettier-ignore */ +declare module 'vue' { + export interface GlobalComponents { + AppBreadcrumb: typeof import('./src/components/layout/AppBreadcrumb.vue')['default'] + AppHeader: typeof import('./src/components/layout/AppHeader.vue')['default'] + AppLoading: typeof import('./src/components/common/AppLoading.vue')['default'] + AppSidebar: typeof import('./src/components/layout/AppSidebar.vue')['default'] + BusinessConsultationDialog: typeof import('./src/components/common/BusinessConsultationDialog.vue')['default'] + CertificationBanner: typeof import('./src/components/common/CertificationBanner.vue')['default'] + CertificationNotice: typeof import('./src/components/common/CertificationNotice.vue')['default'] + ChartCard: typeof import('./src/components/statistics/ChartCard.vue')['default'] + CodeDisplay: typeof import('./src/components/common/CodeDisplay.vue')['default'] + CustomSteps: typeof import('./src/components/common/CustomSteps.vue')['default'] + ElAlert: typeof import('element-plus/es')['ElAlert'] + ElAside: typeof import('element-plus/es')['ElAside'] + ElAvatar: typeof import('element-plus/es')['ElAvatar'] + ElButton: typeof import('element-plus/es')['ElButton'] + ElButtonGroup: typeof import('element-plus/es')['ElButtonGroup'] + ElCard: typeof import('element-plus/es')['ElCard'] + ElCol: typeof import('element-plus/es')['ElCol'] + ElColorPicker: typeof import('element-plus/es')['ElColorPicker'] + ElContainer: typeof import('element-plus/es')['ElContainer'] + ElDatePicker: typeof import('element-plus/es')['ElDatePicker'] + ElDescriptions: typeof import('element-plus/es')['ElDescriptions'] + ElDescriptionsItem: typeof import('element-plus/es')['ElDescriptionsItem'] + ElDialog: typeof import('element-plus/es')['ElDialog'] + ElDivider: typeof import('element-plus/es')['ElDivider'] + ElDrawer: typeof import('element-plus/es')['ElDrawer'] + ElDropdown: typeof import('element-plus/es')['ElDropdown'] + ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem'] + ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu'] + ElEmpty: typeof import('element-plus/es')['ElEmpty'] + ElForm: typeof import('element-plus/es')['ElForm'] + ElFormItem: typeof import('element-plus/es')['ElFormItem'] + ElHeader: typeof import('element-plus/es')['ElHeader'] + ElIcon: typeof import('element-plus/es')['ElIcon'] + ElInput: typeof import('element-plus/es')['ElInput'] + ElInputNumber: typeof import('element-plus/es')['ElInputNumber'] + ElLoading: typeof import('element-plus/es')['ElLoading'] + ElMain: typeof import('element-plus/es')['ElMain'] + ElMenu: typeof import('element-plus/es')['ElMenu'] + ElMenuItem: typeof import('element-plus/es')['ElMenuItem'] + ElOption: typeof import('element-plus/es')['ElOption'] + ElPagination: typeof import('element-plus/es')['ElPagination'] + ElRadio: typeof import('element-plus/es')['ElRadio'] + ElRadioButton: typeof import('element-plus/es')['ElRadioButton'] + ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup'] + ElRow: typeof import('element-plus/es')['ElRow'] + ElSelect: typeof import('element-plus/es')['ElSelect'] + ElSkeleton: typeof import('element-plus/es')['ElSkeleton'] + ElSubMenu: typeof import('element-plus/es')['ElSubMenu'] + ElSwitch: typeof import('element-plus/es')['ElSwitch'] + ElTable: typeof import('element-plus/es')['ElTable'] + ElTableColumn: typeof import('element-plus/es')['ElTableColumn'] + ElTabPane: typeof import('element-plus/es')['ElTabPane'] + ElTabs: typeof import('element-plus/es')['ElTabs'] + ElTag: typeof import('element-plus/es')['ElTag'] + ElTimePicker: typeof import('element-plus/es')['ElTimePicker'] + ElTooltip: typeof import('element-plus/es')['ElTooltip'] + ElUpload: typeof import('element-plus/es')['ElUpload'] + ExportDialog: typeof import('./src/components/common/ExportDialog.vue')['default'] + FileUpload: typeof import('./src/components/common/FileUpload.vue')['default'] + FilterItem: typeof import('./src/components/common/FilterItem.vue')['default'] + FilterSection: typeof import('./src/components/common/FilterSection.vue')['default'] + FloatingCustomerService: typeof import('./src/components/common/FloatingCustomerService.vue')['default'] + HelloWorld: typeof import('./src/components/HelloWorld.vue')['default'] + ListPageLayout: typeof import('./src/components/common/ListPageLayout.vue')['default'] + MarkdownEditor: typeof import('./src/components/common/MarkdownEditor.vue')['default'] + NotificationPanel: typeof import('./src/components/layout/NotificationPanel.vue')['default'] + PermissionGuard: typeof import('./src/components/auth/PermissionGuard.vue')['default'] + ProductApiConfigDialog: typeof import('./src/components/admin/ProductApiConfigDialog.vue')['default'] + ProductCard: typeof import('./src/components/product/ProductCard.vue')['default'] + ProductDocumentationDialog: typeof import('./src/components/admin/ProductDocumentationDialog.vue')['default'] + ProductFormDialog: typeof import('./src/components/admin/ProductFormDialog.vue')['default'] + RichTextEditor: typeof import('./src/components/common/RichTextEditor.vue')['default'] + RouterLink: typeof import('vue-router')['RouterLink'] + RouterView: typeof import('vue-router')['RouterView'] + StatCard: typeof import('./src/components/statistics/StatCard.vue')['default'] + StatisticsDashboard: typeof import('./src/components/statistics/StatisticsDashboard.vue')['default'] + TheWelcome: typeof import('./src/components/TheWelcome.vue')['default'] + VersionInfo: typeof import('./src/components/common/VersionInfo.vue')['default'] + WelcomeItem: typeof import('./src/components/WelcomeItem.vue')['default'] + } + export interface GlobalDirectives { + vLoading: typeof import('element-plus/es')['ElLoadingDirective'] + } +} diff --git a/docs/API在线调试功能说明.md b/docs/API在线调试功能说明.md new file mode 100644 index 0000000..ab10d80 --- /dev/null +++ b/docs/API在线调试功能说明.md @@ -0,0 +1,202 @@ +# API在线调试功能说明 + +## 功能概述 + +API在线调试功能为用户提供了一个可视化的界面来测试已订阅的API接口,让用户能够: + +1. **选择产品**:从已订阅的产品列表中选择要调试的API +2. **输入参数**:根据产品要求输入测试参数 +3. **查看加密过程**:了解参数如何被加密处理 +4. **获取响应**:查看API的实际响应结果 +5. **分析结果**:了解API调用的完整过程 + +## 功能特点 + +### 1. 产品选择 +- 自动加载用户已订阅的产品列表 +- 显示产品名称、代码和价格信息 +- 只显示有效的订阅产品 + +### 2. 参数输入 +- 统一的参数结构:姓名、身份证号、手机号 +- 实时参数验证 +- 参数示例和说明 + +### 3. 加密处理 +- 自动使用用户的Secret Key进行AES加密 +- 显示原始参数和加密后的参数 +- 确保参数安全性 + +### 4. 调试结果 +- 完整的请求信息(产品名称、API代码、交易ID等) +- 请求时间和响应时间统计 +- 成功/失败状态显示 +- 原始响应数据展示 + +## 技术实现 + +### 后端接口 + +#### 1. 加密接口 +``` +POST /api/v1/encrypt +Content-Type: application/json +Authorization: Bearer {token} + +{ + "data": { + "name": "张三", + "id_card": "110101199001011234", + "mobile": "13800138000" + } +} +``` + +**响应**: +```json +{ + "success": true, + "data": { + "encrypted_data": "加密后的Base64字符串" + }, + "message": "加密成功" +} +``` + +#### 2. API调用接口 +``` +POST /api/v1/{api_code} +Content-Type: application/json +Access-Id: {access_id} + +{ + "data": "加密后的参数" +} +``` + +### 前端实现 + +#### 1. 页面结构 +- **调试配置区域**:产品选择、参数输入 +- **调试结果区域**:请求信息、响应数据 +- **使用说明区域**:操作指南和注意事项 + +#### 2. 核心功能 +- 自动加载用户订阅产品 +- 参数验证和格式化 +- 加密参数调用 +- 结果展示和分析 + +## 使用流程 + +### 1. 访问调试页面 +- 登录系统后,进入"开发者中心" → "在线调试" +- 页面会自动加载用户的API密钥和订阅产品 + +### 2. 选择产品 +- 从下拉列表中选择要调试的产品 +- 系统会显示产品的详细信息 + +### 3. 输入参数 +- 填写姓名(必填) +- 填写身份证号(必填,18位) +- 填写手机号(必填,11位) + +### 4. 开始调试 +- 点击"开始调试"按钮 +- 系统会自动加密参数并调用API +- 等待响应结果 + +### 5. 查看结果 +- 查看请求信息(交易ID、响应时间等) +- 查看原始参数和加密参数 +- 查看API响应结果 + +## 注意事项 + +### 1. 费用说明 +- 每次调试都会消耗API调用次数 +- 会按照产品价格扣除相应费用 +- 调试结果会记录在调用记录中 + +### 2. 数据安全 +- 所有参数都经过AES加密处理 +- 使用用户的专属Secret Key +- 不会在日志中记录敏感信息 + +### 3. 使用建议 +- 使用真实的测试数据进行调试 +- 注意参数格式的正确性 +- 调试结果仅供参考 + +### 4. 错误处理 +- 网络错误会显示相应提示 +- API调用失败会显示错误信息 +- 参数错误会给出具体提示 + +## 技术架构 + +### 前端架构 +``` +ApiDebugger.vue +├── 产品选择组件 +├── 参数输入组件 +├── 加密处理逻辑 +├── 结果展示组件 +└── 使用说明组件 +``` + +### 后端架构 +``` +API Handler +├── 加密接口 (EncryptParams) +├── API调用接口 (HandleApiCall) +└── 密钥管理接口 (GetUserApiKeys) +``` + +### 数据流 +1. 前端获取用户订阅产品 +2. 用户输入参数 +3. 前端调用加密接口 +4. 前端使用加密参数调用API +5. 后端处理并返回结果 +6. 前端展示调试结果 + +## 扩展功能 + +### 1. 参数模板 +- 支持保存常用的参数组合 +- 快速填充测试数据 +- 参数历史记录 + +### 2. 批量调试 +- 支持多个API同时调试 +- 批量参数输入 +- 结果对比分析 + +### 3. 调试历史 +- 保存调试记录 +- 结果回放功能 +- 性能统计分析 + +### 4. 高级功能 +- 自定义参数验证 +- 响应数据解析 +- 错误模式分析 + +## 常见问题 + +### Q1: 为什么看不到某些产品? +A: 只有已订阅且有效的产品才会显示在列表中。 + +### Q2: 调试失败怎么办? +A: 检查参数格式是否正确,网络连接是否正常,账户余额是否充足。 + +### Q3: 如何查看详细的错误信息? +A: 在调试结果区域会显示完整的错误信息和响应数据。 + +### Q4: 调试会消耗费用吗? +A: 是的,每次调试都会按照产品价格扣除相应费用。 + +### Q5: 如何保护我的API密钥? +A: Secret Key默认隐藏显示,可以点击"显示"按钮查看,建议不要泄露给他人。 \ No newline at end of file diff --git a/docs/API调用记录和钱包交易记录前端说明.md b/docs/API调用记录和钱包交易记录前端说明.md new file mode 100644 index 0000000..b765876 --- /dev/null +++ b/docs/API调用记录和钱包交易记录前端说明.md @@ -0,0 +1,512 @@ +# API调用记录和钱包交易记录前端功能说明 + +## 概述 + +本文档描述了新增的API调用记录和钱包交易记录前端页面功能,包括页面设计、交互逻辑和技术实现。 + +## 页面功能 + +### 1. API调用记录页面 (`/api/usage`) + +#### 页面布局 +- **标题**: "调用记录" +- **副标题**: "查看您的API调用历史记录" +- **布局组件**: `ListPageLayout` + +#### 功能模块 + +##### 1.1 统计信息区域 +- **总调用次数**: 显示用户的总API调用次数 +- **成功率**: 显示API调用的成功率百分比 +- **样式**: 卡片式设计,带有渐变背景和阴影效果 + +##### 1.2 筛选功能 +- **搜索调用**: 支持按交易ID或产品名称搜索 +- **调用状态**: 下拉选择(全部/成功/失败/处理中) +- **时间范围**: 日期时间范围选择器 +- **操作按钮**: 重置筛选、应用筛选 + +##### 1.3 数据表格 +**列定义**: +- **交易ID**: 显示API调用的唯一标识 +- **接口名称**: 显示调用的API接口名称和ID +- **状态**: 状态标签(成功/失败/处理中) +- **费用**: 显示调用产生的费用 +- **客户端IP**: 显示调用来源IP +- **调用时间**: 显示API调用的开始时间 +- **完成时间**: 显示API调用的完成时间 +- **操作**: 查看详情按钮 + +##### 1.4 详情弹窗 +**显示内容**: +- **基本信息**: 交易ID、状态、接口名称、费用、客户端IP +- **时间信息**: 调用时间、完成时间 +- **错误信息**: 错误类型和错误消息(如果有) +- **请求参数**: JSON格式的请求参数 +- **响应数据**: JSON格式的响应数据 + +##### 1.5 分页功能 +- **分页器**: 支持页码跳转、每页数量选择 +- **统计信息**: 显示总记录数和当前页信息 + +#### 交互逻辑 + +##### 搜索功能 +```javascript +// 防抖搜索,避免频繁请求 +const handleSearch = () => { + if (searchTimer) { + clearTimeout(searchTimer) + } + searchTimer = setTimeout(() => { + currentPage.value = 1 + loadApiCalls() + }, 500) +} +``` + +##### 筛选功能 +```javascript +// 处理筛选变化 +const handleFilterChange = () => { + currentPage.value = 1 + loadApiCalls() +} + +// 处理时间范围变化 +const handleDateRangeChange = (range) => { + if (range && range.length === 2) { + filters.start_time = range[0] + filters.end_time = range[1] + } else { + filters.start_time = '' + filters.end_time = '' + } + currentPage.value = 1 + loadApiCalls() +} +``` + +##### 数据加载 +```javascript +// 加载API调用记录 +const loadApiCalls = async () => { + loading.value = true + try { + const params = { + page: currentPage.value, + page_size: pageSize.value, + ...filters + } + + const response = await apiApi.getUserApiCalls(params) + apiCalls.value = response.data?.items || [] + total.value = response.data?.total || 0 + } catch (error) { + console.error('加载API调用记录失败:', error) + ElMessage.error('加载API调用记录失败') + } finally { + loading.value = false + } +} +``` + +### 2. 钱包交易记录页面 (`/finance/transactions`) + +#### 页面布局 +- **标题**: "消费记录" +- **副标题**: "查看您的钱包消费历史记录" +- **布局组件**: `ListPageLayout` + +#### 功能模块 + +##### 2.1 统计信息区域 +- **总消费次数**: 显示用户的总消费次数 +- **总消费金额**: 显示用户的总消费金额 +- **样式**: 卡片式设计,金额显示为红色突出 + +##### 2.2 筛选功能 +- **搜索交易**: 支持按API调用ID搜索 +- **金额范围**: 最小金额和最大金额输入框 +- **时间范围**: 日期时间范围选择器 +- **操作按钮**: 重置筛选、应用筛选 + +##### 2.3 数据表格 +**列定义**: +- **交易ID**: 显示钱包交易的唯一标识 +- **API调用ID**: 显示关联的API调用ID +- **消费金额**: 显示消费金额(红色突出) +- **消费时间**: 显示交易创建时间 +- **更新时间**: 显示交易最后更新时间 +- **操作**: 查看详情按钮 + +##### 2.4 详情弹窗 +**显示内容**: +- **基本信息**: 交易ID、用户ID、API调用ID、消费金额 +- **时间信息**: 创建时间、更新时间 +- **交易说明**: 解释交易记录的用途和含义 + +##### 2.5 分页功能 +- **分页器**: 支持页码跳转、每页数量选择 +- **统计信息**: 显示总记录数和当前页信息 + +#### 交互逻辑 + +##### 数据加载 +```javascript +// 加载钱包交易记录 +const loadTransactions = async () => { + loading.value = true + try { + const params = { + page: currentPage.value, + page_size: pageSize.value, + ...filters + } + + const response = await financeApi.getUserWalletTransactions(params) + transactions.value = response.data?.items || [] + total.value = response.data?.total || 0 + } catch (error) { + console.error('加载钱包交易记录失败:', error) + ElMessage.error('加载钱包交易记录失败') + } finally { + loading.value = false + } +} +``` + +##### 统计计算 +```javascript +// 加载统计数据 +const loadStats = async () => { + try { + // 计算统计数据 + const totalAmount = transactions.value.reduce((sum, transaction) => { + return sum + Number(transaction.amount || 0) + }, 0) + + stats.value = { + total_transactions: total.value, + total_amount: totalAmount + } + } catch (error) { + console.error('加载统计数据失败:', error) + } +} +``` + +## 技术实现 + +### 1. 组件架构 + +#### 通用组件 +- **ListPageLayout**: 列表页面布局组件 +- **FilterSection**: 筛选区域组件 +- **FilterItem**: 筛选项组件 +- **LoadingSpinner**: 加载动画组件 + +#### 页面组件 +- **Usage.vue**: API调用记录页面 +- **Transactions.vue**: 钱包交易记录页面 + +### 2. API接口 + +#### API调用记录接口 +```javascript +// API相关接口 +export const apiApi = { + // 用户API调用记录 + getUserApiCalls: (params) => request.get('/api/v1/my/api-calls', { params }) +} +``` + +#### 钱包交易记录接口 +```javascript +// 财务相关接口 +export const financeApi = { + // 钱包交易记录 + getUserWalletTransactions: (params) => request.get('/finance/wallet/transactions', { params }) +} +``` + +### 3. 状态管理 + +#### 响应式数据 +```javascript +// 页面数据 +const loading = ref(false) +const apiCalls = ref([]) +const total = ref(0) +const currentPage = ref(1) +const pageSize = ref(10) + +// 筛选条件 +const filters = reactive({ + keyword: '', + status: '', + start_time: '', + end_time: '' +}) + +// 统计数据 +const stats = ref({ + total_calls: 0, + success_rate: '0%' +}) +``` + +### 4. 工具函数 + +#### 格式化函数 +```javascript +// 格式化价格 +const formatPrice = (price) => { + if (!price) return '0.00' + return Number(price).toFixed(2) +} + +// 格式化日期 +const formatDate = (date) => { + if (!date) return '-' + return new Date(date).toLocaleDateString('zh-CN') +} + +// 格式化时间 +const formatTime = (date) => { + if (!date) return '-' + return new Date(date).toLocaleTimeString('zh-CN', { + hour: '2-digit', + minute: '2-digit' + }) +} + +// 格式化JSON +const formatJson = (jsonString) => { + try { + return JSON.stringify(JSON.parse(jsonString), null, 2) + } catch { + return jsonString + } +} +``` + +#### 状态处理函数 +```javascript +// 获取状态类型 +const getStatusType = (status) => { + switch (status) { + case 'success': + return 'success' + case 'failed': + return 'danger' + case 'pending': + return 'warning' + default: + return 'info' + } +} + +// 获取状态文本 +const getStatusText = (status) => { + switch (status) { + case 'success': + return '成功' + case 'failed': + return '失败' + case 'pending': + return '处理中' + default: + return '未知' + } +} +``` + +## 样式设计 + +### 1. 统计卡片样式 +```css +.stat-item { + display: flex; + flex-direction: column; + align-items: center; + padding: 16px 24px; + background: rgba(255, 255, 255, 0.8); + backdrop-filter: blur(10px); + border: 1px solid rgba(226, 232, 240, 0.6); + border-radius: 12px; + min-width: 120px; +} + +.stat-value { + font-size: 24px; + font-weight: 700; + color: #1e293b; + line-height: 1; + margin-bottom: 4px; +} + +.stat-label { + font-size: 13px; + color: #64748b; + font-weight: 500; +} +``` + +### 2. 详情弹窗样式 +```css +.detail-dialog :deep(.el-dialog) { + border-radius: 16px; + overflow: hidden; +} + +.detail-dialog :deep(.el-dialog__header) { + background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); + border-bottom: 1px solid rgba(226, 232, 240, 0.6); + padding: 20px 24px; +} + +.detail-dialog :deep(.el-dialog__body) { + padding: 24px; +} +``` + +### 3. 表格样式优化 +```css +:deep(.el-table) { + border-radius: 8px; + overflow: hidden; +} + +:deep(.el-table th) { + background: #f8fafc !important; + border-bottom: 1px solid #e2e8f0; +} + +:deep(.el-table td) { + border-bottom: 1px solid #f1f5f9; +} + +:deep(.el-table tr:hover > td) { + background: #f8fafc !important; +} +``` + +### 4. 响应式设计 +```css +/* 响应式设计 */ +@media (max-width: 768px) { + .stat-item { + padding: 12px 16px; + min-width: 100px; + } + + .stat-value { + font-size: 20px; + } + + .stat-label { + font-size: 12px; + } + + .detail-item { + margin-bottom: 16px; + } + + .detail-label { + font-size: 13px; + } + + .detail-value { + font-size: 14px; + } +} +``` + +## 用户体验优化 + +### 1. 加载状态 +- **加载动画**: 使用Element Plus的LoadingSpinner组件 +- **骨架屏**: 数据加载时显示占位内容 +- **错误处理**: 友好的错误提示信息 + +### 2. 交互反馈 +- **防抖搜索**: 避免频繁的API请求 +- **即时反馈**: 操作后立即更新界面状态 +- **确认操作**: 重要操作需要用户确认 + +### 3. 数据展示 +- **分页加载**: 避免一次性加载大量数据 +- **虚拟滚动**: 大数据量时的性能优化 +- **数据缓存**: 减少重复请求 + +### 4. 移动端适配 +- **响应式布局**: 适配不同屏幕尺寸 +- **触摸友好**: 按钮和交互元素适合触摸操作 +- **性能优化**: 移动端性能优化 + +## 错误处理 + +### 1. 网络错误 +```javascript +try { + const response = await apiApi.getUserApiCalls(params) + // 处理成功响应 +} catch (error) { + console.error('加载API调用记录失败:', error) + ElMessage.error('加载API调用记录失败') +} +``` + +### 2. 数据验证 +```javascript +// 验证时间格式 +const handleDateRangeChange = (range) => { + if (range && range.length === 2) { + // 验证时间格式 + const startTime = new Date(range[0]) + const endTime = new Date(range[1]) + + if (isNaN(startTime.getTime()) || isNaN(endTime.getTime())) { + ElMessage.warning('时间格式不正确') + return + } + + filters.start_time = range[0] + filters.end_time = range[1] + } +} +``` + +### 3. 边界情况 +```javascript +// 处理空数据 +
+ + + 前往开发者中心 + + +
+``` + +## 性能优化 + +### 1. 组件优化 +- **懒加载**: 路由级别的组件懒加载 +- **缓存**: 使用keep-alive缓存页面状态 +- **虚拟化**: 大数据列表的虚拟滚动 + +### 2. 请求优化 +- **防抖**: 搜索输入防抖处理 +- **缓存**: API响应数据缓存 +- **预加载**: 关键数据的预加载 + +### 3. 渲染优化 +- **v-show vs v-if**: 合理使用条件渲染 +- **key属性**: 列表渲染时使用唯一key +- **计算属性**: 复杂计算的缓存 + +## 总结 + +API调用记录和钱包交易记录前端页面提供了完整的用户界面和交互体验,通过合理的组件设计、状态管理和样式优化,确保了良好的用户体验和系统性能。页面支持响应式设计,适配不同设备,并提供了丰富的筛选和查看功能。 \ No newline at end of file diff --git a/docs/产品API配置管理功能说明.md b/docs/产品API配置管理功能说明.md new file mode 100644 index 0000000..ba7be9b --- /dev/null +++ b/docs/产品API配置管理功能说明.md @@ -0,0 +1,164 @@ +# 产品API配置管理功能说明 + +## 功能概述 + +产品API配置管理功能允许管理员为每个产品配置API接口的请求参数、响应字段和响应示例,这些配置将用于前端的在线调试功能。 + +## 功能特性 + +### 1. 请求参数配置 +- **参数名称**: 显示给用户的参数名称(如:姓名) +- **字段名**: API接口中使用的字段名(如:name) +- **参数类型**: 支持文本、数字、密码、邮箱、手机号、身份证等类型 +- **是否必填**: 标识该参数是否为必填项 +- **参数示例**: 提供给用户的输入示例 +- **验证规则**: 正则表达式验证规则 +- **参数描述**: 参数的详细说明 + +### 2. 响应字段配置 +- **字段名称**: 显示给用户的字段名称(如:姓名) +- **字段路径**: JSON响应中的字段路径(如:data.name) +- **字段类型**: 支持字符串、数字、布尔值、对象、数组等类型 +- **是否必填**: 标识该字段是否在响应中必填 +- **字段示例**: 字段的示例值 +- **字段描述**: 字段的详细说明 + +### 3. 响应示例 +- **JSON格式**: 完整的API响应示例 +- **实时验证**: 确保输入的JSON格式正确 +- **格式化显示**: 自动格式化JSON内容 + +## 使用方法 + +### 1. 访问产品管理页面 +1. 登录管理员账户 +2. 进入"产品管理"页面 +3. 在产品列表中找到需要配置的产品 + +### 2. 配置API +1. 点击产品行的"配置API"按钮 +2. 在弹出的配置窗口中: + - 查看产品基本信息 + - 添加/编辑请求参数 + - 添加/编辑响应字段 + - 输入JSON响应示例 +3. 点击"创建"或"更新"保存配置 + +### 3. 配置示例 + +#### 请求参数配置示例 +```json +[ + { + "name": "姓名", + "field": "name", + "type": "text", + "required": true, + "description": "用户真实姓名", + "example": "张三", + "validation": "^[\\u4e00-\\u9fa5]{2,4}$" + }, + { + "name": "身份证号", + "field": "id_card", + "type": "idcard", + "required": true, + "description": "用户身份证号码", + "example": "110101199001011234", + "validation": "^[1-9]\\d{5}(18|19|20)\\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\\d{3}[0-9Xx]$" + } +] +``` + +#### 响应字段配置示例 +```json +[ + { + "name": "结果", + "path": "result", + "type": "string", + "required": true, + "description": "查询结果", + "example": "success" + }, + { + "name": "数据", + "path": "data", + "type": "object", + "required": false, + "description": "查询结果数据", + "example": "{}" + } +] +``` + +#### 响应示例 +```json +{ + "result": "success", + "code": 200, + "message": "查询成功", + "data": { + "name": "张三", + "id_card": "110101199001011234", + "mobile": "13800138000", + "status": "正常", + "query_time": "2024-01-01 12:00:00" + } +} +``` + +## 技术实现 + +### 后端架构 +- **实体层**: `ProductApiConfig` 实体 +- **仓库层**: `ProductApiConfigRepository` 接口和实现 +- **领域服务层**: `ProductApiConfigService` 业务逻辑 +- **应用服务层**: `ProductApiConfigApplicationService` 业务流程 +- **HTTP层**: `ProductAdminHandler` 接口处理 + +### 前端架构 +- **组件**: `ProductApiConfigDialog.vue` 配置弹窗 +- **页面**: 集成到产品管理页面 +- **API**: 通过 `productAdminApi` 调用后端接口 + +### 数据库设计 +```sql +CREATE TABLE product_api_configs ( + id VARCHAR(36) PRIMARY KEY, + product_id VARCHAR(36) NOT NULL UNIQUE, + request_params JSON NOT NULL, + response_fields JSON NOT NULL, + response_example JSON NOT NULL, + created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP, + updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, + deleted_at TIMESTAMP NULL, + FOREIGN KEY (product_id) REFERENCES products(id) +); +``` + +## 初始化脚本 + +项目提供了初始化脚本 `scripts/init_product_api_configs.go`,可以为现有产品创建默认的API配置: + +```bash +cd tyapi-server-gin +go run scripts/init_product_api_configs.go +``` + +## 注意事项 + +1. **唯一性**: 每个产品只能有一个API配置 +2. **JSON格式**: 响应示例必须是有效的JSON格式 +3. **字段路径**: 响应字段路径使用点号分隔(如:data.name) +4. **验证规则**: 支持正则表达式验证规则 +5. **权限控制**: 只有管理员可以配置API + +## 扩展功能 + +未来可以考虑添加的功能: +1. **配置模板**: 提供常用的配置模板 +2. **批量导入**: 支持批量导入配置 +3. **版本管理**: 支持配置版本管理 +4. **测试功能**: 集成API测试功能 +5. **文档生成**: 自动生成API文档 \ No newline at end of file diff --git a/docs/充值功能前端说明.md b/docs/充值功能前端说明.md new file mode 100644 index 0000000..125b597 --- /dev/null +++ b/docs/充值功能前端说明.md @@ -0,0 +1,196 @@ +# 充值功能前端说明 + +## 概述 + +前端充值功能包含两个主要页面: +1. **钱包充值页面** (`/finance/wallet`) - 用户选择充值方式并进行充值 +2. **充值成功页面** (`/finance/wallet/success`) - 支付宝充值成功后的重定向页面 + +## 页面功能 + +### 1. 钱包充值页面 (`Wallet.vue`) + +#### 功能特性 +- **钱包余额展示** - 显示用户当前钱包余额 +- **充值方式选择** - 支持支付宝充值和对公转账两种方式 +- **支付宝充值** - 输入充值金额,跳转到支付宝支付(待接入) +- **对公转账** - 显示银行账户信息,支持转账记录提交 + +#### 页面结构 +``` +钱包充值页面 +├── 页面头部 +│ ├── 标题:钱包充值 +│ └── 返回按钮 +├── 钱包余额信息 +│ ├── 余额图标 +│ └── 当前余额显示 +├── 充值方式选择 +│ ├── 支付宝充值卡片 +│ └── 对公转账卡片 +├── 支付宝充值表单(选中时显示) +│ ├── 充值金额输入 +│ └── 立即充值按钮 +└── 对公转账信息(选中时显示) + ├── 银行账户信息 + ├── 转账说明 + └── 转账记录表单 +``` + +#### 交互流程 + +**支付宝充值流程:** +1. 用户选择"支付宝充值" +2. 输入充值金额(最低1元) +3. 点击"立即充值" +4. 确认充值金额 +5. 跳转到支付宝支付页面(待实现) +6. 支付成功后跳转到充值成功页面 + +**对公转账流程:** +1. 用户选择"对公转账" +2. 查看银行账户信息 +3. 复制银行账号(可选) +4. 进行银行转账 +5. 填写转账记录表单 +6. 提交转账记录 +7. 等待人工确认(1-2个工作日) + +### 2. 充值成功页面 (`WalletSuccess.vue`) + +#### 功能特性 +- **成功状态展示** - 显示充值成功图标和标题 +- **充值详情** - 显示充值金额、方式、时间、当前余额 +- **操作按钮** - 提供多个后续操作选项 +- **温馨提示** - 显示相关提示信息 + +#### 页面结构 +``` +充值成功页面 +├── 成功状态 +│ ├── 成功图标 +│ ├── 成功标题 +│ └── 成功副标题 +├── 充值详情 +│ ├── 充值金额 +│ ├── 充值方式 +│ ├── 充值时间 +│ └── 当前余额 +├── 操作按钮 +│ ├── 返回财务中心 +│ ├── 去订阅产品 +│ └── 开发者中心 +└── 温馨提示 + └── 相关提示信息 +``` + +## API接口 + +### 财务相关接口 + +```javascript +// 获取钱包信息 +financeApi.getWallet() + +// 对公转账充值 +financeApi.transferRecharge({ + amount: 100.00, + transfer_order_id: 'TR202412010001', + bank_account: '6222021234567890123', + bank_name: '中国工商银行', + notes: '转账备注' +}) + +// 赠送充值(管理员使用) +financeApi.giftRecharge({ + amount: 50.00, + gift_reason: '新用户注册奖励', + notes: '系统自动赠送' +}) +``` + +## 样式设计 + +### 设计风格 +- 遵循项目整体设计风格 +- 使用渐变色彩和卡片式布局 +- 响应式设计,支持移动端 +- 统一的颜色和字体规范 + +### 主要样式特点 +- **渐变背景** - 钱包余额卡片使用紫色渐变 +- **卡片布局** - 充值方式选择使用卡片式设计 +- **悬停效果** - 充值方式卡片支持悬停动画 +- **响应式** - 移动端适配,布局自适应 + +## 配置信息 + +### 对公转账信息配置 +```javascript +const transferInfo = { + bankName: '中国工商银行', + bankAccount: '6222021234567890123', + accountName: '某某科技有限公司' +} +``` + +### 用户信息配置 +```javascript +const userInfo = { + userId: 'USER123456' // 实际应从用户状态获取 +} +``` + +## 路由配置 + +```javascript +{ + path: '/finance', + component: () => import('@/layouts/MainLayout.vue'), + meta: { requiresAuth: true }, + children: [ + { + path: 'wallet', + name: 'Wallet', + component: () => import('@/pages/finance/Wallet.vue'), + meta: { title: '余额充值' } + }, + { + path: 'wallet/success', + name: 'WalletSuccess', + component: () => import('@/pages/finance/WalletSuccess.vue'), + meta: { title: '充值成功' } + } + ] +} +``` + +## 后续开发计划 + +### 1. 支付宝支付集成 +- 集成支付宝支付SDK +- 实现支付页面跳转 +- 处理支付回调 +- 添加支付状态查询 + +### 2. 充值记录页面 +- 创建充值记录列表页面 +- 支持按类型、状态筛选 +- 显示充值详情和状态 + +### 3. 实时余额更新 +- 实现WebSocket实时余额更新 +- 添加余额变动通知 + +### 4. 移动端优化 +- 优化移动端交互体验 +- 添加手势操作支持 + +## 注意事项 + +1. **金额验证** - 充值金额必须大于等于1元 +2. **表单验证** - 所有必填字段都有相应的验证规则 +3. **错误处理** - 完善的错误提示和异常处理 +4. **用户体验** - 加载状态、成功提示等交互反馈 +5. **安全性** - 敏感信息(如银行账号)的显示和复制功能 +6. **响应式** - 确保在不同设备上的良好显示效果 \ No newline at end of file diff --git a/docs/支付宝充值功能说明.md b/docs/支付宝充值功能说明.md new file mode 100644 index 0000000..bec56fa --- /dev/null +++ b/docs/支付宝充值功能说明.md @@ -0,0 +1,295 @@ +# 支付宝充值功能说明 + +## 功能概述 + +本功能实现了完整的支付宝充值流程,从前端用户操作到后端支付处理,再到支付回调确认,形成了完整的闭环。 + +## 功能特性 + +### 1. 前端功能 +- **钱包余额显示**:实时显示用户当前钱包余额和状态 +- **充值方式选择**:支持支付宝充值和对公转账两种方式 +- **支付宝充值表单**:用户输入充值金额,系统创建支付订单 +- **支付跳转**:自动跳转到支付宝支付页面 +- **支付结果页面**: + - 支付成功页面:显示充值详情和操作按钮 + - 支付失败页面:显示失败原因和重试选项 + +### 2. 后端功能 +- **支付宝订单创建**:生成唯一订单号,创建支付宝支付订单 +- **异步回调处理**:处理支付宝支付成功通知,更新钱包余额 +- **同步回调处理**:处理用户支付完成后的页面跳转 +- **充值记录管理**:完整的充值记录创建、查询和管理 +- **事务保护**:确保充值过程的原子性和数据一致性 + +## 技术架构 + +### 前端架构 +``` +Wallet.vue (钱包页面) +├── 余额显示 +├── 充值方式选择 +├── 支付宝充值表单 +└── 支付跳转逻辑 + +WalletSuccess.vue (支付成功页面) +├── 成功状态显示 +├── 充值详情展示 +└── 操作按钮 + +WalletFail.vue (支付失败页面) +├── 失败状态显示 +├── 失败原因说明 +└── 重试和客服选项 +``` + +### 后端架构 +``` +FinanceHandler (HTTP处理器) +├── CreateAlipayRecharge (创建充值订单) +├── HandleAlipayCallback (异步回调处理) +└── HandleAlipayReturn (同步回调处理) + +FinanceApplicationService (应用服务) +├── CreateAlipayRechargeOrder (业务流程编排) +├── HandleAlipayCallback (回调处理) +└── GetUserRechargeRecords (充值记录查询) + +RechargeRecordService (充值记录服务) +├── CreateAlipayRecharge (创建充值记录) +├── CreateAlipayOrder (创建支付宝订单) +└── HandleAlipayPaymentSuccess (支付成功处理) + +AliPayService (支付宝服务) +├── CreateAlipayOrder (创建支付订单) +├── HandleAliPaymentNotification (回调验证) +└── GenerateOutTradeNo (生成订单号) +``` + +## API接口 + +### 1. 创建支付宝充值订单 +``` +POST /api/v1/finance/wallet/alipay-recharge +Content-Type: application/json +Authorization: Bearer + +{ + "amount": 100.00, + "subject": "钱包充值 ¥100.00", + "platform": "pc" +} + +Response: +{ + "code": 200, + "message": "支付宝充值订单创建成功", + "data": { + "pay_url": "https://openapi.alipay.com/...", + "out_trade_no": "202412011234567890", + "amount": 100.00, + "platform": "pc", + "subject": "钱包充值 ¥100.00" + } +} +``` + +### 2. 支付宝异步回调 +``` +POST /api/v1/finance/alipay/callback +Content-Type: application/x-www-form-urlencoded + +支付宝回调参数... + +Response: "success" +``` + +### 3. 支付宝同步回调 +``` +GET /api/v1/finance/alipay/return?out_trade_no=xxx&trade_no=xxx&trade_status=TRADE_SUCCESS&total_amount=100.00 + +Response: 302 Redirect to frontend success/fail page +``` + +### 4. 获取用户充值记录 +``` +GET /api/v1/finance/wallet/recharge-records?page=1&page_size=10&recharge_type=alipay&status=success +Authorization: Bearer + +Response: +{ + "code": 200, + "message": "获取充值记录成功", + "data": { + "items": [...], + "total": 50, + "page": 1, + "size": 10 + } +} +``` + +## 支付流程 + +### 1. 用户充值流程 +1. 用户进入钱包页面,查看当前余额 +2. 选择"支付宝充值"方式 +3. 输入充值金额(最低1元) +4. 点击"立即充值"按钮 +5. 前端调用后端创建充值订单接口 +6. 后端生成订单号,创建支付宝支付订单 +7. 返回支付链接给前端 +8. 前端自动跳转到支付宝支付页面 +9. 用户在支付宝完成支付 +10. 支付宝跳转回系统同步回调地址 +11. 后端处理同步回调,跳转到前端成功/失败页面 +12. 支付宝异步通知后端支付结果 +13. 后端处理异步回调,更新钱包余额和充值记录状态 + +### 2. 支付回调处理 +- **异步回调**:支付宝主动通知支付结果,用于更新订单状态和钱包余额 +- **同步回调**:用户支付完成后页面跳转,用于用户体验优化 + +## 数据库设计 + +### 1. 充值记录表 (recharge_records) +```sql +CREATE TABLE recharge_records ( + id VARCHAR(36) PRIMARY KEY, + user_id VARCHAR(36) NOT NULL, + amount DECIMAL(20,8) NOT NULL, + recharge_type VARCHAR(20) NOT NULL, + status VARCHAR(20) NOT NULL DEFAULT 'pending', + alipay_order_id VARCHAR(64) UNIQUE, + transfer_order_id VARCHAR(64) UNIQUE, + notes VARCHAR(500), + created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP, + updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, + deleted_at TIMESTAMP NULL +); +``` + +### 2. 支付宝订单表 (alipay_orders) +```sql +CREATE TABLE alipay_orders ( + id VARCHAR(36) PRIMARY KEY, + recharge_id VARCHAR(36) NOT NULL UNIQUE, + out_trade_no VARCHAR(64) NOT NULL UNIQUE, + trade_no VARCHAR(64) UNIQUE, + subject VARCHAR(200) NOT NULL, + amount DECIMAL(20,8) NOT NULL, + platform VARCHAR(20) NOT NULL, + status VARCHAR(20) NOT NULL DEFAULT 'pending', + buyer_id VARCHAR(64), + seller_id VARCHAR(64), + pay_amount DECIMAL(20,8), + receipt_amount DECIMAL(20,8), + notify_time TIMESTAMP NULL, + return_time TIMESTAMP NULL, + error_code VARCHAR(64), + error_message TEXT, + created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP, + updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP +); +``` + +## 配置说明 + +### 1. 支付宝配置 +```yaml +alipay: + app_id: "2021004181633376" + private_key: "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSj..." + alipay_public_key: "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA..." + is_production: true + notify_url: "https://console.tianyuanapi.com/api/v1/finance/alipay/callback" + return_url: "https://console.tianyuanapi.com/api/v1/finance/alipay/return" +``` + +### 2. 环境配置 +- **开发环境**:使用沙箱环境,回调地址指向开发服务器 +- **生产环境**:使用正式环境,回调地址指向生产服务器 + +## 安全考虑 + +### 1. 支付安全 +- 使用支付宝官方SDK进行签名验证 +- 异步回调验证签名确保数据真实性 +- 订单号唯一性检查防止重复处理 +- 金额验证确保支付金额正确 + +### 2. 数据安全 +- 所有敏感操作使用事务保护 +- 充值记录状态变更的原子性 +- 钱包余额更新的并发控制 +- 完整的操作日志记录 + +## 错误处理 + +### 1. 支付失败处理 +- 网络异常:提示用户重试 +- 余额不足:提示用户检查支付账户 +- 订单超时:自动取消订单,允许重新创建 +- 系统异常:记录错误日志,提供客服支持 + +### 2. 回调异常处理 +- 签名验证失败:记录异常,不处理回调 +- 重复回调:幂等性处理,避免重复更新 +- 数据不一致:记录异常,人工介入处理 + +## 监控和日志 + +### 1. 关键日志点 +- 充值订单创建 +- 支付宝回调接收 +- 支付成功处理 +- 钱包余额更新 +- 异常错误记录 + +### 2. 监控指标 +- 充值成功率 +- 支付响应时间 +- 回调处理延迟 +- 异常错误率 + +## 测试建议 + +### 1. 功能测试 +- 正常充值流程测试 +- 支付失败场景测试 +- 网络异常处理测试 +- 并发充值测试 + +### 2. 安全测试 +- 回调签名验证测试 +- 重复订单处理测试 +- 金额篡改防护测试 +- 并发安全测试 + +## 部署注意事项 + +### 1. 环境配置 +- 确保支付宝配置正确 +- 回调地址可访问性 +- 数据库连接稳定性 +- 日志存储空间充足 + +### 2. 监控告警 +- 支付成功率监控 +- 系统异常告警 +- 数据库性能监控 +- 网络连接监控 + +## 后续优化 + +### 1. 功能增强 +- 支持更多支付方式(微信支付、银行卡等) +- 充值优惠活动 +- 自动充值功能 +- 充值提醒功能 + +### 2. 性能优化 +- 支付订单缓存 +- 异步处理优化 +- 数据库查询优化 +- 前端体验优化 \ No newline at end of file diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000..5e7e5e1 --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,121 @@ +import js from '@eslint/js' +import skipFormatting from '@vue/eslint-config-prettier/skip-formatting' +import pluginOxlint from 'eslint-plugin-oxlint' +import pluginVue from 'eslint-plugin-vue' +import { defineConfig, globalIgnores } from 'eslint/config' +import globals from 'globals' + +export default defineConfig([ + { + name: 'app/files-to-lint', + files: ['**/*.{js,mjs,jsx,vue}'], + }, + + globalIgnores(['**/dist/**', '**/dist-ssr/**', '**/coverage/**']), + + { + languageOptions: { + globals: { + ...globals.browser, + // 自动引入的全局变量 + 'ref': 'readonly', + 'reactive': 'readonly', + 'computed': 'readonly', + 'watch': 'readonly', + 'watchEffect': 'readonly', + 'onMounted': 'readonly', + 'onUnmounted': 'readonly', + 'onBeforeMount': 'readonly', + 'onBeforeUnmount': 'readonly', + 'nextTick': 'readonly', + 'defineComponent': 'readonly', + 'h': 'readonly', + 'inject': 'readonly', + 'provide': 'readonly', + 'toRef': 'readonly', + 'toRefs': 'readonly', + 'unref': 'readonly', + 'isRef': 'readonly', + 'isReactive': 'readonly', + 'markRaw': 'readonly', + 'shallowRef': 'readonly', + 'shallowReactive': 'readonly', + 'readonly': 'readonly', + 'shallowReadonly': 'readonly', + 'toRaw': 'readonly', + 'customRef': 'readonly', + 'triggerRef': 'readonly', + 'getCurrentInstance': 'readonly', + 'useAttrs': 'readonly', + 'useSlots': 'readonly', + 'useCssModule': 'readonly', + 'useCssVars': 'readonly', + 'useId': 'readonly', + 'useModel': 'readonly', + 'useTemplateRef': 'readonly', + 'useLink': 'readonly', + 'useRoute': 'readonly', + 'useRouter': 'readonly', + 'onBeforeRouteLeave': 'readonly', + 'onBeforeRouteUpdate': 'readonly', + 'defineStore': 'readonly', + 'storeToRefs': 'readonly', + 'createPinia': 'readonly', + 'setActivePinia': 'readonly', + 'getActivePinia': 'readonly', + 'mapState': 'readonly', + 'mapGetters': 'readonly', + 'mapActions': 'readonly', + 'mapStores': 'readonly', + 'mapWritableState': 'readonly', + 'ElMessage': 'readonly', + 'ElMessageBox': 'readonly', + 'ElNotification': 'readonly', + 'ElLoading': 'readonly', + 'axios': 'readonly', + 'dayjs': 'readonly', + 'isEmpty': 'readonly', + 'isEqual': 'readonly', + 'get': 'readonly', + 'set': 'readonly', + 'omit': 'readonly', + 'pick': 'readonly', + 'merge': 'readonly', + 'uniq': 'readonly', + 'uniqBy': 'readonly', + 'groupBy': 'readonly', + 'keyBy': 'readonly', + 'sortBy': 'readonly', + 'orderBy': 'readonly', + 'filter': 'readonly', + 'map': 'readonly', + 'reduce': 'readonly', + 'find': 'readonly', + 'findIndex': 'readonly', + 'includes': 'readonly', + 'startsWith': 'readonly', + 'endsWith': 'readonly', + 'camelCase': 'readonly', + 'kebabCase': 'readonly', + 'snakeCase': 'readonly', + 'capitalize': 'readonly', + 'upperCase': 'readonly', + 'lowerCase': 'readonly', + 'trim': 'readonly', + 'escape': 'readonly', + 'unescape': 'readonly', + }, + }, + }, + + js.configs.recommended, + ...pluginVue.configs['flat/essential'], + ...pluginOxlint.configs['flat/recommended'], + { + rules: { + 'vue/multi-word-component-names': 'off', + 'no-unused-vars': 'warn', + }, + }, + skipFormatting, +]) diff --git a/index.html b/index.html new file mode 100644 index 0000000..5c42208 --- /dev/null +++ b/index.html @@ -0,0 +1,13 @@ + + + + + + + 天远数据 + + +
+ + + diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 0000000..5a1f2d2 --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,8 @@ +{ + "compilerOptions": { + "paths": { + "@/*": ["./src/*"] + } + }, + "exclude": ["node_modules", "dist"] +} diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..ff8ad2b --- /dev/null +++ b/package-lock.json @@ -0,0 +1,7443 @@ +{ + "name": "tyapi-web", + "version": "0.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "tyapi-web", + "version": "0.0.0", + "dependencies": { + "@element-plus/icons-vue": "^2.3.1", + "@heroicons/vue": "^2.2.0", + "@tailwindcss/vite": "^4.1.11", + "@tinymce/tinymce-vue": "^6.3.0", + "@vueuse/core": "^13.5.0", + "@wangeditor/editor": "^5.1.23", + "@wangeditor/editor-for-vue": "^5.1.12", + "axios": "^1.11.0", + "dayjs": "^1.11.13", + "echarts": "^6.0.0", + "element-plus": "^2.10.4", + "lodash-es": "^4.17.21", + "marked": "^16.1.1", + "pinia": "^3.0.3", + "tinymce": "^8.0.2", + "unplugin-auto-import": "^19.3.0", + "unplugin-vue-components": "^28.8.0", + "vue": "^3.5.18", + "vue-json-editor": "^1.4.3", + "vue-pdf-embed": "^2.1.3", + "vue-router": "^4.5.1", + "vuedraggable": "^4.1.0" + }, + "devDependencies": { + "@eslint/js": "^9.32.0", + "@tailwindcss/forms": "^0.5.10", + "@tailwindcss/typography": "^0.5.16", + "@vitejs/plugin-vue": "^6.0.1", + "@vue/eslint-config-prettier": "^10.2.0", + "autoprefixer": "^10.4.21", + "eslint": "^9.32.0", + "eslint-plugin-oxlint": "~1.8.0", + "eslint-plugin-vue": "~10.3.0", + "globals": "^16.3.0", + "npm-run-all2": "^8.0.4", + "oxlint": "~1.8.0", + "postcss": "^8.5.6", + "prettier": "3.6.2", + "sass-embedded": "^1.89.2", + "tailwindcss": "^4.1.11", + "vite": "^7.0.6", + "vite-plugin-vue-devtools": "^8.0.0" + } + }, + "node_modules/@ampproject/remapping": { + "version": "2.3.0", + "resolved": "https://registry.npmmirror.com/@ampproject/remapping/-/remapping-2.3.0.tgz", + "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==", + "license": "Apache-2.0", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.27.1", + "resolved": "https://registry.npmmirror.com/@babel/code-frame/-/code-frame-7.27.1.tgz", + "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^7.27.1", + "js-tokens": "^4.0.0", + "picocolors": "^1.1.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/code-frame/node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@babel/compat-data": { + "version": "7.28.0", + "resolved": "https://registry.npmmirror.com/@babel/compat-data/-/compat-data-7.28.0.tgz", + "integrity": "sha512-60X7qkglvrap8mn1lh2ebxXdZYtUcpd7gsmy9kLaBJ4i/WdY8PqTSdxyA8qraikqKQK5C1KRBKXqznrVapyNaw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.28.0", + "resolved": "https://registry.npmmirror.com/@babel/core/-/core-7.28.0.tgz", + "integrity": "sha512-UlLAnTPrFdNGoFtbSXwcGFQBtQZJCNjaN6hQNP3UPvuNXT1i82N26KL3dZeIpNalWywr9IuQuncaAfUaS1g6sQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.27.1", + "@babel/generator": "^7.28.0", + "@babel/helper-compilation-targets": "^7.27.2", + "@babel/helper-module-transforms": "^7.27.3", + "@babel/helpers": "^7.27.6", + "@babel/parser": "^7.28.0", + "@babel/template": "^7.27.2", + "@babel/traverse": "^7.28.0", + "@babel/types": "^7.28.0", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/core/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmmirror.com/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/generator": { + "version": "7.28.0", + "resolved": "https://registry.npmmirror.com/@babel/generator/-/generator-7.28.0.tgz", + "integrity": "sha512-lJjzvrbEeWrhB4P3QBsH7tey117PjLZnDbLiQEKjQ/fNJTjuq4HSqgFA+UNSwZT8D7dxxbnuSBMsa1lrWzKlQg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.28.0", + "@babel/types": "^7.28.0", + "@jridgewell/gen-mapping": "^0.3.12", + "@jridgewell/trace-mapping": "^0.3.28", + "jsesc": "^3.0.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-annotate-as-pure": { + "version": "7.27.3", + "resolved": "https://registry.npmmirror.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.27.3.tgz", + "integrity": "sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.27.3" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.27.2", + "resolved": "https://registry.npmmirror.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.27.2.tgz", + "integrity": "sha512-2+1thGUUWWjLTYTHZWK1n8Yga0ijBz1XAhUXcKy81rd5g6yh7hGqMp45v7cadSbEHc9G3OTv45SyneRN3ps4DQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.27.2", + "@babel/helper-validator-option": "^7.27.1", + "browserslist": "^4.24.0", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmmirror.com/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/helper-create-class-features-plugin": { + "version": "7.27.1", + "resolved": "https://registry.npmmirror.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.27.1.tgz", + "integrity": "sha512-QwGAmuvM17btKU5VqXfb+Giw4JcN0hjuufz3DYnpeVDvZLAObloM77bhMXiqry3Iio+Ai4phVRDwl6WU10+r5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.27.1", + "@babel/helper-member-expression-to-functions": "^7.27.1", + "@babel/helper-optimise-call-expression": "^7.27.1", + "@babel/helper-replace-supers": "^7.27.1", + "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", + "@babel/traverse": "^7.27.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-create-class-features-plugin/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmmirror.com/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/helper-globals": { + "version": "7.28.0", + "resolved": "https://registry.npmmirror.com/@babel/helper-globals/-/helper-globals-7.28.0.tgz", + "integrity": "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-member-expression-to-functions": { + "version": "7.27.1", + "resolved": "https://registry.npmmirror.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.27.1.tgz", + "integrity": "sha512-E5chM8eWjTp/aNoVpcbfM7mLxu9XGLWYise2eBKGQomAk/Mb4XoxyqXTZbuTohbsl8EKqdlMhnDI2CCLfcs9wA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/traverse": "^7.27.1", + "@babel/types": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.27.1", + "resolved": "https://registry.npmmirror.com/@babel/helper-module-imports/-/helper-module-imports-7.27.1.tgz", + "integrity": "sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/traverse": "^7.27.1", + "@babel/types": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.27.3", + "resolved": "https://registry.npmmirror.com/@babel/helper-module-transforms/-/helper-module-transforms-7.27.3.tgz", + "integrity": "sha512-dSOvYwvyLsWBeIRyOeHXp5vPj5l1I011r52FM1+r1jCERv+aFXYk4whgQccYEGYxK2H3ZAIA8nuPkQ0HaUo3qg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.27.1", + "@babel/helper-validator-identifier": "^7.27.1", + "@babel/traverse": "^7.27.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-optimise-call-expression": { + "version": "7.27.1", + "resolved": "https://registry.npmmirror.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.27.1.tgz", + "integrity": "sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-plugin-utils": { + "version": "7.27.1", + "resolved": "https://registry.npmmirror.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.27.1.tgz", + "integrity": "sha512-1gn1Up5YXka3YYAHGKpbideQ5Yjf1tDa9qYcgysz+cNCXukyLl6DjPXhD3VRwSb8c0J9tA4b2+rHEZtc6R0tlw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-replace-supers": { + "version": "7.27.1", + "resolved": "https://registry.npmmirror.com/@babel/helper-replace-supers/-/helper-replace-supers-7.27.1.tgz", + "integrity": "sha512-7EHz6qDZc8RYS5ElPoShMheWvEgERonFCs7IAonWLLUTXW59DP14bCZt89/GKyreYn8g3S83m21FelHKbeDCKA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-member-expression-to-functions": "^7.27.1", + "@babel/helper-optimise-call-expression": "^7.27.1", + "@babel/traverse": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-skip-transparent-expression-wrappers": { + "version": "7.27.1", + "resolved": "https://registry.npmmirror.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.27.1.tgz", + "integrity": "sha512-Tub4ZKEXqbPjXgWLl2+3JpQAYBJ8+ikpQ2Ocj/q/r0LwE3UhENh7EUabyHjz2kCEsrRY83ew2DQdHluuiDQFzg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/traverse": "^7.27.1", + "@babel/types": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-string-parser": { + "version": "7.27.1", + "resolved": "https://registry.npmmirror.com/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz", + "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.27.1", + "resolved": "https://registry.npmmirror.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz", + "integrity": "sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.27.1", + "resolved": "https://registry.npmmirror.com/@babel/helper-validator-option/-/helper-validator-option-7.27.1.tgz", + "integrity": "sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.28.2", + "resolved": "https://registry.npmmirror.com/@babel/helpers/-/helpers-7.28.2.tgz", + "integrity": "sha512-/V9771t+EgXz62aCcyofnQhGM8DQACbRhvzKFsXKC9QM+5MadF8ZmIm0crDMaz3+o0h0zXfJnd4EhbYbxsrcFw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/template": "^7.27.2", + "@babel/types": "^7.28.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.28.0", + "resolved": "https://registry.npmmirror.com/@babel/parser/-/parser-7.28.0.tgz", + "integrity": "sha512-jVZGvOxOuNSsuQuLRTh13nU0AogFlw32w/MT+LV6D3sP5WdbW61E77RnkbaO2dUvmPAYrBDJXGn5gGS6tH4j8g==", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.28.0" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/plugin-proposal-decorators": { + "version": "7.28.0", + "resolved": "https://registry.npmmirror.com/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.28.0.tgz", + "integrity": "sha512-zOiZqvANjWDUaUS9xMxbMcK/Zccztbe/6ikvUXaG9nsPH3w6qh5UaPGAnirI/WhIbZ8m3OHU0ReyPrknG+ZKeg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/plugin-syntax-decorators": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-decorators": { + "version": "7.27.1", + "resolved": "https://registry.npmmirror.com/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.27.1.tgz", + "integrity": "sha512-YMq8Z87Lhl8EGkmb0MwYkt36QnxC+fzCgrl66ereamPlYToRpIk5nUjKUY3QKLWq8mwUB1BgbeXcTJhZOCDg5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-import-attributes": { + "version": "7.27.1", + "resolved": "https://registry.npmmirror.com/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.27.1.tgz", + "integrity": "sha512-oFT0FrKHgF53f4vOsZGi2Hh3I35PfSmVs4IBFLFj4dnafP+hIWDLg3VyKmUHfLoLHlyxY4C7DGtmHuJgn+IGww==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-import-meta": { + "version": "7.10.4", + "resolved": "https://registry.npmmirror.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", + "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-jsx": { + "version": "7.27.1", + "resolved": "https://registry.npmmirror.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.27.1.tgz", + "integrity": "sha512-y8YTNIeKoyhGd9O0Jiyzyyqk8gdjnumGTQPsz0xOZOQ2RmkVJeZ1vmmfIvFEKqucBG6axJGBZDE/7iI5suUI/w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-typescript": { + "version": "7.27.1", + "resolved": "https://registry.npmmirror.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.27.1.tgz", + "integrity": "sha512-xfYCBMxveHrRMnAWl1ZlPXOZjzkN82THFvLhQhFXFt81Z5HnN+EtUkZhv/zcKpmT3fzmWZB0ywiBrbC3vogbwQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-typescript": { + "version": "7.28.0", + "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.28.0.tgz", + "integrity": "sha512-4AEiDEBPIZvLQaWlc9liCavE0xRM0dNca41WtBeM3jgFptfUOSG9z0uteLhq6+3rq+WB6jIvUwKDTpXEHPJ2Vg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.27.3", + "@babel/helper-create-class-features-plugin": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", + "@babel/plugin-syntax-typescript": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/runtime": { + "version": "7.28.2", + "resolved": "https://registry.npmmirror.com/@babel/runtime/-/runtime-7.28.2.tgz", + "integrity": "sha512-KHp2IflsnGywDjBWDkR9iEqiWSpc8GIi0lgTT3mOElT0PP1tG26P4tmFI2YvAdzgq9RGyoHZQEIEdZy6Ec5xCA==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/template": { + "version": "7.27.2", + "resolved": "https://registry.npmmirror.com/@babel/template/-/template-7.27.2.tgz", + "integrity": "sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.27.1", + "@babel/parser": "^7.27.2", + "@babel/types": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.28.0", + "resolved": "https://registry.npmmirror.com/@babel/traverse/-/traverse-7.28.0.tgz", + "integrity": "sha512-mGe7UK5wWyh0bKRfupsUchrQGqvDbZDbKJw+kcRGSmdHVYrv+ltd0pnpDTVpiTqnaBru9iEvA8pz8W46v0Amwg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.27.1", + "@babel/generator": "^7.28.0", + "@babel/helper-globals": "^7.28.0", + "@babel/parser": "^7.28.0", + "@babel/template": "^7.27.2", + "@babel/types": "^7.28.0", + "debug": "^4.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/types": { + "version": "7.28.2", + "resolved": "https://registry.npmmirror.com/@babel/types/-/types-7.28.2.tgz", + "integrity": "sha512-ruv7Ae4J5dUYULmeXw1gmb7rYRz57OWCPM57pHojnLq/3Z1CK2lNSLTCVjxVk1F/TZHwOZZrOWi0ur95BbLxNQ==", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.27.1", + "@babel/helper-validator-identifier": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@bufbuild/protobuf": { + "version": "2.6.2", + "resolved": "https://registry.npmmirror.com/@bufbuild/protobuf/-/protobuf-2.6.2.tgz", + "integrity": "sha512-vLu7SRY84CV/Dd+NUdgtidn2hS5hSMUC1vDBY0VcviTdgRYkU43vIz3vIFbmx14cX1r+mM7WjzE5Fl1fGEM0RQ==", + "devOptional": true, + "license": "(Apache-2.0 AND BSD-3-Clause)" + }, + "node_modules/@ctrl/tinycolor": { + "version": "3.6.1", + "resolved": "https://registry.npmmirror.com/@ctrl/tinycolor/-/tinycolor-3.6.1.tgz", + "integrity": "sha512-SITSV6aIXsuVNV3f3O0f2n/cgyEDWoSqtZMYiAmcsYHydcKrOz3gUxB/iXd/Qf08+IZX4KpgNbvUdMBmWz+kcA==", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/@element-plus/icons-vue": { + "version": "2.3.1", + "resolved": "https://registry.npmmirror.com/@element-plus/icons-vue/-/icons-vue-2.3.1.tgz", + "integrity": "sha512-XxVUZv48RZAd87ucGS48jPf6pKu0yV5UCg9f4FFwtrYxXOwWuVJo6wOvSLKEoMQKjv8GsX/mhP6UsC1lRwbUWg==", + "license": "MIT", + "peerDependencies": { + "vue": "^3.2.0" + } + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.25.8", + "resolved": "https://registry.npmmirror.com/@esbuild/aix-ppc64/-/aix-ppc64-0.25.8.tgz", + "integrity": "sha512-urAvrUedIqEiFR3FYSLTWQgLu5tb+m0qZw0NBEasUeo6wuqatkMDaRT+1uABiGXEu5vqgPd7FGE1BhsAIy9QVA==", + "cpu": [ + "ppc64" + ], + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.25.8", + "resolved": "https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.25.8.tgz", + "integrity": "sha512-RONsAvGCz5oWyePVnLdZY/HHwA++nxYWIX1atInlaW6SEkwq6XkP3+cb825EUcRs5Vss/lGh/2YxAb5xqc07Uw==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.25.8", + "resolved": "https://registry.npmmirror.com/@esbuild/android-arm64/-/android-arm64-0.25.8.tgz", + "integrity": "sha512-OD3p7LYzWpLhZEyATcTSJ67qB5D+20vbtr6vHlHWSQYhKtzUYrETuWThmzFpZtFsBIxRvhO07+UgVA9m0i/O1w==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.25.8", + "resolved": "https://registry.npmmirror.com/@esbuild/android-x64/-/android-x64-0.25.8.tgz", + "integrity": "sha512-yJAVPklM5+4+9dTeKwHOaA+LQkmrKFX96BM0A/2zQrbS6ENCmxc4OVoBs5dPkCCak2roAD+jKCdnmOqKszPkjA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.25.8", + "resolved": "https://registry.npmmirror.com/@esbuild/darwin-arm64/-/darwin-arm64-0.25.8.tgz", + "integrity": "sha512-Jw0mxgIaYX6R8ODrdkLLPwBqHTtYHJSmzzd+QeytSugzQ0Vg4c5rDky5VgkoowbZQahCbsv1rT1KW72MPIkevw==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.25.8", + "resolved": "https://registry.npmmirror.com/@esbuild/darwin-x64/-/darwin-x64-0.25.8.tgz", + "integrity": "sha512-Vh2gLxxHnuoQ+GjPNvDSDRpoBCUzY4Pu0kBqMBDlK4fuWbKgGtmDIeEC081xi26PPjn+1tct+Bh8FjyLlw1Zlg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.25.8", + "resolved": "https://registry.npmmirror.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.8.tgz", + "integrity": "sha512-YPJ7hDQ9DnNe5vxOm6jaie9QsTwcKedPvizTVlqWG9GBSq+BuyWEDazlGaDTC5NGU4QJd666V0yqCBL2oWKPfA==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.25.8", + "resolved": "https://registry.npmmirror.com/@esbuild/freebsd-x64/-/freebsd-x64-0.25.8.tgz", + "integrity": "sha512-MmaEXxQRdXNFsRN/KcIimLnSJrk2r5H8v+WVafRWz5xdSVmWLoITZQXcgehI2ZE6gioE6HirAEToM/RvFBeuhw==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.25.8", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-arm/-/linux-arm-0.25.8.tgz", + "integrity": "sha512-FuzEP9BixzZohl1kLf76KEVOsxtIBFwCaLupVuk4eFVnOZfU+Wsn+x5Ryam7nILV2pkq2TqQM9EZPsOBuMC+kg==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.25.8", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-arm64/-/linux-arm64-0.25.8.tgz", + "integrity": "sha512-WIgg00ARWv/uYLU7lsuDK00d/hHSfES5BzdWAdAig1ioV5kaFNrtK8EqGcUBJhYqotlUByUKz5Qo6u8tt7iD/w==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.25.8", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-ia32/-/linux-ia32-0.25.8.tgz", + "integrity": "sha512-A1D9YzRX1i+1AJZuFFUMP1E9fMaYY+GnSQil9Tlw05utlE86EKTUA7RjwHDkEitmLYiFsRd9HwKBPEftNdBfjg==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.25.8", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.25.8.tgz", + "integrity": "sha512-O7k1J/dwHkY1RMVvglFHl1HzutGEFFZ3kNiDMSOyUrB7WcoHGf96Sh+64nTRT26l3GMbCW01Ekh/ThKM5iI7hQ==", + "cpu": [ + "loong64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.25.8", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-mips64el/-/linux-mips64el-0.25.8.tgz", + "integrity": "sha512-uv+dqfRazte3BzfMp8PAQXmdGHQt2oC/y2ovwpTteqrMx2lwaksiFZ/bdkXJC19ttTvNXBuWH53zy/aTj1FgGw==", + "cpu": [ + "mips64el" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.25.8", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-ppc64/-/linux-ppc64-0.25.8.tgz", + "integrity": "sha512-GyG0KcMi1GBavP5JgAkkstMGyMholMDybAf8wF5A70CALlDM2p/f7YFE7H92eDeH/VBtFJA5MT4nRPDGg4JuzQ==", + "cpu": [ + "ppc64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.25.8", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-riscv64/-/linux-riscv64-0.25.8.tgz", + "integrity": "sha512-rAqDYFv3yzMrq7GIcen3XP7TUEG/4LK86LUPMIz6RT8A6pRIDn0sDcvjudVZBiiTcZCY9y2SgYX2lgK3AF+1eg==", + "cpu": [ + "riscv64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.25.8", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-s390x/-/linux-s390x-0.25.8.tgz", + "integrity": "sha512-Xutvh6VjlbcHpsIIbwY8GVRbwoviWT19tFhgdA7DlenLGC/mbc3lBoVb7jxj9Z+eyGqvcnSyIltYUrkKzWqSvg==", + "cpu": [ + "s390x" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.25.8", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-x64/-/linux-x64-0.25.8.tgz", + "integrity": "sha512-ASFQhgY4ElXh3nDcOMTkQero4b1lgubskNlhIfJrsH5OKZXDpUAKBlNS0Kx81jwOBp+HCeZqmoJuihTv57/jvQ==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-arm64": { + "version": "0.25.8", + "resolved": "https://registry.npmmirror.com/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.8.tgz", + "integrity": "sha512-d1KfruIeohqAi6SA+gENMuObDbEjn22olAR7egqnkCD9DGBG0wsEARotkLgXDu6c4ncgWTZJtN5vcgxzWRMzcw==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.25.8", + "resolved": "https://registry.npmmirror.com/@esbuild/netbsd-x64/-/netbsd-x64-0.25.8.tgz", + "integrity": "sha512-nVDCkrvx2ua+XQNyfrujIG38+YGyuy2Ru9kKVNyh5jAys6n+l44tTtToqHjino2My8VAY6Lw9H7RI73XFi66Cg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.25.8", + "resolved": "https://registry.npmmirror.com/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.8.tgz", + "integrity": "sha512-j8HgrDuSJFAujkivSMSfPQSAa5Fxbvk4rgNAS5i3K+r8s1X0p1uOO2Hl2xNsGFppOeHOLAVgYwDVlmxhq5h+SQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.25.8", + "resolved": "https://registry.npmmirror.com/@esbuild/openbsd-x64/-/openbsd-x64-0.25.8.tgz", + "integrity": "sha512-1h8MUAwa0VhNCDp6Af0HToI2TJFAn1uqT9Al6DJVzdIBAd21m/G0Yfc77KDM3uF3T/YaOgQq3qTJHPbTOInaIQ==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openharmony-arm64": { + "version": "0.25.8", + "resolved": "https://registry.npmmirror.com/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.8.tgz", + "integrity": "sha512-r2nVa5SIK9tSWd0kJd9HCffnDHKchTGikb//9c7HX+r+wHYCpQrSgxhlY6KWV1nFo1l4KFbsMlHk+L6fekLsUg==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.25.8", + "resolved": "https://registry.npmmirror.com/@esbuild/sunos-x64/-/sunos-x64-0.25.8.tgz", + "integrity": "sha512-zUlaP2S12YhQ2UzUfcCuMDHQFJyKABkAjvO5YSndMiIkMimPmxA+BYSBikWgsRpvyxuRnow4nS5NPnf9fpv41w==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.25.8", + "resolved": "https://registry.npmmirror.com/@esbuild/win32-arm64/-/win32-arm64-0.25.8.tgz", + "integrity": "sha512-YEGFFWESlPva8hGL+zvj2z/SaK+pH0SwOM0Nc/d+rVnW7GSTFlLBGzZkuSU9kFIGIo8q9X3ucpZhu8PDN5A2sQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.25.8", + "resolved": "https://registry.npmmirror.com/@esbuild/win32-ia32/-/win32-ia32-0.25.8.tgz", + "integrity": "sha512-hiGgGC6KZ5LZz58OL/+qVVoZiuZlUYlYHNAmczOm7bs2oE1XriPFi5ZHHrS8ACpV5EjySrnoCKmcbQMN+ojnHg==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.25.8", + "resolved": "https://registry.npmmirror.com/@esbuild/win32-x64/-/win32-x64-0.25.8.tgz", + "integrity": "sha512-cn3Yr7+OaaZq1c+2pe+8yxC8E144SReCQjN6/2ynubzYjvyqZjTXfQJpAcQpsdJq3My7XADANiYGHoFC69pLQw==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.7.0", + "resolved": "https://registry.npmmirror.com/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz", + "integrity": "sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==", + "dev": true, + "license": "MIT", + "dependencies": { + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmmirror.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.12.1", + "resolved": "https://registry.npmmirror.com/@eslint-community/regexpp/-/regexpp-4.12.1.tgz", + "integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/config-array": { + "version": "0.21.0", + "resolved": "https://registry.npmmirror.com/@eslint/config-array/-/config-array-0.21.0.tgz", + "integrity": "sha512-ENIdc4iLu0d93HeYirvKmrzshzofPw6VkZRKQGe9Nv46ZnWUzcF1xV01dcvEg/1wXUR61OmmlSfyeyO7EvjLxQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/object-schema": "^2.1.6", + "debug": "^4.3.1", + "minimatch": "^3.1.2" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/config-helpers": { + "version": "0.3.0", + "resolved": "https://registry.npmmirror.com/@eslint/config-helpers/-/config-helpers-0.3.0.tgz", + "integrity": "sha512-ViuymvFmcJi04qdZeDc2whTHryouGcDlaxPqarTD0ZE10ISpxGUVZGZDx4w01upyIynL3iu6IXH2bS1NhclQMw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/core": { + "version": "0.15.1", + "resolved": "https://registry.npmmirror.com/@eslint/core/-/core-0.15.1.tgz", + "integrity": "sha512-bkOp+iumZCCbt1K1CmWf0R9pM5yKpDv+ZXtvSyQpudrI9kuFLp+bM2WOPXImuD/ceQuaa8f5pj93Y7zyECIGNA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@types/json-schema": "^7.0.15" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "3.3.1", + "resolved": "https://registry.npmmirror.com/@eslint/eslintrc/-/eslintrc-3.3.1.tgz", + "integrity": "sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^10.0.1", + "globals": "^14.0.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint/eslintrc/node_modules/globals": { + "version": "14.0.0", + "resolved": "https://registry.npmmirror.com/globals/-/globals-14.0.0.tgz", + "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@eslint/js": { + "version": "9.32.0", + "resolved": "https://registry.npmmirror.com/@eslint/js/-/js-9.32.0.tgz", + "integrity": "sha512-BBpRFZK3eX6uMLKz8WxFOBIFFcGFJ/g8XuwjTHCqHROSIsopI+ddn/d5Cfh36+7+e5edVS8dbSHnBNhrLEX0zg==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://eslint.org/donate" + } + }, + "node_modules/@eslint/object-schema": { + "version": "2.1.6", + "resolved": "https://registry.npmmirror.com/@eslint/object-schema/-/object-schema-2.1.6.tgz", + "integrity": "sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/plugin-kit": { + "version": "0.3.4", + "resolved": "https://registry.npmmirror.com/@eslint/plugin-kit/-/plugin-kit-0.3.4.tgz", + "integrity": "sha512-Ul5l+lHEcw3L5+k8POx6r74mxEYKG5kOb6Xpy2gCRW6zweT6TEhAf8vhxGgjhqrd/VO/Dirhsb+1hNpD1ue9hw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^0.15.1", + "levn": "^0.4.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@floating-ui/core": { + "version": "1.7.2", + "resolved": "https://registry.npmmirror.com/@floating-ui/core/-/core-1.7.2.tgz", + "integrity": "sha512-wNB5ooIKHQc+Kui96jE/n69rHFWAVoxn5CAzL1Xdd8FG03cgY3MLO+GF9U3W737fYDSgPWA6MReKhBQBop6Pcw==", + "license": "MIT", + "dependencies": { + "@floating-ui/utils": "^0.2.10" + } + }, + "node_modules/@floating-ui/dom": { + "version": "1.7.2", + "resolved": "https://registry.npmmirror.com/@floating-ui/dom/-/dom-1.7.2.tgz", + "integrity": "sha512-7cfaOQuCS27HD7DX+6ib2OrnW+b4ZBwDNnCcT0uTyidcmyWb03FnQqJybDBoCnpdxwBSfA94UAYlRCt7mV+TbA==", + "license": "MIT", + "dependencies": { + "@floating-ui/core": "^1.7.2", + "@floating-ui/utils": "^0.2.10" + } + }, + "node_modules/@floating-ui/utils": { + "version": "0.2.10", + "resolved": "https://registry.npmmirror.com/@floating-ui/utils/-/utils-0.2.10.tgz", + "integrity": "sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==", + "license": "MIT" + }, + "node_modules/@heroicons/vue": { + "version": "2.2.0", + "resolved": "https://registry.npmmirror.com/@heroicons/vue/-/vue-2.2.0.tgz", + "integrity": "sha512-G3dbSxoeEKqbi/DFalhRxJU4mTXJn7GwZ7ae8NuEQzd1bqdd0jAbdaBZlHPcvPD2xI1iGzNVB4k20Un2AguYPw==", + "license": "MIT", + "peerDependencies": { + "vue": ">= 3" + } + }, + "node_modules/@humanfs/core": { + "version": "0.19.1", + "resolved": "https://registry.npmmirror.com/@humanfs/core/-/core-0.19.1.tgz", + "integrity": "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/node": { + "version": "0.16.6", + "resolved": "https://registry.npmmirror.com/@humanfs/node/-/node-0.16.6.tgz", + "integrity": "sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@humanfs/core": "^0.19.1", + "@humanwhocodes/retry": "^0.3.0" + }, + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/node/node_modules/@humanwhocodes/retry": { + "version": "0.3.1", + "resolved": "https://registry.npmmirror.com/@humanwhocodes/retry/-/retry-0.3.1.tgz", + "integrity": "sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/retry": { + "version": "0.4.3", + "resolved": "https://registry.npmmirror.com/@humanwhocodes/retry/-/retry-0.4.3.tgz", + "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@isaacs/fs-minipass": { + "version": "4.0.1", + "resolved": "https://registry.npmmirror.com/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz", + "integrity": "sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==", + "license": "ISC", + "dependencies": { + "minipass": "^7.0.4" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.12", + "resolved": "https://registry.npmmirror.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.12.tgz", + "integrity": "sha512-OuLGC46TjB5BbN1dH8JULVVZY4WTdkF7tV9Ys6wLL1rubZnCMstOhNHueU5bLCrnRuDhKPDM4g6sw4Bel5Gzqg==", + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmmirror.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.4", + "resolved": "https://registry.npmmirror.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.4.tgz", + "integrity": "sha512-VT2+G1VQs/9oz078bLrYbecdZKs912zQlkelYpuf+SXF+QvZDYJlbx/LSx+meSAwdDFnF8FVXW92AVjjkVmgFw==", + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.29", + "resolved": "https://registry.npmmirror.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.29.tgz", + "integrity": "sha512-uw6guiW/gcAGPDhLmd77/6lW8QLeiV5RUTsAX46Db6oLhGaVj4lhnPwb184s1bkc8kdVg/+h988dro8GRDpmYQ==", + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@napi-rs/canvas": { + "version": "0.1.74", + "resolved": "https://registry.npmmirror.com/@napi-rs/canvas/-/canvas-0.1.74.tgz", + "integrity": "sha512-pOIyzuS+5Bz1vAhD7tdhaw5/936mMJZUn4aVajojUdjYOGSWmfpDYSgt0nQLZPZVN5GLgWgutqXPOi7Jsm3k+Q==", + "license": "MIT", + "optional": true, + "workspaces": [ + "e2e/*" + ], + "engines": { + "node": ">= 10" + }, + "optionalDependencies": { + "@napi-rs/canvas-android-arm64": "0.1.74", + "@napi-rs/canvas-darwin-arm64": "0.1.74", + "@napi-rs/canvas-darwin-x64": "0.1.74", + "@napi-rs/canvas-linux-arm-gnueabihf": "0.1.74", + "@napi-rs/canvas-linux-arm64-gnu": "0.1.74", + "@napi-rs/canvas-linux-arm64-musl": "0.1.74", + "@napi-rs/canvas-linux-riscv64-gnu": "0.1.74", + "@napi-rs/canvas-linux-x64-gnu": "0.1.74", + "@napi-rs/canvas-linux-x64-musl": "0.1.74", + "@napi-rs/canvas-win32-x64-msvc": "0.1.74" + } + }, + "node_modules/@napi-rs/canvas-android-arm64": { + "version": "0.1.74", + "resolved": "https://registry.npmmirror.com/@napi-rs/canvas-android-arm64/-/canvas-android-arm64-0.1.74.tgz", + "integrity": "sha512-aq5ode+9Z/ZR0H485dI2jdRdttg/hl9Ob+iPCt0nj+QFiirpxDrbUHKeTZWQWEtkWyC7vI5R2dMTbDINBfl9eg==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/canvas-darwin-arm64": { + "version": "0.1.74", + "resolved": "https://registry.npmmirror.com/@napi-rs/canvas-darwin-arm64/-/canvas-darwin-arm64-0.1.74.tgz", + "integrity": "sha512-eO5Miz+ef1dEQyUMWDdcbAb1Wr7yMyxD9/CL9d4frQxO4pTTaCiMBUWup8XDPLr/g7XkSkGCZLP47xiXiyXSpQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/canvas-darwin-x64": { + "version": "0.1.74", + "resolved": "https://registry.npmmirror.com/@napi-rs/canvas-darwin-x64/-/canvas-darwin-x64-0.1.74.tgz", + "integrity": "sha512-0EkO0IFkps7C3JpKC7lbM3IL+QDUYeUKagHLDbUry4PeQTghxp6JcgccpmU32ZbpFZgPnm7o0tTJO0J1d8S2rA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/canvas-linux-arm-gnueabihf": { + "version": "0.1.74", + "resolved": "https://registry.npmmirror.com/@napi-rs/canvas-linux-arm-gnueabihf/-/canvas-linux-arm-gnueabihf-0.1.74.tgz", + "integrity": "sha512-qAVJEN2JqGayEI1kSpJy1Xr6ZmCFV9QhRyV35yWsS7e9X1jm+T4DAlCxI4PlKIlqVSzYMYhKrxchST20XBSzHg==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/canvas-linux-arm64-gnu": { + "version": "0.1.74", + "resolved": "https://registry.npmmirror.com/@napi-rs/canvas-linux-arm64-gnu/-/canvas-linux-arm64-gnu-0.1.74.tgz", + "integrity": "sha512-lOnop22qy6MYxI94GGunMMjo6D80I//2W/6pqKUfwXaDQtOfvHsTcVVzDu5cFXUTNrb9ZRfMCeol5YEd+9FJvg==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/canvas-linux-arm64-musl": { + "version": "0.1.74", + "resolved": "https://registry.npmmirror.com/@napi-rs/canvas-linux-arm64-musl/-/canvas-linux-arm64-musl-0.1.74.tgz", + "integrity": "sha512-tfFqLHGtSEabBigOnPUfZviSTGmW2xHv5tYZYPBWmgGiTkoNJ7lEWFUxHjwvV5HXGqLs8ok/O7g1enSpxO6lmQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/canvas-linux-riscv64-gnu": { + "version": "0.1.74", + "resolved": "https://registry.npmmirror.com/@napi-rs/canvas-linux-riscv64-gnu/-/canvas-linux-riscv64-gnu-0.1.74.tgz", + "integrity": "sha512-j6H9dHTMtr1y3tu/zGm1ythYIL9vTl4EEv9f6CMx0n3Zn2M+OruUUwh9ylCj4afzSNEK9T8cr6zMnmTPzkpBvQ==", + "cpu": [ + "riscv64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/canvas-linux-x64-gnu": { + "version": "0.1.74", + "resolved": "https://registry.npmmirror.com/@napi-rs/canvas-linux-x64-gnu/-/canvas-linux-x64-gnu-0.1.74.tgz", + "integrity": "sha512-73DIV4E7Y9CpIJuUXVl9H6+MEQXyRy4VJQoUGA1tOlcKQiStxqhq6UErL4decI28NxjyQXBhtYZKj5q8AJEuOg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/canvas-linux-x64-musl": { + "version": "0.1.74", + "resolved": "https://registry.npmmirror.com/@napi-rs/canvas-linux-x64-musl/-/canvas-linux-x64-musl-0.1.74.tgz", + "integrity": "sha512-FgDMEFdGIJT3I2xejflRJ82/ZgDphyirS43RgtoLaIXI6zihLiZcQ7rczpqeWgAwlJNjR0He2EustsKe1SkUOg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/canvas-win32-x64-msvc": { + "version": "0.1.74", + "resolved": "https://registry.npmmirror.com/@napi-rs/canvas-win32-x64-msvc/-/canvas-win32-x64-msvc-0.1.74.tgz", + "integrity": "sha512-x6bhwlhn0wU7dfiP46mt5Bi6PowSUH4CJ4PTzGj58LRQ1HVasEIJgoMx7MLC48F738eJpzbfg3WR/D8+e9CeTA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@oxlint/darwin-arm64": { + "version": "1.8.0", + "resolved": "https://registry.npmmirror.com/@oxlint/darwin-arm64/-/darwin-arm64-1.8.0.tgz", + "integrity": "sha512-1juYJF1xqRNkswzDSN1V44NoZ+O2Mkc9LjbkDB/UErb8dxTqFhCZC3CQR6Em55/tys1FtajXgK3B+ykWnY9HNQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@oxlint/darwin-x64": { + "version": "1.8.0", + "resolved": "https://registry.npmmirror.com/@oxlint/darwin-x64/-/darwin-x64-1.8.0.tgz", + "integrity": "sha512-5b7J/XE2eGhx3+vw6IFuuL0BbIF3wRzo4SWHVXN9rO3WYq2YpoHToY4C5WMWb8toVZcoJlx4Y1lq3IO2V78zTg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@oxlint/linux-arm64-gnu": { + "version": "1.8.0", + "resolved": "https://registry.npmmirror.com/@oxlint/linux-arm64-gnu/-/linux-arm64-gnu-1.8.0.tgz", + "integrity": "sha512-pzfk9IZBbYuIYn4sbT//Vox8B8e8hOZPkIQnNAdzhpGtRjV4NYOgNL5/h2QZC+ecmxl8H+Gi9WV6dyKjFrBtcw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@oxlint/linux-arm64-musl": { + "version": "1.8.0", + "resolved": "https://registry.npmmirror.com/@oxlint/linux-arm64-musl/-/linux-arm64-musl-1.8.0.tgz", + "integrity": "sha512-6rpaeAG271wbUNM+WeJhdvJDDMwfoenm7rPY304dxnC+fcuR8Q0LSv09dGeNWrsqjjZuDP9R10qR154nysBxFg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@oxlint/linux-x64-gnu": { + "version": "1.8.0", + "resolved": "https://registry.npmmirror.com/@oxlint/linux-x64-gnu/-/linux-x64-gnu-1.8.0.tgz", + "integrity": "sha512-qPEF8tKMu+63b58gPfwU3KyJf2z9KyorbrC0yGXFHQLzRPEtrh6bAjf+AzCs3n8WhDR1K6jPgcPT4Sp8bahCyQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@oxlint/linux-x64-musl": { + "version": "1.8.0", + "resolved": "https://registry.npmmirror.com/@oxlint/linux-x64-musl/-/linux-x64-musl-1.8.0.tgz", + "integrity": "sha512-JyErk/LsLg/tA3XkHhU8VIxahOdq56L99mbpMFGLTkOQgtnhY2MDAYULVgOuFFX3v6Q02o4mpIR/SwW/tRnZlg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@oxlint/win32-arm64": { + "version": "1.8.0", + "resolved": "https://registry.npmmirror.com/@oxlint/win32-arm64/-/win32-arm64-1.8.0.tgz", + "integrity": "sha512-QvhtDAU9bBdC2m5xO+ibKyMG4KZR44wB0vDbQ5YkQxJiuXrlleHLyz0+saFzVYQ/Fvc0QgIRTIwiVz9dzxidVw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@oxlint/win32-x64": { + "version": "1.8.0", + "resolved": "https://registry.npmmirror.com/@oxlint/win32-x64/-/win32-x64-1.8.0.tgz", + "integrity": "sha512-veXJXgF905UOvuxtmvzM328b4Itm8Fyu+lUq4PagXOmyRScevaVUXq6++ui3A/Gxd8yo0SHspHCbYkpuvJkXqQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@pkgr/core": { + "version": "0.2.9", + "resolved": "https://registry.npmmirror.com/@pkgr/core/-/core-0.2.9.tgz", + "integrity": "sha512-QNqXyfVS2wm9hweSYD2O7F0G06uurj9kZ96TRQE5Y9hU7+tgdZwIkbAKc5Ocy1HxEY2kuDQa6cQ1WRs/O5LFKA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/pkgr" + } + }, + "node_modules/@polka/url": { + "version": "1.0.0-next.29", + "resolved": "https://registry.npmmirror.com/@polka/url/-/url-1.0.0-next.29.tgz", + "integrity": "sha512-wwQAWhWSuHaag8c4q/KN/vCoeOJYshAIvMQwD4GpSb3OiZklFfvAgmj0VCBBImRpuF/aFgIRzllXlVX93Jevww==", + "dev": true, + "license": "MIT" + }, + "node_modules/@popperjs/core": { + "name": "@sxzz/popperjs-es", + "version": "2.11.7", + "resolved": "https://registry.npmmirror.com/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz", + "integrity": "sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/popperjs" + } + }, + "node_modules/@rolldown/pluginutils": { + "version": "1.0.0-beta.29", + "resolved": "https://registry.npmmirror.com/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.29.tgz", + "integrity": "sha512-NIJgOsMjbxAXvoGq/X0gD7VPMQ8j9g0BiDaNjVNVjvl+iKXxL3Jre0v31RmBYeLEmkbj2s02v8vFTbUXi5XS2Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.46.1", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.46.1.tgz", + "integrity": "sha512-oENme6QxtLCqjChRUUo3S6X8hjCXnWmJWnedD7VbGML5GUtaOtAyx+fEEXnBXVf0CBZApMQU0Idwi0FmyxzQhw==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-android-arm64": { + "version": "4.46.1", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.46.1.tgz", + "integrity": "sha512-OikvNT3qYTl9+4qQ9Bpn6+XHM+ogtFadRLuT2EXiFQMiNkXFLQfNVppi5o28wvYdHL2s3fM0D/MZJ8UkNFZWsw==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.46.1", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.46.1.tgz", + "integrity": "sha512-EFYNNGij2WllnzljQDQnlFTXzSJw87cpAs4TVBAWLdkvic5Uh5tISrIL6NRcxoh/b2EFBG/TK8hgRrGx94zD4A==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-darwin-x64": { + "version": "4.46.1", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.46.1.tgz", + "integrity": "sha512-ZaNH06O1KeTug9WI2+GRBE5Ujt9kZw4a1+OIwnBHal92I8PxSsl5KpsrPvthRynkhMck4XPdvY0z26Cym/b7oA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-freebsd-arm64": { + "version": "4.46.1", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.46.1.tgz", + "integrity": "sha512-n4SLVebZP8uUlJ2r04+g2U/xFeiQlw09Me5UFqny8HGbARl503LNH5CqFTb5U5jNxTouhRjai6qPT0CR5c/Iig==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-freebsd-x64": { + "version": "4.46.1", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.46.1.tgz", + "integrity": "sha512-8vu9c02F16heTqpvo3yeiu7Vi1REDEC/yES/dIfq3tSXe6mLndiwvYr3AAvd1tMNUqE9yeGYa5w7PRbI5QUV+w==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.46.1", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.46.1.tgz", + "integrity": "sha512-K4ncpWl7sQuyp6rWiGUvb6Q18ba8mzM0rjWJ5JgYKlIXAau1db7hZnR0ldJvqKWWJDxqzSLwGUhA4jp+KqgDtQ==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm-musleabihf": { + "version": "4.46.1", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.46.1.tgz", + "integrity": "sha512-YykPnXsjUjmXE6j6k2QBBGAn1YsJUix7pYaPLK3RVE0bQL2jfdbfykPxfF8AgBlqtYbfEnYHmLXNa6QETjdOjQ==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.46.1", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.46.1.tgz", + "integrity": "sha512-kKvqBGbZ8i9pCGW3a1FH3HNIVg49dXXTsChGFsHGXQaVJPLA4f/O+XmTxfklhccxdF5FefUn2hvkoGJH0ScWOA==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.46.1", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.46.1.tgz", + "integrity": "sha512-zzX5nTw1N1plmqC9RGC9vZHFuiM7ZP7oSWQGqpbmfjK7p947D518cVK1/MQudsBdcD84t6k70WNczJOct6+hdg==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-loongarch64-gnu": { + "version": "4.46.1", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.46.1.tgz", + "integrity": "sha512-O8CwgSBo6ewPpktFfSDgB6SJN9XDcPSvuwxfejiddbIC/hn9Tg6Ai0f0eYDf3XvB/+PIWzOQL+7+TZoB8p9Yuw==", + "cpu": [ + "loong64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-ppc64-gnu": { + "version": "4.46.1", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.46.1.tgz", + "integrity": "sha512-JnCfFVEKeq6G3h3z8e60kAp8Rd7QVnWCtPm7cxx+5OtP80g/3nmPtfdCXbVl063e3KsRnGSKDHUQMydmzc/wBA==", + "cpu": [ + "ppc64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-gnu": { + "version": "4.46.1", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.46.1.tgz", + "integrity": "sha512-dVxuDqS237eQXkbYzQQfdf/njgeNw6LZuVyEdUaWwRpKHhsLI+y4H/NJV8xJGU19vnOJCVwaBFgr936FHOnJsQ==", + "cpu": [ + "riscv64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-musl": { + "version": "4.46.1", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.46.1.tgz", + "integrity": "sha512-CvvgNl2hrZrTR9jXK1ye0Go0HQRT6ohQdDfWR47/KFKiLd5oN5T14jRdUVGF4tnsN8y9oSfMOqH6RuHh+ck8+w==", + "cpu": [ + "riscv64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-s390x-gnu": { + "version": "4.46.1", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.46.1.tgz", + "integrity": "sha512-x7ANt2VOg2565oGHJ6rIuuAon+A8sfe1IeUx25IKqi49OjSr/K3awoNqr9gCwGEJo9OuXlOn+H2p1VJKx1psxA==", + "cpu": [ + "s390x" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.46.1", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.46.1.tgz", + "integrity": "sha512-9OADZYryz/7E8/qt0vnaHQgmia2Y0wrjSSn1V/uL+zw/i7NUhxbX4cHXdEQ7dnJgzYDS81d8+tf6nbIdRFZQoQ==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.46.1", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.46.1.tgz", + "integrity": "sha512-NuvSCbXEKY+NGWHyivzbjSVJi68Xfq1VnIvGmsuXs6TCtveeoDRKutI5vf2ntmNnVq64Q4zInet0UDQ+yMB6tA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-win32-arm64-msvc": { + "version": "4.46.1", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.46.1.tgz", + "integrity": "sha512-mWz+6FSRb82xuUMMV1X3NGiaPFqbLN9aIueHleTZCc46cJvwTlvIh7reQLk4p97dv0nddyewBhwzryBHH7wtPw==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-ia32-msvc": { + "version": "4.46.1", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.46.1.tgz", + "integrity": "sha512-7Thzy9TMXDw9AU4f4vsLNBxh7/VOKuXi73VH3d/kHGr0tZ3x/ewgL9uC7ojUKmH1/zvmZe2tLapYcZllk3SO8Q==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-msvc": { + "version": "4.46.1", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.46.1.tgz", + "integrity": "sha512-7GVB4luhFmGUNXXJhH2jJwZCFB3pIOixv2E3s17GQHBFUOQaISlt7aGcQgqvCaDSxTZJUzlK/QJ1FN8S94MrzQ==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@sec-ant/readable-stream": { + "version": "0.4.1", + "resolved": "https://registry.npmmirror.com/@sec-ant/readable-stream/-/readable-stream-0.4.1.tgz", + "integrity": "sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@sindresorhus/merge-streams": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/@sindresorhus/merge-streams/-/merge-streams-4.0.0.tgz", + "integrity": "sha512-tlqY9xq5ukxTUZBmoOp+m61cqwQD5pHJtFY3Mn8CA8ps6yghLH/Hw8UPdqg4OLmFW3IFlcXnQNmo/dh8HzXYIQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@tailwindcss/forms": { + "version": "0.5.10", + "resolved": "https://registry.npmmirror.com/@tailwindcss/forms/-/forms-0.5.10.tgz", + "integrity": "sha512-utI1ONF6uf/pPNO68kmN1b8rEwNXv3czukalo8VtJH8ksIkZXr3Q3VYudZLkCsDd4Wku120uF02hYK25XGPorw==", + "dev": true, + "license": "MIT", + "dependencies": { + "mini-svg-data-uri": "^1.2.3" + }, + "peerDependencies": { + "tailwindcss": ">=3.0.0 || >= 3.0.0-alpha.1 || >= 4.0.0-alpha.20 || >= 4.0.0-beta.1" + } + }, + "node_modules/@tailwindcss/node": { + "version": "4.1.11", + "resolved": "https://registry.npmmirror.com/@tailwindcss/node/-/node-4.1.11.tgz", + "integrity": "sha512-yzhzuGRmv5QyU9qLNg4GTlYI6STedBWRE7NjxP45CsFYYq9taI0zJXZBMqIC/c8fViNLhmrbpSFS57EoxUmD6Q==", + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "^2.3.0", + "enhanced-resolve": "^5.18.1", + "jiti": "^2.4.2", + "lightningcss": "1.30.1", + "magic-string": "^0.30.17", + "source-map-js": "^1.2.1", + "tailwindcss": "4.1.11" + } + }, + "node_modules/@tailwindcss/oxide": { + "version": "4.1.11", + "resolved": "https://registry.npmmirror.com/@tailwindcss/oxide/-/oxide-4.1.11.tgz", + "integrity": "sha512-Q69XzrtAhuyfHo+5/HMgr1lAiPP/G40OMFAnws7xcFEYqcypZmdW8eGXaOUIeOl1dzPJBPENXgbjsOyhg2nkrg==", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "detect-libc": "^2.0.4", + "tar": "^7.4.3" + }, + "engines": { + "node": ">= 10" + }, + "optionalDependencies": { + "@tailwindcss/oxide-android-arm64": "4.1.11", + "@tailwindcss/oxide-darwin-arm64": "4.1.11", + "@tailwindcss/oxide-darwin-x64": "4.1.11", + "@tailwindcss/oxide-freebsd-x64": "4.1.11", + "@tailwindcss/oxide-linux-arm-gnueabihf": "4.1.11", + "@tailwindcss/oxide-linux-arm64-gnu": "4.1.11", + "@tailwindcss/oxide-linux-arm64-musl": "4.1.11", + "@tailwindcss/oxide-linux-x64-gnu": "4.1.11", + "@tailwindcss/oxide-linux-x64-musl": "4.1.11", + "@tailwindcss/oxide-wasm32-wasi": "4.1.11", + "@tailwindcss/oxide-win32-arm64-msvc": "4.1.11", + "@tailwindcss/oxide-win32-x64-msvc": "4.1.11" + } + }, + "node_modules/@tailwindcss/oxide-android-arm64": { + "version": "4.1.11", + "resolved": "https://registry.npmmirror.com/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.1.11.tgz", + "integrity": "sha512-3IfFuATVRUMZZprEIx9OGDjG3Ou3jG4xQzNTvjDoKmU9JdmoCohQJ83MYd0GPnQIu89YoJqvMM0G3uqLRFtetg==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tailwindcss/oxide-darwin-arm64": { + "version": "4.1.11", + "resolved": "https://registry.npmmirror.com/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.1.11.tgz", + "integrity": "sha512-ESgStEOEsyg8J5YcMb1xl8WFOXfeBmrhAwGsFxxB2CxY9evy63+AtpbDLAyRkJnxLy2WsD1qF13E97uQyP1lfQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tailwindcss/oxide-darwin-x64": { + "version": "4.1.11", + "resolved": "https://registry.npmmirror.com/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.1.11.tgz", + "integrity": "sha512-EgnK8kRchgmgzG6jE10UQNaH9Mwi2n+yw1jWmof9Vyg2lpKNX2ioe7CJdf9M5f8V9uaQxInenZkOxnTVL3fhAw==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tailwindcss/oxide-freebsd-x64": { + "version": "4.1.11", + "resolved": "https://registry.npmmirror.com/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.1.11.tgz", + "integrity": "sha512-xdqKtbpHs7pQhIKmqVpxStnY1skuNh4CtbcyOHeX1YBE0hArj2romsFGb6yUmzkq/6M24nkxDqU8GYrKrz+UcA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": { + "version": "4.1.11", + "resolved": "https://registry.npmmirror.com/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.1.11.tgz", + "integrity": "sha512-ryHQK2eyDYYMwB5wZL46uoxz2zzDZsFBwfjssgB7pzytAeCCa6glsiJGjhTEddq/4OsIjsLNMAiMlHNYnkEEeg==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tailwindcss/oxide-linux-arm64-gnu": { + "version": "4.1.11", + "resolved": "https://registry.npmmirror.com/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.1.11.tgz", + "integrity": "sha512-mYwqheq4BXF83j/w75ewkPJmPZIqqP1nhoghS9D57CLjsh3Nfq0m4ftTotRYtGnZd3eCztgbSPJ9QhfC91gDZQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tailwindcss/oxide-linux-arm64-musl": { + "version": "4.1.11", + "resolved": "https://registry.npmmirror.com/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.1.11.tgz", + "integrity": "sha512-m/NVRFNGlEHJrNVk3O6I9ggVuNjXHIPoD6bqay/pubtYC9QIdAMpS+cswZQPBLvVvEF6GtSNONbDkZrjWZXYNQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tailwindcss/oxide-linux-x64-gnu": { + "version": "4.1.11", + "resolved": "https://registry.npmmirror.com/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.1.11.tgz", + "integrity": "sha512-YW6sblI7xukSD2TdbbaeQVDysIm/UPJtObHJHKxDEcW2exAtY47j52f8jZXkqE1krdnkhCMGqP3dbniu1Te2Fg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tailwindcss/oxide-linux-x64-musl": { + "version": "4.1.11", + "resolved": "https://registry.npmmirror.com/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.1.11.tgz", + "integrity": "sha512-e3C/RRhGunWYNC3aSF7exsQkdXzQ/M+aYuZHKnw4U7KQwTJotnWsGOIVih0s2qQzmEzOFIJ3+xt7iq67K/p56Q==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tailwindcss/oxide-wasm32-wasi": { + "version": "4.1.11", + "resolved": "https://registry.npmmirror.com/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.1.11.tgz", + "integrity": "sha512-Xo1+/GU0JEN/C/dvcammKHzeM6NqKovG+6921MR6oadee5XPBaKOumrJCXvopJ/Qb5TH7LX/UAywbqrP4lax0g==", + "bundleDependencies": [ + "@napi-rs/wasm-runtime", + "@emnapi/core", + "@emnapi/runtime", + "@tybys/wasm-util", + "@emnapi/wasi-threads", + "tslib" + ], + "cpu": [ + "wasm32" + ], + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/core": "^1.4.3", + "@emnapi/runtime": "^1.4.3", + "@emnapi/wasi-threads": "^1.0.2", + "@napi-rs/wasm-runtime": "^0.2.11", + "@tybys/wasm-util": "^0.9.0", + "tslib": "^2.8.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@tailwindcss/oxide-win32-arm64-msvc": { + "version": "4.1.11", + "resolved": "https://registry.npmmirror.com/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.1.11.tgz", + "integrity": "sha512-UgKYx5PwEKrac3GPNPf6HVMNhUIGuUh4wlDFR2jYYdkX6pL/rn73zTq/4pzUm8fOjAn5L8zDeHp9iXmUGOXZ+w==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tailwindcss/oxide-win32-x64-msvc": { + "version": "4.1.11", + "resolved": "https://registry.npmmirror.com/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.1.11.tgz", + "integrity": "sha512-YfHoggn1j0LK7wR82TOucWc5LDCguHnoS879idHekmmiR7g9HUtMw9MI0NHatS28u/Xlkfi9w5RJWgz2Dl+5Qg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tailwindcss/typography": { + "version": "0.5.16", + "resolved": "https://registry.npmmirror.com/@tailwindcss/typography/-/typography-0.5.16.tgz", + "integrity": "sha512-0wDLwCVF5V3x3b1SGXPCDcdsbDHMBe+lkFzBRaHeLvNi+nrrnZ1lA18u+OTWO8iSWU2GxUOCvlXtDuqftc1oiA==", + "dev": true, + "license": "MIT", + "dependencies": { + "lodash.castarray": "^4.4.0", + "lodash.isplainobject": "^4.0.6", + "lodash.merge": "^4.6.2", + "postcss-selector-parser": "6.0.10" + }, + "peerDependencies": { + "tailwindcss": ">=3.0.0 || insiders || >=4.0.0-alpha.20 || >=4.0.0-beta.1" + } + }, + "node_modules/@tailwindcss/vite": { + "version": "4.1.11", + "resolved": "https://registry.npmmirror.com/@tailwindcss/vite/-/vite-4.1.11.tgz", + "integrity": "sha512-RHYhrR3hku0MJFRV+fN2gNbDNEh3dwKvY8XJvTxCSXeMOsCRSr+uKvDWQcbizrHgjML6ZmTE5OwMrl5wKcujCw==", + "license": "MIT", + "dependencies": { + "@tailwindcss/node": "4.1.11", + "@tailwindcss/oxide": "4.1.11", + "tailwindcss": "4.1.11" + }, + "peerDependencies": { + "vite": "^5.2.0 || ^6 || ^7" + } + }, + "node_modules/@tinymce/tinymce-vue": { + "version": "6.3.0", + "resolved": "https://registry.npmmirror.com/@tinymce/tinymce-vue/-/tinymce-vue-6.3.0.tgz", + "integrity": "sha512-DSP8Jhd3XqCCliTnusfbmz3D8GqQ4iRzkc4aadYHDcJPVjkaqopJ61McOdH82CSy599vGLkPjGzqJYWJkRMiUA==", + "license": "MIT", + "peerDependencies": { + "tinymce": "^8.0.0 || ^7.0.0 || ^6.0.0 || ^5.5.1", + "vue": "^3.0.0" + }, + "peerDependenciesMeta": { + "tinymce": { + "optional": true + } + } + }, + "node_modules/@transloadit/prettier-bytes": { + "version": "0.0.7", + "resolved": "https://registry.npmmirror.com/@transloadit/prettier-bytes/-/prettier-bytes-0.0.7.tgz", + "integrity": "sha512-VeJbUb0wEKbcwaSlj5n+LscBl9IPgLPkHVGBkh00cztv6X4L/TJXK58LzFuBKX7/GAfiGhIwH67YTLTlzvIzBA==", + "license": "MIT" + }, + "node_modules/@types/estree": { + "version": "1.0.8", + "resolved": "https://registry.npmmirror.com/@types/estree/-/estree-1.0.8.tgz", + "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==", + "license": "MIT" + }, + "node_modules/@types/event-emitter": { + "version": "0.3.5", + "resolved": "https://registry.npmmirror.com/@types/event-emitter/-/event-emitter-0.3.5.tgz", + "integrity": "sha512-zx2/Gg0Eg7gwEiOIIh5w9TrhKKTeQh7CPCOPNc0el4pLSwzebA8SmnHwZs2dWlLONvyulykSwGSQxQHLhjGLvQ==", + "license": "MIT" + }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmmirror.com/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/lodash": { + "version": "4.17.20", + "resolved": "https://registry.npmmirror.com/@types/lodash/-/lodash-4.17.20.tgz", + "integrity": "sha512-H3MHACvFUEiujabxhaI/ImO6gUrd8oOurg7LQtS7mbwIXA/cUqWrvBsaeJ23aZEPk1TAYkurjfMbSELfoCXlGA==", + "license": "MIT" + }, + "node_modules/@types/lodash-es": { + "version": "4.17.12", + "resolved": "https://registry.npmmirror.com/@types/lodash-es/-/lodash-es-4.17.12.tgz", + "integrity": "sha512-0NgftHUcV4v34VhXm8QBSftKVXtbkBG3ViCjs6+eJ5a6y6Mi/jiFGPc1sC7QK+9BFhWrURE3EOggmWaSxL9OzQ==", + "license": "MIT", + "dependencies": { + "@types/lodash": "*" + } + }, + "node_modules/@types/web-bluetooth": { + "version": "0.0.21", + "resolved": "https://registry.npmmirror.com/@types/web-bluetooth/-/web-bluetooth-0.0.21.tgz", + "integrity": "sha512-oIQLCGWtcFZy2JW77j9k8nHzAOpqMHLQejDA48XXMWH6tjCQHz5RCFz1bzsmROyL6PUm+LLnUiI4BCn221inxA==", + "license": "MIT" + }, + "node_modules/@uppy/companion-client": { + "version": "2.2.2", + "resolved": "https://registry.npmmirror.com/@uppy/companion-client/-/companion-client-2.2.2.tgz", + "integrity": "sha512-5mTp2iq97/mYSisMaBtFRry6PTgZA6SIL7LePteOV5x0/DxKfrZW3DEiQERJmYpHzy7k8johpm2gHnEKto56Og==", + "license": "MIT", + "dependencies": { + "@uppy/utils": "^4.1.2", + "namespace-emitter": "^2.0.1" + } + }, + "node_modules/@uppy/core": { + "version": "2.3.4", + "resolved": "https://registry.npmmirror.com/@uppy/core/-/core-2.3.4.tgz", + "integrity": "sha512-iWAqppC8FD8mMVqewavCz+TNaet6HPXitmGXpGGREGrakZ4FeuWytVdrelydzTdXx6vVKkOmI2FLztGg73sENQ==", + "license": "MIT", + "dependencies": { + "@transloadit/prettier-bytes": "0.0.7", + "@uppy/store-default": "^2.1.1", + "@uppy/utils": "^4.1.3", + "lodash.throttle": "^4.1.1", + "mime-match": "^1.0.2", + "namespace-emitter": "^2.0.1", + "nanoid": "^3.1.25", + "preact": "^10.5.13" + } + }, + "node_modules/@uppy/store-default": { + "version": "2.1.1", + "resolved": "https://registry.npmmirror.com/@uppy/store-default/-/store-default-2.1.1.tgz", + "integrity": "sha512-xnpTxvot2SeAwGwbvmJ899ASk5tYXhmZzD/aCFsXePh/v8rNvR2pKlcQUH7cF/y4baUGq3FHO/daKCok/mpKqQ==", + "license": "MIT" + }, + "node_modules/@uppy/utils": { + "version": "4.1.3", + "resolved": "https://registry.npmmirror.com/@uppy/utils/-/utils-4.1.3.tgz", + "integrity": "sha512-nTuMvwWYobnJcytDO3t+D6IkVq/Qs4Xv3vyoEZ+Iaf8gegZP+rEyoaFT2CK5XLRMienPyqRqNbIfRuFaOWSIFw==", + "license": "MIT", + "dependencies": { + "lodash.throttle": "^4.1.1" + } + }, + "node_modules/@uppy/xhr-upload": { + "version": "2.1.3", + "resolved": "https://registry.npmmirror.com/@uppy/xhr-upload/-/xhr-upload-2.1.3.tgz", + "integrity": "sha512-YWOQ6myBVPs+mhNjfdWsQyMRWUlrDLMoaG7nvf/G6Y3GKZf8AyjFDjvvJ49XWQ+DaZOftGkHmF1uh/DBeGivJQ==", + "license": "MIT", + "dependencies": { + "@uppy/companion-client": "^2.2.2", + "@uppy/utils": "^4.1.2", + "nanoid": "^3.1.25" + }, + "peerDependencies": { + "@uppy/core": "^2.3.3" + } + }, + "node_modules/@vitejs/plugin-vue": { + "version": "6.0.1", + "resolved": "https://registry.npmmirror.com/@vitejs/plugin-vue/-/plugin-vue-6.0.1.tgz", + "integrity": "sha512-+MaE752hU0wfPFJEUAIxqw18+20euHHdxVtMvbFcOEpjEyfqXH/5DCoTHiVJ0J29EhTJdoTkjEv5YBKU9dnoTw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@rolldown/pluginutils": "1.0.0-beta.29" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "peerDependencies": { + "vite": "^5.0.0 || ^6.0.0 || ^7.0.0", + "vue": "^3.2.25" + } + }, + "node_modules/@vue/babel-helper-vue-transform-on": { + "version": "1.4.0", + "resolved": "https://registry.npmmirror.com/@vue/babel-helper-vue-transform-on/-/babel-helper-vue-transform-on-1.4.0.tgz", + "integrity": "sha512-mCokbouEQ/ocRce/FpKCRItGo+013tHg7tixg3DUNS+6bmIchPt66012kBMm476vyEIJPafrvOf4E5OYj3shSw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@vue/babel-plugin-jsx": { + "version": "1.4.0", + "resolved": "https://registry.npmmirror.com/@vue/babel-plugin-jsx/-/babel-plugin-jsx-1.4.0.tgz", + "integrity": "sha512-9zAHmwgMWlaN6qRKdrg1uKsBKHvnUU+Py+MOCTuYZBoZsopa90Di10QRjB+YPnVss0BZbG/H5XFwJY1fTxJWhA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.25.9", + "@babel/helper-plugin-utils": "^7.26.5", + "@babel/plugin-syntax-jsx": "^7.25.9", + "@babel/template": "^7.26.9", + "@babel/traverse": "^7.26.9", + "@babel/types": "^7.26.9", + "@vue/babel-helper-vue-transform-on": "1.4.0", + "@vue/babel-plugin-resolve-type": "1.4.0", + "@vue/shared": "^3.5.13" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + }, + "peerDependenciesMeta": { + "@babel/core": { + "optional": true + } + } + }, + "node_modules/@vue/babel-plugin-resolve-type": { + "version": "1.4.0", + "resolved": "https://registry.npmmirror.com/@vue/babel-plugin-resolve-type/-/babel-plugin-resolve-type-1.4.0.tgz", + "integrity": "sha512-4xqDRRbQQEWHQyjlYSgZsWj44KfiF6D+ktCuXyZ8EnVDYV3pztmXJDf1HveAjUAXxAnR8daCQT51RneWWxtTyQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.26.2", + "@babel/helper-module-imports": "^7.25.9", + "@babel/helper-plugin-utils": "^7.26.5", + "@babel/parser": "^7.26.9", + "@vue/compiler-sfc": "^3.5.13" + }, + "funding": { + "url": "https://github.com/sponsors/sxzz" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@vue/compiler-core": { + "version": "3.5.18", + "resolved": "https://registry.npmmirror.com/@vue/compiler-core/-/compiler-core-3.5.18.tgz", + "integrity": "sha512-3slwjQrrV1TO8MoXgy3aynDQ7lslj5UqDxuHnrzHtpON5CBinhWjJETciPngpin/T3OuW3tXUf86tEurusnztw==", + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.28.0", + "@vue/shared": "3.5.18", + "entities": "^4.5.0", + "estree-walker": "^2.0.2", + "source-map-js": "^1.2.1" + } + }, + "node_modules/@vue/compiler-core/node_modules/estree-walker": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/estree-walker/-/estree-walker-2.0.2.tgz", + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", + "license": "MIT" + }, + "node_modules/@vue/compiler-dom": { + "version": "3.5.18", + "resolved": "https://registry.npmmirror.com/@vue/compiler-dom/-/compiler-dom-3.5.18.tgz", + "integrity": "sha512-RMbU6NTU70++B1JyVJbNbeFkK+A+Q7y9XKE2EM4NLGm2WFR8x9MbAtWxPPLdm0wUkuZv9trpwfSlL6tjdIa1+A==", + "license": "MIT", + "dependencies": { + "@vue/compiler-core": "3.5.18", + "@vue/shared": "3.5.18" + } + }, + "node_modules/@vue/compiler-sfc": { + "version": "3.5.18", + "resolved": "https://registry.npmmirror.com/@vue/compiler-sfc/-/compiler-sfc-3.5.18.tgz", + "integrity": "sha512-5aBjvGqsWs+MoxswZPoTB9nSDb3dhd1x30xrrltKujlCxo48j8HGDNj3QPhF4VIS0VQDUrA1xUfp2hEa+FNyXA==", + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.28.0", + "@vue/compiler-core": "3.5.18", + "@vue/compiler-dom": "3.5.18", + "@vue/compiler-ssr": "3.5.18", + "@vue/shared": "3.5.18", + "estree-walker": "^2.0.2", + "magic-string": "^0.30.17", + "postcss": "^8.5.6", + "source-map-js": "^1.2.1" + } + }, + "node_modules/@vue/compiler-sfc/node_modules/estree-walker": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/estree-walker/-/estree-walker-2.0.2.tgz", + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", + "license": "MIT" + }, + "node_modules/@vue/compiler-ssr": { + "version": "3.5.18", + "resolved": "https://registry.npmmirror.com/@vue/compiler-ssr/-/compiler-ssr-3.5.18.tgz", + "integrity": "sha512-xM16Ak7rSWHkM3m22NlmcdIM+K4BMyFARAfV9hYFl+SFuRzrZ3uGMNW05kA5pmeMa0X9X963Kgou7ufdbpOP9g==", + "license": "MIT", + "dependencies": { + "@vue/compiler-dom": "3.5.18", + "@vue/shared": "3.5.18" + } + }, + "node_modules/@vue/devtools-api": { + "version": "7.7.7", + "resolved": "https://registry.npmmirror.com/@vue/devtools-api/-/devtools-api-7.7.7.tgz", + "integrity": "sha512-lwOnNBH2e7x1fIIbVT7yF5D+YWhqELm55/4ZKf45R9T8r9dE2AIOy8HKjfqzGsoTHFbWbr337O4E0A0QADnjBg==", + "license": "MIT", + "dependencies": { + "@vue/devtools-kit": "^7.7.7" + } + }, + "node_modules/@vue/devtools-core": { + "version": "8.0.0", + "resolved": "https://registry.npmmirror.com/@vue/devtools-core/-/devtools-core-8.0.0.tgz", + "integrity": "sha512-5bPtF0jAFnaGs4C/4+3vGRR5U+cf6Y8UWK0nJflutEDGepHxl5L9JRaPdHQYCUgrzUaf4cY4waNBEEGXrfcs3A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vue/devtools-kit": "^8.0.0", + "@vue/devtools-shared": "^8.0.0", + "mitt": "^3.0.1", + "nanoid": "^5.1.5", + "pathe": "^2.0.3", + "vite-hot-client": "^2.1.0" + }, + "peerDependencies": { + "vue": "^3.0.0" + } + }, + "node_modules/@vue/devtools-core/node_modules/@vue/devtools-kit": { + "version": "8.0.0", + "resolved": "https://registry.npmmirror.com/@vue/devtools-kit/-/devtools-kit-8.0.0.tgz", + "integrity": "sha512-b11OeQODkE0bctdT0RhL684pEV2DPXJ80bjpywVCbFn1PxuL3bmMPDoJKjbMnnoWbrnUYXYzFfmMWBZAMhORkQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vue/devtools-shared": "^8.0.0", + "birpc": "^2.5.0", + "hookable": "^5.5.3", + "mitt": "^3.0.1", + "perfect-debounce": "^1.0.0", + "speakingurl": "^14.0.1", + "superjson": "^2.2.2" + } + }, + "node_modules/@vue/devtools-core/node_modules/@vue/devtools-shared": { + "version": "8.0.0", + "resolved": "https://registry.npmmirror.com/@vue/devtools-shared/-/devtools-shared-8.0.0.tgz", + "integrity": "sha512-jrKnbjshQCiOAJanoeJjTU7WaCg0Dz2BUal6SaR6VM/P3hiFdX5Q6Pxl73ZMnrhCxNK9nAg5hvvRGqs+6dtU1g==", + "dev": true, + "license": "MIT", + "dependencies": { + "rfdc": "^1.4.1" + } + }, + "node_modules/@vue/devtools-core/node_modules/nanoid": { + "version": "5.1.5", + "resolved": "https://registry.npmmirror.com/nanoid/-/nanoid-5.1.5.tgz", + "integrity": "sha512-Ir/+ZpE9fDsNH0hQ3C68uyThDXzYcim2EqcZ8zn8Chtt1iylPT9xXJB0kPCnqzgcEGikO9RxSrh63MsmVCU7Fw==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.js" + }, + "engines": { + "node": "^18 || >=20" + } + }, + "node_modules/@vue/devtools-kit": { + "version": "7.7.7", + "resolved": "https://registry.npmmirror.com/@vue/devtools-kit/-/devtools-kit-7.7.7.tgz", + "integrity": "sha512-wgoZtxcTta65cnZ1Q6MbAfePVFxfM+gq0saaeytoph7nEa7yMXoi6sCPy4ufO111B9msnw0VOWjPEFCXuAKRHA==", + "license": "MIT", + "dependencies": { + "@vue/devtools-shared": "^7.7.7", + "birpc": "^2.3.0", + "hookable": "^5.5.3", + "mitt": "^3.0.1", + "perfect-debounce": "^1.0.0", + "speakingurl": "^14.0.1", + "superjson": "^2.2.2" + } + }, + "node_modules/@vue/devtools-shared": { + "version": "7.7.7", + "resolved": "https://registry.npmmirror.com/@vue/devtools-shared/-/devtools-shared-7.7.7.tgz", + "integrity": "sha512-+udSj47aRl5aKb0memBvcUG9koarqnxNM5yjuREvqwK6T3ap4mn3Zqqc17QrBFTqSMjr3HK1cvStEZpMDpfdyw==", + "license": "MIT", + "dependencies": { + "rfdc": "^1.4.1" + } + }, + "node_modules/@vue/eslint-config-prettier": { + "version": "10.2.0", + "resolved": "https://registry.npmmirror.com/@vue/eslint-config-prettier/-/eslint-config-prettier-10.2.0.tgz", + "integrity": "sha512-GL3YBLwv/+b86yHcNNfPJxOTtVFJ4Mbc9UU3zR+KVoG7SwGTjPT+32fXamscNumElhcpXW3mT0DgzS9w32S7Bw==", + "dev": true, + "license": "MIT", + "dependencies": { + "eslint-config-prettier": "^10.0.1", + "eslint-plugin-prettier": "^5.2.2" + }, + "peerDependencies": { + "eslint": ">= 8.21.0", + "prettier": ">= 3.0.0" + } + }, + "node_modules/@vue/reactivity": { + "version": "3.5.18", + "resolved": "https://registry.npmmirror.com/@vue/reactivity/-/reactivity-3.5.18.tgz", + "integrity": "sha512-x0vPO5Imw+3sChLM5Y+B6G1zPjwdOri9e8V21NnTnlEvkxatHEH5B5KEAJcjuzQ7BsjGrKtfzuQ5eQwXh8HXBg==", + "license": "MIT", + "dependencies": { + "@vue/shared": "3.5.18" + } + }, + "node_modules/@vue/runtime-core": { + "version": "3.5.18", + "resolved": "https://registry.npmmirror.com/@vue/runtime-core/-/runtime-core-3.5.18.tgz", + "integrity": "sha512-DUpHa1HpeOQEt6+3nheUfqVXRog2kivkXHUhoqJiKR33SO4x+a5uNOMkV487WPerQkL0vUuRvq/7JhRgLW3S+w==", + "license": "MIT", + "dependencies": { + "@vue/reactivity": "3.5.18", + "@vue/shared": "3.5.18" + } + }, + "node_modules/@vue/runtime-dom": { + "version": "3.5.18", + "resolved": "https://registry.npmmirror.com/@vue/runtime-dom/-/runtime-dom-3.5.18.tgz", + "integrity": "sha512-YwDj71iV05j4RnzZnZtGaXwPoUWeRsqinblgVJwR8XTXYZ9D5PbahHQgsbmzUvCWNF6x7siQ89HgnX5eWkr3mw==", + "license": "MIT", + "dependencies": { + "@vue/reactivity": "3.5.18", + "@vue/runtime-core": "3.5.18", + "@vue/shared": "3.5.18", + "csstype": "^3.1.3" + } + }, + "node_modules/@vue/server-renderer": { + "version": "3.5.18", + "resolved": "https://registry.npmmirror.com/@vue/server-renderer/-/server-renderer-3.5.18.tgz", + "integrity": "sha512-PvIHLUoWgSbDG7zLHqSqaCoZvHi6NNmfVFOqO+OnwvqMz/tqQr3FuGWS8ufluNddk7ZLBJYMrjcw1c6XzR12mA==", + "license": "MIT", + "dependencies": { + "@vue/compiler-ssr": "3.5.18", + "@vue/shared": "3.5.18" + }, + "peerDependencies": { + "vue": "3.5.18" + } + }, + "node_modules/@vue/shared": { + "version": "3.5.18", + "resolved": "https://registry.npmmirror.com/@vue/shared/-/shared-3.5.18.tgz", + "integrity": "sha512-cZy8Dq+uuIXbxCZpuLd2GJdeSO/lIzIspC2WtkqIpje5QyFbvLaI5wZtdUjLHjGZrlVX6GilejatWwVYYRc8tA==", + "license": "MIT" + }, + "node_modules/@vueuse/core": { + "version": "13.5.0", + "resolved": "https://registry.npmmirror.com/@vueuse/core/-/core-13.5.0.tgz", + "integrity": "sha512-wV7z0eUpifKmvmN78UBZX8T7lMW53Nrk6JP5+6hbzrB9+cJ3jr//hUlhl9TZO/03bUkMK6gGkQpqOPWoabr72g==", + "license": "MIT", + "dependencies": { + "@types/web-bluetooth": "^0.0.21", + "@vueuse/metadata": "13.5.0", + "@vueuse/shared": "13.5.0" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + }, + "peerDependencies": { + "vue": "^3.5.0" + } + }, + "node_modules/@vueuse/metadata": { + "version": "13.5.0", + "resolved": "https://registry.npmmirror.com/@vueuse/metadata/-/metadata-13.5.0.tgz", + "integrity": "sha512-euhItU3b0SqXxSy8u1XHxUCdQ8M++bsRs+TYhOLDU/OykS7KvJnyIFfep0XM5WjIFry9uAPlVSjmVHiqeshmkw==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, + "node_modules/@vueuse/shared": { + "version": "13.5.0", + "resolved": "https://registry.npmmirror.com/@vueuse/shared/-/shared-13.5.0.tgz", + "integrity": "sha512-K7GrQIxJ/ANtucxIXbQlUHdB0TPA8c+q5i+zbrjxuhJCnJ9GtBg75sBSnvmLSxHKPg2Yo8w62PWksl9kwH0Q8g==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/antfu" + }, + "peerDependencies": { + "vue": "^3.5.0" + } + }, + "node_modules/@wangeditor/basic-modules": { + "version": "1.1.7", + "resolved": "https://registry.npmmirror.com/@wangeditor/basic-modules/-/basic-modules-1.1.7.tgz", + "integrity": "sha512-cY9CPkLJaqF05STqfpZKWG4LpxTMeGSIIF1fHvfm/mz+JXatCagjdkbxdikOuKYlxDdeqvOeBmsUBItufDLXZg==", + "license": "MIT", + "dependencies": { + "is-url": "^1.2.4" + }, + "peerDependencies": { + "@wangeditor/core": "1.x", + "dom7": "^3.0.0", + "lodash.throttle": "^4.1.1", + "nanoid": "^3.2.0", + "slate": "^0.72.0", + "snabbdom": "^3.1.0" + } + }, + "node_modules/@wangeditor/code-highlight": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/@wangeditor/code-highlight/-/code-highlight-1.0.3.tgz", + "integrity": "sha512-iazHwO14XpCuIWJNTQTikqUhGKyqj+dUNWJ9288Oym9M2xMVHvnsOmDU2sgUDWVy+pOLojReMPgXCsvvNlOOhw==", + "license": "MIT", + "dependencies": { + "prismjs": "^1.23.0" + }, + "peerDependencies": { + "@wangeditor/core": "1.x", + "dom7": "^3.0.0", + "slate": "^0.72.0", + "snabbdom": "^3.1.0" + } + }, + "node_modules/@wangeditor/core": { + "version": "1.1.19", + "resolved": "https://registry.npmmirror.com/@wangeditor/core/-/core-1.1.19.tgz", + "integrity": "sha512-KevkB47+7GhVszyYF2pKGKtCSj/YzmClsD03C3zTt+9SR2XWT5T0e3yQqg8baZpcMvkjs1D8Dv4fk8ok/UaS2Q==", + "license": "MIT", + "dependencies": { + "@types/event-emitter": "^0.3.3", + "event-emitter": "^0.3.5", + "html-void-elements": "^2.0.0", + "i18next": "^20.4.0", + "scroll-into-view-if-needed": "^2.2.28", + "slate-history": "^0.66.0" + }, + "peerDependencies": { + "@uppy/core": "^2.1.1", + "@uppy/xhr-upload": "^2.0.3", + "dom7": "^3.0.0", + "is-hotkey": "^0.2.0", + "lodash.camelcase": "^4.3.0", + "lodash.clonedeep": "^4.5.0", + "lodash.debounce": "^4.0.8", + "lodash.foreach": "^4.5.0", + "lodash.isequal": "^4.5.0", + "lodash.throttle": "^4.1.1", + "lodash.toarray": "^4.4.0", + "nanoid": "^3.2.0", + "slate": "^0.72.0", + "snabbdom": "^3.1.0" + } + }, + "node_modules/@wangeditor/editor": { + "version": "5.1.23", + "resolved": "https://registry.npmmirror.com/@wangeditor/editor/-/editor-5.1.23.tgz", + "integrity": "sha512-0RxfeVTuK1tktUaPROnCoFfaHVJpRAIE2zdS0mpP+vq1axVQpLjM8+fCvKzqYIkH0Pg+C+44hJpe3VVroSkEuQ==", + "license": "MIT", + "dependencies": { + "@uppy/core": "^2.1.1", + "@uppy/xhr-upload": "^2.0.3", + "@wangeditor/basic-modules": "^1.1.7", + "@wangeditor/code-highlight": "^1.0.3", + "@wangeditor/core": "^1.1.19", + "@wangeditor/list-module": "^1.0.5", + "@wangeditor/table-module": "^1.1.4", + "@wangeditor/upload-image-module": "^1.0.2", + "@wangeditor/video-module": "^1.1.4", + "dom7": "^3.0.0", + "is-hotkey": "^0.2.0", + "lodash.camelcase": "^4.3.0", + "lodash.clonedeep": "^4.5.0", + "lodash.debounce": "^4.0.8", + "lodash.foreach": "^4.5.0", + "lodash.isequal": "^4.5.0", + "lodash.throttle": "^4.1.1", + "lodash.toarray": "^4.4.0", + "nanoid": "^3.2.0", + "slate": "^0.72.0", + "snabbdom": "^3.1.0" + } + }, + "node_modules/@wangeditor/editor-for-vue": { + "version": "5.1.12", + "resolved": "https://registry.npmmirror.com/@wangeditor/editor-for-vue/-/editor-for-vue-5.1.12.tgz", + "integrity": "sha512-0Ds3D8I+xnpNWezAeO7HmPRgTfUxHLMd9JKcIw+QzvSmhC5xUHbpCcLU+KLmeBKTR/zffnS5GQo6qi3GhTMJWQ==", + "license": "MIT", + "peerDependencies": { + "@wangeditor/editor": ">=5.1.0", + "vue": "^3.0.5" + } + }, + "node_modules/@wangeditor/list-module": { + "version": "1.0.5", + "resolved": "https://registry.npmmirror.com/@wangeditor/list-module/-/list-module-1.0.5.tgz", + "integrity": "sha512-uDuYTP6DVhcYf7mF1pTlmNn5jOb4QtcVhYwSSAkyg09zqxI1qBqsfUnveeDeDqIuptSJhkh81cyxi+MF8sEPOQ==", + "license": "MIT", + "peerDependencies": { + "@wangeditor/core": "1.x", + "dom7": "^3.0.0", + "slate": "^0.72.0", + "snabbdom": "^3.1.0" + } + }, + "node_modules/@wangeditor/table-module": { + "version": "1.1.4", + "resolved": "https://registry.npmmirror.com/@wangeditor/table-module/-/table-module-1.1.4.tgz", + "integrity": "sha512-5saanU9xuEocxaemGdNi9t8MCDSucnykEC6jtuiT72kt+/Hhh4nERYx1J20OPsTCCdVr7hIyQenFD1iSRkIQ6w==", + "license": "MIT", + "peerDependencies": { + "@wangeditor/core": "1.x", + "dom7": "^3.0.0", + "lodash.isequal": "^4.5.0", + "lodash.throttle": "^4.1.1", + "nanoid": "^3.2.0", + "slate": "^0.72.0", + "snabbdom": "^3.1.0" + } + }, + "node_modules/@wangeditor/upload-image-module": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/@wangeditor/upload-image-module/-/upload-image-module-1.0.2.tgz", + "integrity": "sha512-z81lk/v71OwPDYeQDxj6cVr81aDP90aFuywb8nPD6eQeECtOymrqRODjpO6VGvCVxVck8nUxBHtbxKtjgcwyiA==", + "license": "MIT", + "peerDependencies": { + "@uppy/core": "^2.0.3", + "@uppy/xhr-upload": "^2.0.3", + "@wangeditor/basic-modules": "1.x", + "@wangeditor/core": "1.x", + "dom7": "^3.0.0", + "lodash.foreach": "^4.5.0", + "slate": "^0.72.0", + "snabbdom": "^3.1.0" + } + }, + "node_modules/@wangeditor/video-module": { + "version": "1.1.4", + "resolved": "https://registry.npmmirror.com/@wangeditor/video-module/-/video-module-1.1.4.tgz", + "integrity": "sha512-ZdodDPqKQrgx3IwWu4ZiQmXI8EXZ3hm2/fM6E3t5dB8tCaIGWQZhmqd6P5knfkRAd3z2+YRSRbxOGfoRSp/rLg==", + "license": "MIT", + "peerDependencies": { + "@uppy/core": "^2.1.4", + "@uppy/xhr-upload": "^2.0.7", + "@wangeditor/core": "1.x", + "dom7": "^3.0.0", + "nanoid": "^3.2.0", + "slate": "^0.72.0", + "snabbdom": "^3.1.0" + } + }, + "node_modules/acorn": { + "version": "8.15.0", + "resolved": "https://registry.npmmirror.com/acorn/-/acorn-8.15.0.tgz", + "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmmirror.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmmirror.com/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/ansis": { + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/ansis/-/ansis-4.1.0.tgz", + "integrity": "sha512-BGcItUBWSMRgOCe+SVZJ+S7yTRG0eGt9cXAHev72yuGcY23hnLA7Bky5L/xLyPINoSN95geovfBkqoTlNZYa7w==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=14" + } + }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmmirror.com/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "license": "ISC", + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/anymatch/node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmmirror.com/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true, + "license": "Python-2.0" + }, + "node_modules/async-validator": { + "version": "4.2.5", + "resolved": "https://registry.npmmirror.com/async-validator/-/async-validator-4.2.5.tgz", + "integrity": "sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg==", + "license": "MIT" + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmmirror.com/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "license": "MIT" + }, + "node_modules/autoprefixer": { + "version": "10.4.21", + "resolved": "https://registry.npmmirror.com/autoprefixer/-/autoprefixer-10.4.21.tgz", + "integrity": "sha512-O+A6LWV5LDHSJD3LjHYoNi4VLsj/Whi7k6zG12xTYaU4cQ8oxQGckXNX8cRHK5yOZ/ppVHe0ZBXGzSV9jXdVbQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/autoprefixer" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "browserslist": "^4.24.4", + "caniuse-lite": "^1.0.30001702", + "fraction.js": "^4.3.7", + "normalize-range": "^0.1.2", + "picocolors": "^1.1.1", + "postcss-value-parser": "^4.2.0" + }, + "bin": { + "autoprefixer": "bin/autoprefixer" + }, + "engines": { + "node": "^10 || ^12 || >=14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/axios": { + "version": "1.11.0", + "resolved": "https://registry.npmmirror.com/axios/-/axios-1.11.0.tgz", + "integrity": "sha512-1Lx3WLFQWm3ooKDYZD1eXmoGO9fxYQjrycfHFC8P0sCfQVXyROp0p9PFWBehewBOdCwHc+f/b8I0fMto5eSfwA==", + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.15.6", + "form-data": "^4.0.4", + "proxy-from-env": "^1.1.0" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/binary-extensions": { + "version": "2.3.0", + "resolved": "https://registry.npmmirror.com/binary-extensions/-/binary-extensions-2.3.0.tgz", + "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/birpc": { + "version": "2.5.0", + "resolved": "https://registry.npmmirror.com/birpc/-/birpc-2.5.0.tgz", + "integrity": "sha512-VSWO/W6nNQdyP520F1mhf+Lc2f8pjGQOtoHHm7Ze8Go1kX7akpVIrtTa0fn+HB0QJEDVacl6aO08YE0PgXfdnQ==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, + "node_modules/boolbase": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/boolbase/-/boolbase-1.0.0.tgz", + "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==", + "dev": true, + "license": "ISC" + }, + "node_modules/brace-expansion": { + "version": "1.1.12", + "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.12.tgz", + "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmmirror.com/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "license": "MIT", + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browserslist": { + "version": "4.25.1", + "resolved": "https://registry.npmmirror.com/browserslist/-/browserslist-4.25.1.tgz", + "integrity": "sha512-KGj0KoOMXLpSNkkEI6Z6mShmQy0bc1I+T7K9N81k4WWMrfz+6fQ6es80B/YLAeRoKvjYE1YSHHOW1qe9xIVzHw==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "caniuse-lite": "^1.0.30001726", + "electron-to-chromium": "^1.5.173", + "node-releases": "^2.0.19", + "update-browserslist-db": "^1.1.3" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/buffer-builder": { + "version": "0.2.0", + "resolved": "https://registry.npmmirror.com/buffer-builder/-/buffer-builder-0.2.0.tgz", + "integrity": "sha512-7VPMEPuYznPSoR21NE1zvd2Xna6c/CloiZCfcMXR1Jny6PjX0N4Nsa38zcBFo/FMK+BlA+FLKbJCQ0i2yxp+Xg==", + "devOptional": true, + "license": "MIT/X11" + }, + "node_modules/bundle-name": { + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/bundle-name/-/bundle-name-4.1.0.tgz", + "integrity": "sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "run-applescript": "^7.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001727", + "resolved": "https://registry.npmmirror.com/caniuse-lite/-/caniuse-lite-1.0.30001727.tgz", + "integrity": "sha512-pB68nIHmbN6L/4C6MH1DokyR3bYqFwjaSs/sWDHGj4CTcFtQUQMuJftVwWkXq7mNWOybD3KhUv3oWHoGxgP14Q==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "CC-BY-4.0" + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/chokidar": { + "version": "3.6.0", + "resolved": "https://registry.npmmirror.com/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "license": "MIT", + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/chokidar/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmmirror.com/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/chownr": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/chownr/-/chownr-3.0.0.tgz", + "integrity": "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==", + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/colorjs.io": { + "version": "0.5.2", + "resolved": "https://registry.npmmirror.com/colorjs.io/-/colorjs.io-0.5.2.tgz", + "integrity": "sha512-twmVoizEW7ylZSN32OgKdXRmo1qg+wT5/6C3xu5b9QsWzSFAhHLn2xd8ro0diCsKfCj1RdaTP/nrcW+vAoQPIw==", + "devOptional": true, + "license": "MIT" + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmmirror.com/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "license": "MIT", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/compute-scroll-into-view": { + "version": "1.0.20", + "resolved": "https://registry.npmmirror.com/compute-scroll-into-view/-/compute-scroll-into-view-1.0.20.tgz", + "integrity": "sha512-UCB0ioiyj8CRjtrvaceBLqqhZCVP+1B8+NWQhmdsm0VXOJtobBCf1dBQmebCCo34qZmUwZfIH2MZLqNHazrfjg==", + "license": "MIT" + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmmirror.com/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true, + "license": "MIT" + }, + "node_modules/confbox": { + "version": "0.2.2", + "resolved": "https://registry.npmmirror.com/confbox/-/confbox-0.2.2.tgz", + "integrity": "sha512-1NB+BKqhtNipMsov4xI/NnhCKp9XG9NamYp5PVm9klAT0fsrNPjaFICsCFhNhwZJKNh7zB/3q8qXz0E9oaMNtQ==", + "license": "MIT" + }, + "node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true, + "license": "MIT" + }, + "node_modules/copy-anything": { + "version": "3.0.5", + "resolved": "https://registry.npmmirror.com/copy-anything/-/copy-anything-3.0.5.tgz", + "integrity": "sha512-yCEafptTtb4bk7GLEQoM8KVJpxAfdBJYaXyzQEgQQQgYrZiDp8SJmGKlYza6CYjEDNstAdNdKA3UuoULlEbS6w==", + "license": "MIT", + "dependencies": { + "is-what": "^4.1.8" + }, + "engines": { + "node": ">=12.13" + }, + "funding": { + "url": "https://github.com/sponsors/mesqueeb" + } + }, + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmmirror.com/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", + "dev": true, + "license": "MIT", + "bin": { + "cssesc": "bin/cssesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/csstype": { + "version": "3.1.3", + "resolved": "https://registry.npmmirror.com/csstype/-/csstype-3.1.3.tgz", + "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", + "license": "MIT" + }, + "node_modules/d": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/d/-/d-1.0.2.tgz", + "integrity": "sha512-MOqHvMWF9/9MX6nza0KgvFH4HpMU0EF5uUDXqX/BtxtU8NfB0QzRtJ8Oe/6SuS4kbhyzVJwjd97EA4PKrzJ8bw==", + "license": "ISC", + "dependencies": { + "es5-ext": "^0.10.64", + "type": "^2.7.2" + }, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/dayjs": { + "version": "1.11.13", + "resolved": "https://registry.npmmirror.com/dayjs/-/dayjs-1.11.13.tgz", + "integrity": "sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==", + "license": "MIT" + }, + "node_modules/debug": { + "version": "4.4.1", + "resolved": "https://registry.npmmirror.com/debug/-/debug-4.4.1.tgz", + "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==", + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmmirror.com/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/default-browser": { + "version": "5.2.1", + "resolved": "https://registry.npmmirror.com/default-browser/-/default-browser-5.2.1.tgz", + "integrity": "sha512-WY/3TUME0x3KPYdRRxEJJvXRHV4PyPoUsxtZa78lwItwRQRHhd2U9xOscaT/YTf8uCXIAjeJOFBVEh/7FtD8Xg==", + "dev": true, + "license": "MIT", + "dependencies": { + "bundle-name": "^4.1.0", + "default-browser-id": "^5.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/default-browser-id": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/default-browser-id/-/default-browser-id-5.0.0.tgz", + "integrity": "sha512-A6p/pu/6fyBcA1TRz/GqWYPViplrftcW2gZC9q79ngNCKAeR/X3gcEdXQHl4KNXV+3wgIJ1CPkJQ3IHM6lcsyA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/define-lazy-prop": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz", + "integrity": "sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/detect-libc": { + "version": "2.0.4", + "resolved": "https://registry.npmmirror.com/detect-libc/-/detect-libc-2.0.4.tgz", + "integrity": "sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA==", + "license": "Apache-2.0", + "engines": { + "node": ">=8" + } + }, + "node_modules/dom7": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/dom7/-/dom7-3.0.0.tgz", + "integrity": "sha512-oNlcUdHsC4zb7Msx7JN3K0Nro1dzJ48knvBOnDPKJ2GV9wl1i5vydJZUSyOfrkKFDZEud/jBsTk92S/VGSAe/g==", + "license": "MIT", + "dependencies": { + "ssr-window": "^3.0.0-alpha.1" + } + }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/echarts": { + "version": "6.0.0", + "resolved": "https://registry.npmmirror.com/echarts/-/echarts-6.0.0.tgz", + "integrity": "sha512-Tte/grDQRiETQP4xz3iZWSvoHrkCQtwqd6hs+mifXcjrCuo2iKWbajFObuLJVBlDIJlOzgQPd1hsaKt/3+OMkQ==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "2.3.0", + "zrender": "6.0.0" + } + }, + "node_modules/echarts/node_modules/tslib": { + "version": "2.3.0", + "resolved": "https://registry.npmmirror.com/tslib/-/tslib-2.3.0.tgz", + "integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==", + "license": "0BSD" + }, + "node_modules/electron-to-chromium": { + "version": "1.5.191", + "resolved": "https://registry.npmmirror.com/electron-to-chromium/-/electron-to-chromium-1.5.191.tgz", + "integrity": "sha512-xcwe9ELcuxYLUFqZZxL19Z6HVKcvNkIwhbHUz7L3us6u12yR+7uY89dSl570f/IqNthx8dAw3tojG7i4Ni4tDA==", + "dev": true, + "license": "ISC" + }, + "node_modules/element-plus": { + "version": "2.10.4", + "resolved": "https://registry.npmmirror.com/element-plus/-/element-plus-2.10.4.tgz", + "integrity": "sha512-UD4elWHrCnp1xlPhbXmVcaKFLCRaRAY6WWRwemGfGW3ceIjXm9fSYc9RNH3AiOEA6Ds1p9ZvhCs76CR9J8Vd+A==", + "license": "MIT", + "dependencies": { + "@ctrl/tinycolor": "^3.4.1", + "@element-plus/icons-vue": "^2.3.1", + "@floating-ui/dom": "^1.0.1", + "@popperjs/core": "npm:@sxzz/popperjs-es@^2.11.7", + "@types/lodash": "^4.14.182", + "@types/lodash-es": "^4.17.6", + "@vueuse/core": "^9.1.0", + "async-validator": "^4.2.5", + "dayjs": "^1.11.13", + "escape-html": "^1.0.3", + "lodash": "^4.17.21", + "lodash-es": "^4.17.21", + "lodash-unified": "^1.0.2", + "memoize-one": "^6.0.0", + "normalize-wheel-es": "^1.2.0" + }, + "peerDependencies": { + "vue": "^3.2.0" + } + }, + "node_modules/element-plus/node_modules/@types/web-bluetooth": { + "version": "0.0.16", + "resolved": "https://registry.npmmirror.com/@types/web-bluetooth/-/web-bluetooth-0.0.16.tgz", + "integrity": "sha512-oh8q2Zc32S6gd/j50GowEjKLoOVOwHP/bWVjKJInBwQqdOYMdPrf1oVlelTlyfFK3CKxL1uahMDAr+vy8T7yMQ==", + "license": "MIT" + }, + "node_modules/element-plus/node_modules/@vueuse/core": { + "version": "9.13.0", + "resolved": "https://registry.npmmirror.com/@vueuse/core/-/core-9.13.0.tgz", + "integrity": "sha512-pujnclbeHWxxPRqXWmdkKV5OX4Wk4YeK7wusHqRwU0Q7EFusHoqNA/aPhB6KCh9hEqJkLAJo7bb0Lh9b+OIVzw==", + "license": "MIT", + "dependencies": { + "@types/web-bluetooth": "^0.0.16", + "@vueuse/metadata": "9.13.0", + "@vueuse/shared": "9.13.0", + "vue-demi": "*" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, + "node_modules/element-plus/node_modules/@vueuse/core/node_modules/vue-demi": { + "version": "0.14.10", + "resolved": "https://registry.npmmirror.com/vue-demi/-/vue-demi-0.14.10.tgz", + "integrity": "sha512-nMZBOwuzabUO0nLgIcc6rycZEebF6eeUfaiQx9+WSk8e29IbLvPU9feI6tqW4kTo3hvoYAJkMh8n8D0fuISphg==", + "hasInstallScript": true, + "license": "MIT", + "bin": { + "vue-demi-fix": "bin/vue-demi-fix.js", + "vue-demi-switch": "bin/vue-demi-switch.js" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + }, + "peerDependencies": { + "@vue/composition-api": "^1.0.0-rc.1", + "vue": "^3.0.0-0 || ^2.6.0" + }, + "peerDependenciesMeta": { + "@vue/composition-api": { + "optional": true + } + } + }, + "node_modules/element-plus/node_modules/@vueuse/metadata": { + "version": "9.13.0", + "resolved": "https://registry.npmmirror.com/@vueuse/metadata/-/metadata-9.13.0.tgz", + "integrity": "sha512-gdU7TKNAUVlXXLbaF+ZCfte8BjRJQWPCa2J55+7/h+yDtzw3vOoGQDRXzI6pyKyo6bXFT5/QoPE4hAknExjRLQ==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, + "node_modules/element-plus/node_modules/@vueuse/shared": { + "version": "9.13.0", + "resolved": "https://registry.npmmirror.com/@vueuse/shared/-/shared-9.13.0.tgz", + "integrity": "sha512-UrnhU+Cnufu4S6JLCPZnkWh0WwZGUp72ktOF2DFptMlOs3TOdVv8xJN53zhHGARmVOsz5KqOls09+J1NR6sBKw==", + "license": "MIT", + "dependencies": { + "vue-demi": "*" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, + "node_modules/element-plus/node_modules/@vueuse/shared/node_modules/vue-demi": { + "version": "0.14.10", + "resolved": "https://registry.npmmirror.com/vue-demi/-/vue-demi-0.14.10.tgz", + "integrity": "sha512-nMZBOwuzabUO0nLgIcc6rycZEebF6eeUfaiQx9+WSk8e29IbLvPU9feI6tqW4kTo3hvoYAJkMh8n8D0fuISphg==", + "hasInstallScript": true, + "license": "MIT", + "bin": { + "vue-demi-fix": "bin/vue-demi-fix.js", + "vue-demi-switch": "bin/vue-demi-switch.js" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + }, + "peerDependencies": { + "@vue/composition-api": "^1.0.0-rc.1", + "vue": "^3.0.0-0 || ^2.6.0" + }, + "peerDependenciesMeta": { + "@vue/composition-api": { + "optional": true + } + } + }, + "node_modules/enhanced-resolve": { + "version": "5.18.2", + "resolved": "https://registry.npmmirror.com/enhanced-resolve/-/enhanced-resolve-5.18.2.tgz", + "integrity": "sha512-6Jw4sE1maoRJo3q8MsSIn2onJFbLTOjY9hlx4DZXmOKvLRd1Ok2kXmAGXaafL2+ijsJZ1ClYbl/pmqr9+k4iUQ==", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.4", + "tapable": "^2.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/entities": { + "version": "4.5.0", + "resolved": "https://registry.npmmirror.com/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/error-stack-parser-es": { + "version": "1.0.5", + "resolved": "https://registry.npmmirror.com/error-stack-parser-es/-/error-stack-parser-es-1.0.5.tgz", + "integrity": "sha512-5qucVt2XcuGMcEGgWI7i+yZpmpByQ8J1lHhcL7PwqCwu9FPP3VUXzT4ltHe5i2z9dePwEHcDVOAfSnHsOlCXRA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, + "node_modules/es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmmirror.com/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-object-atoms": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/es-object-atoms/-/es-object-atoms-1.1.1.tgz", + "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-set-tostringtag": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", + "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es5-ext": { + "version": "0.10.64", + "resolved": "https://registry.npmmirror.com/es5-ext/-/es5-ext-0.10.64.tgz", + "integrity": "sha512-p2snDhiLaXe6dahss1LddxqEm+SkuDvV8dnIQG0MWjyHpcMNfXKPE+/Cc0y+PhxJX3A4xGNeFCj5oc0BUh6deg==", + "hasInstallScript": true, + "license": "ISC", + "dependencies": { + "es6-iterator": "^2.0.3", + "es6-symbol": "^3.1.3", + "esniff": "^2.0.1", + "next-tick": "^1.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/es6-iterator": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/es6-iterator/-/es6-iterator-2.0.3.tgz", + "integrity": "sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==", + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "node_modules/es6-symbol": { + "version": "3.1.4", + "resolved": "https://registry.npmmirror.com/es6-symbol/-/es6-symbol-3.1.4.tgz", + "integrity": "sha512-U9bFFjX8tFiATgtkJ1zg25+KviIXpgRvRHS8sau3GfhVzThRQrOeksPeT0BWW2MNZs1OEWJ1DPXOQMn0KKRkvg==", + "license": "ISC", + "dependencies": { + "d": "^1.0.2", + "ext": "^1.7.0" + }, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/esbuild": { + "version": "0.25.8", + "resolved": "https://registry.npmmirror.com/esbuild/-/esbuild-0.25.8.tgz", + "integrity": "sha512-vVC0USHGtMi8+R4Kz8rt6JhEWLxsv9Rnu/lGYbPR8u47B+DCBksq9JarW0zOO7bs37hyOK1l2/oqtbciutL5+Q==", + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.25.8", + "@esbuild/android-arm": "0.25.8", + "@esbuild/android-arm64": "0.25.8", + "@esbuild/android-x64": "0.25.8", + "@esbuild/darwin-arm64": "0.25.8", + "@esbuild/darwin-x64": "0.25.8", + "@esbuild/freebsd-arm64": "0.25.8", + "@esbuild/freebsd-x64": "0.25.8", + "@esbuild/linux-arm": "0.25.8", + "@esbuild/linux-arm64": "0.25.8", + "@esbuild/linux-ia32": "0.25.8", + "@esbuild/linux-loong64": "0.25.8", + "@esbuild/linux-mips64el": "0.25.8", + "@esbuild/linux-ppc64": "0.25.8", + "@esbuild/linux-riscv64": "0.25.8", + "@esbuild/linux-s390x": "0.25.8", + "@esbuild/linux-x64": "0.25.8", + "@esbuild/netbsd-arm64": "0.25.8", + "@esbuild/netbsd-x64": "0.25.8", + "@esbuild/openbsd-arm64": "0.25.8", + "@esbuild/openbsd-x64": "0.25.8", + "@esbuild/openharmony-arm64": "0.25.8", + "@esbuild/sunos-x64": "0.25.8", + "@esbuild/win32-arm64": "0.25.8", + "@esbuild/win32-ia32": "0.25.8", + "@esbuild/win32-x64": "0.25.8" + } + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmmirror.com/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", + "license": "MIT" + }, + "node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint": { + "version": "9.32.0", + "resolved": "https://registry.npmmirror.com/eslint/-/eslint-9.32.0.tgz", + "integrity": "sha512-LSehfdpgMeWcTZkWZVIJl+tkZ2nuSkyyB9C27MZqFWXuph7DvaowgcTvKqxvpLW1JZIk8PN7hFY3Rj9LQ7m7lg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.12.1", + "@eslint/config-array": "^0.21.0", + "@eslint/config-helpers": "^0.3.0", + "@eslint/core": "^0.15.0", + "@eslint/eslintrc": "^3.3.1", + "@eslint/js": "9.32.0", + "@eslint/plugin-kit": "^0.3.4", + "@humanfs/node": "^0.16.6", + "@humanwhocodes/module-importer": "^1.0.1", + "@humanwhocodes/retry": "^0.4.2", + "@types/estree": "^1.0.6", + "@types/json-schema": "^7.0.15", + "ajv": "^6.12.4", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.6", + "debug": "^4.3.2", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^8.4.0", + "eslint-visitor-keys": "^4.2.1", + "espree": "^10.4.0", + "esquery": "^1.5.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^8.0.0", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "jiti": "*" + }, + "peerDependenciesMeta": { + "jiti": { + "optional": true + } + } + }, + "node_modules/eslint-config-prettier": { + "version": "10.1.8", + "resolved": "https://registry.npmmirror.com/eslint-config-prettier/-/eslint-config-prettier-10.1.8.tgz", + "integrity": "sha512-82GZUjRS0p/jganf6q1rEO25VSoHH0hKPCTrgillPjdI/3bgBhAE1QzHrHTizjpRvy6pGAvKjDJtk2pF9NDq8w==", + "dev": true, + "license": "MIT", + "bin": { + "eslint-config-prettier": "bin/cli.js" + }, + "funding": { + "url": "https://opencollective.com/eslint-config-prettier" + }, + "peerDependencies": { + "eslint": ">=7.0.0" + } + }, + "node_modules/eslint-plugin-oxlint": { + "version": "1.8.0", + "resolved": "https://registry.npmmirror.com/eslint-plugin-oxlint/-/eslint-plugin-oxlint-1.8.0.tgz", + "integrity": "sha512-C6QNZqB8ANc7rLI2yVEHOTV68uyYdACCasR54sfbXmsxac11aoUzzAIM2i6CBumqOz2qKEEcCZBNMRv++/hhFA==", + "dev": true, + "license": "MIT", + "dependencies": { + "jsonc-parser": "^3.3.1" + } + }, + "node_modules/eslint-plugin-prettier": { + "version": "5.5.3", + "resolved": "https://registry.npmmirror.com/eslint-plugin-prettier/-/eslint-plugin-prettier-5.5.3.tgz", + "integrity": "sha512-NAdMYww51ehKfDyDhv59/eIItUVzU0Io9H2E8nHNGKEeeqlnci+1gCvrHib6EmZdf6GxF+LCV5K7UC65Ezvw7w==", + "dev": true, + "license": "MIT", + "dependencies": { + "prettier-linter-helpers": "^1.0.0", + "synckit": "^0.11.7" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint-plugin-prettier" + }, + "peerDependencies": { + "@types/eslint": ">=8.0.0", + "eslint": ">=8.0.0", + "eslint-config-prettier": ">= 7.0.0 <10.0.0 || >=10.1.0", + "prettier": ">=3.0.0" + }, + "peerDependenciesMeta": { + "@types/eslint": { + "optional": true + }, + "eslint-config-prettier": { + "optional": true + } + } + }, + "node_modules/eslint-plugin-vue": { + "version": "10.3.0", + "resolved": "https://registry.npmmirror.com/eslint-plugin-vue/-/eslint-plugin-vue-10.3.0.tgz", + "integrity": "sha512-A0u9snqjCfYaPnqqOaH6MBLVWDUIN4trXn8J3x67uDcXvR7X6Ut8p16N+nYhMCQ9Y7edg2BIRGzfyZsY0IdqoQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.0", + "natural-compare": "^1.4.0", + "nth-check": "^2.1.1", + "postcss-selector-parser": "^6.0.15", + "semver": "^7.6.3", + "xml-name-validator": "^4.0.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^7.0.0 || ^8.0.0", + "eslint": "^8.57.0 || ^9.0.0", + "vue-eslint-parser": "^10.0.0" + }, + "peerDependenciesMeta": { + "@typescript-eslint/parser": { + "optional": true + } + } + }, + "node_modules/eslint-plugin-vue/node_modules/postcss-selector-parser": { + "version": "6.1.2", + "resolved": "https://registry.npmmirror.com/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz", + "integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==", + "dev": true, + "license": "MIT", + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-scope": { + "version": "8.4.0", + "resolved": "https://registry.npmmirror.com/eslint-scope/-/eslint-scope-8.4.0.tgz", + "integrity": "sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "4.2.1", + "resolved": "https://registry.npmmirror.com/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz", + "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esniff": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/esniff/-/esniff-2.0.1.tgz", + "integrity": "sha512-kTUIGKQ/mDPFoJ0oVfcmyJn4iBDRptjNVIzwIFR7tqWXdVI9xfA2RMwY/gbSpJG3lkdWNEjLap/NqVHZiJsdfg==", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "es5-ext": "^0.10.62", + "event-emitter": "^0.3.5", + "type": "^2.7.2" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/espree": { + "version": "10.4.0", + "resolved": "https://registry.npmmirror.com/espree/-/espree-10.4.0.tgz", + "integrity": "sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "acorn": "^8.15.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^4.2.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esquery": { + "version": "1.6.0", + "resolved": "https://registry.npmmirror.com/esquery/-/esquery-1.6.0.tgz", + "integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmmirror.com/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmmirror.com/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estree-walker": { + "version": "3.0.3", + "resolved": "https://registry.npmmirror.com/estree-walker/-/estree-walker-3.0.3.tgz", + "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==", + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/event-emitter": { + "version": "0.3.5", + "resolved": "https://registry.npmmirror.com/event-emitter/-/event-emitter-0.3.5.tgz", + "integrity": "sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==", + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "~0.10.14" + } + }, + "node_modules/execa": { + "version": "9.6.0", + "resolved": "https://registry.npmmirror.com/execa/-/execa-9.6.0.tgz", + "integrity": "sha512-jpWzZ1ZhwUmeWRhS7Qv3mhpOhLfwI+uAX4e5fOcXqwMR7EcJ0pj2kV1CVzHVMX/LphnKWD3LObjZCoJ71lKpHw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@sindresorhus/merge-streams": "^4.0.0", + "cross-spawn": "^7.0.6", + "figures": "^6.1.0", + "get-stream": "^9.0.0", + "human-signals": "^8.0.1", + "is-plain-obj": "^4.1.0", + "is-stream": "^4.0.1", + "npm-run-path": "^6.0.0", + "pretty-ms": "^9.2.0", + "signal-exit": "^4.1.0", + "strip-final-newline": "^4.0.0", + "yoctocolors": "^2.1.1" + }, + "engines": { + "node": "^18.19.0 || >=20.5.0" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/exsolve": { + "version": "1.0.7", + "resolved": "https://registry.npmmirror.com/exsolve/-/exsolve-1.0.7.tgz", + "integrity": "sha512-VO5fQUzZtI6C+vx4w/4BWJpg3s/5l+6pRQEHzFRM8WFi4XffSP1Z+4qi7GbjWbvRQEbdIco5mIMq+zX4rPuLrw==", + "license": "MIT" + }, + "node_modules/ext": { + "version": "1.7.0", + "resolved": "https://registry.npmmirror.com/ext/-/ext-1.7.0.tgz", + "integrity": "sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==", + "license": "ISC", + "dependencies": { + "type": "^2.7.2" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmmirror.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-diff": { + "version": "1.3.0", + "resolved": "https://registry.npmmirror.com/fast-diff/-/fast-diff-1.3.0.tgz", + "integrity": "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmmirror.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true, + "license": "MIT" + }, + "node_modules/fdir": { + "version": "6.4.6", + "resolved": "https://registry.npmmirror.com/fdir/-/fdir-6.4.6.tgz", + "integrity": "sha512-hiFoqpyZcfNm1yc4u8oWCf9A2c4D3QjCrks3zmoVKVxpQRzmPNar1hUJcBG2RQHvEVGDN+Jm81ZheVLAQMK6+w==", + "license": "MIT", + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/figures": { + "version": "6.1.0", + "resolved": "https://registry.npmmirror.com/figures/-/figures-6.1.0.tgz", + "integrity": "sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-unicode-supported": "^2.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/file-entry-cache": { + "version": "8.0.0", + "resolved": "https://registry.npmmirror.com/file-entry-cache/-/file-entry-cache-8.0.0.tgz", + "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "flat-cache": "^4.0.0" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmmirror.com/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "license": "MIT", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat-cache": { + "version": "4.0.1", + "resolved": "https://registry.npmmirror.com/flat-cache/-/flat-cache-4.0.1.tgz", + "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", + "dev": true, + "license": "MIT", + "dependencies": { + "flatted": "^3.2.9", + "keyv": "^4.5.4" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/flatted": { + "version": "3.3.3", + "resolved": "https://registry.npmmirror.com/flatted/-/flatted-3.3.3.tgz", + "integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==", + "dev": true, + "license": "ISC" + }, + "node_modules/follow-redirects": { + "version": "1.15.9", + "resolved": "https://registry.npmmirror.com/follow-redirects/-/follow-redirects-1.15.9.tgz", + "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "license": "MIT", + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/form-data": { + "version": "4.0.4", + "resolved": "https://registry.npmmirror.com/form-data/-/form-data-4.0.4.tgz", + "integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "es-set-tostringtag": "^2.1.0", + "hasown": "^2.0.2", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fraction.js": { + "version": "4.3.7", + "resolved": "https://registry.npmmirror.com/fraction.js/-/fraction.js-4.3.7.tgz", + "integrity": "sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + }, + "funding": { + "type": "patreon", + "url": "https://github.com/sponsors/rawify" + } + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmmirror.com/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmmirror.com/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmmirror.com/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/get-intrinsic": { + "version": "1.3.0", + "resolved": "https://registry.npmmirror.com/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "license": "MIT", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/get-stream": { + "version": "9.0.1", + "resolved": "https://registry.npmmirror.com/get-stream/-/get-stream-9.0.1.tgz", + "integrity": "sha512-kVCxPF3vQM/N0B1PmoqVUqgHP+EeVjmZSQn+1oCRPxd2P21P2F19lIgbR3HBosbB1PUhOAoctJnfEn2GbN2eZA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@sec-ant/readable-stream": "^0.4.1", + "is-stream": "^4.0.1" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmmirror.com/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/globals": { + "version": "16.3.0", + "resolved": "https://registry.npmmirror.com/globals/-/globals-16.3.0.tgz", + "integrity": "sha512-bqWEnJ1Nt3neqx2q5SFfGS8r/ahumIakg3HcwtNlrVlwXIeNumWn/c7Pn/wKzGhf6SaW6H6uWXLqC30STCMchQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/gopd": { + "version": "1.2.0", + "resolved": "https://registry.npmmirror.com/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmmirror.com/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "license": "ISC" + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "devOptional": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/has-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "license": "MIT", + "dependencies": { + "has-symbols": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/hookable": { + "version": "5.5.3", + "resolved": "https://registry.npmmirror.com/hookable/-/hookable-5.5.3.tgz", + "integrity": "sha512-Yc+BQe8SvoXH1643Qez1zqLRmbA5rCL+sSmk6TVos0LWVfNIB7PGncdlId77WzLGSIB5KaWgTaNTs2lNVEI6VQ==", + "license": "MIT" + }, + "node_modules/html-void-elements": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/html-void-elements/-/html-void-elements-2.0.1.tgz", + "integrity": "sha512-0quDb7s97CfemeJAnW9wC0hw78MtW7NU3hqtCD75g2vFlDLt36llsYD7uB7SUzojLMP24N5IatXf7ylGXiGG9A==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/human-signals": { + "version": "8.0.1", + "resolved": "https://registry.npmmirror.com/human-signals/-/human-signals-8.0.1.tgz", + "integrity": "sha512-eKCa6bwnJhvxj14kZk5NCPc6Hb6BdsU9DZcOnmQKSnO1VKrfV0zCvtttPZUsBvjmNDn8rpcJfpwSYnHBjc95MQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/i18next": { + "version": "20.6.1", + "resolved": "https://registry.npmmirror.com/i18next/-/i18next-20.6.1.tgz", + "integrity": "sha512-yCMYTMEJ9ihCwEQQ3phLo7I/Pwycf8uAx+sRHwwk5U9Aui/IZYgQRyMqXafQOw5QQ7DM1Z+WyEXWIqSuJHhG2A==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.12.0" + } + }, + "node_modules/ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmmirror.com/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/immer": { + "version": "9.0.21", + "resolved": "https://registry.npmmirror.com/immer/-/immer-9.0.21.tgz", + "integrity": "sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/immer" + } + }, + "node_modules/immutable": { + "version": "5.1.3", + "resolved": "https://registry.npmmirror.com/immutable/-/immutable-5.1.3.tgz", + "integrity": "sha512-+chQdDfvscSF1SJqv2gn4SRO2ZyS3xL3r7IW/wWEEzrzLisnOlKiQu5ytC/BVNcS15C39WT2Hg/bjKjDMcu+zg==", + "devOptional": true, + "license": "MIT" + }, + "node_modules/import-fresh": { + "version": "3.3.1", + "resolved": "https://registry.npmmirror.com/import-fresh/-/import-fresh-3.3.1.tgz", + "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmmirror.com/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "license": "MIT", + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-docker": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/is-docker/-/is-docker-3.0.0.tgz", + "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==", + "dev": true, + "license": "MIT", + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmmirror.com/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmmirror.com/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-hotkey": { + "version": "0.2.0", + "resolved": "https://registry.npmmirror.com/is-hotkey/-/is-hotkey-0.2.0.tgz", + "integrity": "sha512-UknnZK4RakDmTgz4PI1wIph5yxSs/mvChWs9ifnlXsKuXgWmOkY/hAE0H/k2MIqH0RlRye0i1oC07MCRSD28Mw==", + "license": "MIT" + }, + "node_modules/is-inside-container": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/is-inside-container/-/is-inside-container-1.0.0.tgz", + "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-docker": "^3.0.0" + }, + "bin": { + "is-inside-container": "cli.js" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmmirror.com/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-plain-obj": { + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/is-plain-obj/-/is-plain-obj-4.1.0.tgz", + "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-plain-object": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/is-plain-object/-/is-plain-object-5.0.0.tgz", + "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-stream": { + "version": "4.0.1", + "resolved": "https://registry.npmmirror.com/is-stream/-/is-stream-4.0.1.tgz", + "integrity": "sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-unicode-supported": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz", + "integrity": "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-url": { + "version": "1.2.4", + "resolved": "https://registry.npmmirror.com/is-url/-/is-url-1.2.4.tgz", + "integrity": "sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww==", + "license": "MIT" + }, + "node_modules/is-what": { + "version": "4.1.16", + "resolved": "https://registry.npmmirror.com/is-what/-/is-what-4.1.16.tgz", + "integrity": "sha512-ZhMwEosbFJkA0YhFnNDgTM4ZxDRsS6HqTo7qsZM08fehyRYIYa0yHu5R6mgo1n/8MgaPBXiPimPD77baVFYg+A==", + "license": "MIT", + "engines": { + "node": ">=12.13" + }, + "funding": { + "url": "https://github.com/sponsors/mesqueeb" + } + }, + "node_modules/is-wsl": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/is-wsl/-/is-wsl-3.1.0.tgz", + "integrity": "sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-inside-container": "^1.0.0" + }, + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true, + "license": "ISC" + }, + "node_modules/jiti": { + "version": "2.5.1", + "resolved": "https://registry.npmmirror.com/jiti/-/jiti-2.5.1.tgz", + "integrity": "sha512-twQoecYPiVA5K/h6SxtORw/Bs3ar+mLUtoPSc7iMXzQzK8d7eJ/R09wmTwAjiamETn1cXYPGfNnu7DMoHgu12w==", + "license": "MIT", + "bin": { + "jiti": "lib/jiti-cli.mjs" + } + }, + "node_modules/js-tokens": { + "version": "9.0.1", + "resolved": "https://registry.npmmirror.com/js-tokens/-/js-tokens-9.0.1.tgz", + "integrity": "sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==", + "license": "MIT" + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsesc": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/jsesc/-/jsesc-3.1.0.tgz", + "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", + "dev": true, + "license": "MIT", + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-parse-even-better-errors": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/json-parse-even-better-errors/-/json-parse-even-better-errors-4.0.0.tgz", + "integrity": "sha512-lR4MXjGNgkJc7tkQ97kb2nuEMnNCyU//XYVH0MKTGcXEiSudQ5MKGKen3C5QubYy0vmq+JGitUg92uuywGEwIA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmmirror.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmmirror.com/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true, + "license": "MIT", + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/jsonc-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmmirror.com/jsonc-parser/-/jsonc-parser-3.3.1.tgz", + "integrity": "sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmmirror.com/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, + "license": "MIT", + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "node_modules/kolorist": { + "version": "1.8.0", + "resolved": "https://registry.npmmirror.com/kolorist/-/kolorist-1.8.0.tgz", + "integrity": "sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmmirror.com/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/lightningcss": { + "version": "1.30.1", + "resolved": "https://registry.npmmirror.com/lightningcss/-/lightningcss-1.30.1.tgz", + "integrity": "sha512-xi6IyHML+c9+Q3W0S4fCQJOym42pyurFiJUHEcEyHS0CeKzia4yZDEsLlqOFykxOdHpNy0NmvVO31vcSqAxJCg==", + "license": "MPL-2.0", + "dependencies": { + "detect-libc": "^2.0.3" + }, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "lightningcss-darwin-arm64": "1.30.1", + "lightningcss-darwin-x64": "1.30.1", + "lightningcss-freebsd-x64": "1.30.1", + "lightningcss-linux-arm-gnueabihf": "1.30.1", + "lightningcss-linux-arm64-gnu": "1.30.1", + "lightningcss-linux-arm64-musl": "1.30.1", + "lightningcss-linux-x64-gnu": "1.30.1", + "lightningcss-linux-x64-musl": "1.30.1", + "lightningcss-win32-arm64-msvc": "1.30.1", + "lightningcss-win32-x64-msvc": "1.30.1" + } + }, + "node_modules/lightningcss-darwin-arm64": { + "version": "1.30.1", + "resolved": "https://registry.npmmirror.com/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.30.1.tgz", + "integrity": "sha512-c8JK7hyE65X1MHMN+Viq9n11RRC7hgin3HhYKhrMyaXflk5GVplZ60IxyoVtzILeKr+xAJwg6zK6sjTBJ0FKYQ==", + "cpu": [ + "arm64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-darwin-x64": { + "version": "1.30.1", + "resolved": "https://registry.npmmirror.com/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.30.1.tgz", + "integrity": "sha512-k1EvjakfumAQoTfcXUcHQZhSpLlkAuEkdMBsI/ivWw9hL+7FtilQc0Cy3hrx0AAQrVtQAbMI7YjCgYgvn37PzA==", + "cpu": [ + "x64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-freebsd-x64": { + "version": "1.30.1", + "resolved": "https://registry.npmmirror.com/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.30.1.tgz", + "integrity": "sha512-kmW6UGCGg2PcyUE59K5r0kWfKPAVy4SltVeut+umLCFoJ53RdCUWxcRDzO1eTaxf/7Q2H7LTquFHPL5R+Gjyig==", + "cpu": [ + "x64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm-gnueabihf": { + "version": "1.30.1", + "resolved": "https://registry.npmmirror.com/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.30.1.tgz", + "integrity": "sha512-MjxUShl1v8pit+6D/zSPq9S9dQ2NPFSQwGvxBCYaBYLPlCWuPh9/t1MRS8iUaR8i+a6w7aps+B4N0S1TYP/R+Q==", + "cpu": [ + "arm" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm64-gnu": { + "version": "1.30.1", + "resolved": "https://registry.npmmirror.com/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.30.1.tgz", + "integrity": "sha512-gB72maP8rmrKsnKYy8XUuXi/4OctJiuQjcuqWNlJQ6jZiWqtPvqFziskH3hnajfvKB27ynbVCucKSm2rkQp4Bw==", + "cpu": [ + "arm64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm64-musl": { + "version": "1.30.1", + "resolved": "https://registry.npmmirror.com/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.30.1.tgz", + "integrity": "sha512-jmUQVx4331m6LIX+0wUhBbmMX7TCfjF5FoOH6SD1CttzuYlGNVpA7QnrmLxrsub43ClTINfGSYyHe2HWeLl5CQ==", + "cpu": [ + "arm64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-x64-gnu": { + "version": "1.30.1", + "resolved": "https://registry.npmmirror.com/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.30.1.tgz", + "integrity": "sha512-piWx3z4wN8J8z3+O5kO74+yr6ze/dKmPnI7vLqfSqI8bccaTGY5xiSGVIJBDd5K5BHlvVLpUB3S2YCfelyJ1bw==", + "cpu": [ + "x64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-x64-musl": { + "version": "1.30.1", + "resolved": "https://registry.npmmirror.com/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.30.1.tgz", + "integrity": "sha512-rRomAK7eIkL+tHY0YPxbc5Dra2gXlI63HL+v1Pdi1a3sC+tJTcFrHX+E86sulgAXeI7rSzDYhPSeHHjqFhqfeQ==", + "cpu": [ + "x64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-win32-arm64-msvc": { + "version": "1.30.1", + "resolved": "https://registry.npmmirror.com/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.30.1.tgz", + "integrity": "sha512-mSL4rqPi4iXq5YVqzSsJgMVFENoa4nGTT/GjO2c0Yl9OuQfPsIfncvLrEW6RbbB24WtZ3xP/2CCmI3tNkNV4oA==", + "cpu": [ + "arm64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-win32-x64-msvc": { + "version": "1.30.1", + "resolved": "https://registry.npmmirror.com/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.30.1.tgz", + "integrity": "sha512-PVqXh48wh4T53F/1CCu8PIPCxLzWyCnn/9T5W1Jpmdy5h9Cwd+0YQS6/LwhHXSafuc61/xg9Lv5OrCby6a++jg==", + "cpu": [ + "x64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/local-pkg": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/local-pkg/-/local-pkg-1.1.1.tgz", + "integrity": "sha512-WunYko2W1NcdfAFpuLUoucsgULmgDBRkdxHxWQ7mK0cQqwPiy8E1enjuRBrhLtZkB5iScJ1XIPdhVEFK8aOLSg==", + "license": "MIT", + "dependencies": { + "mlly": "^1.7.4", + "pkg-types": "^2.0.1", + "quansync": "^0.2.8" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmmirror.com/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmmirror.com/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "license": "MIT" + }, + "node_modules/lodash-es": { + "version": "4.17.21", + "resolved": "https://registry.npmmirror.com/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==", + "license": "MIT" + }, + "node_modules/lodash-unified": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/lodash-unified/-/lodash-unified-1.0.3.tgz", + "integrity": "sha512-WK9qSozxXOD7ZJQlpSqOT+om2ZfcT4yO+03FuzAHD0wF6S0l0090LRPDx3vhTTLZ8cFKpBn+IOcVXK6qOcIlfQ==", + "license": "MIT", + "peerDependencies": { + "@types/lodash-es": "*", + "lodash": "*", + "lodash-es": "*" + } + }, + "node_modules/lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmmirror.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==", + "license": "MIT" + }, + "node_modules/lodash.castarray": { + "version": "4.4.0", + "resolved": "https://registry.npmmirror.com/lodash.castarray/-/lodash.castarray-4.4.0.tgz", + "integrity": "sha512-aVx8ztPv7/2ULbArGJ2Y42bG1mEQ5mGjpdvrbJcJFU3TbYybe+QlLS4pst9zV52ymy2in1KpFPiZnAOATxD4+Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.clonedeep": { + "version": "4.5.0", + "resolved": "https://registry.npmmirror.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", + "integrity": "sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==", + "license": "MIT" + }, + "node_modules/lodash.debounce": { + "version": "4.0.8", + "resolved": "https://registry.npmmirror.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==", + "license": "MIT" + }, + "node_modules/lodash.foreach": { + "version": "4.5.0", + "resolved": "https://registry.npmmirror.com/lodash.foreach/-/lodash.foreach-4.5.0.tgz", + "integrity": "sha512-aEXTF4d+m05rVOAUG3z4vZZ4xVexLKZGF0lIxuHZ1Hplpk/3B6Z1+/ICICYRLm7c41Z2xiejbkCkJoTlypoXhQ==", + "license": "MIT" + }, + "node_modules/lodash.isequal": { + "version": "4.5.0", + "resolved": "https://registry.npmmirror.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz", + "integrity": "sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==", + "deprecated": "This package is deprecated. Use require('node:util').isDeepStrictEqual instead.", + "license": "MIT" + }, + "node_modules/lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmmirror.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmmirror.com/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.throttle": { + "version": "4.1.1", + "resolved": "https://registry.npmmirror.com/lodash.throttle/-/lodash.throttle-4.1.1.tgz", + "integrity": "sha512-wIkUCfVKpVsWo3JSZlc+8MB5it+2AN5W8J7YVMST30UrvcQNZ1Okbj+rbVniijTWE6FGYy4XJq/rHkas8qJMLQ==", + "license": "MIT" + }, + "node_modules/lodash.toarray": { + "version": "4.4.0", + "resolved": "https://registry.npmmirror.com/lodash.toarray/-/lodash.toarray-4.4.0.tgz", + "integrity": "sha512-QyffEA3i5dma5q2490+SgCvDN0pXLmRGSyAANuVi0HQ01Pkfr9fuoKQW8wm1wGBnJITs/mS7wQvS6VshUEBFCw==", + "license": "MIT" + }, + "node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmmirror.com/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "node_modules/lru-cache/node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmmirror.com/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "dev": true, + "license": "ISC" + }, + "node_modules/magic-string": { + "version": "0.30.17", + "resolved": "https://registry.npmmirror.com/magic-string/-/magic-string-0.30.17.tgz", + "integrity": "sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==", + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0" + } + }, + "node_modules/marked": { + "version": "16.1.1", + "resolved": "https://registry.npmmirror.com/marked/-/marked-16.1.1.tgz", + "integrity": "sha512-ij/2lXfCRT71L6u0M29tJPhP0bM5shLL3u5BePhFwPELj2blMJ6GDtD7PfJhRLhJ/c2UwrK17ySVcDzy2YHjHQ==", + "license": "MIT", + "bin": { + "marked": "bin/marked.js" + }, + "engines": { + "node": ">= 20" + } + }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/memoize-one": { + "version": "6.0.0", + "resolved": "https://registry.npmmirror.com/memoize-one/-/memoize-one-6.0.0.tgz", + "integrity": "sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw==", + "license": "MIT" + }, + "node_modules/memorystream": { + "version": "0.3.1", + "resolved": "https://registry.npmmirror.com/memorystream/-/memorystream-0.3.1.tgz", + "integrity": "sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw==", + "dev": true, + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmmirror.com/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-match": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/mime-match/-/mime-match-1.0.2.tgz", + "integrity": "sha512-VXp/ugGDVh3eCLOBCiHZMYWQaTNUHv2IJrut+yXA6+JbLPXHglHwfS/5A5L0ll+jkCY7fIzRJcH6OIunF+c6Cg==", + "license": "ISC", + "dependencies": { + "wildcard": "^1.1.0" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmmirror.com/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mini-svg-data-uri": { + "version": "1.4.4", + "resolved": "https://registry.npmmirror.com/mini-svg-data-uri/-/mini-svg-data-uri-1.4.4.tgz", + "integrity": "sha512-r9deDe9p5FJUPZAk3A59wGH7Ii9YrjjWw0jmw/liSbHl2CHiyXj6FcDXDu2K3TjVAXqiJdaw3xxwlZZr9E6nHg==", + "dev": true, + "license": "MIT", + "bin": { + "mini-svg-data-uri": "cli.js" + } + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmmirror.com/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/minizlib": { + "version": "3.0.2", + "resolved": "https://registry.npmmirror.com/minizlib/-/minizlib-3.0.2.tgz", + "integrity": "sha512-oG62iEk+CYt5Xj2YqI5Xi9xWUeZhDI8jjQmC5oThVH5JGCTgIjr7ciJDzC7MBzYd//WvR1OTmP5Q38Q8ShQtVA==", + "license": "MIT", + "dependencies": { + "minipass": "^7.1.2" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/mitt": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/mitt/-/mitt-3.0.1.tgz", + "integrity": "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==", + "license": "MIT" + }, + "node_modules/mkdirp": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/mkdirp/-/mkdirp-3.0.1.tgz", + "integrity": "sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==", + "license": "MIT", + "bin": { + "mkdirp": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/mlly": { + "version": "1.7.4", + "resolved": "https://registry.npmmirror.com/mlly/-/mlly-1.7.4.tgz", + "integrity": "sha512-qmdSIPC4bDJXgZTCR7XosJiNKySV7O215tsPtDN9iEO/7q/76b/ijtgRu/+epFXSJhijtTCCGp3DWS549P3xKw==", + "license": "MIT", + "dependencies": { + "acorn": "^8.14.0", + "pathe": "^2.0.1", + "pkg-types": "^1.3.0", + "ufo": "^1.5.4" + } + }, + "node_modules/mlly/node_modules/confbox": { + "version": "0.1.8", + "resolved": "https://registry.npmmirror.com/confbox/-/confbox-0.1.8.tgz", + "integrity": "sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==", + "license": "MIT" + }, + "node_modules/mlly/node_modules/pkg-types": { + "version": "1.3.1", + "resolved": "https://registry.npmmirror.com/pkg-types/-/pkg-types-1.3.1.tgz", + "integrity": "sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==", + "license": "MIT", + "dependencies": { + "confbox": "^0.1.8", + "mlly": "^1.7.4", + "pathe": "^2.0.1" + } + }, + "node_modules/mrmime": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/mrmime/-/mrmime-2.0.1.tgz", + "integrity": "sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmmirror.com/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" + }, + "node_modules/namespace-emitter": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/namespace-emitter/-/namespace-emitter-2.0.1.tgz", + "integrity": "sha512-N/sMKHniSDJBjfrkbS/tpkPj4RAbvW3mr8UAzvlMHyun93XEm83IAvhWtJVHo+RHn/oO8Job5YN4b+wRjSVp5g==", + "license": "MIT" + }, + "node_modules/nanoid": { + "version": "3.3.11", + "resolved": "https://registry.npmmirror.com/nanoid/-/nanoid-3.3.11.tgz", + "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmmirror.com/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true, + "license": "MIT" + }, + "node_modules/next-tick": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/next-tick/-/next-tick-1.1.0.tgz", + "integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==", + "license": "ISC" + }, + "node_modules/node-releases": { + "version": "2.0.19", + "resolved": "https://registry.npmmirror.com/node-releases/-/node-releases-2.0.19.tgz", + "integrity": "sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==", + "dev": true, + "license": "MIT" + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmmirror.com/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/normalize-wheel-es": { + "version": "1.2.0", + "resolved": "https://registry.npmmirror.com/normalize-wheel-es/-/normalize-wheel-es-1.2.0.tgz", + "integrity": "sha512-Wj7+EJQ8mSuXr2iWfnujrimU35R2W4FAErEyTmJoJ7ucwTn2hOUSsRehMb5RSYkxXGTM7Y9QpvPmp++w5ftoJw==", + "license": "BSD-3-Clause" + }, + "node_modules/npm-normalize-package-bin": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/npm-normalize-package-bin/-/npm-normalize-package-bin-4.0.0.tgz", + "integrity": "sha512-TZKxPvItzai9kN9H/TkmCtx/ZN/hvr3vUycjlfmH0ootY9yFBzNOpiXAdIn1Iteqsvk4lQn6B5PTrt+n6h8k/w==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm-run-all2": { + "version": "8.0.4", + "resolved": "https://registry.npmmirror.com/npm-run-all2/-/npm-run-all2-8.0.4.tgz", + "integrity": "sha512-wdbB5My48XKp2ZfJUlhnLVihzeuA1hgBnqB2J9ahV77wLS+/YAJAlN8I+X3DIFIPZ3m5L7nplmlbhNiFDmXRDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.2.1", + "cross-spawn": "^7.0.6", + "memorystream": "^0.3.1", + "picomatch": "^4.0.2", + "pidtree": "^0.6.0", + "read-package-json-fast": "^4.0.0", + "shell-quote": "^1.7.3", + "which": "^5.0.0" + }, + "bin": { + "npm-run-all": "bin/npm-run-all/index.js", + "npm-run-all2": "bin/npm-run-all/index.js", + "run-p": "bin/run-p/index.js", + "run-s": "bin/run-s/index.js" + }, + "engines": { + "node": "^20.5.0 || >=22.0.0", + "npm": ">= 10" + } + }, + "node_modules/npm-run-all2/node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/npm-run-all2/node_modules/isexe": { + "version": "3.1.1", + "resolved": "https://registry.npmmirror.com/isexe/-/isexe-3.1.1.tgz", + "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16" + } + }, + "node_modules/npm-run-all2/node_modules/which": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/which/-/which-5.0.0.tgz", + "integrity": "sha512-JEdGzHwwkrbWoGOlIHqQ5gtprKGOenpDHpxE9zVR1bWbOtYRyPPHMe9FaP6x61CmNaTThSkb0DAJte5jD+DmzQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^3.1.1" + }, + "bin": { + "node-which": "bin/which.js" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm-run-path": { + "version": "6.0.0", + "resolved": "https://registry.npmmirror.com/npm-run-path/-/npm-run-path-6.0.0.tgz", + "integrity": "sha512-9qny7Z9DsQU8Ou39ERsPU4OZQlSTP47ShQzuKZ6PRXpYLtIFgl/DEBYEXKlvcEa+9tHVcK8CF81Y2V72qaZhWA==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^4.0.0", + "unicorn-magic": "^0.3.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/npm-run-path/node_modules/path-key": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/path-key/-/path-key-4.0.0.tgz", + "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/nth-check": { + "version": "2.1.1", + "resolved": "https://registry.npmmirror.com/nth-check/-/nth-check-2.1.1.tgz", + "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^1.0.0" + }, + "funding": { + "url": "https://github.com/fb55/nth-check?sponsor=1" + } + }, + "node_modules/ohash": { + "version": "2.0.11", + "resolved": "https://registry.npmmirror.com/ohash/-/ohash-2.0.11.tgz", + "integrity": "sha512-RdR9FQrFwNBNXAr4GixM8YaRZRJ5PUWbKYbE5eOsrwAjJW0q2REGcf79oYPsLyskQCZG1PLN+S/K1V00joZAoQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/open": { + "version": "10.2.0", + "resolved": "https://registry.npmmirror.com/open/-/open-10.2.0.tgz", + "integrity": "sha512-YgBpdJHPyQ2UE5x+hlSXcnejzAvD0b22U2OuAP+8OnlJT+PjWPxtgmGqKKc+RgTM63U9gN0YzrYc71R2WT/hTA==", + "dev": true, + "license": "MIT", + "dependencies": { + "default-browser": "^5.2.1", + "define-lazy-prop": "^3.0.0", + "is-inside-container": "^1.0.0", + "wsl-utils": "^0.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/optionator": { + "version": "0.9.4", + "resolved": "https://registry.npmmirror.com/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", + "dev": true, + "license": "MIT", + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/oxlint": { + "version": "1.8.0", + "resolved": "https://registry.npmmirror.com/oxlint/-/oxlint-1.8.0.tgz", + "integrity": "sha512-kDC3zuplBM35GbrZ/3rRdDrZ6unpUkUjM8P3VSbyLgaYh2xZeg0TLLDbYALNAUyChVonNafXzgHZmbwnHfrTRg==", + "dev": true, + "license": "MIT", + "bin": { + "oxc_language_server": "bin/oxc_language_server", + "oxlint": "bin/oxlint" + }, + "engines": { + "node": ">=8.*" + }, + "funding": { + "url": "https://github.com/sponsors/Boshen" + }, + "optionalDependencies": { + "@oxlint/darwin-arm64": "1.8.0", + "@oxlint/darwin-x64": "1.8.0", + "@oxlint/linux-arm64-gnu": "1.8.0", + "@oxlint/linux-arm64-musl": "1.8.0", + "@oxlint/linux-x64-gnu": "1.8.0", + "@oxlint/linux-x64-musl": "1.8.0", + "@oxlint/win32-arm64": "1.8.0", + "@oxlint/win32-x64": "1.8.0" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "license": "MIT", + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-ms": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/parse-ms/-/parse-ms-4.0.0.tgz", + "integrity": "sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmmirror.com/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/pathe": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/pathe/-/pathe-2.0.3.tgz", + "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", + "license": "MIT" + }, + "node_modules/pdfjs-dist": { + "version": "4.10.38", + "resolved": "https://registry.npmmirror.com/pdfjs-dist/-/pdfjs-dist-4.10.38.tgz", + "integrity": "sha512-/Y3fcFrXEAsMjJXeL9J8+ZG9U01LbuWaYypvDW2ycW1jL269L3js3DVBjDJ0Up9Np1uqDXsDrRihHANhZOlwdQ==", + "license": "Apache-2.0", + "engines": { + "node": ">=20" + }, + "optionalDependencies": { + "@napi-rs/canvas": "^0.1.65" + } + }, + "node_modules/perfect-debounce": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/perfect-debounce/-/perfect-debounce-1.0.0.tgz", + "integrity": "sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA==", + "license": "MIT" + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "4.0.3", + "resolved": "https://registry.npmmirror.com/picomatch/-/picomatch-4.0.3.tgz", + "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pidtree": { + "version": "0.6.0", + "resolved": "https://registry.npmmirror.com/pidtree/-/pidtree-0.6.0.tgz", + "integrity": "sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g==", + "dev": true, + "license": "MIT", + "bin": { + "pidtree": "bin/pidtree.js" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/pinia": { + "version": "3.0.3", + "resolved": "https://registry.npmmirror.com/pinia/-/pinia-3.0.3.tgz", + "integrity": "sha512-ttXO/InUULUXkMHpTdp9Fj4hLpD/2AoJdmAbAeW2yu1iy1k+pkFekQXw5VpC0/5p51IOR/jDaDRfRWRnMMsGOA==", + "license": "MIT", + "dependencies": { + "@vue/devtools-api": "^7.7.2" + }, + "funding": { + "url": "https://github.com/sponsors/posva" + }, + "peerDependencies": { + "typescript": ">=4.4.4", + "vue": "^2.7.0 || ^3.5.11" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/pkg-types": { + "version": "2.2.0", + "resolved": "https://registry.npmmirror.com/pkg-types/-/pkg-types-2.2.0.tgz", + "integrity": "sha512-2SM/GZGAEkPp3KWORxQZns4M+WSeXbC2HEvmOIJe3Cmiv6ieAJvdVhDldtHqM5J1Y7MrR1XhkBT/rMlhh9FdqQ==", + "license": "MIT", + "dependencies": { + "confbox": "^0.2.2", + "exsolve": "^1.0.7", + "pathe": "^2.0.3" + } + }, + "node_modules/postcss": { + "version": "8.5.6", + "resolved": "https://registry.npmmirror.com/postcss/-/postcss-8.5.6.tgz", + "integrity": "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.11", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/postcss-selector-parser": { + "version": "6.0.10", + "resolved": "https://registry.npmmirror.com/postcss-selector-parser/-/postcss-selector-parser-6.0.10.tgz", + "integrity": "sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==", + "dev": true, + "license": "MIT", + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmmirror.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/preact": { + "version": "10.26.9", + "resolved": "https://registry.npmmirror.com/preact/-/preact-10.26.9.tgz", + "integrity": "sha512-SSjF9vcnF27mJK1XyFMNJzFd5u3pQiATFqoaDy03XuN00u4ziveVVEGt5RKJrDR8MHE/wJo9Nnad56RLzS2RMA==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/preact" + } + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmmirror.com/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/prettier": { + "version": "3.6.2", + "resolved": "https://registry.npmmirror.com/prettier/-/prettier-3.6.2.tgz", + "integrity": "sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==", + "dev": true, + "license": "MIT", + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "node_modules/prettier-linter-helpers": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", + "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-diff": "^1.1.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/pretty-ms": { + "version": "9.2.0", + "resolved": "https://registry.npmmirror.com/pretty-ms/-/pretty-ms-9.2.0.tgz", + "integrity": "sha512-4yf0QO/sllf/1zbZWYnvWw3NxCQwLXKzIj0G849LSufP15BXKM0rbD2Z3wVnkMfjdn/CB0Dpp444gYAACdsplg==", + "dev": true, + "license": "MIT", + "dependencies": { + "parse-ms": "^4.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/prismjs": { + "version": "1.30.0", + "resolved": "https://registry.npmmirror.com/prismjs/-/prismjs-1.30.0.tgz", + "integrity": "sha512-DEvV2ZF2r2/63V+tK8hQvrR2ZGn10srHbXviTlcv7Kpzw8jWiNTqbVgjO3IY8RxrrOUF8VPMQQFysYYYv0YZxw==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", + "license": "MIT" + }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmmirror.com/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/quansync": { + "version": "0.2.10", + "resolved": "https://registry.npmmirror.com/quansync/-/quansync-0.2.10.tgz", + "integrity": "sha512-t41VRkMYbkHyCYmOvx/6URnN80H7k4X0lLdBMGsz+maAwrJQYB1djpV6vHrQIBE0WBSGqhtEHrK9U3DWWH8v7A==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/antfu" + }, + { + "type": "individual", + "url": "https://github.com/sponsors/sxzz" + } + ], + "license": "MIT" + }, + "node_modules/read-package-json-fast": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/read-package-json-fast/-/read-package-json-fast-4.0.0.tgz", + "integrity": "sha512-qpt8EwugBWDw2cgE2W+/3oxC+KTez2uSVR8JU9Q36TXPAGCaozfQUs59v4j4GFpWTaw0i6hAZSvOmu1J0uOEUg==", + "dev": true, + "license": "ISC", + "dependencies": { + "json-parse-even-better-errors": "^4.0.0", + "npm-normalize-package-bin": "^4.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmmirror.com/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "license": "MIT", + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/readdirp/node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmmirror.com/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/rfdc": { + "version": "1.4.1", + "resolved": "https://registry.npmmirror.com/rfdc/-/rfdc-1.4.1.tgz", + "integrity": "sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==", + "license": "MIT" + }, + "node_modules/rollup": { + "version": "4.46.1", + "resolved": "https://registry.npmmirror.com/rollup/-/rollup-4.46.1.tgz", + "integrity": "sha512-33xGNBsDJAkzt0PvninskHlWnTIPgDtTwhg0U38CUoNP/7H6wI2Cz6dUeoNPbjdTdsYTGuiFFASuUOWovH0SyQ==", + "license": "MIT", + "dependencies": { + "@types/estree": "1.0.8" + }, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "@rollup/rollup-android-arm-eabi": "4.46.1", + "@rollup/rollup-android-arm64": "4.46.1", + "@rollup/rollup-darwin-arm64": "4.46.1", + "@rollup/rollup-darwin-x64": "4.46.1", + "@rollup/rollup-freebsd-arm64": "4.46.1", + "@rollup/rollup-freebsd-x64": "4.46.1", + "@rollup/rollup-linux-arm-gnueabihf": "4.46.1", + "@rollup/rollup-linux-arm-musleabihf": "4.46.1", + "@rollup/rollup-linux-arm64-gnu": "4.46.1", + "@rollup/rollup-linux-arm64-musl": "4.46.1", + "@rollup/rollup-linux-loongarch64-gnu": "4.46.1", + "@rollup/rollup-linux-ppc64-gnu": "4.46.1", + "@rollup/rollup-linux-riscv64-gnu": "4.46.1", + "@rollup/rollup-linux-riscv64-musl": "4.46.1", + "@rollup/rollup-linux-s390x-gnu": "4.46.1", + "@rollup/rollup-linux-x64-gnu": "4.46.1", + "@rollup/rollup-linux-x64-musl": "4.46.1", + "@rollup/rollup-win32-arm64-msvc": "4.46.1", + "@rollup/rollup-win32-ia32-msvc": "4.46.1", + "@rollup/rollup-win32-x64-msvc": "4.46.1", + "fsevents": "~2.3.2" + } + }, + "node_modules/run-applescript": { + "version": "7.0.0", + "resolved": "https://registry.npmmirror.com/run-applescript/-/run-applescript-7.0.0.tgz", + "integrity": "sha512-9by4Ij99JUr/MCFBUkDKLWK3G9HVXmabKz9U5MlIAIuvuzkiOicRYs8XJLxX+xahD+mLiiCYDqF9dKAgtzKP1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/rxjs": { + "version": "7.8.2", + "resolved": "https://registry.npmmirror.com/rxjs/-/rxjs-7.8.2.tgz", + "integrity": "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==", + "devOptional": true, + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/sass-embedded": { + "version": "1.89.2", + "resolved": "https://registry.npmmirror.com/sass-embedded/-/sass-embedded-1.89.2.tgz", + "integrity": "sha512-Ack2K8rc57kCFcYlf3HXpZEJFNUX8xd8DILldksREmYXQkRHI879yy8q4mRDJgrojkySMZqmmmW1NxrFxMsYaA==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@bufbuild/protobuf": "^2.5.0", + "buffer-builder": "^0.2.0", + "colorjs.io": "^0.5.0", + "immutable": "^5.0.2", + "rxjs": "^7.4.0", + "supports-color": "^8.1.1", + "sync-child-process": "^1.0.2", + "varint": "^6.0.0" + }, + "bin": { + "sass": "dist/bin/sass.js" + }, + "engines": { + "node": ">=16.0.0" + }, + "optionalDependencies": { + "sass-embedded-android-arm": "1.89.2", + "sass-embedded-android-arm64": "1.89.2", + "sass-embedded-android-riscv64": "1.89.2", + "sass-embedded-android-x64": "1.89.2", + "sass-embedded-darwin-arm64": "1.89.2", + "sass-embedded-darwin-x64": "1.89.2", + "sass-embedded-linux-arm": "1.89.2", + "sass-embedded-linux-arm64": "1.89.2", + "sass-embedded-linux-musl-arm": "1.89.2", + "sass-embedded-linux-musl-arm64": "1.89.2", + "sass-embedded-linux-musl-riscv64": "1.89.2", + "sass-embedded-linux-musl-x64": "1.89.2", + "sass-embedded-linux-riscv64": "1.89.2", + "sass-embedded-linux-x64": "1.89.2", + "sass-embedded-win32-arm64": "1.89.2", + "sass-embedded-win32-x64": "1.89.2" + } + }, + "node_modules/sass-embedded-android-arm": { + "version": "1.89.2", + "resolved": "https://registry.npmmirror.com/sass-embedded-android-arm/-/sass-embedded-android-arm-1.89.2.tgz", + "integrity": "sha512-oHAPTboBHRZlDBhyRB6dvDKh4KvFs+DZibDHXbkSI6dBZxMTT+Yb2ivocHnctVGucKTLQeT7+OM5DjWHyynL/A==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-android-arm64": { + "version": "1.89.2", + "resolved": "https://registry.npmmirror.com/sass-embedded-android-arm64/-/sass-embedded-android-arm64-1.89.2.tgz", + "integrity": "sha512-+pq7a7AUpItNyPu61sRlP6G2A8pSPpyazASb+8AK2pVlFayCSPAEgpwpCE9A2/Xj86xJZeMizzKUHxM2CBCUxA==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-android-riscv64": { + "version": "1.89.2", + "resolved": "https://registry.npmmirror.com/sass-embedded-android-riscv64/-/sass-embedded-android-riscv64-1.89.2.tgz", + "integrity": "sha512-HfJJWp/S6XSYvlGAqNdakeEMPOdhBkj2s2lN6SHnON54rahKem+z9pUbCriUJfM65Z90lakdGuOfidY61R9TYg==", + "cpu": [ + "riscv64" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-android-x64": { + "version": "1.89.2", + "resolved": "https://registry.npmmirror.com/sass-embedded-android-x64/-/sass-embedded-android-x64-1.89.2.tgz", + "integrity": "sha512-BGPzq53VH5z5HN8de6jfMqJjnRe1E6sfnCWFd4pK+CAiuM7iw5Fx6BQZu3ikfI1l2GY0y6pRXzsVLdp/j4EKEA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-darwin-arm64": { + "version": "1.89.2", + "resolved": "https://registry.npmmirror.com/sass-embedded-darwin-arm64/-/sass-embedded-darwin-arm64-1.89.2.tgz", + "integrity": "sha512-UCm3RL/tzMpG7DsubARsvGUNXC5pgfQvP+RRFJo9XPIi6elopY5B6H4m9dRYDpHA+scjVthdiDwkPYr9+S/KGw==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-darwin-x64": { + "version": "1.89.2", + "resolved": "https://registry.npmmirror.com/sass-embedded-darwin-x64/-/sass-embedded-darwin-x64-1.89.2.tgz", + "integrity": "sha512-D9WxtDY5VYtMApXRuhQK9VkPHB8R79NIIR6xxVlN2MIdEid/TZWi1MHNweieETXhWGrKhRKglwnHxxyKdJYMnA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-arm": { + "version": "1.89.2", + "resolved": "https://registry.npmmirror.com/sass-embedded-linux-arm/-/sass-embedded-linux-arm-1.89.2.tgz", + "integrity": "sha512-leP0t5U4r95dc90o8TCWfxNXwMAsQhpWxTkdtySDpngoqtTy3miMd7EYNYd1znI0FN1CBaUvbdCMbnbPwygDlA==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-arm64": { + "version": "1.89.2", + "resolved": "https://registry.npmmirror.com/sass-embedded-linux-arm64/-/sass-embedded-linux-arm64-1.89.2.tgz", + "integrity": "sha512-2N4WW5LLsbtrWUJ7iTpjvhajGIbmDR18ZzYRywHdMLpfdPApuHPMDF5CYzHbS+LLx2UAx7CFKBnj5LLjY6eFgQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-musl-arm": { + "version": "1.89.2", + "resolved": "https://registry.npmmirror.com/sass-embedded-linux-musl-arm/-/sass-embedded-linux-musl-arm-1.89.2.tgz", + "integrity": "sha512-Z6gG2FiVEEdxYHRi2sS5VIYBmp17351bWtOCUZ/thBM66+e70yiN6Eyqjz80DjL8haRUegNQgy9ZJqsLAAmr9g==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-musl-arm64": { + "version": "1.89.2", + "resolved": "https://registry.npmmirror.com/sass-embedded-linux-musl-arm64/-/sass-embedded-linux-musl-arm64-1.89.2.tgz", + "integrity": "sha512-nTyuaBX6U1A/cG7WJh0pKD1gY8hbg1m2SnzsyoFG+exQ0lBX/lwTLHq3nyhF+0atv7YYhYKbmfz+sjPP8CZ9lw==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-musl-riscv64": { + "version": "1.89.2", + "resolved": "https://registry.npmmirror.com/sass-embedded-linux-musl-riscv64/-/sass-embedded-linux-musl-riscv64-1.89.2.tgz", + "integrity": "sha512-N6oul+qALO0SwGY8JW7H/Vs0oZIMrRMBM4GqX3AjM/6y8JsJRxkAwnfd0fDyK+aICMFarDqQonQNIx99gdTZqw==", + "cpu": [ + "riscv64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-musl-x64": { + "version": "1.89.2", + "resolved": "https://registry.npmmirror.com/sass-embedded-linux-musl-x64/-/sass-embedded-linux-musl-x64-1.89.2.tgz", + "integrity": "sha512-K+FmWcdj/uyP8GiG9foxOCPfb5OAZG0uSVq80DKgVSC0U44AdGjvAvVZkrgFEcZ6cCqlNC2JfYmslB5iqdL7tg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-riscv64": { + "version": "1.89.2", + "resolved": "https://registry.npmmirror.com/sass-embedded-linux-riscv64/-/sass-embedded-linux-riscv64-1.89.2.tgz", + "integrity": "sha512-g9nTbnD/3yhOaskeqeBQETbtfDQWRgsjHok6bn7DdAuwBsyrR3JlSFyqKc46pn9Xxd9SQQZU8AzM4IR+sY0A0w==", + "cpu": [ + "riscv64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-x64": { + "version": "1.89.2", + "resolved": "https://registry.npmmirror.com/sass-embedded-linux-x64/-/sass-embedded-linux-x64-1.89.2.tgz", + "integrity": "sha512-Ax7dKvzncyQzIl4r7012KCMBvJzOz4uwSNoyoM5IV6y5I1f5hEwI25+U4WfuTqdkv42taCMgpjZbh9ERr6JVMQ==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-win32-arm64": { + "version": "1.89.2", + "resolved": "https://registry.npmmirror.com/sass-embedded-win32-arm64/-/sass-embedded-win32-arm64-1.89.2.tgz", + "integrity": "sha512-j96iJni50ZUsfD6tRxDQE2QSYQ2WrfHxeiyAXf41Kw0V4w5KYR/Sf6rCZQLMTUOHnD16qTMVpQi20LQSqf4WGg==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-win32-x64": { + "version": "1.89.2", + "resolved": "https://registry.npmmirror.com/sass-embedded-win32-x64/-/sass-embedded-win32-x64-1.89.2.tgz", + "integrity": "sha512-cS2j5ljdkQsb4PaORiClaVYynE9OAPZG/XjbOMxpQmjRIf7UroY4PEIH+Waf+y47PfXFX9SyxhYuw2NIKGbEng==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/scroll-into-view-if-needed": { + "version": "2.2.31", + "resolved": "https://registry.npmmirror.com/scroll-into-view-if-needed/-/scroll-into-view-if-needed-2.2.31.tgz", + "integrity": "sha512-dGCXy99wZQivjmjIqihaBQNjryrz5rueJY7eHfTdyWEiR4ttYpsajb14rn9s5d4DY4EcY6+4+U/maARBXJedkA==", + "license": "MIT", + "dependencies": { + "compute-scroll-into-view": "^1.0.20" + } + }, + "node_modules/scule": { + "version": "1.3.0", + "resolved": "https://registry.npmmirror.com/scule/-/scule-1.3.0.tgz", + "integrity": "sha512-6FtHJEvt+pVMIB9IBY+IcCJ6Z5f1iQnytgyfKMhDKgmzYG+TeH/wx1y3l27rshSbLiSanrR9ffZDrEsmjlQF2g==", + "license": "MIT" + }, + "node_modules/semver": { + "version": "7.7.2", + "resolved": "https://registry.npmmirror.com/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/shell-quote": { + "version": "1.8.3", + "resolved": "https://registry.npmmirror.com/shell-quote/-/shell-quote-1.8.3.tgz", + "integrity": "sha512-ObmnIF4hXNg1BqhnHmgbDETF8dLPCggZWBjkQfhZpbszZnYur5DUljTcCHii5LC3J5E0yeO/1LIMyH+UvHQgyw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/sirv": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/sirv/-/sirv-3.0.1.tgz", + "integrity": "sha512-FoqMu0NCGBLCcAkS1qA+XJIQTR6/JHfQXl+uGteNCQ76T91DMUjPa9xfmeqMY3z80nLSg9yQmNjK0Px6RWsH/A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@polka/url": "^1.0.0-next.24", + "mrmime": "^2.0.0", + "totalist": "^3.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/slate": { + "version": "0.72.8", + "resolved": "https://registry.npmmirror.com/slate/-/slate-0.72.8.tgz", + "integrity": "sha512-/nJwTswQgnRurpK+bGJFH1oM7naD5qDmHd89JyiKNT2oOKD8marW0QSBtuFnwEbL5aGCS8AmrhXQgNOsn4osAw==", + "license": "MIT", + "dependencies": { + "immer": "^9.0.6", + "is-plain-object": "^5.0.0", + "tiny-warning": "^1.0.3" + } + }, + "node_modules/slate-history": { + "version": "0.66.0", + "resolved": "https://registry.npmmirror.com/slate-history/-/slate-history-0.66.0.tgz", + "integrity": "sha512-6MWpxGQZiMvSINlCbMW43E2YBSVMCMCIwQfBzGssjWw4kb0qfvj0pIdblWNRQZD0hR6WHP+dHHgGSeVdMWzfng==", + "license": "MIT", + "dependencies": { + "is-plain-object": "^5.0.0" + }, + "peerDependencies": { + "slate": ">=0.65.3" + } + }, + "node_modules/snabbdom": { + "version": "3.6.2", + "resolved": "https://registry.npmmirror.com/snabbdom/-/snabbdom-3.6.2.tgz", + "integrity": "sha512-ig5qOnCDbugFntKi6c7Xlib8bA6xiJVk8O+WdFrV3wxbMqeHO0hXFQC4nAhPVWfZfi8255lcZkNhtIBINCc4+Q==", + "license": "MIT", + "engines": { + "node": ">=12.17.0" + } + }, + "node_modules/sortablejs": { + "version": "1.14.0", + "resolved": "https://registry.npmmirror.com/sortablejs/-/sortablejs-1.14.0.tgz", + "integrity": "sha512-pBXvQCs5/33fdN1/39pPL0NZF20LeRbLQ5jtnheIPN9JQAaufGjKdWduZn4U7wCtVuzKhmRkI0DFYHYRbB2H1w==", + "license": "MIT" + }, + "node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmmirror.com/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmmirror.com/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/speakingurl": { + "version": "14.0.1", + "resolved": "https://registry.npmmirror.com/speakingurl/-/speakingurl-14.0.1.tgz", + "integrity": "sha512-1POYv7uv2gXoyGFpBCmpDVSNV74IfsWlDW216UPjbWufNf+bSU6GdbDsxdcxtfwb4xlI3yxzOTKClUosxARYrQ==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ssr-window": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/ssr-window/-/ssr-window-3.0.0.tgz", + "integrity": "sha512-q+8UfWDg9Itrg0yWK7oe5p/XRCJpJF9OBtXfOPgSJl+u3Xd5KI328RUEvUqSMVM9CiQUEf1QdBzJMkYGErj9QA==", + "license": "MIT" + }, + "node_modules/strip-final-newline": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/strip-final-newline/-/strip-final-newline-4.0.0.tgz", + "integrity": "sha512-aulFJcD6YK8V1G7iRB5tigAP4TsHBZZrOV8pjV++zdUwmeV8uzbY7yn6h9MswN62adStNZFuCIx4haBnRuMDaw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmmirror.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/strip-literal": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/strip-literal/-/strip-literal-3.0.0.tgz", + "integrity": "sha512-TcccoMhJOM3OebGhSBEmp3UZ2SfDMZUEBdRA/9ynfLi8yYajyWX3JiXArcJt4Umh4vISpspkQIY8ZZoCqjbviA==", + "license": "MIT", + "dependencies": { + "js-tokens": "^9.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, + "node_modules/superjson": { + "version": "2.2.2", + "resolved": "https://registry.npmmirror.com/superjson/-/superjson-2.2.2.tgz", + "integrity": "sha512-5JRxVqC8I8NuOUjzBbvVJAKNM8qoVuH0O77h4WInc/qC2q5IreqKxYwgkga3PfA22OayK2ikceb/B26dztPl+Q==", + "license": "MIT", + "dependencies": { + "copy-anything": "^3.0.2" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/sync-child-process": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/sync-child-process/-/sync-child-process-1.0.2.tgz", + "integrity": "sha512-8lD+t2KrrScJ/7KXCSyfhT3/hRq78rC0wBFqNJXv3mZyn6hW2ypM05JmlSvtqRbeq6jqA94oHbxAr2vYsJ8vDA==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "sync-message-port": "^1.0.0" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/sync-message-port": { + "version": "1.1.3", + "resolved": "https://registry.npmmirror.com/sync-message-port/-/sync-message-port-1.1.3.tgz", + "integrity": "sha512-GTt8rSKje5FilG+wEdfCkOcLL7LWqpMlr2c3LRuKt/YXxcJ52aGSbGBAdI4L3aaqfrBt6y711El53ItyH1NWzg==", + "devOptional": true, + "license": "MIT", + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/synckit": { + "version": "0.11.11", + "resolved": "https://registry.npmmirror.com/synckit/-/synckit-0.11.11.tgz", + "integrity": "sha512-MeQTA1r0litLUf0Rp/iisCaL8761lKAZHaimlbGK4j0HysC4PLfqygQj9srcs0m2RdtDYnF8UuYyKpbjHYp7Jw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@pkgr/core": "^0.2.9" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/synckit" + } + }, + "node_modules/tailwindcss": { + "version": "4.1.11", + "resolved": "https://registry.npmmirror.com/tailwindcss/-/tailwindcss-4.1.11.tgz", + "integrity": "sha512-2E9TBm6MDD/xKYe+dvJZAmg3yxIEDNRc0jwlNyDg/4Fil2QcSLjFKGVff0lAf1jjeaArlG/M75Ey/EYr/OJtBA==", + "license": "MIT" + }, + "node_modules/tapable": { + "version": "2.2.2", + "resolved": "https://registry.npmmirror.com/tapable/-/tapable-2.2.2.tgz", + "integrity": "sha512-Re10+NauLTMCudc7T5WLFLAwDhQ0JWdrMK+9B2M8zR5hRExKmsRDCBA7/aV/pNJFltmBFO5BAMlQFi/vq3nKOg==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/tar": { + "version": "7.4.3", + "resolved": "https://registry.npmmirror.com/tar/-/tar-7.4.3.tgz", + "integrity": "sha512-5S7Va8hKfV7W5U6g3aYxXmlPoZVAwUMy9AOKyF2fVuZa2UD3qZjg578OrLRt8PcNN1PleVaL/5/yYATNL0ICUw==", + "license": "ISC", + "dependencies": { + "@isaacs/fs-minipass": "^4.0.0", + "chownr": "^3.0.0", + "minipass": "^7.1.2", + "minizlib": "^3.0.1", + "mkdirp": "^3.0.1", + "yallist": "^5.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/tiny-warning": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/tiny-warning/-/tiny-warning-1.0.3.tgz", + "integrity": "sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==", + "license": "MIT" + }, + "node_modules/tinyglobby": { + "version": "0.2.14", + "resolved": "https://registry.npmmirror.com/tinyglobby/-/tinyglobby-0.2.14.tgz", + "integrity": "sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==", + "license": "MIT", + "dependencies": { + "fdir": "^6.4.4", + "picomatch": "^4.0.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/SuperchupuDev" + } + }, + "node_modules/tinymce": { + "version": "8.0.2", + "resolved": "https://registry.npmmirror.com/tinymce/-/tinymce-8.0.2.tgz", + "integrity": "sha512-Gkvn5mRcZCAK1EKP7hnk3VBzwqPbqpZU2AN0T08BMtvmY9Sg0C0ZqmMghJCQ3vgo+LWA38pDOPiaM8EW7BZEow==", + "license": "GPL-2.0-or-later" + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmmirror.com/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "license": "MIT", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/totalist": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/totalist/-/totalist-3.0.1.tgz", + "integrity": "sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmmirror.com/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "devOptional": true, + "license": "0BSD" + }, + "node_modules/type": { + "version": "2.7.3", + "resolved": "https://registry.npmmirror.com/type/-/type-2.7.3.tgz", + "integrity": "sha512-8j+1QmAbPvLZow5Qpi6NCaN8FB60p/6x8/vfNqOk/hC+HuvFZhL4+WfekuhQLiqFZXOgQdrs3B+XxEmCc6b3FQ==", + "license": "ISC" + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmmirror.com/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/ufo": { + "version": "1.6.1", + "resolved": "https://registry.npmmirror.com/ufo/-/ufo-1.6.1.tgz", + "integrity": "sha512-9a4/uxlTWJ4+a5i0ooc1rU7C7YOw3wT+UGqdeNNHWnOF9qcMBgLRS+4IYUqbczewFx4mLEig6gawh7X6mFlEkA==", + "license": "MIT" + }, + "node_modules/unicorn-magic": { + "version": "0.3.0", + "resolved": "https://registry.npmmirror.com/unicorn-magic/-/unicorn-magic-0.3.0.tgz", + "integrity": "sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/unimport": { + "version": "4.2.0", + "resolved": "https://registry.npmmirror.com/unimport/-/unimport-4.2.0.tgz", + "integrity": "sha512-mYVtA0nmzrysnYnyb3ALMbByJ+Maosee2+WyE0puXl+Xm2bUwPorPaaeZt0ETfuroPOtG8jj1g/qeFZ6buFnag==", + "license": "MIT", + "dependencies": { + "acorn": "^8.14.1", + "escape-string-regexp": "^5.0.0", + "estree-walker": "^3.0.3", + "local-pkg": "^1.1.1", + "magic-string": "^0.30.17", + "mlly": "^1.7.4", + "pathe": "^2.0.3", + "picomatch": "^4.0.2", + "pkg-types": "^2.1.0", + "scule": "^1.3.0", + "strip-literal": "^3.0.0", + "tinyglobby": "^0.2.12", + "unplugin": "^2.2.2", + "unplugin-utils": "^0.2.4" + }, + "engines": { + "node": ">=18.12.0" + } + }, + "node_modules/unimport/node_modules/escape-string-regexp": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", + "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/unplugin": { + "version": "2.3.5", + "resolved": "https://registry.npmmirror.com/unplugin/-/unplugin-2.3.5.tgz", + "integrity": "sha512-RyWSb5AHmGtjjNQ6gIlA67sHOsWpsbWpwDokLwTcejVdOjEkJZh7QKu14J00gDDVSh8kGH4KYC/TNBceXFZhtw==", + "license": "MIT", + "dependencies": { + "acorn": "^8.14.1", + "picomatch": "^4.0.2", + "webpack-virtual-modules": "^0.6.2" + }, + "engines": { + "node": ">=18.12.0" + } + }, + "node_modules/unplugin-auto-import": { + "version": "19.3.0", + "resolved": "https://registry.npmmirror.com/unplugin-auto-import/-/unplugin-auto-import-19.3.0.tgz", + "integrity": "sha512-iIi0u4Gq2uGkAOGqlPJOAMI8vocvjh1clGTfSK4SOrJKrt+tirrixo/FjgBwXQNNdS7ofcr7OxzmOb/RjWxeEQ==", + "license": "MIT", + "dependencies": { + "local-pkg": "^1.1.1", + "magic-string": "^0.30.17", + "picomatch": "^4.0.2", + "unimport": "^4.2.0", + "unplugin": "^2.3.4", + "unplugin-utils": "^0.2.4" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + }, + "peerDependencies": { + "@nuxt/kit": "^3.2.2", + "@vueuse/core": "*" + }, + "peerDependenciesMeta": { + "@nuxt/kit": { + "optional": true + }, + "@vueuse/core": { + "optional": true + } + } + }, + "node_modules/unplugin-utils": { + "version": "0.2.4", + "resolved": "https://registry.npmmirror.com/unplugin-utils/-/unplugin-utils-0.2.4.tgz", + "integrity": "sha512-8U/MtpkPkkk3Atewj1+RcKIjb5WBimZ/WSLhhR3w6SsIj8XJuKTacSP8g+2JhfSGw0Cb125Y+2zA/IzJZDVbhA==", + "license": "MIT", + "dependencies": { + "pathe": "^2.0.2", + "picomatch": "^4.0.2" + }, + "engines": { + "node": ">=18.12.0" + }, + "funding": { + "url": "https://github.com/sponsors/sxzz" + } + }, + "node_modules/unplugin-vue-components": { + "version": "28.8.0", + "resolved": "https://registry.npmmirror.com/unplugin-vue-components/-/unplugin-vue-components-28.8.0.tgz", + "integrity": "sha512-2Q6ZongpoQzuXDK0ZsVzMoshH0MWZQ1pzVL538G7oIDKRTVzHjppBDS8aB99SADGHN3lpGU7frraCG6yWNoL5Q==", + "license": "MIT", + "dependencies": { + "chokidar": "^3.6.0", + "debug": "^4.4.1", + "local-pkg": "^1.1.1", + "magic-string": "^0.30.17", + "mlly": "^1.7.4", + "tinyglobby": "^0.2.14", + "unplugin": "^2.3.5", + "unplugin-utils": "^0.2.4" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + }, + "peerDependencies": { + "@babel/parser": "^7.15.8", + "@nuxt/kit": "^3.2.2 || ^4.0.0", + "vue": "2 || 3" + }, + "peerDependenciesMeta": { + "@babel/parser": { + "optional": true + }, + "@nuxt/kit": { + "optional": true + } + } + }, + "node_modules/update-browserslist-db": { + "version": "1.1.3", + "resolved": "https://registry.npmmirror.com/update-browserslist-db/-/update-browserslist-db-1.1.3.tgz", + "integrity": "sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "escalade": "^3.2.0", + "picocolors": "^1.1.1" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmmirror.com/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "dev": true, + "license": "MIT" + }, + "node_modules/varint": { + "version": "6.0.0", + "resolved": "https://registry.npmmirror.com/varint/-/varint-6.0.0.tgz", + "integrity": "sha512-cXEIW6cfr15lFv563k4GuVuW/fiwjknytD37jIOLSdSWuOI6WnO/oKwmP2FQTU2l01LP8/M5TSAJpzUaGe3uWg==", + "devOptional": true, + "license": "MIT" + }, + "node_modules/vite": { + "version": "7.0.6", + "resolved": "https://registry.npmmirror.com/vite/-/vite-7.0.6.tgz", + "integrity": "sha512-MHFiOENNBd+Bd9uvc8GEsIzdkn1JxMmEeYX35tI3fv0sJBUTfW5tQsoaOwuY4KhBI09A3dUJ/DXf2yxPVPUceg==", + "license": "MIT", + "dependencies": { + "esbuild": "^0.25.0", + "fdir": "^6.4.6", + "picomatch": "^4.0.3", + "postcss": "^8.5.6", + "rollup": "^4.40.0", + "tinyglobby": "^0.2.14" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^20.19.0 || >=22.12.0", + "jiti": ">=1.21.0", + "less": "^4.0.0", + "lightningcss": "^1.21.0", + "sass": "^1.70.0", + "sass-embedded": "^1.70.0", + "stylus": ">=0.54.8", + "sugarss": "^5.0.0", + "terser": "^5.16.0", + "tsx": "^4.8.1", + "yaml": "^2.4.2" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "jiti": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true + } + } + }, + "node_modules/vite-dev-rpc": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/vite-dev-rpc/-/vite-dev-rpc-1.1.0.tgz", + "integrity": "sha512-pKXZlgoXGoE8sEKiKJSng4hI1sQ4wi5YT24FCrwrLt6opmkjlqPPVmiPWWJn8M8byMxRGzp1CrFuqQs4M/Z39A==", + "dev": true, + "license": "MIT", + "dependencies": { + "birpc": "^2.4.0", + "vite-hot-client": "^2.1.0" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + }, + "peerDependencies": { + "vite": "^2.9.0 || ^3.0.0-0 || ^4.0.0-0 || ^5.0.0-0 || ^6.0.1 || ^7.0.0-0" + } + }, + "node_modules/vite-hot-client": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/vite-hot-client/-/vite-hot-client-2.1.0.tgz", + "integrity": "sha512-7SpgZmU7R+dDnSmvXE1mfDtnHLHQSisdySVR7lO8ceAXvM0otZeuQQ6C8LrS5d/aYyP/QZ0hI0L+dIPrm4YlFQ==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/antfu" + }, + "peerDependencies": { + "vite": "^2.6.0 || ^3.0.0 || ^4.0.0 || ^5.0.0-0 || ^6.0.0-0 || ^7.0.0-0" + } + }, + "node_modules/vite-plugin-inspect": { + "version": "11.3.2", + "resolved": "https://registry.npmmirror.com/vite-plugin-inspect/-/vite-plugin-inspect-11.3.2.tgz", + "integrity": "sha512-nzwvyFQg58XSMAmKVLr2uekAxNYvAbz1lyPmCAFVIBncCgN9S/HPM+2UM9Q9cvc4JEbC5ZBgwLAdaE2onmQuKg==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansis": "^4.1.0", + "debug": "^4.4.1", + "error-stack-parser-es": "^1.0.5", + "ohash": "^2.0.11", + "open": "^10.2.0", + "perfect-debounce": "^1.0.0", + "sirv": "^3.0.1", + "unplugin-utils": "^0.2.4", + "vite-dev-rpc": "^1.1.0" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + }, + "peerDependencies": { + "vite": "^6.0.0 || ^7.0.0-0" + }, + "peerDependenciesMeta": { + "@nuxt/kit": { + "optional": true + } + } + }, + "node_modules/vite-plugin-vue-devtools": { + "version": "8.0.0", + "resolved": "https://registry.npmmirror.com/vite-plugin-vue-devtools/-/vite-plugin-vue-devtools-8.0.0.tgz", + "integrity": "sha512-9bWQig8UMu3nPbxX86NJv56aelpFYoBHxB5+pxuQz3pa3Tajc1ezRidj/0dnADA4/UHuVIfwIVYHOvMXYcPshg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vue/devtools-core": "^8.0.0", + "@vue/devtools-kit": "^8.0.0", + "@vue/devtools-shared": "^8.0.0", + "execa": "^9.6.0", + "sirv": "^3.0.1", + "vite-plugin-inspect": "^11.3.0", + "vite-plugin-vue-inspector": "^5.3.2" + }, + "engines": { + "node": ">=v14.21.3" + }, + "peerDependencies": { + "vite": "^6.0.0 || ^7.0.0-0" + } + }, + "node_modules/vite-plugin-vue-devtools/node_modules/@vue/devtools-kit": { + "version": "8.0.0", + "resolved": "https://registry.npmmirror.com/@vue/devtools-kit/-/devtools-kit-8.0.0.tgz", + "integrity": "sha512-b11OeQODkE0bctdT0RhL684pEV2DPXJ80bjpywVCbFn1PxuL3bmMPDoJKjbMnnoWbrnUYXYzFfmMWBZAMhORkQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vue/devtools-shared": "^8.0.0", + "birpc": "^2.5.0", + "hookable": "^5.5.3", + "mitt": "^3.0.1", + "perfect-debounce": "^1.0.0", + "speakingurl": "^14.0.1", + "superjson": "^2.2.2" + } + }, + "node_modules/vite-plugin-vue-devtools/node_modules/@vue/devtools-shared": { + "version": "8.0.0", + "resolved": "https://registry.npmmirror.com/@vue/devtools-shared/-/devtools-shared-8.0.0.tgz", + "integrity": "sha512-jrKnbjshQCiOAJanoeJjTU7WaCg0Dz2BUal6SaR6VM/P3hiFdX5Q6Pxl73ZMnrhCxNK9nAg5hvvRGqs+6dtU1g==", + "dev": true, + "license": "MIT", + "dependencies": { + "rfdc": "^1.4.1" + } + }, + "node_modules/vite-plugin-vue-inspector": { + "version": "5.3.2", + "resolved": "https://registry.npmmirror.com/vite-plugin-vue-inspector/-/vite-plugin-vue-inspector-5.3.2.tgz", + "integrity": "sha512-YvEKooQcSiBTAs0DoYLfefNja9bLgkFM7NI2b07bE2SruuvX0MEa9cMaxjKVMkeCp5Nz9FRIdcN1rOdFVBeL6Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.23.0", + "@babel/plugin-proposal-decorators": "^7.23.0", + "@babel/plugin-syntax-import-attributes": "^7.22.5", + "@babel/plugin-syntax-import-meta": "^7.10.4", + "@babel/plugin-transform-typescript": "^7.22.15", + "@vue/babel-plugin-jsx": "^1.1.5", + "@vue/compiler-dom": "^3.3.4", + "kolorist": "^1.8.0", + "magic-string": "^0.30.4" + }, + "peerDependencies": { + "vite": "^3.0.0-0 || ^4.0.0-0 || ^5.0.0-0 || ^6.0.0-0 || ^7.0.0-0" + } + }, + "node_modules/vue": { + "version": "3.5.18", + "resolved": "https://registry.npmmirror.com/vue/-/vue-3.5.18.tgz", + "integrity": "sha512-7W4Y4ZbMiQ3SEo+m9lnoNpV9xG7QVMLa+/0RFwwiAVkeYoyGXqWE85jabU4pllJNUzqfLShJ5YLptewhCWUgNA==", + "license": "MIT", + "dependencies": { + "@vue/compiler-dom": "3.5.18", + "@vue/compiler-sfc": "3.5.18", + "@vue/runtime-dom": "3.5.18", + "@vue/server-renderer": "3.5.18", + "@vue/shared": "3.5.18" + }, + "peerDependencies": { + "typescript": "*" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/vue-eslint-parser": { + "version": "10.2.0", + "resolved": "https://registry.npmmirror.com/vue-eslint-parser/-/vue-eslint-parser-10.2.0.tgz", + "integrity": "sha512-CydUvFOQKD928UzZhTp4pr2vWz1L+H99t7Pkln2QSPdvmURT0MoC4wUccfCnuEaihNsu9aYYyk+bep8rlfkUXw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "debug": "^4.4.0", + "eslint-scope": "^8.2.0", + "eslint-visitor-keys": "^4.2.0", + "espree": "^10.3.0", + "esquery": "^1.6.0", + "semver": "^7.6.3" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0" + } + }, + "node_modules/vue-json-editor": { + "version": "1.4.3", + "resolved": "https://registry.npmmirror.com/vue-json-editor/-/vue-json-editor-1.4.3.tgz", + "integrity": "sha512-st9HdXBgCnyEmmfWrZQiKzp4KuYXzmYVUNDn5h6Fa18MrrGS1amnyUFyv7hQFsNBDW27B7BKkdGOqszYT1srAg==", + "license": "ISC", + "dependencies": { + "vue": "^2.2.6" + }, + "engines": { + "node": ">= 4.0.0", + "npm": ">= 3.0.0" + } + }, + "node_modules/vue-json-editor/node_modules/@vue/compiler-sfc": { + "version": "2.7.16", + "resolved": "https://registry.npmmirror.com/@vue/compiler-sfc/-/compiler-sfc-2.7.16.tgz", + "integrity": "sha512-KWhJ9k5nXuNtygPU7+t1rX6baZeqOYLEforUPjgNDBnLicfHCoi48H87Q8XyLZOrNNsmhuwKqtpDQWjEFe6Ekg==", + "dependencies": { + "@babel/parser": "^7.23.5", + "postcss": "^8.4.14", + "source-map": "^0.6.1" + }, + "optionalDependencies": { + "prettier": "^1.18.2 || ^2.0.0" + } + }, + "node_modules/vue-json-editor/node_modules/prettier": { + "version": "2.8.8", + "resolved": "https://registry.npmmirror.com/prettier/-/prettier-2.8.8.tgz", + "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "license": "MIT", + "optional": true, + "bin": { + "prettier": "bin-prettier.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "node_modules/vue-json-editor/node_modules/vue": { + "version": "2.7.16", + "resolved": "https://registry.npmmirror.com/vue/-/vue-2.7.16.tgz", + "integrity": "sha512-4gCtFXaAA3zYZdTp5s4Hl2sozuySsgz4jy1EnpBHNfpMa9dK1ZCG7viqBPCwXtmgc8nHqUsAu3G4gtmXkkY3Sw==", + "deprecated": "Vue 2 has reached EOL and is no longer actively maintained. See https://v2.vuejs.org/eol/ for more details.", + "license": "MIT", + "dependencies": { + "@vue/compiler-sfc": "2.7.16", + "csstype": "^3.1.0" + } + }, + "node_modules/vue-pdf-embed": { + "version": "2.1.3", + "resolved": "https://registry.npmmirror.com/vue-pdf-embed/-/vue-pdf-embed-2.1.3.tgz", + "integrity": "sha512-EGgZNb8HRrAloBpb8p8CugDpJpoPbQ8CFfAYdWZgq2e5qBMP9JSeLzVQIAJkXsclHXRIS3O9fp3WQbP9T5Inwg==", + "license": "MIT", + "dependencies": { + "pdfjs-dist": "^4.10.38" + }, + "peerDependencies": { + "vue": "^3.3.0" + } + }, + "node_modules/vue-router": { + "version": "4.5.1", + "resolved": "https://registry.npmmirror.com/vue-router/-/vue-router-4.5.1.tgz", + "integrity": "sha512-ogAF3P97NPm8fJsE4by9dwSYtDwXIY1nFY9T6DyQnGHd1E2Da94w9JIolpe42LJGIl0DwOHBi8TcRPlPGwbTtw==", + "license": "MIT", + "dependencies": { + "@vue/devtools-api": "^6.6.4" + }, + "funding": { + "url": "https://github.com/sponsors/posva" + }, + "peerDependencies": { + "vue": "^3.2.0" + } + }, + "node_modules/vue-router/node_modules/@vue/devtools-api": { + "version": "6.6.4", + "resolved": "https://registry.npmmirror.com/@vue/devtools-api/-/devtools-api-6.6.4.tgz", + "integrity": "sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g==", + "license": "MIT" + }, + "node_modules/vuedraggable": { + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/vuedraggable/-/vuedraggable-4.1.0.tgz", + "integrity": "sha512-FU5HCWBmsf20GpP3eudURW3WdWTKIbEIQxh9/8GE806hydR9qZqRRxRE3RjqX7PkuLuMQG/A7n3cfj9rCEchww==", + "license": "MIT", + "dependencies": { + "sortablejs": "1.14.0" + }, + "peerDependencies": { + "vue": "^3.0.1" + } + }, + "node_modules/webpack-virtual-modules": { + "version": "0.6.2", + "resolved": "https://registry.npmmirror.com/webpack-virtual-modules/-/webpack-virtual-modules-0.6.2.tgz", + "integrity": "sha512-66/V2i5hQanC51vBQKPH4aI8NMAcBW59FVBs+rC7eGHupMyfn34q7rZIE+ETlJ+XTevqfUhVVBgSUNSW2flEUQ==", + "license": "MIT" + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/wildcard": { + "version": "1.1.2", + "resolved": "https://registry.npmmirror.com/wildcard/-/wildcard-1.1.2.tgz", + "integrity": "sha512-DXukZJxpHA8LuotRwL0pP1+rS6CS7FF2qStDDE1C7DDg2rLud2PXRMuEDYIPhgEezwnlHNL4c+N6MfMTjCGTng==", + "license": "MIT" + }, + "node_modules/word-wrap": { + "version": "1.2.5", + "resolved": "https://registry.npmmirror.com/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/wsl-utils": { + "version": "0.1.0", + "resolved": "https://registry.npmmirror.com/wsl-utils/-/wsl-utils-0.1.0.tgz", + "integrity": "sha512-h3Fbisa2nKGPxCpm89Hk33lBLsnaGBvctQopaBSOW/uIs6FTe1ATyAnKFJrzVs9vpGdsTe73WF3V4lIsk4Gacw==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-wsl": "^3.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/xml-name-validator": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/xml-name-validator/-/xml-name-validator-4.0.0.tgz", + "integrity": "sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=12" + } + }, + "node_modules/yallist": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/yallist/-/yallist-5.0.0.tgz", + "integrity": "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==", + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmmirror.com/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/yoctocolors": { + "version": "2.1.1", + "resolved": "https://registry.npmmirror.com/yoctocolors/-/yoctocolors-2.1.1.tgz", + "integrity": "sha512-GQHQqAopRhwU8Kt1DDM8NjibDXHC8eoh1erhGAJPEyveY9qqVeXvVikNKrDz69sHowPMorbPUrH/mx8c50eiBQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/zrender": { + "version": "6.0.0", + "resolved": "https://registry.npmmirror.com/zrender/-/zrender-6.0.0.tgz", + "integrity": "sha512-41dFXEEXuJpNecuUQq6JlbybmnHaqqpGlbH1yxnA5V9MMP4SbohSVZsJIwz+zdjQXSSlR1Vc34EgH1zxyTDvhg==", + "license": "BSD-3-Clause", + "dependencies": { + "tslib": "2.3.0" + } + }, + "node_modules/zrender/node_modules/tslib": { + "version": "2.3.0", + "resolved": "https://registry.npmmirror.com/tslib/-/tslib-2.3.0.tgz", + "integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==", + "license": "0BSD" + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..3f00f3c --- /dev/null +++ b/package.json @@ -0,0 +1,60 @@ +{ + "name": "tyapi-web", + "version": "0.0.0", + "private": true, + "type": "module", + "scripts": { + "dev": "vite", + "build": "vite build", + "preview": "vite preview", + "lint:oxlint": "oxlint . --fix -D correctness --ignore-path .gitignore", + "lint:eslint": "eslint . --fix", + "lint": "run-s lint:*", + "format": "prettier --write src/" + }, + "dependencies": { + "@element-plus/icons-vue": "^2.3.1", + "@heroicons/vue": "^2.2.0", + "@tailwindcss/vite": "^4.1.11", + "@tinymce/tinymce-vue": "^6.3.0", + "@vueuse/core": "^13.5.0", + "@wangeditor/editor": "^5.1.23", + "@wangeditor/editor-for-vue": "^5.1.12", + "axios": "^1.11.0", + "dayjs": "^1.11.13", + "echarts": "^6.0.0", + "element-plus": "^2.10.4", + "lodash-es": "^4.17.21", + "marked": "^16.1.1", + "pinia": "^3.0.3", + "tinymce": "^8.0.2", + "unplugin-auto-import": "^19.3.0", + "unplugin-vue-components": "^28.8.0", + "vue": "^3.5.18", + "vue-json-editor": "^1.4.3", + "vue-pdf-embed": "^2.1.3", + "vue-router": "^4.5.1", + "vuedraggable": "^4.1.0" + }, + "devDependencies": { + "@eslint/js": "^9.32.0", + "@tailwindcss/forms": "^0.5.10", + "@tailwindcss/typography": "^0.5.16", + "@vitejs/plugin-vue": "^6.0.1", + "@vue/eslint-config-prettier": "^10.2.0", + "autoprefixer": "^10.4.21", + "eslint": "^9.32.0", + "eslint-plugin-oxlint": "~1.8.0", + "eslint-plugin-vue": "~10.3.0", + "globals": "^16.3.0", + "npm-run-all2": "^8.0.4", + "oxlint": "~1.8.0", + "postcss": "^8.5.6", + "prettier": "3.6.2", + "sass-embedded": "^1.89.2", + "tailwindcss": "^4.1.11", + "vite": "^7.0.6", + "vite-plugin-vue-devtools": "^8.0.0" + }, + "packageManager": "pnpm@10.13.1" +} diff --git a/public/examples/csharp/demo.cs b/public/examples/csharp/demo.cs new file mode 100644 index 0000000..9e45cec --- /dev/null +++ b/public/examples/csharp/demo.cs @@ -0,0 +1,282 @@ +using System; +using System.IO; +using System.Security.Cryptography; +using System.Text; +using System.Text.Json; +using System.Net.Http; +using System.Threading.Tasks; + +public class Program +{ + // ==================== 配置区域 ==================== + // 请根据实际情况修改以下配置参数 + + // AES加密密钥 (16进制字符串,32位) + + // API接口配置 + private const string InterfaceName = "XXXXXXXX"; // 接口编号 + private const string AccessId = "XXXXXXXXXXX"; // 访问ID + private const string EncryptionKey = "XXXXXXXXXXXXXXXXXXX"; // 加密密钥 + private const string BaseUrl = "https://api.tianyuanapi.com"; // API基础URL + + // 测试数据配置 + private const string TestMobileNo = "13700000000"; // 测试手机号 + private const string TestIdCard = "XXXXXXXXXXXXX"; // 测试身份证号 + private const string TestName = "XXXXXXXX"; // 测试姓名 + private const string TestAuthDate = "20250318-20270318"; // 测试授权日期 + + // HTTP请求配置 + private const int RequestTimeout = 30000; // 请求超时时间(毫秒) + + // ==================== 主程序 ==================== + public static async Task Main() + { + Console.WriteLine("===== AES CBC 加密解密演示 ====="); + + // 1. 创建一个JSON对象 + var data = new + { + mobile_no = TestMobileNo + }; + + // 将JSON对象序列化为字符串 + string jsonString = JsonSerializer.Serialize(data, new JsonSerializerOptions { WriteIndented = true }); + + Console.WriteLine("\n原始JSON:"); + Console.WriteLine(jsonString); + + // 2. 加密JSON + Console.WriteLine("\n开始加密..."); + string encryptedJson = Encrypt(jsonString); + Console.WriteLine($"加密成功! 加密后Base64:"); + Console.WriteLine(encryptedJson); + + // 3. 解密JSON + Console.WriteLine("\n开始解密..."); + string decryptedJson = Decrypt(encryptedJson); + Console.WriteLine($"解密成功! 解密后的原始JSON:"); + Console.WriteLine(decryptedJson); + + // 4. 验证加解密一致性 + Console.WriteLine("\n验证结果:"); + if (jsonString == decryptedJson) + { + Console.WriteLine("✅ 加解密前后内容完全一致"); + + // 验证原始数据是否可用 + Console.WriteLine("\n尝试解析解密后的JSON:"); + try + { + var deserializedObject = JsonSerializer.Deserialize(decryptedJson, typeof(object)); + Console.WriteLine($"✅ JSON解析成功,类型: {deserializedObject.GetType()}"); + } + catch (Exception ex) + { + Console.WriteLine($"❌ JSON解析失败: {ex.Message}"); + } + } + else + { + Console.WriteLine("❌ 加解密前后内容不一致!"); + Console.WriteLine("原始长度: " + jsonString.Length); + Console.WriteLine("解密后长度: " + decryptedJson.Length); + + // 找出第一个不同的位置 + for (int i = 0; i < Math.Min(jsonString.Length, decryptedJson.Length); i++) + { + if (jsonString[i] != decryptedJson[i]) + { + Console.WriteLine($"第一个差异在位置 {i}:"); + Console.WriteLine($"原始字符: '{jsonString[i]}' ({(int)jsonString[i]})"); + Console.WriteLine($"解密字符: '{decryptedJson[i]}' ({(int)decryptedJson[i]})"); + break; + } + } + } + + // 5. 演示API调用流程(可选) + Console.WriteLine("\n===== 演示API调用流程 ====="); + await DemonstrateApiCall(); + } + + // ==================== AES加密解密方法 ==================== + + /// + /// AES CBC 加密函数 + /// 使用PKCS7填充,随机IV,返回Base64编码的密文 + /// + /// 要加密的明文 + /// Base64编码的密文 + public static string Encrypt(string plainText) + { + byte[] key = HexToBytes(EncryptionKey); + using Aes aes = Aes.Create(); + aes.Key = key; + aes.Mode = CipherMode.CBC; + aes.Padding = PaddingMode.PKCS7; + + aes.GenerateIV(); + byte[] iv = aes.IV; + + using ICryptoTransform encryptor = aes.CreateEncryptor(); + using MemoryStream ms = new(); + // 先写入IV + ms.Write(iv, 0, iv.Length); + + using (CryptoStream cs = new(ms, encryptor, CryptoStreamMode.Write)) + using (StreamWriter sw = new(cs)) + { + sw.Write(plainText); + } + + return Convert.ToBase64String(ms.ToArray()); + } + + /// + /// AES CBC 解密函数 + /// 从Base64密文中提取IV和密文数据,进行解密 + /// + /// Base64编码的密文 + /// 解密后的明文 + public static string Decrypt(string cipherText) + { + byte[] key = HexToBytes(EncryptionKey); + byte[] fullData = Convert.FromBase64String(cipherText); + + // 提取前16字节作为IV + byte[] iv = new byte[16]; + Buffer.BlockCopy(fullData, 0, iv, 0, iv.Length); + + // 实际密文数据 + byte[] cipherData = new byte[fullData.Length - 16]; + Buffer.BlockCopy(fullData, 16, cipherData, 0, cipherData.Length); + + using Aes aes = Aes.Create(); + aes.Key = key; + aes.IV = iv; + aes.Mode = CipherMode.CBC; + aes.Padding = PaddingMode.PKCS7; + + using ICryptoTransform decryptor = aes.CreateDecryptor(); + using MemoryStream ms = new(cipherData); + using CryptoStream cs = new(ms, decryptor, CryptoStreamMode.Read); + using StreamReader sr = new(cs); + return sr.ReadToEnd(); + } + + /// + /// 将16进制字符串转换为字节数组 + /// + /// 16进制字符串 + /// 字节数组 + private static byte[] HexToBytes(string hex) + { + byte[] bytes = new byte[hex.Length / 2]; + for (int i = 0; i < hex.Length; i += 2) + { + bytes[i / 2] = Convert.ToByte(hex.Substring(i, 2), 16); + } + return bytes; + } + + // ==================== API调用演示方法 ==================== + + /// + /// 演示完整的API调用流程 + /// 包括:参数构建、加密、发送请求、接收响应、解密响应 + /// + private static async Task DemonstrateApiCall() + { + try + { + // 构建完整的API URL + string url = $"{BaseUrl}/api/v1/{InterfaceName}"; + + // 构建请求参数 + var apiParams = new + { + mobile_no = TestMobileNo, + id_card = TestIdCard, + auth_date = TestAuthDate, + name = TestName + }; + + // 将参数转换为JSON字符串并加密 + string jsonStr = JsonSerializer.Serialize(apiParams); + Console.WriteLine($"请求参数: {jsonStr}"); + + string encryptedData = Encrypt(jsonStr); + Console.WriteLine($"加密后的数据: {encryptedData}"); + + // 构建请求体 + var payload = new { data = encryptedData }; + string requestBody = JsonSerializer.Serialize(payload); + + Console.WriteLine($"发送请求到: {url}"); + + // 发送HTTP请求 + using (var httpClient = new HttpClient()) + { + // 设置请求头 + httpClient.DefaultRequestHeaders.Add("Access-Id", AccessId); + httpClient.DefaultRequestHeaders.Add("Content-Type", "application/json"); + + // 设置超时时间 + httpClient.Timeout = TimeSpan.FromMilliseconds(RequestTimeout); + + var content = new StringContent(requestBody, Encoding.UTF8, "application/json"); + var response = await httpClient.PostAsync(url, content); + + Console.WriteLine($"响应状态码: {response.StatusCode}"); + + if (response.IsSuccessStatusCode) + { + string responseBody = await response.Content.ReadAsStringAsync(); + Console.WriteLine($"API响应: {responseBody}"); + + // 解析响应 + try + { + var responseData = JsonSerializer.Deserialize(responseBody); + + if (responseData.TryGetProperty("code", out var codeElement)) + { + int code = codeElement.GetInt32(); + string message = responseData.TryGetProperty("message", out var msgElement) ? msgElement.GetString() : ""; + string encryptedResponse = responseData.TryGetProperty("data", out var dataElement) ? dataElement.GetString() : ""; + + Console.WriteLine($"API响应码: {code}"); + Console.WriteLine($"API消息: {message}"); + + if (code == 0 && !string.IsNullOrEmpty(encryptedResponse)) + { + // 解密响应数据 + try + { + string decryptedResponse = Decrypt(encryptedResponse); + Console.WriteLine($"解密后的响应: {decryptedResponse}"); + } + catch (Exception ex) + { + Console.WriteLine($"解密响应数据失败: {ex.Message}"); + } + } + } + } + catch (Exception ex) + { + Console.WriteLine($"解析响应失败: {ex.Message}"); + } + } + else + { + Console.WriteLine($"请求失败: {response.StatusCode}"); + } + } + } + catch (Exception ex) + { + Console.WriteLine($"API调用异常: {ex.Message}"); + } + } +} \ No newline at end of file diff --git a/public/examples/go/demo.go b/public/examples/go/demo.go new file mode 100644 index 0000000..2a1979a --- /dev/null +++ b/public/examples/go/demo.go @@ -0,0 +1,305 @@ +package main + +import ( + "bytes" + "crypto/aes" + "crypto/cipher" + "crypto/rand" + "encoding/base64" + "encoding/hex" + "encoding/json" + "fmt" + "io" + "net/http" + "time" +) + +// ==================== 配置区域 ==================== +// 请根据实际情况修改以下配置参数 + +const ( + // API接口配置 + InterfaceName = "XXXXXXXX" // 接口编号 + AccessID = "XXXXXXXXXXX" + EncryptionKey = "XXXXXXXXXXXXXXXXXXXXX" + BaseURL = "https://api.tianyuanapi.com" + + // 测试数据配置 + TestName = "XXXXXXXX" + TestIDCard = "XXXXXXXXXXXXX" + TestMobileNo = "XXXXXXXXXXXXXXXXXXXX" + TestAuthDate = "20250318-20270318" + + // HTTP请求配置 + RequestTimeout = 30 * time.Second +) + +// API响应结构体 +type APIResponse struct { + Code int `json:"code"` + Message string `json:"message"` + Data string `json:"data"` +} + +// 请求参数结构体 +type RequestParams struct { + MobileNo string `json:"mobile_no"` + IDCard string `json:"id_card"` + AuthDate string `json:"auth_date"` + Name string `json:"name"` +} + +// 请求载荷结构体 +type RequestPayload struct { + Data string `json:"data"` +} + +// 结果结构体 +type Result struct { + Code int `json:"code"` + Success bool `json:"success"` + Message string `json:"message"` + EncryptedResponse string `json:"encrypted_response"` + DecryptedResponse interface{} `json:"decrypted_response"` +} + +// ==================== AES加密解密方法 ==================== + +// AES CBC 加密函数,返回 Base64 +func aesEncrypt(plaintext, key string) (string, error) { + keyBytes, err := hex.DecodeString(key) + if err != nil { + return "", err + } + + block, err := aes.NewCipher(keyBytes) + if err != nil { + return "", err + } + + // 生成随机IV + iv := make([]byte, aes.BlockSize) + if _, err := io.ReadFull(rand.Reader, iv); err != nil { + return "", err + } + + // 填充数据 + paddedData := pkcs7Pad([]byte(plaintext), aes.BlockSize) + + // 加密 + ciphertext := make([]byte, len(iv)+len(paddedData)) + copy(ciphertext, iv) + + mode := cipher.NewCBCEncrypter(block, iv) + mode.CryptBlocks(ciphertext[len(iv):], paddedData) + + return base64.StdEncoding.EncodeToString(ciphertext), nil +} + +// AES CBC 解密函数,返回解密后的明文 +func aesDecrypt(encryptedText, key string) (string, error) { + keyBytes, err := hex.DecodeString(key) + if err != nil { + return "", err + } + + ciphertext, err := base64.StdEncoding.DecodeString(encryptedText) + if err != nil { + return "", err + } + + block, err := aes.NewCipher(keyBytes) + if err != nil { + return "", err + } + + if len(ciphertext) < aes.BlockSize { + return "", fmt.Errorf("密文太短") + } + + iv := ciphertext[:aes.BlockSize] + ciphertext = ciphertext[aes.BlockSize:] + + if len(ciphertext)%aes.BlockSize != 0 { + return "", fmt.Errorf("密文长度不是块大小的倍数") + } + + mode := cipher.NewCBCDecrypter(block, iv) + mode.CryptBlocks(ciphertext, ciphertext) + + // 去除填充 + unpaddedData, err := pkcs7Unpad(ciphertext) + if err != nil { + return "", err + } + + return string(unpaddedData), nil +} + +// PKCS7填充 +func pkcs7Pad(data []byte, blockSize int) []byte { + padding := blockSize - len(data)%blockSize + padtext := bytes.Repeat([]byte{byte(padding)}, padding) + return append(data, padtext...) +} + +// PKCS7去除填充 +func pkcs7Unpad(data []byte) ([]byte, error) { + length := len(data) + if length == 0 { + return nil, fmt.Errorf("数据为空") + } + unpadding := int(data[length-1]) + if unpadding > length { + return nil, fmt.Errorf("无效的填充") + } + return data[:length-unpadding], nil +} + +// ==================== API调用方法 ==================== + +// 调用API函数 +func callAPI(name, idCard, mobileNo, authDate string) *Result { + // 构建完整的API URL + url := fmt.Sprintf("%s/api/v1/%s", BaseURL, InterfaceName) + + // 构建请求参数 + params := RequestParams{ + MobileNo: mobileNo, + IDCard: idCard, + AuthDate: authDate, + Name: name, + } + + // 将参数转换为JSON字符串并加密 + jsonStr, err := json.Marshal(params) + if err != nil { + return &Result{ + Success: false, + Message: fmt.Sprintf("JSON序列化失败: %v", err), + } + } + + fmt.Printf("请求参数: %s\n", string(jsonStr)) + + encryptedData, err := aesEncrypt(string(jsonStr), EncryptionKey) + if err != nil { + return &Result{ + Success: false, + Message: fmt.Sprintf("加密失败: %v", err), + } + } + + fmt.Printf("加密后的数据: %s\n", encryptedData) + + // 构建请求载荷 + payload := RequestPayload{ + Data: encryptedData, + } + + // 序列化请求载荷 + requestBody, err := json.Marshal(payload) + if err != nil { + return &Result{ + Success: false, + Message: fmt.Sprintf("请求载荷序列化失败: %v", err), + } + } + + fmt.Printf("发送请求到: %s\n", url) + + // 发送HTTP请求 + client := &http.Client{ + Timeout: RequestTimeout, + } + + req, err := http.NewRequest("POST", url, bytes.NewBuffer(requestBody)) + if err != nil { + return &Result{ + Success: false, + Message: fmt.Sprintf("创建请求失败: %v", err), + } + } + + // 设置请求头 + req.Header.Set("Access-Id", AccessID) + req.Header.Set("Content-Type", "application/json") + + resp, err := client.Do(req) + if err != nil { + return &Result{ + Success: false, + Message: fmt.Sprintf("请求失败: %v", err), + } + } + defer resp.Body.Close() + + // 读取响应 + respBody, err := io.ReadAll(resp.Body) + if err != nil { + return &Result{ + Success: false, + Message: fmt.Sprintf("读取响应失败: %v", err), + } + } + + // 解析响应 + var apiResp APIResponse + if err := json.Unmarshal(respBody, &apiResp); err != nil { + return &Result{ + Success: false, + Message: fmt.Sprintf("解析响应失败: %v", err), + } + } + + fmt.Printf("API响应: %s\n", string(respBody)) + + // 处理响应 + result := &Result{ + Code: apiResp.Code, + Success: apiResp.Code == 0, + Message: apiResp.Message, + EncryptedResponse: apiResp.Data, + } + + // 如果有返回data,尝试解密 + if apiResp.Data != "" { + decryptedData, err := aesDecrypt(apiResp.Data, EncryptionKey) + if err != nil { + fmt.Printf("解密响应数据失败: %v\n", err) + result.DecryptedResponse = nil + } else { + var decryptedJSON interface{} + if err := json.Unmarshal([]byte(decryptedData), &decryptedJSON); err != nil { + fmt.Printf("解析解密后的JSON失败: %v\n", err) + result.DecryptedResponse = decryptedData + } else { + result.DecryptedResponse = decryptedJSON + } + } + } + + return result +} + +// ==================== 主程序 ==================== + +func main() { + fmt.Println("===== 个人涉诉详版 =====") + + // 调用API + result := callAPI(TestName, TestIDCard, TestMobileNo, TestAuthDate) + + fmt.Println("\n===== 结果 =====") + if result.Success { + fmt.Println("请求成功!") + if result.DecryptedResponse != nil { + decryptedJSON, _ := json.MarshalIndent(result.DecryptedResponse, "", " ") + fmt.Printf("解密后的响应: %s\n", string(decryptedJSON)) + } else { + fmt.Println("未能获取或解密响应数据") + } + } else { + fmt.Printf("请求失败: %s\n", result.Message) + } +} diff --git a/public/examples/java/demo.java b/public/examples/java/demo.java new file mode 100644 index 0000000..5d1dbb9 --- /dev/null +++ b/public/examples/java/demo.java @@ -0,0 +1,129 @@ +import javax.crypto.Cipher; +import javax.crypto.spec.IvParameterSpec; +import javax.crypto.spec.SecretKeySpec; +import java.net.HttpURLConnection; +import java.net.URL; +import java.nio.charset.StandardCharsets; +import java.util.Base64; +import java.util.Random; +import java.io.OutputStream; +import java.io.BufferedReader; +import java.io.InputStreamReader; +import org.json.JSONObject; + +public class Demo { + + // 加密 + public static String aesEncrypt(String plainText, String hexKey) throws Exception { + byte[] keyBytes = hexStringToByteArray(hexKey); + byte[] iv = new byte[16]; + new SecureRandom().nextBytes(iv); + + Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5Padding"); + SecretKeySpec secretKey = new SecretKeySpec(keyBytes, "AES"); + IvParameterSpec ivSpec = new IvParameterSpec(iv); + cipher.init(Cipher.ENCRYPT_MODE, secretKey, ivSpec); + + byte[] encrypted = cipher.doFinal(plainText.getBytes(StandardCharsets.UTF_8)); + + // 拼接 IV 和密文 + byte[] encryptedData = new byte[iv.length + encrypted.length]; + System.arraycopy(iv, 0, encryptedData, 0, iv.length); + System.arraycopy(encrypted, 0, encryptedData, iv.length, encrypted.length); + + return Base64.getEncoder().encodeToString(encryptedData); + } + + // 解密 + public static String aesDecrypt(String encryptedText, String hexKey) throws Exception { + byte[] encryptedBytes = Base64.getDecoder().decode(encryptedText); + byte[] keyBytes = hexStringToByteArray(hexKey); + + byte[] iv = new byte[16]; + System.arraycopy(encryptedBytes, 0, iv, 0, 16); + + byte[] encryptedData = new byte[encryptedBytes.length - 16]; + System.arraycopy(encryptedBytes, 16, encryptedData, 0, encryptedData.length); + + Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5Padding"); + SecretKeySpec secretKey = new SecretKeySpec(keyBytes, "AES"); + IvParameterSpec ivSpec = new IvParameterSpec(iv); + cipher.init(Cipher.DECRYPT_MODE, secretKey, ivSpec); + + byte[] decrypted = cipher.doFinal(encryptedData); + return new String(decrypted, StandardCharsets.UTF_8); + } + + // Helper 方法,将 16 进制字符串转为字节数组 + public static byte[] hexStringToByteArray(String s) { + int len = s.length(); + byte[] data = new byte[len / 2]; + for (int i = 0; i < len; i += 2) { + data[i / 2] = (byte) ((Character.digit(s.charAt(i), 16) << 4) + Character.digit(s.charAt(i + 1), 16)); + } + return data; + } + + // 发送 HTTP POST 请求 + public static String sendPostRequest(String urlString, String data, String accessId) throws Exception { + URL url = new URL(urlString); + HttpURLConnection connection = (HttpURLConnection) url.openConnection(); + connection.setRequestMethod("POST"); + connection.setRequestProperty("Content-Type", "application/json"); + connection.setRequestProperty("Access-Id", accessId); + connection.setDoOutput(true); + + // 构造请求体 + String jsonInputString = "{\"data\":\"" + data + "\"}"; + try (OutputStream os = connection.getOutputStream()) { + byte[] input = jsonInputString.getBytes("utf-8"); + os.write(input, 0, input.length); + } + + // 读取响应 + BufferedReader br = new BufferedReader(new InputStreamReader(connection.getInputStream(), "utf-8")); + StringBuilder response = new StringBuilder(); + String responseLine; + while ((responseLine = br.readLine()) != null) { + response.append(responseLine.trim()); + } + + return response.toString(); + } + + public static void main(String[] args) { + try { + // 设置 URL、密钥和请求参数 + String url = "https://api.tianyuanapi.com/api/v1/IVYZ5733"; + String accessId = "XXXXXXXXXXXXX"; + String key = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"; + + // 请求参数 + JSONObject requestParams = new JSONObject(); + requestParams.put("name", "李四"); + requestParams.put("id_card", "110101199003076534"); + + // 将请求参数转为 JSON 字符串 + String jsonStr = requestParams.toString(); + + // 加密请求数据 + String encryptedData = aesEncrypt(jsonStr, key); + + // 发送 HTTP POST 请求并获取响应 + String response = sendPostRequest(url, encryptedData, accessId); + + // 解析响应数据 + JSONObject responseData = new JSONObject(response); + String encryptedResponseData = responseData.optString("data"); + + // 解密返回的加密数据 + if (encryptedResponseData != null) { + String decryptedResponseData = aesDecrypt(encryptedResponseData, key); + System.out.println("Decrypted Response Data: " + decryptedResponseData); + } + + } catch (Exception e) { + e.printStackTrace(); + } + } +} diff --git a/public/examples/nodejs/.eslintignore b/public/examples/nodejs/.eslintignore new file mode 100644 index 0000000..57ccc75 --- /dev/null +++ b/public/examples/nodejs/.eslintignore @@ -0,0 +1,11 @@ +# ESLint 忽略配置 - 忽略示例代码目录下的所有语法错误 +# 这些是示例代码文件,不需要进行 ESLint 语法检查 + +# 忽略当前目录下的所有 .js 文件 +*.js + +# 忽略当前目录下的所有文件 +* + +# 忽略子目录 +*/ diff --git a/public/examples/nodejs/demo.js b/public/examples/nodejs/demo.js new file mode 100644 index 0000000..ff0ec03 --- /dev/null +++ b/public/examples/nodejs/demo.js @@ -0,0 +1,134 @@ +#!/usr/bin/env node + +const crypto = require("crypto"); + +// ==================== API配置 ==================== +const ACCESS_ID = "XXXXXXXXX"; // 替换为您的ACCESS_ID +const APP_SECRET = "XXXXXXXXXXXXXXXXXXXXXXX"; // 替换为您的app_secret +const BASE_URL = 'https://api.tianyuanapi.com'; + +// ==================== 测试参数 ==================== +const API_CODE = "FLXG0V4B"; // 替换为您的API编号 + +const PARAMS = { + "name": "XXXX", + "id_card": "XXXXXXXXXXXXXXX", + "auth_date": "20250722-20250923" +}; + +// ==================== 加密解密函数 ==================== +function encrypt_data(data) { + const key = Buffer.from(APP_SECRET, "hex"); + const iv = crypto.randomBytes(16); + const cipher = crypto.createCipheriv("aes-128-cbc", key, iv); + cipher.setAutoPadding(true); + let encrypted = cipher.update(data, 'utf8'); + encrypted = Buffer.concat([iv, encrypted, cipher.final()]); + return encrypted.toString("base64"); +} + +function decrypt_data(encrypted_data) { + const key = Buffer.from(APP_SECRET, "hex"); + const encryptedBuffer = Buffer.from(encrypted_data, "base64"); + const iv = encryptedBuffer.slice(0, 16); + const ciphertext = encryptedBuffer.slice(16); + const decipher = crypto.createDecipheriv("aes-128-cbc", key, iv); + decipher.setAutoPadding(true); + let decrypted = decipher.update(ciphertext); + decrypted = Buffer.concat([decrypted, decipher.final()]); + return decrypted.toString('utf8'); +} + +// ==================== 主测试函数 ==================== +async function test_api() { + try { + console.log(`=== 测试API: ${API_CODE} ===`); + console.log(`请求参数: ${JSON.stringify(PARAMS, null, 2)}`); + + // 加密参数 + const params_json = JSON.stringify(PARAMS); + const encrypted_data = encrypt_data(params_json); + + // 构建请求 + const headers = { + 'Content-Type': 'application/json', + 'Access-Id': ACCESS_ID + }; + + const url = `${BASE_URL}/api/v1/${API_CODE}`; + const request_data = { 'data': encrypted_data, 'options': { 'json': true } }; + + console.log(`请求URL: ${url}`); + console.log(`请求头: ${JSON.stringify(headers, null, 2)}`); + + // 发送请求 + const start_time = Date.now(); + const response = await fetch(url, { + method: 'POST', + headers: headers, + body: JSON.stringify(request_data), + signal: AbortSignal.timeout(30000) // 30秒超时 + }); + const elapsed_time = Date.now() - start_time; + + console.log(`\n=== 响应信息 ===`); + console.log(`状态码: ${response.status}`); + console.log(`耗时: ${elapsed_time}ms`); + + if (response.status !== 200) { + console.log(`请求失败: ${response.status} ${response.statusText}`); + return; + } + + // 解析响应 + try { + const response_json = await response.json(); + console.log(`原始响应: ${JSON.stringify(response_json, null, 2)}`); + + // 检查响应格式 + if (!('code' in response_json)) { + console.log("直接返回业务数据"); + return; + } + + // 标准格式处理 + const api_code = response_json.code; + const api_message = response_json.message || ''; + const encrypted_response = response_json.data || ''; + + console.log(`API响应码: ${api_code}`); + console.log(`API消息: ${api_message}`); + + if (api_code !== 0) { + console.log(`API错误: ${api_message}`); + return; + } + + if (!encrypted_response) { + console.log("无加密数据返回"); + return; + } + + // 解密数据 + try { + const decrypted_data = decrypt_data(encrypted_response); + const result_data = JSON.parse(decrypted_data); + + console.log(`\n=== 解密后的数据 ===`); + console.log(JSON.stringify(result_data, null, 2)); + + } catch (e) { + console.log(`解密失败: ${e.message}`); + } + + } catch (e) { + console.log(`响应不是JSON格式: ${e.message}`); + } + + } catch (e) { + console.log(`测试异常: ${e.message}`); + } +} + +// 运行测试 +test_api(); diff --git a/public/examples/php/demo.php b/public/examples/php/demo.php new file mode 100644 index 0000000..9f384ec --- /dev/null +++ b/public/examples/php/demo.php @@ -0,0 +1,176 @@ + $mobile_no, + "id_card" => $id_card, + "auth_date" => $auth_date, + "name" => $name + ); + + // 将参数转换为JSON字符串并加密 + $json_str = json_encode($params, JSON_UNESCAPED_UNICODE); + echo "请求参数: {$json_str}\n"; + $encrypted_data = aesEncrypt($json_str, $key); + echo "加密后的数据: {$encrypted_data}\n"; + + // 发送请求 + $headers = array( + "Access-Id: {$access_id}", + "Content-Type: application/json" + ); + + $payload = array( + "data" => $encrypted_data + ); + + echo "发送请求到: {$url}\n"; + + try { + // 使用PHP原生HTTP请求方式 + $context = stream_context_create(array( + 'http' => array( + 'method' => 'POST', + 'header' => implode("\r\n", $headers), + 'content' => json_encode($payload), + 'timeout' => 30 + ) + )); + + $response = file_get_contents($url, false, $context); + + if ($response === false) { + throw new Exception("HTTP请求失败"); + } + + $response_data = json_decode($response, true); + echo "API响应: " . json_encode($response_data, JSON_UNESCAPED_UNICODE) . "\n"; + + // 处理响应 + $code = $response_data['code'] ?? null; + $message = $response_data['message'] ?? ''; + $encrypted_response_data = $response_data['data'] ?? ''; + + $result = array( + "code" => $code, + "success" => $code == 0, + "message" => $message, + "encrypted_response" => $encrypted_response_data + ); + + // 如果有返回data,尝试解密 + if ($encrypted_response_data) { + try { + $decrypted_data = aesDecrypt($encrypted_response_data, $key); + $result["decrypted_response"] = json_decode($decrypted_data, true); + } catch (Exception $e) { + echo "解密响应数据失败: {$e->getMessage()}\n"; + $result["decrypted_response"] = null; + } + } + + return $result; + + } catch (Exception $e) { + echo "请求失败: {$e->getMessage()}\n"; + return array("success" => false, "message" => "请求失败: {$e->getMessage()}"); + } +} + +/** + * 主函数 + */ +function main() { + echo "===== 个人涉诉详版 =====\n"; + + // 直接设置手机号和姓名 + $name = "XXXXXXXX"; + $id_card = "XXXXXXXXXXXXX"; + $mobile_no = "XXXXXXXXXXXXXXXXXXXX"; + $auth_date = "20250318-20270318"; + + $result = callApi($name, $id_card, $mobile_no, $auth_date); + + echo "\n===== 结果 =====\n"; + if ($result["success"]) { + echo "请求成功!\n"; + if (isset($result["decrypted_response"])) { + echo "解密后的响应: " . json_encode($result['decrypted_response'], JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT) . "\n"; + } else { + echo "未能获取或解密响应数据\n"; + } + } else { + echo "请求失败: " . ($result['message'] ?? '未知错误') . "\n"; + } +} + +// 运行主函数 +main(); +?> \ No newline at end of file diff --git a/public/examples/python/demo.py b/public/examples/python/demo.py new file mode 100644 index 0000000..580930c --- /dev/null +++ b/public/examples/python/demo.py @@ -0,0 +1,124 @@ +import requests +import json +import base64 +from Crypto.Cipher import AES +from Crypto.Util.Padding import pad, unpad +import os + +# AES CBC 加密函数,返回 Base64 +def aes_encrypt(plaintext, key): + # 将16进制密钥转换为字节 + key_bytes = bytes.fromhex(key) + # 生成随机IV + iv = os.urandom(16) + # 创建加密器 + cipher = AES.new(key_bytes, AES.MODE_CBC, iv) + # 对明文进行填充并加密 + padded_data = pad(plaintext.encode('utf-8'), AES.block_size) + encrypted_data = cipher.encrypt(padded_data) + # 连接IV和加密后的数据 + result = iv + encrypted_data + # 转换为Base64编码 + return base64.b64encode(result).decode('utf-8') + +# AES CBC 解密函数,返回解密后的明文 +def aes_decrypt(encrypted_text, key): + # 将Base64编码的加密数据转换为字节 + encrypted_bytes = base64.b64decode(encrypted_text) + # 将16进制密钥转换为字节 + key_bytes = bytes.fromhex(key) + # 从加密数据中提取IV和加密数据 + iv = encrypted_bytes[:16] + encrypted_data = encrypted_bytes[16:] + # 创建解密器 + decipher = AES.new(key_bytes, AES.MODE_CBC, iv) + # 解密并去除填充 + padded_data = decipher.decrypt(encrypted_data) + return unpad(padded_data, AES.block_size).decode('utf-8') + +def CallApi(name,id_card,mobile_no,auth_date): + # API相关配置 + interface_name = "XXXXXXXX" #接口编号 + access_id = "XXXXXXXXXXX" + key = "XXXXXXXXXXXXXXXXXXXXX" + url = f"https://api.tianyuanapi.com/api/v1/{interface_name}" + + # 构建请求参数 + params = { + "mobile_no": mobile_no, + "id_card": id_card, + "auth_date": auth_date, + "name": name, + } + + # 将参数转换为JSON字符串并加密 + json_str = json.dumps(params) + print(f"请求参数: {json_str}") + encrypted_data = aes_encrypt(json_str, key) + print(f"加密后的数据: {encrypted_data}") + + # 发送请求 + headers = { + "Access-Id": access_id, + "Content-Type": "application/json" + } + + payload = { + "data": encrypted_data + } + + print(f"发送请求到: {url}") + try: + response = requests.post(url, json=payload, headers=headers) + response_data = response.json() + print(f"API响应: {response_data}") + + # 处理响应 + code = response_data.get("code") + message = response_data.get("message") + encrypted_response_data = response_data.get("data") + + result = { + "code": code, + "success": code == 0, + "message": message, + "encrypted_response": encrypted_response_data + } + + # 如果有返回data,尝试解密 + if encrypted_response_data: + try: + decrypted_data = aes_decrypt(encrypted_response_data, key) + result["decrypted_response"] = json.loads(decrypted_data) + except Exception as e: + print(f"解密响应数据失败: {e}") + result["decrypted_response"] = None + + return result + except Exception as e: + print(f"请求失败: {e}") + return {"success": False, "message": f"请求失败: {e}"} + +def main(): + print("===== 个人涉诉详版 =====") + + # 直接设置手机号和姓名 + name = "XXXXXXXX" + id_card = "XXXXXXXXXXXXX" + mobile_no = "XXXXXXXXXXXXXXXXXXXX" + auth_date = "20250318-20270318" + + result = CallApi(name,id_card,mobile_no,auth_date) + + print("\n===== 结果 =====") + if result["success"]: + print("请求成功!") + if result.get("decrypted_response"): + print(f"解密后的响应: {json.dumps(result['decrypted_response'], ensure_ascii=False, indent=2)}") + else: + print("未能获取或解密响应数据") + else: + print(f"请求失败: {result.get('message', '未知错误')}") + +if __name__ == "__main__": + main() \ No newline at end of file diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..f893e9e Binary files /dev/null and b/public/favicon.ico differ diff --git a/public/qrcode.jpg b/public/qrcode.jpg new file mode 100644 index 0000000..f955344 Binary files /dev/null and b/public/qrcode.jpg differ diff --git a/public/yhxy.pdf b/public/yhxy.pdf new file mode 100644 index 0000000..70ee567 Binary files /dev/null and b/public/yhxy.pdf differ diff --git a/public/yszc.pdf b/public/yszc.pdf new file mode 100644 index 0000000..b9fff67 Binary files /dev/null and b/public/yszc.pdf differ diff --git a/public/zh_CN.js b/public/zh_CN.js new file mode 100644 index 0000000..9198e41 --- /dev/null +++ b/public/zh_CN.js @@ -0,0 +1,93 @@ +/*! + * TinyMCE + * + * Copyright (c) 2025 Ephox Corporation DBA Tiny Technologies, Inc. + * Licensed under the Tiny commercial license. See https://www.tiny.cloud/legal/ + */ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.zh_CN', +'

开始键盘导航

\n' + + '\n' + + '
\n' + + '
使菜单栏处于焦点
\n' + + '
Windows 或 Linux:Alt+F9
\n' + + '
macOS:⌥F9
\n' + + '
使工具栏处于焦点
\n' + + '
Windows 或 Linux:Alt+F10
\n' + + '
macOS:⌥F10
\n' + + '
使页脚处于焦点
\n' + + '
Windows 或 Linux:Alt+F11
\n' + + '
macOS:⌥F11
\n' + + '
使通知处于焦点
\n' + + '
Windows 或 Linux:Alt+F12
\n' + + '
macOS:⌥F12
\n' + + '
使上下文工具栏处于焦点
\n' + + '
Windows、Linux 或 macOS:Ctrl+F9
\n' + + '
\n' + + '\n' + + '

导航将在第一个 UI 项上开始,其中突出显示该项,或者对于页脚元素路径中的第一项,将为其添加下划线。

\n' + + '\n' + + '

在 UI 部分之间导航

\n' + + '\n' + + '

要从一个 UI 部分移至下一个,请按 Tab

\n' + + '\n' + + '

要从一个 UI 部分移至上一个,请按 Shift+Tab

\n' + + '\n' + + '

这些 UI 部分的 Tab 顺序为:

\n' + + '\n' + + '
    \n' + + '
  1. 菜单栏
  2. \n' + + '
  3. 每个工具栏组
  4. \n' + + '
  5. 边栏
  6. \n' + + '
  7. 页脚中的元素路径
  8. \n' + + '
  9. 页脚中的字数切换按钮
  10. \n' + + '
  11. 页脚中的品牌链接
  12. \n' + + '
  13. 页脚中的编辑器调整大小图柄
  14. \n' + + '
\n' + + '\n' + + '

如果不存在某个 UI 部分,则跳过它。

\n' + + '\n' + + '

如果键盘导航焦点在页脚,并且没有可见的边栏,则按 Shift+Tab 将焦点移至第一个工具栏组而非最后一个。

\n' + + '\n' + + '

在 UI 部分内导航

\n' + + '\n' + + '

要从一个 UI 元素移至下一个,请按相应的箭头键。

\n' + + '\n' + + '

箭头键

\n' + + '\n' + + '
    \n' + + '
  • 在菜单栏中的菜单之间移动。
  • \n' + + '
  • 打开菜单中的子菜单。
  • \n' + + '
  • 在工具栏组中的按钮之间移动。
  • \n' + + '
  • 在页脚的元素路径中的各项之间移动。
  • \n' + + '
\n' + + '\n' + + '

箭头键

\n' + + '\n' + + '
    \n' + + '
  • 在菜单中的菜单项之间移动。
  • \n' + + '
  • 在工具栏弹出菜单中的各项之间移动。
  • \n' + + '
\n' + + '\n' + + '

箭头键在具有焦点的 UI 部分内循环。

\n' + + '\n' + + '

要关闭打开的菜单、打开的子菜单或打开的弹出菜单,请按 Esc 键。

\n' + + '\n' + + '

如果当前的焦点在特定 UI 部分的“顶部”,则按 Esc 键还将完全退出键盘导航。

\n' + + '\n' + + '

执行菜单项或工具栏按钮

\n' + + '\n' + + '

当突出显示所需的菜单项或工具栏按钮时,按 ReturnEnter空格以执行该项。

\n' + + '\n' + + '

在非标签页式对话框中导航

\n' + + '\n' + + '

在非标签页式对话框中,当对话框打开时,第一个交互组件获得焦点。

\n' + + '\n' + + '

通过按 TabShift+Tab,在交互对话框组件之间导航。

\n' + + '\n' + + '

在标签页式对话框中导航

\n' + + '\n' + + '

在标签页式对话框中,当对话框打开时,标签页菜单中的第一个按钮获得焦点。

\n' + + '\n' + + '

通过按 TabShift+Tab,在此对话框的交互组件之间导航。

\n' + + '\n' + + '

通过将焦点移至另一对话框标签页的菜单,然后按相应的箭头键以在可用的标签页间循环,从而切换到该对话框标签页。

\n'); \ No newline at end of file diff --git a/src/App.vue b/src/App.vue new file mode 100644 index 0000000..4a209de --- /dev/null +++ b/src/App.vue @@ -0,0 +1,37 @@ + + + + + diff --git a/src/api/article.js b/src/api/article.js new file mode 100644 index 0000000..3e82104 --- /dev/null +++ b/src/api/article.js @@ -0,0 +1,45 @@ +import request from '@/utils/request' + +// 文章管理API +export const articleApi = { + // ==================== 用户端API ==================== + // 文章查询 + getArticles: (params) => request.get('/articles', { params }), + getArticleDetail: (id) => request.get(`/articles/${id}`), + + // 分类查询 + getCategories: () => request.get('/article-categories'), + getCategoryDetail: (id) => request.get(`/article-categories/${id}`), + + // 标签查询 + getTags: () => request.get('/article-tags'), + getTagDetail: (id) => request.get(`/article-tags/${id}`), + + // ==================== 管理员端API ==================== + // 统计信息 + getArticleStats: () => request.get('/admin/articles/stats'), + + // 文章管理 + getArticlesForAdmin: (params) => request.get('/admin/articles', { params }), + createArticle: (data) => request.post('/admin/articles', data), + updateArticle: (id, data) => request.put(`/admin/articles/${id}`, data), + deleteArticle: (id) => request.delete(`/admin/articles/${id}`), + + // 文章状态管理 + publishArticle: (id) => request.post(`/admin/articles/${id}/publish`), + schedulePublishArticle: (id, data) => request.post(`/admin/articles/${id}/schedule-publish`, data), + updateSchedulePublishArticle: (id, data) => request.post(`/admin/articles/${id}/update-schedule-publish`, data), + cancelSchedulePublishArticle: (id) => request.post(`/admin/articles/${id}/cancel-schedule`), + archiveArticle: (id) => request.post(`/admin/articles/${id}/archive`), + setFeatured: (id, data) => request.put(`/admin/articles/${id}/featured`, data), + + // 分类管理 + createCategory: (data) => request.post('/admin/article-categories', data), + updateCategory: (id, data) => request.put(`/admin/article-categories/${id}`, data), + deleteCategory: (id) => request.delete(`/admin/article-categories/${id}`), + + // 标签管理 + createTag: (data) => request.post('/admin/article-tags', data), + updateTag: (id, data) => request.put(`/admin/article-tags/${id}`, data), + deleteTag: (id) => request.delete(`/admin/article-tags/${id}`) +} diff --git a/src/api/balanceAlertApi.js b/src/api/balanceAlertApi.js new file mode 100644 index 0000000..a62bf22 --- /dev/null +++ b/src/api/balanceAlertApi.js @@ -0,0 +1,56 @@ +import request from '@/utils/request' + +/** + * 余额预警API接口 + * 注意:这些接口需要后端实现 + */ + +// 获取用户余额预警设置 +export const getUserAlertSettings = () => { + return request({ + url: '/user/balance-alert/settings', + method: 'get' + }) +} + +// 更新用户余额预警设置 +export const updateUserAlertSettings = (data) => { + return request({ + url: '/user/balance-alert/settings', + method: 'put', + data + }) +} + +// 测试预警短信发送 +export const testAlertSms = (data) => { + return request({ + url: '/user/balance-alert/test-sms', + method: 'post', + data + }) +} + +// 获取预警历史记录 +export const getAlertHistory = (params) => { + return request({ + url: '/user/balance-alert/history', + method: 'get', + params + }) +} + +// 命名导出 +export const balanceAlertApi = { + getUserAlertSettings, + updateUserAlertSettings, + testAlertSms, + getAlertHistory +} + +export default { + getUserAlertSettings, + updateUserAlertSettings, + testAlertSms, + getAlertHistory +} diff --git a/src/api/index.js b/src/api/index.js new file mode 100644 index 0000000..f152c8b --- /dev/null +++ b/src/api/index.js @@ -0,0 +1,306 @@ +import request from '@/utils/request' +import { articleApi } from './article.js' +import { balanceAlertApi } from './balanceAlertApi.js' +import { adminInvoiceApi, invoiceApi } from './invoice.js' + +// 直接导出发票API、文章API和余额预警API +export { adminInvoiceApi, articleApi, balanceAlertApi, invoiceApi } + +// 用户相关接口 - 严格按照后端路由定义 +export const userApi = { + // 发送验证码 + sendCode: (data) => request.post('/users/send-code', data), + + // 用户注册 + register: (data) => request.post('/users/register', data), + + // 密码登录 + loginWithPassword: (data) => request.post('/users/login-password', data), + + // 短信登录 + loginWithSMS: (data) => request.post('/users/login-sms', data), + + // 获取用户信息 (需认证) + getProfile: () => request.get('/users/me'), + + // 修改密码 (需认证) + changePassword: (data) => request.put('/users/me/password', data), + + // 重置密码 (无需认证) + resetPassword: (data) => request.post('/users/reset-password', data), + + // 管理员功能 - 获取用户列表 (需管理员权限) + getUserList: (params) => request.get('/users/admin/list', { params }), + + // 管理员功能 - 获取用户详情 (需管理员权限) + getUserDetail: (userId) => request.get(`/users/admin/${userId}`), + + // 管理员功能 - 获取用户统计信息 (需管理员权限) + getUserStats: () => request.get('/users/admin/stats') +} + +// 产品相关接口 +export const productApi = { + // 产品列表(用户端接口) + getProducts: (params) => request.get('/products', { params }), + getProductDetail: (id, params) => request.get(`/products/${id}`, { params }), + searchProducts: (params) => request.get('/products/search', { params }), + + // 产品分类 + getCategories: (params) => request.get('/categories', { params }), + + // 订阅产品 + subscribeProduct: (productId) => request.post(`/products/${productId}/subscribe`), + + // 产品API配置 + getProductApiConfig: (productId) => request.get(`/products/${productId}/api-config`), + getProductApiConfigByCode: (productCode) => request.get(`/products/code/${productCode}/api-config`), + getProductApiConfigsByProductIDs: (productIds) => request.get('/products/api-configs', { + params: { product_ids: productIds.join(',') } + }) +} + +// 分类相关接口 - 数据大厅 +export const categoryApi = { + // 获取分类列表 (公开接口) + getCategories: (params) => request.get('/categories', { params }), + + // 获取分类详情 (公开接口) + getCategoryDetail: (id) => request.get(`/categories/${id}`) +} + +// 订阅相关接口 - 我的订阅 +export const subscriptionApi = { + // 获取我的订阅列表 (需认证) + getMySubscriptions: (params) => request.get('/my/subscriptions', { params }), + + // 获取我的订阅统计 (需认证) + getMySubscriptionStats: () => request.get('/my/subscriptions/stats'), + + // 获取我的订阅详情 (需认证) + getMySubscriptionDetail: (id) => request.get(`/my/subscriptions/${id}`), + + // 获取我的订阅使用情况 (需认证) + getMySubscriptionUsage: (id) => request.get(`/my/subscriptions/${id}/usage`) +} + +// 财务相关接口 +export const financeApi = { + // 钱包相关 + createWallet: (data) => request.post('/finance/wallet', data), + getWallet: () => request.get('/finance/wallet'), + updateWallet: (data) => request.put('/finance/wallet', data), + rechargeWallet: (data) => request.post('/finance/wallet/recharge', data), + withdrawWallet: (data) => request.post('/finance/wallet/withdraw', data), + walletTransaction: (data) => request.post('/finance/wallet/transaction', data), + getWalletStats: () => request.get('/finance/wallet/stats'), + getRechargeConfig: () => request.get('/finance/wallet/recharge-config'), + + // 充值相关 + transferRecharge: (data) => request.post('/finance/wallet/transfer-recharge', data), + giftRecharge: (data) => request.post('/finance/wallet/gift-recharge', data), + createAlipayRecharge: (data) => request.post('/finance/wallet/alipay-recharge', data), + + // 用户密钥相关 + createUserSecrets: (data) => request.post('/finance/secrets', data), + getUserSecrets: () => request.get('/finance/secrets'), + regenerateAccessKey: () => request.post('/finance/secrets/regenerate'), + deactivateUserSecrets: () => request.post('/finance/secrets/deactivate'), + + // 钱包交易记录 + getUserWalletTransactions: (params) => request.get('/finance/wallet/transactions', { params }), + + // 支付宝订单状态查询 + getAlipayOrderStatus: (params) => request.get('/finance/wallet/alipay-order-status', { params }), + + // 管理员充值功能 + transferRecharge: (data) => request.post('/admin/finance/transfer-recharge', data), + giftRecharge: (data) => request.post('/admin/finance/gift-recharge', data), + + // 充值记录相关接口 + getUserRechargeRecords: (params) => request.get('/finance/wallet/recharge-records', { params }), + getAdminRechargeRecords: (params) => request.get('/admin/finance/recharge-records', { params }) +} + +// 认证相关接口 +export const certificationApi = { + // 获取认证详情 + getCertificationDetails: () => request.get('/certifications/details'), + + // 获取认证进度 + getCertificationProgress: () => request.get('/certifications/progress'), + + // 提交企业信息 + submitEnterpriseInfo: (data) => request.post('/certifications/enterprise-info', data), + + // 发起人脸识别验证 + initiateFaceVerify: (data) => request.post('/certifications/face-verify', data), + + // 申请合同签署 + applyContract: () => request.post('/certifications/apply-contract'), + + // 获取认证详情 + getCertificationDetails: () => request.get('/certifications/details'), + + // 确认签署状态 + confirmSign: (data) => request.post('/certifications/confirm-sign', data), + + // 确认认证状态 + confirmAuth: (data) => request.post('/certifications/confirm-auth', data), + + // OCR营业执照识别 + recognizeBusinessLicense: (formData) => request.post('/certifications/ocr/business-license', formData, { + headers: { + 'Content-Type': 'multipart/form-data' + } + }) +} + +// API相关接口 +export const apiApi = { + // 用户API调用记录 + getUserApiCalls: (params) => request.get('/my/api-calls', { params }), + + // 加密参数接口(用于前端调试) + encryptParams: (data, secretKey) => request.post('/encrypt', { data, secret_key: secretKey }), + + // 解密参数接口(用于前端调试) + decryptParams: (encryptedData, secretKey) => request.post('/decrypt', { encrypted_data: encryptedData, secret_key: secretKey }) +} + +// API调用记录API +export const apiCallApi = { + // 用户端API调用记录 + getUserApiCalls: (params) => request.get('/my/api-calls', { params }), + + // 管理端API调用记录 + getAdminApiCalls: (params) => request.get('/admin/api-calls', { params }), + + // 管理端导出API调用记录 + exportAdminApiCalls: (params) => request.get('/admin/api-calls/export', { + params, + responseType: 'blob' + }) +} + +// 钱包交易记录API +export const walletTransactionApi = { + // 用户端消费记录 + getUserWalletTransactions: (params) => request.get('/finance/wallet/transactions', { params }), + + // 管理端消费记录 + getAdminWalletTransactions: (params) => request.get('/admin/wallet-transactions', { params }), + + // 管理端导出消费记录 + exportAdminWalletTransactions: (params) => request.get('/admin/wallet-transactions/export', { + params, + responseType: 'blob' + }) +} + +// 充值记录API +export const rechargeRecordApi = { + // 用户端充值记录 + getUserRechargeRecords: (params) => request.get('/finance/wallet/recharge-records', { params }), + + // 管理端充值记录 + getAdminRechargeRecords: (params) => request.get('/admin/recharge-records', { params }), + + // 管理端导出充值记录 + exportAdminRechargeRecords: (params) => request.get('/admin/recharge-records/export', { + params, + responseType: 'blob' + }) +} + +// API密钥相关接口 +export const apiKeysApi = { + // 获取用户API密钥 (需认证) + getUserApiKeys: () => request.get('/api-keys') +} + +export const whiteListApi = { + // 获取用户白名单列表 (需认证) + getWhiteList: () => request.get('/white-list'), + // 添加白名单IP (需认证) + addWhiteListIP: (ipAddress) => request.post('/white-list', { ip_address: ipAddress }), + // 删除白名单IP (需认证) + deleteWhiteListIP: (ipAddress) => request.delete(`/white-list/${encodeURIComponent(ipAddress)}`) +} + +// 管理员接口 - 需要管理员权限 +export const productAdminApi = { + // 产品管理 + getProducts: (params) => request.get('/admin/products', { params }), + getProductDetail: (id) => request.get(`/admin/products/${id}`), + createProduct: (data) => request.post('/admin/products', data), + updateProduct: (id, data) => request.put(`/admin/products/${id}`, data), + deleteProduct: (id) => request.delete(`/admin/products/${id}`), + + // 组合包管理 + getAvailableProducts: (params) => request.get('/admin/products/available', { params }), + addPackageItem: (packageId, data) => request.post(`/admin/products/${packageId}/package-items`, data), + updatePackageItem: (packageId, itemId, data) => request.put(`/admin/products/${packageId}/package-items/${itemId}`, data), + removePackageItem: (packageId, itemId) => request.delete(`/admin/products/${packageId}/package-items/${itemId}`), + reorderPackageItems: (packageId, data) => request.put(`/admin/products/${packageId}/package-items/reorder`, data), + updatePackageItems: (packageId, data) => request.put(`/admin/products/${packageId}/package-items/batch`, data), + + // 分类管理 + getCategories: (params) => request.get('/admin/product-categories', { params }), + getCategoryDetail: (id) => request.get(`/admin/product-categories/${id}`), + createCategory: (data) => request.post('/admin/product-categories', data), + updateCategory: (id, data) => request.put(`/admin/product-categories/${id}`, data), + deleteCategory: (id) => request.delete(`/admin/product-categories/${id}`), + + // 订阅管理 + getSubscriptions: (params) => request.get('/admin/subscriptions', { params }), + getSubscriptionStats: () => request.get('/admin/subscriptions/stats'), + updateSubscriptionPrice: (id, data) => request.put(`/admin/subscriptions/${id}/price`, data), + batchUpdateSubscriptionPrices: (data) => request.post('/admin/subscriptions/batch-update-prices', data), + + // 产品API配置管理 + getProductApiConfig: (productId) => request.get(`/admin/products/${productId}/api-config`), + createProductApiConfig: (productId, data) => request.post(`/admin/products/${productId}/api-config`, data), + updateProductApiConfig: (productId, data) => request.put(`/admin/products/${productId}/api-config`, data), + deleteProductApiConfig: (productId) => request.delete(`/admin/products/${productId}/api-config`), + + // 产品文档管理 + getProductDocumentation: (productId) => request.get(`/admin/products/${productId}/documentation`), + createProductDocumentation: (productId, data) => request.post(`/admin/products/${productId}/documentation`, data), + updateProductDocumentation: (productId, data) => request.put(`/admin/products/${productId}/documentation`, data), + deleteProductDocumentation: (productId) => request.delete(`/admin/products/${productId}/documentation`) +} + +// 表单配置相关接口 +export const formConfigApi = { + // 获取指定API的表单配置 + getFormConfig: (apiCode) => request.get(`/form-config/${apiCode}`) +} + +// Console专用API调用接口 +export const consoleApi = { + // 调用产品API(使用JWT认证,不需要域名认证) + callProductAPI: (apiCode, requestBody, accessId) => { + return request.post(`/console/${apiCode}`, requestBody, { + headers: { + 'Access-Id': accessId + } + }) + } +} + +// 导出所有API +export default { + user: userApi, + certification: certificationApi, + finance: financeApi, + product: productApi, + category: categoryApi, + subscription: subscriptionApi, + productAdmin: productAdminApi, + apiKeys: apiKeysApi, + whiteList: whiteListApi, + api: apiApi, + invoice: invoiceApi, + adminInvoice: adminInvoiceApi +} diff --git a/src/api/invoice.js b/src/api/invoice.js new file mode 100644 index 0000000..deb5c1b --- /dev/null +++ b/src/api/invoice.js @@ -0,0 +1,98 @@ +import request from '@/utils/request' + +// 发票API接口 +export const invoiceApi = { + // 申请开票 + applyInvoice(data) { + return request({ + url: '/invoices/apply', + method: 'post', + data + }) + }, + + // 获取用户发票信息 + getUserInvoiceInfo() { + return request({ + url: '/invoices/info', + method: 'get' + }) + }, + + // 更新用户发票信息 + updateUserInvoiceInfo(data) { + return request({ + url: '/invoices/info', + method: 'put', + data + }) + }, + + // 获取用户开票记录 + getUserInvoiceRecords(params) { + return request({ + url: '/invoices/records', + method: 'get', + params + }) + }, + + // 获取可开票金额 + getAvailableAmount() { + return request({ + url: '/invoices/available-amount', + method: 'get' + }) + }, + + // 下载发票文件 + downloadInvoiceFile(applicationId) { + return request({ + url: `/invoices/${applicationId}/download`, + method: 'get', + responseType: 'blob' + }) + } +} + +// 管理员发票API接口 +export const adminInvoiceApi = { + // 获取待处理的发票申请列表 + getPendingApplications(params) { + return request({ + url: '/admin/invoices/pending', + method: 'get', + params + }) + }, + + // 通过发票申请(上传发票) + approveInvoiceApplication(applicationId, formData) { + return request({ + url: `/admin/invoices/${applicationId}/approve`, + method: 'post', + data: formData, + headers: { + 'Content-Type': 'multipart/form-data' + } + }) + }, + + // 拒绝发票申请 + rejectInvoiceApplication(applicationId, data) { + return request({ + url: `/admin/invoices/${applicationId}/reject`, + method: 'post', + data + }) + }, + + // 下载发票文件(管理员) + downloadInvoiceFile(applicationId) { + return request({ + url: `/admin/invoices/${applicationId}/download`, + method: 'get', + responseType: 'blob' + }) + } +} diff --git a/src/api/statistics/index.js b/src/api/statistics/index.js new file mode 100644 index 0000000..e7e96c6 --- /dev/null +++ b/src/api/statistics/index.js @@ -0,0 +1,661 @@ +import request from '@/utils/request' + +// ================ 用户端统计接口 ================ + +/** + * 获取公开统计信息 + * @returns {Promise} + */ +export function getPublicStatistics() { + return request({ + url: '/statistics/public', + method: 'get' + }) +} + +/** + * 获取用户统计信息 + * @returns {Promise} + */ +export function getUserStatistics() { + return request({ + url: '/statistics/user', + method: 'get' + }) +} + +// ================ 独立统计接口 ================ + +/** + * 获取API调用统计 + * @param {Object} params - 查询参数 {user_id?, start_date, end_date, unit} + * @returns {Promise} + */ +export function getApiCallsStatistics(params) { + return request({ + url: '/statistics/api-calls', + method: 'get', + params + }) +} + +/** + * 获取消费统计 + * @param {Object} params - 查询参数 {user_id?, start_date, end_date, unit} + * @returns {Promise} + */ +export function getConsumptionStatistics(params) { + return request({ + url: '/statistics/consumption', + method: 'get', + params + }) +} + +/** + * 获取充值统计 + * @param {Object} params - 查询参数 {user_id?, start_date, end_date, unit} + * @returns {Promise} + */ +export function getRechargeStatistics(params) { + return request({ + url: '/statistics/recharge', + method: 'get', + params + }) +} + +/** + * 获取最新产品推荐 + * @param {Object} params - 查询参数 {limit?} + * @returns {Promise} + */ +export function getLatestProducts(params = {}) { + return request({ + url: '/statistics/latest-products', + method: 'get', + params + }) +} + + +/** + * 获取指标列表 + * @param {Object} params - 查询参数 + * @returns {Promise} + */ +export function getMetrics(params) { + return request({ + url: '/statistics/metrics', + method: 'get', + params + }) +} + +/** + * 获取单个指标 + * @param {string} id - 指标ID + * @returns {Promise} + */ +export function getMetric(id) { + return request({ + url: `/statistics/metrics/${id}`, + method: 'get' + }) +} + +/** + * 获取报告列表 + * @param {Object} params - 查询参数 + * @returns {Promise} + */ +export function getReports(params) { + return request({ + url: '/statistics/reports', + method: 'get', + params + }) +} + +/** + * 获取单个报告 + * @param {string} id - 报告ID + * @returns {Promise} + */ +export function getReport(id) { + return request({ + url: `/statistics/reports/${id}`, + method: 'get' + }) +} + +/** + * 获取仪表板列表 + * @param {Object} params - 查询参数 + * @returns {Promise} + */ +export function getDashboards(params) { + return request({ + url: '/statistics/dashboards', + method: 'get', + params + }) +} + +/** + * 获取单个仪表板 + * @param {string} id - 仪表板ID + * @returns {Promise} + */ +export function getDashboard(id) { + return request({ + url: `/statistics/dashboards/${id}`, + method: 'get' + }) +} + +/** + * 获取仪表板数据 + * @param {string} id - 仪表板ID + * @param {Object} params - 查询参数 + * @returns {Promise} + */ +export function getDashboardData(id, params) { + return request({ + url: `/statistics/dashboards/${id}/data`, + method: 'get', + params + }) +} + +// ================ 管理员统计接口 ================ + +/** + * 管理员获取系统统计 + * @param {Object} params - 查询参数 + * @returns {Promise} + */ +export function adminGetSystemStatistics(params) { + return request({ + url: '/admin/statistics/system', + method: 'get', + params + }) +} + +/** + * 管理员获取单个用户统计 + * @param {string} userId - 用户ID + * @returns {Promise} + */ +export function adminGetUserStatistics(userId) { + return request({ + url: `/admin/statistics/users/${userId}`, + method: 'get' + }) +} + +/** + * 管理员获取API调用统计 + * @param {Object} params - 查询参数 {start_date, end_date, unit} + * @returns {Promise} + */ +export function adminGetApiCallsStatistics(params) { + return request({ + url: '/admin/statistics/api-calls', + method: 'get', + params + }) +} + +/** + * 管理员获取消费统计 + * @param {Object} params - 查询参数 {start_date, end_date, unit} + * @returns {Promise} + */ +export function adminGetConsumptionStatistics(params) { + return request({ + url: '/admin/statistics/consumption', + method: 'get', + params + }) +} + +/** + * 管理员获取充值统计 + * @param {Object} params - 查询参数 {start_date, end_date, unit} + * @returns {Promise} + */ +export function adminGetRechargeStatistics(params) { + return request({ + url: '/admin/statistics/recharge', + method: 'get', + params + }) +} + + +// ================ 管理员独立域统计接口 ================ + +/** + * 管理员获取用户域统计 + * @param {Object} params - 查询参数 {period, start_date, end_date} + * @returns {Promise} + */ +export function adminGetUserDomainStatistics(params) { + return request({ + url: '/admin/statistics/user-domain', + method: 'get', + params + }) +} + +/** + * 管理员获取API域统计 + * @param {Object} params - 查询参数 {period, start_date, end_date} + * @returns {Promise} + */ +export function adminGetApiDomainStatistics(params) { + return request({ + url: '/admin/statistics/api-domain', + method: 'get', + params + }) +} + +/** + * 管理员获取消费域统计 + * @param {Object} params - 查询参数 {period, start_date, end_date} + * @returns {Promise} + */ +export function adminGetConsumptionDomainStatistics(params) { + return request({ + url: '/admin/statistics/consumption-domain', + method: 'get', + params + }) +} + +/** + * 管理员获取充值域统计 + * @param {Object} params - 查询参数 {period, start_date, end_date} + * @returns {Promise} + */ +export function adminGetRechargeDomainStatistics(params) { + return request({ + url: '/admin/statistics/recharge-domain', + method: 'get', + params + }) +} + +/** + * 管理员触发数据聚合 + * @param {Object} data - 聚合参数 + * @returns {Promise} + */ +export function adminTriggerAggregation(data) { + return request({ + url: '/admin/statistics/aggregation/trigger', + method: 'post', + data + }) +} + +/** + * 管理员创建指标 + * @param {Object} data - 指标数据 + * @returns {Promise} + */ +export function adminCreateMetric(data) { + return request({ + url: '/admin/statistics/metrics', + method: 'post', + data + }) +} + +/** + * 管理员更新指标 + * @param {string} id - 指标ID + * @param {Object} data - 指标数据 + * @returns {Promise} + */ +export function adminUpdateMetric(id, data) { + return request({ + url: `/admin/statistics/metrics/${id}`, + method: 'put', + data + }) +} + +/** + * 管理员删除指标 + * @param {string} id - 指标ID + * @returns {Promise} + */ +export function adminDeleteMetric(id) { + return request({ + url: `/admin/statistics/metrics/${id}`, + method: 'delete' + }) +} + +/** + * 管理员获取指标列表 + * @param {Object} params - 查询参数 + * @returns {Promise} + */ +export function adminGetMetrics(params) { + return request({ + url: '/admin/statistics/metrics', + method: 'get', + params + }) +} + +/** + * 管理员获取单个指标 + * @param {string} id - 指标ID + * @returns {Promise} + */ +export function adminGetMetric(id) { + return request({ + url: `/admin/statistics/metrics/${id}`, + method: 'get' + }) +} + +/** + * 管理员获取报告列表 + * @param {Object} params - 查询参数 + * @returns {Promise} + */ +export function adminGetReports(params) { + return request({ + url: '/admin/statistics/reports', + method: 'get', + params + }) +} + +/** + * 管理员获取单个报告 + * @param {string} id - 报告ID + * @returns {Promise} + */ +export function adminGetReport(id) { + return request({ + url: `/admin/statistics/reports/${id}`, + method: 'get' + }) +} + +/** + * 管理员删除报告 + * @param {string} id - 报告ID + * @returns {Promise} + */ +export function adminDeleteReport(id) { + return request({ + url: `/admin/statistics/reports/${id}`, + method: 'delete' + }) +} + +/** + * 管理员创建仪表板 + * @param {Object} data - 仪表板数据 + * @returns {Promise} + */ +export function adminCreateDashboard(data) { + return request({ + url: '/admin/statistics/dashboards', + method: 'post', + data + }) +} + +/** + * 管理员更新仪表板 + * @param {string} id - 仪表板ID + * @param {Object} data - 仪表板数据 + * @returns {Promise} + */ +export function adminUpdateDashboard(id, data) { + return request({ + url: `/admin/statistics/dashboards/${id}`, + method: 'put', + data + }) +} + +/** + * 管理员删除仪表板 + * @param {string} id - 仪表板ID + * @returns {Promise} + */ +export function adminDeleteDashboard(id) { + return request({ + url: `/admin/statistics/dashboards/${id}`, + method: 'delete' + }) +} + +/** + * 管理员获取仪表板列表 + * @param {Object} params - 查询参数 + * @returns {Promise} + */ +export function adminGetDashboards(params) { + return request({ + url: '/admin/statistics/dashboards', + method: 'get', + params + }) +} + +/** + * 管理员获取单个仪表板 + * @param {string} id - 仪表板ID + * @returns {Promise} + */ +export function adminGetDashboard(id) { + return request({ + url: `/admin/statistics/dashboards/${id}`, + method: 'get' + }) +} + +/** + * 管理员获取仪表板数据 + * @param {string} id - 仪表板ID + * @param {Object} params - 查询参数 + * @returns {Promise} + */ +export function adminGetDashboardData(id, params) { + return request({ + url: `/admin/statistics/dashboards/${id}/data`, + method: 'get', + params + }) +} + +// ================ 便捷方法 ================ + +/** + * 获取API调用统计 + * @param {Object} params - 查询参数 + * @returns {Promise} + */ +export function getApiCallStats(params = {}) { + return getMetrics({ + metric_type: 'api_calls', + ...params + }) +} + +/** + * 获取用户统计 + * @param {Object} params - 查询参数 + * @returns {Promise} + */ +export function getUserStats(params = {}) { + return getMetrics({ + metric_type: 'users', + ...params + }) +} + +/** + * 获取财务统计 + * @param {Object} params - 查询参数 + * @returns {Promise} + */ +export function getFinanceStats(params = {}) { + return getMetrics({ + metric_type: 'finance', + ...params + }) +} + +/** + * 获取产品统计 + * @param {Object} params - 查询参数 + * @returns {Promise} + */ +export function getProductStats(params = {}) { + return getMetrics({ + metric_type: 'products', + ...params + }) +} + +/** + * 获取认证统计 + * @param {Object} params - 查询参数 + * @returns {Promise} + */ +export function getCertificationStats(params = {}) { + return getMetrics({ + metric_type: 'certification', + ...params + }) +} + +/** + * 获取今日仪表板数据 + * @param {string} dashboardId - 仪表板ID + * @param {string} userRole - 用户角色 + * @returns {Promise} + */ +export function getTodayDashboardData(dashboardId, userRole = 'user') { + return getDashboardData(dashboardId, { + user_role: userRole, + period: 'today' + }) +} + +/** + * 获取本周仪表板数据 + * @param {string} dashboardId - 仪表板ID + * @param {string} userRole - 用户角色 + * @returns {Promise} + */ +export function getWeekDashboardData(dashboardId, userRole = 'user') { + return getDashboardData(dashboardId, { + user_role: userRole, + period: 'week' + }) +} + +/** + * 获取本月仪表板数据 + * @param {string} dashboardId - 仪表板ID + * @param {string} userRole - 用户角色 + * @returns {Promise} + */ +export function getMonthDashboardData(dashboardId, userRole = 'user') { + return getDashboardData(dashboardId, { + user_role: userRole, + period: 'month' + }) +} + +/** + * 获取自定义时间范围仪表板数据 + * @param {string} dashboardId - 仪表板ID + * @param {string} userRole - 用户角色 + * @param {string} startDate - 开始日期 + * @param {string} endDate - 结束日期 + * @returns {Promise} + */ +export function getCustomDashboardData(dashboardId, userRole, startDate, endDate) { + return getDashboardData(dashboardId, { + user_role: userRole, + start_date: startDate, + end_date: endDate + }) +} + +// ================ 管理员排行榜接口 ================ + +/** + * 获取用户调用排行榜 + * @param {Object} params - 查询参数 + * @param {string} params.type - 排行类型 (calls, consumption) + * @param {string} params.period - 时间周期 (today, month, total) + * @param {number} params.limit - 返回数量 + * @returns {Promise} + */ +export function adminGetUserCallRanking(params = {}) { + return request({ + url: '/admin/statistics/user-call-ranking', + method: 'get', + params + }) +} + +/** + * 获取充值排行榜 + * @param {Object} params - 查询参数 + * @param {string} params.period - 时间周期 (today, month, total) + * @param {number} params.limit - 返回数量 + * @returns {Promise} + */ +export function adminGetRechargeRanking(params = {}) { + return request({ + url: '/admin/statistics/recharge-ranking', + method: 'get', + params + }) +} + +/** + * 获取API受欢迎程度排行榜 + * @param {Object} params - 查询参数 + * @param {string} params.period - 时间周期 (today, month, total) + * @param {number} params.limit - 返回数量 + * @returns {Promise} + */ +export function adminGetApiPopularityRanking(params = {}) { + return request({ + url: '/admin/statistics/api-popularity-ranking', + method: 'get', + params + }) +} + +/** + * 获取今日认证企业列表 + * @param {Object} params - 查询参数 + * @param {number} params.limit - 返回数量 + * @returns {Promise} + */ +export function adminGetTodayCertifiedEnterprises(params = {}) { + return request({ + url: '/admin/statistics/today-certified-enterprises', + method: 'get', + params + }) +} diff --git a/src/assets/base.css b/src/assets/base.css new file mode 100644 index 0000000..f3e8147 --- /dev/null +++ b/src/assets/base.css @@ -0,0 +1,38 @@ + + +*, +*::before, +*::after { + box-sizing: border-box; + font-weight: normal; +} +:root { + /* --color-background: #f5f7fa; */ + --color-text: #222; +} +body { + min-height: 100vh; + color: var(--color-text); + /* background: var(--color-background); */ + transition: + color 0.5s, + background-color 0.5s; + line-height: 1.6; + font-family: + Inter, + -apple-system, + BlinkMacSystemFont, + 'Segoe UI', + Roboto, + Oxygen, + Ubuntu, + Cantarell, + 'Fira Sans', + 'Droid Sans', + 'Helvetica Neue', + sans-serif; + font-size: 15px; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} diff --git a/src/assets/logo.svg b/src/assets/logo.svg new file mode 100644 index 0000000..7565660 --- /dev/null +++ b/src/assets/logo.svg @@ -0,0 +1 @@ + diff --git a/src/assets/main.css b/src/assets/main.css new file mode 100644 index 0000000..85c5e4c --- /dev/null +++ b/src/assets/main.css @@ -0,0 +1,2 @@ +@import './base.css'; +@import "tailwindcss"; diff --git a/src/assets/styles/auth.css b/src/assets/styles/auth.css new file mode 100644 index 0000000..63dd2ce --- /dev/null +++ b/src/assets/styles/auth.css @@ -0,0 +1,120 @@ +/* 认证页面全局样式 */ + +/* 输入框样式优化 */ +.auth-input :deep(.el-input__wrapper) { + border-radius: 8px !important; + transition: all 0.3s ease !important; + border: 1px solid #d1d5db !important; +} + +.auth-input :deep(.el-input__wrapper:hover) { + border-color: #3b82f6 !important; +} + +.auth-input :deep(.el-input__wrapper.is-focus) { + border-color: #3b82f6 !important; + box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1) !important; +} + +/* 按钮样式优化 */ +.auth-button :deep(.el-button--primary) { + border-radius: 8px !important; + font-weight: 500 !important; + transition: all 0.3s ease !important; + background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important; + border: none !important; +} + +.auth-button :deep(.el-button--primary:hover) { + transform: translateY(-1px) !important; + box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3) !important; + background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%) !important; +} + +.auth-button :deep(.el-button--primary:active) { + transform: translateY(0) !important; +} + +/* Radio button 样式优化 */ +.auth-radio :deep(.el-radio-button__inner) { + border: none !important; + background: transparent !important; + color: #6b7280 !important; + font-weight: 500 !important; + transition: all 0.3s ease !important; + padding: 12px 16px !important; +} + +.auth-radio :deep(.el-radio-button__original-radio:checked + .el-radio-button__inner) { + background: white !important; + color: #3b82f6 !important; + box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important; +} + +/* 表单标签样式 */ +.auth-label { + @apply block text-sm font-medium text-gray-700 mb-2; +} + +/* 链接样式 */ +.auth-link { + @apply text-gray-600 hover:text-sky-600 transition-colors mx-2; +} + +/* 卡片样式 */ +.auth-card { + @apply bg-white/95 backdrop-blur-sm shadow-2xl rounded-2xl border border-white/20; +} + +/* 标题样式 */ +.auth-title { + @apply text-2xl font-bold text-gray-900 mb-2; +} + +.auth-subtitle { + @apply text-gray-600 text-sm; +} + +/* 响应式优化 */ +@media (max-width: 640px) { + .auth-input :deep(.el-input__wrapper) { + border-radius: 6px !important; + } + + .auth-button :deep(.el-button--primary) { + border-radius: 6px !important; + } +} + +/* 动画效果 */ +.auth-fade-in { + animation: fadeIn 0.5s ease-in-out; +} + +@keyframes fadeIn { + from { + opacity: 0; + transform: translateY(10px); + } + to { + opacity: 1; + transform: translateY(0); + } +} + +/* 加载状态样式 */ +.auth-loading { + @apply opacity-75 pointer-events-none; +} + +/* 错误状态样式 */ +.auth-error :deep(.el-input__wrapper) { + border-color: #ef4444 !important; + box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1) !important; +} + +/* 成功状态样式 */ +.auth-success :deep(.el-input__wrapper) { + border-color: #10b981 !important; + box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1) !important; +} diff --git a/src/assets/styles/index.css b/src/assets/styles/index.css new file mode 100644 index 0000000..0b68b82 --- /dev/null +++ b/src/assets/styles/index.css @@ -0,0 +1,460 @@ +@import "tailwindcss"; +@import "./performance.css"; +@import "./auth.css"; +@import "./list-pages.css"; + +/* 全局样式重置 */ +* { + box-sizing: border-box; +} + +html, body { + margin: 0; + padding: 0; + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', + 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', + sans-serif; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + /* background: #f8fafc; */ +} + +/* Element Plus 样式覆盖 */ +.el-button { + font-weight: 500; +} + +.el-button--primary { + background-color: #3b82f6; + border-color: #3b82f6; +} + +.el-button--primary:hover { + background-color: #2563eb; + border-color: #2563eb; +} + +.el-button--primary:focus { + background-color: #1d4ed8; + border-color: #1d4ed8; +} + +.el-input__inner { + border-radius: 0.375rem; +} + +.el-input__inner:focus { + border-color: #3b82f6; +} + +.el-form-item__label { + font-weight: 500; + color: #374151; +} + +.el-message { + border-radius: 0.5rem; +} + +.el-message--success { + background-color: #f0fdf4; + border-color: #bbf7d0; +} + +.el-message--error { + background-color: #fef2f2; + border-color: #fecaca; +} + +.el-message--warning { + background-color: #fffbeb; + border-color: #fed7aa; +} + +.el-message--info { + background-color: #eff6ff; + border-color: #bfdbfe; +} + +.el-dropdown-menu { + border-radius: 0.5rem; + box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); +} + +.el-dropdown-menu__item { + padding: 0.5rem 1rem; +} + +.el-dropdown-menu__item:hover { + background-color: #f3f4f6; +} + +.el-avatar { + background-color: #3b82f6; + color: white; + font-weight: 500; +} + +/* 自定义滚动条 */ +::-webkit-scrollbar { + width: 12px; + height: 12px; +} + +::-webkit-scrollbar-track { + background: #f1f5f9; + border-radius: 6px; +} + +::-webkit-scrollbar-thumb { + background: #cbd5e1; + border-radius: 6px; +} + +::-webkit-scrollbar-thumb:hover { + background: #94a3b8; +} + +/* Firefox 滚动条样式 */ +* { + scrollbar-width: auto; + scrollbar-color: #cbd5e1 #f1f5f9; +} + +/* 响应式设计 */ +@media (max-width: 768px) { + .el-dropdown-menu { + min-width: 120px; + } + + .el-button { + padding: 0.5rem 1rem; + font-size: 0.875rem; + } +} + +/* 动画效果 */ +.fade-enter-active, +.fade-leave-active { + transition: opacity 0.3s ease; +} + +.fade-enter-from, +.fade-leave-to { + opacity: 0; +} + +.slide-enter-active, +.slide-leave-active { + transition: transform 0.3s ease; +} + +.slide-enter-from { + transform: translateX(-100%); +} + +.slide-leave-to { + transform: translateX(100%); +} + +/* 加载动画 */ +.loading-spinner { + display: inline-block; + width: 20px; + height: 20px; + border: 3px solid #f3f4f6; + border-radius: 50%; + border-top-color: #3b82f6; + animation: spin 1s ease-in-out infinite; +} + +@keyframes spin { + to { + transform: rotate(360deg); + } +} + +/* 工具类 */ +.text-ellipsis { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.text-ellipsis-2 { + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; +} + +.text-ellipsis-3 { + display: -webkit-box; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; + overflow: hidden; +} + +/* 阴影效果 */ +.shadow-soft { + box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); +} + +.shadow-medium { + box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); +} + +.shadow-large { + box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); +} + +/* 边框效果 */ +.border-soft { + border: 1px solid #e5e7eb; +} + +.border-medium { + border: 1px solid #d1d5db; +} + +/* 圆角效果 */ +.rounded-soft { + border-radius: 0.375rem; +} + +.rounded-medium { + border-radius: 0.5rem; +} + +.rounded-large { + border-radius: 0.75rem; +} + +/* 间距工具类 */ +.space-y-soft > * + * { + margin-top: 0.5rem; +} + +.space-y-medium > * + * { + margin-top: 1rem; +} + +.space-y-large > * + * { + margin-top: 1.5rem; +} + +.space-x-soft > * + * { + margin-left: 0.5rem; +} + +.space-x-medium > * + * { + margin-left: 1rem; +} + +.space-x-large > * + * { + margin-left: 1.5rem; +} + +/* 状态颜色 */ +.status-success { + color: #059669; + background-color: #d1fae5; +} + +.status-error { + color: #dc2626; + background-color: #fee2e2; +} + +.status-warning { + color: #d97706; + background-color: #fef3c7; +} + +.status-info { + color: #2563eb; + background-color: #dbeafe; +} + +/* 卡片样式 */ +.card { + background-color: white; + border-radius: 0.5rem; + box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); + padding: 1.5rem; +} + +.card-header { + border-bottom: 1px solid #e5e7eb; + padding-bottom: 1rem; + margin-bottom: 1rem; +} + +.card-title { + font-size: 1.125rem; + font-weight: 600; + color: #111827; + margin: 0; +} + +.card-subtitle { + font-size: 0.875rem; + color: #6b7280; + margin: 0.25rem 0 0 0; +} + +/* 表格样式 */ +.table-container { + background-color: white; + border-radius: 0.5rem; + box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); + overflow: hidden; +} + +.table-header { + background-color: #f9fafb; + border-bottom: 1px solid #e5e7eb; + padding: 1rem 1.5rem; +} + +.table-title { + font-size: 1.125rem; + font-weight: 600; + color: #111827; + margin: 0; +} + +/* 表单样式 */ +.form-section { + background-color: white; + border-radius: 0.5rem; + box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); + padding: 1.5rem; + margin-bottom: 1.5rem; +} + +.form-section-title { + font-size: 1.125rem; + font-weight: 600; + color: #111827; + margin: 0 0 1rem 0; + padding-bottom: 0.5rem; + border-bottom: 1px solid #e5e7eb; +} + +/* 按钮组样式 */ +.button-group { + display: flex; + gap: 0.5rem; + align-items: center; +} + +.button-group-vertical { + display: flex; + flex-direction: column; + gap: 0.5rem; +} + +/* 徽章样式 */ +.badge { + display: inline-flex; + align-items: center; + padding: 0.25rem 0.5rem; + font-size: 0.75rem; + font-weight: 500; + border-radius: 9999px; +} + +.badge-success { + background-color: #d1fae5; + color: #059669; +} + +.badge-error { + background-color: #fee2e2; + color: #dc2626; +} + +.badge-warning { + background-color: #fef3c7; + color: #d97706; +} + +.badge-info { + background-color: #dbeafe; + color: #2563eb; +} + +.badge-gray { + background-color: #f3f4f6; + color: #6b7280; +} + +/* 空状态样式 */ +.empty-state { + text-align: center; + padding: 3rem 1.5rem; +} + +.empty-state-icon { + width: 4rem; + height: 4rem; + margin: 0 auto 1rem; + color: #9ca3af; +} + +.empty-state-title { + font-size: 1.125rem; + font-weight: 500; + color: #374151; + margin: 0 0 0.5rem 0; +} + +.empty-state-description { + font-size: 0.875rem; + color: #6b7280; + margin: 0; +} + +/* 响应式工具类 */ +@media (max-width: 640px) { + .sm\:hidden { + display: none; + } + + .sm\:block { + display: block; + } + + .sm\:flex { + display: flex; + } +} + +@media (max-width: 768px) { + .md\:hidden { + display: none; + } + + .md\:block { + display: block; + } + + .md\:flex { + display: flex; + } +} + +@media (max-width: 1024px) { + .lg\:hidden { + display: none; + } + + .lg\:block { + display: block; + } + + .lg\:flex { + display: flex; + } +} diff --git a/src/assets/styles/list-pages.css b/src/assets/styles/list-pages.css new file mode 100644 index 0000000..9738a6a --- /dev/null +++ b/src/assets/styles/list-pages.css @@ -0,0 +1,445 @@ +/* 列表页通用样式 - 科技感、简约、高级设计 */ + +/* ===== 页面容器 ===== */ +.list-page-container { + min-height: 100vh; + position: relative; +} + +/* ===== 主卡片容器 ===== */ +.list-page-card { + background: rgba(255, 255, 255, 0.95); + border: 1px solid rgba(226, 232, 240, 0.8); + border-radius: 16px; + box-shadow: + 0 4px 6px -1px rgba(0, 0, 0, 0.05), + 0 10px 15px -3px rgba(0, 0, 0, 0.03), + 0 0 0 1px rgba(255, 255, 255, 0.1); + overflow: hidden; + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); + padding: 24px; +} + +.list-page-card:hover { + box-shadow: + 0 10px 25px -3px rgba(0, 0, 0, 0.08), + 0 4px 6px -2px rgba(0, 0, 0, 0.04), + 0 0 0 1px rgba(255, 255, 255, 0.15); +} + +/* ===== 页面头部 ===== */ +.list-page-header { + padding: 24px 24px 18px; + border-bottom: 1px solid rgba(226, 232, 240, 0.6); + background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(241, 245, 249, 0.8) 100%); +} + +.list-page-title { + font-size: 20px; + font-weight: 700; + color: #1e293b; + margin: 0 0 8px 0; + letter-spacing: -0.025em; + line-height: 1.2; +} + +.list-page-subtitle { + font-size: 14px; + color: #64748b; + margin: 0; + font-weight: 400; + line-height: 1.5; +} + +.list-page-actions { + display: flex; + align-items: center; + gap: 12px; +} + +/* ===== 筛选区域 ===== */ +.list-page-filters { + padding: 24px 32px; + background: rgba(248, 250, 252, 0.5); + border-bottom: 1px solid rgba(226, 232, 240, 0.4); +} + +.filter-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); + gap: 20px; + margin-bottom: 20px; +} + +.filter-item { + display: flex; + flex-direction: column; +} + +.filter-label { + font-size: 14px; + font-weight: 600; + color: #475569; + margin-bottom: 8px; + letter-spacing: 0.025em; +} + +.filter-actions { + display: flex; + justify-content: space-between; + align-items: center; + padding-top: 20px; + border-top: 1px solid rgba(226, 232, 240, 0.4); +} + +.filter-stats { + font-size: 14px; + color: #64748b; + font-weight: 500; +} + +.filter-buttons { + display: flex; + gap: 12px; +} + +/* ===== 表格区域 ===== */ +.list-page-table { + /* padding: 32px; */ +} + +.table-wrapper { + border-radius: 12px; + overflow: hidden; + border: 1px solid rgba(226, 232, 240, 0.6); + background: rgba(255, 255, 255, 0.8); +} + +/* ===== 分页区域 ===== */ +.list-page-pagination { + padding: 24px 32px; + border-top: 1px solid rgba(226, 232, 240, 0.4); + background: rgba(248, 250, 252, 0.3); + display: flex; + justify-content: center; +} + +/* ===== Element Plus 组件样式覆盖 ===== */ + +/* 按钮样式 */ +.list-page-container .el-button { + border-radius: 8px; + font-weight: 600; + letter-spacing: 0.025em; + transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); + border: 1px solid transparent; +} + +.list-page-container .el-button--primary { + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); + border-color: #3b82f6; + box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2); +} + +.list-page-container .el-button--primary:hover { + background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); + border-color: #2563eb; + box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3); + transform: translateY(-1px); +} + +.list-page-container .el-button--default { + background: rgba(255, 255, 255, 0.9); + border-color: rgba(226, 232, 240, 0.8); + color: #475569; +} + +.list-page-container .el-button--default:hover { + background: rgba(255, 255, 255, 1); + border-color: #cbd5e1; + color: #1e293b; + transform: translateY(-1px); +} + +.list-page-container .el-button--danger { + background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); + border-color: #ef4444; + box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2); +} + +.list-page-container .el-button--danger:hover { + background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%); + border-color: #dc2626; + box-shadow: 0 4px 8px rgba(239, 68, 68, 0.3); + transform: translateY(-1px); +} + +/* 输入框样式 */ +.list-page-container .el-input__wrapper { + border-radius: 8px; + border: 1px solid rgba(226, 232, 240, 0.8); + background: rgba(255, 255, 255, 0.9); + transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); +} + +.list-page-container .el-input__wrapper:hover { + border-color: #cbd5e1; + background: rgba(255, 255, 255, 1); +} + +.list-page-container .el-input__wrapper.is-focus { + border-color: #3b82f6; + box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); + background: rgba(255, 255, 255, 1); +} + +.list-page-container .el-input__inner { + color: #1e293b; + font-weight: 500; +} + +.list-page-container .el-input__inner::placeholder { + color: #94a3b8; + font-weight: 400; +} + +/* 选择器样式 */ +.list-page-container .el-select .el-input__wrapper { + border-radius: 8px; +} + +.list-page-container .el-select-dropdown { + border-radius: 12px; + border: 1px solid rgba(226, 232, 240, 0.8); + box-shadow: + 0 10px 25px -3px rgba(0, 0, 0, 0.1), + 0 4px 6px -2px rgba(0, 0, 0, 0.05); + background: rgba(255, 255, 255, 0.95); +} + +.list-page-container .el-select-dropdown__item { + color: #475569; + font-weight: 500; + transition: all 0.2s ease; +} + +.list-page-container .el-select-dropdown__item:hover { + background: rgba(59, 130, 246, 0.1); + color: #3b82f6; +} + +.list-page-container .el-select-dropdown__item.selected { + background: rgba(59, 130, 246, 0.15); + color: #3b82f6; + font-weight: 600; +} + +/* 表格样式 */ +.list-page-container .el-table { + background: transparent; + border: none; +} + +.list-page-container .el-table th { + background: rgba(248, 250, 252, 0.8); + border-bottom: 1px solid rgba(226, 232, 240, 0.6); + color: #475569; + font-weight: 600; + font-size: 14px; + letter-spacing: 0.025em; + padding: 16px 12px; +} + +.list-page-container .el-table td { + border-bottom: 1px solid rgba(226, 232, 240, 0.3); + /* padding: 16px 12px; */ + color: #1e293b; + font-weight: 500; +} + +.list-page-container .el-table tr:hover > td { + background: rgba(59, 130, 246, 0.02); +} + +.list-page-container .el-table--striped .el-table__body tr.el-table__row--striped td { + background: rgba(248, 250, 252, 0.3); +} + +.list-page-container .el-table--striped .el-table__body tr.el-table__row--striped:hover td { + background: rgba(59, 130, 246, 0.04); +} + +/* 标签样式 */ +.list-page-container .el-tag { + border-radius: 6px; + font-weight: 600; + font-size: 12px; + letter-spacing: 0.025em; + border: none; + padding: 4px 8px; +} + +.list-page-container .el-tag--success { + background: rgba(34, 197, 94, 0.1); + color: #16a34a; +} + +.list-page-container .el-tag--danger { + background: rgba(239, 68, 68, 0.1); + color: #dc2626; +} + +.list-page-container .el-tag--warning { + background: rgba(245, 158, 11, 0.1); + color: #d97706; +} + +.list-page-container .el-tag--info { + background: rgba(59, 130, 246, 0.1); + color: #3b82f6; +} + +/* 分页样式 */ +.list-page-container .el-pagination { + --el-pagination-bg-color: transparent; + --el-pagination-text-color: #475569; + --el-pagination-border-radius: 8px; + --el-pagination-button-color: #64748b; + --el-pagination-button-bg-color: rgba(255, 255, 255, 0.8); + --el-pagination-button-disabled-color: #cbd5e1; + --el-pagination-button-disabled-bg-color: rgba(248, 250, 252, 0.5); + --el-pagination-hover-color: #3b82f6; + --el-pagination-hover-bg-color: rgba(59, 130, 246, 0.1); +} + +.list-page-container .el-pagination .el-pager li { + border-radius: 8px; + font-weight: 600; + transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); +} + +.list-page-container .el-pagination .el-pager li:hover { + transform: translateY(-1px); +} + +.list-page-container .el-pagination .el-pager li.is-active { + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); + color: white; + box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3); +} + +/* 卡片样式 */ +.list-page-container .el-card { + border-radius: 12px; + border: 1px solid rgba(226, 232, 240, 0.6); + background: rgba(255, 255, 255, 0.9); + box-shadow: + 0 2px 4px rgba(0, 0, 0, 0.05), + 0 1px 2px rgba(0, 0, 0, 0.03); + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); +} + +.list-page-container .el-card:hover { + box-shadow: + 0 4px 8px rgba(0, 0, 0, 0.08), + 0 2px 4px rgba(0, 0, 0, 0.05); + transform: translateY(-1px); +} + +.list-page-container .el-card__body { + padding: 20px; +} + +/* 加载状态 */ +.list-page-container .el-loading-mask { + background: rgba(255, 255, 255, 0.95); +} + +/* 响应式设计 */ +@media (max-width: 768px) { + .list-page-container { + padding: 16px; + } + + .list-page-header { + padding: 24px 20px 20px; + } + + .list-page-title { + font-size: 24px; + } + + .list-page-filters { + padding: 20px; + } + + .filter-grid { + grid-template-columns: 1fr; + gap: 16px; + } + + .list-page-table { + padding: 0 20px 20px; + } + + .list-page-pagination { + padding: 20px; + } + + .filter-actions { + flex-direction: column; + gap: 16px; + align-items: stretch; + } + + .filter-buttons { + justify-content: center; + } +} + +/* 动画效果 */ +@keyframes fadeInUp { + from { + opacity: 0; + transform: translateY(20px); + } + to { + opacity: 1; + transform: translateY(0); + } +} + +.list-page-card { + animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1); +} + +/* 性能优化:减少动画效果 */ +@media (prefers-reduced-motion: reduce) { + .list-page-card { + animation: none !important; + } +} + +/* 科技感装饰元素 */ +.list-page-container::before { + content: ''; + position: fixed; + top: 0; + left: 0; + right: 0; + height: 1px; + background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.3) 50%, transparent 100%); + z-index: 1; +} + +.list-page-container::after { + content: ''; + position: fixed; + top: 0; + left: 0; + width: 1px; + height: 100vh; + background: linear-gradient(180deg, transparent 0%, rgba(59, 130, 246, 0.1) 50%, transparent 100%); + z-index: 1; +} diff --git a/src/assets/styles/performance.css b/src/assets/styles/performance.css new file mode 100644 index 0000000..1b7f78b --- /dev/null +++ b/src/assets/styles/performance.css @@ -0,0 +1,186 @@ +/* 渲染性能优化样式文件 */ + +/* 1. 减少动画效果 - 尊重用户偏好 */ +@media (prefers-reduced-motion: reduce) { + *, + *::before, + *::after { + animation-duration: 0.01ms !important; + animation-iteration-count: 1 !important; + transition-duration: 0.01ms !important; + scroll-behavior: auto !important; + } +} + +/* 2. 低端设备优化 */ +@media (max-width: 768px), (max-device-pixel-ratio: 1) { + /* 简化背景渐变 */ + .bg-gradient-to-br, + .bg-gradient-to-tl, + .bg-gradient-to-tr, + .bg-gradient-to-bl { + background: #f8fafc !important; + } + + /* 简化阴影效果 */ + .shadow-soft, + .shadow-medium, + .shadow-large { + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important; + } + + /* 移除复杂的边框效果 */ + .border-soft, + .border-medium { + border: 1px solid #e5e7eb !important; + } +} + +/* 3. 硬件加速优化 */ +.gpu-accelerated { + transform: translateZ(0); + will-change: transform; +} + +/* 4. 简化backdrop-filter的替代方案 */ +.glass-effect { + background: rgba(255, 255, 255, 0.95); + border: 1px solid rgba(226, 232, 240, 0.6); +} + +.glass-effect-light { + background: rgba(255, 255, 255, 0.9); + border: 1px solid rgba(226, 232, 240, 0.4); +} + +/* 5. 优化过渡效果 */ +.optimized-transition { + transition: all 0.2s ease; + will-change: transform, opacity; +} + +/* 6. 移动端性能优化 */ +@media (max-width: 640px) { + /* 减少复杂的CSS计算 */ + .mobile-optimized { + transform: none !important; + filter: none !important; + } + + /* 简化字体渲染 */ + body { + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + } +} + +/* 7. 高DPI屏幕优化 */ +@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { + /* 为高分辨率屏幕优化 */ + .high-dpi-optimized { + image-rendering: -webkit-optimize-contrast; + image-rendering: crisp-edges; + } +} + +/* 8. 减少重绘和重排 */ +.layout-stable { + contain: layout style paint; +} + +/* 9. 优化滚动性能 */ +.smooth-scroll { + scroll-behavior: smooth; + -webkit-overflow-scrolling: touch; +} + +/* 10. 减少不必要的动画 */ +@media (max-width: 1024px) { + .desktop-only-animation { + animation: none !important; + } +} + +/* 11. 优化图片和媒体 */ +img, video, canvas { + max-width: 100%; + height: auto; +} + +/* 12. 减少CSS选择器复杂度 */ +.simple-selector { + /* 使用简单的选择器 */ +} + +/* 13. 优化字体加载 */ +.font-optimized { + font-display: swap; +} + +/* 14. 减少阴影复杂度 */ +.simple-shadow { + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); +} + +/* 15. 优化边框半径 */ +.optimized-radius { + border-radius: 8px; +} + +/* 16. 减少透明度计算 */ +.solid-bg { + background: #ffffff; +} + +/* 17. 优化渐变效果 */ +.simple-gradient { + background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); +} + +/* 18. 减少变换复杂度 */ +.simple-transform { + transform: translateY(-2px); +} + +/* 19. 优化伪元素 */ +.optimized-pseudo::before, +.optimized-pseudo::after { + content: ''; + position: absolute; + pointer-events: none; +} + +/* 20. 减少媒体查询嵌套 */ +@media (max-width: 768px) { + .mobile-simple { + /* 简化的移动端样式 */ + } +} + +/* 21. 性能等级模式样式 */ +.low-performance-mode { + /* 低端设备:禁用复杂效果 */ +} + +.medium-performance-mode { + /* 中端设备:适度优化 */ +} + +.high-performance-mode { + /* 高端设备:启用所有功能 */ +} + +/* 22. 硬件加速降级样式 */ +.no-hardware-acceleration { + /* 不支持硬件加速时的降级样式 */ +} + +/* 23. backdrop-filter降级样式 */ +.no-backdrop-filter { + /* 不支持backdrop-filter时的降级样式 */ +} + +/* 24. 减少动画模式样式 */ +.reduced-motion { + /* 用户偏好减少动画时的样式 */ +} diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue new file mode 100644 index 0000000..eff59f1 --- /dev/null +++ b/src/components/HelloWorld.vue @@ -0,0 +1,44 @@ + + + + + diff --git a/src/components/TheWelcome.vue b/src/components/TheWelcome.vue new file mode 100644 index 0000000..fe48afc --- /dev/null +++ b/src/components/TheWelcome.vue @@ -0,0 +1,94 @@ + + + diff --git a/src/components/WelcomeItem.vue b/src/components/WelcomeItem.vue new file mode 100644 index 0000000..ac366d0 --- /dev/null +++ b/src/components/WelcomeItem.vue @@ -0,0 +1,86 @@ + + + diff --git a/src/components/admin/ProductApiConfigDialog.vue b/src/components/admin/ProductApiConfigDialog.vue new file mode 100644 index 0000000..e0d336a --- /dev/null +++ b/src/components/admin/ProductApiConfigDialog.vue @@ -0,0 +1,501 @@ + + + + + diff --git a/src/components/admin/ProductDocumentationDialog.vue b/src/components/admin/ProductDocumentationDialog.vue new file mode 100644 index 0000000..a24f9ca --- /dev/null +++ b/src/components/admin/ProductDocumentationDialog.vue @@ -0,0 +1,671 @@ + + + + + diff --git a/src/components/admin/ProductFormDialog.vue b/src/components/admin/ProductFormDialog.vue new file mode 100644 index 0000000..5651191 --- /dev/null +++ b/src/components/admin/ProductFormDialog.vue @@ -0,0 +1,991 @@ + + + + + diff --git a/src/components/auth/PermissionGuard.vue b/src/components/auth/PermissionGuard.vue new file mode 100644 index 0000000..85f0a50 --- /dev/null +++ b/src/components/auth/PermissionGuard.vue @@ -0,0 +1,108 @@ + + + + + + diff --git a/src/components/common/AppLoading.vue b/src/components/common/AppLoading.vue new file mode 100644 index 0000000..09d7843 --- /dev/null +++ b/src/components/common/AppLoading.vue @@ -0,0 +1,206 @@ + + + + + diff --git a/src/components/common/BusinessConsultationDialog.vue b/src/components/common/BusinessConsultationDialog.vue new file mode 100644 index 0000000..cc2a417 --- /dev/null +++ b/src/components/common/BusinessConsultationDialog.vue @@ -0,0 +1,216 @@ + + + + + diff --git a/src/components/common/CertificationBanner.vue b/src/components/common/CertificationBanner.vue new file mode 100644 index 0000000..7a5453c --- /dev/null +++ b/src/components/common/CertificationBanner.vue @@ -0,0 +1,127 @@ + + + + + diff --git a/src/components/common/CertificationNotice.vue b/src/components/common/CertificationNotice.vue new file mode 100644 index 0000000..6b390df --- /dev/null +++ b/src/components/common/CertificationNotice.vue @@ -0,0 +1,102 @@ + + + + + diff --git a/src/components/common/CodeDisplay.vue b/src/components/common/CodeDisplay.vue new file mode 100644 index 0000000..850e641 --- /dev/null +++ b/src/components/common/CodeDisplay.vue @@ -0,0 +1,399 @@ + + + + + diff --git a/src/components/common/CustomSteps.vue b/src/components/common/CustomSteps.vue new file mode 100644 index 0000000..ae386dd --- /dev/null +++ b/src/components/common/CustomSteps.vue @@ -0,0 +1,342 @@ + + + + + diff --git a/src/components/common/ExportDialog.md b/src/components/common/ExportDialog.md new file mode 100644 index 0000000..093b555 --- /dev/null +++ b/src/components/common/ExportDialog.md @@ -0,0 +1,205 @@ +# ExportDialog 导出弹窗组件 + +## 概述 + +`ExportDialog` 是一个通用的导出数据弹窗组件,支持多种筛选条件和导出格式。该组件被设计为可复用的公共组件,用于各个管理页面的数据导出功能。 + +## 功能特性 + +- ✅ **企业选择**:支持多选、本地搜索(直接加载所有已认证企业) +- ✅ **产品选择**:支持多选、搜索、异步加载 +- ✅ **充值类型选择**:支持单选筛选 +- ✅ **状态选择**:支持单选筛选 +- ✅ **时间范围**:支持日期时间范围选择 +- ✅ **导出格式**:支持Excel和CSV格式 +- ✅ **异步搜索**:产品名称支持实时搜索 +- ✅ **批量加载**:一次性加载1000条数据,提升性能 + +## Props + +| 属性名 | 类型 | 默认值 | 说明 | +|--------|------|--------|------| +| `modelValue` | Boolean | false | 控制弹窗显示/隐藏 | +| `title` | String | '导出数据' | 弹窗标题 | +| `loading` | Boolean | false | 导出按钮加载状态 | +| `showCompanySelect` | Boolean | true | 是否显示企业选择 | +| `showProductSelect` | Boolean | true | 是否显示产品选择 | +| `showRechargeTypeSelect` | Boolean | false | 是否显示充值类型选择 | +| `showStatusSelect` | Boolean | false | 是否显示状态选择 | +| `showDateRange` | Boolean | true | 是否显示时间范围选择 | + +## Events + +| 事件名 | 参数 | 说明 | +|--------|------|------| +| `update:modelValue` | Boolean | 弹窗显示状态变化 | +| `confirm` | Object | 确认导出,返回筛选条件对象 | +| `cancel` | - | 取消导出 | + +## 筛选条件对象结构 + +```javascript +{ + companyIds: [], // 企业ID数组 + productIds: [], // 产品ID数组 + rechargeType: '', // 充值类型 + status: '', // 状态 + dateRange: [], // 时间范围 [startTime, endTime] + format: 'excel' // 导出格式 'excel' | 'csv' +} +``` + +## 使用示例 + +### 1. API调用记录导出 + +```vue + + + +``` + +### 2. 充值记录导出 + +```vue + + + +``` + +### 3. 钱包交易记录导出 + +```vue + + + +``` + +## 技术实现 + +### 数据加载优化 + +- **企业数据**:一次性加载所有已认证企业(最多1000条),支持本地搜索 +- **产品数据**:支持异步搜索,减少网络请求 +- **缓存机制**:已加载的数据会被缓存,避免重复请求 + +### 性能优化 + +- **企业数据**:一次性加载,本地搜索,无需网络请求 +- **产品搜索**:防抖处理,减少API调用 +- **懒加载**:下拉框首次打开时才加载数据 +- **内存管理**:组件销毁时清理事件监听器 + +### 错误处理 + +- **网络错误**:API请求失败时显示友好提示 +- **数据验证**:导出前验证必要参数 +- **用户反馈**:操作成功/失败都有明确提示 + +## 样式定制 + +组件使用 Tailwind CSS 进行样式设计,支持以下自定义: + +```css +/* 自定义弹窗样式 */ +.export-dialog { + /* 自定义样式 */ +} + +/* 自定义选择器样式 */ +.export-dialog .el-select { + /* 自定义样式 */ +} +``` + +## 注意事项 + +1. **API依赖**:组件依赖 `userApi` 和 `productApi`,确保这些API已正确配置 +2. **权限控制**:企业列表只加载已认证用户(`is_certified: true`) +3. **数据格式**:时间范围使用 `YYYY-MM-DD HH:mm:ss` 格式 +4. **文件下载**:导出文件会自动下载,文件名包含时间戳 + +## 更新日志 + +### v1.0.0 +- ✅ 初始版本发布 +- ✅ 支持企业、产品、时间范围筛选 +- ✅ 支持Excel和CSV格式导出 +- ✅ 异步搜索和批量加载 +- ✅ 完整的错误处理和用户反馈 diff --git a/src/components/common/ExportDialog.vue b/src/components/common/ExportDialog.vue new file mode 100644 index 0000000..cbbbca6 --- /dev/null +++ b/src/components/common/ExportDialog.vue @@ -0,0 +1,304 @@ + + + + + diff --git a/src/components/common/FileUpload.md b/src/components/common/FileUpload.md new file mode 100644 index 0000000..3221b21 --- /dev/null +++ b/src/components/common/FileUpload.md @@ -0,0 +1,138 @@ +# FileUpload 文件上传组件 + +一个通用的文件上传组件,支持拖拽上传、文件预览、删除等功能。 + +## 功能特性 + +- ✅ 拖拽上传 +- ✅ 文件类型验证 +- ✅ 文件大小限制 +- ✅ 图片预览 +- ✅ 文件删除 +- ✅ 自定义标题和描述 +- ✅ 响应式设计 +- ✅ v-model 支持 + +## 基本用法 + +```vue + + + +``` + +## 自定义配置 + +```vue + +``` + +## 支持的文件类型 + +### 图片文件 +```vue + +``` + +### 文档文件 +```vue + +``` + +### 所有文件类型 +```vue + +``` + +## Props + +| 参数 | 类型 | 默认值 | 说明 | +|------|------|--------|------| +| accept | String | 'image/jpeg,image/jpg,image/png' | 接受的文件类型 | +| maxSize | Number | 4 | 文件大小限制(MB) | +| title | String | '' | 上传区域标题 | +| description | String | '' | 上传区域描述 | +| disabled | Boolean | false | 是否禁用 | +| modelValue | File/null | null | 当前文件(v-model) | +| previewUrl | String | '' | 文件预览URL | + +## Events + +| 事件名 | 参数 | 说明 | +|--------|------|------| +| update:modelValue | file | 文件变化时触发 | +| change | file | 文件选择时触发 | +| remove | - | 文件删除时触发 | + +## 样式定制 + +组件使用 scoped 样式,如需自定义样式,可以通过以下方式: + +```vue + +``` + +## 注意事项 + +1. 组件会自动阻止自动上传,需要手动处理文件上传逻辑 +2. 图片文件会自动生成预览,其他文件类型显示文件图标 +3. 文件验证失败时会显示错误提示 +4. 组件支持响应式设计,在移动端会自动调整布局 \ No newline at end of file diff --git a/src/components/common/FileUpload.vue b/src/components/common/FileUpload.vue new file mode 100644 index 0000000..7ccf123 --- /dev/null +++ b/src/components/common/FileUpload.vue @@ -0,0 +1,371 @@ + + + + + diff --git a/src/components/common/FilterItem.vue b/src/components/common/FilterItem.vue new file mode 100644 index 0000000..097e919 --- /dev/null +++ b/src/components/common/FilterItem.vue @@ -0,0 +1,19 @@ + + + + + diff --git a/src/components/common/FilterSection.vue b/src/components/common/FilterSection.vue new file mode 100644 index 0000000..3a454f8 --- /dev/null +++ b/src/components/common/FilterSection.vue @@ -0,0 +1,24 @@ + + + + + diff --git a/src/components/common/FloatingCustomerService.vue b/src/components/common/FloatingCustomerService.vue new file mode 100644 index 0000000..ad841be --- /dev/null +++ b/src/components/common/FloatingCustomerService.vue @@ -0,0 +1,119 @@ + + + + + diff --git a/src/components/common/ListPageLayout.vue b/src/components/common/ListPageLayout.vue new file mode 100644 index 0000000..ce6f82a --- /dev/null +++ b/src/components/common/ListPageLayout.vue @@ -0,0 +1,55 @@ + + + + + diff --git a/src/components/common/MarkdownEditor.vue b/src/components/common/MarkdownEditor.vue new file mode 100644 index 0000000..90fa8c1 --- /dev/null +++ b/src/components/common/MarkdownEditor.vue @@ -0,0 +1,338 @@ + + + + + diff --git a/src/components/common/README.md b/src/components/common/README.md new file mode 100644 index 0000000..67583ef --- /dev/null +++ b/src/components/common/README.md @@ -0,0 +1,314 @@ +# 通用组件库 + +本项目包含了一系列可复用的通用组件,用于提高开发效率和保持界面一致性。 + +## 组件列表 + +### FileUpload 文件上传组件 + +一个功能完整的文件上传组件,支持拖拽上传、文件预览、删除等功能。 + +**特性:** +- ✅ 拖拽上传 +- ✅ 文件类型验证 +- ✅ 文件大小限制 +- ✅ 图片预览 +- ✅ 文件删除 +- ✅ 自定义标题和描述 +- ✅ 响应式设计 +- ✅ v-model 支持 + +**使用示例:** +```vue + + + +``` + +**详细文档:** [FileUpload.md](./FileUpload.md) + +## 组件开发规范 + +### 1. 文件命名 +- 组件文件使用 PascalCase 命名,如 `FileUpload.vue` +- 文档文件使用 PascalCase + .md 命名,如 `FileUpload.md` + +### 2. 组件结构 +```vue + + + + + +``` + +### 3. Props 规范 +- 使用 `defineProps` 定义 props +- 为每个 prop 添加类型和默认值 +- 添加详细的注释说明 + +### 4. Events 规范 +- 使用 `defineEmits` 定义事件 +- 事件名使用 camelCase +- 提供有意义的事件参数 + +### 5. 样式规范 +- 使用 scoped 样式 +- 遵循 BEM 命名规范 +- 支持响应式设计 +- 使用 CSS 变量便于主题定制 + +### 6. 文档规范 +- 每个组件都要有详细的使用文档 +- 包含基本用法、Props、Events 说明 +- 提供完整的代码示例 +- 说明组件的特性和注意事项 + +## 测试 + +每个通用组件都应该有对应的测试页面,用于验证组件的各种功能和边界情况。 + +**测试页面位置:** `src/pages/ComponentNameTest.vue` + +**测试内容:** +- 基本功能测试 +- 各种配置组合测试 +- 边界情况测试 +- 响应式设计测试 + +## 使用建议 + +1. **优先使用通用组件**:在开发新功能时,优先考虑使用现有的通用组件 +2. **保持一致性**:使用通用组件可以保持界面风格的一致性 +3. **及时反馈**:如果发现通用组件的问题或需要新功能,及时反馈给团队 +4. **文档更新**:当组件功能发生变化时,及时更新相关文档 + +## 贡献指南 + +1. **创建新组件**:在 `src/components/common/` 目录下创建新组件 +2. **编写文档**:为每个新组件编写详细的使用文档 +3. **创建测试页面**:在 `src/pages/` 目录下创建对应的测试页面 +4. **更新路由**:在 `src/router/index.js` 中添加测试页面的路由 +5. **更新本文档**:在组件列表中添加新组件的说明 + +# 企业认证功能使用说明 + +## 概述 + +本功能用于在需要企业认证的页面中显示认证提示,并阻止未认证用户调用相关API接口。认证提示现在通过主布局统一管理,无需在每个页面中单独添加组件。 + +## 实现方式 + +### 1. 主布局统一管理 (`src/layouts/MainLayout.vue`) + +认证提示现在在主布局中统一管理,根据当前页面路径自动显示相应的认证提示。 + +**核心逻辑:** +- 通过 `getCurrentPageCertificationConfig` 获取当前页面的认证配置 +- 根据用户认证状态和页面路径决定是否显示提示 +- 支持自定义标题和描述信息 + +### 2. 菜单配置 (`src/constants/menu.js`) + +在菜单配置中定义需要认证的页面和相应的提示信息。 + +**配置方式:** +```javascript +// 在菜单项中添加认证标记 +{ name: '余额充值', path: '/finance/wallet', icon: CreditCard, requiresCertification: true } + +// 在页面配置中定义提示信息 +'/finance/wallet': { + title: '钱包充值', + description: '为了享受完整的充值服务,请先完成企业入驻认证。认证成功后我们将赠送您一定的调用额度!' +} +``` + +### 3. 认证提示组件 (`src/components/common/CertificationNotice.vue`) + +可复用的认证提示组件,支持自定义标题和描述。 + +**组件属性:** +- `show`: 控制是否显示提示(Boolean) +- `title`: 自定义标题(String,可选) +- `description`: 自定义描述(String,可选) + +### 4. 认证组合函数 (`src/composables/useCertification.js`) + +提供认证相关的状态和方法,用于页面中的API调用保护。 + +**返回值:** +- `isCertified`: 用户是否已认证 +- `certificationLoading`: 认证状态检查是否加载中 +- `requiresCertification`: 当前页面是否需要认证 +- `callProtectedAPI`: 安全调用需要认证的API +- `canCallAPI`: 是否可以调用API + +## 使用方法 + +### 在页面中使用(简化版) + +现在页面中只需要关注API调用的保护,无需手动添加认证提示组件: + +1. **导入认证组合函数** +```vue + +``` + +2. **修改API调用** +```javascript +// 原来的API调用 +const response = await api.getData() + +// 修改为 +const response = await callProtectedAPI(api.getData) +if (response) { + // 处理成功响应 +} else { + // API调用被阻止,显示默认数据或提示 +} +``` + +### 添加新的需要认证的页面 + +1. **在菜单配置中添加认证标记** +```javascript +// 在 src/constants/menu.js 的 userMenuItems 中 +{ name: '新功能', path: '/new-feature', icon: NewIcon, requiresCertification: true } +``` + +2. **在认证路径列表中添加路径** +```javascript +// 在 requiresCertificationPaths 数组中 +export const requiresCertificationPaths = [ + // ... 现有路径 + '/new-feature' +] +``` + +3. **添加页面配置信息** +```javascript +// 在 getCurrentPageCertificationConfig 函数中添加 +'/new-feature': { + title: '新功能', + description: '为了使用新功能,请先完成企业入驻认证。认证成功后我们将赠送您一定的调用额度!' +} +``` + +### 需要认证的页面路径 + +以下页面路径需要企业认证: +- `/finance/wallet` - 钱包充值 +- `/finance/recharge-records` - 充值记录 +- `/finance/transactions` - 消费记录 +- `/apis/usage` - API调用记录 +- `/apis/whitelist` - 白名单管理 + +## 技术特点 + +### 1. 统一管理 +- 认证提示在主布局中统一管理,避免重复代码 +- 页面配置集中管理,易于维护和扩展 + +### 2. 用户体验优化 +- 未认证用户仍能看到页面内容,不会被完全阻止访问 +- 根据页面功能提供个性化的认证提示信息 +- 支持用户选择关闭提示 + +### 3. 安全性 +- API调用级别的保护,防止未认证用户调用敏感接口 +- 优雅的错误处理,避免暴露系统内部错误信息 + +### 4. 可维护性 +- 模块化设计,易于扩展和维护 +- 清晰的配置方式,便于添加新的需要认证的页面 +- 统一的认证逻辑,避免重复代码 + +## 配置说明 + +### 自定义认证状态检查 + +在 `useCertification.js` 中修改 `checkCertificationStatus` 方法: + +```javascript +const checkCertificationStatus = async () => { + try { + // 调用实际的API来检查用户认证状态 + const { data } = await userApi.getCertificationStatus() + isCertified.value = data.isCertified || false + } catch (error) { + console.error('Failed to check certification status:', error) + isCertified.value = false + } finally { + certificationLoading.value = false + } +} +``` + +### 自定义提示样式 + +可以通过修改 `CertificationNotice.vue` 组件来自定义提示的样式和内容。 + +## 注意事项 + +1. **API调用保护**:使用 `callProtectedAPI` 包装所有需要认证的API调用 +2. **错误处理**:在API调用失败时检查 `canCallAPI` 状态,避免显示不必要的错误信息 +3. **用户体验**:未认证用户仍能看到页面内容,但无法进行实际操作 +4. **性能优化**:认证状态检查只在需要认证的页面进行 + +## 示例页面 + +参考以下页面的实现: +- `src/pages/finance/Wallet.vue` - 钱包充值页面 +- `src/pages/api/Usage.vue` - API调用记录页面 +- `src/pages/api/WhiteList.vue` - 白名单管理页面 + +## 迁移指南 + +如果之前已经在页面中添加了 `CertificationNotice` 组件,可以按以下步骤迁移: + +1. 从页面模板中移除 `` 组件 +2. 从页面脚本中移除 `CertificationNotice` 的导入 +3. 移除 `shouldShowCertificationNotice` 的使用 +4. 保留 `callProtectedAPI` 和 `canCallAPI` 的使用 + +认证提示现在会自动在主布局中显示,无需手动管理。 \ No newline at end of file diff --git a/src/components/common/RichTextEditor.vue b/src/components/common/RichTextEditor.vue new file mode 100644 index 0000000..affd06b --- /dev/null +++ b/src/components/common/RichTextEditor.vue @@ -0,0 +1,86 @@ + + + + + diff --git a/src/components/common/VersionInfo.vue b/src/components/common/VersionInfo.vue new file mode 100644 index 0000000..151f9a1 --- /dev/null +++ b/src/components/common/VersionInfo.vue @@ -0,0 +1,86 @@ + + + + + diff --git a/src/components/common/withCertificationCheck.js b/src/components/common/withCertificationCheck.js new file mode 100644 index 0000000..044ca07 --- /dev/null +++ b/src/components/common/withCertificationCheck.js @@ -0,0 +1,91 @@ +import { isPageRequiresCertification } from '@/constants/menu' +import CertificationNotice from './CertificationNotice.vue' + +export default function withCertificationCheck(WrappedComponent) { + return { + name: `WithCertificationCheck(${WrappedComponent.name || 'Component'})`, + components: { + CertificationNotice, + WrappedComponent + }, + data() { + return { + isCertified: false, + loading: true + } + }, + computed: { + requiresCertification() { + return isPageRequiresCertification(this.$route.path) + }, + shouldShowNotice() { + return this.requiresCertification && !this.isCertified + } + }, + async created() { + await this.checkCertificationStatus() + }, + methods: { + async checkCertificationStatus() { + try { + // 这里应该调用实际的API来检查用户认证状态 + // 暂时使用模拟数据,实际项目中需要替换为真实的API调用 + const userStore = this.$store?.state?.user + this.isCertified = userStore?.isCertified || false + } catch (error) { + console.error('Failed to check certification status:', error) + this.isCertified = false + } finally { + this.loading = false + } + }, + + // 重写需要认证的API调用方法 + async callProtectedAPI(apiMethod, ...args) { + if (!this.isCertified && this.requiresCertification) { + console.warn('API call blocked: User not certified') + return null + } + + try { + return await apiMethod(...args) + } catch (error) { + if (error.response?.status === 403) { + console.warn('API call failed: Access denied - certification required') + return null + } + throw error + } + } + }, + + render(h) { + // 如果页面不需要认证,直接渲染原组件 + if (!this.requiresCertification) { + return h(WrappedComponent, { + props: this.$attrs, + on: this.$listeners, + scopedSlots: this.$scopedSlots + }) + } + + // 如果需要认证但用户未认证,显示提示和原组件 + return h('div', [ + h(CertificationNotice, { + props: { + show: this.shouldShowNotice + } + }), + h(WrappedComponent, { + props: { + ...this.$attrs, + isCertified: this.isCertified, + callProtectedAPI: this.callProtectedAPI + }, + on: this.$listeners, + scopedSlots: this.$scopedSlots + }) + ]) + } + } +} diff --git a/src/components/layout/AppBreadcrumb.vue b/src/components/layout/AppBreadcrumb.vue new file mode 100644 index 0000000..3fe1919 --- /dev/null +++ b/src/components/layout/AppBreadcrumb.vue @@ -0,0 +1,126 @@ + + + + + diff --git a/src/components/layout/AppHeader.vue b/src/components/layout/AppHeader.vue new file mode 100644 index 0000000..14b0a43 --- /dev/null +++ b/src/components/layout/AppHeader.vue @@ -0,0 +1,327 @@ + + + + + diff --git a/src/components/layout/AppSidebar.vue b/src/components/layout/AppSidebar.vue new file mode 100644 index 0000000..08bf42f --- /dev/null +++ b/src/components/layout/AppSidebar.vue @@ -0,0 +1,275 @@ + + + + + diff --git a/src/components/layout/NotificationPanel.vue b/src/components/layout/NotificationPanel.vue new file mode 100644 index 0000000..2488a1f --- /dev/null +++ b/src/components/layout/NotificationPanel.vue @@ -0,0 +1,308 @@ + + + + + diff --git a/src/components/product/ProductCard.vue b/src/components/product/ProductCard.vue new file mode 100644 index 0000000..7a6705c --- /dev/null +++ b/src/components/product/ProductCard.vue @@ -0,0 +1,446 @@ + + + + + diff --git a/src/components/statistics/ChartCard.vue b/src/components/statistics/ChartCard.vue new file mode 100644 index 0000000..12703dd --- /dev/null +++ b/src/components/statistics/ChartCard.vue @@ -0,0 +1,543 @@ + + + + + + diff --git a/src/components/statistics/StatCard.vue b/src/components/statistics/StatCard.vue new file mode 100644 index 0000000..3966315 --- /dev/null +++ b/src/components/statistics/StatCard.vue @@ -0,0 +1,408 @@ + + + + + + diff --git a/src/components/statistics/StatisticsDashboard.vue b/src/components/statistics/StatisticsDashboard.vue new file mode 100644 index 0000000..daeddea --- /dev/null +++ b/src/components/statistics/StatisticsDashboard.vue @@ -0,0 +1,382 @@ + + + + + diff --git a/src/composables/useCertification.js b/src/composables/useCertification.js new file mode 100644 index 0000000..d1efa6c --- /dev/null +++ b/src/composables/useCertification.js @@ -0,0 +1,77 @@ +import { isPageRequiresCertification } from '@/constants/menu' +import { useUserStore } from '@/stores/user' +import { computed, onMounted, ref } from 'vue' +import { useRoute } from 'vue-router' + +export function useCertification() { + const route = useRoute() + const userStore = useUserStore() + const certificationLoading = ref(true) + + const requiresCertification = computed(() => { + return isPageRequiresCertification(route.path) + }) + + // 改为 computed,自动响应 userStore.isCertified 的变化 + const isCertified = computed(() => { + return userStore.isCertified || false + }) + + const shouldShowCertificationNotice = computed(() => { + return requiresCertification.value && !isCertified.value && !certificationLoading.value + }) + + const checkCertificationStatus = async () => { + try { + // 这里应该调用实际的API来检查用户认证状态 + // 实际项目中需要替换为真实的API调用 + // 例如:const { data } = await userApi.getCertificationStatus() + + // 模拟API调用延迟 + await new Promise(resolve => setTimeout(resolve, 500)) + } catch (error) { + console.error('Failed to check certification status:', error) + } finally { + certificationLoading.value = false + } + } + + const callProtectedAPI = async (apiMethod, ...args) => { + if (!isCertified.value && requiresCertification.value) { + console.warn('API call blocked: User not certified') + return null + } + + try { + return await apiMethod(...args) + } catch (error) { + if (error.response?.status === 403) { + console.warn('API call failed: Access denied - certification required') + return null + } + throw error + } + } + + const canCallAPI = computed(() => { + return !requiresCertification.value || isCertified.value + }) + + onMounted(() => { + if (requiresCertification.value) { + checkCertificationStatus() + } else { + certificationLoading.value = false + } + }) + + return { + isCertified, + certificationLoading, + requiresCertification, + shouldShowCertificationNotice, + checkCertificationStatus, + callProtectedAPI, + canCallAPI + } +} diff --git a/src/constants/documentationDefaults.js b/src/constants/documentationDefaults.js new file mode 100644 index 0000000..f008b51 --- /dev/null +++ b/src/constants/documentationDefaults.js @@ -0,0 +1,127 @@ +// 产品文档默认内容 +export const DOCUMENTATION_DEFAULTS = { + // 基础说明默认内容 + basicInfo: `## 请求头 + +| 字段名 | 类型 | 必填 | 描述 | +|--------|------|------|------| +| Access-Id | string | 是 | 账号的 Access-Id | + +对于业务请求参数 +通过加密后得到 Base64 字符串,将其放入到请求体中,字段名为 \`data\`,以此方式进行传参。 +\`\`\`json +{ + "data": "xxxx(base64)" +} +\`\`\` + +对接响应得到的公共参数 +\`\`\`json +{ + "code": "int", + "message": "string", + "transaction_id": "string", // 流水号 + "data": "string" +} +\`\`\` +**data** 字段为加密的数据,需要解密后查看。 + +## 加密和解密机制 + +账户获得的密钥(**Access Key**)是一个 16 进制字符串,使用 AES-128 加密算法。 + +### 加密过程: + +- 加密模式:**AES-CBC 模式**。 +- 密钥长度:**128 位(16 字节)**。 +- 填充方式:**PKCS7 填充**。 +- **IV(初始化向量)**:IV 长度为 16 字节(128 位),每次加密时随机生成。 +- 加密后,将 **IV** 和密文拼接在一起进行传输。 +- 最后,将拼接了 IV 的密文通过 **Base64 编码**,方便在网络或文件中传输。 + +### 解密过程: + +- 解密时,首先从 Base64 解码后的数据中提取前 16 字节作为 **IV**。 +- 然后使用提取的 **IV**,通过 AES-CBC 模式解密剩余部分的密文。 +- 解密后去除 **PKCS7 填充**,即可得到原始明文。`, + + // 请求参数默认内容 + requestParams: `## 请求参数 + +\`\`\`json +{ + "mobile_no": "string", + "id_card": "string", + "name": "string" +} +\`\`\` + +| 字段名 | 类型 | 必填 | 描述 | +|--------|------|------|------| +| mobile_no | string | 是 | 手机号 | +| id_card | string | 是 | 身份证号 | +| name | string | 是 | 姓名 | + +通过加密后得到 Base64 字符串,将其放入到请求体中,字段名为 \`data\`。 + +\`\`\`json +{ + "data": "xxxx(base64)" +} +\`\`\``, + + // 返回字段说明默认内容 + responseFields: `## 返回字段说明 + +| 字段名 | 类型 | 说明 | +|--------|------|------| +| data.flag_telefraudpredictstd | string | 1(输出成功),0(未匹配上无输出),98(用户输入信息不足),99(系统异常) | +| data.tfps_level | string | 取值 0-6,取值越高,风险越大 |`, + + // 响应示例默认内容 + responseExample: `## 响应示例 + +### 成功响应 + +\`\`\`json +{ + "data": { + "swift_number": "999333_20181029143459_23453A4E0", + "code": "00", + "flag_telefraudpredictstd": "1", + "tfps_level": "1" + } +} +\`\`\``, + + // 错误代码默认内容 + errorCodes: `## 错误代码 + +| code | message | +|------|---------| +| 0 | 业务成功 | +| 1000 | 查询为空 | +| 1001 | 接口异常 | +| 1002 | 参数解密失败 | +| 1003 | 基础参数校验不正确 | +| 1004 | 未经授权的IP | +| 1005 | 缺少Access-Id | +| 1006 | 未经授权的AccessId | +| 1007 | 账户余额不足,无法请求 | +| 1008 | 未开通此产品 | +| 2001 | 业务失败 |` +} + +// 获取默认内容的辅助函数 +export const getDefaultContent = (type) => { + return DOCUMENTATION_DEFAULTS[type] || '' +} + +// 默认内容类型枚举 +export const DEFAULT_CONTENT_TYPES = { + BASIC_INFO: 'basicInfo', + REQUEST_PARAMS: 'requestParams', + RESPONSE_FIELDS: 'responseFields', + RESPONSE_EXAMPLE: 'responseExample', + ERROR_CODES: 'errorCodes' +} diff --git a/src/constants/icons.js b/src/constants/icons.js new file mode 100644 index 0000000..4cac49f --- /dev/null +++ b/src/constants/icons.js @@ -0,0 +1,80 @@ +// 图标映射配置 - Element Plus 到 Heroicons 的映射 +import { + ArrowRightOnRectangleIcon, + Bars3Icon, + BellIcon, + CalendarIcon, + CheckCircleIcon, + CheckIcon, + ChevronDownIcon, + ClockIcon, + Cog6ToothIcon, + DocumentCheckIcon, + ExclamationCircleIcon, + ExclamationTriangleIcon, + EyeIcon, + EyeSlashIcon, + FunnelIcon, + // 基础图标 + HomeIcon, + InformationCircleIcon, + LinkIcon, + MagnifyingGlassIcon, + MinusIcon, + PencilIcon, + // 其他常用图标 + PlusIcon, + ShieldCheckIcon, + TrashIcon, + UserCircleIcon, + UserIcon, + // 管理相关 + UsersIcon, + WalletIcon, + XMarkIcon +} from '@heroicons/vue/24/outline' + +// Element Plus 图标到 Heroicons 的映射 +export const iconMap = { + // 基础导航图标 + House: HomeIcon, + User: UserIcon, + Setting: Cog6ToothIcon, + Shield: ShieldCheckIcon, + Wallet: WalletIcon, + Link: LinkIcon, + Bell: BellIcon, + Menu: Bars3Icon, + ArrowDown: ChevronDownIcon, + Close: XMarkIcon, + Info: InformationCircleIcon, + UserFilled: UserCircleIcon, + Switch: ArrowRightOnRectangleIcon, + + // 管理相关图标 + UserFilled: UsersIcon, + DocumentCheck: DocumentCheckIcon, + + // 其他常用图标 + Plus: PlusIcon, + Minus: MinusIcon, + Edit: PencilIcon, + Delete: TrashIcon, + View: EyeIcon, + Hide: EyeSlashIcon, + Search: MagnifyingGlassIcon, + Filter: FunnelIcon, + Calendar: CalendarIcon, + Clock: ClockIcon, + Check: CheckIcon, + Warning: ExclamationTriangleIcon, + Error: ExclamationCircleIcon, + Success: CheckCircleIcon +} + +// 导出所有 Heroicons 图标供直接使用 +export { + ArrowRightOnRectangleIcon, Bars3Icon, BellIcon, CalendarIcon, CheckCircleIcon, CheckIcon, ChevronDownIcon, ClockIcon, Cog6ToothIcon, DocumentCheckIcon, ExclamationCircleIcon, ExclamationTriangleIcon, EyeIcon, + EyeSlashIcon, FunnelIcon, HomeIcon, InformationCircleIcon, LinkIcon, MagnifyingGlassIcon, MinusIcon, + PencilIcon, PlusIcon, ShieldCheckIcon, TrashIcon, UserCircleIcon, UserIcon, UsersIcon, WalletIcon, XMarkIcon +} diff --git a/src/constants/index.js b/src/constants/index.js new file mode 100644 index 0000000..21807a4 --- /dev/null +++ b/src/constants/index.js @@ -0,0 +1,225 @@ +// 应用常量 +export const APP_NAME = '天远数据控制台' +export const APP_VERSION = '1.0.0' + +// API相关常量 +export const API_BASE_URL = '/api/v1' +export const API_TIMEOUT = 10000 + +// 认证相关常量 +export const TOKEN_KEY = 'token' +export const REFRESH_TOKEN_KEY = 'refresh_token' + +// 用户角色 +export const USER_ROLES = { + USER: 'user', + ADMIN: 'admin', + SUPER_ADMIN: 'super_admin' +} + +// 认证状态 +export const CERTIFICATION_STATUS = { + PENDING: 'pending', + SUBMITTED: 'submitted', + REVIEWING: 'reviewing', + APPROVED: 'approved', + REJECTED: 'rejected' +} + +// 认证状态中文映射 +export const CERTIFICATION_STATUS_TEXT = { + [CERTIFICATION_STATUS.PENDING]: '待提交', + [CERTIFICATION_STATUS.SUBMITTED]: '已提交', + [CERTIFICATION_STATUS.REVIEWING]: '审核中', + [CERTIFICATION_STATUS.APPROVED]: '已通过', + [CERTIFICATION_STATUS.REJECTED]: '已拒绝' +} + +// 交易类型 +export const TRANSACTION_TYPES = { + RECHARGE: 'recharge', + WITHDRAW: 'withdraw', + CONSUME: 'consume', + REFUND: 'refund' +} + +// 交易状态 +export const TRANSACTION_STATUS = { + PENDING: 'pending', + PROCESSING: 'processing', + SUCCESS: 'success', + FAILED: 'failed', + CANCELLED: 'cancelled' +} + +// 交易状态中文映射 +export const TRANSACTION_STATUS_TEXT = { + [TRANSACTION_STATUS.PENDING]: '待处理', + [TRANSACTION_STATUS.PROCESSING]: '处理中', + [TRANSACTION_STATUS.SUCCESS]: '成功', + [TRANSACTION_STATUS.FAILED]: '失败', + [TRANSACTION_STATUS.CANCELLED]: '已取消' +} + +// 验证码场景 +export const SMS_SCENES = { + REGISTER: 'register', + LOGIN: 'login', + CHANGE_PASSWORD: 'change_password', + RESET_PASSWORD: 'reset_password', + BIND: 'bind', + UNBIND: 'unbind' +} + +// 验证码场景中文映射 +export const SMS_SCENES_TEXT = { + [SMS_SCENES.REGISTER]: '注册', + [SMS_SCENES.LOGIN]: '登录', + [SMS_SCENES.CHANGE_PASSWORD]: '修改密码', + [SMS_SCENES.RESET_PASSWORD]: '重置密码', + [SMS_SCENES.BIND]: '绑定', + [SMS_SCENES.UNBIND]: '解绑' +} + +// 文件上传相关 +export const UPLOAD_CONFIG = { + MAX_SIZE: 10 * 1024 * 1024, // 10MB + ALLOWED_TYPES: ['image/jpeg', 'image/png', 'image/gif', 'application/pdf'], + ALLOWED_EXTENSIONS: ['.jpg', '.jpeg', '.png', '.gif', '.pdf'] +} + +// 分页配置 +export const PAGINATION_CONFIG = { + DEFAULT_PAGE_SIZE: 10, + PAGE_SIZE_OPTIONS: [10, 20, 50, 100] +} + +// 主题配置 +export const THEME_CONFIG = { + LIGHT: 'light', + DARK: 'dark' +} + +// 语言配置 +export const LANGUAGE_CONFIG = { + ZH_CN: 'zh-CN', + EN_US: 'en-US' +} + +// 路由配置 +export const ROUTE_CONFIG = { + AUTH: { + LOGIN: '/auth/login', + REGISTER: '/auth/register', + RESET_PASSWORD: '/auth/reset' + }, + DASHBOARD: '/products', + CERTIFICATION: '/certification', + FINANCE: '/finance', + API: '/api', + PROFILE: '/profile', + ADMIN: '/admin' +} + +// 权限配置 +export const PERMISSIONS = { + // 用户权限 + USER_READ: 'user:read', + USER_WRITE: 'user:write', + USER_DELETE: 'user:delete', + + // 认证权限 + CERTIFICATION_READ: 'certification:read', + CERTIFICATION_WRITE: 'certification:write', + CERTIFICATION_REVIEW: 'certification:review', + + // 财务权限 + FINANCE_READ: 'finance:read', + FINANCE_WRITE: 'finance:write', + FINANCE_APPROVE: 'finance:approve', + + // API权限 + API_READ: 'api:read', + API_WRITE: 'api:write', + API_DELETE: 'api:delete', + + // 系统权限 + SYSTEM_READ: 'system:read', + SYSTEM_WRITE: 'system:write', + SYSTEM_ADMIN: 'system:admin' +} + +// 错误码配置 +export const ERROR_CODES = { + // 通用错误 + UNKNOWN_ERROR: 'UNKNOWN_ERROR', + NETWORK_ERROR: 'NETWORK_ERROR', + TIMEOUT_ERROR: 'TIMEOUT_ERROR', + + // 认证错误 + UNAUTHORIZED: 'UNAUTHORIZED', + FORBIDDEN: 'FORBIDDEN', + TOKEN_EXPIRED: 'TOKEN_EXPIRED', + INVALID_CREDENTIALS: 'INVALID_CREDENTIALS', + + // 业务错误 + VALIDATION_ERROR: 'VALIDATION_ERROR', + RESOURCE_NOT_FOUND: 'RESOURCE_NOT_FOUND', + RESOURCE_ALREADY_EXISTS: 'RESOURCE_ALREADY_EXISTS', + OPERATION_FAILED: 'OPERATION_FAILED', + + // 用户相关错误 + USER_NOT_FOUND: 'USER_NOT_FOUND', + USER_ALREADY_EXISTS: 'USER_ALREADY_EXISTS', + INVALID_PHONE: 'INVALID_PHONE', + INVALID_CODE: 'INVALID_CODE', + CODE_EXPIRED: 'CODE_EXPIRED', + + // 认证相关错误 + CERTIFICATION_NOT_FOUND: 'CERTIFICATION_NOT_FOUND', + CERTIFICATION_ALREADY_EXISTS: 'CERTIFICATION_ALREADY_EXISTS', + CERTIFICATION_IN_PROGRESS: 'CERTIFICATION_IN_PROGRESS', + + // 财务相关错误 + INSUFFICIENT_BALANCE: 'INSUFFICIENT_BALANCE', + TRANSACTION_FAILED: 'TRANSACTION_FAILED', + WALLET_NOT_FOUND: 'WALLET_NOT_FOUND' +} + +// 本地存储键名 +export const STORAGE_KEYS = { + TOKEN: 'token', + USER_INFO: 'user_info', + THEME: 'theme', + LANGUAGE: 'language', + SIDEBAR_COLLAPSED: 'sidebar_collapsed', + NOTIFICATIONS: 'notifications' +} + +// 正则表达式 +export const REGEX = { + PHONE: /^1[3-9]\d{9}$/, + EMAIL: /^[^\s@]+@[^\s@]+\.[^\s@]+$/, + ID_CARD: /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/, + PASSWORD: /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[a-zA-Z\d@$!%*?&]{8,}$/, + VERIFY_CODE: /^\d{6}$/ +} + +// 时间格式 +export const DATE_FORMATS = { + DATE: 'YYYY-MM-DD', + DATETIME: 'YYYY-MM-DD HH:mm:ss', + TIME: 'HH:mm:ss', + MONTH: 'YYYY-MM', + YEAR: 'YYYY' +} + +// 响应式断点 +export const BREAKPOINTS = { + XS: 480, + SM: 768, + MD: 1024, + LG: 1280, + XL: 1440, + XXL: 1920 +} diff --git a/src/constants/menu.js b/src/constants/menu.js new file mode 100644 index 0000000..2c7d663 --- /dev/null +++ b/src/constants/menu.js @@ -0,0 +1,179 @@ +import { + ChartBarIcon as ChartBar, + ChartPieIcon as ChartPie, + ClipboardDocumentListIcon as Clipboard, + CreditCardIcon as CreditCard, + CubeIcon as Cube, + DocumentTextIcon as DocumentText, + PresentationChartLineIcon as PresentationChartLine, + Cog6ToothIcon as Setting, + ShieldCheckIcon as ShieldCheck, + ShoppingCartIcon as ShoppingCart, + TagIcon as Tag, + UserIcon as User, + UserGroupIcon as Users, + WalletIcon as Wallet +} from '@heroicons/vue/24/outline' + +// 用户菜单配置(分组结构) +export const userMenuItems = [ + { + group: '数据中心', + icon: ChartBar, + children: [ + { name: '仪表盘', path: '/dashboard', icon: PresentationChartLine }, + { name: '数据大厅', path: '/products', icon: Cube }, + { name: '我的订阅', path: '/subscriptions', icon: ShoppingCart } + ] + }, + { + group: '账户中心', + icon: User, + children: [ + { name: '账户中心', path: '/profile', icon: User }, + { name: '企业入驻', path: '/profile/certification', icon: ShieldCheck } + ] + }, + { + group: '财务管理', + icon: Wallet, + children: [ + { name: '余额充值', path: '/finance/wallet', icon: CreditCard, requiresCertification: true }, + { name: '充值记录', path: '/finance/recharge-records', icon: CreditCard, requiresCertification: true }, + { name: '消费记录', path: '/finance/transactions', icon: Clipboard, requiresCertification: true }, + { name: '发票申请', path: '/finance/invoice', icon: Wallet, requiresCertification: true } + ] + }, + { + group: '开发者中心', + icon: Setting, + children: [ + // { name: 'API管理', path: '/api/management', icon: Key }, + { name: '在线调试', path: '/apis/debugger', icon: Clipboard, requiresCertification: true }, + { name: '调用记录', path: '/apis/usage', icon: Clipboard, requiresCertification: true }, + { name: '白名单管理', path: '/apis/whitelist', icon: ShieldCheck, requiresCertification: true } + ] + } +] + +// 管理员菜单配置 +export const adminMenuItems = [ + { + name: '产品管理', + path: '/admin/products', + icon: Cube + }, + { + name: '分类管理', + path: '/admin/categories', + icon: Tag + }, + { + name: '订阅管理', + path: '/admin/subscriptions', + icon: ShoppingCart + }, + { + name: '用户管理', + path: '/admin/users', + icon: Users + }, + { + name: '文章管理', + path: '/admin/articles', + icon: DocumentText + }, + { + name: '系统统计', + path: '/admin/statistics', + icon: ChartPie + } +] + +// 新增:根据用户类型动态生成菜单 +export const getMenuItems = (userType = 'user') => { + if (userType === 'admin') { + return adminMenuItems + } + return userMenuItems +} + +// 新增:获取用户可访问的菜单项(包含管理员菜单) +export const getUserAccessibleMenuItems = (userType = 'user') => { + const baseMenuItems = [...userMenuItems] + + // 如果是管理员,添加管理员菜单组 + if (userType === 'admin') { + baseMenuItems.push({ + group: '管理后台', + icon: Setting, + children: [ + { name: '系统统计', path: '/admin/statistics', icon: ChartBar }, + { name: '产品管理', path: '/admin/products', icon: Cube }, + { name: '用户管理', path: '/admin/users', icon: Users }, + { name: '分类管理', path: '/admin/categories', icon: Tag }, + { name: '订阅管理', path: '/admin/subscriptions', icon: ShoppingCart }, + { name: '文章管理', path: '/admin/articles', icon: DocumentText }, + { name: '调用记录', path: '/admin/usage', icon: Clipboard }, + { name: '消费记录', path: '/admin/transactions', icon: Clipboard }, + { name: '充值记录', path: '/admin/recharge-records', icon: CreditCard }, + { name: '发票管理', path: '/admin/invoices', icon: Wallet } + ] + }) + } + + return baseMenuItems +} + +// 需要企业认证的页面路径列表 +export const requiresCertificationPaths = [ + '/finance/wallet', + '/finance/recharge-records', + '/finance/transactions', + '/apis/usage', + '/apis/whitelist' +] + +// 检查页面是否需要企业认证 +export const isPageRequiresCertification = (path) => { + return requiresCertificationPaths.includes(path) +} + +// 获取当前页面的认证配置 +export const getCurrentPageCertificationConfig = (path) => { + // 检查是否在需要认证的路径列表中 + const requiresCert = isPageRequiresCertification(path) + + if (!requiresCert) { + return null + } + + // 根据路径获取页面信息 + const pageConfig = { + '/finance/wallet': { + title: '钱包充值', + description: '为了享受完整的充值服务,请先完成企业入驻认证。认证成功后我们将赠送您一定的调用额度!' + }, + '/finance/recharge-records': { + title: '充值记录', + description: '为了查看完整的充值记录,请先完成企业入驻认证。认证成功后我们将赠送您一定的调用额度!' + }, + '/finance/transactions': { + title: '消费记录', + description: '为了查看完整的消费记录,请先完成企业入驻认证。认证成功后我们将赠送您一定的调用额度!' + }, + '/apis/usage': { + title: 'API调用记录', + description: '为了查看完整的API调用记录,请先完成企业入驻认证。认证成功后我们将赠送您一定的调用额度!' + }, + '/apis/whitelist': { + title: '白名单管理', + description: '为了管理API访问白名单,请先完成企业入驻认证。认证成功后我们将赠送您一定的调用额度!' + } + } + + return { + requiresCertification: true, + ...pageConfig[path] + } +} diff --git a/src/layouts/AuthLayout.vue b/src/layouts/AuthLayout.vue new file mode 100644 index 0000000..3d4f114 --- /dev/null +++ b/src/layouts/AuthLayout.vue @@ -0,0 +1,62 @@ + + + + + diff --git a/src/layouts/MainLayout.vue b/src/layouts/MainLayout.vue new file mode 100644 index 0000000..927803c --- /dev/null +++ b/src/layouts/MainLayout.vue @@ -0,0 +1,219 @@ + + + + + diff --git a/src/main.js b/src/main.js new file mode 100644 index 0000000..f07549b --- /dev/null +++ b/src/main.js @@ -0,0 +1,53 @@ +import './assets/main.css' + +import ElementPlus from 'element-plus' +import 'element-plus/dist/index.css' +import zhCn from 'element-plus/dist/locale/zh-cn.mjs' +import { createPinia } from 'pinia' +import { createApp } from 'vue' + +import App from './App.vue' +import router from './router' + +// 导入全局样式 +import './assets/styles/index.css' + +// 导入渲染性能优化工具 +import { initRenderOptimizations } from './utils/performance.js' + +const app = createApp(App) + +// 初始化渲染性能优化 +initRenderOptimizations() + +// 全局错误捕获 +app.config.errorHandler = (err, vm, info) => { + console.error('Vue错误:', err) + console.error('错误信息:', info) + console.error('组件:', vm) + console.error('错误堆栈:', err.stack) +} + +// 全局未捕获异常处理 +window.addEventListener('error', (event) => { + console.error('全局错误:', event.error) + console.error('错误消息:', event.message) + console.error('错误文件:', event.filename) + console.error('错误行号:', event.lineno) + console.error('错误列号:', event.colno) + console.error('错误堆栈:', event.error?.stack) +}) + +// Promise未捕获异常处理 +window.addEventListener('unhandledrejection', (event) => { + console.error('Promise错误:', event.reason) + console.error('Promise堆栈:', event.reason?.stack) +}) + +app.use(createPinia()) +app.use(router) +app.use(ElementPlus, { + locale: zhCn, +}) + +app.mount('#app') diff --git a/src/mixins/certificationMixin.js b/src/mixins/certificationMixin.js new file mode 100644 index 0000000..d8a366e --- /dev/null +++ b/src/mixins/certificationMixin.js @@ -0,0 +1,73 @@ +import CertificationNotice from '@/components/common/CertificationNotice.vue' +import { isPageRequiresCertification } from '@/constants/menu' + +export default { + components: { + CertificationNotice + }, + + data() { + return { + isCertified: false, + certificationLoading: true + } + }, + + computed: { + requiresCertification() { + return isPageRequiresCertification(this.$route.path) + }, + + shouldShowCertificationNotice() { + return this.requiresCertification && !this.isCertified && !this.certificationLoading + } + }, + + async created() { + if (this.requiresCertification) { + await this.checkCertificationStatus() + } + }, + + methods: { + async checkCertificationStatus() { + try { + // 这里应该调用实际的API来检查用户认证状态 + // 实际项目中需要替换为真实的API调用 + const userStore = this.$store?.state?.user + this.isCertified = userStore?.isCertified || false + + // 模拟API调用延迟 + await new Promise(resolve => setTimeout(resolve, 500)) + } catch (error) { + console.error('Failed to check certification status:', error) + this.isCertified = false + } finally { + this.certificationLoading = false + } + }, + + // 安全调用需要认证的API + async callProtectedAPI(apiMethod, ...args) { + if (!this.isCertified && this.requiresCertification) { + console.warn('API call blocked: User not certified') + return null + } + + try { + return await apiMethod(...args) + } catch (error) { + if (error.response?.status === 403) { + console.warn('API call failed: Access denied - certification required') + return null + } + throw error + } + }, + + // 检查是否可以进行API调用 + canCallAPI() { + return !this.requiresCertification || this.isCertified + } + } +} diff --git a/src/pages/FileUploadTest.vue b/src/pages/FileUploadTest.vue new file mode 100644 index 0000000..403931e --- /dev/null +++ b/src/pages/FileUploadTest.vue @@ -0,0 +1,250 @@ + + + + + diff --git a/src/pages/StatisticsTest.vue b/src/pages/StatisticsTest.vue new file mode 100644 index 0000000..fdb5113 --- /dev/null +++ b/src/pages/StatisticsTest.vue @@ -0,0 +1,341 @@ + + + + + diff --git a/src/pages/admin/api-calls/index.vue b/src/pages/admin/api-calls/index.vue new file mode 100644 index 0000000..1b68729 --- /dev/null +++ b/src/pages/admin/api-calls/index.vue @@ -0,0 +1,919 @@ + + + + + diff --git a/src/pages/admin/articles/categories.vue b/src/pages/admin/articles/categories.vue new file mode 100644 index 0000000..11c260c --- /dev/null +++ b/src/pages/admin/articles/categories.vue @@ -0,0 +1,175 @@ + + + diff --git a/src/pages/admin/articles/components/ArticleDetailDialog.vue b/src/pages/admin/articles/components/ArticleDetailDialog.vue new file mode 100644 index 0000000..1f48bee --- /dev/null +++ b/src/pages/admin/articles/components/ArticleDetailDialog.vue @@ -0,0 +1,224 @@ + + + + + diff --git a/src/pages/admin/articles/components/ArticleEditDialog.vue b/src/pages/admin/articles/components/ArticleEditDialog.vue new file mode 100644 index 0000000..a9593ac --- /dev/null +++ b/src/pages/admin/articles/components/ArticleEditDialog.vue @@ -0,0 +1,339 @@ + + + diff --git a/src/pages/admin/articles/components/ArticleStats.vue b/src/pages/admin/articles/components/ArticleStats.vue new file mode 100644 index 0000000..2bc31bc --- /dev/null +++ b/src/pages/admin/articles/components/ArticleStats.vue @@ -0,0 +1,84 @@ + + + diff --git a/src/pages/admin/articles/components/CategoryEditDialog.vue b/src/pages/admin/articles/components/CategoryEditDialog.vue new file mode 100644 index 0000000..5d25061 --- /dev/null +++ b/src/pages/admin/articles/components/CategoryEditDialog.vue @@ -0,0 +1,160 @@ + + + diff --git a/src/pages/admin/articles/components/SchedulePublishDialog.vue b/src/pages/admin/articles/components/SchedulePublishDialog.vue new file mode 100644 index 0000000..6f6eb21 --- /dev/null +++ b/src/pages/admin/articles/components/SchedulePublishDialog.vue @@ -0,0 +1,206 @@ + + + diff --git a/src/pages/admin/articles/components/TagEditDialog.vue b/src/pages/admin/articles/components/TagEditDialog.vue new file mode 100644 index 0000000..6024e41 --- /dev/null +++ b/src/pages/admin/articles/components/TagEditDialog.vue @@ -0,0 +1,178 @@ + + + diff --git a/src/pages/admin/articles/index.vue b/src/pages/admin/articles/index.vue new file mode 100644 index 0000000..63f0bbd --- /dev/null +++ b/src/pages/admin/articles/index.vue @@ -0,0 +1,654 @@ + + + diff --git a/src/pages/admin/articles/tags.vue b/src/pages/admin/articles/tags.vue new file mode 100644 index 0000000..1d11fa9 --- /dev/null +++ b/src/pages/admin/articles/tags.vue @@ -0,0 +1,187 @@ + + + diff --git a/src/pages/admin/categories/index.vue b/src/pages/admin/categories/index.vue new file mode 100644 index 0000000..f051583 --- /dev/null +++ b/src/pages/admin/categories/index.vue @@ -0,0 +1,307 @@ + + + + + + diff --git a/src/pages/admin/consumption/index.vue b/src/pages/admin/consumption/index.vue new file mode 100644 index 0000000..82a7816 --- /dev/null +++ b/src/pages/admin/consumption/index.vue @@ -0,0 +1,524 @@ + + + + + diff --git a/src/pages/admin/invoices/index.vue b/src/pages/admin/invoices/index.vue new file mode 100644 index 0000000..55aed31 --- /dev/null +++ b/src/pages/admin/invoices/index.vue @@ -0,0 +1,944 @@ + + + + + diff --git a/src/pages/admin/products/index.vue b/src/pages/admin/products/index.vue new file mode 100644 index 0000000..0809c50 --- /dev/null +++ b/src/pages/admin/products/index.vue @@ -0,0 +1,472 @@ + + + + + diff --git a/src/pages/admin/recharge-records/index.vue b/src/pages/admin/recharge-records/index.vue new file mode 100644 index 0000000..32c1409 --- /dev/null +++ b/src/pages/admin/recharge-records/index.vue @@ -0,0 +1,732 @@ + + + + + diff --git a/src/pages/admin/statistics/AdminStatisticsPage.vue b/src/pages/admin/statistics/AdminStatisticsPage.vue new file mode 100644 index 0000000..bcc5754 --- /dev/null +++ b/src/pages/admin/statistics/AdminStatisticsPage.vue @@ -0,0 +1,551 @@ + + + + + diff --git a/src/pages/admin/statistics/DashboardManagement.vue b/src/pages/admin/statistics/DashboardManagement.vue new file mode 100644 index 0000000..fd5e946 --- /dev/null +++ b/src/pages/admin/statistics/DashboardManagement.vue @@ -0,0 +1,591 @@ + + + + + diff --git a/src/pages/admin/statistics/MetricsManagement.vue b/src/pages/admin/statistics/MetricsManagement.vue new file mode 100644 index 0000000..92ca72e --- /dev/null +++ b/src/pages/admin/statistics/MetricsManagement.vue @@ -0,0 +1,558 @@ + + + + + diff --git a/src/pages/admin/statistics/ReportsManagement.vue b/src/pages/admin/statistics/ReportsManagement.vue new file mode 100644 index 0000000..a0ece44 --- /dev/null +++ b/src/pages/admin/statistics/ReportsManagement.vue @@ -0,0 +1,660 @@ + + + + + diff --git a/src/pages/admin/statistics/StatisticsSettings.vue b/src/pages/admin/statistics/StatisticsSettings.vue new file mode 100644 index 0000000..e0ede6f --- /dev/null +++ b/src/pages/admin/statistics/StatisticsSettings.vue @@ -0,0 +1,413 @@ + + + + + diff --git a/src/pages/admin/statistics/SystemStatisticsPage.vue b/src/pages/admin/statistics/SystemStatisticsPage.vue new file mode 100644 index 0000000..860bfcb --- /dev/null +++ b/src/pages/admin/statistics/SystemStatisticsPage.vue @@ -0,0 +1,1325 @@ + + + + + diff --git a/src/pages/admin/subscriptions/index.vue b/src/pages/admin/subscriptions/index.vue new file mode 100644 index 0000000..88c3e77 --- /dev/null +++ b/src/pages/admin/subscriptions/index.vue @@ -0,0 +1,1141 @@ + + + + + diff --git a/src/pages/admin/transactions/index.vue b/src/pages/admin/transactions/index.vue new file mode 100644 index 0000000..4b05731 --- /dev/null +++ b/src/pages/admin/transactions/index.vue @@ -0,0 +1,754 @@ + + + + + diff --git a/src/pages/admin/usage/index.vue b/src/pages/admin/usage/index.vue new file mode 100644 index 0000000..4ae8b81 --- /dev/null +++ b/src/pages/admin/usage/index.vue @@ -0,0 +1,746 @@ + + + + + diff --git a/src/pages/admin/users/index.vue b/src/pages/admin/users/index.vue new file mode 100644 index 0000000..38e6c39 --- /dev/null +++ b/src/pages/admin/users/index.vue @@ -0,0 +1,1083 @@ + + + + + diff --git a/src/pages/api/ApiDebugger.vue b/src/pages/api/ApiDebugger.vue new file mode 100644 index 0000000..4027fdc --- /dev/null +++ b/src/pages/api/ApiDebugger.vue @@ -0,0 +1,1312 @@ + + + + + diff --git a/src/pages/api/ApiManagement.vue b/src/pages/api/ApiManagement.vue new file mode 100644 index 0000000..3ad7cd4 --- /dev/null +++ b/src/pages/api/ApiManagement.vue @@ -0,0 +1,10 @@ + + + \ No newline at end of file diff --git a/src/pages/api/Usage.vue b/src/pages/api/Usage.vue new file mode 100644 index 0000000..3fc0e81 --- /dev/null +++ b/src/pages/api/Usage.vue @@ -0,0 +1,687 @@ + + + + + diff --git a/src/pages/api/WhiteList.vue b/src/pages/api/WhiteList.vue new file mode 100644 index 0000000..f6df6c0 --- /dev/null +++ b/src/pages/api/WhiteList.vue @@ -0,0 +1,437 @@ + + + + + diff --git a/src/pages/auth/AuthIntegrationTest.vue b/src/pages/auth/AuthIntegrationTest.vue new file mode 100644 index 0000000..062d471 --- /dev/null +++ b/src/pages/auth/AuthIntegrationTest.vue @@ -0,0 +1,193 @@ + + + diff --git a/src/pages/auth/Login.vue b/src/pages/auth/Login.vue new file mode 100644 index 0000000..0540527 --- /dev/null +++ b/src/pages/auth/Login.vue @@ -0,0 +1,285 @@ + + + + + diff --git a/src/pages/auth/Register.vue b/src/pages/auth/Register.vue new file mode 100644 index 0000000..c923eb8 --- /dev/null +++ b/src/pages/auth/Register.vue @@ -0,0 +1,272 @@ + + + + + diff --git a/src/pages/auth/ResetPassword.vue b/src/pages/auth/ResetPassword.vue new file mode 100644 index 0000000..546f3f4 --- /dev/null +++ b/src/pages/auth/ResetPassword.vue @@ -0,0 +1,254 @@ + + + + + diff --git a/src/pages/auth/ResponseTest.vue b/src/pages/auth/ResponseTest.vue new file mode 100644 index 0000000..1a2b432 --- /dev/null +++ b/src/pages/auth/ResponseTest.vue @@ -0,0 +1,173 @@ + + + diff --git a/src/pages/auth/TestStore.vue b/src/pages/auth/TestStore.vue new file mode 100644 index 0000000..92a184f --- /dev/null +++ b/src/pages/auth/TestStore.vue @@ -0,0 +1,162 @@ + + + diff --git a/src/pages/certification/IframeCallback.vue b/src/pages/certification/IframeCallback.vue new file mode 100644 index 0000000..d91a2f6 --- /dev/null +++ b/src/pages/certification/IframeCallback.vue @@ -0,0 +1,91 @@ + + + + + diff --git a/src/pages/certification/README.md b/src/pages/certification/README.md new file mode 100644 index 0000000..e288aed --- /dev/null +++ b/src/pages/certification/README.md @@ -0,0 +1,333 @@ +# 企业入驻流程 + +## 📋 概述 + +企业入驻流程是一个基于Vue 3 + Element Plus + Tailwind CSS构建的步骤式认证系统,用于引导用户完成企业信息填写、认证验证、合同签署等入驻流程。 + +## 🏗️ 架构设计 + +### 目录结构 +``` +certification/ +├── index.vue # 主页面容器 +├── components/ # 子组件目录 +│ ├── EnterpriseInfo.vue # 企业信息填写 +│ ├── EnterpriseVerify.vue # 企业认证验证 +│ ├── ContractSign.vue # 合同签署 +│ └── CertificationComplete.vue # 完成页面 +└── README.md # 本文档 +``` + +### 技术栈 +- **前端框架**: Vue 3 (Composition API) +- **UI组件库**: Element Plus +- **样式框架**: Tailwind CSS v4 +- **图标库**: Heroicons +- **状态管理**: Pinia (用户状态) +- **路由**: Vue Router + +## 🔄 流程步骤 + +### 1. 填写企业信息 (`enterprise_info`) +**组件**: `EnterpriseInfo.vue` + +**功能特性**: +- 企业基本信息收集 +- 法人信息验证 +- 手机号验证码验证 +- 实时表单验证 + +**表单字段**: +- 企业名称 (2-100字符) +- 统一社会信用代码 (18位) +- 法人姓名 (2-20字符) +- 法人身份证号 (18位) +- 法人手机号 (11位) +- 验证码 (6位数字) + +**验证规则**: +```javascript +// 统一社会信用代码验证 +const pattern = /^[0-9A-HJ-NPQRTUWXY]{18}$/ + +// 身份证号验证 +const pattern = /^[1-9]\d{5}(18|19|20)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/ + +// 手机号验证 +const pattern = /^1[3-9]\d{9}$/ +``` + +### 2. 企业认证 (`enterprise_verify`) +**组件**: `EnterpriseVerify.vue` + +**功能特性**: +- 集成e签宝企业认证服务 +- iframe嵌入认证页面 +- 认证状态监控 +- 加载状态管理 + +**集成服务**: +- 认证URL: `https://smlt.esign.cn/Z1Dc9Ts` +- 支持iframe加载 +- 认证完成回调处理 + +### 3. 签署合同 (`contract_sign`) +**组件**: `ContractSign.vue` + +**功能特性**: +- 集成电子合同签署服务 +- iframe嵌入签署页面 +- 签署状态监控 +- 完成确认机制 + +**集成服务**: +- 签署URL: `https://smlt.esign.cn/95wqyN2` +- 支持iframe加载 +- 签署完成回调处理 + +### 4. 完成入驻 (`completed`) +**组件**: `CertificationComplete.vue` + +**功能特性**: +- 入驻成功展示 +- 企业信息汇总 +- 后续操作引导 +- 状态标签显示 + +**操作入口**: +- 前往控制台 +- 返回账户中心 + +## 🎨 UI/UX 设计 + +### 视觉设计原则 +- **现代化**: 毛玻璃效果、渐变背景、圆角设计 +- **一致性**: 统一的色彩系统和间距规范 +- **可访问性**: 清晰的视觉层次和状态反馈 + +### 响应式设计 +```css +/* 桌面端 */ +@media (min-width: 1200px) { + .iframe-container { height: 700px; } +} + +/* 移动端 */ +@media (max-width: 768px) { + .iframe-container { height: 400px; } + .form-section { padding: 20px; } +} +``` + +### 状态指示 +- **未开始**: 灰色图标,等待状态 +- **进行中**: 蓝色图标,脉冲动画 +- **已完成**: 绿色图标,完成状态 + +## 🔧 技术实现 + +### 状态管理 +```javascript +// 主要状态 +const currentStep = ref('enterprise_info') +const certificationData = ref(null) +const enterpriseForm = ref({ + companyName: '', + unifiedSocialCode: '', + legalPersonName: '', + legalPersonID: '', + legalPersonPhone: '', + legalPersonCode: '' +}) +``` + +### 组件通信 +```javascript +// 事件定义 +const emit = defineEmits(['submit', 'apply', 'check-status', 'go-dashboard', 'go-profile']) + +// 数据传递 +const props = defineProps({ + formData: Object, + enterpriseData: Object, + companyName: String, + certificationData: Object +}) +``` + +### 表单验证 +```javascript +// 自定义验证器 +const validateUnifiedSocialCode = (rule, value, callback) => { + const pattern = /^[0-9A-HJ-NPQRTUWXY]{18}$/ + if (!pattern.test(value)) { + callback(new Error('统一社会信用代码格式不正确')) + return + } + callback() +} +``` + +## 🚀 开发特性 + +### 开发模式 +```javascript +// 开发模式控制器 +const isDevelopment = ref(false) +const devCurrentStep = ref('enterprise_info') + +// 步骤切换功能 +const switchToStep = (stepKey) => { + currentStep.value = stepKey +} + +const resetToFirstStep = () => { + currentStep.value = 'enterprise_info' +} +``` + +### 错误处理 +- 表单验证错误提示 +- API调用异常处理 +- 网络错误友好提示 +- 加载状态管理 + +### 性能优化 +- 组件懒加载 +- 表单数据缓存 +- 防抖处理 +- 内存清理 + +## 📱 移动端适配 + +### 布局调整 +- 垂直布局适配 +- 按钮全宽显示 +- 步骤图标缩小 +- 间距优化 + +### 交互优化 +- 触摸友好的按钮尺寸 +- 简化的表单布局 +- 优化的iframe高度 +- 响应式步骤条 + +## 🔌 第三方集成 + +### e签宝服务 +- **企业认证**: 统一身份认证 +- **合同签署**: 电子合同服务 +- **iframe集成**: 无缝嵌入体验 + +### 短信服务 +- **验证码发送**: 手机号验证 +- **倒计时功能**: 防止重复发送 +- **错误处理**: 发送失败重试 + +## 📊 状态流转 + +### 认证状态映射 +```javascript +const setCurrentStepByStatus = () => { + switch (certificationData.value.status) { + case 'not_started': + case 'pending': + currentStep.value = 'enterprise_info' + break + case 'info_submitted': + currentStep.value = 'enterprise_verify' + break + case 'enterprise_verified': + case 'contract_applied': + case 'contract_pending': + case 'contract_approved': + currentStep.value = 'contract_sign' + break + case 'contract_signed': + case 'completed': + currentStep.value = 'completed' + break + default: + currentStep.value = 'enterprise_info' + } +} +``` + +## 🧪 测试指南 + +### 开发模式测试 +1. 启用开发模式控制器 +2. 使用步骤选择器切换不同步骤 +3. 测试表单验证和提交 +4. 验证响应式布局 + +### 功能测试 +1. 表单验证测试 +2. 验证码发送测试 +3. iframe加载测试 +4. 状态切换测试 + +### 兼容性测试 +1. 不同浏览器测试 +2. 移动端适配测试 +3. 网络异常测试 +4. 性能压力测试 + +## 📝 使用说明 + +### 基本使用 +```vue + +``` + +### 配置步骤 +```javascript +const certificationSteps = [ + { + key: 'enterprise_info', + title: '填写企业信息', + description: '填写企业基本信息和法人信息', + icon: BuildingOfficeIcon + }, + // ... 其他步骤 +] +``` + +## 🔮 未来规划 + +### 功能增强 +- [ ] 支持多语言国际化 +- [ ] 增加进度保存功能 +- [ ] 支持离线填写 +- [ ] 增加数据导出功能 + +### 技术优化 +- [ ] 引入TypeScript支持 +- [ ] 增加单元测试覆盖 +- [ ] 优化包体积 +- [ ] 增加PWA支持 + +### 用户体验 +- [ ] 增加引导提示 +- [ ] 优化加载动画 +- [ ] 增加操作确认 +- [ ] 支持快捷键操作 + +## 📞 技术支持 + +如有问题或建议,请联系开发团队或提交Issue。 + +--- + +*最后更新: 2024年* \ No newline at end of file diff --git a/src/pages/certification/components/CertificationComplete.vue b/src/pages/certification/components/CertificationComplete.vue new file mode 100644 index 0000000..ac61f68 --- /dev/null +++ b/src/pages/certification/components/CertificationComplete.vue @@ -0,0 +1,538 @@ + + + + + diff --git a/src/pages/certification/components/ContractExpired.vue b/src/pages/certification/components/ContractExpired.vue new file mode 100644 index 0000000..374b082 --- /dev/null +++ b/src/pages/certification/components/ContractExpired.vue @@ -0,0 +1,303 @@ + + + + + diff --git a/src/pages/certification/components/ContractPreview.vue b/src/pages/certification/components/ContractPreview.vue new file mode 100644 index 0000000..ad6ec8b --- /dev/null +++ b/src/pages/certification/components/ContractPreview.vue @@ -0,0 +1,280 @@ + + + + + diff --git a/src/pages/certification/components/ContractRejected.vue b/src/pages/certification/components/ContractRejected.vue new file mode 100644 index 0000000..785acdf --- /dev/null +++ b/src/pages/certification/components/ContractRejected.vue @@ -0,0 +1,223 @@ + + + + + diff --git a/src/pages/certification/components/ContractSign.vue b/src/pages/certification/components/ContractSign.vue new file mode 100644 index 0000000..1dcc6a7 --- /dev/null +++ b/src/pages/certification/components/ContractSign.vue @@ -0,0 +1,259 @@ + + + + + diff --git a/src/pages/certification/components/EnterpriseInfo.vue b/src/pages/certification/components/EnterpriseInfo.vue new file mode 100644 index 0000000..a66537c --- /dev/null +++ b/src/pages/certification/components/EnterpriseInfo.vue @@ -0,0 +1,725 @@ + + + + + diff --git a/src/pages/certification/components/EnterpriseVerify.vue b/src/pages/certification/components/EnterpriseVerify.vue new file mode 100644 index 0000000..4d706f3 --- /dev/null +++ b/src/pages/certification/components/EnterpriseVerify.vue @@ -0,0 +1,296 @@ + + + + + diff --git a/src/pages/certification/index.vue b/src/pages/certification/index.vue new file mode 100644 index 0000000..64f2c7f --- /dev/null +++ b/src/pages/certification/index.vue @@ -0,0 +1,730 @@ + + + + + diff --git a/src/pages/error/NotFound.vue b/src/pages/error/NotFound.vue new file mode 100644 index 0000000..51ffb69 --- /dev/null +++ b/src/pages/error/NotFound.vue @@ -0,0 +1,25 @@ + + + + + \ No newline at end of file diff --git a/src/pages/finance/Finance.vue b/src/pages/finance/Finance.vue new file mode 100644 index 0000000..7ac5f92 --- /dev/null +++ b/src/pages/finance/Finance.vue @@ -0,0 +1,10 @@ + + + diff --git a/src/pages/finance/Invoice.vue b/src/pages/finance/Invoice.vue new file mode 100644 index 0000000..ae6d55a --- /dev/null +++ b/src/pages/finance/Invoice.vue @@ -0,0 +1,1576 @@ + + + + + diff --git a/src/pages/finance/Transactions.vue b/src/pages/finance/Transactions.vue new file mode 100644 index 0000000..d7c3040 --- /dev/null +++ b/src/pages/finance/Transactions.vue @@ -0,0 +1,492 @@ + + + + + diff --git a/src/pages/finance/Wallet.vue b/src/pages/finance/Wallet.vue new file mode 100644 index 0000000..0116251 --- /dev/null +++ b/src/pages/finance/Wallet.vue @@ -0,0 +1,1164 @@ + + + + + diff --git a/src/pages/finance/WalletFail.vue b/src/pages/finance/WalletFail.vue new file mode 100644 index 0000000..94cbc1b --- /dev/null +++ b/src/pages/finance/WalletFail.vue @@ -0,0 +1,274 @@ + + + + + diff --git a/src/pages/finance/WalletProcessing.vue b/src/pages/finance/WalletProcessing.vue new file mode 100644 index 0000000..1e255f2 --- /dev/null +++ b/src/pages/finance/WalletProcessing.vue @@ -0,0 +1,415 @@ + + + diff --git a/src/pages/finance/WalletSuccess.vue b/src/pages/finance/WalletSuccess.vue new file mode 100644 index 0000000..007a086 --- /dev/null +++ b/src/pages/finance/WalletSuccess.vue @@ -0,0 +1,203 @@ + + + + + diff --git a/src/pages/finance/recharge-records/index.vue b/src/pages/finance/recharge-records/index.vue new file mode 100644 index 0000000..b6c8599 --- /dev/null +++ b/src/pages/finance/recharge-records/index.vue @@ -0,0 +1,357 @@ + + + + + diff --git a/src/pages/products/detail.vue b/src/pages/products/detail.vue new file mode 100644 index 0000000..8fed9c9 --- /dev/null +++ b/src/pages/products/detail.vue @@ -0,0 +1,1336 @@ + + + + + diff --git a/src/pages/products/index.vue b/src/pages/products/index.vue new file mode 100644 index 0000000..bc6ad50 --- /dev/null +++ b/src/pages/products/index.vue @@ -0,0 +1,207 @@ + + + + + diff --git a/src/pages/profile/Profile.vue b/src/pages/profile/Profile.vue new file mode 100644 index 0000000..83b127f --- /dev/null +++ b/src/pages/profile/Profile.vue @@ -0,0 +1,1130 @@ + + + + + diff --git a/src/pages/profile/Settings.vue b/src/pages/profile/Settings.vue new file mode 100644 index 0000000..894eb2c --- /dev/null +++ b/src/pages/profile/Settings.vue @@ -0,0 +1,10 @@ + + + diff --git a/src/pages/subscriptions/index.vue b/src/pages/subscriptions/index.vue new file mode 100644 index 0000000..6aae666 --- /dev/null +++ b/src/pages/subscriptions/index.vue @@ -0,0 +1,552 @@ + + + + + diff --git a/src/router/index.js b/src/router/index.js new file mode 100644 index 0000000..5d9f7fb --- /dev/null +++ b/src/router/index.js @@ -0,0 +1,355 @@ +import { useUserStore } from '@/stores/user' +import { createRouter, createWebHistory } from 'vue-router' +import { statisticsRoutes } from './modules/statistics' + +// 路由配置 +const routes = [ + { + path: '/', + redirect: '/dashboard' + }, + { + path: '/auth', + component: () => import('@/layouts/AuthLayout.vue'), + meta: { requiresAuth: false }, + children: [ + { + path: 'login', + name: 'Login', + component: () => import('@/pages/auth/Login.vue'), + meta: { title: '登录' } + }, + { + path: 'register', + name: 'Register', + component: () => import('@/pages/auth/Register.vue'), + meta: { title: '注册' } + }, + { + path: 'reset', + name: 'ResetPassword', + component: () => import('@/pages/auth/ResetPassword.vue'), + meta: { title: '重置密码' } + }, + { + path: 'test', + name: 'TestStore', + component: () => import('@/pages/auth/TestStore.vue'), + meta: { title: 'Store测试' } + }, + { + path: 'response-test', + name: 'ResponseTest', + component: () => import('@/pages/auth/ResponseTest.vue'), + meta: { title: '响应格式测试' } + }, + { + path: 'integration-test', + name: 'AuthIntegrationTest', + component: () => import('@/pages/auth/AuthIntegrationTest.vue'), + meta: { title: '认证集成测试' } + } + ] + }, + { + path: '/products', + component: () => import('@/layouts/MainLayout.vue'), + meta: { requiresAuth: true }, + children: [ + { + path: '', + name: 'Products', + component: () => import('@/pages/products/index.vue'), + meta: { title: '数据大厅' } + }, + { + path: ':id', + name: 'ProductDetail', + component: () => import('@/pages/products/detail.vue'), + meta: { title: '产品详情' } + } + ] + }, + { + path: '/subscriptions', + component: () => import('@/layouts/MainLayout.vue'), + meta: { requiresAuth: true }, + children: [ + { + path: '', + name: 'Subscriptions', + component: () => import('@/pages/subscriptions/index.vue'), + meta: { title: '我的订阅' } + } + ] + }, + + { + path: '/finance', + component: () => import('@/layouts/MainLayout.vue'), + meta: { requiresAuth: true }, + children: [ + { + path: '', + name: 'Finance', + component: () => import('@/pages/finance/Finance.vue'), + meta: { title: '财务管理' } + }, + { + path: 'invoice', + name: 'Invoice', + component: () => import('@/pages/finance/Invoice.vue'), + meta: { title: '发票申请' } + }, + { + path: 'wallet', + name: 'Wallet', + component: () => import('@/pages/finance/Wallet.vue'), + meta: { title: '余额充值' } + }, + { + path: 'wallet/success', + name: 'WalletSuccess', + component: () => import('@/pages/finance/WalletSuccess.vue'), + meta: { title: '充值成功' } + }, + { + path: 'wallet/fail', + name: 'WalletFail', + component: () => import('@/pages/finance/WalletFail.vue'), + meta: { title: '充值失败' } + }, + { + path: 'wallet/processing', + name: 'WalletProcessing', + component: () => import('@/pages/finance/WalletProcessing.vue'), + meta: { title: '支付处理中' } + }, + { + path: 'transactions', + name: 'Transactions', + component: () => import('@/pages/finance/Transactions.vue'), + meta: { title: '消费记录' } + }, + { + path: 'recharge-records', + name: 'FinanceRechargeRecords', + component: () => import('@/pages/finance/recharge-records/index.vue'), + meta: { title: '充值记录' } + } + ] + }, + { + path: '/apis', + component: () => import('@/layouts/MainLayout.vue'), + meta: { requiresAuth: true }, + children: [ + { + path: '', + redirect: '/api/management' + }, + { + path: 'management', + name: 'ApiManagement', + component: () => import('@/pages/api/ApiManagement.vue'), + meta: { title: 'API管理', icon: 'api' } + }, + { + path: 'debugger', + name: 'ApiDebugger', + component: () => import('@/pages/api/ApiDebugger.vue'), + meta: { title: '在线调试', icon: 'bug' } + }, + { + path: 'usage', + name: 'ApiUsage', + component: () => import('@/pages/api/Usage.vue'), + meta: { title: '调用记录', icon: 'list' } + }, + { + path: 'whitelist', + name: 'ApiWhitelist', + component: () => import('@/pages/api/WhiteList.vue'), + meta: { title: '白名单管理', icon: 'shield' } + } + ] + }, + { + path: '/profile', + component: () => import('@/layouts/MainLayout.vue'), + meta: { requiresAuth: true }, + children: [ + { + path: '', + name: 'Profile', + component: () => import('@/pages/profile/Profile.vue'), + meta: { title: '账户中心' } + }, + { + path: 'settings', + name: 'Settings', + component: () => import('@/pages/profile/Settings.vue'), + meta: { title: '我的订阅' } + }, + { + path: 'certification', + name: 'Certification', + component: () => import('@/pages/certification/index.vue'), + meta: { title: '企业入驻' }, + } + ] + }, + { + path: '/file-upload-test', + component: () => import('@/layouts/MainLayout.vue'), + meta: { requiresAuth: false }, + children: [ + { + path: '', + name: 'FileUploadTest', + component: () => import('@/pages/FileUploadTest.vue'), + meta: { title: '文件上传组件测试' } + } + ] + }, + { + path: '/admin', + component: () => import('@/layouts/MainLayout.vue'), + meta: { requiresAuth: true, requiresAdmin: true }, + children: [ + { + path: '', + redirect: '/admin/products' + }, + { + path: 'products', + name: 'AdminProducts', + component: () => import('@/pages/admin/products/index.vue'), + meta: { title: '产品管理' } + }, + { + path: 'categories', + name: 'AdminCategories', + component: () => import('@/pages/admin/categories/index.vue'), + meta: { title: '分类管理' } + }, + { + path: 'subscriptions', + name: 'AdminSubscriptions', + component: () => import('@/pages/admin/subscriptions/index.vue'), + meta: { title: '订阅管理' } + }, + { + path: 'usage', + name: 'AdminUsage', + component: () => import('@/pages/admin/usage/index.vue'), + meta: { title: 'API调用记录管理' } + }, + { + path: 'transactions', + name: 'AdminTransactions', + component: () => import('@/pages/admin/transactions/index.vue'), + meta: { title: '消费记录管理' } + }, + { + path: 'recharge-records', + name: 'AdminRechargeRecords', + component: () => import('@/pages/admin/recharge-records/index.vue'), + meta: { title: '充值记录管理' } + }, + { + path: 'users', + name: 'AdminUsers', + component: () => import('@/pages/admin/users/index.vue'), + meta: { title: '用户管理' } + }, + { + path: 'invoices', + name: 'AdminInvoices', + component: () => import('@/pages/admin/invoices/index.vue'), + meta: { title: '发票管理' } + }, + { + path: 'articles', + name: 'AdminArticles', + component: () => import('@/pages/admin/articles/index.vue'), + meta: { title: '文章管理' } + }, + { + path: 'statistics', + name: 'AdminStatistics', + component: () => import('@/pages/admin/statistics/SystemStatisticsPage.vue'), + meta: { title: '系统统计' } + } + ] + }, + // 统计路由 + ...statisticsRoutes, + { + path: '/certification/callback/:scene', + component: () => import('@/pages/certification/IframeCallback.vue'), + meta: { requiresAuth: false }, + }, + { + path: '/:pathMatch(.*)*', + name: 'NotFound', + component: () => import('@/pages/error/NotFound.vue'), + meta: { title: '页面不存在' } + } +] + +// 创建路由实例 +const router = createRouter({ + history: createWebHistory(), + routes, + scrollBehavior(to, from, savedPosition) { + if (savedPosition) { + return savedPosition + } else { + return { top: 0 } + } + } +}) + +// 路由守卫 +router.beforeEach(async (to, from, next) => { + const userStore = useUserStore() + + // 等待userStore初始化完成 + if (!userStore.initialized) { + await userStore.init() + } + + // 设置页面标题 + if (to.meta.title) { + document.title = `${to.meta.title} - 天远数据控制台` + } + + // 检查是否需要认证 + if (to.meta.requiresAuth && !userStore.isLoggedIn) { + next('/auth/login') + return + } + + // 检查管理员权限 + if (to.meta.requiresAdmin && !userStore.isAdmin) { + next('/products') + return + } + + // 已登录用户访问认证页面,重定向到数据大厅 + if (to.path.startsWith('/auth') && userStore.isLoggedIn) { + next('/products') + return + } + + next() +}) + +// 路由后置守卫 +router.afterEach(() => { + // 可以在这里添加路由切换后的逻辑 + // 比如埋点统计、页面访问记录等 +}) + +export default router diff --git a/src/router/modules/statistics.js b/src/router/modules/statistics.js new file mode 100644 index 0000000..62d4f04 --- /dev/null +++ b/src/router/modules/statistics.js @@ -0,0 +1,39 @@ +// 统计模块路由配置 - 简化版 +export const statisticsRoutes = [ + { + path: '/dashboard', + component: () => import('@/layouts/MainLayout.vue'), + meta: { requiresAuth: true }, + children: [ + { + path: '', + name: 'Dashboard', + component: () => import('@/views/statistics/UserStatisticsPage.vue'), + meta: { + title: '仪表盘', + icon: 'el-icon-data-board', + requiresAuth: true, + roles: ['user', 'admin', 'manager', 'analyst'] + } + } + ] + }, + { + path: '/statistics', + component: () => import('@/layouts/MainLayout.vue'), + meta: { requiresAuth: true }, + children: [ + { + path: '', + name: 'UserStatistics', + component: () => import('@/views/statistics/UserStatisticsPage.vue'), + meta: { + title: '我的统计', + icon: 'el-icon-data-board', + requiresAuth: true, + roles: ['user', 'admin', 'manager', 'analyst'] + } + } + ] + } +] diff --git a/src/stores/app.js b/src/stores/app.js new file mode 100644 index 0000000..7f4a068 --- /dev/null +++ b/src/stores/app.js @@ -0,0 +1,163 @@ + + +export const useAppStore = defineStore('app', () => { + // 应用状态 + const sidebarCollapsed = ref(false) + const mobileSidebarOpen = ref(false) + const theme = ref('light') + const language = ref('zh-CN') + const loading = ref(false) + const notifications = ref([]) + const isMobile = ref(false) + + // 计算属性:根据设备类型判断侧边栏状态 + const sidebarVisible = computed(() => { + if (isMobile.value) { + return mobileSidebarOpen.value + } + return !sidebarCollapsed.value + }) + + // 切换侧边栏 + const toggleSidebar = () => { + if (isMobile.value) { + mobileSidebarOpen.value = !mobileSidebarOpen.value + } else { + sidebarCollapsed.value = !sidebarCollapsed.value + localStorage.setItem('sidebarCollapsed', JSON.stringify(sidebarCollapsed.value)) + } + } + + // 设置侧边栏状态 + const setSidebarCollapsed = (collapsed) => { + if (isMobile.value) { + mobileSidebarOpen.value = !collapsed + } else { + sidebarCollapsed.value = collapsed + localStorage.setItem('sidebarCollapsed', JSON.stringify(collapsed)) + } + } + + // 关闭移动端侧边栏 + const closeMobileSidebar = () => { + if (isMobile.value) { + mobileSidebarOpen.value = false + } + } + + // 设置移动端状态 + const setMobileState = (mobile) => { + isMobile.value = mobile + if (mobile) { + mobileSidebarOpen.value = false + } + } + + // 切换主题 + const toggleTheme = () => { + theme.value = theme.value === 'light' ? 'dark' : 'light' + localStorage.setItem('theme', theme.value) + } + + // 设置主题 + const setTheme = (newTheme) => { + theme.value = newTheme + localStorage.setItem('theme', newTheme) + } + + // 设置语言 + const setLanguage = (lang) => { + language.value = lang + localStorage.setItem('language', lang) + } + + // 设置加载状态 + const setLoading = (status) => { + loading.value = status + } + + // 添加通知 + const addNotification = (notification) => { + const id = Date.now().toString() + notifications.value.push({ + id, + ...notification, + timestamp: new Date() + }) + + // 自动移除通知(5秒后) + setTimeout(() => { + removeNotification(id) + }, 5000) + } + + // 移除通知 + const removeNotification = (id) => { + const index = notifications.value.findIndex(n => n.id === id) + if (index > -1) { + notifications.value.splice(index, 1) + } + } + + // 清空所有通知 + const clearNotifications = () => { + notifications.value = [] + } + + // 初始化应用配置 + const initAppConfig = () => { + // 从localStorage恢复配置 + const savedTheme = localStorage.getItem('theme') + const savedLanguage = localStorage.getItem('language') + const savedSidebarCollapsed = localStorage.getItem('sidebarCollapsed') + + if (savedTheme) theme.value = savedTheme + if (savedLanguage) language.value = savedLanguage + if (savedSidebarCollapsed) sidebarCollapsed.value = JSON.parse(savedSidebarCollapsed) + + // 检测移动端 + const checkMobile = () => { + const mobile = window.innerWidth <= 768 + setMobileState(mobile) + } + + // 初始检测 + checkMobile() + + // 监听窗口大小变化 + window.addEventListener('resize', checkMobile) + + // 返回清理函数 + return () => { + window.removeEventListener('resize', checkMobile) + } + } + + return { + // 状态 + sidebarCollapsed, + mobileSidebarOpen, + theme, + language, + loading, + notifications, + isMobile, + + // 计算属性 + sidebarVisible, + + // 方法 + toggleSidebar, + setSidebarCollapsed, + closeMobileSidebar, + setMobileState, + toggleTheme, + setTheme, + setLanguage, + setLoading, + addNotification, + removeNotification, + clearNotifications, + initAppConfig + } +}) diff --git a/src/stores/counter.js b/src/stores/counter.js new file mode 100644 index 0000000..2b35bec --- /dev/null +++ b/src/stores/counter.js @@ -0,0 +1,11 @@ + + +export const useCounterStore = defineStore('counter', () => { + const count = ref(0) + const doubleCount = computed(() => count.value * 2) + function increment() { + count.value++ + } + + return { count, doubleCount, increment } +}) diff --git a/src/stores/user.js b/src/stores/user.js new file mode 100644 index 0000000..67e8c90 --- /dev/null +++ b/src/stores/user.js @@ -0,0 +1,501 @@ +/** + * 用户状态管理 Store + * + * 后端响应格式说明: + * 所有API响应都被包装在标准格式中: + * { + * "success": true, + * "data": { ... }, // 真正的数据在这里 + * "message": "操作成功", + * "requestId": "", + * "timestamp": 1752469413 + * } + * + * 使用示例: + * + * // 在组件中使用 + * import { useUserStore } from '@/stores/user' + * + * const userStore = useUserStore() + * + * // 登录 + * const loginData = { + * method: 'sms', // 或 'password' + * phone: '13800138000', + * code: '123456', // 短信登录时需要 + * password: 'password123' // 密码登录时需要 + * } + * const result = await userStore.login(loginData) + * if (result.success) { + * console.log('登录成功') + * // result.data 包含: { user, access_token, token_type, expires_in, login_method } + * } + * + * // 注册 + * const registerData = { + * phone: '13800138000', + * password: 'password123', + * confirmPassword: 'password123', + * code: '123456' + * } + * const result = await userStore.register(registerData) + * if (result.success) { + * // result.data 包含注册成功的数据 + * } + * + * // 发送验证码 + * const result = await userStore.sendCode('13800138000', 'register') + * if (result.success) { + * // result.data 包含验证码发送结果 + * } + * + * // 重置密码 + * const resetData = { + * phone: '13800138000', + * newPassword: 'newpassword123', + * confirmNewPassword: 'newpassword123', + * code: '123456' + * } + * const result = await userStore.resetPassword(resetData) + * if (result.success) { + * // result.data 包含重置密码结果 + * } + * + * // 获取用户信息 + * const result = await userStore.fetchUserProfile() + * if (result.success) { + * // result.data 包含用户信息: { id, phone, created_at, updated_at } + * } + * + * // 修改密码 + * const passwordData = { + * oldPassword: 'oldpassword123', + * newPassword: 'newpassword123', + * confirmNewPassword: 'newpassword123', + * code: '123456' + * } + * const result = await userStore.changePassword(passwordData) + * if (result.success) { + * // result.data 包含修改密码结果 + * } + * + * // 登出 + * userStore.logout() + * + * // 检查登录状态 + * const isAuth = await userStore.checkAuth() + * + * // 响应式状态 + * console.log(userStore.isLoggedIn) // 是否已登录 + * console.log(userStore.userInfo) // 用户信息: { id, phone, created_at, updated_at } + * console.log(userStore.loading) // 加载状态 + */ + +import { userApi } from '@/api' +import router from '@/router' +import { authEventBus } from '@/utils/request' +import { clearLocalVersions, saveLocalVersions, VERSION_CONFIG, versionChecker } from '@/utils/version' +import { ElMessage } from 'element-plus' + +export const useUserStore = defineStore('user', () => { + // 状态 + const user = ref(null) + const accessToken = ref(localStorage.getItem('access_token') || '') + const tokenType = ref(localStorage.getItem('token_type') || 'Bearer') + const isAuthenticated = ref(false) + const loading = ref(false) + // 新增:初始化标志 + const initialized = ref(false) + + // 版本管理 + const tokenVersion = ref(localStorage.getItem('token_version') || VERSION_CONFIG.TOKEN_VERSION) + const appVersion = ref(localStorage.getItem('app_version') || VERSION_CONFIG.APP_VERSION) + + // 计算属性 + const isLoggedIn = computed(() => { + return isAuthenticated.value && !!accessToken.value + }) + + const userInfo = computed(() => user.value) + + // 新增:用户类型相关计算属性 + const isAdmin = computed(() => { + return user.value?.user_type === 'admin' + }) + + const userType = computed(() => { + return user.value?.user_type || 'user' + }) + + // 新增:用户认证状态计算属性 + const isCertified = computed(() => { + return user.value?.is_certified || false + }) + + // 检查用户信息是否完整 + const isUserInfoComplete = computed(() => { + return user.value && + user.value.id && + user.value.phone && + user.value.user_type !== undefined + }) + + // 强制刷新用户信息 + const refreshUserProfile = async () => { + if (!accessToken.value) { + return { success: false, error: '未登录' } + } + + loading.value = true + try { + const result = await fetchUserProfile() + return result + } catch (error) { + return { success: false, error } + } finally { + loading.value = false + } + } + + const hasRole = (role) => { + return userType.value === role + } + + // 监听认证错误事件 + const handleAuthError = (message) => { + console.log('用户store收到认证错误事件:', message) + logout() + } + + // 处理版本退出登录事件 + const handleVersionLogout = (event) => { + console.log('收到版本退出登录事件:', event.detail) + logout() + ElMessage.error('系统已更新,请重新登录') + router.push('/auth/login') + } + + // 处理版本刷新事件 + const handleVersionRefresh = (event) => { + console.log('收到版本刷新事件:', event.detail) + saveLocalVersions({ appVersion: VERSION_CONFIG.APP_VERSION }) + ElMessage.success('应用已更新,正在刷新页面...') + setTimeout(() => { + window.location.reload() + }, 1500) + } + + // 版本检查 + const checkVersions = () => { + const currentTokenVersion = localStorage.getItem('token_version') || VERSION_CONFIG.TOKEN_VERSION + const currentAppVersion = localStorage.getItem('app_version') || VERSION_CONFIG.APP_VERSION + + // 检查token版本 + if (currentTokenVersion !== VERSION_CONFIG.TOKEN_VERSION) { + console.warn('Token版本不匹配,需要重新登录', { + current: currentTokenVersion, + expected: VERSION_CONFIG.TOKEN_VERSION + }) + + // 清除所有认证相关数据 + logout() + + // 显示提示信息 + ElMessage.error('系统已更新,请重新登录') + + // 跳转到登录页面 + router.push('/auth/login') + return false + } + + // 检查应用版本 + if (currentAppVersion !== VERSION_CONFIG.APP_VERSION) { + console.log('应用版本已更新,刷新页面', { + current: currentAppVersion, + expected: VERSION_CONFIG.APP_VERSION + }) + + // 更新本地存储的应用版本 + saveLocalVersions({ appVersion: VERSION_CONFIG.APP_VERSION }) + + // 显示提示信息 + ElMessage.success('应用已更新,正在刷新页面...') + + // 延迟刷新页面 + setTimeout(() => { + window.location.reload() + }, 1500) + + return false + } + + return true + } + + // 登录 + const login = async (loginData) => { + loading.value = true + try { + let response + if (loginData.method === 'sms') { + response = await userApi.loginWithSMS({ + phone: loginData.phone, + code: loginData.code + }) + } else { + response = await userApi.loginWithPassword({ + phone: loginData.phone, + password: loginData.password + }) + } + + // 后端返回格式: { success: true, data: { user, access_token, token_type, ... }, message, ... } + // 真正的数据在 response.data 中 + const responseData = response.data + + // 保存token和用户信息 + accessToken.value = responseData.access_token + tokenType.value = responseData.token_type + user.value = responseData.user + isAuthenticated.value = true + + // 保存到localStorage + localStorage.setItem('access_token', responseData.access_token) + localStorage.setItem('token_type', responseData.token_type) + saveLocalVersions({ tokenVersion: VERSION_CONFIG.TOKEN_VERSION }) + + // 登录成功后,主动获取最新的用户信息以确保数据完整 + try { + const profileResult = await fetchUserProfile() + if (profileResult.success) { + console.log('登录后用户信息更新成功') + // 如果获取到更完整的用户信息,更新用户数据 + if (profileResult.data) { + user.value = { ...user.value, ...profileResult.data } + } + } + } catch (profileError) { + console.warn('登录后获取用户信息失败:', profileError) + // 即使获取用户信息失败,也不影响登录流程 + } + + return { success: true, data: responseData } + } catch (error) { + console.error('登录失败:', error) + return { success: false, error } + } finally { + loading.value = false + } + } + + // 注册 + const register = async (registerData) => { + loading.value = true + try { + const response = await userApi.register({ + phone: registerData.phone, + password: registerData.password, + confirm_password: registerData.confirmPassword, + code: registerData.code + }) + + // 后端返回格式: { success: true, data: {...}, message, ... } + return { success: true, data: response.data } + } catch (error) { + return { success: false, error } + } finally { + loading.value = false + } + } + + // 重置密码 + const resetPassword = async (resetData) => { + loading.value = true + try { + const response = await userApi.resetPassword({ + phone: resetData.phone, + new_password: resetData.newPassword, + confirm_new_password: resetData.confirmNewPassword, + code: resetData.code + }) + + // 后端返回格式: { success: true, data: {...}, message, ... } + return { success: true, data: response.data } + } catch (error) { + return { success: false, error } + } finally { + loading.value = false + } + } + + // 发送验证码 + const sendCode = async (phone, scene) => { + try { + const response = await userApi.sendCode({ + phone, + scene + }) + + // 后端返回格式: { success: true, data: {...}, message, ... } + return { success: true, data: response.data } + } catch (error) { + return { success: false, error } + } + } + + // 获取用户信息 + const fetchUserProfile = async () => { + loading.value = true + try { + const response = await userApi.getProfile() + // 后端返回格式: { success: true, data: {...}, message, ... } + const userData = response.data + user.value = userData + isAuthenticated.value = true + + // 记录认证状态变化 + if (userData.is_certified !== undefined) { + console.log('用户认证状态:', userData.is_certified ? '已认证' : '未认证') + } + + return { success: true, data: userData } + } catch (error) { + return { success: false, error } + } finally { + loading.value = false + } + } + + // 修改密码 + const changePassword = async (passwordData) => { + loading.value = true + try { + const response = await userApi.changePassword({ + old_password: passwordData.oldPassword, + new_password: passwordData.newPassword, + confirm_new_password: passwordData.confirmNewPassword, + code: passwordData.code + }) + + // 后端返回格式: { success: true, data: {...}, message, ... } + return { success: true, data: response.data } + } catch (error) { + return { success: false, error } + } finally { + loading.value = false + } + } + + // 登出 + const logout = () => { + // 清除状态 + user.value = null + accessToken.value = '' + tokenType.value = 'Bearer' + isAuthenticated.value = false + loading.value = false + + // 清除localStorage + localStorage.removeItem('access_token') + localStorage.removeItem('token_type') + clearLocalVersions() + } + + // 检查登录状态 + const checkAuth = async () => { + if (!accessToken.value) { + return false + } + + try { + const result = await fetchUserProfile() + return result.success + } catch (error) { + logout() + return false + } + } + + // 初始化 + const init = async () => { + // 监听认证错误事件 + authEventBus.onAuthError(handleAuthError) + + // 监听版本更新事件 + window.addEventListener('version:logout', handleVersionLogout) + window.addEventListener('version:refresh', handleVersionRefresh) + + // 进行版本检查 + if (!checkVersions()) { + return + } + + if (accessToken.value && !user.value) { + // 有token但无用户信息,自动拉取 + loading.value = true + try { + const result = await fetchUserProfile() + isAuthenticated.value = result.success + + // 如果认证成功,启动版本检查器 + if (result.success) { + versionChecker.startAutoCheck() + } + } catch { + isAuthenticated.value = false + logout() + } finally { + loading.value = false + initialized.value = true + } + } else { + // 如果已经认证,启动版本检查器 + if (isAuthenticated.value) { + versionChecker.startAutoCheck() + } + initialized.value = true + } + } + + // 清理 + const cleanup = () => { + // 停止版本检查器 + versionChecker.stopAutoCheck() + + // 移除事件监听器 + window.removeEventListener('version:logout', handleVersionLogout) + window.removeEventListener('version:refresh', handleVersionRefresh) + } + + return { + // 状态 + user, + accessToken, + tokenType, + isAuthenticated, + loading, + initialized, // 新增 + + // 计算属性 + isLoggedIn, + userInfo, + isAdmin, + userType, + isCertified, // 新增 + isUserInfoComplete, // 新增 + hasRole, + + // 方法 + login, + register, + resetPassword, + sendCode, + fetchUserProfile, + changePassword, + logout, + checkAuth, + init, + cleanup, + refreshUserProfile // 新增 + } +}) diff --git a/src/utils/index.js b/src/utils/index.js new file mode 100644 index 0000000..5581b34 --- /dev/null +++ b/src/utils/index.js @@ -0,0 +1,295 @@ +import dayjs from 'dayjs' +import 'dayjs/locale/zh-cn' + +// 设置dayjs语言 +dayjs.locale('zh-cn') + +/** + * 日期格式化 + * @param {Date|string} date 日期 + * @param {string} format 格式 + * @returns {string} 格式化后的日期字符串 + */ +export const formatDate = (date, format = 'YYYY-MM-DD HH:mm:ss') => { + if (!date) return '' + return dayjs(date).format(format) +} + +/** + * 相对时间 + * @param {Date|string} date 日期 + * @returns {string} 相对时间字符串 + */ +export const fromNow = (date) => { + if (!date) return '' + return dayjs(date).fromNow() +} + +/** + * 手机号格式化 + * @param {string} phone 手机号 + * @returns {string} 格式化后的手机号 + */ +export const formatPhone = (phone) => { + if (!phone) return '' + return phone.replace(/(\d{3})(\d{4})(\d{4})/, '$1****$3') +} + +/** + * 金额格式化 + * @param {number} amount 金额 + * @param {number} decimals 小数位数 + * @returns {string} 格式化后的金额 + */ +export const formatMoney = (amount, decimals = 2) => { + if (amount === null || amount === undefined) return '0.00' + return Number(amount).toFixed(decimals) +} + +/** + * 文件大小格式化 + * @param {number} bytes 字节数 + * @returns {string} 格式化后的文件大小 + */ +export const formatFileSize = (bytes) => { + if (bytes === 0) return '0 B' + const k = 1024 + const sizes = ['B', 'KB', 'MB', 'GB', 'TB'] + const i = Math.floor(Math.log(bytes) / Math.log(k)) + return parseFloat((bytes / Math.pow(k, i)).toFixed(2)) + ' ' + sizes[i] +} + +/** + * 防抖函数 + * @param {Function} func 要防抖的函数 + * @param {number} wait 等待时间 + * @returns {Function} 防抖后的函数 + */ +export const debounce = (func, wait) => { + let timeout + return function executedFunction(...args) { + const later = () => { + clearTimeout(timeout) + func(...args) + } + clearTimeout(timeout) + timeout = setTimeout(later, wait) + } +} + +/** + * 节流函数 + * @param {Function} func 要节流的函数 + * @param {number} limit 限制时间 + * @returns {Function} 节流后的函数 + */ +export const throttle = (func, limit) => { + let inThrottle + return function() { + const args = arguments + const context = this + if (!inThrottle) { + func.apply(context, args) + inThrottle = true + setTimeout(() => inThrottle = false, limit) + } + } +} + +/** + * 深拷贝 + * @param {any} obj 要拷贝的对象 + * @returns {any} 拷贝后的对象 + */ +export const deepClone = (obj) => { + if (obj === null || typeof obj !== 'object') return obj + if (obj instanceof Date) return new Date(obj.getTime()) + if (obj instanceof Array) return obj.map(item => deepClone(item)) + if (typeof obj === 'object') { + const clonedObj = {} + for (const key in obj) { + if (Object.prototype.hasOwnProperty.call(obj, key)) { + clonedObj[key] = deepClone(obj[key]) + } + } + return clonedObj + } +} + +/** + * 生成UUID + * @returns {string} UUID字符串 + */ +export const generateUUID = () => { + return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { + const r = Math.random() * 16 | 0 + const v = c == 'x' ? r : (r & 0x3 | 0x8) + return v.toString(16) + }) +} + +/** + * 验证手机号 + * @param {string} phone 手机号 + * @returns {boolean} 是否有效 + */ +export const validatePhone = (phone) => { + const phoneRegex = /^1[3-9]\d{9}$/ + return phoneRegex.test(phone) +} + +/** + * 验证邮箱 + * @param {string} email 邮箱 + * @returns {boolean} 是否有效 + */ +export const validateEmail = (email) => { + const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/ + return emailRegex.test(email) +} + +/** + * 验证身份证号 + * @param {string} idCard 身份证号 + * @returns {boolean} 是否有效 + */ +export const validateIdCard = (idCard) => { + const idCardRegex = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/ + return idCardRegex.test(idCard) +} + +/** + * 获取URL参数 + * @param {string} name 参数名 + * @returns {string|null} 参数值 + */ +export const getUrlParam = (name) => { + const urlParams = new URLSearchParams(window.location.search) + return urlParams.get(name) +} + +/** + * 设置URL参数 + * @param {string} name 参数名 + * @param {string} value 参数值 + */ +export const setUrlParam = (name, value) => { + const url = new URL(window.location) + url.searchParams.set(name, value) + window.history.replaceState({}, '', url) +} + +/** + * 移除URL参数 + * @param {string} name 参数名 + */ +export const removeUrlParam = (name) => { + const url = new URL(window.location) + url.searchParams.delete(name) + window.history.replaceState({}, '', url) +} + +/** + * 复制文本到剪贴板 + * @param {string} text 要复制的文本 + * @returns {Promise} 是否复制成功 + */ +export const copyToClipboard = async (text) => { + try { + await navigator.clipboard.writeText(text) + return true + } catch (err) { + // 降级方案 + const textArea = document.createElement('textarea') + textArea.value = text + document.body.appendChild(textArea) + textArea.select() + try { + document.execCommand('copy') + document.body.removeChild(textArea) + return true + } catch (err) { + document.body.removeChild(textArea) + return false + } + } +} + +/** + * 下载文件 + * @param {string} url 文件URL + * @param {string} filename 文件名 + */ +export const downloadFile = (url, filename) => { + const link = document.createElement('a') + link.href = url + link.download = filename + document.body.appendChild(link) + link.click() + document.body.removeChild(link) +} + +/** + * 获取浏览器信息 + * @returns {object} 浏览器信息 + */ +export const getBrowserInfo = () => { + const ua = navigator.userAgent + const browser = { + name: '', + version: '', + os: '' + } + + // 检测浏览器 + if (ua.includes('Chrome')) { + browser.name = 'Chrome' + } else if (ua.includes('Firefox')) { + browser.name = 'Firefox' + } else if (ua.includes('Safari')) { + browser.name = 'Safari' + } else if (ua.includes('Edge')) { + browser.name = 'Edge' + } else if (ua.includes('MSIE') || ua.includes('Trident')) { + browser.name = 'IE' + } + + // 检测操作系统 + if (ua.includes('Windows')) { + browser.os = 'Windows' + } else if (ua.includes('Mac')) { + browser.os = 'Mac' + } else if (ua.includes('Linux')) { + browser.os = 'Linux' + } else if (ua.includes('Android')) { + browser.os = 'Android' + } else if (ua.includes('iOS')) { + browser.os = 'iOS' + } + + return browser +} + +/** + * 检查是否为移动设备 + * @returns {boolean} 是否为移动设备 + */ +export const isMobile = () => { + return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) +} + +/** + * 检查是否为微信浏览器 + * @returns {boolean} 是否为微信浏览器 + */ +export const isWeChat = () => { + return /MicroMessenger/i.test(navigator.userAgent) +} + +/** + * 检查是否为支付宝浏览器 + * @returns {boolean} 是否为支付宝浏览器 + */ +export const isAlipay = () => { + return /AlipayClient/i.test(navigator.userAgent) +} diff --git a/src/utils/performance.js b/src/utils/performance.js new file mode 100644 index 0000000..2818d3c --- /dev/null +++ b/src/utils/performance.js @@ -0,0 +1,193 @@ +/** + * 渲染性能优化工具函数 + */ + +// 检测设备性能等级 +export const getDevicePerformanceLevel = () => { + const hardwareConcurrency = navigator.hardwareConcurrency || 4 + const memory = navigator.deviceMemory || 4 + const isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) + const isLowEnd = hardwareConcurrency <= 4 || memory <= 4 || isMobile + + if (isLowEnd) { + return 'low' + } else if (hardwareConcurrency <= 8 || memory <= 8) { + return 'medium' + } else { + return 'high' + } +} + +// 检测是否支持硬件加速 +export const supportsHardwareAcceleration = () => { + const canvas = document.createElement('canvas') + const gl = canvas.getContext('webgl') || canvas.getContext('experimental-webgl') + return !!gl +} + +// 检测是否支持backdrop-filter +export const supportsBackdropFilter = () => { + return CSS.supports('backdrop-filter', 'blur(1px)') +} + +// 检测用户是否偏好减少动画 +export const prefersReducedMotion = () => { + return window.matchMedia('(prefers-reduced-motion: reduce)').matches +} + +// 应用渲染性能优化策略 +export const applyRenderOptimizations = () => { + const performanceLevel = getDevicePerformanceLevel() + const supportsHardware = supportsHardwareAcceleration() + const supportsBackdrop = supportsBackdropFilter() + const reducedMotion = prefersReducedMotion() + + // 添加性能等级类到body + document.body.classList.add(`performance-${performanceLevel}`) + + // 如果不支持硬件加速,添加降级类 + if (!supportsHardware) { + document.body.classList.add('no-hardware-acceleration') + } + + // 如果不支持backdrop-filter,添加降级类 + if (!supportsBackdrop) { + document.body.classList.add('no-backdrop-filter') + } + + // 如果用户偏好减少动画,添加相应类 + if (reducedMotion) { + document.body.classList.add('reduced-motion') + } + + return { + performanceLevel, + supportsHardware, + supportsBackdrop, + reducedMotion + } +} + +// 懒加载优化 +export const createIntersectionObserver = (callback, options = {}) => { + const defaultOptions = { + root: null, + rootMargin: '50px', + threshold: 0.1, + ...options + } + + return new IntersectionObserver(callback, defaultOptions) +} + +// 防抖函数 +export const debounce = (func, wait) => { + let timeout + return function executedFunction(...args) { + const later = () => { + clearTimeout(timeout) + func(...args) + } + clearTimeout(timeout) + timeout = setTimeout(later, wait) + } +} + +// 节流函数 +export const throttle = (func, limit) => { + let inThrottle + return function() { + const args = arguments + const context = this + if (!inThrottle) { + func.apply(context, args) + inThrottle = true + setTimeout(() => inThrottle = false, limit) + } + } +} + +// 优化图片加载 +export const optimizeImageLoading = () => { + const images = document.querySelectorAll('img[data-src]') + const imageObserver = createIntersectionObserver((entries) => { + entries.forEach(entry => { + if (entry.isIntersecting) { + const img = entry.target + img.src = img.dataset.src + img.classList.remove('lazy') + imageObserver.unobserve(img) + } + }) + }) + + images.forEach(img => imageObserver.observe(img)) +} + +// 优化动画性能 +export const optimizeAnimations = () => { + const animatedElements = document.querySelectorAll('[class*="animate-"]') + + animatedElements.forEach(element => { + // 添加硬件加速 + element.style.transform = 'translateZ(0)' + element.style.willChange = 'transform' + }) +} + +// 减少重绘和重排 +export const optimizeLayout = () => { + // 批量DOM操作 + const batchDOMUpdates = (updates) => { + requestAnimationFrame(() => { + updates.forEach(update => update()) + }) + } + + return { batchDOMUpdates } +} + +// 内存优化 +export const optimizeMemory = () => { + // 清理事件监听器 + const cleanupEventListeners = () => { + // 在组件卸载时调用 + } + + // 清理定时器 + const cleanupTimers = () => { + // 清理所有定时器 + } + + return { cleanupEventListeners, cleanupTimers } +} + +// 初始化渲染性能优化 +export const initRenderOptimizations = () => { + // 应用基础优化 + const config = applyRenderOptimizations() + + // 根据性能等级应用不同策略 + switch (config.performanceLevel) { + case 'low': + // 低端设备:禁用复杂动画,简化UI + document.body.classList.add('low-performance-mode') + break + case 'medium': + // 中端设备:适度优化 + document.body.classList.add('medium-performance-mode') + break + case 'high': + // 高端设备:启用所有功能 + document.body.classList.add('high-performance-mode') + break + } + + // 优化图片加载 + optimizeImageLoading() + + // 优化动画 + optimizeAnimations() + + return config +} diff --git a/src/utils/permission.js b/src/utils/permission.js new file mode 100644 index 0000000..c5f32c7 --- /dev/null +++ b/src/utils/permission.js @@ -0,0 +1,242 @@ +// 权限指令 +export const permission = { + inserted(el, binding) { + const { value } = binding + const roles = value.roles || [] + const permissions = value.permissions || [] + const userRole = el._vue.$store.getters.userRole || 'user' + const userPermissions = el._vue.$store.getters.userPermissions || [] + + let hasPermission = true + + // 检查角色权限 + if (roles.length > 0) { + if (!roles.includes(userRole)) { + hasPermission = false + } + } + + // 检查功能权限 + if (permissions.length > 0) { + const hasAllPermissions = permissions.every(permission => + userPermissions.includes(permission) + ) + if (!hasAllPermissions) { + hasPermission = false + } + } + + if (!hasPermission) { + el.style.display = 'none' + } + }, + + update(el, binding) { + const { value } = binding + const roles = value.roles || [] + const permissions = value.permissions || [] + const userRole = el._vue.$store.getters.userRole || 'user' + const userPermissions = el._vue.$store.getters.userPermissions || [] + + let hasPermission = true + + // 检查角色权限 + if (roles.length > 0) { + if (!roles.includes(userRole)) { + hasPermission = false + } + } + + // 检查功能权限 + if (permissions.length > 0) { + const hasAllPermissions = permissions.every(permission => + userPermissions.includes(permission) + ) + if (!hasAllPermissions) { + hasPermission = false + } + } + + el.style.display = hasPermission ? '' : 'none' + } +} + +// 角色指令 +export const role = { + inserted(el, binding) { + const { value } = binding + const userRole = el._vue.$store.getters.userRole || 'user' + + if (!value.includes(userRole)) { + el.style.display = 'none' + } + }, + + update(el, binding) { + const { value } = binding + const userRole = el._vue.$store.getters.userRole || 'user' + + el.style.display = value.includes(userRole) ? '' : 'none' + } +} + +// 权限检查工具函数 +export const checkPermission = { + // 检查角色权限 + hasRole(userRole, requiredRoles) { + if (!requiredRoles || requiredRoles.length === 0) { + return true + } + return requiredRoles.includes(userRole) + }, + + // 检查功能权限 + hasPermission(userPermissions, requiredPermissions) { + if (!requiredPermissions || requiredPermissions.length === 0) { + return true + } + return requiredPermissions.every(permission => + userPermissions.includes(permission) + ) + }, + + // 检查综合权限 + hasAccess(userRole, userPermissions, requiredRoles, requiredPermissions) { + const hasRoleAccess = this.hasRole(userRole, requiredRoles) + const hasPermissionAccess = this.hasPermission(userPermissions, requiredPermissions) + return hasRoleAccess && hasPermissionAccess + } +} + +// 权限常量 +export const PERMISSIONS = { + // 统计相关权限 + STATISTICS_VIEW: 'statistics:view', + STATISTICS_CREATE: 'statistics:create', + STATISTICS_UPDATE: 'statistics:update', + STATISTICS_DELETE: 'statistics:delete', + STATISTICS_EXPORT: 'statistics:export', + + // 仪表板相关权限 + DASHBOARD_VIEW: 'dashboard:view', + DASHBOARD_CREATE: 'dashboard:create', + DASHBOARD_UPDATE: 'dashboard:update', + DASHBOARD_DELETE: 'dashboard:delete', + + // 报告相关权限 + REPORT_VIEW: 'report:view', + REPORT_CREATE: 'report:create', + REPORT_UPDATE: 'report:update', + REPORT_DELETE: 'report:delete', + REPORT_EXPORT: 'report:export', + + // 分析相关权限 + ANALYSIS_VIEW: 'analysis:view', + ANALYSIS_RUN: 'analysis:run', + ANALYSIS_EXPORT: 'analysis:export', + + // 管理相关权限 + ADMIN_VIEW: 'admin:view', + ADMIN_MANAGE: 'admin:manage', + ADMIN_SETTINGS: 'admin:settings' +} + +// 角色常量 +export const ROLES = { + ADMIN: 'admin', + MANAGER: 'manager', + ANALYST: 'analyst', + USER: 'user' +} + +// 角色权限映射 +export const ROLE_PERMISSIONS = { + [ROLES.ADMIN]: [ + PERMISSIONS.STATISTICS_VIEW, + PERMISSIONS.STATISTICS_CREATE, + PERMISSIONS.STATISTICS_UPDATE, + PERMISSIONS.STATISTICS_DELETE, + PERMISSIONS.STATISTICS_EXPORT, + PERMISSIONS.DASHBOARD_VIEW, + PERMISSIONS.DASHBOARD_CREATE, + PERMISSIONS.DASHBOARD_UPDATE, + PERMISSIONS.DASHBOARD_DELETE, + PERMISSIONS.REPORT_VIEW, + PERMISSIONS.REPORT_CREATE, + PERMISSIONS.REPORT_UPDATE, + PERMISSIONS.REPORT_DELETE, + PERMISSIONS.REPORT_EXPORT, + PERMISSIONS.ANALYSIS_VIEW, + PERMISSIONS.ANALYSIS_RUN, + PERMISSIONS.ANALYSIS_EXPORT, + PERMISSIONS.ADMIN_VIEW, + PERMISSIONS.ADMIN_MANAGE, + PERMISSIONS.ADMIN_SETTINGS + ], + [ROLES.MANAGER]: [ + PERMISSIONS.STATISTICS_VIEW, + PERMISSIONS.STATISTICS_EXPORT, + PERMISSIONS.DASHBOARD_VIEW, + PERMISSIONS.DASHBOARD_CREATE, + PERMISSIONS.DASHBOARD_UPDATE, + PERMISSIONS.REPORT_VIEW, + PERMISSIONS.REPORT_CREATE, + PERMISSIONS.REPORT_EXPORT, + PERMISSIONS.ANALYSIS_VIEW, + PERMISSIONS.ANALYSIS_RUN, + PERMISSIONS.ANALYSIS_EXPORT + ], + [ROLES.ANALYST]: [ + PERMISSIONS.STATISTICS_VIEW, + PERMISSIONS.STATISTICS_EXPORT, + PERMISSIONS.DASHBOARD_VIEW, + PERMISSIONS.REPORT_VIEW, + PERMISSIONS.REPORT_EXPORT, + PERMISSIONS.ANALYSIS_VIEW, + PERMISSIONS.ANALYSIS_RUN, + PERMISSIONS.ANALYSIS_EXPORT + ], + [ROLES.USER]: [ + PERMISSIONS.STATISTICS_VIEW, + PERMISSIONS.DASHBOARD_VIEW, + PERMISSIONS.REPORT_VIEW, + PERMISSIONS.ANALYSIS_VIEW + ] +} + +// 获取用户权限 +export const getUserPermissions = (userRole) => { + return ROLE_PERMISSIONS[userRole] || [] +} + +// 检查用户是否有特定权限 +export const hasUserPermission = (userRole, permission) => { + const userPermissions = getUserPermissions(userRole) + return userPermissions.includes(permission) +} + +// 检查用户是否有任意权限 +export const hasAnyPermission = (userRole, permissions) => { + const userPermissions = getUserPermissions(userRole) + return permissions.some(permission => userPermissions.includes(permission)) +} + +// 检查用户是否有所有权限 +export const hasAllPermissions = (userRole, permissions) => { + const userPermissions = getUserPermissions(userRole) + return permissions.every(permission => userPermissions.includes(permission)) +} + +export default { + permission, + role, + checkPermission, + PERMISSIONS, + ROLES, + ROLE_PERMISSIONS, + getUserPermissions, + hasUserPermission, + hasAnyPermission, + hasAllPermissions +} + diff --git a/src/utils/request.js b/src/utils/request.js new file mode 100644 index 0000000..3c812b6 --- /dev/null +++ b/src/utils/request.js @@ -0,0 +1,303 @@ +import router from '@/router' +import axios from 'axios' +import { ElMessage } from 'element-plus' + +// 创建axios实例 +const request = axios.create({ + baseURL: '/api/v1', + timeout: 60000, // 1分钟超时(用于调试页面) + headers: { + 'Content-Type': 'application/json', + } +}) + +// 简单的认证错误事件总线 +const authEventBus = { + listeners: [], + onAuthError(callback) { + this.listeners.push(callback) + }, + emitAuthError(message) { + this.listeners.forEach(callback => { + try { + callback(message) + } catch (error) { + console.error('认证错误处理回调执行失败:', error) + } + }) + } +} + +// 请求拦截器 +request.interceptors.request.use( + config => { + // 添加认证token + const token = localStorage.getItem('access_token') + const tokenType = localStorage.getItem('token_type') || 'Bearer' + if (token) { + config.headers.Authorization = `${tokenType} ${token}` + } + + // 添加请求ID用于追踪 + config.headers['X-Request-ID'] = Date.now().toString() + + return config + }, + error => { + console.error('请求拦截器错误:', error) + return Promise.reject(error) + } +) + +// 响应拦截器 +request.interceptors.response.use( + response => { + const { data, status } = response + + // 检查HTTP状态码 + if (status >= 200 && status < 300) { + // 如果是blob响应(文件下载),直接返回data + if (data instanceof Blob) { + return data + } + // 严格按照后端响应格式处理 + if (data.success === true) { + // 成功响应,返回data字段 + return { + success: true, + data: data.data, + message: data.message, + requestId: data.request_id, + timestamp: data.timestamp, + pagination: data.pagination, + meta: data.meta + } + } else if (data.success === false) { + // 业务逻辑错误 + const message = data.message || '请求失败' + // 检查是否有验证错误 + if (data.errors && typeof data.errors === 'object') { + // 处理验证错误 + const errorMessages = [] + Object.keys(data.errors).forEach(field => { + const fieldErrors = data.errors[field] + if (Array.isArray(fieldErrors)) { + // 将字段的所有错误信息添加到数组中 + errorMessages.push(...fieldErrors) + } else if (typeof fieldErrors === 'string') { + // 单个错误字符串 + errorMessages.push(fieldErrors) + } + }) + + // 显示所有验证错误 + if (errorMessages.length > 0) { + errorMessages.forEach(errorMsg => { + ElMessage.error(errorMsg) + }) + } else { + ElMessage.error(message) + } + } else { + // 普通业务错误 + ElMessage.error(message) + } + + return Promise.reject({ + type: 'business', + message, + errors: data.errors, + requestId: data.request_id, + timestamp: data.timestamp + }) + } else { + // 没有success字段,可能是直接返回数据 + return { + success: true, + data: data, + message: '请求成功' + } + } + } else { + // HTTP状态码错误 + const message = data?.message || `HTTP错误: ${status}` + ElMessage.error(message) + return Promise.reject({ + type: 'http', + status, + message, + data: data + }) + } + }, + error => { + console.error('响应拦截器错误:', error) + + // 网络错误 + if (!error.response) { + ElMessage.error('网络连接失败,请检查网络设置') + return Promise.reject({ + type: 'network', + message: '网络连接失败' + }) + } + + const { status, data } = error.response + + // 根据状态码处理不同类型的错误 + let errorMessage = '' + + switch (status) { + case 400: + // 请求参数错误 + errorMessage = data?.message || '请求参数错误' + ElMessage.error(errorMessage) + break + + case 401: + // 认证失败 - 使用事件总线通知 + errorMessage = data?.message || '登录已过期,请重新登录' + handleAuthError(errorMessage) + break + + case 403: + // 权限不足 + errorMessage = data?.message || '权限不足,无法访问此资源' + ElMessage.error(errorMessage) + break + + case 404: + // 资源不存在 + errorMessage = data?.message || '请求的资源不存在' + ElMessage.error(errorMessage) + break + + case 409: + // 资源冲突 + errorMessage = data?.message || '资源冲突,请检查输入信息' + ElMessage.error(errorMessage) + break + + case 422: + // 参数校验失败 + errorMessage = data?.message || '请求参数验证失败' + + // 检查是否有验证错误 + if (data?.errors && typeof data.errors === 'object') { + // 处理验证错误 + const errorMessages = [] + Object.keys(data.errors).forEach(field => { + const fieldErrors = data.errors[field] + if (Array.isArray(fieldErrors)) { + // 将字段的所有错误信息添加到数组中 + errorMessages.push(...fieldErrors) + } else if (typeof fieldErrors === 'string') { + // 单个错误字符串 + errorMessages.push(fieldErrors) + } + }) + + // 显示所有验证错误 + if (errorMessages.length > 0) { + errorMessages.forEach(errorMsg => { + ElMessage.error(errorMsg) + }) + } else { + ElMessage.error(errorMessage) + } + } else { + ElMessage.error(errorMessage) + } + break + + case 429: + // 请求频率限制 + errorMessage = data?.message || '请求过于频繁,请稍后再试' + ElMessage.error(errorMessage) + break + + case 500: + // 服务器内部错误 + errorMessage = data?.message || '服务器内部错误,请稍后再试' + ElMessage.error(errorMessage) + break + + default: + // 其他错误 + errorMessage = data?.message || `请求失败 (${status})` + ElMessage.error(errorMessage) + } + + return Promise.reject({ + type: 'http', + status, + message: data?.message || `HTTP错误: ${status}`, + data: data, + requestId: data?.request_id, + timestamp: data?.timestamp + }) + } +) + +// 处理认证错误的函数 +const handleAuthError = (message) => { + // 清理localStorage + localStorage.removeItem('access_token') + localStorage.removeItem('token_type') + + // 通过事件总线通知其他组件 + authEventBus.emitAuthError(message) + + // 显示错误消息 + ElMessage.error(message) + + // 跳转到登录页面(如果不在登录页面) + if (router.currentRoute.value.path !== '/auth/login') { + router.push('/auth/login') + } +} + +// 导出请求实例 +export default request + +// 导出认证事件总线 +export { authEventBus } + +// 导出响应处理工具函数 +export const handleResponse = (response) => { + if (response.success) { + return response.data + } + throw new Error(response.message || '请求失败') +} + +// 导出错误处理工具函数 +export const handleError = (error) => { + if (error.type === 'business') { + // 业务逻辑错误 + return { + success: false, + message: error.message, + errors: error.errors + } + } else if (error.type === 'http') { + // HTTP错误 + return { + success: false, + message: error.message, + status: error.status + } + } else if (error.type === 'network') { + // 网络错误 + return { + success: false, + message: error.message + } + } + + // 未知错误 + return { + success: false, + message: '未知错误' + } +} diff --git a/src/utils/version.js b/src/utils/version.js new file mode 100644 index 0000000..e1fea58 --- /dev/null +++ b/src/utils/version.js @@ -0,0 +1,239 @@ +/** + * 版本管理工具 + * 用于管理应用版本和token版本,实现自动退出登录和页面刷新 + */ + +// 版本配置 +export const VERSION_CONFIG = { + // 当前token版本,修改JWT密钥时需要更新 + TOKEN_VERSION: '1.0.0', + + // 当前应用版本,前端更新时需要更新 + APP_VERSION: '1.0.0', + + // 版本检查间隔(毫秒) + CHECK_INTERVAL: 60000, // 60秒检查一次 + + // 是否启用自动版本检查 + AUTO_CHECK: true +} + +// 本地存储键名 +const STORAGE_KEYS = { + TOKEN_VERSION: 'token_version', + APP_VERSION: 'app_version', + LAST_CHECK_TIME: 'last_version_check_time' +} + +/** + * 获取本地存储的版本信息 + */ +export const getLocalVersions = () => { + return { + tokenVersion: localStorage.getItem(STORAGE_KEYS.TOKEN_VERSION) || '1.0.0', + appVersion: localStorage.getItem(STORAGE_KEYS.APP_VERSION) || '1.0.0', + lastCheckTime: localStorage.getItem(STORAGE_KEYS.LAST_CHECK_TIME) || '0' + } +} + +/** + * 保存版本信息到本地存储 + */ +export const saveLocalVersions = (versions) => { + if (versions.tokenVersion) { + localStorage.setItem(STORAGE_KEYS.TOKEN_VERSION, versions.tokenVersion) + } + if (versions.appVersion) { + localStorage.setItem(STORAGE_KEYS.APP_VERSION, versions.appVersion) + } + localStorage.setItem(STORAGE_KEYS.LAST_CHECK_TIME, Date.now().toString()) +} + +/** + * 清除版本信息 + */ +export const clearLocalVersions = () => { + localStorage.removeItem(STORAGE_KEYS.TOKEN_VERSION) + localStorage.removeItem(STORAGE_KEYS.APP_VERSION) + localStorage.removeItem(STORAGE_KEYS.LAST_CHECK_TIME) +} + +/** + * 比较版本号 + * @param {string} version1 版本1 + * @param {string} version2 版本2 + * @returns {number} 1: version1 > version2, -1: version1 < version2, 0: 相等 + */ +export const compareVersions = (version1, version2) => { + const v1Parts = version1.split('.').map(Number) + const v2Parts = version2.split('.').map(Number) + + const maxLength = Math.max(v1Parts.length, v2Parts.length) + + for (let i = 0; i < maxLength; i++) { + const v1 = v1Parts[i] || 0 + const v2 = v2Parts[i] || 0 + + if (v1 > v2) return 1 + if (v1 < v2) return -1 + } + + return 0 +} + +/** + * 检查是否需要更新 + */ +export const checkForUpdates = () => { + const localVersions = getLocalVersions() + const currentTime = Date.now() + const lastCheckTime = parseInt(localVersions.lastCheckTime) + + // 检查是否到了检查时间 + if (currentTime - lastCheckTime < VERSION_CONFIG.CHECK_INTERVAL) { + return { needsCheck: false } + } + + // 检查token版本 + const tokenVersionMatch = localVersions.tokenVersion === VERSION_CONFIG.TOKEN_VERSION + if (!tokenVersionMatch) { + return { + needsCheck: true, + needsLogout: true, + reason: 'token_version_mismatch', + current: localVersions.tokenVersion, + expected: VERSION_CONFIG.TOKEN_VERSION + } + } + + // 检查应用版本 + const appVersionMatch = localVersions.appVersion === VERSION_CONFIG.APP_VERSION + if (!appVersionMatch) { + return { + needsCheck: true, + needsRefresh: true, + reason: 'app_version_mismatch', + current: localVersions.appVersion, + expected: VERSION_CONFIG.APP_VERSION + } + } + + // 更新检查时间 + saveLocalVersions({}) + + return { needsCheck: true, upToDate: true } +} + +/** + * 版本检查器类 + */ +export class VersionChecker { + constructor() { + this.checkInterval = null + this.isChecking = false + } + + /** + * 开始自动版本检查 + */ + startAutoCheck() { + if (!VERSION_CONFIG.AUTO_CHECK || this.checkInterval) { + return + } + + this.checkInterval = setInterval(() => { + this.performCheck() + }, VERSION_CONFIG.CHECK_INTERVAL) + + console.log('版本自动检查已启动,检查间隔:', VERSION_CONFIG.CHECK_INTERVAL, 'ms') + } + + /** + * 停止自动版本检查 + */ + stopAutoCheck() { + if (this.checkInterval) { + clearInterval(this.checkInterval) + this.checkInterval = null + console.log('版本自动检查已停止') + } + } + + /** + * 执行版本检查 + */ + async performCheck() { + if (this.isChecking) { + return + } + + this.isChecking = true + + try { + const result = checkForUpdates() + + if (result.needsCheck && !result.upToDate) { + // 触发版本更新事件 + this.handleVersionUpdate(result) + } + } catch (error) { + console.error('版本检查失败:', error) + } finally { + this.isChecking = false + } + } + + /** + * 处理版本更新 + */ + handleVersionUpdate(result) { + if (result.needsLogout) { + console.warn('Token版本不匹配,需要重新登录:', result) + + // 触发退出登录事件 + const event = new CustomEvent('version:logout', { + detail: { + reason: result.reason, + current: result.current, + expected: result.expected + } + }) + window.dispatchEvent(event) + } + + if (result.needsRefresh) { + console.log('应用版本已更新,需要刷新页面:', result) + + // 触发页面刷新事件 + const event = new CustomEvent('version:refresh', { + detail: { + reason: result.reason, + current: result.current, + expected: result.expected + } + }) + window.dispatchEvent(event) + } + } + + /** + * 手动触发版本检查 + */ + async manualCheck() { + await this.performCheck() + } +} + +// 创建全局版本检查器实例 +export const versionChecker = new VersionChecker() + +// 导出默认配置 +export default { + VERSION_CONFIG, + getLocalVersions, + saveLocalVersions, + clearLocalVersions, + compareVersions, + checkForUpdates, + versionChecker +} diff --git a/src/views/AboutView.vue b/src/views/AboutView.vue new file mode 100644 index 0000000..756ad2a --- /dev/null +++ b/src/views/AboutView.vue @@ -0,0 +1,15 @@ + + + diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue new file mode 100644 index 0000000..f6eb08b --- /dev/null +++ b/src/views/HomeView.vue @@ -0,0 +1,8 @@ + + + diff --git a/src/views/statistics/AnalysisView.vue b/src/views/statistics/AnalysisView.vue new file mode 100644 index 0000000..e1ece70 --- /dev/null +++ b/src/views/statistics/AnalysisView.vue @@ -0,0 +1,422 @@ + + + + + diff --git a/src/views/statistics/ReportsView.vue b/src/views/statistics/ReportsView.vue new file mode 100644 index 0000000..99f7106 --- /dev/null +++ b/src/views/statistics/ReportsView.vue @@ -0,0 +1,487 @@ + + + + + diff --git a/src/views/statistics/StatisticsPage.vue b/src/views/statistics/StatisticsPage.vue new file mode 100644 index 0000000..38472fa --- /dev/null +++ b/src/views/statistics/StatisticsPage.vue @@ -0,0 +1,946 @@ + + + + + diff --git a/src/views/statistics/UserStatisticsPage.vue b/src/views/statistics/UserStatisticsPage.vue new file mode 100644 index 0000000..132e2e3 --- /dev/null +++ b/src/views/statistics/UserStatisticsPage.vue @@ -0,0 +1,1072 @@ + + + + + diff --git a/vite.config.js b/vite.config.js new file mode 100644 index 0000000..a0d4de8 --- /dev/null +++ b/vite.config.js @@ -0,0 +1,141 @@ +import { fileURLToPath, URL } from 'node:url' + +import tailwindcss from '@tailwindcss/vite' +import vue from '@vitejs/plugin-vue' +import AutoImport from 'unplugin-auto-import/vite' +import { ElementPlusResolver } from 'unplugin-vue-components/resolvers' +import Components from 'unplugin-vue-components/vite' +import { defineConfig } from 'vite' +import vueDevTools from 'vite-plugin-vue-devtools' + +// https://vite.dev/config/ +export default defineConfig({ + plugins: [ + vue(), + vueDevTools(), + tailwindcss(), + AutoImport({ + // 自动引入 Vue 相关函数 + imports: [ + 'vue', + 'vue-router', + 'pinia', + '@vueuse/core', + { + 'axios': [ + ['default', 'axios'] + ], + 'dayjs': [ + ['default', 'dayjs'] + ], + 'lodash-es': [ + 'isEmpty', + 'isEqual', + 'get', + 'set', + 'omit', + 'pick', + 'merge', + 'uniq', + 'uniqBy', + 'groupBy', + 'keyBy', + 'sortBy', + 'orderBy', + 'filter', + 'map', + 'reduce', + 'find', + 'findIndex', + 'includes', + 'startsWith', + 'endsWith', + 'camelCase', + 'kebabCase', + 'snakeCase', + 'capitalize', + 'upperCase', + 'lowerCase', + 'trim', + 'escape', + 'unescape' + ], + } + ], + resolvers: [ + ElementPlusResolver(), + ], + // 自动引入 Vue 模板中的组件 + dts: true, + // 自动引入目录下的模块 + dirs: [ + './src/composables/**', + './src/stores/**', + './src/utils/**' + ], + // 自动引入 Vue 相关函数 + vueTemplate: true, + // 自动引入类型 + eslintrc: { + enabled: true, + filepath: './.eslintrc-auto-import.json', + globalsPropValue: true, + }, + }), + Components({ + // 自动引入组件 + resolvers: [ + ElementPlusResolver({ + importStyle: 'sass', + }), + ], + // 自动引入目录下的组件 + dirs: ['src/components'], + // 组件的有效文件扩展名 + extensions: ['vue'], + // 配置文件生成位置 + dts: true, + // 自动引入指令 + directives: true, + }), + ], + resolve: { + alias: { + '@': fileURLToPath(new URL('./src', import.meta.url)) + }, + }, + css: { + preprocessorOptions: { + scss: { + importers: [ + // ... + ], + }, + }, + }, + build: { + sourcemap: true, + rollupOptions: { + output: { + manualChunks: undefined + } + } + }, + server: { + proxy: { + // // 本地开发时将 /api/v1 的请求代理到 8080 端口 + '/api/v1': { + target: 'http://localhost:8080', + changeOrigin: true, + // 保持路径不变 + rewrite: path => path, + }, + // '/api/v1': { + // target: 'https://console.tianyuanapi.com', + // changeOrigin: true, + // // 保持路径不变 + // rewrite: path => path, + // }, + }, + }, +})