@bluepic/embed 0.4.0-next.166 → 0.4.0-next.168
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 +201 -195
- package/dist/bluepic-embed.umd.js +204 -198
- package/dist/components/BxTable.vue.d.ts +52 -7
- package/dist/components/TemplateEditor/BatchCell.vue.d.ts +18 -0
- package/dist/components/TemplateEditor/BatchEditor.vue.d.ts +258 -0
- package/dist/components/TemplateEditor/BatchExportPopup.vue.d.ts +66 -0
- package/dist/components/TemplateEditor/BatchImportPopup.vue.d.ts +25 -0
- package/dist/components/TemplateEditor/BxTemplateEditor.vue.d.ts +28 -0
- package/dist/components/fields/ImageEdit.vue.d.ts +6 -0
- package/dist/embed/embed.d.ts +64 -8
- package/dist/main.cjs +112 -106
- package/dist/main.mjs +40390 -37201
- package/dist/style.css +1 -1
- package/dist/util/batch/csv.d.ts +58 -0
- package/dist/util/batch/export.d.ts +77 -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/export.d.ts +3 -0
- package/package.json +2 -2
package/dist/embed/embed.d.ts
CHANGED
|
@@ -63,10 +63,17 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
63
63
|
left: number;
|
|
64
64
|
} | undefined;
|
|
65
65
|
readonly analytics?: import("../main").ExportAnalyticsSink | undefined;
|
|
66
|
+
readonly editMode?: "single" | "batch" | "all" | undefined;
|
|
67
|
+
readonly videoBatchMaxSize?: number | undefined;
|
|
68
|
+
readonly orgSlug?: string | undefined;
|
|
69
|
+
readonly templateAlias?: string | null | undefined;
|
|
70
|
+
readonly urlRenderBaseUrl?: string | undefined;
|
|
71
|
+
readonly batchRows?: import("../util/batch/useBatchRows").BatchRow[] | undefined;
|
|
66
72
|
readonly "onUpdate:data"?: ((args_0: {
|
|
67
73
|
[k: string]: unknown;
|
|
68
74
|
}) => any) | undefined;
|
|
69
75
|
readonly onBack?: (() => any) | undefined;
|
|
76
|
+
readonly "onUpdate:batchRows"?: ((args_0: import("../util/batch/useBatchRows").BatchRow[]) => any) | undefined;
|
|
70
77
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
71
78
|
$attrs: import("vue").Attrs;
|
|
72
79
|
$refs: {
|
|
@@ -80,7 +87,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
80
87
|
$host: Element | null;
|
|
81
88
|
$emit: ((event: "update:data", args_0: {
|
|
82
89
|
[k: string]: unknown;
|
|
83
|
-
}) => void) & ((event: "back") => void);
|
|
90
|
+
}) => void) & ((event: "back") => void) & ((event: "update:batchRows", args_0: import("../util/batch/useBatchRows").BatchRow[]) => void);
|
|
84
91
|
$el: any;
|
|
85
92
|
$options: import("vue").ComponentOptionsBase<Readonly<{
|
|
86
93
|
bxCoreVersion?: string;
|
|
@@ -133,11 +140,18 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
133
140
|
left: number;
|
|
134
141
|
};
|
|
135
142
|
analytics?: import("../main").ExportAnalyticsSink;
|
|
143
|
+
editMode?: "single" | "batch" | "all";
|
|
144
|
+
videoBatchMaxSize?: number;
|
|
145
|
+
orgSlug?: string;
|
|
146
|
+
templateAlias?: string | null;
|
|
147
|
+
urlRenderBaseUrl?: string;
|
|
148
|
+
batchRows?: import("../util/batch/useBatchRows").BatchRow[];
|
|
136
149
|
}> & Readonly<{
|
|
137
150
|
"onUpdate:data"?: ((args_0: {
|
|
138
151
|
[k: string]: unknown;
|
|
139
152
|
}) => any) | undefined;
|
|
140
153
|
onBack?: (() => any) | undefined;
|
|
154
|
+
"onUpdate:batchRows"?: ((args_0: import("../util/batch/useBatchRows").BatchRow[]) => any) | undefined;
|
|
141
155
|
}>, {
|
|
142
156
|
templateViewRef: Ref<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
143
157
|
bxCoreVersion?: string;
|
|
@@ -2981,8 +2995,11 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
2981
2995
|
[k: string]: unknown;
|
|
2982
2996
|
}) => any;
|
|
2983
2997
|
back: () => any;
|
|
2998
|
+
"update:batchRows": (args_0: import("../util/batch/useBatchRows").BatchRow[]) => any;
|
|
2984
2999
|
}, string, {
|
|
2985
3000
|
zoomAndPan: boolean;
|
|
3001
|
+
editMode: "single" | "batch" | "all";
|
|
3002
|
+
videoBatchMaxSize: number;
|
|
2986
3003
|
preCacheLocalRendering: boolean;
|
|
2987
3004
|
liveViewOffsetDesktop: {
|
|
2988
3005
|
top: number;
|
|
@@ -3018,6 +3035,8 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3018
3035
|
$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;
|
|
3019
3036
|
} & Readonly<{
|
|
3020
3037
|
zoomAndPan: boolean;
|
|
3038
|
+
editMode: "single" | "batch" | "all";
|
|
3039
|
+
videoBatchMaxSize: number;
|
|
3021
3040
|
preCacheLocalRendering: boolean;
|
|
3022
3041
|
liveViewOffsetDesktop: {
|
|
3023
3042
|
top: number;
|
|
@@ -3082,12 +3101,19 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
3082
3101
|
left: number;
|
|
3083
3102
|
};
|
|
3084
3103
|
analytics?: import("../main").ExportAnalyticsSink;
|
|
3104
|
+
editMode?: "single" | "batch" | "all";
|
|
3105
|
+
videoBatchMaxSize?: number;
|
|
3106
|
+
orgSlug?: string;
|
|
3107
|
+
templateAlias?: string | null;
|
|
3108
|
+
urlRenderBaseUrl?: string;
|
|
3109
|
+
batchRows?: import("../util/batch/useBatchRows").BatchRow[];
|
|
3085
3110
|
}> & Readonly<{
|
|
3086
3111
|
"onUpdate:data"?: ((args_0: {
|
|
3087
3112
|
[k: string]: unknown;
|
|
3088
3113
|
}) => any) | undefined;
|
|
3089
3114
|
onBack?: (() => any) | undefined;
|
|
3090
|
-
|
|
3115
|
+
"onUpdate:batchRows"?: ((args_0: import("../util/batch/useBatchRows").BatchRow[]) => any) | undefined;
|
|
3116
|
+
}>, "templateViewRef" | ("zoomAndPan" | "editMode" | "videoBatchMaxSize" | "preCacheLocalRendering" | "liveViewOffsetDesktop" | "liveViewOffsetMobile")> & {
|
|
3091
3117
|
templateViewRef: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3092
3118
|
bxCoreVersion?: string;
|
|
3093
3119
|
cloudflarePagesHostname?: string;
|
|
@@ -4568,10 +4594,17 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4568
4594
|
left: number;
|
|
4569
4595
|
} | undefined;
|
|
4570
4596
|
readonly analytics?: import("../main").ExportAnalyticsSink | undefined;
|
|
4597
|
+
readonly editMode?: "single" | "batch" | "all" | undefined;
|
|
4598
|
+
readonly videoBatchMaxSize?: number | undefined;
|
|
4599
|
+
readonly orgSlug?: string | undefined;
|
|
4600
|
+
readonly templateAlias?: string | null | undefined;
|
|
4601
|
+
readonly urlRenderBaseUrl?: string | undefined;
|
|
4602
|
+
readonly batchRows?: import("../util/batch/useBatchRows").BatchRow[] | undefined;
|
|
4571
4603
|
readonly "onUpdate:data"?: ((args_0: {
|
|
4572
4604
|
[k: string]: unknown;
|
|
4573
4605
|
}) => any) | undefined;
|
|
4574
4606
|
readonly onBack?: (() => any) | undefined;
|
|
4607
|
+
readonly "onUpdate:batchRows"?: ((args_0: import("../util/batch/useBatchRows").BatchRow[]) => any) | undefined;
|
|
4575
4608
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
4576
4609
|
$attrs: import("vue").Attrs;
|
|
4577
4610
|
$refs: {
|
|
@@ -4585,7 +4618,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4585
4618
|
$host: Element | null;
|
|
4586
4619
|
$emit: ((event: "update:data", args_0: {
|
|
4587
4620
|
[k: string]: unknown;
|
|
4588
|
-
}) => void) & ((event: "back") => void);
|
|
4621
|
+
}) => void) & ((event: "back") => void) & ((event: "update:batchRows", args_0: import("../util/batch/useBatchRows").BatchRow[]) => void);
|
|
4589
4622
|
$el: any;
|
|
4590
4623
|
$options: import("vue").ComponentOptionsBase<Readonly<{
|
|
4591
4624
|
bxCoreVersion?: string;
|
|
@@ -4638,11 +4671,18 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4638
4671
|
left: number;
|
|
4639
4672
|
};
|
|
4640
4673
|
analytics?: import("../main").ExportAnalyticsSink;
|
|
4674
|
+
editMode?: "single" | "batch" | "all";
|
|
4675
|
+
videoBatchMaxSize?: number;
|
|
4676
|
+
orgSlug?: string;
|
|
4677
|
+
templateAlias?: string | null;
|
|
4678
|
+
urlRenderBaseUrl?: string;
|
|
4679
|
+
batchRows?: import("../util/batch/useBatchRows").BatchRow[];
|
|
4641
4680
|
}> & Readonly<{
|
|
4642
4681
|
"onUpdate:data"?: ((args_0: {
|
|
4643
4682
|
[k: string]: unknown;
|
|
4644
4683
|
}) => any) | undefined;
|
|
4645
4684
|
onBack?: (() => any) | undefined;
|
|
4685
|
+
"onUpdate:batchRows"?: ((args_0: import("../util/batch/useBatchRows").BatchRow[]) => any) | undefined;
|
|
4646
4686
|
}>, {
|
|
4647
4687
|
templateViewRef: Ref<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4648
4688
|
bxCoreVersion?: string;
|
|
@@ -7486,8 +7526,11 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
7486
7526
|
[k: string]: unknown;
|
|
7487
7527
|
}) => any;
|
|
7488
7528
|
back: () => any;
|
|
7529
|
+
"update:batchRows": (args_0: import("../util/batch/useBatchRows").BatchRow[]) => any;
|
|
7489
7530
|
}, string, {
|
|
7490
7531
|
zoomAndPan: boolean;
|
|
7532
|
+
editMode: "single" | "batch" | "all";
|
|
7533
|
+
videoBatchMaxSize: number;
|
|
7491
7534
|
preCacheLocalRendering: boolean;
|
|
7492
7535
|
liveViewOffsetDesktop: {
|
|
7493
7536
|
top: number;
|
|
@@ -7523,6 +7566,8 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
7523
7566
|
$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;
|
|
7524
7567
|
} & Readonly<{
|
|
7525
7568
|
zoomAndPan: boolean;
|
|
7569
|
+
editMode: "single" | "batch" | "all";
|
|
7570
|
+
videoBatchMaxSize: number;
|
|
7526
7571
|
preCacheLocalRendering: boolean;
|
|
7527
7572
|
liveViewOffsetDesktop: {
|
|
7528
7573
|
top: number;
|
|
@@ -7587,12 +7632,19 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
7587
7632
|
left: number;
|
|
7588
7633
|
};
|
|
7589
7634
|
analytics?: import("../main").ExportAnalyticsSink;
|
|
7635
|
+
editMode?: "single" | "batch" | "all";
|
|
7636
|
+
videoBatchMaxSize?: number;
|
|
7637
|
+
orgSlug?: string;
|
|
7638
|
+
templateAlias?: string | null;
|
|
7639
|
+
urlRenderBaseUrl?: string;
|
|
7640
|
+
batchRows?: import("../util/batch/useBatchRows").BatchRow[];
|
|
7590
7641
|
}> & Readonly<{
|
|
7591
7642
|
"onUpdate:data"?: ((args_0: {
|
|
7592
7643
|
[k: string]: unknown;
|
|
7593
7644
|
}) => any) | undefined;
|
|
7594
7645
|
onBack?: (() => any) | undefined;
|
|
7595
|
-
|
|
7646
|
+
"onUpdate:batchRows"?: ((args_0: import("../util/batch/useBatchRows").BatchRow[]) => any) | undefined;
|
|
7647
|
+
}>, "templateViewRef" | ("zoomAndPan" | "editMode" | "videoBatchMaxSize" | "preCacheLocalRendering" | "liveViewOffsetDesktop" | "liveViewOffsetMobile")> & {
|
|
7596
7648
|
templateViewRef: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
7597
7649
|
bxCoreVersion?: string;
|
|
7598
7650
|
cloudflarePagesHostname?: string;
|
|
@@ -9032,8 +9084,9 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
9032
9084
|
id: number;
|
|
9033
9085
|
uid: string;
|
|
9034
9086
|
userId: string;
|
|
9087
|
+
orgId: number | null;
|
|
9035
9088
|
name: string;
|
|
9036
|
-
type: "template" | "email" | "
|
|
9089
|
+
type: "template" | "email" | "batch" | "widget" | "team" | "web";
|
|
9037
9090
|
active: boolean;
|
|
9038
9091
|
private: boolean;
|
|
9039
9092
|
password: string | null;
|
|
@@ -9052,7 +9105,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
9052
9105
|
templates: string[];
|
|
9053
9106
|
config: {
|
|
9054
9107
|
bluepicBranding: boolean;
|
|
9055
|
-
layout: "
|
|
9108
|
+
layout: "gallery" | "stack" | "selection:horizontal" | "selection:vertical";
|
|
9056
9109
|
allowPanAndZoom: boolean;
|
|
9057
9110
|
sortByCategories: boolean;
|
|
9058
9111
|
export: {
|
|
@@ -9073,6 +9126,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
9073
9126
|
trackLinks?: boolean | undefined;
|
|
9074
9127
|
redactLogging?: boolean | undefined;
|
|
9075
9128
|
};
|
|
9129
|
+
editMode?: "all" | "batch" | "single" | undefined;
|
|
9076
9130
|
logo?: string | undefined;
|
|
9077
9131
|
title?: string | undefined;
|
|
9078
9132
|
hints?: {
|
|
@@ -9169,8 +9223,9 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
9169
9223
|
id: number;
|
|
9170
9224
|
uid: string;
|
|
9171
9225
|
userId: string;
|
|
9226
|
+
orgId: number | null;
|
|
9172
9227
|
name: string;
|
|
9173
|
-
type: "template" | "email" | "
|
|
9228
|
+
type: "template" | "email" | "batch" | "widget" | "team" | "web";
|
|
9174
9229
|
active: boolean;
|
|
9175
9230
|
private: boolean;
|
|
9176
9231
|
password: string | null;
|
|
@@ -9189,7 +9244,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
9189
9244
|
templates: string[];
|
|
9190
9245
|
config: {
|
|
9191
9246
|
bluepicBranding: boolean;
|
|
9192
|
-
layout: "
|
|
9247
|
+
layout: "gallery" | "stack" | "selection:horizontal" | "selection:vertical";
|
|
9193
9248
|
allowPanAndZoom: boolean;
|
|
9194
9249
|
sortByCategories: boolean;
|
|
9195
9250
|
export: {
|
|
@@ -9210,6 +9265,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
9210
9265
|
trackLinks?: boolean | undefined;
|
|
9211
9266
|
redactLogging?: boolean | undefined;
|
|
9212
9267
|
};
|
|
9268
|
+
editMode?: "all" | "batch" | "single" | undefined;
|
|
9213
9269
|
logo?: string | undefined;
|
|
9214
9270
|
title?: string | undefined;
|
|
9215
9271
|
hints?: {
|