@blueking/bkui-form 1.0.1-beta.3 → 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 +24 -12
- package/esm/adapter/common/FieldGroupWrap.tsx.js +0 -199
- package/esm/adapter/field/ArrayField.tsx.js +0 -55
- package/esm/adapter/field/BooleanField.tsx.js +0 -41
- package/esm/adapter/field/CompositionField.tsx.js +0 -113
- package/esm/adapter/field/FieldProps.ts.js +0 -85
- package/esm/adapter/field/NumberField.tsx.js +0 -19
- package/esm/adapter/field/ObjectField.tsx.js +0 -58
- package/esm/adapter/field/SchemaField.tsx.js +0 -28
- package/esm/adapter/field/StringField.tsx.js +0 -4
- package/esm/adapter/widget/ArrayWidget.ts.js +0 -196
- package/esm/adapter/widget/ButtonWidget.ts.js +0 -76
- package/esm/adapter/widget/CheckboxWidget.ts.js +0 -101
- package/esm/adapter/widget/CollapseGroupWidget.ts.js +0 -140
- package/esm/adapter/widget/ColorPickerWidget.ts.js +0 -71
- package/esm/adapter/widget/InputWidget.ts.js +0 -79
- package/esm/adapter/widget/KeyValueArrayWidget.tsx.js +0 -156
- package/esm/adapter/widget/RadioWidget.ts.js +0 -98
- package/esm/adapter/widget/SelectWidget.ts.js +0 -98
- package/esm/adapter/widget/SwitchWidget.ts.js +0 -73
- package/esm/adapter/widget/TabGroupWidget.ts.js +0 -145
- package/esm/adapter/widget/TableWidget.ts.js +0 -205
- package/esm/adapter/widget/Widget.ts.js +0 -497
- package/esm/assets/fonts/iconcool.eot +0 -0
- package/esm/assets/fonts/iconcool.svg +0 -53
- package/esm/assets/fonts/iconcool.ttf +0 -0
- package/esm/assets/fonts/iconcool.woff +0 -0
- package/esm/assets/style.css +0 -43
- package/esm/controller/form.css +0 -164
- package/esm/controller/form.tsx.js +0 -159
- package/esm/controller/props.ts.js +0 -75
- package/esm/core/events.ts.js +0 -74
- package/esm/core/expression.ts.js +0 -67
- package/esm/core/lang.ts.js +0 -25
- package/esm/core/layout.ts.js +0 -149
- package/esm/core/path.ts.js +0 -60
- package/esm/core/proxy.ts.js +0 -10
- package/esm/core/reaction.ts.js +0 -116
- package/esm/core/register.ts.js +0 -74
- package/esm/core/schema.ts.js +0 -302
- package/esm/core/validator.ts.js +0 -248
- package/esm/core/widgetTree.ts.js +0 -163
- package/esm/index.ts.js +0 -6
- package/esm/node_modules/@blueking/cli-service/dist/lib/path.js +0 -35
- package/esm/node_modules/@blueking/cli-service/dist/lib/util.js +0 -233
- package/esm/node_modules/@blueking/cli-service/dist/tools/rust/helper/path.js +0 -172
- package/esm/node_modules/ajv/dist/ajv.js +0 -50
- package/esm/node_modules/ajv/dist/compile/codegen/code.js +0 -156
- package/esm/node_modules/ajv/dist/compile/codegen/index.js +0 -697
- package/esm/node_modules/ajv/dist/compile/codegen/scope.js +0 -143
- package/esm/node_modules/ajv/dist/compile/errors.js +0 -123
- package/esm/node_modules/ajv/dist/compile/index.js +0 -242
- package/esm/node_modules/ajv/dist/compile/names.js +0 -28
- package/esm/node_modules/ajv/dist/compile/ref_error.js +0 -12
- package/esm/node_modules/ajv/dist/compile/resolve.js +0 -155
- package/esm/node_modules/ajv/dist/compile/rules.js +0 -26
- package/esm/node_modules/ajv/dist/compile/util.js +0 -178
- package/esm/node_modules/ajv/dist/compile/validate/applicability.js +0 -19
- package/esm/node_modules/ajv/dist/compile/validate/boolSchema.js +0 -50
- package/esm/node_modules/ajv/dist/compile/validate/dataType.js +0 -203
- package/esm/node_modules/ajv/dist/compile/validate/defaults.js +0 -35
- package/esm/node_modules/ajv/dist/compile/validate/index.js +0 -520
- package/esm/node_modules/ajv/dist/compile/validate/keyword.js +0 -124
- package/esm/node_modules/ajv/dist/compile/validate/subschema.js +0 -81
- package/esm/node_modules/ajv/dist/core.js +0 -618
- package/esm/node_modules/ajv/dist/refs/data.json +0 -13
- package/esm/node_modules/ajv/dist/refs/json-schema-draft-07.json +0 -151
- package/esm/node_modules/ajv/dist/runtime/equal.js +0 -7
- package/esm/node_modules/ajv/dist/runtime/ucs2length.js +0 -24
- package/esm/node_modules/ajv/dist/runtime/uri.js +0 -6
- package/esm/node_modules/ajv/dist/runtime/validation_error.js +0 -11
- package/esm/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +0 -49
- package/esm/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +0 -106
- package/esm/node_modules/ajv/dist/vocabularies/applicator/allOf.js +0 -23
- package/esm/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +0 -12
- package/esm/node_modules/ajv/dist/vocabularies/applicator/contains.js +0 -95
- package/esm/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +0 -85
- package/esm/node_modules/ajv/dist/vocabularies/applicator/if.js +0 -66
- package/esm/node_modules/ajv/dist/vocabularies/applicator/index.js +0 -44
- package/esm/node_modules/ajv/dist/vocabularies/applicator/items.js +0 -52
- package/esm/node_modules/ajv/dist/vocabularies/applicator/items2020.js +0 -30
- package/esm/node_modules/ajv/dist/vocabularies/applicator/not.js +0 -26
- package/esm/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +0 -60
- package/esm/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +0 -75
- package/esm/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +0 -12
- package/esm/node_modules/ajv/dist/vocabularies/applicator/properties.js +0 -54
- package/esm/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +0 -38
- package/esm/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +0 -13
- package/esm/node_modules/ajv/dist/vocabularies/code.js +0 -131
- package/esm/node_modules/ajv/dist/vocabularies/core/id.js +0 -10
- package/esm/node_modules/ajv/dist/vocabularies/core/index.js +0 -16
- package/esm/node_modules/ajv/dist/vocabularies/core/ref.js +0 -122
- package/esm/node_modules/ajv/dist/vocabularies/discriminator/index.js +0 -104
- package/esm/node_modules/ajv/dist/vocabularies/discriminator/types.js +0 -9
- package/esm/node_modules/ajv/dist/vocabularies/draft7.js +0 -17
- package/esm/node_modules/ajv/dist/vocabularies/format/format.js +0 -92
- package/esm/node_modules/ajv/dist/vocabularies/format/index.js +0 -6
- package/esm/node_modules/ajv/dist/vocabularies/metadata.js +0 -18
- package/esm/node_modules/ajv/dist/vocabularies/validation/const.js +0 -25
- package/esm/node_modules/ajv/dist/vocabularies/validation/enum.js +0 -48
- package/esm/node_modules/ajv/dist/vocabularies/validation/index.js +0 -33
- package/esm/node_modules/ajv/dist/vocabularies/validation/limitItems.js +0 -24
- package/esm/node_modules/ajv/dist/vocabularies/validation/limitLength.js +0 -27
- package/esm/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +0 -27
- package/esm/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +0 -24
- package/esm/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +0 -26
- package/esm/node_modules/ajv/dist/vocabularies/validation/pattern.js +0 -24
- package/esm/node_modules/ajv/dist/vocabularies/validation/required.js +0 -79
- package/esm/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +0 -64
- package/esm/node_modules/ajv-formats/dist/formats.js +0 -173
- package/esm/node_modules/ajv-formats/dist/index.js +0 -37
- package/esm/node_modules/ajv-formats/dist/limit.js +0 -69
- package/esm/node_modules/ajv-i18n/localize/zh/index.js +0 -154
- package/esm/node_modules/fast-deep-equal/index.js +0 -46
- package/esm/node_modules/fast-uri/index.js +0 -303
- package/esm/node_modules/fast-uri/lib/schemes.js +0 -188
- package/esm/node_modules/fast-uri/lib/scopedChars.js +0 -30
- package/esm/node_modules/fast-uri/lib/utils.js +0 -244
- package/esm/node_modules/json-schema-traverse/index.js +0 -89
- package/esm/node_modules/semver/classes/comparator.js +0 -143
- package/esm/node_modules/semver/classes/range.js +0 -557
- package/esm/node_modules/semver/classes/semver.js +0 -333
- package/esm/node_modules/semver/functions/clean.js +0 -8
- package/esm/node_modules/semver/functions/cmp.js +0 -54
- package/esm/node_modules/semver/functions/coerce.js +0 -62
- package/esm/node_modules/semver/functions/compare-build.js +0 -9
- package/esm/node_modules/semver/functions/compare-loose.js +0 -5
- package/esm/node_modules/semver/functions/compare.js +0 -7
- package/esm/node_modules/semver/functions/diff.js +0 -60
- package/esm/node_modules/semver/functions/eq.js +0 -5
- package/esm/node_modules/semver/functions/gt.js +0 -5
- package/esm/node_modules/semver/functions/gte.js +0 -5
- package/esm/node_modules/semver/functions/inc.js +0 -21
- package/esm/node_modules/semver/functions/lt.js +0 -5
- package/esm/node_modules/semver/functions/lte.js +0 -5
- package/esm/node_modules/semver/functions/major.js +0 -5
- package/esm/node_modules/semver/functions/minor.js +0 -5
- package/esm/node_modules/semver/functions/neq.js +0 -5
- package/esm/node_modules/semver/functions/parse.js +0 -18
- package/esm/node_modules/semver/functions/patch.js +0 -5
- package/esm/node_modules/semver/functions/prerelease.js +0 -8
- package/esm/node_modules/semver/functions/rcompare.js +0 -5
- package/esm/node_modules/semver/functions/rsort.js +0 -5
- package/esm/node_modules/semver/functions/satisfies.js +0 -12
- package/esm/node_modules/semver/functions/sort.js +0 -5
- package/esm/node_modules/semver/functions/valid.js +0 -8
- package/esm/node_modules/semver/index.js +0 -91
- package/esm/node_modules/semver/internal/constants.js +0 -37
- package/esm/node_modules/semver/internal/debug.js +0 -11
- package/esm/node_modules/semver/internal/identifiers.js +0 -29
- package/esm/node_modules/semver/internal/lrucache.js +0 -42
- package/esm/node_modules/semver/internal/parse-options.js +0 -17
- package/esm/node_modules/semver/internal/re.js +0 -223
- package/esm/node_modules/semver/ranges/gtr.js +0 -6
- package/esm/node_modules/semver/ranges/intersects.js +0 -9
- package/esm/node_modules/semver/ranges/ltr.js +0 -6
- package/esm/node_modules/semver/ranges/max-satisfying.js +0 -27
- package/esm/node_modules/semver/ranges/min-satisfying.js +0 -26
- package/esm/node_modules/semver/ranges/min-version.js +0 -63
- package/esm/node_modules/semver/ranges/outside.js +0 -82
- package/esm/node_modules/semver/ranges/simplify.js +0 -49
- package/esm/node_modules/semver/ranges/subset.js +0 -249
- package/esm/node_modules/semver/ranges/to-comparators.js +0 -10
- package/esm/node_modules/semver/ranges/valid.js +0 -13
- package/esm/util/fetch.ts.js +0 -190
- package/esm/util/index.ts.js +0 -276
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import { IFormState } from '../../@types';
|
|
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
|
+
hideEmptyRow: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
showResetDefault: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
schema: {
|
|
30
|
+
type: import('vue').PropType<import('json-schema').JSONSchema7>;
|
|
31
|
+
default: () => import('json-schema').JSONSchema7;
|
|
32
|
+
};
|
|
33
|
+
path: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
required: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
rootData: {
|
|
42
|
+
type: ObjectConstructor;
|
|
43
|
+
default: () => {};
|
|
44
|
+
};
|
|
45
|
+
modelValue: {
|
|
46
|
+
type: (ObjectConstructor | ArrayConstructor | StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
47
|
+
};
|
|
48
|
+
layout: {
|
|
49
|
+
type: import('vue').PropType<Partial<import('../../@types').ILayoutConfig>>;
|
|
50
|
+
default: () => Partial<import('../../@types').ILayoutConfig>;
|
|
51
|
+
};
|
|
52
|
+
context: {
|
|
53
|
+
type: ObjectConstructor;
|
|
54
|
+
default: () => {};
|
|
55
|
+
};
|
|
56
|
+
removeable: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
httpAdapter: {
|
|
61
|
+
type: ObjectConstructor;
|
|
62
|
+
default: () => {
|
|
63
|
+
request: (url: string, config?: Partial<import('../../util/fetch').IFetchConfig>) => Promise<any>;
|
|
64
|
+
responseParse: (res: any) => any;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
visible: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
error: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
disabled: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
79
|
+
readonly: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
83
|
+
readonlyMode: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
default: string;
|
|
86
|
+
validator: (value: any) => boolean;
|
|
87
|
+
};
|
|
88
|
+
}>, {}, {
|
|
89
|
+
groupErrorTips: {};
|
|
90
|
+
state: {
|
|
91
|
+
visible: boolean;
|
|
92
|
+
};
|
|
93
|
+
}, {
|
|
94
|
+
value(): string | number | boolean | Record<string, any> | unknown[] | undefined;
|
|
95
|
+
}, {
|
|
96
|
+
setState(key: keyof IFormState, value: any): void;
|
|
97
|
+
setGroupErrorTips(widgetPath: any, errorTips: any): void;
|
|
98
|
+
removeGroupErrorTips(widgetPath: any): void;
|
|
99
|
+
clearGroupErrorTips(): void;
|
|
100
|
+
getDefaultValue(): any;
|
|
101
|
+
resetToDefault(): void;
|
|
102
|
+
isDefaultValue(): any;
|
|
103
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
104
|
+
type: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
default: string;
|
|
107
|
+
validator: (value: string) => boolean;
|
|
108
|
+
};
|
|
109
|
+
showTitle: {
|
|
110
|
+
type: BooleanConstructor;
|
|
111
|
+
default: boolean;
|
|
112
|
+
};
|
|
113
|
+
border: {
|
|
114
|
+
type: BooleanConstructor;
|
|
115
|
+
default: boolean;
|
|
116
|
+
};
|
|
117
|
+
verifiable: {
|
|
118
|
+
type: BooleanConstructor;
|
|
119
|
+
default: boolean;
|
|
120
|
+
};
|
|
121
|
+
hideEmptyRow: {
|
|
122
|
+
type: BooleanConstructor;
|
|
123
|
+
default: boolean;
|
|
124
|
+
};
|
|
125
|
+
showResetDefault: {
|
|
126
|
+
type: BooleanConstructor;
|
|
127
|
+
default: boolean;
|
|
128
|
+
};
|
|
129
|
+
schema: {
|
|
130
|
+
type: import('vue').PropType<import('json-schema').JSONSchema7>;
|
|
131
|
+
default: () => import('json-schema').JSONSchema7;
|
|
132
|
+
};
|
|
133
|
+
path: {
|
|
134
|
+
type: StringConstructor;
|
|
135
|
+
default: string;
|
|
136
|
+
};
|
|
137
|
+
required: {
|
|
138
|
+
type: BooleanConstructor;
|
|
139
|
+
default: boolean;
|
|
140
|
+
};
|
|
141
|
+
rootData: {
|
|
142
|
+
type: ObjectConstructor;
|
|
143
|
+
default: () => {};
|
|
144
|
+
};
|
|
145
|
+
modelValue: {
|
|
146
|
+
type: (ObjectConstructor | ArrayConstructor | StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
147
|
+
};
|
|
148
|
+
layout: {
|
|
149
|
+
type: import('vue').PropType<Partial<import('../../@types').ILayoutConfig>>;
|
|
150
|
+
default: () => Partial<import('../../@types').ILayoutConfig>;
|
|
151
|
+
};
|
|
152
|
+
context: {
|
|
153
|
+
type: ObjectConstructor;
|
|
154
|
+
default: () => {};
|
|
155
|
+
};
|
|
156
|
+
removeable: {
|
|
157
|
+
type: BooleanConstructor;
|
|
158
|
+
default: boolean;
|
|
159
|
+
};
|
|
160
|
+
httpAdapter: {
|
|
161
|
+
type: ObjectConstructor;
|
|
162
|
+
default: () => {
|
|
163
|
+
request: (url: string, config?: Partial<import('../../util/fetch').IFetchConfig>) => Promise<any>;
|
|
164
|
+
responseParse: (res: any) => any;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
visible: {
|
|
168
|
+
type: BooleanConstructor;
|
|
169
|
+
default: boolean;
|
|
170
|
+
};
|
|
171
|
+
error: {
|
|
172
|
+
type: BooleanConstructor;
|
|
173
|
+
default: boolean;
|
|
174
|
+
};
|
|
175
|
+
disabled: {
|
|
176
|
+
type: BooleanConstructor;
|
|
177
|
+
default: boolean;
|
|
178
|
+
};
|
|
179
|
+
readonly: {
|
|
180
|
+
type: BooleanConstructor;
|
|
181
|
+
default: boolean;
|
|
182
|
+
};
|
|
183
|
+
readonlyMode: {
|
|
184
|
+
type: StringConstructor;
|
|
185
|
+
default: string;
|
|
186
|
+
validator: (value: any) => boolean;
|
|
187
|
+
};
|
|
188
|
+
}>> & Readonly<{}>, {
|
|
189
|
+
type: string;
|
|
190
|
+
required: boolean;
|
|
191
|
+
schema: import('json-schema').JSONSchema7;
|
|
192
|
+
path: string;
|
|
193
|
+
rootData: Record<string, any>;
|
|
194
|
+
layout: Partial<import('../../@types').ILayoutConfig>;
|
|
195
|
+
context: Record<string, any>;
|
|
196
|
+
removeable: boolean;
|
|
197
|
+
httpAdapter: Record<string, any>;
|
|
198
|
+
visible: boolean;
|
|
199
|
+
error: boolean;
|
|
200
|
+
disabled: boolean;
|
|
201
|
+
readonly: boolean;
|
|
202
|
+
readonlyMode: string;
|
|
203
|
+
showResetDefault: boolean;
|
|
204
|
+
showTitle: boolean;
|
|
205
|
+
border: boolean;
|
|
206
|
+
verifiable: boolean;
|
|
207
|
+
hideEmptyRow: boolean;
|
|
208
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
209
|
+
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,151 @@
|
|
|
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
|
+
}>, {}, {
|
|
68
|
+
activeIndex: number;
|
|
69
|
+
}, {
|
|
70
|
+
composition(): "" | "oneOf" | "anyOf";
|
|
71
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
72
|
+
schema: {
|
|
73
|
+
type: import('vue').PropType<JSONSchema7>;
|
|
74
|
+
default: () => JSONSchema7;
|
|
75
|
+
};
|
|
76
|
+
path: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
required: {
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
default: boolean;
|
|
83
|
+
};
|
|
84
|
+
rootData: {
|
|
85
|
+
type: ObjectConstructor;
|
|
86
|
+
default: () => {};
|
|
87
|
+
};
|
|
88
|
+
modelValue: {
|
|
89
|
+
type: (ObjectConstructor | ArrayConstructor | StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
90
|
+
};
|
|
91
|
+
layout: {
|
|
92
|
+
type: import('vue').PropType<Partial<import('../../@types').ILayoutConfig>>;
|
|
93
|
+
default: () => Partial<import('../../@types').ILayoutConfig>;
|
|
94
|
+
};
|
|
95
|
+
context: {
|
|
96
|
+
type: ObjectConstructor;
|
|
97
|
+
default: () => {};
|
|
98
|
+
};
|
|
99
|
+
removeable: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: boolean;
|
|
102
|
+
};
|
|
103
|
+
httpAdapter: {
|
|
104
|
+
type: ObjectConstructor;
|
|
105
|
+
default: () => {
|
|
106
|
+
request: (url: string, config?: Partial<import('../../util/fetch').IFetchConfig>) => Promise<any>;
|
|
107
|
+
responseParse: (res: any) => any;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
visible: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
114
|
+
error: {
|
|
115
|
+
type: BooleanConstructor;
|
|
116
|
+
default: boolean;
|
|
117
|
+
};
|
|
118
|
+
disabled: {
|
|
119
|
+
type: BooleanConstructor;
|
|
120
|
+
default: boolean;
|
|
121
|
+
};
|
|
122
|
+
readonly: {
|
|
123
|
+
type: BooleanConstructor;
|
|
124
|
+
default: boolean;
|
|
125
|
+
};
|
|
126
|
+
readonlyMode: {
|
|
127
|
+
type: StringConstructor;
|
|
128
|
+
default: string;
|
|
129
|
+
validator: (value: any) => boolean;
|
|
130
|
+
};
|
|
131
|
+
showResetDefault: {
|
|
132
|
+
type: BooleanConstructor;
|
|
133
|
+
default: boolean;
|
|
134
|
+
};
|
|
135
|
+
}>> & Readonly<{}>, {
|
|
136
|
+
required: boolean;
|
|
137
|
+
schema: JSONSchema7;
|
|
138
|
+
path: string;
|
|
139
|
+
rootData: Record<string, any>;
|
|
140
|
+
layout: Partial<import('../../@types').ILayoutConfig>;
|
|
141
|
+
context: Record<string, any>;
|
|
142
|
+
removeable: boolean;
|
|
143
|
+
httpAdapter: Record<string, any>;
|
|
144
|
+
visible: boolean;
|
|
145
|
+
error: boolean;
|
|
146
|
+
disabled: boolean;
|
|
147
|
+
readonly: boolean;
|
|
148
|
+
readonlyMode: string;
|
|
149
|
+
showResetDefault: boolean;
|
|
150
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
151
|
+
export default _default;
|