@shwfed/nuxt 0.9.2 → 0.10.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.
@@ -1,17 +1,20 @@
1
1
  import { Effect } from 'effect';
2
- export { CalendarFieldC, FieldC, FieldsConfigC, NumberFieldC, SelectFieldC, StringFieldC, ValidationRuleC, validationC, } from './schema.js';
3
- export type { Field, FieldsConfig, ValidationRule } from './schema.js';
2
+ import type { CSSProperties } from 'vue';
3
+ export { CalendarFieldC, EmptyFieldC, FieldC, FieldsConfigC, NumberFieldC, SelectFieldC, SlotFieldC, StringFieldC, ValidationRuleC, validationC, } from './schema.js';
4
+ export type { EmptyField, Field, FieldsConfig, SlotField, ValidationRule } from './schema.js';
4
5
  declare const _default: typeof __VLS_export;
5
6
  export default _default;
6
7
  declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
7
8
  config: Effect.Effect<Readonly<{
8
9
  fields: readonly ({
10
+ id: string;
9
11
  type: "string";
10
12
  path: string;
11
13
  title: readonly {
12
14
  locale: "zh" | "ja" | "en" | "ko";
13
15
  message: string;
14
16
  }[];
17
+ required?: boolean | undefined;
15
18
  icon?: string | undefined;
16
19
  style?: string | undefined;
17
20
  discardEmptyString?: boolean | undefined;
@@ -23,12 +26,33 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
23
26
  message: string;
24
27
  }>[] | undefined;
25
28
  } | {
29
+ id: string;
30
+ type: "textarea";
31
+ path: string;
32
+ title: readonly {
33
+ locale: "zh" | "ja" | "en" | "ko";
34
+ message: string;
35
+ }[];
36
+ required?: boolean | undefined;
37
+ icon?: string | undefined;
38
+ style?: string | undefined;
39
+ discardEmptyString?: boolean | undefined;
40
+ maxLength?: string | undefined;
41
+ hidden?: string | undefined;
42
+ disabled?: string | undefined;
43
+ validation?: readonly Readonly<{
44
+ expression: string;
45
+ message: string;
46
+ }>[] | undefined;
47
+ } | {
48
+ id: string;
26
49
  type: "number";
27
50
  path: string;
28
51
  title: readonly {
29
52
  locale: "zh" | "ja" | "en" | "ko";
30
53
  message: string;
31
54
  }[];
55
+ required?: boolean | undefined;
32
56
  icon?: string | undefined;
33
57
  style?: string | undefined;
34
58
  min?: string | undefined;
@@ -41,6 +65,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
41
65
  message: string;
42
66
  }>[] | undefined;
43
67
  } | {
68
+ id: string;
44
69
  type: "select";
45
70
  path: string;
46
71
  title: readonly {
@@ -51,6 +76,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
51
76
  label: string;
52
77
  value: string;
53
78
  key: string;
79
+ required?: boolean | undefined;
54
80
  icon?: string | undefined;
55
81
  style?: string | undefined;
56
82
  hidden?: string | undefined;
@@ -60,6 +86,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
60
86
  message: string;
61
87
  }>[] | undefined;
62
88
  } | {
89
+ id: string;
63
90
  type: "calendar";
64
91
  path: string;
65
92
  title: readonly {
@@ -68,6 +95,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
68
95
  }[];
69
96
  mode: "date" | "month" | "year";
70
97
  value: string;
98
+ required?: boolean | undefined;
71
99
  icon?: string | undefined;
72
100
  style?: string | undefined;
73
101
  display?: string | undefined;
@@ -78,6 +106,14 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
78
106
  expression: string;
79
107
  message: string;
80
108
  }>[] | undefined;
109
+ } | {
110
+ id: string;
111
+ type: "slot";
112
+ style?: string | undefined;
113
+ } | {
114
+ id: string;
115
+ type: "empty";
116
+ style?: string | undefined;
81
117
  })[];
82
118
  orientation?: "vertical" | "horizontal" | "floating" | undefined;
