giime 0.7.10 → 0.7.12
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/dist/index.css +143 -143
- package/es/components/index.mjs +2 -0
- package/es/components/index.mjs.map +1 -1
- package/es/components/src/base/carousel/Carousel.vue.d.ts +1 -0
- package/es/components/src/base/carousel/Carousel.vue2.mjs +1 -1
- package/es/components/src/base/carousel/Carousel.vue2.mjs.map +1 -1
- package/es/components/src/base/carousel/index.d.ts +3 -0
- package/es/components/src/composite/fileComponent/FileComponent.vue.d.ts +41 -5
- package/es/components/src/composite/fileComponent/FileComponent.vue2.mjs +47 -28
- package/es/components/src/composite/fileComponent/FileComponent.vue2.mjs.map +1 -1
- package/es/components/src/composite/fileComponent/fileComponent.d.ts +13 -1
- package/es/components/src/composite/fileComponent/fileComponent.mjs +12 -0
- package/es/components/src/composite/fileComponent/fileComponent.mjs.map +1 -1
- package/es/components/src/composite/fileComponent/index.d.ts +190 -31
- package/es/components/src/composite/fileList2/FileList.vue.d.ts +158 -0
- package/es/components/src/composite/fileList2/FileList.vue.mjs +6 -0
- package/es/components/src/composite/fileList2/FileList.vue.mjs.map +1 -0
- package/es/components/src/composite/fileList2/FileList.vue2.mjs +93 -0
- package/es/components/src/composite/fileList2/FileList.vue2.mjs.map +1 -0
- package/es/components/src/composite/fileList2/fileList.d.ts +71 -0
- package/es/components/src/composite/fileList2/fileList.mjs +40 -0
- package/es/components/src/composite/fileList2/fileList.mjs.map +1 -0
- package/es/components/src/composite/fileList2/index.d.ts +334 -0
- package/es/components/src/composite/fileList2/index.mjs +10 -0
- package/es/components/src/composite/fileList2/index.mjs.map +1 -0
- package/es/components/src/composite/index.d.ts +1 -0
- package/es/components/src/composite/index.mjs +2 -0
- package/es/components/src/composite/index.mjs.map +1 -1
- package/es/components/src/composite/previewFile/PreviewFile.vue.d.ts +42 -6
- package/es/components/src/composite/previewFile/PreviewFile.vue2.mjs +8 -6
- package/es/components/src/composite/previewFile/PreviewFile.vue2.mjs.map +1 -1
- package/es/components/src/composite/previewFile/index.d.ts +42 -6
- package/es/components/src/composite/previewFile/previewFile.d.ts +19 -2
- package/es/components/src/composite/previewFile/previewFile.mjs +6 -1
- package/es/components/src/composite/previewFile/previewFile.mjs.map +1 -1
- package/es/components/src/composite/uploadFile/UploadFile.vue.d.ts +48 -3
- package/es/components/src/composite/uploadFile/index.d.ts +102 -7
- package/es/components/src/composite/uploadFile/uploadFile.d.ts +22 -2
- package/es/giime/component.mjs +4 -0
- package/es/giime/component.mjs.map +1 -1
- package/es/giime/index.mjs +2 -0
- package/es/giime/index.mjs.map +1 -1
- package/es/giime/version.d.ts +1 -1
- package/es/giime/version.mjs +1 -1
- package/es/giime/version.mjs.map +1 -1
- package/es/index.css +143 -143
- package/global.d.ts +2 -0
- package/lib/components/index.js +18 -14
- package/lib/components/index.js.map +1 -1
- package/lib/components/src/base/carousel/Carousel.vue.d.ts +1 -0
- package/lib/components/src/base/carousel/Carousel.vue2.js +1 -1
- package/lib/components/src/base/carousel/Carousel.vue2.js.map +1 -1
- package/lib/components/src/base/carousel/index.d.ts +3 -0
- package/lib/components/src/composite/fileComponent/FileComponent.vue.d.ts +41 -5
- package/lib/components/src/composite/fileComponent/FileComponent.vue2.js +46 -27
- package/lib/components/src/composite/fileComponent/FileComponent.vue2.js.map +1 -1
- package/lib/components/src/composite/fileComponent/fileComponent.d.ts +13 -1
- package/lib/components/src/composite/fileComponent/fileComponent.js +12 -0
- package/lib/components/src/composite/fileComponent/fileComponent.js.map +1 -1
- package/lib/components/src/composite/fileComponent/index.d.ts +190 -31
- package/lib/components/src/composite/fileList2/FileList.vue.d.ts +158 -0
- package/lib/components/src/composite/fileList2/FileList.vue.js +10 -0
- package/lib/components/src/composite/fileList2/FileList.vue.js.map +1 -0
- package/lib/components/src/composite/fileList2/FileList.vue2.js +97 -0
- package/lib/components/src/composite/fileList2/FileList.vue2.js.map +1 -0
- package/lib/components/src/composite/fileList2/fileList.d.ts +71 -0
- package/lib/components/src/composite/fileList2/fileList.js +42 -0
- package/lib/components/src/composite/fileList2/fileList.js.map +1 -0
- package/lib/components/src/composite/fileList2/index.d.ts +334 -0
- package/lib/components/src/composite/fileList2/index.js +16 -0
- package/lib/components/src/composite/fileList2/index.js.map +1 -0
- package/lib/components/src/composite/index.d.ts +1 -0
- package/lib/components/src/composite/index.js +4 -0
- package/lib/components/src/composite/index.js.map +1 -1
- package/lib/components/src/composite/previewFile/PreviewFile.vue.d.ts +42 -6
- package/lib/components/src/composite/previewFile/PreviewFile.vue2.js +7 -5
- package/lib/components/src/composite/previewFile/PreviewFile.vue2.js.map +1 -1
- package/lib/components/src/composite/previewFile/index.d.ts +42 -6
- package/lib/components/src/composite/previewFile/previewFile.d.ts +19 -2
- package/lib/components/src/composite/previewFile/previewFile.js +6 -1
- package/lib/components/src/composite/previewFile/previewFile.js.map +1 -1
- package/lib/components/src/composite/uploadFile/UploadFile.vue.d.ts +48 -3
- package/lib/components/src/composite/uploadFile/index.d.ts +102 -7
- package/lib/components/src/composite/uploadFile/uploadFile.d.ts +22 -2
- package/lib/giime/component.js +32 -28
- package/lib/giime/component.js.map +1 -1
- package/lib/giime/index.js +80 -76
- package/lib/giime/index.js.map +1 -1
- package/lib/giime/version.d.ts +1 -1
- package/lib/giime/version.js +1 -1
- package/lib/giime/version.js.map +1 -1
- package/lib/index.css +143 -143
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PreviewFile.vue2.js","sources":["../../../../../../../packages/components/src/composite/previewFile/PreviewFile.vue"],"sourcesContent":["<template>\n <el-dialog v-model=\"dialogVisible\" title=\"预览\" :width=\"
|
|
1
|
+
{"version":3,"file":"PreviewFile.vue2.js","sources":["../../../../../../../packages/components/src/composite/previewFile/PreviewFile.vue"],"sourcesContent":["<template>\n <el-dialog v-model=\"dialogVisible\" title=\"预览\" :width=\"previewWidth\" top=\"10vh\" append-to-body destroy-on-close>\n <template #header>\n <div class=\"gm-flex gm-items-center gm-justify-between\">\n <span>预览</span>\n <el-button v-if=\"openPreviewDownload\" type=\"primary\" size=\"default\" link @click=\"download\">下载</el-button>\n </div>\n </template>\n <div class=\"gm-flex gm-select-none gm-items-center gm-justify-center gm-gap-4\">\n <div v-if=\"files.length > 1\" class=\"gm-cursor-pointer\" @click=\"prev\">\n <el-icon :size=\"40\"><ArrowLeftBold /></el-icon>\n </div>\n <div class=\"gm-flex gm-flex-1 gm-items-center gm-justify-center\" style=\"height: calc(80vh - 72px)\">\n <GmFileComponent v-bind=\"fileProps\" />\n </div>\n <div v-if=\"files.length > 1\" class=\"gm-cursor-pointer\" @click=\"next\">\n <el-icon :size=\"40\"><ArrowRightBold /></el-icon>\n </div>\n </div>\n </el-dialog>\n</template>\n\n<script setup lang=\"ts\">\nimport { computed } from 'vue';\nimport { ElMessage } from 'element-plus';\nimport { useDownload } from '@giime/hooks/base/useDownload';\nimport { ArrowLeftBold, ArrowRightBold } from '@element-plus/icons-vue';\nimport GmFileComponent from '../fileComponent';\nimport { previewFileProps } from './previewFile';\nimport type { UploadFile } from 'element-plus';\n\ndefineOptions({\n name: 'GmPreviewFile',\n});\n\nconst props = defineProps(previewFileProps);\nconst dialogVisible = defineModel<boolean>('dialogVisible', { default: false });\nconst fileIndex = defineModel<number>('fileIndex', { default: 0 });\n\nconst downloadMethod = useDownload();\n\nconst files = computed(() => {\n let result: Partial<UploadFile>[] = props.fileList;\n if (props.fileList && !props.fileList.length && props.file) {\n result = [props.file];\n }\n return result;\n});\n\nconst fileProps = computed(() => {\n const file = files.value[fileIndex.value];\n return {\n file,\n controls: props.controls,\n oncontextmenu: props.oncontextmenu,\n controlslist: props.controlslist,\n field: props.field,\n url: props.url,\n size: props.size,\n };\n});\n\nconst prev = () => {\n if (fileIndex.value > 0) {\n fileIndex.value--;\n return;\n }\n ElMessage.warning('已经是第一张了');\n};\n\nconst next = () => {\n if (fileIndex.value < props.fileList.length - 1) {\n fileIndex.value++;\n return;\n }\n ElMessage.warning('没有更多了!');\n};\n\nconst download = () => {\n const file = files.value[fileIndex.value];\n const url = (file[props.url as keyof UploadFile] || file.url || '') as string;\n downloadMethod.downloadByUrl(url, { filename: file.name });\n};\n</script>\n"],"names":["_useModel","useDownload","computed","ElMessage"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmCA,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AACd,IAAM,MAAA,aAAA,GAAgBA,YAAqB,CAAA,OAAA,EAAA,eAAmC,CAAA,CAAA;AAC9E,IAAM,MAAA,SAAA,GAAYA,YAAmB,CAAA,OAAA,EAAC,WAA2B,CAAA,CAAA;AAEjE,IAAA,MAAM,iBAAiBC,iBAAY,EAAA,CAAA;AAEnC,IAAM,MAAA,KAAA,GAAQC,aAAS,MAAM;AAC3B,MAAA,IAAI,SAAgC,KAAM,CAAA,QAAA,CAAA;AAC1C,MAAA,IAAI,MAAM,QAAY,IAAA,CAAC,MAAM,QAAS,CAAA,MAAA,IAAU,MAAM,IAAM,EAAA;AAC1D,QAAS,MAAA,GAAA,CAAC,MAAM,IAAI,CAAA,CAAA;AAAA,OACtB;AACA,MAAO,OAAA,MAAA,CAAA;AAAA,KACR,CAAA,CAAA;AAED,IAAM,MAAA,SAAA,GAAYA,aAAS,MAAM;AAC/B,MAAA,MAAM,IAAO,GAAA,KAAA,CAAM,KAAM,CAAA,SAAA,CAAU,KAAK,CAAA,CAAA;AACxC,MAAO,OAAA;AAAA,QACL,IAAA;AAAA,QACA,UAAU,KAAM,CAAA,QAAA;AAAA,QAChB,eAAe,KAAM,CAAA,aAAA;AAAA,QACrB,cAAc,KAAM,CAAA,YAAA;AAAA,QACpB,OAAO,KAAM,CAAA,KAAA;AAAA,QACb,KAAK,KAAM,CAAA,GAAA;AAAA,QACX,MAAM,KAAM,CAAA,IAAA;AAAA,OACd,CAAA;AAAA,KACD,CAAA,CAAA;AAED,IAAA,MAAM,OAAO,MAAM;AACjB,MAAI,IAAA,SAAA,CAAU,QAAQ,CAAG,EAAA;AACvB,QAAU,SAAA,CAAA,KAAA,EAAA,CAAA;AACV,QAAA,OAAA;AAAA,OACF;AACA,MAAAC,qBAAA,CAAU,QAAQ,4CAAS,CAAA,CAAA;AAAA,KAC7B,CAAA;AAEA,IAAA,MAAM,OAAO,MAAM;AACjB,MAAA,IAAI,SAAU,CAAA,KAAA,GAAQ,KAAM,CAAA,QAAA,CAAS,SAAS,CAAG,EAAA;AAC/C,QAAU,SAAA,CAAA,KAAA,EAAA,CAAA;AACV,QAAA,OAAA;AAAA,OACF;AACA,MAAAA,qBAAA,CAAU,QAAQ,sCAAQ,CAAA,CAAA;AAAA,KAC5B,CAAA;AAEA,IAAA,MAAM,WAAW,MAAM;AACrB,MAAA,MAAM,IAAO,GAAA,KAAA,CAAM,KAAM,CAAA,SAAA,CAAU,KAAK,CAAA,CAAA;AACxC,MAAA,MAAM,MAAO,IAAK,CAAA,KAAA,CAAM,GAAuB,CAAA,IAAK,KAAK,GAAO,IAAA,EAAA,CAAA;AAChE,MAAA,cAAA,CAAe,cAAc,GAAK,EAAA,EAAE,QAAU,EAAA,IAAA,CAAK,MAAM,CAAA,CAAA;AAAA,KAC3D,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -6,10 +6,14 @@ export declare const GmPreviewFile: import("../../../../utils").SFCWithInstall<i
|
|
|
6
6
|
type: import("vue").PropType<Partial<import("element-plus").UploadFile>[]>;
|
|
7
7
|
default: () => never[];
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
previewWidth: {
|
|
10
10
|
type: StringConstructor;
|
|
11
11
|
default: string;
|
|
12
12
|
};
|
|
13
|
+
openPreviewDownload: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
13
17
|
file: {
|
|
14
18
|
type: import("vue").PropType<Partial<import("element-plus").UploadFile>>;
|
|
15
19
|
default: () => {};
|
|
@@ -18,12 +22,24 @@ export declare const GmPreviewFile: import("../../../../utils").SFCWithInstall<i
|
|
|
18
22
|
type: StringConstructor;
|
|
19
23
|
default: string;
|
|
20
24
|
};
|
|
25
|
+
fileWidth: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
fileHeight: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
fileStyle: {
|
|
34
|
+
type: ObjectConstructor;
|
|
35
|
+
default: () => {};
|
|
36
|
+
};
|
|
21
37
|
size: {
|
|
22
38
|
type: NumberConstructor;
|
|
23
39
|
default: number;
|
|
24
40
|
};
|
|
25
41
|
field: {
|
|
26
|
-
type:
|
|
42
|
+
type: StringConstructor;
|
|
27
43
|
default: string;
|
|
28
44
|
};
|
|
29
45
|
controls: {
|
|
@@ -52,10 +68,14 @@ export declare const GmPreviewFile: import("../../../../utils").SFCWithInstall<i
|
|
|
52
68
|
type: import("vue").PropType<Partial<import("element-plus").UploadFile>[]>;
|
|
53
69
|
default: () => never[];
|
|
54
70
|
};
|
|
55
|
-
|
|
71
|
+
previewWidth: {
|
|
56
72
|
type: StringConstructor;
|
|
57
73
|
default: string;
|
|
58
74
|
};
|
|
75
|
+
openPreviewDownload: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
59
79
|
file: {
|
|
60
80
|
type: import("vue").PropType<Partial<import("element-plus").UploadFile>>;
|
|
61
81
|
default: () => {};
|
|
@@ -64,12 +84,24 @@ export declare const GmPreviewFile: import("../../../../utils").SFCWithInstall<i
|
|
|
64
84
|
type: StringConstructor;
|
|
65
85
|
default: string;
|
|
66
86
|
};
|
|
87
|
+
fileWidth: {
|
|
88
|
+
type: StringConstructor;
|
|
89
|
+
default: string;
|
|
90
|
+
};
|
|
91
|
+
fileHeight: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
fileStyle: {
|
|
96
|
+
type: ObjectConstructor;
|
|
97
|
+
default: () => {};
|
|
98
|
+
};
|
|
67
99
|
size: {
|
|
68
100
|
type: NumberConstructor;
|
|
69
101
|
default: number;
|
|
70
102
|
};
|
|
71
103
|
field: {
|
|
72
|
-
type:
|
|
104
|
+
type: StringConstructor;
|
|
73
105
|
default: string;
|
|
74
106
|
};
|
|
75
107
|
controls: {
|
|
@@ -94,14 +126,18 @@ export declare const GmPreviewFile: import("../../../../utils").SFCWithInstall<i
|
|
|
94
126
|
}, {
|
|
95
127
|
size: number;
|
|
96
128
|
url: string;
|
|
97
|
-
width: string;
|
|
98
129
|
file: Partial<import("element-plus").UploadFile>;
|
|
99
130
|
showIcon: boolean;
|
|
100
131
|
controls: boolean;
|
|
101
132
|
fileList: Partial<import("element-plus").UploadFile>[];
|
|
102
|
-
field:
|
|
133
|
+
field: string;
|
|
134
|
+
fileWidth: string;
|
|
135
|
+
fileHeight: string;
|
|
136
|
+
fileStyle: Record<string, any>;
|
|
103
137
|
controlslist: string;
|
|
104
138
|
oncontextmenu: boolean;
|
|
139
|
+
previewWidth: string;
|
|
140
|
+
openPreviewDownload: boolean;
|
|
105
141
|
}, {}>> & Record<string, any>;
|
|
106
142
|
export type PreviewFileInstance = InstanceType<typeof PreviewFile>;
|
|
107
143
|
export * from './previewFile';
|
|
@@ -7,10 +7,15 @@ export declare const previewFileProps: {
|
|
|
7
7
|
default: () => never[];
|
|
8
8
|
};
|
|
9
9
|
/** 弹层宽度 */
|
|
10
|
-
|
|
10
|
+
previewWidth: {
|
|
11
11
|
type: StringConstructor;
|
|
12
12
|
default: string;
|
|
13
13
|
};
|
|
14
|
+
/** 允许下载按钮 */
|
|
15
|
+
openPreviewDownload: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
14
19
|
file: {
|
|
15
20
|
type: PropType<Partial<UploadFile>>;
|
|
16
21
|
default: () => {};
|
|
@@ -19,12 +24,24 @@ export declare const previewFileProps: {
|
|
|
19
24
|
type: StringConstructor;
|
|
20
25
|
default: string;
|
|
21
26
|
};
|
|
27
|
+
fileWidth: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
fileHeight: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
fileStyle: {
|
|
36
|
+
type: ObjectConstructor;
|
|
37
|
+
default: () => {};
|
|
38
|
+
};
|
|
22
39
|
size: {
|
|
23
40
|
type: NumberConstructor;
|
|
24
41
|
default: number;
|
|
25
42
|
};
|
|
26
43
|
field: {
|
|
27
|
-
type:
|
|
44
|
+
type: StringConstructor;
|
|
28
45
|
default: string;
|
|
29
46
|
};
|
|
30
47
|
controls: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"previewFile.js","sources":["../../../../../../../packages/components/src/composite/previewFile/previewFile.ts"],"sourcesContent":["import { fileComponentProps } from '../fileComponent';\nimport type { PropType } from 'vue';\nimport type { UploadFile } from 'element-plus';\n\nexport const previewFileProps = {\n ...fileComponentProps,\n /** 文件列表 */\n fileList: {\n type: Array as PropType<Partial<UploadFile>[]>,\n default: () => [],\n },\n /** 弹层宽度 */\n
|
|
1
|
+
{"version":3,"file":"previewFile.js","sources":["../../../../../../../packages/components/src/composite/previewFile/previewFile.ts"],"sourcesContent":["import { fileComponentProps } from '../fileComponent';\nimport type { PropType } from 'vue';\nimport type { UploadFile } from 'element-plus';\n\nexport const previewFileProps = {\n ...fileComponentProps,\n /** 文件列表 */\n fileList: {\n type: Array as PropType<Partial<UploadFile>[]>,\n default: () => [],\n },\n /** 弹层宽度 */\n previewWidth: {\n type: String,\n default: '1000px',\n },\n /** 允许下载按钮 */\n openPreviewDownload: {\n type: Boolean,\n default: true,\n },\n};\n"],"names":["fileComponentProps"],"mappings":";;;;;AAIO,MAAM,gBAAmB,GAAA;AAAA,EAC9B,GAAGA,gCAAA;AAAA;AAAA,EAEH,QAAU,EAAA;AAAA,IACR,IAAM,EAAA,KAAA;AAAA,IACN,OAAA,EAAS,MAAM,EAAC;AAAA,GAClB;AAAA;AAAA,EAEA,YAAc,EAAA;AAAA,IACZ,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,QAAA;AAAA,GACX;AAAA;AAAA,EAEA,mBAAqB,EAAA;AAAA,IACnB,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,IAAA;AAAA,GACX;AACF;;;;"}
|
|
@@ -219,6 +219,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
219
219
|
})[], unknown, unknown, import("element-plus").UploadRequestHandler, boolean>;
|
|
220
220
|
disabled: BooleanConstructor;
|
|
221
221
|
limit: NumberConstructor;
|
|
222
|
+
previewWidth: {
|
|
223
|
+
type: StringConstructor;
|
|
224
|
+
default: string;
|
|
225
|
+
};
|
|
226
|
+
openPreviewDownload: {
|
|
227
|
+
type: BooleanConstructor;
|
|
228
|
+
default: boolean;
|
|
229
|
+
};
|
|
222
230
|
file: {
|
|
223
231
|
type: import("vue").PropType<Partial<UploadFile>>;
|
|
224
232
|
default: () => {};
|
|
@@ -227,12 +235,24 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
227
235
|
type: StringConstructor;
|
|
228
236
|
default: string;
|
|
229
237
|
};
|
|
238
|
+
fileWidth: {
|
|
239
|
+
type: StringConstructor;
|
|
240
|
+
default: string;
|
|
241
|
+
};
|
|
242
|
+
fileHeight: {
|
|
243
|
+
type: StringConstructor;
|
|
244
|
+
default: string;
|
|
245
|
+
};
|
|
246
|
+
fileStyle: {
|
|
247
|
+
type: ObjectConstructor;
|
|
248
|
+
default: () => {};
|
|
249
|
+
};
|
|
230
250
|
size: {
|
|
231
251
|
type: NumberConstructor;
|
|
232
252
|
default: number;
|
|
233
253
|
};
|
|
234
254
|
field: {
|
|
235
|
-
type:
|
|
255
|
+
type: StringConstructor;
|
|
236
256
|
default: string;
|
|
237
257
|
};
|
|
238
258
|
controls: {
|
|
@@ -958,6 +978,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
958
978
|
})[], unknown, unknown, import("element-plus").UploadRequestHandler, boolean>;
|
|
959
979
|
disabled: BooleanConstructor;
|
|
960
980
|
limit: NumberConstructor;
|
|
981
|
+
previewWidth: {
|
|
982
|
+
type: StringConstructor;
|
|
983
|
+
default: string;
|
|
984
|
+
};
|
|
985
|
+
openPreviewDownload: {
|
|
986
|
+
type: BooleanConstructor;
|
|
987
|
+
default: boolean;
|
|
988
|
+
};
|
|
961
989
|
file: {
|
|
962
990
|
type: import("vue").PropType<Partial<UploadFile>>;
|
|
963
991
|
default: () => {};
|
|
@@ -966,12 +994,24 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
966
994
|
type: StringConstructor;
|
|
967
995
|
default: string;
|
|
968
996
|
};
|
|
997
|
+
fileWidth: {
|
|
998
|
+
type: StringConstructor;
|
|
999
|
+
default: string;
|
|
1000
|
+
};
|
|
1001
|
+
fileHeight: {
|
|
1002
|
+
type: StringConstructor;
|
|
1003
|
+
default: string;
|
|
1004
|
+
};
|
|
1005
|
+
fileStyle: {
|
|
1006
|
+
type: ObjectConstructor;
|
|
1007
|
+
default: () => {};
|
|
1008
|
+
};
|
|
969
1009
|
size: {
|
|
970
1010
|
type: NumberConstructor;
|
|
971
1011
|
default: number;
|
|
972
1012
|
};
|
|
973
1013
|
field: {
|
|
974
|
-
type:
|
|
1014
|
+
type: StringConstructor;
|
|
975
1015
|
default: string;
|
|
976
1016
|
};
|
|
977
1017
|
controls: {
|
|
@@ -1036,9 +1076,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
1036
1076
|
deleteTip: boolean;
|
|
1037
1077
|
disabledCheckboxUids: number[];
|
|
1038
1078
|
onAllComplete: () => void;
|
|
1039
|
-
field:
|
|
1079
|
+
field: string;
|
|
1080
|
+
fileWidth: string;
|
|
1081
|
+
fileHeight: string;
|
|
1082
|
+
fileStyle: Record<string, any>;
|
|
1040
1083
|
controlslist: string;
|
|
1041
1084
|
oncontextmenu: boolean;
|
|
1085
|
+
previewWidth: string;
|
|
1086
|
+
openPreviewDownload: boolean;
|
|
1042
1087
|
folder: string;
|
|
1043
1088
|
seat: string;
|
|
1044
1089
|
parallel: number;
|
|
@@ -219,6 +219,14 @@ export declare const GmUploadFile: import("../../../../utils").SFCWithInstall<{
|
|
|
219
219
|
})[], unknown, unknown, import("element-plus").UploadRequestHandler, boolean>;
|
|
220
220
|
disabled: BooleanConstructor;
|
|
221
221
|
limit: NumberConstructor;
|
|
222
|
+
previewWidth: {
|
|
223
|
+
type: StringConstructor;
|
|
224
|
+
default: string;
|
|
225
|
+
};
|
|
226
|
+
openPreviewDownload: {
|
|
227
|
+
type: BooleanConstructor;
|
|
228
|
+
default: boolean;
|
|
229
|
+
};
|
|
222
230
|
file: {
|
|
223
231
|
type: import("vue").PropType<Partial<import("element-plus").UploadFile>>;
|
|
224
232
|
default: () => {};
|
|
@@ -227,12 +235,24 @@ export declare const GmUploadFile: import("../../../../utils").SFCWithInstall<{
|
|
|
227
235
|
type: StringConstructor;
|
|
228
236
|
default: string;
|
|
229
237
|
};
|
|
238
|
+
fileWidth: {
|
|
239
|
+
type: StringConstructor;
|
|
240
|
+
default: string;
|
|
241
|
+
};
|
|
242
|
+
fileHeight: {
|
|
243
|
+
type: StringConstructor;
|
|
244
|
+
default: string;
|
|
245
|
+
};
|
|
246
|
+
fileStyle: {
|
|
247
|
+
type: ObjectConstructor;
|
|
248
|
+
default: () => {};
|
|
249
|
+
};
|
|
230
250
|
size: {
|
|
231
251
|
type: NumberConstructor;
|
|
232
252
|
default: number;
|
|
233
253
|
};
|
|
234
254
|
field: {
|
|
235
|
-
type:
|
|
255
|
+
type: StringConstructor;
|
|
236
256
|
default: string;
|
|
237
257
|
};
|
|
238
258
|
controls: {
|
|
@@ -964,6 +984,14 @@ export declare const GmUploadFile: import("../../../../utils").SFCWithInstall<{
|
|
|
964
984
|
})[], unknown, unknown, import("element-plus").UploadRequestHandler, boolean>;
|
|
965
985
|
disabled: BooleanConstructor;
|
|
966
986
|
limit: NumberConstructor;
|
|
987
|
+
previewWidth: {
|
|
988
|
+
type: StringConstructor;
|
|
989
|
+
default: string;
|
|
990
|
+
};
|
|
991
|
+
openPreviewDownload: {
|
|
992
|
+
type: BooleanConstructor;
|
|
993
|
+
default: boolean;
|
|
994
|
+
};
|
|
967
995
|
file: {
|
|
968
996
|
type: import("vue").PropType<Partial<import("element-plus").UploadFile>>;
|
|
969
997
|
default: () => {};
|
|
@@ -972,12 +1000,24 @@ export declare const GmUploadFile: import("../../../../utils").SFCWithInstall<{
|
|
|
972
1000
|
type: StringConstructor;
|
|
973
1001
|
default: string;
|
|
974
1002
|
};
|
|
1003
|
+
fileWidth: {
|
|
1004
|
+
type: StringConstructor;
|
|
1005
|
+
default: string;
|
|
1006
|
+
};
|
|
1007
|
+
fileHeight: {
|
|
1008
|
+
type: StringConstructor;
|
|
1009
|
+
default: string;
|
|
1010
|
+
};
|
|
1011
|
+
fileStyle: {
|
|
1012
|
+
type: ObjectConstructor;
|
|
1013
|
+
default: () => {};
|
|
1014
|
+
};
|
|
975
1015
|
size: {
|
|
976
1016
|
type: NumberConstructor;
|
|
977
1017
|
default: number;
|
|
978
1018
|
};
|
|
979
1019
|
field: {
|
|
980
|
-
type:
|
|
1020
|
+
type: StringConstructor;
|
|
981
1021
|
default: string;
|
|
982
1022
|
};
|
|
983
1023
|
controls: {
|
|
@@ -1042,9 +1082,14 @@ export declare const GmUploadFile: import("../../../../utils").SFCWithInstall<{
|
|
|
1042
1082
|
deleteTip: boolean;
|
|
1043
1083
|
disabledCheckboxUids: number[];
|
|
1044
1084
|
onAllComplete: () => void;
|
|
1045
|
-
field:
|
|
1085
|
+
field: string;
|
|
1086
|
+
fileWidth: string;
|
|
1087
|
+
fileHeight: string;
|
|
1088
|
+
fileStyle: Record<string, any>;
|
|
1046
1089
|
controlslist: string;
|
|
1047
1090
|
oncontextmenu: boolean;
|
|
1091
|
+
previewWidth: string;
|
|
1092
|
+
openPreviewDownload: boolean;
|
|
1048
1093
|
folder: string;
|
|
1049
1094
|
seat: string;
|
|
1050
1095
|
parallel: number;
|
|
@@ -1279,6 +1324,14 @@ export declare const GmUploadFile: import("../../../../utils").SFCWithInstall<{
|
|
|
1279
1324
|
})[], unknown, unknown, import("element-plus").UploadRequestHandler, boolean>;
|
|
1280
1325
|
disabled: BooleanConstructor;
|
|
1281
1326
|
limit: NumberConstructor;
|
|
1327
|
+
previewWidth: {
|
|
1328
|
+
type: StringConstructor;
|
|
1329
|
+
default: string;
|
|
1330
|
+
};
|
|
1331
|
+
openPreviewDownload: {
|
|
1332
|
+
type: BooleanConstructor;
|
|
1333
|
+
default: boolean;
|
|
1334
|
+
};
|
|
1282
1335
|
file: {
|
|
1283
1336
|
type: import("vue").PropType<Partial<import("element-plus").UploadFile>>;
|
|
1284
1337
|
default: () => {};
|
|
@@ -1287,12 +1340,24 @@ export declare const GmUploadFile: import("../../../../utils").SFCWithInstall<{
|
|
|
1287
1340
|
type: StringConstructor;
|
|
1288
1341
|
default: string;
|
|
1289
1342
|
};
|
|
1343
|
+
fileWidth: {
|
|
1344
|
+
type: StringConstructor;
|
|
1345
|
+
default: string;
|
|
1346
|
+
};
|
|
1347
|
+
fileHeight: {
|
|
1348
|
+
type: StringConstructor;
|
|
1349
|
+
default: string;
|
|
1350
|
+
};
|
|
1351
|
+
fileStyle: {
|
|
1352
|
+
type: ObjectConstructor;
|
|
1353
|
+
default: () => {};
|
|
1354
|
+
};
|
|
1290
1355
|
size: {
|
|
1291
1356
|
type: NumberConstructor;
|
|
1292
1357
|
default: number;
|
|
1293
1358
|
};
|
|
1294
1359
|
field: {
|
|
1295
|
-
type:
|
|
1360
|
+
type: StringConstructor;
|
|
1296
1361
|
default: string;
|
|
1297
1362
|
};
|
|
1298
1363
|
controls: {
|
|
@@ -1837,9 +1902,14 @@ export declare const GmUploadFile: import("../../../../utils").SFCWithInstall<{
|
|
|
1837
1902
|
deleteTip: boolean;
|
|
1838
1903
|
disabledCheckboxUids: number[];
|
|
1839
1904
|
onAllComplete: () => void;
|
|
1840
|
-
field:
|
|
1905
|
+
field: string;
|
|
1906
|
+
fileWidth: string;
|
|
1907
|
+
fileHeight: string;
|
|
1908
|
+
fileStyle: Record<string, any>;
|
|
1841
1909
|
controlslist: string;
|
|
1842
1910
|
oncontextmenu: boolean;
|
|
1911
|
+
previewWidth: string;
|
|
1912
|
+
openPreviewDownload: boolean;
|
|
1843
1913
|
folder: string;
|
|
1844
1914
|
seat: string;
|
|
1845
1915
|
parallel: number;
|
|
@@ -2071,6 +2141,14 @@ export declare const GmUploadFile: import("../../../../utils").SFCWithInstall<{
|
|
|
2071
2141
|
})[], unknown, unknown, import("element-plus").UploadRequestHandler, boolean>;
|
|
2072
2142
|
disabled: BooleanConstructor;
|
|
2073
2143
|
limit: NumberConstructor;
|
|
2144
|
+
previewWidth: {
|
|
2145
|
+
type: StringConstructor;
|
|
2146
|
+
default: string;
|
|
2147
|
+
};
|
|
2148
|
+
openPreviewDownload: {
|
|
2149
|
+
type: BooleanConstructor;
|
|
2150
|
+
default: boolean;
|
|
2151
|
+
};
|
|
2074
2152
|
file: {
|
|
2075
2153
|
type: import("vue").PropType<Partial<import("element-plus").UploadFile>>;
|
|
2076
2154
|
default: () => {};
|
|
@@ -2079,12 +2157,24 @@ export declare const GmUploadFile: import("../../../../utils").SFCWithInstall<{
|
|
|
2079
2157
|
type: StringConstructor;
|
|
2080
2158
|
default: string;
|
|
2081
2159
|
};
|
|
2160
|
+
fileWidth: {
|
|
2161
|
+
type: StringConstructor;
|
|
2162
|
+
default: string;
|
|
2163
|
+
};
|
|
2164
|
+
fileHeight: {
|
|
2165
|
+
type: StringConstructor;
|
|
2166
|
+
default: string;
|
|
2167
|
+
};
|
|
2168
|
+
fileStyle: {
|
|
2169
|
+
type: ObjectConstructor;
|
|
2170
|
+
default: () => {};
|
|
2171
|
+
};
|
|
2082
2172
|
size: {
|
|
2083
2173
|
type: NumberConstructor;
|
|
2084
2174
|
default: number;
|
|
2085
2175
|
};
|
|
2086
2176
|
field: {
|
|
2087
|
-
type:
|
|
2177
|
+
type: StringConstructor;
|
|
2088
2178
|
default: string;
|
|
2089
2179
|
};
|
|
2090
2180
|
controls: {
|
|
@@ -2636,9 +2726,14 @@ export declare const GmUploadFile: import("../../../../utils").SFCWithInstall<{
|
|
|
2636
2726
|
deleteTip: boolean;
|
|
2637
2727
|
disabledCheckboxUids: number[];
|
|
2638
2728
|
onAllComplete: () => void;
|
|
2639
|
-
field:
|
|
2729
|
+
field: string;
|
|
2730
|
+
fileWidth: string;
|
|
2731
|
+
fileHeight: string;
|
|
2732
|
+
fileStyle: Record<string, any>;
|
|
2640
2733
|
controlslist: string;
|
|
2641
2734
|
oncontextmenu: boolean;
|
|
2735
|
+
previewWidth: string;
|
|
2736
|
+
openPreviewDownload: boolean;
|
|
2642
2737
|
folder: string;
|
|
2643
2738
|
seat: string;
|
|
2644
2739
|
parallel: number;
|
|
@@ -232,6 +232,14 @@ export declare const uploadFileProps: {
|
|
|
232
232
|
})[], unknown, unknown, import("element-plus").UploadRequestHandler, boolean>;
|
|
233
233
|
disabled: BooleanConstructor;
|
|
234
234
|
limit: NumberConstructor;
|
|
235
|
+
previewWidth: {
|
|
236
|
+
type: StringConstructor;
|
|
237
|
+
default: string;
|
|
238
|
+
};
|
|
239
|
+
openPreviewDownload: {
|
|
240
|
+
type: BooleanConstructor;
|
|
241
|
+
default: boolean;
|
|
242
|
+
};
|
|
235
243
|
file: {
|
|
236
244
|
type: PropType<Partial<UploadFile>>;
|
|
237
245
|
default: () => {};
|
|
@@ -240,12 +248,24 @@ export declare const uploadFileProps: {
|
|
|
240
248
|
type: StringConstructor;
|
|
241
249
|
default: string;
|
|
242
250
|
};
|
|
251
|
+
fileWidth: {
|
|
252
|
+
type: StringConstructor;
|
|
253
|
+
default: string;
|
|
254
|
+
};
|
|
255
|
+
fileHeight: {
|
|
256
|
+
type: StringConstructor;
|
|
257
|
+
default: string;
|
|
258
|
+
};
|
|
259
|
+
fileStyle: {
|
|
260
|
+
type: ObjectConstructor;
|
|
261
|
+
default: () => {};
|
|
262
|
+
};
|
|
243
263
|
size: {
|
|
244
264
|
type: NumberConstructor;
|
|
245
265
|
default: number;
|
|
246
266
|
};
|
|
247
267
|
field: {
|
|
248
|
-
type:
|
|
268
|
+
type: StringConstructor;
|
|
249
269
|
default: string;
|
|
250
270
|
};
|
|
251
271
|
controls: {
|
|
@@ -263,5 +283,5 @@ export declare const uploadFileProps: {
|
|
|
263
283
|
showIcon: {
|
|
264
284
|
type: BooleanConstructor;
|
|
265
285
|
default: boolean;
|
|
266
|
-
};
|
|
286
|
+
}; /** 并行分片大小 */
|
|
267
287
|
};
|
package/lib/giime/component.js
CHANGED
|
@@ -125,20 +125,22 @@ var index$1S = require('../components/src/composite/importDialog/index.js');
|
|
|
125
125
|
var index$1T = require('../components/src/composite/previewFile/index.js');
|
|
126
126
|
var index$1U = require('../components/src/composite/fileComponent/index.js');
|
|
127
127
|
var index$1V = require('../components/src/composite/ruleEditor/index.js');
|
|
128
|
-
var index$1W = require('../components/src/composite/
|
|
129
|
-
var index$1X = require('../components/src/composite/
|
|
130
|
-
var index$1Y = require('../components/src/composite/tablePro/
|
|
131
|
-
var index$1Z = require('../components/src/composite/tablePro/
|
|
132
|
-
var index$1_ = require('../components/src/composite/tablePro/
|
|
133
|
-
var index$1$ = require('../components/src/composite/tablePro/
|
|
134
|
-
var index$20 = require('../components/src/composite/
|
|
135
|
-
var index$21 = require('../components/src/composite/
|
|
136
|
-
var index$22 = require('../components/src/composite/tableCustom/
|
|
137
|
-
var index$23 = require('../components/src/composite/
|
|
138
|
-
var index$24 = require('../components/src/composite/
|
|
139
|
-
var index$25 = require('../components/src/
|
|
140
|
-
var index$26 = require('../components/src/
|
|
141
|
-
var index$27 = require('../components/src/business/
|
|
128
|
+
var index$1W = require('../components/src/composite/uploadFile/index.js');
|
|
129
|
+
var index$1X = require('../components/src/composite/fileList2/index.js');
|
|
130
|
+
var index$1Y = require('../components/src/composite/tablePro/index.js');
|
|
131
|
+
var index$1Z = require('../components/src/composite/tablePro/tableColumnPro/index.js');
|
|
132
|
+
var index$1_ = require('../components/src/composite/tablePro/tableHeaderForm/index.js');
|
|
133
|
+
var index$1$ = require('../components/src/composite/tablePro/tablePagination/index.js');
|
|
134
|
+
var index$20 = require('../components/src/composite/tablePro/tableToolbar/index.js');
|
|
135
|
+
var index$21 = require('../components/src/composite/tablePro/tableCtx/index.js');
|
|
136
|
+
var index$22 = require('../components/src/composite/tableCustom/index.js');
|
|
137
|
+
var index$23 = require('../components/src/composite/tableCustom/customOperate/index.js');
|
|
138
|
+
var index$24 = require('../components/src/composite/tableCustom/tableCustomHeader/index.js');
|
|
139
|
+
var index$25 = require('../components/src/composite/operateButton/index.js');
|
|
140
|
+
var index$26 = require('../components/src/composite/operateButton/operateButtonForm/index.js');
|
|
141
|
+
var index$27 = require('../components/src/business/aliCategoryCascader/index.js');
|
|
142
|
+
var index$28 = require('../components/src/business/companyCategoryCascader/index.js');
|
|
143
|
+
var index$29 = require('../components/src/business/uploadPro/index.js');
|
|
142
144
|
|
|
143
145
|
var Components = [
|
|
144
146
|
index.GmAffix,
|
|
@@ -265,24 +267,26 @@ var Components = [
|
|
|
265
267
|
index$1T.GmPreviewFile,
|
|
266
268
|
index$1U.GmFileComponent,
|
|
267
269
|
index$1V.GmRuleEditor,
|
|
270
|
+
index$1W.GmUploadFile,
|
|
271
|
+
index$1X.GmFileList,
|
|
268
272
|
// --表格模块
|
|
269
|
-
index$
|
|
270
|
-
index$
|
|
271
|
-
index$
|
|
272
|
-
index$
|
|
273
|
-
index$
|
|
274
|
-
index$
|
|
273
|
+
index$1Y.GmTablePro,
|
|
274
|
+
index$1Z.GmTableColumnPro,
|
|
275
|
+
index$1_.GmTableHeaderForm,
|
|
276
|
+
index$1$.GmTablePagination,
|
|
277
|
+
index$20.GmTableToolbar,
|
|
278
|
+
index$21.GmTableCtx,
|
|
275
279
|
// 自定义顺序表格
|
|
276
|
-
index$
|
|
277
|
-
index$
|
|
278
|
-
index$
|
|
280
|
+
index$22.GmTableCustom,
|
|
281
|
+
index$23.GmCustomOperate,
|
|
282
|
+
index$24.GmTableCustomHeader,
|
|
279
283
|
// 自定义操作按钮
|
|
280
|
-
index$
|
|
281
|
-
index$
|
|
284
|
+
index$25.GmOperateButton,
|
|
285
|
+
index$26.GmOperateButtonForm,
|
|
282
286
|
// 业务组件
|
|
283
|
-
index$
|
|
284
|
-
index$
|
|
285
|
-
index$
|
|
287
|
+
index$27.GmAliCategoryCascader,
|
|
288
|
+
index$28.GmCompanyCategoryCascader,
|
|
289
|
+
index$29.GmUploadPro
|
|
286
290
|
];
|
|
287
291
|
|
|
288
292
|
exports.default = Components;
|