@blueking/bkui-form 0.0.41-beta.1 → 1.0.0-beta.1
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/index.umd.js +17997 -0
- package/dist/svg/iconcool.65dab562.svg +47 -0
- package/package.json +13 -44
- package/readme.md +43 -18
- 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 -16
- 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 -11874
- 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 -11888
- package/dist/bkui-form-umd.js.map +0 -1
- package/dist/bkui-form.css +0 -177
- package/dist/controller/form-vue2.d.ts +0 -26
- package/dist/controller/props.d.ts +0 -51
- 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 -94
- package/dist/util/fetch.d.ts +0 -9
- package/dist/util/index.d.ts +0 -17
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?>
|
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
|
3
|
+
<svg>
|
|
4
|
+
<metadata>
|
|
5
|
+
Created by font-carrier
|
|
6
|
+
</metadata>
|
|
7
|
+
<defs>
|
|
8
|
+
<font id="iconfont" horiz-adv-x="1024" vert-adv-y="1024" >
|
|
9
|
+
<font-face
|
|
10
|
+
|
|
11
|
+
font-family="iconfont"
|
|
12
|
+
|
|
13
|
+
font-weight="400"
|
|
14
|
+
|
|
15
|
+
font-stretch="normal"
|
|
16
|
+
|
|
17
|
+
units-per-em="1024"
|
|
18
|
+
|
|
19
|
+
ascent="812"
|
|
20
|
+
|
|
21
|
+
descent="-212"
|
|
22
|
+
|
|
23
|
+
/>
|
|
24
|
+
<missing-glyph />
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
<glyph glyph-name="x" unicode="x" horiz-adv-x="100"
|
|
28
|
+
d="M20 20 L50 20 L50 -20 Z" />
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
<glyph glyph-name="uniE101" unicode="" d="M288 364L336 412 512 236 688 412 736 364 512 140Z" horiz-adv-x="1024" vert-adv-y="1024" />
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
<glyph glyph-name="uniE103" unicode="" d="M928 588H672V652C672 687.2 643.2 716 608 716H416C380.8 716 352 687.2 352 652V588H96V524H208V-52C208-87.2 236.8-116 272-116H752C787.2-116 816-87.2 816-52V524H928V588ZM432 652H592C601.6 652 608 645.6 608 636V588H416V636C416 645.6 422.4 652 432 652ZM736-52H288C278.4-52 272-45.6 272-36V524H752V-36C752-45.6 745.6-52 736-52ZM576 412H640V60H576ZM384 412H448V60H384Z" horiz-adv-x="1024" vert-adv-y="1024" />
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
<glyph glyph-name="uniE102" unicode="" d="M128 364H896V236H128V364Z" horiz-adv-x="1024" vert-adv-y="1024" />
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
<glyph glyph-name="uniE104" unicode="" d="M896 364L576 364 576 684 448 684 448 364 128 364 128 236 448 236 448-84 576-84 576 236 896 236Z" horiz-adv-x="1024" vert-adv-y="1024" />
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
</font>
|
|
46
|
+
</defs>
|
|
47
|
+
</svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.0
|
|
3
|
-
"main": "dist/
|
|
2
|
+
"version": "1.0.0-beta.1",
|
|
3
|
+
"main": "dist/index.umd.js",
|
|
4
4
|
"name": "@blueking/bkui-form",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "gulp build",
|
|
@@ -18,61 +18,30 @@
|
|
|
18
18
|
"license": "ISC",
|
|
19
19
|
"description": "",
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@babel/
|
|
22
|
-
"@babel
|
|
23
|
-
"@
|
|
24
|
-
"@babel/preset-env": "7.15.6",
|
|
25
|
-
"@babel/preset-typescript": "7.15.0",
|
|
26
|
-
"@babel/runtime": "7.15.4",
|
|
21
|
+
"@babel/preset-typescript": "^7.23.3",
|
|
22
|
+
"@blueking/babel-preset-bk": "^2.1.0-beta.10",
|
|
23
|
+
"@blueking/cli-service-webpack": "0.0.0-beta.109",
|
|
27
24
|
"@blueking/eslint-config-bk": "2.1.0-beta.6",
|
|
28
|
-
"@rollup/plugin-alias": "^3.1.5",
|
|
29
|
-
"@rollup/plugin-babel": "^5.3.0",
|
|
30
|
-
"@rollup/plugin-commonjs": "^20.0.0",
|
|
31
|
-
"@rollup/plugin-json": "^4.1.0",
|
|
32
|
-
"@rollup/plugin-node-resolve": "^13.0.4",
|
|
33
|
-
"@rollup/plugin-replace": "^3.0.0",
|
|
34
|
-
"@rollup/plugin-typescript": "^8.2.5",
|
|
35
|
-
"@rollup/plugin-url": "^6.1.0",
|
|
36
25
|
"@types/jest": "^27.0.3",
|
|
37
26
|
"@types/json-schema": "^7.0.9",
|
|
38
|
-
"@types/node": "^
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"fs-extra": "^10.0.0",
|
|
42
|
-
"generate-source-map": "0.0.5",
|
|
27
|
+
"@types/node": "^20.10.1",
|
|
28
|
+
"bkui-vue": "^0.0.2-beta.97",
|
|
29
|
+
"fs-extra": "^11.2.0",
|
|
43
30
|
"gulp": "^4.0.2",
|
|
44
31
|
"jest": "^27.4.4",
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"rollup": "^2.56.3",
|
|
48
|
-
"rollup-merge-config": "0.0.3",
|
|
49
|
-
"rollup-plugin-copy": "^3.4.0",
|
|
50
|
-
"rollup-plugin-css-only": "^3.1.0",
|
|
51
|
-
"rollup-plugin-dts": "^4.2.1",
|
|
52
|
-
"rollup-plugin-external-globals": "^0.6.1",
|
|
53
|
-
"rollup-plugin-import-css": "^3.0.3",
|
|
54
|
-
"rollup-plugin-livereload": "^2.0.5",
|
|
55
|
-
"rollup-plugin-postcss": "^4.0.2",
|
|
56
|
-
"rollup-plugin-serve": "^1.1.0",
|
|
57
|
-
"rollup-plugin-terser": "^7.0.2",
|
|
58
|
-
"rollup-plugin-vue": "^5.1.9",
|
|
32
|
+
"koa": "^2.7.0",
|
|
33
|
+
"koa-static": "^5.0.0",
|
|
59
34
|
"ts-jest": "^27.1.1",
|
|
60
|
-
"ts-node": "^10.4.0",
|
|
61
|
-
"tslib": "^2.3.1",
|
|
62
35
|
"typescript": "^4.4.3",
|
|
63
|
-
"vue": "
|
|
64
|
-
"vue-template-compiler": "2.6.12"
|
|
36
|
+
"vue": "^3.3.9"
|
|
65
37
|
},
|
|
66
38
|
"dependencies": {
|
|
67
39
|
"ajv": "^8.11.0",
|
|
68
40
|
"ajv-formats": "^2.1.1",
|
|
69
|
-
"ajv-i18n": "^4.2.0"
|
|
70
|
-
"bk-magic-vue": "2.4.8",
|
|
71
|
-
"koa": "^2.7.0",
|
|
72
|
-
"koa-static": "^5.0.0"
|
|
41
|
+
"ajv-i18n": "^4.2.0"
|
|
73
42
|
},
|
|
74
43
|
"engines": {
|
|
75
44
|
"node": ">= 12.16.3",
|
|
76
|
-
"npm": ">= 6.4.1
|
|
45
|
+
"npm": ">= 6.4.1"
|
|
77
46
|
}
|
|
78
47
|
}
|
package/readme.md
CHANGED
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
|
|
7
7
|
### 安装
|
|
8
8
|
|
|
9
|
-
依赖蓝鲸bk-magic-vue 2.0组件库,需要项目自己安装
|
|
9
|
+
- 0.0.x 版本 依赖蓝鲸bk-magic-vue 2.0组件库,需要项目自己安装
|
|
10
|
+
- 1.x.x 版本 依赖蓝鲸bkui-vue 3.0组件库
|
|
10
11
|
|
|
11
12
|
```shell
|
|
12
13
|
npm i @blueking/bkui-form
|
|
@@ -27,7 +28,7 @@ npm i @blueking/bkui-form
|
|
|
27
28
|
</template>
|
|
28
29
|
<script>
|
|
29
30
|
import createForm from '@blueking/bkui-form';
|
|
30
|
-
import '@blueking/bkui-form/dist/bkui-form.css'
|
|
31
|
+
import '@blueking/bkui-form/dist/bkui-form.css';// vue3版本可以去掉这个,会自动引入
|
|
31
32
|
|
|
32
33
|
const BkSchemaForm = createForm();
|
|
33
34
|
|
|
@@ -53,9 +54,7 @@ export default {
|
|
|
53
54
|
"type": "string",
|
|
54
55
|
"format": "email",
|
|
55
56
|
"ui:component": {
|
|
56
|
-
"
|
|
57
|
-
"type": "email"
|
|
58
|
-
}
|
|
57
|
+
"type": "email"
|
|
59
58
|
}
|
|
60
59
|
},
|
|
61
60
|
"uri": {
|
|
@@ -63,9 +62,7 @@ export default {
|
|
|
63
62
|
"type": "string",
|
|
64
63
|
"format": "uri",
|
|
65
64
|
"ui:component": {
|
|
66
|
-
"
|
|
67
|
-
"type": "url"
|
|
68
|
-
}
|
|
65
|
+
"type": "url"
|
|
69
66
|
}
|
|
70
67
|
}
|
|
71
68
|
}
|
|
@@ -102,10 +99,8 @@ export default {
|
|
|
102
99
|
"type": "string",
|
|
103
100
|
"title": "textarea",
|
|
104
101
|
"ui:component": {
|
|
105
|
-
"
|
|
106
|
-
|
|
107
|
-
"rows": 4
|
|
108
|
-
}
|
|
102
|
+
"type": "textarea",
|
|
103
|
+
"rows": 4
|
|
109
104
|
}
|
|
110
105
|
},
|
|
111
106
|
"integer": {
|
|
@@ -129,9 +124,7 @@ export default {
|
|
|
129
124
|
"title": "A disabled field",
|
|
130
125
|
"default": "I am disabled.",
|
|
131
126
|
"ui:component": {
|
|
132
|
-
"
|
|
133
|
-
"disabled": true
|
|
134
|
-
}
|
|
127
|
+
"disabled": true
|
|
135
128
|
}
|
|
136
129
|
},
|
|
137
130
|
"readonly": {
|
|
@@ -139,9 +132,7 @@ export default {
|
|
|
139
132
|
"title": "A readonly field",
|
|
140
133
|
"default": "I am read-only.",
|
|
141
134
|
"ui:component": {
|
|
142
|
-
"
|
|
143
|
-
"readonly": true
|
|
144
|
-
}
|
|
135
|
+
"readonly": true
|
|
145
136
|
}
|
|
146
137
|
},
|
|
147
138
|
"widgetOptions": {
|
|
@@ -187,4 +178,38 @@ export default {
|
|
|
187
178
|
},
|
|
188
179
|
};
|
|
189
180
|
</script>
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
### 迁移
|
|
184
|
+
|
|
185
|
+
0.0.x 版本的schema中的`ui:components`下的`props`属性需要放到上一层级
|
|
186
|
+
|
|
187
|
+
0.0.x版本schema 写法
|
|
188
|
+
```
|
|
189
|
+
{
|
|
190
|
+
"uri": {
|
|
191
|
+
"title": "Uri",
|
|
192
|
+
"type": "string",
|
|
193
|
+
"format": "uri",
|
|
194
|
+
"ui:component": {
|
|
195
|
+
"props": {
|
|
196
|
+
"type": "url"
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
1.0.x 以上版本schema 写法
|
|
204
|
+
```
|
|
205
|
+
{
|
|
206
|
+
"uri": {
|
|
207
|
+
"title": "Uri",
|
|
208
|
+
"type": "string",
|
|
209
|
+
"format": "uri",
|
|
210
|
+
"ui:component": {
|
|
211
|
+
"type": "url"
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
190
215
|
```
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import Vue from 'vue';
|
|
2
|
-
import { IFormState } from '@/@types';
|
|
3
|
-
declare const _default: import("vue/types/vue").ExtendedVue<Vue, {
|
|
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: any;
|
|
33
|
-
}>;
|
|
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, {}, {}, {}, {
|
|
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: any;
|
|
18
|
-
}>;
|
|
19
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import Vue from 'vue';
|
|
2
|
-
declare const _default: import("vue/types/vue").ExtendedVue<Vue, {}, {}, {}, {
|
|
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: any;
|
|
17
|
-
}>;
|
|
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, {
|
|
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: any;
|
|
21
|
-
}>;
|
|
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, {}, {}, {}, {
|
|
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: any;
|
|
17
|
-
}>;
|
|
18
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import Vue from 'vue';
|
|
2
|
-
declare const _default: import("vue/types/vue").ExtendedVue<Vue, {}, {}, {}, {
|
|
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: any;
|
|
17
|
-
}>;
|
|
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, {}, Methods, {}, IWidgetProps>;
|
|
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, {}, Methods, {}, Props>;
|
|
12
|
-
export default _default;
|
|
@@ -1,16 +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
|
-
[k: string]: any;
|
|
14
|
-
}
|
|
15
|
-
declare const _default: import("vue/types/vue").ExtendedVue<Vue, Data, {}, {}, Props>;
|
|
16
|
-
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, {}, Methods, Computed, Props>;
|
|
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, 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: any;
|
|
25
|
-
}>;
|
|
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, {}, Methods, {}, Props>;
|
|
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, {}, Methods, {}, Props>;
|
|
12
|
-
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, Data, {}, {}, Props>;
|
|
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, 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: any;
|
|
25
|
-
}>;
|
|
26
|
-
export default _default;
|