@pdfme/common 4.2.3 → 4.2.4-dev.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/cjs/src/schema.js +1 -1
- package/dist/cjs/src/schema.js.map +1 -1
- package/dist/esm/src/schema.js +1 -1
- package/dist/esm/src/schema.js.map +1 -1
- package/dist/types/src/schema.d.ts +18 -59
- package/dist/types/src/types.d.ts +2 -0
- package/package.json +1 -1
- package/src/schema.ts +1 -1
- package/src/types.ts +2 -0
package/dist/cjs/src/schema.js
CHANGED
@@ -74,7 +74,6 @@ exports.Size = zod_1.z.object({ height: zod_1.z.number(), width: zod_1.z.number(
|
|
74
74
|
exports.Schema = zod_1.z
|
75
75
|
.object({
|
76
76
|
type: zod_1.z.string(),
|
77
|
-
icon: zod_1.z.string().optional(),
|
78
77
|
content: zod_1.z.string().optional(),
|
79
78
|
position: zod_1.z.object({ x: zod_1.z.number(), y: zod_1.z.number() }),
|
80
79
|
width: zod_1.z.number(),
|
@@ -139,6 +138,7 @@ exports.UIOptions = exports.CommonOptions.extend({
|
|
139
138
|
lang: exports.Lang.optional(),
|
140
139
|
labels: zod_1.z.record(zod_1.z.string(), zod_1.z.string()).optional(),
|
141
140
|
theme: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional(),
|
141
|
+
icons: zod_1.z.record(zod_1.z.string(), zod_1.z.string()).optional(),
|
142
142
|
});
|
143
143
|
const HTMLElementSchema = zod_1.z.any().refine((v) => v instanceof HTMLElement);
|
144
144
|
exports.UIProps = CommonProps.extend({
|
@@ -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,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE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AC,MAAM,CAAC;IACxC,YAAY,EAAE,iBAAiB;IAC/B,OAAO,EAAE,iBAAS,CAAC,QAAQ,EAAE;CAC9B,CAAC,CAAC;AAEU,QAAA,YAAY,GAAG,eAAO,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,cAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;AAE3D,QAAA,aAAa,GAAG,eAAO,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC"}
|
package/dist/esm/src/schema.js
CHANGED
@@ -71,7 +71,6 @@ export const Size = z.object({ height: z.number(), width: z.number() });
|
|
71
71
|
export const Schema = z
|
72
72
|
.object({
|
73
73
|
type: z.string(),
|
74
|
-
icon: z.string().optional(),
|
75
74
|
content: z.string().optional(),
|
76
75
|
position: z.object({ x: z.number(), y: z.number() }),
|
77
76
|
width: z.number(),
|
@@ -136,6 +135,7 @@ export const UIOptions = CommonOptions.extend({
|
|
136
135
|
lang: Lang.optional(),
|
137
136
|
labels: z.record(z.string(), z.string()).optional(),
|
138
137
|
theme: z.record(z.string(), z.unknown()).optional(),
|
138
|
+
icons: z.record(z.string(), z.string()).optional(),
|
139
139
|
});
|
140
140
|
const HTMLElementSchema = z.any().refine((v) => v instanceof HTMLElement);
|
141
141
|
export const UIProps = CommonProps.extend({
|
@@ -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,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAU,CAAC;AAE1F,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAClC,MAAM,CAAC,MAAM,IAAI,GA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M,iBAAiB,GAA6B,CAAC,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,YAAY,WAAW,CAAC,CAAC;AAEpG,MAAM,CAAC,MAAM,OAAO,GAAG,WAAW,CAAC,MAAM,CAAC;IACxC,YAAY,EAAE,iBAAiB;IAC/B,OAAO,EAAE,SAAS,CAAC,QAAQ,EAAE;CAC9B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,YAAY,GAAG,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;AAExE,MAAM,CAAC,MAAM,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC"}
|
@@ -198,7 +198,6 @@ export declare const Size: z.ZodObject<{
|
|
198
198
|
}>;
|
199
199
|
export declare const Schema: z.ZodObject<{
|
200
200
|
type: z.ZodString;
|
201
|
-
icon: z.ZodOptional<z.ZodString>;
|
202
201
|
content: z.ZodOptional<z.ZodString>;
|
203
202
|
position: z.ZodObject<{
|
204
203
|
x: z.ZodNumber;
|
@@ -217,7 +216,6 @@ export declare const Schema: z.ZodObject<{
|
|
217
216
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
218
217
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
219
218
|
type: z.ZodString;
|
220
|
-
icon: z.ZodOptional<z.ZodString>;
|
221
219
|
content: z.ZodOptional<z.ZodString>;
|
222
220
|
position: z.ZodObject<{
|
223
221
|
x: z.ZodNumber;
|
@@ -236,7 +234,6 @@ export declare const Schema: z.ZodObject<{
|
|
236
234
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
237
235
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
238
236
|
type: z.ZodString;
|
239
|
-
icon: z.ZodOptional<z.ZodString>;
|
240
237
|
content: z.ZodOptional<z.ZodString>;
|
241
238
|
position: z.ZodObject<{
|
242
239
|
x: z.ZodNumber;
|
@@ -260,7 +257,6 @@ export declare const SchemaForUI: z.ZodObject<{
|
|
260
257
|
height: z.ZodNumber;
|
261
258
|
rotate: z.ZodOptional<z.ZodNumber>;
|
262
259
|
type: z.ZodString;
|
263
|
-
icon: z.ZodOptional<z.ZodString>;
|
264
260
|
content: z.ZodOptional<z.ZodString>;
|
265
261
|
position: z.ZodObject<{
|
266
262
|
x: z.ZodNumber;
|
@@ -287,7 +283,6 @@ export declare const SchemaForUI: z.ZodObject<{
|
|
287
283
|
key: string;
|
288
284
|
opacity?: number | undefined;
|
289
285
|
rotate?: number | undefined;
|
290
|
-
icon?: string | undefined;
|
291
286
|
content?: string | undefined;
|
292
287
|
readOnly?: boolean | undefined;
|
293
288
|
}, {
|
@@ -302,7 +297,6 @@ export declare const SchemaForUI: z.ZodObject<{
|
|
302
297
|
key: string;
|
303
298
|
opacity?: number | undefined;
|
304
299
|
rotate?: number | undefined;
|
305
|
-
icon?: string | undefined;
|
306
300
|
content?: string | undefined;
|
307
301
|
readOnly?: boolean | undefined;
|
308
302
|
}>;
|
@@ -335,7 +329,6 @@ export declare const BasePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<Arr
|
|
335
329
|
export declare const Template: z.ZodObject<{
|
336
330
|
schemas: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
|
337
331
|
type: z.ZodString;
|
338
|
-
icon: z.ZodOptional<z.ZodString>;
|
339
332
|
content: z.ZodOptional<z.ZodString>;
|
340
333
|
position: z.ZodObject<{
|
341
334
|
x: z.ZodNumber;
|
@@ -354,7 +347,6 @@ export declare const Template: z.ZodObject<{
|
|
354
347
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
355
348
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
356
349
|
type: z.ZodString;
|
357
|
-
icon: z.ZodOptional<z.ZodString>;
|
358
350
|
content: z.ZodOptional<z.ZodString>;
|
359
351
|
position: z.ZodObject<{
|
360
352
|
x: z.ZodNumber;
|
@@ -373,7 +365,6 @@ export declare const Template: z.ZodObject<{
|
|
373
365
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
374
366
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
375
367
|
type: z.ZodString;
|
376
|
-
icon: z.ZodOptional<z.ZodString>;
|
377
368
|
content: z.ZodOptional<z.ZodString>;
|
378
369
|
position: z.ZodObject<{
|
379
370
|
x: z.ZodNumber;
|
@@ -408,7 +399,6 @@ export declare const Template: z.ZodObject<{
|
|
408
399
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
409
400
|
schemas: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
|
410
401
|
type: z.ZodString;
|
411
|
-
icon: z.ZodOptional<z.ZodString>;
|
412
402
|
content: z.ZodOptional<z.ZodString>;
|
413
403
|
position: z.ZodObject<{
|
414
404
|
x: z.ZodNumber;
|
@@ -427,7 +417,6 @@ export declare const Template: z.ZodObject<{
|
|
427
417
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
428
418
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
429
419
|
type: z.ZodString;
|
430
|
-
icon: z.ZodOptional<z.ZodString>;
|
431
420
|
content: z.ZodOptional<z.ZodString>;
|
432
421
|
position: z.ZodObject<{
|
433
422
|
x: z.ZodNumber;
|
@@ -446,7 +435,6 @@ export declare const Template: z.ZodObject<{
|
|
446
435
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
447
436
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
448
437
|
type: z.ZodString;
|
449
|
-
icon: z.ZodOptional<z.ZodString>;
|
450
438
|
content: z.ZodOptional<z.ZodString>;
|
451
439
|
position: z.ZodObject<{
|
452
440
|
x: z.ZodNumber;
|
@@ -481,7 +469,6 @@ export declare const Template: z.ZodObject<{
|
|
481
469
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
482
470
|
schemas: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
|
483
471
|
type: z.ZodString;
|
484
|
-
icon: z.ZodOptional<z.ZodString>;
|
485
472
|
content: z.ZodOptional<z.ZodString>;
|
486
473
|
position: z.ZodObject<{
|
487
474
|
x: z.ZodNumber;
|
@@ -500,7 +487,6 @@ export declare const Template: z.ZodObject<{
|
|
500
487
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
501
488
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
502
489
|
type: z.ZodString;
|
503
|
-
icon: z.ZodOptional<z.ZodString>;
|
504
490
|
content: z.ZodOptional<z.ZodString>;
|
505
491
|
position: z.ZodObject<{
|
506
492
|
x: z.ZodNumber;
|
@@ -519,7 +505,6 @@ export declare const Template: z.ZodObject<{
|
|
519
505
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
520
506
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
521
507
|
type: z.ZodString;
|
522
|
-
icon: z.ZodOptional<z.ZodString>;
|
523
508
|
content: z.ZodOptional<z.ZodString>;
|
524
509
|
position: z.ZodObject<{
|
525
510
|
x: z.ZodNumber;
|
@@ -686,7 +671,6 @@ export declare const GenerateProps: z.ZodObject<{
|
|
686
671
|
template: z.ZodObject<{
|
687
672
|
schemas: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
|
688
673
|
type: z.ZodString;
|
689
|
-
icon: z.ZodOptional<z.ZodString>;
|
690
674
|
content: z.ZodOptional<z.ZodString>;
|
691
675
|
position: z.ZodObject<{
|
692
676
|
x: z.ZodNumber;
|
@@ -705,7 +689,6 @@ export declare const GenerateProps: z.ZodObject<{
|
|
705
689
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
706
690
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
707
691
|
type: z.ZodString;
|
708
|
-
icon: z.ZodOptional<z.ZodString>;
|
709
692
|
content: z.ZodOptional<z.ZodString>;
|
710
693
|
position: z.ZodObject<{
|
711
694
|
x: z.ZodNumber;
|
@@ -724,7 +707,6 @@ export declare const GenerateProps: z.ZodObject<{
|
|
724
707
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
725
708
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
726
709
|
type: z.ZodString;
|
727
|
-
icon: z.ZodOptional<z.ZodString>;
|
728
710
|
content: z.ZodOptional<z.ZodString>;
|
729
711
|
position: z.ZodObject<{
|
730
712
|
x: z.ZodNumber;
|
@@ -759,7 +741,6 @@ export declare const GenerateProps: z.ZodObject<{
|
|
759
741
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
760
742
|
schemas: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
|
761
743
|
type: z.ZodString;
|
762
|
-
icon: z.ZodOptional<z.ZodString>;
|
763
744
|
content: z.ZodOptional<z.ZodString>;
|
764
745
|
position: z.ZodObject<{
|
765
746
|
x: z.ZodNumber;
|
@@ -778,7 +759,6 @@ export declare const GenerateProps: z.ZodObject<{
|
|
778
759
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
779
760
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
780
761
|
type: z.ZodString;
|
781
|
-
icon: z.ZodOptional<z.ZodString>;
|
782
762
|
content: z.ZodOptional<z.ZodString>;
|
783
763
|
position: z.ZodObject<{
|
784
764
|
x: z.ZodNumber;
|
@@ -797,7 +777,6 @@ export declare const GenerateProps: z.ZodObject<{
|
|
797
777
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
798
778
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
799
779
|
type: z.ZodString;
|
800
|
-
icon: z.ZodOptional<z.ZodString>;
|
801
780
|
content: z.ZodOptional<z.ZodString>;
|
802
781
|
position: z.ZodObject<{
|
803
782
|
x: z.ZodNumber;
|
@@ -832,7 +811,6 @@ export declare const GenerateProps: z.ZodObject<{
|
|
832
811
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
833
812
|
schemas: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
|
834
813
|
type: z.ZodString;
|
835
|
-
icon: z.ZodOptional<z.ZodString>;
|
836
814
|
content: z.ZodOptional<z.ZodString>;
|
837
815
|
position: z.ZodObject<{
|
838
816
|
x: z.ZodNumber;
|
@@ -851,7 +829,6 @@ export declare const GenerateProps: z.ZodObject<{
|
|
851
829
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
852
830
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
853
831
|
type: z.ZodString;
|
854
|
-
icon: z.ZodOptional<z.ZodString>;
|
855
832
|
content: z.ZodOptional<z.ZodString>;
|
856
833
|
position: z.ZodObject<{
|
857
834
|
x: z.ZodNumber;
|
@@ -870,7 +847,6 @@ export declare const GenerateProps: z.ZodObject<{
|
|
870
847
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
871
848
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
872
849
|
type: z.ZodString;
|
873
|
-
icon: z.ZodOptional<z.ZodString>;
|
874
850
|
content: z.ZodOptional<z.ZodString>;
|
875
851
|
position: z.ZodObject<{
|
876
852
|
x: z.ZodNumber;
|
@@ -994,7 +970,6 @@ export declare const GenerateProps: z.ZodObject<{
|
|
994
970
|
template: {
|
995
971
|
schemas: Record<string, z.objectOutputType<{
|
996
972
|
type: z.ZodString;
|
997
|
-
icon: z.ZodOptional<z.ZodString>;
|
998
973
|
content: z.ZodOptional<z.ZodString>;
|
999
974
|
position: z.ZodObject<{
|
1000
975
|
x: z.ZodNumber;
|
@@ -1060,7 +1035,6 @@ export declare const GenerateProps: z.ZodObject<{
|
|
1060
1035
|
template: {
|
1061
1036
|
schemas: Record<string, z.objectInputType<{
|
1062
1037
|
type: z.ZodString;
|
1063
|
-
icon: z.ZodOptional<z.ZodString>;
|
1064
1038
|
content: z.ZodOptional<z.ZodString>;
|
1065
1039
|
position: z.ZodObject<{
|
1066
1040
|
x: z.ZodNumber;
|
@@ -1140,6 +1114,7 @@ export declare const UIOptions: z.ZodObject<{
|
|
1140
1114
|
lang: z.ZodOptional<z.ZodEnum<["en", "zh", "ja", "ko", "ar", "th", "pl", "it", "de", "es", "fr"]>>;
|
1141
1115
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1142
1116
|
theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
1117
|
+
icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1143
1118
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
1144
1119
|
font: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
1145
1120
|
data: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
|
@@ -1157,6 +1132,7 @@ export declare const UIOptions: z.ZodObject<{
|
|
1157
1132
|
lang: z.ZodOptional<z.ZodEnum<["en", "zh", "ja", "ko", "ar", "th", "pl", "it", "de", "es", "fr"]>>;
|
1158
1133
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1159
1134
|
theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
1135
|
+
icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1160
1136
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
1161
1137
|
font: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
1162
1138
|
data: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
|
@@ -1174,12 +1150,12 @@ export declare const UIOptions: z.ZodObject<{
|
|
1174
1150
|
lang: z.ZodOptional<z.ZodEnum<["en", "zh", "ja", "ko", "ar", "th", "pl", "it", "de", "es", "fr"]>>;
|
1175
1151
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1176
1152
|
theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
1153
|
+
icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1177
1154
|
}, z.ZodTypeAny, "passthrough">>;
|
1178
1155
|
export declare const UIProps: z.ZodObject<{
|
1179
1156
|
template: z.ZodObject<{
|
1180
1157
|
schemas: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
|
1181
1158
|
type: z.ZodString;
|
1182
|
-
icon: z.ZodOptional<z.ZodString>;
|
1183
1159
|
content: z.ZodOptional<z.ZodString>;
|
1184
1160
|
position: z.ZodObject<{
|
1185
1161
|
x: z.ZodNumber;
|
@@ -1198,7 +1174,6 @@ export declare const UIProps: z.ZodObject<{
|
|
1198
1174
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
1199
1175
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
1200
1176
|
type: z.ZodString;
|
1201
|
-
icon: z.ZodOptional<z.ZodString>;
|
1202
1177
|
content: z.ZodOptional<z.ZodString>;
|
1203
1178
|
position: z.ZodObject<{
|
1204
1179
|
x: z.ZodNumber;
|
@@ -1217,7 +1192,6 @@ export declare const UIProps: z.ZodObject<{
|
|
1217
1192
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
1218
1193
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
1219
1194
|
type: z.ZodString;
|
1220
|
-
icon: z.ZodOptional<z.ZodString>;
|
1221
1195
|
content: z.ZodOptional<z.ZodString>;
|
1222
1196
|
position: z.ZodObject<{
|
1223
1197
|
x: z.ZodNumber;
|
@@ -1252,7 +1226,6 @@ export declare const UIProps: z.ZodObject<{
|
|
1252
1226
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
1253
1227
|
schemas: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
|
1254
1228
|
type: z.ZodString;
|
1255
|
-
icon: z.ZodOptional<z.ZodString>;
|
1256
1229
|
content: z.ZodOptional<z.ZodString>;
|
1257
1230
|
position: z.ZodObject<{
|
1258
1231
|
x: z.ZodNumber;
|
@@ -1271,7 +1244,6 @@ export declare const UIProps: z.ZodObject<{
|
|
1271
1244
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
1272
1245
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
1273
1246
|
type: z.ZodString;
|
1274
|
-
icon: z.ZodOptional<z.ZodString>;
|
1275
1247
|
content: z.ZodOptional<z.ZodString>;
|
1276
1248
|
position: z.ZodObject<{
|
1277
1249
|
x: z.ZodNumber;
|
@@ -1290,7 +1262,6 @@ export declare const UIProps: z.ZodObject<{
|
|
1290
1262
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
1291
1263
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
1292
1264
|
type: z.ZodString;
|
1293
|
-
icon: z.ZodOptional<z.ZodString>;
|
1294
1265
|
content: z.ZodOptional<z.ZodString>;
|
1295
1266
|
position: z.ZodObject<{
|
1296
1267
|
x: z.ZodNumber;
|
@@ -1325,7 +1296,6 @@ export declare const UIProps: z.ZodObject<{
|
|
1325
1296
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
1326
1297
|
schemas: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
|
1327
1298
|
type: z.ZodString;
|
1328
|
-
icon: z.ZodOptional<z.ZodString>;
|
1329
1299
|
content: z.ZodOptional<z.ZodString>;
|
1330
1300
|
position: z.ZodObject<{
|
1331
1301
|
x: z.ZodNumber;
|
@@ -1344,7 +1314,6 @@ export declare const UIProps: z.ZodObject<{
|
|
1344
1314
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
1345
1315
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
1346
1316
|
type: z.ZodString;
|
1347
|
-
icon: z.ZodOptional<z.ZodString>;
|
1348
1317
|
content: z.ZodOptional<z.ZodString>;
|
1349
1318
|
position: z.ZodObject<{
|
1350
1319
|
x: z.ZodNumber;
|
@@ -1363,7 +1332,6 @@ export declare const UIProps: z.ZodObject<{
|
|
1363
1332
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
1364
1333
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
1365
1334
|
type: z.ZodString;
|
1366
|
-
icon: z.ZodOptional<z.ZodString>;
|
1367
1335
|
content: z.ZodOptional<z.ZodString>;
|
1368
1336
|
position: z.ZodObject<{
|
1369
1337
|
x: z.ZodNumber;
|
@@ -1427,6 +1395,7 @@ export declare const UIProps: z.ZodObject<{
|
|
1427
1395
|
lang: z.ZodOptional<z.ZodEnum<["en", "zh", "ja", "ko", "ar", "th", "pl", "it", "de", "es", "fr"]>>;
|
1428
1396
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1429
1397
|
theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
1398
|
+
icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1430
1399
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
1431
1400
|
font: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
1432
1401
|
data: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
|
@@ -1444,6 +1413,7 @@ export declare const UIProps: z.ZodObject<{
|
|
1444
1413
|
lang: z.ZodOptional<z.ZodEnum<["en", "zh", "ja", "ko", "ar", "th", "pl", "it", "de", "es", "fr"]>>;
|
1445
1414
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1446
1415
|
theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
1416
|
+
icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1447
1417
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
1448
1418
|
font: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
1449
1419
|
data: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
|
@@ -1461,12 +1431,12 @@ export declare const UIProps: z.ZodObject<{
|
|
1461
1431
|
lang: z.ZodOptional<z.ZodEnum<["en", "zh", "ja", "ko", "ar", "th", "pl", "it", "de", "es", "fr"]>>;
|
1462
1432
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1463
1433
|
theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
1434
|
+
icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1464
1435
|
}, z.ZodTypeAny, "passthrough">>>;
|
1465
1436
|
}, "strip", z.ZodTypeAny, {
|
1466
1437
|
template: {
|
1467
1438
|
schemas: Record<string, z.objectOutputType<{
|
1468
1439
|
type: z.ZodString;
|
1469
|
-
icon: z.ZodOptional<z.ZodString>;
|
1470
1440
|
content: z.ZodOptional<z.ZodString>;
|
1471
1441
|
position: z.ZodObject<{
|
1472
1442
|
x: z.ZodNumber;
|
@@ -1520,12 +1490,12 @@ export declare const UIProps: z.ZodObject<{
|
|
1520
1490
|
lang: z.ZodOptional<z.ZodEnum<["en", "zh", "ja", "ko", "ar", "th", "pl", "it", "de", "es", "fr"]>>;
|
1521
1491
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1522
1492
|
theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
1493
|
+
icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1523
1494
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
1524
1495
|
}, {
|
1525
1496
|
template: {
|
1526
1497
|
schemas: Record<string, z.objectInputType<{
|
1527
1498
|
type: z.ZodString;
|
1528
|
-
icon: z.ZodOptional<z.ZodString>;
|
1529
1499
|
content: z.ZodOptional<z.ZodString>;
|
1530
1500
|
position: z.ZodObject<{
|
1531
1501
|
x: z.ZodNumber;
|
@@ -1579,6 +1549,7 @@ export declare const UIProps: z.ZodObject<{
|
|
1579
1549
|
lang: z.ZodOptional<z.ZodEnum<["en", "zh", "ja", "ko", "ar", "th", "pl", "it", "de", "es", "fr"]>>;
|
1580
1550
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1581
1551
|
theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
1552
|
+
icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1582
1553
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
1583
1554
|
}>;
|
1584
1555
|
export declare const PreviewProps: z.ZodObject<{
|
@@ -1599,6 +1570,7 @@ export declare const PreviewProps: z.ZodObject<{
|
|
1599
1570
|
lang: z.ZodOptional<z.ZodEnum<["en", "zh", "ja", "ko", "ar", "th", "pl", "it", "de", "es", "fr"]>>;
|
1600
1571
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1601
1572
|
theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
1573
|
+
icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1602
1574
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
1603
1575
|
font: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
1604
1576
|
data: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
|
@@ -1616,6 +1588,7 @@ export declare const PreviewProps: z.ZodObject<{
|
|
1616
1588
|
lang: z.ZodOptional<z.ZodEnum<["en", "zh", "ja", "ko", "ar", "th", "pl", "it", "de", "es", "fr"]>>;
|
1617
1589
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1618
1590
|
theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
1591
|
+
icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1619
1592
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
1620
1593
|
font: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
1621
1594
|
data: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
|
@@ -1633,11 +1606,11 @@ export declare const PreviewProps: z.ZodObject<{
|
|
1633
1606
|
lang: z.ZodOptional<z.ZodEnum<["en", "zh", "ja", "ko", "ar", "th", "pl", "it", "de", "es", "fr"]>>;
|
1634
1607
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1635
1608
|
theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
1609
|
+
icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1636
1610
|
}, z.ZodTypeAny, "passthrough">>>;
|
1637
1611
|
template: z.ZodObject<{
|
1638
1612
|
schemas: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
|
1639
1613
|
type: z.ZodString;
|
1640
|
-
icon: z.ZodOptional<z.ZodString>;
|
1641
1614
|
content: z.ZodOptional<z.ZodString>;
|
1642
1615
|
position: z.ZodObject<{
|
1643
1616
|
x: z.ZodNumber;
|
@@ -1656,7 +1629,6 @@ export declare const PreviewProps: z.ZodObject<{
|
|
1656
1629
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
1657
1630
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
1658
1631
|
type: z.ZodString;
|
1659
|
-
icon: z.ZodOptional<z.ZodString>;
|
1660
1632
|
content: z.ZodOptional<z.ZodString>;
|
1661
1633
|
position: z.ZodObject<{
|
1662
1634
|
x: z.ZodNumber;
|
@@ -1675,7 +1647,6 @@ export declare const PreviewProps: z.ZodObject<{
|
|
1675
1647
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
1676
1648
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
1677
1649
|
type: z.ZodString;
|
1678
|
-
icon: z.ZodOptional<z.ZodString>;
|
1679
1650
|
content: z.ZodOptional<z.ZodString>;
|
1680
1651
|
position: z.ZodObject<{
|
1681
1652
|
x: z.ZodNumber;
|
@@ -1710,7 +1681,6 @@ export declare const PreviewProps: z.ZodObject<{
|
|
1710
1681
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
1711
1682
|
schemas: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
|
1712
1683
|
type: z.ZodString;
|
1713
|
-
icon: z.ZodOptional<z.ZodString>;
|
1714
1684
|
content: z.ZodOptional<z.ZodString>;
|
1715
1685
|
position: z.ZodObject<{
|
1716
1686
|
x: z.ZodNumber;
|
@@ -1729,7 +1699,6 @@ export declare const PreviewProps: z.ZodObject<{
|
|
1729
1699
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
1730
1700
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
1731
1701
|
type: z.ZodString;
|
1732
|
-
icon: z.ZodOptional<z.ZodString>;
|
1733
1702
|
content: z.ZodOptional<z.ZodString>;
|
1734
1703
|
position: z.ZodObject<{
|
1735
1704
|
x: z.ZodNumber;
|
@@ -1748,7 +1717,6 @@ export declare const PreviewProps: z.ZodObject<{
|
|
1748
1717
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
1749
1718
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
1750
1719
|
type: z.ZodString;
|
1751
|
-
icon: z.ZodOptional<z.ZodString>;
|
1752
1720
|
content: z.ZodOptional<z.ZodString>;
|
1753
1721
|
position: z.ZodObject<{
|
1754
1722
|
x: z.ZodNumber;
|
@@ -1783,7 +1751,6 @@ export declare const PreviewProps: z.ZodObject<{
|
|
1783
1751
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
1784
1752
|
schemas: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
|
1785
1753
|
type: z.ZodString;
|
1786
|
-
icon: z.ZodOptional<z.ZodString>;
|
1787
1754
|
content: z.ZodOptional<z.ZodString>;
|
1788
1755
|
position: z.ZodObject<{
|
1789
1756
|
x: z.ZodNumber;
|
@@ -1802,7 +1769,6 @@ export declare const PreviewProps: z.ZodObject<{
|
|
1802
1769
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
1803
1770
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
1804
1771
|
type: z.ZodString;
|
1805
|
-
icon: z.ZodOptional<z.ZodString>;
|
1806
1772
|
content: z.ZodOptional<z.ZodString>;
|
1807
1773
|
position: z.ZodObject<{
|
1808
1774
|
x: z.ZodNumber;
|
@@ -1821,7 +1787,6 @@ export declare const PreviewProps: z.ZodObject<{
|
|
1821
1787
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
1822
1788
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
1823
1789
|
type: z.ZodString;
|
1824
|
-
icon: z.ZodOptional<z.ZodString>;
|
1825
1790
|
content: z.ZodOptional<z.ZodString>;
|
1826
1791
|
position: z.ZodObject<{
|
1827
1792
|
x: z.ZodNumber;
|
@@ -1873,7 +1838,6 @@ export declare const PreviewProps: z.ZodObject<{
|
|
1873
1838
|
template: {
|
1874
1839
|
schemas: Record<string, z.objectOutputType<{
|
1875
1840
|
type: z.ZodString;
|
1876
|
-
icon: z.ZodOptional<z.ZodString>;
|
1877
1841
|
content: z.ZodOptional<z.ZodString>;
|
1878
1842
|
position: z.ZodObject<{
|
1879
1843
|
x: z.ZodNumber;
|
@@ -1923,6 +1887,7 @@ export declare const PreviewProps: z.ZodObject<{
|
|
1923
1887
|
lang: z.ZodOptional<z.ZodEnum<["en", "zh", "ja", "ko", "ar", "th", "pl", "it", "de", "es", "fr"]>>;
|
1924
1888
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1925
1889
|
theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
1890
|
+
icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1926
1891
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
1927
1892
|
plugins?: Record<string, {
|
1928
1893
|
ui?: any;
|
@@ -1933,7 +1898,6 @@ export declare const PreviewProps: z.ZodObject<{
|
|
1933
1898
|
template: {
|
1934
1899
|
schemas: Record<string, z.objectInputType<{
|
1935
1900
|
type: z.ZodString;
|
1936
|
-
icon: z.ZodOptional<z.ZodString>;
|
1937
1901
|
content: z.ZodOptional<z.ZodString>;
|
1938
1902
|
position: z.ZodObject<{
|
1939
1903
|
x: z.ZodNumber;
|
@@ -1983,6 +1947,7 @@ export declare const PreviewProps: z.ZodObject<{
|
|
1983
1947
|
lang: z.ZodOptional<z.ZodEnum<["en", "zh", "ja", "ko", "ar", "th", "pl", "it", "de", "es", "fr"]>>;
|
1984
1948
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1985
1949
|
theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
1950
|
+
icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1986
1951
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
1987
1952
|
plugins?: Record<string, {
|
1988
1953
|
ui?: any;
|
@@ -2008,6 +1973,7 @@ export declare const DesignerProps: z.ZodObject<{
|
|
2008
1973
|
lang: z.ZodOptional<z.ZodEnum<["en", "zh", "ja", "ko", "ar", "th", "pl", "it", "de", "es", "fr"]>>;
|
2009
1974
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
2010
1975
|
theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
1976
|
+
icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
2011
1977
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
2012
1978
|
font: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
2013
1979
|
data: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
|
@@ -2025,6 +1991,7 @@ export declare const DesignerProps: z.ZodObject<{
|
|
2025
1991
|
lang: z.ZodOptional<z.ZodEnum<["en", "zh", "ja", "ko", "ar", "th", "pl", "it", "de", "es", "fr"]>>;
|
2026
1992
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
2027
1993
|
theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
1994
|
+
icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
2028
1995
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
2029
1996
|
font: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
2030
1997
|
data: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
|
@@ -2042,11 +2009,11 @@ export declare const DesignerProps: z.ZodObject<{
|
|
2042
2009
|
lang: z.ZodOptional<z.ZodEnum<["en", "zh", "ja", "ko", "ar", "th", "pl", "it", "de", "es", "fr"]>>;
|
2043
2010
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
2044
2011
|
theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
2012
|
+
icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
2045
2013
|
}, z.ZodTypeAny, "passthrough">>>;
|
2046
2014
|
template: z.ZodObject<{
|
2047
2015
|
schemas: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
|
2048
2016
|
type: z.ZodString;
|
2049
|
-
icon: z.ZodOptional<z.ZodString>;
|
2050
2017
|
content: z.ZodOptional<z.ZodString>;
|
2051
2018
|
position: z.ZodObject<{
|
2052
2019
|
x: z.ZodNumber;
|
@@ -2065,7 +2032,6 @@ export declare const DesignerProps: z.ZodObject<{
|
|
2065
2032
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
2066
2033
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
2067
2034
|
type: z.ZodString;
|
2068
|
-
icon: z.ZodOptional<z.ZodString>;
|
2069
2035
|
content: z.ZodOptional<z.ZodString>;
|
2070
2036
|
position: z.ZodObject<{
|
2071
2037
|
x: z.ZodNumber;
|
@@ -2084,7 +2050,6 @@ export declare const DesignerProps: z.ZodObject<{
|
|
2084
2050
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
2085
2051
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
2086
2052
|
type: z.ZodString;
|
2087
|
-
icon: z.ZodOptional<z.ZodString>;
|
2088
2053
|
content: z.ZodOptional<z.ZodString>;
|
2089
2054
|
position: z.ZodObject<{
|
2090
2055
|
x: z.ZodNumber;
|
@@ -2119,7 +2084,6 @@ export declare const DesignerProps: z.ZodObject<{
|
|
2119
2084
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
2120
2085
|
schemas: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
|
2121
2086
|
type: z.ZodString;
|
2122
|
-
icon: z.ZodOptional<z.ZodString>;
|
2123
2087
|
content: z.ZodOptional<z.ZodString>;
|
2124
2088
|
position: z.ZodObject<{
|
2125
2089
|
x: z.ZodNumber;
|
@@ -2138,7 +2102,6 @@ export declare const DesignerProps: z.ZodObject<{
|
|
2138
2102
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
2139
2103
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
2140
2104
|
type: z.ZodString;
|
2141
|
-
icon: z.ZodOptional<z.ZodString>;
|
2142
2105
|
content: z.ZodOptional<z.ZodString>;
|
2143
2106
|
position: z.ZodObject<{
|
2144
2107
|
x: z.ZodNumber;
|
@@ -2157,7 +2120,6 @@ export declare const DesignerProps: z.ZodObject<{
|
|
2157
2120
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
2158
2121
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
2159
2122
|
type: z.ZodString;
|
2160
|
-
icon: z.ZodOptional<z.ZodString>;
|
2161
2123
|
content: z.ZodOptional<z.ZodString>;
|
2162
2124
|
position: z.ZodObject<{
|
2163
2125
|
x: z.ZodNumber;
|
@@ -2192,7 +2154,6 @@ export declare const DesignerProps: z.ZodObject<{
|
|
2192
2154
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
2193
2155
|
schemas: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
|
2194
2156
|
type: z.ZodString;
|
2195
|
-
icon: z.ZodOptional<z.ZodString>;
|
2196
2157
|
content: z.ZodOptional<z.ZodString>;
|
2197
2158
|
position: z.ZodObject<{
|
2198
2159
|
x: z.ZodNumber;
|
@@ -2211,7 +2172,6 @@ export declare const DesignerProps: z.ZodObject<{
|
|
2211
2172
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
2212
2173
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
2213
2174
|
type: z.ZodString;
|
2214
|
-
icon: z.ZodOptional<z.ZodString>;
|
2215
2175
|
content: z.ZodOptional<z.ZodString>;
|
2216
2176
|
position: z.ZodObject<{
|
2217
2177
|
x: z.ZodNumber;
|
@@ -2230,7 +2190,6 @@ export declare const DesignerProps: z.ZodObject<{
|
|
2230
2190
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
2231
2191
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
2232
2192
|
type: z.ZodString;
|
2233
|
-
icon: z.ZodOptional<z.ZodString>;
|
2234
2193
|
content: z.ZodOptional<z.ZodString>;
|
2235
2194
|
position: z.ZodObject<{
|
2236
2195
|
x: z.ZodNumber;
|
@@ -2281,7 +2240,6 @@ export declare const DesignerProps: z.ZodObject<{
|
|
2281
2240
|
template: {
|
2282
2241
|
schemas: Record<string, z.objectOutputType<{
|
2283
2242
|
type: z.ZodString;
|
2284
|
-
icon: z.ZodOptional<z.ZodString>;
|
2285
2243
|
content: z.ZodOptional<z.ZodString>;
|
2286
2244
|
position: z.ZodObject<{
|
2287
2245
|
x: z.ZodNumber;
|
@@ -2330,6 +2288,7 @@ export declare const DesignerProps: z.ZodObject<{
|
|
2330
2288
|
lang: z.ZodOptional<z.ZodEnum<["en", "zh", "ja", "ko", "ar", "th", "pl", "it", "de", "es", "fr"]>>;
|
2331
2289
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
2332
2290
|
theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
2291
|
+
icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
2333
2292
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
2334
2293
|
plugins?: Record<string, {
|
2335
2294
|
ui?: any;
|
@@ -2340,7 +2299,6 @@ export declare const DesignerProps: z.ZodObject<{
|
|
2340
2299
|
template: {
|
2341
2300
|
schemas: Record<string, z.objectInputType<{
|
2342
2301
|
type: z.ZodString;
|
2343
|
-
icon: z.ZodOptional<z.ZodString>;
|
2344
2302
|
content: z.ZodOptional<z.ZodString>;
|
2345
2303
|
position: z.ZodObject<{
|
2346
2304
|
x: z.ZodNumber;
|
@@ -2389,6 +2347,7 @@ export declare const DesignerProps: z.ZodObject<{
|
|
2389
2347
|
lang: z.ZodOptional<z.ZodEnum<["en", "zh", "ja", "ko", "ar", "th", "pl", "it", "de", "es", "fr"]>>;
|
2390
2348
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
2391
2349
|
theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
2350
|
+
icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
2392
2351
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
2393
2352
|
plugins?: Record<string, {
|
2394
2353
|
ui?: any;
|
@@ -123,6 +123,7 @@ export interface PropPanel<T extends Schema> {
|
|
123
123
|
* @property {function} pdf Function for rendering PDFs.
|
124
124
|
* @property {function} ui Function for rendering UI.
|
125
125
|
* @property {PropPanel} propPanel Object for defining the property panel.
|
126
|
+
* @property {string} [icon] Icon SVG for the plugin.
|
126
127
|
* @property {boolean} [uninterruptedEditMode] When editing in the UI, should the field avoid re-rendering while in edit mode?
|
127
128
|
*/
|
128
129
|
export type Plugin<T extends Schema & {
|
@@ -131,6 +132,7 @@ export type Plugin<T extends Schema & {
|
|
131
132
|
pdf: (arg: PDFRenderProps<T>) => Promise<void> | void;
|
132
133
|
ui: (arg: UIRenderProps<T>) => Promise<void> | void;
|
133
134
|
propPanel: PropPanel<T>;
|
135
|
+
icon?: string;
|
134
136
|
uninterruptedEditMode?: boolean;
|
135
137
|
};
|
136
138
|
export type Plugins = {
|
package/package.json
CHANGED
package/src/schema.ts
CHANGED
@@ -80,7 +80,6 @@ export const Size = z.object({ height: z.number(), width: z.number() });
|
|
80
80
|
export const Schema = z
|
81
81
|
.object({
|
82
82
|
type: z.string(),
|
83
|
-
icon: z.string().optional(),
|
84
83
|
content: z.string().optional(),
|
85
84
|
position: z.object({ x: z.number(), y: z.number() }),
|
86
85
|
width: z.number(),
|
@@ -162,6 +161,7 @@ export const UIOptions = CommonOptions.extend({
|
|
162
161
|
lang: Lang.optional(),
|
163
162
|
labels: z.record(z.string(), z.string()).optional(),
|
164
163
|
theme: z.record(z.string(), z.unknown()).optional(),
|
164
|
+
icons: z.record(z.string(), z.string()).optional(),
|
165
165
|
});
|
166
166
|
|
167
167
|
const HTMLElementSchema: z.ZodSchema<HTMLElement> = z.any().refine((v) => v instanceof HTMLElement);
|
package/src/types.ts
CHANGED
@@ -147,12 +147,14 @@ export interface PropPanel<T extends Schema> {
|
|
147
147
|
* @property {function} pdf Function for rendering PDFs.
|
148
148
|
* @property {function} ui Function for rendering UI.
|
149
149
|
* @property {PropPanel} propPanel Object for defining the property panel.
|
150
|
+
* @property {string} [icon] Icon SVG for the plugin.
|
150
151
|
* @property {boolean} [uninterruptedEditMode] When editing in the UI, should the field avoid re-rendering while in edit mode?
|
151
152
|
*/
|
152
153
|
export type Plugin<T extends Schema & { [key: string]: any }> = {
|
153
154
|
pdf: (arg: PDFRenderProps<T>) => Promise<void> | void;
|
154
155
|
ui: (arg: UIRenderProps<T>) => Promise<void> | void;
|
155
156
|
propPanel: PropPanel<T>;
|
157
|
+
icon?: string;
|
156
158
|
uninterruptedEditMode?: boolean;
|
157
159
|
};
|
158
160
|
|