@blueking/bkui-form 0.0.42-beta.8 → 0.0.42-beta.9
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/package.json +1 -1
- package/dist/adapter/vue2/common/FieldGroupWrap.d.ts +0 -34
- package/dist/adapter/vue2/field/ArrayField.d.ts +0 -19
- package/dist/adapter/vue2/field/BooleanField.d.ts +0 -18
- package/dist/adapter/vue2/field/CompositionField.d.ts +0 -22
- package/dist/adapter/vue2/field/FieldProps.d.ts +0 -65
- package/dist/adapter/vue2/field/NumberField.d.ts +0 -18
- package/dist/adapter/vue2/field/ObjectField.d.ts +0 -3
- package/dist/adapter/vue2/field/SchemaField.d.ts +0 -3
- package/dist/adapter/vue2/field/StringField.d.ts +0 -18
- package/dist/adapter/vue2/widget/ArrayWidget.d.ts +0 -9
- package/dist/adapter/vue2/widget/ButtonWidget.d.ts +0 -9
- package/dist/adapter/vue2/widget/CheckboxWidget.d.ts +0 -12
- package/dist/adapter/vue2/widget/CollapseGroupWidget.d.ts +0 -17
- package/dist/adapter/vue2/widget/ColorPickerWidget.d.ts +0 -9
- package/dist/adapter/vue2/widget/InputWidget.d.ts +0 -15
- package/dist/adapter/vue2/widget/KeyValueArrayWidget.d.ts +0 -26
- package/dist/adapter/vue2/widget/RadioWidget.d.ts +0 -12
- package/dist/adapter/vue2/widget/SelectWidget.d.ts +0 -12
- package/dist/adapter/vue2/widget/SwitchWidget.d.ts +0 -9
- package/dist/adapter/vue2/widget/TabGroupWidget.d.ts +0 -17
- package/dist/adapter/vue2/widget/TableWidget.d.ts +0 -26
- package/dist/adapter/vue2/widget/Widget.d.ts +0 -31
- package/dist/bkui-form-es-min.js +0 -9
- package/dist/bkui-form-es.js +0 -11851
- package/dist/bkui-form-es.js.map +0 -1
- package/dist/bkui-form-umd-min.js +0 -9
- package/dist/bkui-form-umd.js +0 -11865
- package/dist/bkui-form-umd.js.map +0 -1
- package/dist/bkui-form.css +0 -195
- package/dist/controller/form-vue2.d.ts +0 -27
- package/dist/controller/props.d.ts +0 -55
- package/dist/core/events.d.ts +0 -10
- package/dist/core/expression.d.ts +0 -13
- package/dist/core/form.d.ts +0 -4
- package/dist/core/lang.d.ts +0 -1
- package/dist/core/layout.d.ts +0 -19
- package/dist/core/path.d.ts +0 -9
- package/dist/core/proxy.d.ts +0 -2
- package/dist/core/reaction.d.ts +0 -4
- package/dist/core/register.d.ts +0 -19
- package/dist/core/schema.d.ts +0 -24
- package/dist/core/validator.d.ts +0 -34
- package/dist/core/widgetTree.d.ts +0 -40
- package/dist/index.d.ts +0 -5
- package/dist/types/bkui-form.d.ts +0 -96
- package/dist/util/fetch.d.ts +0 -9
- package/dist/util/index.d.ts +0 -21
package/package.json
CHANGED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import Vue from 'vue';
|
|
2
|
-
import { IFormState } from '@/@types';
|
|
3
|
-
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {
|
|
4
|
-
groupErrorTips: {};
|
|
5
|
-
state: {
|
|
6
|
-
visible: boolean;
|
|
7
|
-
};
|
|
8
|
-
}, {
|
|
9
|
-
setState(key: keyof IFormState, value: any): void;
|
|
10
|
-
setGroupErrorTips(widgetPath: any, errorTips: any): void;
|
|
11
|
-
removeGroupErrorTips(widgetPath: any): void;
|
|
12
|
-
clearGroupErrorTips(): void;
|
|
13
|
-
}, unknown, {
|
|
14
|
-
type: string;
|
|
15
|
-
showTitle: boolean;
|
|
16
|
-
border: boolean;
|
|
17
|
-
verifiable: boolean;
|
|
18
|
-
hideEmptyRow: boolean;
|
|
19
|
-
schema: import("json-schema").JSONSchema7;
|
|
20
|
-
path: string;
|
|
21
|
-
required: boolean;
|
|
22
|
-
rootData: any;
|
|
23
|
-
value: any;
|
|
24
|
-
layout: Partial<import("@/@types").ILayoutConfig>;
|
|
25
|
-
context: any;
|
|
26
|
-
removeable: boolean;
|
|
27
|
-
httpAdapter: any;
|
|
28
|
-
visible: boolean;
|
|
29
|
-
error: boolean;
|
|
30
|
-
disabled: boolean;
|
|
31
|
-
readonly: boolean;
|
|
32
|
-
readonlyMode: string;
|
|
33
|
-
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
34
|
-
export default _default;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import Vue from 'vue';
|
|
2
|
-
import { JSONSchema7 } from 'json-schema';
|
|
3
|
-
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {}, {}, {}, {
|
|
4
|
-
schema: JSONSchema7;
|
|
5
|
-
path: string;
|
|
6
|
-
required: boolean;
|
|
7
|
-
rootData: any;
|
|
8
|
-
value: any;
|
|
9
|
-
layout: Partial<import("../../../@types").ILayoutConfig>;
|
|
10
|
-
context: any;
|
|
11
|
-
removeable: boolean;
|
|
12
|
-
httpAdapter: any;
|
|
13
|
-
visible: boolean;
|
|
14
|
-
error: boolean;
|
|
15
|
-
disabled: boolean;
|
|
16
|
-
readonly: boolean;
|
|
17
|
-
readonlyMode: string;
|
|
18
|
-
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
19
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import Vue from 'vue';
|
|
2
|
-
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {}, {}, {}, {
|
|
3
|
-
schema: import("json-schema").JSONSchema7;
|
|
4
|
-
path: string;
|
|
5
|
-
required: boolean;
|
|
6
|
-
rootData: any;
|
|
7
|
-
value: any;
|
|
8
|
-
layout: Partial<import("../../../@types").ILayoutConfig>;
|
|
9
|
-
context: any;
|
|
10
|
-
removeable: boolean;
|
|
11
|
-
httpAdapter: any;
|
|
12
|
-
visible: boolean;
|
|
13
|
-
error: boolean;
|
|
14
|
-
disabled: boolean;
|
|
15
|
-
readonly: boolean;
|
|
16
|
-
readonlyMode: string;
|
|
17
|
-
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
18
|
-
export default _default;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { JSONSchema7 } from 'json-schema';
|
|
2
|
-
import Vue from 'vue';
|
|
3
|
-
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {
|
|
4
|
-
activeIndex: number;
|
|
5
|
-
}, unknown, unknown, {
|
|
6
|
-
composition: string;
|
|
7
|
-
schema: JSONSchema7;
|
|
8
|
-
path: string;
|
|
9
|
-
required: boolean;
|
|
10
|
-
rootData: any;
|
|
11
|
-
value: any;
|
|
12
|
-
layout: Partial<import("../../../@types").ILayoutConfig>;
|
|
13
|
-
context: any;
|
|
14
|
-
removeable: boolean;
|
|
15
|
-
httpAdapter: any;
|
|
16
|
-
visible: boolean;
|
|
17
|
-
error: boolean;
|
|
18
|
-
disabled: boolean;
|
|
19
|
-
readonly: boolean;
|
|
20
|
-
readonlyMode: string;
|
|
21
|
-
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
22
|
-
export default _default;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { ILayoutConfig } from '@/@types';
|
|
2
|
-
import { JSONSchema7 } from 'json-schema';
|
|
3
|
-
import { PropType } from 'vue';
|
|
4
|
-
declare const _default: {
|
|
5
|
-
schema: {
|
|
6
|
-
type: PropType<JSONSchema7>;
|
|
7
|
-
default: () => JSONSchema7;
|
|
8
|
-
};
|
|
9
|
-
path: {
|
|
10
|
-
type: StringConstructor;
|
|
11
|
-
default: string;
|
|
12
|
-
};
|
|
13
|
-
required: {
|
|
14
|
-
type: BooleanConstructor;
|
|
15
|
-
default: boolean;
|
|
16
|
-
};
|
|
17
|
-
rootData: {
|
|
18
|
-
type: ObjectConstructor;
|
|
19
|
-
default: () => {};
|
|
20
|
-
};
|
|
21
|
-
value: {
|
|
22
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
23
|
-
};
|
|
24
|
-
layout: {
|
|
25
|
-
type: PropType<ILayoutConfig>;
|
|
26
|
-
default: () => Partial<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
|
-
};
|
|
65
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import Vue from 'vue';
|
|
2
|
-
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {}, {}, {}, {
|
|
3
|
-
schema: import("json-schema").JSONSchema7;
|
|
4
|
-
path: string;
|
|
5
|
-
required: boolean;
|
|
6
|
-
rootData: any;
|
|
7
|
-
value: any;
|
|
8
|
-
layout: Partial<import("../../../@types").ILayoutConfig>;
|
|
9
|
-
context: any;
|
|
10
|
-
removeable: boolean;
|
|
11
|
-
httpAdapter: any;
|
|
12
|
-
visible: boolean;
|
|
13
|
-
error: boolean;
|
|
14
|
-
disabled: boolean;
|
|
15
|
-
readonly: boolean;
|
|
16
|
-
readonlyMode: string;
|
|
17
|
-
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
18
|
-
export default _default;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import Vue from 'vue';
|
|
2
|
-
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {}, {}, {}, import("vue/types/options").DefaultProps, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
3
|
-
export default _default;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import Vue from 'vue';
|
|
2
|
-
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {}, {}, {}, import("vue/types/options").DefaultProps, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
3
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import Vue from 'vue';
|
|
2
|
-
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {}, {}, {}, {
|
|
3
|
-
schema: import("json-schema").JSONSchema7;
|
|
4
|
-
path: string;
|
|
5
|
-
required: boolean;
|
|
6
|
-
rootData: any;
|
|
7
|
-
value: any;
|
|
8
|
-
layout: Partial<import("../../../@types").ILayoutConfig>;
|
|
9
|
-
context: any;
|
|
10
|
-
removeable: boolean;
|
|
11
|
-
httpAdapter: any;
|
|
12
|
-
visible: boolean;
|
|
13
|
-
error: boolean;
|
|
14
|
-
disabled: boolean;
|
|
15
|
-
readonly: boolean;
|
|
16
|
-
readonlyMode: string;
|
|
17
|
-
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
18
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import Vue from 'vue';
|
|
2
|
-
import { IWidgetProps } from '@/@types';
|
|
3
|
-
interface Methods {
|
|
4
|
-
handleFillItem: Function;
|
|
5
|
-
handleAddItem: Function;
|
|
6
|
-
handleDeleteItem: (path: string) => void;
|
|
7
|
-
}
|
|
8
|
-
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {}, Methods, {}, IWidgetProps, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
9
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import Vue from 'vue';
|
|
2
|
-
interface Methods {
|
|
3
|
-
handleClick: Function;
|
|
4
|
-
}
|
|
5
|
-
interface Props {
|
|
6
|
-
word: string;
|
|
7
|
-
}
|
|
8
|
-
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {}, Methods, {}, Props, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
9
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IDataSource } from '@/@types';
|
|
2
|
-
import Vue from 'vue';
|
|
3
|
-
interface Methods {
|
|
4
|
-
handleChange: Function;
|
|
5
|
-
}
|
|
6
|
-
interface Props {
|
|
7
|
-
datasource: IDataSource[];
|
|
8
|
-
value: boolean | any[];
|
|
9
|
-
label: string;
|
|
10
|
-
}
|
|
11
|
-
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {}, Methods, {}, Props, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
12
|
-
export default _default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ILayoutConfig } from '@/@types';
|
|
2
|
-
import { JSONSchema7 } from 'json-schema';
|
|
3
|
-
import Vue from 'vue';
|
|
4
|
-
interface Data {
|
|
5
|
-
activeName: string[];
|
|
6
|
-
}
|
|
7
|
-
interface Props {
|
|
8
|
-
layout: Partial<ILayoutConfig>;
|
|
9
|
-
type: string;
|
|
10
|
-
showTitle: boolean;
|
|
11
|
-
border: boolean;
|
|
12
|
-
schema: JSONSchema7;
|
|
13
|
-
collapseStyle: string;
|
|
14
|
-
[k: string]: any;
|
|
15
|
-
}
|
|
16
|
-
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, Data, {}, {}, Props, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
17
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import Vue from 'vue';
|
|
2
|
-
interface Methods {
|
|
3
|
-
handleChange: Function;
|
|
4
|
-
}
|
|
5
|
-
interface Props {
|
|
6
|
-
value: string;
|
|
7
|
-
}
|
|
8
|
-
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {}, Methods, {}, Props, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
9
|
-
export default _default;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import Vue from 'vue';
|
|
2
|
-
interface Methods {
|
|
3
|
-
handleInput: Function;
|
|
4
|
-
handleBlur: Function;
|
|
5
|
-
}
|
|
6
|
-
interface Props {
|
|
7
|
-
value: string | number;
|
|
8
|
-
unit: string;
|
|
9
|
-
maxRows: number;
|
|
10
|
-
}
|
|
11
|
-
interface Computed {
|
|
12
|
-
rows: number;
|
|
13
|
-
}
|
|
14
|
-
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {}, Methods, Computed, Props, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
15
|
-
export default _default;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { JSONSchema7 } from 'json-schema';
|
|
2
|
-
import Vue from 'vue';
|
|
3
|
-
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, unknown, {
|
|
4
|
-
handleAddItem(): void;
|
|
5
|
-
handleRemoveItem(index: any): void;
|
|
6
|
-
handleInput({ path, value }: {
|
|
7
|
-
path: any;
|
|
8
|
-
value: any;
|
|
9
|
-
}): void;
|
|
10
|
-
}, unknown, {
|
|
11
|
-
schema: JSONSchema7;
|
|
12
|
-
path: string;
|
|
13
|
-
required: boolean;
|
|
14
|
-
rootData: any;
|
|
15
|
-
value: any;
|
|
16
|
-
layout: Partial<import("@/@types").ILayoutConfig>;
|
|
17
|
-
context: any;
|
|
18
|
-
removeable: boolean;
|
|
19
|
-
httpAdapter: any;
|
|
20
|
-
visible: boolean;
|
|
21
|
-
error: boolean;
|
|
22
|
-
disabled: boolean;
|
|
23
|
-
readonly: boolean;
|
|
24
|
-
readonlyMode: string;
|
|
25
|
-
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
26
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IDataSource } from '@/@types';
|
|
2
|
-
import Vue from 'vue';
|
|
3
|
-
interface Methods {
|
|
4
|
-
handleChange: Function;
|
|
5
|
-
}
|
|
6
|
-
interface Props {
|
|
7
|
-
datasource: IDataSource[];
|
|
8
|
-
value: string | number | boolean;
|
|
9
|
-
disabled: boolean;
|
|
10
|
-
}
|
|
11
|
-
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {}, Methods, {}, Props, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
12
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IDataSource } from '@/@types';
|
|
2
|
-
import Vue from 'vue';
|
|
3
|
-
interface Methods {
|
|
4
|
-
handleSelectChange: Function;
|
|
5
|
-
}
|
|
6
|
-
interface Props {
|
|
7
|
-
datasource: IDataSource[];
|
|
8
|
-
value: any;
|
|
9
|
-
loading: boolean;
|
|
10
|
-
}
|
|
11
|
-
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {}, Methods, {}, Props, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
12
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import Vue from 'vue';
|
|
2
|
-
interface Methods {
|
|
3
|
-
handleChange: Function;
|
|
4
|
-
}
|
|
5
|
-
interface Props {
|
|
6
|
-
value: boolean;
|
|
7
|
-
}
|
|
8
|
-
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {}, Methods, {}, Props, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
9
|
-
export default _default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import Vue from 'vue';
|
|
2
|
-
import { JSONSchema7 } from 'json-schema';
|
|
3
|
-
import { ILayoutConfig } from '@/@types';
|
|
4
|
-
interface Data {
|
|
5
|
-
activeName: string[];
|
|
6
|
-
}
|
|
7
|
-
interface Props {
|
|
8
|
-
layout: Partial<ILayoutConfig>;
|
|
9
|
-
type: string;
|
|
10
|
-
showTitle: boolean;
|
|
11
|
-
border: boolean;
|
|
12
|
-
schema: JSONSchema7;
|
|
13
|
-
verifiable: boolean;
|
|
14
|
-
[k: string]: any;
|
|
15
|
-
}
|
|
16
|
-
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, Data, {}, {}, Props, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
17
|
-
export default _default;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import Vue from 'vue';
|
|
2
|
-
import { JSONSchema7 } from 'json-schema';
|
|
3
|
-
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, unknown, {
|
|
4
|
-
handleCellValChange({ path, value }: {
|
|
5
|
-
path: any;
|
|
6
|
-
value: any;
|
|
7
|
-
}): void;
|
|
8
|
-
handleAddRow(index: any): void;
|
|
9
|
-
handleDelRow(index: any): void;
|
|
10
|
-
}, unknown, {
|
|
11
|
-
schema: JSONSchema7;
|
|
12
|
-
path: string;
|
|
13
|
-
required: boolean;
|
|
14
|
-
rootData: any;
|
|
15
|
-
value: any;
|
|
16
|
-
layout: Partial<import("../../../@types").ILayoutConfig>;
|
|
17
|
-
context: any;
|
|
18
|
-
removeable: boolean;
|
|
19
|
-
httpAdapter: any;
|
|
20
|
-
visible: boolean;
|
|
21
|
-
error: boolean;
|
|
22
|
-
disabled: boolean;
|
|
23
|
-
readonly: boolean;
|
|
24
|
-
readonlyMode: string;
|
|
25
|
-
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
26
|
-
export default _default;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import Vue from 'vue';
|
|
2
|
-
import { IFormState, IWidgetProps, IDataSource } from '@/@types';
|
|
3
|
-
import { WidgetNode } from '@/core/widgetTree';
|
|
4
|
-
import { JSONSchema7 } from 'json-schema';
|
|
5
|
-
export interface Data {
|
|
6
|
-
formItemProps: Record<string, any>;
|
|
7
|
-
state: Partial<IFormState>;
|
|
8
|
-
errorTips: string;
|
|
9
|
-
datasource: IDataSource[];
|
|
10
|
-
loading: boolean;
|
|
11
|
-
privateSchema: JSONSchema7;
|
|
12
|
-
key: string | number;
|
|
13
|
-
}
|
|
14
|
-
interface Methods {
|
|
15
|
-
setState: (key: any, value: any) => void;
|
|
16
|
-
loadDataSource: () => void;
|
|
17
|
-
setErrorTips: (tips: string) => void;
|
|
18
|
-
getValue: (path: string) => any;
|
|
19
|
-
getReadonlyValue: () => string;
|
|
20
|
-
setSchema: (data: JSONSchema7 | string) => JSONSchema7;
|
|
21
|
-
getSchema: () => JSONSchema7;
|
|
22
|
-
resetDatasource: () => void;
|
|
23
|
-
}
|
|
24
|
-
interface Computed {
|
|
25
|
-
widgetNode: WidgetNode;
|
|
26
|
-
parent: WidgetNode | null;
|
|
27
|
-
widgetSchema: JSONSchema7;
|
|
28
|
-
widgetMap: Record<string, WidgetNode>;
|
|
29
|
-
}
|
|
30
|
-
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, Data, Methods, Computed, IWidgetProps, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
31
|
-
export default _default;
|