eoss 0.1.0-alpha.44 → 0.1.0-alpha.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.
Files changed (79) hide show
  1. package/lib/button-group.js +11 -9
  2. package/lib/button.js +5 -3
  3. package/lib/cascader.js +3 -3
  4. package/lib/color-picker.js +6 -3
  5. package/lib/data-table.js +60 -23
  6. package/lib/date-picker.js +5 -3
  7. package/lib/eoss.common.js +748 -332
  8. package/lib/flow.js +7 -9
  9. package/lib/form-editor.js +2 -3
  10. package/lib/index.js +1 -1
  11. package/lib/input-number.js +6 -2
  12. package/lib/input.js +148 -87
  13. package/lib/select.js +237 -15
  14. package/lib/selector.js +16 -4
  15. package/lib/switch.js +6 -3
  16. package/lib/table-column.js +49 -68
  17. package/lib/table.js +111 -90
  18. package/lib/tag.js +2 -0
  19. package/lib/theme-chalk/base.css +1 -1
  20. package/lib/theme-chalk/cascader.css +1 -1
  21. package/lib/theme-chalk/icons.css +1 -1
  22. package/lib/theme-chalk/index.css +1 -1
  23. package/lib/theme-chalk/main.css +1 -1
  24. package/lib/theme-chalk/pagination.css +1 -1
  25. package/lib/theme-chalk/select.css +1 -1
  26. package/lib/theme-chalk/table-column.css +1 -1
  27. package/lib/theme-chalk/table.css +1 -1
  28. package/lib/theme-chalk/tag.css +1 -1
  29. package/lib/time-picker.js +5 -3
  30. package/lib/time-select.js +5 -3
  31. package/lib/tree.js +17 -7
  32. package/lib/upload.js +85 -8
  33. package/package.json +1 -1
  34. package/packages/button/src/button-group.vue +9 -7
  35. package/packages/button/src/button.vue +7 -5
  36. package/packages/cascader/src/cascader.vue +1 -1
  37. package/packages/color-picker/src/color-picker.vue +4 -1
  38. package/packages/data-table/src/data-table.vue +32 -7
  39. package/packages/date-picker/src/picker.vue +3 -1
  40. package/packages/flow/src/selectUser.vue +12 -18
  41. package/packages/form-editor/src/form-editor.vue +0 -1
  42. package/packages/input/src/input.vue +94 -60
  43. package/packages/input-number/src/input-number.vue +5 -1
  44. package/packages/select/src/select.vue +208 -13
  45. package/packages/selector/src/selector.vue +10 -1
  46. package/packages/switch/src/switch.vue +4 -1
  47. package/packages/table/src/store/index.js +10 -1
  48. package/packages/table/src/table-column.js +7 -1
  49. package/packages/table/src/table-header.js +52 -7
  50. package/packages/table/src/util.js +35 -60
  51. package/packages/tag/src/tag.vue +2 -0
  52. package/packages/theme-chalk/src/base.scss +7 -0
  53. package/packages/theme-chalk/src/icons.scss +13 -1
  54. package/packages/theme-chalk/src/table.scss +18 -2
  55. package/packages/theme-chalk/src/tag.scss +303 -242
  56. package/packages/tree/src/tree.vue +13 -3
  57. package/packages/upload/src/index.vue +43 -8
  58. package/src/index.js +1 -1
  59. package/packages/flowOld/index.js +0 -7
  60. package/packages/flowOld/src/component/Circulate.vue +0 -464
  61. package/packages/flowOld/src/component/CustomPreset.vue +0 -343
  62. package/packages/flowOld/src/component/FileList.vue +0 -117
  63. package/packages/flowOld/src/component/FreeCirculation.vue +0 -278
  64. package/packages/flowOld/src/component/Preset.vue +0 -283
  65. package/packages/flowOld/src/component/SendMsg.vue +0 -309
  66. package/packages/flowOld/src/component/TimeLimit.vue +0 -223
  67. package/packages/flowOld/src/component/opinions-file.vue +0 -126
  68. package/packages/flowOld/src/component/opinions.vue +0 -429
  69. package/packages/flowOld/src/component/taskUnionExamine.vue +0 -832
  70. package/packages/flowOld/src/form.vue +0 -134
  71. package/packages/flowOld/src/freeStartFlow.vue +0 -2945
  72. package/packages/flowOld/src/main.vue +0 -4141
  73. package/packages/flowOld/src/processForm.vue +0 -1431
  74. package/packages/flowOld/src/processReject.vue +0 -338
  75. package/packages/flowOld/src/reset.vue +0 -964
  76. package/packages/flowOld/src/selectUser.vue +0 -520
  77. package/packages/flowOld/src/startTaskRead.vue +0 -737
  78. package/packages/flowOld/src/supervise.vue +0 -197
  79. package/packages/flowOld/src/table.vue +0 -71
