zhytech-ui 1.2.1 → 1.2.2
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 -0
- package/dist/src/components/filePreview/types/filePreviewType.d.ts +25 -0
- package/dist/style.css +1 -1
- package/dist/zhytech-ui.es.js +34840 -11441
- package/dist/zhytech-ui.umd.js +450 -79
- package/package.json +2 -1
- package/dist/src/components/filePreview/components/pdfPreview.vue.d.ts +0 -2
package/README.md
CHANGED
|
@@ -181,6 +181,27 @@ export type videoConfigType = {
|
|
|
181
181
|
*/
|
|
182
182
|
leavePlayerTime?: number;
|
|
183
183
|
};
|
|
184
|
+
/**
|
|
185
|
+
* @description: pdf预览配置项
|
|
186
|
+
*/
|
|
187
|
+
export interface pdfOptionType {
|
|
188
|
+
/**
|
|
189
|
+
* pdf文件名
|
|
190
|
+
*/
|
|
191
|
+
name?: string;
|
|
192
|
+
/**
|
|
193
|
+
* 是否显示工具条
|
|
194
|
+
*/
|
|
195
|
+
showTool?: boolean;
|
|
196
|
+
/**
|
|
197
|
+
* 工具条显示项,默认值: scale(缩放) print download pages(当前页/总页数)
|
|
198
|
+
*/
|
|
199
|
+
tool?: Array<"scale" | "print" | "download" | "pages" | "" | "" | "">;
|
|
200
|
+
/**
|
|
201
|
+
* 是否分页显示,默认true
|
|
202
|
+
*/
|
|
203
|
+
pagination?: boolean;
|
|
204
|
+
}
|
|
184
205
|
/**
|
|
185
206
|
* @description: 文档管理中文件上传参数类型
|
|
186
207
|
*/
|
|
@@ -201,5 +222,9 @@ export interface previewOption {
|
|
|
201
222
|
* 自动播放音频
|
|
202
223
|
*/
|
|
203
224
|
autoplayAudio?: boolean;
|
|
225
|
+
/**
|
|
226
|
+
* pdf预览配置项
|
|
227
|
+
*/
|
|
228
|
+
pdfOption?: pdfOptionType;
|
|
204
229
|
}
|
|
205
230
|
export {};
|