nubomed-ui 2.0.16 → 2.0.17
Sign up to get free protection for your applications and to get access to all the features.
- package/css/element-ui/index.css +1 -1
- package/css/nb-ui/index.css +1 -1
- package/nubomed-ui.common.js +199 -199
- package/nubomed-ui.common.js.map +1 -1
- package/nubomed-ui.umd.js +199 -199
- 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/css/element-ui/element-variables.css +0 -67236
package/css/nb-ui/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
@charset "UTF-8"
|
1
|
+
@charset "UTF-8";html{font-size:.8333333333vw}.color-danger,.danger-color{color:#E52D3E!important}.color-success{color:#00A572!important}.color-primary,.primary-color{color:#0066E0!important}.inventory-surplus{color:#00A572}.inventory-loss{color:#E52D3E}.nb-tag{height:32px;padding:0 8px;border-radius:16px;font-size:20px;line-height:32px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;background-color:#CCE0F9;color:#0066E0}.nb-tag.nb-tag--fill{background-color:#0066E0;color:#fff}.nb-tag--success{background-color:#CCEDE3;color:#00A572}.nb-tag--success.nb-tag--fill{background-color:#00A572;color:#fff}.nb-tag--danger{background-color:#FAD5D8;color:#E52D3E}.nb-tag--danger.nb-tag--fill{background-color:#E52D3E;color:#fff}.nb-tag--warning{background-color:#FEE7CC;color:#F98900}.nb-tag--warning.nb-tag--fill{background-color:#F98900;color:#fff}.nb-tag--large{height:36px;padding:0 12px;border-radius:18px;font-size:24px;line-height:36px}.nb-empty{background-color:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center}.nb-empty--center{width:100%;height:100%}.nb-empty__text{line-height:1.5;text-align:center;font-weight:400}.nb-empty__tips{font-size:24px;color:#00A572;text-align:center;line-height:36px}.nb-empty__buttons{display:flex;align-items:center;margin-top:24px}.nb-empty__buttons .el-button+.el-button{margin-left:20px}.nb-empty>.el-button{margin-top:24px}.nb-empty--large .nb-empty__icon{width:500px;height:500px}.nb-empty--large .nb-empty__text{font-size:32px;line-height:48px}.nb-empty--large .nb-empty__tips,.nb-empty--small .nb-empty__text,.nb-empty--small .nb-empty__tips{font-size:24px}.nb-empty--small .nb-empty__icon{width:300px;height:300px}.nb-summary-bar{width:100%;padding:24px;background-color:transparent;box-sizing:border-box;overflow:hidden}.nb-summary-bar--bottom{position:absolute;left:0;right:0;bottom:0;z-index:99}.nb-summary-bar--full{background-color:#fff;padding:24px 0 0;box-shadow:0 4 40px 0 rgba(24,29,65,.08),0 2 28px 0 rgba(24,29,65,.1),0 0 10px 0 rgba(24,29,65,.08);border-radius:16px 16px 0 0}.nb-summary-bar__icon,.nb-summary-bar__icon.svg-icon{width:80px;height:80px;margin-right:20px;flex-shrink:0}.nb-summary-bar__text{font-size:28px;line-height:42px;display:inline-flex;align-items:center}.nb-summary-bar__text i{white-space:nowrap;color:rgba(24,29,65,.7)}.nb-summary-bar__text strong{font-size:50px;margin:0 4px;font-weight:400;white-space:nowrap}.nb-summary-bar__link{color:#0066E0;font-size:24px;line-height:36px;white-space:nowrap;margin-left:16px;cursor:pointer}.nb-header,.nb-summary-bar .nb-summary-bar__left .text-item .nb-summary-bar__text strong{font-size:32px}.nb-summary-bar__text+.nb-summary-bar__text{margin-left:16px}.nb-summary-bar--loading .nb-summary-bar__text{color:#181D41}.nb-summary-bar--error .nb-summary-bar__text{color:#E52D3E}.nb-summary-bar--info .nb-summary-bar__text,.nb-summary-bar--success .nb-summary-bar__text{color:rgba(24,29,65,.7)}.nb-summary-bar--info .nb-summary-bar__text strong,.nb-summary-bar--success .nb-summary-bar__text strong,.nb-summary-bar--tips{color:#00A572}.nb-summary-bar .nb-summary-bar-container{height:112px;padding:0 24px;background:#fff;box-shadow:0 6px 18px 0 rgba(24,29,65,.18);border-radius:16px;display:flex;align-items:center;justify-content:flex-end;box-sizing:border-box;overflow:hidden}.nb-summary-bar .nb-summary-bar__left{flex:1;display:flex;align-items:center;overflow:hidden}.nb-summary-bar .nb-summary-bar__left .text-item{text-align:left;width:min-content}.nb-summary-bar .nb-summary-bar__left .text-item .nb-summary-bar__text{margin-left:0}.nb-summary-bar .nb-summary-bar__left .text-item+.text-item{margin-left:32px}.nb-summary-bar .nb-summary-bar__right{display:flex;align-items:center;flex-shrink:0}.nb-summary-bar .nb-summary-bar__right .el-button{margin-left:24px}.nb-header{width:100%;height:80px;background-color:#181D41;display:flex;align-items:center;justify-content:space-between;overflow-y:hidden;overflow-x:auto;color:#fff;overflow:hidden;line-height:42px;position:relative}.nb-header .nb-header__back{padding:0 36px 0 32px;height:100%;display:flex;align-items:center;justify-content:center}.nb-header .nb-header__back .svg-icon{width:40px;height:40px;margin-right:4px}.nb-header .nb-header__back .nb-icon{width:40px;height:40px;margin-right:10px}.nb-header .nb-header__back .nb-icon::before{font-size:40px}.nb-header .nb-header__back__text{font-family:OPPOSans B,OPPOSans-B,OPPOSans}.nb-header .nb-header__logout{padding:0 32px 0 34px;height:100%;display:flex;align-items:center;justify-content:center}.nb-header .nb-header__logout .nb-icon,.nb-header .nb-header__logout .svg-icon{width:40px;height:40px;margin-right:10px}.nb-header .nb-header__logout .nb-icon::before{font-size:40px}.nb-header .nb-header__logout__text{font-family:OPPOSans B,OPPOSans-B,OPPOSans}.nb-header .nb-header__tabs,.nb-header .nb-header__title{height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1}.nb-header .nb-header__title{width:fit-content;text-align:center;font-size:32px;line-height:42px;font-family:OPPOSans B,OPPOSans-B,OPPOSans;display:flex;align-items:center;justify-content:center}.nb-header .nb-header__tabs{display:flex;align-items:center;justify-content:center}.nb-header .nb-header__tabs .nb-header__tab{height:100%;display:flex;align-items:center;justify-content:center;cursor:pointer}.nb-header .nb-header__tabs .nb-header__tab__text{height:48px;display:flex;flex-direction:column;justify-content:center;background-color:#0f377a}.nb-header .nb-header__tabs .nb-header__tab__text span{padding:0 30px;min-width:200px;height:48px;text-align:center;font-size:28px;line-height:48px;box-sizing:border-box;position:relative}.nb-header .nb-header__tabs .nb-header__tab__text .el-badge{display:inline-block;vertical-align:inherit;font-family:inherit}.nb-header .nb-header__tabs .nb-header__tab__text .el-badge .el-badge__content.is-fixed{top:4px!important;right:4px;z-index:1}.nb-header .nb-header__tabs .nb-header__tab--active .nb-header__tab__text span{background-color:#0066E0;border-radius:24px!important}.nb-header .nb-header__tabs .nb-header__tab--disabled{cursor:not-allowed}.nb-header .nb-header__tabs .nb-header__tab--disabled .nb-header__tab__text span{background-color:#122e67;color:rgba(255,255,255,.2)}.nb-header .nb-header__tabs .nb-header__tab--import .nb-header__tab__text span{color:#f98900;font-family:OPPOSans B,OPPOSans-B,OPPOSans}.nb-header .nb-header__tabs .nb-header__tab:first-child .nb-header__tab__text{border-radius:24px 0 0 24px}.nb-header .nb-header__tabs .nb-header__tab:last-child .nb-header__tab__text{border-radius:0 24px 24px 0}.nb-header .nb-header__left{flex:auto}.nb-header .nb-header__right{flex:auto;display:inline-flex;align-items:center;justify-content:flex-end}.nb-header .nb-header__right .nb-header__btn{padding:0 32px 0 10px;height:100%;display:inline-flex;align-items:center;justify-content:center}.nb-header .nb-header__right .nb-header__btn .svg-icon{width:40px;height:40px;margin-right:10px}.nb-header .nb-header__right .nb-header__btn__text{font-family:OPPOSans B,OPPOSans-B,OPPOSans}
|
package/nubomed-ui.common.js
CHANGED
@@ -191,7 +191,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".iconfont[data-v-1d7955de]{display:inl
|
|
191
191
|
|
192
192
|
/***/ }),
|
193
193
|
|
194
|
-
/***/
|
194
|
+
/***/ 6960:
|
195
195
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
196
196
|
|
197
197
|
"use strict";
|
@@ -205,7 +205,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
205
205
|
|
206
206
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
207
207
|
// Module
|
208
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".el-pagination--left[data-v-
|
208
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".el-pagination--left[data-v-28549249]{text-align:left}.el-pagination--center[data-v-28549249]{text-align:center}.el-pagination--right[data-v-28549249]{text-align:right}", ""]);
|
209
209
|
// Exports
|
210
210
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
211
211
|
|
@@ -349,120 +349,6 @@ module.exports = function (i) {
|
|
349
349
|
|
350
350
|
/***/ }),
|
351
351
|
|
352
|
-
/***/ 1893:
|
353
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
354
|
-
|
355
|
-
"use strict";
|
356
|
-
// ESM COMPAT FLAG
|
357
|
-
__webpack_require__.r(__webpack_exports__);
|
358
|
-
|
359
|
-
// EXPORTS
|
360
|
-
__webpack_require__.d(__webpack_exports__, {
|
361
|
-
"default": function() { return /* binding */ NBBottomActionBar; }
|
362
|
-
});
|
363
|
-
|
364
|
-
;// ./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/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBBottomActionBar/src/index.vue?vue&type=template&id=b701a152&scoped=true
|
365
|
-
var render = function render() {
|
366
|
-
var _vm = this,
|
367
|
-
_c = _vm._self._c;
|
368
|
-
return _c('div', {
|
369
|
-
staticClass: "nb-bottom-action-bar",
|
370
|
-
class: `nb-bottom-action-bar--${_vm.fixed}`
|
371
|
-
}, [_c('div', {
|
372
|
-
staticClass: "nb-bottom-action-bar-container"
|
373
|
-
}, [_c('div', {
|
374
|
-
staticClass: "nb-bottom-action-bar__left",
|
375
|
-
class: `nb-bottom-action-bar--${_vm.icon}`
|
376
|
-
}, [_vm.icon === 'loading' ? _c('img', {
|
377
|
-
staticClass: "nb-bottom-action-bar__icon",
|
378
|
-
attrs: {
|
379
|
-
"src": __webpack_require__(6340)
|
380
|
-
}
|
381
|
-
}) : _vm._e(), _vm.icon === 'success' ? _c('img', {
|
382
|
-
staticClass: "nb-bottom-action-bar__icon",
|
383
|
-
attrs: {
|
384
|
-
"src": __webpack_require__(7540)
|
385
|
-
}
|
386
|
-
}) : _vm._e(), _vm.icon === 'error' ? _c('img', {
|
387
|
-
staticClass: "nb-bottom-action-bar__icon",
|
388
|
-
attrs: {
|
389
|
-
"src": __webpack_require__(9695)
|
390
|
-
}
|
391
|
-
}) : _vm._e(), _vm.text ? _c('span', {
|
392
|
-
staticClass: "nb-bottom-action-bar__text",
|
393
|
-
domProps: {
|
394
|
-
"innerHTML": _vm._s(_vm.text)
|
395
|
-
}
|
396
|
-
}) : _vm._e(), _vm._t("left")], 2), _c('div', {
|
397
|
-
staticClass: "nb-bottom-action-bar__right"
|
398
|
-
}, [_vm._t("default")], 2)])]);
|
399
|
-
};
|
400
|
-
var staticRenderFns = [];
|
401
|
-
|
402
|
-
;// ./packages/components/NBBottomActionBar/src/index.vue?vue&type=template&id=b701a152&scoped=true
|
403
|
-
|
404
|
-
;// ./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/NBBottomActionBar/src/index.vue?vue&type=script&lang=js
|
405
|
-
/* harmony default export */ var srcvue_type_script_lang_js = ({
|
406
|
-
name: 'NBBottomActionBar',
|
407
|
-
props: {
|
408
|
-
// 类型:success 检测正常 / info 正常操作提示 / loading 检测中 / error 检测异常 / tips 提示语
|
409
|
-
icon: {
|
410
|
-
type: String,
|
411
|
-
default: ''
|
412
|
-
},
|
413
|
-
// 文字
|
414
|
-
text: {
|
415
|
-
type: [String],
|
416
|
-
default: ''
|
417
|
-
},
|
418
|
-
// 固定位置:bottom 底部
|
419
|
-
fixed: {
|
420
|
-
type: String,
|
421
|
-
default: ''
|
422
|
-
}
|
423
|
-
}
|
424
|
-
});
|
425
|
-
;// ./packages/components/NBBottomActionBar/src/index.vue?vue&type=script&lang=js
|
426
|
-
/* harmony default export */ var NBBottomActionBar_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
|
427
|
-
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
428
|
-
var componentNormalizer = __webpack_require__(1656);
|
429
|
-
;// ./packages/components/NBBottomActionBar/src/index.vue
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
/* normalize component */
|
436
|
-
;
|
437
|
-
var component = (0,componentNormalizer/* default */.A)(
|
438
|
-
NBBottomActionBar_srcvue_type_script_lang_js,
|
439
|
-
render,
|
440
|
-
staticRenderFns,
|
441
|
-
false,
|
442
|
-
null,
|
443
|
-
"b701a152",
|
444
|
-
null
|
445
|
-
|
446
|
-
)
|
447
|
-
|
448
|
-
/* harmony default export */ var src = (component.exports);
|
449
|
-
;// ./packages/components/NBBottomActionBar/index.js
|
450
|
-
/*
|
451
|
-
* @Author: chenghuan.dong
|
452
|
-
* @Date: 2024-11-11 19:58:31
|
453
|
-
* @LastEditTime: 2024-11-12 09:57:29
|
454
|
-
* @LastEditors: chenghuan.dong
|
455
|
-
* @Description:
|
456
|
-
* @FilePath: \nubomed-ui\packages\components\NBBottomActionBar\index.js
|
457
|
-
*/
|
458
|
-
|
459
|
-
src.install = function (Vue) {
|
460
|
-
Vue.component('nb-bottom-action-bar', src);
|
461
|
-
};
|
462
|
-
/* harmony default export */ var NBBottomActionBar = (src);
|
463
|
-
|
464
|
-
/***/ }),
|
465
|
-
|
466
352
|
/***/ 1196:
|
467
353
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
468
354
|
|
@@ -562,7 +448,7 @@ src.install = function (Vue) {
|
|
562
448
|
|
563
449
|
/***/ }),
|
564
450
|
|
565
|
-
/***/
|
451
|
+
/***/ 2669:
|
566
452
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
567
453
|
|
568
454
|
"use strict";
|
@@ -571,10 +457,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
571
457
|
|
572
458
|
// EXPORTS
|
573
459
|
__webpack_require__.d(__webpack_exports__, {
|
574
|
-
"default": function() { return /* binding */
|
460
|
+
"default": function() { return /* binding */ NBHeader; }
|
575
461
|
});
|
576
462
|
|
577
|
-
;// ./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/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBHeader/index.vue?vue&type=template&id=
|
463
|
+
;// ./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/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBHeader/src/index.vue?vue&type=template&id=9619b35a&scoped=true
|
578
464
|
var render = function render() {
|
579
465
|
var _vm = this,
|
580
466
|
_c = _vm._self._c;
|
@@ -644,9 +530,9 @@ var staticRenderFns = [];
|
|
644
530
|
|
645
531
|
// EXTERNAL MODULE: ./packages/components/NBIcon/index.js + 5 modules
|
646
532
|
var NBIcon = __webpack_require__(5963);
|
647
|
-
;// ./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/index.vue?vue&type=script&lang=js
|
533
|
+
;// ./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
|
648
534
|
|
649
|
-
/* harmony default export */ var
|
535
|
+
/* harmony default export */ var srcvue_type_script_lang_js = ({
|
650
536
|
name: 'NBHeader',
|
651
537
|
components: {
|
652
538
|
NBIcon: NBIcon["default"]
|
@@ -748,11 +634,11 @@ var NBIcon = __webpack_require__(5963);
|
|
748
634
|
}
|
749
635
|
}
|
750
636
|
});
|
751
|
-
;// ./packages/components/NBHeader/index.vue?vue&type=script&lang=js
|
752
|
-
/* harmony default export */ var
|
637
|
+
;// ./packages/components/NBHeader/src/index.vue?vue&type=script&lang=js
|
638
|
+
/* harmony default export */ var NBHeader_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
|
753
639
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
754
640
|
var componentNormalizer = __webpack_require__(1656);
|
755
|
-
;// ./packages/components/NBHeader/index.vue
|
641
|
+
;// ./packages/components/NBHeader/src/index.vue
|
756
642
|
|
757
643
|
|
758
644
|
|
@@ -761,31 +647,23 @@ var componentNormalizer = __webpack_require__(1656);
|
|
761
647
|
/* normalize component */
|
762
648
|
;
|
763
649
|
var component = (0,componentNormalizer/* default */.A)(
|
764
|
-
|
650
|
+
NBHeader_srcvue_type_script_lang_js,
|
765
651
|
render,
|
766
652
|
staticRenderFns,
|
767
653
|
false,
|
768
654
|
null,
|
769
|
-
"
|
655
|
+
"9619b35a",
|
770
656
|
null
|
771
657
|
|
772
658
|
)
|
773
659
|
|
774
|
-
/* harmony default export */ var
|
660
|
+
/* harmony default export */ var src = (component.exports);
|
775
661
|
;// ./packages/components/NBHeader/index.js
|
776
|
-
/*
|
777
|
-
* @Author: chenghuan.dong
|
778
|
-
* @Date: 2024-11-11 19:58:31
|
779
|
-
* @LastEditTime: 2024-11-11 20:14:52
|
780
|
-
* @LastEditors: chenghuan.dong
|
781
|
-
* @Description:
|
782
|
-
* @FilePath: \nubomed-ui\packages\components\NBHeader\index.js
|
783
|
-
*/
|
784
662
|
|
785
|
-
|
786
|
-
Vue.component(
|
663
|
+
src.install = function (Vue) {
|
664
|
+
Vue.component(src.name, src);
|
787
665
|
};
|
788
|
-
/* harmony default export */ var
|
666
|
+
/* harmony default export */ var NBHeader = (src);
|
789
667
|
|
790
668
|
/***/ }),
|
791
669
|
|
@@ -854,21 +732,21 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
854
732
|
;// ./packages/components/NBIcon/index.js
|
855
733
|
/*
|
856
734
|
* @Author: chenghuan.dong
|
857
|
-
* @Date: 2024-11-11
|
858
|
-
* @LastEditTime: 2024-11-12
|
735
|
+
* @Date: 2024-11-12 11:27:05
|
736
|
+
* @LastEditTime: 2024-11-12 14:38:34
|
859
737
|
* @LastEditors: chenghuan.dong
|
860
|
-
* @Description:
|
738
|
+
* @Description:
|
861
739
|
* @FilePath: \nubomed-ui\packages\components\NBIcon\index.js
|
862
740
|
*/
|
863
741
|
|
864
742
|
src.install = function (Vue) {
|
865
|
-
Vue.component(
|
743
|
+
Vue.component(src.name, src);
|
866
744
|
};
|
867
745
|
/* harmony default export */ var NBIcon = (src);
|
868
746
|
|
869
747
|
/***/ }),
|
870
748
|
|
871
|
-
/***/
|
749
|
+
/***/ 4530:
|
872
750
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
873
751
|
|
874
752
|
"use strict";
|
@@ -877,10 +755,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
877
755
|
|
878
756
|
// EXPORTS
|
879
757
|
__webpack_require__.d(__webpack_exports__, {
|
880
|
-
"default": function() { return /* binding */
|
758
|
+
"default": function() { return /* binding */ NBPagination; }
|
881
759
|
});
|
882
760
|
|
883
|
-
;// ./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/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBPagination/index.vue?vue&type=template&id=
|
761
|
+
;// ./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/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBPagination/src/index.vue?vue&type=template&id=28549249&scoped=true
|
884
762
|
var render = function render() {
|
885
763
|
var _vm = this,
|
886
764
|
_c = _vm._self._c;
|
@@ -905,8 +783,8 @@ var render = function render() {
|
|
905
783
|
};
|
906
784
|
var staticRenderFns = [];
|
907
785
|
|
908
|
-
;// ./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/NBPagination/index.vue?vue&type=script&lang=js
|
909
|
-
/* harmony default export */ var
|
786
|
+
;// ./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/NBPagination/src/index.vue?vue&type=script&lang=js
|
787
|
+
/* harmony default export */ var srcvue_type_script_lang_js = ({
|
910
788
|
name: 'NBPagination',
|
911
789
|
// 分页
|
912
790
|
props: {
|
@@ -928,7 +806,7 @@ var staticRenderFns = [];
|
|
928
806
|
// 显示位置
|
929
807
|
position: {
|
930
808
|
type: String,
|
931
|
-
default: '
|
809
|
+
default: '',
|
932
810
|
validator(value) {
|
933
811
|
return ['', 'right', 'left', 'center'].includes(value);
|
934
812
|
}
|
@@ -952,15 +830,15 @@ var staticRenderFns = [];
|
|
952
830
|
}
|
953
831
|
}
|
954
832
|
});
|
955
|
-
;// ./packages/components/NBPagination/index.vue?vue&type=script&lang=js
|
956
|
-
/* harmony default export */ var
|
957
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBPagination/index.vue?vue&type=style&index=0&id=
|
958
|
-
var
|
959
|
-
;// ./packages/components/NBPagination/index.vue?vue&type=style&index=0&id=
|
833
|
+
;// ./packages/components/NBPagination/src/index.vue?vue&type=script&lang=js
|
834
|
+
/* harmony default export */ var NBPagination_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
|
835
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBPagination/src/index.vue?vue&type=style&index=0&id=28549249&prod&lang=scss&scoped=true
|
836
|
+
var srcvue_type_style_index_0_id_28549249_prod_lang_scss_scoped_true = __webpack_require__(9654);
|
837
|
+
;// ./packages/components/NBPagination/src/index.vue?vue&type=style&index=0&id=28549249&prod&lang=scss&scoped=true
|
960
838
|
|
961
839
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
962
840
|
var componentNormalizer = __webpack_require__(1656);
|
963
|
-
;// ./packages/components/NBPagination/index.vue
|
841
|
+
;// ./packages/components/NBPagination/src/index.vue
|
964
842
|
|
965
843
|
|
966
844
|
|
@@ -970,23 +848,146 @@ var componentNormalizer = __webpack_require__(1656);
|
|
970
848
|
/* normalize component */
|
971
849
|
|
972
850
|
var component = (0,componentNormalizer/* default */.A)(
|
973
|
-
|
851
|
+
NBPagination_srcvue_type_script_lang_js,
|
974
852
|
render,
|
975
853
|
staticRenderFns,
|
976
854
|
false,
|
977
855
|
null,
|
978
|
-
"
|
856
|
+
"28549249",
|
979
857
|
null
|
980
858
|
|
981
859
|
)
|
982
860
|
|
983
|
-
/* harmony default export */ var
|
861
|
+
/* harmony default export */ var src = (component.exports);
|
984
862
|
;// ./packages/components/NBPagination/index.js
|
985
863
|
|
986
|
-
|
987
|
-
Vue.component(
|
864
|
+
src.install = function (Vue) {
|
865
|
+
Vue.component(src.name, src);
|
988
866
|
};
|
989
|
-
/* harmony default export */ var
|
867
|
+
/* harmony default export */ var NBPagination = (src);
|
868
|
+
|
869
|
+
/***/ }),
|
870
|
+
|
871
|
+
/***/ 3681:
|
872
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
873
|
+
|
874
|
+
"use strict";
|
875
|
+
// ESM COMPAT FLAG
|
876
|
+
__webpack_require__.r(__webpack_exports__);
|
877
|
+
|
878
|
+
// EXPORTS
|
879
|
+
__webpack_require__.d(__webpack_exports__, {
|
880
|
+
"default": function() { return /* binding */ NBSummaryBar; }
|
881
|
+
});
|
882
|
+
|
883
|
+
;// ./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/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBSummaryBar/src/index.vue?vue&type=template&id=4f79b7f6&scoped=true
|
884
|
+
var render = function render() {
|
885
|
+
var _vm = this,
|
886
|
+
_c = _vm._self._c;
|
887
|
+
return _c('div', {
|
888
|
+
staticClass: "nb-summary-bar",
|
889
|
+
class: _vm.barClass
|
890
|
+
}, [_c('div', {
|
891
|
+
staticClass: "nb-summary-bar-container"
|
892
|
+
}, [_c('div', {
|
893
|
+
staticClass: "nb-summary-bar__left",
|
894
|
+
class: `nb-summary-bar--${_vm.icon}`
|
895
|
+
}, [_vm.icon === 'loading' ? _c('img', {
|
896
|
+
staticClass: "nb-summary-bar__icon",
|
897
|
+
attrs: {
|
898
|
+
"src": __webpack_require__(6340)
|
899
|
+
}
|
900
|
+
}) : _vm._e(), _vm.icon === 'success' ? _c('img', {
|
901
|
+
staticClass: "nb-summary-bar__icon",
|
902
|
+
attrs: {
|
903
|
+
"src": __webpack_require__(7540)
|
904
|
+
}
|
905
|
+
}) : _vm._e(), _vm.icon === 'error' ? _c('img', {
|
906
|
+
staticClass: "nb-summary-bar__icon",
|
907
|
+
attrs: {
|
908
|
+
"src": __webpack_require__(9695)
|
909
|
+
}
|
910
|
+
}) : _vm._e(), _vm.text ? _c('span', {
|
911
|
+
staticClass: "nb-summary-bar__text",
|
912
|
+
domProps: {
|
913
|
+
"innerHTML": _vm._s(_vm.text)
|
914
|
+
}
|
915
|
+
}) : _vm._e(), _vm._t("left")], 2), _c('div', {
|
916
|
+
staticClass: "nb-summary-bar__right"
|
917
|
+
}, [_vm._t("default")], 2)])]);
|
918
|
+
};
|
919
|
+
var staticRenderFns = [];
|
920
|
+
|
921
|
+
;// ./packages/components/NBSummaryBar/src/index.vue?vue&type=template&id=4f79b7f6&scoped=true
|
922
|
+
|
923
|
+
;// ./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/NBSummaryBar/src/index.vue?vue&type=script&lang=js
|
924
|
+
/* harmony default export */ var srcvue_type_script_lang_js = ({
|
925
|
+
name: 'NBSummaryBar',
|
926
|
+
props: {
|
927
|
+
// 类型:success 检测正常 / info 正常操作提示 / loading 检测中 / error 检测异常 / tips 提示语
|
928
|
+
icon: {
|
929
|
+
type: String,
|
930
|
+
default: ''
|
931
|
+
},
|
932
|
+
// 文字
|
933
|
+
text: {
|
934
|
+
type: [String],
|
935
|
+
default: ''
|
936
|
+
},
|
937
|
+
// 固定位置:bottom 底部
|
938
|
+
fixed: {
|
939
|
+
type: String,
|
940
|
+
default: ''
|
941
|
+
},
|
942
|
+
// 是否铺满
|
943
|
+
full: {
|
944
|
+
type: Boolean,
|
945
|
+
default: false
|
946
|
+
}
|
947
|
+
},
|
948
|
+
computed: {
|
949
|
+
barClass() {
|
950
|
+
let cls = '';
|
951
|
+
if (this.fixed) {
|
952
|
+
cls += `nb-summary-bar--${this.fixed}`;
|
953
|
+
}
|
954
|
+
if (this.full) {
|
955
|
+
cls += 'nb-summary-bar--full';
|
956
|
+
}
|
957
|
+
return cls;
|
958
|
+
}
|
959
|
+
}
|
960
|
+
});
|
961
|
+
;// ./packages/components/NBSummaryBar/src/index.vue?vue&type=script&lang=js
|
962
|
+
/* harmony default export */ var NBSummaryBar_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
|
963
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
964
|
+
var componentNormalizer = __webpack_require__(1656);
|
965
|
+
;// ./packages/components/NBSummaryBar/src/index.vue
|
966
|
+
|
967
|
+
|
968
|
+
|
969
|
+
|
970
|
+
|
971
|
+
/* normalize component */
|
972
|
+
;
|
973
|
+
var component = (0,componentNormalizer/* default */.A)(
|
974
|
+
NBSummaryBar_srcvue_type_script_lang_js,
|
975
|
+
render,
|
976
|
+
staticRenderFns,
|
977
|
+
false,
|
978
|
+
null,
|
979
|
+
"4f79b7f6",
|
980
|
+
null
|
981
|
+
|
982
|
+
)
|
983
|
+
|
984
|
+
/* harmony default export */ var src = (component.exports);
|
985
|
+
;// ./packages/components/NBSummaryBar/index.js
|
986
|
+
|
987
|
+
src.install = function (Vue) {
|
988
|
+
Vue.component(src.name, src);
|
989
|
+
};
|
990
|
+
/* harmony default export */ var NBSummaryBar = (src);
|
990
991
|
|
991
992
|
/***/ }),
|
992
993
|
|
@@ -1059,17 +1060,9 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
1059
1060
|
|
1060
1061
|
/* harmony default export */ var src = (component.exports);
|
1061
1062
|
;// ./packages/components/NBTag/index.js
|
1062
|
-
/*
|
1063
|
-
* @Author: chenghuan.dong
|
1064
|
-
* @Date: 2024-11-11 13:46:33
|
1065
|
-
* @LastEditTime: 2024-11-11 16:27:27
|
1066
|
-
* @LastEditors: chenghuan.dong
|
1067
|
-
* @Description:
|
1068
|
-
* @FilePath: \nubomed-ui\packages\components\NBTag\index.js
|
1069
|
-
*/
|
1070
1063
|
|
1071
1064
|
src.install = function (Vue) {
|
1072
|
-
Vue.component(
|
1065
|
+
Vue.component(src.name, src);
|
1073
1066
|
};
|
1074
1067
|
/* harmony default export */ var NBTag = (src);
|
1075
1068
|
|
@@ -1086,7 +1079,7 @@ if(content.__esModule) content = content.default;
|
|
1086
1079
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
1087
1080
|
if(content.locals) module.exports = content.locals;
|
1088
1081
|
// add the styles to the DOM
|
1089
|
-
var add = (__webpack_require__(
|
1082
|
+
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
1090
1083
|
var update = add("5a1800c6", content, true, {"sourceMap":false,"shadowMode":false});
|
1091
1084
|
|
1092
1085
|
/***/ }),
|
@@ -1102,28 +1095,28 @@ if(content.__esModule) content = content.default;
|
|
1102
1095
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
1103
1096
|
if(content.locals) module.exports = content.locals;
|
1104
1097
|
// add the styles to the DOM
|
1105
|
-
var add = (__webpack_require__(
|
1098
|
+
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
1106
1099
|
var update = add("1485bda7", content, true, {"sourceMap":false,"shadowMode":false});
|
1107
1100
|
|
1108
1101
|
/***/ }),
|
1109
1102
|
|
1110
|
-
/***/
|
1103
|
+
/***/ 9654:
|
1111
1104
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1112
1105
|
|
1113
1106
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
1114
1107
|
|
1115
1108
|
// load the styles
|
1116
|
-
var content = __webpack_require__(
|
1109
|
+
var content = __webpack_require__(6960);
|
1117
1110
|
if(content.__esModule) content = content.default;
|
1118
1111
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
1119
1112
|
if(content.locals) module.exports = content.locals;
|
1120
1113
|
// add the styles to the DOM
|
1121
|
-
var add = (__webpack_require__(
|
1122
|
-
var update = add("
|
1114
|
+
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
1115
|
+
var update = add("0bc0d9b5", content, true, {"sourceMap":false,"shadowMode":false});
|
1123
1116
|
|
1124
1117
|
/***/ }),
|
1125
1118
|
|
1126
|
-
/***/
|
1119
|
+
/***/ 9548:
|
1127
1120
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
1128
1121
|
|
1129
1122
|
"use strict";
|
@@ -1133,40 +1126,35 @@ __webpack_require__.d(__webpack_exports__, {
|
|
1133
1126
|
A: function() { return /* binding */ addStylesClient; }
|
1134
1127
|
});
|
1135
1128
|
|
1136
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
1137
|
-
var es_array_push = __webpack_require__(4114);
|
1138
1129
|
;// ./node_modules/vue-style-loader/lib/listToStyles.js
|
1139
|
-
|
1140
1130
|
/**
|
1141
1131
|
* Translates the list format produced by css-loader into something
|
1142
1132
|
* easier to manipulate.
|
1143
1133
|
*/
|
1144
|
-
function listToStyles(parentId, list) {
|
1145
|
-
var styles = []
|
1146
|
-
var newStyles = {}
|
1134
|
+
function listToStyles (parentId, list) {
|
1135
|
+
var styles = []
|
1136
|
+
var newStyles = {}
|
1147
1137
|
for (var i = 0; i < list.length; i++) {
|
1148
|
-
var item = list[i]
|
1149
|
-
var id = item[0]
|
1150
|
-
var css = item[1]
|
1151
|
-
var media = item[2]
|
1152
|
-
var sourceMap = item[3]
|
1138
|
+
var item = list[i]
|
1139
|
+
var id = item[0]
|
1140
|
+
var css = item[1]
|
1141
|
+
var media = item[2]
|
1142
|
+
var sourceMap = item[3]
|
1153
1143
|
var part = {
|
1154
1144
|
id: parentId + ':' + i,
|
1155
1145
|
css: css,
|
1156
1146
|
media: media,
|
1157
1147
|
sourceMap: sourceMap
|
1158
|
-
}
|
1148
|
+
}
|
1159
1149
|
if (!newStyles[id]) {
|
1160
|
-
styles.push(newStyles[id] = {
|
1161
|
-
id: id,
|
1162
|
-
parts: [part]
|
1163
|
-
});
|
1150
|
+
styles.push(newStyles[id] = { id: id, parts: [part] })
|
1164
1151
|
} else {
|
1165
|
-
newStyles[id].parts.push(part)
|
1152
|
+
newStyles[id].parts.push(part)
|
1166
1153
|
}
|
1167
1154
|
}
|
1168
|
-
return styles
|
1155
|
+
return styles
|
1169
1156
|
}
|
1157
|
+
|
1170
1158
|
;// ./node_modules/vue-style-loader/lib/addStylesClient.js
|
1171
1159
|
/*
|
1172
1160
|
MIT License http://www.opensource.org/licenses/mit-license.php
|
@@ -1398,11 +1386,11 @@ function applyToTag (styleElement, obj) {
|
|
1398
1386
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1399
1387
|
|
1400
1388
|
var map = {
|
1401
|
-
"./NBBottomActionBar/index.js": 1893,
|
1402
1389
|
"./NBEmpty/index.js": 1196,
|
1403
|
-
"./NBHeader/index.js":
|
1390
|
+
"./NBHeader/index.js": 2669,
|
1404
1391
|
"./NBIcon/index.js": 5963,
|
1405
|
-
"./NBPagination/index.js":
|
1392
|
+
"./NBPagination/index.js": 4530,
|
1393
|
+
"./NBSummaryBar/index.js": 3681,
|
1406
1394
|
"./NBTag/index.js": 3705
|
1407
1395
|
};
|
1408
1396
|
|
@@ -4006,6 +3994,15 @@ var es_array_push = __webpack_require__(4114);
|
|
4006
3994
|
var esnext_iterator_constructor = __webpack_require__(8992);
|
4007
3995
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.for-each.js
|
4008
3996
|
var esnext_iterator_for_each = __webpack_require__(3949);
|
3997
|
+
;// ./packages/utils/convert.js
|
3998
|
+
/**
|
3999
|
+
* 将大驼峰(camelCase)字符串转换为小写且带有空格分隔的形式(kebab-case)
|
4000
|
+
* @param {*} camelCaseStr 大驼峰
|
4001
|
+
* @returns kebab-case
|
4002
|
+
*/
|
4003
|
+
function camelToKebab(camelCaseStr) {
|
4004
|
+
return camelCaseStr.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
|
4005
|
+
}
|
4009
4006
|
// EXTERNAL MODULE: ./packages/iconfont/iconfont.css
|
4010
4007
|
var iconfont = __webpack_require__(1970);
|
4011
4008
|
;// ./locale/lang/zh-CN.js
|
@@ -4138,12 +4135,14 @@ const i18n = function (fn) {
|
|
4138
4135
|
/*
|
4139
4136
|
* @Author: chenghuan.dong
|
4140
4137
|
* @Date: 2024-11-08 17:23:47
|
4141
|
-
* @LastEditTime: 2024-11-12
|
4138
|
+
* @LastEditTime: 2024-11-12 14:35:32
|
4142
4139
|
* @LastEditors: chenghuan.dong
|
4143
4140
|
* @Description: 主index.js导出全部组件
|
4144
4141
|
* @FilePath: \nubomed-ui\packages\index.js
|
4145
4142
|
*/
|
4146
4143
|
|
4144
|
+
|
4145
|
+
|
4147
4146
|
// 使用iconfont图标
|
4148
4147
|
|
4149
4148
|
|
@@ -4161,7 +4160,8 @@ const install = function (Vue, options = {}) {
|
|
4161
4160
|
|
4162
4161
|
// 组件
|
4163
4162
|
components.forEach(component => {
|
4164
|
-
|
4163
|
+
console.log('nb-' + camelToKebab(component.name.slice(2)));
|
4164
|
+
Vue.component('nb-' + camelToKebab(component.name.slice(2)), component);
|
4165
4165
|
});
|
4166
4166
|
};
|
4167
4167
|
if (typeof window !== 'undefined' && window.Vue) {
|