eoss-ui 0.5.46 → 0.5.47

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 (77) hide show
  1. package/lib/button.js +2 -9
  2. package/lib/data-table.js +27 -36
  3. package/lib/dialog.js +4 -11
  4. package/lib/eoss-ui.common.js +70 -110
  5. package/lib/flow-group.js +7 -19
  6. package/lib/handle-user.js +3 -9
  7. package/lib/index.js +1 -1
  8. package/lib/toolbar.js +9 -8
  9. package/package.json +1 -1
  10. package/packages/button/src/main.vue +2 -9
  11. package/packages/data-table/src/main.vue +28 -27
  12. package/packages/dialog/src/main.vue +2 -9
  13. package/packages/flow-group/src/main.vue +5 -17
  14. package/packages/handle-user/src/main.vue +1 -7
  15. package/packages/theme-chalk/gulpfile.js +25 -0
  16. package/packages/toolbar/src/main.vue +9 -8
  17. package/src/index.js +1 -1
  18. package/CHANGELOG.md +0 -929
  19. package/packages/theme-chalk/lib/base.css +0 -1
  20. package/packages/theme-chalk/lib/button-group.css +0 -1
  21. package/packages/theme-chalk/lib/button.css +0 -1
  22. package/packages/theme-chalk/lib/calendar.css +0 -0
  23. package/packages/theme-chalk/lib/card.css +0 -1
  24. package/packages/theme-chalk/lib/cascader.css +0 -1
  25. package/packages/theme-chalk/lib/checkbox-group.css +0 -1
  26. package/packages/theme-chalk/lib/clients.css +0 -1
  27. package/packages/theme-chalk/lib/data-table-form.css +0 -1
  28. package/packages/theme-chalk/lib/data-table.css +0 -1
  29. package/packages/theme-chalk/lib/date-picker.css +0 -1
  30. package/packages/theme-chalk/lib/dialog.css +0 -1
  31. package/packages/theme-chalk/lib/enterprise.css +0 -1
  32. package/packages/theme-chalk/lib/error-page.css +0 -1
  33. package/packages/theme-chalk/lib/flow-chart.css +0 -0
  34. package/packages/theme-chalk/lib/flow-group.css +0 -1
  35. package/packages/theme-chalk/lib/flow-list.css +0 -1
  36. package/packages/theme-chalk/lib/flow.css +0 -1
  37. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  38. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  39. package/packages/theme-chalk/lib/form.css +0 -1
  40. package/packages/theme-chalk/lib/handle-user.css +0 -1
  41. package/packages/theme-chalk/lib/handler.css +0 -1
  42. package/packages/theme-chalk/lib/icon.css +0 -1
  43. package/packages/theme-chalk/lib/icons.css +0 -1
  44. package/packages/theme-chalk/lib/index.css +0 -1
  45. package/packages/theme-chalk/lib/input-number.css +0 -0
  46. package/packages/theme-chalk/lib/input.css +0 -1
  47. package/packages/theme-chalk/lib/label.css +0 -1
  48. package/packages/theme-chalk/lib/layout.css +0 -1
  49. package/packages/theme-chalk/lib/login.css +0 -1
  50. package/packages/theme-chalk/lib/main.css +0 -1
  51. package/packages/theme-chalk/lib/mainComp.css +0 -0
  52. package/packages/theme-chalk/lib/menu.css +0 -1
  53. package/packages/theme-chalk/lib/nav.css +0 -1
  54. package/packages/theme-chalk/lib/notify.css +0 -0
  55. package/packages/theme-chalk/lib/page.css +0 -1
  56. package/packages/theme-chalk/lib/pagination.css +0 -1
  57. package/packages/theme-chalk/lib/player.css +0 -1
  58. package/packages/theme-chalk/lib/qr-code.css +0 -1
  59. package/packages/theme-chalk/lib/radio-group.css +0 -1
  60. package/packages/theme-chalk/lib/retrial-auth.css +0 -1
  61. package/packages/theme-chalk/lib/select-ganged.css +0 -1
  62. package/packages/theme-chalk/lib/select.css +0 -1
  63. package/packages/theme-chalk/lib/selector-panel.css +0 -1
  64. package/packages/theme-chalk/lib/selector.css +0 -1
  65. package/packages/theme-chalk/lib/sizer.css +0 -1
  66. package/packages/theme-chalk/lib/steps.css +0 -1
  67. package/packages/theme-chalk/lib/switch.css +0 -1
  68. package/packages/theme-chalk/lib/table-form.css +0 -0
  69. package/packages/theme-chalk/lib/tabs-panel.css +0 -0
  70. package/packages/theme-chalk/lib/tabs.css +0 -1
  71. package/packages/theme-chalk/lib/tips.css +0 -1
  72. package/packages/theme-chalk/lib/toolbar.css +0 -1
  73. package/packages/theme-chalk/lib/tree-group.css +0 -1
  74. package/packages/theme-chalk/lib/tree.css +0 -1
  75. package/packages/theme-chalk/lib/upload.css +0 -1
  76. package/packages/theme-chalk/lib/wujie.css +0 -0
  77. package/packages/theme-chalk/lib/wxlogin.css +0 -1
