@lucablockltd/ultimate-packaging 1.2.0 → 1.3.0
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/index.d.mts +129 -25
- package/dist/index.d.ts +129 -25
- package/dist/index.js +2000 -468
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1997 -469
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -10,7 +10,7 @@ interface TuckEndBoxAttributes$2 {
|
|
|
10
10
|
tuckFlap: number;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
interface GetAttributesResult$
|
|
13
|
+
interface GetAttributesResult$7 {
|
|
14
14
|
modelId: string;
|
|
15
15
|
overallWidth: number;
|
|
16
16
|
overallHeight: number;
|
|
@@ -21,13 +21,13 @@ interface GetAttributesResult$5 {
|
|
|
21
21
|
dustFlap: number;
|
|
22
22
|
tuckFlap: number;
|
|
23
23
|
}
|
|
24
|
-
interface ExportImageOptions$
|
|
24
|
+
interface ExportImageOptions$7 {
|
|
25
25
|
isShowDimension: boolean;
|
|
26
26
|
originalSize: boolean;
|
|
27
27
|
}
|
|
28
28
|
interface DieLineBecf1010aRef {
|
|
29
|
-
getAttributes: () => GetAttributesResult$
|
|
30
|
-
exportImage: (options: ExportImageOptions$
|
|
29
|
+
getAttributes: () => GetAttributesResult$7;
|
|
30
|
+
exportImage: (options: ExportImageOptions$7) => Promise<Blob>;
|
|
31
31
|
exportDimension: () => Promise<Blob>;
|
|
32
32
|
}
|
|
33
33
|
interface CanvasBecf1010aRef extends DieLineBecf1010aRef {
|
|
@@ -62,7 +62,7 @@ interface TuckEndBoxAttributes$1 {
|
|
|
62
62
|
tuckFlap: number;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
interface GetAttributesResult$
|
|
65
|
+
interface GetAttributesResult$6 {
|
|
66
66
|
modelId: string;
|
|
67
67
|
overallWidth: number;
|
|
68
68
|
overallHeight: number;
|
|
@@ -73,13 +73,13 @@ interface GetAttributesResult$4 {
|
|
|
73
73
|
dustFlap: number;
|
|
74
74
|
tuckFlap: number;
|
|
75
75
|
}
|
|
76
|
-
interface ExportImageOptions$
|
|
76
|
+
interface ExportImageOptions$6 {
|
|
77
77
|
isShowDimension: boolean;
|
|
78
78
|
originalSize: boolean;
|
|
79
79
|
}
|
|
80
80
|
interface DieLineBecf1030aRef {
|
|
81
|
-
getAttributes: () => GetAttributesResult$
|
|
82
|
-
exportImage: (options: ExportImageOptions$
|
|
81
|
+
getAttributes: () => GetAttributesResult$6;
|
|
82
|
+
exportImage: (options: ExportImageOptions$6) => Promise<Blob>;
|
|
83
83
|
exportDimension: () => Promise<Blob>;
|
|
84
84
|
}
|
|
85
85
|
interface CanvasBecf1030aRef extends DieLineBecf1030aRef {
|
|
@@ -104,7 +104,7 @@ interface TuckEndBoxAttributes {
|
|
|
104
104
|
tuckFlap: number;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
interface GetAttributesResult$
|
|
107
|
+
interface GetAttributesResult$5 {
|
|
108
108
|
modelId: string;
|
|
109
109
|
overallWidth: number;
|
|
110
110
|
overallHeight: number;
|
|
@@ -115,13 +115,13 @@ interface GetAttributesResult$3 {
|
|
|
115
115
|
dustFlap: number;
|
|
116
116
|
tuckFlap: number;
|
|
117
117
|
}
|
|
118
|
-
interface ExportImageOptions$
|
|
118
|
+
interface ExportImageOptions$5 {
|
|
119
119
|
isShowDimension: boolean;
|
|
120
120
|
originalSize: boolean;
|
|
121
121
|
}
|
|
122
122
|
interface DieLineBecf1040aRef {
|
|
123
|
-
getAttributes: () => GetAttributesResult$
|
|
124
|
-
exportImage: (options: ExportImageOptions$
|
|
123
|
+
getAttributes: () => GetAttributesResult$5;
|
|
124
|
+
exportImage: (options: ExportImageOptions$5) => Promise<Blob>;
|
|
125
125
|
exportDimension: () => Promise<Blob>;
|
|
126
126
|
}
|
|
127
127
|
interface CanvasBecf1040aRef extends DieLineBecf1040aRef {
|
|
@@ -145,7 +145,7 @@ interface StandardBoxAttributes {
|
|
|
145
145
|
glueArea: number;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
interface GetAttributesResult$
|
|
148
|
+
interface GetAttributesResult$4 {
|
|
149
149
|
modelId: string;
|
|
150
150
|
overallWidth: number;
|
|
151
151
|
overallHeight: number;
|
|
@@ -155,13 +155,13 @@ interface GetAttributesResult$2 {
|
|
|
155
155
|
flapHeight: number;
|
|
156
156
|
glueArea: number;
|
|
157
157
|
}
|
|
158
|
-
interface ExportImageOptions$
|
|
158
|
+
interface ExportImageOptions$4 {
|
|
159
159
|
isShowDimension: boolean;
|
|
160
160
|
originalSize: boolean;
|
|
161
161
|
}
|
|
162
162
|
interface DieLineBecf11d01Ref {
|
|
163
|
-
getAttributes: () => GetAttributesResult$
|
|
164
|
-
exportImage: (options: ExportImageOptions$
|
|
163
|
+
getAttributes: () => GetAttributesResult$4;
|
|
164
|
+
exportImage: (options: ExportImageOptions$4) => Promise<Blob>;
|
|
165
165
|
exportDimension: () => Promise<Blob>;
|
|
166
166
|
}
|
|
167
167
|
interface CanvasBecf11d01Ref extends DieLineBecf11d01Ref {
|
|
@@ -184,7 +184,7 @@ interface CartonBagAttributes {
|
|
|
184
184
|
glueArea?: number;
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
interface GetAttributesResult$
|
|
187
|
+
interface GetAttributesResult$3 {
|
|
188
188
|
modelId: string;
|
|
189
189
|
overallWidth: number;
|
|
190
190
|
overallHeight: number;
|
|
@@ -199,13 +199,13 @@ interface GetAttributesResult$1 {
|
|
|
199
199
|
ropeY: number;
|
|
200
200
|
ropeX: number;
|
|
201
201
|
}
|
|
202
|
-
interface ExportImageOptions$
|
|
202
|
+
interface ExportImageOptions$3 {
|
|
203
203
|
isShowDimension: boolean;
|
|
204
204
|
originalSize: boolean;
|
|
205
205
|
}
|
|
206
206
|
interface DieLineBecf12101Ref {
|
|
207
|
-
getAttributes: () => GetAttributesResult$
|
|
208
|
-
exportImage: (options: ExportImageOptions$
|
|
207
|
+
getAttributes: () => GetAttributesResult$3;
|
|
208
|
+
exportImage: (options: ExportImageOptions$3) => Promise<Blob>;
|
|
209
209
|
exportDimension: () => Promise<Blob>;
|
|
210
210
|
}
|
|
211
211
|
interface CanvasBecf12101Ref extends DieLineBecf12101Ref {
|
|
@@ -228,7 +228,7 @@ interface CartonBag12109Attributes {
|
|
|
228
228
|
glueArea?: number;
|
|
229
229
|
}
|
|
230
230
|
|
|
231
|
-
interface GetAttributesResult {
|
|
231
|
+
interface GetAttributesResult$2 {
|
|
232
232
|
modelId: string;
|
|
233
233
|
overallWidth: number;
|
|
234
234
|
overallHeight: number;
|
|
@@ -243,13 +243,13 @@ interface GetAttributesResult {
|
|
|
243
243
|
ropeY: number;
|
|
244
244
|
ropeX: number;
|
|
245
245
|
}
|
|
246
|
-
interface ExportImageOptions {
|
|
246
|
+
interface ExportImageOptions$2 {
|
|
247
247
|
isShowDimension: boolean;
|
|
248
248
|
originalSize: boolean;
|
|
249
249
|
}
|
|
250
250
|
interface DieLineBecf12109Ref {
|
|
251
|
-
getAttributes: () => GetAttributesResult;
|
|
252
|
-
exportImage: (options: ExportImageOptions) => Promise<Blob>;
|
|
251
|
+
getAttributes: () => GetAttributesResult$2;
|
|
252
|
+
exportImage: (options: ExportImageOptions$2) => Promise<Blob>;
|
|
253
253
|
exportDimension: () => Promise<Blob>;
|
|
254
254
|
}
|
|
255
255
|
interface CanvasBecf12109Ref extends DieLineBecf12109Ref {
|
|
@@ -265,6 +265,96 @@ interface ModelBecf12109Props {
|
|
|
265
265
|
}
|
|
266
266
|
declare const MODEL_BECF_12109: react.ForwardRefExoticComponent<ModelBecf12109Props & react.RefAttributes<DieLineBecf12109Ref | CanvasBecf12109Ref>>;
|
|
267
267
|
|
|
268
|
+
interface CartonBagC12101Attributes {
|
|
269
|
+
length: number;
|
|
270
|
+
width: number;
|
|
271
|
+
height: number;
|
|
272
|
+
glueArea?: number;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
interface GetAttributesResult$1 {
|
|
276
|
+
modelId: string;
|
|
277
|
+
overallWidth: number;
|
|
278
|
+
overallHeight: number;
|
|
279
|
+
length: number;
|
|
280
|
+
width: number;
|
|
281
|
+
height: number;
|
|
282
|
+
glueArea: number;
|
|
283
|
+
d: number;
|
|
284
|
+
kulak: number;
|
|
285
|
+
dip: number;
|
|
286
|
+
ribbonHW: number;
|
|
287
|
+
ribbonDX: number;
|
|
288
|
+
ribbonDY: number;
|
|
289
|
+
ribbonX: number;
|
|
290
|
+
}
|
|
291
|
+
interface ExportImageOptions$1 {
|
|
292
|
+
isShowDimension: boolean;
|
|
293
|
+
originalSize: boolean;
|
|
294
|
+
}
|
|
295
|
+
interface DieLineBecfC12101Ref {
|
|
296
|
+
getAttributes: () => GetAttributesResult$1;
|
|
297
|
+
exportImage: (options: ExportImageOptions$1) => Promise<Blob>;
|
|
298
|
+
exportDimension: () => Promise<Blob>;
|
|
299
|
+
}
|
|
300
|
+
interface CanvasBecfC12101Ref extends DieLineBecfC12101Ref {
|
|
301
|
+
resetView: () => void;
|
|
302
|
+
fitView: () => void;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
interface ModelBecfC12101Props {
|
|
306
|
+
attributes: CartonBagC12101Attributes;
|
|
307
|
+
unit?: "mm" | "cm" | "in";
|
|
308
|
+
mode?: ModelMode;
|
|
309
|
+
isShowDimensions?: boolean;
|
|
310
|
+
}
|
|
311
|
+
declare const MODEL_BECF_C_12101: react.ForwardRefExoticComponent<ModelBecfC12101Props & react.RefAttributes<DieLineBecfC12101Ref | CanvasBecfC12101Ref>>;
|
|
312
|
+
|
|
313
|
+
interface CartonBagC12109Attributes {
|
|
314
|
+
length: number;
|
|
315
|
+
width: number;
|
|
316
|
+
height: number;
|
|
317
|
+
glueArea?: number;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
interface GetAttributesResult {
|
|
321
|
+
modelId: string;
|
|
322
|
+
overallWidth: number;
|
|
323
|
+
overallHeight: number;
|
|
324
|
+
length: number;
|
|
325
|
+
width: number;
|
|
326
|
+
height: number;
|
|
327
|
+
glueArea: number;
|
|
328
|
+
d: number;
|
|
329
|
+
kulak: number;
|
|
330
|
+
dip: number;
|
|
331
|
+
ribbonHW: number;
|
|
332
|
+
ribbonDX: number;
|
|
333
|
+
ribbonDY: number;
|
|
334
|
+
ribbonX: number;
|
|
335
|
+
}
|
|
336
|
+
interface ExportImageOptions {
|
|
337
|
+
isShowDimension: boolean;
|
|
338
|
+
originalSize: boolean;
|
|
339
|
+
}
|
|
340
|
+
interface DieLineBecfC12109Ref {
|
|
341
|
+
getAttributes: () => GetAttributesResult;
|
|
342
|
+
exportImage: (options: ExportImageOptions) => Promise<Blob>;
|
|
343
|
+
exportDimension: () => Promise<Blob>;
|
|
344
|
+
}
|
|
345
|
+
interface CanvasBecfC12109Ref extends DieLineBecfC12109Ref {
|
|
346
|
+
resetView: () => void;
|
|
347
|
+
fitView: () => void;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
interface ModelBecfC12109Props {
|
|
351
|
+
attributes: CartonBagC12109Attributes;
|
|
352
|
+
unit?: "mm" | "cm" | "in";
|
|
353
|
+
mode?: ModelMode;
|
|
354
|
+
isShowDimensions?: boolean;
|
|
355
|
+
}
|
|
356
|
+
declare const MODEL_BECF_C_12109: react.ForwardRefExoticComponent<ModelBecfC12109Props & react.RefAttributes<DieLineBecfC12109Ref | CanvasBecfC12109Ref>>;
|
|
357
|
+
|
|
268
358
|
type GripperSide = "top" | "bottom" | "left" | "right";
|
|
269
359
|
interface AutoLayoutPaper {
|
|
270
360
|
paperId: string;
|
|
@@ -426,6 +516,20 @@ declare const BECF_12109_DEFAULT_ATTRIBUTES: {
|
|
|
426
516
|
glueArea: number;
|
|
427
517
|
};
|
|
428
518
|
|
|
519
|
+
declare const BECF_C_12101_DEFAULT_ATTRIBUTES: {
|
|
520
|
+
length: number;
|
|
521
|
+
width: number;
|
|
522
|
+
height: number;
|
|
523
|
+
glueArea: number;
|
|
524
|
+
};
|
|
525
|
+
|
|
526
|
+
declare const BECF_C_12109_DEFAULT_ATTRIBUTES: {
|
|
527
|
+
length: number;
|
|
528
|
+
width: number;
|
|
529
|
+
height: number;
|
|
530
|
+
glueArea: number;
|
|
531
|
+
};
|
|
532
|
+
|
|
429
533
|
interface ModelThemeConfig {
|
|
430
534
|
colorBackground: string;
|
|
431
535
|
colorDieLine: string;
|
|
@@ -453,4 +557,4 @@ interface UltimatePackagingConfig {
|
|
|
453
557
|
}
|
|
454
558
|
declare function configurePackaging(config: UltimatePackagingConfig): void;
|
|
455
559
|
|
|
456
|
-
export { AUTO_LAYOUT, AUTO_LAYOUT_THEME_CONFIG, type AutoLayoutConfig, type AutoLayoutModel, type AutoLayoutPaper, type AutoLayoutPaperResult, type AutoLayoutPlacement, type AutoLayoutProps, type AutoLayoutRef, type AutoLayoutResult, type AutoLayoutThemeConfig, BECF_1010A_DEFAULT_ATTRIBUTES, BECF_1030A_DEFAULT_ATTRIBUTES, BECF_1040A_DEFAULT_ATTRIBUTES, BECF_11D01_DEFAULT_ATTRIBUTES, BECF_12101_DEFAULT_ATTRIBUTES, BECF_12109_DEFAULT_ATTRIBUTES, type CartonBag12109Attributes, type CartonBagAttributes, Colorbar, type ColorbarProps, DIE_LINE_LAYOUT, type DieLineLayoutProps, type DieLineLayoutRef, type ExportImageOptions$
|
|
560
|
+
export { AUTO_LAYOUT, AUTO_LAYOUT_THEME_CONFIG, type AutoLayoutConfig, type AutoLayoutModel, type AutoLayoutPaper, type AutoLayoutPaperResult, type AutoLayoutPlacement, type AutoLayoutProps, type AutoLayoutRef, type AutoLayoutResult, type AutoLayoutThemeConfig, BECF_1010A_DEFAULT_ATTRIBUTES, BECF_1030A_DEFAULT_ATTRIBUTES, BECF_1040A_DEFAULT_ATTRIBUTES, BECF_11D01_DEFAULT_ATTRIBUTES, BECF_12101_DEFAULT_ATTRIBUTES, BECF_12109_DEFAULT_ATTRIBUTES, BECF_C_12101_DEFAULT_ATTRIBUTES, BECF_C_12109_DEFAULT_ATTRIBUTES, type CartonBag12109Attributes, type CartonBagAttributes, type CartonBagC12101Attributes, type CartonBagC12109Attributes, Colorbar, type ColorbarProps, DIE_LINE_LAYOUT, type DieLineLayoutProps, type DieLineLayoutRef, type ExportImageOptions$7 as ExportImageOptions, type GetAttributesResult$7 as GetAttributesResult, Gripper, type GripperProps, type GripperSide, MODEL_BECF_1010A, MODEL_BECF_1030A, MODEL_BECF_1040A, MODEL_BECF_11D01, MODEL_BECF_12101, MODEL_BECF_12109, MODEL_BECF_C_12101, MODEL_BECF_C_12109, MODEL_THEME_CONFIG, type ModelBecf1010aProps, type CanvasBecf1010aRef as ModelBecf1010aRef, type ModelBecf1030aProps, type CanvasBecf1030aRef as ModelBecf1030aRef, type ModelBecf1040aProps, type CanvasBecf1040aRef as ModelBecf1040aRef, type ModelBecf11d01Props, type CanvasBecf11d01Ref as ModelBecf11d01Ref, type ModelBecf12101Props, type CanvasBecf12101Ref as ModelBecf12101Ref, type ModelBecf12109Props, type CanvasBecf12109Ref as ModelBecf12109Ref, type ModelBecfC12101Props, type CanvasBecfC12101Ref as ModelBecfC12101Ref, type ModelBecfC12109Props, type CanvasBecfC12109Ref as ModelBecfC12109Ref, type ModelMode, type ModelThemeConfig, type PackagingModel, type StandardBoxAttributes, type TuckEndBoxAttributes$2 as TuckEndBoxAttributes, type UltimatePackagingConfig, appendColorbarToSvg, appendGripperToSvg, calculateAutoLayout, configurePackaging, modelList };
|
package/dist/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ interface TuckEndBoxAttributes$2 {
|
|
|
10
10
|
tuckFlap: number;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
interface GetAttributesResult$
|
|
13
|
+
interface GetAttributesResult$7 {
|
|
14
14
|
modelId: string;
|
|
15
15
|
overallWidth: number;
|
|
16
16
|
overallHeight: number;
|
|
@@ -21,13 +21,13 @@ interface GetAttributesResult$5 {
|
|
|
21
21
|
dustFlap: number;
|
|
22
22
|
tuckFlap: number;
|
|
23
23
|
}
|
|
24
|
-
interface ExportImageOptions$
|
|
24
|
+
interface ExportImageOptions$7 {
|
|
25
25
|
isShowDimension: boolean;
|
|
26
26
|
originalSize: boolean;
|
|
27
27
|
}
|
|
28
28
|
interface DieLineBecf1010aRef {
|
|
29
|
-
getAttributes: () => GetAttributesResult$
|
|
30
|
-
exportImage: (options: ExportImageOptions$
|
|
29
|
+
getAttributes: () => GetAttributesResult$7;
|
|
30
|
+
exportImage: (options: ExportImageOptions$7) => Promise<Blob>;
|
|
31
31
|
exportDimension: () => Promise<Blob>;
|
|
32
32
|
}
|
|
33
33
|
interface CanvasBecf1010aRef extends DieLineBecf1010aRef {
|
|
@@ -62,7 +62,7 @@ interface TuckEndBoxAttributes$1 {
|
|
|
62
62
|
tuckFlap: number;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
interface GetAttributesResult$
|
|
65
|
+
interface GetAttributesResult$6 {
|
|
66
66
|
modelId: string;
|
|
67
67
|
overallWidth: number;
|
|
68
68
|
overallHeight: number;
|
|
@@ -73,13 +73,13 @@ interface GetAttributesResult$4 {
|
|
|
73
73
|
dustFlap: number;
|
|
74
74
|
tuckFlap: number;
|
|
75
75
|
}
|
|
76
|
-
interface ExportImageOptions$
|
|
76
|
+
interface ExportImageOptions$6 {
|
|
77
77
|
isShowDimension: boolean;
|
|
78
78
|
originalSize: boolean;
|
|
79
79
|
}
|
|
80
80
|
interface DieLineBecf1030aRef {
|
|
81
|
-
getAttributes: () => GetAttributesResult$
|
|
82
|
-
exportImage: (options: ExportImageOptions$
|
|
81
|
+
getAttributes: () => GetAttributesResult$6;
|
|
82
|
+
exportImage: (options: ExportImageOptions$6) => Promise<Blob>;
|
|
83
83
|
exportDimension: () => Promise<Blob>;
|
|
84
84
|
}
|
|
85
85
|
interface CanvasBecf1030aRef extends DieLineBecf1030aRef {
|
|
@@ -104,7 +104,7 @@ interface TuckEndBoxAttributes {
|
|
|
104
104
|
tuckFlap: number;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
interface GetAttributesResult$
|
|
107
|
+
interface GetAttributesResult$5 {
|
|
108
108
|
modelId: string;
|
|
109
109
|
overallWidth: number;
|
|
110
110
|
overallHeight: number;
|
|
@@ -115,13 +115,13 @@ interface GetAttributesResult$3 {
|
|
|
115
115
|
dustFlap: number;
|
|
116
116
|
tuckFlap: number;
|
|
117
117
|
}
|
|
118
|
-
interface ExportImageOptions$
|
|
118
|
+
interface ExportImageOptions$5 {
|
|
119
119
|
isShowDimension: boolean;
|
|
120
120
|
originalSize: boolean;
|
|
121
121
|
}
|
|
122
122
|
interface DieLineBecf1040aRef {
|
|
123
|
-
getAttributes: () => GetAttributesResult$
|
|
124
|
-
exportImage: (options: ExportImageOptions$
|
|
123
|
+
getAttributes: () => GetAttributesResult$5;
|
|
124
|
+
exportImage: (options: ExportImageOptions$5) => Promise<Blob>;
|
|
125
125
|
exportDimension: () => Promise<Blob>;
|
|
126
126
|
}
|
|
127
127
|
interface CanvasBecf1040aRef extends DieLineBecf1040aRef {
|
|
@@ -145,7 +145,7 @@ interface StandardBoxAttributes {
|
|
|
145
145
|
glueArea: number;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
interface GetAttributesResult$
|
|
148
|
+
interface GetAttributesResult$4 {
|
|
149
149
|
modelId: string;
|
|
150
150
|
overallWidth: number;
|
|
151
151
|
overallHeight: number;
|
|
@@ -155,13 +155,13 @@ interface GetAttributesResult$2 {
|
|
|
155
155
|
flapHeight: number;
|
|
156
156
|
glueArea: number;
|
|
157
157
|
}
|
|
158
|
-
interface ExportImageOptions$
|
|
158
|
+
interface ExportImageOptions$4 {
|
|
159
159
|
isShowDimension: boolean;
|
|
160
160
|
originalSize: boolean;
|
|
161
161
|
}
|
|
162
162
|
interface DieLineBecf11d01Ref {
|
|
163
|
-
getAttributes: () => GetAttributesResult$
|
|
164
|
-
exportImage: (options: ExportImageOptions$
|
|
163
|
+
getAttributes: () => GetAttributesResult$4;
|
|
164
|
+
exportImage: (options: ExportImageOptions$4) => Promise<Blob>;
|
|
165
165
|
exportDimension: () => Promise<Blob>;
|
|
166
166
|
}
|
|
167
167
|
interface CanvasBecf11d01Ref extends DieLineBecf11d01Ref {
|
|
@@ -184,7 +184,7 @@ interface CartonBagAttributes {
|
|
|
184
184
|
glueArea?: number;
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
interface GetAttributesResult$
|
|
187
|
+
interface GetAttributesResult$3 {
|
|
188
188
|
modelId: string;
|
|
189
189
|
overallWidth: number;
|
|
190
190
|
overallHeight: number;
|
|
@@ -199,13 +199,13 @@ interface GetAttributesResult$1 {
|
|
|
199
199
|
ropeY: number;
|
|
200
200
|
ropeX: number;
|
|
201
201
|
}
|
|
202
|
-
interface ExportImageOptions$
|
|
202
|
+
interface ExportImageOptions$3 {
|
|
203
203
|
isShowDimension: boolean;
|
|
204
204
|
originalSize: boolean;
|
|
205
205
|
}
|
|
206
206
|
interface DieLineBecf12101Ref {
|
|
207
|
-
getAttributes: () => GetAttributesResult$
|
|
208
|
-
exportImage: (options: ExportImageOptions$
|
|
207
|
+
getAttributes: () => GetAttributesResult$3;
|
|
208
|
+
exportImage: (options: ExportImageOptions$3) => Promise<Blob>;
|
|
209
209
|
exportDimension: () => Promise<Blob>;
|
|
210
210
|
}
|
|
211
211
|
interface CanvasBecf12101Ref extends DieLineBecf12101Ref {
|
|
@@ -228,7 +228,7 @@ interface CartonBag12109Attributes {
|
|
|
228
228
|
glueArea?: number;
|
|
229
229
|
}
|
|
230
230
|
|
|
231
|
-
interface GetAttributesResult {
|
|
231
|
+
interface GetAttributesResult$2 {
|
|
232
232
|
modelId: string;
|
|
233
233
|
overallWidth: number;
|
|
234
234
|
overallHeight: number;
|
|
@@ -243,13 +243,13 @@ interface GetAttributesResult {
|
|
|
243
243
|
ropeY: number;
|
|
244
244
|
ropeX: number;
|
|
245
245
|
}
|
|
246
|
-
interface ExportImageOptions {
|
|
246
|
+
interface ExportImageOptions$2 {
|
|
247
247
|
isShowDimension: boolean;
|
|
248
248
|
originalSize: boolean;
|
|
249
249
|
}
|
|
250
250
|
interface DieLineBecf12109Ref {
|
|
251
|
-
getAttributes: () => GetAttributesResult;
|
|
252
|
-
exportImage: (options: ExportImageOptions) => Promise<Blob>;
|
|
251
|
+
getAttributes: () => GetAttributesResult$2;
|
|
252
|
+
exportImage: (options: ExportImageOptions$2) => Promise<Blob>;
|
|
253
253
|
exportDimension: () => Promise<Blob>;
|
|
254
254
|
}
|
|
255
255
|
interface CanvasBecf12109Ref extends DieLineBecf12109Ref {
|
|
@@ -265,6 +265,96 @@ interface ModelBecf12109Props {
|
|
|
265
265
|
}
|
|
266
266
|
declare const MODEL_BECF_12109: react.ForwardRefExoticComponent<ModelBecf12109Props & react.RefAttributes<DieLineBecf12109Ref | CanvasBecf12109Ref>>;
|
|
267
267
|
|
|
268
|
+
interface CartonBagC12101Attributes {
|
|
269
|
+
length: number;
|
|
270
|
+
width: number;
|
|
271
|
+
height: number;
|
|
272
|
+
glueArea?: number;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
interface GetAttributesResult$1 {
|
|
276
|
+
modelId: string;
|
|
277
|
+
overallWidth: number;
|
|
278
|
+
overallHeight: number;
|
|
279
|
+
length: number;
|
|
280
|
+
width: number;
|
|
281
|
+
height: number;
|
|
282
|
+
glueArea: number;
|
|
283
|
+
d: number;
|
|
284
|
+
kulak: number;
|
|
285
|
+
dip: number;
|
|
286
|
+
ribbonHW: number;
|
|
287
|
+
ribbonDX: number;
|
|
288
|
+
ribbonDY: number;
|
|
289
|
+
ribbonX: number;
|
|
290
|
+
}
|
|
291
|
+
interface ExportImageOptions$1 {
|
|
292
|
+
isShowDimension: boolean;
|
|
293
|
+
originalSize: boolean;
|
|
294
|
+
}
|
|
295
|
+
interface DieLineBecfC12101Ref {
|
|
296
|
+
getAttributes: () => GetAttributesResult$1;
|
|
297
|
+
exportImage: (options: ExportImageOptions$1) => Promise<Blob>;
|
|
298
|
+
exportDimension: () => Promise<Blob>;
|
|
299
|
+
}
|
|
300
|
+
interface CanvasBecfC12101Ref extends DieLineBecfC12101Ref {
|
|
301
|
+
resetView: () => void;
|
|
302
|
+
fitView: () => void;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
interface ModelBecfC12101Props {
|
|
306
|
+
attributes: CartonBagC12101Attributes;
|
|
307
|
+
unit?: "mm" | "cm" | "in";
|
|
308
|
+
mode?: ModelMode;
|
|
309
|
+
isShowDimensions?: boolean;
|
|
310
|
+
}
|
|
311
|
+
declare const MODEL_BECF_C_12101: react.ForwardRefExoticComponent<ModelBecfC12101Props & react.RefAttributes<DieLineBecfC12101Ref | CanvasBecfC12101Ref>>;
|
|
312
|
+
|
|
313
|
+
interface CartonBagC12109Attributes {
|
|
314
|
+
length: number;
|
|
315
|
+
width: number;
|
|
316
|
+
height: number;
|
|
317
|
+
glueArea?: number;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
interface GetAttributesResult {
|
|
321
|
+
modelId: string;
|
|
322
|
+
overallWidth: number;
|
|
323
|
+
overallHeight: number;
|
|
324
|
+
length: number;
|
|
325
|
+
width: number;
|
|
326
|
+
height: number;
|
|
327
|
+
glueArea: number;
|
|
328
|
+
d: number;
|
|
329
|
+
kulak: number;
|
|
330
|
+
dip: number;
|
|
331
|
+
ribbonHW: number;
|
|
332
|
+
ribbonDX: number;
|
|
333
|
+
ribbonDY: number;
|
|
334
|
+
ribbonX: number;
|
|
335
|
+
}
|
|
336
|
+
interface ExportImageOptions {
|
|
337
|
+
isShowDimension: boolean;
|
|
338
|
+
originalSize: boolean;
|
|
339
|
+
}
|
|
340
|
+
interface DieLineBecfC12109Ref {
|
|
341
|
+
getAttributes: () => GetAttributesResult;
|
|
342
|
+
exportImage: (options: ExportImageOptions) => Promise<Blob>;
|
|
343
|
+
exportDimension: () => Promise<Blob>;
|
|
344
|
+
}
|
|
345
|
+
interface CanvasBecfC12109Ref extends DieLineBecfC12109Ref {
|
|
346
|
+
resetView: () => void;
|
|
347
|
+
fitView: () => void;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
interface ModelBecfC12109Props {
|
|
351
|
+
attributes: CartonBagC12109Attributes;
|
|
352
|
+
unit?: "mm" | "cm" | "in";
|
|
353
|
+
mode?: ModelMode;
|
|
354
|
+
isShowDimensions?: boolean;
|
|
355
|
+
}
|
|
356
|
+
declare const MODEL_BECF_C_12109: react.ForwardRefExoticComponent<ModelBecfC12109Props & react.RefAttributes<DieLineBecfC12109Ref | CanvasBecfC12109Ref>>;
|
|
357
|
+
|
|
268
358
|
type GripperSide = "top" | "bottom" | "left" | "right";
|
|
269
359
|
interface AutoLayoutPaper {
|
|
270
360
|
paperId: string;
|
|
@@ -426,6 +516,20 @@ declare const BECF_12109_DEFAULT_ATTRIBUTES: {
|
|
|
426
516
|
glueArea: number;
|
|
427
517
|
};
|
|
428
518
|
|
|
519
|
+
declare const BECF_C_12101_DEFAULT_ATTRIBUTES: {
|
|
520
|
+
length: number;
|
|
521
|
+
width: number;
|
|
522
|
+
height: number;
|
|
523
|
+
glueArea: number;
|
|
524
|
+
};
|
|
525
|
+
|
|
526
|
+
declare const BECF_C_12109_DEFAULT_ATTRIBUTES: {
|
|
527
|
+
length: number;
|
|
528
|
+
width: number;
|
|
529
|
+
height: number;
|
|
530
|
+
glueArea: number;
|
|
531
|
+
};
|
|
532
|
+
|
|
429
533
|
interface ModelThemeConfig {
|
|
430
534
|
colorBackground: string;
|
|
431
535
|
colorDieLine: string;
|
|
@@ -453,4 +557,4 @@ interface UltimatePackagingConfig {
|
|
|
453
557
|
}
|
|
454
558
|
declare function configurePackaging(config: UltimatePackagingConfig): void;
|
|
455
559
|
|
|
456
|
-
export { AUTO_LAYOUT, AUTO_LAYOUT_THEME_CONFIG, type AutoLayoutConfig, type AutoLayoutModel, type AutoLayoutPaper, type AutoLayoutPaperResult, type AutoLayoutPlacement, type AutoLayoutProps, type AutoLayoutRef, type AutoLayoutResult, type AutoLayoutThemeConfig, BECF_1010A_DEFAULT_ATTRIBUTES, BECF_1030A_DEFAULT_ATTRIBUTES, BECF_1040A_DEFAULT_ATTRIBUTES, BECF_11D01_DEFAULT_ATTRIBUTES, BECF_12101_DEFAULT_ATTRIBUTES, BECF_12109_DEFAULT_ATTRIBUTES, type CartonBag12109Attributes, type CartonBagAttributes, Colorbar, type ColorbarProps, DIE_LINE_LAYOUT, type DieLineLayoutProps, type DieLineLayoutRef, type ExportImageOptions$
|
|
560
|
+
export { AUTO_LAYOUT, AUTO_LAYOUT_THEME_CONFIG, type AutoLayoutConfig, type AutoLayoutModel, type AutoLayoutPaper, type AutoLayoutPaperResult, type AutoLayoutPlacement, type AutoLayoutProps, type AutoLayoutRef, type AutoLayoutResult, type AutoLayoutThemeConfig, BECF_1010A_DEFAULT_ATTRIBUTES, BECF_1030A_DEFAULT_ATTRIBUTES, BECF_1040A_DEFAULT_ATTRIBUTES, BECF_11D01_DEFAULT_ATTRIBUTES, BECF_12101_DEFAULT_ATTRIBUTES, BECF_12109_DEFAULT_ATTRIBUTES, BECF_C_12101_DEFAULT_ATTRIBUTES, BECF_C_12109_DEFAULT_ATTRIBUTES, type CartonBag12109Attributes, type CartonBagAttributes, type CartonBagC12101Attributes, type CartonBagC12109Attributes, Colorbar, type ColorbarProps, DIE_LINE_LAYOUT, type DieLineLayoutProps, type DieLineLayoutRef, type ExportImageOptions$7 as ExportImageOptions, type GetAttributesResult$7 as GetAttributesResult, Gripper, type GripperProps, type GripperSide, MODEL_BECF_1010A, MODEL_BECF_1030A, MODEL_BECF_1040A, MODEL_BECF_11D01, MODEL_BECF_12101, MODEL_BECF_12109, MODEL_BECF_C_12101, MODEL_BECF_C_12109, MODEL_THEME_CONFIG, type ModelBecf1010aProps, type CanvasBecf1010aRef as ModelBecf1010aRef, type ModelBecf1030aProps, type CanvasBecf1030aRef as ModelBecf1030aRef, type ModelBecf1040aProps, type CanvasBecf1040aRef as ModelBecf1040aRef, type ModelBecf11d01Props, type CanvasBecf11d01Ref as ModelBecf11d01Ref, type ModelBecf12101Props, type CanvasBecf12101Ref as ModelBecf12101Ref, type ModelBecf12109Props, type CanvasBecf12109Ref as ModelBecf12109Ref, type ModelBecfC12101Props, type CanvasBecfC12101Ref as ModelBecfC12101Ref, type ModelBecfC12109Props, type CanvasBecfC12109Ref as ModelBecfC12109Ref, type ModelMode, type ModelThemeConfig, type PackagingModel, type StandardBoxAttributes, type TuckEndBoxAttributes$2 as TuckEndBoxAttributes, type UltimatePackagingConfig, appendColorbarToSvg, appendGripperToSvg, calculateAutoLayout, configurePackaging, modelList };
|