eoss-ui 0.5.47 → 0.5.49

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 (82) hide show
  1. package/CHANGELOG.md +929 -0
  2. package/lib/data-table.js +7 -7
  3. package/lib/eoss-ui.common.js +135 -64
  4. package/lib/flow.js +7 -7
  5. package/lib/form.js +30 -3
  6. package/lib/index.js +1 -1
  7. package/lib/theme-chalk/flow.css +1 -1
  8. package/lib/theme-chalk/index.css +1 -1
  9. package/lib/theme-chalk/tree.css +1 -1
  10. package/lib/tree-group.js +33 -2
  11. package/lib/tree.js +22 -12
  12. package/lib/upload.js +11 -8
  13. package/package.json +2 -2
  14. package/packages/data-table/src/main.vue +2 -2
  15. package/packages/flow/src/main.vue +5 -5
  16. package/packages/form/src/main.vue +20 -1
  17. package/packages/theme-chalk/lib/base.css +1 -0
  18. package/packages/theme-chalk/lib/button-group.css +1 -0
  19. package/packages/theme-chalk/lib/button.css +1 -0
  20. package/packages/theme-chalk/lib/calendar.css +0 -0
  21. package/packages/theme-chalk/lib/card.css +1 -0
  22. package/packages/theme-chalk/lib/cascader.css +1 -0
  23. package/packages/theme-chalk/lib/checkbox-group.css +1 -0
  24. package/packages/theme-chalk/lib/clients.css +1 -0
  25. package/packages/theme-chalk/lib/data-table-form.css +1 -0
  26. package/packages/theme-chalk/lib/data-table.css +1 -0
  27. package/packages/theme-chalk/lib/date-picker.css +1 -0
  28. package/packages/theme-chalk/lib/dialog.css +1 -0
  29. package/packages/theme-chalk/lib/enterprise.css +1 -0
  30. package/packages/theme-chalk/lib/error-page.css +1 -0
  31. package/packages/theme-chalk/lib/flow-chart.css +0 -0
  32. package/packages/theme-chalk/lib/flow-group.css +1 -0
  33. package/packages/theme-chalk/lib/flow-list.css +1 -0
  34. package/packages/theme-chalk/lib/flow.css +1 -0
  35. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  36. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  37. package/packages/theme-chalk/lib/form.css +1 -0
  38. package/packages/theme-chalk/lib/handle-user.css +1 -0
  39. package/packages/theme-chalk/lib/handler.css +1 -0
  40. package/packages/theme-chalk/lib/icon.css +1 -0
  41. package/packages/theme-chalk/lib/icons.css +1 -0
  42. package/packages/theme-chalk/lib/index.css +1 -0
  43. package/packages/theme-chalk/lib/input-number.css +0 -0
  44. package/packages/theme-chalk/lib/input.css +1 -0
  45. package/packages/theme-chalk/lib/label.css +1 -0
  46. package/packages/theme-chalk/lib/layout.css +1 -0
  47. package/packages/theme-chalk/lib/login.css +1 -0
  48. package/packages/theme-chalk/lib/main.css +1 -0
  49. package/packages/theme-chalk/lib/mainComp.css +0 -0
  50. package/packages/theme-chalk/lib/menu.css +1 -0
  51. package/packages/theme-chalk/lib/nav.css +1 -0
  52. package/packages/theme-chalk/lib/notify.css +0 -0
  53. package/packages/theme-chalk/lib/page.css +1 -0
  54. package/packages/theme-chalk/lib/pagination.css +1 -0
  55. package/packages/theme-chalk/lib/player.css +1 -0
  56. package/packages/theme-chalk/lib/qr-code.css +1 -0
  57. package/packages/theme-chalk/lib/radio-group.css +1 -0
  58. package/packages/theme-chalk/lib/retrial-auth.css +1 -0
  59. package/packages/theme-chalk/lib/select-ganged.css +1 -0
  60. package/packages/theme-chalk/lib/select.css +1 -0
  61. package/packages/theme-chalk/lib/selector-panel.css +1 -0
  62. package/packages/theme-chalk/lib/selector.css +1 -0
  63. package/packages/theme-chalk/lib/sizer.css +1 -0
  64. package/packages/theme-chalk/lib/steps.css +1 -0
  65. package/packages/theme-chalk/lib/switch.css +1 -0
  66. package/packages/theme-chalk/lib/table-form.css +0 -0
  67. package/packages/theme-chalk/lib/tabs-panel.css +0 -0
  68. package/packages/theme-chalk/lib/tabs.css +1 -0
  69. package/packages/theme-chalk/lib/tips.css +1 -0
  70. package/packages/theme-chalk/lib/toolbar.css +1 -0
  71. package/packages/theme-chalk/lib/tree-group.css +1 -0
  72. package/packages/theme-chalk/lib/tree.css +1 -0
  73. package/packages/theme-chalk/lib/upload.css +1 -0
  74. package/packages/theme-chalk/lib/wujie.css +0 -0
  75. package/packages/theme-chalk/lib/wxlogin.css +1 -0
  76. package/packages/theme-chalk/src/flow.scss +2 -2
  77. package/packages/theme-chalk/src/tree.scss +7 -4
  78. package/packages/tree/src/main.vue +8 -5
  79. package/packages/tree-group/src/main.vue +10 -0
  80. package/packages/upload/src/main.vue +5 -3
  81. package/src/index.js +1 -1
  82. package/packages/theme-chalk/gulpfile.js +0 -25
