@shwfed/nuxt 0.10.0 → 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.
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shwfed/nuxt",
3
3
  "configKey": "shwfed",
4
- "version": "0.10.0",
4
+ "version": "0.10.1",
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, SlotFieldC, StringFieldC, } from './ui/fields/Fields.vue.js';
4
- export type { Field, FieldsConfig, SlotField } from './ui/fields/Fields.vue.js';
3
+ export { CalendarFieldC, EmptyFieldC, FieldC, FieldsConfigC, NumberFieldC, SelectFieldC, SlotFieldC, StringFieldC, } from './ui/fields/Fields.vue.js';
4
+ export type { EmptyField, 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<{
@@ -19,6 +19,26 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
19
19
  locale: "zh" | "ja" | "en" | "ko";
20
20
  message: string;
21
21
  }[];
22
+ required?: boolean | undefined;
23
+ icon?: string | undefined;
24
+ style?: string | undefined;
25
+ discardEmptyString?: boolean | undefined;
26
+ maxLength?: string | undefined;
27
+ hidden?: string | undefined;
28
+ disabled?: string | undefined;
29
+ validation?: readonly Readonly<{
30
+ expression: string;
31
+ message: string;
32
+ }>[] | undefined;
33
+ } | {
34
+ id: string;
35
+ type: "textarea";
36
+ path: string;
37
+ title: readonly {
38
+ locale: "zh" | "ja" | "en" | "ko";
39
+ message: string;
40
+ }[];
41
+ required?: boolean | undefined;
22
42
  icon?: string | undefined;
23
43
  style?: string | undefined;
24
44
  discardEmptyString?: boolean | undefined;
@@ -37,6 +57,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
37
57
  locale: "zh" | "ja" | "en" | "ko";
38
58
  message: string;
39
59
  }[];
60
+ required?: boolean | undefined;
40
61
  icon?: string | undefined;
41
62
  style?: string | undefined;
42
63
  min?: string | undefined;
@@ -60,6 +81,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
60
81
  label: string;
61
82
  value: string;
62
83
  key: string;
84
+ required?: boolean | undefined;
63
85
  icon?: string | undefined;
64
86
  style?: string | undefined;
65
87
  hidden?: string | undefined;
@@ -78,6 +100,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
78
100
  }[];
79
101
  mode: "date" | "month" | "year";
80
102
  value: string;
103
+ required?: boolean | undefined;
81
104
  icon?: string | undefined;
82
105
  style?: string | undefined;
83
106
  display?: string | undefined;
@@ -92,6 +115,10 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
92
115
  id: string;
93
116
  type: "slot";
94
117
  style?: string | undefined;
118
+ } | {
119
+ id: string;
120
+ type: "empty";
121
+ style?: string | undefined;
95
122
  })[];
96
123
  orientation?: "vertical" | "horizontal" | "floating" | undefined;
97
124
  style?: string | undefined;
@@ -111,6 +138,26 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
111
138
  locale: "zh" | "ja" | "en" | "ko";
112
139
  message: string;
113
140
  }[];
141
+ required?: boolean | undefined;
142
+ icon?: string | undefined;
143
+ style?: string | undefined;
144
+ discardEmptyString?: boolean | undefined;
145
+ maxLength?: string | undefined;
146
+ hidden?: string | undefined;
147
+ disabled?: string | undefined;
148
+ validation?: readonly Readonly<{
149
+ expression: string;
150
+ message: string;
151
+ }>[] | undefined;
152
+ } | {
153
+ id: string;
154
+ type: "textarea";
155
+ path: string;
156
+ title: readonly {
157
+ locale: "zh" | "ja" | "en" | "ko";
158
+ message: string;
159
+ }[];
160
+ required?: boolean | undefined;
114
161
  icon?: string | undefined;
115
162
  style?: string | undefined;
116
163
  discardEmptyString?: boolean | undefined;
@@ -129,6 +176,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
129
176
  locale: "zh" | "ja" | "en" | "ko";
130
177
  message: string;
131
178
  }[];
179
+ required?: boolean | undefined;
132
180
  icon?: string | undefined;
133
181
  style?: string | undefined;
134
182
  min?: string | undefined;
@@ -152,6 +200,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
152
200
  label: string;
153
201
  value: string;
154
202
  key: string;
203
+ required?: boolean | undefined;
155
204
  icon?: string | undefined;
156
205
  style?: string | undefined;
157
206
  hidden?: string | undefined;
@@ -170,6 +219,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
170
219
  }[];