83
119
  style?: string | undefined;
@@ -88,12 +124,14 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
88
124
  "update:modelValue": (value: Record<string, unknown>) => any;
89
125
  "update:config": (args_0: Readonly<{
90
126
  fields: readonly ({
127
+ id: string;
91
128
  type: "string";
92
129
  path: string;
93
130
  title: readonly {
94
131
  locale: "zh" | "ja" | "en" | "ko";
95
132
  message: string;
96
133
  }[];
134
+ required?: boolean | undefined;
97
135
  icon?: string | undefined;
98
136
  style?: string | undefined;
99
137
  discardEmptyString?: boolean | undefined;
@@ -105,12 +143,33 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
105
143
  message: string;
106
144
  }>[] | undefined;
107
145
  } | {
146
+ id: string;
147
+ type: "textarea";
148
+ path: string;
149
+ title: readonly {
150
+ locale: "zh" | "ja" | "en" | "ko";
151
+ message: string;
152
+ }[];
153
+ required?: boolean | undefined;
154
+ icon?: string | undefined;
155
+ style?: string | undefined;
156
+ discardEmptyString?: boolean | undefined;
157
+ maxLength?: string | undefined;
158
+ hidden?: string | undefined;
159
+ disabled?: string | undefined;
160
+ validation?: readonly Readonly<{
161
+ expression: string;
162
+ message: string;
163
+ }>[] | undefined;
164
+ } | {
165
+ id: string;
108
166
  type: "number";
109
167
  path: string;
110
168
  title: readonly {
111
169
  locale: "zh" | "ja" | "en" | "ko";
112
170
  message: string;
113
171
  }[];
172
+ required?: boolean | undefined;
114
173
  icon?: string | undefined;
115
174
  style?: string | undefined;
116
175
  min?: string | undefined;
@@ -123,6 +182,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
123
182
  message: string;
124
183
  }>[] | undefined;
125
184
  } | {
185
+ id: string;
126
186
  type: "select";
127
187
  path: string;
128
188
  title: readonly {
@@ -133,6 +193,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
133
193
  label: string;
134
194
  value: string;
135
195
  key: string;
196
+ required?: boolean | undefined;
136
197
  icon?: string | undefined;
137
198
  style?: string | undefined;
138
199
  hidden?: string | undefined;
@@ -142,6 +203,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
142
203
  message: string;
143
204
  }>[] | undefined;
144
205
  } | {
206
+ id: string;
145
207
  type: "calendar";
146
208
  path: string;
147
209
  title: readonly {
@@ -150,6 +212,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
150
212
  }[];
151
213
  mode: "date" | "month" | "year";
152
214
  value: string;
215
+ required?: boolean | undefined;
153
216
  icon?: string | undefined;
154
217
  style?: string | undefined;
155
218
  display?: string | undefined;
@@ -160,6 +223,14 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
160
223
  expression: string;
161
224
  message: string;
162
225
  }>[] | undefined;
226
+ } | {
227
+ id: string;
228
+ type: "slot";
229
+ style?: string | undefined;
230
+ } | {
231
+ id: string;
232
+ type: "empty";
233
+ style?: string | undefined;
163
234
  })[];
164
235
  orientation?: "vertical" | "horizontal" | "floating" | undefined;
165
236
  style?: string | undefined;
