@bluepic/embed 0.4.0-next.99 → 0.5.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/bluepic-embed.iife.js +402 -178
- package/dist/bluepic-embed.umd.js +402 -178
- package/dist/components/AssetViewer/AssetViewer.vue.d.ts +71 -0
- package/dist/components/BxAudioPlayButton.vue.d.ts +24 -0
- package/dist/components/BxCard.vue.d.ts +35 -0
- package/dist/components/BxInput.vue.d.ts +7 -1
- package/dist/components/BxList.vue.d.ts +9 -0
- package/dist/components/BxListItem.vue.d.ts +13 -1
- package/dist/components/BxPopover.vue.d.ts +7 -0
- package/dist/components/BxPreviewLayer.vue.d.ts +18 -0
- package/dist/components/BxScrollbar.vue.d.ts +7 -0
- package/dist/components/BxSelect.vue.d.ts +16 -2
- package/dist/components/BxTable.vue.d.ts +109 -0
- package/dist/components/BxTabs.vue.d.ts +7 -0
- package/dist/components/BxWaveformThumb.vue.d.ts +27 -0
- package/dist/components/CollectionFieldPopup.vue.d.ts +4 -0
- package/dist/components/PopoverElement.vue.d.ts +10 -1
- package/dist/components/TemplateEditor/BatchCell.vue.d.ts +18 -0
- package/dist/components/TemplateEditor/BatchEditor.vue.d.ts +264 -0
- package/dist/components/TemplateEditor/BatchExportPopup.vue.d.ts +68 -0
- package/dist/components/TemplateEditor/BatchImportPopup.vue.d.ts +25 -0
- package/dist/components/TemplateEditor/BxLiveTemplate.vue.d.ts +8 -0
- package/dist/components/TemplateEditor/BxTemplateEditor.vue.d.ts +285 -16
- package/dist/components/TemplateEditor/FieldHintsLayer.vue.d.ts +86 -0
- package/dist/components/TemplateEditor/TemplateView.vue.d.ts +77 -2
- package/dist/components/User/UserInfo.vue.d.ts +12 -1
- package/dist/components/directives/usePopup.d.ts +5 -0
- package/dist/components/fields/Collection.vue.d.ts +3 -0
- package/dist/components/fields/Image.vue.d.ts +19 -5
- package/dist/components/fields/ImageEdit.vue.d.ts +6 -1
- package/dist/components/fields/Text.vue.d.ts +1 -1
- package/dist/embed/embed.d.ts +1024 -228
- package/dist/{index-CWm6zOv7.js → index-C99_zLhc.js} +9 -9
- package/dist/index-D8N6IfRw.cjs +1 -0
- package/dist/main.cjs +240 -162
- package/dist/main.d.ts +20 -0
- package/dist/main.mjs +79043 -68465
- package/dist/markdown-it-5-ieF6Bh.js +3790 -0
- package/dist/markdown-it-CLB5Jta6.cjs +16 -0
- package/dist/postal-mime-Df-WB8Vq.js +3337 -0
- package/dist/postal-mime-_7WF5UBe.cjs +28 -0
- package/dist/style.css +1 -1
- package/dist/theme/bridge.d.ts +14 -0
- package/dist/theme/color.d.ts +80 -0
- package/dist/theme/css.d.ts +8 -0
- package/dist/theme/index.d.ts +19 -0
- package/dist/theme/legacy.d.ts +3 -0
- package/dist/theme/resolve.d.ts +10 -0
- package/dist/theme/tokens.d.ts +129 -0
- package/dist/theme/types-contract.d.ts +13 -0
- package/dist/theme.cjs +1 -0
- package/dist/theme.mjs +1313 -0
- package/dist/util/assetAuth.d.ts +35 -0
- package/dist/util/audioPreview.d.ts +8 -0
- package/dist/util/batch/csv.d.ts +58 -0
- package/dist/util/batch/export.d.ts +92 -0
- package/dist/util/batch/fields.d.ts +22 -0
- package/dist/util/batch/parseCSV.d.ts +72 -0
- package/dist/util/batch/useBatchRows.d.ts +67 -0
- package/dist/util/cloneDeep.d.ts +5 -5
- package/dist/util/cloudflareImages.d.ts +8 -1
- package/dist/util/contextCapture.d.ts +19 -0
- package/dist/util/export.d.ts +65 -18
- package/dist/util/fieldHints/chipAction.d.ts +23 -0
- package/dist/util/fieldHints/fieldFocus.d.ts +81 -0
- package/dist/util/fieldHints/geometry.d.ts +52 -0
- package/dist/util/fieldHints/index.d.ts +20 -0
- package/dist/util/fieldHints/probe.d.ts +84 -0
- package/dist/util/fieldHints/resolve.d.ts +55 -0
- package/dist/util/fieldHints/textProbe.d.ts +71 -0
- package/dist/util/fieldHints/useCanvasTextEditing.d.ts +125 -0
- package/dist/util/fieldHints/useChipHighlight.d.ts +29 -0
- package/dist/util/fieldHints/useFieldHitboxes.d.ts +5601 -0
- package/dist/util/fieldHints/useHintReveal.d.ts +10 -0
- package/dist/util/fieldTree.d.ts +20 -0
- package/dist/util/fields.d.ts +1 -1
- package/dist/util/gallery.d.ts +78 -30
- package/dist/util/popoverArrow.d.ts +33 -0
- package/dist/util/popupHeaderTools.d.ts +26 -0
- package/dist/util/scrollPassthrough.d.ts +9 -0
- package/dist/util/useTheme.d.ts +36 -1
- package/dist/util/visualViewport.d.ts +47 -0
- package/dist/xlsx-BopDBbWb.js +24176 -0
- package/dist/xlsx-qn1xoUuv.cjs +105 -0
- package/package.json +18 -5
- package/dist/index-DFXQWOGQ.cjs +0 -1
- package/dist/util/backgroundRemoval.d.ts +0 -51
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { FieldsBridge, Studio, Template } from '@bluepic/types';
|
|
1
|
+
import { BluepicField, FieldsBridge, Studio, Template } from '@bluepic/types';
|
|
2
2
|
import { VNode } from 'vue';
|
|
3
3
|
import { type AssetProxyConfig } from '../../util/assetProxy';
|
|
4
4
|
import { z } from '@hono/zod-openapi';
|
|
5
|
+
import { type BatchRow } from '../../util/batch/useBatchRows';
|
|
5
6
|
import 'swiper/css';
|
|
6
7
|
import 'swiper/css/navigation';
|
|
7
8
|
import 'swiper/css/pagination';
|
|
8
9
|
import 'swiper/css/scrollbar';
|
|
9
10
|
import type { ExportAnalyticsSink } from '../../util/analytics';
|
|
11
|
+
import { nextTick } from 'vue';
|
|
10
12
|
type __VLS_Props = {
|
|
11
13
|
bxCoreVersion?: string;
|
|
12
14
|
/** Override the sandbox host (defaults to sandbox.bluepic.io). e.g. sandbox.bluepic.eu */
|
|
@@ -15,6 +17,8 @@ type __VLS_Props = {
|
|
|
15
17
|
assetProxy?: AssetProxyConfig;
|
|
16
18
|
serial?: Template.Serial;
|
|
17
19
|
preview?: string;
|
|
20
|
+
/** Passed straight through to BxLiveTemplate's skeleton — see its own doc. */
|
|
21
|
+
personalizedPreviewSrc?: string | null;
|
|
18
22
|
serialWidth?: number;
|
|
19
23
|
serialHeight?: number;
|
|
20
24
|
layout?: 'mobile' | 'desktop';
|
|
@@ -23,9 +27,24 @@ type __VLS_Props = {
|
|
|
23
27
|
showBackBtn: boolean;
|
|
24
28
|
branding: boolean;
|
|
25
29
|
exportOptions: z.infer<typeof Studio.campaignConfigSchema>['export'];
|
|
30
|
+
/**
|
|
31
|
+
* Campaign field-hints config (`config.hints`). ON by default: absent —
|
|
32
|
+
* which is every campaign predating the feature — means hints are shown.
|
|
33
|
+
* The flag exists to turn them OFF.
|
|
34
|
+
*/
|
|
35
|
+
hints?: z.infer<typeof Studio.campaignConfigSchema>['hints'];
|
|
26
36
|
apiBaseUrl: string;
|
|
27
37
|
env: 'prod' | 'dev';
|
|
28
38
|
templateId: string;
|
|
39
|
+
/**
|
|
40
|
+
* Multi-canvas templates (canvases v2): the canvas the `serial` prop was
|
|
41
|
+
* materialized for. Rides on server-side render requests (the server
|
|
42
|
+
* refetches the persisted serial, whose root is the Default canvas, and
|
|
43
|
+
* must materialize the same canvas). Leave unset for single-format
|
|
44
|
+
* templates / the Default canvas — the request payload then stays
|
|
45
|
+
* byte-identical to before multi-canvas existed.
|
|
46
|
+
*/
|
|
47
|
+
canvasId?: string;
|
|
29
48
|
campaignId?: number;
|
|
30
49
|
name: string;
|
|
31
50
|
/**
|
|
@@ -61,8 +80,19 @@ type __VLS_Props = {
|
|
|
61
80
|
nativeGifEmbedding?: boolean;
|
|
62
81
|
remoteVideoRenderBaseUrl: string;
|
|
63
82
|
enforceServerSideRendering: boolean;
|
|
64
|
-
enforceFallbackService: boolean;
|
|
65
83
|
enforceVideoServerSideRendering: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Milliseconds the local renderer sleeps between the serialized SVG's `load`
|
|
86
|
+
* event and drawing it to canvas. Omitted = the raster default (150ms).
|
|
87
|
+
*
|
|
88
|
+
* It is a flat per-render tax paid in pure sleep, so it is invisible on a
|
|
89
|
+
* single export and dominant on repeated ones (batch rows, video frames). 0
|
|
90
|
+
* removes it entirely and relies on `load` already meaning "fonts and images
|
|
91
|
+
* decoded" — true in principle, since exportSVGDocument inlines everything as
|
|
92
|
+
* data URIs, but engine-dependent enough to be worth proving per platform
|
|
93
|
+
* rather than assuming. Host-settable so it can be measured.
|
|
94
|
+
*/
|
|
95
|
+
svgLoadWaitDelay?: number;
|
|
66
96
|
liveViewOffsetDesktop?: {
|
|
67
97
|
top: number;
|
|
68
98
|
right: number;
|
|
@@ -82,6 +112,29 @@ type __VLS_Props = {
|
|
|
82
112
|
* (bx-template → PostHog `template_render_*`). Omit to disable analytics.
|
|
83
113
|
*/
|
|
84
114
|
analytics?: ExportAnalyticsSink;
|
|
115
|
+
/**
|
|
116
|
+
* Batch editor (campaign `config.editMode`): `single` is the classic editor,
|
|
117
|
+
* `batch` a table of rows with the live preview following the active row,
|
|
118
|
+
* `all` both behind a Single | Batch switch in the header. Absent = single.
|
|
119
|
+
*/
|
|
120
|
+
editMode?: 'single' | 'batch' | 'all';
|
|
121
|
+
/**
|
|
122
|
+
* Rows a VIDEO batch export may contain, from the paying team's tier
|
|
123
|
+
* (public campaign `videoBatchMaxSize`). Absent = 1.
|
|
124
|
+
*/
|
|
125
|
+
videoBatchMaxSize?: number;
|
|
126
|
+
/** URL render API scope (`image.bluepic.io/<orgSlug>/<alias>.png`) for CSV links. */
|
|
127
|
+
orgSlug?: string;
|
|
128
|
+
/** This template's URL-render alias, if published under one. */
|
|
129
|
+
templateAlias?: string | null;
|
|
130
|
+
/**
|
|
131
|
+
* Origin of the URL render API this editor should link to in CSV exports
|
|
132
|
+
* (`https://image.bluepic.io`, staging `https://image-staging.bluepic.io`).
|
|
133
|
+
* Absent = derived from `apiBaseUrl` / production.
|
|
134
|
+
*/
|
|
135
|
+
urlRenderBaseUrl?: string;
|
|
136
|
+
/** Host-owned batch rows (`v-model:batchRows`). Absent = session storage only. */
|
|
137
|
+
batchRows?: BatchRow[];
|
|
85
138
|
};
|
|
86
139
|
type __VLS_Slots = {
|
|
87
140
|
legal: () => VNode[] | VNode;
|
|
@@ -96,6 +149,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
96
149
|
serialWidth?: number;
|
|
97
150
|
serialHeight?: number;
|
|
98
151
|
preview?: string;
|
|
152
|
+
personalizedPreviewSrc?: string | null;
|
|
99
153
|
offset: {
|
|
100
154
|
top: number;
|
|
101
155
|
right: number;
|
|
@@ -105,7 +159,35 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
105
159
|
zoomAndPan: boolean;
|
|
106
160
|
watermark: boolean;
|
|
107
161
|
accessibilityDescription?: string;
|
|
108
|
-
|
|
162
|
+
fieldHitboxes?: import("../../util/fieldHints").FieldHitbox[];
|
|
163
|
+
hintsRevealed?: boolean;
|
|
164
|
+
textState?: import("../../util/fieldHints").CanvasTextState;
|
|
165
|
+
editingElementId?: string;
|
|
166
|
+
}> & Readonly<{
|
|
167
|
+
"onActivate-field"?: ((args_0: BluepicField) => any) | undefined;
|
|
168
|
+
"onFocus-field"?: ((args_0: BluepicField) => any) | undefined;
|
|
169
|
+
"onHover-field"?: ((args_0: BluepicField | undefined) => any) | undefined;
|
|
170
|
+
"onSelect-start"?: ((args_0: {
|
|
171
|
+
x: number;
|
|
172
|
+
y: number;
|
|
173
|
+
}) => any) | undefined;
|
|
174
|
+
"onSelect-move"?: ((args_0: {
|
|
175
|
+
x: number;
|
|
176
|
+
y: number;
|
|
177
|
+
}) => any) | undefined;
|
|
178
|
+
"onSelect-end"?: (() => any) | undefined;
|
|
179
|
+
"onHandle-grab"?: ((args_0: {
|
|
180
|
+
handle: import("../../util/fieldHints").SelectionHandle;
|
|
181
|
+
point: {
|
|
182
|
+
x: number;
|
|
183
|
+
y: number;
|
|
184
|
+
};
|
|
185
|
+
}) => any) | undefined;
|
|
186
|
+
"onSelect-word"?: ((args_0: {
|
|
187
|
+
x: number;
|
|
188
|
+
y: number;
|
|
189
|
+
}) => any) | undefined;
|
|
190
|
+
}>, {
|
|
109
191
|
currentlyFocusedFrame: import("vue").ComputedRef<{
|
|
110
192
|
x: number;
|
|
111
193
|
y: number;
|
|
@@ -124,6 +206,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
124
206
|
serialWidth?: number;
|
|
125
207
|
serialHeight?: number;
|
|
126
208
|
preview?: string;
|
|
209
|
+
personalizedPreviewSrc?: string | null;
|
|
127
210
|
data?: {
|
|
128
211
|
[k: string]: unknown;
|
|
129
212
|
};
|
|
@@ -150,6 +233,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
150
233
|
watermark: boolean;
|
|
151
234
|
resultType: "blob";
|
|
152
235
|
externalCanvas: HTMLCanvasElement | null;
|
|
236
|
+
svgLoadWaitDelay?: number;
|
|
153
237
|
}): Promise<Blob>;
|
|
154
238
|
(options: {
|
|
155
239
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -164,6 +248,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
164
248
|
watermark: boolean;
|
|
165
249
|
resultType: "canvas";
|
|
166
250
|
externalCanvas: HTMLCanvasElement | null;
|
|
251
|
+
svgLoadWaitDelay?: number;
|
|
167
252
|
}): Promise<HTMLCanvasElement>;
|
|
168
253
|
};
|
|
169
254
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -195,6 +280,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
195
280
|
serialWidth?: number;
|
|
196
281
|
serialHeight?: number;
|
|
197
282
|
preview?: string;
|
|
283
|
+
personalizedPreviewSrc?: string | null;
|
|
198
284
|
data?: {
|
|
199
285
|
[k: string]: unknown;
|
|
200
286
|
};
|
|
@@ -221,6 +307,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
221
307
|
watermark: boolean;
|
|
222
308
|
resultType: "blob";
|
|
223
309
|
externalCanvas: HTMLCanvasElement | null;
|
|
310
|
+
svgLoadWaitDelay?: number;
|
|
224
311
|
}): Promise<Blob>;
|
|
225
312
|
(options: {
|
|
226
313
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -235,6 +322,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
235
322
|
watermark: boolean;
|
|
236
323
|
resultType: "canvas";
|
|
237
324
|
externalCanvas: HTMLCanvasElement | null;
|
|
325
|
+
svgLoadWaitDelay?: number;
|
|
238
326
|
}): Promise<HTMLCanvasElement>;
|
|
239
327
|
};
|
|
240
328
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -251,6 +339,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
251
339
|
serialWidth?: number;
|
|
252
340
|
serialHeight?: number;
|
|
253
341
|
preview?: string;
|
|
342
|
+
personalizedPreviewSrc?: string | null;
|
|
254
343
|
data?: {
|
|
255
344
|
[k: string]: unknown;
|
|
256
345
|
};
|
|
@@ -277,6 +366,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
277
366
|
watermark: boolean;
|
|
278
367
|
resultType: "blob";
|
|
279
368
|
externalCanvas: HTMLCanvasElement | null;
|
|
369
|
+
svgLoadWaitDelay?: number;
|
|
280
370
|
}): Promise<Blob>;
|
|
281
371
|
(options: {
|
|
282
372
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -291,6 +381,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
291
381
|
watermark: boolean;
|
|
292
382
|
resultType: "canvas";
|
|
293
383
|
externalCanvas: HTMLCanvasElement | null;
|
|
384
|
+
svgLoadWaitDelay?: number;
|
|
294
385
|
}): Promise<HTMLCanvasElement>;
|
|
295
386
|
};
|
|
296
387
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -322,6 +413,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
322
413
|
serialWidth?: number;
|
|
323
414
|
serialHeight?: number;
|
|
324
415
|
preview?: string;
|
|
416
|
+
personalizedPreviewSrc?: string | null;
|
|
325
417
|
data?: {
|
|
326
418
|
[k: string]: unknown;
|
|
327
419
|
};
|
|
@@ -348,6 +440,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
348
440
|
watermark: boolean;
|
|
349
441
|
resultType: "blob";
|
|
350
442
|
externalCanvas: HTMLCanvasElement | null;
|
|
443
|
+
svgLoadWaitDelay?: number;
|
|
351
444
|
}): Promise<Blob>;
|
|
352
445
|
(options: {
|
|
353
446
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -362,6 +455,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
362
455
|
watermark: boolean;
|
|
363
456
|
resultType: "canvas";
|
|
364
457
|
externalCanvas: HTMLCanvasElement | null;
|
|
458
|
+
svgLoadWaitDelay?: number;
|
|
365
459
|
}): Promise<HTMLCanvasElement>;
|
|
366
460
|
};
|
|
367
461
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -501,7 +595,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
501
595
|
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
502
596
|
};
|
|
503
597
|
$forceUpdate: () => void;
|
|
504
|
-
$nextTick: typeof
|
|
598
|
+
$nextTick: typeof nextTick;
|
|
505
599
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
506
600
|
} & Readonly<{
|
|
507
601
|
transform: import("@zoompinch/core").Transform;
|
|
@@ -684,7 +778,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
684
778
|
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
685
779
|
};
|
|
686
780
|
$forceUpdate: () => void;
|
|
687
|
-
$nextTick: typeof
|
|
781
|
+
$nextTick: typeof nextTick;
|
|
688
782
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
689
783
|
} & Readonly<{
|
|
690
784
|
transform: import("@zoompinch/core").Transform;
|
|
@@ -755,7 +849,31 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
755
849
|
};
|
|
756
850
|
}) | undefined>;
|
|
757
851
|
isMultiFrame: import("vue").ComputedRef<boolean>;
|
|
758
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
852
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
853
|
+
"activate-field": (args_0: BluepicField) => any;
|
|
854
|
+
"focus-field": (args_0: BluepicField) => any;
|
|
855
|
+
"hover-field": (args_0: BluepicField | undefined) => any;
|
|
856
|
+
"select-start": (args_0: {
|
|
857
|
+
x: number;
|
|
858
|
+
y: number;
|
|
859
|
+
}) => any;
|
|
860
|
+
"select-move": (args_0: {
|
|
861
|
+
x: number;
|
|
862
|
+
y: number;
|
|
863
|
+
}) => any;
|
|
864
|
+
"select-end": () => any;
|
|
865
|
+
"handle-grab": (args_0: {
|
|
866
|
+
handle: import("../../util/fieldHints").SelectionHandle;
|
|
867
|
+
point: {
|
|
868
|
+
x: number;
|
|
869
|
+
y: number;
|
|
870
|
+
};
|
|
871
|
+
}) => any;
|
|
872
|
+
"select-word": (args_0: {
|
|
873
|
+
x: number;
|
|
874
|
+
y: number;
|
|
875
|
+
}) => any;
|
|
876
|
+
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
759
877
|
P: {};
|
|
760
878
|
B: {};
|
|
761
879
|
D: {};
|
|
@@ -770,6 +888,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
770
888
|
serialWidth?: number;
|
|
771
889
|
serialHeight?: number;
|
|
772
890
|
preview?: string;
|
|
891
|
+
personalizedPreviewSrc?: string | null;
|
|
773
892
|
offset: {
|
|
774
893
|
top: number;
|
|
775
894
|
right: number;
|
|
@@ -779,7 +898,35 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
779
898
|
zoomAndPan: boolean;
|
|
780
899
|
watermark: boolean;
|
|
781
900
|
accessibilityDescription?: string;
|
|
782
|
-
|
|
901
|
+
fieldHitboxes?: import("../../util/fieldHints").FieldHitbox[];
|
|
902
|
+
hintsRevealed?: boolean;
|
|
903
|
+
textState?: import("../../util/fieldHints").CanvasTextState;
|
|
904
|
+
editingElementId?: string;
|
|
905
|
+
}> & Readonly<{
|
|
906
|
+
"onActivate-field"?: ((args_0: BluepicField) => any) | undefined;
|
|
907
|
+
"onFocus-field"?: ((args_0: BluepicField) => any) | undefined;
|
|
908
|
+
"onHover-field"?: ((args_0: BluepicField | undefined) => any) | undefined;
|
|
909
|
+
"onSelect-start"?: ((args_0: {
|
|
910
|
+
x: number;
|
|
911
|
+
y: number;
|
|
912
|
+
}) => any) | undefined;
|
|
913
|
+
"onSelect-move"?: ((args_0: {
|
|
914
|
+
x: number;
|
|
915
|
+
y: number;
|
|
916
|
+
}) => any) | undefined;
|
|
917
|
+
"onSelect-end"?: (() => any) | undefined;
|
|
918
|
+
"onHandle-grab"?: ((args_0: {
|
|
919
|
+
handle: import("../../util/fieldHints").SelectionHandle;
|
|
920
|
+
point: {
|
|
921
|
+
x: number;
|
|
922
|
+
y: number;
|
|
923
|
+
};
|
|
924
|
+
}) => any) | undefined;
|
|
925
|
+
"onSelect-word"?: ((args_0: {
|
|
926
|
+
x: number;
|
|
927
|
+
y: number;
|
|
928
|
+
}) => any) | undefined;
|
|
929
|
+
}>, {
|
|
783
930
|
currentlyFocusedFrame: import("vue").ComputedRef<{
|
|
784
931
|
x: number;
|
|
785
932
|
y: number;
|
|
@@ -798,6 +945,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
798
945
|
serialWidth?: number;
|
|
799
946
|
serialHeight?: number;
|
|
800
947
|
preview?: string;
|
|
948
|
+
personalizedPreviewSrc?: string | null;
|
|
801
949
|
data?: {
|
|
802
950
|
[k: string]: unknown;
|
|
803
951
|
};
|
|
@@ -824,6 +972,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
824
972
|
watermark: boolean;
|
|
825
973
|
resultType: "blob";
|
|
826
974
|
externalCanvas: HTMLCanvasElement | null;
|
|
975
|
+
svgLoadWaitDelay?: number;
|
|
827
976
|
}): Promise<Blob>;
|
|
828
977
|
(options: {
|
|
829
978
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -838,6 +987,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
838
987
|
watermark: boolean;
|
|
839
988
|
resultType: "canvas";
|
|
840
989
|
externalCanvas: HTMLCanvasElement | null;
|
|
990
|
+
svgLoadWaitDelay?: number;
|
|
841
991
|
}): Promise<HTMLCanvasElement>;
|
|
842
992
|
};
|
|
843
993
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -869,6 +1019,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
869
1019
|
serialWidth?: number;
|
|
870
1020
|
serialHeight?: number;
|
|
871
1021
|
preview?: string;
|
|
1022
|
+
personalizedPreviewSrc?: string | null;
|
|
872
1023
|
data?: {
|
|
873
1024
|
[k: string]: unknown;
|
|
874
1025
|
};
|
|
@@ -895,6 +1046,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
895
1046
|
watermark: boolean;
|
|
896
1047
|
resultType: "blob";
|
|
897
1048
|
externalCanvas: HTMLCanvasElement | null;
|
|
1049
|
+
svgLoadWaitDelay?: number;
|
|
898
1050
|
}): Promise<Blob>;
|
|
899
1051
|
(options: {
|
|
900
1052
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -909,6 +1061,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
909
1061
|
watermark: boolean;
|
|
910
1062
|
resultType: "canvas";
|
|
911
1063
|
externalCanvas: HTMLCanvasElement | null;
|
|
1064
|
+
svgLoadWaitDelay?: number;
|
|
912
1065
|
}): Promise<HTMLCanvasElement>;
|
|
913
1066
|
};
|
|
914
1067
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -925,6 +1078,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
925
1078
|
serialWidth?: number;
|
|
926
1079
|
serialHeight?: number;
|
|
927
1080
|
preview?: string;
|
|
1081
|
+
personalizedPreviewSrc?: string | null;
|
|
928
1082
|
data?: {
|
|
929
1083
|
[k: string]: unknown;
|
|
930
1084
|
};
|
|
@@ -951,6 +1105,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
951
1105
|
watermark: boolean;
|
|
952
1106
|
resultType: "blob";
|
|
953
1107
|
externalCanvas: HTMLCanvasElement | null;
|
|
1108
|
+
svgLoadWaitDelay?: number;
|
|
954
1109
|
}): Promise<Blob>;
|
|
955
1110
|
(options: {
|
|
956
1111
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -965,6 +1120,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
965
1120
|
watermark: boolean;
|
|
966
1121
|
resultType: "canvas";
|
|
967
1122
|
externalCanvas: HTMLCanvasElement | null;
|
|
1123
|
+
svgLoadWaitDelay?: number;
|
|
968
1124
|
}): Promise<HTMLCanvasElement>;
|
|
969
1125
|
};
|
|
970
1126
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -996,6 +1152,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
996
1152
|
serialWidth?: number;
|
|
997
1153
|
serialHeight?: number;
|
|
998
1154
|
preview?: string;
|
|
1155
|
+
personalizedPreviewSrc?: string | null;
|
|
999
1156
|
data?: {
|
|
1000
1157
|
[k: string]: unknown;
|
|
1001
1158
|
};
|
|
@@ -1022,6 +1179,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1022
1179
|
watermark: boolean;
|
|
1023
1180
|
resultType: "blob";
|
|
1024
1181
|
externalCanvas: HTMLCanvasElement | null;
|
|
1182
|
+
svgLoadWaitDelay?: number;
|
|
1025
1183
|
}): Promise<Blob>;
|
|
1026
1184
|
(options: {
|
|
1027
1185
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -1036,6 +1194,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1036
1194
|
watermark: boolean;
|
|
1037
1195
|
resultType: "canvas";
|
|
1038
1196
|
externalCanvas: HTMLCanvasElement | null;
|
|
1197
|
+
svgLoadWaitDelay?: number;
|
|
1039
1198
|
}): Promise<HTMLCanvasElement>;
|
|
1040
1199
|
};
|
|
1041
1200
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -1175,7 +1334,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1175
1334
|
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1176
1335
|
};
|
|
1177
1336
|
$forceUpdate: () => void;
|
|
1178
|
-
$nextTick: typeof
|
|
1337
|
+
$nextTick: typeof nextTick;
|
|
1179
1338
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
1180
1339
|
} & Readonly<{
|
|
1181
1340
|
transform: import("@zoompinch/core").Transform;
|
|
@@ -1358,7 +1517,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1358
1517
|
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1359
1518
|
};
|
|
1360
1519
|
$forceUpdate: () => void;
|
|
1361
|
-
$nextTick: typeof
|
|
1520
|
+
$nextTick: typeof nextTick;
|
|
1362
1521
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
1363
1522
|
} & Readonly<{
|
|
1364
1523
|
transform: import("@zoompinch/core").Transform;
|
|
@@ -1437,6 +1596,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1437
1596
|
serialWidth?: number;
|
|
1438
1597
|
serialHeight?: number;
|
|
1439
1598
|
preview?: string;
|
|
1599
|
+
personalizedPreviewSrc?: string | null;
|
|
1440
1600
|
offset: {
|
|
1441
1601
|
top: number;
|
|
1442
1602
|
right: number;
|
|
@@ -1446,7 +1606,35 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1446
1606
|
zoomAndPan: boolean;
|
|
1447
1607
|
watermark: boolean;
|
|
1448
1608
|
accessibilityDescription?: string;
|
|
1449
|
-
|
|
1609
|
+
fieldHitboxes?: import("../../util/fieldHints").FieldHitbox[];
|
|
1610
|
+
hintsRevealed?: boolean;
|
|
1611
|
+
textState?: import("../../util/fieldHints").CanvasTextState;
|
|
1612
|
+
editingElementId?: string;
|
|
1613
|
+
}> & Readonly<{
|
|
1614
|
+
"onActivate-field"?: ((args_0: BluepicField) => any) | undefined;
|
|
1615
|
+
"onFocus-field"?: ((args_0: BluepicField) => any) | undefined;
|
|
1616
|
+
"onHover-field"?: ((args_0: BluepicField | undefined) => any) | undefined;
|
|
1617
|
+
"onSelect-start"?: ((args_0: {
|
|
1618
|
+
x: number;
|
|
1619
|
+
y: number;
|
|
1620
|
+
}) => any) | undefined;
|
|
1621
|
+
"onSelect-move"?: ((args_0: {
|
|
1622
|
+
x: number;
|
|
1623
|
+
y: number;
|
|
1624
|
+
}) => any) | undefined;
|
|
1625
|
+
"onSelect-end"?: (() => any) | undefined;
|
|
1626
|
+
"onHandle-grab"?: ((args_0: {
|
|
1627
|
+
handle: import("../../util/fieldHints").SelectionHandle;
|
|
1628
|
+
point: {
|
|
1629
|
+
x: number;
|
|
1630
|
+
y: number;
|
|
1631
|
+
};
|
|
1632
|
+
}) => any) | undefined;
|
|
1633
|
+
"onSelect-word"?: ((args_0: {
|
|
1634
|
+
x: number;
|
|
1635
|
+
y: number;
|
|
1636
|
+
}) => any) | undefined;
|
|
1637
|
+
}>, {
|
|
1450
1638
|
currentlyFocusedFrame: import("vue").ComputedRef<{
|
|
1451
1639
|
x: number;
|
|
1452
1640
|
y: number;
|
|
@@ -1465,6 +1653,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1465
1653
|
serialWidth?: number;
|
|
1466
1654
|
serialHeight?: number;
|
|
1467
1655
|
preview?: string;
|
|
1656
|
+
personalizedPreviewSrc?: string | null;
|
|
1468
1657
|
data?: {
|
|
1469
1658
|
[k: string]: unknown;
|
|
1470
1659
|
};
|
|
@@ -1491,6 +1680,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1491
1680
|
watermark: boolean;
|
|
1492
1681
|
resultType: "blob";
|
|
1493
1682
|
externalCanvas: HTMLCanvasElement | null;
|
|
1683
|
+
svgLoadWaitDelay?: number;
|
|
1494
1684
|
}): Promise<Blob>;
|
|
1495
1685
|
(options: {
|
|
1496
1686
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -1505,6 +1695,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1505
1695
|
watermark: boolean;
|
|
1506
1696
|
resultType: "canvas";
|
|
1507
1697
|
externalCanvas: HTMLCanvasElement | null;
|
|
1698
|
+
svgLoadWaitDelay?: number;
|
|
1508
1699
|
}): Promise<HTMLCanvasElement>;
|
|
1509
1700
|
};
|
|
1510
1701
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -1536,6 +1727,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1536
1727
|
serialWidth?: number;
|
|
1537
1728
|
serialHeight?: number;
|
|
1538
1729
|
preview?: string;
|
|
1730
|
+
personalizedPreviewSrc?: string | null;
|
|
1539
1731
|
data?: {
|
|
1540
1732
|
[k: string]: unknown;
|
|
1541
1733
|
};
|
|
@@ -1562,6 +1754,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1562
1754
|
watermark: boolean;
|
|
1563
1755
|
resultType: "blob";
|
|
1564
1756
|
externalCanvas: HTMLCanvasElement | null;
|
|
1757
|
+
svgLoadWaitDelay?: number;
|
|
1565
1758
|
}): Promise<Blob>;
|
|
1566
1759
|
(options: {
|
|
1567
1760
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -1576,6 +1769,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1576
1769
|
watermark: boolean;
|
|
1577
1770
|
resultType: "canvas";
|
|
1578
1771
|
externalCanvas: HTMLCanvasElement | null;
|
|
1772
|
+
svgLoadWaitDelay?: number;
|
|
1579
1773
|
}): Promise<HTMLCanvasElement>;
|
|
1580
1774
|
};
|
|
1581
1775
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -1592,6 +1786,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1592
1786
|
serialWidth?: number;
|
|
1593
1787
|
serialHeight?: number;
|
|
1594
1788
|
preview?: string;
|
|
1789
|
+
personalizedPreviewSrc?: string | null;
|
|
1595
1790
|
data?: {
|
|
1596
1791
|
[k: string]: unknown;
|
|
1597
1792
|
};
|
|
@@ -1618,6 +1813,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1618
1813
|
watermark: boolean;
|
|
1619
1814
|
resultType: "blob";
|
|
1620
1815
|
externalCanvas: HTMLCanvasElement | null;
|
|
1816
|
+
svgLoadWaitDelay?: number;
|
|
1621
1817
|
}): Promise<Blob>;
|
|
1622
1818
|
(options: {
|
|
1623
1819
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -1632,6 +1828,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1632
1828
|
watermark: boolean;
|
|
1633
1829
|
resultType: "canvas";
|
|
1634
1830
|
externalCanvas: HTMLCanvasElement | null;
|
|
1831
|
+
svgLoadWaitDelay?: number;
|
|
1635
1832
|
}): Promise<HTMLCanvasElement>;
|
|
1636
1833
|
};
|
|
1637
1834
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -1663,6 +1860,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1663
1860
|
serialWidth?: number;
|
|
1664
1861
|
serialHeight?: number;
|
|
1665
1862
|
preview?: string;
|
|
1863
|
+
personalizedPreviewSrc?: string | null;
|
|
1666
1864
|
data?: {
|
|
1667
1865
|
[k: string]: unknown;
|
|
1668
1866
|
};
|
|
@@ -1689,6 +1887,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1689
1887
|
watermark: boolean;
|
|
1690
1888
|
resultType: "blob";
|
|
1691
1889
|
externalCanvas: HTMLCanvasElement | null;
|
|
1890
|
+
svgLoadWaitDelay?: number;
|
|
1692
1891
|
}): Promise<Blob>;
|
|
1693
1892
|
(options: {
|
|
1694
1893
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -1703,6 +1902,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1703
1902
|
watermark: boolean;
|
|
1704
1903
|
resultType: "canvas";
|
|
1705
1904
|
externalCanvas: HTMLCanvasElement | null;
|
|
1905
|
+
svgLoadWaitDelay?: number;
|
|
1706
1906
|
}): Promise<HTMLCanvasElement>;
|
|
1707
1907
|
};
|
|
1708
1908
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -1842,7 +2042,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
1842
2042
|
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1843
2043
|
};
|
|
1844
2044
|
$forceUpdate: () => void;
|
|
1845
|
-
$nextTick: typeof
|
|
2045
|
+
$nextTick: typeof nextTick;
|
|
1846
2046
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
1847
2047
|
} & Readonly<{
|
|
1848
2048
|
transform: import("@zoompinch/core").Transform;
|
|
@@ -2025,7 +2225,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
2025
2225
|
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
2026
2226
|
};
|
|
2027
2227
|
$forceUpdate: () => void;
|
|
2028
|
-
$nextTick: typeof
|
|
2228
|
+
$nextTick: typeof nextTick;
|
|
2029
2229
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
2030
2230
|
} & Readonly<{
|
|
2031
2231
|
transform: import("@zoompinch/core").Transform;
|
|
@@ -2096,7 +2296,31 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
2096
2296
|
};
|
|
2097
2297
|
}) | undefined>;
|
|
2098
2298
|
isMultiFrame: import("vue").ComputedRef<boolean>;
|
|
2099
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2299
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2300
|
+
"activate-field": (args_0: BluepicField) => any;
|
|
2301
|
+
"focus-field": (args_0: BluepicField) => any;
|
|
2302
|
+
"hover-field": (args_0: BluepicField | undefined) => any;
|
|
2303
|
+
"select-start": (args_0: {
|
|
2304
|
+
x: number;
|
|
2305
|
+
y: number;
|
|
2306
|
+
}) => any;
|
|
2307
|
+
"select-move": (args_0: {
|
|
2308
|
+
x: number;
|
|
2309
|
+
y: number;
|
|
2310
|
+
}) => any;
|
|
2311
|
+
"select-end": () => any;
|
|
2312
|
+
"handle-grab": (args_0: {
|
|
2313
|
+
handle: import("../../util/fieldHints").SelectionHandle;
|
|
2314
|
+
point: {
|
|
2315
|
+
x: number;
|
|
2316
|
+
y: number;
|
|
2317
|
+
};
|
|
2318
|
+
}) => any;
|
|
2319
|
+
"select-word": (args_0: {
|
|
2320
|
+
x: number;
|
|
2321
|
+
y: number;
|
|
2322
|
+
}) => any;
|
|
2323
|
+
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
2100
2324
|
P: {};
|
|
2101
2325
|
B: {};
|
|
2102
2326
|
D: {};
|
|
@@ -2111,6 +2335,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
2111
2335
|
serialWidth?: number;
|
|
2112
2336
|
serialHeight?: number;
|
|
2113
2337
|
preview?: string;
|
|
2338
|
+
personalizedPreviewSrc?: string | null;
|
|
2114
2339
|
offset: {
|
|
2115
2340
|
top: number;
|
|
2116
2341
|
right: number;
|
|
@@ -2120,7 +2345,35 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
2120
2345
|
zoomAndPan: boolean;
|
|
2121
2346
|
watermark: boolean;
|
|
2122
2347
|
accessibilityDescription?: string;
|
|
2123
|
-
|
|
2348
|
+
fieldHitboxes?: import("../../util/fieldHints").FieldHitbox[];
|
|
2349
|
+
hintsRevealed?: boolean;
|
|
2350
|
+
textState?: import("../../util/fieldHints").CanvasTextState;
|
|
2351
|
+
editingElementId?: string;
|
|
2352
|
+
}> & Readonly<{
|
|
2353
|
+
"onActivate-field"?: ((args_0: BluepicField) => any) | undefined;
|
|
2354
|
+
"onFocus-field"?: ((args_0: BluepicField) => any) | undefined;
|
|
2355
|
+
"onHover-field"?: ((args_0: BluepicField | undefined) => any) | undefined;
|
|
2356
|
+
"onSelect-start"?: ((args_0: {
|
|
2357
|
+
x: number;
|
|
2358
|
+
y: number;
|
|
2359
|
+
}) => any) | undefined;
|
|
2360
|
+
"onSelect-move"?: ((args_0: {
|
|
2361
|
+
x: number;
|
|
2362
|
+
y: number;
|
|
2363
|
+
}) => any) | undefined;
|
|
2364
|
+
"onSelect-end"?: (() => any) | undefined;
|
|
2365
|
+
"onHandle-grab"?: ((args_0: {
|
|
2366
|
+
handle: import("../../util/fieldHints").SelectionHandle;
|
|
2367
|
+
point: {
|
|
2368
|
+
x: number;
|
|
2369
|
+
y: number;
|
|
2370
|
+
};
|
|
2371
|
+
}) => any) | undefined;
|
|
2372
|
+
"onSelect-word"?: ((args_0: {
|
|
2373
|
+
x: number;
|
|
2374
|
+
y: number;
|
|
2375
|
+
}) => any) | undefined;
|
|
2376
|
+
}>, {
|
|
2124
2377
|
currentlyFocusedFrame: import("vue").ComputedRef<{
|
|
2125
2378
|
x: number;
|
|
2126
2379
|
y: number;
|
|
@@ -2139,6 +2392,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
2139
2392
|
serialWidth?: number;
|
|
2140
2393
|
serialHeight?: number;
|
|
2141
2394
|
preview?: string;
|
|
2395
|
+
personalizedPreviewSrc?: string | null;
|
|
2142
2396
|
data?: {
|
|
2143
2397
|
[k: string]: unknown;
|
|
2144
2398
|
};
|
|
@@ -2165,6 +2419,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
2165
2419
|
watermark: boolean;
|
|
2166
2420
|
resultType: "blob";
|
|
2167
2421
|
externalCanvas: HTMLCanvasElement | null;
|
|
2422
|
+
svgLoadWaitDelay?: number;
|
|
2168
2423
|
}): Promise<Blob>;
|
|
2169
2424
|
(options: {
|
|
2170
2425
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -2179,6 +2434,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
2179
2434
|
watermark: boolean;
|
|
2180
2435
|
resultType: "canvas";
|
|
2181
2436
|
externalCanvas: HTMLCanvasElement | null;
|
|
2437
|
+
svgLoadWaitDelay?: number;
|
|
2182
2438
|
}): Promise<HTMLCanvasElement>;
|
|
2183
2439
|
};
|
|
2184
2440
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -2210,6 +2466,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
2210
2466
|
serialWidth?: number;
|
|
2211
2467
|
serialHeight?: number;
|
|
2212
2468
|
preview?: string;
|
|
2469
|
+
personalizedPreviewSrc?: string | null;
|
|
2213
2470
|
data?: {
|
|
2214
2471
|
[k: string]: unknown;
|
|
2215
2472
|
};
|
|
@@ -2236,6 +2493,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
2236
2493
|
watermark: boolean;
|
|
2237
2494
|
resultType: "blob";
|
|
2238
2495
|
externalCanvas: HTMLCanvasElement | null;
|
|
2496
|
+
svgLoadWaitDelay?: number;
|
|
2239
2497
|
}): Promise<Blob>;
|
|
2240
2498
|
(options: {
|
|
2241
2499
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -2250,6 +2508,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
2250
2508
|
watermark: boolean;
|
|
2251
2509
|
resultType: "canvas";
|
|
2252
2510
|
externalCanvas: HTMLCanvasElement | null;
|
|
2511
|
+
svgLoadWaitDelay?: number;
|
|
2253
2512
|
}): Promise<HTMLCanvasElement>;
|
|
2254
2513
|
};
|
|
2255
2514
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -2266,6 +2525,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
2266
2525
|
serialWidth?: number;
|
|
2267
2526
|
serialHeight?: number;
|
|
2268
2527
|
preview?: string;
|
|
2528
|
+
personalizedPreviewSrc?: string | null;
|
|
2269
2529
|
data?: {
|
|
2270
2530
|
[k: string]: unknown;
|
|
2271
2531
|
};
|
|
@@ -2292,6 +2552,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
2292
2552
|
watermark: boolean;
|
|
2293
2553
|
resultType: "blob";
|
|
2294
2554
|
externalCanvas: HTMLCanvasElement | null;
|
|
2555
|
+
svgLoadWaitDelay?: number;
|
|
2295
2556
|
}): Promise<Blob>;
|
|
2296
2557
|
(options: {
|
|
2297
2558
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -2306,6 +2567,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
2306
2567
|
watermark: boolean;
|
|
2307
2568
|
resultType: "canvas";
|
|
2308
2569
|
externalCanvas: HTMLCanvasElement | null;
|
|
2570
|
+
svgLoadWaitDelay?: number;
|
|
2309
2571
|
}): Promise<HTMLCanvasElement>;
|
|
2310
2572
|
};
|
|
2311
2573
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -2337,6 +2599,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
2337
2599
|
serialWidth?: number;
|
|
2338
2600
|
serialHeight?: number;
|
|
2339
2601
|
preview?: string;
|
|
2602
|
+
personalizedPreviewSrc?: string | null;
|
|
2340
2603
|
data?: {
|
|
2341
2604
|
[k: string]: unknown;
|
|
2342
2605
|
};
|
|
@@ -2363,6 +2626,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
2363
2626
|
watermark: boolean;
|
|
2364
2627
|
resultType: "blob";
|
|
2365
2628
|
externalCanvas: HTMLCanvasElement | null;
|
|
2629
|
+
svgLoadWaitDelay?: number;
|
|
2366
2630
|
}): Promise<Blob>;
|
|
2367
2631
|
(options: {
|
|
2368
2632
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -2377,6 +2641,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
2377
2641
|
watermark: boolean;
|
|
2378
2642
|
resultType: "canvas";
|
|
2379
2643
|
externalCanvas: HTMLCanvasElement | null;
|
|
2644
|
+
svgLoadWaitDelay?: number;
|
|
2380
2645
|
}): Promise<HTMLCanvasElement>;
|
|
2381
2646
|
};
|
|
2382
2647
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -2516,7 +2781,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
2516
2781
|
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
2517
2782
|
};
|
|
2518
2783
|
$forceUpdate: () => void;
|
|
2519
|
-
$nextTick: typeof
|
|
2784
|
+
$nextTick: typeof nextTick;
|
|
2520
2785
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
2521
2786
|
} & Readonly<{
|
|
2522
2787
|
transform: import("@zoompinch/core").Transform;
|
|
@@ -2699,7 +2964,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
2699
2964
|
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
2700
2965
|
};
|
|
2701
2966
|
$forceUpdate: () => void;
|
|
2702
|
-
$nextTick: typeof
|
|
2967
|
+
$nextTick: typeof nextTick;
|
|
2703
2968
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
2704
2969
|
} & Readonly<{
|
|
2705
2970
|
transform: import("@zoompinch/core").Transform;
|
|
@@ -2776,13 +3041,17 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
2776
3041
|
[k: string]: unknown;
|
|
2777
3042
|
}) => any;
|
|
2778
3043
|
back: () => any;
|
|
3044
|
+
"update:batchRows": (args_0: BatchRow[]) => any;
|
|
2779
3045
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
2780
3046
|
"onUpdate:data"?: ((args_0: {
|
|
2781
3047
|
[k: string]: unknown;
|
|
2782
3048
|
}) => any) | undefined;
|
|
2783
3049
|
onBack?: (() => any) | undefined;
|
|
3050
|
+
"onUpdate:batchRows"?: ((args_0: BatchRow[]) => any) | undefined;
|
|
2784
3051
|
}>, {
|
|
2785
3052
|
zoomAndPan: boolean;
|
|
3053
|
+
editMode: "single" | "batch" | "all";
|
|
3054
|
+
videoBatchMaxSize: number;
|
|
2786
3055
|
preCacheLocalRendering: boolean;
|
|
2787
3056
|
liveViewOffsetDesktop: {
|
|
2788
3057
|
top: number;
|