nubomed-ui 2.0.42 → 2.0.44

Sign up to get free protection for your applications and to get access to all the features.
package/nubomed-ui.umd.js CHANGED
@@ -306,7 +306,91 @@ module.exports = function (i) {
306
306
 
307
307
  /***/ }),
308
308
 
309
- /***/ 8166:
309
+ /***/ 3134:
310
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
311
+
312
+ "use strict";
313
+ // ESM COMPAT FLAG
314
+ __webpack_require__.r(__webpack_exports__);
315
+
316
+ // EXPORTS
317
+ __webpack_require__.d(__webpack_exports__, {
318
+ "default": function() { return /* binding */ NBBadge; }
319
+ });
320
+
321
+ ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBBadge/src/index.vue?vue&type=template&id=a2f7b152
322
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.value > 0)?_c('span',{staticClass:"nb-badge",class:("nb-badge--" + _vm.type)},[_vm._v(_vm._s(_vm.value > _vm.max ? (_vm.max + "+") : _vm.value))]):_vm._e()}
323
+ var staticRenderFns = []
324
+
325
+
326
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBBadge/src/index.vue?vue&type=script&lang=js
327
+ //
328
+ //
329
+ //
330
+ //
331
+ //
332
+ //
333
+ //
334
+ //
335
+ //
336
+ //
337
+ //
338
+ //
339
+
340
+ /* harmony default export */ var srcvue_type_script_lang_js = ({
341
+ name: 'NBBadge',
342
+ props: {
343
+ // 类型,success/info/warning/danger,默认主题色状态
344
+ value: {
345
+ type: [String, Number],
346
+ default: ''
347
+ },
348
+ // 尺寸,large-大标签(高度36),默认小标签(高度32)
349
+ max: {
350
+ type: Number,
351
+ default: null
352
+ },
353
+ // 类型 primary / success / warning / danger / info
354
+ type: {
355
+ type: String,
356
+ default: 'danger'
357
+ }
358
+ }
359
+ });
360
+ ;// ./packages/components/NBBadge/src/index.vue?vue&type=script&lang=js
361
+ /* harmony default export */ var NBBadge_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
362
+ // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
363
+ var componentNormalizer = __webpack_require__(1656);
364
+ ;// ./packages/components/NBBadge/src/index.vue
365
+
366
+
367
+
368
+
369
+
370
+ /* normalize component */
371
+ ;
372
+ var component = (0,componentNormalizer/* default */.A)(
373
+ NBBadge_srcvue_type_script_lang_js,
374
+ render,
375
+ staticRenderFns,
376
+ false,
377
+ null,
378
+ null,
379
+ null
380
+
381
+ )
382
+
383
+ /* harmony default export */ var src = (component.exports);
384
+ ;// ./packages/components/NBBadge/index.js
385
+
386
+ src.install = function (Vue) {
387
+ Vue.component(src.name, src);
388
+ };
389
+ /* harmony default export */ var NBBadge = (src);
390
+
391
+ /***/ }),
392
+
393
+ /***/ 2129:
310
394
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
311
395
 
312
396
  "use strict";
@@ -318,8 +402,8 @@ __webpack_require__.d(__webpack_exports__, {
318
402
  "default": function() { return /* binding */ NBCheckboxGroup; }
319
403
  });
320
404
 
321
- ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBCheckboxGroup/src/index.vue?vue&type=template&id=9981adea&scoped=true
322
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-checkbox-group"},_vm._l((_vm.options),function(item,index){return _c('div',{key:index,staticClass:"nb-checkbox-group__item",class:_vm.getItemClass(item),style:(("min-width: " + _vm.minWidth + "px")),on:{"click":function($event){$event.stopPropagation();return _vm.handleClick(item)}}},[_c('nb-icon',{attrs:{"icon":"checked-corner-bottom"}}),_c('span',[_vm._t("default",function(){return [_vm._v(_vm._s(item.label))]},{"row":item})],2)],1)}),0)}
405
+ ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBCheckboxGroup/src/index.vue?vue&type=template&id=05a8e580&scoped=true
406
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-checkbox-group"},_vm._l((_vm.options),function(item,index){return _c('div',{key:index,staticClass:"nb-checkbox-group__item",class:_vm.getItemClass(item),style:(("min-width: " + _vm.minWidth + "px")),on:{"click":function($event){$event.stopPropagation();return _vm.handleClick(item)}}},[_c('nb-icon',{attrs:{"icon":"checked-corner-bottom"}}),_c('span',[(_vm.$slots.default)?_vm._t("default",null,{"row":item}):[_vm._v(_vm._s(item.label))]],2)],1)}),0)}
323
407
  var staticRenderFns = []