@@ -167,12 +238,14 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
167
238
  }, string, import("vue").PublicProps, Readonly<{
168
239
  config: Effect.Effect<Readonly<{
169
240
  fields: readonly ({
241
+ id: string;
170
242
  type: "string";
171
243
  path: string;
172
244
  title: readonly {
173
245
  locale: "zh" | "ja" | "en" | "ko";
174
246
  message: string;
175
247
  }[];
248
+ required?: boolean | undefined;
176
249
  icon?: string | undefined;
177
250
  style?: string | undefined;
178
251
  discardEmptyString?: boolean | undefined;
@@ -184,12 +257,33 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
184
257
  message: string;
185
258
  }>[] | undefined;
186
259
  } | {
260
+ id: string;
261
+ type: "textarea";
262
+ path: string;
263
+ title: readonly {
264
+ locale: "zh" | "ja" | "en" | "ko";
265
+ message: string;
266
+ }[];
267
+ required?: boolean | undefined;
268
+ icon?: string | undefined;
269
+ style?: string | undefined;
270
+ discardEmptyString?: boolean | undefined;
271
+ maxLength?: string | undefined;
272
+ hidden?: string | undefined;
273
+ disabled?: string | undefined;
274
+ validation?: readonly Readonly<{
275
+ expression: string;
276
+ message: string;
277
+ }>[] | undefined;
278
+ } | {
279
+ id: string;
187
280
  type: "number";
188
281
  path: string;
189
282
  title: readonly {
190
283
  locale: "zh" | "ja" | "en" | "ko";
191
284
  message: string;
192
285
  }[];
286
+ required?: boolean | undefined;
193
287
  icon?: string | undefined;
194
288
  style?: string | undefined;
195
289
  min?: string | undefined;
@@ -202,6 +296,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
202
296
  message: string;
203
297
  }>[] | undefined;
204
298
  } | {
299
+ id: string;
205
300
  type: "select";
206
301
  path: string;
207
302
  title: readonly {
@@ -212,6 +307,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
212
307
  label: string;
213
308
  value: string;
214
309
  key: string;
310
+ required?: boolean | undefined;
215
311
  icon?: string | undefined;
216
312
  style?: string | undefined;
217
313
  hidden?: string | undefined;
@@ -221,6 +317,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
221
317
  message: string;
222
318
  }>[] | undefined;
223
319
  } | {
320
+ id: string;
224
321
  type: "calendar";
225
322
  path: string;
226
323
  title: readonly {
@@ -229,6 +326,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
229
326
  }[];
230
327
  mode: "date" | "month" | "year";
231
328
  value: string;
329
+ required?: boolean | undefined;
232
330
  icon?: string | undefined;
233
331
  style?: string | undefined;
234
332
  display?: string | undefined;
@@ -239,6 +337,14 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
239
337
  expression: string;
240
338
  message: string;
241
339
  }>[] | undefined;
340
+ } | {
341
+ id: string;
342
+ type: "slot";
343
+ style?: string | undefined;
344
+ } | {
345
+ id: string;
346
+ type: "empty";
347
+ style?: string | undefined;
242
348
  })[];
243
349
  orientation?: "vertical" | "horizontal" | "floating" | undefined;
244
350
  style?: string | undefined;
@@ -249,12 +355,33 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
249
355
  "onUpdate:modelValue"?: ((value: Record<string, unknown>) => any) | undefined;
