@bluepic/embed 0.7.0-layouts.4 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bluepic-embed.iife.js +150 -102
- package/dist/bluepic-embed.umd.js +150 -102
- package/dist/components/BxDrawer.vue.d.ts +1 -27
- package/dist/components/BxInput.vue.d.ts +2 -2
- package/dist/components/BxNumberInput.vue.d.ts +2 -2
- package/dist/components/Tabs.vue.d.ts +0 -10
- package/dist/components/TemplateEditor/BxTemplateEditor.vue.d.ts +0 -37
- package/dist/components/TemplateEditor/ExportPopoup.vue.d.ts +0 -7
- package/dist/embed/embed.d.ts +4 -62
- package/dist/main.cjs +111 -63
- package/dist/main.d.ts +0 -11
- package/dist/main.mjs +11293 -12726
- package/dist/style.css +1 -1
- package/dist/theme/index.d.ts +0 -1
- package/dist/theme.cjs +1 -1
- package/dist/theme.mjs +473 -516
- package/dist/util/export.d.ts +1 -11
- package/package.json +2 -6
- package/dist/components/BxCarousel.vue.d.ts +0 -55
- package/dist/components/BxChips.vue.d.ts +0 -35
- package/dist/components/BxDrawerSheetBody.vue.d.ts +0 -18
- package/dist/components/BxNavMenu.vue.d.ts +0 -35
- package/dist/components/BxThemeScope.vue.d.ts +0 -32
- package/dist/components/BxTreeNav.vue.d.ts +0 -47
- package/dist/components/BxTreeNavBranch.vue.d.ts +0 -7
- package/dist/components/TemplateEditor/editorArrangement.d.ts +0 -20
- package/dist/components/treeNav.d.ts +0 -32
- package/dist/theme/scope.d.ts +0 -27
- package/dist/util/a11y/reducedMotion.d.ts +0 -5
- package/dist/util/layout/scrollLock.d.ts +0 -1
- package/dist/util/layout/useScrollSpy.d.ts +0 -24
- package/dist/util/pageView.d.ts +0 -127
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* Side drawer on the global popup stack. Focus trap, Escape and focus return
|
|
3
|
-
* come from the popup provider (`useFocusTrap`).
|
|
4
|
-
*
|
|
5
|
-
* `sheet` (opt-in, default off) turns it into a modal editor sheet:
|
|
6
|
-
* `role="dialog"` + `aria-modal`, named by its heading; focus moves to the
|
|
7
|
-
* heading on open; full screen below `fullscreenBelow` px viewport width
|
|
8
|
-
* (default 600); safe-area insets; the page behind does not scroll
|
|
9
|
-
* (`lockScroll`); a sticky `footer` slot. Without `sheet` nothing changes.
|
|
10
|
-
*/
|
|
11
|
-
import { type VNode } from 'vue';
|
|
1
|
+
import { VNode } from 'vue';
|
|
12
2
|
export type DrawerPlacement = 'left' | 'right' | 'top' | 'bottom';
|
|
13
3
|
type __VLS_Props = {
|
|
14
4
|
trigger?: 'manual' | 'click';
|
|
@@ -21,14 +11,6 @@ type __VLS_Props = {
|
|
|
21
11
|
customClasses?: string[];
|
|
22
12
|
wrapperCustomClasses?: string[];
|
|
23
13
|
disableBackgroundEffect?: boolean;
|
|
24
|
-
/** Modal editor sheet (see above). Default false: today's drawer. */
|
|
25
|
-
sheet?: boolean;
|
|
26
|
-
/** Sheet only: below this viewport width (px) the sheet covers the screen. 0 = never. Default 600. */
|
|
27
|
-
fullscreenBelow?: number;
|
|
28
|
-
/** Sheet only: lock the page scroll while open. `true` locks the document; an element locks that scroll container. Default true. */
|
|
29
|
-
lockScroll?: boolean | HTMLElement | null;
|
|
30
|
-
/** Sheet only: accessible name when there is no heading. */
|
|
31
|
-
ariaLabel?: string;
|
|
32
14
|
};
|
|
33
15
|
type __VLS_Slots = {
|
|
34
16
|
default: (scope: {
|
|
@@ -44,17 +26,12 @@ type __VLS_Slots = {
|
|
|
44
26
|
['close-btn']?: (scope: {
|
|
45
27
|
close: () => void;
|
|
46
28
|
}) => VNode[];
|
|
47
|
-
/** Sheet only: sticky bar at the bottom (actions). */
|
|
48
|
-
footer?: (scope: {
|
|
49
|
-
close: () => void;
|
|
50
|
-
}) => VNode[];
|
|
51
29
|
};
|
|
52
30
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
53
31
|
"update:show": (args_0: boolean) => any;
|
|
54
32
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
55
33
|
"onUpdate:show"?: ((args_0: boolean) => any) | undefined;
|
|
56
34
|
}>, {
|
|
57
|
-
ariaLabel: string;
|
|
58
35
|
width: string;
|
|
59
36
|
disableBackgroundEffect: boolean;
|
|
60
37
|
wrapperCustomClasses: string[];
|
|
@@ -64,9 +41,6 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
|
|
|
64
41
|
closeable: boolean;
|
|
65
42
|
customClasses: string[];
|
|
66
43
|
height: string;
|
|
67
|
-
sheet: boolean;
|
|
68
|
-
fullscreenBelow: number;
|
|
69
|
-
lockScroll: boolean | HTMLElement | null;
|
|
70
44
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
71
45
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
72
46
|
export default _default;
|
|
@@ -16,7 +16,7 @@ type __VLS_Props = {
|
|
|
16
16
|
maxLines?: number;
|
|
17
17
|
showWordCount?: boolean;
|
|
18
18
|
type?: 'text' | 'password' | 'number' | 'email' | 'tel' | 'textarea';
|
|
19
|
-
state?: 'default' | 'active' | 'success' | 'error' | 'warning';
|
|
19
|
+
state?: 'default' | 'active' | 'success' | 'error' | 'warning' | 'animated';
|
|
20
20
|
ghost?: boolean;
|
|
21
21
|
ring?: boolean;
|
|
22
22
|
clearable?: boolean;
|
|
@@ -70,7 +70,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
70
70
|
round: boolean;
|
|
71
71
|
disabled: boolean;
|
|
72
72
|
loading: boolean;
|
|
73
|
-
state: "default" | "active" | "success" | "error" | "warning";
|
|
73
|
+
state: "default" | "active" | "success" | "error" | "warning" | "animated";
|
|
74
74
|
maxLength: number;
|
|
75
75
|
maxLines: number;
|
|
76
76
|
bordered: boolean;
|
|
@@ -6,7 +6,7 @@ type __VLS_Props = {
|
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
readonly?: boolean;
|
|
8
8
|
placeholder?: string;
|
|
9
|
-
state?: 'default' | 'active' | 'success' | 'error' | 'warning';
|
|
9
|
+
state?: 'default' | 'active' | 'success' | 'error' | 'warning' | 'animated';
|
|
10
10
|
ring?: boolean;
|
|
11
11
|
round?: boolean;
|
|
12
12
|
bordered?: boolean;
|
|
@@ -34,7 +34,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
34
34
|
size: "small" | "medium" | "large";
|
|
35
35
|
round: boolean;
|
|
36
36
|
disabled: boolean;
|
|
37
|
-
state: "default" | "active" | "success" | "error" | "warning";
|
|
37
|
+
state: "default" | "active" | "success" | "error" | "warning" | "animated";
|
|
38
38
|
bordered: boolean;
|
|
39
39
|
ring: boolean;
|
|
40
40
|
readonly: boolean;
|
|
@@ -9,15 +9,10 @@
|
|
|
9
9
|
* A tab is a plain string (id = label, the old API) or `{ id, label }`, so two
|
|
10
10
|
* entries may share a label. Many tabs scroll horizontally; soft fades mark the
|
|
11
11
|
* hidden ones and the active tab is scrolled into view.
|
|
12
|
-
*
|
|
13
|
-
* `variant`: `boxed` (default, bordered buttons), `underline` (a bar with an
|
|
14
|
-
* indicator under the active tab), `pill` (rounded, the active one filled).
|
|
15
|
-
* An object tab may carry a `count`, shown after the label.
|
|
16
12
|
*/
|
|
17
13
|
type TabEntry = string | {
|
|
18
14
|
id: string;
|
|
19
15
|
label: string;
|
|
20
|
-
count?: number | null;
|
|
21
16
|
};
|
|
22
17
|
type __VLS_Props = {
|
|
23
18
|
tabs: TabEntry[];
|
|
@@ -27,9 +22,6 @@ type __VLS_Props = {
|
|
|
27
22
|
panelId?: string;
|
|
28
23
|
/** Prefix of every tab button's DOM id (`<prefix>-<tab id>`). */
|
|
29
24
|
idPrefix?: string;
|
|
30
|
-
variant?: 'boxed' | 'underline' | 'pill';
|
|
31
|
-
/** `start`: tabs start at the left edge instead of centring. */
|
|
32
|
-
align?: 'center' | 'start';
|
|
33
25
|
};
|
|
34
26
|
declare function tabElementId(id: string): string;
|
|
35
27
|
type __VLS_PublicProps = __VLS_Props & {
|
|
@@ -46,8 +38,6 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
46
38
|
}>, {
|
|
47
39
|
ariaLabel: string;
|
|
48
40
|
mode: "anchors" | "tabs";
|
|
49
|
-
variant: "boxed" | "underline" | "pill";
|
|
50
|
-
align: "center" | "start";
|
|
51
41
|
panelId: string;
|
|
52
42
|
idPrefix: string;
|
|
53
43
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -10,7 +10,6 @@ import 'swiper/css/scrollbar';
|
|
|
10
10
|
import type { EditorCanvas } from '../../util/canvases';
|
|
11
11
|
import type { ExportAnalyticsSink } from '../../util/analytics';
|
|
12
12
|
import { nextTick } from 'vue';
|
|
13
|
-
import { type BxTemplateEditorChrome, type BxTemplateEditorFieldsPlacement } from './editorArrangement';
|
|
14
13
|
type __VLS_Props = {
|
|
15
14
|
bxCoreVersion?: string;
|
|
16
15
|
/** Override the sandbox host (defaults to sandbox.bluepic.io). e.g. sandbox.bluepic.eu */
|
|
@@ -167,30 +166,6 @@ type __VLS_Props = {
|
|
|
167
166
|
* …). With `fieldStatus` they count as done whatever their value.
|
|
168
167
|
*/
|
|
169
168
|
prefilledKeys?: string[];
|
|
170
|
-
/**
|
|
171
|
-
* Header arrangement. `full` (default): back, branding, legal, mode switch, batch nav,
|
|
172
|
-
* export, format switcher. `actions`: only Export, the format switcher and
|
|
173
|
-
* `navbar-right`, right-aligned, without the bar background (the host page owns the rest).
|
|
174
|
-
*/
|
|
175
|
-
chrome?: BxTemplateEditorChrome;
|
|
176
|
-
/**
|
|
177
|
-
* `popup` (default): Export opens the export dialog. `inline`: the host owns
|
|
178
|
-
* Export (call the exposed `triggerExport`) and gets the export view through
|
|
179
|
-
* `export-view` to show in its own page; the editor's Export button is gone.
|
|
180
|
-
*/
|
|
181
|
-
exportPresentation?: 'popup' | 'inline';
|
|
182
|
-
/**
|
|
183
|
-
* Desktop list arrangement. `side` (default): fields beside the preview. `below`: fields
|
|
184
|
-
* under a width-fitted preview; the editor then sizes to its content instead of filling
|
|
185
|
-
* its parent. Phones (`layout: 'mobile'`) and batch mode keep their arrangement.
|
|
186
|
-
*/
|
|
187
|
-
fieldsPlacement?: BxTemplateEditorFieldsPlacement;
|
|
188
|
-
/**
|
|
189
|
-
* Desktop list only: show the first `fieldLimit - 1` fields and fold the rest into a
|
|
190
|
-
* "More fields (n)" button that expands in place. Exactly `fieldLimit` fields: all show.
|
|
191
|
-
* Unset (default): no limit.
|
|
192
|
-
*/
|
|
193
|
-
fieldLimit?: number;
|
|
194
169
|
};
|
|
195
170
|
type __VLS_Slots = {
|
|
196
171
|
/**
|
|
@@ -202,8 +177,6 @@ type __VLS_Slots = {
|
|
|
202
177
|
onBranding: boolean;
|
|
203
178
|
}) => VNode[] | VNode;
|
|
204
179
|
'navbar-right': () => VNode[] | VNode;
|
|
205
|
-
/** Start of the header bar, before everything else (e.g. the title of a host sheet). */
|
|
206
|
-
'navbar-left': () => VNode[] | VNode;
|
|
207
180
|
};
|
|
208
181
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
209
182
|
templateViewRef: import("vue").Ref<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
@@ -3361,28 +3334,20 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
3361
3334
|
}) | undefined>;
|
|
3362
3335
|
isMultiFrame: import("vue").ComputedRef<boolean>;
|
|
3363
3336
|
}, {}, {}, {}, {}> | undefined>;
|
|
3364
|
-
/** Render and present an export (the Export button's action). */
|
|
3365
|
-
triggerExport: () => Promise<void>;
|
|
3366
|
-
/** An export render is running. */
|
|
3367
|
-
rendering: import("vue").Ref<boolean, boolean>;
|
|
3368
3337
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3369
3338
|
"update:data": (args_0: {
|
|
3370
3339
|
[k: string]: unknown;
|
|
3371
3340
|
}) => any;
|
|
3372
3341
|
back: () => any;
|
|
3373
|
-
"review-fields": () => any;
|
|
3374
3342
|
"update:batchRows": (args_0: BatchRow[]) => any;
|
|
3375
3343
|
"switch-canvas": (canvasId: string, snapshotUrl: string | undefined) => any;
|
|
3376
|
-
"export-view": (render: () => VNode) => any;
|
|
3377
3344
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
3378
3345
|
"onUpdate:data"?: ((args_0: {
|
|
3379
3346
|
[k: string]: unknown;
|
|
3380
3347
|
}) => any) | undefined;
|
|
3381
3348
|
onBack?: (() => any) | undefined;
|
|
3382
|
-
"onReview-fields"?: (() => any) | undefined;
|
|
3383
3349
|
"onUpdate:batchRows"?: ((args_0: BatchRow[]) => any) | undefined;
|
|
3384
3350
|
"onSwitch-canvas"?: ((canvasId: string, snapshotUrl: string | undefined) => any) | undefined;
|
|
3385
|
-
"onExport-view"?: ((render: () => VNode) => any) | undefined;
|
|
3386
3351
|
}>, {
|
|
3387
3352
|
zoomAndPan: boolean;
|
|
3388
3353
|
editMode: "single" | "batch" | "all";
|
|
@@ -3400,8 +3365,6 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
3400
3365
|
bottom: number;
|
|
3401
3366
|
left: number;
|
|
3402
3367
|
};
|
|
3403
|
-
chrome: BxTemplateEditorChrome;
|
|
3404
|
-
fieldsPlacement: BxTemplateEditorFieldsPlacement;
|
|
3405
3368
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3406
3369
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
3407
3370
|
export default _default;
|
|
@@ -57,19 +57,12 @@ type __VLS_Props = {
|
|
|
57
57
|
demandSnapshots?: () => () => void;
|
|
58
58
|
/** Text and picture fields still on the template's value (see useFieldStatus). */
|
|
59
59
|
pendingFieldCount?: number;
|
|
60
|
-
/**
|
|
61
|
-
* Rendered in the host page (the editor's `exportPresentation="inline"`):
|
|
62
|
-
* no dialog title, larger previews, previews and actions side by side
|
|
63
|
-
* where the page is wide enough.
|
|
64
|
-
*/
|
|
65
|
-
inline?: boolean;
|
|
66
60
|
};
|
|
67
61
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
68
62
|
"review-fields": () => any;
|
|
69
63
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
70
64
|
"onReview-fields"?: (() => any) | undefined;
|
|
71
65
|
}>, {
|
|
72
|
-
inline: boolean;
|
|
73
66
|
mediaType: "image" | "video";
|
|
74
67
|
pendingFieldCount: number;
|
|
75
68
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
package/dist/embed/embed.d.ts
CHANGED
|
@@ -76,18 +76,12 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
76
76
|
readonly batchRows?: import("../util/batch/useBatchRows").BatchRow[] | undefined;
|
|
77
77
|
readonly fieldStatus?: boolean | undefined;
|
|
78
78
|
readonly prefilledKeys?: string[] | undefined;
|
|
79
|
-
readonly chrome?: import("../main").BxTemplateEditorChrome | undefined;
|
|
80
|
-
readonly exportPresentation?: "popup" | "inline" | undefined;
|
|
81
|
-
readonly fieldsPlacement?: import("../main").BxTemplateEditorFieldsPlacement | undefined;
|
|
82
|
-
readonly fieldLimit?: number | undefined;
|
|
83
79
|
readonly "onUpdate:data"?: ((args_0: {
|
|
84
80
|
[k: string]: unknown;
|
|
85
81
|
}) => any) | undefined;
|
|
86
82
|
readonly onBack?: (() => any) | undefined;
|
|
87
|
-
readonly "onReview-fields"?: (() => any) | undefined;
|
|
88
83
|
readonly "onUpdate:batchRows"?: ((args_0: import("../util/batch/useBatchRows").BatchRow[]) => any) | undefined;
|
|
89
84
|
readonly "onSwitch-canvas"?: ((canvasId: string, snapshotUrl: string | undefined) => any) | undefined;
|
|
90
|
-
readonly "onExport-view"?: ((render: () => import("vue").VNode) => any) | undefined;
|
|
91
85
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
92
86
|
$attrs: {
|
|
93
87
|
[x: string]: unknown;
|
|
@@ -103,7 +97,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
103
97
|
$host: Element | null;
|
|
104
98
|
$emit: ((event: "update:data", args_0: {
|
|
105
99
|
[k: string]: unknown;
|
|
106
|
-
}) => void) & ((event: "back") => void) & ((event: "
|
|
100
|
+
}) => void) & ((event: "back") => void) & ((event: "update:batchRows", args_0: import("../util/batch/useBatchRows").BatchRow[]) => void) & ((event: "switch-canvas", canvasId: string, snapshotUrl: string | undefined) => void);
|
|
107
101
|
$el: any;
|
|
108
102
|
$options: import("vue").ComponentOptionsBase<Readonly<{
|
|
109
103
|
bxCoreVersion?: string;
|
|
@@ -169,19 +163,13 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
169
163
|
batchRows?: import("../util/batch/useBatchRows").BatchRow[];
|
|
170
164
|
fieldStatus?: boolean;
|
|
171
165
|
prefilledKeys?: string[];
|
|
172
|
-
chrome?: import("../main").BxTemplateEditorChrome;
|
|
173
|
-
exportPresentation?: "popup" | "inline";
|
|
174
|
-
fieldsPlacement?: import("../main").BxTemplateEditorFieldsPlacement;
|
|
175
|
-
fieldLimit?: number;
|
|
176
166
|
}> & Readonly<{
|
|
177
167
|
"onUpdate:data"?: ((args_0: {
|
|
178
168
|
[k: string]: unknown;
|
|
179
169
|
}) => any) | undefined;
|
|
180
170
|
onBack?: (() => any) | undefined;
|
|
181
|
-
"onReview-fields"?: (() => any) | undefined;
|
|
182
171
|
"onUpdate:batchRows"?: ((args_0: import("../util/batch/useBatchRows").BatchRow[]) => any) | undefined;
|
|
183
172
|
"onSwitch-canvas"?: ((canvasId: string, snapshotUrl: string | undefined) => any) | undefined;
|
|
184
|
-
"onExport-view"?: ((render: () => import("vue").VNode) => any) | undefined;
|
|
185
173
|
}>, {
|
|
186
174
|
templateViewRef: Ref<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
187
175
|
bxCoreVersion?: string;
|
|
@@ -3338,17 +3326,13 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3338
3326
|
}) | undefined>;
|
|
3339
3327
|
isMultiFrame: import("vue").ComputedRef<boolean>;
|
|
3340
3328
|
}, {}, {}, {}, {}> | undefined>;
|
|
3341
|
-
triggerExport: () => Promise<void>;
|
|
3342
|
-
rendering: Ref<boolean, boolean>;
|
|
3343
3329
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3344
3330
|
"update:data": (args_0: {
|
|
3345
3331
|
[k: string]: unknown;
|
|
3346
3332
|
}) => any;
|
|
3347
3333
|
back: () => any;
|
|
3348
|
-
"review-fields": () => any;
|
|
3349
3334
|
"update:batchRows": (args_0: import("../util/batch/useBatchRows").BatchRow[]) => any;
|
|
3350
3335
|
"switch-canvas": (canvasId: string, snapshotUrl: string | undefined) => any;
|
|
3351
|
-
"export-view": (render: () => import("vue").VNode) => any;
|
|
3352
3336
|
}, string, {
|
|
3353
3337
|
zoomAndPan: boolean;
|
|
3354
3338
|
editMode: "single" | "batch" | "all";
|
|
@@ -3366,8 +3350,6 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3366
3350
|
bottom: number;
|
|
3367
3351
|
left: number;
|
|
3368
3352
|
};
|
|
3369
|
-
chrome: import("../main").BxTemplateEditorChrome;
|
|
3370
|
-
fieldsPlacement: import("../main").BxTemplateEditorFieldsPlacement;
|
|
3371
3353
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
3372
3354
|
beforeCreate?: (() => void) | (() => void)[];
|
|
3373
3355
|
created?: (() => void) | (() => void)[];
|
|
@@ -3405,8 +3387,6 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3405
3387
|
bottom: number;
|
|
3406
3388
|
left: number;
|
|
3407
3389
|
};
|
|
3408
|
-
chrome: import("../main").BxTemplateEditorChrome;
|
|
3409
|
-
fieldsPlacement: import("../main").BxTemplateEditorFieldsPlacement;
|
|
3410
3390
|
}> & Omit<Readonly<{
|
|
3411
3391
|
bxCoreVersion?: string;
|
|
3412
3392
|
cloudflarePagesHostname?: string;
|
|
@@ -3471,20 +3451,14 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3471
3451
|
batchRows?: import("../util/batch/useBatchRows").BatchRow[];
|
|
3472
3452
|
fieldStatus?: boolean;
|
|
3473
3453
|
prefilledKeys?: string[];
|
|
3474
|
-
chrome?: import("../main").BxTemplateEditorChrome;
|
|
3475
|
-
exportPresentation?: "popup" | "inline";
|
|
3476
|
-
fieldsPlacement?: import("../main").BxTemplateEditorFieldsPlacement;
|
|
3477
|
-
fieldLimit?: number;
|
|
3478
3454
|
}> & Readonly<{
|
|
3479
3455
|
"onUpdate:data"?: ((args_0: {
|
|
3480
3456
|
[k: string]: unknown;
|
|
3481
3457
|
}) => any) | undefined;
|
|
3482
3458
|
onBack?: (() => any) | undefined;
|
|
3483
|
-
"onReview-fields"?: (() => any) | undefined;
|
|
3484
3459
|
"onUpdate:batchRows"?: ((args_0: import("../util/batch/useBatchRows").BatchRow[]) => any) | undefined;
|
|
3485
3460
|
"onSwitch-canvas"?: ((canvasId: string, snapshotUrl: string | undefined) => any) | undefined;
|
|
3486
|
-
|
|
3487
|
-
}>, "rendering" | "triggerExport" | "templateViewRef" | ("zoomAndPan" | "editMode" | "videoBatchMaxSize" | "preCacheLocalRendering" | "liveViewOffsetDesktop" | "liveViewOffsetMobile" | "chrome" | "fieldsPlacement")> & import("vue").ShallowUnwrapRef<{
|
|
3461
|
+
}>, "templateViewRef" | ("zoomAndPan" | "editMode" | "videoBatchMaxSize" | "preCacheLocalRendering" | "liveViewOffsetDesktop" | "liveViewOffsetMobile")> & import("vue").ShallowUnwrapRef<{
|
|
3488
3462
|
templateViewRef: Ref<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3489
3463
|
bxCoreVersion?: string;
|
|
3490
3464
|
cloudflarePagesHostname?: string;
|
|
@@ -6640,15 +6614,12 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
6640
6614
|
}) | undefined>;
|
|
6641
6615
|
isMultiFrame: import("vue").ComputedRef<boolean>;
|
|
6642
6616
|
}, {}, {}, {}, {}> | undefined>;
|
|
6643
|
-
triggerExport: () => Promise<void>;
|
|
6644
|
-
rendering: Ref<boolean, boolean>;
|
|
6645
6617
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
6646
6618
|
$slots: {
|
|
6647
6619
|
legal: (props: {
|
|
6648
6620
|
onBranding: boolean;
|
|
6649
6621
|
}) => import("vue").VNode[] | import("vue").VNode;
|
|
6650
6622
|
'navbar-right': () => import("vue").VNode[] | import("vue").VNode;
|
|
6651
|
-
'navbar-left': () => import("vue").VNode[] | import("vue").VNode;
|
|
6652
6623
|
};
|
|
6653
6624
|
}) | undefined, ({
|
|
6654
6625
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -6719,18 +6690,12 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
6719
6690
|
readonly batchRows?: import("../util/batch/useBatchRows").BatchRow[] | undefined;
|
|
6720
6691
|
readonly fieldStatus?: boolean | undefined;
|
|
6721
6692
|
readonly prefilledKeys?: string[] | undefined;
|
|
6722
|
-
readonly chrome?: import("../main").BxTemplateEditorChrome | undefined;
|
|
6723
|
-
readonly exportPresentation?: "popup" | "inline" | undefined;
|
|
6724
|
-
readonly fieldsPlacement?: import("../main").BxTemplateEditorFieldsPlacement | undefined;
|
|
6725
|
-
readonly fieldLimit?: number | undefined;
|
|
6726
6693
|
readonly "onUpdate:data"?: ((args_0: {
|
|
6727
6694
|
[k: string]: unknown;
|
|
6728
6695
|
}) => any) | undefined;
|
|
6729
6696
|
readonly onBack?: (() => any) | undefined;
|
|
6730
|
-
readonly "onReview-fields"?: (() => any) | undefined;
|
|
6731
6697
|
readonly "onUpdate:batchRows"?: ((args_0: import("../util/batch/useBatchRows").BatchRow[]) => any) | undefined;
|
|
6732
6698
|
readonly "onSwitch-canvas"?: ((canvasId: string, snapshotUrl: string | undefined) => any) | undefined;
|
|
6733
|
-
readonly "onExport-view"?: ((render: () => import("vue").VNode) => any) | undefined;
|
|
6734
6699
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
6735
6700
|
$attrs: {
|
|
6736
6701
|
[x: string]: unknown;
|
|
@@ -6746,7 +6711,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
6746
6711
|
$host: Element | null;
|
|
6747
6712
|
$emit: ((event: "update:data", args_0: {
|
|
6748
6713
|
[k: string]: unknown;
|
|
6749
|
-
}) => void) & ((event: "back") => void) & ((event: "
|
|
6714
|
+
}) => void) & ((event: "back") => void) & ((event: "update:batchRows", args_0: import("../util/batch/useBatchRows").BatchRow[]) => void) & ((event: "switch-canvas", canvasId: string, snapshotUrl: string | undefined) => void);
|
|
6750
6715
|
$el: any;
|
|
6751
6716
|
$options: import("vue").ComponentOptionsBase<Readonly<{
|
|
6752
6717
|
bxCoreVersion?: string;
|
|
@@ -6812,19 +6777,13 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
6812
6777
|
batchRows?: import("../util/batch/useBatchRows").BatchRow[];
|
|
6813
6778
|
fieldStatus?: boolean;
|
|
6814
6779
|
prefilledKeys?: string[];
|
|
6815
|
-
chrome?: import("../main").BxTemplateEditorChrome;
|
|
6816
|
-
exportPresentation?: "popup" | "inline";
|
|
6817
|
-
fieldsPlacement?: import("../main").BxTemplateEditorFieldsPlacement;
|
|
6818
|
-
fieldLimit?: number;
|
|
6819
6780
|
}> & Readonly<{
|
|
6820
6781
|
"onUpdate:data"?: ((args_0: {
|
|
6821
6782
|
[k: string]: unknown;
|
|
6822
6783
|
}) => any) | undefined;
|
|
6823
6784
|
onBack?: (() => any) | undefined;
|
|
6824
|
-
"onReview-fields"?: (() => any) | undefined;
|
|
6825
6785
|
"onUpdate:batchRows"?: ((args_0: import("../util/batch/useBatchRows").BatchRow[]) => any) | undefined;
|
|
6826
6786
|
"onSwitch-canvas"?: ((canvasId: string, snapshotUrl: string | undefined) => any) | undefined;
|
|
6827
|
-
"onExport-view"?: ((render: () => import("vue").VNode) => any) | undefined;
|
|
6828
6787
|
}>, {
|
|
6829
6788
|
templateViewRef: Ref<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
6830
6789
|
bxCoreVersion?: string;
|
|
@@ -9981,17 +9940,13 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
9981
9940
|
}) | undefined>;
|
|
9982
9941
|
isMultiFrame: import("vue").ComputedRef<boolean>;
|
|
9983
9942
|
}, {}, {}, {}, {}> | undefined>;
|
|
9984
|
-
triggerExport: () => Promise<void>;
|
|
9985
|
-
rendering: Ref<boolean, boolean>;
|
|
9986
9943
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9987
9944
|
"update:data": (args_0: {
|
|
9988
9945
|
[k: string]: unknown;
|
|
9989
9946
|
}) => any;
|
|
9990
9947
|
back: () => any;
|
|
9991
|
-
"review-fields": () => any;
|
|
9992
9948
|
"update:batchRows": (args_0: import("../util/batch/useBatchRows").BatchRow[]) => any;
|
|
9993
9949
|
"switch-canvas": (canvasId: string, snapshotUrl: string | undefined) => any;
|
|
9994
|
-
"export-view": (render: () => import("vue").VNode) => any;
|
|
9995
9950
|
}, string, {
|
|
9996
9951
|
zoomAndPan: boolean;
|
|
9997
9952
|
editMode: "single" | "batch" | "all";
|
|
@@ -10009,8 +9964,6 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
10009
9964
|
bottom: number;
|
|
10010
9965
|
left: number;
|
|
10011
9966
|
};
|
|
10012
|
-
chrome: import("../main").BxTemplateEditorChrome;
|
|
10013
|
-
fieldsPlacement: import("../main").BxTemplateEditorFieldsPlacement;
|
|
10014
9967
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
10015
9968
|
beforeCreate?: (() => void) | (() => void)[];
|
|
10016
9969
|
created?: (() => void) | (() => void)[];
|
|
@@ -10048,8 +10001,6 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
10048
10001
|
bottom: number;
|
|
10049
10002
|
left: number;
|
|
10050
10003
|
};
|
|
10051
|
-
chrome: import("../main").BxTemplateEditorChrome;
|
|
10052
|
-
fieldsPlacement: import("../main").BxTemplateEditorFieldsPlacement;
|
|
10053
10004
|
}> & Omit<Readonly<{
|
|
10054
10005
|
bxCoreVersion?: string;
|
|
10055
10006
|
cloudflarePagesHostname?: string;
|
|
@@ -10114,20 +10065,14 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
10114
10065
|
batchRows?: import("../util/batch/useBatchRows").BatchRow[];
|
|
10115
10066
|
fieldStatus?: boolean;
|
|
10116
10067
|
prefilledKeys?: string[];
|
|
10117
|
-
chrome?: import("../main").BxTemplateEditorChrome;
|
|
10118
|
-
exportPresentation?: "popup" | "inline";
|
|
10119
|
-
fieldsPlacement?: import("../main").BxTemplateEditorFieldsPlacement;
|
|
10120
|
-
fieldLimit?: number;
|
|
10121
10068
|
}> & Readonly<{
|
|
10122
10069
|
"onUpdate:data"?: ((args_0: {
|
|
10123
10070
|
[k: string]: unknown;
|
|
10124
10071
|
}) => any) | undefined;
|
|
10125
10072
|
onBack?: (() => any) | undefined;
|
|
10126
|
-
"onReview-fields"?: (() => any) | undefined;
|
|
10127
10073
|
"onUpdate:batchRows"?: ((args_0: import("../util/batch/useBatchRows").BatchRow[]) => any) | undefined;
|
|
10128
10074
|
"onSwitch-canvas"?: ((canvasId: string, snapshotUrl: string | undefined) => any) | undefined;
|
|
10129
|
-
|
|
10130
|
-
}>, "rendering" | "triggerExport" | "templateViewRef" | ("zoomAndPan" | "editMode" | "videoBatchMaxSize" | "preCacheLocalRendering" | "liveViewOffsetDesktop" | "liveViewOffsetMobile" | "chrome" | "fieldsPlacement")> & import("vue").ShallowUnwrapRef<{
|
|
10075
|
+
}>, "templateViewRef" | ("zoomAndPan" | "editMode" | "videoBatchMaxSize" | "preCacheLocalRendering" | "liveViewOffsetDesktop" | "liveViewOffsetMobile")> & import("vue").ShallowUnwrapRef<{
|
|
10131
10076
|
templateViewRef: Ref<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
10132
10077
|
bxCoreVersion?: string;
|
|
10133
10078
|
cloudflarePagesHostname?: string;
|
|
@@ -13283,15 +13228,12 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
13283
13228
|
}) | undefined>;
|
|
13284
13229
|
isMultiFrame: import("vue").ComputedRef<boolean>;
|
|
13285
13230
|
}, {}, {}, {}, {}> | undefined>;
|
|
13286
|
-
triggerExport: () => Promise<void>;
|
|
13287
|
-
rendering: Ref<boolean, boolean>;
|
|
13288
13231
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
13289
13232
|
$slots: {
|
|
13290
13233
|
legal: (props: {
|
|
13291
13234
|
onBranding: boolean;
|
|
13292
13235
|
}) => import("vue").VNode[] | import("vue").VNode;
|
|
13293
13236
|
'navbar-right': () => import("vue").VNode[] | import("vue").VNode;
|
|
13294
|
-
'navbar-left': () => import("vue").VNode[] | import("vue").VNode;
|
|
13295
13237
|
};
|
|
13296
13238
|
}) | undefined>;
|
|
13297
13239
|
campaignId: Ref<number | undefined>;
|