nubomed-ui 2.0.196 → 2.0.197

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.
@@ -17947,7 +17947,7 @@ src.install = function (Vue) {
17947
17947
 
17948
17948
  /***/ }),
17949
17949
 
17950
- /***/ 8913:
17950
+ /***/ 116:
17951
17951
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
17952
17952
 
17953
17953
  "use strict";
@@ -17959,12 +17959,12 @@ __webpack_require__.d(__webpack_exports__, {
17959
17959
  "default": function() { return /* binding */ NBMainHeader; }
17960
17960
  });
17961
17961
 
17962
- ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./packages/components/NBMainHeader/src/index.vue?vue&type=template&id=6f43d4ce&scoped=true
17963
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-main-header"},[(_vm.showLogo)?_c('img',{staticClass:"nb-main-header__logo",attrs:{"src":__webpack_require__(6290)}}):_vm._e(),(_vm.logo)?_c('img',{staticClass:"nb-main-header__logo",attrs:{"src":_vm.logo}}):_vm._e(),_c('div',{staticClass:"nb-main-header__left"},[_vm._t("left")],2),(_vm.deptList.length > 1)?_c('el-dropdown',{staticClass:"nb-main-header__dropdown",class:_vm.deptVisibleChange ? 'is-visible' : '',attrs:{"trigger":"click"},on:{"visible-change":function (val) { return (_vm.deptVisibleChange = val); },"command":_vm.handleChangeDept}},[_c('div',{staticClass:"dropdown__text"},[_vm._v(_vm._s(_vm.deptList[0].sDeptName)),_c('nb-icon',{staticClass:"el-dropdown__arrow",attrs:{"icon":"caret-down"}})],1),_c('el-dropdown-menu',{staticClass:"nb-main-header__dropdown-popper",attrs:{"slot":"dropdown"},slot:"dropdown"},_vm._l((_vm.deptList),function(item){return _c('el-dropdown-item',{key:item.iDeptId,class:_vm.defaultDeptId === item.iDeptId ? 'is-active' : '',attrs:{"command":item.iDeptId}},[_c('span',{staticClass:"text"},[_vm._v(_vm._s(item.sDeptName))])])}),1)],1):(_vm.deptList.length === 1)?_c('span',[_vm._v(_vm._s(_vm.deptList[0].sDeptName))]):_vm._e(),_c('el-dropdown',{class:_vm.userVisibleChange ? 'is-visible' : '',attrs:{"trigger":"click"},on:{"visible-change":function (val) { return (_vm.userVisibleChange = val); },"command":_vm.handleChangeMenu}},[_c('div',{staticClass:"dropdown__text"},[_c('strong',{staticClass:"user__avatar"},[_vm._v(_vm._s(_vm.avatar))]),_vm._v(_vm._s(_vm.trueName)),_c('nb-icon',{staticClass:"el-dropdown__arrow",attrs:{"icon":"caret-down"}})],1),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},_vm._l((_vm.menuList),function(item){return _c('el-dropdown-item',{key:item.iProgramCode,attrs:{"command":item.iProgramCode}},[(_vm.iconType === 0)?_c('nb-icon',{attrs:{"icon":item.sIcon}}):_vm._e(),(_vm.iconType === 1)?_c('SvgIcon',{attrs:{"icon-class":item.sIcon}}):_vm._e(),_c('span',{staticClass:"text"},[_vm._v(_vm._s(item.sProgramName))]),_c('nb-badge',{attrs:{"value":item.badge}})],1)}),1)],1),_c('div',{staticClass:"nb-main-header__logout",on:{"click":function($event){$event.stopPropagation();return _vm.handleLogout($event)}}},[_c('nb-icon',{attrs:{"icon":"logout"}}),_c('strong',[_vm._v(_vm._s(_vm.logoutText || _vm.t('nb.button.logout'))),(_vm.logoutTime > -1)?[_vm._v("("+_vm._s(_vm.logoutTime)+"S)")]:_vm._e()],2)],1)],1)}
17962
+ ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./packages/components/NBMainHeader/src/index.vue?vue&type=template&id=e3fdcf7e&scoped=true
17963
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-main-header"},[(_vm.showLogo)?_c('img',{staticClass:"nb-main-header__logo",attrs:{"src":__webpack_require__(6290)}}):_vm._e(),(_vm.logo)?_c('img',{staticClass:"nb-main-header__logo",attrs:{"src":_vm.logo}}):_vm._e(),_c('div',{staticClass:"nb-main-header__left"},[_vm._t("left")],2),(_vm.deptList.length > 1)?_c('el-dropdown',{staticClass:"nb-main-header__dropdown",class:_vm.deptVisibleChange ? 'is-visible' : '',attrs:{"trigger":"click"},on:{"visible-change":function (val) { return (_vm.deptVisibleChange = val); },"command":_vm.handleChangeDept}},[_c('div',{staticClass:"dropdown__text"},[_vm._v(_vm._s(_vm.deptList[0].sDeptName)),_c('nb-icon',{staticClass:"el-dropdown__arrow",attrs:{"icon":"caret-down"}})],1),_c('el-dropdown-menu',{staticClass:"nb-main-header__dropdown-popper",attrs:{"slot":"dropdown"},slot:"dropdown"},_vm._l((_vm.deptList),function(item){return _c('el-dropdown-item',{key:item.iDeptId,class:_vm.defaultDeptId === item.iDeptId ? 'is-active' : '',attrs:{"command":item.iDeptId}},[_c('span',{staticClass:"text"},[_vm._v(_vm._s(item.sDeptName))])])}),1)],1):(_vm.deptList.length === 1)?_c('span',[_vm._v(_vm._s(_vm.deptList[0].sDeptName))]):_vm._e(),_c('el-dropdown',{class:_vm.userVisibleChange ? 'is-visible' : '',attrs:{"trigger":"click"},on:{"visible-change":function (val) { return (_vm.userVisibleChange = val); },"command":_vm.handleChangeMenu}},[_c('div',{staticClass:"dropdown__text"},[_c('strong',{staticClass:"user__avatar"},[_vm._v(_vm._s(_vm.avatar))]),_vm._v(_vm._s(_vm.trueName)),_c('nb-icon',{staticClass:"el-dropdown__arrow",attrs:{"icon":"caret-down"}})],1),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},_vm._l((_vm.menuList),function(item){return _c('el-dropdown-item',{key:item.iProgramCode,attrs:{"command":item.iProgramCode}},[(_vm.iconType === 0)?_c('nb-icon',{attrs:{"icon":item.sIcon}}):_vm._e(),(_vm.iconType === 1)?_c('SvgIcon',{attrs:{"icon-class":item.sIcon}}):_vm._e(),_c('span',{staticClass:"text"},[_vm._v(_vm._s(item.sProgramName))]),_c('nb-badge',{attrs:{"value":item.badge}})],1)}),1)],1),_c('div',{staticClass:"nb-main-header__logout",on:{"click":function($event){$event.stopPropagation();return _vm.handleLogout($event)}}},[_c('nb-icon',{attrs:{"icon":"logout"}}),_c('strong',[_vm._v(_vm._s(_vm.logoutText || _vm.t('nb.button.logout'))),(_vm.showLogoutTime && _vm.logoutTime > -1)?[_vm._v("("+_vm._s(_vm.logoutTime)+"S)")]:_vm._e()],2)],1)],1)}
17964
17964
  var staticRenderFns = []
