@vue-pdf-viewer/viewer 1.7.0-beta.4 → 1.7.0-beta.6
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.js +2992 -2952
- package/dist/index.umd.cjs +12 -12
- package/dist/types/components/LayerCanvas.vue.d.ts +1 -1
- package/dist/types/utils/appConsole.d.ts +24 -0
- package/package.json +1 -1
- package/dist/types/composables/useRenderTask.d.ts +0 -8
- /package/dist/types/components/{layers/XFALayer.vue.d.ts → LayerXFA.vue.d.ts} +0 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare class Console {
|
|
2
|
+
private static instance;
|
|
3
|
+
private isProduction;
|
|
4
|
+
private constructor();
|
|
5
|
+
static getInstance(): Console;
|
|
6
|
+
/**
|
|
7
|
+
* Debug level logging - stripped in production
|
|
8
|
+
*/
|
|
9
|
+
debug(...args: any[]): void;
|
|
10
|
+
/**
|
|
11
|
+
* Info level logging - kept in production
|
|
12
|
+
*/
|
|
13
|
+
info(...args: any[]): void;
|
|
14
|
+
/**
|
|
15
|
+
* Warning level logging - kept in production
|
|
16
|
+
*/
|
|
17
|
+
warn(...args: any[]): void;
|
|
18
|
+
/**
|
|
19
|
+
* Error level logging - kept in production
|
|
20
|
+
*/
|
|
21
|
+
error(...args: any[]): void;
|
|
22
|
+
}
|
|
23
|
+
declare const _default: Console;
|
|
24
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { PageViewport, PDFPageProxy } from 'pdfjs-dist/types/web/interfaces';
|
|
2
|
-
export declare function useRenderTask(dto: {
|
|
3
|
-
page: PDFPageProxy;
|
|
4
|
-
viewport: PageViewport;
|
|
5
|
-
canvas: HTMLCanvasElement;
|
|
6
|
-
}): {
|
|
7
|
-
rendered: import("vue").Ref<boolean, boolean>;
|
|
8
|
-
};
|
|
File without changes
|