vxe-table 3.6.0-beta.9 → 3.6.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.
Files changed (108) hide show
  1. package/README.md +2 -2
  2. package/lib/checkbox/src/checkbox.js +19 -7
  3. package/lib/checkbox/src/checkbox.min.js +1 -1
  4. package/lib/checkbox/src/group.js +13 -0
  5. package/lib/checkbox/src/group.min.js +1 -1
  6. package/lib/checkbox/style/style.css +1 -1
  7. package/lib/checkbox/style/style.min.css +1 -1
  8. package/lib/export/style/style.css +1 -1
  9. package/lib/export/style/style.min.css +1 -1
  10. package/lib/filter/style/style.css +1 -1
  11. package/lib/filter/style/style.min.css +1 -1
  12. package/lib/footer/style/style.css +0 -17
  13. package/lib/footer/style/style.min.css +0 -1
  14. package/lib/form/src/form-item.js +18 -4
  15. package/lib/form/src/form-item.min.js +1 -1
  16. package/lib/form/src/form.js +1 -1
  17. package/lib/form/src/form.min.js +1 -1
  18. package/lib/form/style/style.css +1 -0
  19. package/lib/form/style/style.min.css +1 -1
  20. package/lib/grid/style/style.css +1 -1
  21. package/lib/grid/style/style.min.css +1 -1
  22. package/lib/icon/src/icon.js +3 -2
  23. package/lib/icon/src/icon.min.js +1 -1
  24. package/lib/icon/style/style.css +45 -10
  25. package/lib/icon/style/style.min.css +1 -1
  26. package/lib/index.css +1 -1
  27. package/lib/index.umd.js +144 -45
  28. package/lib/index.umd.min.js +1 -1
  29. package/lib/list/src/list.js +1 -1
  30. package/lib/list/src/list.min.js +1 -1
  31. package/lib/loading/src/loading.js +19 -9
  32. package/lib/loading/src/loading.min.js +1 -1
  33. package/lib/loading/style/index.js +1 -0
  34. package/lib/loading/style/style.css +103 -0
  35. package/lib/loading/style/style.min.css +1 -0
  36. package/lib/locale/lang/en-US.js +1 -1
  37. package/lib/locale/lang/en-US.min.js +1 -1
  38. package/lib/locale/lang/en-US.umd.js +1 -1
  39. package/lib/locale/lang/ja-JP.js +1 -1
  40. package/lib/locale/lang/ja-JP.min.js +1 -1
  41. package/lib/locale/lang/ja-JP.umd.js +1 -1
  42. package/lib/locale/lang/zh-CN.js +1 -1
  43. package/lib/locale/lang/zh-CN.min.js +1 -1
  44. package/lib/locale/lang/zh-CN.umd.js +1 -1
  45. package/lib/locale/lang/zh-HK.min.js +1 -1
  46. package/lib/locale/lang/zh-HK.umd.js +1 -1
  47. package/lib/locale/lang/zh-MO.min.js +1 -1
  48. package/lib/locale/lang/zh-MO.umd.js +1 -1
  49. package/lib/locale/lang/zh-TC.js +1 -1
  50. package/lib/locale/lang/zh-TC.min.js +1 -1
  51. package/lib/locale/lang/zh-TC.umd.js +1 -1
  52. package/lib/locale/lang/zh-TW.min.js +1 -1
  53. package/lib/locale/lang/zh-TW.umd.js +1 -1
  54. package/lib/modal/src/modal.js +1 -1
  55. package/lib/modal/src/modal.min.js +1 -1
  56. package/lib/modal/style/style.css +2 -2
  57. package/lib/modal/style/style.min.css +1 -1
  58. package/lib/pager/style/style.css +1 -1
  59. package/lib/pager/style/style.min.css +1 -1
  60. package/lib/radio/style/style.css +1 -1
  61. package/lib/radio/style/style.min.css +1 -1
  62. package/lib/select/src/select.js +32 -3
  63. package/lib/select/src/select.min.js +1 -1
  64. package/lib/style.css +1 -1
  65. package/lib/style.min.css +1 -1
  66. package/lib/table/src/body.js +15 -7
  67. package/lib/table/src/body.min.js +1 -1
  68. package/lib/table/src/table.js +10 -2
  69. package/lib/table/src/table.min.js +1 -1
  70. package/lib/table/style/style.css +103 -2
  71. package/lib/table/style/style.min.css +1 -1
  72. package/lib/toolbar/src/toolbar.js +9 -5
  73. package/lib/toolbar/src/toolbar.min.js +1 -1
  74. package/lib/toolbar/style/style.css +2 -2
  75. package/lib/toolbar/style/style.min.css +1 -1
  76. package/lib/tools/log.js +1 -1
  77. package/lib/tools/log.min.js +1 -1
  78. package/lib/v-x-e-table/index.js +1 -1
  79. package/lib/v-x-e-table/index.min.js +1 -1
  80. package/lib/v-x-e-table/style/style.css +47 -11
  81. package/lib/v-x-e-table/style/style.min.css +1 -1
  82. package/package.json +2 -2
  83. package/packages/checkbox/src/checkbox.js +15 -3
  84. package/packages/checkbox/src/group.js +9 -0
  85. package/packages/form/src/form-item.js +19 -6
  86. package/packages/form/src/form.js +1 -1
  87. package/packages/icon/src/icon.js +3 -2
  88. package/packages/list/src/list.js +1 -1
  89. package/packages/loading/src/loading.js +18 -9
  90. package/packages/locale/lang/en-US.js +1 -1
  91. package/packages/locale/lang/ja-JP.js +1 -1
  92. package/packages/locale/lang/zh-CN.js +1 -1
  93. package/packages/locale/lang/zh-TC.js +1 -1
  94. package/packages/modal/src/modal.js +1 -1
  95. package/packages/select/src/select.js +25 -3
  96. package/packages/table/src/body.js +14 -7
  97. package/packages/table/src/table.js +10 -2
  98. package/packages/toolbar/src/toolbar.js +7 -5
  99. package/styles/base/checked.scss +2 -2
  100. package/styles/footer.scss +0 -22
  101. package/styles/form.scss +1 -0
  102. package/styles/icon.scss +60 -15
  103. package/styles/loading.scss +3 -1
  104. package/styles/modules.scss +1 -6
  105. package/styles/table.scss +28 -0
  106. package/styles/variable.scss +2 -1
  107. package/types/table.d.ts +1 -0
  108. package/types/v-x-e-table/index.d.ts +1 -1