171
220
  mode: "date" | "month" | "year";
172
221
  value: string;
222
+ required?: boolean | undefined;
173
223
  icon?: string | undefined;
174
224
  style?: string | undefined;
175
225
  display?: string | undefined;
@@ -184,6 +234,10 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
184
234
  id: string;
185
235
  type: "slot";
186
236
  style?: string | undefined;
237
+ } | {
238
+ id: string;
239
+ type: "empty";
240
+ style?: string | undefined;
187
241
  })[];
188
242
  orientation?: "vertical" | "horizontal" | "floating" | undefined;
189
243
  style?: string | undefined;
@@ -23,6 +23,7 @@ function handleConfigUpdate(config2) {
23
23
  <script>
24
24
  export {
25
25
  CalendarFieldC,
26
+ EmptyFieldC,
26
27
  FieldC,
27
28
  FieldsConfigC,
28
29
  NumberFieldC,
@@ -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, SlotFieldC, StringFieldC, } from './ui/fields/Fields.vue.js';
4
- export type { Field, FieldsConfig, SlotField } from './ui/fields/Fields.vue.js';
3
+ export { CalendarFieldC, EmptyFieldC, FieldC, FieldsConfigC, NumberFieldC, SelectFieldC, SlotFieldC, StringFieldC, } from './ui/fields/Fields.vue.js';
4
+ export type { EmptyField, 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<{
@@ -19,6 +19,26 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
19
19
  locale: "zh" | "ja" | "en" | "ko";
20
20
  message: string;
21
21
  }[];
22
+ required?: boolean | undefined;
23
+ icon?: string | undefined;
24
+ style?: string | undefined;
25
+ discardEmptyString?: boolean | undefined;
26
+ maxLength?: string | undefined;
27
+ hidden?: string | undefined;
28
+ disabled?: string | undefined;
29
+ validation?: readonly Readonly<{
30
+ expression: string;
31
+ message: string;
32
+ }>[] | undefined;
33
+ } | {
34
+ id: string;
35
+ type: "textarea";
36
+ path: string;
37
+ title: readonly {
38
+ locale: "zh" | "ja" | "en" | "ko";
39
+ message: string;
40
+ }[];
41
+ required?: boolean | undefined;
22
42
  icon?: string | undefined;
23
43
  style?: string | undefined;
24
44
  discardEmptyString?: boolean | undefined;
@@ -37,6 +57,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
37
57
  locale: "zh" | "ja" | "en" | "ko";
38
58
  message: string;
39
59
  }[];
60
+ required?: boolean | undefined;
40
61
  icon?: string | undefined;
41
62
  style?: string | undefined;
42
63
  min?: string | undefined;
@@ -60,6 +81,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
60
81
  label: string;
61
82
  value: string;
62
83
  key: string;
84
+ required?: boolean | undefined;
63
85
  icon?: string | undefined;
64
86
  style?: string | undefined;
65
87
  hidden?: string | undefined;
@@ -78,6 +100,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
78
100
  }[];
79
101
  mode: "date" | "month" | "year";
80
102
  value: string;
103
+ required?: boolean | undefined;
81
104
  icon?: string | undefined;
82
105
  style?: string | undefined;
83
106
  display?: string | undefined;
@@ -92,6 +115,10 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
92
115
  id: string;
93
116
  type: "slot";
94
117
  style?: string | undefined;
118
+ } | {
119
+ id: string;
120
+ type: "empty";
121
+ style?: string | undefined;
95
122
  })[];
96
123
  orientation?: "vertical" | "horizontal" | "floating" | undefined;
97
124
  style?: string | undefined;
@@ -111,6 +138,26 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
111
138
  locale: "zh" | "ja" | "en" | "ko";
112
139
  message: string;
113
140
  }[];
141
+ required?: boolean | undefined;
142
+ icon?: string | undefined;
143
+ style?: string | undefined;
144
+ discardEmptyString?: boolean | undefined;
145
+ maxLength?: string | undefined;
146
+ hidden?: string | undefined;
147
+ disabled?: string | undefined;
148
+ validation?: readonly Readonly<{
149
+ expression: string;
150
+ message: string;
151
+ }>[] | undefined;
152
+ } | {
153
+ id: string;
154
+ type: "textarea";
155
+ path: string;
156
+ title: readonly {
157
+ locale: "zh" | "ja" | "en" | "ko";
158
+ message: string;
159
+ }[];
160
+ required?: boolean | undefined;
114
161
  icon?: string | undefined;
115
162
  style?: string | undefined;
116
163
  discardEmptyString?: boolean | undefined;
@@ -129,6 +176,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
129
176
  locale: "zh" | "ja" | "en" | "ko";
130
177
  message: string;
131
178
  }[];
