@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,70 @@
|
|
|
1
|
+
import { ILayoutConfig } from '../../@types';
|
|
2
|
+
import { JSONSchema7 } from 'json-schema';
|
|
3
|
+
import { PropType } from 'vue';
|
|
4
|
+
|
|
5
|
+
declare const _default: {
|
|
6
|
+
schema: {
|
|
7
|
+
type: PropType<JSONSchema7>;
|
|
8
|
+
default: () => JSONSchema7;
|
|
9
|
+
};
|
|
10
|
+
path: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
required: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
rootData: {
|
|
19
|
+
type: ObjectConstructor;
|
|
20
|
+
default: () => {};
|
|
21
|
+
};
|
|
22
|
+
modelValue: {
|
|
23
|
+
type: (ObjectConstructor | ArrayConstructor | StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
24
|
+
};
|
|
25
|
+
layout: {
|
|
26
|
+
type: PropType<Partial<ILayoutConfig>>;
|
|
27
|
+
default: () => Partial<ILayoutConfig>;
|
|
28
|
+
};
|
|
29
|
+
context: {
|
|
30
|
+
type: ObjectConstructor;
|
|
31
|
+
default: () => {};
|
|
32
|
+
};
|
|
33
|
+
removeable: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
httpAdapter: {
|
|
38
|
+
type: ObjectConstructor;
|
|
39
|
+
default: () => {
|
|
40
|
+
request: (url: string, config?: Partial<import('../../util/fetch').IFetchConfig>) => Promise<any>;
|
|
41
|
+
responseParse: (res: any) => any;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
visible: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
error: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
disabled: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
readonly: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
readonlyMode: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: string;
|
|
63
|
+
validator: (value: any) => boolean;
|
|
64
|
+
};
|
|
65
|
+
showResetDefault: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
export default _default;
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
schema: {
|
|
3
|
+
type: import('vue').PropType<import('json-schema').JSONSchema7>;
|
|
4
|
+
default: () => import('json-schema').JSONSchema7;
|
|
5
|
+
};
|
|
6
|
+
path: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
required: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
rootData: {
|
|
15
|
+
type: ObjectConstructor;
|
|
16
|
+
default: () => {};
|
|
17
|
+
};
|
|
18
|
+
modelValue: {
|
|
19
|
+
type: (ObjectConstructor | ArrayConstructor | StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
20
|
+
};
|
|
21
|
+
layout: {
|
|
22
|
+
type: import('vue').PropType<Partial<import('../../@types').ILayoutConfig>>;
|
|
23
|
+
default: () => Partial<import('../../@types').ILayoutConfig>;
|
|
24
|
+
};
|
|
25
|
+
context: {
|
|
26
|
+
type: ObjectConstructor;
|
|
27
|
+
default: () => {};
|
|
28
|
+
};
|
|
29
|
+
removeable: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
httpAdapter: {
|
|
34
|
+
type: ObjectConstructor;
|
|
35
|
+
default: () => {
|
|
36
|
+
request: (url: string, config?: Partial<import('../../util/fetch').IFetchConfig>) => Promise<any>;
|
|
37
|
+
responseParse: (res: any) => any;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
visible: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
error: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
disabled: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
readonly: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
readonlyMode: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: string;
|
|
59
|
+
validator: (value: any) => boolean;
|
|
60
|
+
};
|
|
61
|
+
showResetDefault: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
66
|
+
schema: {
|
|
67
|
+
type: import('vue').PropType<import('json-schema').JSONSchema7>;
|
|
68
|
+
default: () => import('json-schema').JSONSchema7;
|
|
69
|
+
};
|
|
70
|
+
path: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
required: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
rootData: {
|
|
79
|
+
type: ObjectConstructor;
|
|
80
|
+
default: () => {};
|
|
81
|
+
};
|
|
82
|
+
modelValue: {
|
|
83
|
+
type: (ObjectConstructor | ArrayConstructor | StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
84
|
+
};
|
|
85
|
+
layout: {
|
|
86
|
+
type: import('vue').PropType<Partial<import('../../@types').ILayoutConfig>>;
|
|
87
|
+
default: () => Partial<import('../../@types').ILayoutConfig>;
|
|
88
|
+
};
|
|
89
|
+
context: {
|
|
90
|
+
type: ObjectConstructor;
|
|
91
|
+
default: () => {};
|
|
92
|
+
};
|
|
93
|
+
removeable: {
|
|
94
|
+
type: BooleanConstructor;
|
|
95
|
+
default: boolean;
|
|
96
|
+
};
|
|
97
|
+
httpAdapter: {
|
|
98
|
+
type: ObjectConstructor;
|
|
99
|
+
default: () => {
|
|
100
|
+
request: (url: string, config?: Partial<import('../../util/fetch').IFetchConfig>) => Promise<any>;
|
|
101
|
+
responseParse: (res: any) => any;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
visible: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
108
|
+
error: {
|
|
109
|
+
type: BooleanConstructor;
|
|
110
|
+
default: boolean;
|
|
111
|
+
};
|
|
112
|
+
disabled: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
default: boolean;
|
|
115
|
+
};
|
|
116
|
+
readonly: {
|
|
117
|
+
type: BooleanConstructor;
|
|
118
|
+
default: boolean;
|
|
119
|
+
};
|
|
120
|
+
readonlyMode: {
|
|
121
|
+
type: StringConstructor;
|
|
122
|
+
default: string;
|
|
123
|
+
validator: (value: any) => boolean;
|
|
124
|
+
};
|
|
125
|
+
showResetDefault: {
|
|
126
|
+
type: BooleanConstructor;
|
|
127
|
+
default: boolean;
|
|
128
|
+
};
|
|
129
|
+
}>> & Readonly<{}>, {
|
|
130
|
+
required: boolean;
|
|
131
|
+
schema: import('json-schema').JSONSchema7;
|
|
132
|
+
path: string;
|
|
133
|
+
rootData: Record<string, any>;
|
|
134
|
+
layout: Partial<import('../../@types').ILayoutConfig>;
|
|
135
|
+
context: Record<string, any>;
|
|
136
|
+
removeable: boolean;
|
|
137
|
+
httpAdapter: Record<string, any>;
|
|
138
|
+
visible: boolean;
|
|
139
|
+
error: boolean;
|
|
140
|
+
disabled: boolean;
|
|
141
|
+
readonly: boolean;
|
|
142
|
+
readonlyMode: string;
|
|
143
|
+
showResetDefault: boolean;
|
|
144
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
145
|
+
export default _default;
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { JSONSchema7 } from 'json-schema';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
schema: {
|
|
5
|
+
type: import('vue').PropType<JSONSchema7>;
|
|
6
|
+
default: () => JSONSchema7;
|
|
7
|
+
};
|
|
8
|
+
path: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
required: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
rootData: {
|
|
17
|
+
type: ObjectConstructor;
|
|
18
|
+
default: () => {};
|
|
19
|
+
};
|
|
20
|
+
modelValue: {
|
|
21
|
+
type: (ObjectConstructor | ArrayConstructor | StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
22
|
+
};
|
|
23
|
+
layout: {
|
|
24
|
+
type: import('vue').PropType<Partial<import('../../@types').ILayoutConfig>>;
|
|
25
|
+
default: () => Partial<import('../../@types').ILayoutConfig>;
|
|
26
|
+
};
|
|
27
|
+
context: {
|
|
28
|
+
type: ObjectConstructor;
|
|
29
|
+
default: () => {};
|
|
30
|
+
};
|
|
31
|
+
removeable: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
httpAdapter: {
|
|
36
|
+
type: ObjectConstructor;
|
|
37
|
+
default: () => {
|
|
38
|
+
request: (url: string, config?: Partial<import('../../util/fetch').IFetchConfig>) => Promise<any>;
|
|
39
|
+
responseParse: (res: any) => any;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
visible: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
error: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
disabled: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
readonly: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
58
|
+
readonlyMode: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
default: string;
|
|
61
|
+
validator: (value: any) => boolean;
|
|
62
|
+
};
|
|
63
|
+
showResetDefault: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
68
|
+
schema: {
|
|
69
|
+
type: import('vue').PropType<JSONSchema7>;
|
|
70
|
+
default: () => JSONSchema7;
|
|
71
|
+
};
|
|
72
|
+
path: {
|
|
73
|
+
type: StringConstructor;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
required: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
80
|
+
rootData: {
|
|
81
|
+
type: ObjectConstructor;
|
|
82
|
+
default: () => {};
|
|
83
|
+
};
|
|
84
|
+
modelValue: {
|
|
85
|
+
type: (ObjectConstructor | ArrayConstructor | StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
86
|
+
};
|
|
87
|
+
layout: {
|
|
88
|
+
type: import('vue').PropType<Partial<import('../../@types').ILayoutConfig>>;
|
|
89
|
+
default: () => Partial<import('../../@types').ILayoutConfig>;
|
|
90
|
+
};
|
|
91
|
+
context: {
|
|
92
|
+
type: ObjectConstructor;
|
|
93
|
+
default: () => {};
|
|
94
|
+
};
|
|
95
|
+
removeable: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
99
|
+
httpAdapter: {
|
|
100
|
+
type: ObjectConstructor;
|
|
101
|
+
default: () => {
|
|
102
|
+
request: (url: string, config?: Partial<import('../../util/fetch').IFetchConfig>) => Promise<any>;
|
|
103
|
+
responseParse: (res: any) => any;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
visible: {
|
|
107
|
+
type: BooleanConstructor;
|
|
108
|
+
default: boolean;
|
|
109
|
+
};
|
|
110
|
+
error: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
114
|
+
disabled: {
|
|
115
|
+
type: BooleanConstructor;
|
|
116
|
+
default: boolean;
|
|
117
|
+
};
|
|
118
|
+
readonly: {
|
|
119
|
+
type: BooleanConstructor;
|
|
120
|
+
default: boolean;
|
|
121
|
+
};
|
|
122
|
+
readonlyMode: {
|
|
123
|
+
type: StringConstructor;
|
|
124
|
+
default: string;
|
|
125
|
+
validator: (value: any) => boolean;
|
|
126
|
+
};
|
|
127
|
+
showResetDefault: {
|
|
128
|
+
type: BooleanConstructor;
|
|
129
|
+
default: boolean;
|
|
130
|
+
};
|
|
131
|
+
}>> & Readonly<{}>, {
|
|
132
|
+
required: boolean;
|
|
133
|
+
schema: JSONSchema7;
|
|
134
|
+
path: string;
|
|
135
|
+
rootData: Record<string, any>;
|
|
136
|
+
layout: Partial<import('../../@types').ILayoutConfig>;
|
|
137
|
+
context: Record<string, any>;
|
|
138
|
+
removeable: boolean;
|
|
139
|
+
httpAdapter: Record<string, any>;
|
|
140
|
+
visible: boolean;
|
|
141
|
+
error: boolean;
|
|
142
|
+
disabled: boolean;
|
|
143
|
+
readonly: boolean;
|
|
144
|
+
readonlyMode: string;
|
|
145
|
+
showResetDefault: boolean;
|
|
146
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
147
|
+
export default _default;
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
schema: {
|
|
3
|
+
type: import('vue').PropType<import('json-schema').JSONSchema7>;
|
|
4
|
+
default: () => import('json-schema').JSONSchema7;
|
|
5
|
+
};
|
|
6
|
+
path: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
required: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
rootData: {
|
|
15
|
+
type: ObjectConstructor;
|
|
16
|
+
default: () => {};
|
|
17
|
+
};
|
|
18
|
+
modelValue: {
|
|
19
|
+
type: (ObjectConstructor | ArrayConstructor | StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
20
|
+
};
|
|
21
|
+
layout: {
|
|
22
|
+
type: import('vue').PropType<Partial<import('../../@types').ILayoutConfig>>;
|
|
23
|
+
default: () => Partial<import('../../@types').ILayoutConfig>;
|
|
24
|
+
};
|
|
25
|
+
context: {
|
|
26
|
+
type: ObjectConstructor;
|
|
27
|
+
default: () => {};
|
|
28
|
+
};
|
|
29
|
+
removeable: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
httpAdapter: {
|
|
34
|
+
type: ObjectConstructor;
|
|
35
|
+
default: () => {
|
|
36
|
+
request: (url: string, config?: Partial<import('../../util/fetch').IFetchConfig>) => Promise<any>;
|
|
37
|
+
responseParse: (res: any) => any;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
visible: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
error: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
disabled: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
readonly: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
readonlyMode: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: string;
|
|
59
|
+
validator: (value: any) => boolean;
|
|
60
|
+
};
|
|
61
|
+
showResetDefault: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
66
|
+
schema: {
|
|
67
|
+
type: import('vue').PropType<import('json-schema').JSONSchema7>;
|
|
68
|
+
default: () => import('json-schema').JSONSchema7;
|
|
69
|
+
};
|
|
70
|
+
path: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
required: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
rootData: {
|
|
79
|
+
type: ObjectConstructor;
|
|
80
|
+
default: () => {};
|
|
81
|
+
};
|
|
82
|
+
modelValue: {
|
|
83
|
+
type: (ObjectConstructor | ArrayConstructor | StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
84
|
+
};
|
|
85
|
+
layout: {
|
|
86
|
+
type: import('vue').PropType<Partial<import('../../@types').ILayoutConfig>>;
|
|
87
|
+
default: () => Partial<import('../../@types').ILayoutConfig>;
|
|
88
|
+
};
|
|
89
|
+
context: {
|
|
90
|
+
type: ObjectConstructor;
|
|
91
|
+
default: () => {};
|
|
92
|
+
};
|
|
93
|
+
removeable: {
|
|
94
|
+
type: BooleanConstructor;
|
|
95
|
+
default: boolean;
|
|
96
|
+
};
|
|
97
|
+
httpAdapter: {
|
|
98
|
+
type: ObjectConstructor;
|
|
99
|
+
default: () => {
|
|
100
|
+
request: (url: string, config?: Partial<import('../../util/fetch').IFetchConfig>) => Promise<any>;
|
|
101
|
+
responseParse: (res: any) => any;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
visible: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
108
|
+
error: {
|
|
109
|
+
type: BooleanConstructor;
|
|
110
|
+
default: boolean;
|
|
111
|
+
};
|
|
112
|
+
disabled: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
default: boolean;
|
|
115
|
+
};
|
|
116
|
+
readonly: {
|
|
117
|
+
type: BooleanConstructor;
|
|
118
|
+
default: boolean;
|
|
119
|
+
};
|
|
120
|
+
readonlyMode: {
|
|
121
|
+
type: StringConstructor;
|
|
122
|
+
default: string;
|
|
123
|
+
validator: (value: any) => boolean;
|
|
124
|
+
};
|
|
125
|
+
showResetDefault: {
|
|
126
|
+
type: BooleanConstructor;
|
|
127
|
+
default: boolean;
|
|
128
|
+
};
|
|
129
|
+
}>> & Readonly<{}>, {
|
|
130
|
+
required: boolean;
|
|
131
|
+
schema: import('json-schema').JSONSchema7;
|
|
132
|
+
path: string;
|
|
133
|
+
rootData: Record<string, any>;
|
|
134
|
+
layout: Partial<import('../../@types').ILayoutConfig>;
|
|
135
|
+
context: Record<string, any>;
|
|
136
|
+
removeable: boolean;
|
|
137
|
+
httpAdapter: Record<string, any>;
|
|
138
|
+
visible: boolean;
|
|
139
|
+
error: boolean;
|
|
140
|
+
disabled: boolean;
|
|
141
|
+
readonly: boolean;
|
|
142
|
+
readonlyMode: string;
|
|
143
|
+
showResetDefault: boolean;
|
|
144
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
145
|
+
export default _default;
|
|
@@ -0,0 +1,154 @@
|
|
|
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
|
+
handleFillItem(): void;
|
|
70
|
+
handleAddItem(): void;
|
|
71
|
+
handleDeleteItem(path: any): void;
|
|
72
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
73
|
+
modelValue: {
|
|
74
|
+
type: ArrayConstructor;
|
|
75
|
+
default: () => never[];
|
|
76
|
+
};
|
|
77
|
+
schema: {
|
|
78
|
+
type: import('vue').PropType<JSONSchema7>;
|
|
79
|
+
default: () => JSONSchema7;
|
|
80
|
+
};
|
|
81
|
+
path: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
required: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
89
|
+
rootData: {
|
|
90
|
+
type: ObjectConstructor;
|
|
91
|
+
default: () => {};
|
|
92
|
+
};
|
|
93
|
+
layout: {
|
|
94
|
+
type: import('vue').PropType<Partial<import('../../@types').ILayoutConfig>>;
|
|
95
|
+
default: () => Partial<import('../../@types').ILayoutConfig>;
|
|
96
|
+
};
|
|
97
|
+
context: {
|
|
98
|
+
type: ObjectConstructor;
|
|
99
|
+
default: () => {};
|
|
100
|
+
};
|
|
101
|
+
removeable: {
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
default: boolean;
|
|
104
|
+
};
|
|
105
|
+
httpAdapter: {
|
|
106
|
+
type: ObjectConstructor;
|
|
107
|
+
default: () => {
|
|
108
|
+
request: (url: string, config?: Partial<import('../../util/fetch').IFetchConfig>) => Promise<any>;
|
|
109
|
+
responseParse: (res: any) => any;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
visible: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
default: boolean;
|
|
115
|
+
};
|
|
116
|
+
error: {
|
|
117
|
+
type: BooleanConstructor;
|
|
118
|
+
default: boolean;
|
|
119
|
+
};
|
|
120
|
+
disabled: {
|
|
121
|
+
type: BooleanConstructor;
|
|
122
|
+
default: boolean;
|
|
123
|
+
};
|
|
124
|
+
readonly: {
|
|
125
|
+
type: BooleanConstructor;
|
|
126
|
+
default: boolean;
|
|
127
|
+
};
|
|
128
|
+
readonlyMode: {
|
|
129
|
+
type: StringConstructor;
|
|
130
|
+
default: string;
|
|
131
|
+
validator: (value: any) => boolean;
|
|
132
|
+
};
|
|
133
|
+
showResetDefault: {
|
|
134
|
+
type: BooleanConstructor;
|
|
135
|
+
default: boolean;
|
|
136
|
+
};
|
|
137
|
+
}>> & Readonly<{}>, {
|
|
138
|
+
required: boolean;
|
|
139
|
+
schema: JSONSchema7;
|
|
140
|
+
path: string;
|
|
141
|
+
rootData: Record<string, any>;
|
|
142
|
+
modelValue: unknown[];
|
|
143
|
+
layout: Partial<import('../../@types').ILayoutConfig>;
|
|
144
|
+
context: Record<string, any>;
|
|
145
|
+
removeable: boolean;
|
|
146
|
+
httpAdapter: Record<string, any>;
|
|
147
|
+
visible: boolean;
|
|
148
|
+
error: boolean;
|
|
149
|
+
disabled: boolean;
|
|
150
|
+
readonly: boolean;
|
|
151
|
+
readonlyMode: string;
|
|
152
|
+
showResetDefault: boolean;
|
|
153
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
154
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
word: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
}>, {}, {}, {}, {
|
|
7
|
+
handleClick(): void;
|
|
8
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
9
|
+
word: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{}>, {
|
|
14
|
+
word: string;
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
export default _default;
|