package/lib/data-table.js CHANGED
@@ -3748,8 +3748,8 @@ module.exports = require("vue");
3748
3748
  // ESM COMPAT FLAG
3749
3749
  __webpack_require__.r(__webpack_exports__);
3750
3750
 
3751
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=5745f486&
3752
- var mainvue_type_template_id_5745f486_render = function () {
3751
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=3b2cc05b&
3752
+ var mainvue_type_template_id_3b2cc05b_render = function () {
3753
3753
  var _vm = this
3754
3754
  var _h = _vm.$createElement
3755
3755
  var _c = _vm._self._c || _h
@@ -4015,10 +4015,10 @@ var mainvue_type_template_id_5745f486_render = function () {
4015
4015
  )
4016
4016
  }
4017
4017
  var staticRenderFns = []
4018
- mainvue_type_template_id_5745f486_render._withStripped = true
4018
+ mainvue_type_template_id_3b2cc05b_render._withStripped = true
4019
4019
 
4020
4020
 
4021
- // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=5745f486&
4021
+ // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=3b2cc05b&
4022
4022
 
4023
4023
  // EXTERNAL MODULE: ./src/config/api.js
4024
4024
  var api = __webpack_require__(1);
@@ -7188,7 +7188,7 @@ var mainvue_type_script_lang_js_components, _watch;
7188
7188
  data: JSON.parse(JSON.stringify(data))
7189
7189
  }) : data;
7190
7190
  if (this.url) {
7191
- this.getTableData();
7191
+ this.getTableData({ where: this.wheres });
7192
7192
  }
7193
7193
  this.$emit('search', this.wheres);
7194
7194
  },
@@ -7208,7 +7208,7 @@ var mainvue_type_script_lang_js_components, _watch;
7208
7208
  data: JSON.parse(JSON.stringify(data))
7209
7209
  }) : data;
7210
7210
  if (this.url) {
7211
- this.getTableData();
7211
+ this.getTableData({ where: this.wheres });
7212
7212
  }
7213
7213
  this.$emit('submit', { data: this.wheres, show: show });
7214
7214
  },
@@ -7343,7 +7343,7 @@ var mainvue_type_script_lang_js_components, _watch;
7343
7343
 
