@jetprint/editor-sdk 1.0.7 → 1.0.8
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 +11 -0
- package/dist/components/Editor/index.vue.d.ts +5 -1
- package/dist/editor-sdk.es.js +14426 -14374
- package/dist/index.d.ts +12 -3
- package/dist/renderWorker.js +2619 -2620
- package/dist/style.css +1 -1
- package/dist/utils/protection/encryptedModules.generated.d.ts +1 -1
- package/package.json +1 -1
|
@@ -157,6 +157,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
157
157
|
}>>>;
|
|
158
158
|
default: null;
|
|
159
159
|
};
|
|
160
|
+
/** 取消正在进行的多线程效果图渲染(来自 index.vue cancelEffectImagesRender);关闭查看大图/返回设计时调用 */
|
|
161
|
+
cancelRenderEffectImages: {
|
|
162
|
+
type: PropType<() => void>;
|
|
163
|
+
default: null;
|
|
164
|
+
};
|
|
160
165
|
theme1LayersExpanded: {
|
|
161
166
|
type: PropType<boolean>;
|
|
162
167
|
};
|
|
@@ -328,6 +333,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
328
333
|
}>>>;
|
|
329
334
|
default: null;
|
|
330
335
|
};
|
|
336
|
+
/** 取消正在进行的多线程效果图渲染(来自 index.vue cancelEffectImagesRender);关闭查看大图/返回设计时调用 */
|
|
337
|
+
cancelRenderEffectImages: {
|
|
338
|
+
type: PropType<() => void>;
|
|
339
|
+
default: null;
|
|
340
|
+
};
|
|
331
341
|
theme1LayersExpanded: {
|
|
332
342
|
type: PropType<boolean>;
|
|
333
343
|
};
|
|
@@ -390,6 +400,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
390
400
|
name?: string;
|
|
391
401
|
blob: Blob;
|
|
392
402
|
}>>;
|
|
403
|
+
cancelRenderEffectImages: () => void;
|
|
393
404
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
394
405
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
395
406
|
export default _default;
|
|
@@ -61,7 +61,9 @@ declare const __VLS_component: import("vue").DefineComponent<EditorProps, {
|
|
|
61
61
|
renderAllTemplatesByColor: () => Promise<RenderAllTemplatesByColorGroup[]>;
|
|
62
62
|
collectRenderBundle: () => Promise<import("../../utils/renderedImagesDB").RenderBundle>;
|
|
63
63
|
collectRenderBundleForSize: (size: string) => Promise<import("../../utils/renderedImagesDB").RenderBundle>;
|
|
64
|
-
collectRenderBundlesForSizesColors: (sizes?: string[], colors?: string[]
|
|
64
|
+
collectRenderBundlesForSizesColors: (sizes?: string[], colors?: string[], token?: {
|
|
65
|
+
cancelled: boolean;
|
|
66
|
+
}) => Promise<Array<{
|
|
65
67
|
size: string;
|
|
66
68
|
color: string;
|
|
67
69
|
bundle: any;
|
|
@@ -79,6 +81,8 @@ declare const __VLS_component: import("vue").DefineComponent<EditorProps, {
|
|
|
79
81
|
name?: string;
|
|
80
82
|
blob: Blob;
|
|
81
83
|
}>>;
|
|
84
|
+
/** 取消正在进行的多尺码×多颜色效果图渲染(如查看大图返回设计时) */
|
|
85
|
+
cancelEffectImagesRender: () => void;
|
|
82
86
|
triggerRenderAllTemplates: () => Promise<Array<{
|
|
83
87
|
index: number;
|
|
84
88
|
bitmap: ImageBitmap | null;
|