nubomed-ui 2.0.45 → 2.0.47
Sign up to get free protection for your applications and to get access to all the features.
- package/css/nb-ui/index.css +1 -1
- package/nubomed-ui.common.js +276 -33
- package/nubomed-ui.common.js.map +1 -1
- package/nubomed-ui.umd.js +276 -33
- 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.umd.js
CHANGED
@@ -546,7 +546,7 @@ src.install = function (Vue) {
|
|
546
546
|
|
547
547
|
/***/ }),
|
548
548
|
|
549
|
-
/***/
|
549
|
+
/***/ 4066:
|
550
550
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
551
551
|
|
552
552
|
"use strict";
|
@@ -558,8 +558,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
558
558
|
"default": function() { return /* binding */ NBDialog; }
|
559
559
|
});
|
560
560
|
|
561
|
-
;// ./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/NBDialog/src/index.vue?vue&type=template&id=
|
562
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{staticClass:"nb-dialog__wrapper",attrs:{"visible":_vm.visible,"show-close":_vm.showClose,"close-on-click-modal":false,"close-on-press-escape":false,"center":_vm.center,"dialog-center":_vm.dialogCenter,"type":_vm.size,"title":_vm.$slots['title-right'] ? '' : _vm.title,"custom-class":_vm.dialogCustomClass,"before-close":_vm.handleClose,"append-to-body":"","destroy-on-close":""},on:{"closed":_vm.closedDialog}},[_c('template',{slot:"title"},[_vm._t("title"),(_vm.$slots['title-right'])?_c('div',{staticClass:"nb-dialog__header--has-form"},[_c('span',{staticClass:"el-dialog__title"},[_vm._v(_vm._s(_vm.title))]),_c('div',{staticClass:"el-dialog__right"},[_vm._t("title-right")],2)]):_vm._e()],2),_vm._t("default"),_c('template',{slot:"footer"},[_vm._t("footer"
|
561
|
+
;// ./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/NBDialog/src/index.vue?vue&type=template&id=c64765f8&scoped=true
|
562
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{staticClass:"nb-dialog__wrapper",attrs:{"visible":_vm.visible,"show-close":_vm.showClose,"close-on-click-modal":false,"close-on-press-escape":false,"center":_vm.center,"dialog-center":_vm.dialogCenter,"type":_vm.size,"title":_vm.$slots['title-right'] ? '' : _vm.title,"custom-class":_vm.dialogCustomClass,"before-close":_vm.handleClose,"append-to-body":"","destroy-on-close":""},on:{"closed":_vm.closedDialog}},[_c('template',{slot:"title"},[_vm._t("title"),(_vm.$slots['title-right'])?_c('div',{staticClass:"nb-dialog__header--has-form"},[_c('span',{staticClass:"el-dialog__title"},[_vm._v(_vm._s(_vm.title))]),_c('div',{staticClass:"el-dialog__right"},[_vm._t("title-right")],2)]):_vm._e()],2),_vm._t("default"),_c('template',{slot:"footer"},[(_vm.$slots.footer)?_vm._t("footer"):[(_vm.showCancelButton)?_c('el-button',{on:{"click":_vm.handleCancel}},[_vm._v(_vm._s(_vm.cancelButtonText)),(_vm.cancelButtonTime > -1)?[_vm._v("("+_vm._s(_vm.cancelAutoTime)+"S)")]:_vm._e()],2):_vm._e(),(_vm.showConfirmButton)?_c('el-button',{attrs:{"type":"primary","plain":_vm.confirmButtonPlain},on:{"click":_vm.handleConfirm}},[_vm._v(_vm._s(_vm.confirmButtonText)),(_vm.confirmButtonTime > -1)?[_vm._v("("+_vm._s(_vm.confirmAutoTime)+"S)")]:_vm._e()],2):_vm._e()]],2)],2)}
|
563
563
|
var staticRenderFns = []
|
564
564
|
|
565
565
|
|
@@ -604,6 +604,7 @@ var staticRenderFns = []
|
|
604
604
|
//
|
605
605
|
//
|
606
606
|
//
|
607
|
+
//
|
607
608
|
|
608
609
|
/* harmony default export */ var srcvue_type_script_lang_js = ({
|
609
610
|
name: 'NBDialog',
|
@@ -705,9 +706,9 @@ var staticRenderFns = []
|
|
705
706
|
},
|
706
707
|
// 表单自定义样式
|
707
708
|
dialogCustomClass() {
|
708
|
-
let cls = 'nb-dialog';
|
709
|
+
let cls = 'nb-dialog ';
|
709
710
|
if (this.form) {
|
710
|
-
cls +=
|
711
|
+
cls += 'nb-form-dialog ';
|
711
712
|
}
|
712
713
|
if (this.customClass) {
|
713
714
|
cls += this.customClass;
|
@@ -796,7 +797,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
796
797
|
staticRenderFns,
|
797
798
|
false,
|
798
799
|
null,
|
799
|
-
"
|
800
|
+
"c64765f8",
|
800
801
|
null
|
801
802
|
|
802
803
|
)
|
@@ -1419,7 +1420,7 @@ src.install = function (Vue) {
|
|
1419
1420
|
|
1420
1421
|
/***/ }),
|
1421
1422
|
|
1422
|
-
/***/
|
1423
|
+
/***/ 5355:
|
1423
1424
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
1424
1425
|
|
1425
1426
|
"use strict";
|
@@ -1431,15 +1432,15 @@ __webpack_require__.d(__webpack_exports__, {
|
|
1431
1432
|
"default": function() { return /* binding */ NBMessageDialog; }
|
1432
1433
|
});
|
1433
1434
|
|
1434
|
-
;// ./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/NBMessageDialog/src/index.vue?vue&type=template&id=
|
1435
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{staticClass:"nb-dialog__wrapper nb-message-dialog__wrapper",attrs:{"visible":_vm.visible,"show-close":false,"close-on-click-modal":false,"close-on-press-escape":false,"center":"","append-to-body":"","destroy-on-close":"","type":_vm.size,"custom-class":("nb-dialog nb-message-dialog nb-message-dialog--" + _vm.type + " " + _vm.isReduce),"dialog-center":_vm.dialogCenter},on:{"update:visible":function($event){_vm.visible=$event},"closed":_vm.closedDialog}},[(_vm.type === 'success')?_c('img',{staticClass:"message__icon",attrs:{"src":__webpack_require__(6559)}}):_vm._e(),(_vm.type === 'abnormal')?_c('img',{staticClass:"message__icon",attrs:{"src":__webpack_require__(3906)}}):_vm._e(),(_vm.type === 'error')?_c('img',{staticClass:"message__icon",attrs:{"src":__webpack_require__(8508)}}):_vm._e(),(_vm.type === 'warning')?_c('img',{staticClass:"message__icon",attrs:{"src":__webpack_require__(629)}}):_vm._e(),(_vm.type === 'progress' && _vm.visible)?_c('NBProgress',{attrs:{"percentage":_vm.percentage,"time":_vm.finishTime,"size":_vm.size}}):_vm._e(),(_vm.title)?_c('div',{staticClass:"message__title",domProps:{"innerHTML":_vm._s(_vm.title)}}):_vm._e(),(_vm.message)?_c('div',{staticClass:"message__message",domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),(_vm.tips)?_c('div',{staticClass:"message__tips"},[_vm._v(_vm._s(_vm.tips))]):_vm._e(),_vm._t("default"),_c('template',{slot:"footer"},[_vm._t("footer"
|
1435
|
+
;// ./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/NBMessageDialog/src/index.vue?vue&type=template&id=6bc0df96&scoped=true
|
1436
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{staticClass:"nb-dialog__wrapper nb-message-dialog__wrapper",attrs:{"visible":_vm.visible,"show-close":false,"close-on-click-modal":false,"close-on-press-escape":false,"center":"","append-to-body":"","destroy-on-close":"","type":_vm.size,"custom-class":("nb-dialog nb-message-dialog nb-message-dialog--" + _vm.type + " " + _vm.isReduce),"dialog-center":_vm.dialogCenter},on:{"update:visible":function($event){_vm.visible=$event},"closed":_vm.closedDialog}},[(_vm.type === 'success')?_c('img',{staticClass:"message__icon",attrs:{"src":__webpack_require__(6559)}}):_vm._e(),(_vm.type === 'abnormal')?_c('img',{staticClass:"message__icon",attrs:{"src":__webpack_require__(3906)}}):_vm._e(),(_vm.type === 'error')?_c('img',{staticClass:"message__icon",attrs:{"src":__webpack_require__(8508)}}):_vm._e(),(_vm.type === 'warning')?_c('img',{staticClass:"message__icon",attrs:{"src":__webpack_require__(629)}}):_vm._e(),(_vm.type === 'progress' && _vm.visible)?_c('NBProgress',{attrs:{"percentage":_vm.percentage,"time":_vm.finishTime,"size":_vm.size}}):_vm._e(),(_vm.title)?_c('div',{staticClass:"message__title",domProps:{"innerHTML":_vm._s(_vm.title)}}):_vm._e(),(_vm.message)?_c('div',{staticClass:"message__message",domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),(_vm.tips)?_c('div',{staticClass:"message__tips"},[_vm._v(_vm._s(_vm.tips))]):_vm._e(),_vm._t("default"),_c('template',{slot:"footer"},[(_vm.$slots.footer)?_vm._t("footer"):[(_vm.showCancelButton)?_c('el-button',{on:{"click":_vm.handleCancel}},[_vm._v(_vm._s(_vm.cancelButtonText)),(_vm.cancelButtonTime > -1)?[_vm._v("("+_vm._s(_vm.cancelAutoTime)+"S)")]:_vm._e()],2):_vm._e(),(_vm.showConfirmButton)?_c('el-button',{attrs:{"type":"primary","plain":_vm.confirmButtonPlain,"loading":_vm.confirmButtonLoading},on:{"click":_vm.handleConfirm}},[_vm._v(_vm._s(_vm.confirmButtonText)),(_vm.confirmButtonTime > -1)?[_vm._v("("+_vm._s(_vm.confirmAutoTime)+"S)")]:_vm._e()],2):_vm._e()]],2)],2)}
|
1436
1437
|
var staticRenderFns = []
|
1437
1438
|
|
1438
1439
|
|
1439
|
-
;// ./packages/components/NBMessageDialog/src/index.vue?vue&type=template&id=
|
1440
|
+
;// ./packages/components/NBMessageDialog/src/index.vue?vue&type=template&id=6bc0df96&scoped=true
|
1440
1441
|
|
1441
|
-
// EXTERNAL MODULE: ./packages/components/NBProgress/index.js +
|
1442
|
-
var NBProgress = __webpack_require__(
|
1442
|
+
// EXTERNAL MODULE: ./packages/components/NBProgress/index.js + 4 modules
|
1443
|
+
var NBProgress = __webpack_require__(928);
|
1443
1444
|
;// ./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/NBMessageDialog/src/index.vue?vue&type=script&lang=js
|
1444
1445
|
//
|
1445
1446
|
//
|
@@ -1478,6 +1479,7 @@ var NBProgress = __webpack_require__(849);
|
|
1478
1479
|
//
|
1479
1480
|
//
|
1480
1481
|
//
|
1482
|
+
//
|
1481
1483
|
|
1482
1484
|
|
1483
1485
|
/* harmony default export */ var srcvue_type_script_lang_js = ({
|
@@ -1672,7 +1674,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
1672
1674
|
staticRenderFns,
|
1673
1675
|
false,
|
1674
1676
|
null,
|
1675
|
-
"
|
1677
|
+
"6bc0df96",
|
1676
1678
|
null
|
1677
1679
|
|
1678
1680
|
)
|
@@ -1945,7 +1947,7 @@ src.install = function (Vue) {
|
|
1945
1947
|
|
1946
1948
|
/***/ }),
|
1947
1949
|
|
1948
|
-
/***/
|
1950
|
+
/***/ 928:
|
1949
1951
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
1950
1952
|
|
1951
1953
|
"use strict";
|
@@ -1957,13 +1959,11 @@ __webpack_require__.d(__webpack_exports__, {
|
|
1957
1959
|
"default": function() { return /* binding */ NBProgress; }
|
1958
1960
|
});
|
1959
1961
|
|
1960
|
-
;// ./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/NBProgress/src/index.vue?vue&type=template&id=
|
1961
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-progress",class:[("nb-progress--" + _vm.type), ("nb-progress--" + _vm.size)]},[(_vm.type === 'line')?[_c('el-progress',{attrs:{"type":_vm.type,"percentage":_vm.percentage || _vm.precent,"stroke-width":20,"showText":_vm.showText,"color":"#0066E0"}})]:[_c('el-progress',{attrs:{"type":_vm.type,"percentage":_vm.percentage || _vm.precent,"stroke-width":28,"width":_vm.circleWidth,"show-text":false,"color":"#0066E0"}}),(_vm.showText)?_c('div',{staticClass:"precent-text"},[_vm._v(_vm._s(_vm.percentage || _vm.precent)),_c('i',[_vm._v("%")])]):_vm._e()
|
1962
|
+
;// ./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/NBProgress/src/index.vue?vue&type=template&id=bb029536&scoped=true
|
1963
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-progress",class:[("nb-progress--" + _vm.type), ("nb-progress--" + _vm.size)]},[(_vm.type === 'line')?[_c('el-progress',{attrs:{"type":_vm.type,"percentage":_vm.percentage || _vm.precent,"stroke-width":20,"showText":_vm.showText,"color":"#0066E0"}})]:[_c('el-progress',{attrs:{"type":_vm.type,"percentage":_vm.percentage || _vm.precent,"stroke-width":28,"width":_vm.circleWidth,"show-text":false,"color":"#0066E0"}}),(_vm.showText)?_c('div',{staticClass:"precent-text"},[_vm._v(_vm._s(_vm.percentage || _vm.precent)),_c('i',[_vm._v("%")])]):_vm._e()]],2)}
|
1962
1964
|
var staticRenderFns = []
|
1963
1965
|
|
1964
1966
|
|
1965
|
-
;// ./packages/components/NBProgress/src/index.vue?vue&type=template&id=8346eec2&scoped=true
|
1966
|
-
|
1967
1967
|
;// ./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/NBProgress/src/index.vue?vue&type=script&lang=js
|
1968
1968
|
//
|
1969
1969
|
//
|
@@ -2033,7 +2033,7 @@ var staticRenderFns = []
|
|
2033
2033
|
},
|
2034
2034
|
computed: {
|
2035
2035
|
circleWidth() {
|
2036
|
-
return this.size === 'small' ?
|
2036
|
+
return this.size === 'small' ? 200 : 271;
|
2037
2037
|
}
|
2038
2038
|
},
|
2039
2039
|
watch: {},
|
@@ -2086,7 +2086,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
2086
2086
|
staticRenderFns,
|
2087
2087
|
false,
|
2088
2088
|
null,
|
2089
|
-
"
|
2089
|
+
"bb029536",
|
2090
2090
|
null
|
2091
2091
|
|
2092
2092
|
)
|
@@ -2237,6 +2237,255 @@ src.install = function (Vue) {
|
|
2237
2237
|
|
2238
2238
|
/***/ }),
|
2239
2239
|
|
2240
|
+
/***/ 1842:
|
2241
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
2242
|
+
|
2243
|
+
"use strict";
|
2244
|
+
// ESM COMPAT FLAG
|
2245
|
+
__webpack_require__.r(__webpack_exports__);
|
2246
|
+
|
2247
|
+
// EXPORTS
|
2248
|
+
__webpack_require__.d(__webpack_exports__, {
|
2249
|
+
"default": function() { return /* binding */ NBSidebarNavGroup; }
|
2250
|
+
});
|
2251
|
+
|
2252
|
+
;// ./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/NBSidebarNavGroup/src/index.vue?vue&type=template&id=37c880ce&scoped=true
|
2253
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-sidebar-nav-group"},[_vm._t("head"),(_vm.title)?_c('div',{staticClass:"nav-title"},[_vm._v(_vm._s(_vm.title))]):_vm._e(),_c('div',{staticClass:"nb-sidebar-nav__wrapper"},[_vm._t("default")],2)],2)}
|
2254
|
+
var staticRenderFns = []
|
2255
|
+
|
2256
|
+
|
2257
|
+
;// ./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/NBSidebarNavGroup/src/index.vue?vue&type=script&lang=js
|
2258
|
+
//
|
2259
|
+
//
|
2260
|
+
//
|
2261
|
+
//
|
2262
|
+
//
|
2263
|
+
//
|
2264
|
+
//
|
2265
|
+
//
|
2266
|
+
//
|
2267
|
+
//
|
2268
|
+
//
|
2269
|
+
//
|
2270
|
+
//
|
2271
|
+
//
|
2272
|
+
//
|
2273
|
+
//
|
2274
|
+
//
|
2275
|
+
//
|
2276
|
+
|
2277
|
+
/* harmony default export */ var srcvue_type_script_lang_js = ({
|
2278
|
+
name: 'NBSidebarNavGroup',
|
2279
|
+
// 左侧导航:图标+文字+数量+箭头
|
2280
|
+
props: {
|
2281
|
+
// 标题
|
2282
|
+
title: {
|
2283
|
+
type: String,
|
2284
|
+
default: ''
|
2285
|
+
}
|
2286
|
+
}
|
2287
|
+
});
|
2288
|
+
;// ./packages/components/NBSidebarNavGroup/src/index.vue?vue&type=script&lang=js
|
2289
|
+
/* harmony default export */ var NBSidebarNavGroup_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
|
2290
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
2291
|
+
var componentNormalizer = __webpack_require__(1656);
|
2292
|
+
;// ./packages/components/NBSidebarNavGroup/src/index.vue
|
2293
|
+
|
2294
|
+
|
2295
|
+
|
2296
|
+
|
2297
|
+
|
2298
|
+
/* normalize component */
|
2299
|
+
;
|
2300
|
+
var component = (0,componentNormalizer/* default */.A)(
|
2301
|
+
NBSidebarNavGroup_srcvue_type_script_lang_js,
|
2302
|
+
render,
|
2303
|
+
staticRenderFns,
|
2304
|
+
false,
|
2305
|
+
null,
|
2306
|
+
"37c880ce",
|
2307
|
+
null
|
2308
|
+
|
2309
|
+
)
|
2310
|
+
|
2311
|
+
/* harmony default export */ var src = (component.exports);
|
2312
|
+
;// ./packages/components/NBSidebarNavGroup/index.js
|
2313
|
+
|
2314
|
+
src.install = function (Vue) {
|
2315
|
+
Vue.component(src.name, src);
|
2316
|
+
};
|
2317
|
+
/* harmony default export */ var NBSidebarNavGroup = (src);
|
2318
|
+
|
2319
|
+
/***/ }),
|
2320
|
+
|
2321
|
+
/***/ 8071:
|
2322
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
2323
|
+
|
2324
|
+
"use strict";
|
2325
|
+
// ESM COMPAT FLAG
|
2326
|
+
__webpack_require__.r(__webpack_exports__);
|
2327
|
+
|
2328
|
+
// EXPORTS
|
2329
|
+
__webpack_require__.d(__webpack_exports__, {
|
2330
|
+
"default": function() { return /* binding */ NBSidebarNav; }
|
2331
|
+
});
|
2332
|
+
|
2333
|
+
;// ./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/NBSidebarNav/src/index.vue?vue&type=template&id=19b803ac&scoped=true
|
2334
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-sidebar-nav",class:_vm.getClass},_vm._l((_vm.options),function(item,index){return _c('div',{key:index,staticClass:"nav-item",class:_vm.getItemClass(item),on:{"click":function($event){$event.stopPropagation();return _vm.handleChange(item, index)}}},[_vm._t("default",function(){return [(item[_vm.optionProps.icon])?_c('nb-icon',{staticClass:"nav-item__icon",attrs:{"icon":item[_vm.optionProps.icon]}}):_vm._e(),_c('div',{staticClass:"nav-item__text"},[_vm._v(_vm._s(item[_vm.optionProps.text]))]),(item[_vm.optionProps.num] >= 0)?_c('span',{staticClass:"nav-item__num"},[_vm._v(_vm._s(item[_vm.optionProps.num]))]):_vm._e(),(item[_vm.optionProps.badge])?_c('span',{staticClass:"nav-item__badge"},[_vm._v(_vm._s(_vm.getBadge(item)))]):_vm._e()]},{"row":item}),(_vm.showArrow)?_c('nb-icon',{staticClass:"nav-item__arrow",attrs:{"icon":"arrow-right"}}):_vm._e()],2)}),0)}
|
2335
|
+
var staticRenderFns = []
|
2336
|
+
|
2337
|
+
|
2338
|
+
;// ./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/NBSidebarNav/src/index.vue?vue&type=script&lang=js
|
2339
|
+
//
|
2340
|
+
//
|
2341
|
+
//
|
2342
|
+
//
|
2343
|
+
//
|
2344
|
+
//
|
2345
|
+
//
|
2346
|
+
//
|
2347
|
+
//
|
2348
|
+
//
|
2349
|
+
//
|
2350
|
+
//
|
2351
|
+
//
|
2352
|
+
//
|
2353
|
+
//
|
2354
|
+
//
|
2355
|
+
//
|
2356
|
+
//
|
2357
|
+
//
|
2358
|
+
|
2359
|
+
/* harmony default export */ var srcvue_type_script_lang_js = ({
|
2360
|
+
name: 'NBSidebarNav',
|
2361
|
+
// 左侧导航:图标+文字+数量+箭头
|
2362
|
+
props: {
|
2363
|
+
// 选项数据,必须包含icon-svg图标名称,name-文字,count-数量(选填),className-样式名称(选填),group-分组名称,badgeCount-角标数量,大于0才显示
|
2364
|
+
options: {
|
2365
|
+
type: Array,
|
2366
|
+
default: () => {
|
2367
|
+
return [];
|
2368
|
+
}
|
2369
|
+
},
|
2370
|
+
// name: 名称,唯一值,icon 图标字段,text 文字字段,num 数量字段,badge 角标数量,state 状态(danger-异常)
|
2371
|
+
props: {
|
2372
|
+
type: Object,
|
2373
|
+
default: () => {
|
2374
|
+
return {};
|
2375
|
+
}
|
2376
|
+
},
|
2377
|
+
// 当前选中的名称,对应options里的name
|
2378
|
+
activeName: {
|
2379
|
+
type: [Number, String],
|
2380
|
+
default: ''
|
2381
|
+
},
|
2382
|
+
// 是否显示箭头
|
2383
|
+
showArrow: {
|
2384
|
+
type: Boolean,
|
2385
|
+
default: true
|
2386
|
+
},
|
2387
|
+
// 角标数量最大值,超出最大值显示+
|
2388
|
+
badgeMax: {
|
2389
|
+
type: Number,
|
2390
|
+
default: 99
|
2391
|
+
}
|
2392
|
+
},
|
2393
|
+
data() {
|
2394
|
+
return {
|
2395
|
+
defaultProps: {
|
2396
|
+
name: 'name',
|
2397
|
+
icon: 'icon',
|
2398
|
+
text: 'text',
|
2399
|
+
num: 'num',
|
2400
|
+
badge: 'badge',
|
2401
|
+
state: 'state'
|
2402
|
+
},
|
2403
|
+
active: this.activeName
|
2404
|
+
};
|
2405
|
+
},
|
2406
|
+
computed: {
|
2407
|
+
optionProps() {
|
2408
|
+
return Object.assign(this.defaultProps, this.props);
|
2409
|
+
},
|
2410
|
+
// 整体样式
|
2411
|
+
getClass() {
|
2412
|
+
let cls = '';
|
2413
|
+
// 如果有箭头
|
2414
|
+
if (this.showArrow) {
|
2415
|
+
cls += ' nb-sidebar-nav--arrow';
|
2416
|
+
}
|
2417
|
+
return cls;
|
2418
|
+
}
|
2419
|
+
},
|
2420
|
+
watch: {
|
2421
|
+
activeName(val) {
|
2422
|
+
this.active = val;
|
2423
|
+
}
|
2424
|
+
},
|
2425
|
+
methods: {
|
2426
|
+
// 每一行的样式
|
2427
|
+
getItemClass(item) {
|
2428
|
+
let cls = '';
|
2429
|
+
// danger 异常,背景是红色
|
2430
|
+
if (item[this.optionProps.state]) {
|
2431
|
+
cls += ` nav-item--${item[this.optionProps.state]}`;
|
2432
|
+
}
|
2433
|
+
// 异常情况补充 按单调拨 根据isAbnormal:true
|
2434
|
+
if (item.isAbnormal || item.abnormal) {
|
2435
|
+
cls += ` nav-item--error`;
|
2436
|
+
}
|
2437
|
+
// 选中
|
2438
|
+
if (item[this.optionProps.name] === this.active) {
|
2439
|
+
cls += ' nav-item--active';
|
2440
|
+
}
|
2441
|
+
return cls;
|
2442
|
+
},
|
2443
|
+
// 切换
|
2444
|
+
handleChange(item, index) {
|
2445
|
+
this.$emit('change', item, index);
|
2446
|
+
},
|
2447
|
+
// 角标
|
2448
|
+
getBadge(item) {
|
2449
|
+
if (item[this.optionProps.badge] > this.badgeMax) {
|
2450
|
+
return '99+';
|
2451
|
+
}
|
2452
|
+
return item[this.optionProps.badge];
|
2453
|
+
}
|
2454
|
+
}
|
2455
|
+
});
|
2456
|
+
;// ./packages/components/NBSidebarNav/src/index.vue?vue&type=script&lang=js
|
2457
|
+
/* harmony default export */ var NBSidebarNav_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
|
2458
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
2459
|
+
var componentNormalizer = __webpack_require__(1656);
|
2460
|
+
;// ./packages/components/NBSidebarNav/src/index.vue
|
2461
|
+
|
2462
|
+
|
2463
|
+
|
2464
|
+
|
2465
|
+
|
2466
|
+
/* normalize component */
|
2467
|
+
;
|
2468
|
+
var component = (0,componentNormalizer/* default */.A)(
|
2469
|
+
NBSidebarNav_srcvue_type_script_lang_js,
|
2470
|
+
render,
|
2471
|
+
staticRenderFns,
|
2472
|
+
false,
|
2473
|
+
null,
|
2474
|
+
"19b803ac",
|
2475
|
+
null
|
2476
|
+
|
2477
|
+
)
|
2478
|
+
|
2479
|
+
/* harmony default export */ var src = (component.exports);
|
2480
|
+
;// ./packages/components/NBSidebarNav/index.js
|
2481
|
+
|
2482
|
+
src.install = function (Vue) {
|
2483
|
+
Vue.component(src.name, src);
|
2484
|
+
};
|
2485
|
+
/* harmony default export */ var NBSidebarNav = (src);
|
2486
|
+
|
2487
|
+
/***/ }),
|
2488
|
+
|
2240
2489
|
/***/ 6168:
|
2241
2490
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
2242
2491
|
|
@@ -2880,16 +3129,18 @@ webpackContext.id = 1603;
|
|
2880
3129
|
var map = {
|
2881
3130
|
"./NBBadge/index.js": 3134,
|
2882
3131
|
"./NBCheckboxGroup/index.js": 2129,
|
2883
|
-
"./NBDialog/index.js":
|
3132
|
+
"./NBDialog/index.js": 4066,
|
2884
3133
|
"./NBEmpty/index.js": 2846,
|
2885
3134
|
"./NBFullscreenDialog/index.js": 1516,
|
2886
3135
|
"./NBHeader/index.js": 6523,
|
2887
3136
|
"./NBIcon/index.js": 5408,
|
2888
|
-
"./NBMessageDialog/index.js":
|
3137
|
+
"./NBMessageDialog/index.js": 5355,
|
2889
3138
|
"./NBOutFooterDialog/index.js": 9213,
|
2890
3139
|
"./NBPagination/index.js": 2407,
|
2891
|
-
"./NBProgress/index.js":
|
3140
|
+
"./NBProgress/index.js": 928,
|
2892
3141
|
"./NBRadioGroup/index.js": 2139,
|
3142
|
+
"./NBSidebarNav/index.js": 8071,
|
3143
|
+
"./NBSidebarNavGroup/index.js": 1842,
|
2893
3144
|
"./NBSummaryBar/index.js": 6168,
|
2894
3145
|
"./NBTabs/index.js": 5434,
|
2895
3146
|
"./NBTag/index.js": 8681
|
@@ -2925,14 +3176,6 @@ module.exports = "data:image/gif;base64,R0lGODlhUABOAPf/AACO7XPB9QB15QCC6UOc7Qt6
|
|
2925
3176
|
|
2926
3177
|
/***/ }),
|
2927
3178
|
|
2928
|
-
/***/ 2196:
|
2929
|
-
/***/ (function(module) {
|
2930
|
-
|
2931
|
-
"use strict";
|
2932
|
-
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoIAAAKCBAMAAAC33qUmAAAAKlBMVEUAAAAAZOAAZ+YAZt4AcOQAY9sAZeAAZeAAZ+EAZeEAZ+EAZ+AAY+AAY97d3yiNAAAADnRSTlMAKQoOBhkfJhQjGxExPTgmAEIAABZESURBVHja7Jy3jxNBFMZH68EYrjLJGCiOweSGs4mCYjkMR2g4QIhUYHIqWECAgIKMCAVLEqnAiExDTqJBCJHmj2IWrxl77fECfj7PzM6vvjvZ377wvTezhwwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBiDwmNmnnjzYsv3GASeZOnDj2pYdT1a9zNrI8BfMe7dmu5OsT+ra/fNTkaGBeq8fOMkwUjvWGhXrgWcG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VEnQivNzuCPkawgDlu7omPwDgSXsj5JsA8Jaho3ti5xy2O0K+iWoronC61eywvXMhzyANUHbC6sGqgb4B1h6RijUGGEaSU35ZhLE/f5XcEPOj7H+ILqINUHbTJI0wXt8QjAjLLAteTwlvgJLbTolxANDWmS0tbOssaGkDAB4wrDxv3GWugOk9s3DhCLq9XAXTfYaW51MfUtNgej1p/SQcwe5T+QtAtxdWePJILm3YLZkLS/BFGKnYMwdmUWknls/q8fVuURfgGXa69t9QHWcp9BKVqoBXwhZsOx4HUx+Se031p4CVZqbqyZJwsWDwzbNZF73GJ9GVumN/tVqNBTwRpkt25+8AXLKalpt5VzW5ZejOnL734PhX1hG4JEC5S8dVSyyYVuIWYC/6KdDjW2FqurLPq/UyvMV8xosAqPch8m8mquoSomKXYTyABEdKYIp1yAhuop6gyPZXLacxnxOcqYDlUQf04BYTdMvw9B7zT2QBLn4BmrqFyS3DE9/qhX+HMBSgKSrOfLDK8Bdo+350zciWAZano+zC48K1eGwmaFpu9W0ni1ATw32O4BdRlzUMqHnZSobJBajR5lg4jIi6WV4E2+O5f5u/+NhDsC1f+AnQ0XS6FflpgO1N4W8z4ImPYNM+dcwepGXnT1j5WMnJYemzeoj82h0n+/hcaOrP5HnKn1gER3lfYYPIh7by4IgVWMh43jQliwa4yvNfhmUx8qkbG3lwacshWL80kt922qPSpeV2t3V9cDiVmmQ8lZoa1PWjbM75E2fUs3CS3bjzxJ4BqrSVQrhmP5PSUx/Jb3uGQnp3wzh41SWPsnlDFl55d5vSU8KHEhsHe7n8zqoB2upOObdyMF+4HuKBSwghhBBCCCGEEEIIIYQQQgghhBBCfPYbF51WG+YLubMAAAAASUVORK5CYII=";
|
2933
|
-
|
2934
|
-
/***/ }),
|
2935
|
-
|
2936
3179
|
/***/ 9992:
|
2937
3180
|
/***/ (function(module) {
|
2938
3181
|
|
@@ -5908,7 +6151,7 @@ var iconfont = __webpack_require__(2170);
|
|
5908
6151
|
/*
|
5909
6152
|
* @Author: chenghuan.dong
|
5910
6153
|
* @Date: 2024-11-08 17:23:47
|
5911
|
-
* @LastEditTime: 2024-11-
|
6154
|
+
* @LastEditTime: 2024-11-18 14:05:00
|
5912
6155
|
* @LastEditors: chenghuan.dong
|
5913
6156
|
* @Description: 主index.js导出全部组件
|
5914
6157
|
* @FilePath: \nubomed-ui\packages\index.js
|
@@ -5936,7 +6179,7 @@ const install = function (Vue, options = {}) {
|
|
5936
6179
|
if (install.installed) return;
|
5937
6180
|
components.forEach(component => {
|
5938
6181
|
const name = 'nb-' + camelToKebab(component.name.slice(2));
|
5939
|
-
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-dialog', 'nb-fullscreen-dialog', 'nb-out-footer-dialog', 'nb-message-dialog'];
|
6182
|
+
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-dialog', 'nb-fullscreen-dialog', 'nb-out-footer-dialog', 'nb-message-dialog', 'nb-sidebar-nav-group', 'nb-sidebar-nav'];
|
5940
6183
|
if (installNames.includes(name)) {
|
5941
6184
|
console.log('%c' + '√ ' + name, 'color: #00A572;');
|
5942
6185
|
} else {
|