@blueking/bkui-form 1.0.1-beta.2 → 1.0.1-beta.4
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/adapter/common/FieldGroupWrap.d.ts +209 -0
- package/dist/adapter/field/ArrayField.d.ts +147 -0
- package/dist/adapter/field/BooleanField.d.ts +145 -0
- package/dist/adapter/field/CompositionField.d.ts +151 -0
- package/dist/adapter/field/FieldProps.d.ts +70 -0
- package/dist/adapter/field/NumberField.d.ts +145 -0
- package/dist/adapter/field/ObjectField.d.ts +147 -0
- package/dist/adapter/field/SchemaField.d.ts +145 -0
- package/dist/adapter/field/StringField.d.ts +4 -0
- package/dist/adapter/widget/ArrayWidget.d.ts +154 -0
- package/dist/adapter/widget/ButtonWidget.d.ts +16 -0
- package/dist/adapter/widget/CheckboxWidget.d.ts +34 -0
- package/dist/adapter/widget/CollapseGroupWidget.d.ts +196 -0
- package/dist/adapter/widget/ColorPickerWidget.d.ts +8 -0
- package/dist/adapter/widget/InputWidget.d.ts +30 -0
- package/dist/adapter/widget/KeyValueArrayWidget.d.ts +157 -0
- package/dist/adapter/widget/RadioWidget.d.ts +37 -0
- package/dist/adapter/widget/SelectWidget.d.ts +37 -0
- package/dist/adapter/widget/SwitchWidget.d.ts +10 -0
- package/dist/adapter/widget/TabGroupWidget.d.ts +187 -0
- package/dist/adapter/widget/TableWidget.d.ts +154 -0
- package/dist/adapter/widget/Widget.d.ts +182 -0
- package/dist/controller/form.d.ts +141 -0
- package/dist/controller/props.d.ts +62 -0
- package/dist/core/events.d.ts +10 -0
- package/dist/core/expression.d.ts +13 -0
- package/dist/core/form.d.ts +5 -0
- package/dist/core/lang.d.ts +1 -0
- package/dist/core/layout.d.ts +20 -0
- package/dist/core/lifecycle.d.ts +0 -0
- package/dist/core/path.d.ts +9 -0
- package/dist/core/proxy.d.ts +3 -0
- package/dist/core/reaction.d.ts +5 -0
- package/dist/core/register.d.ts +19 -0
- package/dist/core/schema.d.ts +26 -0
- package/dist/core/validator.d.ts +35 -0
- package/dist/core/widgetTree.d.ts +40 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.es.js +7443 -0
- package/dist/index.umd.js +12 -0
- package/dist/style.css +1 -0
- package/dist/util/fetch.d.ts +10 -0
- package/dist/util/index.d.ts +23 -0
- package/package.json +23 -11
- package/dist/main.css +0 -208
- package/dist/main.js +0 -17353
- package/dist/svg/iconcool.eb237688.svg +0 -53
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
datasource: {
|
|
3
|
+
type: ArrayConstructor;
|
|
4
|
+
default: () => never[];
|
|
5
|
+
};
|
|
6
|
+
modelValue: {
|
|
7
|
+
type: (ArrayConstructor | BooleanConstructor)[];
|
|
8
|
+
default: () => never[];
|
|
9
|
+
};
|
|
10
|
+
label: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
}>, {}, {}, {}, {
|
|
15
|
+
handleChange(val: any): void;
|
|
16
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
17
|
+
datasource: {
|
|
18
|
+
type: ArrayConstructor;
|
|
19
|
+
default: () => never[];
|
|
20
|
+
};
|
|
21
|
+
modelValue: {
|
|
22
|
+
type: (ArrayConstructor | BooleanConstructor)[];
|
|
23
|
+
default: () => never[];
|
|
24
|
+
};
|
|
25
|
+
label: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
}>> & Readonly<{}>, {
|
|
30
|
+
modelValue: boolean | unknown[];
|
|
31
|
+
label: string;
|
|
32
|
+
datasource: unknown[];
|
|
33
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
34
|
+
export default _default;
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { JSONSchema7 } from 'json-schema';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
type: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
validator: (value: string) => boolean;
|
|
8
|
+
};
|
|
9
|
+
showTitle: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
border: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
defaultActiveName: {
|
|
18
|
+
type: ArrayConstructor;
|
|
19
|
+
default: () => never[];
|
|
20
|
+
};
|
|
21
|
+
verifiable: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
schema: {
|
|
26
|
+
type: import('vue').PropType<JSONSchema7>;
|
|
27
|
+
default: () => JSONSchema7;
|
|
28
|
+
};
|
|
29
|
+
path: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
required: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
rootData: {
|
|
38
|
+
type: ObjectConstructor;
|
|
39
|
+
default: () => {};
|
|
40
|
+
};
|
|
41
|
+
modelValue: {
|
|
42
|
+
type: (ObjectConstructor | ArrayConstructor | StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
43
|
+
};
|
|
44
|
+
layout: {
|
|
45
|
+
type: import('vue').PropType<Partial<import('../../@types').ILayoutConfig>>;
|
|
46
|
+
default: () => Partial<import('../../@types').ILayoutConfig>;
|
|
47
|
+
};
|
|
48
|
+
context: {
|
|
49
|
+
type: ObjectConstructor;
|
|
50
|
+
default: () => {};
|
|
51
|
+
};
|
|
52
|
+
removeable: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
httpAdapter: {
|
|
57
|
+
type: ObjectConstructor;
|
|
58
|
+
default: () => {
|
|
59
|
+
request: (url: string, config?: Partial<import('../../util/fetch').IFetchConfig>) => Promise<any>;
|
|
60
|
+
responseParse: (res: any) => any;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
visible: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
error: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
disabled: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
readonly: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
79
|
+
readonlyMode: {
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
default: string;
|
|
82
|
+
validator: (value: any) => boolean;
|
|
83
|
+
};
|
|
84
|
+
showResetDefault: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
}>, {}, {
|
|
89
|
+
activeName: unknown[];
|
|
90
|
+
}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
91
|
+
type: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: string;
|
|
94
|
+
validator: (value: string) => boolean;
|
|
95
|
+
};
|
|
96
|
+
showTitle: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
default: boolean;
|
|
99
|
+
};
|
|
100
|
+
border: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
defaultActiveName: {
|
|
105
|
+
type: ArrayConstructor;
|
|
106
|
+
default: () => never[];
|
|
107
|
+
};
|
|
108
|
+
verifiable: {
|
|
109
|
+
type: BooleanConstructor;
|
|
110
|
+
default: boolean;
|
|
111
|
+
};
|
|
112
|
+
schema: {
|
|
113
|
+
type: import('vue').PropType<JSONSchema7>;
|
|
114
|
+
default: () => JSONSchema7;
|
|
115
|
+
};
|
|
116
|
+
path: {
|
|
117
|
+
type: StringConstructor;
|
|
118
|
+
default: string;
|
|
119
|
+
};
|
|
120
|
+
required: {
|
|
121
|
+
type: BooleanConstructor;
|
|
122
|
+
default: boolean;
|
|
123
|
+
};
|
|
124
|
+
rootData: {
|
|
125
|
+
type: ObjectConstructor;
|
|
126
|
+
default: () => {};
|
|
127
|
+
};
|
|
128
|
+
modelValue: {
|
|
129
|
+
type: (ObjectConstructor | ArrayConstructor | StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
130
|
+
};
|
|
131
|
+
layout: {
|
|
132
|
+
type: import('vue').PropType<Partial<import('../../@types').ILayoutConfig>>;
|
|
133
|
+
default: () => Partial<import('../../@types').ILayoutConfig>;
|
|
134
|
+
};
|
|
135
|
+
context: {
|
|
136
|
+
type: ObjectConstructor;
|
|
137
|
+
default: () => {};
|
|
138
|
+
};
|
|
139
|
+
removeable: {
|
|
140
|
+
type: BooleanConstructor;
|
|
141
|
+
default: boolean;
|
|
142
|
+
};
|
|
143
|
+
httpAdapter: {
|
|
144
|
+
type: ObjectConstructor;
|
|
145
|
+
default: () => {
|
|
146
|
+
request: (url: string, config?: Partial<import('../../util/fetch').IFetchConfig>) => Promise<any>;
|
|
147
|
+
responseParse: (res: any) => any;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
visible: {
|
|
151
|
+
type: BooleanConstructor;
|
|
152
|
+
default: boolean;
|
|
153
|
+
};
|
|
154
|
+
error: {
|
|
155
|
+
type: BooleanConstructor;
|
|
156
|
+
default: boolean;
|
|
157
|
+
};
|
|
158
|
+
disabled: {
|
|
159
|
+
type: BooleanConstructor;
|
|
160
|
+
default: boolean;
|
|
161
|
+
};
|
|
162
|
+
readonly: {
|
|
163
|
+
type: BooleanConstructor;
|
|
164
|
+
default: boolean;
|
|
165
|
+
};
|
|
166
|
+
readonlyMode: {
|
|
167
|
+
type: StringConstructor;
|
|
168
|
+
default: string;
|
|
169
|
+
validator: (value: any) => boolean;
|
|
170
|
+
};
|
|
171
|
+
showResetDefault: {
|
|
172
|
+
type: BooleanConstructor;
|
|
173
|
+
default: boolean;
|
|
174
|
+
};
|
|
175
|
+
}>> & Readonly<{}>, {
|
|
176
|
+
type: string;
|
|
177
|
+
required: boolean;
|
|
178
|
+
schema: JSONSchema7;
|
|
179
|
+
path: string;
|
|
180
|
+
rootData: Record<string, any>;
|
|
181
|
+
layout: Partial<import('../../@types').ILayoutConfig>;
|
|
182
|
+
context: Record<string, any>;
|
|
183
|
+
removeable: boolean;
|
|
184
|
+
httpAdapter: Record<string, any>;
|
|
185
|
+
visible: boolean;
|
|
186
|
+
error: boolean;
|
|
187
|
+
disabled: boolean;
|
|
188
|
+
readonly: boolean;
|
|
189
|
+
readonlyMode: string;
|
|
190
|
+
showResetDefault: boolean;
|
|
191
|
+
showTitle: boolean;
|
|
192
|
+
border: boolean;
|
|
193
|
+
verifiable: boolean;
|
|
194
|
+
defaultActiveName: unknown[];
|
|
195
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
196
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
modelValue: StringConstructor;
|
|
3
|
+
}>, {}, {}, {}, {
|
|
4
|
+
handleChange(color: any): void;
|
|
5
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
6
|
+
modelValue: StringConstructor;
|
|
7
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
modelValue: (StringConstructor | NumberConstructor)[];
|
|
3
|
+
unit: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
maxRows: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
default: number;
|
|
10
|
+
};
|
|
11
|
+
}>, {}, {}, {
|
|
12
|
+
rows(): number;
|
|
13
|
+
}, {
|
|
14
|
+
handleInput(v: any): void;
|
|
15
|
+
handleBlur(e: any): void;
|
|
16
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
17
|
+
modelValue: (StringConstructor | NumberConstructor)[];
|
|
18
|
+
unit: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
maxRows: {
|
|
23
|
+
type: NumberConstructor;
|
|
24
|
+
default: number;
|
|
25
|
+
};
|
|
26
|
+
}>> & Readonly<{}>, {
|
|
27
|
+
unit: string;
|
|
28
|
+
maxRows: number;
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { JSONSchema7 } from 'json-schema';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
modelValue: {
|
|
5
|
+
type: ArrayConstructor;
|
|
6
|
+
default: () => never[];
|
|
7
|
+
};
|
|
8
|
+
schema: {
|
|
9
|
+
type: import('vue').PropType<JSONSchema7>;
|
|
10
|
+
default: () => JSONSchema7;
|
|
11
|
+
};
|
|
12
|
+
path: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
required: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
rootData: {
|
|
21
|
+
type: ObjectConstructor;
|
|
22
|
+
default: () => {};
|
|
23
|
+
};
|
|
24
|
+
layout: {
|
|
25
|
+
type: import('vue').PropType<Partial<import('../../@types').ILayoutConfig>>;
|
|
26
|
+
default: () => Partial<import('../../@types').ILayoutConfig>;
|
|
27
|
+
};
|
|
28
|
+
context: {
|
|
29
|
+
type: ObjectConstructor;
|
|
30
|
+
default: () => {};
|
|
31
|
+
};
|
|
32
|
+
removeable: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
httpAdapter: {
|
|
37
|
+
type: ObjectConstructor;
|
|
38
|
+
default: () => {
|
|
39
|
+
request: (url: string, config?: Partial<import('../../util/fetch').IFetchConfig>) => Promise<any>;
|
|
40
|
+
responseParse: (res: any) => any;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
visible: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
error: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
disabled: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
readonly: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
readonlyMode: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
validator: (value: any) => boolean;
|
|
63
|
+
};
|
|
64
|
+
showResetDefault: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
}>, {}, {}, {}, {
|
|
69
|
+
handleAddItem(): void;
|
|
70
|
+
handleRemoveItem(index: any): void;
|
|
71
|
+
handleInput({ path, value }: {
|
|
72
|
+
path: any;
|
|
73
|
+
value: any;
|
|
74
|
+
}): void;
|
|
75
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
76
|
+
modelValue: {
|
|
77
|
+
type: ArrayConstructor;
|
|
78
|
+
default: () => never[];
|
|
79
|
+
};
|
|
80
|
+
schema: {
|
|
81
|
+
type: import('vue').PropType<JSONSchema7>;
|
|
82
|
+
default: () => JSONSchema7;
|
|
83
|
+
};
|
|
84
|
+
path: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
default: string;
|
|
87
|
+
};
|
|
88
|
+
required: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
rootData: {
|
|
93
|
+
type: ObjectConstructor;
|
|
94
|
+
default: () => {};
|
|
95
|
+
};
|
|
96
|
+
layout: {
|
|
97
|
+
type: import('vue').PropType<Partial<import('../../@types').ILayoutConfig>>;
|
|
98
|
+
default: () => Partial<import('../../@types').ILayoutConfig>;
|
|
99
|
+
};
|
|
100
|
+
context: {
|
|
101
|
+
type: ObjectConstructor;
|
|
102
|
+
default: () => {};
|
|
103
|
+
};
|
|
104
|
+
removeable: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
108
|
+
httpAdapter: {
|
|
109
|
+
type: ObjectConstructor;
|
|
110
|
+
default: () => {
|
|
111
|
+
request: (url: string, config?: Partial<import('../../util/fetch').IFetchConfig>) => Promise<any>;
|
|
112
|
+
responseParse: (res: any) => any;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
visible: {
|
|
116
|
+
type: BooleanConstructor;
|
|
117
|
+
default: boolean;
|
|
118
|
+
};
|
|
119
|
+
error: {
|
|
120
|
+
type: BooleanConstructor;
|
|
121
|
+
default: boolean;
|
|
122
|
+
};
|
|
123
|
+
disabled: {
|
|
124
|
+
type: BooleanConstructor;
|
|
125
|
+
default: boolean;
|
|
126
|
+
};
|
|
127
|
+
readonly: {
|
|
128
|
+
type: BooleanConstructor;
|
|
129
|
+
default: boolean;
|
|
130
|
+
};
|
|
131
|
+
readonlyMode: {
|
|
132
|
+
type: StringConstructor;
|
|
133
|
+
default: string;
|
|
134
|
+
validator: (value: any) => boolean;
|
|
135
|
+
};
|
|
136
|
+
showResetDefault: {
|
|
137
|
+
type: BooleanConstructor;
|
|
138
|
+
default: boolean;
|
|
139
|
+
};
|
|
140
|
+
}>> & Readonly<{}>, {
|
|
141
|
+
required: boolean;
|
|
142
|
+
schema: JSONSchema7;
|
|
143
|
+
path: string;
|
|
144
|
+
rootData: Record<string, any>;
|
|
145
|
+
modelValue: unknown[];
|
|
146
|
+
layout: Partial<import('../../@types').ILayoutConfig>;
|
|
147
|
+
context: Record<string, any>;
|
|
148
|
+
removeable: boolean;
|
|
149
|
+
httpAdapter: Record<string, any>;
|
|
150
|
+
visible: boolean;
|
|
151
|
+
error: boolean;
|
|
152
|
+
disabled: boolean;
|
|
153
|
+
readonly: boolean;
|
|
154
|
+
readonlyMode: string;
|
|
155
|
+
showResetDefault: boolean;
|
|
156
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
157
|
+
export default _default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { IDataSource } from '../../@types';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
|
+
datasource: {
|
|
6
|
+
type: PropType<IDataSource[]>;
|
|
7
|
+
default: () => IDataSource[];
|
|
8
|
+
};
|
|
9
|
+
modelValue: {
|
|
10
|
+
type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
disabled: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
}>, {}, {}, {}, {
|
|
18
|
+
handleChange(val: any): void;
|
|
19
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
20
|
+
datasource: {
|
|
21
|
+
type: PropType<IDataSource[]>;
|
|
22
|
+
default: () => IDataSource[];
|
|
23
|
+
};
|
|
24
|
+
modelValue: {
|
|
25
|
+
type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
disabled: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
}>> & Readonly<{}>, {
|
|
33
|
+
modelValue: string | number | boolean;
|
|
34
|
+
disabled: boolean;
|
|
35
|
+
datasource: IDataSource[];
|
|
36
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
37
|
+
export default _default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { IDataSource } from '../../@types';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
|
+
datasource: {
|
|
6
|
+
type: PropType<IDataSource[]>;
|
|
7
|
+
default: () => IDataSource[];
|
|
8
|
+
};
|
|
9
|
+
modelValue: {
|
|
10
|
+
type: (ArrayConstructor | StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
loading: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
}>, {}, {}, {}, {
|
|
18
|
+
handleSelectChange(val: any): void;
|
|
19
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
20
|
+
datasource: {
|
|
21
|
+
type: PropType<IDataSource[]>;
|
|
22
|
+
default: () => IDataSource[];
|
|
23
|
+
};
|
|
24
|
+
modelValue: {
|
|
25
|
+
type: (ArrayConstructor | StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
loading: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
}>> & Readonly<{}>, {
|
|
33
|
+
modelValue: string | number | boolean | unknown[];
|
|
34
|
+
loading: boolean;
|
|
35
|
+
datasource: IDataSource[];
|
|
36
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
37
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
modelValue: BooleanConstructor;
|
|
3
|
+
}>, {}, {}, {}, {
|
|
4
|
+
handleChange(v: any): void;
|
|
5
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
6
|
+
modelValue: BooleanConstructor;
|
|
7
|
+
}>> & Readonly<{}>, {
|
|
8
|
+
modelValue: boolean;
|
|
9
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { JSONSchema7 } from 'json-schema';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
type: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
validator: (value: string) => boolean;
|
|
8
|
+
};
|
|
9
|
+
showTitle: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
border: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
verifiable: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
schema: {
|
|
22
|
+
type: import('vue').PropType<JSONSchema7>;
|
|
23
|
+
default: () => JSONSchema7;
|
|
24
|
+
};
|
|
25
|
+
path: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
required: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
rootData: {
|
|
34
|
+
type: ObjectConstructor;
|
|
35
|
+
default: () => {};
|
|
36
|
+
};
|
|
37
|
+
modelValue: {
|
|
38
|
+
type: (ObjectConstructor | ArrayConstructor | StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
39
|
+
};
|
|
40
|
+
layout: {
|
|
41
|
+
type: import('vue').PropType<Partial<import('../../@types').ILayoutConfig>>;
|
|
42
|
+
default: () => Partial<import('../../@types').ILayoutConfig>;
|
|
43
|
+
};
|
|
44
|
+
context: {
|
|
45
|
+
type: ObjectConstructor;
|
|
46
|
+
default: () => {};
|
|
47
|
+
};
|
|
48
|
+
removeable: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
httpAdapter: {
|
|
53
|
+
type: ObjectConstructor;
|
|
54
|
+
default: () => {
|
|
55
|
+
request: (url: string, config?: Partial<import('../../util/fetch').IFetchConfig>) => Promise<any>;
|
|
56
|
+
responseParse: (res: any) => any;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
visible: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
error: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
disabled: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
readonly: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
readonlyMode: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
default: string;
|
|
78
|
+
validator: (value: any) => boolean;
|
|
79
|
+
};
|
|
80
|
+
showResetDefault: {
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
default: boolean;
|
|
83
|
+
};
|
|
84
|
+
}>, {}, {
|
|
85
|
+
active: string;
|
|
86
|
+
}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
87
|
+
type: {
|
|
88
|
+
type: StringConstructor;
|
|
89
|
+
default: string;
|
|
90
|
+
validator: (value: string) => boolean;
|
|
91
|
+
};
|
|
92
|
+
showTitle: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
border: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
default: boolean;
|
|
99
|
+
};
|
|
100
|
+
verifiable: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
schema: {
|
|
105
|
+
type: import('vue').PropType<JSONSchema7>;
|
|
106
|
+
default: () => JSONSchema7;
|
|
107
|
+
};
|
|
108
|
+
path: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
default: string;
|
|
111
|
+
};
|
|
112
|
+
required: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
default: boolean;
|
|
115
|
+
};
|
|
116
|
+
rootData: {
|
|
117
|
+
type: ObjectConstructor;
|
|
118
|
+
default: () => {};
|
|
119
|
+
};
|
|
120
|
+
modelValue: {
|
|
121
|
+
type: (ObjectConstructor | ArrayConstructor | StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
122
|
+
};
|
|
123
|
+
layout: {
|
|
124
|
+
type: import('vue').PropType<Partial<import('../../@types').ILayoutConfig>>;
|
|
125
|
+
default: () => Partial<import('../../@types').ILayoutConfig>;
|
|
126
|
+
};
|
|
127
|
+
context: {
|
|
128
|
+
type: ObjectConstructor;
|
|
129
|
+
default: () => {};
|
|
130
|
+
};
|
|
131
|
+
removeable: {
|
|
132
|
+
type: BooleanConstructor;
|
|
133
|
+
default: boolean;
|
|
134
|
+
};
|
|
135
|
+
httpAdapter: {
|
|
136
|
+
type: ObjectConstructor;
|
|
137
|
+
default: () => {
|
|
138
|
+
request: (url: string, config?: Partial<import('../../util/fetch').IFetchConfig>) => Promise<any>;
|
|
139
|
+
responseParse: (res: any) => any;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
visible: {
|
|
143
|
+
type: BooleanConstructor;
|
|
144
|
+
default: boolean;
|
|
145
|
+
};
|
|
146
|
+
error: {
|
|
147
|
+
type: BooleanConstructor;
|
|
148
|
+
default: boolean;
|
|
149
|
+
};
|
|
150
|
+
disabled: {
|
|
151
|
+
type: BooleanConstructor;
|
|
152
|
+
default: boolean;
|
|
153
|
+
};
|
|
154
|
+
readonly: {
|
|
155
|
+
type: BooleanConstructor;
|
|
156
|
+
default: boolean;
|
|
157
|
+
};
|
|
158
|
+
readonlyMode: {
|
|
159
|
+
type: StringConstructor;
|
|
160
|
+
default: string;
|
|
161
|
+
validator: (value: any) => boolean;
|
|
162
|
+
};
|
|
163
|
+
showResetDefault: {
|
|
164
|
+
type: BooleanConstructor;
|
|
165
|
+
default: boolean;
|
|
166
|
+
};
|
|
167
|
+
}>> & Readonly<{}>, {
|
|
168
|
+
type: string;
|
|
169
|
+
required: boolean;
|
|
170
|
+
schema: JSONSchema7;
|
|
171
|
+
path: string;
|
|
172
|
+
rootData: Record<string, any>;
|
|
173
|
+
layout: Partial<import('../../@types').ILayoutConfig>;
|
|
174
|
+
context: Record<string, any>;
|
|
175
|
+
removeable: boolean;
|
|
176
|
+
httpAdapter: Record<string, any>;
|
|
177
|
+
visible: boolean;
|
|
178
|
+
error: boolean;
|
|
179
|
+
disabled: boolean;
|
|
180
|
+
readonly: boolean;
|
|
181
|
+
readonlyMode: string;
|
|
182
|
+
showResetDefault: boolean;
|
|
183
|
+
showTitle: boolean;
|
|
184
|
+
border: boolean;
|
|
185
|
+
verifiable: boolean;
|
|
186
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
187
|
+
export default _default;
|