17965
17965
 
17966
17966
 
17967
- ;// ./packages/components/NBMainHeader/src/index.vue?vue&type=template&id=6f43d4ce&scoped=true
17967
+ ;// ./packages/components/NBMainHeader/src/index.vue?vue&type=template&id=e3fdcf7e&scoped=true
17968
17968
 
17969
17969
  // EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.constructor.js
17970
17970
  var esnext_iterator_constructor = __webpack_require__(8992);
@@ -18107,6 +18107,11 @@ var mixins = __webpack_require__(5289);
18107
18107
  iconType: {
18108
18108
  type: Number,
18109
18109
  default: 0
18110
+ },
18111
+ // 是否显示退出倒计时
18112
+ showLogoutTime: {
18113
+ type: Boolean,
18114
+ default: false
18110
18115
  }
18111
18116
  },
18112
18117
  data() {
@@ -18154,7 +18159,7 @@ var component = (0,componentNormalizer/* default */.A)(
18154
18159
  staticRenderFns,
18155
18160
  false,
18156
18161
  null,
18157
- "6f43d4ce",
18162
+ "e3fdcf7e",
18158
18163
  null
18159
18164
 
18160
18165
  )
@@ -23775,7 +23780,7 @@ var map = {
23775
23780
  "./NBLayout/index.js": 7234,
23776
23781
  "./NBLoading/index.js": 8816,
23777
23782
  "./NBLowBarcodeCard/index.js": 1706,
23778
- "./NBMainHeader/index.js": 8913,
23783
+ "./NBMainHeader/index.js": 116,
23779
23784
  "./NBMenusGrid/index.js": 9727,
23780
23785
  "./NBMessageDialog/index.js": 8372,
23781
23786
  "./NBNameSpecCard/index.js": 4382,
@@ -26503,7 +26508,7 @@ $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
26503
26508
 
26504
26509
  /***/ }),
