@ibiz-template-plugin/ibiz-file-previewer 0.0.15 → 0.0.17

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.
@@ -12,3 +12,15 @@ export declare const fileNameToFileType: (fileName: string) => FileType;
12
12
  * @returns
13
13
  */
14
14
  export declare const throttle: <T extends (...args: any[]) => any>(func: T, wait: number) => ((...args: Parameters<T>) => void);
15
+ /**
16
+ * 拷贝文本至剪贴板降级方案
17
+ * @param text
18
+ * @returns
19
+ */
20
+ export declare const fallbackCopyTextToClipboard: (text: string) => boolean;
21
+ /**
22
+ * 拷贝文本至剪贴板
23
+ * @param text
24
+ * @returns
25
+ */
26
+ export declare const copyTextToClipboard: (text: string) => Promise<boolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz-template-plugin/ibiz-file-previewer",
3
- "version": "0.0.15",
3
+ "version": "0.0.17",
4
4
  "description": "iBiz文件预览器",
5
5
  "type": "module",
6
6
  "main": "dist/index.es.js",