@xtctwins/tctwins-pdf-core 0.1.0
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 +0 -0
- package/dist/PdfViewer.d.ts +81 -0
- package/dist/PdfViewer.d.ts.map +1 -0
- package/dist/annotations/index.d.ts +3 -0
- package/dist/annotations/index.d.ts.map +1 -0
- package/dist/annotations/types.d.ts +3 -0
- package/dist/annotations/types.d.ts.map +1 -0
- package/dist/annotations/utils.d.ts +11 -0
- package/dist/annotations/utils.d.ts.map +1 -0
- package/dist/components/PdfViewer.d.ts +65 -0
- package/dist/components/PdfViewer.d.ts.map +1 -0
- package/dist/components/PdfViewer.vue.d.ts +44 -0
- package/dist/components/PdfViewer.vue.d.ts.map +1 -0
- package/dist/components/interaction.d.ts +15 -0
- package/dist/components/interaction.d.ts.map +1 -0
- package/dist/components/types.d.ts +3 -0
- package/dist/components/types.d.ts.map +1 -0
- package/dist/components/useAnnotationCanvas.d.ts +49 -0
- package/dist/components/useAnnotationCanvas.d.ts.map +1 -0
- package/dist/components/usePointerInteraction.d.ts +51 -0
- package/dist/components/usePointerInteraction.d.ts.map +1 -0
- package/dist/components/useViewerLayout.d.ts +46 -0
- package/dist/components/useViewerLayout.d.ts.map +1 -0
- package/dist/components/useViewerManager.d.ts +46 -0
- package/dist/components/useViewerManager.d.ts.map +1 -0
- package/dist/core/PDFLoader.d.ts +15 -0
- package/dist/core/PDFLoader.d.ts.map +1 -0
- package/dist/core/TileCache.d.ts +18 -0
- package/dist/core/TileCache.d.ts.map +1 -0
- package/dist/core/TileRenderer.d.ts +29 -0
- package/dist/core/TileRenderer.d.ts.map +1 -0
- package/dist/core/coords/CoordTransformer.d.ts +19 -0
- package/dist/core/coords/CoordTransformer.d.ts.map +1 -0
- package/dist/core/coords/Types.d.ts +3 -0
- package/dist/core/coords/Types.d.ts.map +1 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/pdf-core.js +1308 -0
- package/dist/style.css +2 -0
- package/dist/tools/MeasureTool.d.ts +59 -0
- package/dist/tools/MeasureTool.d.ts.map +1 -0
- package/dist/tools/ToolManager.d.ts +42 -0
- package/dist/tools/ToolManager.d.ts.map +1 -0
- package/dist/tools/index.d.ts +8 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/measure/AngleMeasure.d.ts +23 -0
- package/dist/tools/measure/AngleMeasure.d.ts.map +1 -0
- package/dist/tools/measure/AreaMeasure.d.ts +22 -0
- package/dist/tools/measure/AreaMeasure.d.ts.map +1 -0
- package/dist/tools/measure/DistanceMeasure.d.ts +22 -0
- package/dist/tools/measure/DistanceMeasure.d.ts.map +1 -0
- package/dist/tools/measure/MeasureBase.d.ts +87 -0
- package/dist/tools/measure/MeasureBase.d.ts.map +1 -0
- package/dist/tools/measure/index.d.ts +5 -0
- package/dist/tools/measure/index.d.ts.map +1 -0
- package/dist/tools/types.d.ts +4 -0
- package/dist/tools/types.d.ts.map +1 -0
- package/dist/types/annotations.d.ts +29 -0
- package/dist/types/annotations.d.ts.map +1 -0
- package/dist/types/components.d.ts +28 -0
- package/dist/types/components.d.ts.map +1 -0
- package/dist/types/coords.d.ts +28 -0
- package/dist/types/coords.d.ts.map +1 -0
- package/dist/types/core.d.ts +44 -0
- package/dist/types/core.d.ts.map +1 -0
- package/dist/types/index.d.ts +18 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/tools.d.ts +113 -0
- package/dist/types/tools.d.ts.map +1 -0
- package/dist/utils/EventTrigger.d.ts +45 -0
- package/dist/utils/EventTrigger.d.ts.map +1 -0
- package/dist/vue/index.d.ts +2 -0
- package/dist/vue/index.d.ts.map +1 -0
- package/dist/vue/plugin.d.ts +5 -0
- package/dist/vue/plugin.d.ts.map +1 -0
- package/dist/vue/useAnnotations.d.ts +12 -0
- package/dist/vue/useAnnotations.d.ts.map +1 -0
- package/dist/vue/useInteraction.d.ts +13 -0
- package/dist/vue/useInteraction.d.ts.map +1 -0
- package/dist/vue/useMeasurement.d.ts +10 -0
- package/dist/vue/useMeasurement.d.ts.map +1 -0
- package/dist/vue/usePdfCore.d.ts +28 -0
- package/dist/vue/usePdfCore.d.ts.map +1 -0
- package/package.json +61 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 事件触发器 — 工具间通信机制
|
|
3
|
+
* 参考 dxf-viewer/src/Mechanism/EventTrigger.js
|
|
4
|
+
*
|
|
5
|
+
* 泛型设计:通过 EventMap 约束事件名和回调参数类型
|
|
6
|
+
*
|
|
7
|
+
* 使用方式:
|
|
8
|
+
* const events = new EventTrigger<MeasureEvents>();
|
|
9
|
+
* events.on("measure_start", () => console.log("started"));
|
|
10
|
+
* events.emit("measure_start");
|
|
11
|
+
* events.off("measure_start", handler);
|
|
12
|
+
*/
|
|
13
|
+
export declare class EventTrigger<EventMap extends Record<keyof EventMap, (...args: any[]) => void> = any> {
|
|
14
|
+
private _events;
|
|
15
|
+
/**
|
|
16
|
+
* 订阅事件
|
|
17
|
+
* @returns 传入的 listener(便于保存引用后取消订阅)
|
|
18
|
+
*/
|
|
19
|
+
on<K extends keyof EventMap & string>(event: K, listener: EventMap[K]): EventMap[K];
|
|
20
|
+
/**
|
|
21
|
+
* 只订阅一次(触发后自动取消)
|
|
22
|
+
*/
|
|
23
|
+
once<K extends keyof EventMap & string>(event: K, listener: EventMap[K]): void;
|
|
24
|
+
/**
|
|
25
|
+
* 取消订阅
|
|
26
|
+
*/
|
|
27
|
+
off<K extends keyof EventMap & string>(event: K, listener: EventMap[K]): void;
|
|
28
|
+
/**
|
|
29
|
+
* 触发事件
|
|
30
|
+
*/
|
|
31
|
+
emit<K extends keyof EventMap & string>(event: K, ...args: Parameters<EventMap[K]>): void;
|
|
32
|
+
/**
|
|
33
|
+
* 移除指定事件的所有监听器
|
|
34
|
+
*/
|
|
35
|
+
removeAllListeners<K extends keyof EventMap & string>(event?: K): void;
|
|
36
|
+
/**
|
|
37
|
+
* 获取事件监听器数量
|
|
38
|
+
*/
|
|
39
|
+
listenerCount<K extends keyof EventMap & string>(event: K): number;
|
|
40
|
+
/**
|
|
41
|
+
* 销毁,清除所有事件
|
|
42
|
+
*/
|
|
43
|
+
destroy(): void;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=EventTrigger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EventTrigger.d.ts","sourceRoot":"","sources":["../../src/utils/EventTrigger.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,qBAAa,YAAY,CAAC,QAAQ,SAAS,MAAM,CAAC,MAAM,QAAQ,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC,GAAG,GAAG;IAChG,OAAO,CAAC,OAAO,CAAsD;IAErE;;;OAGG;IACH,EAAE,CAAC,CAAC,SAAS,MAAM,QAAQ,GAAG,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC;IAUnF;;OAEG;IACH,IAAI,CAAC,CAAC,SAAS,MAAM,QAAQ,GAAG,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,GAAG,IAAI;IAQ9E;;OAEG;IACH,GAAG,CAAC,CAAC,SAAS,MAAM,QAAQ,GAAG,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,GAAG,IAAI;IAY7E;;OAEG;IACH,IAAI,CAAC,CAAC,SAAS,MAAM,QAAQ,GAAG,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI;IAazF;;OAEG;IACH,kBAAkB,CAAC,CAAC,SAAS,MAAM,QAAQ,GAAG,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,GAAG,IAAI;IAQtE;;OAEG;IACH,aAAa,CAAC,CAAC,SAAS,MAAM,QAAQ,GAAG,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,MAAM;IAIlE;;OAEG;IACH,OAAO,IAAI,IAAI;CAGf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/vue/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,iBAAiB,EAAE,KAAK,gBAAgB,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../src/vue/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,SAAS,MAAM,6BAA6B,CAAC;AAEpD,wBAAgB,cAAc,CAAC,GAAG,EAAE,GAAG,GAAG,IAAI,CAE7C;AAED,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type Ref } from "vue";
|
|
2
|
+
import type { AnnotationItem, PointLike } from "../types/annotations";
|
|
3
|
+
export interface UseAnnotationsResult {
|
|
4
|
+
annotations: Ref<AnnotationItem[]>;
|
|
5
|
+
addMeasureAnnotation: (points: PointLike[], value?: number, unit?: string) => void;
|
|
6
|
+
addShapeAnnotation: (points: PointLike[], shapeType?: "rectangle" | "circle" | "polygon" | "freehand") => void;
|
|
7
|
+
removeAnnotation: (id: string) => void;
|
|
8
|
+
clearAnnotations: () => void;
|
|
9
|
+
replaceAnnotations: (items: AnnotationItem[]) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare function useAnnotations(): UseAnnotationsResult;
|
|
12
|
+
//# sourceMappingURL=useAnnotations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAnnotations.d.ts","sourceRoot":"","sources":["../../src/vue/useAnnotations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,GAAG,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGtE,MAAM,WAAW,oBAAoB;IACpC,WAAW,EAAE,GAAG,CAAC,cAAc,EAAE,CAAC,CAAC;IACnC,oBAAoB,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACnF,kBAAkB,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,EAAE,SAAS,CAAC,EAAE,WAAW,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,KAAK,IAAI,CAAC;IAC/G,gBAAgB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,kBAAkB,EAAE,CAAC,KAAK,EAAE,cAAc,EAAE,KAAK,IAAI,CAAC;CACtD;AAED,wBAAgB,cAAc,IAAI,oBAAoB,CA+BrD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type Ref } from "vue";
|
|
2
|
+
import type { PointLike } from "../types/annotations";
|
|
3
|
+
export interface UseInteractionResult {
|
|
4
|
+
points: Ref<PointLike[]>;
|
|
5
|
+
annotations: Ref<any[]>;
|
|
6
|
+
isMeasuring: Ref<boolean>;
|
|
7
|
+
startMeasure: () => void;
|
|
8
|
+
addPoint: (point: PointLike) => void;
|
|
9
|
+
finishMeasure: (label?: string) => void;
|
|
10
|
+
clear: () => void;
|
|
11
|
+
}
|
|
12
|
+
export declare function useInteraction(): UseInteractionResult;
|
|
13
|
+
//# sourceMappingURL=useInteraction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useInteraction.d.ts","sourceRoot":"","sources":["../../src/vue/useInteraction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,GAAG,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAItD,MAAM,WAAW,oBAAoB;IACpC,MAAM,EAAE,GAAG,CAAC,SAAS,EAAE,CAAC,CAAC;IACzB,WAAW,EAAE,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC;IACxB,WAAW,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IAC1B,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,QAAQ,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;IACrC,aAAa,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,KAAK,EAAE,MAAM,IAAI,CAAC;CAClB;AAED,wBAAgB,cAAc,IAAI,oBAAoB,CA0CrD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type Ref } from "vue";
|
|
2
|
+
import type { PointLike } from "../types/annotations";
|
|
3
|
+
export interface UseMeasurementResult {
|
|
4
|
+
points: Ref<PointLike[]>;
|
|
5
|
+
addPoint: (point: PointLike) => void;
|
|
6
|
+
clearPoints: () => void;
|
|
7
|
+
distance: Ref<number>;
|
|
8
|
+
}
|
|
9
|
+
export declare function useMeasurement(): UseMeasurementResult;
|
|
10
|
+
//# sourceMappingURL=useMeasurement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMeasurement.d.ts","sourceRoot":"","sources":["../../src/vue/useMeasurement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,GAAG,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD,MAAM,WAAW,oBAAoB;IACpC,MAAM,EAAE,GAAG,CAAC,SAAS,EAAE,CAAC,CAAC;IACzB,QAAQ,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;IACrC,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CACtB;AAED,wBAAgB,cAAc,IAAI,oBAAoB,CAuBrD"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type Ref } from "vue";
|
|
2
|
+
import type { PDFDocumentProxy, PDFPageProxy } from "pdfjs-dist";
|
|
3
|
+
import { EventTrigger } from "../utils/EventTrigger";
|
|
4
|
+
import type { PdfCoreEventMap } from "../types/core";
|
|
5
|
+
export interface UsePdfCoreOptions {
|
|
6
|
+
autoLoad?: boolean;
|
|
7
|
+
scale?: number;
|
|
8
|
+
/** CSS 颜色字符串,作为 PDF 页面渲染背景 */
|
|
9
|
+
backgroundColor?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface UsePdfCoreResult {
|
|
12
|
+
containerRef: Ref<HTMLElement | null>;
|
|
13
|
+
doc: Ref<PDFDocumentProxy | null>;
|
|
14
|
+
page: Ref<PDFPageProxy | null>;
|
|
15
|
+
pageCount: Ref<number>;
|
|
16
|
+
currentPageNum: Ref<number>;
|
|
17
|
+
currentScale: Ref<number>;
|
|
18
|
+
isLoading: Ref<boolean>;
|
|
19
|
+
error: Ref<string | null>;
|
|
20
|
+
/** PDF 核心事件触发器 */
|
|
21
|
+
events: EventTrigger<PdfCoreEventMap>;
|
|
22
|
+
loadFile: (source: File | ArrayBuffer) => Promise<void>;
|
|
23
|
+
renderCurrentPage: () => Promise<void>;
|
|
24
|
+
setScale: (scale: number) => Promise<void>;
|
|
25
|
+
reset: () => void;
|
|
26
|
+
}
|
|
27
|
+
export declare function usePdfCore(options?: UsePdfCoreOptions): UsePdfCoreResult;
|
|
28
|
+
//# sourceMappingURL=usePdfCore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePdfCore.d.ts","sourceRoot":"","sources":["../../src/vue/usePdfCore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,GAAG,EAAE,MAAM,KAAK,CAAC;AAChD,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAIjE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,MAAM,WAAW,iBAAiB;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8BAA8B;IAC9B,eAAe,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,gBAAgB;IAChC,YAAY,EAAE,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IACtC,GAAG,EAAE,GAAG,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IAClC,IAAI,EAAE,GAAG,CAAC,YAAY,GAAG,IAAI,CAAC,CAAC;IAC/B,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACvB,cAAc,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC5B,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC1B,SAAS,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IACxB,KAAK,EAAE,GAAG,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC1B,kBAAkB;IAClB,MAAM,EAAE,YAAY,CAAC,eAAe,CAAC,CAAC;IACtC,QAAQ,EAAE,CAAC,MAAM,EAAE,IAAI,GAAG,WAAW,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACxD,iBAAiB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACvC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3C,KAAK,EAAE,MAAM,IAAI,CAAC;CAClB;AAED,wBAAgB,UAAU,CAAC,OAAO,GAAE,iBAAsB,GAAG,gBAAgB,CAgK5E"}
|
package/package.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@xtctwins/tctwins-pdf-core",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"description": "Reusable PDF core with Vue 3 viewer, tile rendering, annotations (measure/rectangle), and composables",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"author": "",
|
|
9
|
+
"keywords": [
|
|
10
|
+
"pdf",
|
|
11
|
+
"pdfjs",
|
|
12
|
+
"pdf-viewer",
|
|
13
|
+
"vue3",
|
|
14
|
+
"annotation",
|
|
15
|
+
"measure",
|
|
16
|
+
"tile-renderer",
|
|
17
|
+
"canvas"
|
|
18
|
+
],
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": ""
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"dist"
|
|
25
|
+
],
|
|
26
|
+
"sideEffects": [
|
|
27
|
+
"**/*.css"
|
|
28
|
+
],
|
|
29
|
+
"main": "./dist/pdf-core.js",
|
|
30
|
+
"module": "./dist/pdf-core.js",
|
|
31
|
+
"types": "./dist/index.d.ts",
|
|
32
|
+
"style": "./dist/style.css",
|
|
33
|
+
"exports": {
|
|
34
|
+
".": {
|
|
35
|
+
"types": "./dist/index.d.ts",
|
|
36
|
+
"import": "./dist/pdf-core.js",
|
|
37
|
+
"default": "./dist/pdf-core.js"
|
|
38
|
+
},
|
|
39
|
+
"./style.css": "./dist/style.css"
|
|
40
|
+
},
|
|
41
|
+
"scripts": {
|
|
42
|
+
"dev": "vite",
|
|
43
|
+
"dev:minimal": "vite --config minimal-example/vite.config.ts minimal-example/",
|
|
44
|
+
"build": "vite build && vue-tsc -p tsconfig.build.json",
|
|
45
|
+
"prepublishOnly": "npm run build",
|
|
46
|
+
"publish": "npm publish --access public --registry=https://registry.npmjs.org/"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"@types/node": "^22.10.1",
|
|
50
|
+
"@vitejs/plugin-vue": "^6.0.7",
|
|
51
|
+
"pdfjs-dist": "^5.7.284",
|
|
52
|
+
"typescript": "^5.6.3",
|
|
53
|
+
"vite": "^8.1.2",
|
|
54
|
+
"vue": "^3.5.0",
|
|
55
|
+
"vue-tsc": "^3.3.8"
|
|
56
|
+
},
|
|
57
|
+
"peerDependencies": {
|
|
58
|
+
"pdfjs-dist": "^5.7.0",
|
|
59
|
+
"vue": "^3.5.0"
|
|
60
|
+
}
|
|
61
|
+
}
|