26505
26510
 
26506
- /***/ 116:
26511
+ /***/ 7735:
26507
26512
  /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
26508
26513
 
26509
26514
  "use strict";
@@ -26616,7 +26621,7 @@ __webpack_require__(2489);
26616
26621
  "use strict";
26617
26622
 
26618
26623
  // TODO: Remove from `core-js@4`
26619
- __webpack_require__(116);
26624
+ __webpack_require__(7735);
26620
26625
 
26621
26626
 
26622
26627
  /***/ }),
@@ -26771,7 +26776,7 @@ var esnext_iterator_constructor = __webpack_require__(8992);
26771
26776
  // EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.for-each.js
26772
26777
  var esnext_iterator_for_each = __webpack_require__(3949);
26773
26778
  ;// ./package.json
26774
- var package_namespaceObject = {"rE":"2.0.196"};
26779
+ var package_namespaceObject = {"rE":"2.0.197"};
26775
26780
  ;// ./packages/utils/convert.js
26776
26781
  /**
26777
26782
  * 将大驼峰(camelCase)字符串转换为小写且带有空格分隔的形式(kebab-case)
@@ -27046,7 +27051,7 @@ types.forEach(type => {
27046
27051
  /*
27047
27052
  * @Author: chenghuan.dong
27048
27053
  * @Date: 2024-11-11 13:46:54
27049
- * @LastEditTime: 2025-03-04 19:22:34
27054
+ * @LastEditTime: 2025-04-18 16:56:32
27050
27055
  * @LastEditors: chenghuan.dong
27051
27056
  * @Description: 主index.js导出全部组件
27052
27057
  * @FilePath: \nubomed-ui\packages\index.js
package/nubomed-ui.umd.js CHANGED
@@ -17957,7 +17957,7 @@ src.install = function (Vue) {
17957
17957
 
17958
17958
  /***/ }),
17959
17959
 
17960
- /***/ 6491:
17960
+ /***/ 9968:
17961
17961
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
17962
17962
 
17963
17963
  "use strict";
@@ -17969,12 +17969,12 @@ __webpack_require__.d(__webpack_exports__, {
17969
17969
  "default": function() { return /* binding */ NBMainHeader; }
17970
17970
  });
17971
17971
 