7344
7344
  var main_component = Object(componentNormalizer["a" /* default */])(
7345
7345
  src_mainvue_type_script_lang_js_,
7346
- mainvue_type_template_id_5745f486_render,
7346
+ mainvue_type_template_id_3b2cc05b_render,
7347
7347
  staticRenderFns,
7348
7348
  false,
7349
7349
  null,
@@ -6255,8 +6255,8 @@ clients_src_main.install = function (Vue) {
6255
6255
  };
6256
6256
 
6257
6257
  /* harmony default export */ var clients = (clients_src_main);
6258
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=5745f486&
6259
- var mainvue_type_template_id_5745f486_render = function () {
6258
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=3b2cc05b&
6259
+ var mainvue_type_template_id_3b2cc05b_render = function () {
6260
6260
  var _vm = this
6261
6261
  var _h = _vm.$createElement
6262
6262
  var _c = _vm._self._c || _h
@@ -6521,11 +6521,11 @@ var mainvue_type_template_id_5745f486_render = function () {
6521
6521
  1
6522
6522
  )
6523
6523
  }
6524
- var mainvue_type_template_id_5745f486_staticRenderFns = []
6525
- mainvue_type_template_id_5745f486_render._withStripped = true
6524
+ var mainvue_type_template_id_3b2cc05b_staticRenderFns = []
6525
+ mainvue_type_template_id_3b2cc05b_render._withStripped = true
6526
6526
 
6527
6527
 
6528
- // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=5745f486&
6528
+ // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=3b2cc05b&
6529
6529
 
6530
6530
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/children.vue?vue&type=template&id=29bcbc72&
6531
6531
  var childrenvue_type_template_id_29bcbc72_render = function () {
@@ -9683,7 +9683,7 @@ var mainvue_type_script_lang_js_components, _watch;
9683
9683
  data: JSON.parse(JSON.stringify(data))
9684
9684
  }) : data;
9685
9685
  if (this.url) {
9686
- this.getTableData();
9686
+ this.getTableData({ where: this.wheres });
9687
9687
  }
9688
9688
  this.$emit('search', this.wheres);
9689
9689
  },
@@ -9703,7 +9703,7 @@ var mainvue_type_script_lang_js_components, _watch;
9703
9703
  data: JSON.parse(JSON.stringify(data))
9704
9704
  }) : data;
9705
9705
  if (this.url) {
9706
- this.getTableData();
9706
+ this.getTableData({ where: this.wheres });
9707
9707
  }
9708
9708
  this.$emit('submit', { data: this.wheres, show: show });
9709
9709
  },
@@ -9838,8 +9838,8 @@ var mainvue_type_script_lang_js_components, _watch;
9838
9838
 
9839
9839
  var data_table_src_main_component = normalizeComponent(
9840
9840
  packages_data_table_src_mainvue_type_script_lang_js_,
9841
- mainvue_type_template_id_5745f486_render,
9842
- mainvue_type_template_id_5745f486_staticRenderFns,
9841
+ mainvue_type_template_id_3b2cc05b_render,
9842
+ mainvue_type_template_id_3b2cc05b_staticRenderFns,
9843
9843
  false,
9844
9844
  null,
9845
9845
  null,
@@ -13307,8 +13307,8 @@ error_page_src_main.install = function (Vue) {
13307
13307
  };
13308
13308
 
13309
13309
  /* harmony default export */ var error_page = (error_page_src_main);
13310
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=7d054bca&
13311
- var mainvue_type_template_id_7d054bca_render = function () {
13310
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=6490929d&
13311
+ var mainvue_type_template_id_6490929d_render = function () {
13312
13312
  var _vm = this
13313
13313
  var _h = _vm.$createElement
13314
13314
  var _c = _vm._self._c || _h
@@ -13345,6 +13345,14 @@ var mainvue_type_template_id_7d054bca_render = function () {
13345
13345
  "element-loading-spinner": "el-icon-loading",
13346
13346
  "element-loading-background": "rgba(0, 0, 0, 0.65)",
13347
13347
  },
13348
+ on: {
13349
+ keyup: function ($event) {
13350
+ if (!("button" in $event) && $event.keyCode !== 13) {
13351
+ return null
13352
+ }
13353
+ return _vm.handleEnter($event)
13354
+ },
13355
+ },
13348
13356
  },
13349
13357
  "el-form",
13350
13358
  _vm.$attrs,
@@ -24224,11 +24232,11 @@ var mainvue_type_template_id_7d054bca_render = function () {
24224
24232
  )
24225
24233
  : _vm._e()
24226
24234
  }
24227
- var mainvue_type_template_id_7d054bca_staticRenderFns = []
24228
- mainvue_type_template_id_7d054bca_render._withStripped = true
24235
+ var mainvue_type_template_id_6490929d_staticRenderFns = []
24236
+ mainvue_type_template_id_6490929d_render._withStripped = true
24229
24237
 
24230
24238
 
24231
- // CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=7d054bca&
24239
+ // CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=6490929d&
24232
24240
 
24233
24241
  // CONCATENATED MODULE: ./src/utils/rules.js
24234
24242
  // 手机号
@@ -28129,6 +28137,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
28129
28137
  //
28130
28138
  //
28131
28139
  //
28140
+ //
28132
28141
 
28133
28142
 
28134
28143
 
@@ -28301,7 +28310,8 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
28301
28310
  },
