vxe-table 3.8.0-beta.9 → 3.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.umd.js CHANGED
@@ -11346,7 +11346,7 @@ var es_array_concat = __webpack_require__(8706);
11346
11346
 
11347
11347
 
11348
11348
  function getLog(message, params) {
11349
- return "[vxe-table v".concat("3.8.0-beta.9", "] ").concat(conf.i18n(message, params));
11349
+ return "[vxe-table v".concat("3.8.1", "] ").concat(conf.i18n(message, params));
11350
11350
  }
11351
11351
  function outLog(type) {
11352
11352
  return function (message, params) {
@@ -13067,7 +13067,7 @@ var setup = config;
13067
13067
  var globalStore = {};
13068
13068
  var VXETable = {
13069
13069
  v: v,
13070
- version: "3.8.0-beta.9",
13070
+ version: "3.8.1",
13071
13071
  reg: reg,
13072
13072
  use: use,
13073
13073
  setup: setup,
@@ -23877,7 +23877,7 @@ function handleUupdateResize(_vm) {
23877
23877
  /**
23878
23878
  * 表体
23879
23879
  */
23880
- h('vxe-table-body', {
23880
+ h(body, {
23881
23881
  ref: 'tableBody',
23882
23882
  props: {
23883
23883
  tableData: tableData,
@@ -38040,6 +38040,7 @@ var Textarea = VxeTextarea;
38040
38040
 
38041
38041
 
38042
38042
 
38043
+
38043
38044
  // import { warnLog } from '../../tools/log'
38044
38045
 
38045
38046
  /* harmony default export */ var button_src_button = ({
@@ -38091,10 +38092,16 @@ var Textarea = VxeTextarea;
38091
38092
  },
38092
38093
  computed: {
38093
38094
  isFormBtn: function isFormBtn() {
38094
- return ['submit', 'reset', 'button'].indexOf(this.type) > -1;
38095
+ var type = this.type;
38096
+ if (type) {
38097
+ return ['submit', 'reset', 'button'].indexOf(type) > -1;
38098
+ }
38099
+ return false;
38095
38100
  },
38096
- btnType: function btnType() {
38097
- return this.type === 'text' || this.mode === 'text' ? 'text' : 'button';
38101
+ btnMode: function btnMode() {
38102
+ var mode = this.mode,
38103
+ type = this.type;
38104
+ return mode === 'text' || type === 'text' ? 'text' : 'button';
38098
38105
  }
38099
38106
  },
38100
38107
  created: function created() {
@@ -38125,7 +38132,7 @@ var Textarea = VxeTextarea;
38125
38132
  destroyOnClose = this.destroyOnClose,
38126
38133
  isFormBtn = this.isFormBtn,
38127
38134
  status = this.status,
38128
- btnType = this.btnType,
38135
+ btnMode = this.btnMode,
38129
38136
  vSize = this.vSize,
38130
38137
  name = this.name,
38131
38138
  disabled = this.disabled,
@@ -38140,7 +38147,7 @@ var Textarea = VxeTextarea;
38140
38147
  }) : className : '', _defineProperty(_defineProperty({}, "size--".concat(vSize), vSize), 'is--active', showPanel)]
38141
38148
  }, [h('button', {
38142
38149
  ref: 'xBtn',
38143
- class: ['vxe-button', "type--".concat(btnType), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "size--".concat(vSize), vSize), "theme--".concat(status), status), 'is--round', this.round), 'is--circle', this.circle), 'is--disabled', disabled || loading), 'is--loading', loading)],
38150
+ class: ['vxe-button', "type--".concat(btnMode), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "size--".concat(vSize), vSize), "theme--".concat(status), status), 'is--round', this.round), 'is--circle', this.circle), 'is--disabled', disabled || loading), 'is--loading', loading)],
38144
38151
  attrs: {
38145
38152
  name: name,
38146
38153
  title: title,
@@ -38173,7 +38180,7 @@ var Textarea = VxeTextarea;
38173
38180
  }
38174
38181
  }, destroyOnClose && !showPanel ? [] : downsSlot.call(this, {}, h))] : null)]) : h('button', {
38175
38182
  ref: 'xBtn',
38176
- class: ['vxe-button', "type--".concat(btnType), className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(className) ? className({
38183
+ class: ['vxe-button', "type--".concat(btnMode), className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(className) ? className({
38177
38184
  $button: this
38178
38185
  }) : className : '', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "size--".concat(vSize), vSize), "theme--".concat(status), status), 'is--round', this.round), 'is--circle', this.circle), 'is--disabled', disabled || loading), 'is--loading', loading)],
38179
38186
  attrs: {