@shwfed/nuxt 0.9.2 → 0.10.0

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/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shwfed/nuxt",
3
3
  "configKey": "shwfed",
4
- "version": "0.9.2",
4
+ "version": "0.10.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -1,7 +1,7 @@
1
1
  import { Effect } from 'effect';
2
2
  import type { FieldsConfig } from './ui/fields/Fields.vue.js';
3
- export { CalendarFieldC, FieldC, FieldsConfigC, NumberFieldC, SelectFieldC, StringFieldC, } from './ui/fields/Fields.vue.js';
4
- export type { Field, FieldsConfig } from './ui/fields/Fields.vue.js';
3
+ export { CalendarFieldC, FieldC, FieldsConfigC, NumberFieldC, SelectFieldC, SlotFieldC, StringFieldC, } from './ui/fields/Fields.vue.js';
4
+ export type { Field, FieldsConfig, SlotField } from './ui/fields/Fields.vue.js';
5
5
  declare const _default: typeof __VLS_export;
6
6
  export default _default;
7
7
  declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
@@ -12,6 +12,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
12
12
  "update:modelValue": (value: Record<string, unknown>) => any;
13
13
  "update:config": (args_0: Readonly<{
14
14
  fields: readonly ({
15
+ id: string;
15
16
  type: "string";
16
17
  path: string;
17
18
  title: readonly {
@@ -29,6 +30,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
29
30
  message: string;
30
31
  }>[] | undefined;
31
32
  } | {
33
+ id: string;
32
34
  type: "number";
33
35
  path: string;
34
36
  title: readonly {
@@ -47,6 +49,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
47
49
  message: string;
48
50
  }>[] | undefined;
49
51
  } | {
52
+ id: string;
50
53
  type: "select";
51
54
  path: string;
52
55
  title: readonly {
@@ -66,6 +69,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
66
69
  message: string;
67
70
  }>[] | undefined;
68
71
  } | {
72
+ id: string;
69
73
  type: "calendar";
70
74
  path: string;
71
75
  title: readonly {
@@ -84,6 +88,10 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
84
88
  expression: string;
85
89
  message: string;
86
90
  }>[] | undefined;
91
+ } | {
92
+ id: string;
93
+ type: "slot";
94
+ style?: string | undefined;
87
95
  })[];
88
96
  orientation?: "vertical" | "horizontal" | "floating" | undefined;
89
97
  style?: string | undefined;
@@ -96,6 +104,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
96
104
  "onUpdate:modelValue"?: ((value: Record<string, unknown>) => any) | undefined;
97
105
  "onUpdate:config"?: ((args_0: Readonly<{
98
106
  fields: readonly ({
107
+ id: string;
99
108
  type: "string";
100
109
  path: string;
101
110
  title: readonly {
@@ -113,6 +122,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
113
122
  message: string;
114
123
  }>[] | undefined;
115
124
  } | {
125
+ id: string;
116
126
  type: "number";
117
127
  path: string;
118
128
  title: readonly {
@@ -131,6 +141,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
131
141
  message: string;
132
142
  }>[] | undefined;
133
143
  } | {
144
+ id: string;
134
145
  type: "select";
135
146
  path: string;
136
147
  title: readonly {
@@ -150,6 +161,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
150
161
  message: string;
151
162
  }>[] | undefined;
152
163
  } | {
164
+ id: string;
153
165
  type: "calendar";
154
166
  path: string;
155
167
  title: readonly {
@@ -168,12 +180,18 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
168
180
  expression: string;
169
181
  message: string;
170
182
  }>[] | undefined;
183
+ } | {
184
+ id: string;
185
+ type: "slot";
186
+ style?: string | undefined;
171
187
  })[];
172
188
  orientation?: "vertical" | "horizontal" | "floating" | undefined;
173
189
  style?: string | undefined;
174
190
  }>) => any) | undefined;
175
191
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
176
- [x: string]: ((props: any) => any) | undefined;
192
+ [x: string]: ((props: {
193
+ style: import("vue").CSSProperties;
194
+ }) => any) | undefined;
177
195
  }>;
178
196
  type __VLS_WithSlots<T, S> = T & {
179
197
  new (): {
@@ -27,6 +27,7 @@ export {
27
27
  FieldsConfigC,
28
28
  NumberFieldC,
29
29
  SelectFieldC,
30
+ SlotFieldC,
30
31
  StringFieldC
31
32
  } from "./ui/fields/Fields.vue";
32
33
  </script>
@@ -1,7 +1,7 @@
1
1
  import { Effect } from 'effect';
2
2
  import type { FieldsConfig } from './ui/fields/Fields.vue.js';
3
- export { CalendarFieldC, FieldC, FieldsConfigC, NumberFieldC, SelectFieldC, StringFieldC, } from './ui/fields/Fields.vue.js';
4
- export type { Field, FieldsConfig } from './ui/fields/Fields.vue.js';
3
+ export { CalendarFieldC, FieldC, FieldsConfigC, NumberFieldC, SelectFieldC, SlotFieldC, StringFieldC, } from './ui/fields/Fields.vue.js';
4
+ export type { Field, FieldsConfig, SlotField } from './ui/fields/Fields.vue.js';
5
5
  declare const _default: typeof __VLS_export;
6
6
  export default _default;
7
7
  declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
@@ -12,6 +12,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
12
12
  "update:modelValue": (value: Record<string, unknown>) => any;
13
13
  "update:config": (args_0: Readonly<{
14
14
  fields: readonly ({
15
+ id: string;
15
16
  type: "string";
16
17
  path: string;
17
18
  title: readonly {
@@ -29,6 +30,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
29
30
  message: string;
30
31
  }>[] | undefined;
31
32
  } | {
33
+ id: string;
32
34
  type: "number";
33
35
  path: string;
34
36
  title: readonly {
@@ -47,6 +49,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
47
49
  message: string;
48
50
  }>[] | undefined;
49
51
  } | {
52
+ id: string;
50
53
  type: "select";
51
54
  path: string;
52
55
  title: readonly {
@@ -66,6 +69,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
66
69
  message: string;
67
70
  }>[] | undefined;
68
71
  } | {
72
+ id: string;
69
73
  type: "calendar";
70
74
  path: string;
71
75
  title: readonly {
@@ -84,6 +88,10 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
84
88
  expression: string;
85
89
  message: string;
86
90
  }>[] | undefined;
91
+ } | {
92
+ id: string;
93
+ type: "slot";
94
+ style?: string | undefined;
87
95
  })[];
88
96
  orientation?: "vertical" | "horizontal" | "floating" | undefined;
89
97
  style?: string | undefined;
@@ -96,6 +104,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
96
104
  "onUpdate:modelValue"?: ((value: Record<string, unknown>) => any) | undefined;
97
105
  "onUpdate:config"?: ((args_0: Readonly<{
98
106
  fields: readonly ({
107
+ id: string;
99
108
  type: "string";
100
109
  path: string;
101
110
  title: readonly {
@@ -113,6 +122,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
113
122
  message: string;
114
123
  }>[] | undefined;
115
124
  } | {
125
+ id: string;
116
126
  type: "number";
117
127
  path: string;
118
128
  title: readonly {
@@ -131,6 +141,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
131
141
  message: string;
132
142
  }>[] | undefined;
133
143
  } | {
144
+ id: string;
134
145
  type: "select";
135
146
  path: string;
136
147
  title: readonly {
@@ -150,6 +161,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
150
161
  message: string;
151
162
  }>[] | undefined;
152
163
  } | {
164
+ id: string;
153
165
  type: "calendar";
154
166
  path: string;
155
167
  title: readonly {
@@ -168,12 +180,18 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
168
180
  expression: string;
169
181
  message: string;
170
182
  }>[] | undefined;
183
+ } | {
184
+ id: string;
185
+ type: "slot";
186
+ style?: string | undefined;
171
187
  })[];
172
188
  orientation?: "vertical" | "horizontal" | "floating" | undefined;
173
189
  style?: string | undefined;
174
190
  }>) => any) | undefined;
175
191
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
176
- [x: string]: ((props: any) => any) | undefined;
192
+ [x: string]: ((props: {
193
+ style: import("vue").CSSProperties;
194
+ }) => any) | undefined;
177
195
  }>;
178
196
  type __VLS_WithSlots<T, S> = T & {
179
197
  new (): {
@@ -28,7 +28,7 @@ const content = computed(() => {
28
28
  v-if="$slots.default || content"
29
29
  role="alert"
30
30
  data-slot="field-error"
31
- :class="cn('absolute left-0 top-full z-10 max-w-full pt-1 text-red-600 text-xs leading-tight font-normal', props.class)"
31
+ :class="cn('absolute left-0 top-full z-10 max-w-full pt-0.25 text-red-600 text-xs leading-tight font-normal', props.class)"
32
32
  >
33
33
  <slot v-if="$slots.default" />
34
34
 
@@ -8,7 +8,7 @@ export const fieldVariants = cva(
8
8
  horizontal: [
9
9
  "flex-row items-center",
10
10
  "*:data-[slot=field-label]:shrink-0 *:data-[slot=field-label]:whitespace-nowrap",
11
- "has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"
11
+ "has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"
12
12
  ],
13
13
  responsive: [
14
14
  "flex-col *:w-full.sr-only]:w-auto @md/field-group:flex-row @md/field-group:items-center @md/field-group:*:w-auto",
@@ -1,11 +1,13 @@
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, FieldC, FieldsConfigC, NumberFieldC, SelectFieldC, SlotFieldC, StringFieldC, ValidationRuleC, validationC, } from './schema.js';
4
+ export type { 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 {
@@ -23,6 +25,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
23
25
  message: string;
24
26
  }>[] | undefined;
25
27
  } | {
28
+ id: string;
26
29
  type: "number";
27
30
  path: string;
28
31
  title: readonly {
@@ -41,6 +44,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
41
44
  message: string;
42
45
  }>[] | undefined;
43
46
  } | {
47
+ id: string;
44
48
  type: "select";
45
49
  path: string;
46
50
  title: readonly {
@@ -60,6 +64,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
60
64
  message: string;
61
65
  }>[] | undefined;
62
66
  } | {
67
+ id: string;
63
68
  type: "calendar";
64
69
  path: string;
65
70
  title: readonly {
@@ -78,6 +83,10 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
78
83
  expression: string;
79
84
  message: string;
80
85
  }>[] | undefined;
86
+ } | {
87
+ id: string;
88
+ type: "slot";
89
+ style?: string | undefined;
81
90
  })[];
82
91
  orientation?: "vertical" | "horizontal" | "floating" | undefined;
83
92
  style?: string | undefined;
@@ -88,6 +97,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
88
97
  "update:modelValue": (value: Record<string, unknown>) => any;
89
98
  "update:config": (args_0: Readonly<{
90
99
  fields: readonly ({
100
+ id: string;
91
101
  type: "string";
92
102
  path: string;
93
103
  title: readonly {
@@ -105,6 +115,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
105
115
  message: string;
106
116
  }>[] | undefined;
107
117
  } | {
118
+ id: string;
108
119
  type: "number";
109
120
  path: string;
110
121
  title: readonly {
@@ -123,6 +134,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
123
134
  message: string;
124
135
  }>[] | undefined;
125
136
  } | {
137
+ id: string;
126
138
  type: "select";
127
139
  path: string;
128
140
  title: readonly {
@@ -142,6 +154,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
142
154
  message: string;
143
155
  }>[] | undefined;
144
156
  } | {
157
+ id: string;
145
158
  type: "calendar";
146
159
  path: string;
147
160
  title: readonly {
@@ -160,6 +173,10 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
160
173
  expression: string;
161
174
  message: string;
162
175
  }>[] | undefined;
176
+ } | {
177
+ id: string;
178
+ type: "slot";
179
+ style?: string | undefined;
163
180
  })[];
164
181
  orientation?: "vertical" | "horizontal" | "floating" | undefined;
165
182
  style?: string | undefined;
@@ -167,6 +184,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
167
184
  }, string, import("vue").PublicProps, Readonly<{
168
185
  config: Effect.Effect<Readonly<{
169
186
  fields: readonly ({
187
+ id: string;
170
188
  type: "string";
171
189
  path: string;
172
190
  title: readonly {
@@ -184,6 +202,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
184
202
  message: string;
185
203
  }>[] | undefined;
186
204
  } | {
205
+ id: string;
187
206
  type: "number";
188
207
  path: string;
189
208
  title: readonly {
@@ -202,6 +221,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
202
221
  message: string;
203
222
  }>[] | undefined;
204
223
  } | {
224
+ id: string;
205
225
  type: "select";
206
226
  path: string;
207
227
  title: readonly {
@@ -221,6 +241,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
221
241
  message: string;
222
242
  }>[] | undefined;
223
243
  } | {
244
+ id: string;
224
245
  type: "calendar";
225
246
  path: string;
226
247
  title: readonly {
@@ -239,6 +260,10 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
239
260
  expression: string;
240
261
  message: string;
241
262
  }>[] | undefined;
263
+ } | {
264
+ id: string;
265
+ type: "slot";
266
+ style?: string | undefined;
242
267
  })[];
243
268
  orientation?: "vertical" | "horizontal" | "floating" | undefined;
244
269
  style?: string | undefined;
@@ -249,6 +274,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
249
274
  "onUpdate:modelValue"?: ((value: Record<string, unknown>) => any) | undefined;
250
275
  "onUpdate:config"?: ((args_0: Readonly<{
251
276
  fields: readonly ({
277
+ id: string;
252
278
  type: "string";
253
279
  path: string;
254
280
  title: readonly {
@@ -266,6 +292,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
266
292
  message: string;
267
293
  }>[] | undefined;
268
294
  } | {
295
+ id: string;
269
296
  type: "number";
270
297
  path: string;
271
298
  title: readonly {
@@ -284,6 +311,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
284
311
  message: string;
285
312
  }>[] | undefined;
286
313
  } | {
314
+ id: string;
287
315
  type: "select";
288
316
  path: string;
289
317
  title: readonly {
@@ -303,6 +331,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
303
331
  message: string;
304
332
  }>[] | undefined;
305
333
  } | {
334
+ id: string;
306
335
  type: "calendar";
307
336
  path: string;
308
337
  title: readonly {
@@ -321,11 +350,19 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
321
350
  expression: string;
322
351
  message: string;
323
352
  }>[] | undefined;
353
+ } | {
354
+ id: string;
355
+ type: "slot";
356
+ style?: string | undefined;
324
357
  })[];
325
358
  orientation?: "vertical" | "horizontal" | "floating" | undefined;
326
359
  style?: string | undefined;
327
360
  }>) => any) | undefined;
328
361
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
362
+ [x: string]: ((props: {
363
+ style: CSSProperties;
364
+ }) => any) | undefined;
365
+ } & {
329
366
  default?: (props: {}) => any;
330
367
  }>;
331
368
  type __VLS_WithSlots<T, S> = T & {
@@ -68,6 +68,25 @@ function getConfigStyle(config2) {
68
68
  }
69
69
  return style;
70
70
  }
71
+ function getFieldStyle(field) {
72
+ if (!field.style) {
73
+ return {};
74
+ }
75
+ const style = $dsl.evaluate`${field.style}`();
76
+ const normalizedStyle = {};
77
+ if (!style || typeof style !== "object" || Array.isArray(style)) {
78
+ return normalizedStyle;
79
+ }
80
+ for (const [key, value] of Object.entries(style)) {
81
+ if (typeof value === "string" || typeof value === "number") {
82
+ Reflect.set(normalizedStyle, key, value);
83
+ }
84
+ }
85
+ return normalizedStyle;
86
+ }
87
+ function isSlotField(field) {
88
+ return field.type === "slot";
89
+ }
71
90
  function toCalendarDateValue(value, valueFormat) {
72
91
  if (typeof value !== "string") return void 0;
73
92
  const date = parse(value, valueFormat, /* @__PURE__ */ new Date());
@@ -159,7 +178,7 @@ watch(config, (value) => {
159
178
  watchEffect(() => {
160
179
  const activePaths = /* @__PURE__ */ new Set();
161
180
  for (const field of displayConfig.value.fields) {
162
- if (!isFieldHidden(field) && !isFieldDisabled(field)) {
181
+ if (!isSlotField(field) && !isFieldHidden(field) && !isFieldDisabled(field)) {
163
182
  activePaths.add(field.path);
164
183
  }
165
184
  }
@@ -183,6 +202,7 @@ export {
183
202
  FieldsConfigC,
184
203
  NumberFieldC,
185
204
  SelectFieldC,
205
+ SlotFieldC,
186
206
  StringFieldC,
187
207
  ValidationRuleC,
188
208
  validationC
@@ -223,14 +243,19 @@ export {
223
243
 
224
244
  <template
225
245
  v-for="field in displayConfig.fields"
226
- :key="field.path"
246
+ :key="field.id"
227
247
  >
248
+ <slot
249
+ v-if="field.type === 'slot'"
250
+ :name="field.id"
251
+ :style="getFieldStyle(field)"
252
+ />
228
253
  <Field
229
- v-if="!isFieldHidden(field)"
254
+ v-else-if="!isFieldHidden(field)"
230
255
  :data-disabled="isFieldDisabled(field) ? 'true' : void 0"
231
256
  :data-invalid="isFieldInvalid(field) ? 'true' : void 0"
232
257
  :orientation="getConfigOrientation(displayConfig)"
233
- :style="field.style ? $dsl.evaluate`${field.style}`() : {}"
258
+ :style="getFieldStyle(field)"
234
259
  >
235
260
  <FieldLabel :for="['string', 'number'].includes(field.type) ? `${id}:${field.path}` : void 0">
236
261
  {{ getFieldLabel(field) }}
@@ -1,11 +1,13 @@
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, FieldC, FieldsConfigC, NumberFieldC, SelectFieldC, SlotFieldC, StringFieldC, ValidationRuleC, validationC, } from './schema.js';
4
+ export type { 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 {
@@ -23,6 +25,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
23
25
  message: string;
24
26
  }>[] | undefined;
25
27
  } | {
28
+ id: string;
26
29
  type: "number";
27
30
  path: string;
28
31
  title: readonly {
@@ -41,6 +44,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
41
44
  message: string;
42
45
  }>[] | undefined;
43
46
  } | {
47
+ id: string;
44
48
  type: "select";
45
49
  path: string;
46
50
  title: readonly {
@@ -60,6 +64,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
60
64
  message: string;
61
65
  }>[] | undefined;
62
66
  } | {
67
+ id: string;
63
68
  type: "calendar";
64
69
  path: string;
65
70
  title: readonly {
@@ -78,6 +83,10 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
78
83
  expression: string;
79
84
  message: string;
80
85
  }>[] | undefined;
86
+ } | {
87
+ id: string;
88
+ type: "slot";
89
+ style?: string | undefined;
81
90
  })[];
82
91
  orientation?: "vertical" | "horizontal" | "floating" | undefined;
83
92
  style?: string | undefined;
@@ -88,6 +97,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
88
97
  "update:modelValue": (value: Record<string, unknown>) => any;
89
98
  "update:config": (args_0: Readonly<{
90
99
  fields: readonly ({
100
+ id: string;
91
101
  type: "string";
92
102
  path: string;
93
103
  title: readonly {
@@ -105,6 +115,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
105
115
  message: string;
106
116
  }>[] | undefined;
107
117
  } | {
118
+ id: string;
108
119
  type: "number";
109
120
  path: string;
110
121
  title: readonly {
@@ -123,6 +134,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
123
134
  message: string;
124
135
  }>[] | undefined;
125
136
  } | {
137
+ id: string;
126
138
  type: "select";
127
139
  path: string;
128
140
  title: readonly {
@@ -142,6 +154,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
142
154
  message: string;
143
155
  }>[] | undefined;
144
156
  } | {
157
+ id: string;
145
158
  type: "calendar";
146
159
  path: string;
147
160
  title: readonly {
@@ -160,6 +173,10 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
160
173
  expression: string;
161
174
  message: string;
162
175
  }>[] | undefined;
176
+ } | {
177
+ id: string;
178
+ type: "slot";
179
+ style?: string | undefined;
163
180
  })[];
164
181
  orientation?: "vertical" | "horizontal" | "floating" | undefined;
165
182
  style?: string | undefined;
@@ -167,6 +184,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
167
184
  }, string, import("vue").PublicProps, Readonly<{
168
185
  config: Effect.Effect<Readonly<{
169
186
  fields: readonly ({
187
+ id: string;
170
188
  type: "string";
171
189
  path: string;
172
190
  title: readonly {
@@ -184,6 +202,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
184
202
  message: string;
185
203
  }>[] | undefined;
186
204
  } | {
205
+ id: string;
187
206
  type: "number";
188
207
  path: string;
189
208
  title: readonly {
@@ -202,6 +221,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
202
221
  message: string;
203
222
  }>[] | undefined;
204
223
  } | {
224
+ id: string;
205
225
  type: "select";
206
226
  path: string;
207
227
  title: readonly {
@@ -221,6 +241,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
221
241
  message: string;
222
242
  }>[] | undefined;
223
243
  } | {
244
+ id: string;
224
245
  type: "calendar";
225
246
  path: string;
226
247
  title: readonly {
@@ -239,6 +260,10 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
239
260
  expression: string;
240
261
  message: string;
241
262
  }>[] | undefined;
263
+ } | {
264
+ id: string;
265
+ type: "slot";
266
+ style?: string | undefined;
242
267
  })[];
243
268
  orientation?: "vertical" | "horizontal" | "floating" | undefined;
244
269
  style?: string | undefined;
@@ -249,6 +274,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
249
274
  "onUpdate:modelValue"?: ((value: Record<string, unknown>) => any) | undefined;
250
275
  "onUpdate:config"?: ((args_0: Readonly<{
251
276
  fields: readonly ({
277
+ id: string;
252
278
  type: "string";
253
279
  path: string;
254
280
  title: readonly {
@@ -266,6 +292,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
266
292
  message: string;
267
293
  }>[] | undefined;
268
294
  } | {
295
+ id: string;
269
296
  type: "number";
270
297
  path: string;
271
298
  title: readonly {
@@ -284,6 +311,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
284
311
  message: string;
285
312
  }>[] | undefined;
286
313
  } | {
314
+ id: string;
287
315
  type: "select";
288
316
  path: string;
289
317
  title: readonly {
@@ -303,6 +331,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
303
331
  message: string;
304
332
  }>[] | undefined;
305
333
  } | {
334
+ id: string;
306
335
  type: "calendar";
307
336
  path: string;
308
337
  title: readonly {
@@ -321,11 +350,19 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
321
350
  expression: string;
322
351
  message: string;
323
352
  }>[] | undefined;
353
+ } | {
354
+ id: string;
355
+ type: "slot";
356
+ style?: string | undefined;
324
357
  })[];
325
358
  orientation?: "vertical" | "horizontal" | "floating" | undefined;
326
359
  style?: string | undefined;
327
360
  }>) => any) | undefined;
328
361
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
362
+ [x: string]: ((props: {
363
+ style: CSSProperties;
364
+ }) => any) | undefined;
365
+ } & {
329
366
  default?: (props: {}) => any;
330
367
  }>;
331
368
  type __VLS_WithSlots<T, S> = T & {