@bluepic/embed 0.4.0-next.175 → 0.4.0-next.177
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/bluepic-embed.iife.js +129 -129
- package/dist/bluepic-embed.umd.js +129 -129
- package/dist/components/TemplateEditor/BxLiveTemplate.vue.d.ts +2 -0
- package/dist/components/TemplateEditor/BxTemplateEditor.vue.d.ts +44 -0
- package/dist/components/TemplateEditor/TemplateView.vue.d.ts +8 -0
- package/dist/embed/embed.d.ts +102 -0
- package/dist/main.cjs +80 -80
- package/dist/main.mjs +17793 -17715
- package/dist/style.css +1 -1
- package/dist/util/export.d.ts +14 -2
- package/dist/util/gallery.d.ts +7 -0
- package/package.json +2 -2
|
@@ -29,6 +29,7 @@ declare function render(options: {
|
|
|
29
29
|
watermark: boolean;
|
|
30
30
|
resultType: 'blob';
|
|
31
31
|
externalCanvas: HTMLCanvasElement | null;
|
|
32
|
+
svgLoadWaitDelay?: number;
|
|
32
33
|
}): Promise<Blob>;
|
|
33
34
|
declare function render(options: {
|
|
34
35
|
type: 'image/png' | 'image/jpeg' | 'image/jpge' | 'image/webp';
|
|
@@ -43,6 +44,7 @@ declare function render(options: {
|
|
|
43
44
|
watermark: boolean;
|
|
44
45
|
resultType: 'canvas';
|
|
45
46
|
externalCanvas: HTMLCanvasElement | null;
|
|
47
|
+
svgLoadWaitDelay?: number;
|
|
46
48
|
}): Promise<HTMLCanvasElement>;
|
|
47
49
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
48
50
|
render: typeof render;
|
|
@@ -80,6 +80,18 @@ type __VLS_Props = {
|
|
|
80
80
|
enforceServerSideRendering: boolean;
|
|
81
81
|
enforceFallbackService: boolean;
|
|
82
82
|
enforceVideoServerSideRendering: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Milliseconds the local renderer sleeps between the serialized SVG's `load`
|
|
85
|
+
* event and drawing it to canvas. Omitted = the raster default (150ms).
|
|
86
|
+
*
|
|
87
|
+
* It is a flat per-render tax paid in pure sleep, so it is invisible on a
|
|
88
|
+
* single export and dominant on repeated ones (batch rows, video frames). 0
|
|
89
|
+
* removes it entirely and relies on `load` already meaning "fonts and images
|
|
90
|
+
* decoded" — true in principle, since exportSVGDocument inlines everything as
|
|
91
|
+
* data URIs, but engine-dependent enough to be worth proving per platform
|
|
92
|
+
* rather than assuming. Host-settable so it can be measured.
|
|
93
|
+
*/
|
|
94
|
+
svgLoadWaitDelay?: number;
|
|
83
95
|
liveViewOffsetDesktop?: {
|
|
84
96
|
top: number;
|
|
85
97
|
right: number;
|
|
@@ -217,6 +229,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
217
229
|
watermark: boolean;
|
|
218
230
|
resultType: "blob";
|
|
219
231
|
externalCanvas: HTMLCanvasElement | null;
|
|
232
|
+
svgLoadWaitDelay?: number;
|
|
220
233
|
}): Promise<Blob>;
|
|
221
234
|
(options: {
|
|
222
235
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -231,6 +244,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
231
244
|
watermark: boolean;
|
|
232
245
|
resultType: "canvas";
|
|
233
246
|
externalCanvas: HTMLCanvasElement | null;
|
|
247
|
+
svgLoadWaitDelay?: number;
|
|
234
248
|
}): Promise<HTMLCanvasElement>;
|
|
235
249
|
};
|
|
236
250
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -288,6 +302,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
288
302
|
watermark: boolean;
|
|
289
303
|
resultType: "blob";
|
|
290
304
|
externalCanvas: HTMLCanvasElement | null;
|
|
305
|
+
svgLoadWaitDelay?: number;
|
|
291
306
|
}): Promise<Blob>;
|
|
292
307
|
(options: {
|
|
293
308
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -302,6 +317,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
302
317
|
watermark: boolean;
|
|
303
318
|
resultType: "canvas";
|
|
304
319
|
externalCanvas: HTMLCanvasElement | null;
|
|
320
|
+
svgLoadWaitDelay?: number;
|
|
305
321
|
}): Promise<HTMLCanvasElement>;
|
|
306
322
|
};
|
|
307
323
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -344,6 +360,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
344
360
|
watermark: boolean;
|
|
345
361
|
resultType: "blob";
|
|
346
362
|
externalCanvas: HTMLCanvasElement | null;
|
|
363
|
+
svgLoadWaitDelay?: number;
|
|
347
364
|
}): Promise<Blob>;
|
|
348
365
|
(options: {
|
|
349
366
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -358,6 +375,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
358
375
|
watermark: boolean;
|
|
359
376
|
resultType: "canvas";
|
|
360
377
|
externalCanvas: HTMLCanvasElement | null;
|
|
378
|
+
svgLoadWaitDelay?: number;
|
|
361
379
|
}): Promise<HTMLCanvasElement>;
|
|
362
380
|
};
|
|
363
381
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -415,6 +433,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
415
433
|
watermark: boolean;
|
|
416
434
|
resultType: "blob";
|
|
417
435
|
externalCanvas: HTMLCanvasElement | null;
|
|
436
|
+
svgLoadWaitDelay?: number;
|
|
418
437
|
}): Promise<Blob>;
|
|
419
438
|
(options: {
|
|
420
439
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -429,6 +448,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
429
448
|
watermark: boolean;
|
|
430
449
|
resultType: "canvas";
|
|
431
450
|
externalCanvas: HTMLCanvasElement | null;
|
|
451
|
+
svgLoadWaitDelay?: number;
|
|
432
452
|
}): Promise<HTMLCanvasElement>;
|
|
433
453
|
};
|
|
434
454
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -941,6 +961,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
941
961
|
watermark: boolean;
|
|
942
962
|
resultType: "blob";
|
|
943
963
|
externalCanvas: HTMLCanvasElement | null;
|
|
964
|
+
svgLoadWaitDelay?: number;
|
|
944
965
|
}): Promise<Blob>;
|
|
945
966
|
(options: {
|
|
946
967
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -955,6 +976,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
955
976
|
watermark: boolean;
|
|
956
977
|
resultType: "canvas";
|
|
957
978
|
externalCanvas: HTMLCanvasElement | null;
|
|
979
|
+
svgLoadWaitDelay?: number;
|
|
958
980
|
}): Promise<HTMLCanvasElement>;
|
|
959
981
|
};
|
|
960
982
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -1012,6 +1034,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1012
1034
|
watermark: boolean;
|
|
1013
1035
|
resultType: "blob";
|
|
1014
1036
|
externalCanvas: HTMLCanvasElement | null;
|
|
1037
|
+
svgLoadWaitDelay?: number;
|
|
1015
1038
|
}): Promise<Blob>;
|
|
1016
1039
|
(options: {
|
|
1017
1040
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -1026,6 +1049,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1026
1049
|
watermark: boolean;
|
|
1027
1050
|
resultType: "canvas";
|
|
1028
1051
|
externalCanvas: HTMLCanvasElement | null;
|
|
1052
|
+
svgLoadWaitDelay?: number;
|
|
1029
1053
|
}): Promise<HTMLCanvasElement>;
|
|
1030
1054
|
};
|
|
1031
1055
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -1068,6 +1092,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1068
1092
|
watermark: boolean;
|
|
1069
1093
|
resultType: "blob";
|
|
1070
1094
|
externalCanvas: HTMLCanvasElement | null;
|
|
1095
|
+
svgLoadWaitDelay?: number;
|
|
1071
1096
|
}): Promise<Blob>;
|
|
1072
1097
|
(options: {
|
|
1073
1098
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -1082,6 +1107,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1082
1107
|
watermark: boolean;
|
|
1083
1108
|
resultType: "canvas";
|
|
1084
1109
|
externalCanvas: HTMLCanvasElement | null;
|
|
1110
|
+
svgLoadWaitDelay?: number;
|
|
1085
1111
|
}): Promise<HTMLCanvasElement>;
|
|
1086
1112
|
};
|
|
1087
1113
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -1139,6 +1165,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1139
1165
|
watermark: boolean;
|
|
1140
1166
|
resultType: "blob";
|
|
1141
1167
|
externalCanvas: HTMLCanvasElement | null;
|
|
1168
|
+
svgLoadWaitDelay?: number;
|
|
1142
1169
|
}): Promise<Blob>;
|
|
1143
1170
|
(options: {
|
|
1144
1171
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -1153,6 +1180,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1153
1180
|
watermark: boolean;
|
|
1154
1181
|
resultType: "canvas";
|
|
1155
1182
|
externalCanvas: HTMLCanvasElement | null;
|
|
1183
|
+
svgLoadWaitDelay?: number;
|
|
1156
1184
|
}): Promise<HTMLCanvasElement>;
|
|
1157
1185
|
};
|
|
1158
1186
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -1635,6 +1663,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1635
1663
|
watermark: boolean;
|
|
1636
1664
|
resultType: "blob";
|
|
1637
1665
|
externalCanvas: HTMLCanvasElement | null;
|
|
1666
|
+
svgLoadWaitDelay?: number;
|
|
1638
1667
|
}): Promise<Blob>;
|
|
1639
1668
|
(options: {
|
|
1640
1669
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -1649,6 +1678,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1649
1678
|
watermark: boolean;
|
|
1650
1679
|
resultType: "canvas";
|
|
1651
1680
|
externalCanvas: HTMLCanvasElement | null;
|
|
1681
|
+
svgLoadWaitDelay?: number;
|
|
1652
1682
|
}): Promise<HTMLCanvasElement>;
|
|
1653
1683
|
};
|
|
1654
1684
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -1706,6 +1736,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1706
1736
|
watermark: boolean;
|
|
1707
1737
|
resultType: "blob";
|
|
1708
1738
|
externalCanvas: HTMLCanvasElement | null;
|
|
1739
|
+
svgLoadWaitDelay?: number;
|
|
1709
1740
|
}): Promise<Blob>;
|
|
1710
1741
|
(options: {
|
|
1711
1742
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -1720,6 +1751,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1720
1751
|
watermark: boolean;
|
|
1721
1752
|
resultType: "canvas";
|
|
1722
1753
|
externalCanvas: HTMLCanvasElement | null;
|
|
1754
|
+
svgLoadWaitDelay?: number;
|
|
1723
1755
|
}): Promise<HTMLCanvasElement>;
|
|
1724
1756
|
};
|
|
1725
1757
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -1762,6 +1794,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1762
1794
|
watermark: boolean;
|
|
1763
1795
|
resultType: "blob";
|
|
1764
1796
|
externalCanvas: HTMLCanvasElement | null;
|
|
1797
|
+
svgLoadWaitDelay?: number;
|
|
1765
1798
|
}): Promise<Blob>;
|
|
1766
1799
|
(options: {
|
|
1767
1800
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -1776,6 +1809,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1776
1809
|
watermark: boolean;
|
|
1777
1810
|
resultType: "canvas";
|
|
1778
1811
|
externalCanvas: HTMLCanvasElement | null;
|
|
1812
|
+
svgLoadWaitDelay?: number;
|
|
1779
1813
|
}): Promise<HTMLCanvasElement>;
|
|
1780
1814
|
};
|
|
1781
1815
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -1833,6 +1867,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1833
1867
|
watermark: boolean;
|
|
1834
1868
|
resultType: "blob";
|
|
1835
1869
|
externalCanvas: HTMLCanvasElement | null;
|
|
1870
|
+
svgLoadWaitDelay?: number;
|
|
1836
1871
|
}): Promise<Blob>;
|
|
1837
1872
|
(options: {
|
|
1838
1873
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -1847,6 +1882,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1847
1882
|
watermark: boolean;
|
|
1848
1883
|
resultType: "canvas";
|
|
1849
1884
|
externalCanvas: HTMLCanvasElement | null;
|
|
1885
|
+
svgLoadWaitDelay?: number;
|
|
1850
1886
|
}): Promise<HTMLCanvasElement>;
|
|
1851
1887
|
};
|
|
1852
1888
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -2359,6 +2395,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
2359
2395
|
watermark: boolean;
|
|
2360
2396
|
resultType: "blob";
|
|
2361
2397
|
externalCanvas: HTMLCanvasElement | null;
|
|
2398
|
+
svgLoadWaitDelay?: number;
|
|
2362
2399
|
}): Promise<Blob>;
|
|
2363
2400
|
(options: {
|
|
2364
2401
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -2373,6 +2410,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
2373
2410
|
watermark: boolean;
|
|
2374
2411
|
resultType: "canvas";
|
|
2375
2412
|
externalCanvas: HTMLCanvasElement | null;
|
|
2413
|
+
svgLoadWaitDelay?: number;
|
|
2376
2414
|
}): Promise<HTMLCanvasElement>;
|
|
2377
2415
|
};
|
|
2378
2416
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -2430,6 +2468,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
2430
2468
|
watermark: boolean;
|
|
2431
2469
|
resultType: "blob";
|
|
2432
2470
|
externalCanvas: HTMLCanvasElement | null;
|
|
2471
|
+
svgLoadWaitDelay?: number;
|
|
2433
2472
|
}): Promise<Blob>;
|
|
2434
2473
|
(options: {
|
|
2435
2474
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -2444,6 +2483,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
2444
2483
|
watermark: boolean;
|
|
2445
2484
|
resultType: "canvas";
|
|
2446
2485
|
externalCanvas: HTMLCanvasElement | null;
|
|
2486
|
+
svgLoadWaitDelay?: number;
|
|
2447
2487
|
}): Promise<HTMLCanvasElement>;
|
|
2448
2488
|
};
|
|
2449
2489
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -2486,6 +2526,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
2486
2526
|
watermark: boolean;
|
|
2487
2527
|
resultType: "blob";
|
|
2488
2528
|
externalCanvas: HTMLCanvasElement | null;
|
|
2529
|
+
svgLoadWaitDelay?: number;
|
|
2489
2530
|
}): Promise<Blob>;
|
|
2490
2531
|
(options: {
|
|
2491
2532
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -2500,6 +2541,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
2500
2541
|
watermark: boolean;
|
|
2501
2542
|
resultType: "canvas";
|
|
2502
2543
|
externalCanvas: HTMLCanvasElement | null;
|
|
2544
|
+
svgLoadWaitDelay?: number;
|
|
2503
2545
|
}): Promise<HTMLCanvasElement>;
|
|
2504
2546
|
};
|
|
2505
2547
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -2557,6 +2599,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
2557
2599
|
watermark: boolean;
|
|
2558
2600
|
resultType: "blob";
|
|
2559
2601
|
externalCanvas: HTMLCanvasElement | null;
|
|
2602
|
+
svgLoadWaitDelay?: number;
|
|
2560
2603
|
}): Promise<Blob>;
|
|
2561
2604
|
(options: {
|
|
2562
2605
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -2571,6 +2614,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
2571
2614
|
watermark: boolean;
|
|
2572
2615
|
resultType: "canvas";
|
|
2573
2616
|
externalCanvas: HTMLCanvasElement | null;
|
|
2617
|
+
svgLoadWaitDelay?: number;
|
|
2574
2618
|
}): Promise<HTMLCanvasElement>;
|
|
2575
2619
|
};
|
|
2576
2620
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -86,6 +86,7 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
|
86
86
|
watermark: boolean;
|
|
87
87
|
resultType: "blob";
|
|
88
88
|
externalCanvas: HTMLCanvasElement | null;
|
|
89
|
+
svgLoadWaitDelay?: number;
|
|
89
90
|
}): Promise<Blob>;
|
|
90
91
|
(options: {
|
|
91
92
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -100,6 +101,7 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
|
100
101
|
watermark: boolean;
|
|
101
102
|
resultType: "canvas";
|
|
102
103
|
externalCanvas: HTMLCanvasElement | null;
|
|
104
|
+
svgLoadWaitDelay?: number;
|
|
103
105
|
}): Promise<HTMLCanvasElement>;
|
|
104
106
|
};
|
|
105
107
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -157,6 +159,7 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
|
157
159
|
watermark: boolean;
|
|
158
160
|
resultType: "blob";
|
|
159
161
|
externalCanvas: HTMLCanvasElement | null;
|
|
162
|
+
svgLoadWaitDelay?: number;
|
|
160
163
|
}): Promise<Blob>;
|
|
161
164
|
(options: {
|
|
162
165
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -171,6 +174,7 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
|
171
174
|
watermark: boolean;
|
|
172
175
|
resultType: "canvas";
|
|
173
176
|
externalCanvas: HTMLCanvasElement | null;
|
|
177
|
+
svgLoadWaitDelay?: number;
|
|
174
178
|
}): Promise<HTMLCanvasElement>;
|
|
175
179
|
};
|
|
176
180
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -213,6 +217,7 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
|
213
217
|
watermark: boolean;
|
|
214
218
|
resultType: "blob";
|
|
215
219
|
externalCanvas: HTMLCanvasElement | null;
|
|
220
|
+
svgLoadWaitDelay?: number;
|
|
216
221
|
}): Promise<Blob>;
|
|
217
222
|
(options: {
|
|
218
223
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -227,6 +232,7 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
|
227
232
|
watermark: boolean;
|
|
228
233
|
resultType: "canvas";
|
|
229
234
|
externalCanvas: HTMLCanvasElement | null;
|
|
235
|
+
svgLoadWaitDelay?: number;
|
|
230
236
|
}): Promise<HTMLCanvasElement>;
|
|
231
237
|
};
|
|
232
238
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -284,6 +290,7 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
|
284
290
|
watermark: boolean;
|
|
285
291
|
resultType: "blob";
|
|
286
292
|
externalCanvas: HTMLCanvasElement | null;
|
|
293
|
+
svgLoadWaitDelay?: number;
|
|
287
294
|
}): Promise<Blob>;
|
|
288
295
|
(options: {
|
|
289
296
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -298,6 +305,7 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
|
298
305
|
watermark: boolean;
|
|
299
306
|
resultType: "canvas";
|
|
300
307
|
externalCanvas: HTMLCanvasElement | null;
|
|
308
|
+
svgLoadWaitDelay?: number;
|
|
301
309
|
}): Promise<HTMLCanvasElement>;
|
|
302
310
|
};
|
|
303
311
|
aspectRatio: import("vue").ComputedRef<number>;
|