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/css/element-ui/index.css +1 -0
- package/css/element-variables.css +1 -1
- package/css/nb-ui/index.css +1 -1
- package/nubomed-ui.common.js +204 -25
- package/nubomed-ui.common.js.map +1 -1
- package/nubomed-ui.umd.js +204 -25
- package/nubomed-ui.umd.js.map +1 -1
- package/nubomed-ui.umd.min.js +1 -1
- package/nubomed-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
package/nubomed-ui.common.js
CHANGED
@@ -296,7 +296,91 @@ module.exports = function (i) {
|
|
296
296
|
|
297
297
|
/***/ }),
|
298
298
|
|
299
|
-
/***/
|
299
|
+
/***/ 3250:
|
300
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
301
|
+
|
302
|
+
"use strict";
|
303
|
+
// ESM COMPAT FLAG
|
304
|
+
__webpack_require__.r(__webpack_exports__);
|
305
|
+
|
306
|
+
// EXPORTS
|
307
|
+
__webpack_require__.d(__webpack_exports__, {
|
308
|
+
"default": function() { return /* binding */ NBBadge; }
|
309
|
+
});
|
310
|
+
|
311
|
+
;// ./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
|
312
|
+
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()}
|
313
|
+
var staticRenderFns = []
|
314
|
+
|
315
|
+
|
316
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
317
|
+
//
|
318
|
+
//
|
319
|
+
//
|
320
|
+
//
|
321
|
+
//
|
322
|
+
//
|
323
|
+
//
|
324
|
+
//
|
325
|
+
//
|
326
|
+
//
|
327
|
+
//
|
328
|
+
//
|
329
|
+
|
330
|
+
/* harmony default export */ var srcvue_type_script_lang_js = ({
|
331
|
+
name: 'NBBadge',
|
332
|
+
props: {
|
333
|
+
// 类型,success/info/warning/danger,默认主题色状态
|
334
|
+
value: {
|
335
|
+
type: [String, Number],
|
336
|
+
default: ''
|
337
|
+
},
|
338
|
+
// 尺寸,large-大标签(高度36),默认小标签(高度32)
|
339
|
+
max: {
|
340
|
+
type: Number,
|
341
|
+
default: null
|
342
|
+
},
|
343
|
+
// 类型 primary / success / warning / danger / info
|
344
|
+
type: {
|
345
|
+
type: String,
|
346
|
+
default: 'danger'
|
347
|
+
}
|
348
|
+
}
|
349
|
+
});
|
350
|
+
;// ./packages/components/NBBadge/src/index.vue?vue&type=script&lang=js
|
351
|
+
/* harmony default export */ var NBBadge_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
|
352
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
353
|
+
var componentNormalizer = __webpack_require__(1656);
|
354
|
+
;// ./packages/components/NBBadge/src/index.vue
|
355
|
+
|
356
|
+
|
357
|
+
|
358
|
+
|
359
|
+
|
360
|
+
/* normalize component */
|
361
|
+
;
|
362
|
+
var component = (0,componentNormalizer/* default */.A)(
|
363
|
+
NBBadge_srcvue_type_script_lang_js,
|
364
|
+
render,
|
365
|
+
staticRenderFns,
|
366
|
+
false,
|
367
|
+
null,
|
368
|
+
null,
|
369
|
+
null
|
370
|
+
|
371
|
+
)
|
372
|
+
|
373
|
+
/* harmony default export */ var src = (component.exports);
|
374
|
+
;// ./packages/components/NBBadge/index.js
|
375
|
+
|
376
|
+
src.install = function (Vue) {
|
377
|
+
Vue.component(src.name, src);
|
378
|
+
};
|
379
|
+
/* harmony default export */ var NBBadge = (src);
|
380
|
+
|
381
|
+
/***/ }),
|
382
|
+
|
383
|
+
/***/ 9070:
|
300
384
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
301
385
|
|
302
386
|
"use strict";
|
@@ -308,8 +392,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
308
392
|
"default": function() { return /* binding */ NBCheckboxGroup; }
|
309
393
|
});
|
310
394
|
|
311
|
-
;// ./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=
|
312
|
-
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",
|
395
|
+
;// ./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
|
396
|
+
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)}
|
313
397
|
var staticRenderFns = []
|
314
398
|
|
315
399
|
|
@@ -352,6 +436,7 @@ var esnext_iterator_map = __webpack_require__(1454);
|
|
352
436
|
//
|
353
437
|
//
|
354
438
|
//
|
439
|
+
//
|
355
440
|
|
356
441
|
/* harmony default export */ var srcvue_type_script_lang_js = ({
|
357
442
|
name: 'NBCheckboxGroup',
|
@@ -436,7 +521,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
436
521
|
staticRenderFns,
|
437
522
|
false,
|
438
523
|
null,
|
439
|
-
"
|
524
|
+
"05a8e580",
|
440
525
|
null
|
441
526
|
|
442
527
|
)
|
@@ -675,7 +760,7 @@ src.install = function (Vue) {
|
|
675
760
|
|
676
761
|
/***/ }),
|
677
762
|
|
678
|
-
/***/
|
763
|
+
/***/ 1001:
|
679
764
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
680
765
|
|
681
766
|
"use strict";
|
@@ -687,14 +772,84 @@ __webpack_require__.d(__webpack_exports__, {
|
|
687
772
|
"default": function() { return /* binding */ NBHeader; }
|
688
773
|
});
|
689
774
|
|
690
|
-
;// ./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=
|
691
|
-
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',
|
775
|
+
;// ./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
|
776
|
+
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()])}
|
692
777
|
var staticRenderFns = []
|
693
778
|
|
694
779
|
|
780
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.constructor.js
|
781
|
+
var esnext_iterator_constructor = __webpack_require__(8992);
|
782
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.for-each.js
|
783
|
+
var esnext_iterator_for_each = __webpack_require__(3949);
|
695
784
|
// EXTERNAL MODULE: ./packages/components/NBIcon/index.js + 4 modules
|
696
785
|
var NBIcon = __webpack_require__(79);
|
786
|
+
// EXTERNAL MODULE: ./packages/components/NBBadge/index.js + 4 modules
|
787
|
+
var NBBadge = __webpack_require__(3250);
|
788
|
+
;// ./packages/utils/dom.js
|
789
|
+
/*
|
790
|
+
* @Author: chenghuan.dong
|
791
|
+
* @Date: 2024-11-14 14:48:30
|
792
|
+
* @LastEditTime: 2024-11-14 14:50:14
|
793
|
+
* @LastEditors: chenghuan.dong
|
794
|
+
* @Description:
|
795
|
+
* @FilePath: \nubomed-ui\packages\utils\dom.js
|
796
|
+
*/
|
797
|
+
/* istanbul ignore next */
|
798
|
+
function addClass(el, cls) {
|
799
|
+
if (!el) return;
|
800
|
+
var curClass = el.className;
|
801
|
+
var classes = (cls || '').split(' ');
|
802
|
+
for (var i = 0, j = classes.length; i < j; i++) {
|
803
|
+
var clsName = classes[i];
|
804
|
+
if (!clsName) continue;
|
805
|
+
if (el.classList) {
|
806
|
+
el.classList.add(clsName);
|
807
|
+
} else if (!hasClass(el, clsName)) {
|
808
|
+
curClass += ' ' + clsName;
|
809
|
+
}
|
810
|
+
}
|
811
|
+
if (!el.classList) {
|
812
|
+
el.setAttribute('class', curClass);
|
813
|
+
}
|
814
|
+
}
|
815
|
+
|
816
|
+
/* istanbul ignore next */
|
817
|
+
function removeClass(el, cls) {
|
818
|
+
if (!el || !cls) return;
|
819
|
+
var classes = cls.split(' ');
|
820
|
+
var curClass = ' ' + el.className + ' ';
|
821
|
+
for (var i = 0, j = classes.length; i < j; i++) {
|
822
|
+
var clsName = classes[i];
|
823
|
+
if (!clsName) continue;
|
824
|
+
if (el.classList) {
|
825
|
+
el.classList.remove(clsName);
|
826
|
+
} else if (hasClass(el, clsName)) {
|
827
|
+
curClass = curClass.replace(' ' + clsName + ' ', ' ');
|
828
|
+
}
|
829
|
+
}
|
830
|
+
if (!el.classList) {
|
831
|
+
el.setAttribute('class', trim(curClass));
|
832
|
+
}
|
833
|
+
}
|
834
|
+
|
835
|
+
/* istanbul ignore next */
|
836
|
+
function hasClass(el, cls) {
|
837
|
+
if (!el || !cls) return false;
|
838
|
+
if (cls.indexOf(' ') !== -1) throw new Error('className should not contain space.');
|
839
|
+
if (el.classList) {
|
840
|
+
return el.classList.contains(cls);
|
841
|
+
} else {
|
842
|
+
return (' ' + el.className + ' ').indexOf(' ' + cls + ' ') > -1;
|
843
|
+
}
|
844
|
+
}
|
845
|
+
|
846
|
+
/* istanbul ignore next */
|
847
|
+
const trim = function (string) {
|
848
|
+
return (string || '').replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g, '');
|
849
|
+
};
|
697
850
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
851
|
+
|
852
|
+
|
698
853
|
//
|
699
854
|
//
|
700
855
|
//
|
@@ -746,13 +901,15 @@ var NBIcon = __webpack_require__(79);
|
|
746
901
|
//
|
747
902
|
//
|
748
903
|
//
|
749
|
-
|
904
|
+
|
905
|
+
|
750
906
|
|
751
907
|
|
752
908
|
/* harmony default export */ var srcvue_type_script_lang_js = ({
|
753
909
|
name: 'NBHeader',
|
754
910
|
components: {
|
755
|
-
NBIcon: NBIcon["default"]
|
911
|
+
NBIcon: NBIcon["default"],
|
912
|
+
NBBadge: NBBadge["default"]
|
756
913
|
},
|
757
914
|
props: {
|
758
915
|
// 是否显示返回
|
@@ -818,7 +975,28 @@ var NBIcon = __webpack_require__(79);
|
|
818
975
|
data() {
|
819
976
|
return {};
|
820
977
|
},
|
821
|
-
|
978
|
+
mounted() {
|
979
|
+
// 缩小tab的字体
|
980
|
+
if (this.$refs.refNBHeaderTabs) {
|
981
|
+
const tabs = this.$refs.refNBHeaderTabs.querySelectorAll('.nb-header__tab');
|
982
|
+
tabs.forEach(x => {
|
983
|
+
const el = x.querySelector('.nb-header__tab__text>span');
|
984
|
+
if (el) {
|
985
|
+
addClass(x.querySelector('.nb-header__tab__text'), `nb-header__tab__text--${parseInt(el.clientHeight / 42)}`);
|
986
|
+
}
|
987
|
+
});
|
988
|
+
}
|
989
|
+
|
990
|
+
// 缩小右侧按钮大小
|
991
|
+
if (this.$refs.refNBHeaderRight && this.$refs.refNBHeaderTabs) {
|
992
|
+
const rightButton = this.$refs.refNBHeaderRight.querySelectorAll('.nb-header__btn');
|
993
|
+
rightButton.forEach(x => {
|
994
|
+
if (x && x.clientWidth > 220) {
|
995
|
+
addClass(x, 'nb-header__btn--small');
|
996
|
+
}
|
997
|
+
});
|
998
|
+
}
|
999
|
+
},
|
822
1000
|
methods: {
|
823
1001
|
// 返回
|
824
1002
|
handleBack() {
|
@@ -869,7 +1047,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
869
1047
|
staticRenderFns,
|
870
1048
|
false,
|
871
1049
|
null,
|
872
|
-
"
|
1050
|
+
"8de13f1a",
|
873
1051
|
null
|
874
1052
|
|
875
1053
|
)
|
@@ -1372,7 +1550,7 @@ src.install = function (Vue) {
|
|
1372
1550
|
|
1373
1551
|
/***/ }),
|
1374
1552
|
|
1375
|
-
/***/
|
1553
|
+
/***/ 4998:
|
1376
1554
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
1377
1555
|
|
1378
1556
|
"use strict";
|
@@ -1384,8 +1562,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
1384
1562
|
"default": function() { return /* binding */ NBRadioGroup; }
|
1385
1563
|
});
|
1386
1564
|
|
1387
|
-
;// ./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=
|
1388
|
-
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",
|
1565
|
+
;// ./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
|
1566
|
+
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)}
|
1389
1567
|
var staticRenderFns = []
|
1390
1568
|
|
1391
1569
|
|
@@ -1418,6 +1596,7 @@ var es_array_push = __webpack_require__(4114);
|
|
1418
1596
|
//
|
1419
1597
|
//
|
1420
1598
|
//
|
1599
|
+
//
|
1421
1600
|
|
1422
1601
|
/* harmony default export */ var srcvue_type_script_lang_js = ({
|
1423
1602
|
name: 'NBRadioGroup',
|
@@ -1492,7 +1671,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
1492
1671
|
staticRenderFns,
|
1493
1672
|
false,
|
1494
1673
|
null,
|
1495
|
-
"
|
1674
|
+
"7f3831ca",
|
1496
1675
|
null
|
1497
1676
|
|
1498
1677
|
)
|
@@ -1626,7 +1805,7 @@ src.install = function (Vue) {
|
|
1626
1805
|
|
1627
1806
|
/***/ }),
|
1628
1807
|
|
1629
|
-
/***/
|
1808
|
+
/***/ 1694:
|
1630
1809
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
1631
1810
|
|
1632
1811
|
"use strict";
|
@@ -1638,7 +1817,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
1638
1817
|
"default": function() { return /* binding */ NBTabs; }
|
1639
1818
|
});
|
1640
1819
|
|
1641
|
-
;// ./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=
|
1820
|
+
;// ./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
|
1642
1821
|
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)}
|
1643
1822
|
var staticRenderFns = []
|
1644
1823
|
|
@@ -1667,7 +1846,6 @@ var staticRenderFns = []
|
|
1667
1846
|
//
|
1668
1847
|
//
|
1669
1848
|
//
|
1670
|
-
//
|
1671
1849
|
|
1672
1850
|
/* harmony default export */ var srcvue_type_script_lang_js = ({
|
1673
1851
|
name: 'NBTabs',
|
@@ -1714,7 +1892,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
1714
1892
|
staticRenderFns,
|
1715
1893
|
false,
|
1716
1894
|
null,
|
1717
|
-
"
|
1895
|
+
"b86122da",
|
1718
1896
|
null
|
1719
1897
|
|
1720
1898
|
)
|
@@ -2149,17 +2327,18 @@ webpackContext.id = 1603;
|
|
2149
2327
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2150
2328
|
|
2151
2329
|
var map = {
|
2152
|
-
"./
|
2330
|
+
"./NBBadge/index.js": 3250,
|
2331
|
+
"./NBCheckboxGroup/index.js": 9070,
|
2153
2332
|
"./NBEmpty/index.js": 4400,
|
2154
2333
|
"./NBFullscreenDialog/index.js": 4531,
|
2155
|
-
"./NBHeader/index.js":
|
2334
|
+
"./NBHeader/index.js": 1001,
|
2156
2335
|
"./NBIcon/index.js": 79,
|
2157
2336
|
"./NBOutFooterDialog/index.js": 5592,
|
2158
2337
|
"./NBPagination/index.js": 8369,
|
2159
2338
|
"./NBProgress/index.js": 2639,
|
2160
|
-
"./NBRadioGroup/index.js":
|
2339
|
+
"./NBRadioGroup/index.js": 4998,
|
2161
2340
|
"./NBSummaryBar/index.js": 4918,
|
2162
|
-
"./NBTabs/index.js":
|
2341
|
+
"./NBTabs/index.js": 1694,
|
2163
2342
|
"./NBTag/index.js": 6290
|
2164
2343
|
};
|
2165
2344
|
|
@@ -5160,7 +5339,7 @@ var iconfont = __webpack_require__(1970);
|
|
5160
5339
|
/*
|
5161
5340
|
* @Author: chenghuan.dong
|
5162
5341
|
* @Date: 2024-11-08 17:23:47
|
5163
|
-
* @LastEditTime: 2024-11-
|
5342
|
+
* @LastEditTime: 2024-11-15 16:12:39
|
5164
5343
|
* @LastEditors: chenghuan.dong
|
5165
5344
|
* @Description: 主index.js导出全部组件
|
5166
5345
|
* @FilePath: \nubomed-ui\packages\index.js
|
@@ -5188,7 +5367,7 @@ const install = function (Vue, options = {}) {
|
|
5188
5367
|
if (install.installed) return;
|
5189
5368
|
components.forEach(component => {
|
5190
5369
|
const name = 'nb-' + camelToKebab(component.name.slice(2));
|
5191
|
-
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'];
|
5370
|
+
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'];
|
5192
5371
|
if (installNames.includes(name)) {
|
5193
5372
|
console.log('%c' + '√ ' + name, 'color: #00A572;');
|
5194
5373
|
} else {
|