@pdfme/common 3.1.2-dev.1 → 3.1.2-dev.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/dist/cjs/src/schema.js
CHANGED
@@ -11,6 +11,7 @@ exports.Dict = zod_1.z.object({
|
|
11
11
|
fieldName: zod_1.z.string(),
|
12
12
|
align: zod_1.z.string(),
|
13
13
|
width: zod_1.z.string(),
|
14
|
+
opacity: zod_1.z.string(),
|
14
15
|
height: zod_1.z.string(),
|
15
16
|
rotate: zod_1.z.string(),
|
16
17
|
edit: zod_1.z.string(),
|
@@ -57,6 +58,7 @@ exports.Schema = zod_1.z
|
|
57
58
|
width: zod_1.z.number(),
|
58
59
|
height: zod_1.z.number(),
|
59
60
|
rotate: zod_1.z.number().optional(),
|
61
|
+
opacity: zod_1.z.number().optional(),
|
60
62
|
})
|
61
63
|
.passthrough();
|
62
64
|
const SchemaForUIAdditionalInfo = zod_1.z.object({
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../src/schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,MAAM,KAAK,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAU,CAAC;AAE/C,QAAA,IAAI,GAAG,OAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AACrB,QAAA,IAAI,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3B,+CAA+C;IAC/C,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,MAAM,EAAE,OAAC,CAAC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ema.js
CHANGED
@@ -8,6 +8,7 @@ export const Dict = z.object({
|
|
8
8
|
fieldName: z.string(),
|
9
9
|
align: z.string(),
|
10
10
|
width: z.string(),
|
11
|
+
opacity: z.string(),
|
11
12
|
height: z.string(),
|
12
13
|
rotate: z.string(),
|
13
14
|
edit: z.string(),
|
@@ -54,6 +55,7 @@ export const Schema = z
|
|
54
55
|
width: z.number(),
|
55
56
|
height: z.number(),
|
56
57
|
rotate: z.number().optional(),
|
58
|
+
opacity: z.number().optional(),
|
57
59
|
})
|
58
60
|
.passthrough();
|
59
61
|
const SchemaForUIAdditionalInfo = z.object({
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../src/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,KAAK,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAU,CAAC;AAE5D,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAClC,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3B,+CAA+C;IAC/C,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,OAAO,EAAE,CAAC,CAA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M,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC"}
|
@@ -6,6 +6,7 @@ export declare const Dict: z.ZodObject<{
|
|
6
6
|
fieldName: z.ZodString;
|
7
7
|
align: z.ZodString;
|
8
8
|
width: z.ZodString;
|
9
|
+
opacity: z.ZodString;
|
9
10
|
height: z.ZodString;
|
10
11
|
rotate: z.ZodString;
|
11
12
|
edit: z.ZodString;
|
@@ -48,6 +49,7 @@ export declare const Dict: z.ZodObject<{
|
|
48
49
|
fieldName: string;
|
49
50
|
align: string;
|
50
51
|
width: string;
|
52
|
+
opacity: string;
|
51
53
|
height: string;
|
52
54
|
rotate: string;
|
53
55
|
edit: string;
|
@@ -90,6 +92,7 @@ export declare const Dict: z.ZodObject<{
|
|
90
92
|
fieldName: string;
|
91
93
|
align: string;
|
92
94
|
width: string;
|
95
|
+
opacity: string;
|
93
96
|
height: string;
|
94
97
|
rotate: string;
|
95
98
|
edit: string;
|
@@ -152,6 +155,7 @@ export declare const Schema: z.ZodObject<{
|
|
152
155
|
width: z.ZodNumber;
|
153
156
|
height: z.ZodNumber;
|
154
157
|
rotate: z.ZodOptional<z.ZodNumber>;
|
158
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
155
159
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
156
160
|
type: z.ZodString;
|
157
161
|
position: z.ZodObject<{
|
@@ -167,6 +171,7 @@ export declare const Schema: z.ZodObject<{
|
|
167
171
|
width: z.ZodNumber;
|
168
172
|
height: z.ZodNumber;
|
169
173
|
rotate: z.ZodOptional<z.ZodNumber>;
|
174
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
170
175
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
171
176
|
type: z.ZodString;
|
172
177
|
position: z.ZodObject<{
|
@@ -182,9 +187,11 @@ export declare const Schema: z.ZodObject<{
|
|
182
187
|
width: z.ZodNumber;
|
183
188
|
height: z.ZodNumber;
|
184
189
|
rotate: z.ZodOptional<z.ZodNumber>;
|
190
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
185
191
|
}, z.ZodTypeAny, "passthrough">>;
|
186
192
|
export declare const SchemaForUI: z.ZodObject<{
|
187
193
|
width: z.ZodNumber;
|
194
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
188
195
|
height: z.ZodNumber;
|
189
196
|
rotate: z.ZodOptional<z.ZodNumber>;
|
190
197
|
type: z.ZodString;
|
@@ -212,6 +219,7 @@ export declare const SchemaForUI: z.ZodObject<{
|
|
212
219
|
data: string;
|
213
220
|
id: string;
|
214
221
|
key: string;
|
222
|
+
opacity?: number | undefined;
|
215
223
|
rotate?: number | undefined;
|
216
224
|
}, {
|
217
225
|
width: number;
|
@@ -224,6 +232,7 @@ export declare const SchemaForUI: z.ZodObject<{
|
|
224
232
|
data: string;
|
225
233
|
id: string;
|
226
234
|
key: string;
|
235
|
+
opacity?: number | undefined;
|
227
236
|
rotate?: number | undefined;
|
228
237
|
}>;
|
229
238
|
export declare const Font: z.ZodRecord<z.ZodString, z.ZodObject<{
|
@@ -256,6 +265,7 @@ export declare const Template: z.ZodObject<{
|
|
256
265
|
width: z.ZodNumber;
|
257
266
|
height: z.ZodNumber;
|
258
267
|
rotate: z.ZodOptional<z.ZodNumber>;
|
268
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
259
269
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
260
270
|
type: z.ZodString;
|
261
271
|
position: z.ZodObject<{
|
@@ -271,6 +281,7 @@ export declare const Template: z.ZodObject<{
|
|
271
281
|
width: z.ZodNumber;
|
272
282
|
height: z.ZodNumber;
|
273
283
|
rotate: z.ZodOptional<z.ZodNumber>;
|
284
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
274
285
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
275
286
|
type: z.ZodString;
|
276
287
|
position: z.ZodObject<{
|
@@ -286,6 +297,7 @@ export declare const Template: z.ZodObject<{
|
|
286
297
|
width: z.ZodNumber;
|
287
298
|
height: z.ZodNumber;
|
288
299
|
rotate: z.ZodOptional<z.ZodNumber>;
|
300
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
289
301
|
}, z.ZodTypeAny, "passthrough">>>, "many">;
|
290
302
|
basePdf: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
|
291
303
|
sampledata: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
|
@@ -306,6 +318,7 @@ export declare const Template: z.ZodObject<{
|
|
306
318
|
width: z.ZodNumber;
|
307
319
|
height: z.ZodNumber;
|
308
320
|
rotate: z.ZodOptional<z.ZodNumber>;
|
321
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
309
322
|
}, z.ZodTypeAny, "passthrough">>[];
|
310
323
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
311
324
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -326,6 +339,7 @@ export declare const Template: z.ZodObject<{
|
|
326
339
|
width: z.ZodNumber;
|
327
340
|
height: z.ZodNumber;
|
328
341
|
rotate: z.ZodOptional<z.ZodNumber>;
|
342
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
329
343
|
}, z.ZodTypeAny, "passthrough">>[];
|
330
344
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
331
345
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -419,6 +433,7 @@ export declare const GenerateProps: z.ZodObject<{
|
|
419
433
|
width: z.ZodNumber;
|
420
434
|
height: z.ZodNumber;
|
421
435
|
rotate: z.ZodOptional<z.ZodNumber>;
|
436
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
422
437
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
423
438
|
type: z.ZodString;
|
424
439
|
position: z.ZodObject<{
|
@@ -434,6 +449,7 @@ export declare const GenerateProps: z.ZodObject<{
|
|
434
449
|
width: z.ZodNumber;
|
435
450
|
height: z.ZodNumber;
|
436
451
|
rotate: z.ZodOptional<z.ZodNumber>;
|
452
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
437
453
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
438
454
|
type: z.ZodString;
|
439
455
|
position: z.ZodObject<{
|
@@ -449,6 +465,7 @@ export declare const GenerateProps: z.ZodObject<{
|
|
449
465
|
width: z.ZodNumber;
|
450
466
|
height: z.ZodNumber;
|
451
467
|
rotate: z.ZodOptional<z.ZodNumber>;
|
468
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
452
469
|
}, z.ZodTypeAny, "passthrough">>>, "many">;
|
453
470
|
basePdf: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
|
454
471
|
sampledata: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
|
@@ -469,6 +486,7 @@ export declare const GenerateProps: z.ZodObject<{
|
|
469
486
|
width: z.ZodNumber;
|
470
487
|
height: z.ZodNumber;
|
471
488
|
rotate: z.ZodOptional<z.ZodNumber>;
|
489
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
472
490
|
}, z.ZodTypeAny, "passthrough">>[];
|
473
491
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
474
492
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -489,6 +507,7 @@ export declare const GenerateProps: z.ZodObject<{
|
|
489
507
|
width: z.ZodNumber;
|
490
508
|
height: z.ZodNumber;
|
491
509
|
rotate: z.ZodOptional<z.ZodNumber>;
|
510
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
492
511
|
}, z.ZodTypeAny, "passthrough">>[];
|
493
512
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
494
513
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -595,6 +614,7 @@ export declare const GenerateProps: z.ZodObject<{
|
|
595
614
|
width: z.ZodNumber;
|
596
615
|
height: z.ZodNumber;
|
597
616
|
rotate: z.ZodOptional<z.ZodNumber>;
|
617
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
598
618
|
}, z.ZodTypeAny, "passthrough">>[];
|
599
619
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
600
620
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -647,6 +667,7 @@ export declare const GenerateProps: z.ZodObject<{
|
|
647
667
|
width: z.ZodNumber;
|
648
668
|
height: z.ZodNumber;
|
649
669
|
rotate: z.ZodOptional<z.ZodNumber>;
|
670
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
650
671
|
}, z.ZodTypeAny, "passthrough">>[];
|
651
672
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
652
673
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -752,6 +773,7 @@ export declare const UIProps: z.ZodObject<{
|
|
752
773
|
width: z.ZodNumber;
|
753
774
|
height: z.ZodNumber;
|
754
775
|
rotate: z.ZodOptional<z.ZodNumber>;
|
776
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
755
777
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
756
778
|
type: z.ZodString;
|
757
779
|
position: z.ZodObject<{
|
@@ -767,6 +789,7 @@ export declare const UIProps: z.ZodObject<{
|
|
767
789
|
width: z.ZodNumber;
|
768
790
|
height: z.ZodNumber;
|
769
791
|
rotate: z.ZodOptional<z.ZodNumber>;
|
792
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
770
793
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
771
794
|
type: z.ZodString;
|
772
795
|
position: z.ZodObject<{
|
@@ -782,6 +805,7 @@ export declare const UIProps: z.ZodObject<{
|
|
782
805
|
width: z.ZodNumber;
|
783
806
|
height: z.ZodNumber;
|
784
807
|
rotate: z.ZodOptional<z.ZodNumber>;
|
808
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
785
809
|
}, z.ZodTypeAny, "passthrough">>>, "many">;
|
786
810
|
basePdf: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
|
787
811
|
sampledata: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
|
@@ -802,6 +826,7 @@ export declare const UIProps: z.ZodObject<{
|
|
802
826
|
width: z.ZodNumber;
|
803
827
|
height: z.ZodNumber;
|
804
828
|
rotate: z.ZodOptional<z.ZodNumber>;
|
829
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
805
830
|
}, z.ZodTypeAny, "passthrough">>[];
|
806
831
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
807
832
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -822,6 +847,7 @@ export declare const UIProps: z.ZodObject<{
|
|
822
847
|
width: z.ZodNumber;
|
823
848
|
height: z.ZodNumber;
|
824
849
|
rotate: z.ZodOptional<z.ZodNumber>;
|
850
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
825
851
|
}, z.ZodTypeAny, "passthrough">>[];
|
826
852
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
827
853
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -910,6 +936,7 @@ export declare const UIProps: z.ZodObject<{
|
|
910
936
|
width: z.ZodNumber;
|
911
937
|
height: z.ZodNumber;
|
912
938
|
rotate: z.ZodOptional<z.ZodNumber>;
|
939
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
913
940
|
}, z.ZodTypeAny, "passthrough">>[];
|
914
941
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
915
942
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -956,6 +983,7 @@ export declare const UIProps: z.ZodObject<{
|
|
956
983
|
width: z.ZodNumber;
|
957
984
|
height: z.ZodNumber;
|
958
985
|
rotate: z.ZodOptional<z.ZodNumber>;
|
986
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
959
987
|
}, z.ZodTypeAny, "passthrough">>[];
|
960
988
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
961
989
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1055,6 +1083,7 @@ export declare const PreviewProps: z.ZodObject<{
|
|
1055
1083
|
width: z.ZodNumber;
|
1056
1084
|
height: z.ZodNumber;
|
1057
1085
|
rotate: z.ZodOptional<z.ZodNumber>;
|
1086
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
1058
1087
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
1059
1088
|
type: z.ZodString;
|
1060
1089
|
position: z.ZodObject<{
|
@@ -1070,6 +1099,7 @@ export declare const PreviewProps: z.ZodObject<{
|
|
1070
1099
|
width: z.ZodNumber;
|
1071
1100
|
height: z.ZodNumber;
|
1072
1101
|
rotate: z.ZodOptional<z.ZodNumber>;
|
1102
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
1073
1103
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
1074
1104
|
type: z.ZodString;
|
1075
1105
|
position: z.ZodObject<{
|
@@ -1085,6 +1115,7 @@ export declare const PreviewProps: z.ZodObject<{
|
|
1085
1115
|
width: z.ZodNumber;
|
1086
1116
|
height: z.ZodNumber;
|
1087
1117
|
rotate: z.ZodOptional<z.ZodNumber>;
|
1118
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
1088
1119
|
}, z.ZodTypeAny, "passthrough">>>, "many">;
|
1089
1120
|
basePdf: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
|
1090
1121
|
sampledata: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
|
@@ -1105,6 +1136,7 @@ export declare const PreviewProps: z.ZodObject<{
|
|
1105
1136
|
width: z.ZodNumber;
|
1106
1137
|
height: z.ZodNumber;
|
1107
1138
|
rotate: z.ZodOptional<z.ZodNumber>;
|
1139
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
1108
1140
|
}, z.ZodTypeAny, "passthrough">>[];
|
1109
1141
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1110
1142
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1125,6 +1157,7 @@ export declare const PreviewProps: z.ZodObject<{
|
|
1125
1157
|
width: z.ZodNumber;
|
1126
1158
|
height: z.ZodNumber;
|
1127
1159
|
rotate: z.ZodOptional<z.ZodNumber>;
|
1160
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
1128
1161
|
}, z.ZodTypeAny, "passthrough">>[];
|
1129
1162
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1130
1163
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1162,6 +1195,7 @@ export declare const PreviewProps: z.ZodObject<{
|
|
1162
1195
|
width: z.ZodNumber;
|
1163
1196
|
height: z.ZodNumber;
|
1164
1197
|
rotate: z.ZodOptional<z.ZodNumber>;
|
1198
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
1165
1199
|
}, z.ZodTypeAny, "passthrough">>[];
|
1166
1200
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1167
1201
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1209,6 +1243,7 @@ export declare const PreviewProps: z.ZodObject<{
|
|
1209
1243
|
width: z.ZodNumber;
|
1210
1244
|
height: z.ZodNumber;
|
1211
1245
|
rotate: z.ZodOptional<z.ZodNumber>;
|
1246
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
1212
1247
|
}, z.ZodTypeAny, "passthrough">>[];
|
1213
1248
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1214
1249
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1309,6 +1344,7 @@ export declare const DesignerProps: z.ZodObject<{
|
|
1309
1344
|
width: z.ZodNumber;
|
1310
1345
|
height: z.ZodNumber;
|
1311
1346
|
rotate: z.ZodOptional<z.ZodNumber>;
|
1347
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
1312
1348
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
1313
1349
|
type: z.ZodString;
|
1314
1350
|
position: z.ZodObject<{
|
@@ -1324,6 +1360,7 @@ export declare const DesignerProps: z.ZodObject<{
|
|
1324
1360
|
width: z.ZodNumber;
|
1325
1361
|
height: z.ZodNumber;
|
1326
1362
|
rotate: z.ZodOptional<z.ZodNumber>;
|
1363
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
1327
1364
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
1328
1365
|
type: z.ZodString;
|
1329
1366
|
position: z.ZodObject<{
|
@@ -1339,6 +1376,7 @@ export declare const DesignerProps: z.ZodObject<{
|
|
1339
1376
|
width: z.ZodNumber;
|
1340
1377
|
height: z.ZodNumber;
|
1341
1378
|
rotate: z.ZodOptional<z.ZodNumber>;
|
1379
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
1342
1380
|
}, z.ZodTypeAny, "passthrough">>>, "many">;
|
1343
1381
|
basePdf: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
|
1344
1382
|
sampledata: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
|
@@ -1359,6 +1397,7 @@ export declare const DesignerProps: z.ZodObject<{
|
|
1359
1397
|
width: z.ZodNumber;
|
1360
1398
|
height: z.ZodNumber;
|
1361
1399
|
rotate: z.ZodOptional<z.ZodNumber>;
|
1400
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
1362
1401
|
}, z.ZodTypeAny, "passthrough">>[];
|
1363
1402
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1364
1403
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1379,6 +1418,7 @@ export declare const DesignerProps: z.ZodObject<{
|
|
1379
1418
|
width: z.ZodNumber;
|
1380
1419
|
height: z.ZodNumber;
|
1381
1420
|
rotate: z.ZodOptional<z.ZodNumber>;
|
1421
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
1382
1422
|
}, z.ZodTypeAny, "passthrough">>[];
|
1383
1423
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1384
1424
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1415,6 +1455,7 @@ export declare const DesignerProps: z.ZodObject<{
|
|
1415
1455
|
width: z.ZodNumber;
|
1416
1456
|
height: z.ZodNumber;
|
1417
1457
|
rotate: z.ZodOptional<z.ZodNumber>;
|
1458
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
1418
1459
|
}, z.ZodTypeAny, "passthrough">>[];
|
1419
1460
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1420
1461
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1461,6 +1502,7 @@ export declare const DesignerProps: z.ZodObject<{
|
|
1461
1502
|
width: z.ZodNumber;
|
1462
1503
|
height: z.ZodNumber;
|
1463
1504
|
rotate: z.ZodOptional<z.ZodNumber>;
|
1505
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
1464
1506
|
}, z.ZodTypeAny, "passthrough">>[];
|
1465
1507
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1466
1508
|
sampledata?: Record<string, string>[] | undefined;
|
package/package.json
CHANGED
package/src/schema.ts
CHANGED
@@ -10,6 +10,7 @@ export const Dict = z.object({
|
|
10
10
|
fieldName: z.string(),
|
11
11
|
align: z.string(),
|
12
12
|
width: z.string(),
|
13
|
+
opacity: z.string(),
|
13
14
|
height: z.string(),
|
14
15
|
rotate: z.string(),
|
15
16
|
edit: z.string(),
|
@@ -60,6 +61,7 @@ export const Schema = z
|
|
60
61
|
width: z.number(),
|
61
62
|
height: z.number(),
|
62
63
|
rotate: z.number().optional(),
|
64
|
+
opacity: z.number().optional(),
|
63
65
|
})
|
64
66
|
.passthrough();
|
65
67
|
|