eoss-ui 0.5.72 → 0.5.73

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.
package/lib/main.js CHANGED
@@ -3826,7 +3826,7 @@ module.exports = require("runtime-import");
3826
3826
  // ESM COMPAT FLAG
3827
3827
  __webpack_require__.r(__webpack_exports__);
3828
3828
 
3829
- // 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=268dce6d&
3829
+ // 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=a08554be&
3830
3830
  var render = function () {
3831
3831
  var _vm = this
3832
3832
  var _h = _vm.$createElement
@@ -3964,16 +3964,27 @@ var render = function () {
3964
3964
  _vm.layout === "topside" || _vm.layout === "side"
3965
3965
  ? _c(
3966
3966
  "div",
3967
- { staticClass: "es-main-side" },
3967
+ {
3968
+ staticClass: "es-main-side",
3969
+ class: {
3970
+ "es-main-topside": _vm.layout === "topside",
3971
+ },
3972
+ },
3968
3973
  [
3969
- _c("div", { staticClass: "es-main-side-logo" }, [
3970
- _vm.logoUrl
3971
- ? _c("img", {
3972
- staticClass: "es-main-logo",
3973
- attrs: { src: _vm.logoUrl },
3974
- })
3975
- : _vm._e(),
3976
- ]),
3974
+ _vm.layout === "topside"
3975
+ ? _c(
3976
+ "div",
3977
+ { staticClass: "es-main-side-logo" },
3978
+ [
3979
+ _vm.logoUrl
3980
+ ? _c("img", {
3981
+ staticClass: "es-main-logo",
3982
+ attrs: { src: _vm.logoUrl },
3983
+ })
3984
+ : _vm._e(),
3985
+ ]
3986
+ )
3987
+ : _vm._e(),
3977
3988
  _c("es-handle-user", {
3978
3989
  attrs: {
3979
3990
  data: { type: "user" },
@@ -4032,7 +4043,9 @@ var render = function () {
4032
4043
  "sub-icon": _vm.subIcon,
4033
4044
  biserial: _vm.biserial,
4034
4045
  title: _vm.showNavTitle ? _vm.title : false,
4035
- showCollapse: _vm.showNavTitle,
4046
+ showCollapse: _vm.showNavTitle
4047
+ ? _vm.showCollapse
4048
+ : false,
4036
4049
  "menu-tips": _vm.menuTips,
4037
4050
  "is-default": _vm.isDefault,
4038
4051
  paddingLeft: _vm.navPaddingLeft,
@@ -4269,7 +4282,7 @@ var staticRenderFns = []
4269
4282
  render._withStripped = true
4270
4283
 
4271
4284
 
4272
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=268dce6d&
4285
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=a08554be&
4273
4286
 
4274
4287
  // 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=75d533de&
4275
4288
  var userinfovue_type_template_id_75d533de_render = function () {
@@ -6414,6 +6427,7 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
6414
6427
  //
6415
6428
  //
6416
6429
  //
6430
+ //
6417
6431
 
6418
6432
 
6419
6433
 
@@ -6585,7 +6599,11 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
6585
6599
  type: String,
6586
6600
  default: '230px'
6587
6601
  },
6588
- navWidth: String
6602
+ navWidth: String,
6603
+ showCollapse: {
6604
+ type: Boolean,
6605
+ default: true
6606
+ }
6589
6607
  },
6590
6608
  computed: {
6591
6609
  showHeader: function showHeader() {
@@ -6619,7 +6637,7 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
6619
6637
  return this.layout === 'side' ? this.navBoxWidth : this.layout === 'subsystem' || this.layout === 'topside' ? '0' : this.navWidth;
6620
6638
  },
6621
6639
  showNavTitle: function showNavTitle() {
6622
- return this.layout !== 'topside' && this.layout !== 'side';
6640
+ return this.layout !== 'topside';
6623
6641
  },
6624
6642
 
6625
6643
  //tabs菜单
package/lib/menu.js CHANGED
@@ -280,6 +280,9 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
280
280
  },
281
281
  width: function width() {
282
282
  this.getMaxWidth();
283
+ },
284
+ height: function height() {
285
+ this.$refs.esMenu.update();
283
286
  }
284
287
  },
285
288
  data: function data() {
package/lib/nav.js CHANGED
@@ -3628,7 +3628,7 @@ module.exports = require("axios");
3628
3628
  // ESM COMPAT FLAG
3629
3629
  __webpack_require__.r(__webpack_exports__);
3630
3630
 
3631
- // 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=3f63e2ce&
3631
+ // 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=7b4319fb&
3632
3632
  var render = function () {
3633
3633
  var _vm = this
3634
3634
  var _h = _vm.$createElement
@@ -3708,7 +3708,7 @@ var render = function () {
3708
3708
  _vm.showTitle
3709
3709
  ? _c(
3710
3710
  "div",
3711
- { staticClass: "es-nav-title" },
3711
+ { ref: "navTitle", staticClass: "es-nav-title" },
3712
3712
  [
3713
3713
  _c(
3714
3714
  "span",
@@ -3767,6 +3767,7 @@ var render = function () {
3767
3767
  collapse: _vm.isCollapse,
3768
3768
  "default-active": _vm.menuActive,
3769
3769
  width: _vm.isTop ? _vm.boxWidth : _vm.menuWidth,
3770
+ height: _vm.menuHeight,
3770
3771
  "is-default": _vm.isDefault,
3771
3772
  biserial: _vm.biserial,
3772
3773
  paddingLeft: _vm.paddingLeft,
@@ -3818,7 +3819,7 @@ var staticRenderFns = []
3818
3819
  render._withStripped = true
3819
3820
 
3820
3821
 
3821
- // CONCATENATED MODULE: ./packages/nav/src/main.vue?vue&type=template&id=3f63e2ce&
3822
+ // CONCATENATED MODULE: ./packages/nav/src/main.vue?vue&type=template&id=7b4319fb&
3822
3823
 
3823
3824
  // EXTERNAL MODULE: ./src/utils/util.js
3824
3825
  var util = __webpack_require__(0);
@@ -3914,6 +3915,7 @@ var util = __webpack_require__(0);
3914
3915
  //
3915
3916
  //
3916
3917
  //
3918
+ //
3917
3919
 
3918
3920
 
3919
3921
  /* harmony default export */ var mainvue_type_script_lang_js_ = ({
@@ -3962,6 +3964,9 @@ var util = __webpack_require__(0);
3962
3964
  show: function show() {
3963
3965
  return this.overlap && this.subMenu.length;
3964
3966
  },
3967
+ showMenu: function showMenu() {
3968
+ return this.biserial ? this.subMenu.length : this.menu.length;
3969
+ },
3965
3970
  menu: function menu() {
3966
3971
  return this.data;
3967
3972
  },
@@ -4059,6 +4064,9 @@ var util = __webpack_require__(0);
4059
4064
  } else {
4060
4065
  this.subMenu = [];
4061
4066
  }
4067
+ },
4068
+ showMenu: function showMenu() {
4069
+ this.resetHeight();
4062
4070
  }
4063
4071
  },
4064
4072
  data: function data() {
@@ -4196,7 +4204,12 @@ var util = __webpack_require__(0);
4196
4204
  height -= 15;
4197
4205
  }
4198
4206
  _this4.height = height + 'px';
4199
- _this4.menuHeight = _this4.showTitle ? height - 49 + 'px' : height + 'px';
4207
+ if (_this4.showTitle) {
4208
+ var theight = _this4.$refs.navTitle.offsetHeight;
4209
+ _this4.menuHeight = height - theight + 'px';
4210
+ } else {
4211
+ _this4.menuHeight = height + 'px';
4212
+ }
4200
4213
  });
4201
4214
  }
4202
4215
  }
package/lib/select.js CHANGED
@@ -4052,6 +4052,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
4052
4052
  }
4053
4053
  },
4054
4054
  url: {
4055
+ immediate: true,
4055
4056
  handler: function handler(val, old) {
4056
4057
  if (val && old !== val && !this.sysCode) {
4057
4058
  this.getData();
package/lib/selector.js CHANGED
@@ -3642,7 +3642,7 @@ module.exports = require("json-bigint");
3642
3642
  // ESM COMPAT FLAG
3643
3643
  __webpack_require__.r(__webpack_exports__);
3644
3644
 
3645
- // 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=bcfee2b4&
3645
+ // 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=59002e4c&
3646
3646
  var render = function () {
3647
3647
  var _vm = this
3648
3648
  var _h = _vm.$createElement
@@ -3950,7 +3950,7 @@ var render = function () {
3950
3950
  attrs: {
3951
3951
  type: "text",
3952
3952
  autocomplete: "off",
3953
- clearable: "clearable",
3953
+ clearable: _vm.clearable,
3954
3954
  showClearIcon: "",
3955
3955
  name: _vm.name,
3956
3956
  readonly: _vm.filterable ? false : true,
@@ -4149,7 +4149,7 @@ var staticRenderFns = []
4149
4149
  render._withStripped = true
4150
4150
 
4151
4151
 
4152
- // CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=bcfee2b4&
4152
+ // CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=59002e4c&
4153
4153
 
4154
4154
  // EXTERNAL MODULE: ./src/utils/util.js
4155
4155
  var util = __webpack_require__(0);