250
356
  "onUpdate:config"?: ((args_0: Readonly<{
251
357
  fields: readonly ({
358
+ id: string;
252
359
  type: "string";
253
360
  path: string;
254
361
  title: readonly {
255
362
  locale: "zh" | "ja" | "en" | "ko";
256
363
  message: string;
257
364
  }[];
365
+ required?: boolean | undefined;
366
+ icon?: string | undefined;
367
+ style?: string | undefined;
368
+ discardEmptyString?: boolean | undefined;
369
+ maxLength?: string | undefined;
370
+ hidden?: string | undefined;
371
+ disabled?: string | undefined;
372
+ validation?: readonly Readonly<{
373
+ expression: string;
374
+ message: string;
375
+ }>[] | undefined;
376
+ } | {
377
+ id: string;
378
+ type: "textarea";
379
+ path: string;
380
+ title: readonly {
381
+ locale: "zh" | "ja" | "en" | "ko";
382
+ message: string;
383
+ }[];
384
+ required?: boolean | undefined;
258
385
  icon?: string | undefined;
259
386
  style?: string | undefined;
260
387
  discardEmptyString?: boolean | undefined;
@@ -266,12 +393,14 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
266
393
  message: string;
267
394
  }>[] | undefined;
268
395
  } | {
396
+ id: string;
269
397
  type: "number";
270
398
  path: string;
271
399
  title: readonly {
272
400
  locale: "zh" | "ja" | "en" | "ko";
273
401
  message: string;
274
402
  }[];
403
+ required?: boolean | undefined;
275
404
  icon?: string | undefined;
276
405
  style?: string | undefined;
277
406
  min?: string | undefined;
@@ -284,6 +413,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
284
413
  message: string;
285
414
  }>[] | undefined;
286
415
  } | {
416
+ id: string;
287
417
  type: "select";
288
418
  path: string;
289
419
  title: readonly {
@@ -294,6 +424,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
294
424
  label: string;
295
425
  value: string;
296
426
  key: string;
427
+ required?: boolean | undefined;
297
428
  icon?: string | undefined;
298
429
  style?: string | undefined;
299
430
  hidden?: string | undefined;
@@ -303,6 +434,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
303
434
  message: string;
304
435
  }>[] | undefined;
305
436
  } | {
437
+ id: string;
306
438
  type: "calendar";
307
439
  path: string;
308
440
  title: readonly {
@@ -311,6 +443,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
311
443
  }[];
312
444
  mode: "date" | "month" | "year";
313
445
  value: string;
446
+ required?: boolean | undefined;
314
447
  icon?: string | undefined;
315
448
  style?: string | undefined;
316
449
  display?: string | undefined;
@@ -321,11 +454,23 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
321
454
  expression: string;
322
455
  message: string;
323
456
  }>[] | undefined;
457
+ } | {
458
+ id: string;
459
+ type: "slot";
460
+ style?: string | undefined;
461
+ } | {
462
+ id: string;
463
+ type: "empty";
464
+ style?: string | undefined;
324
465
  })[];
325
466
  orientation?: "vertical" | "horizontal" | "floating" | undefined;
326
467
  style?: string | undefined;
327
468
  }>) => any) | undefined;
328
469
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
470
+ [x: string]: ((props: {
471
+ style: CSSProperties;
472
+ }) => any) | undefined;
473
+ } & {
329
474
  default?: (props: {}) => any;
330
475
  }>;
331
476
  type __VLS_WithSlots<T, S> = T & {
@@ -8,6 +8,7 @@ export declare const validationC: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodRe
8
8
  message: z.ZodString;
9
9
  }, z.core.$strip>>>>>;
10
10
  export declare const StringFieldC: z.ZodObject<{
11
+ id: z.ZodUUID;
11
12
  type: z.ZodLiteral<"string">;
12
13
  path: z.ZodString;
13
14
  title: z.ZodReadonly<z.ZodArray<z.ZodObject<{
@@ -19,6 +20,32 @@ export declare const StringFieldC: z.ZodObject<{
19
20
  }>;
20
21
  message: z.ZodString;
21
22
  }, z.core.$strip>>>;
23
+ required: z.ZodOptional<z.ZodBoolean>;
24
+ icon: z.ZodOptional<z.ZodString>;
25
+ style: z.ZodOptional<z.ZodString>;
26
+ discardEmptyString: z.ZodOptional<z.ZodBoolean>;
27
+ maxLength: z.ZodOptional<z.ZodString>;
28
+ hidden: z.ZodOptional<z.ZodString>;
29
+ disabled: z.ZodOptional<z.ZodString>;
30
+ validation: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
31
+ expression: z.ZodString;
32
+ message: z.ZodString;
33
+ }, z.core.$strip>>>>>;
34
+ }, z.core.$strip>;
35
+ export declare const TextareaFieldC: z.ZodObject<{
36
+ id: z.ZodUUID;
37
+ type: z.ZodLiteral<"textarea">;
38
+ path: z.ZodString;
39
+ title: z.ZodReadonly<z.ZodArray<z.ZodObject<{
40
+ locale: z.ZodEnum<{
41
+ zh: "zh";
42
+ ja: "ja";
43
+ en: "en";
44
+ ko: "ko";
45
+ }>;
46
+ message: z.ZodString;
47
+ }, z.core.$strip>>>;
48
+ required: z.ZodOptional<z.ZodBoolean>;
22
49
  icon: z.ZodOptional<z.ZodString>;
23
50
  style: z.ZodOptional<z.ZodString>;
24
51
  discardEmptyString: z.ZodOptional<z.ZodBoolean>;
@@ -31,6 +58,7 @@ export declare const StringFieldC: z.ZodObject<{
31
58
  }, z.core.$strip>>>>>;
32
59
  }, z.core.$strip>;
