@shwfed/nuxt 0.8.3 → 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.
- package/dist/module.json +1 -1
- package/dist/runtime/components/fields.d.vue.ts +160 -158
- package/dist/runtime/components/fields.vue +10 -8
- package/dist/runtime/components/fields.vue.d.ts +160 -158
- package/dist/runtime/components/ui/fields/Fields.d.vue.ts +311 -159
- package/dist/runtime/components/ui/fields/Fields.vue +32 -20
- package/dist/runtime/components/ui/fields/Fields.vue.d.ts +311 -159
- package/dist/runtime/components/ui/fields/schema.d.ts +111 -0
- package/dist/runtime/components/ui/fields/schema.js +5 -0
- package/dist/runtime/components/ui/fields-configurator/FieldsConfiguratorDialog.d.vue.ts +156 -150
- package/dist/runtime/components/ui/fields-configurator/FieldsConfiguratorDialog.vue +64 -21
- package/dist/runtime/components/ui/fields-configurator/FieldsConfiguratorDialog.vue.d.ts +156 -150
- package/package.json +1 -1
|
@@ -1,174 +1,176 @@
|
|
|
1
1
|
import { Effect } from 'effect';
|
|
2
|
-
import type {
|
|
3
|
-
export { CalendarFieldC, FieldC, NumberFieldC, SelectFieldC, StringFieldC, } from './ui/fields/Fields.vue.js';
|
|
4
|
-
export type { Field } from './ui/fields/Fields.vue.js';
|
|
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';
|
|
5
5
|
declare const _default: typeof __VLS_export;
|
|
6
6
|
export default _default;
|
|
7
7
|
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
8
|
-
|
|
9
|
-
config?: Effect.Effect<ReadonlyArray<Field> | undefined>;
|
|
8
|
+
config?: Effect.Effect<FieldsConfig | undefined>;
|
|
10
9
|
} & {
|
|
11
10
|
modelValue?: Record<string, unknown>;
|
|
12
11
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
12
|
"update:modelValue": (value: Record<string, unknown>) => any;
|
|
14
|
-
"update:config": (args_0:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
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;
|
|
88
90
|
}, string, import("vue").PublicProps, Readonly<{
|
|
89
|
-
|
|
90
|
-
config?: Effect.Effect<ReadonlyArray<Field> | undefined>;
|
|
91
|
+
config?: Effect.Effect<FieldsConfig | undefined>;
|
|
91
92
|
} & {
|
|
92
93
|
modelValue?: Record<string, unknown>;
|
|
93
94
|
}> & Readonly<{
|
|
94
95
|
"onUpdate:modelValue"?: ((value: Record<string, unknown>) => any) | undefined;
|
|
95
|
-
"onUpdate:config"?: ((args_0:
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
}
|
|
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>, {
|
|
172
174
|
[x: string]: ((props: any) => any) | undefined;
|
|
173
175
|
}>;
|
|
174
176
|
type __VLS_WithSlots<T, S> = T & {
|