@jetprint/editor-sdk 1.0.7 → 1.0.9

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.
@@ -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[]) => Promise<Array<{
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;