324
408
 
325
409
 
@@ -362,6 +446,7 @@ var esnext_iterator_map = __webpack_require__(1454);
362
446
  //
363
447
  //
364
448
  //
449
+ //
365
450
 
366
451
  /* harmony default export */ var srcvue_type_script_lang_js = ({
367
452
  name: 'NBCheckboxGroup',
@@ -446,7 +531,7 @@ var component = (0,componentNormalizer/* default */.A)(
446
531
  staticRenderFns,
447
532
  false,
448
533
  null,
449
- "9981adea",
534
+ "05a8e580",
450
535
  null
451
536
 
452
537
  )
@@ -685,7 +770,7 @@ src.install = function (Vue) {
685
770
 
686
771
  /***/ }),
687
772
 
688
- /***/ 2229:
773
+ /***/ 6523:
689
774
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
690
775
 
691
776
  "use strict";
@@ -697,14 +782,84 @@ __webpack_require__.d(__webpack_exports__, {
697
782
  "default": function() { return /* binding */ NBHeader; }
698
783
  });
699
784
 
700
- ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBHeader/src/index.vue?vue&type=template&id=e09e670c&scoped=true
701
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-header"},[(_vm.back)?_c('div',{staticClass:"nb-header__back",on:{"click":function($event){$event.stopPropagation();return _vm.handleBack.apply(null, arguments)}}},[_c('NBIcon',{attrs:{"icon":"back"}}),_c('span',{staticClass:"nb-header__back__text"},[_vm._v(_vm._s(_vm.backText))])],1):_vm._e(),_c('div',{staticClass:"nb-header__left"},[_vm._t("left")],2),(_vm.tabs.length)?_c('ul',{staticClass:"nb-header__tabs"},_vm._l((_vm.tabs),function(item,index){return _c('li',{key:index,staticClass:"nb-header__tab",class:_vm.tabsItemClass(item, index),on:{"click":function($event){$event.stopPropagation();return _vm.handleChangeTab(item, index)}}},[_c('div',{staticClass:"nb-header__tab__text"},[_c('span',[_c('el-badge',{attrs:{"value":item[_vm.tabProps.badge],"hidden":!item[_vm.tabProps.badge],"max":99}},[_vm._v(_vm._s(item[_vm.tabProps.text]))])],1)])])}),0):_vm._e(),(_vm.title)?_c('div',{staticClass:"nb-header__title"},[_vm._v(_vm._s(_vm.title))]):_vm._e(),(_vm.$slots.title)?_c('div',{staticClass:"nb-header__title"},[_vm._t("title")],2):_vm._e(),_c('div',{staticClass:"nb-header__right"},[_vm._t("right")],2),(_vm.logout)?_c('div',{staticClass:"nb-header__logout",on:{"click":function($event){$event.stopPropagation();return _vm.handleLogout.apply(null, arguments)}}},[_c('NBIcon',{attrs:{"icon":"logout"}}),_c('span',{staticClass:"nb-header__logout__text"},[_vm._v(_vm._s(_vm.logoutText)),(_vm.logoutTime > -1)?[_vm._v("("+_vm._s(_vm.logoutTime)+"S)")]:_vm._e()],2)],1):_vm._e()])}
785
+ ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBHeader/src/index.vue?vue&type=template&id=8de13f1a&scoped=true
786
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-header"},[(_vm.back)?_c('div',{staticClass:"nb-header__back",on:{"click":function($event){$event.stopPropagation();return _vm.handleBack.apply(null, arguments)}}},[_c('NBIcon',{attrs:{"icon":"back"}}),_c('span',{staticClass:"nb-header__back__text"},[_vm._v(_vm._s(_vm.backText))])],1):_vm._e(),_c('div',{staticClass:"nb-header__left"},[_vm._t("left")],2),(_vm.tabs.length)?_c('ul',{ref:"refNBHeaderTabs",staticClass:"nb-header__tabs"},_vm._l((_vm.tabs),function(item,index){return _c('li',{key:index,staticClass:"nb-header__tab",class:_vm.tabsItemClass(item, index),on:{"click":function($event){$event.stopPropagation();return _vm.handleChangeTab(item, index)}}},[_c('div',{staticClass:"nb-header__tab__text"},[_c('span',{domProps:{"innerHTML":_vm._s(item[_vm.tabProps.text])}})]),_c('NBBadge',{attrs:{"value":item[_vm.tabProps.badge],"max":99}})],1)}),0):_vm._e(),(_vm.title)?_c('div',{staticClass:"nb-header__title"},[_vm._v(_vm._s(_vm.title))]):_vm._e(),(_vm.$slots.title)?_c('div',{staticClass:"nb-header__title"},[_vm._t("title")],2):_vm._e(),_c('div',{ref:"refNBHeaderRight",staticClass:"nb-header__right"},[_vm._t("right")],2),(_vm.logout)?_c('div',{staticClass:"nb-header__logout",on:{"click":function($event){$event.stopPropagation();return _vm.handleLogout.apply(null, arguments)}}},[_c('NBIcon',{attrs:{"icon":"logout"}}),_c('span',{staticClass:"nb-header__logout__text"},[_vm._v(_vm._s(_vm.logoutText)),(_vm.logoutTime > -1)?[_vm._v("("+_vm._s(_vm.logoutTime)+"S)")]:_vm._e()],2)],1):_vm._e()])}
702
787
  var staticRenderFns = []
703
788
 
704
789
 
790
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.constructor.js
791
+ var esnext_iterator_constructor = __webpack_require__(8992);
792
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.for-each.js
793
+ var esnext_iterator_for_each = __webpack_require__(3949);
705
794
  // EXTERNAL MODULE: ./packages/components/NBIcon/index.js + 4 modules
706
795
  var NBIcon = __webpack_require__(5408);
796
+ // EXTERNAL MODULE: ./packages/components/NBBadge/index.js + 4 modules
797
+ var NBBadge = __webpack_require__(3134);
798
+ ;// ./packages/utils/dom.js
799
+ /*
800
+ * @Author: chenghuan.dong
801
+ * @Date: 2024-11-14 14:48:30
802
+ * @LastEditTime: 2024-11-14 14:50:14
803
+ * @LastEditors: chenghuan.dong
804
+ * @Description:
805
+ * @FilePath: \nubomed-ui\packages\utils\dom.js
806
+ */
807
+ /* istanbul ignore next */
808
+ function addClass(el, cls) {
809
+ if (!el) return;
810
+ var curClass = el.className;
811
+ var classes = (cls || '').split(' ');
812
+ for (var i = 0, j = classes.length; i < j; i++) {
813
+ var clsName = classes[i];
814
+ if (!clsName) continue;
815
+ if (el.classList) {
816
+ el.classList.add(clsName);
817
+ } else if (!hasClass(el, clsName)) {
818
+ curClass += ' ' + clsName;
819
+ }
820
+ }
821
+ if (!el.classList) {
822
+ el.setAttribute('class', curClass);
823
+ }
824
+ }
825
+
826
+ /* istanbul ignore next */
827
+ function removeClass(el, cls) {
828
+ if (!el || !cls) return;
829
+ var classes = cls.split(' ');
830
+ var curClass = ' ' + el.className + ' ';
831
+ for (var i = 0, j = classes.length; i < j; i++) {
832
+ var clsName = classes[i];
833
+ if (!clsName) continue;
834
+ if (el.classList) {
835
+ el.classList.remove(clsName);
836
+ } else if (hasClass(el, clsName)) {
837
+ curClass = curClass.replace(' ' + clsName + ' ', ' ');
838
+ }
839
+ }
840
+ if (!el.classList) {
841
+ el.setAttribute('class', trim(curClass));
842
+ }
843
+ }
844
+
845
+ /* istanbul ignore next */
846
+ function hasClass(el, cls) {
847
+ if (!el || !cls) return false;
848
+ if (cls.indexOf(' ') !== -1) throw new Error('className should not contain space.');
849
+ if (el.classList) {
850
+ return el.classList.contains(cls);
851
+ } else {
852
+ return (' ' + el.className + ' ').indexOf(' ' + cls + ' ') > -1;
853
+ }
854
+ }
855
+
856
+ /* istanbul ignore next */
857
+ const trim = function (string) {
858
+ return (string || '').replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g, '');
859
+ };
707
860
  ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBHeader/src/index.vue?vue&type=script&lang=js