package/lib/selector.js CHANGED
@@ -5007,7 +5007,7 @@ module.exports = require("axios");
5007
5007
  // ESM COMPAT FLAG
5008
5008
  __webpack_require__.r(__webpack_exports__);
5009
5009
 
5010
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/selector.vue?vue&type=template&id=72e3bae2&
5010
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/selector.vue?vue&type=template&id=015c6e04&
5011
5011
  var render = function () {
5012
5012
  var _vm = this
5013
5013
  var _h = _vm.$createElement
@@ -5268,7 +5268,7 @@ var staticRenderFns = []
5268
5268
  render._withStripped = true
5269
5269
 
5270
5270
 
5271
- // CONCATENATED MODULE: ./packages/selector/src/selector.vue?vue&type=template&id=72e3bae2&
5271
+ // CONCATENATED MODULE: ./packages/selector/src/selector.vue?vue&type=template&id=015c6e04&
5272
5272
 
5273
5273
  // EXTERNAL MODULE: ./src/utils/util.js
5274
5274
  var util = __webpack_require__(0);
@@ -5326,6 +5326,8 @@ var resize_event = __webpack_require__(39);
5326
5326
  var scrollbar = __webpack_require__(24);
5327
5327
 
5328
5328
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/selector.vue?vue&type=script&lang=js&
5329
+ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
5330
+
5329
5331
  //
5330
5332
  //
5331
5333
  //
@@ -5878,6 +5880,16 @@ var scrollbar = __webpack_require__(24);
5878
5880
  select: {
5879
5881
  type: Boolean,
5880
5882
  default: true
5883
+ },
5884
+ /**
5885
+ * ajax 配置
5886
+ * @type {Object}
5887
+ */
5888
+ ajaxConfig: {
5889
+ type: Object,
5890
+ default: function _default() {
5891
+ return {};
5892
+ }
5881
5893
  }
5882
5894
  },
5883
5895
  data: function data() {
@@ -6127,10 +6139,10 @@ var scrollbar = __webpack_require__(24);
6127
6139
  };
6128
6140
  params[this.keywords] = query;
6129
6141
  params = Object(util["q" /* extend */])({}, params, this.where);
