vxe-table 3.7.2 → 3.7.3
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/lib/all.js +3 -3
- package/lib/button/index.js +5 -5
- package/lib/button/src/button.js +29 -29
- package/lib/button/style/style.css +2 -2
- package/lib/button/style/style.min.css +1 -1
- package/lib/checkbox/index.js +5 -5
- package/lib/checkbox/src/checkbox.js +17 -17
- package/lib/checkbox/src/group.js +10 -10
- package/lib/checkbox/style/style.css +1 -0
- package/lib/checkbox/style/style.min.css +1 -1
- package/lib/checkbox-group/index.js +5 -5
- package/lib/colgroup/index.js +6 -6
- package/lib/column/index.js +6 -6
- package/lib/edit/index.js +5 -5
- package/lib/edit/src/mixin.js +28 -28
- package/lib/export/index.js +15 -15
- package/lib/export/src/export-panel.js +57 -57
- package/lib/export/src/import-panel.js +21 -21
- package/lib/export/src/mixin.js +72 -72
- package/lib/export/style/style.css +5 -0
- package/lib/export/style/style.min.css +1 -1
- package/lib/filter/index.js +7 -7
- package/lib/filter/src/mixin.js +8 -8
- package/lib/filter/src/panel.js +24 -24
- package/lib/filter/style/style.css +3 -0
- package/lib/filter/style/style.min.css +1 -1
- package/lib/footer/index.js +5 -5
- package/lib/footer/src/footer.js +14 -14
- package/lib/form/index.js +5 -5
- package/lib/form/src/form-config-item.js +27 -27
- package/lib/form/src/form-gather.js +5 -5
- package/lib/form/src/form-item.js +36 -36
- package/lib/form/src/form.js +69 -69
- package/lib/form/src/render.js +9 -9
- package/lib/form/src/util.js +6 -6
- package/lib/form/style/style.css +10 -2
- package/lib/form/style/style.min.css +1 -1
- package/lib/form-gather/index.js +5 -5
- package/lib/form-item/index.js +5 -5
- package/lib/grid/index.js +7 -7
- package/lib/grid/src/grid.js +77 -77
- package/lib/grid/style/style.css +1 -0
- package/lib/grid/style/style.min.css +1 -1
- package/lib/header/index.js +5 -5
- package/lib/header/src/header.js +21 -21
- package/lib/icon/index.js +5 -5
- package/lib/icon/src/icon.js +3 -3
- package/lib/icon/style/style.css +2 -1
- package/lib/icon/style/style.min.css +2 -1
- package/lib/index.common.js +3 -3
- package/lib/index.css +1 -1
- package/lib/index.umd.js +1238 -1836
- package/lib/index.umd.min.js +1 -1
- package/lib/input/index.js +5 -5
- package/lib/input/src/date.js +3 -3
- package/lib/input/src/input.js +248 -248
- package/lib/input/src/number.js +4 -4
- package/lib/input/style/style.css +9 -2
- package/lib/input/style/style.min.css +1 -1
- package/lib/keyboard/index.js +5 -5
- package/lib/keyboard/src/mixin.js +15 -15
- package/lib/list/index.js +5 -5
- package/lib/list/src/list.js +19 -19
- package/lib/loading/index.js +6 -6
- package/lib/loading/src/loading.js +13 -13
- package/lib/loading/style/style.css +1 -0
- package/lib/loading/style/style.min.css +1 -1
- package/lib/locale/lang/en-US.js +7 -7
- package/lib/locale/lang/en-US.umd.js +7 -7
- package/lib/locale/lang/es-ES.js +5 -5
- package/lib/locale/lang/es-ES.umd.js +5 -5
- package/lib/locale/lang/ja-JP.js +7 -7
- package/lib/locale/lang/ja-JP.umd.js +7 -7
- package/lib/locale/lang/pt-BR.js +7 -7
- package/lib/locale/lang/pt-BR.umd.js +7 -7
- package/lib/locale/lang/zh-CN.js +7 -7
- package/lib/locale/lang/zh-CN.umd.js +7 -7
- package/lib/locale/lang/zh-HK.js +4 -4
- package/lib/locale/lang/zh-HK.umd.js +7 -7
- package/lib/locale/lang/zh-MO.js +4 -4
- package/lib/locale/lang/zh-MO.umd.js +7 -7
- package/lib/locale/lang/zh-TC.js +7 -7
- package/lib/locale/lang/zh-TC.umd.js +7 -7
- package/lib/locale/lang/zh-TW.js +4 -4
- package/lib/locale/lang/zh-TW.umd.js +7 -7
- package/lib/menu/index.js +7 -7
- package/lib/menu/src/mixin.js +16 -16
- package/lib/menu/src/panel.js +14 -14
- package/lib/menu/style/style.css +1 -0
- package/lib/menu/style/style.min.css +1 -1
- package/lib/mixins/size.js +2 -2
- package/lib/modal/index.js +12 -12
- package/lib/modal/src/modal.js +104 -104
- package/lib/modal/style/style.css +2 -0
- package/lib/modal/style/style.min.css +1 -1
- package/lib/optgroup/index.js +5 -5
- package/lib/option/index.js +5 -5
- package/lib/pager/index.js +5 -5
- package/lib/pager/src/pager.js +67 -67
- package/lib/pager/style/style.css +2 -0
- package/lib/pager/style/style.min.css +1 -1
- package/lib/pulldown/index.js +5 -5
- package/lib/pulldown/src/pulldown.js +16 -16
- package/lib/pulldown/style/style.css +1 -2
- package/lib/pulldown/style/style.min.css +1 -1
- package/lib/radio/index.js +5 -5
- package/lib/radio/src/button.js +14 -14
- package/lib/radio/src/group.js +12 -12
- package/lib/radio/src/radio.js +16 -16
- package/lib/radio/style/style.css +1 -0
- package/lib/radio/style/style.min.css +1 -1
- package/lib/radio-button/index.js +5 -5
- package/lib/radio-group/index.js +5 -5
- package/lib/select/index.js +9 -9
- package/lib/select/src/optgroup.js +6 -6
- package/lib/select/src/option.js +6 -6
- package/lib/select/src/select.js +58 -58
- package/lib/select/src/util.js +2 -2
- package/lib/select/style/style.css +2 -2
- package/lib/select/style/style.min.css +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/switch/index.js +5 -5
- package/lib/switch/src/switch.js +17 -17
- package/lib/switch/style/style.css +1 -0
- package/lib/switch/style/style.min.css +1 -1
- package/lib/table/index.js +15 -15
- package/lib/table/src/body.js +39 -39
- package/lib/table/src/cell.js +77 -77
- package/lib/table/src/column.js +17 -17
- package/lib/table/src/columnInfo.js +13 -13
- package/lib/table/src/group.js +4 -4
- package/lib/table/src/methods.js +223 -223
- package/lib/table/src/table.js +124 -124
- package/lib/table/src/util.js +19 -19
- package/lib/table/style/style.css +10 -0
- package/lib/table/style/style.min.css +1 -1
- package/lib/textarea/index.js +5 -5
- package/lib/textarea/src/textarea.js +27 -27
- package/lib/textarea/style/style.css +3 -0
- package/lib/textarea/style/style.min.css +1 -1
- package/lib/toolbar/index.js +5 -5
- package/lib/toolbar/src/toolbar.js +79 -79
- package/lib/toolbar/style/style.css +3 -0
- package/lib/toolbar/style/style.min.css +1 -1
- package/lib/tools/dom.js +8 -8
- package/lib/tools/event.js +3 -3
- package/lib/tools/log.js +2 -2
- package/lib/tools/log.min.js +1 -1
- package/lib/tools/resize.js +4 -4
- package/lib/tools/utils.js +13 -13
- package/lib/tools/vn.js +2 -2
- package/lib/tooltip/index.js +6 -6
- package/lib/tooltip/src/tooltip.js +30 -30
- package/lib/v-x-e-table/index.js +9 -9
- package/lib/v-x-e-table/index.min.js +1 -1
- package/lib/v-x-e-table/src/commands.js +6 -6
- package/lib/v-x-e-table/src/conf.js +4 -4
- package/lib/v-x-e-table/src/config.js +6 -2
- package/lib/v-x-e-table/src/config.min.js +1 -1
- package/lib/v-x-e-table/src/formats.js +6 -6
- package/lib/v-x-e-table/src/interceptor.js +5 -5
- package/lib/v-x-e-table/src/menus.js +6 -6
- package/lib/v-x-e-table/src/renderer.js +49 -49
- package/lib/v-x-e-table/src/store.js +7 -7
- package/lib/v-x-e-table/src/validators.js +2 -2
- package/lib/v-x-e-table/style/style.css +2 -0
- package/lib/v-x-e-table/style/style.min.css +1 -1
- package/lib/validator/index.js +5 -5
- package/lib/validator/src/mixin.js +29 -29
- package/package.json +4 -4
- package/packages/v-x-e-table/src/config.js +4 -0
- package/styles/form.scss +3 -2
- /package/lib/icon/style/{iconfont.1694939101562.ttf → iconfont.1695255877135.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1694939101562.woff → iconfont.1695255877135.woff} +0 -0
- /package/lib/icon/style/{iconfont.1694939101562.woff2 → iconfont.1695255877135.woff2} +0 -0
- /package/lib/{iconfont.1694939101562.ttf → iconfont.1695255877135.ttf} +0 -0
- /package/lib/{iconfont.1694939101562.woff → iconfont.1695255877135.woff} +0 -0
- /package/lib/{iconfont.1694939101562.woff2 → iconfont.1695255877135.woff2} +0 -0
package/lib/radio/src/button.js
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.default = void 0;
|
|
7
7
|
var _utils = require("../../tools/utils");
|
|
8
8
|
var _conf = _interopRequireDefault(require("../../v-x-e-table/src/conf"));
|
|
9
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
9
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
10
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
11
11
|
var _default2 = {
|
|
12
12
|
name: 'VxeRadioButton',
|
|
@@ -18,26 +18,26 @@ var _default2 = {
|
|
|
18
18
|
disabled: Boolean,
|
|
19
19
|
strict: {
|
|
20
20
|
type: Boolean,
|
|
21
|
-
|
|
22
|
-
return _conf
|
|
21
|
+
default: function _default() {
|
|
22
|
+
return _conf.default.radioButton.strict;
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
size: {
|
|
26
26
|
type: String,
|
|
27
|
-
|
|
28
|
-
return _conf
|
|
27
|
+
default: function _default() {
|
|
28
|
+
return _conf.default.radioButton.size || _conf.default.size;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
inject: {
|
|
33
33
|
$xeradiogroup: {
|
|
34
|
-
|
|
34
|
+
default: null
|
|
35
35
|
},
|
|
36
36
|
$xeform: {
|
|
37
|
-
|
|
37
|
+
default: null
|
|
38
38
|
},
|
|
39
39
|
$xeformiteminfo: {
|
|
40
|
-
|
|
40
|
+
default: null
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
computed: {
|
|
@@ -68,10 +68,10 @@ var _default2 = {
|
|
|
68
68
|
attrs.title = title;
|
|
69
69
|
}
|
|
70
70
|
return h('label', {
|
|
71
|
-
|
|
71
|
+
class: ['vxe-radio', 'vxe-radio-button', (_ref = {}, _defineProperty(_ref, "size--".concat(vSize), vSize), _defineProperty(_ref, 'is--disabled', isDisabled), _ref)],
|
|
72
72
|
attrs: attrs
|
|
73
73
|
}, [h('input', {
|
|
74
|
-
|
|
74
|
+
class: 'vxe-radio--input',
|
|
75
75
|
attrs: {
|
|
76
76
|
type: 'radio',
|
|
77
77
|
name: $xeradiogroup ? $xeradiogroup.name : null,
|
|
@@ -85,8 +85,8 @@ var _default2 = {
|
|
|
85
85
|
click: this.clickEvent
|
|
86
86
|
}
|
|
87
87
|
}), h('span', {
|
|
88
|
-
|
|
89
|
-
}, $scopedSlots
|
|
88
|
+
class: 'vxe-radio--label'
|
|
89
|
+
}, $scopedSlots.default ? $scopedSlots.default.call(this, {}) : [(0, _utils.getFuncText)(content)])]);
|
|
90
90
|
},
|
|
91
91
|
methods: {
|
|
92
92
|
handleValue: function handleValue(label, evnt) {
|
|
@@ -124,4 +124,4 @@ var _default2 = {
|
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
};
|
|
127
|
-
exports
|
|
127
|
+
exports.default = _default2;
|
package/lib/radio/src/group.js
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.default = void 0;
|
|
7
7
|
var _xeUtils = _interopRequireDefault(require("xe-utils"));
|
|
8
8
|
var _conf = _interopRequireDefault(require("../../v-x-e-table/src/conf"));
|
|
9
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
9
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
10
|
var _default2 = {
|
|
11
11
|
name: 'VxeRadioGroup',
|
|
12
12
|
props: {
|
|
@@ -14,23 +14,23 @@ var _default2 = {
|
|
|
14
14
|
disabled: Boolean,
|
|
15
15
|
strict: {
|
|
16
16
|
type: Boolean,
|
|
17
|
-
|
|
18
|
-
return _conf
|
|
17
|
+
default: function _default() {
|
|
18
|
+
return _conf.default.radioGroup.strict;
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
size: {
|
|
22
22
|
type: String,
|
|
23
|
-
|
|
24
|
-
return _conf
|
|
23
|
+
default: function _default() {
|
|
24
|
+
return _conf.default.radioGroup.size || _conf.default.size;
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
inject: {
|
|
29
29
|
$xeform: {
|
|
30
|
-
|
|
30
|
+
default: null
|
|
31
31
|
},
|
|
32
32
|
$xeformiteminfo: {
|
|
33
|
-
|
|
33
|
+
default: null
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
provide: function provide() {
|
|
@@ -45,14 +45,14 @@ var _default2 = {
|
|
|
45
45
|
},
|
|
46
46
|
data: function data() {
|
|
47
47
|
return {
|
|
48
|
-
name: _xeUtils
|
|
48
|
+
name: _xeUtils.default.uniqueId('xegroup_')
|
|
49
49
|
};
|
|
50
50
|
},
|
|
51
51
|
render: function render(h) {
|
|
52
52
|
var $scopedSlots = this.$scopedSlots;
|
|
53
53
|
return h('div', {
|
|
54
|
-
|
|
55
|
-
}, $scopedSlots
|
|
54
|
+
class: 'vxe-radio-group'
|
|
55
|
+
}, $scopedSlots.default ? $scopedSlots.default.call(this, {}) : []);
|
|
56
56
|
},
|
|
57
57
|
methods: {
|
|
58
58
|
handleChecked: function handleChecked(params, evnt) {
|
|
@@ -65,4 +65,4 @@ var _default2 = {
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
|
-
exports
|
|
68
|
+
exports.default = _default2;
|
package/lib/radio/src/radio.js
CHANGED
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.default = void 0;
|
|
7
7
|
var _utils = require("../../tools/utils");
|
|
8
8
|
var _conf = _interopRequireDefault(require("../../v-x-e-table/src/conf"));
|
|
9
9
|
var _size = _interopRequireDefault(require("../../mixins/size"));
|
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
11
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
12
12
|
var _default2 = {
|
|
13
13
|
name: 'VxeRadio',
|
|
14
|
-
mixins: [_size
|
|
14
|
+
mixins: [_size.default],
|
|
15
15
|
props: {
|
|
16
16
|
value: [String, Number, Boolean],
|
|
17
17
|
label: [String, Number, Boolean],
|
|
@@ -21,26 +21,26 @@ var _default2 = {
|
|
|
21
21
|
name: String,
|
|
22
22
|
strict: {
|
|
23
23
|
type: Boolean,
|
|
24
|
-
|
|
25
|
-
return _conf
|
|
24
|
+
default: function _default() {
|
|
25
|
+
return _conf.default.radio.strict;
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
size: {
|
|
29
29
|
type: String,
|
|
30
|
-
|
|
31
|
-
return _conf
|
|
30
|
+
default: function _default() {
|
|
31
|
+
return _conf.default.radio.size || _conf.default.size;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
inject: {
|
|
36
36
|
$xeradiogroup: {
|
|
37
|
-
|
|
37
|
+
default: null
|
|
38
38
|
},
|
|
39
39
|
$xeform: {
|
|
40
|
-
|
|
40
|
+
default: null
|
|
41
41
|
},
|
|
42
42
|
$xeformiteminfo: {
|
|
43
|
-
|
|
43
|
+
default: null
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
computed: {
|
|
@@ -71,10 +71,10 @@ var _default2 = {
|
|
|
71
71
|
attrs.title = title;
|
|
72
72
|
}
|
|
73
73
|
return h('label', {
|
|
74
|
-
|
|
74
|
+
class: ['vxe-radio', (_ref = {}, _defineProperty(_ref, "size--".concat(vSize), vSize), _defineProperty(_ref, 'is--checked', isChecked), _defineProperty(_ref, 'is--disabled', isDisabled), _ref)],
|
|
75
75
|
attrs: attrs
|
|
76
76
|
}, [h('input', {
|
|
77
|
-
|
|
77
|
+
class: 'vxe-radio--input',
|
|
78
78
|
attrs: {
|
|
79
79
|
type: 'radio',
|
|
80
80
|
name: $xeradiogroup ? $xeradiogroup.name : name,
|
|
@@ -88,10 +88,10 @@ var _default2 = {
|
|
|
88
88
|
click: this.clickEvent
|
|
89
89
|
}
|
|
90
90
|
}), h('span', {
|
|
91
|
-
|
|
91
|
+
class: ['vxe-radio--icon', isChecked ? 'vxe-icon-radio-checked' : 'vxe-icon-radio-unchecked']
|
|
92
92
|
}), h('span', {
|
|
93
|
-
|
|
94
|
-
}, $scopedSlots
|
|
93
|
+
class: 'vxe-radio--label'
|
|
94
|
+
}, $scopedSlots.default ? $scopedSlots.default.call(this, {}) : [(0, _utils.getFuncText)(content)])]);
|
|
95
95
|
},
|
|
96
96
|
methods: {
|
|
97
97
|
handleValue: function handleValue(label, evnt) {
|
|
@@ -129,4 +129,4 @@ var _default2 = {
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
|
-
exports
|
|
132
|
+
exports.default = _default2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[class*=vxe-],[class*=vxe-] :after,[class*=vxe-] :before,[class*=vxe-]:after,[class*=vxe-]:before{box-sizing:border-box}.vxe-radio .vxe-radio--label,.vxe-radio-button .vxe-radio--label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[class*=vxe-]{font-variant:tabular-nums;font-feature-settings:"tnum"}.vxe-primary-color{color:#409eff}.vxe-success-color{color:#67c23a}.vxe-info-color{color:#909399}.vxe-warning-color{color:#e6a23c}.vxe-danger-color{color:#f56c6c}.vxe-perfect-color{color:#f8f8f9}.vxe-row:after{content:"";display:block;clear:both;height:0;overflow:hidden;visibility:hidden}.vxe-row>.vxe-col--1{float:left;width:4.16667%}.vxe-row>.vxe-col--2{float:left;width:8.33333%}.vxe-row>.vxe-col--3{float:left;width:12.5%}.vxe-row>.vxe-col--4{float:left;width:16.66667%}.vxe-row>.vxe-col--5{float:left;width:20.83333%}.vxe-row>.vxe-col--6{float:left;width:25%}.vxe-row>.vxe-col--7{float:left;width:29.16667%}.vxe-row>.vxe-col--8{float:left;width:33.33333%}.vxe-row>.vxe-col--9{float:left;width:37.5%}.vxe-row>.vxe-col--10{float:left;width:41.66667%}.vxe-row>.vxe-col--11{float:left;width:45.83333%}.vxe-row>.vxe-col--12{float:left;width:50%}.vxe-row>.vxe-col--13{float:left;width:54.16667%}.vxe-row>.vxe-col--14{float:left;width:58.33333%}.vxe-row>.vxe-col--15{float:left;width:62.5%}.vxe-row>.vxe-col--16{float:left;width:66.66667%}.vxe-row>.vxe-col--17{float:left;width:70.83333%}.vxe-row>.vxe-col--18{float:left;width:75%}.vxe-row>.vxe-col--19{float:left;width:79.16667%}.vxe-row>.vxe-col--20{float:left;width:83.33333%}.vxe-row>.vxe-col--21{float:left;width:87.5%}.vxe-row>.vxe-col--22{float:left;width:91.66667%}.vxe-row>.vxe-col--23{float:left;width:95.83333%}.vxe-row>.vxe-col--24{float:left;width:100%}.is--animat .vxe-filter--btn:after,.is--animat .vxe-filter--btn:before,.is--animat .vxe-sort--asc-btn:after,.is--animat .vxe-sort--asc-btn:before,.is--animat .vxe-sort--desc-btn:after,.is--animat .vxe-sort--desc-btn:before{transition:border .1s ease-in-out}.is--animat .vxe-input--wrapper .vxe-input{transition:border .1s ease-in-out}.is--animat .vxe-table--expand-btn,.is--animat .vxe-tree--node-btn{transition:transform .1s ease-in-out}.is--animat .vxe-checkbox>input:checked+span,.is--animat .vxe-radio>input:checked+span{transition:background-color .1s ease-in-out}.vxe-radio{cursor:pointer}.vxe-radio .vxe-radio--icon{font-size:1.4em}.vxe-radio .vxe-radio--icon{color:#dcdfe6;vertical-align:middle;font-weight:700;-webkit-user-select:none;-moz-user-select:none;user-select:none}.is--checked.vxe-radio{color:#409eff}.is--checked.vxe-radio .vxe-radio--icon{color:#409eff}.vxe-radio:not(.is--disabled){cursor:pointer}.vxe-radio:not(.is--disabled):hover .vxe-radio--icon{color:#409eff}.is--disabled.vxe-radio{color:#bfbfbf;cursor:not-allowed}.is--disabled.vxe-radio .vxe-radio--icon{color:#dcdfe6}.vxe-radio .vxe-radio--label{padding-left:.5em;vertical-align:middle}.vxe-radio-group{display:inline-block;vertical-align:middle;line-height:1;font-size:0}.vxe-radio-group+.vxe-radio-group{margin-left:10px}.vxe-radio{display:inline-block;vertical-align:middle;white-space:nowrap;line-height:1}.vxe-radio>input[type=radio]{position:absolute;width:0;height:0;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.vxe-radio .vxe-radio--label{vertical-align:middle;display:inline-block;max-width:50em}.vxe-radio:not(.is--disabled)>input:focus+.vxe-radio--icon{color:#409eff}.vxe-radio:not(.vxe-radio-button)+.vxe-radio{margin-left:10px}.vxe-radio-button .vxe-radio--label{background-color:#fff}.vxe-radio-button:first-child .vxe-radio--label{border-left:1px solid #dcdfe6;border-radius:4px 0 0 4px}.vxe-radio-button:last-child .vxe-radio--label{border-radius:0 4px 4px 0}.vxe-radio-button>input:checked+.vxe-radio--label{color:#fff;background-color:#409eff;border-color:#409eff}.vxe-radio-button .vxe-radio--label{padding:0 1em;line-height:32px;display:inline-block;border-style:solid;border-color:#dcdfe6;border-width:1px 1px 1px 0;max-width:50em}.vxe-radio-button.is--disabled{cursor:not-allowed}.vxe-radio-button.is--disabled>input:not(:checked)+.vxe-radio--label{color:#dcdfe6}.vxe-radio-button.is--disabled>input:checked+.vxe-radio--label{border-color:#73b8ff;background-color:#73b8ff}.vxe-radio-button:not(.is--disabled)>input:focus+.vxe-radio--label{border-color:#409eff;box-shadow:0 0 .2em 0 #409eff}.vxe-radio-button:not(.is--disabled):hover>input:not(:checked)+.vxe-radio--label{color:#409eff}.vxe-radio-button.size--medium .vxe-radio--label{line-height:30px}.vxe-radio-button.size--small .vxe-radio--label{line-height:28px}.vxe-radio-button.size--mini .vxe-radio--label{line-height:26px}.vxe-radio{font-size:14px}.vxe-radio.size--medium{font-size:14px}.vxe-radio.size--small{font-size:13px}.vxe-radio.size--mini{font-size:12px}
|
|
1
|
+
[class*=vxe-],[class*=vxe-] :after,[class*=vxe-] :before,[class*=vxe-]:after,[class*=vxe-]:before{box-sizing:border-box}.vxe-radio .vxe-radio--label,.vxe-radio-button .vxe-radio--label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[class*=vxe-]{font-variant:tabular-nums;font-feature-settings:"tnum"}.vxe-primary-color{color:#409eff}.vxe-success-color{color:#67c23a}.vxe-info-color{color:#909399}.vxe-warning-color{color:#e6a23c}.vxe-danger-color{color:#f56c6c}.vxe-perfect-color{color:#f8f8f9}.vxe-row:after{content:"";display:block;clear:both;height:0;overflow:hidden;visibility:hidden}.vxe-row>.vxe-col--1{float:left;width:4.16667%}.vxe-row>.vxe-col--2{float:left;width:8.33333%}.vxe-row>.vxe-col--3{float:left;width:12.5%}.vxe-row>.vxe-col--4{float:left;width:16.66667%}.vxe-row>.vxe-col--5{float:left;width:20.83333%}.vxe-row>.vxe-col--6{float:left;width:25%}.vxe-row>.vxe-col--7{float:left;width:29.16667%}.vxe-row>.vxe-col--8{float:left;width:33.33333%}.vxe-row>.vxe-col--9{float:left;width:37.5%}.vxe-row>.vxe-col--10{float:left;width:41.66667%}.vxe-row>.vxe-col--11{float:left;width:45.83333%}.vxe-row>.vxe-col--12{float:left;width:50%}.vxe-row>.vxe-col--13{float:left;width:54.16667%}.vxe-row>.vxe-col--14{float:left;width:58.33333%}.vxe-row>.vxe-col--15{float:left;width:62.5%}.vxe-row>.vxe-col--16{float:left;width:66.66667%}.vxe-row>.vxe-col--17{float:left;width:70.83333%}.vxe-row>.vxe-col--18{float:left;width:75%}.vxe-row>.vxe-col--19{float:left;width:79.16667%}.vxe-row>.vxe-col--20{float:left;width:83.33333%}.vxe-row>.vxe-col--21{float:left;width:87.5%}.vxe-row>.vxe-col--22{float:left;width:91.66667%}.vxe-row>.vxe-col--23{float:left;width:95.83333%}.vxe-row>.vxe-col--24{float:left;width:100%}.is--animat .vxe-filter--btn:after,.is--animat .vxe-filter--btn:before,.is--animat .vxe-sort--asc-btn:after,.is--animat .vxe-sort--asc-btn:before,.is--animat .vxe-sort--desc-btn:after,.is--animat .vxe-sort--desc-btn:before{transition:border .1s ease-in-out}.is--animat .vxe-input--wrapper .vxe-input{transition:border .1s ease-in-out}.is--animat .vxe-table--expand-btn,.is--animat .vxe-tree--node-btn{transition:transform .1s ease-in-out}.is--animat .vxe-checkbox>input:checked+span,.is--animat .vxe-radio>input:checked+span{transition:background-color .1s ease-in-out}.vxe-radio{cursor:pointer}.vxe-radio .vxe-radio--icon{font-size:1.4em}.vxe-radio .vxe-radio--icon{color:#dcdfe6;vertical-align:middle;font-weight:700;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.is--checked.vxe-radio{color:#409eff}.is--checked.vxe-radio .vxe-radio--icon{color:#409eff}.vxe-radio:not(.is--disabled){cursor:pointer}.vxe-radio:not(.is--disabled):hover .vxe-radio--icon{color:#409eff}.is--disabled.vxe-radio{color:#bfbfbf;cursor:not-allowed}.is--disabled.vxe-radio .vxe-radio--icon{color:#dcdfe6}.vxe-radio .vxe-radio--label{padding-left:.5em;vertical-align:middle}.vxe-radio-group{display:inline-block;vertical-align:middle;line-height:1;font-size:0}.vxe-radio-group+.vxe-radio-group{margin-left:10px}.vxe-radio{display:inline-block;vertical-align:middle;white-space:nowrap;line-height:1}.vxe-radio>input[type=radio]{position:absolute;width:0;height:0;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.vxe-radio .vxe-radio--label{vertical-align:middle;display:inline-block;max-width:50em}.vxe-radio:not(.is--disabled)>input:focus+.vxe-radio--icon{color:#409eff}.vxe-radio:not(.vxe-radio-button)+.vxe-radio{margin-left:10px}.vxe-radio-button .vxe-radio--label{background-color:#fff}.vxe-radio-button:first-child .vxe-radio--label{border-left:1px solid #dcdfe6;border-radius:4px 0 0 4px}.vxe-radio-button:last-child .vxe-radio--label{border-radius:0 4px 4px 0}.vxe-radio-button>input:checked+.vxe-radio--label{color:#fff;background-color:#409eff;border-color:#409eff}.vxe-radio-button .vxe-radio--label{padding:0 1em;line-height:32px;display:inline-block;border-style:solid;border-color:#dcdfe6;border-width:1px 1px 1px 0;max-width:50em}.vxe-radio-button.is--disabled{cursor:not-allowed}.vxe-radio-button.is--disabled>input:not(:checked)+.vxe-radio--label{color:#dcdfe6}.vxe-radio-button.is--disabled>input:checked+.vxe-radio--label{border-color:#73b8ff;background-color:#73b8ff}.vxe-radio-button:not(.is--disabled)>input:focus+.vxe-radio--label{border-color:#409eff;box-shadow:0 0 .2em 0 #409eff}.vxe-radio-button:not(.is--disabled):hover>input:not(:checked)+.vxe-radio--label{color:#409eff}.vxe-radio-button.size--medium .vxe-radio--label{line-height:30px}.vxe-radio-button.size--small .vxe-radio--label{line-height:28px}.vxe-radio-button.size--mini .vxe-radio--label{line-height:26px}.vxe-radio{font-size:14px}.vxe-radio.size--medium{font-size:14px}.vxe-radio.size--small{font-size:13px}.vxe-radio.size--mini{font-size:12px}
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.default = exports.RadioButton = void 0;
|
|
7
7
|
var _button = _interopRequireDefault(require("../radio/src/button"));
|
|
8
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
9
|
-
var RadioButton = Object.assign(_button
|
|
8
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
9
|
+
var RadioButton = Object.assign(_button.default, {
|
|
10
10
|
install: function install(Vue) {
|
|
11
|
-
Vue.component(_button
|
|
11
|
+
Vue.component(_button.default.name, _button.default);
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
14
|
exports.RadioButton = RadioButton;
|
|
15
15
|
var _default = RadioButton;
|
|
16
|
-
exports
|
|
16
|
+
exports.default = _default;
|
package/lib/radio-group/index.js
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.default = exports.RadioGroup = void 0;
|
|
7
7
|
var _group = _interopRequireDefault(require("../radio/src/group"));
|
|
8
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
9
|
-
var RadioGroup = Object.assign(_group
|
|
8
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
9
|
+
var RadioGroup = Object.assign(_group.default, {
|
|
10
10
|
install: function install(Vue) {
|
|
11
|
-
Vue.component(_group
|
|
11
|
+
Vue.component(_group.default.name, _group.default);
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
14
|
exports.RadioGroup = RadioGroup;
|
|
15
15
|
var _default = RadioGroup;
|
|
16
|
-
exports
|
|
16
|
+
exports.default = _default;
|
package/lib/select/index.js
CHANGED
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.default = exports.Select = void 0;
|
|
7
7
|
var _select = _interopRequireDefault(require("./src/select"));
|
|
8
8
|
var _option = _interopRequireDefault(require("./src/option"));
|
|
9
9
|
var _optgroup = _interopRequireDefault(require("./src/optgroup"));
|
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
11
|
-
var Select = Object.assign(_select
|
|
12
|
-
Option: _option
|
|
13
|
-
Optgroup: _optgroup
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
var Select = Object.assign(_select.default, {
|
|
12
|
+
Option: _option.default,
|
|
13
|
+
Optgroup: _optgroup.default,
|
|
14
14
|
install: function install(Vue) {
|
|
15
|
-
Vue.component(_select
|
|
16
|
-
Vue.component(_option
|
|
17
|
-
Vue.component(_optgroup
|
|
15
|
+
Vue.component(_select.default.name, _select.default);
|
|
16
|
+
Vue.component(_option.default.name, _option.default);
|
|
17
|
+
Vue.component(_optgroup.default.name, _optgroup.default);
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
exports.Select = Select;
|
|
21
21
|
var _default = Select;
|
|
22
|
-
exports
|
|
22
|
+
exports.default = _default;
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.default = void 0;
|
|
7
7
|
var _util = require("./util");
|
|
8
8
|
var props = {
|
|
9
9
|
label: {
|
|
10
10
|
type: [String, Number, Boolean],
|
|
11
|
-
|
|
11
|
+
default: ''
|
|
12
12
|
},
|
|
13
13
|
visible: {
|
|
14
14
|
type: Boolean,
|
|
15
|
-
|
|
15
|
+
default: null
|
|
16
16
|
},
|
|
17
17
|
className: [String, Function],
|
|
18
18
|
disabled: Boolean
|
|
@@ -33,7 +33,7 @@ var _default = {
|
|
|
33
33
|
},
|
|
34
34
|
inject: {
|
|
35
35
|
$xeselect: {
|
|
36
|
-
|
|
36
|
+
default: null
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
computed: {
|
|
@@ -52,7 +52,7 @@ var _default = {
|
|
|
52
52
|
(0, _util.destroyOption)(this);
|
|
53
53
|
},
|
|
54
54
|
render: function render(h) {
|
|
55
|
-
return h('div', this.$slots
|
|
55
|
+
return h('div', this.$slots.default);
|
|
56
56
|
}
|
|
57
57
|
};
|
|
58
|
-
exports
|
|
58
|
+
exports.default = _default;
|
package/lib/select/src/option.js
CHANGED
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.default = void 0;
|
|
7
7
|
var _util = require("./util");
|
|
8
8
|
var props = {
|
|
9
9
|
value: null,
|
|
10
10
|
label: {
|
|
11
11
|
type: [String, Number, Boolean],
|
|
12
|
-
|
|
12
|
+
default: ''
|
|
13
13
|
},
|
|
14
14
|
visible: {
|
|
15
15
|
type: Boolean,
|
|
16
|
-
|
|
16
|
+
default: null
|
|
17
17
|
},
|
|
18
18
|
className: [String, Function],
|
|
19
19
|
disabled: Boolean
|
|
@@ -29,10 +29,10 @@ var _default = {
|
|
|
29
29
|
props: props,
|
|
30
30
|
inject: {
|
|
31
31
|
$xeselect: {
|
|
32
|
-
|
|
32
|
+
default: null
|
|
33
33
|
},
|
|
34
34
|
$xeoptgroup: {
|
|
35
|
-
|
|
35
|
+
default: null
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
watch: watch,
|
|
@@ -49,4 +49,4 @@ var _default = {
|
|
|
49
49
|
return h('div');
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
|
-
exports
|
|
52
|
+
exports.default = _default;
|