@jetprint/editor-sdk 1.2.16 → 1.2.17
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/components/Editor/components/PreviewPanel.vue.d.ts +1 -0
- package/dist/components/Editor/composables/useDiecutScreenshot.d.ts +5 -0
- package/dist/components/Editor/composables/usePreviewRenderer.d.ts +3 -0
- package/dist/components/Editor/composables/useProductData.d.ts +2 -0
- package/dist/components/Editor/index.vue.d.ts +11 -3
- package/dist/components/Editor/utils/pillow3dPreview.d.ts +14 -0
- package/dist/editor-sdk.es.js +45021 -44713
- package/dist/index.d.ts +20 -0
- package/dist/style.css +1 -1
- package/dist/types.d.ts +7 -0
- package/dist/utils/protection/encryptedModules.generated.d.ts +1 -1
- package/dist/utils/renderedImagesDB.d.ts +3 -0
- package/package.json +1 -1
- package/dist/headless.global.js +0 -504
package/dist/index.d.ts
CHANGED
|
@@ -66,6 +66,10 @@ declare const _default: {
|
|
|
66
66
|
}> & Readonly<{
|
|
67
67
|
"onUpdate:locale"?: ((value: "zh-CN" | "en-US" | "ja-JP" | "ko-KR" | "vi-VN") => any) | undefined;
|
|
68
68
|
"onUpdate:uiTheme"?: ((value: import("./types").EditorUiTheme) => any) | undefined;
|
|
69
|
+
"onProduct-change"?: ((payload: {
|
|
70
|
+
id: string | number;
|
|
71
|
+
name?: string;
|
|
72
|
+
}) => any) | undefined;
|
|
69
73
|
}>, {
|
|
70
74
|
renderAllTemplates: () => Promise<Array<{
|
|
71
75
|
index: number;
|
|
@@ -145,6 +149,10 @@ declare const _default: {
|
|
|
145
149
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
146
150
|
"update:locale": (value: "zh-CN" | "en-US" | "ja-JP" | "ko-KR" | "vi-VN") => any;
|
|
147
151
|
"update:uiTheme": (value: import("./types").EditorUiTheme) => any;
|
|
152
|
+
"product-change": (payload: {
|
|
153
|
+
id: string | number;
|
|
154
|
+
name?: string;
|
|
155
|
+
}) => any;
|
|
148
156
|
}, import("vue").PublicProps, {
|
|
149
157
|
product: import("./types").ProductItem | null;
|
|
150
158
|
fileToken: string | null;
|
|
@@ -221,6 +229,10 @@ declare const _default: {
|
|
|
221
229
|
}> & Readonly<{
|
|
222
230
|
"onUpdate:locale"?: ((value: "zh-CN" | "en-US" | "ja-JP" | "ko-KR" | "vi-VN") => any) | undefined;
|
|
223
231
|
"onUpdate:uiTheme"?: ((value: import("./types").EditorUiTheme) => any) | undefined;
|
|
232
|
+
"onProduct-change"?: ((payload: {
|
|
233
|
+
id: string | number;
|
|
234
|
+
name?: string;
|
|
235
|
+
}) => any) | undefined;
|
|
224
236
|
}>, {
|
|
225
237
|
renderAllTemplates: () => Promise<Array<{
|
|
226
238
|
index: number;
|
|
@@ -370,6 +382,10 @@ declare const _default: {
|
|
|
370
382
|
}> & Readonly<{
|
|
371
383
|
"onUpdate:locale"?: ((value: "zh-CN" | "en-US" | "ja-JP" | "ko-KR" | "vi-VN") => any) | undefined;
|
|
372
384
|
"onUpdate:uiTheme"?: ((value: import("./types").EditorUiTheme) => any) | undefined;
|
|
385
|
+
"onProduct-change"?: ((payload: {
|
|
386
|
+
id: string | number;
|
|
387
|
+
name?: string;
|
|
388
|
+
}) => any) | undefined;
|
|
373
389
|
}>, {
|
|
374
390
|
renderAllTemplates: () => Promise<Array<{
|
|
375
391
|
index: number;
|
|
@@ -449,6 +465,10 @@ declare const _default: {
|
|
|
449
465
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
450
466
|
"update:locale": (value: "zh-CN" | "en-US" | "ja-JP" | "ko-KR" | "vi-VN") => any;
|
|
451
467
|
"update:uiTheme": (value: import("./types").EditorUiTheme) => any;
|
|
468
|
+
"product-change": (payload: {
|
|
469
|
+
id: string | number;
|
|
470
|
+
name?: string;
|
|
471
|
+
}) => any;
|
|
452
472
|
}, string, {
|
|
453
473
|
product: import("./types").ProductItem | null;
|
|
454
474
|
fileToken: string | null;
|