179
+ required?: boolean | undefined;
132
180
  icon?: string | undefined;
133
181
  style?: string | undefined;
134
182
  min?: string | undefined;
@@ -152,6 +200,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
152
200
  label: string;
153
201
  value: string;
154
202
  key: string;
203
+ required?: boolean | undefined;
155
204
  icon?: string | undefined;
156
205
  style?: string | undefined;
157
206
  hidden?: string | undefined;
@@ -170,6 +219,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
170
219
  }[];
171
220
  mode: "date" | "month" | "year";
172
221
  value: string;
222
+ required?: boolean | undefined;
173
223
  icon?: string | undefined;
174
224
  style?: string | undefined;
175
225
  display?: string | undefined;
@@ -184,6 +234,10 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
184
234
  id: string;
185
235
  type: "slot";
186
236
  style?: string | undefined;
237
+ } | {
238
+ id: string;
239
+ type: "empty";
240
+ style?: string | undefined;
187
241
  })[];
188
242
  orientation?: "vertical" | "horizontal" | "floating" | undefined;
189
243
  style?: string | undefined;
@@ -1,7 +1,7 @@
1
1
  import { Effect } from 'effect';
2
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';
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';
5
5
  declare const _default: typeof __VLS_export;
6
6
  export default _default;
7
7
  declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
@@ -14,6 +14,26 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
14
14
  locale: "zh" | "ja" | "en" | "ko";
15
15
  message: string;
16
16
  }[];
17
+ required?: boolean | undefined;
18
+ icon?: string | undefined;
19
+ style?: string | undefined;
20
+ discardEmptyString?: boolean | undefined;
21
+ maxLength?: string | undefined;
22
+ hidden?: string | undefined;
23
+ disabled?: string | undefined;
24
+ validation?: readonly Readonly<{
25
+ expression: string;
26
+ message: string;
27
+ }>[] | undefined;
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;
17
37
  icon?: string | undefined;
18
38
  style?: string | undefined;
19
39
  discardEmptyString?: boolean | undefined;
@@ -32,6 +52,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
32
52
  locale: "zh" | "ja" | "en" | "ko";
33
53
  message: string;
34
54
  }[];
55
+ required?: boolean | undefined;
35
56
  icon?: string | undefined;
36
57
  style?: string | undefined;
37
58
  min?: string | undefined;
@@ -55,6 +76,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
55
76
  label: string;
56
77
  value: string;
57
78
  key: string;
79
+ required?: boolean | undefined;
58
80
  icon?: string | undefined;
59
81
  style?: string | undefined;
60
82
  hidden?: string | undefined;
@@ -73,6 +95,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
73
95
  }[];
74
96
  mode: "date" | "month" | "year";
75
97
  value: string;
98
+ required?: boolean | undefined;
76
99
  icon?: string | undefined;
77
100
  style?: string | undefined;
78
101
  display?: string | undefined;
@@ -87,6 +110,10 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
87
110
  id: string;
88
111
  type: "slot";
89
112
  style?: string | undefined;
113
+ } | {
114
+ id: string;
115
+ type: "empty";
116
+ style?: string | undefined;
90
117
  })[];
91
118
  orientation?: "vertical" | "horizontal" | "floating" | undefined;
92
119
  style?: string | undefined;
@@ -104,6 +131,26 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
104
131
  locale: "zh" | "ja" | "en" | "ko";
105
132
  message: string;
106
133
  }[];
134
+ required?: boolean | undefined;
135
+ icon?: string | undefined;
136
+ style?: string | undefined;
137
+ discardEmptyString?: boolean | undefined;
138
+ maxLength?: string | undefined;
139
+ hidden?: string | undefined;
140
+ disabled?: string | undefined;
141
+ validation?: readonly Readonly<{
142
+ expression: string;
143
+ message: string;
144
+ }>[] | undefined;
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;
107
154
  icon?: string | undefined;
108
155
  style?: string | undefined;
109
156
  discardEmptyString?: boolean | undefined;
@@ -122,6 +169,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
122
169
  locale: "zh" | "ja" | "en" | "ko";
123
170
  message: string;
124
171
  }[];
172
+ required?: boolean | undefined;
125
173
  icon?: string | undefined;
