@fangzhongya/fang-ui 0.0.44 → 0.0.46
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/bin/fang-ui.js +1 -1
- package/dist/components/alert/src/data.d.ts +1 -1
- package/dist/components/box/src/data.cjs +10 -6
- package/dist/components/box/src/data.d.ts +10 -1
- package/dist/components/box/src/data.js +10 -6
- package/dist/components/box/src/index2.cjs +2 -3
- package/dist/components/box/src/index2.js +2 -3
- package/dist/components/box-adjust/src/data.cjs +4 -2
- package/dist/components/box-adjust/src/data.d.ts +10 -3
- package/dist/components/box-adjust/src/data.js +4 -2
- package/dist/components/box-adjust/src/index2.cjs +2 -3
- package/dist/components/box-adjust/src/index2.js +2 -3
- package/dist/components/box-local/src/data.d.ts +6 -1
- package/dist/components/box-local/src/index2.cjs +5 -4
- package/dist/components/box-local/src/index2.js +5 -4
- package/dist/components/box-mask/src/data.cjs +2 -1
- package/dist/components/box-mask/src/data.d.ts +2 -5
- package/dist/components/box-mask/src/data.js +2 -1
- package/dist/components/box-teleport/src/data.cjs +5 -1
- package/dist/components/box-teleport/src/data.d.ts +5 -5
- package/dist/components/box-teleport/src/data.js +5 -1
- package/dist/components/box-teleport/src/index2.cjs +7 -2
- package/dist/components/box-teleport/src/index2.js +7 -2
- package/dist/components/box-title/src/data.cjs +2 -7
- package/dist/components/box-title/src/data.d.ts +4 -11
- package/dist/components/box-title/src/data.js +2 -7
- package/dist/components/button/src/data.d.ts +1 -1
- package/dist/components/card/src/data.d.ts +1 -1
- package/dist/components/cascader/src/data.d.ts +1 -1
- package/dist/components/cascader-panel/src/data.d.ts +1 -1
- package/dist/components/checkbox/src/data.d.ts +1 -1
- package/dist/components/checkbox-group/src/data.d.ts +1 -1
- package/dist/components/collapse/src/data.d.ts +1 -1
- package/dist/components/collapse-item/src/data.d.ts +1 -1
- package/dist/components/color-picker/src/data.d.ts +1 -1
- package/dist/components/common/urls.cjs +14 -8
- package/dist/components/common/urls.d.ts +14 -8
- package/dist/components/common/urls.js +14 -8
- package/dist/components/config-provider/src/data.d.ts +1 -1
- package/dist/components/date-picker/src/data.d.ts +1 -1
- package/dist/components/dialog/src/data.d.ts +1 -1
- package/dist/components/dialogs/src/data.cjs +9 -1
- package/dist/components/dialogs/src/data.d.ts +17 -1
- package/dist/components/dialogs/src/data.js +9 -1
- package/dist/components/divider/src/data.d.ts +1 -1
- package/dist/components/drawer/src/data.d.ts +1 -1
- package/dist/components/dropdown/src/data.d.ts +1 -1
- package/dist/components/dropdown-item/src/data.d.ts +1 -1
- package/dist/components/dropdown-menu/src/data.d.ts +1 -1
- package/dist/components/form/src/data.d.ts +1 -1
- package/dist/components/form-item/src/data.d.ts +1 -1
- package/dist/components/forms/src/data.cjs +63 -7
- package/dist/components/forms/src/data.d.ts +63 -15
- package/dist/components/forms/src/data.js +63 -7
- package/dist/components/forms/src/index2.cjs +3 -3
- package/dist/components/forms/src/index2.js +3 -3
- package/dist/components/forms-div/src/data.cjs +15 -2
- package/dist/components/forms-div/src/data.d.ts +15 -4
- package/dist/components/forms-div/src/data.js +15 -2
- package/dist/components/forms-item/src/data.cjs +22 -1
- package/dist/components/forms-item/src/data.d.ts +24 -5
- package/dist/components/forms-item/src/data.js +22 -1
- package/dist/components/forms-items/src/data.cjs +11 -2
- package/dist/components/forms-items/src/data.d.ts +12 -5
- package/dist/components/forms-items/src/data.js +11 -2
- package/dist/components/global-config/src/data.cjs +9 -1
- package/dist/components/global-config/src/data.d.ts +12 -1
- package/dist/components/global-config/src/data.js +9 -1
- package/dist/components/icon/src/data.cjs +16 -2
- package/dist/components/icon/src/data.d.ts +16 -2
- package/dist/components/icon/src/data.js +16 -2
- package/dist/components/icon/style/index2.scss +1 -0
- package/dist/components/icon/tests/cs3/assets/index.scss +70 -0
- package/dist/components/icon-picker/src/data.cjs +3 -3
- package/dist/components/icon-picker/src/data.d.ts +3 -3
- package/dist/components/icon-picker/src/data.js +3 -3
- package/dist/components/iframe/src/data.cjs +3 -3
- package/dist/components/iframe/src/data.d.ts +6 -3
- package/dist/components/iframe/src/data.js +3 -3
- package/dist/components/iframe/src/index2.cjs +4 -0
- package/dist/components/iframe/src/index2.js +4 -0
- package/dist/components/image/src/data.d.ts +1 -1
- package/dist/components/index.scss +1 -0
- package/dist/components/index2.scss +2 -1
- package/dist/components/input/src/data.d.ts +1 -1
- package/dist/components/input-number/src/data.d.ts +1 -1
- package/dist/components/lists/src/data.cjs +36 -4
- package/dist/components/lists/src/data.d.ts +36 -2
- package/dist/components/lists/src/data.js +36 -4
- package/dist/components/menus/src/index2.cjs +11 -1
- package/dist/components/menus/src/index2.js +11 -1
- package/dist/components/option-group/src/data.d.ts +1 -1
- package/dist/components/pagination/src/data.d.ts +1 -1
- package/dist/components/popconfirm/src/data.d.ts +1 -1
- package/dist/components/popover/src/data.d.ts +1 -1
- package/dist/components/popup/index.scss +1 -0
- package/dist/components/popup/src/data.cjs +14 -7
- package/dist/components/popup/src/data.d.ts +20 -8
- package/dist/components/popup/src/data.js +14 -7
- package/dist/components/popup/src/index2.cjs +3 -4
- package/dist/components/popup/src/index2.js +3 -4
- package/dist/components/radio/src/data.d.ts +1 -1
- package/dist/components/radio-group/src/data.d.ts +1 -1
- package/dist/components/retract/index.cjs +1 -0
- package/dist/components/retract/index.css +87 -0
- package/dist/components/retract/index.js +1 -0
- package/dist/components/retract/index.scss +76 -0
- package/dist/components/retract/src/data.cjs +3 -5
- package/dist/components/retract/src/data.d.ts +4 -8
- package/dist/components/retract/src/data.js +3 -5
- package/dist/components/retract/src/index2.cjs +1 -1
- package/dist/components/retract/src/index2.js +1 -1
- package/dist/components/right-key/src/data.cjs +10 -9
- package/dist/components/right-key/src/data.d.ts +15 -4
- package/dist/components/right-key/src/data.js +10 -9
- package/dist/components/seamless-scroll/index.css +1 -0
- package/dist/components/seamless-scroll/index.scss +1 -0
- package/dist/components/seamless-scroll/src/data.cjs +13 -12
- package/dist/components/seamless-scroll/src/data.d.ts +13 -15
- package/dist/components/seamless-scroll/src/data.js +13 -12
- package/dist/components/seamless-scroll/src/index2.cjs +6 -3
- package/dist/components/seamless-scroll/src/index2.js +6 -3
- package/dist/components/select/src/data.d.ts +1 -1
- package/dist/components/slider/src/data.d.ts +1 -1
- package/dist/components/stick-div/src/data.cjs +6 -3
- package/dist/components/stick-div/src/data.d.ts +6 -3
- package/dist/components/stick-div/src/data.js +6 -3
- package/dist/components/stick-edge/src/data.cjs +6 -3
- package/dist/components/stick-edge/src/data.d.ts +6 -3
- package/dist/components/stick-edge/src/data.js +6 -3
- package/dist/components/stick-window/src/data.cjs +6 -30
- package/dist/components/stick-window/src/data.d.ts +13 -19
- package/dist/components/stick-window/src/data.js +6 -30
- package/dist/components/switch/src/data.d.ts +1 -1
- package/dist/components/tab-pane/src/data.d.ts +1 -1
- package/dist/components/tabs/src/data.d.ts +1 -1
- package/dist/components/time-picker/src/data.d.ts +1 -1
- package/dist/components/time-select/src/data.d.ts +1 -1
- package/dist/components/tooltip/src/data.d.ts +1 -1
- package/dist/components/tree/src/data.d.ts +1 -1
- package/dist/components/tree-select/src/data.d.ts +1 -1
- package/dist/components/upload/src/data.d.ts +1 -1
- package/dist/components/window/index.css +3 -2
- package/dist/components/window/index.scss +7 -9
- package/dist/components/window/src/data.cjs +22 -9
- package/dist/components/window/src/data.d.ts +34 -10
- package/dist/components/window/src/data.js +22 -9
- package/dist/components/window/src/index2.cjs +39 -25
- package/dist/components/window/src/index2.js +39 -25
- package/dist/css/index.css +78 -2
- package/dist/css/retract.css +87 -0
- package/dist/css/seamless-scroll.css +1 -0
- package/dist/css/window.css +3 -2
- package/dist/directives/drag/index.cjs +2 -0
- package/dist/directives/drag/index.d.ts +0 -1
- package/dist/directives/drag/index.js +2 -0
- package/dist/expand/{chunk-NWMTWNXH.cjs → chunk-J3OWSCOI.cjs} +1 -0
- package/dist/expand/{chunk-5DCURPLA.js → chunk-WXZESOPO.js} +1 -0
- package/dist/expand/components.cjs +5 -5
- package/dist/expand/components.js +1 -1
- package/dist/expand/config.cjs +2 -2
- package/dist/expand/config.js +1 -1
- package/dist/icons/index.css +21 -21
- package/dist/icons/index.json +6 -6
- package/dist/index.css +78 -2
- package/package.json +10 -10
- /package/dist/components/{tooltip → image}/index.css +0 -0
- /package/dist/css/{tooltip.css → image.css} +0 -0
|
@@ -2,19 +2,23 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const axios = require("axios");
|
|
4
4
|
const props = {
|
|
5
|
+
/**
|
|
6
|
+
* @props { ObjAny } value
|
|
7
|
+
* 接口不存在的值
|
|
8
|
+
*/
|
|
5
9
|
value: {
|
|
6
10
|
type: Object
|
|
7
11
|
},
|
|
8
12
|
/**
|
|
9
|
-
* 请求接口地址或者方法
|
|
10
13
|
* @props { String, Function } ajax
|
|
14
|
+
* 请求接口地址或者方法
|
|
11
15
|
*/
|
|
12
16
|
ajax: {
|
|
13
17
|
type: [String, Function]
|
|
14
18
|
},
|
|
15
19
|
/**
|
|
16
|
-
* 接口参数
|
|
17
20
|
* @props { Object } param
|
|
21
|
+
* 接口参数
|
|
18
22
|
*/
|
|
19
23
|
param: {
|
|
20
24
|
type: Object,
|
|
@@ -23,15 +27,16 @@ const props = {
|
|
|
23
27
|
}
|
|
24
28
|
},
|
|
25
29
|
/**
|
|
26
|
-
*
|
|
27
|
-
*
|
|
30
|
+
* @props {Object} ajaxConfig
|
|
31
|
+
* 请求接口配置 ajax为字符串时有用
|
|
28
32
|
*/
|
|
29
33
|
ajaxConfig: {
|
|
30
34
|
type: Object
|
|
31
35
|
},
|
|
32
36
|
/**
|
|
33
|
-
*
|
|
34
|
-
*
|
|
37
|
+
* @props { Function } inDataFilter (res:[any]接口返回对象, obj:<Object>接口请求对象)
|
|
38
|
+
* 过滤接口返回数据 必须返回对象
|
|
39
|
+
* @return [Object] 接口返回数据
|
|
35
40
|
*/
|
|
36
41
|
onRequestAfter: {
|
|
37
42
|
type: Function
|
|
@@ -40,8 +45,9 @@ const props = {
|
|
|
40
45
|
// },
|
|
41
46
|
},
|
|
42
47
|
/**
|
|
43
|
-
*
|
|
44
|
-
*
|
|
48
|
+
* @props { Function } inParamFilter (obj:[Object]接口请求对象)
|
|
49
|
+
* 过滤接口请求数据 必须返回对象
|
|
50
|
+
* @return [Object] 接口请求数据
|
|
45
51
|
*/
|
|
46
52
|
onRequestBefore: {
|
|
47
53
|
type: Function
|
|
@@ -3,41 +3,47 @@ import { ExtractPropTypes } from 'vue';
|
|
|
3
3
|
* 调用接口参数
|
|
4
4
|
*/
|
|
5
5
|
export declare const props: {
|
|
6
|
+
/**
|
|
7
|
+
* @props { ObjAny } value
|
|
8
|
+
* 接口不存在的值
|
|
9
|
+
*/
|
|
6
10
|
value: {
|
|
7
11
|
type: () => ObjAny;
|
|
8
12
|
};
|
|
9
13
|
/**
|
|
10
|
-
* 请求接口地址或者方法
|
|
11
14
|
* @props { String, Function } ajax
|
|
15
|
+
* 请求接口地址或者方法
|
|
12
16
|
*/
|
|
13
17
|
ajax: {
|
|
14
18
|
type: (StringConstructor | FunctionConstructor)[];
|
|
15
19
|
};
|
|
16
20
|
/**
|
|
17
|
-
* 接口参数
|
|
18
21
|
* @props { Object } param
|
|
22
|
+
* 接口参数
|
|
19
23
|
*/
|
|
20
24
|
param: {
|
|
21
25
|
type: ObjectConstructor;
|
|
22
26
|
default(): {};
|
|
23
27
|
};
|
|
24
28
|
/**
|
|
25
|
-
*
|
|
26
|
-
*
|
|
29
|
+
* @props {Object} ajaxConfig
|
|
30
|
+
* 请求接口配置 ajax为字符串时有用
|
|
27
31
|
*/
|
|
28
32
|
ajaxConfig: {
|
|
29
33
|
type: ObjectConstructor;
|
|
30
34
|
};
|
|
31
35
|
/**
|
|
32
|
-
*
|
|
33
|
-
*
|
|
36
|
+
* @props { Function } inDataFilter (res:[any]接口返回对象, obj:<Object>接口请求对象)
|
|
37
|
+
* 过滤接口返回数据 必须返回对象
|
|
38
|
+
* @return [Object] 接口返回数据
|
|
34
39
|
*/
|
|
35
40
|
onRequestAfter: {
|
|
36
41
|
type: FunctionConstructor;
|
|
37
42
|
};
|
|
38
43
|
/**
|
|
39
|
-
*
|
|
40
|
-
*
|
|
44
|
+
* @props { Function } inParamFilter (obj:[Object]接口请求对象)
|
|
45
|
+
* 过滤接口请求数据 必须返回对象
|
|
46
|
+
* @return [Object] 接口请求数据
|
|
41
47
|
*/
|
|
42
48
|
onRequestBefore: {
|
|
43
49
|
type: FunctionConstructor;
|
|
@@ -1,18 +1,22 @@
|
|
|
1
1
|
import axios from "axios";
|
|
2
2
|
const props = {
|
|
3
|
+
/**
|
|
4
|
+
* @props { ObjAny } value
|
|
5
|
+
* 接口不存在的值
|
|
6
|
+
*/
|
|
3
7
|
value: {
|
|
4
8
|
type: Object
|
|
5
9
|
},
|
|
6
10
|
/**
|
|
7
|
-
* 请求接口地址或者方法
|
|
8
11
|
* @props { String, Function } ajax
|
|
12
|
+
* 请求接口地址或者方法
|
|
9
13
|
*/
|
|
10
14
|
ajax: {
|
|
11
15
|
type: [String, Function]
|
|
12
16
|
},
|
|
13
17
|
/**
|
|
14
|
-
* 接口参数
|
|
15
18
|
* @props { Object } param
|
|
19
|
+
* 接口参数
|
|
16
20
|
*/
|
|
17
21
|
param: {
|
|
18
22
|
type: Object,
|
|
@@ -21,15 +25,16 @@ const props = {
|
|
|
21
25
|
}
|
|
22
26
|
},
|
|
23
27
|
/**
|
|
24
|
-
*
|
|
25
|
-
*
|
|
28
|
+
* @props {Object} ajaxConfig
|
|
29
|
+
* 请求接口配置 ajax为字符串时有用
|
|
26
30
|
*/
|
|
27
31
|
ajaxConfig: {
|
|
28
32
|
type: Object
|
|
29
33
|
},
|
|
30
34
|
/**
|
|
31
|
-
*
|
|
32
|
-
*
|
|
35
|
+
* @props { Function } inDataFilter (res:[any]接口返回对象, obj:<Object>接口请求对象)
|
|
36
|
+
* 过滤接口返回数据 必须返回对象
|
|
37
|
+
* @return [Object] 接口返回数据
|
|
33
38
|
*/
|
|
34
39
|
onRequestAfter: {
|
|
35
40
|
type: Function
|
|
@@ -38,8 +43,9 @@ const props = {
|
|
|
38
43
|
// },
|
|
39
44
|
},
|
|
40
45
|
/**
|
|
41
|
-
*
|
|
42
|
-
*
|
|
46
|
+
* @props { Function } inParamFilter (obj:[Object]接口请求对象)
|
|
47
|
+
* 过滤接口请求数据 必须返回对象
|
|
48
|
+
* @return [Object] 接口请求数据
|
|
43
49
|
*/
|
|
44
50
|
onRequestBefore: {
|
|
45
51
|
type: Function
|
|
@@ -2,16 +2,24 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const dataProps = {
|
|
4
4
|
/**
|
|
5
|
-
* @props {
|
|
5
|
+
* @props { Boolean } modelValue= ( )
|
|
6
6
|
* 输入框展示数据
|
|
7
7
|
*/
|
|
8
8
|
modelValue: {
|
|
9
9
|
type: Boolean
|
|
10
10
|
},
|
|
11
|
+
/**
|
|
12
|
+
* @props { String, Number } width=800 ( )
|
|
13
|
+
* 框的宽度
|
|
14
|
+
*/
|
|
11
15
|
width: {
|
|
12
16
|
type: [String, Number],
|
|
13
17
|
default: 800
|
|
14
18
|
},
|
|
19
|
+
/**
|
|
20
|
+
* @props { Boolean } noFooter ( )
|
|
21
|
+
* 是否隐藏底部
|
|
22
|
+
*/
|
|
15
23
|
noFooter: Boolean
|
|
16
24
|
};
|
|
17
25
|
const dataEmits = ["update:modelValue", "close", "confirm"];
|
|
@@ -1,18 +1,34 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
2
|
export declare const dataProps: {
|
|
3
3
|
/**
|
|
4
|
-
* @props {
|
|
4
|
+
* @props { Boolean } modelValue= ( )
|
|
5
5
|
* 输入框展示数据
|
|
6
6
|
*/
|
|
7
7
|
modelValue: {
|
|
8
8
|
type: BooleanConstructor;
|
|
9
9
|
};
|
|
10
|
+
/**
|
|
11
|
+
* @props { String, Number } width=800 ( )
|
|
12
|
+
* 框的宽度
|
|
13
|
+
*/
|
|
10
14
|
width: {
|
|
11
15
|
type: (StringConstructor | NumberConstructor)[];
|
|
12
16
|
default: number;
|
|
13
17
|
};
|
|
18
|
+
/**
|
|
19
|
+
* @props { Boolean } noFooter ( )
|
|
20
|
+
* 是否隐藏底部
|
|
21
|
+
*/
|
|
14
22
|
noFooter: BooleanConstructor;
|
|
15
23
|
};
|
|
16
24
|
export type DataProps = ExtractPropTypes<typeof dataProps>;
|
|
25
|
+
/**
|
|
26
|
+
* @emits close ()
|
|
27
|
+
* 取消关闭弹框
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* @emits confirm ()
|
|
31
|
+
* 确认弹框
|
|
32
|
+
*/
|
|
17
33
|
export declare const dataEmits: string[];
|
|
18
34
|
export type DataEmits = typeof dataEmits;
|
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
const dataProps = {
|
|
2
2
|
/**
|
|
3
|
-
* @props {
|
|
3
|
+
* @props { Boolean } modelValue= ( )
|
|
4
4
|
* 输入框展示数据
|
|
5
5
|
*/
|
|
6
6
|
modelValue: {
|
|
7
7
|
type: Boolean
|
|
8
8
|
},
|
|
9
|
+
/**
|
|
10
|
+
* @props { String, Number } width=800 ( )
|
|
11
|
+
* 框的宽度
|
|
12
|
+
*/
|
|
9
13
|
width: {
|
|
10
14
|
type: [String, Number],
|
|
11
15
|
default: 800
|
|
12
16
|
},
|
|
17
|
+
/**
|
|
18
|
+
* @props { Boolean } noFooter ( )
|
|
19
|
+
* 是否隐藏底部
|
|
20
|
+
*/
|
|
13
21
|
noFooter: Boolean
|
|
14
22
|
};
|
|
15
23
|
const dataEmits = ["update:modelValue", "close", "confirm"];
|
|
@@ -13,6 +13,10 @@ const dataProps = {
|
|
|
13
13
|
return [];
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
|
+
/**
|
|
17
|
+
* @props { Number } column=1
|
|
18
|
+
* 一行展示多少列
|
|
19
|
+
*/
|
|
16
20
|
column: {
|
|
17
21
|
type: Number,
|
|
18
22
|
default() {
|
|
@@ -45,45 +49,85 @@ const dataProps = {
|
|
|
45
49
|
}
|
|
46
50
|
},
|
|
47
51
|
/**
|
|
48
|
-
* @props { String }
|
|
52
|
+
* @props { String, Number } labelWidth=auto ( )
|
|
49
53
|
* 标签的长度
|
|
50
54
|
*/
|
|
51
55
|
labelWidth: {
|
|
52
56
|
type: [String, Number],
|
|
53
57
|
default: "auto"
|
|
54
58
|
},
|
|
59
|
+
/**
|
|
60
|
+
* @props { String } labelPosition='left' ('left' | 'top' | 'right' | 'center' | 'auto' )
|
|
61
|
+
* 标签的展示位置
|
|
62
|
+
*/
|
|
55
63
|
labelPosition: {
|
|
56
64
|
type: String,
|
|
57
65
|
default: "left"
|
|
58
66
|
},
|
|
67
|
+
/**
|
|
68
|
+
* @props { String } rowWidth
|
|
69
|
+
* 列的宽度
|
|
70
|
+
*/
|
|
59
71
|
rowWidth: {
|
|
60
72
|
type: String
|
|
61
73
|
},
|
|
74
|
+
/**
|
|
75
|
+
* @props { String } rowMinWidth
|
|
76
|
+
* 列的最小宽度
|
|
77
|
+
*/
|
|
62
78
|
rowMinWidth: {
|
|
63
79
|
type: String
|
|
64
80
|
},
|
|
81
|
+
/**
|
|
82
|
+
* @props { String } rowHeight
|
|
83
|
+
* 列的高度
|
|
84
|
+
*/
|
|
65
85
|
rowHeight: {
|
|
66
86
|
type: String
|
|
67
87
|
// default: '42px',
|
|
68
88
|
},
|
|
89
|
+
/**
|
|
90
|
+
* @props { Boolean } inline
|
|
91
|
+
* 是否内连接
|
|
92
|
+
*/
|
|
69
93
|
inline: {
|
|
70
94
|
type: Boolean
|
|
71
95
|
// default: true,
|
|
72
96
|
},
|
|
97
|
+
/**
|
|
98
|
+
* @props { Boolean } inlineBox
|
|
99
|
+
* 是否紧凑型
|
|
100
|
+
*/
|
|
73
101
|
inlineBox: {
|
|
74
102
|
type: Boolean
|
|
75
103
|
},
|
|
104
|
+
/**
|
|
105
|
+
* @props { Boolean } query
|
|
106
|
+
* 是否查询模式
|
|
107
|
+
*/
|
|
76
108
|
query: {
|
|
77
109
|
type: Boolean
|
|
78
110
|
},
|
|
111
|
+
/**
|
|
112
|
+
* @props { String } queryInterval='6px'
|
|
113
|
+
* 查询模式的上下间距
|
|
114
|
+
*/
|
|
79
115
|
queryInterval: {
|
|
80
116
|
type: String,
|
|
81
117
|
default: "6px"
|
|
82
118
|
},
|
|
119
|
+
/**
|
|
120
|
+
* @props { String } inlineRight='32px'
|
|
121
|
+
* 内连接右间距
|
|
122
|
+
*/
|
|
83
123
|
inlineRight: {
|
|
84
124
|
type: String,
|
|
85
125
|
default: "32px"
|
|
86
126
|
},
|
|
127
|
+
/**
|
|
128
|
+
* @props { String } itemBottom='18px'
|
|
129
|
+
* 列下间距
|
|
130
|
+
*/
|
|
87
131
|
itemBottom: {
|
|
88
132
|
type: String,
|
|
89
133
|
default: "18px"
|
|
@@ -96,48 +140,60 @@ const dataProps = {
|
|
|
96
140
|
type: Object
|
|
97
141
|
},
|
|
98
142
|
/**
|
|
99
|
-
* @props {
|
|
143
|
+
* @props { Array<ObjAny> } buts=[]
|
|
100
144
|
* 表单按钮
|
|
101
145
|
* pid: {1, 调用确认提交的方法; 2, 调用取消的方法}
|
|
102
146
|
*/
|
|
103
147
|
buts: {
|
|
104
148
|
type: Array
|
|
105
149
|
},
|
|
150
|
+
/**
|
|
151
|
+
* @props { String } butLeft
|
|
152
|
+
* 表单按钮左间距
|
|
153
|
+
*/
|
|
106
154
|
butLeft: {
|
|
107
155
|
type: String
|
|
108
156
|
},
|
|
157
|
+
/**
|
|
158
|
+
* @props { String } butHeight
|
|
159
|
+
* 表单按钮高度
|
|
160
|
+
*/
|
|
109
161
|
butHeight: {
|
|
110
162
|
type: String
|
|
111
163
|
},
|
|
164
|
+
/**
|
|
165
|
+
* @props { Boolean, String } colon
|
|
166
|
+
* 标签后面是否加内容 true 是 :
|
|
167
|
+
*/
|
|
112
168
|
colon: [Boolean, String]
|
|
113
169
|
};
|
|
114
170
|
const dataEmits = {
|
|
115
171
|
/**
|
|
116
|
-
* @emits update:modelValue (值)
|
|
172
|
+
* @emits update:modelValue (value:[ObjAny]值)
|
|
117
173
|
* v-model 数据更新
|
|
118
174
|
*/
|
|
119
175
|
"update:modelValue": (value) => {
|
|
120
176
|
},
|
|
121
177
|
/**
|
|
122
|
-
* @emits submit (form
|
|
178
|
+
* @emits submit (obj:[ObjAny]form值)
|
|
123
179
|
* 提交事件
|
|
124
180
|
*/
|
|
125
181
|
submit: (obj) => {
|
|
126
182
|
},
|
|
127
183
|
/**
|
|
128
|
-
* @emits cancel (form
|
|
184
|
+
* @emits cancel (obj:[ObjAny]form值)
|
|
129
185
|
* 关闭事件
|
|
130
186
|
*/
|
|
131
187
|
cancel: (obj) => {
|
|
132
188
|
},
|
|
133
189
|
/**
|
|
134
|
-
* @emits cancel (
|
|
190
|
+
* @emits cancel (obj:[ObjAny]当前对象,dataForm: form值, index:第几个, event:Event对象)
|
|
135
191
|
* buts按钮事件
|
|
136
192
|
*/
|
|
137
193
|
buts: (obj, dataForm, index, event) => {
|
|
138
194
|
},
|
|
139
195
|
/**
|
|
140
|
-
* @emits upform (form值)
|
|
196
|
+
* @emits upform (dataForm:[ObjAny]form值)
|
|
141
197
|
* 表单数据变动
|
|
142
198
|
*/
|
|
143
199
|
upform: (dataForm) => {
|