eoss-ui 0.5.91 → 0.5.92

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.
@@ -49033,8 +49033,8 @@ var online_component = normalizeComponent(
49033
49033
  )
49034
49034
 
49035
49035
  /* harmony default export */ var online = (online_component.exports);
49036
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/public/search.vue?vue&type=template&id=fa3bcf48&
49037
- var searchvue_type_template_id_fa3bcf48_render = function () {
49036
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/public/search.vue?vue&type=template&id=4c2b6f24&
49037
+ var searchvue_type_template_id_4c2b6f24_render = function () {
49038
49038
  var _vm = this
49039
49039
  var _h = _vm.$createElement
49040
49040
  var _c = _vm._self._c || _h
@@ -49444,11 +49444,11 @@ var searchvue_type_template_id_fa3bcf48_render = function () {
49444
49444
  1
49445
49445
  )
49446
49446
  }
49447
- var searchvue_type_template_id_fa3bcf48_staticRenderFns = []
49448
- searchvue_type_template_id_fa3bcf48_render._withStripped = true
49447
+ var searchvue_type_template_id_4c2b6f24_staticRenderFns = []
49448
+ searchvue_type_template_id_4c2b6f24_render._withStripped = true
49449
49449
 
49450
49450
 
49451
- // CONCATENATED MODULE: ./packages/main/src/public/search.vue?vue&type=template&id=fa3bcf48&
49451
+ // CONCATENATED MODULE: ./packages/main/src/public/search.vue?vue&type=template&id=4c2b6f24&
49452
49452
 
49453
49453
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/public/search.vue?vue&type=script&lang=js&
49454
49454
  var searchvue_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; };
@@ -49686,7 +49686,7 @@ var searchvue_type_script_lang_js_extends = Object.assign || function (target) {
49686
49686
  _this.searchAll(res);
49687
49687
  });
49688
49688
  this.handleSearchd = Object(external_throttle_debounce_["debounce"])(500, function (obj, index) {
49689
- _this.handleSearch(obj, index);
49689
+ _this.handleSearch(obj, index, false);
49690
49690
  });
49691
49691
  },
49692
49692
  created: function created() {
@@ -49781,7 +49781,7 @@ var searchvue_type_script_lang_js_extends = Object.assign || function (target) {
49781
49781
  this.$set(this.noMore, item.id || String(i), true);
49782
49782
  } else if (item.dataRequestUrl) {
49783
49783
  this.isLoading = true;
49784
- this.handleSearch(item, i);
49784
+ this.handleSearch(item, i, true);
49785
49785
  } else {
49786
49786
  this.types[i].records = [];
49787
49787
  this.types[i].totalCount = 0;
@@ -49819,7 +49819,7 @@ var searchvue_type_script_lang_js_extends = Object.assign || function (target) {
49819
49819
  });
49820
49820
  return records;
49821
49821
  },
