zhytech-ui 1.2.3 → 1.2.5
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/README.md +6 -1
- package/dist/src/components/filePreview/components/pdfPreview.vue.d.ts +33 -0
- package/dist/src/components/filePreview/types/filePreviewType.d.ts +9 -1
- package/dist/style.css +1 -1
- package/dist/zhytech-ui.es.js +1283 -1280
- package/dist/zhytech-ui.umd.js +36 -36
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { pdfOptionType } from '../types/filePreviewType';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
3
|
+
src: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
option: {
|
|
8
|
+
type: () => pdfOptionType;
|
|
9
|
+
default: () => {
|
|
10
|
+
showTool: boolean;
|
|
11
|
+
tool: string[];
|
|
12
|
+
single: boolean;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
16
|
+
src: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
option: {
|
|
21
|
+
type: () => pdfOptionType;
|
|
22
|
+
default: () => {
|
|
23
|
+
showTool: boolean;
|
|
24
|
+
tool: string[];
|
|
25
|
+
single: boolean;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
}>> & Readonly<{}>, {
|
|
29
|
+
option: pdfOptionType;
|
|
30
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
31
|
+
pdfRef: unknown;
|
|
32
|
+
}, HTMLDivElement>;
|
|
33
|
+
export default _default;
|
|
@@ -200,7 +200,15 @@ export interface pdfOptionType {
|
|
|
200
200
|
/**
|
|
201
201
|
* 是否分页显示,默认true
|
|
202
202
|
*/
|
|
203
|
-
|
|
203
|
+
single?: boolean;
|
|
204
|
+
/**
|
|
205
|
+
* 当前页码,默认1
|
|
206
|
+
*/
|
|
207
|
+
currentPage?: Number;
|
|
208
|
+
/**
|
|
209
|
+
* 分页切换回调函数
|
|
210
|
+
*/
|
|
211
|
+
onPageChange?: Function;
|
|
204
212
|
}
|
|
205
213
|
/**
|
|
206
214
|
* @description: 文档管理中文件上传参数类型
|