17972
- ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./packages/components/NBMainHeader/src/index.vue?vue&type=template&id=6f43d4ce&scoped=true
17973
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-main-header"},[(_vm.showLogo)?_c('img',{staticClass:"nb-main-header__logo",attrs:{"src":__webpack_require__(6290)}}):_vm._e(),(_vm.logo)?_c('img',{staticClass:"nb-main-header__logo",attrs:{"src":_vm.logo}}):_vm._e(),_c('div',{staticClass:"nb-main-header__left"},[_vm._t("left")],2),(_vm.deptList.length > 1)?_c('el-dropdown',{staticClass:"nb-main-header__dropdown",class:_vm.deptVisibleChange ? 'is-visible' : '',attrs:{"trigger":"click"},on:{"visible-change":function (val) { return (_vm.deptVisibleChange = val); },"command":_vm.handleChangeDept}},[_c('div',{staticClass:"dropdown__text"},[_vm._v(_vm._s(_vm.deptList[0].sDeptName)),_c('nb-icon',{staticClass:"el-dropdown__arrow",attrs:{"icon":"caret-down"}})],1),_c('el-dropdown-menu',{staticClass:"nb-main-header__dropdown-popper",attrs:{"slot":"dropdown"},slot:"dropdown"},_vm._l((_vm.deptList),function(item){return _c('el-dropdown-item',{key:item.iDeptId,class:_vm.defaultDeptId === item.iDeptId ? 'is-active' : '',attrs:{"command":item.iDeptId}},[_c('span',{staticClass:"text"},[_vm._v(_vm._s(item.sDeptName))])])}),1)],1):(_vm.deptList.length === 1)?_c('span',[_vm._v(_vm._s(_vm.deptList[0].sDeptName))]):_vm._e(),_c('el-dropdown',{class:_vm.userVisibleChange ? 'is-visible' : '',attrs:{"trigger":"click"},on:{"visible-change":function (val) { return (_vm.userVisibleChange = val); },"command":_vm.handleChangeMenu}},[_c('div',{staticClass:"dropdown__text"},[_c('strong',{staticClass:"user__avatar"},[_vm._v(_vm._s(_vm.avatar))]),_vm._v(_vm._s(_vm.trueName)),_c('nb-icon',{staticClass:"el-dropdown__arrow",attrs:{"icon":"caret-down"}})],1),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},_vm._l((_vm.menuList),function(item){return _c('el-dropdown-item',{key:item.iProgramCode,attrs:{"command":item.iProgramCode}},[(_vm.iconType === 0)?_c('nb-icon',{attrs:{"icon":item.sIcon}}):_vm._e(),(_vm.iconType === 1)?_c('SvgIcon',{attrs:{"icon-class":item.sIcon}}):_vm._e(),_c('span',{staticClass:"text"},[_vm._v(_vm._s(item.sProgramName))]),_c('nb-badge',{attrs:{"value":item.badge}})],1)}),1)],1),_c('div',{staticClass:"nb-main-header__logout",on:{"click":function($event){$event.stopPropagation();return _vm.handleLogout($event)}}},[_c('nb-icon',{attrs:{"icon":"logout"}}),_c('strong',[_vm._v(_vm._s(_vm.logoutText || _vm.t('nb.button.logout'))),(_vm.logoutTime > -1)?[_vm._v("("+_vm._s(_vm.logoutTime)+"S)")]:_vm._e()],2)],1)],1)}
17972
+ ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./packages/components/NBMainHeader/src/index.vue?vue&type=template&id=e3fdcf7e&scoped=true
17973
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-main-header"},[(_vm.showLogo)?_c('img',{staticClass:"nb-main-header__logo",attrs:{"src":__webpack_require__(6290)}}):_vm._e(),(_vm.logo)?_c('img',{staticClass:"nb-main-header__logo",attrs:{"src":_vm.logo}}):_vm._e(),_c('div',{staticClass:"nb-main-header__left"},[_vm._t("left")],2),(_vm.deptList.length > 1)?_c('el-dropdown',{staticClass:"nb-main-header__dropdown",class:_vm.deptVisibleChange ? 'is-visible' : '',attrs:{"trigger":"click"},on:{"visible-change":function (val) { return (_vm.deptVisibleChange = val); },"command":_vm.handleChangeDept}},[_c('div',{staticClass:"dropdown__text"},[_vm._v(_vm._s(_vm.deptList[0].sDeptName)),_c('nb-icon',{staticClass:"el-dropdown__arrow",attrs:{"icon":"caret-down"}})],1),_c('el-dropdown-menu',{staticClass:"nb-main-header__dropdown-popper",attrs:{"slot":"dropdown"},slot:"dropdown"},_vm._l((_vm.deptList),function(item){return _c('el-dropdown-item',{key:item.iDeptId,class:_vm.defaultDeptId === item.iDeptId ? 'is-active' : '',attrs:{"command":item.iDeptId}},[_c('span',{staticClass:"text"},[_vm._v(_vm._s(item.sDeptName))])])}),1)],1):(_vm.deptList.length === 1)?_c('span',[_vm._v(_vm._s(_vm.deptList[0].sDeptName))]):_vm._e(),_c('el-dropdown',{class:_vm.userVisibleChange ? 'is-visible' : '',attrs:{"trigger":"click"},on:{"visible-change":function (val) { return (_vm.userVisibleChange = val); },"command":_vm.handleChangeMenu}},[_c('div',{staticClass:"dropdown__text"},[_c('strong',{staticClass:"user__avatar"},[_vm._v(_vm._s(_vm.avatar))]),_vm._v(_vm._s(_vm.trueName)),_c('nb-icon',{staticClass:"el-dropdown__arrow",attrs:{"icon":"caret-down"}})],1),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},_vm._l((_vm.menuList),function(item){return _c('el-dropdown-item',{key:item.iProgramCode,attrs:{"command":item.iProgramCode}},[(_vm.iconType === 0)?_c('nb-icon',{attrs:{"icon":item.sIcon}}):_vm._e(),(_vm.iconType === 1)?_c('SvgIcon',{attrs:{"icon-class":item.sIcon}}):_vm._e(),_c('span',{staticClass:"text"},[_vm._v(_vm._s(item.sProgramName))]),_c('nb-badge',{attrs:{"value":item.badge}})],1)}),1)],1),_c('div',{staticClass:"nb-main-header__logout",on:{"click":function($event){$event.stopPropagation();return _vm.handleLogout($event)}}},[_c('nb-icon',{attrs:{"icon":"logout"}}),_c('strong',[_vm._v(_vm._s(_vm.logoutText || _vm.t('nb.button.logout'))),(_vm.showLogoutTime && _vm.logoutTime > -1)?[_vm._v("("+_vm._s(_vm.logoutTime)+"S)")]:_vm._e()],2)],1)],1)}
17974
17974
  var staticRenderFns = []
