@shwfed/nuxt 0.8.2 → 0.9.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.
@@ -1,173 +1,176 @@
1
- import type { Field } from './ui/fields/Fields.vue.js';
2
- export { CalendarFieldC, FieldC, NumberFieldC, SelectFieldC, StringFieldC, } from './ui/fields/Fields.vue.js';
3
- export type { Field } from './ui/fields/Fields.vue.js';
1
+ import { Effect } from 'effect';
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';
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
- orientation?: "horizontal" | "vertical" | "floating";
8
- config: import("effect").Effect.Effect<ReadonlyArray<Field>>;
8
+ config?: Effect.Effect<FieldsConfig | undefined>;
9
9
  } & {
10
10
  modelValue?: Record<string, unknown>;
11
11
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
12
  "update:modelValue": (value: Record<string, unknown>) => any;
13
- "update:config": (args_0: readonly ({
14
- type: "string";
15
- path: string;
16
- title: readonly {
17
- locale: "zh" | "ja" | "en" | "ko";
18
- message: string;
19
- }[];
20
- icon?: string | undefined;
21
- style?: string | undefined;
22
- discardEmptyString?: boolean | undefined;
23
- maxLength?: string | undefined;
24
- hidden?: string | undefined;
25
- disabled?: string | undefined;
26
- validation?: readonly Readonly<{
27
- expression: string;
28
- message: string;
29
- }>[] | undefined;
30
- } | {
31
- type: "number";
32
- path: string;
33
- title: readonly {
34
- locale: "zh" | "ja" | "en" | "ko";
35
- message: string;
36
- }[];
37
- icon?: string | undefined;
38
- style?: string | undefined;
39
- min?: string | undefined;
40
- max?: string | undefined;
41
- step?: string | undefined;
42
- hidden?: string | undefined;
43
- disabled?: string | undefined;
44
- validation?: readonly Readonly<{
45
- expression: string;
46
- message: string;
47
- }>[] | undefined;
48
- } | {
49
- type: "select";
50
- path: string;
51
- title: readonly {
52
- locale: "zh" | "ja" | "en" | "ko";
53
- message: string;
54
- }[];
55
- options: string;
56
- label: string;
57
- value: string;
58
- key: string;
59
- icon?: string | undefined;
60
- style?: string | undefined;
61
- hidden?: string | undefined;
62
- disabled?: string | undefined;
63
- validation?: readonly Readonly<{
64
- expression: string;
65
- message: string;
66
- }>[] | undefined;
67
- } | {
68
- type: "calendar";
69
- path: string;
70
- title: readonly {
71
- locale: "zh" | "ja" | "en" | "ko";
72
- message: string;
73
- }[];
74
- mode: "date" | "month" | "year";
75
- value: string;
76
- icon?: string | undefined;
77
- style?: string | undefined;
78
- display?: string | undefined;
79
- disableDate?: string | undefined;
80
- hidden?: string | undefined;
81
- disabled?: string | undefined;
82
- validation?: readonly Readonly<{
83
- expression: string;
84
- message: string;
85
- }>[] | undefined;
86
- })[]) => any;
13
+ "update:config": (args_0: Readonly<{
14
+ orientation: "vertical" | "horizontal" | "floating";
15
+ fields: readonly ({
16
+ type: "string";
17
+ path: string;
18
+ title: readonly {
19
+ locale: "zh" | "ja" | "en" | "ko";
20
+ message: string;
21
+ }[];
22
+ icon?: string | undefined;
23
+ style?: string | undefined;
24
+ discardEmptyString?: boolean | undefined;
25
+ maxLength?: string | undefined;
26
+ hidden?: string | undefined;
27
+ disabled?: string | undefined;
28
+ validation?: readonly Readonly<{
29
+ expression: string;
30
+ message: string;
31
+ }>[] | undefined;
32
+ } | {
33
+ type: "number";
34
+ path: string;
35
+ title: readonly {
36
+ locale: "zh" | "ja" | "en" | "ko";
37
+ message: string;
38
+ }[];
39
+ icon?: string | undefined;
40
+ style?: string | undefined;
41
+ min?: string | undefined;
42
+ max?: string | undefined;
43
+ step?: string | undefined;
44
+ hidden?: string | undefined;
45
+ disabled?: string | undefined;
46
+ validation?: readonly Readonly<{
47
+ expression: string;
48
+ message: string;
49
+ }>[] | undefined;
50
+ } | {
51
+ type: "select";
52
+ path: string;
53
+ title: readonly {
54
+ locale: "zh" | "ja" | "en" | "ko";
55
+ message: string;
56
+ }[];
57
+ options: string;
58
+ label: string;
59
+ value: string;
60
+ key: string;
61
+ icon?: string | undefined;
62
+ style?: string | undefined;
63
+ hidden?: string | undefined;
64
+ disabled?: string | undefined;
65
+ validation?: readonly Readonly<{
66
+ expression: string;
67
+ message: string;
68
+ }>[] | undefined;
69
+ } | {
70
+ type: "calendar";
71
+ path: string;
72
+ title: readonly {
73
+ locale: "zh" | "ja" | "en" | "ko";
74
+ message: string;
75
+ }[];
76
+ mode: "date" | "month" | "year";
77
+ value: string;
78
+ icon?: string | undefined;
79
+ style?: string | undefined;
80
+ display?: string | undefined;
81
+ disableDate?: string | undefined;
82
+ hidden?: string | undefined;
83
+ disabled?: string | undefined;
84
+ validation?: readonly Readonly<{
85
+ expression: string;
86
+ message: string;
87
+ }>[] | undefined;
88
+ })[];
89
+ }>) => any;
87
90
  }, string, import("vue").PublicProps, Readonly<{
88
- orientation?: "horizontal" | "vertical" | "floating";
89
- config: import("effect").Effect.Effect<ReadonlyArray<Field>>;
91
+ config?: Effect.Effect<FieldsConfig | undefined>;
90
92
  } & {
91
93
  modelValue?: Record<string, unknown>;
92
94
  }> & Readonly<{
93
95
  "onUpdate:modelValue"?: ((value: Record<string, unknown>) => any) | undefined;
94
- "onUpdate:config"?: ((args_0: readonly ({
95
- type: "string";
96
- path: string;
97
- title: readonly {
98
- locale: "zh" | "ja" | "en" | "ko";
99
- message: string;
100
- }[];
101
- icon?: string | undefined;
102
- style?: string | undefined;
103
- discardEmptyString?: boolean | undefined;
104
- maxLength?: string | undefined;
105
- hidden?: string | undefined;
106
- disabled?: string | undefined;
107
- validation?: readonly Readonly<{
108
- expression: string;
109
- message: string;
110
- }>[] | undefined;
111
- } | {
112
- type: "number";
113
- path: string;
114
- title: readonly {
115
- locale: "zh" | "ja" | "en" | "ko";
116
- message: string;
117
- }[];
118
- icon?: string | undefined;
119
- style?: string | undefined;
120
- min?: string | undefined;
121
- max?: string | undefined;
122
- step?: string | undefined;
123
- hidden?: string | undefined;
124
- disabled?: string | undefined;
125
- validation?: readonly Readonly<{
126
- expression: string;
127
- message: string;
128
- }>[] | undefined;
129
- } | {
130
- type: "select";
131
- path: string;
132
- title: readonly {
133
- locale: "zh" | "ja" | "en" | "ko";
134
- message: string;
135
- }[];
136
- options: string;
137
- label: string;
138
- value: string;
139
- key: string;
140
- icon?: string | undefined;
141
- style?: string | undefined;
142
- hidden?: string | undefined;
143
- disabled?: string | undefined;
144
- validation?: readonly Readonly<{
145
- expression: string;
146
- message: string;
147
- }>[] | undefined;
148
- } | {
149
- type: "calendar";
150
- path: string;
151
- title: readonly {
152
- locale: "zh" | "ja" | "en" | "ko";
153
- message: string;
154
- }[];
155
- mode: "date" | "month" | "year";
156
- value: string;
157
- icon?: string | undefined;
158
- style?: string | undefined;
159
- display?: string | undefined;
160
- disableDate?: string | undefined;
161
- hidden?: string | undefined;
162
- disabled?: string | undefined;
163
- validation?: readonly Readonly<{
164
- expression: string;
165
- message: string;
166
- }>[] | undefined;
167
- })[]) => any) | undefined;
168
- }>, {
169
- orientation: "horizontal" | "vertical" | "floating";
170
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
96
+ "onUpdate:config"?: ((args_0: Readonly<{
97
+ orientation: "vertical" | "horizontal" | "floating";
98
+ fields: readonly ({
99
+ type: "string";
100
+ path: string;
101
+ title: readonly {
102
+ locale: "zh" | "ja" | "en" | "ko";
103
+ message: string;
104
+ }[];
105
+ icon?: string | undefined;
106
+ style?: string | undefined;
107
+ discardEmptyString?: boolean | undefined;
108
+ maxLength?: string | undefined;
109
+ hidden?: string | undefined;
110
+ disabled?: string | undefined;
111
+ validation?: readonly Readonly<{
112
+ expression: string;
113
+ message: string;
114
+ }>[] | undefined;
115
+ } | {
116
+ type: "number";
117
+ path: string;
118
+ title: readonly {
119
+ locale: "zh" | "ja" | "en" | "ko";
120
+ message: string;
121
+ }[];
122
+ icon?: string | undefined;
123
+ style?: string | undefined;
124
+ min?: string | undefined;
125
+ max?: string | undefined;
126
+ step?: string | undefined;
127
+ hidden?: string | undefined;
128
+ disabled?: string | undefined;
129
+ validation?: readonly Readonly<{
130
+ expression: string;
131
+ message: string;
132
+ }>[] | undefined;
133
+ } | {
134
+ type: "select";
135
+ path: string;
136
+ title: readonly {
137
+ locale: "zh" | "ja" | "en" | "ko";
138
+ message: string;
139
+ }[];
140
+ options: string;
141
+ label: string;
142
+ value: string;
143
+ key: string;
144
+ icon?: string | undefined;
145
+ style?: string | undefined;
146
+ hidden?: string | undefined;
147
+ disabled?: string | undefined;
148
+ validation?: readonly Readonly<{
149
+ expression: string;
150
+ message: string;
151
+ }>[] | undefined;
152
+ } | {
153
+ type: "calendar";
154
+ path: string;
155
+ title: readonly {
156
+ locale: "zh" | "ja" | "en" | "ko";
157
+ message: string;
158
+ }[];
159
+ mode: "date" | "month" | "year";
160
+ value: string;
161
+ icon?: string | undefined;
162
+ style?: string | undefined;
163
+ display?: string | undefined;
164
+ disableDate?: string | undefined;
165
+ hidden?: string | undefined;
166
+ disabled?: string | undefined;
167
+ validation?: readonly Readonly<{
168
+ expression: string;
169
+ message: string;
170
+ }>[] | undefined;
171
+ })[];
172
+ }>) => any) | undefined;
173
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
171
174
  [x: string]: ((props: any) => any) | undefined;
172
175
  }>;
173
176
  type __VLS_WithSlots<T, S> = T & {