eoss-ui 0.4.44 → 0.4.45

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.
@@ -45496,8 +45496,8 @@ login_src_main.install = function (Vue) {
45496
45496
  };
45497
45497
 
45498
45498
  /* harmony default export */ var login = (login_src_main);
45499
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=7e69a69c&
45500
- var mainvue_type_template_id_7e69a69c_render = function () {
45499
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=6b3fed86&
45500
+ var mainvue_type_template_id_6b3fed86_render = function () {
45501
45501
  var _vm = this
45502
45502
  var _h = _vm.$createElement
45503
45503
  var _c = _vm._self._c || _h
@@ -45695,6 +45695,9 @@ var mainvue_type_template_id_7e69a69c_render = function () {
45695
45695
  "is-default": _vm.isDefault,
45696
45696
  },
45697
45697
  on: {
45698
+ open: function (res) {
45699
+ _vm.handleSelect(res, "menu")
45700
+ },
45698
45701
  trigger: function (res) {
45699
45702
  _vm.handleSelect(res, "sub")
45700
45703
  },
@@ -45911,11 +45914,11 @@ var mainvue_type_template_id_7e69a69c_render = function () {
45911
45914
  1
45912
45915
  )
45913
45916
  }
45914
- var mainvue_type_template_id_7e69a69c_staticRenderFns = []
45915
- mainvue_type_template_id_7e69a69c_render._withStripped = true
45917
+ var mainvue_type_template_id_6b3fed86_staticRenderFns = []
45918
+ mainvue_type_template_id_6b3fed86_render._withStripped = true
45916
45919
 
45917
45920
 
45918
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=7e69a69c&
45921
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=6b3fed86&
45919
45922
 
45920
45923
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/userinfo.vue?vue&type=template&id=1965153d&
45921
45924
  var userinfovue_type_template_id_1965153d_render = function () {
@@ -47689,6 +47692,11 @@ var main_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
47689
47692
  //
47690
47693
  //
47691
47694
  //
47695
+ //
47696
+ //
47697
+ //
47698
+ //
47699
+ //
47692
47700
 
47693
47701
 
47694
47702
 
@@ -48726,12 +48734,25 @@ var log = utils_util["a" /* default */].getParams('console');
48726
48734
  }
48727
48735
  }
48728
48736
  if (node.url) {
48729
- var _tab = (node.fourthTabs || []).filter(function (item) {
48730
- return item.url === node.url;
48731
- })[0];
48732
- if (_tab) {
48733
- this.tabs = node.fourthTabs;
48734
- this.tabsId = _tab.id;
48737
+ if (node.children && node.children.length) {
48738
+ var _tab = node.children.filter(function (item) {
48739
+ return item.url === node.url;
48740
+ })[0];
48741
+ if (_tab) {
48742
+ if (this.biserial) {
48743
+ this.$set(this.active, 1, _tab.id);
48744
+ } else {
48745
+ this.active = _tab.id;
48746
+ }
48747
+ }
48748
+ } else {
48749
+ var _tab2 = (node.fourthTabs || []).filter(function (item) {
48750
+ return item.url === node.url;
48751
+ })[0];
48752
+ if (_tab2) {
48753
+ this.tabs = node.fourthTabs;
48754
+ this.tabsId = _tab2.id;
48755
+ }
48735
48756
  }
48736
48757
  } else if (node.fourthTabs.length) {
48737
48758
  this.tabs = node.fourthTabs;
@@ -49115,8 +49136,8 @@ var log = utils_util["a" /* default */].getParams('console');
49115
49136
 
49116
49137
  var main_src_main_component = normalizeComponent(
49117
49138
  packages_main_src_mainvue_type_script_lang_js_,
49118
- mainvue_type_template_id_7e69a69c_render,
49119
- mainvue_type_template_id_7e69a69c_staticRenderFns,
49139
+ mainvue_type_template_id_6b3fed86_render,
49140
+ mainvue_type_template_id_6b3fed86_staticRenderFns,
49120
49141
  false,
49121
49142
  null,
49122
49143
  null,
@@ -53093,13 +53114,25 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
53093
53114
  mode: this.mode
53094
53115
  });
53095
53116
  },
53096
- handleOpen: function handleOpen(key, keyPath) {
53117
+ handleOpen: function handleOpen(key, keyPath, item) {
53097
53118
  this.menuId = key;
53098
- this.$emit('open', { key: key, path: keyPath });
53119
+ this.$emit('open', {
53120
+ key: key,
53121
+ path: keyPath,
53122
+ node: item.$attrs.data,
53123
+ item: item,
53124
+ mode: this.mode
53125
+ });
53099
53126
  },
53100
- handleClose: function handleClose(key, keyPath) {
53127
+ handleClose: function handleClose(key, keyPath, item) {
53101
53128
  this.menuId = null;
53102
- this.$emit('close', { key: key, path: keyPath });
53129
+ this.$emit('close', {
53130
+ key: key,
53131
+ path: keyPath,
53132
+ node: item.$attrs.data,
53133
+ item: item,
53134
+ mode: this.mode
53135
+ });
53103
53136
  },
53104
53137
  getSub: function getSub(item, h, popper) {
53105
53138
  var _this3 = this;
@@ -53145,7 +53178,7 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
53145
53178
  maxHeight: this.maxHeight,
53146
53179
  paddingLeft: this.paddingLeft
53147
53180
  },
53148
- attrs: { index: item.id, key: item.id }
53181
+ attrs: { data: item, index: item.id, key: item.id }
53149
53182
  }, doms)];