28302
28311
  zoom: false,
28303
28312
  showMsg: true,
28304
- validated: Function
28313
+ validated: Function,
28314
+ enterSubmit: Boolean
28305
28315
  },
28306
28316
  data: function data() {
28307
28317
  return {
@@ -28591,6 +28601,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
28591
28601
 
28592
28602
  this.$nextTick(function () {
28593
28603
  !_this3.height && _this3.getHeight();
28604
+ _this3.$refs.esForm.$el.addEventListener('keyup', _this3.handleEnter);
28594
28605
  });
28595
28606
  },
28596
28607
 
@@ -29353,7 +29364,23 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
29353
29364
  data: data,
29354
29365
  attrs: attrs
29355
29366
  });
29367
+ },
29368
+ handleEnter: function handleEnter() {
29369
+ if (!this.enterSubmit) {
29370
+ return;
29371
+ }
29372
+ if (utils_util["a" /* default */].win.event == undefined) {
29373
+ var key = e.keyCode;
29374
+ } else {
29375
+ var key = utils_util["a" /* default */].win.event.keyCode;
29376
+ }
29377
+ if (key == 13) {
29378
+ this.handleClick({ event: 'submit' });
29379
+ }
29356
29380
  }
29381
+ },
29382
+ beforeDestroy: function beforeDestroy() {
29383
+ this.$refs.esForm.$el.removeEventListener('keyup', this.handleEnter);
29357
29384
  }
29358
29385
  });
29359
29386
  // CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=script&lang=js&
@@ -29368,8 +29395,8 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
29368
29395
 