49822
- handleSearch: function handleSearch(obj, index) {
49822
+ handleSearch: function handleSearch(obj, index, reset) {
49823
49823
  var _this4 = this;
49824
49824
 
49825
49825
  if (obj.pageNum < obj.pageCount && this.keyWords) {
@@ -49855,7 +49855,7 @@ var searchvue_type_script_lang_js_extends = Object.assign || function (target) {
49855
49855
  obj.totalCount = results.totalCount;
49856
49856
  obj.pageCount = results.pageCount;
49857
49857
  obj.pageNum = results.pageNum;
49858
- obj.records = obj.records.concat(results.records);
49858
+ obj.records = reset ? results.records : obj.records.concat(results.records);
49859
49859
  _this4.$set(_this4.noMore, obj.id || String(index), results.pageNum >= results.pageCount);
49860
49860
  } else {
49861
49861
  _this4.types[index].records = [];
@@ -49905,8 +49905,8 @@ var searchvue_type_script_lang_js_extends = Object.assign || function (target) {
49905
49905
 
49906
49906
  var search_component = normalizeComponent(
49907
49907
  public_searchvue_type_script_lang_js_,
49908
- searchvue_type_template_id_fa3bcf48_render,
49909
- searchvue_type_template_id_fa3bcf48_staticRenderFns,
49908
+ searchvue_type_template_id_4c2b6f24_render,
49909
+ searchvue_type_template_id_4c2b6f24_staticRenderFns,
49910
49910
  false,
49911
49911
  null,
49912
49912
  null,
@@ -61102,8 +61102,8 @@ select_ganged_src_main.install = function (Vue) {
61102
61102
  };
61103
61103
 
61104
61104
  /* harmony default export */ var select_ganged = (select_ganged_src_main);
61105
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/main.vue?vue&type=template&id=b8fc187a&
61106
- var mainvue_type_template_id_b8fc187a_render = function () {
61105
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/main.vue?vue&type=template&id=495533b9&
61106
+ var mainvue_type_template_id_495533b9_render = function () {
61107
61107
  var _vm = this
61108
61108
  var _h = _vm.$createElement
61109
61109
  var _c = _vm._self._c || _h
@@ -61625,6 +61625,7 @@ var mainvue_type_template_id_b8fc187a_render = function () {
61625
61625
  isShowLevel3: _vm.isShowLevel3,
61626
61626
  },
61627
61627
  on: {
61628
+ tabschage: _vm.tabschage,
61628
61629
  "!click": function ($event) {
61629
61630
  return _vm.stopd($event)
61630
61631
  },
@@ -61654,11 +61655,11 @@ var mainvue_type_template_id_b8fc187a_render = function () {
61654
61655
  )
61655
61656
  : _vm._e()
61656
61657
  }
61657
- var mainvue_type_template_id_b8fc187a_staticRenderFns = []
61658
- mainvue_type_template_id_b8fc187a_render._withStripped = true
61658
+ var mainvue_type_template_id_495533b9_staticRenderFns = []
61659
+ mainvue_type_template_id_495533b9_render._withStripped = true
61659
61660
 
61660
61661
 
61661
- // CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=b8fc187a&
61662
+ // CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=495533b9&
61662
61663
 
61663
61664
  // EXTERNAL MODULE: external "eoss-element/src/utils/clickoutside"
61664
61665
  var clickoutside_ = __webpack_require__(17);
@@ -61877,6 +61878,7 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
61877
61878
  //
61878
61879
  //
61879
61880
  //
61881
+ //
61880
61882
 
61881
61883
 
61882
61884
 
@@ -62202,6 +62204,9 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
62202
62204
  handleBlur: function handleBlur() {
62203
62205
  this.focus = false;
62204
62206
  },
62207
+ tabschage: function tabschage(trees, active) {
62208
+ this.$emit('tabs-change', trees, active);
62209
+ },
62205
62210
  handleClose: function handleClose(res) {
62206
62211
  if (!this.multiple && this.selected[0] === this.words) {
62207
62212
  this.selected = [];
@@ -62336,8 +62341,8 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
62336
62341
 
62337
62342
  var selector_src_main_component = normalizeComponent(
62338
62343
  packages_selector_src_mainvue_type_script_lang_js_,
62339
- mainvue_type_template_id_b8fc187a_render,
62340
- mainvue_type_template_id_b8fc187a_staticRenderFns,
62344
+ mainvue_type_template_id_495533b9_render,
62345
+ mainvue_type_template_id_495533b9_staticRenderFns,
62341
62346
  false,
62342
62347
  null,
62343
62348
  null,
@@ -62354,8 +62359,8 @@ selector_src_main.install = function (Vue) {
62354
62359
  };
62355
62360
 
62356
62361
  /* harmony default export */ var selector = (selector_src_main);
62357
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/main.vue?vue&type=template&id=6fde3a69&
62358
- var mainvue_type_template_id_6fde3a69_render = function () {
62362
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/main.vue?vue&type=template&id=1990039f&
62363
+ var mainvue_type_template_id_1990039f_render = function () {
62359
62364
  var _vm = this
62360
62365
  var _h = _vm.$createElement
62361
62366
  var _c = _vm._self._c || _h
@@ -62617,11 +62622,11 @@ var mainvue_type_template_id_6fde3a69_render = function () {
62617
62622
  1
62618
62623
  )
62619
62624
  }
62620
- var mainvue_type_template_id_6fde3a69_staticRenderFns = []
62621
- mainvue_type_template_id_6fde3a69_render._withStripped = true
62625
+ var mainvue_type_template_id_1990039f_staticRenderFns = []
62626
+ mainvue_type_template_id_1990039f_render._withStripped = true
62622
62627
 
62623
62628
 
62624
- // CONCATENATED MODULE: ./packages/selector-panel/src/main.vue?vue&type=template&id=6fde3a69&
62629
+ // CONCATENATED MODULE: ./packages/selector-panel/src/main.vue?vue&type=template&id=1990039f&
62625
62630
 
62626
62631
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/tree.vue?vue&type=template&id=24ad732a&
62627
62632
  var treevue_type_template_id_24ad732a_render = function () {
@@ -63901,11 +63906,12 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
63901
63906
  this.nodeData = this.trees[active].nodeData;
63902
63907
  } else {
63903
63908
  if (typeof this.selection === 'string') {
63909
+ var params = this.param[this.activeName] ? this.param[this.activeName] : this.param;
63904
63910
  utils_util["a" /* default */].ajax({
63905
63911
  method: this.method,
63906
63912
  url: this.host + this.selection,
63907
- params: this.param,
63908
- data: this.param
63913
+ params: params,
63914
+ data: params
63909
63915
  }).then(function (res) {
63910
63916
  if (res.rCode === 0) {
63911
63917
  _this3.selections = JSON.parse(JSON.stringify(res.results));
@@ -63925,7 +63931,7 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
63925
63931
  getTreeData: function getTreeData(url, params, id) {
63926
63932
  var _this4 = this;
63927
63933
 
63928
- var data = utils_util["a" /* default */].extend({}, params, this.param);
63934
+ var data = utils_util["a" /* default */].extend({}, params, this.param[this.activeName] ? this.param[this.activeName] : this.param);
63929
63935
  if (id !== undefined) {
63930
63936
  data.id = id;
63931
63937
  }
@@ -63954,7 +63960,7 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
63954
63960
  if (flag) {
63955
63961
  if (data.selection === undefined || data.selection.length === 0) {
63956
63962
  this.checkAll = false;
63957
- var params = utils_util["a" /* default */].extend({}, this.param);
63963
+ var params = utils_util["a" /* default */].extend({}, this.param[this.activeName] ? this.param[this.activeName] : this.param);
63958
63964
  params.type = this.activeName;
63959
63965
  params.mid = data.id;
63960
63966
  if (this.activeName === 'enterprise') {
@@ -63995,7 +64001,7 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
63995
64001
  data.state = '';
63996
64002
  }
63997
64003
  if (data.state !== '' && (!data.children || data.children.length === 0)) {
63998
- var _params = utils_util["a" /* default */].extend({}, this.newTabs[this.activeName].param, this.param);
64004
+ var _params = utils_util["a" /* default */].extend({}, this.newTabs[this.activeName].param, this.param[this.activeName] ? this.param[this.activeName] : this.param);
63999
64005
  _params.id = data.id;
64000
64006
  utils_util["a" /* default */].ajax({
64001
64007
  method: this.method,
@@ -64215,8 +64221,8 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
64215
64221
 
64216
64222
  var selector_panel_src_main_component = normalizeComponent(
64217
64223
  packages_selector_panel_src_mainvue_type_script_lang_js_,
64218
- mainvue_type_template_id_6fde3a69_render,
64219
- mainvue_type_template_id_6fde3a69_staticRenderFns,
64224
+ mainvue_type_template_id_1990039f_render,
64225
+ mainvue_type_template_id_1990039f_staticRenderFns,
64220
64226
  false,
64221
64227
  null,
64222
64228
  null,
@@ -76509,7 +76515,7 @@ if (typeof window !== 'undefined' && window.Vue) {
76509
76515
  }
76510
76516
 
76511
76517
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
76512
- version: '0.5.91',
76518
+ version: '0.5.92',
76513
76519
  install: install,
76514
76520
  Button: packages_button,
76515
76521
  ButtonGroup: button_group,