33
60
  export declare const NumberFieldC: z.ZodObject<{
61
+ id: z.ZodUUID;
34
62
  type: z.ZodLiteral<"number">;
35
63
  path: z.ZodString;
36
64
  title: z.ZodReadonly<z.ZodArray<z.ZodObject<{
@@ -42,6 +70,7 @@ export declare const NumberFieldC: z.ZodObject<{
42
70
  }>;
43
71
  message: z.ZodString;
44
72
  }, z.core.$strip>>>;
73
+ required: z.ZodOptional<z.ZodBoolean>;
45
74
  icon: z.ZodOptional<z.ZodString>;
46
75
  style: z.ZodOptional<z.ZodString>;
47
76
  min: z.ZodOptional<z.ZodString>;
@@ -55,6 +84,7 @@ export declare const NumberFieldC: z.ZodObject<{
55
84
  }, z.core.$strip>>>>>;
56
85
  }, z.core.$strip>;
57
86
  export declare const SelectFieldC: z.ZodObject<{
87
+ id: z.ZodUUID;
58
88
  type: z.ZodLiteral<"select">;
59
89
  path: z.ZodString;
60
90
  title: z.ZodReadonly<z.ZodArray<z.ZodObject<{
@@ -66,6 +96,7 @@ export declare const SelectFieldC: z.ZodObject<{
66
96
  }>;
67
97
  message: z.ZodString;
68
98
  }, z.core.$strip>>>;
99
+ required: z.ZodOptional<z.ZodBoolean>;
69
100
  icon: z.ZodOptional<z.ZodString>;
70
101
  options: z.ZodString;
71
102
  label: z.ZodString;
@@ -80,6 +111,7 @@ export declare const SelectFieldC: z.ZodObject<{
80
111
  }, z.core.$strip>>>>>;
81
112
  }, z.core.$strip>;