29369
29396
  var form_src_main_component = normalizeComponent(
29370
29397
  packages_form_src_mainvue_type_script_lang_js_,
29371
- mainvue_type_template_id_7d054bca_render,
29372
- mainvue_type_template_id_7d054bca_staticRenderFns,
29398
+ mainvue_type_template_id_6490929d_render,
29399
+ mainvue_type_template_id_6490929d_staticRenderFns,
29373
29400
  false,
29374
29401
  null,
29375
29402
  null,
@@ -29386,8 +29413,8 @@ form_src_main.install = function (Vue) {
29386
29413
  };
29387
29414
 
29388
29415
  /* harmony default export */ var packages_form = (form_src_main);
29389
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=53041718&
29390
- var mainvue_type_template_id_53041718_render = function () {
29416
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=5512ddf8&
29417
+ var mainvue_type_template_id_5512ddf8_render = function () {
29391
29418
  var _vm = this
29392
29419
  var _h = _vm.$createElement
29393
29420
  var _c = _vm._self._c || _h
@@ -30615,7 +30642,7 @@ var mainvue_type_template_id_53041718_render = function () {
30615
30642
  ? _c(
30616
30643
  "el-button",
30617
30644
  {
30618
- staticClass: "btn",
30645
+ staticClass: "es-flow-btn",
30619
30646
  on: {
30620
30647
  click: _vm.taskReadBtn,
30621
30648
  },
@@ -30628,7 +30655,7 @@ var mainvue_type_template_id_53041718_render = function () {
30628
30655
  "el-button",
30629
30656
  {
30630
30657
  key: item.key,
30631
- staticClass: "btn",
30658
+ staticClass: "es-flow-btn",
30632
30659
  on: {
30633
30660
  click: function ($event) {
30634
30661
  _vm.goView(item)
@@ -30739,7 +30766,7 @@ var mainvue_type_template_id_53041718_render = function () {
30739
30766
  "div",
30740
30767
  {
30741
30768
  staticClass:
30742
- "btn",
30769
+ "es-flow-btn",
30743
30770
  on: {
30744
30771
  click:
30745
30772
  function (
@@ -30773,7 +30800,7 @@ var mainvue_type_template_id_53041718_render = function () {
30773
30800
  "div",
30774
30801
  {
30775
30802
  staticClass:
30776
- "btn",
30803
+ "es-flow-btn",
30777
30804
  on: {
30778
30805
  click:
30779
30806
  _vm.taskReadBtn,
@@ -30858,7 +30885,7 @@ var mainvue_type_template_id_53041718_render = function () {
30858
30885
  ? _c(
30859
30886
  "el-button",
30860
30887
  {
30861
- staticClass: "btn",
30888
+ staticClass: "es-flow-btn",
30862
30889
  staticStyle: { "margin-left": "0px" },
30863
30890
  attrs: { size: "medium" },
30864
30891
  on: { click: _vm.taskReadBtn },
@@ -31106,11 +31133,11 @@ var mainvue_type_template_id_53041718_render = function () {
31106
31133
  )
31107
31134
  : _vm._e()
31108
31135
  }
31109
- var mainvue_type_template_id_53041718_staticRenderFns = []
31110
- mainvue_type_template_id_53041718_render._withStripped = true
31136
+ var mainvue_type_template_id_5512ddf8_staticRenderFns = []
31137
+ mainvue_type_template_id_5512ddf8_render._withStripped = true
31111
31138
 
31112
31139
 
31113
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=53041718&
31140
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=5512ddf8&
31114
31141
 
31115
31142
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=4e1f4030&
31116
31143
  var CommonOpinionsvue_type_template_id_4e1f4030_render = function () {
@@ -40553,8 +40580,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
40553
40580
 
40554
40581
  var flow_src_main_component = normalizeComponent(
40555
40582
  packages_flow_src_mainvue_type_script_lang_js_,
40556
- mainvue_type_template_id_53041718_render,
40557
- mainvue_type_template_id_53041718_staticRenderFns,
40583
+ mainvue_type_template_id_5512ddf8_render,
40584
+ mainvue_type_template_id_5512ddf8_staticRenderFns,
40558
40585
  false,
40559
40586
  null,
40560
40587
  null,
@@ -64374,8 +64401,8 @@ tips_src_main.install = function (Vue) {
64374
64401
  };
64375
64402
 
64376
64403
  /* harmony default export */ var tips = (tips_src_main);
64377
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree/src/main.vue?vue&type=template&id=ad13099c&
64378
- var mainvue_type_template_id_ad13099c_render = function () {
64404
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree/src/main.vue?vue&type=template&id=46b753a5&
64405
+ var mainvue_type_template_id_46b753a5_render = function () {
64379
64406
  var _vm = this
64380
64407
  var _h = _vm.$createElement
64381
64408
  var _c = _vm._self._c || _h
@@ -64410,20 +64437,27 @@ var mainvue_type_template_id_ad13099c_render = function () {
64410
64437
  _vm._v(_vm._s(_vm.title)),
64411
64438
  ])
64412
64439
  : _vm._e(),
64413
- _vm.showSearch || _vm.$slots.filtrate
64440
+ _vm.showSearch || _vm.$slots.filtrate || _vm.$slots.button
64414
64441
  ? _c(
64415
64442
  "div",
64416
64443
  { staticClass: "es-tree-search" },
64417
64444
  [
64418
- _c(
64419
- "div",
64420
- {
64421
- staticClass: "es-tree-filtrate",
64422
- class: { "es-tree-hasfiltrate": _vm.$slots.filtrate },
64423
- },
64424
- [_vm._t("filtrate")],
64425
- 2
64426
- ),
64445
+ _vm.$slots.filtrate
64446
+ ? _c(
64447
+ "div",
64448
+ { staticClass: "es-tree-filtrate" },
64449
+ [_vm._t("filtrate")],
64450
+ 2
64451
+ )
64452
+ : _vm._e(),
64453
+ _vm.$slots.button
64454
+ ? _c(
64455
+ "div",
64456
+ { staticClass: "es-tree-button" },
64457
+ [_vm._t("button")],
64458
+ 2
64459
+ )
64460
+ : _vm._e(),
64427
64461
  _vm.showSearch
64428
64462
  ? [
64429
64463
  _vm.search.type && _vm.search.type === "select"
@@ -64564,11 +64598,11 @@ var mainvue_type_template_id_ad13099c_render = function () {
64564
64598
  )
64565
64599
  : _vm._e()
64566
64600
  }
64567
- var mainvue_type_template_id_ad13099c_staticRenderFns = []
64568
- mainvue_type_template_id_ad13099c_render._withStripped = true
64601
+ var mainvue_type_template_id_46b753a5_staticRenderFns = []
64602
+ mainvue_type_template_id_46b753a5_render._withStripped = true
64569
64603
 
64570
64604
 
64571
- // CONCATENATED MODULE: ./packages/tree/src/main.vue?vue&type=template&id=ad13099c&
64605
+ // CONCATENATED MODULE: ./packages/tree/src/main.vue?vue&type=template&id=46b753a5&
64572
64606
 
64573
64607
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree/src/main.vue?vue&type=script&lang=js&
64574
64608
  //
@@ -64656,6 +64690,9 @@ mainvue_type_template_id_ad13099c_render._withStripped = true
64656
64690
  //
64657
64691
  //
64658
64692
  //
64693
+ //
64694
+ //
64695
+ //
64659
64696
 
64660
64697
 
64661
64698
 
@@ -65256,8 +65293,8 @@ mainvue_type_template_id_ad13099c_render._withStripped = true
65256
65293
 
65257
65294
  var tree_src_main_component = normalizeComponent(
65258
65295
  packages_tree_src_mainvue_type_script_lang_js_,
65259
- mainvue_type_template_id_ad13099c_render,
65260
- mainvue_type_template_id_ad13099c_staticRenderFns,
65296
+ mainvue_type_template_id_46b753a5_render,
65297
+ mainvue_type_template_id_46b753a5_staticRenderFns,
65261
65298
  false,
65262
65299
  null,
65263
65300
  null,
@@ -65274,8 +65311,8 @@ tree_src_main.install = function (Vue) {
65274
65311
  };
65275
65312
 
65276
65313
  /* harmony default export */ var packages_tree = (tree_src_main);
65277
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree-group/src/main.vue?vue&type=template&id=074a6d7c&
65278
- var mainvue_type_template_id_074a6d7c_render = function () {
65314
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree-group/src/main.vue?vue&type=template&id=4e84bbcc&
65315
+ var mainvue_type_template_id_4e84bbcc_render = function () {
65279
65316
  var _vm = this
65280
65317
  var _h = _vm.$createElement
65281
65318
  var _c = _vm._self._c || _h
@@ -65447,6 +65484,27 @@ var mainvue_type_template_id_074a6d7c_render = function () {
65447
65484
  1
65448
65485
  )
65449
65486
  : _vm._e(),
65487
+ _vm.buttons
65488
+ ? _c(
65489
+ "template",
65490
+ { slot: "button" },
65491
+ _vm._l(_vm.buttons, function (item, index) {
65492
+ return _c(
65493
+ "es-button",
65494
+ _vm._g(
65495
+ _vm._b(
65496
+ { key: index, attrs: { size: "small" } },
65497
+ "es-button",
65498
+ item,
65499
+ false
65500
+ ),
65501
+ item.events
65502
+ )
65503
+ )
65504
+ }),
65505
+ 1
65506
+ )
65507
+ : _vm._e(),
65450
65508
  ],
65451
65509
  2
65452
65510
  ),
@@ -65604,11 +65662,11 @@ var mainvue_type_template_id_074a6d7c_render = function () {
65604
65662
  2
65605
65663
  )
65606
65664
  }
65607
- var mainvue_type_template_id_074a6d7c_staticRenderFns = []
65608
- mainvue_type_template_id_074a6d7c_render._withStripped = true
65665
+ var mainvue_type_template_id_4e84bbcc_staticRenderFns = []
65666
+ mainvue_type_template_id_4e84bbcc_render._withStripped = true
65609
65667
 
65610
65668
 
65611
- // CONCATENATED MODULE: ./packages/tree-group/src/main.vue?vue&type=template&id=074a6d7c&
65669
+ // CONCATENATED MODULE: ./packages/tree-group/src/main.vue?vue&type=template&id=4e84bbcc&
65612
65670
 
65613
65671
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree-group/src/main.vue?vue&type=script&lang=js&
65614
65672
  var tree_group_src_mainvue_type_script_lang_js_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; };
@@ -65787,6 +65845,15 @@ var tree_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
65787
65845
  //
65788
65846
  //
65789
65847
  //
65848
+ //
65849
+ //
65850
+ //
65851
+ //
65852
+ //
65853
+ //
65854
+ //
65855
+ //
65856
+ //
65790
65857
 
65791
65858
 
65792
65859
  /* harmony default export */ var tree_group_src_mainvue_type_script_lang_js_ = ({
@@ -65819,6 +65886,7 @@ var tree_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
65819
65886
  },
65820
65887
  triggerType: Array,
65821
65888
  enterprise: [Object, Boolean],
65889
+ buttons: Array,
65822
65890
  table: Object,
65823
65891
  form: Object,
65824
65892
  tabs: Array,
@@ -66143,8 +66211,8 @@ var tree_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
66143
66211
 
66144
66212
  var tree_group_src_main_component = normalizeComponent(
66145
66213
  packages_tree_group_src_mainvue_type_script_lang_js_,
66146
- mainvue_type_template_id_074a6d7c_render,
66147
- mainvue_type_template_id_074a6d7c_staticRenderFns,
66214
+ mainvue_type_template_id_4e84bbcc_render,
66215
+ mainvue_type_template_id_4e84bbcc_staticRenderFns,
66148
66216
  false,
66149
66217
  null,
66150
66218
  null,
@@ -70554,8 +70622,8 @@ form_src_table.install = function (Vue) {
70554
70622
  };
70555
70623
 
70556
70624
  /* harmony default export */ var table_form = (form_src_table);
70557
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/main.vue?vue&type=template&id=3d54363f&
70558
- var mainvue_type_template_id_3d54363f_render = function () {
70625
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/main.vue?vue&type=template&id=6ac7d26c&
70626
+ var mainvue_type_template_id_6ac7d26c_render = function () {
70559
70627
  var _vm = this
70560
70628
  var _h = _vm.$createElement
70561
70629
  var _c = _vm._self._c || _h
@@ -70596,6 +70664,7 @@ var mainvue_type_template_id_3d54363f_render = function () {
70596
70664
  preview: _vm.preview,
70597
70665
  exclude: _vm.excludes,
70598
70666
  download: _vm.isDownload,
70667
+ deleted: _vm.isRemove,
70599
70668
  icons: _vm._icons,
70600
70669
  picture: _vm._picture,
70601
70670
  "before-upload": _vm.handleBeforeUpload,
@@ -70934,11 +71003,11 @@ var mainvue_type_template_id_3d54363f_render = function () {
70934
71003
  )
70935
71004
  : _vm._e()
70936
71005
  }
70937
- var mainvue_type_template_id_3d54363f_staticRenderFns = []
70938
- mainvue_type_template_id_3d54363f_render._withStripped = true
71006
+ var mainvue_type_template_id_6ac7d26c_staticRenderFns = []
71007
+ mainvue_type_template_id_6ac7d26c_render._withStripped = true
70939
71008
 
70940
71009
 
70941
- // CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=3d54363f&
71010
+ // CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=6ac7d26c&
70942
71011
 
70943
71012
  // CONCATENATED MODULE: ./packages/upload/src/picture.js
70944
71013
  /* harmony default export */ var picture = ({
@@ -71142,6 +71211,7 @@ var mainvue_type_script_lang_js_props;
71142
71211
  //
71143
71212
  //
71144
71213
  //
71214
+ //
71145
71215
 
71146
71216
 
71147
71217
 
@@ -71455,10 +71525,11 @@ var mainvue_type_script_lang_js_props;
71455
71525
  return this.readonly || (this.elForm || {}).readonly;
71456
71526
  },
71457
71527
  isRemove: function isRemove() {
71458
- if (this.remove || this.deleted) {
71459
- return true;
71528
+ console.log(this.remove, this.deleted, 999);
71529
+ if (this.remove == false || this.deleted == false) {
71530
+ return false;
71460
71531
  }
71461
- return false;
71532
+ return true;
71462
71533
  },
71463
71534
  isSort: function isSort() {
71464
71535
  return this.dragSort && !this.isDisabled && this.isReadonly;
@@ -72024,8 +72095,8 @@ var mainvue_type_script_lang_js_props;
72024
72095
 
72025
72096
  var upload_src_main_component = normalizeComponent(
72026
72097
  packages_upload_src_mainvue_type_script_lang_js_,
72027
- mainvue_type_template_id_3d54363f_render,
72028
- mainvue_type_template_id_3d54363f_staticRenderFns,
72098
+ mainvue_type_template_id_6ac7d26c_render,
72099
+ mainvue_type_template_id_6ac7d26c_staticRenderFns,
72029
72100
  false,
72030
72101
  null,
72031
72102
  null,
@@ -72501,7 +72572,7 @@ if (typeof window !== 'undefined' && window.Vue) {
72501
72572
  }
72502
72573
 
72503
72574
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
72504
- version: '0.5.47',
72575
+ version: '0.5.49',
72505
72576
  install: install,
72506
72577
  Button: packages_button,
72507
72578
  ButtonGroup: button_group,
package/lib/flow.js CHANGED
@@ -3905,7 +3905,7 @@ var component = Object(componentNormalizer["a" /* default */])(
3905
3905
  // ESM COMPAT FLAG
3906
3906
  __webpack_require__.r(__webpack_exports__);
3907
3907
 
3908
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=53041718&
3908
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=5512ddf8&
3909
3909
  var render = function () {
3910
3910
  var _vm = this
3911
3911
  var _h = _vm.$createElement
@@ -5134,7 +5134,7 @@ var render = function () {
5134
5134
  ? _c(
5135
5135
  "el-button",
5136
5136
  {
5137
- staticClass: "btn",
5137
+ staticClass: "es-flow-btn",
5138
5138
  on: {
5139
5139
  click: _vm.taskReadBtn,
5140
5140
  },
@@ -5147,7 +5147,7 @@ var render = function () {
5147
5147
  "el-button",
5148
5148
  {
5149
5149
  key: item.key,
5150
- staticClass: "btn",
5150
+ staticClass: "es-flow-btn",
5151
5151
  on: {
5152
5152
  click: function ($event) {
5153
5153
  _vm.goView(item)
@@ -5258,7 +5258,7 @@ var render = function () {
5258
5258
  "div",
5259
5259
  {
5260
5260
  staticClass:
5261
- "btn",
5261
+ "es-flow-btn",
5262
5262
  on: {
5263
5263
  click:
5264
5264
  function (
@@ -5292,7 +5292,7 @@ var render = function () {
5292
5292
  "div",
5293
5293
  {
5294
5294
  staticClass:
5295
- "btn",
5295
+ "es-flow-btn",
5296
5296
  on: {
5297
5297
  click:
5298
5298
  _vm.taskReadBtn,
@@ -5377,7 +5377,7 @@ var render = function () {
5377
5377
  ? _c(
5378
5378
  "el-button",
5379
5379
  {
5380
- staticClass: "btn",
5380
+ staticClass: "es-flow-btn",
5381
5381
  staticStyle: { "margin-left": "0px" },
5382
5382
  attrs: { size: "medium" },
5383
5383
  on: { click: _vm.taskReadBtn },
@@ -5629,7 +5629,7 @@ var staticRenderFns = []
5629
5629
  render._withStripped = true
5630
5630
 
5631
5631
 
5632
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=53041718&
5632
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=5512ddf8&
5633
5633
 
5634
5634
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
5635
5635
  var regenerator_ = __webpack_require__(12);