@bluepic/embed 0.4.0-next.99 → 0.5.1
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
package/dist/embed/embed.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { nextTick, Ref } from 'vue';
|
|
2
2
|
import { FieldsBridge, Studio, Template, EmbedV2 } from '@bluepic/types';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
+
import { type ThemeInput } from '../theme';
|
|
4
5
|
export type PublicCampaignConfigOutput = z.infer<typeof Studio.publicCampaignConfigOutputSchema>;
|
|
5
6
|
export declare class BluepicEmbed extends EventTarget {
|
|
6
7
|
private element;
|
|
@@ -15,6 +16,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
15
16
|
readonly assetProxy?: import("@bluepic/raster/svg").AssetProxyConfig | undefined;
|
|
16
17
|
readonly serial?: Template.Serial | undefined;
|
|
17
18
|
readonly preview?: string | undefined;
|
|
19
|
+
readonly personalizedPreviewSrc?: string | null | undefined;
|
|
18
20
|
readonly serialWidth?: number | undefined;
|
|
19
21
|
readonly serialHeight?: number | undefined;
|
|
20
22
|
readonly layout?: "mobile" | "desktop" | undefined;
|
|
@@ -22,42 +24,14 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
22
24
|
readonly bridge: FieldsBridge;
|
|
23
25
|
readonly showBackBtn: boolean;
|
|
24
26
|
readonly branding: boolean;
|
|
25
|
-
readonly exportOptions: z.infer<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
gallery: "gallery";
|
|
30
|
-
"selection:horizontal": "selection:horizontal";
|
|
31
|
-
"selection:vertical": "selection:vertical";
|
|
32
|
-
}>;
|
|
33
|
-
logo: z.ZodOptional<z.ZodString>;
|
|
34
|
-
title: z.ZodOptional<z.ZodString>;
|
|
35
|
-
allowPanAndZoom: z.ZodBoolean;
|
|
36
|
-
customStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
37
|
-
sortByCategories: z.ZodBoolean;
|
|
38
|
-
captions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
39
|
-
categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
40
|
-
export: z.ZodObject<{
|
|
41
|
-
linkedInOAuth: z.ZodBoolean;
|
|
42
|
-
trackLinks: z.ZodOptional<z.ZodBoolean>;
|
|
43
|
-
socialConnections: z.ZodObject<{
|
|
44
|
-
instagram: z.ZodOptional<z.ZodBoolean>;
|
|
45
|
-
facebook: z.ZodOptional<z.ZodBoolean>;
|
|
46
|
-
linkedin: z.ZodOptional<z.ZodBoolean>;
|
|
47
|
-
mail: z.ZodOptional<z.ZodBoolean>;
|
|
48
|
-
whatsapp: z.ZodOptional<z.ZodBoolean>;
|
|
49
|
-
x: z.ZodOptional<z.ZodBoolean>;
|
|
50
|
-
}, z.core.$strip>;
|
|
51
|
-
actionalConnections: z.ZodObject<{
|
|
52
|
-
download: z.ZodOptional<z.ZodBoolean>;
|
|
53
|
-
webhook: z.ZodOptional<z.ZodString>;
|
|
54
|
-
redirect: z.ZodOptional<z.ZodString>;
|
|
55
|
-
}, z.core.$strip>;
|
|
56
|
-
}, z.core.$strip>;
|
|
57
|
-
}, z.core.$strip>>;
|
|
27
|
+
readonly exportOptions: z.infer<typeof Studio.campaignConfigSchema>["export"];
|
|
28
|
+
readonly hints?: {
|
|
29
|
+
enabled: boolean;
|
|
30
|
+
} | undefined;
|
|
58
31
|
readonly apiBaseUrl: string;
|
|
59
32
|
readonly env: "prod" | "dev";
|
|
60
33
|
readonly templateId: string;
|
|
34
|
+
readonly canvasId?: string | undefined;
|
|
61
35
|
readonly campaignId?: number | undefined;
|
|
62
36
|
readonly name: string;
|
|
63
37
|
readonly captions?: {
|
|
@@ -75,8 +49,8 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
75
49
|
readonly nativeGifEmbedding?: boolean | undefined;
|
|
76
50
|
readonly remoteVideoRenderBaseUrl: string;
|
|
77
51
|
readonly enforceServerSideRendering: boolean;
|
|
78
|
-
readonly enforceFallbackService: boolean;
|
|
79
52
|
readonly enforceVideoServerSideRendering: boolean;
|
|
53
|
+
readonly svgLoadWaitDelay?: number | undefined;
|
|
80
54
|
readonly liveViewOffsetDesktop?: {
|
|
81
55
|
top: number;
|
|
82
56
|
right: number;
|
|
@@ -90,10 +64,17 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
90
64
|
left: number;
|
|
91
65
|
} | undefined;
|
|
92
66
|
readonly analytics?: import("../main").ExportAnalyticsSink | undefined;
|
|
67
|
+
readonly editMode?: "single" | "batch" | "all" | undefined;
|
|
68
|
+
readonly videoBatchMaxSize?: number | undefined;
|
|
69
|
+
readonly orgSlug?: string | undefined;
|
|
70
|
+
readonly templateAlias?: string | null | undefined;
|
|
71
|
+
readonly urlRenderBaseUrl?: string | undefined;
|
|
72
|
+
readonly batchRows?: import("../util/batch/useBatchRows").BatchRow[] | undefined;
|
|
93
73
|
readonly "onUpdate:data"?: ((args_0: {
|
|
94
74
|
[k: string]: unknown;
|
|
95
75
|
}) => any) | undefined;
|
|
96
76
|
readonly onBack?: (() => any) | undefined;
|
|
77
|
+
readonly "onUpdate:batchRows"?: ((args_0: import("../util/batch/useBatchRows").BatchRow[]) => any) | undefined;
|
|
97
78
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
98
79
|
$attrs: import("vue").Attrs;
|
|
99
80
|
$refs: {
|
|
@@ -107,7 +88,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
107
88
|
$host: Element | null;
|
|
108
89
|
$emit: ((event: "update:data", args_0: {
|
|
109
90
|
[k: string]: unknown;
|
|
110
|
-
}) => void) & ((event: "back") => void);
|
|
91
|
+
}) => void) & ((event: "back") => void) & ((event: "update:batchRows", args_0: import("../util/batch/useBatchRows").BatchRow[]) => void);
|
|
111
92
|
$el: any;
|
|
112
93
|
$options: import("vue").ComponentOptionsBase<Readonly<{
|
|
113
94
|
bxCoreVersion?: string;
|
|
@@ -115,6 +96,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
115
96
|
assetProxy?: import("@bluepic/raster/svg").AssetProxyConfig;
|
|
116
97
|
serial?: Template.Serial;
|
|
117
98
|
preview?: string;
|
|
99
|
+
personalizedPreviewSrc?: string | null;
|
|
118
100
|
serialWidth?: number;
|
|
119
101
|
serialHeight?: number;
|
|
120
102
|
layout?: "mobile" | "desktop";
|
|
@@ -122,42 +104,12 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
122
104
|
bridge: FieldsBridge;
|
|
123
105
|
showBackBtn: boolean;
|
|
124
106
|
branding: boolean;
|
|
125
|
-
exportOptions: z.infer<
|
|
126
|
-
|
|
127
|
-
layout: z.ZodEnum<{
|
|
128
|
-
stack: "stack";
|
|
129
|
-
gallery: "gallery";
|
|
130
|
-
"selection:horizontal": "selection:horizontal";
|
|
131
|
-
"selection:vertical": "selection:vertical";
|
|
132
|
-
}>;
|
|
133
|
-
logo: z.ZodOptional<z.ZodString>;
|
|
134
|
-
title: z.ZodOptional<z.ZodString>;
|
|
135
|
-
allowPanAndZoom: z.ZodBoolean;
|
|
136
|
-
customStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
137
|
-
sortByCategories: z.ZodBoolean;
|
|
138
|
-
captions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
139
|
-
categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
140
|
-
export: z.ZodObject<{
|
|
141
|
-
linkedInOAuth: z.ZodBoolean;
|
|
142
|
-
trackLinks: z.ZodOptional<z.ZodBoolean>;
|
|
143
|
-
socialConnections: z.ZodObject<{
|
|
144
|
-
instagram: z.ZodOptional<z.ZodBoolean>;
|
|
145
|
-
facebook: z.ZodOptional<z.ZodBoolean>;
|
|
146
|
-
linkedin: z.ZodOptional<z.ZodBoolean>;
|
|
147
|
-
mail: z.ZodOptional<z.ZodBoolean>;
|
|
148
|
-
whatsapp: z.ZodOptional<z.ZodBoolean>;
|
|
149
|
-
x: z.ZodOptional<z.ZodBoolean>;
|
|
150
|
-
}, z.core.$strip>;
|
|
151
|
-
actionalConnections: z.ZodObject<{
|
|
152
|
-
download: z.ZodOptional<z.ZodBoolean>;
|
|
153
|
-
webhook: z.ZodOptional<z.ZodString>;
|
|
154
|
-
redirect: z.ZodOptional<z.ZodString>;
|
|
155
|
-
}, z.core.$strip>;
|
|
156
|
-
}, z.core.$strip>;
|
|
157
|
-
}, z.core.$strip>>;
|
|
107
|
+
exportOptions: z.infer<typeof Studio.campaignConfigSchema>["export"];
|
|
108
|
+
hints?: z.infer<typeof Studio.campaignConfigSchema>["hints"];
|
|
158
109
|
apiBaseUrl: string;
|
|
159
110
|
env: "prod" | "dev";
|
|
160
111
|
templateId: string;
|
|
112
|
+
canvasId?: string;
|
|
161
113
|
campaignId?: number;
|
|
162
114
|
name: string;
|
|
163
115
|
captions?: {
|
|
@@ -175,8 +127,8 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
175
127
|
nativeGifEmbedding?: boolean;
|
|
176
128
|
remoteVideoRenderBaseUrl: string;
|
|
177
129
|
enforceServerSideRendering: boolean;
|
|
178
|
-
enforceFallbackService: boolean;
|
|
179
130
|
enforceVideoServerSideRendering: boolean;
|
|
131
|
+
svgLoadWaitDelay?: number;
|
|
180
132
|
liveViewOffsetDesktop?: {
|
|
181
133
|
top: number;
|
|
182
134
|
right: number;
|
|
@@ -190,11 +142,18 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
190
142
|
left: number;
|
|
191
143
|
};
|
|
192
144
|
analytics?: import("../main").ExportAnalyticsSink;
|
|
145
|
+
editMode?: "single" | "batch" | "all";
|
|
146
|
+
videoBatchMaxSize?: number;
|
|
147
|
+
orgSlug?: string;
|
|
148
|
+
templateAlias?: string | null;
|
|
149
|
+
urlRenderBaseUrl?: string;
|
|
150
|
+
batchRows?: import("../util/batch/useBatchRows").BatchRow[];
|
|
193
151
|
}> & Readonly<{
|
|
194
152
|
"onUpdate:data"?: ((args_0: {
|
|
195
153
|
[k: string]: unknown;
|
|
196
154
|
}) => any) | undefined;
|
|
197
155
|
onBack?: (() => any) | undefined;
|
|
156
|
+
"onUpdate:batchRows"?: ((args_0: import("../util/batch/useBatchRows").BatchRow[]) => any) | undefined;
|
|
198
157
|
}>, {
|
|
199
158
|
templateViewRef: Ref<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
200
159
|
bxCoreVersion?: string;
|
|
@@ -204,6 +163,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
204
163
|
serialWidth?: number;
|
|
205
164
|
serialHeight?: number;
|
|
206
165
|
preview?: string;
|
|
166
|
+
personalizedPreviewSrc?: string | null;
|
|
207
167
|
offset: {
|
|
208
168
|
top: number;
|
|
209
169
|
right: number;
|
|
@@ -213,7 +173,35 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
213
173
|
zoomAndPan: boolean;
|
|
214
174
|
watermark: boolean;
|
|
215
175
|
accessibilityDescription?: string;
|
|
216
|
-
|
|
176
|
+
fieldHitboxes?: import("../util/fieldHints").FieldHitbox[];
|
|
177
|
+
hintsRevealed?: boolean;
|
|
178
|
+
textState?: import("../util/fieldHints").CanvasTextState;
|
|
179
|
+
editingElementId?: string;
|
|
180
|
+
}> & Readonly<{
|
|
181
|
+
"onActivate-field"?: ((args_0: Template.Fields.BluepicField) => any) | undefined;
|
|
182
|
+
"onFocus-field"?: ((args_0: Template.Fields.BluepicField) => any) | undefined;
|
|
183
|
+
"onHover-field"?: ((args_0: Template.Fields.BluepicField | undefined) => any) | undefined;
|
|
184
|
+
"onSelect-start"?: ((args_0: {
|
|
185
|
+
x: number;
|
|
186
|
+
y: number;
|
|
187
|
+
}) => any) | undefined;
|
|
188
|
+
"onSelect-move"?: ((args_0: {
|
|
189
|
+
x: number;
|
|
190
|
+
y: number;
|
|
191
|
+
}) => any) | undefined;
|
|
192
|
+
"onSelect-end"?: (() => any) | undefined;
|
|
193
|
+
"onHandle-grab"?: ((args_0: {
|
|
194
|
+
handle: import("../util/fieldHints").SelectionHandle;
|
|
195
|
+
point: {
|
|
196
|
+
x: number;
|
|
197
|
+
y: number;
|
|
198
|
+
};
|
|
199
|
+
}) => any) | undefined;
|
|
200
|
+
"onSelect-word"?: ((args_0: {
|
|
201
|
+
x: number;
|
|
202
|
+
y: number;
|
|
203
|
+
}) => any) | undefined;
|
|
204
|
+
}>, {
|
|
217
205
|
currentlyFocusedFrame: import("vue").ComputedRef<{
|
|
218
206
|
x: number;
|
|
219
207
|
y: number;
|
|
@@ -232,6 +220,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
232
220
|
serialWidth?: number;
|
|
233
221
|
serialHeight?: number;
|
|
234
222
|
preview?: string;
|
|
223
|
+
personalizedPreviewSrc?: string | null;
|
|
235
224
|
data?: {
|
|
236
225
|
[k: string]: unknown;
|
|
237
226
|
};
|
|
@@ -258,6 +247,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
258
247
|
watermark: boolean;
|
|
259
248
|
resultType: "blob";
|
|
260
249
|
externalCanvas: HTMLCanvasElement | null;
|
|
250
|
+
svgLoadWaitDelay?: number;
|
|
261
251
|
}): Promise<Blob>;
|
|
262
252
|
(options: {
|
|
263
253
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -272,6 +262,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
272
262
|
watermark: boolean;
|
|
273
263
|
resultType: "canvas";
|
|
274
264
|
externalCanvas: HTMLCanvasElement | null;
|
|
265
|
+
svgLoadWaitDelay?: number;
|
|
275
266
|
}): Promise<HTMLCanvasElement>;
|
|
276
267
|
};
|
|
277
268
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -303,6 +294,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
303
294
|
serialWidth?: number;
|
|
304
295
|
serialHeight?: number;
|
|
305
296
|
preview?: string;
|
|
297
|
+
personalizedPreviewSrc?: string | null;
|
|
306
298
|
data?: {
|
|
307
299
|
[k: string]: unknown;
|
|
308
300
|
};
|
|
@@ -329,6 +321,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
329
321
|
watermark: boolean;
|
|
330
322
|
resultType: "blob";
|
|
331
323
|
externalCanvas: HTMLCanvasElement | null;
|
|
324
|
+
svgLoadWaitDelay?: number;
|
|
332
325
|
}): Promise<Blob>;
|
|
333
326
|
(options: {
|
|
334
327
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -343,6 +336,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
343
336
|
watermark: boolean;
|
|
344
337
|
resultType: "canvas";
|
|
345
338
|
externalCanvas: HTMLCanvasElement | null;
|
|
339
|
+
svgLoadWaitDelay?: number;
|
|
346
340
|
}): Promise<HTMLCanvasElement>;
|
|
347
341
|
};
|
|
348
342
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -359,6 +353,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
359
353
|
serialWidth?: number;
|
|
360
354
|
serialHeight?: number;
|
|
361
355
|
preview?: string;
|
|
356
|
+
personalizedPreviewSrc?: string | null;
|
|
362
357
|
data?: {
|
|
363
358
|
[k: string]: unknown;
|
|
364
359
|
};
|
|
@@ -385,6 +380,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
385
380
|
watermark: boolean;
|
|
386
381
|
resultType: "blob";
|
|
387
382
|
externalCanvas: HTMLCanvasElement | null;
|
|
383
|
+
svgLoadWaitDelay?: number;
|
|
388
384
|
}): Promise<Blob>;
|
|
389
385
|
(options: {
|
|
390
386
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -399,6 +395,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
399
395
|
watermark: boolean;
|
|
400
396
|
resultType: "canvas";
|
|
401
397
|
externalCanvas: HTMLCanvasElement | null;
|
|
398
|
+
svgLoadWaitDelay?: number;
|
|
402
399
|
}): Promise<HTMLCanvasElement>;
|
|
403
400
|
};
|
|
404
401
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -430,6 +427,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
430
427
|
serialWidth?: number;
|
|
431
428
|
serialHeight?: number;
|
|
432
429
|
preview?: string;
|
|
430
|
+
personalizedPreviewSrc?: string | null;
|
|
433
431
|
data?: {
|
|
434
432
|
[k: string]: unknown;
|
|
435
433
|
};
|
|
@@ -456,6 +454,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
456
454
|
watermark: boolean;
|
|
457
455
|
resultType: "blob";
|
|
458
456
|
externalCanvas: HTMLCanvasElement | null;
|
|
457
|
+
svgLoadWaitDelay?: number;
|
|
459
458
|
}): Promise<Blob>;
|
|
460
459
|
(options: {
|
|
461
460
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -470,6 +469,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
470
469
|
watermark: boolean;
|
|
471
470
|
resultType: "canvas";
|
|
472
471
|
externalCanvas: HTMLCanvasElement | null;
|
|
472
|
+
svgLoadWaitDelay?: number;
|
|
473
473
|
}): Promise<HTMLCanvasElement>;
|
|
474
474
|
};
|
|
475
475
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -863,7 +863,31 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
863
863
|
};
|
|
864
864
|
}) | undefined>;
|
|
865
865
|
isMultiFrame: import("vue").ComputedRef<boolean>;
|
|
866
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
866
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
867
|
+
"activate-field": (args_0: Template.Fields.BluepicField) => any;
|
|
868
|
+
"focus-field": (args_0: Template.Fields.BluepicField) => any;
|
|
869
|
+
"hover-field": (args_0: Template.Fields.BluepicField | undefined) => any;
|
|
870
|
+
"select-start": (args_0: {
|
|
871
|
+
x: number;
|
|
872
|
+
y: number;
|
|
873
|
+
}) => any;
|
|
874
|
+
"select-move": (args_0: {
|
|
875
|
+
x: number;
|
|
876
|
+
y: number;
|
|
877
|
+
}) => any;
|
|
878
|
+
"select-end": () => any;
|
|
879
|
+
"handle-grab": (args_0: {
|
|
880
|
+
handle: import("../util/fieldHints").SelectionHandle;
|
|
881
|
+
point: {
|
|
882
|
+
x: number;
|
|
883
|
+
y: number;
|
|
884
|
+
};
|
|
885
|
+
}) => any;
|
|
886
|
+
"select-word": (args_0: {
|
|
887
|
+
x: number;
|
|
888
|
+
y: number;
|
|
889
|
+
}) => any;
|
|
890
|
+
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
867
891
|
P: {};
|
|
868
892
|
B: {};
|
|
869
893
|
D: {};
|
|
@@ -878,6 +902,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
878
902
|
serialWidth?: number;
|
|
879
903
|
serialHeight?: number;
|
|
880
904
|
preview?: string;
|
|
905
|
+
personalizedPreviewSrc?: string | null;
|
|
881
906
|
offset: {
|
|
882
907
|
top: number;
|
|
883
908
|
right: number;
|
|
@@ -887,7 +912,35 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
887
912
|
zoomAndPan: boolean;
|
|
888
913
|
watermark: boolean;
|
|
889
914
|
accessibilityDescription?: string;
|
|
890
|
-
|
|
915
|
+
fieldHitboxes?: import("../util/fieldHints").FieldHitbox[];
|
|
916
|
+
hintsRevealed?: boolean;
|
|
917
|
+
textState?: import("../util/fieldHints").CanvasTextState;
|
|
918
|
+
editingElementId?: string;
|
|
919
|
+
}> & Readonly<{
|
|
920
|
+
"onActivate-field"?: ((args_0: Template.Fields.BluepicField) => any) | undefined;
|
|
921
|
+
"onFocus-field"?: ((args_0: Template.Fields.BluepicField) => any) | undefined;
|
|
922
|
+
"onHover-field"?: ((args_0: Template.Fields.BluepicField | undefined) => any) | undefined;
|
|
923
|
+
"onSelect-start"?: ((args_0: {
|
|
924
|
+
x: number;
|
|
925
|
+
y: number;
|
|
926
|
+
}) => any) | undefined;
|
|
927
|
+
"onSelect-move"?: ((args_0: {
|
|
928
|
+
x: number;
|
|
929
|
+
y: number;
|
|
930
|
+
}) => any) | undefined;
|
|
931
|
+
"onSelect-end"?: (() => any) | undefined;
|
|
932
|
+
"onHandle-grab"?: ((args_0: {
|
|
933
|
+
handle: import("../util/fieldHints").SelectionHandle;
|
|
934
|
+
point: {
|
|
935
|
+
x: number;
|
|
936
|
+
y: number;
|
|
937
|
+
};
|
|
938
|
+
}) => any) | undefined;
|
|
939
|
+
"onSelect-word"?: ((args_0: {
|
|
940
|
+
x: number;
|
|
941
|
+
y: number;
|
|
942
|
+
}) => any) | undefined;
|
|
943
|
+
}>, {
|
|
891
944
|
currentlyFocusedFrame: import("vue").ComputedRef<{
|
|
892
945
|
x: number;
|
|
893
946
|
y: number;
|
|
@@ -906,6 +959,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
906
959
|
serialWidth?: number;
|
|
907
960
|
serialHeight?: number;
|
|
908
961
|
preview?: string;
|
|
962
|
+
personalizedPreviewSrc?: string | null;
|
|
909
963
|
data?: {
|
|
910
964
|
[k: string]: unknown;
|
|
911
965
|
};
|
|
@@ -932,6 +986,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
932
986
|
watermark: boolean;
|
|
933
987
|
resultType: "blob";
|
|
934
988
|
externalCanvas: HTMLCanvasElement | null;
|
|
989
|
+
svgLoadWaitDelay?: number;
|
|
935
990
|
}): Promise<Blob>;
|
|
936
991
|
(options: {
|
|
937
992
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -946,6 +1001,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
946
1001
|
watermark: boolean;
|
|
947
1002
|
resultType: "canvas";
|
|
948
1003
|
externalCanvas: HTMLCanvasElement | null;
|
|
1004
|
+
svgLoadWaitDelay?: number;
|
|
949
1005
|
}): Promise<HTMLCanvasElement>;
|
|
950
1006
|
};
|
|
951
1007
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -977,6 +1033,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
977
1033
|
serialWidth?: number;
|
|
978
1034
|
serialHeight?: number;
|
|
979
1035
|
preview?: string;
|
|
1036
|
+
personalizedPreviewSrc?: string | null;
|
|
980
1037
|
data?: {
|
|
981
1038
|
[k: string]: unknown;
|
|
982
1039
|
};
|
|
@@ -1003,6 +1060,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
1003
1060
|
watermark: boolean;
|
|
1004
1061
|
resultType: "blob";
|
|
1005
1062
|
externalCanvas: HTMLCanvasElement | null;
|
|
1063
|
+
svgLoadWaitDelay?: number;
|
|
1006
1064
|
}): Promise<Blob>;
|
|
1007
1065
|
(options: {
|
|
1008
1066
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -1017,6 +1075,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
1017
1075
|
watermark: boolean;
|
|
1018
1076
|
resultType: "canvas";
|
|
1019
1077
|
externalCanvas: HTMLCanvasElement | null;
|
|
1078
|
+
svgLoadWaitDelay?: number;
|
|
1020
1079
|
}): Promise<HTMLCanvasElement>;
|
|
1021
1080
|
};
|
|
1022
1081
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -1033,6 +1092,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
1033
1092
|
serialWidth?: number;
|
|
1034
1093
|
serialHeight?: number;
|
|
1035
1094
|
preview?: string;
|
|
1095
|
+
personalizedPreviewSrc?: string | null;
|
|
1036
1096
|
data?: {
|
|
1037
1097
|
[k: string]: unknown;
|
|
1038
1098
|
};
|
|
@@ -1059,6 +1119,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
1059
1119
|
watermark: boolean;
|
|
1060
1120
|
resultType: "blob";
|
|
1061
1121
|
externalCanvas: HTMLCanvasElement | null;
|
|
1122
|
+
svgLoadWaitDelay?: number;
|
|
1062
1123
|
}): Promise<Blob>;
|
|
1063
1124
|
(options: {
|
|
1064
1125
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -1073,6 +1134,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
1073
1134
|
watermark: boolean;
|
|
1074
1135
|
resultType: "canvas";
|
|
1075
1136
|
externalCanvas: HTMLCanvasElement | null;
|
|
1137
|
+
svgLoadWaitDelay?: number;
|
|
1076
1138
|
}): Promise<HTMLCanvasElement>;
|
|
1077
1139
|
};
|
|
1078
1140
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -1104,6 +1166,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
1104
1166
|
serialWidth?: number;
|
|
1105
1167
|
serialHeight?: number;
|
|
1106
1168
|
preview?: string;
|
|
1169
|
+
personalizedPreviewSrc?: string | null;
|
|
1107
1170
|
data?: {
|
|
1108
1171
|
[k: string]: unknown;
|
|
1109
1172
|
};
|
|
@@ -1130,6 +1193,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
1130
1193
|
watermark: boolean;
|
|
1131
1194
|
resultType: "blob";
|
|
1132
1195
|
externalCanvas: HTMLCanvasElement | null;
|
|
1196
|
+
svgLoadWaitDelay?: number;
|
|
1133
1197
|
}): Promise<Blob>;
|
|
1134
1198
|
(options: {
|
|
1135
1199
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -1144,6 +1208,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
1144
1208
|
watermark: boolean;
|
|
1145
1209
|
resultType: "canvas";
|
|
1146
1210
|
externalCanvas: HTMLCanvasElement | null;
|
|
1211
|
+
svgLoadWaitDelay?: number;
|
|
1147
1212
|
}): Promise<HTMLCanvasElement>;
|
|
1148
1213
|
};
|
|
1149
1214
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -1545,6 +1610,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
1545
1610
|
serialWidth?: number;
|
|
1546
1611
|
serialHeight?: number;
|
|
1547
1612
|
preview?: string;
|
|
1613
|
+
personalizedPreviewSrc?: string | null;
|
|
1548
1614
|
offset: {
|
|
1549
1615
|
top: number;
|
|
1550
1616
|
right: number;
|
|
@@ -1554,7 +1620,35 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
1554
1620
|
zoomAndPan: boolean;
|
|
1555
1621
|
watermark: boolean;
|
|
1556
1622
|
accessibilityDescription?: string;
|
|
1557
|
-
|
|
1623
|
+
fieldHitboxes?: import("../util/fieldHints").FieldHitbox[];
|
|
1624
|
+
hintsRevealed?: boolean;
|
|
1625
|
+
textState?: import("../util/fieldHints").CanvasTextState;
|
|
1626
|
+
editingElementId?: string;
|
|
1627
|
+
}> & Readonly<{
|
|
1628
|
+
"onActivate-field"?: ((args_0: Template.Fields.BluepicField) => any) | undefined;
|
|
1629
|
+
"onFocus-field"?: ((args_0: Template.Fields.BluepicField) => any) | undefined;
|
|
1630
|
+
"onHover-field"?: ((args_0: Template.Fields.BluepicField | undefined) => any) | undefined;
|
|
1631
|
+
"onSelect-start"?: ((args_0: {
|
|
1632
|
+
x: number;
|
|
1633
|
+
y: number;
|
|
1634
|
+
}) => any) | undefined;
|
|
1635
|
+
"onSelect-move"?: ((args_0: {
|
|
1636
|
+
x: number;
|
|
1637
|
+
y: number;
|
|
1638
|
+
}) => any) | undefined;
|
|
1639
|
+
"onSelect-end"?: (() => any) | undefined;
|
|
1640
|
+
"onHandle-grab"?: ((args_0: {
|
|
1641
|
+
handle: import("../util/fieldHints").SelectionHandle;
|
|
1642
|
+
point: {
|
|
1643
|
+
x: number;
|
|
1644
|
+
y: number;
|
|
1645
|
+
};
|
|
1646
|
+
}) => any) | undefined;
|
|
1647
|
+
"onSelect-word"?: ((args_0: {
|
|
1648
|
+
x: number;
|
|
1649
|
+
y: number;
|
|
1650
|
+
}) => any) | undefined;
|
|
1651
|
+
}>, {
|
|
1558
1652
|
currentlyFocusedFrame: import("vue").ComputedRef<{
|
|
1559
1653
|
x: number;
|
|
1560
1654
|
y: number;
|
|
@@ -1573,6 +1667,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
1573
1667
|
serialWidth?: number;
|
|
1574
1668
|
serialHeight?: number;
|
|
1575
1669
|
preview?: string;
|
|
1670
|
+
personalizedPreviewSrc?: string | null;
|
|
1576
1671
|
data?: {
|
|
1577
1672
|
[k: string]: unknown;
|
|
1578
1673
|
};
|
|
@@ -1599,6 +1694,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
1599
1694
|
watermark: boolean;
|
|
1600
1695
|
resultType: "blob";
|
|
1601
1696
|
externalCanvas: HTMLCanvasElement | null;
|
|
1697
|
+
svgLoadWaitDelay?: number;
|
|
1602
1698
|
}): Promise<Blob>;
|
|
1603
1699
|
(options: {
|
|
1604
1700
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -1613,6 +1709,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
1613
1709
|
watermark: boolean;
|
|
1614
1710
|
resultType: "canvas";
|
|
1615
1711
|
externalCanvas: HTMLCanvasElement | null;
|
|
1712
|
+
svgLoadWaitDelay?: number;
|
|
1616
1713
|
}): Promise<HTMLCanvasElement>;
|
|
1617
1714
|
};
|
|
1618
1715
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -1644,6 +1741,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
1644
1741
|
serialWidth?: number;
|
|
1645
1742
|
serialHeight?: number;
|
|
1646
1743
|
preview?: string;
|
|
1744
|
+
personalizedPreviewSrc?: string | null;
|
|
1647
1745
|
data?: {
|
|
1648
1746
|
[k: string]: unknown;
|
|
1649
1747
|
};
|
|
@@ -1670,6 +1768,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
1670
1768
|
watermark: boolean;
|
|
1671
1769
|
resultType: "blob";
|
|
1672
1770
|
externalCanvas: HTMLCanvasElement | null;
|
|
1771
|
+
svgLoadWaitDelay?: number;
|
|
1673
1772
|
}): Promise<Blob>;
|
|
1674
1773
|
(options: {
|
|
1675
1774
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -1684,6 +1783,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
1684
1783
|
watermark: boolean;
|
|
1685
1784
|
resultType: "canvas";
|
|
1686
1785
|
externalCanvas: HTMLCanvasElement | null;
|
|
1786
|
+
svgLoadWaitDelay?: number;
|
|
1687
1787
|
}): Promise<HTMLCanvasElement>;
|
|
1688
1788
|
};
|
|
1689
1789
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -1700,6 +1800,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
1700
1800
|
serialWidth?: number;
|
|
1701
1801
|
serialHeight?: number;
|
|
1702
1802
|
preview?: string;
|
|
1803
|
+
personalizedPreviewSrc?: string | null;
|
|
1703
1804
|
data?: {
|
|
1704
1805
|
[k: string]: unknown;
|
|
1705
1806
|
};
|
|
@@ -1726,6 +1827,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
1726
1827
|
watermark: boolean;
|
|
1727
1828
|
resultType: "blob";
|
|
1728
1829
|
externalCanvas: HTMLCanvasElement | null;
|
|
1830
|
+
svgLoadWaitDelay?: number;
|
|
1729
1831
|
}): Promise<Blob>;
|
|
1730
1832
|
(options: {
|
|
1731
1833
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -1740,6 +1842,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
1740
1842
|
watermark: boolean;
|
|
1741
1843
|
resultType: "canvas";
|
|
1742
1844
|
externalCanvas: HTMLCanvasElement | null;
|
|
1845
|
+
svgLoadWaitDelay?: number;
|
|
1743
1846
|
}): Promise<HTMLCanvasElement>;
|
|
1744
1847
|
};
|
|
1745
1848
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -1771,6 +1874,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
1771
1874
|
serialWidth?: number;
|
|
1772
1875
|
serialHeight?: number;
|
|
1773
1876
|
preview?: string;
|
|
1877
|
+
personalizedPreviewSrc?: string | null;
|
|
1774
1878
|
data?: {
|
|
1775
1879
|
[k: string]: unknown;
|
|
1776
1880
|
};
|
|
@@ -1797,6 +1901,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
1797
1901
|
watermark: boolean;
|
|
1798
1902
|
resultType: "blob";
|
|
1799
1903
|
externalCanvas: HTMLCanvasElement | null;
|
|
1904
|
+
svgLoadWaitDelay?: number;
|
|
1800
1905
|
}): Promise<Blob>;
|
|
1801
1906
|
(options: {
|
|
1802
1907
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -1811,6 +1916,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
1811
1916
|
watermark: boolean;
|
|
1812
1917
|
resultType: "canvas";
|
|
1813
1918
|
externalCanvas: HTMLCanvasElement | null;
|
|
1919
|
+
svgLoadWaitDelay?: number;
|
|
1814
1920
|
}): Promise<HTMLCanvasElement>;
|
|
1815
1921
|
};
|
|
1816
1922
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -2204,7 +2310,31 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
2204
2310
|
};
|
|
2205
2311
|
}) | undefined>;
|
|
2206
2312
|
isMultiFrame: import("vue").ComputedRef<boolean>;
|
|
2207
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2313
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2314
|
+
"activate-field": (args_0: Template.Fields.BluepicField) => any;
|
|
2315
|
+
"focus-field": (args_0: Template.Fields.BluepicField) => any;
|
|
2316
|
+
"hover-field": (args_0: Template.Fields.BluepicField | undefined) => any;
|
|
2317
|
+
"select-start": (args_0: {
|
|
2318
|
+
x: number;
|
|
2319
|
+
y: number;
|
|
2320
|
+
}) => any;
|
|
2321
|
+
"select-move": (args_0: {
|
|
2322
|
+
x: number;
|
|
2323
|
+
y: number;
|
|
2324
|
+
}) => any;
|
|
2325
|
+
"select-end": () => any;
|
|
2326
|
+
"handle-grab": (args_0: {
|
|
2327
|
+
handle: import("../util/fieldHints").SelectionHandle;
|
|
2328
|
+
point: {
|
|
2329
|
+
x: number;
|
|
2330
|
+
y: number;
|
|
2331
|
+
};
|
|
2332
|
+
}) => any;
|
|
2333
|
+
"select-word": (args_0: {
|
|
2334
|
+
x: number;
|
|
2335
|
+
y: number;
|
|
2336
|
+
}) => any;
|
|
2337
|
+
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
2208
2338
|
P: {};
|
|
2209
2339
|
B: {};
|
|
2210
2340
|
D: {};
|
|
@@ -2219,6 +2349,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
2219
2349
|
serialWidth?: number;
|
|
2220
2350
|
serialHeight?: number;
|
|
2221
2351
|
preview?: string;
|
|
2352
|
+
personalizedPreviewSrc?: string | null;
|
|
2222
2353
|
offset: {
|
|
2223
2354
|
top: number;
|
|
2224
2355
|
right: number;
|
|
@@ -2228,7 +2359,35 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
2228
2359
|
zoomAndPan: boolean;
|
|
2229
2360
|
watermark: boolean;
|
|
2230
2361
|
accessibilityDescription?: string;
|
|
2231
|
-
|
|
2362
|
+
fieldHitboxes?: import("../util/fieldHints").FieldHitbox[];
|
|
2363
|
+
hintsRevealed?: boolean;
|
|
2364
|
+
textState?: import("../util/fieldHints").CanvasTextState;
|
|
2365
|
+
editingElementId?: string;
|
|
2366
|
+
}> & Readonly<{
|
|
2367
|
+
"onActivate-field"?: ((args_0: Template.Fields.BluepicField) => any) | undefined;
|
|
2368
|
+
"onFocus-field"?: ((args_0: Template.Fields.BluepicField) => any) | undefined;
|
|
2369
|
+
"onHover-field"?: ((args_0: Template.Fields.BluepicField | undefined) => any) | undefined;
|
|
2370
|
+
"onSelect-start"?: ((args_0: {
|
|
2371
|
+
x: number;
|
|
2372
|
+
y: number;
|
|
2373
|
+
}) => any) | undefined;
|
|
2374
|
+
"onSelect-move"?: ((args_0: {
|
|
2375
|
+
x: number;
|
|
2376
|
+
y: number;
|
|
2377
|
+
}) => any) | undefined;
|
|
2378
|
+
"onSelect-end"?: (() => any) | undefined;
|
|
2379
|
+
"onHandle-grab"?: ((args_0: {
|
|
2380
|
+
handle: import("../util/fieldHints").SelectionHandle;
|
|
2381
|
+
point: {
|
|
2382
|
+
x: number;
|
|
2383
|
+
y: number;
|
|
2384
|
+
};
|
|
2385
|
+
}) => any) | undefined;
|
|
2386
|
+
"onSelect-word"?: ((args_0: {
|
|
2387
|
+
x: number;
|
|
2388
|
+
y: number;
|
|
2389
|
+
}) => any) | undefined;
|
|
2390
|
+
}>, {
|
|
2232
2391
|
currentlyFocusedFrame: import("vue").ComputedRef<{
|
|
2233
2392
|
x: number;
|
|
2234
2393
|
y: number;
|
|
@@ -2247,6 +2406,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
2247
2406
|
serialWidth?: number;
|
|
2248
2407
|
serialHeight?: number;
|
|
2249
2408
|
preview?: string;
|
|
2409
|
+
personalizedPreviewSrc?: string | null;
|
|
2250
2410
|
data?: {
|
|
2251
2411
|
[k: string]: unknown;
|
|
2252
2412
|
};
|
|
@@ -2273,6 +2433,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
2273
2433
|
watermark: boolean;
|
|
2274
2434
|
resultType: "blob";
|
|
2275
2435
|
externalCanvas: HTMLCanvasElement | null;
|
|
2436
|
+
svgLoadWaitDelay?: number;
|
|
2276
2437
|
}): Promise<Blob>;
|
|
2277
2438
|
(options: {
|
|
2278
2439
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -2287,6 +2448,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
2287
2448
|
watermark: boolean;
|
|
2288
2449
|
resultType: "canvas";
|
|
2289
2450
|
externalCanvas: HTMLCanvasElement | null;
|
|
2451
|
+
svgLoadWaitDelay?: number;
|
|
2290
2452
|
}): Promise<HTMLCanvasElement>;
|
|
2291
2453
|
};
|
|
2292
2454
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -2318,6 +2480,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
2318
2480
|
serialWidth?: number;
|
|
2319
2481
|
serialHeight?: number;
|
|
2320
2482
|
preview?: string;
|
|
2483
|
+
personalizedPreviewSrc?: string | null;
|
|
2321
2484
|
data?: {
|
|
2322
2485
|
[k: string]: unknown;
|
|
2323
2486
|
};
|
|
@@ -2344,6 +2507,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
2344
2507
|
watermark: boolean;
|
|
2345
2508
|
resultType: "blob";
|
|
2346
2509
|
externalCanvas: HTMLCanvasElement | null;
|
|
2510
|
+
svgLoadWaitDelay?: number;
|
|
2347
2511
|
}): Promise<Blob>;
|
|
2348
2512
|
(options: {
|
|
2349
2513
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -2358,6 +2522,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
2358
2522
|
watermark: boolean;
|
|
2359
2523
|
resultType: "canvas";
|
|
2360
2524
|
externalCanvas: HTMLCanvasElement | null;
|
|
2525
|
+
svgLoadWaitDelay?: number;
|
|
2361
2526
|
}): Promise<HTMLCanvasElement>;
|
|
2362
2527
|
};
|
|
2363
2528
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -2374,6 +2539,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
2374
2539
|
serialWidth?: number;
|
|
2375
2540
|
serialHeight?: number;
|
|
2376
2541
|
preview?: string;
|
|
2542
|
+
personalizedPreviewSrc?: string | null;
|
|
2377
2543
|
data?: {
|
|
2378
2544
|
[k: string]: unknown;
|
|
2379
2545
|
};
|
|
@@ -2400,6 +2566,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
2400
2566
|
watermark: boolean;
|
|
2401
2567
|
resultType: "blob";
|
|
2402
2568
|
externalCanvas: HTMLCanvasElement | null;
|
|
2569
|
+
svgLoadWaitDelay?: number;
|
|
2403
2570
|
}): Promise<Blob>;
|
|
2404
2571
|
(options: {
|
|
2405
2572
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -2414,6 +2581,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
2414
2581
|
watermark: boolean;
|
|
2415
2582
|
resultType: "canvas";
|
|
2416
2583
|
externalCanvas: HTMLCanvasElement | null;
|
|
2584
|
+
svgLoadWaitDelay?: number;
|
|
2417
2585
|
}): Promise<HTMLCanvasElement>;
|
|
2418
2586
|
};
|
|
2419
2587
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -2445,6 +2613,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
2445
2613
|
serialWidth?: number;
|
|
2446
2614
|
serialHeight?: number;
|
|
2447
2615
|
preview?: string;
|
|
2616
|
+
personalizedPreviewSrc?: string | null;
|
|
2448
2617
|
data?: {
|
|
2449
2618
|
[k: string]: unknown;
|
|
2450
2619
|
};
|
|
@@ -2471,6 +2640,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
2471
2640
|
watermark: boolean;
|
|
2472
2641
|
resultType: "blob";
|
|
2473
2642
|
externalCanvas: HTMLCanvasElement | null;
|
|
2643
|
+
svgLoadWaitDelay?: number;
|
|
2474
2644
|
}): Promise<Blob>;
|
|
2475
2645
|
(options: {
|
|
2476
2646
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -2485,6 +2655,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
2485
2655
|
watermark: boolean;
|
|
2486
2656
|
resultType: "canvas";
|
|
2487
2657
|
externalCanvas: HTMLCanvasElement | null;
|
|
2658
|
+
svgLoadWaitDelay?: number;
|
|
2488
2659
|
}): Promise<HTMLCanvasElement>;
|
|
2489
2660
|
};
|
|
2490
2661
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -2884,8 +3055,11 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
2884
3055
|
[k: string]: unknown;
|
|
2885
3056
|
}) => any;
|
|
2886
3057
|
back: () => any;
|
|
3058
|
+
"update:batchRows": (args_0: import("../util/batch/useBatchRows").BatchRow[]) => any;
|
|
2887
3059
|
}, string, {
|
|
2888
3060
|
zoomAndPan: boolean;
|
|
3061
|
+
editMode: "single" | "batch" | "all";
|
|
3062
|
+
videoBatchMaxSize: number;
|
|
2889
3063
|
preCacheLocalRendering: boolean;
|
|
2890
3064
|
liveViewOffsetDesktop: {
|
|
2891
3065
|
top: number;
|
|
@@ -2921,6 +3095,8 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
2921
3095
|
$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;
|
|
2922
3096
|
} & Readonly<{
|
|
2923
3097
|
zoomAndPan: boolean;
|
|
3098
|
+
editMode: "single" | "batch" | "all";
|
|
3099
|
+
videoBatchMaxSize: number;
|
|
2924
3100
|
preCacheLocalRendering: boolean;
|
|
2925
3101
|
liveViewOffsetDesktop: {
|
|
2926
3102
|
top: number;
|
|
@@ -2940,6 +3116,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
2940
3116
|
assetProxy?: import("@bluepic/raster/svg").AssetProxyConfig;
|
|
2941
3117
|
serial?: Template.Serial;
|
|
2942
3118
|
preview?: string;
|
|
3119
|
+
personalizedPreviewSrc?: string | null;
|
|
2943
3120
|
serialWidth?: number;
|
|
2944
3121
|
serialHeight?: number;
|
|
2945
3122
|
layout?: "mobile" | "desktop";
|
|
@@ -2947,42 +3124,12 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
2947
3124
|
bridge: FieldsBridge;
|
|
2948
3125
|
showBackBtn: boolean;
|
|
2949
3126
|
branding: boolean;
|
|
2950
|
-
exportOptions: z.infer<
|
|
2951
|
-
|
|
2952
|
-
layout: z.ZodEnum<{
|
|
2953
|
-
stack: "stack";
|
|
2954
|
-
gallery: "gallery";
|
|
2955
|
-
"selection:horizontal": "selection:horizontal";
|
|
2956
|
-
"selection:vertical": "selection:vertical";
|
|
2957
|
-
}>;
|
|
2958
|
-
logo: z.ZodOptional<z.ZodString>;
|
|
2959
|
-
title: z.ZodOptional<z.ZodString>;
|
|
2960
|
-
allowPanAndZoom: z.ZodBoolean;
|
|
2961
|
-
customStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2962
|
-
sortByCategories: z.ZodBoolean;
|
|
2963
|
-
captions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2964
|
-
categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2965
|
-
export: z.ZodObject<{
|
|
2966
|
-
linkedInOAuth: z.ZodBoolean;
|
|
2967
|
-
trackLinks: z.ZodOptional<z.ZodBoolean>;
|
|
2968
|
-
socialConnections: z.ZodObject<{
|
|
2969
|
-
instagram: z.ZodOptional<z.ZodBoolean>;
|
|
2970
|
-
facebook: z.ZodOptional<z.ZodBoolean>;
|
|
2971
|
-
linkedin: z.ZodOptional<z.ZodBoolean>;
|
|
2972
|
-
mail: z.ZodOptional<z.ZodBoolean>;
|
|
2973
|
-
whatsapp: z.ZodOptional<z.ZodBoolean>;
|
|
2974
|
-
x: z.ZodOptional<z.ZodBoolean>;
|
|
2975
|
-
}, z.core.$strip>;
|
|
2976
|
-
actionalConnections: z.ZodObject<{
|
|
2977
|
-
download: z.ZodOptional<z.ZodBoolean>;
|
|
2978
|
-
webhook: z.ZodOptional<z.ZodString>;
|
|
2979
|
-
redirect: z.ZodOptional<z.ZodString>;
|
|
2980
|
-
}, z.core.$strip>;
|
|
2981
|
-
}, z.core.$strip>;
|
|
2982
|
-
}, z.core.$strip>>;
|
|
3127
|
+
exportOptions: z.infer<typeof Studio.campaignConfigSchema>["export"];
|
|
3128
|
+
hints?: z.infer<typeof Studio.campaignConfigSchema>["hints"];
|
|
2983
3129
|
apiBaseUrl: string;
|
|
2984
3130
|
env: "prod" | "dev";
|
|
2985
3131
|
templateId: string;
|
|
3132
|
+
canvasId?: string;
|
|
2986
3133
|
campaignId?: number;
|
|
2987
3134
|
name: string;
|
|
2988
3135
|
captions?: {
|
|
@@ -3000,8 +3147,8 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3000
3147
|
nativeGifEmbedding?: boolean;
|
|
3001
3148
|
remoteVideoRenderBaseUrl: string;
|
|
3002
3149
|
enforceServerSideRendering: boolean;
|
|
3003
|
-
enforceFallbackService: boolean;
|
|
3004
3150
|
enforceVideoServerSideRendering: boolean;
|
|
3151
|
+
svgLoadWaitDelay?: number;
|
|
3005
3152
|
liveViewOffsetDesktop?: {
|
|
3006
3153
|
top: number;
|
|
3007
3154
|
right: number;
|
|
@@ -3015,12 +3162,19 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3015
3162
|
left: number;
|
|
3016
3163
|
};
|
|
3017
3164
|
analytics?: import("../main").ExportAnalyticsSink;
|
|
3165
|
+
editMode?: "single" | "batch" | "all";
|
|
3166
|
+
videoBatchMaxSize?: number;
|
|
3167
|
+
orgSlug?: string;
|
|
3168
|
+
templateAlias?: string | null;
|
|
3169
|
+
urlRenderBaseUrl?: string;
|
|
3170
|
+
batchRows?: import("../util/batch/useBatchRows").BatchRow[];
|
|
3018
3171
|
}> & Readonly<{
|
|
3019
3172
|
"onUpdate:data"?: ((args_0: {
|
|
3020
3173
|
[k: string]: unknown;
|
|
3021
3174
|
}) => any) | undefined;
|
|
3022
3175
|
onBack?: (() => any) | undefined;
|
|
3023
|
-
|
|
3176
|
+
"onUpdate:batchRows"?: ((args_0: import("../util/batch/useBatchRows").BatchRow[]) => any) | undefined;
|
|
3177
|
+
}>, "templateViewRef" | ("zoomAndPan" | "editMode" | "videoBatchMaxSize" | "preCacheLocalRendering" | "liveViewOffsetDesktop" | "liveViewOffsetMobile")> & {
|
|
3024
3178
|
templateViewRef: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3025
3179
|
bxCoreVersion?: string;
|
|
3026
3180
|
cloudflarePagesHostname?: string;
|
|
@@ -3029,6 +3183,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3029
3183
|
serialWidth?: number;
|
|
3030
3184
|
serialHeight?: number;
|
|
3031
3185
|
preview?: string;
|
|
3186
|
+
personalizedPreviewSrc?: string | null;
|
|
3032
3187
|
offset: {
|
|
3033
3188
|
top: number;
|
|
3034
3189
|
right: number;
|
|
@@ -3038,7 +3193,35 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3038
3193
|
zoomAndPan: boolean;
|
|
3039
3194
|
watermark: boolean;
|
|
3040
3195
|
accessibilityDescription?: string;
|
|
3041
|
-
|
|
3196
|
+
fieldHitboxes?: import("../util/fieldHints").FieldHitbox[];
|
|
3197
|
+
hintsRevealed?: boolean;
|
|
3198
|
+
textState?: import("../util/fieldHints").CanvasTextState;
|
|
3199
|
+
editingElementId?: string;
|
|
3200
|
+
}> & Readonly<{
|
|
3201
|
+
"onActivate-field"?: ((args_0: Template.Fields.BluepicField) => any) | undefined;
|
|
3202
|
+
"onFocus-field"?: ((args_0: Template.Fields.BluepicField) => any) | undefined;
|
|
3203
|
+
"onHover-field"?: ((args_0: Template.Fields.BluepicField | undefined) => any) | undefined;
|
|
3204
|
+
"onSelect-start"?: ((args_0: {
|
|
3205
|
+
x: number;
|
|
3206
|
+
y: number;
|
|
3207
|
+
}) => any) | undefined;
|
|
3208
|
+
"onSelect-move"?: ((args_0: {
|
|
3209
|
+
x: number;
|
|
3210
|
+
y: number;
|
|
3211
|
+
}) => any) | undefined;
|
|
3212
|
+
"onSelect-end"?: (() => any) | undefined;
|
|
3213
|
+
"onHandle-grab"?: ((args_0: {
|
|
3214
|
+
handle: import("../util/fieldHints").SelectionHandle;
|
|
3215
|
+
point: {
|
|
3216
|
+
x: number;
|
|
3217
|
+
y: number;
|
|
3218
|
+
};
|
|
3219
|
+
}) => any) | undefined;
|
|
3220
|
+
"onSelect-word"?: ((args_0: {
|
|
3221
|
+
x: number;
|
|
3222
|
+
y: number;
|
|
3223
|
+
}) => any) | undefined;
|
|
3224
|
+
}>, {
|
|
3042
3225
|
currentlyFocusedFrame: import("vue").ComputedRef<{
|
|
3043
3226
|
x: number;
|
|
3044
3227
|
y: number;
|
|
@@ -3057,6 +3240,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3057
3240
|
serialWidth?: number;
|
|
3058
3241
|
serialHeight?: number;
|
|
3059
3242
|
preview?: string;
|
|
3243
|
+
personalizedPreviewSrc?: string | null;
|
|
3060
3244
|
data?: {
|
|
3061
3245
|
[k: string]: unknown;
|
|
3062
3246
|
};
|
|
@@ -3083,6 +3267,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3083
3267
|
watermark: boolean;
|
|
3084
3268
|
resultType: "blob";
|
|
3085
3269
|
externalCanvas: HTMLCanvasElement | null;
|
|
3270
|
+
svgLoadWaitDelay?: number;
|
|
3086
3271
|
}): Promise<Blob>;
|
|
3087
3272
|
(options: {
|
|
3088
3273
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -3097,6 +3282,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3097
3282
|
watermark: boolean;
|
|
3098
3283
|
resultType: "canvas";
|
|
3099
3284
|
externalCanvas: HTMLCanvasElement | null;
|
|
3285
|
+
svgLoadWaitDelay?: number;
|
|
3100
3286
|
}): Promise<HTMLCanvasElement>;
|
|
3101
3287
|
};
|
|
3102
3288
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -3128,6 +3314,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3128
3314
|
serialWidth?: number;
|
|
3129
3315
|
serialHeight?: number;
|
|
3130
3316
|
preview?: string;
|
|
3317
|
+
personalizedPreviewSrc?: string | null;
|
|
3131
3318
|
data?: {
|
|
3132
3319
|
[k: string]: unknown;
|
|
3133
3320
|
};
|
|
@@ -3154,6 +3341,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3154
3341
|
watermark: boolean;
|
|
3155
3342
|
resultType: "blob";
|
|
3156
3343
|
externalCanvas: HTMLCanvasElement | null;
|
|
3344
|
+
svgLoadWaitDelay?: number;
|
|
3157
3345
|
}): Promise<Blob>;
|
|
3158
3346
|
(options: {
|
|
3159
3347
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -3168,6 +3356,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3168
3356
|
watermark: boolean;
|
|
3169
3357
|
resultType: "canvas";
|
|
3170
3358
|
externalCanvas: HTMLCanvasElement | null;
|
|
3359
|
+
svgLoadWaitDelay?: number;
|
|
3171
3360
|
}): Promise<HTMLCanvasElement>;
|
|
3172
3361
|
};
|
|
3173
3362
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -3184,6 +3373,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3184
3373
|
serialWidth?: number;
|
|
3185
3374
|
serialHeight?: number;
|
|
3186
3375
|
preview?: string;
|
|
3376
|
+
personalizedPreviewSrc?: string | null;
|
|
3187
3377
|
data?: {
|
|
3188
3378
|
[k: string]: unknown;
|
|
3189
3379
|
};
|
|
@@ -3210,6 +3400,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3210
3400
|
watermark: boolean;
|
|
3211
3401
|
resultType: "blob";
|
|
3212
3402
|
externalCanvas: HTMLCanvasElement | null;
|
|
3403
|
+
svgLoadWaitDelay?: number;
|
|
3213
3404
|
}): Promise<Blob>;
|
|
3214
3405
|
(options: {
|
|
3215
3406
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -3224,6 +3415,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3224
3415
|
watermark: boolean;
|
|
3225
3416
|
resultType: "canvas";
|
|
3226
3417
|
externalCanvas: HTMLCanvasElement | null;
|
|
3418
|
+
svgLoadWaitDelay?: number;
|
|
3227
3419
|
}): Promise<HTMLCanvasElement>;
|
|
3228
3420
|
};
|
|
3229
3421
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -3255,6 +3447,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3255
3447
|
serialWidth?: number;
|
|
3256
3448
|
serialHeight?: number;
|
|
3257
3449
|
preview?: string;
|
|
3450
|
+
personalizedPreviewSrc?: string | null;
|
|
3258
3451
|
data?: {
|
|
3259
3452
|
[k: string]: unknown;
|
|
3260
3453
|
};
|
|
@@ -3281,6 +3474,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3281
3474
|
watermark: boolean;
|
|
3282
3475
|
resultType: "blob";
|
|
3283
3476
|
externalCanvas: HTMLCanvasElement | null;
|
|
3477
|
+
svgLoadWaitDelay?: number;
|
|
3284
3478
|
}): Promise<Blob>;
|
|
3285
3479
|
(options: {
|
|
3286
3480
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -3295,6 +3489,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3295
3489
|
watermark: boolean;
|
|
3296
3490
|
resultType: "canvas";
|
|
3297
3491
|
externalCanvas: HTMLCanvasElement | null;
|
|
3492
|
+
svgLoadWaitDelay?: number;
|
|
3298
3493
|
}): Promise<HTMLCanvasElement>;
|
|
3299
3494
|
};
|
|
3300
3495
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -3688,7 +3883,31 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3688
3883
|
};
|
|
3689
3884
|
}) | undefined>;
|
|
3690
3885
|
isMultiFrame: import("vue").ComputedRef<boolean>;
|
|
3691
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3886
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3887
|
+
"activate-field": (args_0: Template.Fields.BluepicField) => any;
|
|
3888
|
+
"focus-field": (args_0: Template.Fields.BluepicField) => any;
|
|
3889
|
+
"hover-field": (args_0: Template.Fields.BluepicField | undefined) => any;
|
|
3890
|
+
"select-start": (args_0: {
|
|
3891
|
+
x: number;
|
|
3892
|
+
y: number;
|
|
3893
|
+
}) => any;
|
|
3894
|
+
"select-move": (args_0: {
|
|
3895
|
+
x: number;
|
|
3896
|
+
y: number;
|
|
3897
|
+
}) => any;
|
|
3898
|
+
"select-end": () => any;
|
|
3899
|
+
"handle-grab": (args_0: {
|
|
3900
|
+
handle: import("../util/fieldHints").SelectionHandle;
|
|
3901
|
+
point: {
|
|
3902
|
+
x: number;
|
|
3903
|
+
y: number;
|
|
3904
|
+
};
|
|
3905
|
+
}) => any;
|
|
3906
|
+
"select-word": (args_0: {
|
|
3907
|
+
x: number;
|
|
3908
|
+
y: number;
|
|
3909
|
+
}) => any;
|
|
3910
|
+
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
3692
3911
|
P: {};
|
|
3693
3912
|
B: {};
|
|
3694
3913
|
D: {};
|
|
@@ -3703,6 +3922,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3703
3922
|
serialWidth?: number;
|
|
3704
3923
|
serialHeight?: number;
|
|
3705
3924
|
preview?: string;
|
|
3925
|
+
personalizedPreviewSrc?: string | null;
|
|
3706
3926
|
offset: {
|
|
3707
3927
|
top: number;
|
|
3708
3928
|
right: number;
|
|
@@ -3712,7 +3932,35 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3712
3932
|
zoomAndPan: boolean;
|
|
3713
3933
|
watermark: boolean;
|
|
3714
3934
|
accessibilityDescription?: string;
|
|
3715
|
-
|
|
3935
|
+
fieldHitboxes?: import("../util/fieldHints").FieldHitbox[];
|
|
3936
|
+
hintsRevealed?: boolean;
|
|
3937
|
+
textState?: import("../util/fieldHints").CanvasTextState;
|
|
3938
|
+
editingElementId?: string;
|
|
3939
|
+
}> & Readonly<{
|
|
3940
|
+
"onActivate-field"?: ((args_0: Template.Fields.BluepicField) => any) | undefined;
|
|
3941
|
+
"onFocus-field"?: ((args_0: Template.Fields.BluepicField) => any) | undefined;
|
|
3942
|
+
"onHover-field"?: ((args_0: Template.Fields.BluepicField | undefined) => any) | undefined;
|
|
3943
|
+
"onSelect-start"?: ((args_0: {
|
|
3944
|
+
x: number;
|
|
3945
|
+
y: number;
|
|
3946
|
+
}) => any) | undefined;
|
|
3947
|
+
"onSelect-move"?: ((args_0: {
|
|
3948
|
+
x: number;
|
|
3949
|
+
y: number;
|
|
3950
|
+
}) => any) | undefined;
|
|
3951
|
+
"onSelect-end"?: (() => any) | undefined;
|
|
3952
|
+
"onHandle-grab"?: ((args_0: {
|
|
3953
|
+
handle: import("../util/fieldHints").SelectionHandle;
|
|
3954
|
+
point: {
|
|
3955
|
+
x: number;
|
|
3956
|
+
y: number;
|
|
3957
|
+
};
|
|
3958
|
+
}) => any) | undefined;
|
|
3959
|
+
"onSelect-word"?: ((args_0: {
|
|
3960
|
+
x: number;
|
|
3961
|
+
y: number;
|
|
3962
|
+
}) => any) | undefined;
|
|
3963
|
+
}>, {
|
|
3716
3964
|
currentlyFocusedFrame: import("vue").ComputedRef<{
|
|
3717
3965
|
x: number;
|
|
3718
3966
|
y: number;
|
|
@@ -3731,6 +3979,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3731
3979
|
serialWidth?: number;
|
|
3732
3980
|
serialHeight?: number;
|
|
3733
3981
|
preview?: string;
|
|
3982
|
+
personalizedPreviewSrc?: string | null;
|
|
3734
3983
|
data?: {
|
|
3735
3984
|
[k: string]: unknown;
|
|
3736
3985
|
};
|
|
@@ -3757,6 +4006,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3757
4006
|
watermark: boolean;
|
|
3758
4007
|
resultType: "blob";
|
|
3759
4008
|
externalCanvas: HTMLCanvasElement | null;
|
|
4009
|
+
svgLoadWaitDelay?: number;
|
|
3760
4010
|
}): Promise<Blob>;
|
|
3761
4011
|
(options: {
|
|
3762
4012
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -3771,6 +4021,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3771
4021
|
watermark: boolean;
|
|
3772
4022
|
resultType: "canvas";
|
|
3773
4023
|
externalCanvas: HTMLCanvasElement | null;
|
|
4024
|
+
svgLoadWaitDelay?: number;
|
|
3774
4025
|
}): Promise<HTMLCanvasElement>;
|
|
3775
4026
|
};
|
|
3776
4027
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -3802,6 +4053,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3802
4053
|
serialWidth?: number;
|
|
3803
4054
|
serialHeight?: number;
|
|
3804
4055
|
preview?: string;
|
|
4056
|
+
personalizedPreviewSrc?: string | null;
|
|
3805
4057
|
data?: {
|
|
3806
4058
|
[k: string]: unknown;
|
|
3807
4059
|
};
|
|
@@ -3828,6 +4080,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3828
4080
|
watermark: boolean;
|
|
3829
4081
|
resultType: "blob";
|
|
3830
4082
|
externalCanvas: HTMLCanvasElement | null;
|
|
4083
|
+
svgLoadWaitDelay?: number;
|
|
3831
4084
|
}): Promise<Blob>;
|
|
3832
4085
|
(options: {
|
|
3833
4086
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -3842,6 +4095,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3842
4095
|
watermark: boolean;
|
|
3843
4096
|
resultType: "canvas";
|
|
3844
4097
|
externalCanvas: HTMLCanvasElement | null;
|
|
4098
|
+
svgLoadWaitDelay?: number;
|
|
3845
4099
|
}): Promise<HTMLCanvasElement>;
|
|
3846
4100
|
};
|
|
3847
4101
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -3858,6 +4112,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3858
4112
|
serialWidth?: number;
|
|
3859
4113
|
serialHeight?: number;
|
|
3860
4114
|
preview?: string;
|
|
4115
|
+
personalizedPreviewSrc?: string | null;
|
|
3861
4116
|
data?: {
|
|
3862
4117
|
[k: string]: unknown;
|
|
3863
4118
|
};
|
|
@@ -3884,6 +4139,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3884
4139
|
watermark: boolean;
|
|
3885
4140
|
resultType: "blob";
|
|
3886
4141
|
externalCanvas: HTMLCanvasElement | null;
|
|
4142
|
+
svgLoadWaitDelay?: number;
|
|
3887
4143
|
}): Promise<Blob>;
|
|
3888
4144
|
(options: {
|
|
3889
4145
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -3898,6 +4154,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3898
4154
|
watermark: boolean;
|
|
3899
4155
|
resultType: "canvas";
|
|
3900
4156
|
externalCanvas: HTMLCanvasElement | null;
|
|
4157
|
+
svgLoadWaitDelay?: number;
|
|
3901
4158
|
}): Promise<HTMLCanvasElement>;
|
|
3902
4159
|
};
|
|
3903
4160
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -3929,6 +4186,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3929
4186
|
serialWidth?: number;
|
|
3930
4187
|
serialHeight?: number;
|
|
3931
4188
|
preview?: string;
|
|
4189
|
+
personalizedPreviewSrc?: string | null;
|
|
3932
4190
|
data?: {
|
|
3933
4191
|
[k: string]: unknown;
|
|
3934
4192
|
};
|
|
@@ -3955,6 +4213,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3955
4213
|
watermark: boolean;
|
|
3956
4214
|
resultType: "blob";
|
|
3957
4215
|
externalCanvas: HTMLCanvasElement | null;
|
|
4216
|
+
svgLoadWaitDelay?: number;
|
|
3958
4217
|
}): Promise<Blob>;
|
|
3959
4218
|
(options: {
|
|
3960
4219
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -3969,6 +4228,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3969
4228
|
watermark: boolean;
|
|
3970
4229
|
resultType: "canvas";
|
|
3971
4230
|
externalCanvas: HTMLCanvasElement | null;
|
|
4231
|
+
svgLoadWaitDelay?: number;
|
|
3972
4232
|
}): Promise<HTMLCanvasElement>;
|
|
3973
4233
|
};
|
|
3974
4234
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -4377,6 +4637,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4377
4637
|
readonly assetProxy?: import("@bluepic/raster/svg").AssetProxyConfig | undefined;
|
|
4378
4638
|
readonly serial?: Template.Serial | undefined;
|
|
4379
4639
|
readonly preview?: string | undefined;
|
|
4640
|
+
readonly personalizedPreviewSrc?: string | null | undefined;
|
|
4380
4641
|
readonly serialWidth?: number | undefined;
|
|
4381
4642
|
readonly serialHeight?: number | undefined;
|
|
4382
4643
|
readonly layout?: "mobile" | "desktop" | undefined;
|
|
@@ -4384,42 +4645,14 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4384
4645
|
readonly bridge: FieldsBridge;
|
|
4385
4646
|
readonly showBackBtn: boolean;
|
|
4386
4647
|
readonly branding: boolean;
|
|
4387
|
-
readonly exportOptions: z.infer<
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
gallery: "gallery";
|
|
4392
|
-
"selection:horizontal": "selection:horizontal";
|
|
4393
|
-
"selection:vertical": "selection:vertical";
|
|
4394
|
-
}>;
|
|
4395
|
-
logo: z.ZodOptional<z.ZodString>;
|
|
4396
|
-
title: z.ZodOptional<z.ZodString>;
|
|
4397
|
-
allowPanAndZoom: z.ZodBoolean;
|
|
4398
|
-
customStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4399
|
-
sortByCategories: z.ZodBoolean;
|
|
4400
|
-
captions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4401
|
-
categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4402
|
-
export: z.ZodObject<{
|
|
4403
|
-
linkedInOAuth: z.ZodBoolean;
|
|
4404
|
-
trackLinks: z.ZodOptional<z.ZodBoolean>;
|
|
4405
|
-
socialConnections: z.ZodObject<{
|
|
4406
|
-
instagram: z.ZodOptional<z.ZodBoolean>;
|
|
4407
|
-
facebook: z.ZodOptional<z.ZodBoolean>;
|
|
4408
|
-
linkedin: z.ZodOptional<z.ZodBoolean>;
|
|
4409
|
-
mail: z.ZodOptional<z.ZodBoolean>;
|
|
4410
|
-
whatsapp: z.ZodOptional<z.ZodBoolean>;
|
|
4411
|
-
x: z.ZodOptional<z.ZodBoolean>;
|
|
4412
|
-
}, z.core.$strip>;
|
|
4413
|
-
actionalConnections: z.ZodObject<{
|
|
4414
|
-
download: z.ZodOptional<z.ZodBoolean>;
|
|
4415
|
-
webhook: z.ZodOptional<z.ZodString>;
|
|
4416
|
-
redirect: z.ZodOptional<z.ZodString>;
|
|
4417
|
-
}, z.core.$strip>;
|
|
4418
|
-
}, z.core.$strip>;
|
|
4419
|
-
}, z.core.$strip>>;
|
|
4648
|
+
readonly exportOptions: z.infer<typeof Studio.campaignConfigSchema>["export"];
|
|
4649
|
+
readonly hints?: {
|
|
4650
|
+
enabled: boolean;
|
|
4651
|
+
} | undefined;
|
|
4420
4652
|
readonly apiBaseUrl: string;
|
|
4421
4653
|
readonly env: "prod" | "dev";
|
|
4422
4654
|
readonly templateId: string;
|
|
4655
|
+
readonly canvasId?: string | undefined;
|
|
4423
4656
|
readonly campaignId?: number | undefined;
|
|
4424
4657
|
readonly name: string;
|
|
4425
4658
|
readonly captions?: {
|
|
@@ -4437,8 +4670,8 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4437
4670
|
readonly nativeGifEmbedding?: boolean | undefined;
|
|
4438
4671
|
readonly remoteVideoRenderBaseUrl: string;
|
|
4439
4672
|
readonly enforceServerSideRendering: boolean;
|
|
4440
|
-
readonly enforceFallbackService: boolean;
|
|
4441
4673
|
readonly enforceVideoServerSideRendering: boolean;
|
|
4674
|
+
readonly svgLoadWaitDelay?: number | undefined;
|
|
4442
4675
|
readonly liveViewOffsetDesktop?: {
|
|
4443
4676
|
top: number;
|
|
4444
4677
|
right: number;
|
|
@@ -4452,10 +4685,17 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4452
4685
|
left: number;
|
|
4453
4686
|
} | undefined;
|
|
4454
4687
|
readonly analytics?: import("../main").ExportAnalyticsSink | undefined;
|
|
4688
|
+
readonly editMode?: "single" | "batch" | "all" | undefined;
|
|
4689
|
+
readonly videoBatchMaxSize?: number | undefined;
|
|
4690
|
+
readonly orgSlug?: string | undefined;
|
|
4691
|
+
readonly templateAlias?: string | null | undefined;
|
|
4692
|
+
readonly urlRenderBaseUrl?: string | undefined;
|
|
4693
|
+
readonly batchRows?: import("../util/batch/useBatchRows").BatchRow[] | undefined;
|
|
4455
4694
|
readonly "onUpdate:data"?: ((args_0: {
|
|
4456
4695
|
[k: string]: unknown;
|
|
4457
4696
|
}) => any) | undefined;
|
|
4458
4697
|
readonly onBack?: (() => any) | undefined;
|
|
4698
|
+
readonly "onUpdate:batchRows"?: ((args_0: import("../util/batch/useBatchRows").BatchRow[]) => any) | undefined;
|
|
4459
4699
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
4460
4700
|
$attrs: import("vue").Attrs;
|
|
4461
4701
|
$refs: {
|
|
@@ -4469,7 +4709,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4469
4709
|
$host: Element | null;
|
|
4470
4710
|
$emit: ((event: "update:data", args_0: {
|
|
4471
4711
|
[k: string]: unknown;
|
|
4472
|
-
}) => void) & ((event: "back") => void);
|
|
4712
|
+
}) => void) & ((event: "back") => void) & ((event: "update:batchRows", args_0: import("../util/batch/useBatchRows").BatchRow[]) => void);
|
|
4473
4713
|
$el: any;
|
|
4474
4714
|
$options: import("vue").ComponentOptionsBase<Readonly<{
|
|
4475
4715
|
bxCoreVersion?: string;
|
|
@@ -4477,6 +4717,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4477
4717
|
assetProxy?: import("@bluepic/raster/svg").AssetProxyConfig;
|
|
4478
4718
|
serial?: Template.Serial;
|
|
4479
4719
|
preview?: string;
|
|
4720
|
+
personalizedPreviewSrc?: string | null;
|
|
4480
4721
|
serialWidth?: number;
|
|
4481
4722
|
serialHeight?: number;
|
|
4482
4723
|
layout?: "mobile" | "desktop";
|
|
@@ -4484,42 +4725,12 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4484
4725
|
bridge: FieldsBridge;
|
|
4485
4726
|
showBackBtn: boolean;
|
|
4486
4727
|
branding: boolean;
|
|
4487
|
-
exportOptions: z.infer<
|
|
4488
|
-
|
|
4489
|
-
layout: z.ZodEnum<{
|
|
4490
|
-
stack: "stack";
|
|
4491
|
-
gallery: "gallery";
|
|
4492
|
-
"selection:horizontal": "selection:horizontal";
|
|
4493
|
-
"selection:vertical": "selection:vertical";
|
|
4494
|
-
}>;
|
|
4495
|
-
logo: z.ZodOptional<z.ZodString>;
|
|
4496
|
-
title: z.ZodOptional<z.ZodString>;
|
|
4497
|
-
allowPanAndZoom: z.ZodBoolean;
|
|
4498
|
-
customStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4499
|
-
sortByCategories: z.ZodBoolean;
|
|
4500
|
-
captions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4501
|
-
categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4502
|
-
export: z.ZodObject<{
|
|
4503
|
-
linkedInOAuth: z.ZodBoolean;
|
|
4504
|
-
trackLinks: z.ZodOptional<z.ZodBoolean>;
|
|
4505
|
-
socialConnections: z.ZodObject<{
|
|
4506
|
-
instagram: z.ZodOptional<z.ZodBoolean>;
|
|
4507
|
-
facebook: z.ZodOptional<z.ZodBoolean>;
|
|
4508
|
-
linkedin: z.ZodOptional<z.ZodBoolean>;
|
|
4509
|
-
mail: z.ZodOptional<z.ZodBoolean>;
|
|
4510
|
-
whatsapp: z.ZodOptional<z.ZodBoolean>;
|
|
4511
|
-
x: z.ZodOptional<z.ZodBoolean>;
|
|
4512
|
-
}, z.core.$strip>;
|
|
4513
|
-
actionalConnections: z.ZodObject<{
|
|
4514
|
-
download: z.ZodOptional<z.ZodBoolean>;
|
|
4515
|
-
webhook: z.ZodOptional<z.ZodString>;
|
|
4516
|
-
redirect: z.ZodOptional<z.ZodString>;
|
|
4517
|
-
}, z.core.$strip>;
|
|
4518
|
-
}, z.core.$strip>;
|
|
4519
|
-
}, z.core.$strip>>;
|
|
4728
|
+
exportOptions: z.infer<typeof Studio.campaignConfigSchema>["export"];
|
|
4729
|
+
hints?: z.infer<typeof Studio.campaignConfigSchema>["hints"];
|
|
4520
4730
|
apiBaseUrl: string;
|
|
4521
4731
|
env: "prod" | "dev";
|
|
4522
4732
|
templateId: string;
|
|
4733
|
+
canvasId?: string;
|
|
4523
4734
|
campaignId?: number;
|
|
4524
4735
|
name: string;
|
|
4525
4736
|
captions?: {
|
|
@@ -4537,8 +4748,8 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4537
4748
|
nativeGifEmbedding?: boolean;
|
|
4538
4749
|
remoteVideoRenderBaseUrl: string;
|
|
4539
4750
|
enforceServerSideRendering: boolean;
|
|
4540
|
-
enforceFallbackService: boolean;
|
|
4541
4751
|
enforceVideoServerSideRendering: boolean;
|
|
4752
|
+
svgLoadWaitDelay?: number;
|
|
4542
4753
|
liveViewOffsetDesktop?: {
|
|
4543
4754
|
top: number;
|
|
4544
4755
|
right: number;
|
|
@@ -4552,11 +4763,18 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4552
4763
|
left: number;
|
|
4553
4764
|
};
|
|
4554
4765
|
analytics?: import("../main").ExportAnalyticsSink;
|
|
4766
|
+
editMode?: "single" | "batch" | "all";
|
|
4767
|
+
videoBatchMaxSize?: number;
|
|
4768
|
+
orgSlug?: string;
|
|
4769
|
+
templateAlias?: string | null;
|
|
4770
|
+
urlRenderBaseUrl?: string;
|
|
4771
|
+
batchRows?: import("../util/batch/useBatchRows").BatchRow[];
|
|
4555
4772
|
}> & Readonly<{
|
|
4556
4773
|
"onUpdate:data"?: ((args_0: {
|
|
4557
4774
|
[k: string]: unknown;
|
|
4558
4775
|
}) => any) | undefined;
|
|
4559
4776
|
onBack?: (() => any) | undefined;
|
|
4777
|
+
"onUpdate:batchRows"?: ((args_0: import("../util/batch/useBatchRows").BatchRow[]) => any) | undefined;
|
|
4560
4778
|
}>, {
|
|
4561
4779
|
templateViewRef: Ref<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4562
4780
|
bxCoreVersion?: string;
|
|
@@ -4566,6 +4784,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4566
4784
|
serialWidth?: number;
|
|
4567
4785
|
serialHeight?: number;
|
|
4568
4786
|
preview?: string;
|
|
4787
|
+
personalizedPreviewSrc?: string | null;
|
|
4569
4788
|
offset: {
|
|
4570
4789
|
top: number;
|
|
4571
4790
|
right: number;
|
|
@@ -4575,7 +4794,35 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4575
4794
|
zoomAndPan: boolean;
|
|
4576
4795
|
watermark: boolean;
|
|
4577
4796
|
accessibilityDescription?: string;
|
|
4578
|
-
|
|
4797
|
+
fieldHitboxes?: import("../util/fieldHints").FieldHitbox[];
|
|
4798
|
+
hintsRevealed?: boolean;
|
|
4799
|
+
textState?: import("../util/fieldHints").CanvasTextState;
|
|
4800
|
+
editingElementId?: string;
|
|
4801
|
+
}> & Readonly<{
|
|
4802
|
+
"onActivate-field"?: ((args_0: Template.Fields.BluepicField) => any) | undefined;
|
|
4803
|
+
"onFocus-field"?: ((args_0: Template.Fields.BluepicField) => any) | undefined;
|
|
4804
|
+
"onHover-field"?: ((args_0: Template.Fields.BluepicField | undefined) => any) | undefined;
|
|
4805
|
+
"onSelect-start"?: ((args_0: {
|
|
4806
|
+
x: number;
|
|
4807
|
+
y: number;
|
|
4808
|
+
}) => any) | undefined;
|
|
4809
|
+
"onSelect-move"?: ((args_0: {
|
|
4810
|
+
x: number;
|
|
4811
|
+
y: number;
|
|
4812
|
+
}) => any) | undefined;
|
|
4813
|
+
"onSelect-end"?: (() => any) | undefined;
|
|
4814
|
+
"onHandle-grab"?: ((args_0: {
|
|
4815
|
+
handle: import("../util/fieldHints").SelectionHandle;
|
|
4816
|
+
point: {
|
|
4817
|
+
x: number;
|
|
4818
|
+
y: number;
|
|
4819
|
+
};
|
|
4820
|
+
}) => any) | undefined;
|
|
4821
|
+
"onSelect-word"?: ((args_0: {
|
|
4822
|
+
x: number;
|
|
4823
|
+
y: number;
|
|
4824
|
+
}) => any) | undefined;
|
|
4825
|
+
}>, {
|
|
4579
4826
|
currentlyFocusedFrame: import("vue").ComputedRef<{
|
|
4580
4827
|
x: number;
|
|
4581
4828
|
y: number;
|
|
@@ -4594,6 +4841,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4594
4841
|
serialWidth?: number;
|
|
4595
4842
|
serialHeight?: number;
|
|
4596
4843
|
preview?: string;
|
|
4844
|
+
personalizedPreviewSrc?: string | null;
|
|
4597
4845
|
data?: {
|
|
4598
4846
|
[k: string]: unknown;
|
|
4599
4847
|
};
|
|
@@ -4620,6 +4868,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4620
4868
|
watermark: boolean;
|
|
4621
4869
|
resultType: "blob";
|
|
4622
4870
|
externalCanvas: HTMLCanvasElement | null;
|
|
4871
|
+
svgLoadWaitDelay?: number;
|
|
4623
4872
|
}): Promise<Blob>;
|
|
4624
4873
|
(options: {
|
|
4625
4874
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -4634,6 +4883,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4634
4883
|
watermark: boolean;
|
|
4635
4884
|
resultType: "canvas";
|
|
4636
4885
|
externalCanvas: HTMLCanvasElement | null;
|
|
4886
|
+
svgLoadWaitDelay?: number;
|
|
4637
4887
|
}): Promise<HTMLCanvasElement>;
|
|
4638
4888
|
};
|
|
4639
4889
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -4665,6 +4915,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4665
4915
|
serialWidth?: number;
|
|
4666
4916
|
serialHeight?: number;
|
|
4667
4917
|
preview?: string;
|
|
4918
|
+
personalizedPreviewSrc?: string | null;
|
|
4668
4919
|
data?: {
|
|
4669
4920
|
[k: string]: unknown;
|
|
4670
4921
|
};
|
|
@@ -4691,6 +4942,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4691
4942
|
watermark: boolean;
|
|
4692
4943
|
resultType: "blob";
|
|
4693
4944
|
externalCanvas: HTMLCanvasElement | null;
|
|
4945
|
+
svgLoadWaitDelay?: number;
|
|
4694
4946
|
}): Promise<Blob>;
|
|
4695
4947
|
(options: {
|
|
4696
4948
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -4705,6 +4957,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4705
4957
|
watermark: boolean;
|
|
4706
4958
|
resultType: "canvas";
|
|
4707
4959
|
externalCanvas: HTMLCanvasElement | null;
|
|
4960
|
+
svgLoadWaitDelay?: number;
|
|
4708
4961
|
}): Promise<HTMLCanvasElement>;
|
|
4709
4962
|
};
|
|
4710
4963
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -4721,6 +4974,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4721
4974
|
serialWidth?: number;
|
|
4722
4975
|
serialHeight?: number;
|
|
4723
4976
|
preview?: string;
|
|
4977
|
+
personalizedPreviewSrc?: string | null;
|
|
4724
4978
|
data?: {
|
|
4725
4979
|
[k: string]: unknown;
|
|
4726
4980
|
};
|
|
@@ -4747,6 +5001,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4747
5001
|
watermark: boolean;
|
|
4748
5002
|
resultType: "blob";
|
|
4749
5003
|
externalCanvas: HTMLCanvasElement | null;
|
|
5004
|
+
svgLoadWaitDelay?: number;
|
|
4750
5005
|
}): Promise<Blob>;
|
|
4751
5006
|
(options: {
|
|
4752
5007
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -4761,6 +5016,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4761
5016
|
watermark: boolean;
|
|
4762
5017
|
resultType: "canvas";
|
|
4763
5018
|
externalCanvas: HTMLCanvasElement | null;
|
|
5019
|
+
svgLoadWaitDelay?: number;
|
|
4764
5020
|
}): Promise<HTMLCanvasElement>;
|
|
4765
5021
|
};
|
|
4766
5022
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -4792,6 +5048,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4792
5048
|
serialWidth?: number;
|
|
4793
5049
|
serialHeight?: number;
|
|
4794
5050
|
preview?: string;
|
|
5051
|
+
personalizedPreviewSrc?: string | null;
|
|
4795
5052
|
data?: {
|
|
4796
5053
|
[k: string]: unknown;
|
|
4797
5054
|
};
|
|
@@ -4818,6 +5075,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4818
5075
|
watermark: boolean;
|
|
4819
5076
|
resultType: "blob";
|
|
4820
5077
|
externalCanvas: HTMLCanvasElement | null;
|
|
5078
|
+
svgLoadWaitDelay?: number;
|
|
4821
5079
|
}): Promise<Blob>;
|
|
4822
5080
|
(options: {
|
|
4823
5081
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -4832,6 +5090,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4832
5090
|
watermark: boolean;
|
|
4833
5091
|
resultType: "canvas";
|
|
4834
5092
|
externalCanvas: HTMLCanvasElement | null;
|
|
5093
|
+
svgLoadWaitDelay?: number;
|
|
4835
5094
|
}): Promise<HTMLCanvasElement>;
|
|
4836
5095
|
};
|
|
4837
5096
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -5225,7 +5484,31 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
5225
5484
|
};
|
|
5226
5485
|
}) | undefined>;
|
|
5227
5486
|
isMultiFrame: import("vue").ComputedRef<boolean>;
|
|
5228
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5487
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5488
|
+
"activate-field": (args_0: Template.Fields.BluepicField) => any;
|
|
5489
|
+
"focus-field": (args_0: Template.Fields.BluepicField) => any;
|
|
5490
|
+
"hover-field": (args_0: Template.Fields.BluepicField | undefined) => any;
|
|
5491
|
+
"select-start": (args_0: {
|
|
5492
|
+
x: number;
|
|
5493
|
+
y: number;
|
|
5494
|
+
}) => any;
|
|
5495
|
+
"select-move": (args_0: {
|
|
5496
|
+
x: number;
|
|
5497
|
+
y: number;
|
|
5498
|
+
}) => any;
|
|
5499
|
+
"select-end": () => any;
|
|
5500
|
+
"handle-grab": (args_0: {
|
|
5501
|
+
handle: import("../util/fieldHints").SelectionHandle;
|
|
5502
|
+
point: {
|
|
5503
|
+
x: number;
|
|
5504
|
+
y: number;
|
|
5505
|
+
};
|
|
5506
|
+
}) => any;
|
|
5507
|
+
"select-word": (args_0: {
|
|
5508
|
+
x: number;
|
|
5509
|
+
y: number;
|
|
5510
|
+
}) => any;
|
|
5511
|
+
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
5229
5512
|
P: {};
|
|
5230
5513
|
B: {};
|
|
5231
5514
|
D: {};
|
|
@@ -5240,6 +5523,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
5240
5523
|
serialWidth?: number;
|
|
5241
5524
|
serialHeight?: number;
|
|
5242
5525
|
preview?: string;
|
|
5526
|
+
personalizedPreviewSrc?: string | null;
|
|
5243
5527
|
offset: {
|
|
5244
5528
|
top: number;
|
|
5245
5529
|
right: number;
|
|
@@ -5249,7 +5533,35 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
5249
5533
|
zoomAndPan: boolean;
|
|
5250
5534
|
watermark: boolean;
|
|
5251
5535
|
accessibilityDescription?: string;
|
|
5252
|
-
|
|
5536
|
+
fieldHitboxes?: import("../util/fieldHints").FieldHitbox[];
|
|
5537
|
+
hintsRevealed?: boolean;
|
|
5538
|
+
textState?: import("../util/fieldHints").CanvasTextState;
|
|
5539
|
+
editingElementId?: string;
|
|
5540
|
+
}> & Readonly<{
|
|
5541
|
+
"onActivate-field"?: ((args_0: Template.Fields.BluepicField) => any) | undefined;
|
|
5542
|
+
"onFocus-field"?: ((args_0: Template.Fields.BluepicField) => any) | undefined;
|
|
5543
|
+
"onHover-field"?: ((args_0: Template.Fields.BluepicField | undefined) => any) | undefined;
|
|
5544
|
+
"onSelect-start"?: ((args_0: {
|
|
5545
|
+
x: number;
|
|
5546
|
+
y: number;
|
|
5547
|
+
}) => any) | undefined;
|
|
5548
|
+
"onSelect-move"?: ((args_0: {
|
|
5549
|
+
x: number;
|
|
5550
|
+
y: number;
|
|
5551
|
+
}) => any) | undefined;
|
|
5552
|
+
"onSelect-end"?: (() => any) | undefined;
|
|
5553
|
+
"onHandle-grab"?: ((args_0: {
|
|
5554
|
+
handle: import("../util/fieldHints").SelectionHandle;
|
|
5555
|
+
point: {
|
|
5556
|
+
x: number;
|
|
5557
|
+
y: number;
|
|
5558
|
+
};
|
|
5559
|
+
}) => any) | undefined;
|
|
5560
|
+
"onSelect-word"?: ((args_0: {
|
|
5561
|
+
x: number;
|
|
5562
|
+
y: number;
|
|
5563
|
+
}) => any) | undefined;
|
|
5564
|
+
}>, {
|
|
5253
5565
|
currentlyFocusedFrame: import("vue").ComputedRef<{
|
|
5254
5566
|
x: number;
|
|
5255
5567
|
y: number;
|
|
@@ -5268,6 +5580,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
5268
5580
|
serialWidth?: number;
|
|
5269
5581
|
serialHeight?: number;
|
|
5270
5582
|
preview?: string;
|
|
5583
|
+
personalizedPreviewSrc?: string | null;
|
|
5271
5584
|
data?: {
|
|
5272
5585
|
[k: string]: unknown;
|
|
5273
5586
|
};
|
|
@@ -5294,6 +5607,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
5294
5607
|
watermark: boolean;
|
|
5295
5608
|
resultType: "blob";
|
|
5296
5609
|
externalCanvas: HTMLCanvasElement | null;
|
|
5610
|
+
svgLoadWaitDelay?: number;
|
|
5297
5611
|
}): Promise<Blob>;
|
|
5298
5612
|
(options: {
|
|
5299
5613
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -5308,6 +5622,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
5308
5622
|
watermark: boolean;
|
|
5309
5623
|
resultType: "canvas";
|
|
5310
5624
|
externalCanvas: HTMLCanvasElement | null;
|
|
5625
|
+
svgLoadWaitDelay?: number;
|
|
5311
5626
|
}): Promise<HTMLCanvasElement>;
|
|
5312
5627
|
};
|
|
5313
5628
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -5339,6 +5654,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
5339
5654
|
serialWidth?: number;
|
|
5340
5655
|
serialHeight?: number;
|
|
5341
5656
|
preview?: string;
|
|
5657
|
+
personalizedPreviewSrc?: string | null;
|
|
5342
5658
|
data?: {
|
|
5343
5659
|
[k: string]: unknown;
|
|
5344
5660
|
};
|
|
@@ -5365,6 +5681,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
5365
5681
|
watermark: boolean;
|
|
5366
5682
|
resultType: "blob";
|
|
5367
5683
|
externalCanvas: HTMLCanvasElement | null;
|
|
5684
|
+
svgLoadWaitDelay?: number;
|
|
5368
5685
|
}): Promise<Blob>;
|
|
5369
5686
|
(options: {
|
|
5370
5687
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -5379,6 +5696,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
5379
5696
|
watermark: boolean;
|
|
5380
5697
|
resultType: "canvas";
|
|
5381
5698
|
externalCanvas: HTMLCanvasElement | null;
|
|
5699
|
+
svgLoadWaitDelay?: number;
|
|
5382
5700
|
}): Promise<HTMLCanvasElement>;
|
|
5383
5701
|
};
|
|
5384
5702
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -5395,6 +5713,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
5395
5713
|
serialWidth?: number;
|
|
5396
5714
|
serialHeight?: number;
|
|
5397
5715
|
preview?: string;
|
|
5716
|
+
personalizedPreviewSrc?: string | null;
|
|
5398
5717
|
data?: {
|
|
5399
5718
|
[k: string]: unknown;
|
|
5400
5719
|
};
|
|
@@ -5421,6 +5740,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
5421
5740
|
watermark: boolean;
|
|
5422
5741
|
resultType: "blob";
|
|
5423
5742
|
externalCanvas: HTMLCanvasElement | null;
|
|
5743
|
+
svgLoadWaitDelay?: number;
|
|
5424
5744
|
}): Promise<Blob>;
|
|
5425
5745
|
(options: {
|
|
5426
5746
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -5435,6 +5755,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
5435
5755
|
watermark: boolean;
|
|
5436
5756
|
resultType: "canvas";
|
|
5437
5757
|
externalCanvas: HTMLCanvasElement | null;
|
|
5758
|
+
svgLoadWaitDelay?: number;
|
|
5438
5759
|
}): Promise<HTMLCanvasElement>;
|
|
5439
5760
|
};
|
|
5440
5761
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -5466,6 +5787,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
5466
5787
|
serialWidth?: number;
|
|
5467
5788
|
serialHeight?: number;
|
|
5468
5789
|
preview?: string;
|
|
5790
|
+
personalizedPreviewSrc?: string | null;
|
|
5469
5791
|
data?: {
|
|
5470
5792
|
[k: string]: unknown;
|
|
5471
5793
|
};
|
|
@@ -5492,6 +5814,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
5492
5814
|
watermark: boolean;
|
|
5493
5815
|
resultType: "blob";
|
|
5494
5816
|
externalCanvas: HTMLCanvasElement | null;
|
|
5817
|
+
svgLoadWaitDelay?: number;
|
|
5495
5818
|
}): Promise<Blob>;
|
|
5496
5819
|
(options: {
|
|
5497
5820
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -5506,6 +5829,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
5506
5829
|
watermark: boolean;
|
|
5507
5830
|
resultType: "canvas";
|
|
5508
5831
|
externalCanvas: HTMLCanvasElement | null;
|
|
5832
|
+
svgLoadWaitDelay?: number;
|
|
5509
5833
|
}): Promise<HTMLCanvasElement>;
|
|
5510
5834
|
};
|
|
5511
5835
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -5907,6 +6231,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
5907
6231
|
serialWidth?: number;
|
|
5908
6232
|
serialHeight?: number;
|
|
5909
6233
|
preview?: string;
|
|
6234
|
+
personalizedPreviewSrc?: string | null;
|
|
5910
6235
|
offset: {
|
|
5911
6236
|
top: number;
|
|
5912
6237
|
right: number;
|
|
@@ -5916,7 +6241,35 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
5916
6241
|
zoomAndPan: boolean;
|
|
5917
6242
|
watermark: boolean;
|
|
5918
6243
|
accessibilityDescription?: string;
|
|
5919
|
-
|
|
6244
|
+
fieldHitboxes?: import("../util/fieldHints").FieldHitbox[];
|
|
6245
|
+
hintsRevealed?: boolean;
|
|
6246
|
+
textState?: import("../util/fieldHints").CanvasTextState;
|
|
6247
|
+
editingElementId?: string;
|
|
6248
|
+
}> & Readonly<{
|
|
6249
|
+
"onActivate-field"?: ((args_0: Template.Fields.BluepicField) => any) | undefined;
|
|
6250
|
+
"onFocus-field"?: ((args_0: Template.Fields.BluepicField) => any) | undefined;
|
|
6251
|
+
"onHover-field"?: ((args_0: Template.Fields.BluepicField | undefined) => any) | undefined;
|
|
6252
|
+
"onSelect-start"?: ((args_0: {
|
|
6253
|
+
x: number;
|
|
6254
|
+
y: number;
|
|
6255
|
+
}) => any) | undefined;
|
|
6256
|
+
"onSelect-move"?: ((args_0: {
|
|
6257
|
+
x: number;
|
|
6258
|
+
y: number;
|
|
6259
|
+
}) => any) | undefined;
|
|
6260
|
+
"onSelect-end"?: (() => any) | undefined;
|
|
6261
|
+
"onHandle-grab"?: ((args_0: {
|
|
6262
|
+
handle: import("../util/fieldHints").SelectionHandle;
|
|
6263
|
+
point: {
|
|
6264
|
+
x: number;
|
|
6265
|
+
y: number;
|
|
6266
|
+
};
|
|
6267
|
+
}) => any) | undefined;
|
|
6268
|
+
"onSelect-word"?: ((args_0: {
|
|
6269
|
+
x: number;
|
|
6270
|
+
y: number;
|
|
6271
|
+
}) => any) | undefined;
|
|
6272
|
+
}>, {
|
|
5920
6273
|
currentlyFocusedFrame: import("vue").ComputedRef<{
|
|
5921
6274
|
x: number;
|
|
5922
6275
|
y: number;
|
|
@@ -5935,6 +6288,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
5935
6288
|
serialWidth?: number;
|
|
5936
6289
|
serialHeight?: number;
|
|
5937
6290
|
preview?: string;
|
|
6291
|
+
personalizedPreviewSrc?: string | null;
|
|
5938
6292
|
data?: {
|
|
5939
6293
|
[k: string]: unknown;
|
|
5940
6294
|
};
|
|
@@ -5961,6 +6315,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
5961
6315
|
watermark: boolean;
|
|
5962
6316
|
resultType: "blob";
|
|
5963
6317
|
externalCanvas: HTMLCanvasElement | null;
|
|
6318
|
+
svgLoadWaitDelay?: number;
|
|
5964
6319
|
}): Promise<Blob>;
|
|
5965
6320
|
(options: {
|
|
5966
6321
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -5975,6 +6330,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
5975
6330
|
watermark: boolean;
|
|
5976
6331
|
resultType: "canvas";
|
|
5977
6332
|
externalCanvas: HTMLCanvasElement | null;
|
|
6333
|
+
svgLoadWaitDelay?: number;
|
|
5978
6334
|
}): Promise<HTMLCanvasElement>;
|
|
5979
6335
|
};
|
|
5980
6336
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -6006,6 +6362,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
6006
6362
|
serialWidth?: number;
|
|
6007
6363
|
serialHeight?: number;
|
|
6008
6364
|
preview?: string;
|
|
6365
|
+
personalizedPreviewSrc?: string | null;
|
|
6009
6366
|
data?: {
|
|
6010
6367
|
[k: string]: unknown;
|
|
6011
6368
|
};
|
|
@@ -6032,6 +6389,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
6032
6389
|
watermark: boolean;
|
|
6033
6390
|
resultType: "blob";
|
|
6034
6391
|
externalCanvas: HTMLCanvasElement | null;
|
|
6392
|
+
svgLoadWaitDelay?: number;
|
|
6035
6393
|
}): Promise<Blob>;
|
|
6036
6394
|
(options: {
|
|
6037
6395
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -6046,6 +6404,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
6046
6404
|
watermark: boolean;
|
|
6047
6405
|
resultType: "canvas";
|
|
6048
6406
|
externalCanvas: HTMLCanvasElement | null;
|
|
6407
|
+
svgLoadWaitDelay?: number;
|
|
6049
6408
|
}): Promise<HTMLCanvasElement>;
|
|
6050
6409
|
};
|
|
6051
6410
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -6062,6 +6421,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
6062
6421
|
serialWidth?: number;
|
|
6063
6422
|
serialHeight?: number;
|
|
6064
6423
|
preview?: string;
|
|
6424
|
+
personalizedPreviewSrc?: string | null;
|
|
6065
6425
|
data?: {
|
|
6066
6426
|
[k: string]: unknown;
|
|
6067
6427
|
};
|
|
@@ -6088,6 +6448,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
6088
6448
|
watermark: boolean;
|
|
6089
6449
|
resultType: "blob";
|
|
6090
6450
|
externalCanvas: HTMLCanvasElement | null;
|
|
6451
|
+
svgLoadWaitDelay?: number;
|
|
6091
6452
|
}): Promise<Blob>;
|
|
6092
6453
|
(options: {
|
|
6093
6454
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -6102,6 +6463,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
6102
6463
|
watermark: boolean;
|
|
6103
6464
|
resultType: "canvas";
|
|
6104
6465
|
externalCanvas: HTMLCanvasElement | null;
|
|
6466
|
+
svgLoadWaitDelay?: number;
|
|
6105
6467
|
}): Promise<HTMLCanvasElement>;
|
|
6106
6468
|
};
|
|
6107
6469
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -6133,6 +6495,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
6133
6495
|
serialWidth?: number;
|
|
6134
6496
|
serialHeight?: number;
|
|
6135
6497
|
preview?: string;
|
|
6498
|
+
personalizedPreviewSrc?: string | null;
|
|
6136
6499
|
data?: {
|
|
6137
6500
|
[k: string]: unknown;
|
|
6138
6501
|
};
|
|
@@ -6159,6 +6522,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
6159
6522
|
watermark: boolean;
|
|
6160
6523
|
resultType: "blob";
|
|
6161
6524
|
externalCanvas: HTMLCanvasElement | null;
|
|
6525
|
+
svgLoadWaitDelay?: number;
|
|
6162
6526
|
}): Promise<Blob>;
|
|
6163
6527
|
(options: {
|
|
6164
6528
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -6173,6 +6537,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
6173
6537
|
watermark: boolean;
|
|
6174
6538
|
resultType: "canvas";
|
|
6175
6539
|
externalCanvas: HTMLCanvasElement | null;
|
|
6540
|
+
svgLoadWaitDelay?: number;
|
|
6176
6541
|
}): Promise<HTMLCanvasElement>;
|
|
6177
6542
|
};
|
|
6178
6543
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -6566,7 +6931,31 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
6566
6931
|
};
|
|
6567
6932
|
}) | undefined>;
|
|
6568
6933
|
isMultiFrame: import("vue").ComputedRef<boolean>;
|
|
6569
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6934
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6935
|
+
"activate-field": (args_0: Template.Fields.BluepicField) => any;
|
|
6936
|
+
"focus-field": (args_0: Template.Fields.BluepicField) => any;
|
|
6937
|
+
"hover-field": (args_0: Template.Fields.BluepicField | undefined) => any;
|
|
6938
|
+
"select-start": (args_0: {
|
|
6939
|
+
x: number;
|
|
6940
|
+
y: number;
|
|
6941
|
+
}) => any;
|
|
6942
|
+
"select-move": (args_0: {
|
|
6943
|
+
x: number;
|
|
6944
|
+
y: number;
|
|
6945
|
+
}) => any;
|
|
6946
|
+
"select-end": () => any;
|
|
6947
|
+
"handle-grab": (args_0: {
|
|
6948
|
+
handle: import("../util/fieldHints").SelectionHandle;
|
|
6949
|
+
point: {
|
|
6950
|
+
x: number;
|
|
6951
|
+
y: number;
|
|
6952
|
+
};
|
|
6953
|
+
}) => any;
|
|
6954
|
+
"select-word": (args_0: {
|
|
6955
|
+
x: number;
|
|
6956
|
+
y: number;
|
|
6957
|
+
}) => any;
|
|
6958
|
+
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
6570
6959
|
P: {};
|
|
6571
6960
|
B: {};
|
|
6572
6961
|
D: {};
|
|
@@ -6581,6 +6970,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
6581
6970
|
serialWidth?: number;
|
|
6582
6971
|
serialHeight?: number;
|
|
6583
6972
|
preview?: string;
|
|
6973
|
+
personalizedPreviewSrc?: string | null;
|
|
6584
6974
|
offset: {
|
|
6585
6975
|
top: number;
|
|
6586
6976
|
right: number;
|
|
@@ -6590,7 +6980,35 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
6590
6980
|
zoomAndPan: boolean;
|
|
6591
6981
|
watermark: boolean;
|
|
6592
6982
|
accessibilityDescription?: string;
|
|
6593
|
-
|
|
6983
|
+
fieldHitboxes?: import("../util/fieldHints").FieldHitbox[];
|
|
6984
|
+
hintsRevealed?: boolean;
|
|
6985
|
+
textState?: import("../util/fieldHints").CanvasTextState;
|
|
6986
|
+
editingElementId?: string;
|
|
6987
|
+
}> & Readonly<{
|
|
6988
|
+
"onActivate-field"?: ((args_0: Template.Fields.BluepicField) => any) | undefined;
|
|
6989
|
+
"onFocus-field"?: ((args_0: Template.Fields.BluepicField) => any) | undefined;
|
|
6990
|
+
"onHover-field"?: ((args_0: Template.Fields.BluepicField | undefined) => any) | undefined;
|
|
6991
|
+
"onSelect-start"?: ((args_0: {
|
|
6992
|
+
x: number;
|
|
6993
|
+
y: number;
|
|
6994
|
+
}) => any) | undefined;
|
|
6995
|
+
"onSelect-move"?: ((args_0: {
|
|
6996
|
+
x: number;
|
|
6997
|
+
y: number;
|
|
6998
|
+
}) => any) | undefined;
|
|
6999
|
+
"onSelect-end"?: (() => any) | undefined;
|
|
7000
|
+
"onHandle-grab"?: ((args_0: {
|
|
7001
|
+
handle: import("../util/fieldHints").SelectionHandle;
|
|
7002
|
+
point: {
|
|
7003
|
+
x: number;
|
|
7004
|
+
y: number;
|
|
7005
|
+
};
|
|
7006
|
+
}) => any) | undefined;
|
|
7007
|
+
"onSelect-word"?: ((args_0: {
|
|
7008
|
+
x: number;
|
|
7009
|
+
y: number;
|
|
7010
|
+
}) => any) | undefined;
|
|
7011
|
+
}>, {
|
|
6594
7012
|
currentlyFocusedFrame: import("vue").ComputedRef<{
|
|
6595
7013
|
x: number;
|
|
6596
7014
|
y: number;
|
|
@@ -6609,6 +7027,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
6609
7027
|
serialWidth?: number;
|
|
6610
7028
|
serialHeight?: number;
|
|
6611
7029
|
preview?: string;
|
|
7030
|
+
personalizedPreviewSrc?: string | null;
|
|
6612
7031
|
data?: {
|
|
6613
7032
|
[k: string]: unknown;
|
|
6614
7033
|
};
|
|
@@ -6635,6 +7054,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
6635
7054
|
watermark: boolean;
|
|
6636
7055
|
resultType: "blob";
|
|
6637
7056
|
externalCanvas: HTMLCanvasElement | null;
|
|
7057
|
+
svgLoadWaitDelay?: number;
|
|
6638
7058
|
}): Promise<Blob>;
|
|
6639
7059
|
(options: {
|
|
6640
7060
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -6649,6 +7069,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
6649
7069
|
watermark: boolean;
|
|
6650
7070
|
resultType: "canvas";
|
|
6651
7071
|
externalCanvas: HTMLCanvasElement | null;
|
|
7072
|
+
svgLoadWaitDelay?: number;
|
|
6652
7073
|
}): Promise<HTMLCanvasElement>;
|
|
6653
7074
|
};
|
|
6654
7075
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -6680,6 +7101,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
6680
7101
|
serialWidth?: number;
|
|
6681
7102
|
serialHeight?: number;
|
|
6682
7103
|
preview?: string;
|
|
7104
|
+
personalizedPreviewSrc?: string | null;
|
|
6683
7105
|
data?: {
|
|
6684
7106
|
[k: string]: unknown;
|
|
6685
7107
|
};
|
|
@@ -6706,6 +7128,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
6706
7128
|
watermark: boolean;
|
|
6707
7129
|
resultType: "blob";
|
|
6708
7130
|
externalCanvas: HTMLCanvasElement | null;
|
|
7131
|
+
svgLoadWaitDelay?: number;
|
|
6709
7132
|
}): Promise<Blob>;
|
|
6710
7133
|
(options: {
|
|
6711
7134
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -6720,6 +7143,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
6720
7143
|
watermark: boolean;
|
|
6721
7144
|
resultType: "canvas";
|
|
6722
7145
|
externalCanvas: HTMLCanvasElement | null;
|
|
7146
|
+
svgLoadWaitDelay?: number;
|
|
6723
7147
|
}): Promise<HTMLCanvasElement>;
|
|
6724
7148
|
};
|
|
6725
7149
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -6736,6 +7160,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
6736
7160
|
serialWidth?: number;
|
|
6737
7161
|
serialHeight?: number;
|
|
6738
7162
|
preview?: string;
|
|
7163
|
+
personalizedPreviewSrc?: string | null;
|
|
6739
7164
|
data?: {
|
|
6740
7165
|
[k: string]: unknown;
|
|
6741
7166
|
};
|
|
@@ -6762,6 +7187,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
6762
7187
|
watermark: boolean;
|
|
6763
7188
|
resultType: "blob";
|
|
6764
7189
|
externalCanvas: HTMLCanvasElement | null;
|
|
7190
|
+
svgLoadWaitDelay?: number;
|
|
6765
7191
|
}): Promise<Blob>;
|
|
6766
7192
|
(options: {
|
|
6767
7193
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -6776,6 +7202,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
6776
7202
|
watermark: boolean;
|
|
6777
7203
|
resultType: "canvas";
|
|
6778
7204
|
externalCanvas: HTMLCanvasElement | null;
|
|
7205
|
+
svgLoadWaitDelay?: number;
|
|
6779
7206
|
}): Promise<HTMLCanvasElement>;
|
|
6780
7207
|
};
|
|
6781
7208
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -6807,6 +7234,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
6807
7234
|
serialWidth?: number;
|
|
6808
7235
|
serialHeight?: number;
|
|
6809
7236
|
preview?: string;
|
|
7237
|
+
personalizedPreviewSrc?: string | null;
|
|
6810
7238
|
data?: {
|
|
6811
7239
|
[k: string]: unknown;
|
|
6812
7240
|
};
|
|
@@ -6833,6 +7261,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
6833
7261
|
watermark: boolean;
|
|
6834
7262
|
resultType: "blob";
|
|
6835
7263
|
externalCanvas: HTMLCanvasElement | null;
|
|
7264
|
+
svgLoadWaitDelay?: number;
|
|
6836
7265
|
}): Promise<Blob>;
|
|
6837
7266
|
(options: {
|
|
6838
7267
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -6847,6 +7276,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
6847
7276
|
watermark: boolean;
|
|
6848
7277
|
resultType: "canvas";
|
|
6849
7278
|
externalCanvas: HTMLCanvasElement | null;
|
|
7279
|
+
svgLoadWaitDelay?: number;
|
|
6850
7280
|
}): Promise<HTMLCanvasElement>;
|
|
6851
7281
|
};
|
|
6852
7282
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -7246,8 +7676,11 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
7246
7676
|
[k: string]: unknown;
|
|
7247
7677
|
}) => any;
|
|
7248
7678
|
back: () => any;
|
|
7679
|
+
"update:batchRows": (args_0: import("../util/batch/useBatchRows").BatchRow[]) => any;
|
|
7249
7680
|
}, string, {
|
|
7250
7681
|
zoomAndPan: boolean;
|
|
7682
|
+
editMode: "single" | "batch" | "all";
|
|
7683
|
+
videoBatchMaxSize: number;
|
|
7251
7684
|
preCacheLocalRendering: boolean;
|
|
7252
7685
|
liveViewOffsetDesktop: {
|
|
7253
7686
|
top: number;
|
|
@@ -7283,6 +7716,8 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
7283
7716
|
$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;
|
|
7284
7717
|
} & Readonly<{
|
|
7285
7718
|
zoomAndPan: boolean;
|
|
7719
|
+
editMode: "single" | "batch" | "all";
|
|
7720
|
+
videoBatchMaxSize: number;
|
|
7286
7721
|
preCacheLocalRendering: boolean;
|
|
7287
7722
|
liveViewOffsetDesktop: {
|
|
7288
7723
|
top: number;
|
|
@@ -7302,6 +7737,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
7302
7737
|
assetProxy?: import("@bluepic/raster/svg").AssetProxyConfig;
|
|
7303
7738
|
serial?: Template.Serial;
|
|
7304
7739
|
preview?: string;
|
|
7740
|
+
personalizedPreviewSrc?: string | null;
|
|
7305
7741
|
serialWidth?: number;
|
|
7306
7742
|
serialHeight?: number;
|
|
7307
7743
|
layout?: "mobile" | "desktop";
|
|
@@ -7309,42 +7745,12 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
7309
7745
|
bridge: FieldsBridge;
|
|
7310
7746
|
showBackBtn: boolean;
|
|
7311
7747
|
branding: boolean;
|
|
7312
|
-
exportOptions: z.infer<
|
|
7313
|
-
|
|
7314
|
-
layout: z.ZodEnum<{
|
|
7315
|
-
stack: "stack";
|
|
7316
|
-
gallery: "gallery";
|
|
7317
|
-
"selection:horizontal": "selection:horizontal";
|
|
7318
|
-
"selection:vertical": "selection:vertical";
|
|
7319
|
-
}>;
|
|
7320
|
-
logo: z.ZodOptional<z.ZodString>;
|
|
7321
|
-
title: z.ZodOptional<z.ZodString>;
|
|
7322
|
-
allowPanAndZoom: z.ZodBoolean;
|
|
7323
|
-
customStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7324
|
-
sortByCategories: z.ZodBoolean;
|
|
7325
|
-
captions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7326
|
-
categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7327
|
-
export: z.ZodObject<{
|
|
7328
|
-
linkedInOAuth: z.ZodBoolean;
|
|
7329
|
-
trackLinks: z.ZodOptional<z.ZodBoolean>;
|
|
7330
|
-
socialConnections: z.ZodObject<{
|
|
7331
|
-
instagram: z.ZodOptional<z.ZodBoolean>;
|
|
7332
|
-
facebook: z.ZodOptional<z.ZodBoolean>;
|
|
7333
|
-
linkedin: z.ZodOptional<z.ZodBoolean>;
|
|
7334
|
-
mail: z.ZodOptional<z.ZodBoolean>;
|
|
7335
|
-
whatsapp: z.ZodOptional<z.ZodBoolean>;
|
|
7336
|
-
x: z.ZodOptional<z.ZodBoolean>;
|
|
7337
|
-
}, z.core.$strip>;
|
|
7338
|
-
actionalConnections: z.ZodObject<{
|
|
7339
|
-
download: z.ZodOptional<z.ZodBoolean>;
|
|
7340
|
-
webhook: z.ZodOptional<z.ZodString>;
|
|
7341
|
-
redirect: z.ZodOptional<z.ZodString>;
|
|
7342
|
-
}, z.core.$strip>;
|
|
7343
|
-
}, z.core.$strip>;
|
|
7344
|
-
}, z.core.$strip>>;
|
|
7748
|
+
exportOptions: z.infer<typeof Studio.campaignConfigSchema>["export"];
|
|
7749
|
+
hints?: z.infer<typeof Studio.campaignConfigSchema>["hints"];
|
|
7345
7750
|
apiBaseUrl: string;
|
|
7346
7751
|
env: "prod" | "dev";
|
|
7347
7752
|
templateId: string;
|
|
7753
|
+
canvasId?: string;
|
|
7348
7754
|
campaignId?: number;
|
|
7349
7755
|
name: string;
|
|
7350
7756
|
captions?: {
|
|
@@ -7362,8 +7768,8 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
7362
7768
|
nativeGifEmbedding?: boolean;
|
|
7363
7769
|
remoteVideoRenderBaseUrl: string;
|
|
7364
7770
|
enforceServerSideRendering: boolean;
|
|
7365
|
-
enforceFallbackService: boolean;
|
|
7366
7771
|
enforceVideoServerSideRendering: boolean;
|
|
7772
|
+
svgLoadWaitDelay?: number;
|
|
7367
7773
|
liveViewOffsetDesktop?: {
|
|
7368
7774
|
top: number;
|
|
7369
7775
|
right: number;
|
|
@@ -7377,12 +7783,19 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
7377
7783
|
left: number;
|
|
7378
7784
|
};
|
|
7379
7785
|
analytics?: import("../main").ExportAnalyticsSink;
|
|
7786
|
+
editMode?: "single" | "batch" | "all";
|
|
7787
|
+
videoBatchMaxSize?: number;
|
|
7788
|
+
orgSlug?: string;
|
|
7789
|
+
templateAlias?: string | null;
|
|
7790
|
+
urlRenderBaseUrl?: string;
|
|
7791
|
+
batchRows?: import("../util/batch/useBatchRows").BatchRow[];
|
|
7380
7792
|
}> & Readonly<{
|
|
7381
7793
|
"onUpdate:data"?: ((args_0: {
|
|
7382
7794
|
[k: string]: unknown;
|
|
7383
7795
|
}) => any) | undefined;
|
|
7384
7796
|
onBack?: (() => any) | undefined;
|
|
7385
|
-
|
|
7797
|
+
"onUpdate:batchRows"?: ((args_0: import("../util/batch/useBatchRows").BatchRow[]) => any) | undefined;
|
|
7798
|
+
}>, "templateViewRef" | ("zoomAndPan" | "editMode" | "videoBatchMaxSize" | "preCacheLocalRendering" | "liveViewOffsetDesktop" | "liveViewOffsetMobile")> & {
|
|
7386
7799
|
templateViewRef: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
7387
7800
|
bxCoreVersion?: string;
|
|
7388
7801
|
cloudflarePagesHostname?: string;
|
|
@@ -7391,6 +7804,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
7391
7804
|
serialWidth?: number;
|
|
7392
7805
|
serialHeight?: number;
|
|
7393
7806
|
preview?: string;
|
|
7807
|
+
personalizedPreviewSrc?: string | null;
|
|
7394
7808
|
offset: {
|
|
7395
7809
|
top: number;
|
|
7396
7810
|
right: number;
|
|
@@ -7400,7 +7814,35 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
7400
7814
|
zoomAndPan: boolean;
|
|
7401
7815
|
watermark: boolean;
|
|
7402
7816
|
accessibilityDescription?: string;
|
|
7403
|
-
|
|
7817
|
+
fieldHitboxes?: import("../util/fieldHints").FieldHitbox[];
|
|
7818
|
+
hintsRevealed?: boolean;
|
|
7819
|
+
textState?: import("../util/fieldHints").CanvasTextState;
|
|
7820
|
+
editingElementId?: string;
|
|
7821
|
+
}> & Readonly<{
|
|
7822
|
+
"onActivate-field"?: ((args_0: Template.Fields.BluepicField) => any) | undefined;
|
|
7823
|
+
"onFocus-field"?: ((args_0: Template.Fields.BluepicField) => any) | undefined;
|
|
7824
|
+
"onHover-field"?: ((args_0: Template.Fields.BluepicField | undefined) => any) | undefined;
|
|
7825
|
+
"onSelect-start"?: ((args_0: {
|
|
7826
|
+
x: number;
|
|
7827
|
+
y: number;
|
|
7828
|
+
}) => any) | undefined;
|
|
7829
|
+
"onSelect-move"?: ((args_0: {
|
|
7830
|
+
x: number;
|
|
7831
|
+
y: number;
|
|
7832
|
+
}) => any) | undefined;
|
|
7833
|
+
"onSelect-end"?: (() => any) | undefined;
|
|
7834
|
+
"onHandle-grab"?: ((args_0: {
|
|
7835
|
+
handle: import("../util/fieldHints").SelectionHandle;
|
|
7836
|
+
point: {
|
|
7837
|
+
x: number;
|
|
7838
|
+
y: number;
|
|
7839
|
+
};
|
|
7840
|
+
}) => any) | undefined;
|
|
7841
|
+
"onSelect-word"?: ((args_0: {
|
|
7842
|
+
x: number;
|
|
7843
|
+
y: number;
|
|
7844
|
+
}) => any) | undefined;
|
|
7845
|
+
}>, {
|
|
7404
7846
|
currentlyFocusedFrame: import("vue").ComputedRef<{
|
|
7405
7847
|
x: number;
|
|
7406
7848
|
y: number;
|
|
@@ -7419,6 +7861,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
7419
7861
|
serialWidth?: number;
|
|
7420
7862
|
serialHeight?: number;
|
|
7421
7863
|
preview?: string;
|
|
7864
|
+
personalizedPreviewSrc?: string | null;
|
|
7422
7865
|
data?: {
|
|
7423
7866
|
[k: string]: unknown;
|
|
7424
7867
|
};
|
|
@@ -7445,6 +7888,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
7445
7888
|
watermark: boolean;
|
|
7446
7889
|
resultType: "blob";
|
|
7447
7890
|
externalCanvas: HTMLCanvasElement | null;
|
|
7891
|
+
svgLoadWaitDelay?: number;
|
|
7448
7892
|
}): Promise<Blob>;
|
|
7449
7893
|
(options: {
|
|
7450
7894
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -7459,6 +7903,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
7459
7903
|
watermark: boolean;
|
|
7460
7904
|
resultType: "canvas";
|
|
7461
7905
|
externalCanvas: HTMLCanvasElement | null;
|
|
7906
|
+
svgLoadWaitDelay?: number;
|
|
7462
7907
|
}): Promise<HTMLCanvasElement>;
|
|
7463
7908
|
};
|
|
7464
7909
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -7490,6 +7935,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
7490
7935
|
serialWidth?: number;
|
|
7491
7936
|
serialHeight?: number;
|
|
7492
7937
|
preview?: string;
|
|
7938
|
+
personalizedPreviewSrc?: string | null;
|
|
7493
7939
|
data?: {
|
|
7494
7940
|
[k: string]: unknown;
|
|
7495
7941
|
};
|
|
@@ -7516,6 +7962,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
7516
7962
|
watermark: boolean;
|
|
7517
7963
|
resultType: "blob";
|
|
7518
7964
|
externalCanvas: HTMLCanvasElement | null;
|
|
7965
|
+
svgLoadWaitDelay?: number;
|
|
7519
7966
|
}): Promise<Blob>;
|
|
7520
7967
|
(options: {
|
|
7521
7968
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -7530,6 +7977,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
7530
7977
|
watermark: boolean;
|
|
7531
7978
|
resultType: "canvas";
|
|
7532
7979
|
externalCanvas: HTMLCanvasElement | null;
|
|
7980
|
+
svgLoadWaitDelay?: number;
|
|
7533
7981
|
}): Promise<HTMLCanvasElement>;
|
|
7534
7982
|
};
|
|
7535
7983
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -7546,6 +7994,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
7546
7994
|
serialWidth?: number;
|
|
7547
7995
|
serialHeight?: number;
|
|
7548
7996
|
preview?: string;
|
|
7997
|
+
personalizedPreviewSrc?: string | null;
|
|
7549
7998
|
data?: {
|
|
7550
7999
|
[k: string]: unknown;
|
|
7551
8000
|
};
|
|
@@ -7572,6 +8021,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
7572
8021
|
watermark: boolean;
|
|
7573
8022
|
resultType: "blob";
|
|
7574
8023
|
externalCanvas: HTMLCanvasElement | null;
|
|
8024
|
+
svgLoadWaitDelay?: number;
|
|
7575
8025
|
}): Promise<Blob>;
|
|
7576
8026
|
(options: {
|
|
7577
8027
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -7586,6 +8036,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
7586
8036
|
watermark: boolean;
|
|
7587
8037
|
resultType: "canvas";
|
|
7588
8038
|
externalCanvas: HTMLCanvasElement | null;
|
|
8039
|
+
svgLoadWaitDelay?: number;
|
|
7589
8040
|
}): Promise<HTMLCanvasElement>;
|
|
7590
8041
|
};
|
|
7591
8042
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -7617,6 +8068,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
7617
8068
|
serialWidth?: number;
|
|
7618
8069
|
serialHeight?: number;
|
|
7619
8070
|
preview?: string;
|
|
8071
|
+
personalizedPreviewSrc?: string | null;
|
|
7620
8072
|
data?: {
|
|
7621
8073
|
[k: string]: unknown;
|
|
7622
8074
|
};
|
|
@@ -7643,6 +8095,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
7643
8095
|
watermark: boolean;
|
|
7644
8096
|
resultType: "blob";
|
|
7645
8097
|
externalCanvas: HTMLCanvasElement | null;
|
|
8098
|
+
svgLoadWaitDelay?: number;
|
|
7646
8099
|
}): Promise<Blob>;
|
|
7647
8100
|
(options: {
|
|
7648
8101
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -7657,6 +8110,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
7657
8110
|
watermark: boolean;
|
|
7658
8111
|
resultType: "canvas";
|
|
7659
8112
|
externalCanvas: HTMLCanvasElement | null;
|
|
8113
|
+
svgLoadWaitDelay?: number;
|
|
7660
8114
|
}): Promise<HTMLCanvasElement>;
|
|
7661
8115
|
};
|
|
7662
8116
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -8050,7 +8504,31 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
8050
8504
|
};
|
|
8051
8505
|
}) | undefined>;
|
|
8052
8506
|
isMultiFrame: import("vue").ComputedRef<boolean>;
|
|
8053
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8507
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8508
|
+
"activate-field": (args_0: Template.Fields.BluepicField) => any;
|
|
8509
|
+
"focus-field": (args_0: Template.Fields.BluepicField) => any;
|
|
8510
|
+
"hover-field": (args_0: Template.Fields.BluepicField | undefined) => any;
|
|
8511
|
+
"select-start": (args_0: {
|
|
8512
|
+
x: number;
|
|
8513
|
+
y: number;
|
|
8514
|
+
}) => any;
|
|
8515
|
+
"select-move": (args_0: {
|
|
8516
|
+
x: number;
|
|
8517
|
+
y: number;
|
|
8518
|
+
}) => any;
|
|
8519
|
+
"select-end": () => any;
|
|
8520
|
+
"handle-grab": (args_0: {
|
|
8521
|
+
handle: import("../util/fieldHints").SelectionHandle;
|
|
8522
|
+
point: {
|
|
8523
|
+
x: number;
|
|
8524
|
+
y: number;
|
|
8525
|
+
};
|
|
8526
|
+
}) => any;
|
|
8527
|
+
"select-word": (args_0: {
|
|
8528
|
+
x: number;
|
|
8529
|
+
y: number;
|
|
8530
|
+
}) => any;
|
|
8531
|
+
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
8054
8532
|
P: {};
|
|
8055
8533
|
B: {};
|
|
8056
8534
|
D: {};
|
|
@@ -8065,6 +8543,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
8065
8543
|
serialWidth?: number;
|
|
8066
8544
|
serialHeight?: number;
|
|
8067
8545
|
preview?: string;
|
|
8546
|
+
personalizedPreviewSrc?: string | null;
|
|
8068
8547
|
offset: {
|
|
8069
8548
|
top: number;
|
|
8070
8549
|
right: number;
|
|
@@ -8074,7 +8553,35 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
8074
8553
|
zoomAndPan: boolean;
|
|
8075
8554
|
watermark: boolean;
|
|
8076
8555
|
accessibilityDescription?: string;
|
|
8077
|
-
|
|
8556
|
+
fieldHitboxes?: import("../util/fieldHints").FieldHitbox[];
|
|
8557
|
+
hintsRevealed?: boolean;
|
|
8558
|
+
textState?: import("../util/fieldHints").CanvasTextState;
|
|
8559
|
+
editingElementId?: string;
|
|
8560
|
+
}> & Readonly<{
|
|
8561
|
+
"onActivate-field"?: ((args_0: Template.Fields.BluepicField) => any) | undefined;
|
|
8562
|
+
"onFocus-field"?: ((args_0: Template.Fields.BluepicField) => any) | undefined;
|
|
8563
|
+
"onHover-field"?: ((args_0: Template.Fields.BluepicField | undefined) => any) | undefined;
|
|
8564
|
+
"onSelect-start"?: ((args_0: {
|
|
8565
|
+
x: number;
|
|
8566
|
+
y: number;
|
|
8567
|
+
}) => any) | undefined;
|
|
8568
|
+
"onSelect-move"?: ((args_0: {
|
|
8569
|
+
x: number;
|
|
8570
|
+
y: number;
|
|
8571
|
+
}) => any) | undefined;
|
|
8572
|
+
"onSelect-end"?: (() => any) | undefined;
|
|
8573
|
+
"onHandle-grab"?: ((args_0: {
|
|
8574
|
+
handle: import("../util/fieldHints").SelectionHandle;
|
|
8575
|
+
point: {
|
|
8576
|
+
x: number;
|
|
8577
|
+
y: number;
|
|
8578
|
+
};
|
|
8579
|
+
}) => any) | undefined;
|
|
8580
|
+
"onSelect-word"?: ((args_0: {
|
|
8581
|
+
x: number;
|
|
8582
|
+
y: number;
|
|
8583
|
+
}) => any) | undefined;
|
|
8584
|
+
}>, {
|
|
8078
8585
|
currentlyFocusedFrame: import("vue").ComputedRef<{
|
|
8079
8586
|
x: number;
|
|
8080
8587
|
y: number;
|
|
@@ -8093,6 +8600,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
8093
8600
|
serialWidth?: number;
|
|
8094
8601
|
serialHeight?: number;
|
|
8095
8602
|
preview?: string;
|
|
8603
|
+
personalizedPreviewSrc?: string | null;
|
|
8096
8604
|
data?: {
|
|
8097
8605
|
[k: string]: unknown;
|
|
8098
8606
|
};
|
|
@@ -8119,6 +8627,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
8119
8627
|
watermark: boolean;
|
|
8120
8628
|
resultType: "blob";
|
|
8121
8629
|
externalCanvas: HTMLCanvasElement | null;
|
|
8630
|
+
svgLoadWaitDelay?: number;
|
|
8122
8631
|
}): Promise<Blob>;
|
|
8123
8632
|
(options: {
|
|
8124
8633
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -8133,6 +8642,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
8133
8642
|
watermark: boolean;
|
|
8134
8643
|
resultType: "canvas";
|
|
8135
8644
|
externalCanvas: HTMLCanvasElement | null;
|
|
8645
|
+
svgLoadWaitDelay?: number;
|
|
8136
8646
|
}): Promise<HTMLCanvasElement>;
|
|
8137
8647
|
};
|
|
8138
8648
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -8164,6 +8674,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
8164
8674
|
serialWidth?: number;
|
|
8165
8675
|
serialHeight?: number;
|
|
8166
8676
|
preview?: string;
|
|
8677
|
+
personalizedPreviewSrc?: string | null;
|
|
8167
8678
|
data?: {
|
|
8168
8679
|
[k: string]: unknown;
|
|
8169
8680
|
};
|
|
@@ -8190,6 +8701,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
8190
8701
|
watermark: boolean;
|
|
8191
8702
|
resultType: "blob";
|
|
8192
8703
|
externalCanvas: HTMLCanvasElement | null;
|
|
8704
|
+
svgLoadWaitDelay?: number;
|
|
8193
8705
|
}): Promise<Blob>;
|
|
8194
8706
|
(options: {
|
|
8195
8707
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -8204,6 +8716,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
8204
8716
|
watermark: boolean;
|
|
8205
8717
|
resultType: "canvas";
|
|
8206
8718
|
externalCanvas: HTMLCanvasElement | null;
|
|
8719
|
+
svgLoadWaitDelay?: number;
|
|
8207
8720
|
}): Promise<HTMLCanvasElement>;
|
|
8208
8721
|
};
|
|
8209
8722
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -8220,6 +8733,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
8220
8733
|
serialWidth?: number;
|
|
8221
8734
|
serialHeight?: number;
|
|
8222
8735
|
preview?: string;
|
|
8736
|
+
personalizedPreviewSrc?: string | null;
|
|
8223
8737
|
data?: {
|
|
8224
8738
|
[k: string]: unknown;
|
|
8225
8739
|
};
|
|
@@ -8246,6 +8760,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
8246
8760
|
watermark: boolean;
|
|
8247
8761
|
resultType: "blob";
|
|
8248
8762
|
externalCanvas: HTMLCanvasElement | null;
|
|
8763
|
+
svgLoadWaitDelay?: number;
|
|
8249
8764
|
}): Promise<Blob>;
|
|
8250
8765
|
(options: {
|
|
8251
8766
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -8260,6 +8775,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
8260
8775
|
watermark: boolean;
|
|
8261
8776
|
resultType: "canvas";
|
|
8262
8777
|
externalCanvas: HTMLCanvasElement | null;
|
|
8778
|
+
svgLoadWaitDelay?: number;
|
|
8263
8779
|
}): Promise<HTMLCanvasElement>;
|
|
8264
8780
|
};
|
|
8265
8781
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -8291,6 +8807,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
8291
8807
|
serialWidth?: number;
|
|
8292
8808
|
serialHeight?: number;
|
|
8293
8809
|
preview?: string;
|
|
8810
|
+
personalizedPreviewSrc?: string | null;
|
|
8294
8811
|
data?: {
|
|
8295
8812
|
[k: string]: unknown;
|
|
8296
8813
|
};
|
|
@@ -8317,6 +8834,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
8317
8834
|
watermark: boolean;
|
|
8318
8835
|
resultType: "blob";
|
|
8319
8836
|
externalCanvas: HTMLCanvasElement | null;
|
|
8837
|
+
svgLoadWaitDelay?: number;
|
|
8320
8838
|
}): Promise<Blob>;
|
|
8321
8839
|
(options: {
|
|
8322
8840
|
type: "image/png" | "image/jpeg" | "image/jpge" | "image/webp";
|
|
@@ -8331,6 +8849,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
8331
8849
|
watermark: boolean;
|
|
8332
8850
|
resultType: "canvas";
|
|
8333
8851
|
externalCanvas: HTMLCanvasElement | null;
|
|
8852
|
+
svgLoadWaitDelay?: number;
|
|
8334
8853
|
}): Promise<HTMLCanvasElement>;
|
|
8335
8854
|
};
|
|
8336
8855
|
aspectRatio: import("vue").ComputedRef<number>;
|
|
@@ -8741,7 +9260,283 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
8741
9260
|
serial: Ref<Template.Serial | undefined, Template.Serial | undefined>;
|
|
8742
9261
|
preview: Ref<string | undefined, string | undefined>;
|
|
8743
9262
|
templateName: Ref<string, string>;
|
|
8744
|
-
campaign: Ref<
|
|
9263
|
+
campaign: Ref<{
|
|
9264
|
+
id: number;
|
|
9265
|
+
uid: string;
|
|
9266
|
+
userId: string;
|
|
9267
|
+
orgId: number | null;
|
|
9268
|
+
name: string;
|
|
9269
|
+
type: "template" | "email" | "batch" | "widget" | "team" | "web";
|
|
9270
|
+
active: boolean;
|
|
9271
|
+
private: boolean;
|
|
9272
|
+
password: string | null;
|
|
9273
|
+
customSlug: string | null;
|
|
9274
|
+
customDomain: string | null;
|
|
9275
|
+
exportActions: {
|
|
9276
|
+
trigger: "user-gesture" | "onupdate";
|
|
9277
|
+
label: string;
|
|
9278
|
+
download: boolean;
|
|
9279
|
+
renderFormat?: "svg" | "none" | "png" | "jpeg" | "pdf" | "gif" | "idml" | undefined;
|
|
9280
|
+
successMessage?: string | undefined;
|
|
9281
|
+
webhook?: string | undefined;
|
|
9282
|
+
redirect?: string | undefined;
|
|
9283
|
+
}[];
|
|
9284
|
+
templates: string[];
|
|
9285
|
+
config: {
|
|
9286
|
+
bluepicBranding: boolean;
|
|
9287
|
+
layout: "gallery" | "stack" | "selection:horizontal" | "selection:vertical";
|
|
9288
|
+
allowPanAndZoom: boolean;
|
|
9289
|
+
sortByCategories: boolean;
|
|
9290
|
+
export: {
|
|
9291
|
+
linkedInOAuth: boolean;
|
|
9292
|
+
socialConnections: {
|
|
9293
|
+
instagram?: boolean | undefined;
|
|
9294
|
+
facebook?: boolean | undefined;
|
|
9295
|
+
linkedin?: boolean | undefined;
|
|
9296
|
+
mail?: boolean | undefined;
|
|
9297
|
+
whatsapp?: boolean | undefined;
|
|
9298
|
+
x?: boolean | undefined;
|
|
9299
|
+
};
|
|
9300
|
+
actionalConnections: {
|
|
9301
|
+
download?: boolean | undefined;
|
|
9302
|
+
webhook?: string | undefined;
|
|
9303
|
+
redirect?: string | undefined;
|
|
9304
|
+
};
|
|
9305
|
+
trackLinks?: boolean | undefined;
|
|
9306
|
+
redactLogging?: boolean | undefined;
|
|
9307
|
+
};
|
|
9308
|
+
editMode?: "all" | "batch" | "single" | undefined;
|
|
9309
|
+
logo?: string | undefined;
|
|
9310
|
+
title?: string | undefined;
|
|
9311
|
+
hints?: {
|
|
9312
|
+
enabled: boolean;
|
|
9313
|
+
} | undefined;
|
|
9314
|
+
theme?: {
|
|
9315
|
+
version: 2;
|
|
9316
|
+
preset?: "light" | "dark" | undefined;
|
|
9317
|
+
surface?: string | undefined;
|
|
9318
|
+
primary?: string | undefined;
|
|
9319
|
+
contrast?: "normal" | "high" | undefined;
|
|
9320
|
+
radius?: "none" | "sm" | "md" | "lg" | "full" | undefined;
|
|
9321
|
+
font?: {
|
|
9322
|
+
size?: number | undefined;
|
|
9323
|
+
} | undefined;
|
|
9324
|
+
fonts?: {
|
|
9325
|
+
ui?: {
|
|
9326
|
+
name: string;
|
|
9327
|
+
src?: string | undefined;
|
|
9328
|
+
} | undefined;
|
|
9329
|
+
heading?: {
|
|
9330
|
+
name: string;
|
|
9331
|
+
src?: string | undefined;
|
|
9332
|
+
} | undefined;
|
|
9333
|
+
} | undefined;
|
|
9334
|
+
tint?: number | undefined;
|
|
9335
|
+
overrides?: Record<string, string> | undefined;
|
|
9336
|
+
customStyle?: Record<string, string> | undefined;
|
|
9337
|
+
presetId?: string | undefined;
|
|
9338
|
+
} | undefined;
|
|
9339
|
+
customStyle?: Record<string, string> | undefined;
|
|
9340
|
+
captions?: Record<string, string> | undefined;
|
|
9341
|
+
categories?: {
|
|
9342
|
+
label: string;
|
|
9343
|
+
items: string[];
|
|
9344
|
+
}[] | undefined;
|
|
9345
|
+
};
|
|
9346
|
+
landingPage: {
|
|
9347
|
+
headerTitle?: string | undefined;
|
|
9348
|
+
headerColor?: string | undefined;
|
|
9349
|
+
headerImage?: string | undefined;
|
|
9350
|
+
headerHtml?: string | undefined;
|
|
9351
|
+
backgroundColor?: string | undefined;
|
|
9352
|
+
backgroundImage?: string | undefined;
|
|
9353
|
+
bodyTitle?: string | undefined;
|
|
9354
|
+
bodySubtitle?: string | undefined;
|
|
9355
|
+
bodyHtml?: string | undefined;
|
|
9356
|
+
headerTitleStyle?: {
|
|
9357
|
+
color?: string | undefined;
|
|
9358
|
+
font?: {
|
|
9359
|
+
name: string;
|
|
9360
|
+
src?: string | undefined;
|
|
9361
|
+
} | undefined;
|
|
9362
|
+
fontWeight?: "300" | "800" | "600" | "400" | "500" | "700" | undefined;
|
|
9363
|
+
fontStyle?: "italic" | "normal" | undefined;
|
|
9364
|
+
textAlign?: "center" | "left" | "right" | undefined;
|
|
9365
|
+
} | undefined;
|
|
9366
|
+
bodyTitleStyle?: {
|
|
9367
|
+
color?: string | undefined;
|
|
9368
|
+
font?: {
|
|
9369
|
+
name: string;
|
|
9370
|
+
src?: string | undefined;
|
|
9371
|
+
} | undefined;
|
|
9372
|
+
fontWeight?: "300" | "800" | "600" | "400" | "500" | "700" | undefined;
|
|
9373
|
+
fontStyle?: "italic" | "normal" | undefined;
|
|
9374
|
+
textAlign?: "center" | "left" | "right" | undefined;
|
|
9375
|
+
} | undefined;
|
|
9376
|
+
bodySubtitleStyle?: {
|
|
9377
|
+
color?: string | undefined;
|
|
9378
|
+
font?: {
|
|
9379
|
+
name: string;
|
|
9380
|
+
src?: string | undefined;
|
|
9381
|
+
} | undefined;
|
|
9382
|
+
fontWeight?: "300" | "800" | "600" | "400" | "500" | "700" | undefined;
|
|
9383
|
+
fontStyle?: "italic" | "normal" | undefined;
|
|
9384
|
+
textAlign?: "center" | "left" | "right" | undefined;
|
|
9385
|
+
} | undefined;
|
|
9386
|
+
customPrivacy?: string | undefined;
|
|
9387
|
+
customImprint?: string | undefined;
|
|
9388
|
+
pageLayout?: "scroll" | "flex" | undefined;
|
|
9389
|
+
} | null;
|
|
9390
|
+
emailCampaign: Record<string, any> | null;
|
|
9391
|
+
thumbnail: string | null;
|
|
9392
|
+
thumbnailPending: boolean;
|
|
9393
|
+
createdAt: string;
|
|
9394
|
+
updatedAt: string;
|
|
9395
|
+
pinnedBy: string[];
|
|
9396
|
+
assets?: {
|
|
9397
|
+
assetId: string;
|
|
9398
|
+
title?: string | null | undefined;
|
|
9399
|
+
description?: string | null | undefined;
|
|
9400
|
+
}[] | undefined;
|
|
9401
|
+
} | undefined, {
|
|
9402
|
+
id: number;
|
|
9403
|
+
uid: string;
|
|
9404
|
+
userId: string;
|
|
9405
|
+
orgId: number | null;
|
|
9406
|
+
name: string;
|
|
9407
|
+
type: "template" | "email" | "batch" | "widget" | "team" | "web";
|
|
9408
|
+
active: boolean;
|
|
9409
|
+
private: boolean;
|
|
9410
|
+
password: string | null;
|
|
9411
|
+
customSlug: string | null;
|
|
9412
|
+
customDomain: string | null;
|
|
9413
|
+
exportActions: {
|
|
9414
|
+
trigger: "user-gesture" | "onupdate";
|
|
9415
|
+
label: string;
|
|
9416
|
+
download: boolean;
|
|
9417
|
+
renderFormat?: "svg" | "none" | "png" | "jpeg" | "pdf" | "gif" | "idml" | undefined;
|
|
9418
|
+
successMessage?: string | undefined;
|
|
9419
|
+
webhook?: string | undefined;
|
|
9420
|
+
redirect?: string | undefined;
|
|
9421
|
+
}[];
|
|
9422
|
+
templates: string[];
|
|
9423
|
+
config: {
|
|
9424
|
+
bluepicBranding: boolean;
|
|
9425
|
+
layout: "gallery" | "stack" | "selection:horizontal" | "selection:vertical";
|
|
9426
|
+
allowPanAndZoom: boolean;
|
|
9427
|
+
sortByCategories: boolean;
|
|
9428
|
+
export: {
|
|
9429
|
+
linkedInOAuth: boolean;
|
|
9430
|
+
socialConnections: {
|
|
9431
|
+
instagram?: boolean | undefined;
|
|
9432
|
+
facebook?: boolean | undefined;
|
|
9433
|
+
linkedin?: boolean | undefined;
|
|
9434
|
+
mail?: boolean | undefined;
|
|
9435
|
+
whatsapp?: boolean | undefined;
|
|
9436
|
+
x?: boolean | undefined;
|
|
9437
|
+
};
|
|
9438
|
+
actionalConnections: {
|
|
9439
|
+
download?: boolean | undefined;
|
|
9440
|
+
webhook?: string | undefined;
|
|
9441
|
+
redirect?: string | undefined;
|
|
9442
|
+
};
|
|
9443
|
+
trackLinks?: boolean | undefined;
|
|
9444
|
+
redactLogging?: boolean | undefined;
|
|
9445
|
+
};
|
|
9446
|
+
editMode?: "all" | "batch" | "single" | undefined;
|
|
9447
|
+
logo?: string | undefined;
|
|
9448
|
+
title?: string | undefined;
|
|
9449
|
+
hints?: {
|
|
9450
|
+
enabled: boolean;
|
|
9451
|
+
} | undefined;
|
|
9452
|
+
theme?: {
|
|
9453
|
+
version: 2;
|
|
9454
|
+
preset?: "light" | "dark" | undefined;
|
|
9455
|
+
surface?: string | undefined;
|
|
9456
|
+
primary?: string | undefined;
|
|
9457
|
+
contrast?: "normal" | "high" | undefined;
|
|
9458
|
+
radius?: "none" | "sm" | "md" | "lg" | "full" | undefined;
|
|
9459
|
+
font?: {
|
|
9460
|
+
size?: number | undefined;
|
|
9461
|
+
} | undefined;
|
|
9462
|
+
fonts?: {
|
|
9463
|
+
ui?: {
|
|
9464
|
+
name: string;
|
|
9465
|
+
src?: string | undefined;
|
|
9466
|
+
} | undefined;
|
|
9467
|
+
heading?: {
|
|
9468
|
+
name: string;
|
|
9469
|
+
src?: string | undefined;
|
|
9470
|
+
} | undefined;
|
|
9471
|
+
} | undefined;
|
|
9472
|
+
tint?: number | undefined;
|
|
9473
|
+
overrides?: Record<string, string> | undefined;
|
|
9474
|
+
customStyle?: Record<string, string> | undefined;
|
|
9475
|
+
presetId?: string | undefined;
|
|
9476
|
+
} | undefined;
|
|
9477
|
+
customStyle?: Record<string, string> | undefined;
|
|
9478
|
+
captions?: Record<string, string> | undefined;
|
|
9479
|
+
categories?: {
|
|
9480
|
+
label: string;
|
|
9481
|
+
items: string[];
|
|
9482
|
+
}[] | undefined;
|
|
9483
|
+
};
|
|
9484
|
+
landingPage: {
|
|
9485
|
+
headerTitle?: string | undefined;
|
|
9486
|
+
headerColor?: string | undefined;
|
|
9487
|
+
headerImage?: string | undefined;
|
|
9488
|
+
headerHtml?: string | undefined;
|
|
9489
|
+
backgroundColor?: string | undefined;
|
|
9490
|
+
backgroundImage?: string | undefined;
|
|
9491
|
+
bodyTitle?: string | undefined;
|
|
9492
|
+
bodySubtitle?: string | undefined;
|
|
9493
|
+
bodyHtml?: string | undefined;
|
|
9494
|
+
headerTitleStyle?: {
|
|
9495
|
+
color?: string | undefined;
|
|
9496
|
+
font?: {
|
|
9497
|
+
name: string;
|
|
9498
|
+
src?: string | undefined;
|
|
9499
|
+
} | undefined;
|
|
9500
|
+
fontWeight?: "300" | "800" | "600" | "400" | "500" | "700" | undefined;
|
|
9501
|
+
fontStyle?: "italic" | "normal" | undefined;
|
|
9502
|
+
textAlign?: "center" | "left" | "right" | undefined;
|
|
9503
|
+
} | undefined;
|
|
9504
|
+
bodyTitleStyle?: {
|
|
9505
|
+
color?: string | undefined;
|
|
9506
|
+
font?: {
|
|
9507
|
+
name: string;
|
|
9508
|
+
src?: string | undefined;
|
|
9509
|
+
} | undefined;
|
|
9510
|
+
fontWeight?: "300" | "800" | "600" | "400" | "500" | "700" | undefined;
|
|
9511
|
+
fontStyle?: "italic" | "normal" | undefined;
|
|
9512
|
+
textAlign?: "center" | "left" | "right" | undefined;
|
|
9513
|
+
} | undefined;
|
|
9514
|
+
bodySubtitleStyle?: {
|
|
9515
|
+
color?: string | undefined;
|
|
9516
|
+
font?: {
|
|
9517
|
+
name: string;
|
|
9518
|
+
src?: string | undefined;
|
|
9519
|
+
} | undefined;
|
|
9520
|
+
fontWeight?: "300" | "800" | "600" | "400" | "500" | "700" | undefined;
|
|
9521
|
+
fontStyle?: "italic" | "normal" | undefined;
|
|
9522
|
+
textAlign?: "center" | "left" | "right" | undefined;
|
|
9523
|
+
} | undefined;
|
|
9524
|
+
customPrivacy?: string | undefined;
|
|
9525
|
+
customImprint?: string | undefined;
|
|
9526
|
+
pageLayout?: "scroll" | "flex" | undefined;
|
|
9527
|
+
} | null;
|
|
9528
|
+
emailCampaign: Record<string, any> | null;
|
|
9529
|
+
thumbnail: string | null;
|
|
9530
|
+
thumbnailPending: boolean;
|
|
9531
|
+
createdAt: string;
|
|
9532
|
+
updatedAt: string;
|
|
9533
|
+
pinnedBy: string[];
|
|
9534
|
+
assets?: {
|
|
9535
|
+
assetId: string;
|
|
9536
|
+
title?: string | null | undefined;
|
|
9537
|
+
description?: string | null | undefined;
|
|
9538
|
+
}[] | undefined;
|
|
9539
|
+
} | undefined>;
|
|
8745
9540
|
bxCoreVersion: Ref<string | undefined, string | undefined>;
|
|
8746
9541
|
allowPanAndZoom: Ref<boolean, boolean>;
|
|
8747
9542
|
branding: Ref<boolean, boolean>;
|
|
@@ -8758,7 +9553,8 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
8758
9553
|
bxCoreVersion?: string;
|
|
8759
9554
|
stripeEnv?: 'dev' | 'prod';
|
|
8760
9555
|
theme?: 'light' | 'dark' | 'auto';
|
|
8761
|
-
|
|
9556
|
+
/** Legacy variable overrides, or a theme-v2 `ThemeInput` (`{ version: 2, surface, primary, … }`). */
|
|
9557
|
+
customThemeVars?: Partial<z.infer<typeof EmbedV2.customStyleSchema>> | ThemeInput;
|
|
8762
9558
|
bearerToken?: string;
|
|
8763
9559
|
password?: string;
|
|
8764
9560
|
});
|