53150
53183
  } else if (this.deep && this.mode === 'horizontal' && item.fourthTabs && item.fourthTabs.length && (!item.extendData || item.extendData.businessStatus != 0)) {
53151
53184
  doms = doms.concat(item.fourthTabs.map(function (ele, index) {
@@ -53163,7 +53196,7 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
53163
53196
  maxHeight: this.maxHeight,
53164
53197
  paddingLeft: this.paddingLeft
53165
53198
  },
53166
- attrs: { index: item.id, key: item.id }
53199
+ attrs: { data: item, index: item.id, key: item.id }
53167
53200
  }, doms)];
53168
53201
  } else {
53169
53202
  return [h('el-menu-item', {
@@ -53284,8 +53317,8 @@ menu_src_main.install = function (Vue) {
53284
53317
  };
53285
53318
 
53286
53319
  /* harmony default export */ var menu = (menu_src_main);
53287
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/nav/src/main.vue?vue&type=template&id=a32b0cca&
53288
- var mainvue_type_template_id_a32b0cca_render = function () {
53320
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/nav/src/main.vue?vue&type=template&id=84cce570&
53321
+ var mainvue_type_template_id_84cce570_render = function () {
53289
53322
  var _vm = this
53290
53323
  var _h = _vm.$createElement
53291
53324
  var _c = _vm._self._c || _h
@@ -53423,11 +53456,11 @@ var mainvue_type_template_id_a32b0cca_render = function () {
53423
53456
  ]
53424
53457
  )
53425
53458
  }
53426
- var mainvue_type_template_id_a32b0cca_staticRenderFns = []
53427
- mainvue_type_template_id_a32b0cca_render._withStripped = true
53459
+ var mainvue_type_template_id_84cce570_staticRenderFns = []
53460
+ mainvue_type_template_id_84cce570_render._withStripped = true
53428
53461
 
53429
53462
 
53430
- // CONCATENATED MODULE: ./packages/nav/src/main.vue?vue&type=template&id=a32b0cca&
53463
+ // CONCATENATED MODULE: ./packages/nav/src/main.vue?vue&type=template&id=84cce570&
53431
53464
 
53432
53465
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/nav/src/main.vue?vue&type=script&lang=js&
53433
53466
  //
@@ -53650,11 +53683,11 @@ mainvue_type_template_id_a32b0cca_render._withStripped = true
53650
53683
  handleSelect: function handleSelect(res) {
53651
53684
  this.$emit('select', res);
53652
53685
  },
53653
- handleOpen: function handleOpen(key, keyPath) {
53654
- this.$emit('open', { key: key, path: keyPath });
53686
+ handleOpen: function handleOpen(res) {
53687
+ this.$emit('open', res);
53655
53688
  },
53656
- handleClose: function handleClose(key, keyPath) {
53657
- this.$emit('close', { key: key, path: keyPath });
53689
+ handleClose: function handleClose(res) {
53690
+ this.$emit('close', res);
53658
53691
  },
53659
53692
  resetHeight: function resetHeight() {
53660
53693
  var _this3 = this;
@@ -53688,8 +53721,8 @@ mainvue_type_template_id_a32b0cca_render._withStripped = true
53688
53721
 
53689
53722
  var nav_src_main_component = normalizeComponent(
53690
53723
  packages_nav_src_mainvue_type_script_lang_js_,
53691
- mainvue_type_template_id_a32b0cca_render,
53692
- mainvue_type_template_id_a32b0cca_staticRenderFns,
53724
+ mainvue_type_template_id_84cce570_render,
53725
+ mainvue_type_template_id_84cce570_staticRenderFns,
53693
53726
  false,
53694
53727
  null,
53695
53728
  null,
@@ -71051,7 +71084,7 @@ if (typeof window !== 'undefined' && window.Vue) {
71051
71084
  }
71052
71085
 
71053
71086
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
71054
- version: '0.4.44',
71087
+ version: '0.4.45',
71055
71088
  install: install,
71056
71089
  Button: packages_button,
71057
71090
  ButtonGroup: button_group,