yahee-components 0.0.29 → 0.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/_virtual/dayjs.min.js +1 -1
- package/es/_virtual/lodash.js +1 -1
- package/es/api/server.js +1 -1
- package/es/api/tool.js +1 -1
- package/es/complex-search/complex-search.vue.js +159 -133
- package/es/complex-search/props.js +18 -0
- package/es/index.js +14 -12
- package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/core/Axios.js +51 -48
- package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/core/mergeConfig.js +20 -20
- package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/env/data.js +1 -1
- package/es/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/buildURL.js +23 -0
- package/es/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/isURLSameOrigin.js +8 -0
- package/es/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/validator.js +54 -0
- package/es/{packages/components → node_modules/.pnpm/dayjs@1.11.13}/node_modules/dayjs/dayjs.min.js +1 -1
- package/es/{packages/components → node_modules/.pnpm/lodash@4.17.21}/node_modules/lodash/lodash.js +2 -2
- package/es/{packages/components → node_modules/.pnpm/v3-infinite-loading@1.3.2}/node_modules/v3-infinite-loading/lib/v3-infinite-loading.es.js +1 -1
- package/es/operation-log/operation-log.vue.js +2 -2
- package/es/packages/components/api/log-server.js +1 -1
- package/es/packages/components/api/server.js +1 -1
- package/es/packages/components/api/tool.js +1 -1
- package/es/packages/components/api/upload-server.js +1 -1
- package/es/packages/components/hooks/useImg.js +1 -1
- package/es/utils/translate.js +1 -1
- package/package.json +1 -1
- package/readme.md +249 -0
- package/types/hooks/useClipboard.d.ts +7 -0
- package/types/hooks/useImg.d.ts +10 -0
- package/types/hooks/useImgPath.d.ts +5 -0
- package/types/hooks/useImport.d.ts +11 -0
- package/types/hooks/useUpload.d.ts +12 -0
- package/types/index.d.ts +6 -1341
- package/types/src/annex-upload/annex-upload.d.ts +30 -0
- package/types/src/annex-upload/annex-upload.vue.d.ts +451 -0
- package/types/src/annex-upload/index.d.ts +118 -0
- package/types/src/annex-upload/mimeType.d.ts +2 -0
- package/types/src/api/server.d.ts +6 -0
- package/types/src/api/tool.d.ts +6 -0
- package/types/src/api/types.d.ts +17 -0
- package/types/src/complex-search/complex-search.d.ts +24 -0
- package/types/src/complex-search/complex-search.vue.d.ts +20 -0
- package/types/src/complex-search/index.d.ts +24 -0
- package/types/src/complex-search/props.d.ts +65 -0
- package/types/src/components.d.ts +10 -0
- package/types/src/copy/copy.d.ts +12 -0
- package/types/src/copy/copy.vue.d.ts +22 -0
- package/types/src/copy/index.d.ts +32 -0
- package/types/src/country-platform-shop-condition/country-platform-shop-condition.d.ts +17 -0
- package/types/src/country-platform-shop-condition/country-platform-shop-condition.vue.d.ts +12 -0
- package/types/src/country-platform-shop-condition/index.d.ts +16 -0
- package/types/src/drop-down-condition/drop-down-condition.d.ts +6 -0
- package/types/src/drop-down-condition/drop-down-condition.vue.d.ts +26 -0
- package/types/src/drop-down-condition/index.d.ts +42 -0
- package/types/src/image-upload/image-upload.d.ts +26 -0
- package/types/src/image-upload/image-upload.vue.d.ts +44 -0
- package/types/src/image-upload/index.d.ts +91 -0
- package/types/src/index.d.ts +7 -0
- package/types/src/input/index.d.ts +16 -0
- package/types/src/input/input.d.ts +18 -0
- package/types/src/input/input.vue.d.ts +14 -0
- package/types/src/installs.d.ts +523 -0
- package/types/src/left-condition/index.d.ts +69 -0
- package/types/src/left-condition/left-condition-sub.vue.d.ts +41 -0
- package/types/src/left-condition/left-condition.d.ts +5 -0
- package/types/src/left-condition/left-condition.vue.d.ts +50 -0
- package/types/src/left-condition-enum/index.d.ts +161 -0
- package/types/src/left-condition-enum/left-condition-enum.d.ts +5 -0
- package/types/src/left-condition-enum/left-condition-enum.vue.d.ts +159 -0
- package/types/src/operation-log/index.d.ts +9 -0
- package/types/src/operation-log/operation-log-content.vue.d.ts +24 -0
- package/types/src/operation-log/operation-log-dialog.vue.d.ts +39 -0
- package/types/src/operation-log/operation-log-form.vue.d.ts +19 -0
- package/types/src/operation-log/operation-log.d.ts +11 -0
- package/types/src/operation-log/operation-log.vue.d.ts +6 -0
- package/types/src/shared/hello.d.ts +1 -0
- package/types/src/shared/index.d.ts +2 -0
- package/types/src/shared/typeCheck.d.ts +2 -0
- package/types/src/shared/types/InferVueDefaults.d.ts +7 -0
- package/types/src/shared/types/index.d.ts +1 -0
- package/types/src/static/CommonObject.d.ts +18 -0
- package/types/src/static/CommonVariables.d.ts +4 -0
- package/types/src/utils/config.d.ts +8 -0
- package/types/src/utils/const.d.ts +19 -0
- package/types/src/utils/functions.d.ts +1 -0
- package/types/src/utils/infer-vue-defaults.d.ts +7 -0
- package/types/src/utils/install.d.ts +8 -0
- package/types/src/utils/storage.d.ts +18 -0
- package/types/src/utils/style.d.ts +19 -0
- package/types/src/utils/to-kebab-case.d.ts +1 -0
- package/types/src/utils/translate.d.ts +5 -0
- package/types/src/utils/typescript.d.ts +5 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/buildURL.js +0 -19
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -37
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/validator.js +0 -51
- package/lib/_virtual/_commonjsHelpers.js +0 -1
- package/lib/_virtual/dayjs.min.js +0 -1
- package/lib/_virtual/dayjs.min2.js +0 -1
- package/lib/_virtual/lodash.js +0 -1
- package/lib/_virtual/lodash2.js +0 -1
- package/lib/annex-upload/annex-upload.vue.js +0 -1
- package/lib/annex-upload/annex-upload.vue2.js +0 -1
- package/lib/annex-upload/index.js +0 -1
- package/lib/annex-upload/mimeType.js +0 -1
- package/lib/api/server.js +0 -1
- package/lib/api/tool.js +0 -1
- package/lib/complex-search/complex-search.vue.js +0 -1
- package/lib/complex-search/complex-search.vue2.js +0 -1
- package/lib/complex-search/index.js +0 -1
- package/lib/copy/copy.vue.js +0 -1
- package/lib/copy/copy.vue2.js +0 -1
- package/lib/copy/index.js +0 -1
- package/lib/country-platform-shop-condition/country-platform-shop-condition.vue.js +0 -1
- package/lib/country-platform-shop-condition/country-platform-shop-condition.vue2.js +0 -1
- package/lib/country-platform-shop-condition/index.js +0 -1
- package/lib/drop-down-condition/drop-down-condition.vue.js +0 -1
- package/lib/drop-down-condition/drop-down-condition.vue2.js +0 -1
- package/lib/drop-down-condition/index.js +0 -1
- package/lib/image-upload/image-upload.vue.js +0 -1
- package/lib/image-upload/image-upload.vue2.js +0 -1
- package/lib/image-upload/index.js +0 -1
- package/lib/index.js +0 -1
- package/lib/input/index.js +0 -1
- package/lib/input/input.vue.js +0 -1
- package/lib/input/input.vue2.js +0 -1
- package/lib/installs.js +0 -1
- package/lib/left-condition/index.js +0 -1
- package/lib/left-condition/left-condition-sub.vue.js +0 -1
- package/lib/left-condition/left-condition-sub.vue2.js +0 -1
- package/lib/left-condition/left-condition.vue.js +0 -1
- package/lib/left-condition/left-condition.vue2.js +0 -1
- package/lib/left-condition-enum/index.js +0 -1
- package/lib/left-condition-enum/left-condition-enum.vue.js +0 -1
- package/lib/left-condition-enum/left-condition-enum.vue2.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/index.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/adapters.js +0 -3
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/fetch.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/xhr.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/axios.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CancelToken.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CanceledError.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/isCancel.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/Axios.js +0 -2
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js +0 -2
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/InterceptorManager.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/buildFullPath.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/dispatchRequest.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/mergeConfig.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/settle.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/transformData.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/index.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/transitional.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/env/data.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/bind.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/buildURL.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/combineURLs.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/composeSignals.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/cookies.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/formDataToJSON.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAxiosError.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/null.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseHeaders.js +0 -2
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseProtocol.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/progressEventReducer.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/resolveConfig.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/speedometer.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/spread.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/throttle.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toFormData.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/trackStream.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/validator.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/index.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/common/utils.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js +0 -1
- package/lib/operation-log/index.js +0 -1
- package/lib/operation-log/operation-log-content.vue.js +0 -1
- package/lib/operation-log/operation-log-content.vue2.js +0 -1
- package/lib/operation-log/operation-log-dialog.vue.js +0 -1
- package/lib/operation-log/operation-log-dialog.vue2.js +0 -1
- package/lib/operation-log/operation-log-form.vue.js +0 -1
- package/lib/operation-log/operation-log-form.vue2.js +0 -1
- package/lib/operation-log/operation-log.vue.js +0 -1
- package/lib/operation-log/operation-log.vue2.js +0 -1
- package/lib/packages/components/api/log/index.js +0 -1
- package/lib/packages/components/api/log-server.js +0 -1
- package/lib/packages/components/api/server.js +0 -1
- package/lib/packages/components/api/tool.js +0 -1
- package/lib/packages/components/api/upload-server.js +0 -1
- package/lib/packages/components/assets/images/errorimg.png.js +0 -1
- package/lib/packages/components/assets/images/excel.png.js +0 -1
- package/lib/packages/components/assets/images/file-word.png.js +0 -1
- package/lib/packages/components/assets/images/pdf.png.js +0 -1
- package/lib/packages/components/assets/images/ppt.png.js +0 -1
- package/lib/packages/components/assets/images/vue.svg.js +0 -1
- package/lib/packages/components/hooks/useClipboard.js +0 -1
- package/lib/packages/components/hooks/useImg.js +0 -1
- package/lib/packages/components/hooks/useImgPath.js +0 -1
- package/lib/packages/components/hooks/useImport.js +0 -1
- package/lib/packages/components/hooks/useUpload.js +0 -1
- package/lib/packages/components/node_modules/dayjs/dayjs.min.js +0 -1
- package/lib/packages/components/node_modules/element-plus/es/locale/lang/zh-cn.js +0 -1
- package/lib/packages/components/node_modules/lodash/lodash.js +0 -27
- package/lib/packages/components/node_modules/v3-infinite-loading/lib/v3-infinite-loading.es.js +0 -1
- package/lib/static/CommonObject.js +0 -1
- package/lib/utils/config.js +0 -1
- package/lib/utils/const.js +0 -1
- package/lib/utils/install.js +0 -1
- package/lib/utils/storage.js +0 -1
- package/lib/utils/style.js +0 -1
- package/lib/utils/translate.js +0 -1
- package/lib/yahee-components.css +0 -1
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/index.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/adapters/adapters.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/adapters/fetch.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/adapters/xhr.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/axios.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/cancel/CancelToken.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/cancel/CanceledError.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/cancel/isCancel.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/core/AxiosError.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/core/AxiosHeaders.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/core/InterceptorManager.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/core/buildFullPath.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/core/dispatchRequest.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/core/settle.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/core/transformData.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/defaults/index.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/defaults/transitional.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/helpers/bind.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/helpers/combineURLs.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/helpers/composeSignals.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/helpers/cookies.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/helpers/formDataToJSON.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/helpers/isAxiosError.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/helpers/null.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/helpers/parseHeaders.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/helpers/parseProtocol.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/helpers/progressEventReducer.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/helpers/resolveConfig.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/helpers/speedometer.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/helpers/spread.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/helpers/throttle.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/helpers/toFormData.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/helpers/trackStream.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/platform/browser/index.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/platform/common/utils.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/platform/index.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.7.7 → axios@1.7.9}/node_modules/axios/lib/utils.js +0 -0
- /package/es/{packages/components → node_modules/.pnpm/element-plus@2.9.1_vue@3.5.13_typescript@5.7.2_}/node_modules/element-plus/es/locale/lang/zh-cn.js +0 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { default as ComplexSearch } from './complex-search.vue';
|
|
2
|
+
/**
|
|
3
|
+
* 定义instance类型
|
|
4
|
+
*/
|
|
5
|
+
export type ComplexSearchInstance = InstanceType<typeof ComplexSearch>;
|
|
6
|
+
/**
|
|
7
|
+
* 综合搜索下拉选项
|
|
8
|
+
*/
|
|
9
|
+
export type SearchOptions = {
|
|
10
|
+
value: string;
|
|
11
|
+
label: string;
|
|
12
|
+
};
|
|
13
|
+
export interface SearchDataOptions {
|
|
14
|
+
label: string;
|
|
15
|
+
key: string;
|
|
16
|
+
}
|
|
17
|
+
export type EveryFilter = {
|
|
18
|
+
filterKey: string;
|
|
19
|
+
checkedValues: string[] | string;
|
|
20
|
+
};
|
|
21
|
+
export type FilterValue = string | number | boolean | string[] | number[];
|
|
22
|
+
export interface SearchItem {
|
|
23
|
+
[key: string]: FilterValue;
|
|
24
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ComplexSearchProps } from './props';
|
|
2
|
+
import { SearchOptions, SearchDataOptions, SearchItem } from './complex-search';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
+
declare const _default: DefineComponent<ComplexSearchProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
5
|
+
filterChangeGrandson: (...args: any[]) => void;
|
|
6
|
+
}, string, PublicProps, Readonly<ComplexSearchProps> & Readonly<{
|
|
7
|
+
onFilterChangeGrandson?: (...args: any[]) => any;
|
|
8
|
+
}>, {
|
|
9
|
+
pasteFormat: () => void;
|
|
10
|
+
defaultSearch: string;
|
|
11
|
+
options: SearchOptions[];
|
|
12
|
+
placeholderText: string;
|
|
13
|
+
showPatchSearch: boolean;
|
|
14
|
+
showWithinFilterCheckbox: boolean;
|
|
15
|
+
specialOptions: SearchDataOptions[];
|
|
16
|
+
normalOptions: SearchDataOptions[];
|
|
17
|
+
showSelect: boolean;
|
|
18
|
+
searchItem: SearchItem;
|
|
19
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../utils/typescript';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { ComplexSearchProps } from './props';
|
|
4
|
+
import { SearchOptions, SearchDataOptions, SearchItem } from './complex-search';
|
|
5
|
+
export declare const YaheeComplexSearch: SFCWithInstall<DefineComponent<ComplexSearchProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6
|
+
filterChangeGrandson: (...args: any[]) => void;
|
|
7
|
+
}, string, PublicProps, Readonly< ComplexSearchProps> & Readonly<{
|
|
8
|
+
onFilterChangeGrandson?: (...args: any[]) => any;
|
|
9
|
+
}>, {
|
|
10
|
+
pasteFormat: () => void;
|
|
11
|
+
defaultSearch: string;
|
|
12
|
+
options: SearchOptions[];
|
|
13
|
+
placeholderText: string;
|
|
14
|
+
showPatchSearch: boolean;
|
|
15
|
+
showWithinFilterCheckbox: boolean;
|
|
16
|
+
specialOptions: SearchDataOptions[];
|
|
17
|
+
normalOptions: SearchDataOptions[];
|
|
18
|
+
showSelect: boolean;
|
|
19
|
+
searchItem: SearchItem;
|
|
20
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
21
|
+
export default YaheeComplexSearch;
|
|
22
|
+
export * from './complex-search.vue';
|
|
23
|
+
export * from './complex-search';
|
|
24
|
+
export * from './props';
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { SearchOptions, SearchDataOptions, SearchItem } from './complex-search';
|
|
2
|
+
export interface ComplexSearchProps {
|
|
3
|
+
/**
|
|
4
|
+
* 处理输入框粘贴事件并格式化粘贴的内容
|
|
5
|
+
* @default undefined
|
|
6
|
+
*/
|
|
7
|
+
pasteFormat?: () => void;
|
|
8
|
+
/**
|
|
9
|
+
* 默认查询类型
|
|
10
|
+
* default 'integrated':综合搜索
|
|
11
|
+
*/
|
|
12
|
+
defaultSearch?: string;
|
|
13
|
+
/**
|
|
14
|
+
* 可选的综合搜索下拉选项
|
|
15
|
+
* default: []
|
|
16
|
+
*/
|
|
17
|
+
options?: SearchOptions[];
|
|
18
|
+
/**
|
|
19
|
+
* 输入框的占位符文本
|
|
20
|
+
* default: ''
|
|
21
|
+
*/
|
|
22
|
+
placeholderText?: string;
|
|
23
|
+
/**
|
|
24
|
+
* 是否展示批量查询按钮
|
|
25
|
+
* default: false
|
|
26
|
+
*/
|
|
27
|
+
showPatchSearch?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* 是否展示在筛选体条件内查询checkbox
|
|
30
|
+
* default: false
|
|
31
|
+
*/
|
|
32
|
+
showWithinFilterCheckbox?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* 需要特殊处理的筛选项
|
|
35
|
+
* default: []
|
|
36
|
+
*/
|
|
37
|
+
specialOptions?: SearchDataOptions[];
|
|
38
|
+
/**
|
|
39
|
+
* 普通筛选项
|
|
40
|
+
* default: []
|
|
41
|
+
*/
|
|
42
|
+
normalOptions?: SearchDataOptions[];
|
|
43
|
+
/**
|
|
44
|
+
* 是否展示下拉选
|
|
45
|
+
* default: false
|
|
46
|
+
*/
|
|
47
|
+
showSelect?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* 当前筛选条件对象
|
|
50
|
+
* default: {}
|
|
51
|
+
*/
|
|
52
|
+
searchItem?: SearchItem;
|
|
53
|
+
}
|
|
54
|
+
export declare function defaultComplexSearchProps(): {
|
|
55
|
+
defaultSearch: string;
|
|
56
|
+
pasteFormat: () => void;
|
|
57
|
+
options: () => SearchOptions[];
|
|
58
|
+
showPatchSearch: false;
|
|
59
|
+
specialOptions: () => SearchDataOptions[];
|
|
60
|
+
showWithinFilterCheckbox: false;
|
|
61
|
+
placeholderText: string;
|
|
62
|
+
normalOptions: () => SearchDataOptions[];
|
|
63
|
+
showSelect: false;
|
|
64
|
+
searchItem: () => SearchItem;
|
|
65
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './input';
|
|
2
|
+
export * from './complex-search';
|
|
3
|
+
export * from './copy';
|
|
4
|
+
export * from './image-upload';
|
|
5
|
+
export * from './annex-upload';
|
|
6
|
+
export * from './operation-log';
|
|
7
|
+
export * from './country-platform-shop-condition';
|
|
8
|
+
export * from './left-condition';
|
|
9
|
+
export * from './left-condition-enum';
|
|
10
|
+
export * from './drop-down-condition';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { CopyProps } from './copy';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {};
|
|
9
|
+
rootEl: HTMLDivElement;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: DefineComponent<CopyProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CopyProps> & Readonly<{}>, {
|
|
13
|
+
message: string;
|
|
14
|
+
content: string;
|
|
15
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../utils/typescript';
|
|
2
|
+
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
|
|
3
|
+
import { CopyProps } from './copy';
|
|
4
|
+
export declare const YaheeCopy: SFCWithInstall<{
|
|
5
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< CopyProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
6
|
+
message: string;
|
|
7
|
+
content: string;
|
|
8
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
|
|
9
|
+
P: {};
|
|
10
|
+
B: {};
|
|
11
|
+
D: {};
|
|
12
|
+
C: {};
|
|
13
|
+
M: {};
|
|
14
|
+
Defaults: {};
|
|
15
|
+
}, Readonly< CopyProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
16
|
+
message: string;
|
|
17
|
+
content: string;
|
|
18
|
+
}>;
|
|
19
|
+
__isFragment?: never;
|
|
20
|
+
__isTeleport?: never;
|
|
21
|
+
__isSuspense?: never;
|
|
22
|
+
} & ComponentOptionsBase<Readonly< CopyProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
23
|
+
message: string;
|
|
24
|
+
content: string;
|
|
25
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
26
|
+
$slots: {
|
|
27
|
+
default?(_: {}): any;
|
|
28
|
+
};
|
|
29
|
+
})> & Record<string, any>;
|
|
30
|
+
export default YaheeCopy;
|
|
31
|
+
export * from './copy.vue';
|
|
32
|
+
export * from './copy';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface data {
|
|
2
|
+
xGroup: Array<{
|
|
3
|
+
xGroupValue: string;
|
|
4
|
+
xGroupText: string;
|
|
5
|
+
}>;
|
|
6
|
+
yGroup: Array<{
|
|
7
|
+
yGroupValue: string;
|
|
8
|
+
yGroupText: string;
|
|
9
|
+
}>;
|
|
10
|
+
items: Array<{
|
|
11
|
+
title: string;
|
|
12
|
+
xGroupValue: string;
|
|
13
|
+
yGroupValue: string;
|
|
14
|
+
text: string;
|
|
15
|
+
value: number | string;
|
|
16
|
+
}>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { data } from './country-platform-shop-condition';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
xyFilters?: data;
|
|
5
|
+
filterKey: string;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8
|
+
filterChange: (...args: any[]) => void;
|
|
9
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
onFilterChange?: (...args: any[]) => any;
|
|
11
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../utils/typescript';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { data } from './country-platform-shop-condition';
|
|
4
|
+
export declare const YaheeCountryPlatformShopCondition: SFCWithInstall<DefineComponent<{
|
|
5
|
+
xyFilters?: data;
|
|
6
|
+
filterKey: string;
|
|
7
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8
|
+
filterChange: (...args: any[]) => void;
|
|
9
|
+
}, string, PublicProps, Readonly<{
|
|
10
|
+
xyFilters?: data;
|
|
11
|
+
filterKey: string;
|
|
12
|
+
}> & Readonly<{
|
|
13
|
+
onFilterChange?: (...args: any[]) => any;
|
|
14
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>> & Record<string, any>;
|
|
15
|
+
export default YaheeCountryPlatformShopCondition;
|
|
16
|
+
export * from './country-platform-shop-condition.vue';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { DropdownEntity } from './drop-down-condition';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
filterList?: Array<DropdownEntity>;
|
|
5
|
+
totalCount?: number;
|
|
6
|
+
level1Count?: Array<{
|
|
7
|
+
value: string;
|
|
8
|
+
count: number;
|
|
9
|
+
}>;
|
|
10
|
+
level2Count?: Array<{
|
|
11
|
+
value: string;
|
|
12
|
+
count: number;
|
|
13
|
+
}>;
|
|
14
|
+
filterKey: string;
|
|
15
|
+
enumEntity: string;
|
|
16
|
+
noNeedRefreshNumFilterName?: string;
|
|
17
|
+
initFilters?: Function;
|
|
18
|
+
};
|
|
19
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
20
|
+
filterChange: (...args: any[]) => void;
|
|
21
|
+
setNoNeedRefreshNumFilterName: (...args: any[]) => void;
|
|
22
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
|
+
onFilterChange?: (...args: any[]) => any;
|
|
24
|
+
onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
|
|
25
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../utils/typescript';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { DropdownEntity } from './drop-down-condition';
|
|
4
|
+
export declare const YaheeDropDownCondition: SFCWithInstall<DefineComponent<{
|
|
5
|
+
filterList?: Array< DropdownEntity>;
|
|
6
|
+
totalCount?: number;
|
|
7
|
+
level1Count?: Array<{
|
|
8
|
+
value: string;
|
|
9
|
+
count: number;
|
|
10
|
+
}>;
|
|
11
|
+
level2Count?: Array<{
|
|
12
|
+
value: string;
|
|
13
|
+
count: number;
|
|
14
|
+
}>;
|
|
15
|
+
filterKey: string;
|
|
16
|
+
enumEntity: string;
|
|
17
|
+
noNeedRefreshNumFilterName?: string;
|
|
18
|
+
initFilters?: Function;
|
|
19
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
20
|
+
filterChange: (...args: any[]) => void;
|
|
21
|
+
setNoNeedRefreshNumFilterName: (...args: any[]) => void;
|
|
22
|
+
}, string, PublicProps, Readonly<{
|
|
23
|
+
filterList?: Array< DropdownEntity>;
|
|
24
|
+
totalCount?: number;
|
|
25
|
+
level1Count?: Array<{
|
|
26
|
+
value: string;
|
|
27
|
+
count: number;
|
|
28
|
+
}>;
|
|
29
|
+
level2Count?: Array<{
|
|
30
|
+
value: string;
|
|
31
|
+
count: number;
|
|
32
|
+
}>;
|
|
33
|
+
filterKey: string;
|
|
34
|
+
enumEntity: string;
|
|
35
|
+
noNeedRefreshNumFilterName?: string;
|
|
36
|
+
initFilters?: Function;
|
|
37
|
+
}> & Readonly<{
|
|
38
|
+
onFilterChange?: (...args: any[]) => any;
|
|
39
|
+
onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
|
|
40
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>> & Record<string, any>;
|
|
41
|
+
export default YaheeDropDownCondition;
|
|
42
|
+
export * from './drop-down-condition.vue';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { default as ImageUpload } from './image-upload.vue';
|
|
2
|
+
/**
|
|
3
|
+
* 定义props类型
|
|
4
|
+
*/
|
|
5
|
+
export interface ImageUploadProps {
|
|
6
|
+
modelValue: {
|
|
7
|
+
index: number;
|
|
8
|
+
fileId: string;
|
|
9
|
+
fileName: string;
|
|
10
|
+
};
|
|
11
|
+
showDelete?: boolean;
|
|
12
|
+
zoom?: number;
|
|
13
|
+
imgSize?: {
|
|
14
|
+
width: number;
|
|
15
|
+
height: number;
|
|
16
|
+
};
|
|
17
|
+
limitImgSize?: boolean;
|
|
18
|
+
limitFileSize?: boolean;
|
|
19
|
+
fileSize?: number;
|
|
20
|
+
fileSizeUnit?: 'kb' | 'KB' | 'mb' | 'MB';
|
|
21
|
+
fileType?: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* 定义instance类型
|
|
25
|
+
*/
|
|
26
|
+
export type ImageUploadInstance = InstanceType<typeof ImageUpload>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { ImageUploadProps } from './image-upload';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: {
|
|
6
|
+
default?(_: {
|
|
7
|
+
value: string;
|
|
8
|
+
}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: any;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: DefineComponent<ImageUploadProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
15
|
+
change: (...args: any[]) => void;
|
|
16
|
+
"update:modelValue": (...args: any[]) => void;
|
|
17
|
+
}, string, PublicProps, Readonly<ImageUploadProps> & Readonly<{
|
|
18
|
+
onChange?: (...args: any[]) => any;
|
|
19
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
20
|
+
}>, {
|
|
21
|
+
modelValue: {
|
|
22
|
+
index: number;
|
|
23
|
+
fileId: string;
|
|
24
|
+
fileName: string;
|
|
25
|
+
};
|
|
26
|
+
fileType: string;
|
|
27
|
+
showDelete: boolean;
|
|
28
|
+
zoom: number;
|
|
29
|
+
imgSize: {
|
|
30
|
+
width: number;
|
|
31
|
+
height: number;
|
|
32
|
+
};
|
|
33
|
+
limitImgSize: boolean;
|
|
34
|
+
limitFileSize: boolean;
|
|
35
|
+
fileSize: number;
|
|
36
|
+
fileSizeUnit: "kb" | "KB" | "mb" | "MB";
|
|
37
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
38
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
39
|
+
export default _default;
|
|
40
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
41
|
+
new (): {
|
|
42
|
+
$slots: S;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../utils/typescript';
|
|
2
|
+
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
|
|
3
|
+
import { ImageUploadProps } from './image-upload';
|
|
4
|
+
export declare const YaheeImageUpload: SFCWithInstall<{
|
|
5
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ImageUploadProps> & Readonly<{
|
|
6
|
+
onChange?: (...args: any[]) => any;
|
|
7
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
8
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
9
|
+
change: (...args: any[]) => void;
|
|
10
|
+
"update:modelValue": (...args: any[]) => void;
|
|
11
|
+
}, PublicProps, {
|
|
12
|
+
modelValue: {
|
|
13
|
+
index: number;
|
|
14
|
+
fileId: string;
|
|
15
|
+
fileName: string;
|
|
16
|
+
};
|
|
17
|
+
fileType: string;
|
|
18
|
+
showDelete: boolean;
|
|
19
|
+
zoom: number;
|
|
20
|
+
imgSize: {
|
|
21
|
+
width: number;
|
|
22
|
+
height: number;
|
|
23
|
+
};
|
|
24
|
+
limitImgSize: boolean;
|
|
25
|
+
limitFileSize: boolean;
|
|
26
|
+
fileSize: number;
|
|
27
|
+
fileSizeUnit: "kb" | "KB" | "mb" | "MB";
|
|
28
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
29
|
+
P: {};
|
|
30
|
+
B: {};
|
|
31
|
+
D: {};
|
|
32
|
+
C: {};
|
|
33
|
+
M: {};
|
|
34
|
+
Defaults: {};
|
|
35
|
+
}, Readonly< ImageUploadProps> & Readonly<{
|
|
36
|
+
onChange?: (...args: any[]) => any;
|
|
37
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
38
|
+
}>, {}, {}, {}, {}, {
|
|
39
|
+
modelValue: {
|
|
40
|
+
index: number;
|
|
41
|
+
fileId: string;
|
|
42
|
+
fileName: string;
|
|
43
|
+
};
|
|
44
|
+
fileType: string;
|
|
45
|
+
showDelete: boolean;
|
|
46
|
+
zoom: number;
|
|
47
|
+
imgSize: {
|
|
48
|
+
width: number;
|
|
49
|
+
height: number;
|
|
50
|
+
};
|
|
51
|
+
limitImgSize: boolean;
|
|
52
|
+
limitFileSize: boolean;
|
|
53
|
+
fileSize: number;
|
|
54
|
+
fileSizeUnit: "kb" | "KB" | "mb" | "MB";
|
|
55
|
+
}>;
|
|
56
|
+
__isFragment?: never;
|
|
57
|
+
__isTeleport?: never;
|
|
58
|
+
__isSuspense?: never;
|
|
59
|
+
} & ComponentOptionsBase<Readonly< ImageUploadProps> & Readonly<{
|
|
60
|
+
onChange?: (...args: any[]) => any;
|
|
61
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
62
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
63
|
+
change: (...args: any[]) => void;
|
|
64
|
+
"update:modelValue": (...args: any[]) => void;
|
|
65
|
+
}, string, {
|
|
66
|
+
modelValue: {
|
|
67
|
+
index: number;
|
|
68
|
+
fileId: string;
|
|
69
|
+
fileName: string;
|
|
70
|
+
};
|
|
71
|
+
fileType: string;
|
|
72
|
+
showDelete: boolean;
|
|
73
|
+
zoom: number;
|
|
74
|
+
imgSize: {
|
|
75
|
+
width: number;
|
|
76
|
+
height: number;
|
|
77
|
+
};
|
|
78
|
+
limitImgSize: boolean;
|
|
79
|
+
limitFileSize: boolean;
|
|
80
|
+
fileSize: number;
|
|
81
|
+
fileSizeUnit: "kb" | "KB" | "mb" | "MB";
|
|
82
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
83
|
+
$slots: {
|
|
84
|
+
default?(_: {
|
|
85
|
+
value: string;
|
|
86
|
+
}): any;
|
|
87
|
+
};
|
|
88
|
+
})> & Record<string, any>;
|
|
89
|
+
export default YaheeImageUpload;
|
|
90
|
+
export * from './image-upload.vue';
|
|
91
|
+
export * from './image-upload';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../utils/typescript';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { InputProps } from './input';
|
|
4
|
+
export declare const YaheeInput: SFCWithInstall<DefineComponent<InputProps, {
|
|
5
|
+
focus: () => void;
|
|
6
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (value: string) => any;
|
|
8
|
+
}, string, PublicProps, Readonly< InputProps> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
10
|
+
}>, {
|
|
11
|
+
modelValue: string;
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>> & Record<string, any>;
|
|
14
|
+
export default YaheeInput;
|
|
15
|
+
export * from './input.vue';
|
|
16
|
+
export * from './input';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { default as Input } from './input.vue';
|
|
2
|
+
/**
|
|
3
|
+
* 定义props类型
|
|
4
|
+
*/
|
|
5
|
+
export interface InputProps {
|
|
6
|
+
modelValue: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* 定义emit类型
|
|
11
|
+
*/
|
|
12
|
+
export type InputEmits = {
|
|
13
|
+
'update:modelValue': [value: string];
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* 定义instance类型
|
|
17
|
+
*/
|
|
18
|
+
export type InputInstance = InstanceType<typeof Input>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { InputProps } from './input';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare function focus(): void;
|
|
4
|
+
declare const _default: DefineComponent<InputProps, {
|
|
5
|
+
focus: typeof focus;
|
|
6
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (value: string) => any;
|
|
8
|
+
}, string, PublicProps, Readonly<InputProps> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
10
|
+
}>, {
|
|
11
|
+
modelValue: string;
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
14
|
+
export default _default;
|