@bluepic/embed 0.4.0-next.134 → 0.4.0-next.136
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 +128 -128
- package/dist/bluepic-embed.umd.js +128 -128
- package/dist/components/TemplateEditor/BxTemplateEditor.vue.d.ts +9 -0
- package/dist/embed/embed.d.ts +6 -0
- package/dist/main.cjs +70 -70
- package/dist/main.d.ts +1 -0
- package/dist/main.mjs +11741 -11536
- package/dist/style.css +1 -1
- package/dist/util/export.d.ts +21 -3
- package/dist/util/gallery.d.ts +21 -0
- package/package.json +2 -2
|
@@ -26,6 +26,15 @@ type __VLS_Props = {
|
|
|
26
26
|
apiBaseUrl: string;
|
|
27
27
|
env: 'prod' | 'dev';
|
|
28
28
|
templateId: string;
|
|
29
|
+
/**
|
|
30
|
+
* Multi-canvas templates (canvases v2): the canvas the `serial` prop was
|
|
31
|
+
* materialized for. Rides on server-side render requests (the server
|
|
32
|
+
* refetches the persisted serial, whose root is the Default canvas, and
|
|
33
|
+
* must materialize the same canvas). Leave unset for single-format
|
|
34
|
+
* templates / the Default canvas — the request payload then stays
|
|
35
|
+
* byte-identical to before multi-canvas existed.
|
|
36
|
+
*/
|
|
37
|
+
canvasId?: string;
|
|
29
38
|
campaignId?: number;
|
|
30
39
|
name: string;
|
|
31
40
|
/**
|
package/dist/embed/embed.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
27
27
|
readonly apiBaseUrl: string;
|
|
28
28
|
readonly env: "prod" | "dev";
|
|
29
29
|
readonly templateId: string;
|
|
30
|
+
readonly canvasId?: string | undefined;
|
|
30
31
|
readonly campaignId?: number | undefined;
|
|
31
32
|
readonly name: string;
|
|
32
33
|
readonly captions?: {
|
|
@@ -95,6 +96,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
95
96
|
apiBaseUrl: string;
|
|
96
97
|
env: "prod" | "dev";
|
|
97
98
|
templateId: string;
|
|
99
|
+
canvasId?: string;
|
|
98
100
|
campaignId?: number;
|
|
99
101
|
name: string;
|
|
100
102
|
captions?: {
|
|
@@ -2888,6 +2890,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
2888
2890
|
apiBaseUrl: string;
|
|
2889
2891
|
env: "prod" | "dev";
|
|
2890
2892
|
templateId: string;
|
|
2893
|
+
canvasId?: string;
|
|
2891
2894
|
campaignId?: number;
|
|
2892
2895
|
name: string;
|
|
2893
2896
|
captions?: {
|
|
@@ -4293,6 +4296,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4293
4296
|
readonly apiBaseUrl: string;
|
|
4294
4297
|
readonly env: "prod" | "dev";
|
|
4295
4298
|
readonly templateId: string;
|
|
4299
|
+
readonly canvasId?: string | undefined;
|
|
4296
4300
|
readonly campaignId?: number | undefined;
|
|
4297
4301
|
readonly name: string;
|
|
4298
4302
|
readonly captions?: {
|
|
@@ -4361,6 +4365,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4361
4365
|
apiBaseUrl: string;
|
|
4362
4366
|
env: "prod" | "dev";
|
|
4363
4367
|
templateId: string;
|
|
4368
|
+
canvasId?: string;
|
|
4364
4369
|
campaignId?: number;
|
|
4365
4370
|
name: string;
|
|
4366
4371
|
captions?: {
|
|
@@ -7154,6 +7159,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
7154
7159
|
apiBaseUrl: string;
|
|
7155
7160
|
env: "prod" | "dev";
|
|
7156
7161
|
templateId: string;
|
|
7162
|
+
canvasId?: string;
|
|
7157
7163
|
campaignId?: number;
|
|
7158
7164
|
name: string;
|
|
7159
7165
|
captions?: {
|