6130
- Object(ajax["a" /* ajax */])({
6142
+ Object(ajax["a" /* ajax */])(_extends({
6131
6143
  url: this.action,
6132
6144
  params: params
6133
- }).then(function (res) {
6145
+ }, this.ajaxConfig)).then(function (res) {
6134
6146
  if (res.rCode === 0) {
6135
6147
  callback([].concat(options, res.results));
6136
6148
  }
package/lib/switch.js CHANGED
@@ -3612,7 +3612,7 @@ module.exports = require("vue");
3612
3612
  // ESM COMPAT FLAG
3613
3613
  __webpack_require__.r(__webpack_exports__);
3614
3614
 
3615
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/switch/src/switch.vue?vue&type=template&id=9d50ec44&
3615
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/switch/src/switch.vue?vue&type=template&id=dccc51b0&
3616
3616
  var render = function () {
3617
3617
  var _vm = this
3618
3618
  var _h = _vm.$createElement
@@ -3750,7 +3750,7 @@ var staticRenderFns = []
3750
3750
  render._withStripped = true
3751
3751
 
3752
3752
 
3753
- // CONCATENATED MODULE: ./packages/switch/src/switch.vue?vue&type=template&id=9d50ec44&
3753
+ // CONCATENATED MODULE: ./packages/switch/src/switch.vue?vue&type=template&id=dccc51b0&
3754
3754
 
3755
3755
  // EXTERNAL MODULE: ./src/mixins/emitter.js
3756
3756
  var emitter = __webpack_require__(15);
@@ -4137,7 +4137,10 @@ var migrating = __webpack_require__(46);
4137
4137
  if (this.activeColor || this.inactiveColor) {
4138
4138
  this.setBackgroundColor();
4139
4139
  }
4140
- this.$refs.input.checked = this.checked;
4140
+ // 只读态下内部 input 被 v-if 移除,需防护
4141
+ if (this.$refs.input) {
4142
+ this.$refs.input.checked = this.checked;
4143
+ }
4141
4144
  }
4142
4145
  });
4143
4146
  // CONCATENATED MODULE: ./packages/switch/src/switch.vue?vue&type=script&lang=js&
@@ -3608,7 +3608,13 @@ var columnIdSeed = 1;
3608
3608
  labelKey: String,
3609
3609
  valueKey: String,
3610
3610
  icon: String,
3611
- button: [String, Object],
3611
+ /**
3612
+ * 表头按钮配置
3613
+ * @type {String|Object|Array}
3614
+ * @description String 渲染文字按钮;Object 渲染图标按钮(icon/type/class/nativeType/event);
3615
+ * Array 渲染多个按钮,每项结构同 String/Object,Object 项的 event 回调签名为 ('', column, $event)
3616
+ */
3617
+ button: [String, Object, Array],
3612
3618
  className: String,
3613
3619
  labelClassName: String,
3614
3620
  property: String,
@@ -4181,8 +4187,10 @@ function isDefined(val) {
4181
4187
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return setColumnForcedProps; });
4182
4188
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return setColumnRenders; });
4183
4189
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return renderDom; });
4184
- /* harmony import */ var eoss_src_utils_util__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
4185
- /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(94);
4190
+ /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
4191
+ /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);
4192
+ /* harmony import */ var eoss_src_utils_util__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0);
4193
+ /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(94);
4186
4194
  var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
4187
4195
 
4188
4196
  var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
@@ -4191,6 +4199,7 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
4191
4199
 
4192
4200
 
4193
4201
 