package/lib/index.umd.js CHANGED
@@ -8812,7 +8812,7 @@ var es_array_concat = __webpack_require__("99af");
8812
8812
 
8813
8813
 
8814
8814
  function getLog(message, params) {
8815
- return "[vxe-table v".concat("3.6.0-beta.8", "] ").concat(src_conf.i18n(message, params));
8815
+ return "[vxe-table v".concat("3.6.3", "] ").concat(src_conf.i18n(message, params));
8816
8816
  }
8817
8817
 
8818
8818
  function outLog(type) {
@@ -10093,7 +10093,7 @@ function _t(key, args) {
10093
10093
  var v = 'v3';
10094
10094
  var VXETable = {
10095
10095
  v: v,
10096
- version: "3.6.0-beta.8",
10096
+ version: "3.6.3",
10097
10097
  reg: reg,
10098
10098
  use: use,
10099
10099
  setup: setup,
@@ -10118,11 +10118,12 @@ var VXETable = {
10118
10118
  /* harmony default export */ var src_icon = ({
10119
10119
  name: 'VxeIcon',
10120
10120
  props: {
10121
- name: String
10121
+ name: String,
10122
+ roll: Boolean
10122
10123
  },
10123
10124
  render: function render(h) {
10124
10125
  return h('i', {
10125
- class: "vxe-icon-".concat(this.name),
10126
+ class: ["vxe-icon-".concat(this.name), this.roll ? 'roll' : ''],
10126
10127
  on: {
10127
10128
  click: this.clickEvent
10128
10129
  }
@@ -11258,6 +11259,7 @@ function renderRows(h, _vm, $xetable, fixedType, tableData, tableColumn) {
11258
11259
  allColumnOverflow = $xetable.showOverflow,
11259
11260
  treeConfig = $xetable.treeConfig,
11260
11261
  treeOpts = $xetable.treeOpts,
11262
+ expandOpts = $xetable.expandOpts,
11261
11263
  editOpts = $xetable.editOpts,
11262
11264
  treeExpandeds = $xetable.treeExpandeds,
11263
11265
  scrollYLoad = $xetable.scrollYLoad,
@@ -11353,12 +11355,15 @@ function renderRows(h, _vm, $xetable, fixedType, tableData, tableColumn) {
11353
11355
  }))); // 如果行被展开了
11354
11356
 
11355
11357
  if (isExpandRow) {
11356
- var cellStyle;
11358
+ var expandHeight = expandOpts.height;
11359
+ var cellStyle = {};
11360
+
11361
+ if (expandHeight) {
11362
+ cellStyle.height = "".concat(expandHeight, "px");
11363
+ }
11357
11364
 
11358
11365
  if (treeConfig) {
11359
- cellStyle = {
11360
- paddingLeft: "".concat(rowLevel * treeOpts.indent + 30, "px")
11361
- };
11366
+ cellStyle.paddingLeft = "".concat(rowLevel * treeOpts.indent + 30, "px");
11362
11367
  }
11363
11368
 
11364
11369
  var showOverflow = expandColumn.showOverflow;
@@ -11380,15 +11385,19 @@ function renderRows(h, _vm, $xetable, fixedType, tableData, tableColumn) {
11380
11385
  style: rowStyle ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isFunction(rowStyle) ? rowStyle(expandParams) : rowStyle : null,
11381
11386
  on: trOn
11382
11387
  }, [h('td', {
11383
- class: ['vxe-body--expanded-column', {
11388
+ class: {
11389
+ 'vxe-body--expanded-column': 1,
11384
11390
  'fixed--hidden': fixedType && !hasFixedColumn,
11385
11391
  'col--ellipsis': hasEllipsis
11386
- }],
11392
+ },
11387
11393
  attrs: {
11388
11394
  colspan: tableColumn.length
11389
11395
  }
11390
11396
  }, [h('div', {
11391
- class: 'vxe-body--expanded-cell',
11397
+ class: {
11398
+ 'vxe-body--expanded-cell': 1,
11399
+ 'is--ellipsis': expandHeight
11400
+ },
11392
11401
  style: cellStyle
11393
11402
  }, [expandColumn.renderData(h, expandParams)])])]));
11394
11403
  } // 如果是树形表格
@@ -19861,25 +19870,35 @@ funcs.forEach(function (name) {
19861
19870
  /* harmony default export */ var src_loading = ({
19862
19871
  name: 'VxeLoading',
19863
19872
  props: {
19864
- loading: Boolean
19873
+ value: Boolean,
19874
+ icon: String,
19875
+ text: String
19876
+ },
19877
+ computed: {
19878
+ loadingIcon: function loadingIcon() {
19879
+ return this.icon || src_conf.icon.LOADING;
19880
+ },
19881
+ loadingText: function loadingText() {
19882
+ var loadingText = src_conf.loadingText;
19883
+ return this.text || (loadingText === null ? loadingText : src_conf.i18n('vxe.loading.text'));
19884
+ }
19865
19885
  },
19866
19886
  render: function render(h) {
19867
- var icon = src_conf.icon.LOADING;
19868
- var loadingText = src_conf.loadingText;
19869
- var text = loadingText === null ? loadingText : src_conf.i18n('vxe.loading.text');
19887
+ var loadingIcon = this.loadingIcon,
19888
+ loadingText = this.loadingText;
19870
19889
  return h('div', {
19871
19890
  class: ['vxe-loading', {
19872
- 'is--visible': this.loading
19891
+ 'is--visible': this.value
19873
19892
  }]
19874
19893
  }, [h('div', {
19875
19894
  class: 'vxe-loading--chunk'
19876
- }, [icon ? h('i', {
19877
- class: icon
19895
+ }, [loadingIcon ? h('i', {
19896
+ class: loadingIcon
19878
19897
  }) : h('div', {
19879
19898
  class: 'vxe-loading--spinner'
19880
- }), text ? h('div', {
19899
+ }), loadingText ? h('div', {
19881
19900
  class: 'vxe-loading--text'
19882
- }, "".concat(text)) : null])]);
19901
+ }, "".concat(loadingText)) : null])]);
19883
19902
  }
19884
19903
  });
19885
19904
  // CONCATENATED MODULE: ./packages/loading/index.js
@@ -20259,6 +20278,8 @@ function handleUupdateResize(_vm) {
20259
20278
  validConfig: Object,
20260
20279
  // 校验规则配置项
20261
20280
  editRules: Object,
20281
+ // 加载中配置项
20282
+ loadingConfig: Object,
20262
20283
  // 空内容渲染配置项
20263
20284
  emptyRender: [Boolean, Object],
20264
20285
  // 自定义列配置项
@@ -20612,6 +20633,9 @@ function handleUupdateResize(_vm) {
20612
20633
  emptyOpts: function emptyOpts() {
20613
20634
  return Object.assign({}, src_conf.table.emptyRender, this.emptyRender);
20614
20635
  },
20636
+ loadingOpts: function loadingOpts() {
20637
+ return Object.assign({}, src_conf.table.loadingConfig, this.loadingConfig);
20638
+ },
20615
20639
  cellOffsetWidth: function cellOffsetWidth() {
20616
20640
  return this.border ? Math.max(2, Math.ceil(this.scrollbarWidth / this.tableColumn.length)) : 1;
20617
20641
  },
@@ -20947,7 +20971,8 @@ function handleUupdateResize(_vm) {
20947
20971
  footerTableData = this.footerTableData,
20948
20972
  hasTip = this.hasTip,
20949
20973
  columnOpts = this.columnOpts,
20950
- rowOpts = this.rowOpts;
20974
+ rowOpts = this.rowOpts,
20975
+ loadingOpts = this.loadingOpts;
20951
20976
  var leftList = columnStore.leftList,
20952
20977
  rightList = columnStore.rightList;
20953
20978
  return h('div', {
@@ -21064,7 +21089,9 @@ function handleUupdateResize(_vm) {
21064
21089
  h(packages_loading, {
21065
21090
  class: 'vxe-table--loading',
21066
21091
  props: {
21067
- loading: loading
21092
+ value: loading,
21093
+ icon: loadingOpts.icon,
21094
+ text: loadingOpts.text
21068
21095
  }
21069
21096
  }),
21070
21097
  /**
@@ -23683,7 +23710,7 @@ var msgQueue = [];
23683
23710
  !isMsg ? h(packages_loading, {
23684
23711
  class: 'vxe-modal--loading',
23685
23712
  props: {
23686
- loading: loading
23713
+ value: loading
23687
23714
  }
23688
23715
  }) : null]), showFooter ? h('div', {
23689
23716
  class: 'vxe-modal--footer'
@@ -27240,31 +27267,43 @@ function renderExtraSuffixIcon(h, _vm) {
27240
27267
  isGroup: function isGroup() {
27241
27268
  return this.$xecheckboxgroup;
27242
27269
  },
27270
+ isMaximize: function isMaximize() {
27271
+ return this.isGroup && this.$xecheckboxgroup.props.isMaximize;
27272
+ },
27243
27273
  isDisabled: function isDisabled() {
27244
- return this.disabled || this.isGroup && this.$xecheckboxgroup.disabled;
27274
+ if (this.disabled) {
27275
+ return true;
27276
+ }
27277
+
27278
+ if (this.isGroup) {
27279
+ var _this$$xecheckboxgrou = this.$xecheckboxgroup,
27280
+ disabled = _this$$xecheckboxgrou.disabled,
27281
+ isMaximize = _this$$xecheckboxgrou.isMaximize;
27282
+ return disabled || isMaximize && !this.isChecked;
27283
+ }
27284
+
27285
+ return false;
27286
+ },
27287
+ isChecked: function isChecked() {
27288
+ return this.isGroup ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.includes(this.$xecheckboxgroup.value, this.label) : this.value === this.checkedValue;
27245
27289
  }
27246
27290
  },
27247
27291
  render: function render(h) {
27248
27292
  var _ref;
27249
27293
 
27250
27294
  var $scopedSlots = this.$scopedSlots,
27251
- $xecheckboxgroup = this.$xecheckboxgroup,
27252
- isGroup = this.isGroup,
27253
27295
  isDisabled = this.isDisabled,
27254
27296
  title = this.title,
27255
27297
  vSize = this.vSize,
27256
27298
  indeterminate = this.indeterminate,
27257
- value = this.value,
27258
- label = this.label,
27259
27299
  content = this.content,
27260
- checkedValue = this.checkedValue;
27300
+ isChecked = this.isChecked;
27261
27301
  var attrs = {};
27262
27302
 
27263
27303
  if (title) {
27264
27304
  attrs.title = title;
27265
27305
  }
27266
27306
 
27267
- var isChecked = isGroup ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.includes($xecheckboxgroup.value, label) : value === checkedValue;
27268
27307
  return h('label', {
27269
27308
  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)],
27270
27309
  attrs: attrs
@@ -27497,6 +27536,22 @@ function getSelectLabel(_vm, value) {
27497
27536
  return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.toValueString(item ? item[_vm.labelField] : value);
27498
27537
  }
27499
27538
 
27539
+ function checkOptionDisabled(_vm, isSelected, option, group) {
27540
+ if (option.disabled) {
27541
+ return true;
27542
+ }
27543
+
27544
+ if (group && group.disabled) {
27545
+ return true;
27546
+ }
27547
+
27548
+ if (_vm.isMaximize && !isSelected) {
27549
+ return true;
27550
+ }
27551
+
27552
+ return false;
27553
+ }
27554
+
27500
27555
  function renderOption(h, _vm, list, group) {
27501
27556
  var isGroup = _vm.isGroup,
27502
27557
  labelField = _vm.labelField,
@@ -27509,16 +27564,17 @@ function renderOption(h, _vm, list, group) {
27509
27564
  var useKey = optionOpts.useKey;
27510
27565
  return list.map(function (option, cIndex) {
27511
27566
  var slots = option.slots;
27512
- var isVisible = !isGroup || isOptionVisible(option);
27513
- var isDisabled = group && group.disabled || option.disabled;
27514
27567
  var optionValue = option[valueField];
27568
+ var isSelected = multiple ? value && value.indexOf(optionValue) > -1 : value === optionValue;
27569
+ var isVisible = !isGroup || isOptionVisible(option);
27570
+ var isDisabled = checkOptionDisabled(_vm, isSelected, option, group);
27515
27571
  var optid = getOptid(_vm, option);
27516
27572
  var defaultSlot = slots ? slots.default : null;
27517
27573
  return isVisible ? h('div', {
27518
27574
  key: useKey || optionKey ? optid : cIndex,
27519
27575
  class: ['vxe-select-option', option.className, {
27520
27576
  'is--disabled': isDisabled,
27521
- 'is--selected': multiple ? value && value.indexOf(optionValue) > -1 : value === optionValue,
27577
+ 'is--selected': isSelected,
27522
27578
  'is--hover': currentValue === optionValue
27523
27579
  }],
27524
27580
  attrs: {
@@ -27629,6 +27685,7 @@ function select_renderOpts(h, _vm) {
27629
27685
  optionGroupProps: Object,
27630
27686
  optionConfig: Object,
27631
27687
  className: [String, Function],
27688
+ max: [String, Number],
27632
27689
  size: {
27633
27690
  type: String,
27634
27691
  default: function _default() {
@@ -27756,6 +27813,17 @@ function select_renderOpts(h, _vm) {
27756
27813
  }
27757
27814
 
27758
27815
  return getSelectLabel(this, value);
27816
+ },
27817
+ isMaximize: function isMaximize() {
27818
+ var value = this.value,
27819
+ multiple = this.multiple,
27820
+ max = this.max;
27821
+
27822
+ if (multiple && max) {
27823
+ return (value ? value.length : 0) >= external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.toNumber(max);
27824
+ }
27825
+
27826
+ return false;
27759
27827
  }
27760
27828
  },
27761
27829
  watch: {
@@ -34393,8 +34461,10 @@ function renderCustoms(h, _vm) {
34393
34461
  this.$nextTick(function () {
34394
34462
  var $xetable = _this.fintTable();
34395
34463
 
34396
- if (refresh && !_this.$xegrid && !refreshOpts.query) {
34397
- warnLog('vxe.error.notFunc', ['query']);
34464
+ var queryMethod = refreshOpts.queryMethod || refreshOpts.query;
34465
+
34466
+ if (refresh && !_this.$xegrid && !queryMethod) {
34467
+ warnLog('vxe.error.notFunc', ['queryMethod']);
34398
34468
  }
34399
34469
 
34400
34470
  if ($xetable) {
@@ -34703,11 +34773,13 @@ function renderCustoms(h, _vm) {
34703
34773
  isRefresh = this.isRefresh;
34704
34774
 
34705
34775
  if (!isRefresh) {
34706
- if (refreshOpts.query) {
34776
+ var queryMethod = refreshOpts.queryMethod || refreshOpts.query;
34777
+
34778
+ if (queryMethod) {
34707
34779
  this.isRefresh = true;
34708
34780
 
34709
34781
  try {
34710
- Promise.resolve(refreshOpts.query()).catch(function (e) {
34782
+ Promise.resolve(queryMethod({})).catch(function (e) {
34711
34783
  return e;
34712
34784
  }).then(function () {
34713
34785
  _this4.isRefresh = false;
@@ -34717,7 +34789,7 @@ function renderCustoms(h, _vm) {
34717
34789
  }
34718
34790
  } else if ($xegrid) {
34719
34791
  this.isRefresh = true;
34720
- $xegrid.commitProxy('reload').catch(function (e) {
34792
+ $xegrid.commitProxy(refreshOpts.code || 'reload').catch(function (e) {
34721
34793
  return e;
34722
34794
  }).then(function () {
34723
34795
  _this4.isRefresh = false;
@@ -35322,11 +35394,14 @@ var Checkbox = Object.assign(src_checkbox, {
35322
35394
 
35323
35395
 
35324
35396
 
35397
+
35398
+
35325
35399
  /* harmony default export */ var checkbox_src_group = ({
35326
35400
  name: 'VxeCheckboxGroup',
35327
35401
  props: {
35328
35402
  value: Array,
35329
35403
  disabled: Boolean,
35404
+ max: [String, Number],
35330
35405
  size: {
35331
35406
  type: String,
35332
35407
  default: function _default() {
@@ -35350,6 +35425,16 @@ var Checkbox = Object.assign(src_checkbox, {
35350
35425
  computed: {
35351
35426
  vSize: function vSize() {
35352
35427
  return this.size || this.$parent.size || this.$parent.vSize;
35428
+ },
35429
+ isMaximize: function isMaximize() {
35430
+ var value = this.value,
35431
+ max = this.max;
35432
+
35433
+ if (max) {
35434
+ return value.length >= external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.toNumber(max);
35435
+ }
35436
+
35437
+ return false;
35353
35438
  }
35354
35439
  },
35355
35440
  render: function render(h) {
@@ -37523,7 +37608,7 @@ function getResetValue(value, resetValue) {
37523
37608
  h(packages_loading, {
37524
37609
  class: 'vxe-form--loading',
37525
37610
  props: {
37526
- loading: loading
37611
+ value: loading
37527
37612
  }
37528
37613
  }),
37529
37614
  /**
@@ -38020,8 +38105,14 @@ var form_item_props = {
38020
38105
  size: String,
38021
38106
  span: [String, Number],
38022
38107
  align: String,
38023
- titleAlign: String,
38024
- titleWidth: [String, Number],
38108
+ titleAlign: {
38109
+ type: String,
38110
+ default: null
38111
+ },
38112
+ titleWidth: {
38113
+ type: [String, Number],
38114
+ default: null
38115
+ },
38025
38116
  titleColon: {
38026
38117
  type: Boolean,
38027
38118
  default: null
@@ -38062,6 +38153,10 @@ var form_item_renderItem = function renderItem(h, _vm, item, slots) {
38062
38153
  data = _vm.data,
38063
38154
  collapseAll = _vm.collapseAll,
38064
38155
  validOpts = _vm.validOpts,
38156
+ allTitleAlign = _vm.titleAlign,
38157
+ allTitleWidth = _vm.titleWidth,
38158
+ allTitleColon = _vm.titleColon,
38159
+ allTitleAsterisk = _vm.titleAsterisk,
38065
38160
  allTitleOverflow = _vm.titleOverflow;
38066
38161
  var title = item.title,
38067
38162
  folding = item.folding,
@@ -38077,8 +38172,10 @@ var form_item_renderItem = function renderItem(h, _vm, item, slots) {
38077
38172
  var itemClassName = compConf ? compConf.itemClassName : '';
38078
38173
  var span = item.span || _vm.span;
38079
38174
  var align = item.align || _vm.align;
38080
- var titleAlign = item.titleAlign || _vm.titleAlign;
38081
- var titleWidth = item.titleWidth || _vm.titleWidth;
38175
+ var titleAlign = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.eqNull(item.titleAlign) ? allTitleAlign : item.titleAlign;
38176
+ var titleWidth = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.eqNull(item.titleWidth) ? allTitleWidth : item.titleWidth;
38177
+ var titleColon = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.eqNull(item.titleColon) ? allTitleColon : item.titleColon;
38178
+ var titleAsterisk = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.eqNull(item.titleAsterisk) ? allTitleAsterisk : item.titleAsterisk;
38082
38179
  var itemOverflow = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isUndefined(titleOverflow) || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isNull(titleOverflow) ? allTitleOverflow : titleOverflow;
38083
38180
  var showEllipsis = itemOverflow === 'ellipsis';
38084
38181
  var showTitle = itemOverflow === 'title';
@@ -38128,6 +38225,8 @@ var form_item_renderItem = function renderItem(h, _vm, item, slots) {
38128
38225
  return h('div', {
38129
38226
  class: ['vxe-form--item', item.id, span ? "vxe-col--".concat(span, " is--span") : '', className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isFunction(className) ? className(params) : className : '', itemClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isFunction(itemClassName) ? itemClassName(params) : itemClassName : '', {
38130
38227
  'is--title': title,
38228
+ 'is--colon': titleColon,
38229
+ 'is--asterisk': titleAsterisk,
38131
38230
  'is--required': isRequired,
38132
38231
  'is--hidden': folding && collapseAll,
38133
38232
  'is--active': isActivetem(_vm, item),
@@ -38660,7 +38759,7 @@ var Switch = Object.assign(src_switch, {
38660
38759
  h(packages_loading, {
38661
38760
  class: 'vxe-list--loading',
38662
38761
  props: {
38663
- loading: loading
38762
+ value: loading
38664
38763
  }
38665
38764
  })]);
38666
38765
  },
@@ -39226,7 +39325,7 @@ var Pulldown = Object.assign(pulldown, {
39226
39325
  /* harmony default export */ var zh_CN = ({
39227
39326
  vxe: {
39228
39327
  loading: {
39229
- text: '加载中'
39328
+ text: '加载中...'
39230
39329
  },
39231
39330
  error: {
39232
39331
  groupFixed: '如果使用分组表头,固定列必须按组设置',