82
113
  export declare const CalendarFieldC: z.ZodObject<{
114
+ id: z.ZodUUID;
83
115
  type: z.ZodLiteral<"calendar">;
84
116
  path: z.ZodString;
85
117
  title: z.ZodReadonly<z.ZodArray<z.ZodObject<{
@@ -91,6 +123,7 @@ export declare const CalendarFieldC: z.ZodObject<{
91
123
  }>;
92
124
  message: z.ZodString;
93
125
  }, z.core.$strip>>>;
126
+ required: z.ZodOptional<z.ZodBoolean>;
94
127
  icon: z.ZodOptional<z.ZodString>;
95
128
  style: z.ZodOptional<z.ZodString>;
96
129
  mode: z.ZodEnum<{
@@ -108,7 +141,18 @@ export declare const CalendarFieldC: z.ZodObject<{
108
141
  message: z.ZodString;
109
142
  }, z.core.$strip>>>>>;
110
143
  }, z.core.$strip>;
144
+ export declare const SlotFieldC: z.ZodObject<{
145
+ id: z.ZodUUID;
146
+ type: z.ZodLiteral<"slot">;
147
+ style: z.ZodOptional<z.ZodString>;
148
+ }, z.core.$strict>;
149
+ export declare const EmptyFieldC: z.ZodObject<{
150
+ id: z.ZodUUID;
151
+ type: z.ZodLiteral<"empty">;
152
+ style: z.ZodOptional<z.ZodString>;
153
+ }, z.core.$strict>;
111
154
  export declare const FieldC: z.ZodDiscriminatedUnion<[z.ZodObject<{
155
+ id: z.ZodUUID;
112
156
  type: z.ZodLiteral<"string">;
113
157
  path: z.ZodString;
114
158
  title: z.ZodReadonly<z.ZodArray<z.ZodObject<{
@@ -120,6 +164,7 @@ export declare const FieldC: z.ZodDiscriminatedUnion<[z.ZodObject<{
120
164
  }>;
121
165
  message: z.ZodString;
122
166
  }, z.core.$strip>>>;
167
+ required: z.ZodOptional<z.ZodBoolean>;
123
168
  icon: z.ZodOptional<z.ZodString>;
124
169
  style: z.ZodOptional<z.ZodString>;
125
170
  discardEmptyString: z.ZodOptional<z.ZodBoolean>;
@@ -131,6 +176,31 @@ export declare const FieldC: z.ZodDiscriminatedUnion<[z.ZodObject<{
131
176
  message: z.ZodString;
132
177
  }, z.core.$strip>>>>>;
133
178
  }, z.core.$strip>, z.ZodObject<{
179
+ id: z.ZodUUID;
180
+ type: z.ZodLiteral<"textarea">;
181
+ path: z.ZodString;
182
+ title: z.ZodReadonly<z.ZodArray<z.ZodObject<{
183
+ locale: z.ZodEnum<{
184
+ zh: "zh";
185
+ ja: "ja";
186
+ en: "en";
187
+ ko: "ko";
188
+ }>;
189
+ message: z.ZodString;
190
+ }, z.core.$strip>>>;
191
+ required: z.ZodOptional<z.ZodBoolean>;
192
+ icon: z.ZodOptional<z.ZodString>;
193
+ style: z.ZodOptional<z.ZodString>;
194
+ discardEmptyString: z.ZodOptional<z.ZodBoolean>;
195
+ maxLength: z.ZodOptional<z.ZodString>;
196
+ hidden: z.ZodOptional<z.ZodString>;
197
+ disabled: z.ZodOptional<z.ZodString>;
198
+ validation: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
199
+ expression: z.ZodString;
200
+ message: z.ZodString;
201
+ }, z.core.$strip>>>>>;
202
+ }, z.core.$strip>, z.ZodObject<{
203
+ id: z.ZodUUID;
134
204
  type: z.ZodLiteral<"number">;
135
205
  path: z.ZodString;
136
206
  title: z.ZodReadonly<z.ZodArray<z.ZodObject<{
@@ -142,6 +212,7 @@ export declare const FieldC: z.ZodDiscriminatedUnion<[z.ZodObject<{
142
212
  }>;
143
213
  message: z.ZodString;
144
214
  }, z.core.$strip>>>;
215
+ required: z.ZodOptional<z.ZodBoolean>;
145
216
  icon: z.ZodOptional<z.ZodString>;
146
217
  style: z.ZodOptional<z.ZodString>;
147
218
  min: z.ZodOptional<z.ZodString>;
@@ -154,6 +225,7 @@ export declare const FieldC: z.ZodDiscriminatedUnion<[z.ZodObject<{
154
225
  message: z.ZodString;
155
226
  }, z.core.$strip>>>>>;
156
227
  }, z.core.$strip>, z.ZodObject<{
228
+ id: z.ZodUUID;
157
229
  type: z.ZodLiteral<"select">;
158
230
  path: z.ZodString;
159
231
  title: z.ZodReadonly<z.ZodArray<z.ZodObject<{
@@ -165,6 +237,7 @@ export declare const FieldC: z.ZodDiscriminatedUnion<[z.ZodObject<{
165
237
  }>;
166
238
  message: z.ZodString;
167
239
  }, z.core.$strip>>>;
240
+ required: z.ZodOptional<z.ZodBoolean>;
168
241
  icon: z.ZodOptional<z.ZodString>;
169
242
  options: z.ZodString;
170
243
  label: z.ZodString;
@@ -178,6 +251,7 @@ export declare const FieldC: z.ZodDiscriminatedUnion<[z.ZodObject<{
178
251
  message: z.ZodString;
179
252
  }, z.core.$strip>>>>>;
180
253
  }, z.core.$strip>, z.ZodObject<{
254
+ id: z.ZodUUID;
181
255
  type: z.ZodLiteral<"calendar">;
182
256
  path: z.ZodString;
183
257
  title: z.ZodReadonly<z.ZodArray<z.ZodObject<{
@@ -189,6 +263,7 @@ export declare const FieldC: z.ZodDiscriminatedUnion<[z.ZodObject<{
189
263
  }>;
190
264
  message: z.ZodString;
191
265
  }, z.core.$strip>>>;
266
+ required: z.ZodOptional<z.ZodBoolean>;
192
267
  icon: z.ZodOptional<z.ZodString>;
193
268
  style: z.ZodOptional<z.ZodString>;
194
269
  mode: z.ZodEnum<{
@@ -205,7 +280,15 @@ export declare const FieldC: z.ZodDiscriminatedUnion<[z.ZodObject<{
205
280
  expression: z.ZodString;
206
281
  message: z.ZodString;
207
282
  }, z.core.$strip>>>>>;
208
- }, z.core.$strip>], "type">;
283
+ }, z.core.$strip>, z.ZodObject<{
284
+ id: z.ZodUUID;
285
+ type: z.ZodLiteral<"slot">;
286
+ style: z.ZodOptional<z.ZodString>;
287
+ }, z.core.$strict>, z.ZodObject<{
288
+ id: z.ZodUUID;
289
+ type: z.ZodLiteral<"empty">;
290
+ style: z.ZodOptional<z.ZodString>;
291
+ }, z.core.$strict>], "type">;
209
292
  export declare const FieldsOrientationC: z.ZodEnum<{
210
293
  vertical: "vertical";
211
294
  horizontal: "horizontal";
@@ -220,6 +303,7 @@ export declare const FieldsConfigC: z.ZodReadonly<z.ZodObject<{
220
303
  }>>;
221
304
  style: z.ZodOptional<z.ZodString>;
222
305
  fields: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
306
+ id: z.ZodUUID;
223
307
  type: z.ZodLiteral<"string">;
224
308
  path: z.ZodString;
225
309
  title: z.ZodReadonly<z.ZodArray<z.ZodObject<{
@@ -231,6 +315,7 @@ export declare const FieldsConfigC: z.ZodReadonly<z.ZodObject<{
231
315
  }>;
232
316
  message: z.ZodString;
233
317
  }, z.core.$strip>>>;
318
+ required: z.ZodOptional<z.ZodBoolean>;
234
319
  icon: z.ZodOptional<z.ZodString>;
235
320
  style: z.ZodOptional<z.ZodString>;
236
321
  discardEmptyString: z.ZodOptional<z.ZodBoolean>;
@@ -242,6 +327,31 @@ export declare const FieldsConfigC: z.ZodReadonly<z.ZodObject<{
242
327
  message: z.ZodString;
243
328
  }, z.core.$strip>>>>>;
244
329
  }, z.core.$strip>, z.ZodObject<{
330
+ id: z.ZodUUID;
331
+ type: z.ZodLiteral<"textarea">;
332
+ path: z.ZodString;
333
+ title: z.ZodReadonly<z.ZodArray<z.ZodObject<{
334
+ locale: z.ZodEnum<{
335
+ zh: "zh";
336
+ ja: "ja";
337
+ en: "en";
338
+ ko: "ko";
339
+ }>;
340
+ message: z.ZodString;
341
+ }, z.core.$strip>>>;
342
+ required: z.ZodOptional<z.ZodBoolean>;
343
+ icon: z.ZodOptional<z.ZodString>;
344
+ style: z.ZodOptional<z.ZodString>;
345
+ discardEmptyString: z.ZodOptional<z.ZodBoolean>;
346
+ maxLength: z.ZodOptional<z.ZodString>;
347
+ hidden: z.ZodOptional<z.ZodString>;
348
+ disabled: z.ZodOptional<z.ZodString>;
349
+ validation: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
350
+ expression: z.ZodString;
351
+ message: z.ZodString;
352
+ }, z.core.$strip>>>>>;
353
+ }, z.core.$strip>, z.ZodObject<{
354
+ id: z.ZodUUID;
245
355
  type: z.ZodLiteral<"number">;
246
356
  path: z.ZodString;
247
357
  title: z.ZodReadonly<z.ZodArray<z.ZodObject<{
@@ -253,6 +363,7 @@ export declare const FieldsConfigC: z.ZodReadonly<z.ZodObject<{
253
363
  }>;
254
364
  message: z.ZodString;
255
365
  }, z.core.$strip>>>;
366
+ required: z.ZodOptional<z.ZodBoolean>;
256
367
  icon: z.ZodOptional<z.ZodString>;
257
368
  style: z.ZodOptional<z.ZodString>;
258
369
  min: z.ZodOptional<z.ZodString>;
@@ -265,6 +376,7 @@ export declare const FieldsConfigC: z.ZodReadonly<z.ZodObject<{
265
376
  message: z.ZodString;
266
377
  }, z.core.$strip>>>>>;
267
378
  }, z.core.$strip>, z.ZodObject<{
379
+ id: z.ZodUUID;
268
380
  type: z.ZodLiteral<"select">;
269
381
  path: z.ZodString;
270
382
  title: z.ZodReadonly<z.ZodArray<z.ZodObject<{
@@ -276,6 +388,7 @@ export declare const FieldsConfigC: z.ZodReadonly<z.ZodObject<{
276
388
  }>;
277
389
  message: z.ZodString;
278
390
  }, z.core.$strip>>>;
391
+ required: z.ZodOptional<z.ZodBoolean>;
279
392
  icon: z.ZodOptional<z.ZodString>;
280
393
  options: z.ZodString;
281
394
  label: z.ZodString;
@@ -289,6 +402,7 @@ export declare const FieldsConfigC: z.ZodReadonly<z.ZodObject<{
289
402
  message: z.ZodString;
290
403
  }, z.core.$strip>>>>>;
291
404
  }, z.core.$strip>, z.ZodObject<{
405
+ id: z.ZodUUID;
292
406
  type: z.ZodLiteral<"calendar">;
293
407
  path: z.ZodString;
294
408
  title: z.ZodReadonly<z.ZodArray<z.ZodObject<{
@@ -300,6 +414,7 @@ export declare const FieldsConfigC: z.ZodReadonly<z.ZodObject<{
300
414
  }>;
301
415
  message: z.ZodString;
302
416
  }, z.core.$strip>>>;
417
+ required: z.ZodOptional<z.ZodBoolean>;
303
418
  icon: z.ZodOptional<z.ZodString>;
304
419
  style: z.ZodOptional<z.ZodString>;
305
420
  mode: z.ZodEnum<{
@@ -316,8 +431,18 @@ export declare const FieldsConfigC: z.ZodReadonly<z.ZodObject<{
316
431
  expression: z.ZodString;
317
432
  message: z.ZodString;
318
433
  }, z.core.$strip>>>>>;
319
- }, z.core.$strip>], "type">>>;
434
+ }, z.core.$strip>, z.ZodObject<{
435
+ id: z.ZodUUID;
436
+ type: z.ZodLiteral<"slot">;
437
+ style: z.ZodOptional<z.ZodString>;
438
+ }, z.core.$strict>, z.ZodObject<{
439
+ id: z.ZodUUID;
440
+ type: z.ZodLiteral<"empty">;
441
+ style: z.ZodOptional<z.ZodString>;
442
+ }, z.core.$strict>], "type">>>;
320
443
  }, z.core.$strip>>;
321
444
  export type ValidationRule = z.infer<typeof ValidationRuleC>;
322
445
  export type Field = z.infer<typeof FieldC>;
323
446
  export type FieldsConfig = z.infer<typeof FieldsConfigC>;
447
+ export type SlotField = z.infer<typeof SlotFieldC>;
448
+ export type EmptyField = z.infer<typeof EmptyFieldC>;