17975
17975
 
17976
17976
 
17977
- ;// ./packages/components/NBMainHeader/src/index.vue?vue&type=template&id=6f43d4ce&scoped=true
17977
+ ;// ./packages/components/NBMainHeader/src/index.vue?vue&type=template&id=e3fdcf7e&scoped=true
17978
17978
 
17979
17979
  // EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.constructor.js
17980
17980
  var esnext_iterator_constructor = __webpack_require__(8992);
@@ -18117,6 +18117,11 @@ var mixins = __webpack_require__(869);
18117
18117
  iconType: {
18118
18118
  type: Number,
18119
18119
  default: 0
18120
+ },
18121
+ // 是否显示退出倒计时
18122
+ showLogoutTime: {
18123
+ type: Boolean,
18124
+ default: false
18120
18125
  }
18121
18126
  },
18122
18127
  data() {
@@ -18164,7 +18169,7 @@ var component = (0,componentNormalizer/* default */.A)(
18164
18169
  staticRenderFns,
18165
18170
  false,
18166
18171
  null,
18167
- "6f43d4ce",
18172
+ "e3fdcf7e",
18168
18173
  null
18169
18174
 
18170
18175
  )
@@ -23785,7 +23790,7 @@ var map = {
23785
23790
  "./NBLayout/index.js": 9885,
23786
23791
  "./NBLoading/index.js": 9190,
23787
23792
  "./NBLowBarcodeCard/index.js": 3205,
23788
- "./NBMainHeader/index.js": 6491,
23793
+ "./NBMainHeader/index.js": 9968,
23789
23794
  "./NBMenusGrid/index.js": 2171,
23790
23795
  "./NBMessageDialog/index.js": 2133,
23791
23796
  "./NBNameSpecCard/index.js": 7980,
@@ -26781,7 +26786,7 @@ var esnext_iterator_constructor = __webpack_require__(8992);
26781
26786
  // EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.for-each.js
26782
26787
  var esnext_iterator_for_each = __webpack_require__(3949);
26783
26788
  ;// ./package.json
26784
- var package_namespaceObject = {"rE":"2.0.196"};
26789
+ var package_namespaceObject = {"rE":"2.0.197"};
26785
26790
  ;// ./packages/utils/convert.js
26786
26791
  /**
26787
26792
  * 将大驼峰(camelCase)字符串转换为小写且带有空格分隔的形式(kebab-case)
@@ -27056,7 +27061,7 @@ types.forEach(type => {
27056
27061
  /*
27057
27062
  * @Author: chenghuan.dong
27058
27063
  * @Date: 2024-11-11 13:46:54
27059
- * @LastEditTime: 2025-03-04 19:22:34
27064
+ * @LastEditTime: 2025-04-18 16:56:32
27060
27065
  * @LastEditors: chenghuan.dong
27061
27066
  * @Description: 主index.js导出全部组件
27062
27067
  * @FilePath: \nubomed-ui\packages\index.js