126
174
  style?: string | undefined;
127
175
  min?: string | undefined;
@@ -145,6 +193,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
145
193
  label: string;
146
194
  value: string;
147
195
  key: string;
196
+ required?: boolean | undefined;
148
197
  icon?: string | undefined;
149
198
  style?: string | undefined;
150
199
  hidden?: string | undefined;
@@ -163,6 +212,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
163
212
  }[];
164
213
  mode: "date" | "month" | "year";
165
214
  value: string;
215
+ required?: boolean | undefined;
166
216
  icon?: string | undefined;
167
217
  style?: string | undefined;
168
218
  display?: string | undefined;
@@ -177,6 +227,10 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
177
227
  id: string;
178
228
  type: "slot";
179
229
  style?: string | undefined;
230
+ } | {
231
+ id: string;
232
+ type: "empty";
233
+ style?: string | undefined;
180
234
  })[];
181
235
  orientation?: "vertical" | "horizontal" | "floating" | undefined;
182
236
  style?: string | undefined;
@@ -191,6 +245,26 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
191
245
  locale: "zh" | "ja" | "en" | "ko";
192
246
  message: string;
193
247
  }[];
248
+ required?: boolean | undefined;
249
+ icon?: string | undefined;
250
+ style?: string | undefined;
251
+ discardEmptyString?: boolean | undefined;
252
+ maxLength?: string | undefined;
253
+ hidden?: string | undefined;
254
+ disabled?: string | undefined;
255
+ validation?: readonly Readonly<{
256
+ expression: string;
257
+ message: string;
258
+ }>[] | undefined;
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;
194
268
  icon?: string | undefined;
195
269
  style?: string | undefined;
196
270
  discardEmptyString?: boolean | undefined;
@@ -209,6 +283,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
209
283
  locale: "zh" | "ja" | "en" | "ko";
210
284
  message: string;
211
285
  }[];
286
+ required?: boolean | undefined;
212
287
  icon?: string | undefined;
213
288
  style?: string | undefined;
214
289
  min?: string | undefined;
@@ -232,6 +307,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
232
307
  label: string;
233
308
  value: string;
234
309
  key: string;
310
+ required?: boolean | undefined;
235
311
  icon?: string | undefined;
236
312
  style?: string | undefined;
237
313
  hidden?: string | undefined;
@@ -250,6 +326,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
250
326
  }[];
251
327
  mode: "date" | "month" | "year";
252
328
  value: string;
329
+ required?: boolean | undefined;
253
330
  icon?: string | undefined;
254
331
  style?: string | undefined;
255
332
  display?: string | undefined;
@@ -264,6 +341,10 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
264
341
  id: string;
265
342
  type: "slot";
266
343
  style?: string | undefined;
344
+ } | {
345
+ id: string;
346
+ type: "empty";
347
+ style?: string | undefined;
267
348
  })[];
268
349
  orientation?: "vertical" | "horizontal" | "floating" | undefined;
269
350
  style?: string | undefined;
@@ -281,6 +362,26 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
281
362
  locale: "zh" | "ja" | "en" | "ko";
282
363
  message: string;
283
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;
284
385
  icon?: string | undefined;
285
386
  style?: string | undefined;
286
387
  discardEmptyString?: boolean | undefined;
@@ -299,6 +400,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
299
400
  locale: "zh" | "ja" | "en" | "ko";
300
401
  message: string;
301
402
  }[];
403
+ required?: boolean | undefined;
302
404
  icon?: string | undefined;
303
405
  style?: string | undefined;
304
406
  min?: string | undefined;
@@ -322,6 +424,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
322
424
  label: string;
323
425
  value: string;
324
426
  key: string;
427
+ required?: boolean | undefined;
325
428
  icon?: string | undefined;
326
429
  style?: string | undefined;
327
430
  hidden?: string | undefined;
@@ -340,6 +443,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
340
443
  }[];
341
444
  mode: "date" | "month" | "year";
342
445
  value: string;
446
+ required?: boolean | undefined;
343
447
  icon?: string | undefined;
344
448
  style?: string | undefined;
345
449
  display?: string | undefined;
@@ -354,6 +458,10 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
354
458
  id: string;
355
459
  type: "slot";
356
460
  style?: string | undefined;
461
+ } | {
462
+ id: string;
463
+ type: "empty";
464
+ style?: string | undefined;
357
465
  })[];
358
466
  orientation?: "vertical" | "horizontal" | "floating" | undefined;
359
467
  style?: string | undefined;