yahee-components 0.0.8 → 0.0.10
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/annex-upload/annex-upload.vue.js +6 -6
- package/es/api/server.js +13 -0
- package/es/api/tool.js +69 -0
- package/es/comprehensive-search/comprehensive-search.vue.js +1 -1
- package/es/image-upload/image-upload.vue.js +125 -124
- package/es/index.js +21 -16
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/index.js +38 -0
- package/es/operation-log/operation-log-content.vue.js +6 -6
- package/es/operation-log/operation-log-form.vue.js +2 -2
- package/es/operation-log/operation-log-form.vue2.js +17 -17
- package/es/operation-log/operation-log.vue.js +50 -49
- package/es/packages/components/api/log/index.js +15 -0
- package/es/packages/components/api/log-server.js +17 -21
- package/es/packages/components/api/server.js +19 -0
- package/es/packages/components/api/tool.js +57 -0
- package/es/packages/components/api/{requestTools.js → upload-server.js} +13 -10
- package/es/packages/components/hooks/useClipboard.js +16 -14
- package/es/packages/components/hooks/useImport.js +14 -12
- package/es/packages/components/hooks/useUpload.js +9 -9
- package/es/utils/config.js +19 -0
- package/es/utils/const.js +19 -0
- package/es/utils/translate.js +33 -31
- package/package.json +1 -1
- 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 -1204
- package/types/src/annex-upload/annex-upload.d.ts +30 -0
- package/types/src/annex-upload/annex-upload.vue.d.ts +443 -0
- package/types/src/annex-upload/index.d.ts +123 -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/components.d.ts +6 -0
- package/types/src/comprehensive-search/comprehensive-search.d.ts +12 -0
- package/types/src/comprehensive-search/comprehensive-search.vue.d.ts +33 -0
- package/types/src/comprehensive-search/index.d.ts +36 -0
- package/types/src/copy/copy.d.ts +12 -0
- package/types/src/copy/copy.vue.d.ts +21 -0
- package/types/src/copy/index.d.ts +32 -0
- package/types/src/image-upload/image-upload.d.ts +26 -0
- package/types/src/image-upload/image-upload.vue.d.ts +43 -0
- package/types/src/image-upload/index.d.ts +94 -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 +278 -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/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/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/packages/components/api/remarkApi.js +0 -15
- package/es/packages/components/api/requestRemark.js +0 -47
- package/lib/_virtual/_commonjsHelpers.js +0 -1
- package/lib/_virtual/_plugin-vue_export-helper.js +0 -1
- package/lib/_virtual/dayjs.min.js +0 -1
- package/lib/_virtual/lodash.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/comprehensive-search/comprehensive-search.vue.js +0 -1
- package/lib/comprehensive-search/comprehensive-search.vue2.js +0 -1
- package/lib/comprehensive-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/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/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/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js +0 -1
- package/lib/node_modules/.pnpm/element-plus@2.8.3_vue@3.5.4_typescript@5.6.2_/node_modules/element-plus/es/locale/lang/zh-cn.js +0 -1
- package/lib/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js +0 -27
- package/lib/node_modules/.pnpm/v3-infinite-loading@1.3.2/node_modules/v3-infinite-loading/lib/v3-infinite-loading.es.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-server.js +0 -1
- package/lib/packages/components/api/remarkApi.js +0 -1
- package/lib/packages/components/api/requestRemark.js +0 -1
- package/lib/packages/components/api/requestTools.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/utils/install.js +0 -1
- package/lib/utils/storage.js +0 -1
- package/lib/utils/translate.js +0 -1
- /package/es/node_modules/.pnpm/{element-plus@2.8.3_vue@3.5.4_typescript@5.6.2_ → element-plus@2.8.3_vue@3.5.12_typescript@5.6.2_}/node_modules/element-plus/es/locale/lang/zh-cn.js +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as ComprehensiveSearch } from './comprehensive-search.vue';
|
|
2
|
+
/**
|
|
3
|
+
* 定义instance类型
|
|
4
|
+
*/
|
|
5
|
+
export type ComprehensiveSearchInstance = InstanceType<typeof ComprehensiveSearch>;
|
|
6
|
+
/**
|
|
7
|
+
* 综合搜索下拉选项
|
|
8
|
+
*/
|
|
9
|
+
export type SearchOptions = {
|
|
10
|
+
value: string;
|
|
11
|
+
label: string;
|
|
12
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { SearchOptions } from './comprehensive-search';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<{
|
|
4
|
+
dealSearch?: (selectedSearchType: string, searchQuery: string) => void;
|
|
5
|
+
confirmSearch?: () => void;
|
|
6
|
+
pasteFormat?: () => void;
|
|
7
|
+
isInSearchChange?: () => void;
|
|
8
|
+
defaultSearch?: string;
|
|
9
|
+
options?: SearchOptions[];
|
|
10
|
+
placeholderText?: string;
|
|
11
|
+
showPatchSearch?: boolean;
|
|
12
|
+
showPatchCheckbox?: boolean;
|
|
13
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
14
|
+
dealSearch?: (selectedSearchType: string, searchQuery: string) => void;
|
|
15
|
+
confirmSearch?: () => void;
|
|
16
|
+
pasteFormat?: () => void;
|
|
17
|
+
isInSearchChange?: () => void;
|
|
18
|
+
defaultSearch?: string;
|
|
19
|
+
options?: SearchOptions[];
|
|
20
|
+
placeholderText?: string;
|
|
21
|
+
showPatchSearch?: boolean;
|
|
22
|
+
showPatchCheckbox?: boolean;
|
|
23
|
+
}> & Readonly<{}>, {
|
|
24
|
+
dealSearch: (selectedSearchType: string, searchQuery: string) => void;
|
|
25
|
+
pasteFormat: () => void;
|
|
26
|
+
confirmSearch: () => void;
|
|
27
|
+
isInSearchChange: () => void;
|
|
28
|
+
defaultSearch: string;
|
|
29
|
+
options: SearchOptions[];
|
|
30
|
+
placeholderText: string;
|
|
31
|
+
showPatchSearch: boolean;
|
|
32
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
33
|
+
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../utils/typescript';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { SearchOptions } from './comprehensive-search';
|
|
4
|
+
export declare const YaheeComprehensiveSearch: SFCWithInstall<DefineComponent<{
|
|
5
|
+
dealSearch?: (selectedSearchType: string, searchQuery: string) => void;
|
|
6
|
+
confirmSearch?: () => void;
|
|
7
|
+
pasteFormat?: () => void;
|
|
8
|
+
isInSearchChange?: () => void;
|
|
9
|
+
defaultSearch?: string;
|
|
10
|
+
options?: SearchOptions[];
|
|
11
|
+
placeholderText?: string;
|
|
12
|
+
showPatchSearch?: boolean;
|
|
13
|
+
showPatchCheckbox?: boolean;
|
|
14
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
15
|
+
dealSearch?: (selectedSearchType: string, searchQuery: string) => void;
|
|
16
|
+
confirmSearch?: () => void;
|
|
17
|
+
pasteFormat?: () => void;
|
|
18
|
+
isInSearchChange?: () => void;
|
|
19
|
+
defaultSearch?: string;
|
|
20
|
+
options?: SearchOptions[];
|
|
21
|
+
placeholderText?: string;
|
|
22
|
+
showPatchSearch?: boolean;
|
|
23
|
+
showPatchCheckbox?: boolean;
|
|
24
|
+
}> & Readonly<{}>, {
|
|
25
|
+
dealSearch: (selectedSearchType: string, searchQuery: string) => void;
|
|
26
|
+
pasteFormat: () => void;
|
|
27
|
+
confirmSearch: () => void;
|
|
28
|
+
isInSearchChange: () => void;
|
|
29
|
+
defaultSearch: string;
|
|
30
|
+
options: SearchOptions[];
|
|
31
|
+
placeholderText: string;
|
|
32
|
+
showPatchSearch: boolean;
|
|
33
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
34
|
+
export default YaheeComprehensiveSearch;
|
|
35
|
+
export * from './comprehensive-search.vue';
|
|
36
|
+
export * from './comprehensive-search';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CopyProps } from './copy';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: DefineComponent<CopyProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CopyProps> & Readonly<{}>, {
|
|
12
|
+
message: string;
|
|
13
|
+
content: string;
|
|
14
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../utils/typescript';
|
|
2
|
+
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase } from 'vue';
|
|
3
|
+
import { CopyProps } from './copy';
|
|
4
|
+
export declare const YaheeCopy: SFCWithInstall<{
|
|
5
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< CopyProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< CopyProps> & Readonly<{}>, {
|
|
6
|
+
message: string;
|
|
7
|
+
content: string;
|
|
8
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, 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,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,43 @@
|
|
|
1
|
+
import { ImageUploadProps } from './image-upload';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {
|
|
6
|
+
value: string;
|
|
7
|
+
}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
attrs: Partial<{}>;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: DefineComponent<ImageUploadProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
14
|
+
change: (...args: any[]) => void;
|
|
15
|
+
"update:modelValue": (...args: any[]) => void;
|
|
16
|
+
}, string, PublicProps, Readonly<ImageUploadProps> & Readonly<{
|
|
17
|
+
onChange?: (...args: any[]) => any;
|
|
18
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
19
|
+
}>, {
|
|
20
|
+
modelValue: {
|
|
21
|
+
index: number;
|
|
22
|
+
fileId: string;
|
|
23
|
+
fileName: string;
|
|
24
|
+
};
|
|
25
|
+
fileType: string;
|
|
26
|
+
showDelete: boolean;
|
|
27
|
+
zoom: number;
|
|
28
|
+
imgSize: {
|
|
29
|
+
width: number;
|
|
30
|
+
height: number;
|
|
31
|
+
};
|
|
32
|
+
limitImgSize: boolean;
|
|
33
|
+
limitFileSize: boolean;
|
|
34
|
+
fileSize: number;
|
|
35
|
+
fileSizeUnit: "kb" | "KB" | "mb" | "MB";
|
|
36
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
37
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
38
|
+
export default _default;
|
|
39
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
40
|
+
new (): {
|
|
41
|
+
$slots: S;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../utils/typescript';
|
|
2
|
+
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase } 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
|
+
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ImageUploadProps> & Readonly<{
|
|
12
|
+
onChange?: (...args: any[]) => any;
|
|
13
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
14
|
+
}>, {
|
|
15
|
+
modelValue: {
|
|
16
|
+
index: number;
|
|
17
|
+
fileId: string;
|
|
18
|
+
fileName: string;
|
|
19
|
+
};
|
|
20
|
+
fileType: string;
|
|
21
|
+
showDelete: boolean;
|
|
22
|
+
zoom: number;
|
|
23
|
+
imgSize: {
|
|
24
|
+
width: number;
|
|
25
|
+
height: number;
|
|
26
|
+
};
|
|
27
|
+
limitImgSize: boolean;
|
|
28
|
+
limitFileSize: boolean;
|
|
29
|
+
fileSize: number;
|
|
30
|
+
fileSizeUnit: "kb" | "KB" | "mb" | "MB";
|
|
31
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
32
|
+
P: {};
|
|
33
|
+
B: {};
|
|
34
|
+
D: {};
|
|
35
|
+
C: {};
|
|
36
|
+
M: {};
|
|
37
|
+
Defaults: {};
|
|
38
|
+
}, Readonly< ImageUploadProps> & Readonly<{
|
|
39
|
+
onChange?: (...args: any[]) => any;
|
|
40
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
41
|
+
}>, {}, {}, {}, {}, {
|
|
42
|
+
modelValue: {
|
|
43
|
+
index: number;
|
|
44
|
+
fileId: string;
|
|
45
|
+
fileName: string;
|
|
46
|
+
};
|
|
47
|
+
fileType: string;
|
|
48
|
+
showDelete: boolean;
|
|
49
|
+
zoom: number;
|
|
50
|
+
imgSize: {
|
|
51
|
+
width: number;
|
|
52
|
+
height: number;
|
|
53
|
+
};
|
|
54
|
+
limitImgSize: boolean;
|
|
55
|
+
limitFileSize: boolean;
|
|
56
|
+
fileSize: number;
|
|
57
|
+
fileSizeUnit: "kb" | "KB" | "mb" | "MB";
|
|
58
|
+
}>;
|
|
59
|
+
__isFragment?: never;
|
|
60
|
+
__isTeleport?: never;
|
|
61
|
+
__isSuspense?: never;
|
|
62
|
+
} & ComponentOptionsBase<Readonly< ImageUploadProps> & Readonly<{
|
|
63
|
+
onChange?: (...args: any[]) => any;
|
|
64
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
65
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
66
|
+
change: (...args: any[]) => void;
|
|
67
|
+
"update:modelValue": (...args: any[]) => void;
|
|
68
|
+
}, string, {
|
|
69
|
+
modelValue: {
|
|
70
|
+
index: number;
|
|
71
|
+
fileId: string;
|
|
72
|
+
fileName: string;
|
|
73
|
+
};
|
|
74
|
+
fileType: string;
|
|
75
|
+
showDelete: boolean;
|
|
76
|
+
zoom: number;
|
|
77
|
+
imgSize: {
|
|
78
|
+
width: number;
|
|
79
|
+
height: number;
|
|
80
|
+
};
|
|
81
|
+
limitImgSize: boolean;
|
|
82
|
+
limitFileSize: boolean;
|
|
83
|
+
fileSize: number;
|
|
84
|
+
fileSizeUnit: "kb" | "KB" | "mb" | "MB";
|
|
85
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
86
|
+
$slots: {
|
|
87
|
+
default?(_: {
|
|
88
|
+
value: string;
|
|
89
|
+
}): any;
|
|
90
|
+
};
|
|
91
|
+
})> & Record<string, any>;
|
|
92
|
+
export default YaheeImageUpload;
|
|
93
|
+
export * from './image-upload.vue';
|
|
94
|
+
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, {}, any>> & 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, {}, any>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
import { SFCWithInstall } from './utils/typescript';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, VNodeProps, AllowedComponentProps, ComponentCustomProps, GlobalComponents, GlobalDirectives, ComponentOptionsBase } from 'vue';
|
|
3
|
+
import { InputProps } from './input';
|
|
4
|
+
import { SearchOptions } from './comprehensive-search';
|
|
5
|
+
import { CopyProps } from './copy';
|
|
6
|
+
import { ImageUploadProps } from './image-upload';
|
|
7
|
+
import { OperationLogProps } from './operation-log';
|
|
8
|
+
import { AnnexUploadProps } from './annex-upload';
|
|
9
|
+
declare const _default: (( SFCWithInstall<DefineComponent<InputProps, {
|
|
10
|
+
focus: () => void;
|
|
11
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12
|
+
"update:modelValue": (value: string) => any;
|
|
13
|
+
}, string, PublicProps, Readonly< InputProps> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
15
|
+
}>, {
|
|
16
|
+
modelValue: string;
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>> & Record<string, any>) | ( SFCWithInstall<DefineComponent<{
|
|
19
|
+
dealSearch?: (selectedSearchType: string, searchQuery: string) => void;
|
|
20
|
+
confirmSearch?: () => void;
|
|
21
|
+
pasteFormat?: () => void;
|
|
22
|
+
isInSearchChange?: () => void;
|
|
23
|
+
defaultSearch?: string;
|
|
24
|
+
options?: SearchOptions[];
|
|
25
|
+
placeholderText?: string;
|
|
26
|
+
showPatchSearch?: boolean;
|
|
27
|
+
showPatchCheckbox?: boolean;
|
|
28
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
29
|
+
dealSearch?: (selectedSearchType: string, searchQuery: string) => void;
|
|
30
|
+
confirmSearch?: () => void;
|
|
31
|
+
pasteFormat?: () => void;
|
|
32
|
+
isInSearchChange?: () => void;
|
|
33
|
+
defaultSearch?: string;
|
|
34
|
+
options?: SearchOptions[];
|
|
35
|
+
placeholderText?: string;
|
|
36
|
+
showPatchSearch?: boolean;
|
|
37
|
+
showPatchCheckbox?: boolean;
|
|
38
|
+
}> & Readonly<{}>, {
|
|
39
|
+
dealSearch: (selectedSearchType: string, searchQuery: string) => void;
|
|
40
|
+
pasteFormat: () => void;
|
|
41
|
+
confirmSearch: () => void;
|
|
42
|
+
isInSearchChange: () => void;
|
|
43
|
+
defaultSearch: string;
|
|
44
|
+
options: SearchOptions[];
|
|
45
|
+
placeholderText: string;
|
|
46
|
+
showPatchSearch: boolean;
|
|
47
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>) | ( SFCWithInstall<{
|
|
48
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< CopyProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< CopyProps> & Readonly<{}>, {
|
|
49
|
+
message: string;
|
|
50
|
+
content: string;
|
|
51
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
52
|
+
P: {};
|
|
53
|
+
B: {};
|
|
54
|
+
D: {};
|
|
55
|
+
C: {};
|
|
56
|
+
M: {};
|
|
57
|
+
Defaults: {};
|
|
58
|
+
}, Readonly< CopyProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
59
|
+
message: string;
|
|
60
|
+
content: string;
|
|
61
|
+
}>;
|
|
62
|
+
__isFragment?: never;
|
|
63
|
+
__isTeleport?: never;
|
|
64
|
+
__isSuspense?: never;
|
|
65
|
+
} & ComponentOptionsBase<Readonly< CopyProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
66
|
+
message: string;
|
|
67
|
+
content: string;
|
|
68
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
69
|
+
$slots: {
|
|
70
|
+
default?(_: {}): any;
|
|
71
|
+
};
|
|
72
|
+
})> & Record<string, any>) | ( SFCWithInstall<{
|
|
73
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ImageUploadProps> & Readonly<{
|
|
74
|
+
onChange?: (...args: any[]) => any;
|
|
75
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
76
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
77
|
+
change: (...args: any[]) => void;
|
|
78
|
+
"update:modelValue": (...args: any[]) => void;
|
|
79
|
+
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ImageUploadProps> & Readonly<{
|
|
80
|
+
onChange?: (...args: any[]) => any;
|
|
81
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
82
|
+
}>, {
|
|
83
|
+
modelValue: {
|
|
84
|
+
index: number;
|
|
85
|
+
fileId: string;
|
|
86
|
+
fileName: string;
|
|
87
|
+
};
|
|
88
|
+
fileType: string;
|
|
89
|
+
showDelete: boolean;
|
|
90
|
+
zoom: number;
|
|
91
|
+
imgSize: {
|
|
92
|
+
width: number;
|
|
93
|
+
height: number;
|
|
94
|
+
};
|
|
95
|
+
limitImgSize: boolean;
|
|
96
|
+
limitFileSize: boolean;
|
|
97
|
+
fileSize: number;
|
|
98
|
+
fileSizeUnit: "kb" | "KB" | "mb" | "MB";
|
|
99
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
100
|
+
P: {};
|
|
101
|
+
B: {};
|
|
102
|
+
D: {};
|
|
103
|
+
C: {};
|
|
104
|
+
M: {};
|
|
105
|
+
Defaults: {};
|
|
106
|
+
}, Readonly< ImageUploadProps> & Readonly<{
|
|
107
|
+
onChange?: (...args: any[]) => any;
|
|
108
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
109
|
+
}>, {}, {}, {}, {}, {
|
|
110
|
+
modelValue: {
|
|
111
|
+
index: number;
|
|
112
|
+
fileId: string;
|
|
113
|
+
fileName: string;
|
|
114
|
+
};
|
|
115
|
+
fileType: string;
|
|
116
|
+
showDelete: boolean;
|
|
117
|
+
zoom: number;
|
|
118
|
+
imgSize: {
|
|
119
|
+
width: number;
|
|
120
|
+
height: number;
|
|
121
|
+
};
|
|
122
|
+
limitImgSize: boolean;
|
|
123
|
+
limitFileSize: boolean;
|
|
124
|
+
fileSize: number;
|
|
125
|
+
fileSizeUnit: "kb" | "KB" | "mb" | "MB";
|
|
126
|
+
}>;
|
|
127
|
+
__isFragment?: never;
|
|
128
|
+
__isTeleport?: never;
|
|
129
|
+
__isSuspense?: never;
|
|
130
|
+
} & ComponentOptionsBase<Readonly< ImageUploadProps> & Readonly<{
|
|
131
|
+
onChange?: (...args: any[]) => any;
|
|
132
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
133
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
134
|
+
change: (...args: any[]) => void;
|
|
135
|
+
"update:modelValue": (...args: any[]) => void;
|
|
136
|
+
}, string, {
|
|
137
|
+
modelValue: {
|
|
138
|
+
index: number;
|
|
139
|
+
fileId: string;
|
|
140
|
+
fileName: string;
|
|
141
|
+
};
|
|
142
|
+
fileType: string;
|
|
143
|
+
showDelete: boolean;
|
|
144
|
+
zoom: number;
|
|
145
|
+
imgSize: {
|
|
146
|
+
width: number;
|
|
147
|
+
height: number;
|
|
148
|
+
};
|
|
149
|
+
limitImgSize: boolean;
|
|
150
|
+
limitFileSize: boolean;
|
|
151
|
+
fileSize: number;
|
|
152
|
+
fileSizeUnit: "kb" | "KB" | "mb" | "MB";
|
|
153
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
154
|
+
$slots: {
|
|
155
|
+
default?(_: {
|
|
156
|
+
value: string;
|
|
157
|
+
}): any;
|
|
158
|
+
};
|
|
159
|
+
})> & Record<string, any>) | ( SFCWithInstall<DefineComponent<OperationLogProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< OperationLogProps> & Readonly<{}>, {
|
|
160
|
+
projectId: string;
|
|
161
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>> & Record<string, any>) | ( SFCWithInstall<{
|
|
162
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< AnnexUploadProps> & Readonly<{
|
|
163
|
+
onChange?: (...args: any[]) => any;
|
|
164
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
165
|
+
onSuccess?: (...args: any[]) => any;
|
|
166
|
+
onRemove?: (...args: any[]) => any;
|
|
167
|
+
}>, {
|
|
168
|
+
clearFiles: () => Promise<void>;
|
|
169
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
170
|
+
change: (...args: any[]) => void;
|
|
171
|
+
"update:modelValue": (...args: any[]) => void;
|
|
172
|
+
success: (...args: any[]) => void;
|
|
173
|
+
remove: (...args: any[]) => void;
|
|
174
|
+
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< AnnexUploadProps> & Readonly<{
|
|
175
|
+
onChange?: (...args: any[]) => any;
|
|
176
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
177
|
+
onSuccess?: (...args: any[]) => any;
|
|
178
|
+
onRemove?: (...args: any[]) => any;
|
|
179
|
+
}>, {
|
|
180
|
+
modelValue: {
|
|
181
|
+
index: number;
|
|
182
|
+
fileId: string;
|
|
183
|
+
fileName: string;
|
|
184
|
+
}[];
|
|
185
|
+
validateEvent: boolean;
|
|
186
|
+
fileType: string;
|
|
187
|
+
limitFileSize: boolean;
|
|
188
|
+
fileSize: number;
|
|
189
|
+
fileSizeUnit: "kb" | "KB" | "mb" | "MB";
|
|
190
|
+
accept: string;
|
|
191
|
+
fileList: {
|
|
192
|
+
name: string;
|
|
193
|
+
url: string;
|
|
194
|
+
}[];
|
|
195
|
+
limit: number;
|
|
196
|
+
showList: boolean;
|
|
197
|
+
checkRealType: boolean;
|
|
198
|
+
uploadType: "upload" | "import";
|
|
199
|
+
showTips: boolean;
|
|
200
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
201
|
+
P: {};
|
|
202
|
+
B: {};
|
|
203
|
+
D: {};
|
|
204
|
+
C: {};
|
|
205
|
+
M: {};
|
|
206
|
+
Defaults: {};
|
|
207
|
+
}, Readonly< AnnexUploadProps> & Readonly<{
|
|
208
|
+
onChange?: (...args: any[]) => any;
|
|
209
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
210
|
+
onSuccess?: (...args: any[]) => any;
|
|
211
|
+
onRemove?: (...args: any[]) => any;
|
|
212
|
+
}>, {
|
|
213
|
+
clearFiles: () => Promise<void>;
|
|
214
|
+
}, {}, {}, {}, {
|
|
215
|
+
modelValue: {
|
|
216
|
+
index: number;
|
|
217
|
+
fileId: string;
|
|
218
|
+
fileName: string;
|
|
219
|
+
}[];
|
|
220
|
+
validateEvent: boolean;
|
|
221
|
+
fileType: string;
|
|
222
|
+
limitFileSize: boolean;
|
|
223
|
+
fileSize: number;
|
|
224
|
+
fileSizeUnit: "kb" | "KB" | "mb" | "MB";
|
|
225
|
+
accept: string;
|
|
226
|
+
fileList: {
|
|
227
|
+
name: string;
|
|
228
|
+
url: string;
|
|
229
|
+
}[];
|
|
230
|
+
limit: number;
|
|
231
|
+
showList: boolean;
|
|
232
|
+
checkRealType: boolean;
|
|
233
|
+
uploadType: "upload" | "import";
|
|
234
|
+
showTips: boolean;
|
|
235
|
+
}>;
|
|
236
|
+
__isFragment?: never;
|
|
237
|
+
__isTeleport?: never;
|
|
238
|
+
__isSuspense?: never;
|
|
239
|
+
} & ComponentOptionsBase<Readonly< AnnexUploadProps> & Readonly<{
|
|
240
|
+
onChange?: (...args: any[]) => any;
|
|
241
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
242
|
+
onSuccess?: (...args: any[]) => any;
|
|
243
|
+
onRemove?: (...args: any[]) => any;
|
|
244
|
+
}>, {
|
|
245
|
+
clearFiles: () => Promise<void>;
|
|
246
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
247
|
+
change: (...args: any[]) => void;
|
|
248
|
+
"update:modelValue": (...args: any[]) => void;
|
|
249
|
+
success: (...args: any[]) => void;
|
|
250
|
+
remove: (...args: any[]) => void;
|
|
251
|
+
}, string, {
|
|
252
|
+
modelValue: {
|
|
253
|
+
index: number;
|
|
254
|
+
fileId: string;
|
|
255
|
+
fileName: string;
|
|
256
|
+
}[];
|
|
257
|
+
validateEvent: boolean;
|
|
258
|
+
fileType: string;
|
|
259
|
+
limitFileSize: boolean;
|
|
260
|
+
fileSize: number;
|
|
261
|
+
fileSizeUnit: "kb" | "KB" | "mb" | "MB";
|
|
262
|
+
accept: string;
|
|
263
|
+
fileList: {
|
|
264
|
+
name: string;
|
|
265
|
+
url: string;
|
|
266
|
+
}[];
|
|
267
|
+
limit: number;
|
|
268
|
+
showList: boolean;
|
|
269
|
+
checkRealType: boolean;
|
|
270
|
+
uploadType: "upload" | "import";
|
|
271
|
+
showTips: boolean;
|
|
272
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
273
|
+
$slots: {
|
|
274
|
+
default?(_: {}): any;
|
|
275
|
+
tip?(_: {}): any;
|
|
276
|
+
};
|
|
277
|
+
})> & Record<string, any>))[];
|
|
278
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../utils/typescript';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { OperationLogProps } from './operation-log';
|
|
4
|
+
export declare const YaheeOperationLog: SFCWithInstall<DefineComponent<OperationLogProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< OperationLogProps> & Readonly<{}>, {
|
|
5
|
+
projectId: string;
|
|
6
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>> & Record<string, any>;
|
|
7
|
+
export default YaheeOperationLog;
|
|
8
|
+
export * from './operation-log.vue';
|
|
9
|
+
export * from './operation-log';
|