@openlettermarketing/olc-vue-sdk 1.5.1 → 1.5.3
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/build/index.js +652 -628
- package/build/index.js.map +1 -1
- package/package.json +2 -2
package/build/index.js
CHANGED
|
@@ -152992,7 +152992,7 @@ const $717432aee8737b76$export$cb0bbc88c7f09596 = (input)=>{
|
|
|
152992
152992
|
for(var i = 0; i < input.length; i++)if (input.charCodeAt(i) <= 127) output += input.charAt(i);
|
|
152993
152993
|
return output;
|
|
152994
152994
|
};
|
|
152995
|
-
const $717432aee8737b76$export$d0f8ccadd3e82b0a = (id, x, y, width, height, rotation)=>({
|
|
152995
|
+
const $717432aee8737b76$export$d0f8ccadd3e82b0a = (id, x, y, width, height, rotation, color = "rgba(48,155,95,1)")=>({
|
|
152996
152996
|
id: id,
|
|
152997
152997
|
type: "line",
|
|
152998
152998
|
opacity: 1,
|
|
@@ -153006,7 +153006,7 @@ const $717432aee8737b76$export$d0f8ccadd3e82b0a = (id, x, y, width, height, rota
|
|
|
153006
153006
|
width: width,
|
|
153007
153007
|
height: height,
|
|
153008
153008
|
rotation: rotation,
|
|
153009
|
-
color:
|
|
153009
|
+
color: color,
|
|
153010
153010
|
dash: [
|
|
153011
153011
|
4,
|
|
153012
153012
|
1
|
|
@@ -153014,6 +153014,58 @@ const $717432aee8737b76$export$d0f8ccadd3e82b0a = (id, x, y, width, height, rota
|
|
|
153014
153014
|
draggable: false,
|
|
153015
153015
|
resizable: false
|
|
153016
153016
|
});
|
|
153017
|
+
const $717432aee8737b76$export$95d1eb3b83c09bfc = (id, x, y, width, text, rotation = 0)=>{
|
|
153018
|
+
return {
|
|
153019
|
+
id: id,
|
|
153020
|
+
type: "text",
|
|
153021
|
+
name: "",
|
|
153022
|
+
opacity: 1,
|
|
153023
|
+
visible: true,
|
|
153024
|
+
selectable: false,
|
|
153025
|
+
removable: false,
|
|
153026
|
+
alwaysOnTop: true,
|
|
153027
|
+
showInExport: false,
|
|
153028
|
+
x: x,
|
|
153029
|
+
y: y,
|
|
153030
|
+
width: width,
|
|
153031
|
+
height: 12,
|
|
153032
|
+
rotation: rotation,
|
|
153033
|
+
animations: [],
|
|
153034
|
+
blurEnabled: false,
|
|
153035
|
+
blurRadius: 10,
|
|
153036
|
+
brightnessEnabled: false,
|
|
153037
|
+
brightness: 0,
|
|
153038
|
+
sepiaEnabled: false,
|
|
153039
|
+
grayscaleEnabled: false,
|
|
153040
|
+
shadowEnabled: false,
|
|
153041
|
+
shadowBlur: 5,
|
|
153042
|
+
shadowOffsetX: 0,
|
|
153043
|
+
shadowOffsetY: 0,
|
|
153044
|
+
shadowColor: "black",
|
|
153045
|
+
shadowOpacity: 1,
|
|
153046
|
+
draggable: false,
|
|
153047
|
+
resizable: false,
|
|
153048
|
+
contentEditable: false,
|
|
153049
|
+
styleEditable: false,
|
|
153050
|
+
text: text,
|
|
153051
|
+
fontSize: 9,
|
|
153052
|
+
fontFamily: "Noto Sans JP",
|
|
153053
|
+
fontStyle: "italic",
|
|
153054
|
+
fontWeight: "normal",
|
|
153055
|
+
fill: "rgba(74,74,74,1)",
|
|
153056
|
+
align: "center",
|
|
153057
|
+
verticalAlign: "top",
|
|
153058
|
+
strokeWidth: 0,
|
|
153059
|
+
stroke: "black",
|
|
153060
|
+
lineHeight: 1.2,
|
|
153061
|
+
letterSpacing: 0,
|
|
153062
|
+
backgroundEnabled: false,
|
|
153063
|
+
backgroundColor: "#7ED321",
|
|
153064
|
+
backgroundOpacity: 1,
|
|
153065
|
+
backgroundCornerRadius: 0.5,
|
|
153066
|
+
backgroundPadding: 0.5
|
|
153067
|
+
};
|
|
153068
|
+
};
|
|
153017
153069
|
|
|
153018
153070
|
|
|
153019
153071
|
const $f081c02ac731d950$var$getHeaders = (additionalHeaders = {})=>({
|
|
@@ -153582,110 +153634,6 @@ const $9d201cd516e32817$export$5f13a51c7a156d51 = (store, size, barcodeSrc)=>{
|
|
|
153582
153634
|
backgroundOpacity: 1,
|
|
153583
153635
|
backgroundCornerRadius: 0.5,
|
|
153584
153636
|
backgroundPadding: 0.5
|
|
153585
|
-
},
|
|
153586
|
-
{
|
|
153587
|
-
id: "sequence",
|
|
153588
|
-
type: "text",
|
|
153589
|
-
name: "",
|
|
153590
|
-
opacity: 1,
|
|
153591
|
-
visible: true,
|
|
153592
|
-
selectable: false,
|
|
153593
|
-
removable: false,
|
|
153594
|
-
alwaysOnTop: true,
|
|
153595
|
-
showInExport: true,
|
|
153596
|
-
x: store.width - 111 - 0.15 * (0, $7ad22e5ca6c288ca$export$6032165a31897610) - 9 * (0, $7ad22e5ca6c288ca$export$6032165a31897610),
|
|
153597
|
-
y: store.height - size[1] * (0, $7ad22e5ca6c288ca$export$6032165a31897610) + 170,
|
|
153598
|
-
width: 111,
|
|
153599
|
-
height: 40,
|
|
153600
|
-
rotation: 0,
|
|
153601
|
-
animations: [],
|
|
153602
|
-
blurEnabled: false,
|
|
153603
|
-
blurRadius: 10,
|
|
153604
|
-
brightnessEnabled: false,
|
|
153605
|
-
brightness: 0,
|
|
153606
|
-
sepiaEnabled: false,
|
|
153607
|
-
grayscaleEnabled: false,
|
|
153608
|
-
shadowEnabled: false,
|
|
153609
|
-
shadowBlur: 5,
|
|
153610
|
-
shadowOffsetX: 0,
|
|
153611
|
-
shadowOffsetY: 0,
|
|
153612
|
-
shadowColor: "black",
|
|
153613
|
-
shadowOpacity: 1,
|
|
153614
|
-
draggable: false,
|
|
153615
|
-
resizable: false,
|
|
153616
|
-
contentEditable: false,
|
|
153617
|
-
styleEditable: false,
|
|
153618
|
-
text: `Sequence`,
|
|
153619
|
-
placeholder: "",
|
|
153620
|
-
fontSize: 8,
|
|
153621
|
-
fontFamily: "Roboto",
|
|
153622
|
-
fontStyle: "normal",
|
|
153623
|
-
fontWeight: "normal",
|
|
153624
|
-
textDecoration: "",
|
|
153625
|
-
fill: "black",
|
|
153626
|
-
align: "center",
|
|
153627
|
-
verticalAlign: "top",
|
|
153628
|
-
strokeWidth: 0,
|
|
153629
|
-
stroke: "black",
|
|
153630
|
-
lineHeight: 1.2,
|
|
153631
|
-
letterSpacing: 0,
|
|
153632
|
-
backgroundEnabled: false,
|
|
153633
|
-
backgroundColor: "#7ED321",
|
|
153634
|
-
backgroundOpacity: 1,
|
|
153635
|
-
backgroundCornerRadius: 0.5,
|
|
153636
|
-
backgroundPadding: 0.5
|
|
153637
|
-
},
|
|
153638
|
-
{
|
|
153639
|
-
id: "contId",
|
|
153640
|
-
type: "text",
|
|
153641
|
-
name: "",
|
|
153642
|
-
opacity: 1,
|
|
153643
|
-
visible: true,
|
|
153644
|
-
selectable: false,
|
|
153645
|
-
removable: false,
|
|
153646
|
-
alwaysOnTop: true,
|
|
153647
|
-
showInExport: true,
|
|
153648
|
-
x: store.width - 111 - 0.15 * (0, $7ad22e5ca6c288ca$export$6032165a31897610) - 9 * (0, $7ad22e5ca6c288ca$export$6032165a31897610),
|
|
153649
|
-
y: store.height - size[1] * (0, $7ad22e5ca6c288ca$export$6032165a31897610) + 180,
|
|
153650
|
-
width: 111,
|
|
153651
|
-
height: 40,
|
|
153652
|
-
rotation: 0,
|
|
153653
|
-
animations: [],
|
|
153654
|
-
blurEnabled: false,
|
|
153655
|
-
blurRadius: 10,
|
|
153656
|
-
brightnessEnabled: false,
|
|
153657
|
-
brightness: 0,
|
|
153658
|
-
sepiaEnabled: false,
|
|
153659
|
-
grayscaleEnabled: false,
|
|
153660
|
-
shadowEnabled: false,
|
|
153661
|
-
shadowBlur: 5,
|
|
153662
|
-
shadowOffsetX: 0,
|
|
153663
|
-
shadowOffsetY: 0,
|
|
153664
|
-
shadowColor: "black",
|
|
153665
|
-
shadowOpacity: 1,
|
|
153666
|
-
draggable: false,
|
|
153667
|
-
resizable: false,
|
|
153668
|
-
contentEditable: false,
|
|
153669
|
-
styleEditable: false,
|
|
153670
|
-
text: `Cont ID`,
|
|
153671
|
-
placeholder: "",
|
|
153672
|
-
fontSize: 8,
|
|
153673
|
-
fontFamily: "Roboto",
|
|
153674
|
-
fontStyle: "normal",
|
|
153675
|
-
fontWeight: "normal",
|
|
153676
|
-
textDecoration: "",
|
|
153677
|
-
fill: "black",
|
|
153678
|
-
align: "center",
|
|
153679
|
-
verticalAlign: "top",
|
|
153680
|
-
strokeWidth: 0,
|
|
153681
|
-
stroke: "black",
|
|
153682
|
-
lineHeight: 1.2,
|
|
153683
|
-
letterSpacing: 0,
|
|
153684
|
-
backgroundEnabled: false,
|
|
153685
|
-
backgroundColor: "#7ED321",
|
|
153686
|
-
backgroundOpacity: 1,
|
|
153687
|
-
backgroundCornerRadius: 0.5,
|
|
153688
|
-
backgroundPadding: 0.5
|
|
153689
153637
|
}
|
|
153690
153638
|
];
|
|
153691
153639
|
elements.forEach((element)=>page.addElement(element));
|
|
@@ -153932,110 +153880,6 @@ const $58150108dfd76800$export$485ca3438dfa1819 = (store, size, barcodeSrc)=>{
|
|
|
153932
153880
|
backgroundOpacity: 1,
|
|
153933
153881
|
backgroundCornerRadius: 0.5,
|
|
153934
153882
|
backgroundPadding: 0.5
|
|
153935
|
-
},
|
|
153936
|
-
{
|
|
153937
|
-
id: "sequence",
|
|
153938
|
-
type: "text",
|
|
153939
|
-
name: "",
|
|
153940
|
-
opacity: 1,
|
|
153941
|
-
visible: true,
|
|
153942
|
-
selectable: false,
|
|
153943
|
-
removable: false,
|
|
153944
|
-
alwaysOnTop: true,
|
|
153945
|
-
showInExport: true,
|
|
153946
|
-
x: store.width - 111 - 0.15 * (0, $7ad22e5ca6c288ca$export$6032165a31897610),
|
|
153947
|
-
y: store.height - size[1] * (0, $7ad22e5ca6c288ca$export$6032165a31897610) + 170,
|
|
153948
|
-
width: 111,
|
|
153949
|
-
height: 40,
|
|
153950
|
-
rotation: 0,
|
|
153951
|
-
animations: [],
|
|
153952
|
-
blurEnabled: false,
|
|
153953
|
-
blurRadius: 10,
|
|
153954
|
-
brightnessEnabled: false,
|
|
153955
|
-
brightness: 0,
|
|
153956
|
-
sepiaEnabled: false,
|
|
153957
|
-
grayscaleEnabled: false,
|
|
153958
|
-
shadowEnabled: false,
|
|
153959
|
-
shadowBlur: 5,
|
|
153960
|
-
shadowOffsetX: 0,
|
|
153961
|
-
shadowOffsetY: 0,
|
|
153962
|
-
shadowColor: "black",
|
|
153963
|
-
shadowOpacity: 1,
|
|
153964
|
-
draggable: false,
|
|
153965
|
-
resizable: false,
|
|
153966
|
-
contentEditable: false,
|
|
153967
|
-
styleEditable: false,
|
|
153968
|
-
text: `Sequence`,
|
|
153969
|
-
placeholder: "",
|
|
153970
|
-
fontSize: 8,
|
|
153971
|
-
fontFamily: "Roboto",
|
|
153972
|
-
fontStyle: "normal",
|
|
153973
|
-
fontWeight: "normal",
|
|
153974
|
-
textDecoration: "",
|
|
153975
|
-
fill: "black",
|
|
153976
|
-
align: "center",
|
|
153977
|
-
verticalAlign: "top",
|
|
153978
|
-
strokeWidth: 0,
|
|
153979
|
-
stroke: "black",
|
|
153980
|
-
lineHeight: 1.2,
|
|
153981
|
-
letterSpacing: 0,
|
|
153982
|
-
backgroundEnabled: false,
|
|
153983
|
-
backgroundColor: "#7ED321",
|
|
153984
|
-
backgroundOpacity: 1,
|
|
153985
|
-
backgroundCornerRadius: 0.5,
|
|
153986
|
-
backgroundPadding: 0.5
|
|
153987
|
-
},
|
|
153988
|
-
{
|
|
153989
|
-
id: "contId",
|
|
153990
|
-
type: "text",
|
|
153991
|
-
name: "",
|
|
153992
|
-
opacity: 1,
|
|
153993
|
-
visible: true,
|
|
153994
|
-
selectable: false,
|
|
153995
|
-
removable: false,
|
|
153996
|
-
alwaysOnTop: true,
|
|
153997
|
-
showInExport: true,
|
|
153998
|
-
x: store.width - 111 - 0.15 * (0, $7ad22e5ca6c288ca$export$6032165a31897610),
|
|
153999
|
-
y: store.height - size[1] * (0, $7ad22e5ca6c288ca$export$6032165a31897610) + 180,
|
|
154000
|
-
width: 111,
|
|
154001
|
-
height: 40,
|
|
154002
|
-
rotation: 0,
|
|
154003
|
-
animations: [],
|
|
154004
|
-
blurEnabled: false,
|
|
154005
|
-
blurRadius: 10,
|
|
154006
|
-
brightnessEnabled: false,
|
|
154007
|
-
brightness: 0,
|
|
154008
|
-
sepiaEnabled: false,
|
|
154009
|
-
grayscaleEnabled: false,
|
|
154010
|
-
shadowEnabled: false,
|
|
154011
|
-
shadowBlur: 5,
|
|
154012
|
-
shadowOffsetX: 0,
|
|
154013
|
-
shadowOffsetY: 0,
|
|
154014
|
-
shadowColor: "black",
|
|
154015
|
-
shadowOpacity: 1,
|
|
154016
|
-
draggable: false,
|
|
154017
|
-
resizable: false,
|
|
154018
|
-
contentEditable: false,
|
|
154019
|
-
styleEditable: false,
|
|
154020
|
-
text: `Cont ID`,
|
|
154021
|
-
placeholder: "",
|
|
154022
|
-
fontSize: 8,
|
|
154023
|
-
fontFamily: "Roboto",
|
|
154024
|
-
fontStyle: "normal",
|
|
154025
|
-
fontWeight: "normal",
|
|
154026
|
-
textDecoration: "",
|
|
154027
|
-
fill: "black",
|
|
154028
|
-
align: "center",
|
|
154029
|
-
verticalAlign: "top",
|
|
154030
|
-
strokeWidth: 0,
|
|
154031
|
-
stroke: "black",
|
|
154032
|
-
lineHeight: 1.2,
|
|
154033
|
-
letterSpacing: 0,
|
|
154034
|
-
backgroundEnabled: false,
|
|
154035
|
-
backgroundColor: "#7ED321",
|
|
154036
|
-
backgroundOpacity: 1,
|
|
154037
|
-
backgroundCornerRadius: 0.5,
|
|
154038
|
-
backgroundPadding: 0.5
|
|
154039
153883
|
}
|
|
154040
153884
|
];
|
|
154041
153885
|
elements.forEach((element)=>page.addElement(element));
|
|
@@ -154277,110 +154121,6 @@ const $11132e13d1f7bacf$export$fe83566325f1e1e8 = (store, barcodeSrc)=>{
|
|
|
154277
154121
|
backgroundOpacity: 1,
|
|
154278
154122
|
backgroundCornerRadius: 0.5,
|
|
154279
154123
|
backgroundPadding: 0.5
|
|
154280
|
-
},
|
|
154281
|
-
{
|
|
154282
|
-
id: "sequence",
|
|
154283
|
-
type: "text",
|
|
154284
|
-
name: "",
|
|
154285
|
-
opacity: 1,
|
|
154286
|
-
visible: true,
|
|
154287
|
-
selectable: false,
|
|
154288
|
-
removable: false,
|
|
154289
|
-
alwaysOnTop: true,
|
|
154290
|
-
showInExport: true,
|
|
154291
|
-
x: position1[0] * (0, $7ad22e5ca6c288ca$export$6032165a31897610) + 280,
|
|
154292
|
-
y: position1[1] * (0, $7ad22e5ca6c288ca$export$6032165a31897610) + 64,
|
|
154293
|
-
width: 111,
|
|
154294
|
-
height: 40,
|
|
154295
|
-
rotation: 0,
|
|
154296
|
-
animations: [],
|
|
154297
|
-
blurEnabled: false,
|
|
154298
|
-
blurRadius: 10,
|
|
154299
|
-
brightnessEnabled: false,
|
|
154300
|
-
brightness: 0,
|
|
154301
|
-
sepiaEnabled: false,
|
|
154302
|
-
grayscaleEnabled: false,
|
|
154303
|
-
shadowEnabled: false,
|
|
154304
|
-
shadowBlur: 5,
|
|
154305
|
-
shadowOffsetX: 0,
|
|
154306
|
-
shadowOffsetY: 0,
|
|
154307
|
-
shadowColor: "black",
|
|
154308
|
-
shadowOpacity: 1,
|
|
154309
|
-
draggable: false,
|
|
154310
|
-
resizable: false,
|
|
154311
|
-
contentEditable: false,
|
|
154312
|
-
styleEditable: false,
|
|
154313
|
-
text: `Sequence`,
|
|
154314
|
-
placeholder: "",
|
|
154315
|
-
fontSize: 8,
|
|
154316
|
-
fontFamily: "Roboto",
|
|
154317
|
-
fontStyle: "normal",
|
|
154318
|
-
fontWeight: "normal",
|
|
154319
|
-
textDecoration: "",
|
|
154320
|
-
fill: "black",
|
|
154321
|
-
align: "center",
|
|
154322
|
-
verticalAlign: "top",
|
|
154323
|
-
strokeWidth: 0,
|
|
154324
|
-
stroke: "black",
|
|
154325
|
-
lineHeight: 1.2,
|
|
154326
|
-
letterSpacing: 0,
|
|
154327
|
-
backgroundEnabled: false,
|
|
154328
|
-
backgroundColor: "#7ED321",
|
|
154329
|
-
backgroundOpacity: 1,
|
|
154330
|
-
backgroundCornerRadius: 0.5,
|
|
154331
|
-
backgroundPadding: 0.5
|
|
154332
|
-
},
|
|
154333
|
-
{
|
|
154334
|
-
id: "contId",
|
|
154335
|
-
type: "text",
|
|
154336
|
-
name: "",
|
|
154337
|
-
opacity: 1,
|
|
154338
|
-
visible: true,
|
|
154339
|
-
selectable: false,
|
|
154340
|
-
removable: false,
|
|
154341
|
-
alwaysOnTop: true,
|
|
154342
|
-
showInExport: true,
|
|
154343
|
-
x: position1[0] * (0, $7ad22e5ca6c288ca$export$6032165a31897610) + 280,
|
|
154344
|
-
y: position1[1] * (0, $7ad22e5ca6c288ca$export$6032165a31897610) + 74,
|
|
154345
|
-
width: 111,
|
|
154346
|
-
height: 40,
|
|
154347
|
-
rotation: 0,
|
|
154348
|
-
animations: [],
|
|
154349
|
-
blurEnabled: false,
|
|
154350
|
-
blurRadius: 10,
|
|
154351
|
-
brightnessEnabled: false,
|
|
154352
|
-
brightness: 0,
|
|
154353
|
-
sepiaEnabled: false,
|
|
154354
|
-
grayscaleEnabled: false,
|
|
154355
|
-
shadowEnabled: false,
|
|
154356
|
-
shadowBlur: 5,
|
|
154357
|
-
shadowOffsetX: 0,
|
|
154358
|
-
shadowOffsetY: 0,
|
|
154359
|
-
shadowColor: "black",
|
|
154360
|
-
shadowOpacity: 1,
|
|
154361
|
-
draggable: false,
|
|
154362
|
-
resizable: false,
|
|
154363
|
-
contentEditable: false,
|
|
154364
|
-
styleEditable: false,
|
|
154365
|
-
text: `Cont ID`,
|
|
154366
|
-
placeholder: "",
|
|
154367
|
-
fontSize: 8,
|
|
154368
|
-
fontFamily: "Roboto",
|
|
154369
|
-
fontStyle: "normal",
|
|
154370
|
-
fontWeight: "normal",
|
|
154371
|
-
textDecoration: "",
|
|
154372
|
-
fill: "black",
|
|
154373
|
-
align: "center",
|
|
154374
|
-
verticalAlign: "top",
|
|
154375
|
-
strokeWidth: 0,
|
|
154376
|
-
stroke: "black",
|
|
154377
|
-
lineHeight: 1.2,
|
|
154378
|
-
letterSpacing: 0,
|
|
154379
|
-
backgroundEnabled: false,
|
|
154380
|
-
backgroundColor: "#7ED321",
|
|
154381
|
-
backgroundOpacity: 1,
|
|
154382
|
-
backgroundCornerRadius: 0.5,
|
|
154383
|
-
backgroundPadding: 0.5
|
|
154384
154124
|
}
|
|
154385
154125
|
];
|
|
154386
154126
|
elements.forEach((element)=>page.addElement(element));
|
|
@@ -154391,60 +154131,7 @@ const $11132e13d1f7bacf$export$fe83566325f1e1e8 = (store, barcodeSrc)=>{
|
|
|
154391
154131
|
// Define the type for the element being added
|
|
154392
154132
|
const $563d98d6370280e4$export$e15fac5e99e10d2e = (store)=>{
|
|
154393
154133
|
const page = store.pages[0];
|
|
154394
|
-
const elements = [
|
|
154395
|
-
{
|
|
154396
|
-
id: "sequence",
|
|
154397
|
-
type: "text",
|
|
154398
|
-
name: "",
|
|
154399
|
-
opacity: 1,
|
|
154400
|
-
visible: true,
|
|
154401
|
-
selectable: false,
|
|
154402
|
-
removable: false,
|
|
154403
|
-
alwaysOnTop: true,
|
|
154404
|
-
showInExport: true,
|
|
154405
|
-
x: -0.000000000000014210854715202004,
|
|
154406
|
-
y: 1014.9446441628568,
|
|
154407
|
-
width: 111,
|
|
154408
|
-
height: 40,
|
|
154409
|
-
rotation: 0,
|
|
154410
|
-
animations: [],
|
|
154411
|
-
blurEnabled: false,
|
|
154412
|
-
blurRadius: 10,
|
|
154413
|
-
brightnessEnabled: false,
|
|
154414
|
-
brightness: 0,
|
|
154415
|
-
sepiaEnabled: false,
|
|
154416
|
-
grayscaleEnabled: false,
|
|
154417
|
-
shadowEnabled: false,
|
|
154418
|
-
shadowBlur: 5,
|
|
154419
|
-
shadowOffsetX: 0,
|
|
154420
|
-
shadowOffsetY: 0,
|
|
154421
|
-
shadowColor: "black",
|
|
154422
|
-
shadowOpacity: 1,
|
|
154423
|
-
draggable: false,
|
|
154424
|
-
resizable: false,
|
|
154425
|
-
contentEditable: false,
|
|
154426
|
-
styleEditable: false,
|
|
154427
|
-
text: `Sequence`,
|
|
154428
|
-
placeholder: "",
|
|
154429
|
-
fontSize: 8,
|
|
154430
|
-
fontFamily: "Roboto",
|
|
154431
|
-
fontStyle: "normal",
|
|
154432
|
-
fontWeight: "normal",
|
|
154433
|
-
textDecoration: "",
|
|
154434
|
-
fill: "#CCCCCC",
|
|
154435
|
-
align: "center",
|
|
154436
|
-
verticalAlign: "top",
|
|
154437
|
-
strokeWidth: 0,
|
|
154438
|
-
stroke: "black",
|
|
154439
|
-
lineHeight: 1.2,
|
|
154440
|
-
letterSpacing: 0,
|
|
154441
|
-
backgroundEnabled: false,
|
|
154442
|
-
backgroundColor: "#7ED321",
|
|
154443
|
-
backgroundOpacity: 1,
|
|
154444
|
-
backgroundCornerRadius: 0.5,
|
|
154445
|
-
backgroundPadding: 0.5
|
|
154446
|
-
}
|
|
154447
|
-
];
|
|
154134
|
+
const elements = [];
|
|
154448
154135
|
elements.forEach((element)=>page.addElement(element));
|
|
154449
154136
|
store.history.clear();
|
|
154450
154137
|
};
|
|
@@ -154453,60 +154140,7 @@ const $563d98d6370280e4$export$e15fac5e99e10d2e = (store)=>{
|
|
|
154453
154140
|
// Define the type for the element being added
|
|
154454
154141
|
const $3daa42fe982b7b66$export$64e7783251b1b98f = (store)=>{
|
|
154455
154142
|
const page = store.pages[0];
|
|
154456
|
-
const elements = [
|
|
154457
|
-
{
|
|
154458
|
-
id: "sequence",
|
|
154459
|
-
type: "text",
|
|
154460
|
-
name: "",
|
|
154461
|
-
opacity: 1,
|
|
154462
|
-
visible: true,
|
|
154463
|
-
selectable: false,
|
|
154464
|
-
removable: false,
|
|
154465
|
-
alwaysOnTop: true,
|
|
154466
|
-
showInExport: true,
|
|
154467
|
-
x: 2.842170943040401e-14,
|
|
154468
|
-
y: 782.8116831973416,
|
|
154469
|
-
width: 111,
|
|
154470
|
-
height: 40,
|
|
154471
|
-
rotation: 0,
|
|
154472
|
-
animations: [],
|
|
154473
|
-
blurEnabled: false,
|
|
154474
|
-
blurRadius: 10,
|
|
154475
|
-
brightnessEnabled: false,
|
|
154476
|
-
brightness: 0,
|
|
154477
|
-
sepiaEnabled: false,
|
|
154478
|
-
grayscaleEnabled: false,
|
|
154479
|
-
shadowEnabled: false,
|
|
154480
|
-
shadowBlur: 5,
|
|
154481
|
-
shadowOffsetX: 0,
|
|
154482
|
-
shadowOffsetY: 0,
|
|
154483
|
-
shadowColor: "black",
|
|
154484
|
-
shadowOpacity: 1,
|
|
154485
|
-
draggable: false,
|
|
154486
|
-
resizable: false,
|
|
154487
|
-
contentEditable: false,
|
|
154488
|
-
styleEditable: false,
|
|
154489
|
-
text: `Sequence`,
|
|
154490
|
-
placeholder: "",
|
|
154491
|
-
fontSize: 8,
|
|
154492
|
-
fontFamily: "Roboto",
|
|
154493
|
-
fontStyle: "normal",
|
|
154494
|
-
fontWeight: "normal",
|
|
154495
|
-
textDecoration: "",
|
|
154496
|
-
fill: "#CCCCCC",
|
|
154497
|
-
align: "center",
|
|
154498
|
-
verticalAlign: "top",
|
|
154499
|
-
strokeWidth: 0,
|
|
154500
|
-
stroke: "black",
|
|
154501
|
-
lineHeight: 1.2,
|
|
154502
|
-
letterSpacing: 0,
|
|
154503
|
-
backgroundEnabled: false,
|
|
154504
|
-
backgroundColor: "#7ED321",
|
|
154505
|
-
backgroundOpacity: 1,
|
|
154506
|
-
backgroundCornerRadius: 0.5,
|
|
154507
|
-
backgroundPadding: 0.5
|
|
154508
|
-
}
|
|
154509
|
-
];
|
|
154143
|
+
const elements = [];
|
|
154510
154144
|
elements.forEach((element)=>page.addElement(element));
|
|
154511
154145
|
store.history.clear();
|
|
154512
154146
|
};
|
|
@@ -154751,110 +154385,6 @@ const $61207d508899f18f$export$c3fe419eb223f4c8 = (store, size, barcodeSrc)=>{
|
|
|
154751
154385
|
backgroundOpacity: 1,
|
|
154752
154386
|
backgroundCornerRadius: 0.5,
|
|
154753
154387
|
backgroundPadding: 0.5
|
|
154754
|
-
},
|
|
154755
|
-
{
|
|
154756
|
-
id: "sequence",
|
|
154757
|
-
type: "text",
|
|
154758
|
-
name: "",
|
|
154759
|
-
opacity: 1,
|
|
154760
|
-
visible: true,
|
|
154761
|
-
selectable: false,
|
|
154762
|
-
removable: false,
|
|
154763
|
-
alwaysOnTop: true,
|
|
154764
|
-
showInExport: true,
|
|
154765
|
-
x: store.width - 111 - 0.15 * (0, $7ad22e5ca6c288ca$export$6032165a31897610),
|
|
154766
|
-
y: store.height - size[1] * (0, $7ad22e5ca6c288ca$export$6032165a31897610) + 170 - 4 * (0, $7ad22e5ca6c288ca$export$6032165a31897610),
|
|
154767
|
-
width: 111,
|
|
154768
|
-
height: 40,
|
|
154769
|
-
rotation: 0,
|
|
154770
|
-
animations: [],
|
|
154771
|
-
blurEnabled: false,
|
|
154772
|
-
blurRadius: 10,
|
|
154773
|
-
brightnessEnabled: false,
|
|
154774
|
-
brightness: 0,
|
|
154775
|
-
sepiaEnabled: false,
|
|
154776
|
-
grayscaleEnabled: false,
|
|
154777
|
-
shadowEnabled: false,
|
|
154778
|
-
shadowBlur: 5,
|
|
154779
|
-
shadowOffsetX: 0,
|
|
154780
|
-
shadowOffsetY: 0,
|
|
154781
|
-
shadowColor: "black",
|
|
154782
|
-
shadowOpacity: 1,
|
|
154783
|
-
draggable: false,
|
|
154784
|
-
resizable: false,
|
|
154785
|
-
contentEditable: false,
|
|
154786
|
-
styleEditable: false,
|
|
154787
|
-
text: `Sequence`,
|
|
154788
|
-
placeholder: "",
|
|
154789
|
-
fontSize: 8,
|
|
154790
|
-
fontFamily: "Roboto",
|
|
154791
|
-
fontStyle: "normal",
|
|
154792
|
-
fontWeight: "normal",
|
|
154793
|
-
textDecoration: "",
|
|
154794
|
-
fill: "black",
|
|
154795
|
-
align: "center",
|
|
154796
|
-
verticalAlign: "top",
|
|
154797
|
-
strokeWidth: 0,
|
|
154798
|
-
stroke: "black",
|
|
154799
|
-
lineHeight: 1.2,
|
|
154800
|
-
letterSpacing: 0,
|
|
154801
|
-
backgroundEnabled: false,
|
|
154802
|
-
backgroundColor: "#7ED321",
|
|
154803
|
-
backgroundOpacity: 1,
|
|
154804
|
-
backgroundCornerRadius: 0.5,
|
|
154805
|
-
backgroundPadding: 0.5
|
|
154806
|
-
},
|
|
154807
|
-
{
|
|
154808
|
-
id: "contId",
|
|
154809
|
-
type: "text",
|
|
154810
|
-
name: "",
|
|
154811
|
-
opacity: 1,
|
|
154812
|
-
visible: true,
|
|
154813
|
-
selectable: false,
|
|
154814
|
-
removable: false,
|
|
154815
|
-
alwaysOnTop: true,
|
|
154816
|
-
showInExport: true,
|
|
154817
|
-
x: store.width - 111 - 0.15 * (0, $7ad22e5ca6c288ca$export$6032165a31897610),
|
|
154818
|
-
y: store.height - size[1] * (0, $7ad22e5ca6c288ca$export$6032165a31897610) + 180 - 4 * (0, $7ad22e5ca6c288ca$export$6032165a31897610),
|
|
154819
|
-
width: 111,
|
|
154820
|
-
height: 40,
|
|
154821
|
-
rotation: 0,
|
|
154822
|
-
animations: [],
|
|
154823
|
-
blurEnabled: false,
|
|
154824
|
-
blurRadius: 10,
|
|
154825
|
-
brightnessEnabled: false,
|
|
154826
|
-
brightness: 0,
|
|
154827
|
-
sepiaEnabled: false,
|
|
154828
|
-
grayscaleEnabled: false,
|
|
154829
|
-
shadowEnabled: false,
|
|
154830
|
-
shadowBlur: 5,
|
|
154831
|
-
shadowOffsetX: 0,
|
|
154832
|
-
shadowOffsetY: 0,
|
|
154833
|
-
shadowColor: "black",
|
|
154834
|
-
shadowOpacity: 1,
|
|
154835
|
-
draggable: false,
|
|
154836
|
-
resizable: false,
|
|
154837
|
-
contentEditable: false,
|
|
154838
|
-
styleEditable: false,
|
|
154839
|
-
text: `Cont ID`,
|
|
154840
|
-
placeholder: "",
|
|
154841
|
-
fontSize: 8,
|
|
154842
|
-
fontFamily: "Roboto",
|
|
154843
|
-
fontStyle: "normal",
|
|
154844
|
-
fontWeight: "normal",
|
|
154845
|
-
textDecoration: "",
|
|
154846
|
-
fill: "black",
|
|
154847
|
-
align: "center",
|
|
154848
|
-
verticalAlign: "top",
|
|
154849
|
-
strokeWidth: 0,
|
|
154850
|
-
stroke: "black",
|
|
154851
|
-
lineHeight: 1.2,
|
|
154852
|
-
letterSpacing: 0,
|
|
154853
|
-
backgroundEnabled: false,
|
|
154854
|
-
backgroundColor: "#7ED321",
|
|
154855
|
-
backgroundOpacity: 1,
|
|
154856
|
-
backgroundCornerRadius: 0.5,
|
|
154857
|
-
backgroundPadding: 0.5
|
|
154858
154388
|
}
|
|
154859
154389
|
];
|
|
154860
154390
|
elements.forEach((element)=>page.addElement(element));
|
|
@@ -154865,56 +154395,224 @@ const $61207d508899f18f$export$c3fe419eb223f4c8 = (store, size, barcodeSrc)=>{
|
|
|
154865
154395
|
|
|
154866
154396
|
const $7ebf274b17417b89$export$2978a94ed9e6116d = (store)=>{
|
|
154867
154397
|
const randomizedId = Math.random().toString(36).substring(2, 7);
|
|
154868
|
-
const safetyBordersTextFirst = {
|
|
154869
|
-
|
|
154870
|
-
|
|
154871
|
-
|
|
154398
|
+
const safetyBordersTextFirst = (0, $717432aee8737b76$export$95d1eb3b83c09bfc)(`safety-text-1-${randomizedId}`, -21, 3.6, 543, "Keep important text/images inside the green line. Content beyond this line may be trimmed during production.");
|
|
154399
|
+
const firstPageBorders = {
|
|
154400
|
+
id: `safety-border-1-${randomizedId}`,
|
|
154401
|
+
type: "group",
|
|
154872
154402
|
opacity: 1,
|
|
154873
154403
|
visible: true,
|
|
154874
154404
|
selectable: false,
|
|
154875
154405
|
removable: false,
|
|
154876
154406
|
alwaysOnTop: true,
|
|
154877
154407
|
showInExport: false,
|
|
154878
|
-
|
|
154879
|
-
|
|
154880
|
-
|
|
154881
|
-
|
|
154882
|
-
|
|
154883
|
-
|
|
154884
|
-
|
|
154885
|
-
|
|
154886
|
-
|
|
154887
|
-
|
|
154888
|
-
|
|
154889
|
-
|
|
154890
|
-
|
|
154891
|
-
|
|
154892
|
-
|
|
154893
|
-
|
|
154894
|
-
|
|
154895
|
-
|
|
154896
|
-
|
|
154897
|
-
|
|
154898
|
-
|
|
154899
|
-
|
|
154900
|
-
|
|
154901
|
-
|
|
154902
|
-
|
|
154903
|
-
|
|
154904
|
-
|
|
154905
|
-
|
|
154906
|
-
|
|
154907
|
-
|
|
154908
|
-
|
|
154909
|
-
|
|
154910
|
-
|
|
154911
|
-
|
|
154912
|
-
|
|
154913
|
-
|
|
154914
|
-
|
|
154915
|
-
|
|
154916
|
-
|
|
154408
|
+
children: [
|
|
154409
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`top-1-${randomizedId}`, 18.19, 14.7, 539.61, 1.97, 0),
|
|
154410
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`bottom-1-${randomizedId}`, 18.19, 367.32, 539.61, 1.97, 0),
|
|
154411
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`left-1-${randomizedId}`, 17.21, 368.31, 352.62, 1.97, -90),
|
|
154412
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`right-1-${randomizedId}`, 556.82, 368.31, 352.62, 1.97, -90)
|
|
154413
|
+
]
|
|
154414
|
+
};
|
|
154415
|
+
const safetyBordersTextSecond = (0, $717432aee8737b76$export$95d1eb3b83c09bfc)(`safety-text-2-${randomizedId}`, -21, 3.6, 543, "Keep important text/images inside the green line. Content beyond this line may be trimmed during production.");
|
|
154416
|
+
const secondPageBorders = {
|
|
154417
|
+
id: `safety-border-2-${randomizedId}`,
|
|
154418
|
+
type: "group",
|
|
154419
|
+
opacity: 1,
|
|
154420
|
+
visible: true,
|
|
154421
|
+
selectable: false,
|
|
154422
|
+
removable: false,
|
|
154423
|
+
alwaysOnTop: true,
|
|
154424
|
+
showInExport: false,
|
|
154425
|
+
children: [
|
|
154426
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`top-2-${randomizedId}`, 18.19, 14.7, 539.61, 1.97, 0),
|
|
154427
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`bottom-2-${randomizedId}`, 18.19, 367.32, 539.61, 1.97, 0),
|
|
154428
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`left-2-${randomizedId}`, 17.21, 368.31, 352.62, 1.97, -90),
|
|
154429
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`right-2-${randomizedId}`, 556.82, 368.31, 352.62, 1.97, -90)
|
|
154430
|
+
]
|
|
154431
|
+
};
|
|
154432
|
+
// Add elements to the pages
|
|
154433
|
+
store.pages[0]?.addElement(firstPageBorders);
|
|
154434
|
+
store?.pages[0]?.addElement(safetyBordersTextFirst);
|
|
154435
|
+
store.pages[1]?.addElement(secondPageBorders);
|
|
154436
|
+
store.pages[1]?.addElement(safetyBordersTextSecond);
|
|
154437
|
+
// Clear history
|
|
154438
|
+
store.history.clear();
|
|
154439
|
+
};
|
|
154440
|
+
const $7ebf274b17417b89$export$8817d1032c829c5a = (store)=>{
|
|
154441
|
+
const randomizedId = Math.random().toString(36).substring(2, 7);
|
|
154442
|
+
const safetyBordersTextFirst = (0, $717432aee8737b76$export$95d1eb3b83c09bfc)(`safety-text-1-${randomizedId}`, -8.29, 5.8, 543, "Keep important text/images inside the green line. Content beyond this line may be trimmed during production.");
|
|
154443
|
+
const firstPageBorders = {
|
|
154444
|
+
id: `safety-border-1-${randomizedId}`,
|
|
154445
|
+
type: "group",
|
|
154446
|
+
opacity: 1,
|
|
154447
|
+
visible: true,
|
|
154448
|
+
selectable: false,
|
|
154449
|
+
removable: false,
|
|
154450
|
+
alwaysOnTop: true,
|
|
154451
|
+
showInExport: false,
|
|
154452
|
+
children: [
|
|
154453
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`top-1-${randomizedId}`, 28, 22.5, 808, 2.94, 0),
|
|
154454
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`bottom-1-${randomizedId}`, 28, 550, 808, 2.94, 0),
|
|
154455
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`left-1-${randomizedId}`, 26.5, 552, 528, 2.94, -90),
|
|
154456
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`right-1-${randomizedId}`, 834.5, 552, 528, 2.94, -90)
|
|
154457
|
+
]
|
|
154458
|
+
};
|
|
154459
|
+
const safetyBordersTextSecond = (0, $717432aee8737b76$export$95d1eb3b83c09bfc)(`safety-text-2-${randomizedId}`, -8.6, 5.09, 543, "Keep important text/images inside the green line. Content beyond this line may be trimmed during production.");
|
|
154460
|
+
const secondPageBorders = {
|
|
154461
|
+
id: `safety-border-2-${randomizedId}`,
|
|
154462
|
+
type: "group",
|
|
154463
|
+
opacity: 1,
|
|
154464
|
+
visible: true,
|
|
154465
|
+
selectable: false,
|
|
154466
|
+
removable: false,
|
|
154467
|
+
alwaysOnTop: true,
|
|
154468
|
+
showInExport: false,
|
|
154469
|
+
children: [
|
|
154470
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`top-2-${randomizedId}`, 28, 22.5, 808, 2.94, 0),
|
|
154471
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`bottom-2-${randomizedId}`, 28, 550, 808, 2.94, 0),
|
|
154472
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`left-2-${randomizedId}`, 26.5, 552, 528, 2.94, -90),
|
|
154473
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`right-2-${randomizedId}`, 834.5, 552, 528, 2.94, -90)
|
|
154474
|
+
]
|
|
154475
|
+
};
|
|
154476
|
+
// Add elements to the pages
|
|
154477
|
+
store.pages[0]?.addElement(firstPageBorders);
|
|
154478
|
+
store?.pages[0]?.addElement(safetyBordersTextFirst);
|
|
154479
|
+
store.pages[1]?.addElement(secondPageBorders);
|
|
154480
|
+
store.pages[1]?.addElement(safetyBordersTextSecond);
|
|
154481
|
+
// Clear history
|
|
154482
|
+
store.history.clear();
|
|
154483
|
+
};
|
|
154484
|
+
const $7ebf274b17417b89$export$bfb27578a2deeca5 = (store)=>{
|
|
154485
|
+
const randomizedId = Math.random().toString(36).substring(2, 7);
|
|
154486
|
+
const safetyBordersTextFirst = (0, $717432aee8737b76$export$95d1eb3b83c09bfc)(`safety-text-1-${randomizedId}`, -8.29, 5.8, 543, "Keep important text/images inside the green line. Content beyond this line may be trimmed during production.");
|
|
154487
|
+
const firstPageBorders = {
|
|
154488
|
+
id: `safety-border-1-${randomizedId}`,
|
|
154489
|
+
type: "group",
|
|
154490
|
+
opacity: 1,
|
|
154491
|
+
visible: true,
|
|
154492
|
+
selectable: false,
|
|
154493
|
+
removable: false,
|
|
154494
|
+
alwaysOnTop: true,
|
|
154495
|
+
showInExport: false,
|
|
154496
|
+
children: [
|
|
154497
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`top-1-${randomizedId}`, 25.5, 23.8, 1005, 2.94, 0),
|
|
154498
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`bottom-1-${randomizedId}`, 25.5, 549, 1005, 2.94, 0),
|
|
154499
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`left-1-${randomizedId}`, 24, 550, 525, 2.94, -90),
|
|
154500
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`right-1-${randomizedId}`, 1028, 550, 525, 2.94, -90)
|
|
154501
|
+
]
|
|
154502
|
+
};
|
|
154503
|
+
const safetyBordersTextSecond = (0, $717432aee8737b76$export$95d1eb3b83c09bfc)(`safety-text-2-${randomizedId}`, -8.6, 5.09, 543, "Keep important text/images inside the green line. Content beyond this line may be trimmed during production.");
|
|
154504
|
+
const secondPageBorders = {
|
|
154505
|
+
id: `safety-border-2-${randomizedId}`,
|
|
154506
|
+
type: "group",
|
|
154507
|
+
opacity: 1,
|
|
154508
|
+
visible: true,
|
|
154509
|
+
selectable: false,
|
|
154510
|
+
removable: false,
|
|
154511
|
+
alwaysOnTop: true,
|
|
154512
|
+
showInExport: false,
|
|
154513
|
+
children: [
|
|
154514
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`top-2-${randomizedId}`, 25.5, 23.8, 1005, 2.94, 0),
|
|
154515
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`bottom-2-${randomizedId}`, 25.5, 549, 1005, 2.94, 0),
|
|
154516
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`left-2-${randomizedId}`, 24, 550, 525, 2.94, -90),
|
|
154517
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`right-2-${randomizedId}`, 1028, 550, 525, 2.94, -90)
|
|
154518
|
+
]
|
|
154519
|
+
};
|
|
154520
|
+
// Add elements to the pages
|
|
154521
|
+
store.pages[0]?.addElement(firstPageBorders);
|
|
154522
|
+
store?.pages[0]?.addElement(safetyBordersTextFirst);
|
|
154523
|
+
store.pages[1]?.addElement(secondPageBorders);
|
|
154524
|
+
store.pages[1]?.addElement(safetyBordersTextSecond);
|
|
154525
|
+
// Clear history
|
|
154526
|
+
store.history.clear();
|
|
154527
|
+
};
|
|
154528
|
+
|
|
154529
|
+
|
|
154530
|
+
|
|
154531
|
+
const $8abd9ca5a7d3f40b$export$8802baeb156c27d4 = (store)=>{
|
|
154532
|
+
const randomizedId = Math.random().toString(36).substring(2, 7);
|
|
154533
|
+
const safetyBordersTextFirst = (0, $717432aee8737b76$export$95d1eb3b83c09bfc)(`safety-text-1-${randomizedId}`, -15, 5.81, 543, "Keep important text/images inside the green line. Content beyond this line may be trimmed during production.");
|
|
154534
|
+
const firstPageBorders = {
|
|
154535
|
+
id: `safety-border-1-${randomizedId}`,
|
|
154536
|
+
type: "group",
|
|
154537
|
+
opacity: 1,
|
|
154538
|
+
visible: true,
|
|
154539
|
+
selectable: false,
|
|
154540
|
+
removable: false,
|
|
154541
|
+
alwaysOnTop: true,
|
|
154542
|
+
showInExport: false,
|
|
154543
|
+
children: [
|
|
154544
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`top-1-${randomizedId}`, 24, 22, 480, 3, 0),
|
|
154545
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`bottom-1-${randomizedId}`, 24, 792, 480, 3, 0),
|
|
154546
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`left-1-${randomizedId}`, 22, 793, 770, 3, -90),
|
|
154547
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`right-1-${randomizedId}`, 503, 793, 770, 3, -90)
|
|
154548
|
+
]
|
|
154549
|
+
};
|
|
154550
|
+
// Add elements to the pages
|
|
154551
|
+
store.pages[0]?.addElement(firstPageBorders);
|
|
154552
|
+
store?.pages[0]?.addElement(safetyBordersTextFirst);
|
|
154553
|
+
// Clear history
|
|
154554
|
+
store.history.clear();
|
|
154555
|
+
};
|
|
154556
|
+
|
|
154557
|
+
|
|
154558
|
+
|
|
154559
|
+
const $90f2930e9440f799$export$b0f0628dd0adaff9 = (store)=>{
|
|
154560
|
+
const randomizedId = Math.random().toString(36).substring(2, 7);
|
|
154561
|
+
const safetyBordersTextFirst = (0, $717432aee8737b76$export$95d1eb3b83c09bfc)(`safety-text-1-${randomizedId}`, -15, 5.81, 543, "Keep important text/images inside the green line. Content beyond this line may be trimmed during production.");
|
|
154562
|
+
const firstPageBorders = {
|
|
154563
|
+
id: `safety-border-1-${randomizedId}`,
|
|
154564
|
+
type: "group",
|
|
154565
|
+
opacity: 1,
|
|
154566
|
+
visible: true,
|
|
154567
|
+
selectable: false,
|
|
154568
|
+
removable: false,
|
|
154569
|
+
alwaysOnTop: true,
|
|
154570
|
+
showInExport: false,
|
|
154571
|
+
children: [
|
|
154572
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`top-1-${randomizedId}`, 24, 22, 768, 3.85, 0),
|
|
154573
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`bottom-1-${randomizedId}`, 24, 1028, 768, 3.85, 0),
|
|
154574
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`left-1-${randomizedId}`, 22, 1030, 1006, 3.85, -90),
|
|
154575
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`right-1-${randomizedId}`, 790, 1030, 1006, 3.85, -90)
|
|
154576
|
+
]
|
|
154577
|
+
};
|
|
154578
|
+
// Add elements to the pages
|
|
154579
|
+
store.pages[0]?.addElement(firstPageBorders);
|
|
154580
|
+
store?.pages[0]?.addElement(safetyBordersTextFirst);
|
|
154581
|
+
// Clear history
|
|
154582
|
+
store.history.clear();
|
|
154583
|
+
};
|
|
154584
|
+
const $90f2930e9440f799$export$8fcd3c8cb76a6cd6 = (store)=>{
|
|
154585
|
+
const randomizedId = Math.random().toString(36).substring(2, 7);
|
|
154586
|
+
const safetyBordersTextFirst = (0, $717432aee8737b76$export$95d1eb3b83c09bfc)(`safety-text-1-${randomizedId}`, -15, 5.81, 543, "Keep important text/images inside the green line. Content beyond this line may be trimmed during production.");
|
|
154587
|
+
const firstPageBorders = {
|
|
154588
|
+
id: `safety-border-1-${randomizedId}`,
|
|
154589
|
+
type: "group",
|
|
154590
|
+
opacity: 1,
|
|
154591
|
+
visible: true,
|
|
154592
|
+
selectable: false,
|
|
154593
|
+
removable: false,
|
|
154594
|
+
alwaysOnTop: true,
|
|
154595
|
+
showInExport: false,
|
|
154596
|
+
children: [
|
|
154597
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`top-1-${randomizedId}`, 24, 23, 768, 3.85, 0),
|
|
154598
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`bottom-1-${randomizedId}`, 24, 1030, 768, 3.85, 0),
|
|
154599
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`left-1-${randomizedId}`, 22, 1030, 1006, 3.85, -90),
|
|
154600
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`right-1-${randomizedId}`, 790, 1030, 1006, 3.85, -90)
|
|
154601
|
+
]
|
|
154917
154602
|
};
|
|
154603
|
+
// Add elements to the pages
|
|
154604
|
+
store.pages[0]?.addElement(firstPageBorders);
|
|
154605
|
+
store?.pages[0]?.addElement(safetyBordersTextFirst);
|
|
154606
|
+
// Clear history
|
|
154607
|
+
store.history.clear();
|
|
154608
|
+
};
|
|
154609
|
+
|
|
154610
|
+
|
|
154611
|
+
|
|
154612
|
+
const $379854e433b85d91$export$836bdd749e55e830 = (store)=>{
|
|
154613
|
+
const randomizedId = Math.random().toString(36).substring(2, 7);
|
|
154614
|
+
const safetyBordersTextFirst = (0, $717432aee8737b76$export$95d1eb3b83c09bfc)(`safety-text-1-${randomizedId}`, -8.29, 5.81, 543, "Keep important text/images inside the green line. Content beyond this line may be trimmed during production.");
|
|
154615
|
+
const safetyLineTextFirst = (0, $717432aee8737b76$export$95d1eb3b83c09bfc)(`safety-line-1-${randomizedId}`, 880, -10.5, 600, "Fold Line", 90);
|
|
154918
154616
|
const firstPageBorders = {
|
|
154919
154617
|
id: `safety-border-1-${randomizedId}`,
|
|
154920
154618
|
type: "group",
|
|
@@ -154925,62 +154623,71 @@ const $7ebf274b17417b89$export$2978a94ed9e6116d = (store)=>{
|
|
|
154925
154623
|
alwaysOnTop: true,
|
|
154926
154624
|
showInExport: false,
|
|
154927
154625
|
children: [
|
|
154928
|
-
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(
|
|
154929
|
-
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(
|
|
154930
|
-
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(
|
|
154931
|
-
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(
|
|
154626
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`top-1-${randomizedId}`, 25.96, 24.58, 1676, 2.94, 0),
|
|
154627
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`bottom-1-${randomizedId}`, 25.96, 551.74, 1676, 2.94, 0),
|
|
154628
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`left-1-${randomizedId}`, 24.5, 553.349, 527.167, 2.94, -90),
|
|
154629
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`right-1-${randomizedId}`, 1700.5, 555.22, 528, 2.94, -90),
|
|
154630
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`fold-line-1-${randomizedId}`, 863, 580, 580, 2, -90, "rgba(208,2,27,1)")
|
|
154932
154631
|
]
|
|
154933
154632
|
};
|
|
154934
|
-
const safetyBordersTextSecond = {
|
|
154935
|
-
|
|
154936
|
-
|
|
154937
|
-
|
|
154633
|
+
const safetyBordersTextSecond = (0, $717432aee8737b76$export$95d1eb3b83c09bfc)(`safety-text-2-${randomizedId}`, -8.616, 5.09, 543, "Keep important text/images inside the green line. Content beyond this line may be trimmed during production.");
|
|
154634
|
+
const safetyLineTextSecond = (0, $717432aee8737b76$export$95d1eb3b83c09bfc)(`safety-line-2-${randomizedId}`, 880, -10.5, 600, "Fold Line", 90);
|
|
154635
|
+
const secondPageBorders = {
|
|
154636
|
+
id: `safety-border-2-${randomizedId}`,
|
|
154637
|
+
type: "group",
|
|
154938
154638
|
opacity: 1,
|
|
154939
154639
|
visible: true,
|
|
154940
154640
|
selectable: false,
|
|
154941
154641
|
removable: false,
|
|
154942
154642
|
alwaysOnTop: true,
|
|
154943
154643
|
showInExport: false,
|
|
154944
|
-
|
|
154945
|
-
|
|
154946
|
-
|
|
154947
|
-
|
|
154948
|
-
|
|
154949
|
-
|
|
154950
|
-
|
|
154951
|
-
|
|
154952
|
-
|
|
154953
|
-
|
|
154954
|
-
|
|
154955
|
-
|
|
154956
|
-
|
|
154957
|
-
|
|
154958
|
-
|
|
154959
|
-
|
|
154960
|
-
|
|
154961
|
-
|
|
154962
|
-
|
|
154963
|
-
|
|
154964
|
-
|
|
154965
|
-
|
|
154966
|
-
|
|
154967
|
-
|
|
154968
|
-
|
|
154969
|
-
|
|
154970
|
-
|
|
154971
|
-
|
|
154972
|
-
|
|
154973
|
-
|
|
154974
|
-
|
|
154975
|
-
|
|
154976
|
-
|
|
154977
|
-
|
|
154978
|
-
|
|
154979
|
-
|
|
154980
|
-
|
|
154981
|
-
|
|
154982
|
-
|
|
154644
|
+
children: [
|
|
154645
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`top-2-${randomizedId}`, 25.96, 24.58, 1676, 2.94, 0),
|
|
154646
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`bottom-2-${randomizedId}`, 25.96, 551.74, 1676, 2.94, 0),
|
|
154647
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`left-2-${randomizedId}`, 24.5, 553.349, 527.167, 2.94, -90),
|
|
154648
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`right-2-${randomizedId}`, 1700.5, 555.22, 528, 2.94, -90),
|
|
154649
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`fold-line-2-${randomizedId}`, 863, 580, 580, 2, -90, "rgba(208,2,27,1)")
|
|
154650
|
+
]
|
|
154651
|
+
};
|
|
154652
|
+
// Add elements to the pages
|
|
154653
|
+
store.pages[0]?.addElement(firstPageBorders);
|
|
154654
|
+
store?.pages[0]?.addElement(safetyBordersTextFirst);
|
|
154655
|
+
store?.pages[0]?.addElement(safetyLineTextFirst);
|
|
154656
|
+
store.pages[1]?.addElement(secondPageBorders);
|
|
154657
|
+
store.pages[1]?.addElement(safetyBordersTextSecond);
|
|
154658
|
+
store?.pages[1]?.addElement(safetyLineTextSecond);
|
|
154659
|
+
// Clear history
|
|
154660
|
+
store.history.clear();
|
|
154661
|
+
};
|
|
154662
|
+
|
|
154663
|
+
|
|
154664
|
+
|
|
154665
|
+
const $1199e4569f08e8c9$export$38e08353ae08f443 = (store)=>{
|
|
154666
|
+
const randomizedId = Math.random().toString(36).substring(2, 7);
|
|
154667
|
+
const safetyBordersTextFirst = (0, $717432aee8737b76$export$95d1eb3b83c09bfc)(`safety-text-1-${randomizedId}`, -8.29, 5.81, 543, "Keep important text/images inside the green line. Content beyond this line may be trimmed during production.");
|
|
154668
|
+
const safetyLineTextFirst = (0, $717432aee8737b76$export$95d1eb3b83c09bfc)(`safety-line-1-${randomizedId}`, -2, 366, 866, "Fold Line", 0);
|
|
154669
|
+
const safetySecondLineTextFirst = (0, $717432aee8737b76$export$95d1eb3b83c09bfc)(`safety-line-2-${randomizedId}`, -2, 744, 866, "Fold Line", 0);
|
|
154670
|
+
const firstPageBorders = {
|
|
154671
|
+
id: `safety-border-1-${randomizedId}`,
|
|
154672
|
+
type: "group",
|
|
154673
|
+
opacity: 1,
|
|
154674
|
+
visible: true,
|
|
154675
|
+
selectable: false,
|
|
154676
|
+
removable: false,
|
|
154677
|
+
alwaysOnTop: true,
|
|
154678
|
+
showInExport: false,
|
|
154679
|
+
children: [
|
|
154680
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`top-1-${randomizedId}`, 26, 23.5, 811, 4, 0),
|
|
154681
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`bottom-1-${randomizedId}`, 26, 1123.6, 811, 4, 0),
|
|
154682
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`left-1-${randomizedId}`, 24.16, 1125, 1100, 4, -90),
|
|
154683
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`right-1-${randomizedId}`, 835, 1125, 1100, 4, -90),
|
|
154684
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`fold-line-1-${randomizedId}`, 866, 384, 866, 2, 180, "rgba(208,2,27,1)"),
|
|
154685
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`fold-line-2-${randomizedId}`, 866, 763, 866, 2, 180, "rgba(208,2,27,1)")
|
|
154686
|
+
]
|
|
154983
154687
|
};
|
|
154688
|
+
const safetyBordersTextSecond = (0, $717432aee8737b76$export$95d1eb3b83c09bfc)(`safety-text-2-${randomizedId}`, -8.29, 5.81, 543, "Keep important text/images inside the green line. Content beyond this line may be trimmed during production.");
|
|
154689
|
+
const safetyLineTextSecond = (0, $717432aee8737b76$export$95d1eb3b83c09bfc)(`safety-line-2-1-${randomizedId}`, -2, 366, 866, "Fold Line", 0);
|
|
154690
|
+
const safetySecondLineTextSecond = (0, $717432aee8737b76$export$95d1eb3b83c09bfc)(`safety-line-2-2-${randomizedId}`, -2, 744, 866, "Fold Line", 0);
|
|
154984
154691
|
const secondPageBorders = {
|
|
154985
154692
|
id: `safety-border-2-${randomizedId}`,
|
|
154986
154693
|
type: "group",
|
|
@@ -154991,17 +154698,23 @@ const $7ebf274b17417b89$export$2978a94ed9e6116d = (store)=>{
|
|
|
154991
154698
|
alwaysOnTop: true,
|
|
154992
154699
|
showInExport: false,
|
|
154993
154700
|
children: [
|
|
154994
|
-
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`top-2-${randomizedId}`,
|
|
154995
|
-
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`bottom-2-${randomizedId}`,
|
|
154996
|
-
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`left-2-${randomizedId}`,
|
|
154997
|
-
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`right-2-${randomizedId}`,
|
|
154701
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`top-2-${randomizedId}`, 26, 23.5, 811, 4, 0),
|
|
154702
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`bottom-2-${randomizedId}`, 26, 1123.6, 811, 4, 0),
|
|
154703
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`left-2-${randomizedId}`, 24.16, 1125, 1100, 4, -90),
|
|
154704
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`right-2-${randomizedId}`, 835, 1125, 1100, 4, -90),
|
|
154705
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`fold-line-2-1-${randomizedId}`, 866, 384, 866, 2, 180, "rgba(208,2,27,1)"),
|
|
154706
|
+
(0, $717432aee8737b76$export$d0f8ccadd3e82b0a)(`fold-line-2-2-${randomizedId}`, 866, 763, 866, 2, 180, "rgba(208,2,27,1)")
|
|
154998
154707
|
]
|
|
154999
154708
|
};
|
|
155000
154709
|
// Add elements to the pages
|
|
155001
154710
|
store.pages[0]?.addElement(firstPageBorders);
|
|
155002
154711
|
store?.pages[0]?.addElement(safetyBordersTextFirst);
|
|
154712
|
+
store?.pages[0]?.addElement(safetyLineTextFirst);
|
|
154713
|
+
store?.pages[0]?.addElement(safetySecondLineTextFirst);
|
|
155003
154714
|
store.pages[1]?.addElement(secondPageBorders);
|
|
155004
154715
|
store.pages[1]?.addElement(safetyBordersTextSecond);
|
|
154716
|
+
store.pages[1]?.addElement(safetyLineTextSecond);
|
|
154717
|
+
store.pages[1]?.addElement(safetySecondLineTextSecond);
|
|
155005
154718
|
// Clear history
|
|
155006
154719
|
store.history.clear();
|
|
155007
154720
|
};
|
|
@@ -155010,6 +154723,13 @@ const $7ebf274b17417b89$export$2978a94ed9e6116d = (store)=>{
|
|
|
155010
154723
|
const $39231ae325c5aacf$export$b8070c2bd9d59c10 = (productId, store)=>{
|
|
155011
154724
|
if (!productId) return;
|
|
155012
154725
|
if (+productId === 13) (0, $7ebf274b17417b89$export$2978a94ed9e6116d)(store);
|
|
154726
|
+
else if (+productId === 14) (0, $7ebf274b17417b89$export$8817d1032c829c5a)(store);
|
|
154727
|
+
else if (+productId === 15) (0, $7ebf274b17417b89$export$bfb27578a2deeca5)(store);
|
|
154728
|
+
else if (+productId === 5) (0, $8abd9ca5a7d3f40b$export$8802baeb156c27d4)(store);
|
|
154729
|
+
else if (+productId === 4) (0, $90f2930e9440f799$export$b0f0628dd0adaff9)(store);
|
|
154730
|
+
else if (+productId === 2) (0, $90f2930e9440f799$export$8fcd3c8cb76a6cd6)(store);
|
|
154731
|
+
else if (+productId === 9) (0, $379854e433b85d91$export$836bdd749e55e830)(store);
|
|
154732
|
+
else if (+productId === 11) (0, $1199e4569f08e8c9$export$38e08353ae08f443)(store);
|
|
155013
154733
|
};
|
|
155014
154734
|
|
|
155015
154735
|
|
|
@@ -155098,13 +154818,11 @@ const $ad01ab85e9f42d02$export$8029e38c28541a = (store, product, envelopeType)=>
|
|
|
155098
154818
|
if (product.productType === "Professional Letters" && envelopeType === "#10 Double-Window") (0, $11132e13d1f7bacf$export$fe83566325f1e1e8)(store, barcodeSrc);
|
|
155099
154819
|
else if (product.productType === "Professional Letters" && envelopeType === "#10 Grey") (0, $563d98d6370280e4$export$e15fac5e99e10d2e)(store);
|
|
155100
154820
|
else if (product.productType === "Personal Letters") (0, $3daa42fe982b7b66$export$64e7783251b1b98f)(store);
|
|
155101
|
-
else if (product.productType === (0, $7ad22e5ca6c288ca$export$3e994a540f8ee57)[0])
|
|
155102
|
-
|
|
155103
|
-
|
|
155104
|
-
|
|
155105
|
-
|
|
155106
|
-
(0, $39231ae325c5aacf$export$b8070c2bd9d59c10)(product?.id, store);
|
|
155107
|
-
} else if (product.productType === (0, $7ad22e5ca6c288ca$export$3e994a540f8ee57)[1]) (0, $61207d508899f18f$export$c3fe419eb223f4c8)(store, [
|
|
154821
|
+
else if (product.productType === (0, $7ad22e5ca6c288ca$export$3e994a540f8ee57)[0]) (0, $58150108dfd76800$export$485ca3438dfa1819)(store, [
|
|
154822
|
+
3.2835,
|
|
154823
|
+
2.375
|
|
154824
|
+
], barcodeSrc);
|
|
154825
|
+
else if (product.productType === (0, $7ad22e5ca6c288ca$export$3e994a540f8ee57)[1]) (0, $61207d508899f18f$export$c3fe419eb223f4c8)(store, [
|
|
155108
154826
|
3.2835,
|
|
155109
154827
|
2.375
|
|
155110
154828
|
], barcodeSrc);
|
|
@@ -155112,6 +154830,7 @@ const $ad01ab85e9f42d02$export$8029e38c28541a = (store, product, envelopeType)=>
|
|
|
155112
154830
|
3.2835,
|
|
155113
154831
|
2.375
|
|
155114
154832
|
], barcodeSrc);
|
|
154833
|
+
(0, $39231ae325c5aacf$export$b8070c2bd9d59c10)(product?.id, store);
|
|
155115
154834
|
}
|
|
155116
154835
|
};
|
|
155117
154836
|
const $ad01ab85e9f42d02$export$464e4dcbf779d16c = (jsonData)=>{
|
|
@@ -155131,7 +154850,6 @@ const $ad01ab85e9f42d02$export$d5a1fddcf19adead = (jsonData)=>{
|
|
|
155131
154850
|
if (obj.children) obj.children = obj.children.map((child)=>{
|
|
155132
154851
|
if (child.type === "text" && typeof child.text === "string") {
|
|
155133
154852
|
const cleanedText = (0, $717432aee8737b76$export$cb0bbc88c7f09596)(child.text);
|
|
155134
|
-
// eslint-disable-next-line no-useless-escape
|
|
155135
154853
|
child.text = cleanedText.replace(/[{}\[\]]/g, "");
|
|
155136
154854
|
}
|
|
155137
154855
|
return child;
|
|
@@ -156329,6 +156047,309 @@ const $6ca040a325a745aa$export$823cdc5238933767 = ()=>(dispatch)=>{
|
|
|
156329
156047
|
|
|
156330
156048
|
|
|
156331
156049
|
|
|
156050
|
+
// Define the type for the element being added
|
|
156051
|
+
// Reusable function to create text elements
|
|
156052
|
+
const $768744b4722fb808$var$createTextElement = (id, text, x, y, width)=>({
|
|
156053
|
+
id: id,
|
|
156054
|
+
type: "text",
|
|
156055
|
+
name: "",
|
|
156056
|
+
opacity: 1,
|
|
156057
|
+
visible: true,
|
|
156058
|
+
selectable: false,
|
|
156059
|
+
removable: false,
|
|
156060
|
+
alwaysOnTop: true,
|
|
156061
|
+
showInExport: true,
|
|
156062
|
+
x: x,
|
|
156063
|
+
y: y,
|
|
156064
|
+
width: width,
|
|
156065
|
+
height: 11,
|
|
156066
|
+
rotation: 0,
|
|
156067
|
+
draggable: true,
|
|
156068
|
+
resizable: true,
|
|
156069
|
+
contentEditable: true,
|
|
156070
|
+
styleEditable: false,
|
|
156071
|
+
text: text,
|
|
156072
|
+
fontSize: 5,
|
|
156073
|
+
fontFamily: "Roboto",
|
|
156074
|
+
fontStyle: "normal",
|
|
156075
|
+
fontWeight: "normal",
|
|
156076
|
+
fill: "grey",
|
|
156077
|
+
align: "center",
|
|
156078
|
+
verticalAlign: "top",
|
|
156079
|
+
lineHeight: 1.2,
|
|
156080
|
+
letterSpacing: 0
|
|
156081
|
+
});
|
|
156082
|
+
const $768744b4722fb808$export$f5707e68f180b61d = (store)=>{
|
|
156083
|
+
const page = store.pages[1];
|
|
156084
|
+
const elements = [
|
|
156085
|
+
$768744b4722fb808$var$createTextElement("cont-id-placeholder", "C:", 434.8965200108928, 358.75, 11),
|
|
156086
|
+
$768744b4722fb808$var$createTextElement("contId", "0000001", 437.87147997910796, 358.75, 30),
|
|
156087
|
+
$768744b4722fb808$var$createTextElement("sequence-id-placeholder", "| S:", 461.87147998410796, 358.75, 12),
|
|
156088
|
+
$768744b4722fb808$var$createTextElement("sequence", "0000001", 467.8714799891078, 358.75, 29),
|
|
156089
|
+
$768744b4722fb808$var$createTextElement("template-id-placeholder", "| T:", 491.5271239974538, 358.75, 14),
|
|
156090
|
+
$768744b4722fb808$var$createTextElement("templateId", "0001034", 498.5271240024538, 358.75, 29),
|
|
156091
|
+
$768744b4722fb808$var$createTextElement("order-id-placeholder", "| O:", 523.3714799941077, 358.75, 11),
|
|
156092
|
+
$768744b4722fb808$var$createTextElement("orderId", "0000127", 528.8714799991075, 358.75, 29)
|
|
156093
|
+
];
|
|
156094
|
+
elements.forEach((element)=>page.addElement(element));
|
|
156095
|
+
store.history.clear();
|
|
156096
|
+
};
|
|
156097
|
+
const $768744b4722fb808$export$899209a621893be4 = (store)=>{
|
|
156098
|
+
const page = store.pages[1];
|
|
156099
|
+
const elements = [
|
|
156100
|
+
$768744b4722fb808$var$createTextElement("cont-id-placeholder", "C:", 707.8534189829551, 542, 11),
|
|
156101
|
+
$768744b4722fb808$var$createTextElement("contId", "0000001", 711.2754448793503, 542, 30),
|
|
156102
|
+
$768744b4722fb808$var$createTextElement("sequence-id-placeholder", "| S:", 737.1400149293197, 542, 12),
|
|
156103
|
+
$768744b4722fb808$var$createTextElement("sequence", "0000001", 743.1400149343198, 542, 29),
|
|
156104
|
+
$768744b4722fb808$var$createTextElement("template-id-placeholder", "| T:", 767.506110379385, 542, 14),
|
|
156105
|
+
$768744b4722fb808$var$createTextElement("templateId", "0001034", 774.5061103843851, 542, 29),
|
|
156106
|
+
$768744b4722fb808$var$createTextElement("order-id-placeholder", "| O:", 801.4538896665712, 542, 11),
|
|
156107
|
+
$768744b4722fb808$var$createTextElement("orderId", "0000127", 806.9538896715718, 542, 29)
|
|
156108
|
+
];
|
|
156109
|
+
elements.forEach((element)=>page.addElement(element));
|
|
156110
|
+
store.history.clear();
|
|
156111
|
+
};
|
|
156112
|
+
const $768744b4722fb808$export$66ae5fd335496bc4 = (store)=>{
|
|
156113
|
+
const page = store.pages[1];
|
|
156114
|
+
const elements = [
|
|
156115
|
+
$768744b4722fb808$var$createTextElement("cont-id-placeholder", "C:", 909.5172787002037, 540, 11),
|
|
156116
|
+
$768744b4722fb808$var$createTextElement("contId", "0000001", 912.032892116843, 540, 30),
|
|
156117
|
+
$768744b4722fb808$var$createTextElement("sequence-id-placeholder", "| S:", 936.0328921218431, 540, 12),
|
|
156118
|
+
$768744b4722fb808$var$createTextElement("sequence", "0000001", 942.032892126843, 540, 29),
|
|
156119
|
+
$768744b4722fb808$var$createTextElement("template-id-placeholder", "| T:", 964.0328921318434, 540, 14),
|
|
156120
|
+
$768744b4722fb808$var$createTextElement("templateId", "0001034", 971.032892136843, 540, 29),
|
|
156121
|
+
$768744b4722fb808$var$createTextElement("order-id-placeholder", "| O:", 996.7496765011042, 540, 11),
|
|
156122
|
+
$768744b4722fb808$var$createTextElement("orderId", "0000127", 1002.2496765061048, 540, 29)
|
|
156123
|
+
];
|
|
156124
|
+
elements.forEach((element)=>page.addElement(element));
|
|
156125
|
+
store.history.clear();
|
|
156126
|
+
};
|
|
156127
|
+
|
|
156128
|
+
|
|
156129
|
+
// Define the type for the element being added
|
|
156130
|
+
// Reusable function to create text elements
|
|
156131
|
+
const $51508741c150f786$var$createTextElement = (id, text, x, y, width)=>({
|
|
156132
|
+
id: id,
|
|
156133
|
+
type: "text",
|
|
156134
|
+
name: "",
|
|
156135
|
+
opacity: 1,
|
|
156136
|
+
visible: true,
|
|
156137
|
+
selectable: false,
|
|
156138
|
+
removable: false,
|
|
156139
|
+
alwaysOnTop: true,
|
|
156140
|
+
showInExport: true,
|
|
156141
|
+
x: x,
|
|
156142
|
+
y: y,
|
|
156143
|
+
width: width,
|
|
156144
|
+
height: 11,
|
|
156145
|
+
rotation: 0,
|
|
156146
|
+
draggable: false,
|
|
156147
|
+
resizable: true,
|
|
156148
|
+
contentEditable: true,
|
|
156149
|
+
styleEditable: false,
|
|
156150
|
+
text: text,
|
|
156151
|
+
fontSize: 5,
|
|
156152
|
+
fontFamily: "Roboto",
|
|
156153
|
+
fontStyle: "normal",
|
|
156154
|
+
fontWeight: "normal",
|
|
156155
|
+
fill: "grey",
|
|
156156
|
+
align: "center",
|
|
156157
|
+
verticalAlign: "top",
|
|
156158
|
+
lineHeight: 1.2,
|
|
156159
|
+
letterSpacing: 0
|
|
156160
|
+
});
|
|
156161
|
+
const $51508741c150f786$export$5954736cf3fbdf78 = (store)=>{
|
|
156162
|
+
const page = store.pages[0];
|
|
156163
|
+
const elements = [
|
|
156164
|
+
$51508741c150f786$var$createTextElement("cont-id-placeholder", "C:", 310.99252000089285, 246.16, 11),
|
|
156165
|
+
$51508741c150f786$var$createTextElement("contId", "0000001", 313.96747996910744, 246.16, 30),
|
|
156166
|
+
$51508741c150f786$var$createTextElement("sequence-id-placeholder", "| S:", 337.9674799741075, 246.16, 12),
|
|
156167
|
+
$51508741c150f786$var$createTextElement("sequence", "0000001", 343.9674799791074, 246.16, 29),
|
|
156168
|
+
$51508741c150f786$var$createTextElement("template-id-placeholder", "| T:", 367.6231239874537, 246.16, 14),
|
|
156169
|
+
$51508741c150f786$var$createTextElement("templateId", "0001034", 374.6231239924535, 246.16, 29),
|
|
156170
|
+
$51508741c150f786$var$createTextElement("order-id-placeholder", "| O:", 399.4674799841078, 246.16, 11),
|
|
156171
|
+
$51508741c150f786$var$createTextElement("orderId", "0000127", 404.9674799891071, 246.16, 29)
|
|
156172
|
+
];
|
|
156173
|
+
elements.forEach((element)=>page.addElement(element));
|
|
156174
|
+
store.history.clear();
|
|
156175
|
+
};
|
|
156176
|
+
const $51508741c150f786$export$ce295e98442f9ea4 = (store)=>{
|
|
156177
|
+
const page = store.pages[0];
|
|
156178
|
+
const elements = [
|
|
156179
|
+
$51508741c150f786$var$createTextElement("cont-id-placeholder", "C:", 3.8581732170865024, 1040, 11),
|
|
156180
|
+
$51508741c150f786$var$createTextElement("contId", "0000001", 6.833133185301714, 1040, 30),
|
|
156181
|
+
$51508741c150f786$var$createTextElement("sequence-id-placeholder", "| S:", 30.83313319030166, 1040, 12),
|
|
156182
|
+
$51508741c150f786$var$createTextElement("sequence", "0000001", 36.833133195301436, 1040, 29),
|
|
156183
|
+
$51508741c150f786$var$createTextElement("template-id-placeholder", "| T:", 60.48877720364756, 1040, 14),
|
|
156184
|
+
$51508741c150f786$var$createTextElement("templateId", "0001034", 67.48877720864735, 1040, 29),
|
|
156185
|
+
$51508741c150f786$var$createTextElement("order-id-placeholder", "| O:", 92.33313320030143, 1040, 11),
|
|
156186
|
+
$51508741c150f786$var$createTextElement("orderId", "0000127", 97.8331332053007, 1040, 29)
|
|
156187
|
+
];
|
|
156188
|
+
elements.forEach((element)=>page.addElement(element));
|
|
156189
|
+
store.history.clear();
|
|
156190
|
+
};
|
|
156191
|
+
|
|
156192
|
+
|
|
156193
|
+
// Define the type for the element being added
|
|
156194
|
+
// Reusable function to create text elements
|
|
156195
|
+
const $485d56f548def85d$var$createTextElement = (id, text, x, y, width)=>({
|
|
156196
|
+
id: id,
|
|
156197
|
+
type: "text",
|
|
156198
|
+
name: "",
|
|
156199
|
+
opacity: 1,
|
|
156200
|
+
visible: true,
|
|
156201
|
+
selectable: false,
|
|
156202
|
+
removable: false,
|
|
156203
|
+
alwaysOnTop: true,
|
|
156204
|
+
showInExport: true,
|
|
156205
|
+
x: x,
|
|
156206
|
+
y: y,
|
|
156207
|
+
width: width,
|
|
156208
|
+
height: 11,
|
|
156209
|
+
rotation: 0,
|
|
156210
|
+
draggable: true,
|
|
156211
|
+
resizable: true,
|
|
156212
|
+
contentEditable: true,
|
|
156213
|
+
styleEditable: false,
|
|
156214
|
+
text: text,
|
|
156215
|
+
fontSize: 5,
|
|
156216
|
+
fontFamily: "Roboto",
|
|
156217
|
+
fontStyle: "normal",
|
|
156218
|
+
fontWeight: "normal",
|
|
156219
|
+
fill: "grey",
|
|
156220
|
+
align: "center",
|
|
156221
|
+
verticalAlign: "top",
|
|
156222
|
+
lineHeight: 1.2,
|
|
156223
|
+
letterSpacing: 0
|
|
156224
|
+
});
|
|
156225
|
+
const $485d56f548def85d$export$a29cc4742dc0ae55 = (store)=>{
|
|
156226
|
+
const page = store.pages[0];
|
|
156227
|
+
const elements = [
|
|
156228
|
+
$485d56f548def85d$var$createTextElement("cont-id-placeholder", "C:", 3.8581732170865024, 803, 11),
|
|
156229
|
+
$485d56f548def85d$var$createTextElement("contId", "0000001", 6.833133185301714, 803, 30),
|
|
156230
|
+
$485d56f548def85d$var$createTextElement("sequence-id-placeholder", "| S:", 30.83313319030166, 803, 12),
|
|
156231
|
+
$485d56f548def85d$var$createTextElement("sequence", "0000001", 36.833133195301436, 803, 29),
|
|
156232
|
+
$485d56f548def85d$var$createTextElement("template-id-placeholder", "| T:", 60.48877720364756, 803, 14),
|
|
156233
|
+
$485d56f548def85d$var$createTextElement("templateId", "0001034", 67.48877720864735, 803, 29),
|
|
156234
|
+
$485d56f548def85d$var$createTextElement("order-id-placeholder", "| O:", 92.33313320030143, 803, 11),
|
|
156235
|
+
$485d56f548def85d$var$createTextElement("orderId", "0000127", 97.8331332053007, 803, 29)
|
|
156236
|
+
];
|
|
156237
|
+
elements.forEach((element)=>page.addElement(element));
|
|
156238
|
+
store.history.clear();
|
|
156239
|
+
};
|
|
156240
|
+
|
|
156241
|
+
|
|
156242
|
+
// Define the type for the element being added
|
|
156243
|
+
// Reusable function to create text elements
|
|
156244
|
+
const $d9e2cab277ae8df0$var$createTextElement = (id, text, x, y, width)=>({
|
|
156245
|
+
id: id,
|
|
156246
|
+
type: "text",
|
|
156247
|
+
name: "",
|
|
156248
|
+
opacity: 1,
|
|
156249
|
+
visible: true,
|
|
156250
|
+
selectable: false,
|
|
156251
|
+
removable: false,
|
|
156252
|
+
alwaysOnTop: true,
|
|
156253
|
+
showInExport: true,
|
|
156254
|
+
x: x,
|
|
156255
|
+
y: y,
|
|
156256
|
+
width: width,
|
|
156257
|
+
height: 11,
|
|
156258
|
+
rotation: 0,
|
|
156259
|
+
draggable: true,
|
|
156260
|
+
resizable: true,
|
|
156261
|
+
contentEditable: true,
|
|
156262
|
+
styleEditable: false,
|
|
156263
|
+
text: text,
|
|
156264
|
+
fontSize: 5,
|
|
156265
|
+
fontFamily: "Roboto",
|
|
156266
|
+
fontStyle: "normal",
|
|
156267
|
+
fontWeight: "normal",
|
|
156268
|
+
fill: "grey",
|
|
156269
|
+
align: "center",
|
|
156270
|
+
verticalAlign: "top",
|
|
156271
|
+
lineHeight: 1.2,
|
|
156272
|
+
letterSpacing: 0
|
|
156273
|
+
});
|
|
156274
|
+
const $d9e2cab277ae8df0$export$f9ad0aa59cab1535 = (store)=>{
|
|
156275
|
+
const page = store.pages[0];
|
|
156276
|
+
const elements = [
|
|
156277
|
+
$d9e2cab277ae8df0$var$createTextElement("cont-id-placeholder", "C:", 726.6250400017847, 541.5, 11),
|
|
156278
|
+
$d9e2cab277ae8df0$var$createTextElement("contId", "0000001", 729.5999999700006, 541.5, 30),
|
|
156279
|
+
$d9e2cab277ae8df0$var$createTextElement("sequence-id-placeholder", "| S:", 753.5999999750006, 541.5, 12),
|
|
156280
|
+
$d9e2cab277ae8df0$var$createTextElement("sequence", "0000001", 759.5999999800002, 541.5, 29),
|
|
156281
|
+
$d9e2cab277ae8df0$var$createTextElement("template-id-placeholder", "| T:", 783.2556439883459, 541.5, 14),
|
|
156282
|
+
$d9e2cab277ae8df0$var$createTextElement("templateId", "0001034", 790.2556439933462, 541.5, 29),
|
|
156283
|
+
$d9e2cab277ae8df0$var$createTextElement("order-id-placeholder", "| O:", 815.0999999850002, 541.5, 11),
|
|
156284
|
+
$d9e2cab277ae8df0$var$createTextElement("orderId", "0000127", 820.59999999, 541.5, 29)
|
|
156285
|
+
];
|
|
156286
|
+
elements.forEach((element)=>page.addElement(element));
|
|
156287
|
+
store.history.clear();
|
|
156288
|
+
};
|
|
156289
|
+
|
|
156290
|
+
|
|
156291
|
+
// Define the type for the element being added
|
|
156292
|
+
// Reusable function to create text elements
|
|
156293
|
+
const $677d0745145b4a1a$var$createTextElement = (id, text, x, y, width)=>({
|
|
156294
|
+
id: id,
|
|
156295
|
+
type: "text",
|
|
156296
|
+
name: "",
|
|
156297
|
+
opacity: 1,
|
|
156298
|
+
visible: true,
|
|
156299
|
+
selectable: false,
|
|
156300
|
+
removable: false,
|
|
156301
|
+
alwaysOnTop: true,
|
|
156302
|
+
showInExport: true,
|
|
156303
|
+
x: x,
|
|
156304
|
+
y: y,
|
|
156305
|
+
width: width,
|
|
156306
|
+
height: 11,
|
|
156307
|
+
rotation: 0,
|
|
156308
|
+
draggable: true,
|
|
156309
|
+
resizable: true,
|
|
156310
|
+
contentEditable: true,
|
|
156311
|
+
styleEditable: false,
|
|
156312
|
+
text: text,
|
|
156313
|
+
fontSize: 5,
|
|
156314
|
+
fontFamily: "Roboto",
|
|
156315
|
+
fontStyle: "normal",
|
|
156316
|
+
fontWeight: "normal",
|
|
156317
|
+
fill: "grey",
|
|
156318
|
+
align: "center",
|
|
156319
|
+
verticalAlign: "top",
|
|
156320
|
+
lineHeight: 1.2,
|
|
156321
|
+
letterSpacing: 0
|
|
156322
|
+
});
|
|
156323
|
+
const $677d0745145b4a1a$export$8775983e2ec5c695 = (store)=>{
|
|
156324
|
+
const page = store.pages[0];
|
|
156325
|
+
const elements = [
|
|
156326
|
+
$677d0745145b4a1a$var$createTextElement("cont-id-placeholder", "C:", 711.5154278092572, 741.6, 11),
|
|
156327
|
+
$677d0745145b4a1a$var$createTextElement("contId", "0000001", 714.4903877774723, 741.6, 30),
|
|
156328
|
+
$677d0745145b4a1a$var$createTextElement("sequence-id-placeholder", "| S:", 738.4903877824727, 741.6, 12),
|
|
156329
|
+
$677d0745145b4a1a$var$createTextElement("sequence", "0000001", 744.4903877874724, 741.6, 29),
|
|
156330
|
+
$677d0745145b4a1a$var$createTextElement("template-id-placeholder", "| T:", 768.1460317958182, 741.6, 14),
|
|
156331
|
+
$677d0745145b4a1a$var$createTextElement("templateId", "0001034", 775.1460318008185, 741.6, 29),
|
|
156332
|
+
$677d0745145b4a1a$var$createTextElement("order-id-placeholder", "| O:", 799.9903877924726, 741.6, 11),
|
|
156333
|
+
$677d0745145b4a1a$var$createTextElement("orderId", "0000127", 805.4903877974713, 741.6, 29)
|
|
156334
|
+
];
|
|
156335
|
+
elements.forEach((element)=>page.addElement(element));
|
|
156336
|
+
store.history.clear();
|
|
156337
|
+
};
|
|
156338
|
+
|
|
156339
|
+
|
|
156340
|
+
const $729142c3e2d905ee$export$4e7e1f53e01e76b7 = (productId, store)=>{
|
|
156341
|
+
if (!productId) return;
|
|
156342
|
+
if (+productId === 13) (0, $768744b4722fb808$export$f5707e68f180b61d)(store);
|
|
156343
|
+
else if (+productId === 14) (0, $768744b4722fb808$export$899209a621893be4)(store);
|
|
156344
|
+
else if (+productId === 15) (0, $768744b4722fb808$export$66ae5fd335496bc4)(store);
|
|
156345
|
+
else if (+productId === 2) (0, $51508741c150f786$export$5954736cf3fbdf78)(store);
|
|
156346
|
+
else if (+productId === 4) (0, $51508741c150f786$export$ce295e98442f9ea4)(store);
|
|
156347
|
+
else if (+productId === 5) (0, $485d56f548def85d$export$a29cc4742dc0ae55)(store);
|
|
156348
|
+
else if (+productId === 9) (0, $d9e2cab277ae8df0$export$f9ad0aa59cab1535)(store);
|
|
156349
|
+
else if (+productId === 11) (0, $677d0745145b4a1a$export$8775983e2ec5c695)(store);
|
|
156350
|
+
};
|
|
156351
|
+
|
|
156352
|
+
|
|
156332
156353
|
// Define the type for the element being added
|
|
156333
156354
|
const $14dc1102dd22ee0f$export$fac40f04596fc189 = (store)=>{
|
|
156334
156355
|
const page = store.pages[0];
|
|
@@ -157225,6 +157246,7 @@ var $d31b9bd88e5dcf67$export$2e2bcd8739ae039 = $d31b9bd88e5dcf67$var$TopNavigati
|
|
|
157225
157246
|
|
|
157226
157247
|
|
|
157227
157248
|
|
|
157249
|
+
|
|
157228
157250
|
|
|
157229
157251
|
|
|
157230
157252
|
const $21e11f889f8068bf$var$templateDefaultDesign = (props)=>{
|
|
@@ -158056,6 +158078,7 @@ const $e8f6665471b594e0$var$CustomTemplateSection = {
|
|
|
158056
158078
|
store.selectPage(store.pages[0].id);
|
|
158057
158079
|
}
|
|
158058
158080
|
(0, $ad01ab85e9f42d02$export$8029e38c28541a)(store, product, envelopeType);
|
|
158081
|
+
(0, $729142c3e2d905ee$export$4e7e1f53e01e76b7)(product.id, store);
|
|
158059
158082
|
handleDialogChange("");
|
|
158060
158083
|
if (templateGalleryModal) closeGalleryModal();
|
|
158061
158084
|
};
|
|
@@ -159285,6 +159308,7 @@ const $6248df0c26b0b2d9$var$TemplateBuilder = ({ store: store, onReturnAndNaviga
|
|
|
159285
159308
|
}
|
|
159286
159309
|
//@ts-ignore
|
|
159287
159310
|
(0, $ad01ab85e9f42d02$export$8029e38c28541a)(store, product, envelopeType);
|
|
159311
|
+
(0, $729142c3e2d905ee$export$4e7e1f53e01e76b7)(product.id, store);
|
|
159288
159312
|
if (currentTemplateType === "Real Penned Letter") handleRealPennedLetters();
|
|
159289
159313
|
store.history.clear();
|
|
159290
159314
|
}
|