@embedpdf/pdfium 2.13.0 → 2.14.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/dist/index.browser.js +17 -1
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +8 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +17 -1
- package/dist/index.js.map +1 -1
- package/dist/pdfium.wasm +0 -0
- package/dist/vendor/functions.d.ts +3 -0
- package/package.json +1 -1
package/dist/index.browser.js
CHANGED
|
@@ -69,6 +69,8 @@ var createPdfium = (() => {
|
|
|
69
69
|
'_EPDFAnnot_GetBorderEffect',
|
|
70
70
|
'_EPDFAnnot_GetBorderStyle',
|
|
71
71
|
'_EPDFAnnot_GetButtonExportValue',
|
|
72
|
+
'_EPDFAnnot_GetCalloutLine',
|
|
73
|
+
'_EPDFAnnot_GetCalloutLineCount',
|
|
72
74
|
'_EPDFAnnot_GetColor',
|
|
73
75
|
'_EPDFAnnot_GetDefaultAppearance',
|
|
74
76
|
'_EPDFAnnot_GetExtendedRotation',
|
|
@@ -96,6 +98,7 @@ var createPdfium = (() => {
|
|
|
96
98
|
'_EPDFAnnot_SetBorderDashPattern',
|
|
97
99
|
'_EPDFAnnot_SetBorderEffect',
|
|
98
100
|
'_EPDFAnnot_SetBorderStyle',
|
|
101
|
+
'_EPDFAnnot_SetCalloutLine',
|
|
99
102
|
'_EPDFAnnot_SetColor',
|
|
100
103
|
'_EPDFAnnot_SetDefaultAppearance',
|
|
101
104
|
'_EPDFAnnot_SetExtendedRotation',
|
|
@@ -6198,6 +6201,16 @@ var createPdfium = (() => {
|
|
|
6198
6201
|
'EPDFAnnot_ShareFormField',
|
|
6199
6202
|
3,
|
|
6200
6203
|
));
|
|
6204
|
+
(Module['_EPDFAnnot_GetCalloutLineCount'] =
|
|
6205
|
+
createExportWrapper('EPDFAnnot_GetCalloutLineCount', 1));
|
|
6206
|
+
(Module['_EPDFAnnot_GetCalloutLine'] = createExportWrapper(
|
|
6207
|
+
'EPDFAnnot_GetCalloutLine',
|
|
6208
|
+
3,
|
|
6209
|
+
));
|
|
6210
|
+
(Module['_EPDFAnnot_SetCalloutLine'] = createExportWrapper(
|
|
6211
|
+
'EPDFAnnot_SetCalloutLine',
|
|
6212
|
+
3,
|
|
6213
|
+
));
|
|
6201
6214
|
(Module['_EPDFAnnot_SetFormFieldOptions'] =
|
|
6202
6215
|
createExportWrapper('EPDFAnnot_SetFormFieldOptions', 4));
|
|
6203
6216
|
(Module['_FPDFDoc_GetAttachmentCount'] = createExportWrapper(
|
|
@@ -8166,6 +8179,8 @@ const functions = {
|
|
|
8166
8179
|
EPDFAnnot_GetBorderEffect: [['number', 'number'], 'boolean'],
|
|
8167
8180
|
EPDFAnnot_GetBorderStyle: [['number', 'number'], 'number'],
|
|
8168
8181
|
EPDFAnnot_GetButtonExportValue: [['number', 'number', 'number'], 'number'],
|
|
8182
|
+
EPDFAnnot_GetCalloutLine: [['number', 'number', 'number'], 'number'],
|
|
8183
|
+
EPDFAnnot_GetCalloutLineCount: [['number'], 'number'],
|
|
8169
8184
|
EPDFAnnot_GetColor: [
|
|
8170
8185
|
['number', 'number', 'number', 'number', 'number'],
|
|
8171
8186
|
'boolean',
|
|
@@ -8208,6 +8223,7 @@ const functions = {
|
|
|
8208
8223
|
EPDFAnnot_SetBorderDashPattern: [['number', 'number', 'number'], 'boolean'],
|
|
8209
8224
|
EPDFAnnot_SetBorderEffect: [['number', 'number'], 'boolean'],
|
|
8210
8225
|
EPDFAnnot_SetBorderStyle: [['number', 'number', 'number'], 'boolean'],
|
|
8226
|
+
EPDFAnnot_SetCalloutLine: [['number', 'number', 'number'], 'boolean'],
|
|
8211
8227
|
EPDFAnnot_SetColor: [
|
|
8212
8228
|
['number', 'number', 'number', 'number', 'number'],
|
|
8213
8229
|
'boolean',
|
|
@@ -9042,7 +9058,7 @@ const functions = {
|
|
|
9042
9058
|
PDFiumExt_SaveAsCopy: [['number', 'number'], 'number'],
|
|
9043
9059
|
};
|
|
9044
9060
|
|
|
9045
|
-
const DEFAULT_PDFIUM_WASM_URL = 'https://cdn.jsdelivr.net/npm/@embedpdf/pdfium@2.
|
|
9061
|
+
const DEFAULT_PDFIUM_WASM_URL = 'https://cdn.jsdelivr.net/npm/@embedpdf/pdfium@2.14.0/dist/pdfium.wasm';
|
|
9046
9062
|
async function createWrappedModule(pdfium) {
|
|
9047
9063
|
const module = {
|
|
9048
9064
|
pdfium,
|