4202
+
4194
4203
  var getCell = function getCell(event) {
4195
4204
  var cell = event.target;
4196
4205
 
@@ -4224,7 +4233,7 @@ var orderBy = function orderBy(array, sortKey, reverse, sortMethod, sortBy) {
4224
4233
  }
4225
4234
  return sortBy.map(function (by) {
4226
4235
  if (typeof by === 'string') {
4227
- return Object(eoss_src_utils_util__WEBPACK_IMPORTED_MODULE_0__[/* getValueByPath */ "w"])(value, by);
4236
+ return Object(eoss_src_utils_util__WEBPACK_IMPORTED_MODULE_1__[/* getValueByPath */ "w"])(value, by);
4228
4237
  } else {
4229
4238
  return by(value, index, array);
4230
4239
  }
@@ -4233,7 +4242,7 @@ var orderBy = function orderBy(array, sortKey, reverse, sortMethod, sortBy) {
4233
4242
  if (sortKey !== '$key') {
4234
4243
  if (isObject(value) && '$value' in value) value = value.$value;
4235
4244
  }
4236
- return [isObject(value) ? Object(eoss_src_utils_util__WEBPACK_IMPORTED_MODULE_0__[/* getValueByPath */ "w"])(value, sortKey) : value];
4245
+ return [isObject(value) ? Object(eoss_src_utils_util__WEBPACK_IMPORTED_MODULE_1__[/* getValueByPath */ "w"])(value, sortKey) : value];
4237
4246
  };
4238
4247
  var compare = function compare(a, b) {
4239
4248
  if (sortMethod) {
@@ -4679,7 +4688,7 @@ function defaultRenderCell(h, _ref2) {
4679
4688
  if (property && row) {
4680
4689
  try {
4681
4690
  // 假设getPropByPath是一个外部函数,需要确保它存在
4682
- var result = typeof eoss_src_utils_util__WEBPACK_IMPORTED_MODULE_0__[/* getPropByPath */ "u"] === 'function' ? Object(eoss_src_utils_util__WEBPACK_IMPORTED_MODULE_0__[/* getPropByPath */ "u"])(row, property) : { v: undefined };
4691
+ var result = typeof eoss_src_utils_util__WEBPACK_IMPORTED_MODULE_1__[/* getPropByPath */ "u"] === 'function' ? Object(eoss_src_utils_util__WEBPACK_IMPORTED_MODULE_1__[/* getPropByPath */ "u"])(row, property) : { v: undefined };
4683
4692
  value = result && result.v;
4684
4693
  } catch (error) {
4685
4694
  console.error('Error getting property value:', error);
@@ -4829,7 +4838,7 @@ function setColumnForcedProps(column) {
4829
4838
 
4830
4839
  // 对于特定类型的 column,某些属性不允许设置
4831
4840
  var type = column.type;
4832
- var source = _config__WEBPACK_IMPORTED_MODULE_1__[/* cellForced */ "a"][type] || {};
4841
+ var source = _config__WEBPACK_IMPORTED_MODULE_2__[/* cellForced */ "a"][type] || {};
4833
4842
 
4834
4843
  Object.keys(source).forEach(function (prop) {
4835
4844
  var value = source[prop];
@@ -4851,7 +4860,7 @@ function setColumnRenders(column) {
4851
4860
 
4852
4861
  // 对于特殊类型列(selection/index/expand),使用config中定义的渲染函数
4853
4862
  var type = column.type;
4854
- var forcedConfig = _config__WEBPACK_IMPORTED_MODULE_1__[/* cellForced */ "a"][type];
4863
+ var forcedConfig = _config__WEBPACK_IMPORTED_MODULE_2__[/* cellForced */ "a"][type];
4855
4864
 
4856
4865
  if (forcedConfig) {
4857
4866
  // 特殊类型列使用config中定义的渲染函数
@@ -4876,6 +4885,10 @@ function setColumnRenders(column) {
4876
4885
  column.renderHeader = function (h, _ref4) {
4877
4886
  var column = _ref4.column;
4878
4887
 
4888
+ // 必填列:标题前渲染红色星号,与 es-form-item 必填星号样式一致
4889
+ if (column.required) {
4890
+ return h('span', [h('span', { class: 'es-table__required-star' }, '*'), column.label]);
4891
+ }
4879
4892
  return h('span', column.label);
4880
4893
  };
4881
4894
  }
@@ -4924,7 +4937,13 @@ function renderDom(h, _ref5) {
4924
4937
 
4925
4938
  var className = config.className,
4926
4939
  configs = _objectWithoutProperties(config, ['className']);
4940
+ // 回写统一入口:行对象可能初始不含该列键(如新增空行),直接赋值会新增非响应式键,
4941
+ // 控件 value 与外部数据都感知不到回写,需用 Vue.set 补键
4942
+
4927
4943
 
4944
+ var setValue = function setValue(val) {
4945
+ vue__WEBPACK_IMPORTED_MODULE_0___default.a.set(data.row, data.column.prop, val);
4946
+ };
4928
4947
  switch (type) {
4929
4948
  case 'input':
4930
4949
  return h('es-input', {
@@ -4935,9 +4954,7 @@ function renderDom(h, _ref5) {
4935
4954
  value: data.row[data.column.prop]
4936
4955
  }),
4937
4956
  on: _extends({}, events, {
4938
- input: function input(val) {
4939
- data.row[data.column.prop] = val;
4940
- }
4957
+ input: setValue
4941
4958
  })
4942
4959
  });
4943
4960
  case 'textarea':
@@ -4950,9 +4967,7 @@ function renderDom(h, _ref5) {
4950
4967
  value: data.row[data.column.prop]
4951
4968
  }),
4952
4969
  on: _extends({}, events, {
4953
- input: function input(val) {
4954
- data.row[data.column.prop] = val;
4955
- }
4970
+ input: setValue
4956
4971
  })
4957
4972
  });
4958
4973
  case 'radio':
@@ -4965,9 +4980,7 @@ function renderDom(h, _ref5) {
4965
4980
  value: data.row[data.column.prop]
4966
4981
  }),
4967
4982
  on: _extends({}, events, {
4968
- input: function input(val) {
4969
- data.row[data.column.prop] = val;
4970
- }
4983
+ input: setValue
4971
4984
  })
4972
4985
  });
4973
4986
  case 'checkbox':
@@ -4980,9 +4993,7 @@ function renderDom(h, _ref5) {
4980
4993
  value: data.row[data.column.prop]
4981
4994
  }),
4982
4995
  on: _extends({}, events, {
4983
- input: function input(val) {
4984
- data.row[data.column.prop] = val;
4985
- }
4996
+ input: setValue
4986
4997
  })
4987
4998
  });
4988
4999
  case 'inputNumber':
@@ -4994,9 +5005,7 @@ function renderDom(h, _ref5) {
4994
5005
  value: data.row[data.column.prop]
4995
5006
  }),
4996
5007
  on: _extends({}, events, {
4997
- input: function input(val) {
4998
- data.row[data.column.prop] = val;
4999
- }
5008
+ input: setValue
5000
5009
  })
5001
5010
  });
5002
5011
  case 'select':
@@ -5009,9 +5018,7 @@ function renderDom(h, _ref5) {
5009
5018
  value: data.row[data.column.prop]
5010
5019
  }),
5011
5020
  on: _extends({}, events, {
5012
- input: function input(val) {
5013
- data.row[data.column.prop] = val;
5014
- }
5021
+ input: setValue
5015
5022
  })
5016
5023
  });
