vxe-table 4.3.0-beta.9 → 4.3.0
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/README.en.md +3 -3
- package/README.md +3 -3
- package/README.zh-TW.md +3 -3
- package/es/checkbox/src/checkbox.js +20 -7
- package/es/checkbox/src/group.js +14 -2
- package/es/checkbox/style.css +1 -1
- package/es/export/style.css +1 -1
- package/es/filter/style.css +1 -1
- package/es/form/src/form.js +1 -1
- package/es/grid/style.css +1 -1
- package/es/icon/src/icon.js +3 -2
- package/es/icon/style.css +29 -1
- package/es/list/src/list.js +1 -1
- package/es/loading/src/loading.js +33 -23
- package/es/locale/lang/en-US.js +1 -1
- package/es/locale/lang/ja-JP.js +1 -1
- package/es/locale/lang/zh-CN.js +1 -1
- package/es/locale/lang/zh-TC.js +1 -1
- package/es/modal/src/modal.js +1 -1
- package/es/modal/style.css +2 -2
- package/es/pager/style.css +1 -1
- package/es/select/src/select.js +25 -3
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/src/body.js +17 -10
- package/es/table/src/props.js +2 -0
- package/es/table/src/table.js +8 -1
- package/es/table/style.css +3 -1
- package/es/toolbar/style.css +2 -2
- package/es/tools/log.js +1 -1
- package/es/v-x-e-table/index.js +1 -1
- package/es/v-x-e-table/style.css +30 -2
- package/es/vxe-checkbox/style.css +1 -1
- package/es/vxe-grid/style.css +1 -1
- package/es/vxe-icon/style.css +29 -1
- package/es/vxe-modal/style.css +2 -2
- package/es/vxe-module-export/style.css +1 -1
- package/es/vxe-module-filter/style.css +1 -1
- package/es/vxe-pager/style.css +1 -1
- package/es/vxe-table/style.css +3 -1
- package/es/vxe-toolbar/style.css +2 -2
- package/lib/checkbox/src/checkbox.js +23 -7
- package/lib/checkbox/src/checkbox.min.js +1 -1
- package/lib/checkbox/src/group.js +21 -1
- package/lib/checkbox/src/group.min.js +1 -1
- package/lib/checkbox/style/style.css +1 -1
- package/lib/checkbox/style/style.min.css +1 -1
- package/lib/export/style/style.css +1 -1
- package/lib/export/style/style.min.css +1 -1
- package/lib/filter/style/style.css +1 -1
- package/lib/filter/style/style.min.css +1 -1
- package/lib/form/src/form.js +1 -1
- package/lib/form/src/form.min.js +1 -1
- package/lib/grid/style/style.css +1 -1
- package/lib/grid/style/style.min.css +1 -1
- package/lib/icon/src/icon.js +3 -2
- package/lib/icon/src/icon.min.js +1 -1
- package/lib/icon/style/style.css +29 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +148 -45
- package/lib/index.umd.min.js +1 -1
- package/lib/list/src/list.js +1 -1
- package/lib/list/src/list.min.js +1 -1
- package/lib/loading/src/loading.js +28 -18
- package/lib/loading/src/loading.min.js +1 -1
- package/lib/locale/lang/en-US.js +1 -1
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +1 -1
- package/lib/locale/lang/ja-JP.js +1 -1
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +1 -1
- package/lib/locale/lang/zh-CN.js +1 -1
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +1 -1
- package/lib/locale/lang/zh-HK.min.js +1 -1
- package/lib/locale/lang/zh-HK.umd.js +1 -1
- package/lib/locale/lang/zh-MO.min.js +1 -1
- package/lib/locale/lang/zh-MO.umd.js +1 -1
- package/lib/locale/lang/zh-TC.js +1 -1
- package/lib/locale/lang/zh-TC.min.js +1 -1
- package/lib/locale/lang/zh-TC.umd.js +1 -1
- package/lib/locale/lang/zh-TW.min.js +1 -1
- package/lib/locale/lang/zh-TW.umd.js +1 -1
- package/lib/modal/src/modal.js +1 -1
- package/lib/modal/src/modal.min.js +1 -1
- package/lib/modal/style/style.css +2 -2
- package/lib/modal/style/style.min.css +1 -1
- package/lib/pager/style/style.css +1 -1
- package/lib/pager/style/style.min.css +1 -1
- package/lib/select/src/select.js +37 -3
- package/lib/select/src/select.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/src/body.js +16 -7
- package/lib/table/src/body.min.js +1 -1
- package/lib/table/src/props.js +2 -0
- package/lib/table/src/props.min.js +1 -1
- package/lib/table/src/table.js +8 -1
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +3 -1
- package/lib/table/style/style.min.css +1 -1
- package/lib/toolbar/style/style.css +2 -2
- package/lib/toolbar/style/style.min.css +1 -1
- package/lib/tools/log.js +1 -1
- package/lib/tools/log.min.js +1 -1
- package/lib/v-x-e-table/index.js +1 -1
- package/lib/v-x-e-table/index.min.js +1 -1
- package/lib/v-x-e-table/style/style.css +30 -2
- package/lib/v-x-e-table/style/style.min.css +1 -1
- package/lib/vxe-checkbox/style/style.css +1 -1
- package/lib/vxe-checkbox/style/style.min.css +1 -1
- package/lib/vxe-grid/style/style.css +1 -1
- package/lib/vxe-grid/style/style.min.css +1 -1
- package/lib/vxe-icon/style/style.css +29 -1
- package/lib/vxe-icon/style/style.min.css +1 -1
- package/lib/vxe-modal/style/style.css +2 -2
- package/lib/vxe-modal/style/style.min.css +1 -1
- package/lib/vxe-module-export/style/style.css +1 -1
- package/lib/vxe-module-export/style/style.min.css +1 -1
- package/lib/vxe-module-filter/style/style.css +1 -1
- package/lib/vxe-module-filter/style/style.min.css +1 -1
- package/lib/vxe-pager/style/style.css +1 -1
- package/lib/vxe-pager/style/style.min.css +1 -1
- package/lib/vxe-table/style/style.css +3 -1
- package/lib/vxe-table/style/style.min.css +1 -1
- package/lib/vxe-toolbar/style/style.css +2 -2
- package/lib/vxe-toolbar/style/style.min.css +1 -1
- package/package.json +2 -2
- package/packages/checkbox/src/checkbox.ts +20 -7
- package/packages/checkbox/src/group.ts +18 -3
- package/packages/form/src/form.ts +1 -1
- package/packages/icon/src/icon.ts +3 -2
- package/packages/list/src/list.ts +1 -1
- package/packages/loading/src/loading.ts +34 -22
- package/packages/locale/lang/en-US.ts +1 -1
- package/packages/locale/lang/ja-JP.ts +1 -1
- package/packages/locale/lang/zh-CN.ts +1 -1
- package/packages/locale/lang/zh-TC.ts +1 -1
- package/packages/modal/src/modal.ts +1 -1
- package/packages/select/src/select.ts +27 -3
- package/packages/table/src/body.ts +15 -8
- package/packages/table/src/props.ts +2 -0
- package/packages/table/src/table.ts +9 -1
- package/styles/base/checked.scss +1 -1
- package/styles/icon.scss +38 -3
- package/styles/loading.scss +1 -1
- package/styles/table.scss +3 -0
- package/styles/variable.scss +2 -1
- package/types/checkbox-group.d.ts +8 -1
- package/types/icon.d.ts +2 -0
- package/types/select.d.ts +2 -0
- package/types/table.d.ts +9 -0
- package/types/v-x-e-table/index.d.ts +1 -1
package/lib/index.umd.js
CHANGED
|
@@ -8872,7 +8872,7 @@ var es_array_concat = __webpack_require__("99af");
|
|
|
8872
8872
|
|
|
8873
8873
|
|
|
8874
8874
|
function getLog(message, params) {
|
|
8875
|
-
return "[vxe-table v".concat("4.3.0-beta.
|
|
8875
|
+
return "[vxe-table v".concat("4.3.0-beta.11", "] ").concat(src_conf.i18n(message, params));
|
|
8876
8876
|
}
|
|
8877
8877
|
|
|
8878
8878
|
function outLog(type) {
|
|
@@ -10906,7 +10906,7 @@ var v_x_e_table_config = new v_x_e_table_VXETableConfig();
|
|
|
10906
10906
|
var v = 'v4';
|
|
10907
10907
|
var VXETable = {
|
|
10908
10908
|
v: v,
|
|
10909
|
-
version: "4.3.0-beta.
|
|
10909
|
+
version: "4.3.0-beta.11",
|
|
10910
10910
|
setup: setup_setup,
|
|
10911
10911
|
interceptor: interceptor,
|
|
10912
10912
|
renderer: renderer,
|
|
@@ -13815,25 +13815,35 @@ function useSize(props) {
|
|
|
13815
13815
|
/* harmony default export */ var src_loading = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({
|
|
13816
13816
|
name: 'VxeLoading',
|
|
13817
13817
|
props: {
|
|
13818
|
-
|
|
13818
|
+
modelValue: Boolean,
|
|
13819
|
+
icon: String,
|
|
13820
|
+
text: String
|
|
13819
13821
|
},
|
|
13820
|
-
|
|
13821
|
-
var
|
|
13822
|
-
|
|
13823
|
-
|
|
13824
|
-
|
|
13825
|
-
|
|
13826
|
-
|
|
13827
|
-
|
|
13828
|
-
|
|
13829
|
-
|
|
13830
|
-
|
|
13831
|
-
|
|
13832
|
-
|
|
13833
|
-
|
|
13834
|
-
|
|
13835
|
-
|
|
13836
|
-
|
|
13822
|
+
setup: function setup(props) {
|
|
13823
|
+
var computeLoadingIcon = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
13824
|
+
return props.icon || src_conf.icon.LOADING;
|
|
13825
|
+
});
|
|
13826
|
+
var computeLoadingText = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
13827
|
+
var loadingText = src_conf.loadingText;
|
|
13828
|
+
return props.text || (loadingText === null ? loadingText : src_conf.i18n('vxe.loading.text'));
|
|
13829
|
+
});
|
|
13830
|
+
return function () {
|
|
13831
|
+
var loadingIcon = computeLoadingIcon.value;
|
|
13832
|
+
var loadingText = computeLoadingText.value;
|
|
13833
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('div', {
|
|
13834
|
+
class: ['vxe-loading', {
|
|
13835
|
+
'is--visible': props.modelValue
|
|
13836
|
+
}]
|
|
13837
|
+
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('div', {
|
|
13838
|
+
class: 'vxe-loading--chunk'
|
|
13839
|
+
}, [loadingIcon ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
13840
|
+
class: loadingIcon
|
|
13841
|
+
}) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('div', {
|
|
13842
|
+
class: 'vxe-loading--spinner'
|
|
13843
|
+
}), loadingText ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('div', {
|
|
13844
|
+
class: 'vxe-loading--text'
|
|
13845
|
+
}, "".concat(loadingText)) : null])]);
|
|
13846
|
+
};
|
|
13837
13847
|
}
|
|
13838
13848
|
}));
|
|
13839
13849
|
// CONCATENATED MODULE: ./packages/loading/index.ts
|
|
@@ -14928,7 +14938,7 @@ var msgQueue = [];
|
|
|
14928
14938
|
*/
|
|
14929
14939
|
contVNs.push(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(packages_loading, {
|
|
14930
14940
|
class: 'vxe-modal--loading',
|
|
14931
|
-
|
|
14941
|
+
modelValue: props.loading
|
|
14932
14942
|
}));
|
|
14933
14943
|
}
|
|
14934
14944
|
|
|
@@ -17860,17 +17870,36 @@ var quarterSize = 8;
|
|
|
17860
17870
|
var checkboxMethods = {};
|
|
17861
17871
|
var computeSize = useSize(props);
|
|
17862
17872
|
var $xecheckboxgroup = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["inject"])('$xecheckboxgroup', null);
|
|
17863
|
-
var
|
|
17864
|
-
|
|
17873
|
+
var computeIsChecked = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
17874
|
+
if ($xecheckboxgroup) {
|
|
17875
|
+
return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.includes($xecheckboxgroup.props.modelValue, props.label);
|
|
17876
|
+
}
|
|
17877
|
+
|
|
17878
|
+
return props.modelValue === props.checkedValue;
|
|
17865
17879
|
});
|
|
17866
|
-
var
|
|
17867
|
-
|
|
17880
|
+
var computeIsDisabled = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
17881
|
+
if (props.disabled) {
|
|
17882
|
+
return true;
|
|
17883
|
+
}
|
|
17884
|
+
|
|
17885
|
+
if ($xecheckboxgroup) {
|
|
17886
|
+
var groupProps = $xecheckboxgroup.props;
|
|
17887
|
+
|
|
17888
|
+
var _$xecheckboxgroup$get = $xecheckboxgroup.getComputeMaps(),
|
|
17889
|
+
computeIsMaximize = _$xecheckboxgroup$get.computeIsMaximize;
|
|
17890
|
+
|
|
17891
|
+
var isMaximize = computeIsMaximize.value;
|
|
17892
|
+
var isChecked = computeIsChecked.value;
|
|
17893
|
+
return groupProps.disabled || isMaximize && !isChecked;
|
|
17894
|
+
}
|
|
17895
|
+
|
|
17896
|
+
return false;
|
|
17868
17897
|
});
|
|
17869
17898
|
|
|
17870
17899
|
var changeEvent = function changeEvent(evnt) {
|
|
17871
17900
|
var checkedValue = props.checkedValue,
|
|
17872
17901
|
uncheckedValue = props.uncheckedValue;
|
|
17873
|
-
var isDisabled =
|
|
17902
|
+
var isDisabled = computeIsDisabled.value;
|
|
17874
17903
|
|
|
17875
17904
|
if (!isDisabled) {
|
|
17876
17905
|
var checked = evnt.target.checked;
|
|
@@ -17908,8 +17937,8 @@ var quarterSize = 8;
|
|
|
17908
17937
|
var _ref;
|
|
17909
17938
|
|
|
17910
17939
|
var vSize = computeSize.value;
|
|
17911
|
-
var isDisabled =
|
|
17912
|
-
var isChecked =
|
|
17940
|
+
var isDisabled = computeIsDisabled.value;
|
|
17941
|
+
var isChecked = computeIsChecked.value;
|
|
17913
17942
|
var indeterminate = props.indeterminate;
|
|
17914
17943
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('label', {
|
|
17915
17944
|
class: ['vxe-checkbox', (_ref = {}, _defineProperty(_ref, "size--".concat(vSize), vSize), _defineProperty(_ref, 'is--indeterminate', indeterminate), _defineProperty(_ref, 'is--disabled', isDisabled), _defineProperty(_ref, 'is--checked', isChecked), _ref)],
|
|
@@ -17991,6 +18020,10 @@ function getOptUniqueId() {
|
|
|
17991
18020
|
optionGroupProps: Object,
|
|
17992
18021
|
optionConfig: Object,
|
|
17993
18022
|
className: [String, Function],
|
|
18023
|
+
max: {
|
|
18024
|
+
type: [String, Number],
|
|
18025
|
+
default: null
|
|
18026
|
+
},
|
|
17994
18027
|
size: {
|
|
17995
18028
|
type: String,
|
|
17996
18029
|
default: function _default() {
|
|
@@ -18085,6 +18118,17 @@ function getOptUniqueId() {
|
|
|
18085
18118
|
var groupPropsOpts = computeGroupPropsOpts.value;
|
|
18086
18119
|
return groupPropsOpts.options || 'options';
|
|
18087
18120
|
});
|
|
18121
|
+
var computeIsMaximize = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
18122
|
+
var modelValue = props.modelValue,
|
|
18123
|
+
multiple = props.multiple,
|
|
18124
|
+
max = props.max;
|
|
18125
|
+
|
|
18126
|
+
if (multiple && max) {
|
|
18127
|
+
return (modelValue ? modelValue.length : 0) >= external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.toNumber(max);
|
|
18128
|
+
}
|
|
18129
|
+
|
|
18130
|
+
return false;
|
|
18131
|
+
});
|
|
18088
18132
|
var computeOptionOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
18089
18133
|
return Object.assign({}, src_conf.select.optionConfig, props.optionConfig);
|
|
18090
18134
|
});
|
|
@@ -18782,6 +18826,24 @@ function getOptUniqueId() {
|
|
|
18782
18826
|
}
|
|
18783
18827
|
};
|
|
18784
18828
|
|
|
18829
|
+
var checkOptionDisabled = function checkOptionDisabled(isSelected, option, group) {
|
|
18830
|
+
if (option.disabled) {
|
|
18831
|
+
return true;
|
|
18832
|
+
}
|
|
18833
|
+
|
|
18834
|
+
if (group && group.disabled) {
|
|
18835
|
+
return true;
|
|
18836
|
+
}
|
|
18837
|
+
|
|
18838
|
+
var isMaximize = computeIsMaximize.value;
|
|
18839
|
+
|
|
18840
|
+
if (isMaximize && !isSelected) {
|
|
18841
|
+
return true;
|
|
18842
|
+
}
|
|
18843
|
+
|
|
18844
|
+
return false;
|
|
18845
|
+
};
|
|
18846
|
+
|
|
18785
18847
|
var renderOption = function renderOption(list, group) {
|
|
18786
18848
|
var optionKey = props.optionKey,
|
|
18787
18849
|
modelValue = props.modelValue,
|
|
@@ -18795,9 +18857,10 @@ function getOptUniqueId() {
|
|
|
18795
18857
|
return list.map(function (option, cIndex) {
|
|
18796
18858
|
var slots = option.slots,
|
|
18797
18859
|
className = option.className;
|
|
18798
|
-
var isVisible = !isGroup || isOptionVisible(option);
|
|
18799
|
-
var isDisabled = group && group.disabled || option.disabled;
|
|
18800
18860
|
var optionValue = option[valueField];
|
|
18861
|
+
var isSelected = multiple ? modelValue && modelValue.indexOf(optionValue) > -1 : modelValue === optionValue;
|
|
18862
|
+
var isVisible = !isGroup || isOptionVisible(option);
|
|
18863
|
+
var isDisabled = checkOptionDisabled(isSelected, option, group);
|
|
18801
18864
|
var optid = getOptid(option);
|
|
18802
18865
|
var defaultSlot = slots ? slots.default : null;
|
|
18803
18866
|
return isVisible ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('div', {
|
|
@@ -18807,7 +18870,7 @@ function getOptUniqueId() {
|
|
|
18807
18870
|
$select: $xeselect
|
|
18808
18871
|
}) : className : '', {
|
|
18809
18872
|
'is--disabled': isDisabled,
|
|
18810
|
-
'is--selected':
|
|
18873
|
+
'is--selected': isSelected,
|
|
18811
18874
|
'is--hover': currentValue === optionValue
|
|
18812
18875
|
}],
|
|
18813
18876
|
// attrs
|
|
@@ -22901,7 +22964,8 @@ var Validator = VxeModuleValidator;
|
|
|
22901
22964
|
/* harmony default export */ var src_icon = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({
|
|
22902
22965
|
name: 'VxeIcon',
|
|
22903
22966
|
props: {
|
|
22904
|
-
name: String
|
|
22967
|
+
name: String,
|
|
22968
|
+
roll: Boolean
|
|
22905
22969
|
},
|
|
22906
22970
|
emits: ['click'],
|
|
22907
22971
|
setup: function setup(props, _ref) {
|
|
@@ -22915,7 +22979,7 @@ var Validator = VxeModuleValidator;
|
|
|
22915
22979
|
|
|
22916
22980
|
return function () {
|
|
22917
22981
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
22918
|
-
class: "vxe-icon-".concat(props.name),
|
|
22982
|
+
class: ["vxe-icon-".concat(props.name), props.roll ? 'roll' : ''],
|
|
22919
22983
|
onClick: clickEvent
|
|
22920
22984
|
});
|
|
22921
22985
|
};
|
|
@@ -24365,6 +24429,8 @@ var es_array_sort = __webpack_require__("4e82");
|
|
|
24365
24429
|
validConfig: Object,
|
|
24366
24430
|
// 校验规则配置项
|
|
24367
24431
|
editRules: Object,
|
|
24432
|
+
// 加载中配置项
|
|
24433
|
+
loadingConfig: Object,
|
|
24368
24434
|
// 空内容渲染配置项
|
|
24369
24435
|
emptyRender: Object,
|
|
24370
24436
|
// 自定义列配置项
|
|
@@ -27231,11 +27297,16 @@ dynamicApp.component(src_checkbox.name, src_checkbox);
|
|
|
27231
27297
|
|
|
27232
27298
|
|
|
27233
27299
|
|
|
27300
|
+
|
|
27234
27301
|
/* harmony default export */ var checkbox_src_group = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({
|
|
27235
27302
|
name: 'VxeCheckboxGroup',
|
|
27236
27303
|
props: {
|
|
27237
27304
|
modelValue: Array,
|
|
27238
27305
|
disabled: Boolean,
|
|
27306
|
+
max: {
|
|
27307
|
+
type: [String, Number],
|
|
27308
|
+
default: null
|
|
27309
|
+
},
|
|
27239
27310
|
size: {
|
|
27240
27311
|
type: String,
|
|
27241
27312
|
default: function _default() {
|
|
@@ -27250,10 +27321,26 @@ dynamicApp.component(src_checkbox.name, src_checkbox);
|
|
|
27250
27321
|
var $xeform = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["inject"])('$xeform', null);
|
|
27251
27322
|
var $xeformiteminfo = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["inject"])('$xeformiteminfo', null);
|
|
27252
27323
|
var xID = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.uniqueId();
|
|
27324
|
+
var computeIsMaximize = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
27325
|
+
var modelValue = props.modelValue,
|
|
27326
|
+
max = props.max;
|
|
27327
|
+
|
|
27328
|
+
if (max) {
|
|
27329
|
+
return (modelValue ? modelValue.length : 0) >= external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.toNumber(max);
|
|
27330
|
+
}
|
|
27331
|
+
|
|
27332
|
+
return false;
|
|
27333
|
+
});
|
|
27334
|
+
var computeMaps = {
|
|
27335
|
+
computeIsMaximize: computeIsMaximize
|
|
27336
|
+
};
|
|
27253
27337
|
var $xecheckboxgroup = {
|
|
27254
27338
|
xID: xID,
|
|
27255
27339
|
props: props,
|
|
27256
|
-
context: context
|
|
27340
|
+
context: context,
|
|
27341
|
+
getComputeMaps: function getComputeMaps() {
|
|
27342
|
+
return computeMaps;
|
|
27343
|
+
}
|
|
27257
27344
|
};
|
|
27258
27345
|
useSize(props);
|
|
27259
27346
|
var checkboxGroupMethods = {
|
|
@@ -29587,7 +29674,7 @@ function getResetValue(value, resetValue) {
|
|
|
29587
29674
|
*/
|
|
29588
29675
|
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(packages_loading, {
|
|
29589
29676
|
class: 'vxe-form--loading',
|
|
29590
|
-
|
|
29677
|
+
modelValue: loading
|
|
29591
29678
|
}),
|
|
29592
29679
|
/**
|
|
29593
29680
|
* 工具提示
|
|
@@ -30802,7 +30889,7 @@ function createResizeEvent(callback) {
|
|
|
30802
30889
|
*/
|
|
30803
30890
|
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(packages_loading, {
|
|
30804
30891
|
class: 'vxe-list--loading',
|
|
30805
|
-
|
|
30892
|
+
modelValue: loading
|
|
30806
30893
|
})]);
|
|
30807
30894
|
};
|
|
30808
30895
|
|
|
@@ -31239,6 +31326,7 @@ var lineOffsetSizes = {
|
|
|
31239
31326
|
computeKeyboardOpts = _$xetable$getComputeM.computeKeyboardOpts,
|
|
31240
31327
|
computeTooltipOpts = _$xetable$getComputeM.computeTooltipOpts,
|
|
31241
31328
|
computeRadioOpts = _$xetable$getComputeM.computeRadioOpts,
|
|
31329
|
+
computeExpandOpts = _$xetable$getComputeM.computeExpandOpts,
|
|
31242
31330
|
computeTreeOpts = _$xetable$getComputeM.computeTreeOpts,
|
|
31243
31331
|
computeCheckboxOpts = _$xetable$getComputeM.computeCheckboxOpts,
|
|
31244
31332
|
computeValidOpts = _$xetable$getComputeM.computeValidOpts,
|
|
@@ -31699,12 +31787,16 @@ var lineOffsetSizes = {
|
|
|
31699
31787
|
}))); // 如果行被展开了
|
|
31700
31788
|
|
|
31701
31789
|
if (isExpandRow) {
|
|
31702
|
-
var
|
|
31790
|
+
var expandOpts = computeExpandOpts.value;
|
|
31791
|
+
var expandHeight = expandOpts.height;
|
|
31792
|
+
var cellStyle = {};
|
|
31793
|
+
|
|
31794
|
+
if (expandHeight) {
|
|
31795
|
+
cellStyle.height = "".concat(expandHeight, "px");
|
|
31796
|
+
}
|
|
31703
31797
|
|
|
31704
31798
|
if (treeConfig) {
|
|
31705
|
-
cellStyle =
|
|
31706
|
-
paddingLeft: "".concat(rowLevel * treeOpts.indent + 30, "px")
|
|
31707
|
-
};
|
|
31799
|
+
cellStyle.paddingLeft = "".concat(rowLevel * treeOpts.indent + 30, "px");
|
|
31708
31800
|
}
|
|
31709
31801
|
|
|
31710
31802
|
var showOverflow = expandColumn.showOverflow;
|
|
@@ -31726,13 +31818,17 @@ var lineOffsetSizes = {
|
|
|
31726
31818
|
key: "expand_".concat(rowid),
|
|
31727
31819
|
style: rowStyle ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isFunction(rowStyle) ? rowStyle(expandParams) : rowStyle : null
|
|
31728
31820
|
}, trOn), [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('td', {
|
|
31729
|
-
class:
|
|
31821
|
+
class: {
|
|
31822
|
+
'vxe-body--expanded-column': 1,
|
|
31730
31823
|
'fixed--hidden': fixedType && !hasFixedColumn,
|
|
31731
31824
|
'col--ellipsis': hasEllipsis
|
|
31732
|
-
}
|
|
31825
|
+
},
|
|
31733
31826
|
colspan: tableColumn.length
|
|
31734
31827
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('div', {
|
|
31735
|
-
class:
|
|
31828
|
+
class: {
|
|
31829
|
+
'vxe-body--expanded-cell': 1,
|
|
31830
|
+
'is--ellipsis': expandHeight
|
|
31831
|
+
},
|
|
31736
31832
|
style: cellStyle
|
|
31737
31833
|
}, [expandColumn.renderData(expandParams)])])]));
|
|
31738
31834
|
} // 如果是树形表格
|
|
@@ -33488,6 +33584,9 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
|
|
|
33488
33584
|
var computeEmptyOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33489
33585
|
return Object.assign({}, src_conf.table.emptyRender, props.emptyRender);
|
|
33490
33586
|
});
|
|
33587
|
+
var computeLoadingOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33588
|
+
return Object.assign({}, src_conf.table.loadingConfig, props.loadingConfig);
|
|
33589
|
+
});
|
|
33491
33590
|
var computeCellOffsetWidth = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33492
33591
|
return props.border ? Math.max(2, Math.ceil(reactData.scrollbarWidth / reactData.tableColumn.length)) : 1;
|
|
33493
33592
|
});
|
|
@@ -33587,6 +33686,7 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
|
|
|
33587
33686
|
computeExpandOpts: computeExpandOpts,
|
|
33588
33687
|
computeTreeOpts: computeTreeOpts,
|
|
33589
33688
|
computeEmptyOpts: computeEmptyOpts,
|
|
33689
|
+
computeLoadingOpts: computeLoadingOpts,
|
|
33590
33690
|
computeCustomOpts: computeCustomOpts,
|
|
33591
33691
|
computeIsAllCheckboxDisabled: computeIsAllCheckboxDisabled
|
|
33592
33692
|
};
|
|
@@ -40541,6 +40641,7 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
|
|
|
40541
40641
|
var mouseOpts = computeMouseOpts.value;
|
|
40542
40642
|
var validOpts = computeValidOpts.value;
|
|
40543
40643
|
var validTipOpts = computeValidTipOpts.value;
|
|
40644
|
+
var loadingOpts = computeLoadingOpts.value;
|
|
40544
40645
|
var isMenu = computeIsMenu.value;
|
|
40545
40646
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('div', {
|
|
40546
40647
|
ref: refElem,
|
|
@@ -40622,7 +40723,9 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
|
|
|
40622
40723
|
*/
|
|
40623
40724
|
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(packages_loading, {
|
|
40624
40725
|
class: 'vxe-table--loading',
|
|
40625
|
-
|
|
40726
|
+
modelValue: loading,
|
|
40727
|
+
icon: loadingOpts.icon,
|
|
40728
|
+
text: loadingOpts.text
|
|
40626
40729
|
}),
|
|
40627
40730
|
/**
|
|
40628
40731
|
* 筛选
|
|
@@ -40700,7 +40803,7 @@ dynamicApp.component(table.name, table);
|
|
|
40700
40803
|
/* harmony default export */ var zh_CN = ({
|
|
40701
40804
|
vxe: {
|
|
40702
40805
|
loading: {
|
|
40703
|
-
text: '
|
|
40806
|
+
text: '加载中...'
|
|
40704
40807
|
},
|
|
40705
40808
|
error: {
|
|
40706
40809
|
groupFixed: '如果使用分组表头,固定列必须按组设置',
|