@lucablockltd/ultimate-packaging 1.4.0 → 1.5.1
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 +16 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +1997 -280
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1997 -280
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -29,6 +29,7 @@ interface DieLineBecf1010aRef {
|
|
|
29
29
|
getAttributes: () => GetAttributesResult$a;
|
|
30
30
|
exportImage: (options: ExportImageOptions$a) => Promise<Blob>;
|
|
31
31
|
exportDimension: () => Promise<Blob>;
|
|
32
|
+
readyToPrint: () => Promise<Blob>;
|
|
32
33
|
}
|
|
33
34
|
interface CanvasBecf1010aRef extends DieLineBecf1010aRef {
|
|
34
35
|
resetView: () => void;
|
|
@@ -82,6 +83,7 @@ interface DieLineBecf1030aRef {
|
|
|
82
83
|
getAttributes: () => GetAttributesResult$9;
|
|
83
84
|
exportImage: (options: ExportImageOptions$9) => Promise<Blob>;
|
|
84
85
|
exportDimension: () => Promise<Blob>;
|
|
86
|
+
readyToPrint: () => Promise<Blob>;
|
|
85
87
|
}
|
|
86
88
|
interface CanvasBecf1030aRef extends DieLineBecf1030aRef {
|
|
87
89
|
resetView: () => void;
|
|
@@ -124,6 +126,7 @@ interface DieLineBecf1040aRef {
|
|
|
124
126
|
getAttributes: () => GetAttributesResult$8;
|
|
125
127
|
exportImage: (options: ExportImageOptions$8) => Promise<Blob>;
|
|
126
128
|
exportDimension: () => Promise<Blob>;
|
|
129
|
+
readyToPrint: () => Promise<Blob>;
|
|
127
130
|
}
|
|
128
131
|
interface CanvasBecf1040aRef extends DieLineBecf1040aRef {
|
|
129
132
|
resetView: () => void;
|
|
@@ -164,6 +167,7 @@ interface DieLineBecf11d01Ref {
|
|
|
164
167
|
getAttributes: () => GetAttributesResult$7;
|
|
165
168
|
exportImage: (options: ExportImageOptions$7) => Promise<Blob>;
|
|
166
169
|
exportDimension: () => Promise<Blob>;
|
|
170
|
+
readyToPrint: () => Promise<Blob>;
|
|
167
171
|
}
|
|
168
172
|
interface CanvasBecf11d01Ref extends DieLineBecf11d01Ref {
|
|
169
173
|
resetView: () => void;
|
|
@@ -208,6 +212,7 @@ interface DieLineBecf12101Ref {
|
|
|
208
212
|
getAttributes: () => GetAttributesResult$6;
|
|
209
213
|
exportImage: (options: ExportImageOptions$6) => Promise<Blob>;
|
|
210
214
|
exportDimension: () => Promise<Blob>;
|
|
215
|
+
readyToPrint: () => Promise<Blob>;
|
|
211
216
|
}
|
|
212
217
|
interface CanvasBecf12101Ref extends DieLineBecf12101Ref {
|
|
213
218
|
resetView: () => void;
|
|
@@ -252,6 +257,7 @@ interface DieLineBecf12109Ref {
|
|
|
252
257
|
getAttributes: () => GetAttributesResult$5;
|
|
253
258
|
exportImage: (options: ExportImageOptions$5) => Promise<Blob>;
|
|
254
259
|
exportDimension: () => Promise<Blob>;
|
|
260
|
+
readyToPrint: () => Promise<Blob>;
|
|
255
261
|
}
|
|
256
262
|
interface CanvasBecf12109Ref extends DieLineBecf12109Ref {
|
|
257
263
|
resetView: () => void;
|
|
@@ -297,6 +303,7 @@ interface DieLineBecfC12101Ref {
|
|
|
297
303
|
getAttributes: () => GetAttributesResult$4;
|
|
298
304
|
exportImage: (options: ExportImageOptions$4) => Promise<Blob>;
|
|
299
305
|
exportDimension: () => Promise<Blob>;
|
|
306
|
+
readyToPrint: () => Promise<Blob>;
|
|
300
307
|
}
|
|
301
308
|
interface CanvasBecfC12101Ref extends DieLineBecfC12101Ref {
|
|
302
309
|
resetView: () => void;
|
|
@@ -342,6 +349,7 @@ interface DieLineBecfC12109Ref {
|
|
|
342
349
|
getAttributes: () => GetAttributesResult$3;
|
|
343
350
|
exportImage: (options: ExportImageOptions$3) => Promise<Blob>;
|
|
344
351
|
exportDimension: () => Promise<Blob>;
|
|
352
|
+
readyToPrint: () => Promise<Blob>;
|
|
345
353
|
}
|
|
346
354
|
interface CanvasBecfC12109Ref extends DieLineBecfC12109Ref {
|
|
347
355
|
resetView: () => void;
|
|
@@ -382,6 +390,7 @@ interface DieLineBecfB12101Ref {
|
|
|
382
390
|
getAttributes: () => GetAttributesResult$2;
|
|
383
391
|
exportImage: (options: ExportImageOptions$2) => Promise<Blob>;
|
|
384
392
|
exportDimension: () => Promise<Blob>;
|
|
393
|
+
readyToPrint: () => Promise<Blob>;
|
|
385
394
|
}
|
|
386
395
|
interface CanvasBecfB12101Ref extends DieLineBecfB12101Ref {
|
|
387
396
|
resetView: () => void;
|
|
@@ -422,6 +431,7 @@ interface DieLineBecfB12109Ref {
|
|
|
422
431
|
getAttributes: () => GetAttributesResult$1;
|
|
423
432
|
exportImage: (options: ExportImageOptions$1) => Promise<Blob>;
|
|
424
433
|
exportDimension: () => Promise<Blob>;
|
|
434
|
+
readyToPrint: () => Promise<Blob>;
|
|
425
435
|
}
|
|
426
436
|
interface CanvasBecfB12109Ref extends DieLineBecfB12109Ref {
|
|
427
437
|
resetView: () => void;
|
|
@@ -440,6 +450,7 @@ interface SnapLockBoxAttributes {
|
|
|
440
450
|
length: number;
|
|
441
451
|
width: number;
|
|
442
452
|
height: number;
|
|
453
|
+
glueArea: number;
|
|
443
454
|
}
|
|
444
455
|
|
|
445
456
|
interface GetAttributesResult {
|
|
@@ -449,6 +460,7 @@ interface GetAttributesResult {
|
|
|
449
460
|
length: number;
|
|
450
461
|
width: number;
|
|
451
462
|
height: number;
|
|
463
|
+
glueArea: number;
|
|
452
464
|
kulak: number;
|
|
453
465
|
dil: number;
|
|
454
466
|
flap: number;
|
|
@@ -462,6 +474,7 @@ interface DieLineBecf10a0aRef {
|
|
|
462
474
|
getAttributes: () => GetAttributesResult;
|
|
463
475
|
exportImage: (options: ExportImageOptions) => Promise<Blob>;
|
|
464
476
|
exportDimension: () => Promise<Blob>;
|
|
477
|
+
readyToPrint: () => Promise<Blob>;
|
|
465
478
|
}
|
|
466
479
|
interface CanvasBecf10a0aRef extends DieLineBecf10a0aRef {
|
|
467
480
|
resetView: () => void;
|
|
@@ -556,6 +569,7 @@ interface DieLineLayoutProps {
|
|
|
556
569
|
unit?: "mm" | "cm" | "in";
|
|
557
570
|
mode?: ModelMode;
|
|
558
571
|
isShowDimensions?: boolean;
|
|
572
|
+
debug?: boolean;
|
|
559
573
|
}
|
|
560
574
|
interface DieLineLayoutRef {
|
|
561
575
|
getAttributes: () => Record<string, unknown>;
|
|
@@ -564,6 +578,7 @@ interface DieLineLayoutRef {
|
|
|
564
578
|
originalSize?: boolean;
|
|
565
579
|
}) => Promise<Blob>;
|
|
566
580
|
exportDimension: () => Promise<Blob>;
|
|
581
|
+
readyToPrint: () => Promise<Blob>;
|
|
567
582
|
}
|
|
568
583
|
declare const DIE_LINE_LAYOUT: react.ForwardRefExoticComponent<DieLineLayoutProps & react.RefAttributes<DieLineLayoutRef>>;
|
|
569
584
|
|
|
@@ -669,6 +684,7 @@ declare const BECF_10A0A_DEFAULT_ATTRIBUTES: {
|
|
|
669
684
|
length: number;
|
|
670
685
|
width: number;
|
|
671
686
|
height: number;
|
|
687
|
+
glueArea: number;
|
|
672
688
|
};
|
|
673
689
|
|
|
674
690
|
interface ModelThemeConfig {
|
package/dist/index.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ interface DieLineBecf1010aRef {
|
|
|
29
29
|
getAttributes: () => GetAttributesResult$a;
|
|
30
30
|
exportImage: (options: ExportImageOptions$a) => Promise<Blob>;
|
|
31
31
|
exportDimension: () => Promise<Blob>;
|
|
32
|
+
readyToPrint: () => Promise<Blob>;
|
|
32
33
|
}
|
|
33
34
|
interface CanvasBecf1010aRef extends DieLineBecf1010aRef {
|
|
34
35
|
resetView: () => void;
|
|
@@ -82,6 +83,7 @@ interface DieLineBecf1030aRef {
|
|
|
82
83
|
getAttributes: () => GetAttributesResult$9;
|
|
83
84
|
exportImage: (options: ExportImageOptions$9) => Promise<Blob>;
|
|
84
85
|
exportDimension: () => Promise<Blob>;
|
|
86
|
+
readyToPrint: () => Promise<Blob>;
|
|
85
87
|
}
|
|
86
88
|
interface CanvasBecf1030aRef extends DieLineBecf1030aRef {
|
|
87
89
|
resetView: () => void;
|
|
@@ -124,6 +126,7 @@ interface DieLineBecf1040aRef {
|
|
|
124
126
|
getAttributes: () => GetAttributesResult$8;
|
|
125
127
|
exportImage: (options: ExportImageOptions$8) => Promise<Blob>;
|
|
126
128
|
exportDimension: () => Promise<Blob>;
|
|
129
|
+
readyToPrint: () => Promise<Blob>;
|
|
127
130
|
}
|
|
128
131
|
interface CanvasBecf1040aRef extends DieLineBecf1040aRef {
|
|
129
132
|
resetView: () => void;
|
|
@@ -164,6 +167,7 @@ interface DieLineBecf11d01Ref {
|
|
|
164
167
|
getAttributes: () => GetAttributesResult$7;
|
|
165
168
|
exportImage: (options: ExportImageOptions$7) => Promise<Blob>;
|
|
166
169
|
exportDimension: () => Promise<Blob>;
|
|
170
|
+
readyToPrint: () => Promise<Blob>;
|
|
167
171
|
}
|
|
168
172
|
interface CanvasBecf11d01Ref extends DieLineBecf11d01Ref {
|
|
169
173
|
resetView: () => void;
|
|
@@ -208,6 +212,7 @@ interface DieLineBecf12101Ref {
|
|
|
208
212
|
getAttributes: () => GetAttributesResult$6;
|
|
209
213
|
exportImage: (options: ExportImageOptions$6) => Promise<Blob>;
|
|
210
214
|
exportDimension: () => Promise<Blob>;
|
|
215
|
+
readyToPrint: () => Promise<Blob>;
|
|
211
216
|
}
|
|
212
217
|
interface CanvasBecf12101Ref extends DieLineBecf12101Ref {
|
|
213
218
|
resetView: () => void;
|
|
@@ -252,6 +257,7 @@ interface DieLineBecf12109Ref {
|
|
|
252
257
|
getAttributes: () => GetAttributesResult$5;
|
|
253
258
|
exportImage: (options: ExportImageOptions$5) => Promise<Blob>;
|
|
254
259
|
exportDimension: () => Promise<Blob>;
|
|
260
|
+
readyToPrint: () => Promise<Blob>;
|
|
255
261
|
}
|
|
256
262
|
interface CanvasBecf12109Ref extends DieLineBecf12109Ref {
|
|
257
263
|
resetView: () => void;
|
|
@@ -297,6 +303,7 @@ interface DieLineBecfC12101Ref {
|
|
|
297
303
|
getAttributes: () => GetAttributesResult$4;
|
|
298
304
|
exportImage: (options: ExportImageOptions$4) => Promise<Blob>;
|
|
299
305
|
exportDimension: () => Promise<Blob>;
|
|
306
|
+
readyToPrint: () => Promise<Blob>;
|
|
300
307
|
}
|
|
301
308
|
interface CanvasBecfC12101Ref extends DieLineBecfC12101Ref {
|
|
302
309
|
resetView: () => void;
|
|
@@ -342,6 +349,7 @@ interface DieLineBecfC12109Ref {
|
|
|
342
349
|
getAttributes: () => GetAttributesResult$3;
|
|
343
350
|
exportImage: (options: ExportImageOptions$3) => Promise<Blob>;
|
|
344
351
|
exportDimension: () => Promise<Blob>;
|
|
352
|
+
readyToPrint: () => Promise<Blob>;
|
|
345
353
|
}
|
|
346
354
|
interface CanvasBecfC12109Ref extends DieLineBecfC12109Ref {
|
|
347
355
|
resetView: () => void;
|
|
@@ -382,6 +390,7 @@ interface DieLineBecfB12101Ref {
|
|
|
382
390
|
getAttributes: () => GetAttributesResult$2;
|
|
383
391
|
exportImage: (options: ExportImageOptions$2) => Promise<Blob>;
|
|
384
392
|
exportDimension: () => Promise<Blob>;
|
|
393
|
+
readyToPrint: () => Promise<Blob>;
|
|
385
394
|
}
|
|
386
395
|
interface CanvasBecfB12101Ref extends DieLineBecfB12101Ref {
|
|
387
396
|
resetView: () => void;
|
|
@@ -422,6 +431,7 @@ interface DieLineBecfB12109Ref {
|
|
|
422
431
|
getAttributes: () => GetAttributesResult$1;
|
|
423
432
|
exportImage: (options: ExportImageOptions$1) => Promise<Blob>;
|
|
424
433
|
exportDimension: () => Promise<Blob>;
|
|
434
|
+
readyToPrint: () => Promise<Blob>;
|
|
425
435
|
}
|
|
426
436
|
interface CanvasBecfB12109Ref extends DieLineBecfB12109Ref {
|
|
427
437
|
resetView: () => void;
|
|
@@ -440,6 +450,7 @@ interface SnapLockBoxAttributes {
|
|
|
440
450
|
length: number;
|
|
441
451
|
width: number;
|
|
442
452
|
height: number;
|
|
453
|
+
glueArea: number;
|
|
443
454
|
}
|
|
444
455
|
|
|
445
456
|
interface GetAttributesResult {
|
|
@@ -449,6 +460,7 @@ interface GetAttributesResult {
|
|
|
449
460
|
length: number;
|
|
450
461
|
width: number;
|
|
451
462
|
height: number;
|
|
463
|
+
glueArea: number;
|
|
452
464
|
kulak: number;
|
|
453
465
|
dil: number;
|
|
454
466
|
flap: number;
|
|
@@ -462,6 +474,7 @@ interface DieLineBecf10a0aRef {
|
|
|
462
474
|
getAttributes: () => GetAttributesResult;
|
|
463
475
|
exportImage: (options: ExportImageOptions) => Promise<Blob>;
|
|
464
476
|
exportDimension: () => Promise<Blob>;
|
|
477
|
+
readyToPrint: () => Promise<Blob>;
|
|
465
478
|
}
|
|
466
479
|
interface CanvasBecf10a0aRef extends DieLineBecf10a0aRef {
|
|
467
480
|
resetView: () => void;
|
|
@@ -556,6 +569,7 @@ interface DieLineLayoutProps {
|
|
|
556
569
|
unit?: "mm" | "cm" | "in";
|
|
557
570
|
mode?: ModelMode;
|
|
558
571
|
isShowDimensions?: boolean;
|
|
572
|
+
debug?: boolean;
|
|
559
573
|
}
|
|
560
574
|
interface DieLineLayoutRef {
|
|
561
575
|
getAttributes: () => Record<string, unknown>;
|
|
@@ -564,6 +578,7 @@ interface DieLineLayoutRef {
|
|
|
564
578
|
originalSize?: boolean;
|
|
565
579
|
}) => Promise<Blob>;
|
|
566
580
|
exportDimension: () => Promise<Blob>;
|
|
581
|
+
readyToPrint: () => Promise<Blob>;
|
|
567
582
|
}
|
|
568
583
|
declare const DIE_LINE_LAYOUT: react.ForwardRefExoticComponent<DieLineLayoutProps & react.RefAttributes<DieLineLayoutRef>>;
|
|
569
584
|
|
|
@@ -669,6 +684,7 @@ declare const BECF_10A0A_DEFAULT_ATTRIBUTES: {
|
|
|
669
684
|
length: number;
|
|
670
685
|
width: number;
|
|
671
686
|
height: number;
|
|
687
|
+
glueArea: number;
|
|
672
688
|
};
|
|
673
689
|
|
|
674
690
|
interface ModelThemeConfig {
|