5017
5024
  case 'cascader':
@@ -5024,9 +5031,7 @@ function renderDom(h, _ref5) {
5024
5031
  value: data.row[data.column.prop]
5025
5032
  }),
5026
5033
  on: _extends({}, events, {
5027
- input: function input(val) {
5028
- data.row[data.column.prop] = val;
5029
- }
5034
+ input: setValue
5030
5035
  })
5031
5036
  });
5032
5037
  case 'switch':
@@ -5039,9 +5044,7 @@ function renderDom(h, _ref5) {
5039
5044
  value: data.row[data.column.prop]
5040
5045
  }),
5041
5046
  on: _extends({}, events, {
5042
- input: function input(val) {
5043
- data.row[data.column.prop] = val;
5044
- }
5047
+ input: setValue
5045
5048
  })
5046
5049
  });
5047
5050
  case 'slider':
@@ -5053,9 +5056,7 @@ function renderDom(h, _ref5) {
5053
5056
  value: data.row[data.column.prop]
5054
5057
  }),
5055
5058
  on: _extends({}, events, {
5056
- input: function input(val) {
5057
- data.row[data.column.prop] = val;
5058
- }
5059
+ input: setValue
5059
5060
  })
5060
5061
  });
5061
5062
  case 'year':
@@ -5068,9 +5069,7 @@ function renderDom(h, _ref5) {
5068
5069
  value: data.row[data.column.prop]
5069
5070
  }),
5070
5071
  on: _extends({}, events, {
5071
- input: function input(val) {
5072
- data.row[data.column.prop] = val;
5073
- }
5072
+ input: setValue
5074
5073
  })
5075
5074
  });
5076
5075
  case 'month':
@@ -5083,9 +5082,7 @@ function renderDom(h, _ref5) {
5083
5082
  value: data.row[data.column.prop]
5084
5083
  }),
5085
5084
  on: _extends({}, events, {
5086
- input: function input(val) {
5087
- data.row[data.column.prop] = val;
5088
- }
5085
+ input: setValue
5089
5086
  })
5090
5087
  });
5091
5088
  case 'date':
@@ -5098,9 +5095,7 @@ function renderDom(h, _ref5) {
5098
5095
  value: data.row[data.column.prop]
5099
5096
  }),
5100
5097
  on: _extends({}, events, {
5101
- input: function input(val) {
5102
- data.row[data.column.prop] = val;
5103
- }
5098
+ input: setValue
5104
5099
  })
