@embedpdf/plugin-render 1.3.12 → 1.3.14
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/vue/index.cjs +1 -1
- package/dist/vue/index.cjs.map +1 -1
- package/dist/vue/index.js +52 -44
- package/dist/vue/index.js.map +1 -1
- package/package.json +4 -4
package/dist/vue/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("@embedpdf/models"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("@embedpdf/models"),t=require("@embedpdf/core/vue"),n=require("@embedpdf/plugin-render"),o=()=>t.usePlugin(n.RenderPlugin.id),l=()=>t.useCapability(n.RenderPlugin.id),a=["src"],c=e.defineComponent({__name:"render-layer",props:{pageIndex:{},scale:{},scaleFactor:{},dpr:{}},setup(t){const n=t,c=e.computed((()=>n.scale??n.scaleFactor??1)),u=e.computed((()=>n.dpr??window.devicePixelRatio)),{provides:d}=l(),{plugin:s}=o(),i=e.ref(null),p=e.ref(0);let f=null,g=!1;function v(){g=!0}return e.watchEffect((e=>{if(!s.value)return;e(s.value.onRefreshPages((e=>{e.includes(n.pageIndex)&&p.value++})))})),e.watchEffect((e=>{const t=n.pageIndex,o=c.value,l=u.value;p.value;const a=d.value;if(!a)return;f&&g&&(URL.revokeObjectURL(f),f=null,g=!1);const s=a.renderPage({pageIndex:t,options:{scaleFactor:o,dpr:l}});s.wait((e=>{const r=URL.createObjectURL(e);f=r,i.value=r,g=!1}),r.ignore),e((()=>{f?g&&(URL.revokeObjectURL(f),f=null,g=!1):s.abort({code:r.PdfErrorCode.Cancelled,message:"canceled render task"})}))})),e.onBeforeUnmount((()=>{f&&(URL.revokeObjectURL(f),f=null)})),(r,t)=>i.value?(e.openBlock(),e.createElementBlock("img",{key:0,src:i.value,style:{width:"100%",height:"100%"},onLoad:v},null,40,a)):e.createCommentVNode("",!0)}});exports.RenderLayer=c,exports.useRenderCapability=l,exports.useRenderPlugin=o,Object.keys(n).forEach((e=>{"default"===e||Object.prototype.hasOwnProperty.call(exports,e)||Object.defineProperty(exports,e,{enumerable:!0,get:()=>n[e]})}));
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/vue/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../src/vue/hooks/use-render.ts","../../src/vue/components/render-layer.vue"],"sourcesContent":["import { useCapability, usePlugin } from '@embedpdf/core/vue';\nimport { RenderPlugin } from '@embedpdf/plugin-render';\n\nexport const useRenderPlugin = () => usePlugin<RenderPlugin>(RenderPlugin.id);\nexport const useRenderCapability = () => useCapability<RenderPlugin>(RenderPlugin.id);\n","<script setup lang=\"ts\">\nimport { ref,
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../src/vue/hooks/use-render.ts","../../src/vue/components/render-layer.vue"],"sourcesContent":["import { useCapability, usePlugin } from '@embedpdf/core/vue';\nimport { RenderPlugin } from '@embedpdf/plugin-render';\n\nexport const useRenderPlugin = () => usePlugin<RenderPlugin>(RenderPlugin.id);\nexport const useRenderCapability = () => useCapability<RenderPlugin>(RenderPlugin.id);\n","<script setup lang=\"ts\">\nimport { ref, onBeforeUnmount, computed, watchEffect } from 'vue';\nimport { ignore, PdfErrorCode } from '@embedpdf/models';\n\nimport { useRenderCapability, useRenderPlugin } from '../hooks';\n\ninterface Props {\n pageIndex: number;\n /**\n * The scale factor for rendering the page.\n */\n scale?: number;\n /**\n * @deprecated Use `scale` instead. Will be removed in the next major release.\n */\n scaleFactor?: number;\n dpr?: number;\n}\n\nconst props = defineProps<Props>();\n\n// Handle deprecation: prefer scale over scaleFactor, but fall back to scaleFactor if scale is not provided\nconst actualScale = computed(() => props.scale ?? props.scaleFactor ?? 1);\nconst actualDpr = computed(() => props.dpr ?? window.devicePixelRatio);\n\nconst { provides: renderProvides } = useRenderCapability();\nconst { plugin: renderPlugin } = useRenderPlugin();\n\nconst imageUrl = ref<string | null>(null);\nconst refreshTick = ref(0);\n\nlet urlRef: string | null = null;\nlet hasLoaded = false;\n\n// Listen for external page refresh events\nwatchEffect((onCleanup) => {\n if (!renderPlugin.value) return;\n\n const unsubscribe = renderPlugin.value.onRefreshPages((pages: number[]) => {\n if (pages.includes(props.pageIndex)) {\n refreshTick.value++;\n }\n });\n\n onCleanup(unsubscribe);\n});\n\n// Render page when dependencies change\nwatchEffect((onCleanup) => {\n // Capture reactive dependencies\n const pageIndex = props.pageIndex;\n const scale = actualScale.value;\n const dpr = actualDpr.value;\n const tick = refreshTick.value;\n const capability = renderProvides.value;\n\n if (!capability) return;\n\n // Revoke old URL before creating new one (if it's been loaded)\n if (urlRef && hasLoaded) {\n URL.revokeObjectURL(urlRef);\n urlRef = null;\n hasLoaded = false;\n }\n\n const task = capability.renderPage({\n pageIndex,\n options: {\n scaleFactor: scale,\n dpr,\n },\n });\n\n task.wait((blob) => {\n const objectUrl = URL.createObjectURL(blob);\n urlRef = objectUrl;\n imageUrl.value = objectUrl;\n hasLoaded = false;\n }, ignore);\n\n onCleanup(() => {\n if (urlRef) {\n // Only revoke if image has loaded\n if (hasLoaded) {\n URL.revokeObjectURL(urlRef);\n urlRef = null;\n hasLoaded = false;\n }\n } else {\n // Task still in progress, abort it\n task.abort({\n code: PdfErrorCode.Cancelled,\n message: 'canceled render task',\n });\n }\n });\n});\n\nonBeforeUnmount(() => {\n if (urlRef) {\n URL.revokeObjectURL(urlRef);\n urlRef = null;\n }\n});\n\nfunction handleImageLoad() {\n hasLoaded = true;\n}\n</script>\n\n<template>\n <img\n v-if=\"imageUrl\"\n :src=\"imageUrl\"\n :style=\"{ width: '100%', height: '100%' }\"\n @load=\"handleImageLoad\"\n />\n</template>\n"],"names":["useRenderPlugin","usePlugin","RenderPlugin","id","useRenderCapability","useCapability","props","__props","actualScale","computed","scale","scaleFactor","actualDpr","dpr","window","devicePixelRatio","provides","renderProvides","plugin","renderPlugin","imageUrl","ref","refreshTick","urlRef","hasLoaded","handleImageLoad","vue$1","watchEffect","onCleanup","value","onRefreshPages","pages","includes","pageIndex","capability","URL","revokeObjectURL","task","renderPage","options","wait","blob","objectUrl","createObjectURL","ignore","abort","code","PdfErrorCode","Cancelled","message","onBeforeUnmount","_createElementBlock","src","style","width","height","onLoad"],"mappings":"0MAGaA,EAAkB,IAAMC,YAAwBC,EAAAA,aAAaC,IAC7DC,EAAsB,IAAMC,gBAA4BH,EAAAA,aAAaC,sHCelF,MAAMG,EAAQC,EAGRC,EAAcC,EAAAA,UAAS,IAAMH,EAAMI,OAASJ,EAAMK,aAAe,IACjEC,EAAYH,EAAAA,UAAS,IAAMH,EAAMO,KAAOC,OAAOC,oBAE7CC,SAAUC,GAAmBb,KAC7Bc,OAAQC,GAAiBnB,IAE3BoB,EAAWC,MAAmB,MAC9BC,EAAcD,MAAI,GAExB,IAAIE,EAAwB,KACxBC,GAAY,EAyEhB,SAASC,IACKD,GAAA,CAAA,QAvEdE,EAAAC,aAAaC,IACP,IAACT,EAAaU,MAAO,OAQzBD,EANoBT,EAAaU,MAAMC,gBAAgBC,IACjDA,EAAMC,SAAS1B,EAAM2B,YACXX,EAAAO,OAAA,IAIK,IAIvBH,EAAAC,aAAaC,IAEX,MAAMK,EAAY3B,EAAM2B,UAClBvB,EAAQF,EAAYqB,MACpBhB,EAAMD,EAAUiB,MACGP,EAAAO,MACzB,MAAMK,EAAajB,EAAeY,MAElC,IAAKK,EAAY,OAGbX,GAAUC,IACZW,IAAIC,gBAAgBb,GACXA,EAAA,KACGC,GAAA,GAGR,MAAAa,EAAOH,EAAWI,WAAW,CACjCL,YACAM,QAAS,CACP5B,YAAaD,EACbG,SAICwB,EAAAG,MAAMC,IACH,MAAAC,EAAYP,IAAIQ,gBAAgBF,GAC7BlB,EAAAmB,EACTtB,EAASS,MAAQa,EACLlB,GAAA,CAAA,GACXoB,UAEHhB,GAAU,KACJL,EAEEC,IACFW,IAAIC,gBAAgBb,GACXA,EAAA,KACGC,GAAA,GAIda,EAAKQ,MAAM,CACTC,KAAMC,EAAaA,aAAAC,UACnBC,QAAS,wBACV,GAEJ,IAGHC,EAAAA,iBAAgB,KACV3B,IACFY,IAAIC,gBAAgBb,GACXA,EAAA,KAAA,WAWHH,EAAQS,qBADhBsB,EAAAA,mBAKE,MAAA,OAHCC,IAAKhC,EAAQS,MACbwB,MAAO,CAAiCC,MAAA,OAAAC,OAAA,QACxCC,OAAM/B"}
|
package/dist/vue/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, ref, watchEffect,
|
|
1
|
+
import { defineComponent, computed, ref, watchEffect, onBeforeUnmount, createElementBlock, createCommentVNode, openBlock } from "vue";
|
|
2
2
|
import { ignore, PdfErrorCode } from "@embedpdf/models";
|
|
3
3
|
import { useCapability, usePlugin } from "@embedpdf/core/vue";
|
|
4
4
|
import { RenderPlugin } from "@embedpdf/plugin-render";
|
|
@@ -17,45 +17,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17
17
|
setup(__props) {
|
|
18
18
|
const props = __props;
|
|
19
19
|
const actualScale = computed(() => props.scale ?? props.scaleFactor ?? 1);
|
|
20
|
+
const actualDpr = computed(() => props.dpr ?? window.devicePixelRatio);
|
|
20
21
|
const { provides: renderProvides } = useRenderCapability();
|
|
21
22
|
const { plugin: renderPlugin } = useRenderPlugin();
|
|
22
23
|
const imageUrl = ref(null);
|
|
23
24
|
const refreshTick = ref(0);
|
|
24
|
-
let
|
|
25
|
-
let
|
|
26
|
-
function abortCurrentTask() {
|
|
27
|
-
if (currentTask && !currentBlobUrl) {
|
|
28
|
-
currentTask.abort({
|
|
29
|
-
code: PdfErrorCode.Cancelled,
|
|
30
|
-
message: "canceled render task"
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
function revoke() {
|
|
35
|
-
if (currentBlobUrl) {
|
|
36
|
-
URL.revokeObjectURL(currentBlobUrl);
|
|
37
|
-
currentBlobUrl = null;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
function startRender() {
|
|
41
|
-
abortCurrentTask();
|
|
42
|
-
revoke();
|
|
43
|
-
currentTask = null;
|
|
44
|
-
if (!renderProvides.value) return;
|
|
45
|
-
const task = renderProvides.value.renderPage({
|
|
46
|
-
pageIndex: props.pageIndex,
|
|
47
|
-
options: {
|
|
48
|
-
scaleFactor: actualScale.value,
|
|
49
|
-
dpr: props.dpr || window.devicePixelRatio
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
currentTask = task;
|
|
53
|
-
task.wait((blob) => {
|
|
54
|
-
currentBlobUrl = URL.createObjectURL(blob);
|
|
55
|
-
imageUrl.value = currentBlobUrl;
|
|
56
|
-
currentTask = null;
|
|
57
|
-
}, ignore);
|
|
58
|
-
}
|
|
25
|
+
let urlRef = null;
|
|
26
|
+
let hasLoaded = false;
|
|
59
27
|
watchEffect((onCleanup) => {
|
|
60
28
|
if (!renderPlugin.value) return;
|
|
61
29
|
const unsubscribe = renderPlugin.value.onRefreshPages((pages) => {
|
|
@@ -65,21 +33,61 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
65
33
|
});
|
|
66
34
|
onCleanup(unsubscribe);
|
|
67
35
|
});
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
36
|
+
watchEffect((onCleanup) => {
|
|
37
|
+
const pageIndex = props.pageIndex;
|
|
38
|
+
const scale = actualScale.value;
|
|
39
|
+
const dpr = actualDpr.value;
|
|
40
|
+
refreshTick.value;
|
|
41
|
+
const capability = renderProvides.value;
|
|
42
|
+
if (!capability) return;
|
|
43
|
+
if (urlRef && hasLoaded) {
|
|
44
|
+
URL.revokeObjectURL(urlRef);
|
|
45
|
+
urlRef = null;
|
|
46
|
+
hasLoaded = false;
|
|
47
|
+
}
|
|
48
|
+
const task = capability.renderPage({
|
|
49
|
+
pageIndex,
|
|
50
|
+
options: {
|
|
51
|
+
scaleFactor: scale,
|
|
52
|
+
dpr
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
task.wait((blob) => {
|
|
56
|
+
const objectUrl = URL.createObjectURL(blob);
|
|
57
|
+
urlRef = objectUrl;
|
|
58
|
+
imageUrl.value = objectUrl;
|
|
59
|
+
hasLoaded = false;
|
|
60
|
+
}, ignore);
|
|
61
|
+
onCleanup(() => {
|
|
62
|
+
if (urlRef) {
|
|
63
|
+
if (hasLoaded) {
|
|
64
|
+
URL.revokeObjectURL(urlRef);
|
|
65
|
+
urlRef = null;
|
|
66
|
+
hasLoaded = false;
|
|
67
|
+
}
|
|
68
|
+
} else {
|
|
69
|
+
task.abort({
|
|
70
|
+
code: PdfErrorCode.Cancelled,
|
|
71
|
+
message: "canceled render task"
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
});
|
|
73
76
|
onBeforeUnmount(() => {
|
|
74
|
-
|
|
75
|
-
|
|
77
|
+
if (urlRef) {
|
|
78
|
+
URL.revokeObjectURL(urlRef);
|
|
79
|
+
urlRef = null;
|
|
80
|
+
}
|
|
76
81
|
});
|
|
82
|
+
function handleImageLoad() {
|
|
83
|
+
hasLoaded = true;
|
|
84
|
+
}
|
|
77
85
|
return (_ctx, _cache) => {
|
|
78
86
|
return imageUrl.value ? (openBlock(), createElementBlock("img", {
|
|
79
87
|
key: 0,
|
|
80
88
|
src: imageUrl.value,
|
|
81
89
|
style: { width: "100%", height: "100%" },
|
|
82
|
-
onLoad:
|
|
90
|
+
onLoad: handleImageLoad
|
|
83
91
|
}, null, 40, _hoisted_1)) : createCommentVNode("", true);
|
|
84
92
|
};
|
|
85
93
|
}
|
package/dist/vue/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/vue/hooks/use-render.ts","../../src/vue/components/render-layer.vue"],"sourcesContent":["import { useCapability, usePlugin } from '@embedpdf/core/vue';\nimport { RenderPlugin } from '@embedpdf/plugin-render';\n\nexport const useRenderPlugin = () => usePlugin<RenderPlugin>(RenderPlugin.id);\nexport const useRenderCapability = () => useCapability<RenderPlugin>(RenderPlugin.id);\n","<script setup lang=\"ts\">\nimport { ref,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/vue/hooks/use-render.ts","../../src/vue/components/render-layer.vue"],"sourcesContent":["import { useCapability, usePlugin } from '@embedpdf/core/vue';\nimport { RenderPlugin } from '@embedpdf/plugin-render';\n\nexport const useRenderPlugin = () => usePlugin<RenderPlugin>(RenderPlugin.id);\nexport const useRenderCapability = () => useCapability<RenderPlugin>(RenderPlugin.id);\n","<script setup lang=\"ts\">\nimport { ref, onBeforeUnmount, computed, watchEffect } from 'vue';\nimport { ignore, PdfErrorCode } from '@embedpdf/models';\n\nimport { useRenderCapability, useRenderPlugin } from '../hooks';\n\ninterface Props {\n pageIndex: number;\n /**\n * The scale factor for rendering the page.\n */\n scale?: number;\n /**\n * @deprecated Use `scale` instead. Will be removed in the next major release.\n */\n scaleFactor?: number;\n dpr?: number;\n}\n\nconst props = defineProps<Props>();\n\n// Handle deprecation: prefer scale over scaleFactor, but fall back to scaleFactor if scale is not provided\nconst actualScale = computed(() => props.scale ?? props.scaleFactor ?? 1);\nconst actualDpr = computed(() => props.dpr ?? window.devicePixelRatio);\n\nconst { provides: renderProvides } = useRenderCapability();\nconst { plugin: renderPlugin } = useRenderPlugin();\n\nconst imageUrl = ref<string | null>(null);\nconst refreshTick = ref(0);\n\nlet urlRef: string | null = null;\nlet hasLoaded = false;\n\n// Listen for external page refresh events\nwatchEffect((onCleanup) => {\n if (!renderPlugin.value) return;\n\n const unsubscribe = renderPlugin.value.onRefreshPages((pages: number[]) => {\n if (pages.includes(props.pageIndex)) {\n refreshTick.value++;\n }\n });\n\n onCleanup(unsubscribe);\n});\n\n// Render page when dependencies change\nwatchEffect((onCleanup) => {\n // Capture reactive dependencies\n const pageIndex = props.pageIndex;\n const scale = actualScale.value;\n const dpr = actualDpr.value;\n const tick = refreshTick.value;\n const capability = renderProvides.value;\n\n if (!capability) return;\n\n // Revoke old URL before creating new one (if it's been loaded)\n if (urlRef && hasLoaded) {\n URL.revokeObjectURL(urlRef);\n urlRef = null;\n hasLoaded = false;\n }\n\n const task = capability.renderPage({\n pageIndex,\n options: {\n scaleFactor: scale,\n dpr,\n },\n });\n\n task.wait((blob) => {\n const objectUrl = URL.createObjectURL(blob);\n urlRef = objectUrl;\n imageUrl.value = objectUrl;\n hasLoaded = false;\n }, ignore);\n\n onCleanup(() => {\n if (urlRef) {\n // Only revoke if image has loaded\n if (hasLoaded) {\n URL.revokeObjectURL(urlRef);\n urlRef = null;\n hasLoaded = false;\n }\n } else {\n // Task still in progress, abort it\n task.abort({\n code: PdfErrorCode.Cancelled,\n message: 'canceled render task',\n });\n }\n });\n});\n\nonBeforeUnmount(() => {\n if (urlRef) {\n URL.revokeObjectURL(urlRef);\n urlRef = null;\n }\n});\n\nfunction handleImageLoad() {\n hasLoaded = true;\n}\n</script>\n\n<template>\n <img\n v-if=\"imageUrl\"\n :src=\"imageUrl\"\n :style=\"{ width: '100%', height: '100%' }\"\n @load=\"handleImageLoad\"\n />\n</template>\n"],"names":["_createElementBlock"],"mappings":";;;;;AAGO,MAAM,kBAAkB,MAAM,UAAwB,aAAa,EAAE;AACrE,MAAM,sBAAsB,MAAM,cAA4B,aAAa,EAAE;;;;;;;;;;;ACepF,UAAM,QAAQ;AAGd,UAAM,cAAc,SAAS,MAAM,MAAM,SAAS,MAAM,eAAe,CAAC;AACxE,UAAM,YAAY,SAAS,MAAM,MAAM,OAAO,OAAO,gBAAgB;AAErE,UAAM,EAAE,UAAU,eAAe,IAAI,oBAAoB;AACzD,UAAM,EAAE,QAAQ,aAAa,IAAI,gBAAgB;AAE3C,UAAA,WAAW,IAAmB,IAAI;AAClC,UAAA,cAAc,IAAI,CAAC;AAEzB,QAAI,SAAwB;AAC5B,QAAI,YAAY;AAGhB,gBAAY,CAAC,cAAc;AACrB,UAAA,CAAC,aAAa,MAAO;AAEzB,YAAM,cAAc,aAAa,MAAM,eAAe,CAAC,UAAoB;AACzE,YAAI,MAAM,SAAS,MAAM,SAAS,GAAG;AACvB,sBAAA;AAAA,QAAA;AAAA,MACd,CACD;AAED,gBAAU,WAAW;AAAA,IAAA,CACtB;AAGD,gBAAY,CAAC,cAAc;AAEzB,YAAM,YAAY,MAAM;AACxB,YAAM,QAAQ,YAAY;AAC1B,YAAM,MAAM,UAAU;AACT,kBAAY;AACzB,YAAM,aAAa,eAAe;AAElC,UAAI,CAAC,WAAY;AAGjB,UAAI,UAAU,WAAW;AACvB,YAAI,gBAAgB,MAAM;AACjB,iBAAA;AACG,oBAAA;AAAA,MAAA;AAGR,YAAA,OAAO,WAAW,WAAW;AAAA,QACjC;AAAA,QACA,SAAS;AAAA,UACP,aAAa;AAAA,UACb;AAAA,QAAA;AAAA,MACF,CACD;AAEI,WAAA,KAAK,CAAC,SAAS;AACZ,cAAA,YAAY,IAAI,gBAAgB,IAAI;AACjC,iBAAA;AACT,iBAAS,QAAQ;AACL,oBAAA;AAAA,SACX,MAAM;AAET,gBAAU,MAAM;AACd,YAAI,QAAQ;AAEV,cAAI,WAAW;AACb,gBAAI,gBAAgB,MAAM;AACjB,qBAAA;AACG,wBAAA;AAAA,UAAA;AAAA,QACd,OACK;AAEL,eAAK,MAAM;AAAA,YACT,MAAM,aAAa;AAAA,YACnB,SAAS;AAAA,UAAA,CACV;AAAA,QAAA;AAAA,MACH,CACD;AAAA,IAAA,CACF;AAED,oBAAgB,MAAM;AACpB,UAAI,QAAQ;AACV,YAAI,gBAAgB,MAAM;AACjB,iBAAA;AAAA,MAAA;AAAA,IACX,CACD;AAED,aAAS,kBAAkB;AACb,kBAAA;AAAA,IAAA;;aAMJ,SAAQ,sBADhBA,mBAKE,OAAA;AAAA;QAHC,KAAK,SAAQ;AAAA,QACb,OAAO,EAAiC,OAAA,QAAA,QAAA,OAAA;AAAA,QACxC,QAAM;AAAA,MAAA;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@embedpdf/plugin-render",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.14",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -29,20 +29,20 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@embedpdf/models": "1.3.
|
|
32
|
+
"@embedpdf/models": "1.3.14"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/react": "^18.2.0",
|
|
36
36
|
"typescript": "^5.0.0",
|
|
37
37
|
"@embedpdf/build": "1.0.1",
|
|
38
|
-
"@embedpdf/core": "1.3.
|
|
38
|
+
"@embedpdf/core": "1.3.14"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"preact": "^10.26.4",
|
|
42
42
|
"react": ">=16.8.0",
|
|
43
43
|
"react-dom": ">=16.8.0",
|
|
44
44
|
"vue": ">=3.2.0",
|
|
45
|
-
"@embedpdf/core": "1.3.
|
|
45
|
+
"@embedpdf/core": "1.3.14"
|
|
46
46
|
},
|
|
47
47
|
"files": [
|
|
48
48
|
"dist",
|