861
+
862
+
708
863
  //
709
864
  //
710
865
  //
@@ -756,13 +911,15 @@ var NBIcon = __webpack_require__(5408);
756
911
  //
757
912
  //
758
913
  //
759
- //
914
+
915
+
760
916
 
761
917
 
762
918
  /* harmony default export */ var srcvue_type_script_lang_js = ({
763
919
  name: 'NBHeader',
764
920
  components: {
765
- NBIcon: NBIcon["default"]
921
+ NBIcon: NBIcon["default"],
922
+ NBBadge: NBBadge["default"]
766
923
  },
767
924
  props: {
768
925
  // 是否显示返回
@@ -828,7 +985,28 @@ var NBIcon = __webpack_require__(5408);
828
985
  data() {
829
986
  return {};
830
987
  },
831
- computed: {},
988
+ mounted() {
989
+ // 缩小tab的字体
990
+ if (this.$refs.refNBHeaderTabs) {
991
+ const tabs = this.$refs.refNBHeaderTabs.querySelectorAll('.nb-header__tab');
992
+ tabs.forEach(x => {
993
+ const el = x.querySelector('.nb-header__tab__text>span');
994
+ if (el) {
995
+ addClass(x.querySelector('.nb-header__tab__text'), `nb-header__tab__text--${parseInt(el.clientHeight / 42)}`);
996
+ }
997
+ });
998
+ }
999
+
1000
+ // 缩小右侧按钮大小
1001
+ if (this.$refs.refNBHeaderRight && this.$refs.refNBHeaderTabs) {
1002
+ const rightButton = this.$refs.refNBHeaderRight.querySelectorAll('.nb-header__btn');
1003
+ rightButton.forEach(x => {
1004
+ if (x && x.clientWidth > 220) {
1005
+ addClass(x, 'nb-header__btn--small');
1006
+ }
1007
+ });
1008
+ }
1009
+ },
832
1010
  methods: {
833
1011
  // 返回
834
1012
  handleBack() {
@@ -879,7 +1057,7 @@ var component = (0,componentNormalizer/* default */.A)(
879
1057
  staticRenderFns,
880
1058
  false,
881
1059
  null,
882
- "e09e670c",
1060
+ "8de13f1a",
883
1061
  null
884
1062
 
885
1063
  )
@@ -1382,7 +1560,7 @@ src.install = function (Vue) {
1382
1560
 
1383
1561
  /***/ }),
1384
1562
 
1385
- /***/ 6661:
1563
+ /***/ 2139:
1386
1564
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1387
1565
 
1388
1566
  "use strict";
@@ -1394,8 +1572,8 @@ __webpack_require__.d(__webpack_exports__, {
1394
1572
  "default": function() { return /* binding */ NBRadioGroup; }
1395
1573
  });
1396
1574
 
1397
- ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBRadioGroup/src/index.vue?vue&type=template&id=479965ae&scoped=true
1398
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-radio-group-group"},_vm._l((_vm.options),function(item,index){return _c('div',{key:index,staticClass:"nb-radio-group__item",class:_vm.getItemClass(item),style:(("min-width: " + _vm.minWidth + "px")),on:{"click":function($event){$event.stopPropagation();return _vm.handleClick(item)}}},[_c('span',[_vm._t("default",function(){return [_vm._v(_vm._s(item.label))]},{"row":item})],2)])}),0)}
1575
+ ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBRadioGroup/src/index.vue?vue&type=template&id=7f3831ca&scoped=true
1576
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-radio-group-group"},_vm._l((_vm.options),function(item,index){return _c('div',{key:index,staticClass:"nb-radio-group__item",class:_vm.getItemClass(item),style:(("min-width: " + _vm.minWidth + "px")),on:{"click":function($event){$event.stopPropagation();return _vm.handleClick(item)}}},[_c('span',[(_vm.$slots.default)?_vm._t("default",null,{"row":item}):[_vm._v(_vm._s(item.label))]],2)])}),0)}
1399
1577
  var staticRenderFns = []
1400
1578
 
1401
1579
 
@@ -1428,6 +1606,7 @@ var es_array_push = __webpack_require__(4114);
1428
1606
  //
1429
1607
  //
1430
1608
  //
1609
+ //
1431
1610
 
1432
1611
  /* harmony default export */ var srcvue_type_script_lang_js = ({
1433
1612
  name: 'NBRadioGroup',
@@ -1502,7 +1681,7 @@ var component = (0,componentNormalizer/* default */.A)(
1502
1681
  staticRenderFns,
1503
1682
  false,
1504
1683
  null,
1505
- "479965ae",
1684
+ "7f3831ca",
1506
1685
  null
1507
1686
 
1508
1687
  )
@@ -1636,7 +1815,7 @@ src.install = function (Vue) {
1636
1815
 
1637
1816
  /***/ }),
1638
1817
 
1639
- /***/ 5768:
1818
+ /***/ 5434:
1640
1819
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1641
1820
 
1642
1821
  "use strict";
@@ -1648,7 +1827,7 @@ __webpack_require__.d(__webpack_exports__, {
1648
1827
  "default": function() { return /* binding */ NBTabs; }
1649
1828
  });
1650
1829
 
1651
- ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBTabs/src/index.vue?vue&type=template&id=5d73e872&scoped=true
1830
+ ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBTabs/src/index.vue?vue&type=template&id=b86122da&scoped=true
1652
1831
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-tabs"},_vm._l((_vm.data),function(item,index){return _c('div',{key:index,staticClass:"nb-tab-item",class:index === _vm.modelValue ? 'is-active' : '',on:{"click":function($event){$event.stopPropagation();return _vm.handleChange(item, index)}}},[(_vm.$slots.default)?_vm._t("default",null,{"item":item}):[_vm._v(_vm._s(item.label))]],2)}),0)}
1653
1832
  var staticRenderFns = []
1654
1833
 
@@ -1677,7 +1856,6 @@ var staticRenderFns = []
1677
1856
  //
1678
1857
  //
1679
1858
  //
1680
- //
1681
1859
 
1682
1860
  /* harmony default export */ var srcvue_type_script_lang_js = ({
1683
1861
  name: 'NBTabs',
@@ -1724,7 +1902,7 @@ var component = (0,componentNormalizer/* default */.A)(
1724
1902
  staticRenderFns,
1725
1903
  false,
1726
1904
  null,
1727
- "5d73e872",
1905
+ "b86122da",
1728
1906
  null
1729
1907
 
1730
1908
  )
@@ -2159,17 +2337,18 @@ webpackContext.id = 1603;
2159
2337
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2160
2338
 
2161
2339
  var map = {
2162
- "./NBCheckboxGroup/index.js": 8166,
2340
+ "./NBBadge/index.js": 3134,
2341
+ "./NBCheckboxGroup/index.js": 2129,
2163
2342
  "./NBEmpty/index.js": 2846,
2164
2343
  "./NBFullscreenDialog/index.js": 1516,
2165
- "./NBHeader/index.js": 2229,
2344
+ "./NBHeader/index.js": 6523,
2166
2345
  "./NBIcon/index.js": 5408,
2167
2346
  "./NBOutFooterDialog/index.js": 9213,
2168
2347
  "./NBPagination/index.js": 2407,
2169
2348
  "./NBProgress/index.js": 849,
2170
- "./NBRadioGroup/index.js": 6661,
2349
+ "./NBRadioGroup/index.js": 2139,
2171
2350
  "./NBSummaryBar/index.js": 6168,
2172
- "./NBTabs/index.js": 5768,
2351
+ "./NBTabs/index.js": 5434,
2173
2352
  "./NBTag/index.js": 8681
2174
2353
  };
2175
2354
 
@@ -5170,7 +5349,7 @@ var iconfont = __webpack_require__(2170);
5170
5349
  /*
5171
5350
  * @Author: chenghuan.dong
5172
5351
  * @Date: 2024-11-08 17:23:47
5173
- * @LastEditTime: 2024-11-14 17:24:27
5352
+ * @LastEditTime: 2024-11-15 16:12:39
5174
5353
  * @LastEditors: chenghuan.dong
5175
5354
  * @Description: 主index.js导出全部组件
5176
5355
  * @FilePath: \nubomed-ui\packages\index.js
@@ -5198,7 +5377,7 @@ const install = function (Vue, options = {}) {
5198
5377
  if (install.installed) return;
5199
5378
  components.forEach(component => {
5200
5379
  const name = 'nb-' + camelToKebab(component.name.slice(2));
5201
- const installNames = ['nb-icon', 'nb-tag', 'nb-empty', 'nb-radio-group', 'nb-checkbox-group', 'nb-header', 'nb-summary-bar', 'nb-header', 'nb-tabs', 'nb-pagination', 'nb-progress', 'nb-fullscreen-dialog', 'nb-out-footer-dialog'];
5380
+ const installNames = ['nb-icon', 'nb-tag', 'nb-badge', 'nb-empty', 'nb-radio-group', 'nb-checkbox-group', 'nb-header', 'nb-summary-bar', 'nb-header', 'nb-tabs', 'nb-pagination', 'nb-progress', 'nb-fullscreen-dialog', 'nb-out-footer-dialog'];
5202
5381
  if (installNames.includes(name)) {
5203
5382
  console.log('%c' + '√ ' + name, 'color: #00A572;');
5204
5383
  } else {