5105
5100
  });
5106
5101
  case 'week':
@@ -5113,9 +5108,7 @@ function renderDom(h, _ref5) {
5113
5108
  value: data.row[data.column.prop]
5114
5109
  }),
5115
5110
  on: _extends({}, events, {
5116
- input: function input(val) {
5117
- data.row[data.column.prop] = val;
5118
- }
5111
+ input: setValue
5119
5112
  })
5120
5113
  });
5121
5114
  case 'datetime':
@@ -5128,9 +5121,7 @@ function renderDom(h, _ref5) {
5128
5121
  value: data.row[data.column.prop]
5129
5122
  }),
5130
5123
  on: _extends({}, events, {
5131
- input: function input(val) {
5132
- data.row[data.column.prop] = val;
5133
- }
5124
+ input: setValue
5134
5125
  })
5135
5126
  });
5136
5127
  case 'datetimerange':
@@ -5143,9 +5134,7 @@ function renderDom(h, _ref5) {
5143
5134
  value: data.row[data.column.prop]
5144
5135
  }),
5145
5136
  on: _extends({}, events, {
5146
- input: function input(val) {
5147
- data.row[data.column.prop] = val;
5148
- }
5137
+ input: setValue
5149
5138
  })
5150
5139
  });
5151
5140
  case 'daterange':
@@ -5158,9 +5147,7 @@ function renderDom(h, _ref5) {
5158
5147
  value: data.row[data.column.prop]
5159
5148
  }),
5160
5149
  on: _extends({}, events, {
5161
- input: function input(val) {
5162
- data.row[data.column.prop] = val;
5163
- }
5150
+ input: setValue
5164
5151
  })
5165
5152
  });
5166
5153
  case 'quarter':
@@ -5173,9 +5160,7 @@ function renderDom(h, _ref5) {
5173
5160
  value: data.row[data.column.prop]
5174
5161
  }),
5175
5162
  on: _extends({}, events, {
5176
- input: function input(val) {
5177
- data.row[data.column.prop] = val;
5178
- }
5163
+ input: setValue
5179
5164
  })
5180
5165
  });
5181
5166
  case 'halfyear':
@@ -5188,9 +5173,7 @@ function renderDom(h, _ref5) {
5188
5173
  value: data.row[data.column.prop]
5189
5174
  }),
5190
5175
  on: _extends({}, events, {
5191
- input: function input(val) {
5192
- data.row[data.column.prop] = val;
5193
- }
5176
+ input: setValue
5194
5177
  })
5195
5178
  });
5196
5179
  case 'time':
@@ -5203,9 +5186,7 @@ function renderDom(h, _ref5) {
5203
5186
  value: data.row[data.column.prop]
5204
5187
  }),
5205
5188
  on: _extends({}, events, {
5206
- input: function input(val) {
5207
- data.row[data.column.prop] = val;
5208
- }
5189
+ input: setValue
5209
5190
  })
5210
5191
  });
5211
5192
  case 'selector':
@@ -5217,9 +5198,7 @@ function renderDom(h, _ref5) {
5217
5198
  value: data.row[data.column.prop]
5218
5199
  }),
5219
5200
  on: _extends({}, events, {
5220
- input: function input(val) {
5221
- data.row[data.column.prop] = val;
5222
- }
5201
+ input: setValue
5223
5202
  })
5224
5203
  });
5225
5204
  case 'handle':
@@ -5228,6 +5207,7 @@ function renderDom(h, _ref5) {
5228
5207
  class: className,
5229
5208
  props: _extends({
5230
5209
  data: data.row,
5210
+ rowData: data,
5231
5211
  size: 'mini',
5232
5212
  type: 'text',
5233
5213
  stop: true
@@ -5240,6 +5220,7 @@ function renderDom(h, _ref5) {
5240
5220
  class: className,
5241
5221
  props: _extends({
5242
5222
  param: data.row,
5223
+ rowData: data,
5243
5224
  size: 'mini',
5244
5225
  stop: true
5245
5226
  }, configs),