package/lib/button.js CHANGED
@@ -3787,15 +3787,8 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
3787
3787
  evt.preventDefault();
3788
3788
  var width = 0;
3789
3789
  var height = 0;
3790
- var win = void 0;
3791
- try {
3792
- util["a" /* default */].win.top.document;
3793
- win = util["a" /* default */].win.top;
3794
- } catch (error) {
3795
- win = util["a" /* default */].getMyWinTop();
3796
- }
3797
- width = win.screen.availWidth - 10;
3798
- height = win.screen.availHeight - 60;
3790
+ width = util["a" /* default */].win.top.screen.availWidth - 10;
3791
+ height = util["a" /* default */].win.top.screen.availHeight - 60;
3799
3792
  var flag = true;
3800
3793
  if (this.esForm) {
3801
3794
  var params = util["a" /* default */].getParams({ url: this.link });
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=7f4bdc14&
3752
- var mainvue_type_template_id_7f4bdc14_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=5745f486&
3752
+ var mainvue_type_template_id_5745f486_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_7f4bdc14_render = function () {
4015
4015
  )
4016
4016
  }
4017
4017
  var staticRenderFns = []
4018
- mainvue_type_template_id_7f4bdc14_render._withStripped = true
4018
+ mainvue_type_template_id_5745f486_render._withStripped = true
4019
4019
 
4020
4020
 
4021
- // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=7f4bdc14&
4021
+ // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=5745f486&
4022
4022
 
4023
4023
  // EXTERNAL MODULE: ./src/config/api.js
4024
4024
  var api = __webpack_require__(1);
@@ -6380,6 +6380,9 @@ var mainvue_type_script_lang_js_components, _watch;
6380
6380
  },
6381
6381
 
6382
6382
  computed: {
6383
+ params: function params() {
6384
+ return mainvue_type_script_lang_js_extends({}, this.param || {}, this.searchValue || {}, this.advanceValue || {});
6385
+ },
6383
6386
  tag: function tag() {
6384
6387
  return this.form && this.elForm == '' ? 'el-form' : 'div';
6385
6388
  },
@@ -6814,7 +6817,7 @@ var mainvue_type_script_lang_js_components, _watch;
6814
6817
  this.config.pageNum = 1;
6815
6818
  }
6816
6819
  this.tableLoadingText = '加载中...';
