@jetprint/editor-sdk 1.2.16 → 1.2.20
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/headless/composeProductionImage.d.ts +10 -2
- package/dist/components/Editor/index.vue.d.ts +11 -3
- package/dist/components/Editor/utils/pillow3dPreview.d.ts +22 -0
- package/dist/editor-sdk.es.js +62929 -60276
- package/dist/index.d.ts +22 -0
- package/dist/style.css +1 -1
- package/dist/types.d.ts +11 -0
- package/dist/utils/optimizePng.d.ts +14 -0
- package/dist/utils/protection/encryptedModules.generated.d.ts +1 -1
- package/dist/utils/renderedImagesDB.d.ts +9 -0
- package/package.json +2 -1
- package/dist/headless.global.js +0 -504
package/dist/index.d.ts
CHANGED
|
@@ -5,8 +5,10 @@ export * from './types';
|
|
|
5
5
|
export type { EditorLocale } from './locales/editor-locales';
|
|
6
6
|
export { EDITOR_SUPPORTED_LOCALES, EDITOR_FALLBACK_LOCALE, isEditorLocale, normalizeEditorLocaleParam } from './locales/editor-locales';
|
|
7
7
|
export * from './utils/renderService';
|
|
8
|
+
export { renderByJsonWithThree } from './utils/threeRenderService';
|
|
8
9
|
export * from './utils/fileToken';
|
|
9
10
|
export { fetchJsonWithFileTokenCached, clearJsonFileCache } from './utils/jsonFileCache';
|
|
11
|
+
export { optimizePngBlob } from './utils/optimizePng';
|
|
10
12
|
export * from './utils/license';
|
|
11
13
|
export { startBackgroundRender, startBackgroundRenderAsync, resumePendingTasks, putRenderTaskPlaceholder } from './utils/backgroundRenderer';
|
|
12
14
|
export { getLocalImageUrls, getRenderTask, getPendingTasks, updateRenderTaskStatus, appendRenderedImage } from './utils/renderedImagesDB';
|
|
@@ -66,6 +68,10 @@ declare const _default: {
|
|
|
66
68
|
}> & Readonly<{
|
|
67
69
|
"onUpdate:locale"?: ((value: "zh-CN" | "en-US" | "ja-JP" | "ko-KR" | "vi-VN") => any) | undefined;
|
|
68
70
|
"onUpdate:uiTheme"?: ((value: import("./types").EditorUiTheme) => any) | undefined;
|
|
71
|
+
"onProduct-change"?: ((payload: {
|
|
72
|
+
id: string | number;
|
|
73
|
+
name?: string;
|
|
74
|
+
}) => any) | undefined;
|
|
69
75
|
}>, {
|
|
70
76
|
renderAllTemplates: () => Promise<Array<{
|
|
71
77
|
index: number;
|
|
@@ -145,6 +151,10 @@ declare const _default: {
|
|
|
145
151
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
146
152
|
"update:locale": (value: "zh-CN" | "en-US" | "ja-JP" | "ko-KR" | "vi-VN") => any;
|
|
147
153
|
"update:uiTheme": (value: import("./types").EditorUiTheme) => any;
|
|
154
|
+
"product-change": (payload: {
|
|
155
|
+
id: string | number;
|
|
156
|
+
name?: string;
|
|
157
|
+
}) => any;
|
|
148
158
|
}, import("vue").PublicProps, {
|
|
149
159
|
product: import("./types").ProductItem | null;
|
|
150
160
|
fileToken: string | null;
|
|
@@ -221,6 +231,10 @@ declare const _default: {
|
|
|
221
231
|
}> & Readonly<{
|
|
222
232
|
"onUpdate:locale"?: ((value: "zh-CN" | "en-US" | "ja-JP" | "ko-KR" | "vi-VN") => any) | undefined;
|
|
223
233
|
"onUpdate:uiTheme"?: ((value: import("./types").EditorUiTheme) => any) | undefined;
|
|
234
|
+
"onProduct-change"?: ((payload: {
|
|
235
|
+
id: string | number;
|
|
236
|
+
name?: string;
|
|
237
|
+
}) => any) | undefined;
|
|
224
238
|
}>, {
|
|
225
239
|
renderAllTemplates: () => Promise<Array<{
|
|
226
240
|
index: number;
|
|
@@ -370,6 +384,10 @@ declare const _default: {
|
|
|
370
384
|
}> & Readonly<{
|
|
371
385
|
"onUpdate:locale"?: ((value: "zh-CN" | "en-US" | "ja-JP" | "ko-KR" | "vi-VN") => any) | undefined;
|
|
372
386
|
"onUpdate:uiTheme"?: ((value: import("./types").EditorUiTheme) => any) | undefined;
|
|
387
|
+
"onProduct-change"?: ((payload: {
|
|
388
|
+
id: string | number;
|
|
389
|
+
name?: string;
|
|
390
|
+
}) => any) | undefined;
|
|
373
391
|
}>, {
|
|
374
392
|
renderAllTemplates: () => Promise<Array<{
|
|
375
393
|
index: number;
|
|
@@ -449,6 +467,10 @@ declare const _default: {
|
|
|
449
467
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
450
468
|
"update:locale": (value: "zh-CN" | "en-US" | "ja-JP" | "ko-KR" | "vi-VN") => any;
|
|
451
469
|
"update:uiTheme": (value: import("./types").EditorUiTheme) => any;
|
|
470
|
+
"product-change": (payload: {
|
|
471
|
+
id: string | number;
|
|
472
|
+
name?: string;
|
|
473
|
+
}) => any;
|
|
452
474
|
}, string, {
|
|
453
475
|
product: import("./types").ProductItem | null;
|
|
454
476
|
fileToken: string | null;
|