6817
- var reqData = util["a" /* default */].extend({}, this.param, this.page ? {
6820
+ var reqData = util["a" /* default */].extend({}, this.params, this.page ? {
6818
6821
  pageNum: this.config.pageNum,
6819
6822
  pageSize: this.config.pageSize
6820
6823
  } : {});
@@ -7180,53 +7183,41 @@ var mainvue_type_script_lang_js_components, _watch;
7180
7183
  this.$emit('next', res);
7181
7184
  },
7182
7185
  hanleSearch: function hanleSearch(data) {
7183
- this.wheres = data;
7186
+ this.wheres = this.response !== undefined ? this.response({
7187
+ type: 'search',
7188
+ data: JSON.parse(JSON.stringify(data))
7189
+ }) : data;
7184
7190
  if (this.url) {
7185
- if (this.response !== undefined) {
7186
- this.getTableData({
7187
- where: this.response({
7188
- type: 'search',
7189
- data: JSON.parse(JSON.stringify(data))
7190
- })
7191
- });
7192
- } else {
7193
- this.getTableData({ where: this.wheres });
7194
- }
7191
+ this.getTableData();
7195
7192
  }
7196
- this.$emit('search', data);
7193
+ this.$emit('search', this.wheres);
7197
7194
  },
7198
7195
  hanleReset: function hanleReset() {
7199
7196
  if (this.url) {
7200
7197
  this.wheres = {};
7201
7198
  this.getTableData();
7202
7199
  }
7203
- this.$emit('reset');
7200
+ this.$emit('reset', this.params);
7204
7201
  },
7205
7202
  hanleSubmit: function hanleSubmit(_ref) {
7206
7203
  var data = _ref.data,
7207
7204
  show = _ref.show;
7208
7205
 
7209
- this.wheres = data;
7206
+ this.wheres = this.response !== undefined ? this.response({
7207
+ type: 'filter',
7208
+ data: JSON.parse(JSON.stringify(data))
7209
+ }) : data;
7210
7210
  if (this.url) {
7211
- if (this.response !== undefined) {
7212
- this.getTableData({
7213
- where: this.response({
7214
- type: 'filter',
7215
- data: JSON.parse(JSON.stringify(data))
7216
- })
7217
- });
7218
- } else {
7219
- this.getTableData({ where: this.wheres });
7220
- }
7211
+ this.getTableData();
7221
7212
  }
7222
- this.$emit('submit', { data: data, show: show });
7213
+ this.$emit('submit', { data: this.wheres, show: show });
7223
7214
  },
7224
7215
  hanleCancel: function hanleCancel() {
7225
- if (this.url && JSON.stringify(this.wheres) !== '{}') {
7226
- this.wheres = {};
7227
- this.getTableData();
7228
- }
7229
- this.$emit('cancel');
7216
+ // if (this.url && JSON.stringify(this.wheres) !== '{}') {
7217
+ // this.wheres = {};
7218
+ // this.getTableData();
7219
+ // }
7220
+ this.$emit('cancel', this.params);
7230
7221
  },
7231
7222
  handleTabs: function handleTabs(_ref2) {
7232
7223
  var item = _ref2.item,
@@ -7352,7 +7343,7 @@ var mainvue_type_script_lang_js_components, _watch;
7352
7343
 
7353
7344
  var main_component = Object(componentNormalizer["a" /* default */])(
7354
7345
  src_mainvue_type_script_lang_js_,
7355
- mainvue_type_template_id_7f4bdc14_render,
7346
+ mainvue_type_template_id_5745f486_render,
7356
7347
  staticRenderFns,
7357
7348
  false,
7358
7349
  null,
package/lib/dialog.js CHANGED
@@ -3763,7 +3763,7 @@ module.exports = require("wujie-vue2");
3763
3763
  // ESM COMPAT FLAG
3764
3764
  __webpack_require__.r(__webpack_exports__);
3765
3765
 
3766
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=template&id=2a4878f7&
3766
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=template&id=39199bdc&
3767
3767
  var render = function () {
3768
3768
  var _vm = this
3769
3769
  var _h = _vm.$createElement
@@ -4277,7 +4277,7 @@ var staticRenderFns = []
4277
4277
  render._withStripped = true
4278
4278
 
4279
4279
 
4280
- // CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=2a4878f7&
4280
+ // CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=39199bdc&
4281
4281
 
4282
4282
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
4283
4283
  var regenerator_ = __webpack_require__(12);
@@ -4687,15 +4687,8 @@ var mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
4687
4687
 
4688
4688
  var availWidth = 0;
4689
4689
  var availHeight = 0;
4690
- var win = void 0;
4691
- try {
4692
- util["a" /* default */].win.top.document;
4693
- win = util["a" /* default */].win.top;
4694
- } catch (error) {
4695
- win = util["a" /* default */].getMyWinTop();
4696
- }
4697
- availWidth = win.document.body.offsetWidth - 260;
4698
- availHeight = win.document.body.offsetHeight - 60;
4690
+ availWidth = util["a" /* default */].win.top.document.body.offsetWidth - 260;
4691
+ availHeight = util["a" /* default */].win.top.document.body.offsetHeight - 60;
4699
4692
  this.sizes.max = { width: availWidth + 'px', height: availHeight + 'px' };
4700
4693
  if (this.size === 'full' || this.width == '100%' && this.height == '100%') {
4701
4694
  this.full = true;
@@ -3776,15 +3776,8 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
3776
3776
  evt.preventDefault();
3777
3777
  var width = 0;
3778
3778
  var height = 0;
3779
- var win = void 0;
3780
- try {
3781
- utils_util["a" /* default */].win.top.document;
3782
- win = utils_util["a" /* default */].win.top;
3783
- } catch (error) {
3784
- win = utils_util["a" /* default */].getMyWinTop();
3785
- }
3786
- width = win.screen.availWidth - 10;
3787
- height = win.screen.availHeight - 60;
3779
+ width = utils_util["a" /* default */].win.top.screen.availWidth - 10;
3780
+ height = utils_util["a" /* default */].win.top.screen.availHeight - 60;
3788
3781
  var flag = true;
3789
3782
  if (this.esForm) {
3790
3783
  var params = utils_util["a" /* default */].getParams({ url: this.link });
@@ -6262,8 +6255,8 @@ clients_src_main.install = function (Vue) {
6262
6255
  };
6263
6256
 
6264
6257
  /* harmony default export */ var clients = (clients_src_main);
6265
- // 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=7f4bdc14&
6266
- var mainvue_type_template_id_7f4bdc14_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=5745f486&
6259
+ var mainvue_type_template_id_5745f486_render = function () {
6267
6260
  var _vm = this
6268
6261
  var _h = _vm.$createElement
6269
6262
  var _c = _vm._self._c || _h
@@ -6528,11 +6521,11 @@ var mainvue_type_template_id_7f4bdc14_render = function () {
6528
6521
  1
6529
6522
  )
6530
6523
  }
6531
- var mainvue_type_template_id_7f4bdc14_staticRenderFns = []
6532
- mainvue_type_template_id_7f4bdc14_render._withStripped = true
6524
+ var mainvue_type_template_id_5745f486_staticRenderFns = []
6525
+ mainvue_type_template_id_5745f486_render._withStripped = true
6533
6526
 
6534
6527
 
6535
- // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=7f4bdc14&
6528
+ // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=5745f486&
6536
6529
 
6537
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&
6538
6531
  var childrenvue_type_template_id_29bcbc72_render = function () {
@@ -8882,6 +8875,9 @@ var mainvue_type_script_lang_js_components, _watch;
8882
8875
  },
8883
8876
 
8884
8877
  computed: {
8878
+ params: function params() {
8879
+ return data_table_src_mainvue_type_script_lang_js_extends({}, this.param || {}, this.searchValue || {}, this.advanceValue || {});
8880
+ },
8885
8881
  tag: function tag() {
8886
8882
  return this.form && this.elForm == '' ? 'el-form' : 'div';
8887
8883
  },
@@ -9316,7 +9312,7 @@ var mainvue_type_script_lang_js_components, _watch;
9316
9312
  this.config.pageNum = 1;
9317
9313
  }
9318
9314
  this.tableLoadingText = '加载中...';
9319
- var reqData = utils_util["a" /* default */].extend({}, this.param, this.page ? {
9315
+ var reqData = utils_util["a" /* default */].extend({}, this.params, this.page ? {
9320
9316
  pageNum: this.config.pageNum,
9321
9317
  pageSize: this.config.pageSize
9322
9318
  } : {});
@@ -9682,53 +9678,41 @@ var mainvue_type_script_lang_js_components, _watch;
9682
9678
  this.$emit('next', res);
9683
9679
  },
9684
9680
  hanleSearch: function hanleSearch(data) {
9685
- this.wheres = data;
9681
+ this.wheres = this.response !== undefined ? this.response({
9682
+ type: 'search',
9683
+ data: JSON.parse(JSON.stringify(data))
9684
+ }) : data;
9686
9685
  if (this.url) {
9687
- if (this.response !== undefined) {
9688
- this.getTableData({
9689
- where: this.response({
9690
- type: 'search',
9691
- data: JSON.parse(JSON.stringify(data))
9692
- })
9693
- });
9694
- } else {
9695
- this.getTableData({ where: this.wheres });
9696
- }
9686
+ this.getTableData();
9697
9687
  }
9698
- this.$emit('search', data);
9688
+ this.$emit('search', this.wheres);
9699
9689
  },
9700
9690
  hanleReset: function hanleReset() {
9701
9691
  if (this.url) {
9702
9692
  this.wheres = {};
9703
9693
  this.getTableData();
9704
9694
  }
9705
- this.$emit('reset');
9695
+ this.$emit('reset', this.params);
9706
9696
  },
9707
9697
  hanleSubmit: function hanleSubmit(_ref) {
9708
9698
  var data = _ref.data,
9709
9699
  show = _ref.show;
9710
9700
 
9711
- this.wheres = data;
9701
+ this.wheres = this.response !== undefined ? this.response({
9702
+ type: 'filter',
9703
+ data: JSON.parse(JSON.stringify(data))
9704
+ }) : data;
9712
9705
  if (this.url) {
9713
- if (this.response !== undefined) {
9714
- this.getTableData({
9715
- where: this.response({
9716
- type: 'filter',
9717
- data: JSON.parse(JSON.stringify(data))
9718
- })
9719
- });
9720
- } else {
9721
- this.getTableData({ where: this.wheres });
9722
- }
9706
+ this.getTableData();
9723
9707
  }
9724
- this.$emit('submit', { data: data, show: show });
9708
+ this.$emit('submit', { data: this.wheres, show: show });
9725
9709
  },
9726
9710
  hanleCancel: function hanleCancel() {
9727
- if (this.url && JSON.stringify(this.wheres) !== '{}') {
9728
- this.wheres = {};
9729
- this.getTableData();
9730
- }
9731
- this.$emit('cancel');
9711
+ // if (this.url && JSON.stringify(this.wheres) !== '{}') {
9712
+ // this.wheres = {};
9713
+ // this.getTableData();
9714
+ // }
9715
+ this.$emit('cancel', this.params);
9732
9716
  },
9733
9717
  handleTabs: function handleTabs(_ref2) {
9734
9718
  var item = _ref2.item,
@@ -9854,8 +9838,8 @@ var mainvue_type_script_lang_js_components, _watch;
9854
9838
 
9855
9839
  var data_table_src_main_component = normalizeComponent(
9856
9840
  packages_data_table_src_mainvue_type_script_lang_js_,
9857
- mainvue_type_template_id_7f4bdc14_render,
9858
- mainvue_type_template_id_7f4bdc14_staticRenderFns,
9841
+ mainvue_type_template_id_5745f486_render,
9842
+ mainvue_type_template_id_5745f486_staticRenderFns,
9859
9843
  false,
9860
9844
  null,
9861
9845
  null,
@@ -11983,8 +11967,8 @@ date_picker_src_main.install = function (Vue) {
11983
11967
  };
11984
11968
 
11985
11969
  /* harmony default export */ var date_picker = (date_picker_src_main);
11986
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=template&id=2a4878f7&
11987
- var mainvue_type_template_id_2a4878f7_render = function () {
11970
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=template&id=39199bdc&
11971
+ var mainvue_type_template_id_39199bdc_render = function () {
11988
11972
  var _vm = this
11989
11973
  var _h = _vm.$createElement
11990
11974
  var _c = _vm._self._c || _h
@@ -12493,11 +12477,11 @@ var mainvue_type_template_id_2a4878f7_render = function () {
12493
12477
  2
12494
12478
  )
12495
12479
  }
12496
- var mainvue_type_template_id_2a4878f7_staticRenderFns = []
12497
- mainvue_type_template_id_2a4878f7_render._withStripped = true
12480
+ var mainvue_type_template_id_39199bdc_staticRenderFns = []
12481
+ mainvue_type_template_id_39199bdc_render._withStripped = true
12498
12482
 
12499
12483
 
12500
- // CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=2a4878f7&
12484
+ // CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=39199bdc&
12501
12485
 
12502
12486
  // EXTERNAL MODULE: external "wujie-vue2"
12503
12487
  var external_wujie_vue2_ = __webpack_require__(13);
@@ -12897,15 +12881,8 @@ var mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
12897
12881
 
12898
12882
  var availWidth = 0;
12899
12883
  var availHeight = 0;
12900
- var win = void 0;
12901
- try {
12902
- utils_util["a" /* default */].win.top.document;
12903
- win = utils_util["a" /* default */].win.top;
12904
- } catch (error) {
12905
- win = utils_util["a" /* default */].getMyWinTop();
12906
- }
12907
- availWidth = win.document.body.offsetWidth - 260;
12908
- availHeight = win.document.body.offsetHeight - 60;
12884
+ availWidth = utils_util["a" /* default */].win.top.document.body.offsetWidth - 260;
12885
+ availHeight = utils_util["a" /* default */].win.top.document.body.offsetHeight - 60;
12909
12886
  this.sizes.max = { width: availWidth + 'px', height: availHeight + 'px' };
12910
12887
  if (this.size === 'full' || this.width == '100%' && this.height == '100%') {
12911
12888
  this.full = true;
@@ -13063,8 +13040,8 @@ var mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
13063
13040
 
13064
13041
  var dialog_src_main_component = normalizeComponent(
13065
13042
  packages_dialog_src_mainvue_type_script_lang_js_,
13066
- mainvue_type_template_id_2a4878f7_render,
13067
- mainvue_type_template_id_2a4878f7_staticRenderFns,
13043
+ mainvue_type_template_id_39199bdc_render,
13044
+ mainvue_type_template_id_39199bdc_staticRenderFns,
13068
13045
  false,
13069
13046
  null,
13070
13047
  null,
@@ -40594,8 +40571,8 @@ flow_src_main.install = function (Vue) {
40594
40571
  };
40595
40572
 
40596
40573
  /* harmony default export */ var packages_flow = (flow_src_main);
40597
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-group/src/main.vue?vue&type=template&id=16f6a02a&
40598
- var mainvue_type_template_id_16f6a02a_render = function () {
40574
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-group/src/main.vue?vue&type=template&id=6cb3ec91&
40575
+ var mainvue_type_template_id_6cb3ec91_render = function () {
40599
40576
  var _vm = this
40600
40577
  var _h = _vm.$createElement
40601
40578
  var _c = _vm._self._c || _h
@@ -41823,11 +41800,11 @@ var mainvue_type_template_id_16f6a02a_render = function () {
41823
41800
  2
41824
41801
  )
41825
41802
  }
41826
- var mainvue_type_template_id_16f6a02a_staticRenderFns = []
41827
- mainvue_type_template_id_16f6a02a_render._withStripped = true
41803
+ var mainvue_type_template_id_6cb3ec91_staticRenderFns = []
41804
+ mainvue_type_template_id_6cb3ec91_render._withStripped = true
41828
41805
 
41829
41806
 
41830
- // CONCATENATED MODULE: ./packages/flow-group/src/main.vue?vue&type=template&id=16f6a02a&
41807
+ // CONCATENATED MODULE: ./packages/flow-group/src/main.vue?vue&type=template&id=6cb3ec91&
41831
41808
 
41832
41809
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-group/src/main.vue?vue&type=script&lang=js&
41833
41810
  var flow_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; };
@@ -42405,13 +42382,7 @@ var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
42405
42382
  var name = item.name;
42406
42383
  var width = 0;
42407
42384
  var height = 0;
42408
- var win = void 0;
42409
- try {
42410
- utils_util["a" /* default */].win.top.document;
42411
- win = utils_util["a" /* default */].win.top;
42412
- } catch (error) {
42413
- win = utils_util["a" /* default */].getMyWinTop();
42414
- }
42385
+ var win = utils_util["a" /* default */].win.top;
42415
42386
  width = win.screen.availWidth - 10;
42416
42387
  height = win.screen.availHeight - 60;
42417
42388
  if (item.url) {
@@ -42473,16 +42444,10 @@ var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
42473
42444
  handleSuccess: function handleSuccess() {
42474
42445
  if (this.closeDialog && this.esDialog) {
42475
42446
  this.esDialog.handleClose();
42476
- } else if (utils_util["a" /* default */].win.opener) {
42477
- var win = void 0;
42478
- try {
42479
- utils_util["a" /* default */].win.top.document;
42480
- win = utils_util["a" /* default */].win.top;
42481
- } catch (error) {
42482
- win = utils_util["a" /* default */].getMyWinTop();
42483
- }
42484
- win.close();
42485
- win.postMessage({ type: 0 }, '*');
42447
+ } else if (utils_util["a" /* default */].win.top.COOS_SDK) {
42448
+ utils_util["a" /* default */].win.top.COOS_SDK.closePopup && utils_util["a" /* default */].win.top.COOS_SDK.closePopup();
42449
+ } else if (utils_util["a" /* default */].win.top.opener) {
42450
+ utils_util["a" /* default */].win.top.close();
42486
42451
  }
42487
42452
  if (this.events && this.events.success) {
42488
42453
  this.events.success();
@@ -42517,8 +42482,8 @@ var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
42517
42482
 
42518
42483
  var flow_group_src_main_component = normalizeComponent(
42519
42484
  packages_flow_group_src_mainvue_type_script_lang_js_,
42520
- mainvue_type_template_id_16f6a02a_render,
42521
- mainvue_type_template_id_16f6a02a_staticRenderFns,
42485
+ mainvue_type_template_id_6cb3ec91_render,
42486
+ mainvue_type_template_id_6cb3ec91_staticRenderFns,
42522
42487
  false,
42523
42488
  null,
42524
42489
  null,
@@ -43794,8 +43759,8 @@ flow_list_src_main.install = function (Vue) {
43794
43759
  };
43795
43760
 
43796
43761
  /* harmony default export */ var flow_list = (flow_list_src_main);
43797
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handle-user/src/main.vue?vue&type=template&id=4616b35e&
43798
- var mainvue_type_template_id_4616b35e_render = function () {
43762
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handle-user/src/main.vue?vue&type=template&id=2f21f1e1&
43763
+ var mainvue_type_template_id_2f21f1e1_render = function () {
43799
43764
  var _vm = this
43800
43765
  var _h = _vm.$createElement
43801
43766
  var _c = _vm._self._c || _h
@@ -43878,11 +43843,11 @@ var mainvue_type_template_id_4616b35e_render = function () {
43878
43843
  : _vm._e(),
43879
43844
  ])
43880
43845
  }
43881
- var mainvue_type_template_id_4616b35e_staticRenderFns = []
43882
- mainvue_type_template_id_4616b35e_render._withStripped = true
43846
+ var mainvue_type_template_id_2f21f1e1_staticRenderFns = []
43847
+ mainvue_type_template_id_2f21f1e1_render._withStripped = true
43883
43848
 
43884
43849
 
43885
- // CONCATENATED MODULE: ./packages/handle-user/src/main.vue?vue&type=template&id=4616b35e&
43850
+ // CONCATENATED MODULE: ./packages/handle-user/src/main.vue?vue&type=template&id=2f21f1e1&
43886
43851
 
43887
43852
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/handle-user/src/main.vue?vue&type=script&lang=js&
43888
43853
  //
@@ -43984,13 +43949,7 @@ mainvue_type_template_id_4616b35e_render._withStripped = true
43984
43949
  duration: 500,
43985
43950
  onClose: function onClose() {
43986
43951
  utils_util["a" /* default */].removeStorage(['mainConfig', 'jump']);
43987
- var win = void 0;
43988
- try {
43989
- utils_util["a" /* default */].win.top.document;
43990
- win = utils_util["a" /* default */].win.top;
43991
- } catch (error) {
43992
- win = utils_util["a" /* default */].getMyWinTop();
43993
- }
43952
+ var win = utils_util["a" /* default */].win.top;
43994
43953
  win.location.reload();
43995
43954
  }
43996
43955
  });
@@ -44023,8 +43982,8 @@ mainvue_type_template_id_4616b35e_render._withStripped = true
44023
43982
 
44024
43983
  var handle_user_src_main_component = normalizeComponent(
44025
43984
  packages_handle_user_src_mainvue_type_script_lang_js_,
44026
- mainvue_type_template_id_4616b35e_render,
44027
- mainvue_type_template_id_4616b35e_staticRenderFns,
43985
+ mainvue_type_template_id_2f21f1e1_render,
43986
+ mainvue_type_template_id_2f21f1e1_staticRenderFns,
44028
43987
  false,
44029
43988
  null,
44030
43989
  null,
@@ -66263,21 +66222,21 @@ function mainvue_type_script_lang_js_objectWithoutProperties(obj, keys) { var ta
66263
66222
  searchValue: {
66264
66223
  deep: true,
66265
66224
  handler: function handler(val) {
66266
- this.searchData = val;
66225
+ this.searchData = JSON.parse(JSON.stringify(val));
66267
66226
  }
66268
66227
  },
66269
66228
  advanceValue: {
66270
66229
  deep: true,
66271
66230
  handler: function handler(val) {
66272
- this.advancedData = val;
66231
+ this.advancedData = JSON.parse(JSON.stringify(val));
66273
66232
  }
66274
66233
  }
66275
66234
  },
66276
66235
  data: function data() {
66277
66236
  return {
66278
66237
  show: false,
66279
- searchData: this.searchValue,
66280
- advancedData: this.advanceValue
66238
+ searchData: JSON.parse(JSON.stringify(this.searchValue)),
66239
+ advancedData: JSON.parse(JSON.stringify(this.advanceValue))
66281
66240
  };
66282
66241
  },
66283
66242
  created: function created() {
@@ -66327,13 +66286,14 @@ function mainvue_type_script_lang_js_objectWithoutProperties(obj, keys) { var ta
66327
66286
  },
66328
66287
  hanleReset: function hanleReset() {
66329
66288
  this.$refs.filter && this.$refs.filter.resetFields();
66330
- this.searchData = {};
66331
- this.advancedData = {};
66332
- this.$emit('reset');
66289
+ this.searchData = JSON.parse(JSON.stringify(this.searchValue));
66290
+ this.advancedData = JSON.parse(JSON.stringify(this.advanceValue));
66291
+ this.$emit('reset', this.searchData);
66333
66292
  },
66334
66293
  hanleCancel: function hanleCancel() {
66335
66294
  this.show = false;
66336
- this.$emit('cancel');
66295
+ this.advancedData = JSON.parse(JSON.stringify(this.advanceValue));
66296
+ this.$emit('cancel', this.advancedData);
66337
66297
  }
66338
66298
  },
66339
66299
  render: function render(h) {
@@ -72541,7 +72501,7 @@ if (typeof window !== 'undefined' && window.Vue) {
72541
72501
  }
72542
72502
 
72543
72503
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
72544
- version: '0.5.46',
72504
+ version: '0.5.47',
72545
72505
  install: install,
72546
72506
  Button: packages_button,
72547
72507
  ButtonGroup: button_group,
package/lib/flow-group.js CHANGED
@@ -3558,7 +3558,7 @@ module.exports = require("qs");
3558
3558
  // ESM COMPAT FLAG
3559
3559
  __webpack_require__.r(__webpack_exports__);
3560
3560
 
3561
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-group/src/main.vue?vue&type=template&id=16f6a02a&
3561
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-group/src/main.vue?vue&type=template&id=6cb3ec91&
3562
3562
  var render = function () {
3563
3563
  var _vm = this
3564
3564
  var _h = _vm.$createElement
@@ -4791,7 +4791,7 @@ var staticRenderFns = []
4791
4791
  render._withStripped = true
4792
4792
 
4793
4793
 
4794
- // CONCATENATED MODULE: ./packages/flow-group/src/main.vue?vue&type=template&id=16f6a02a&
4794
+ // CONCATENATED MODULE: ./packages/flow-group/src/main.vue?vue&type=template&id=6cb3ec91&
4795
4795
 
4796
4796
  // EXTERNAL MODULE: ./src/utils/util.js
4797
4797
  var util = __webpack_require__(0);
@@ -5372,13 +5372,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
5372
5372
  var name = item.name;
5373
5373
  var width = 0;
5374
5374
  var height = 0;
5375
- var win = void 0;
5376
- try {
5377
- util["a" /* default */].win.top.document;
5378
- win = util["a" /* default */].win.top;
5379
- } catch (error) {
5380
- win = util["a" /* default */].getMyWinTop();
5381
- }
5375
+ var win = util["a" /* default */].win.top;
5382
5376
  width = win.screen.availWidth - 10;
5383
5377
  height = win.screen.availHeight - 60;
5384
5378
  if (item.url) {
@@ -5440,16 +5434,10 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
5440
5434
  handleSuccess: function handleSuccess() {
5441
5435
  if (this.closeDialog && this.esDialog) {
5442
5436
  this.esDialog.handleClose();
5443
- } else if (util["a" /* default */].win.opener) {
5444
- var win = void 0;
5445
- try {
5446
- util["a" /* default */].win.top.document;
5447
- win = util["a" /* default */].win.top;
5448
- } catch (error) {
5449
- win = util["a" /* default */].getMyWinTop();
5450
- }
5451
- win.close();
5452
- win.postMessage({ type: 0 }, '*');
5437
+ } else if (util["a" /* default */].win.top.COOS_SDK) {
5438
+ util["a" /* default */].win.top.COOS_SDK.closePopup && util["a" /* default */].win.top.COOS_SDK.closePopup();
5439
+ } else if (util["a" /* default */].win.top.opener) {
5440
+ util["a" /* default */].win.top.close();
5453
5441
  }
5454
5442
  if (this.events && this.events.success) {
5455
5443
  this.events.success();
@@ -3586,7 +3586,7 @@ module.exports = require("qs");
3586
3586
  // ESM COMPAT FLAG
3587
3587
  __webpack_require__.r(__webpack_exports__);
3588
3588
 
3589
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handle-user/src/main.vue?vue&type=template&id=4616b35e&
3589
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handle-user/src/main.vue?vue&type=template&id=2f21f1e1&
3590
3590
  var render = function () {
3591
3591
  var _vm = this
3592
3592
  var _h = _vm.$createElement
@@ -3674,7 +3674,7 @@ var staticRenderFns = []
3674
3674
  render._withStripped = true
3675
3675
 
3676
3676
 
3677
- // CONCATENATED MODULE: ./packages/handle-user/src/main.vue?vue&type=template&id=4616b35e&
3677
+ // CONCATENATED MODULE: ./packages/handle-user/src/main.vue?vue&type=template&id=2f21f1e1&
3678
3678
 
3679
3679
  // EXTERNAL MODULE: ./src/config/api.js
3680
3680
  var api = __webpack_require__(1);
@@ -3785,13 +3785,7 @@ var util = __webpack_require__(0);
3785
3785
  duration: 500,
3786
3786
  onClose: function onClose() {
3787
3787
  util["a" /* default */].removeStorage(['mainConfig', 'jump']);
3788
- var win = void 0;
3789
- try {
3790
- util["a" /* default */].win.top.document;
3791
- win = util["a" /* default */].win.top;
3792
- } catch (error) {
3793
- win = util["a" /* default */].getMyWinTop();
3794
- }
3788
+ var win = util["a" /* default */].win.top;
3795
3789
  win.location.reload();
3796
3790
  }
3797
3791
  });