nubomed-ui 2.0.51 → 2.0.53
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/fonts/iconfont.eced88ab.woff +0 -0
- package/fonts/iconfont.f4e33244.woff2 +0 -0
- package/fonts/{iconfont.a99a4236.ttf → iconfont.fbb7d3b1.ttf} +0 -0
- package/nubomed-ui.common.js +219 -28
- package/nubomed-ui.common.js.map +1 -1
- package/nubomed-ui.umd.js +219 -28
- 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 +3 -3
- package/fonts/iconfont.0c3a9555.woff2 +0 -0
- package/fonts/iconfont.c068c01a.woff +0 -0
package/nubomed-ui.common.js
CHANGED
@@ -123,15 +123,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
123
123
|
|
124
124
|
|
125
125
|
|
126
|
-
var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require__(
|
127
|
-
var ___CSS_LOADER_URL_IMPORT_1___ = new URL(/* asset import */ __webpack_require__(
|
128
|
-
var ___CSS_LOADER_URL_IMPORT_2___ = new URL(/* asset import */ __webpack_require__(
|
126
|
+
var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require__(3390), __webpack_require__.b);
|
127
|
+
var ___CSS_LOADER_URL_IMPORT_1___ = new URL(/* asset import */ __webpack_require__(1974), __webpack_require__.b);
|
128
|
+
var ___CSS_LOADER_URL_IMPORT_2___ = new URL(/* asset import */ __webpack_require__(5207), __webpack_require__.b);
|
129
129
|
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()));
|
130
130
|
var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
|
131
131
|
var ___CSS_LOADER_URL_REPLACEMENT_1___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_1___);
|
132
132
|
var ___CSS_LOADER_URL_REPLACEMENT_2___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_2___);
|
133
133
|
// Module
|
134
|
-
___CSS_LOADER_EXPORT___.push([module.id, "@font-face{font-family:iconfont;src:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") format(\"woff2\"),url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ") format(\"woff\"),url(" + ___CSS_LOADER_URL_REPLACEMENT_2___ + ") format(\"truetype\")}.iconfont{font-family:iconfont!important;font-size:1rem;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-menu-
|
134
|
+
___CSS_LOADER_EXPORT___.push([module.id, "@font-face{font-family:nubo-iconfont;src:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") format(\"woff2\"),url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ") format(\"woff\"),url(" + ___CSS_LOADER_URL_REPLACEMENT_2___ + ") format(\"truetype\")}.nubo-iconfont{font-family:nubo-iconfont!important;font-size:1rem;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-menu-book:before{content:\"\\e6e7\"}.icon-camera:before{content:\"\\e6eb\"}.icon-connect:before{content:\"\\e6ef\"}.icon-connect-error:before{content:\"\\e6f0\"}.icon-menu-take-no-back:before{content:\"\\e6e9\"}.icon-sort-down:before{content:\"\\e6ec\"}.icon-caret-up-expand:before{content:\"\\e6ee\"}.icon-caret-down-expand:before{content:\"\\e6f1\"}.icon-caret-left-expand:before{content:\"\\e6f2\"}.icon-caret-right-expand:before{content:\"\\e6f3\"}.icon-loading:before{content:\"\\e6fe\"}.icon-caret-up:before{content:\"\\e6ff\"}.icon-double-arrow-left:before{content:\"\\e701\"}.icon-double-arrow-right:before{content:\"\\e702\"}.icon-left-alignment:before{content:\"\\e703\"}.icon-right-alignment:before{content:\"\\e704\"}.icon-center-alignment:before{content:\"\\e705\"}.icon-menu-trace-stock:before{content:\"\\e70e\"}.icon-lock-filled:before{content:\"\\e70f\"}.icon-menu-storeroom-recevie-copy:before{content:\"\\e710\"}.icon-minus:before{content:\"\\e794\"}.icon-menu-stock-compare:before{content:\"\\e6b8\"}.icon-network-null:before{content:\"\\e609\"}.icon-wifi-online:before{content:\"\\e60a\"}.icon-network-4G:before{content:\"\\e60b\"}.icon-battery-charging:before{content:\"\\e60c\"}.icon-wifi-offline:before{content:\"\\e60d\"}.icon-battery-low:before{content:\"\\e60e\"}.icon-network-5G:before{content:\"\\e60f\"}.icon-battery-null:before{content:\"\\e610\"}.icon-battery-full:before{content:\"\\e611\"}.icon-man-filled:before{content:\"\\e612\"}.icon-women-filled:before{content:\"\\e613\"}.icon-male-filled:before{content:\"\\e614\"}.icon-female-filled:before{content:\"\\e615\"}.icon-children-filled:before{content:\"\\e616\"}.icon-unknown-sex-filled:before{content:\"\\e617\"}.icon-account:before{content:\"\\e618\"}.icon-unlock-filled:before{content:\"\\e619\"}.icon-password:before{content:\"\\e61a\"}.icon-voice-no-filled:before{content:\"\\e61b\"}.icon-bell-filled:before{content:\"\\e61c\"}.icon-voice-filled:before{content:\"\\e61d\"}.icon-zhiyin:before{content:\"\\e61e\"}.icon-note:before{content:\"\\e61f\"}.icon-multiple-choice:before{content:\"\\e620\"}.icon-logout:before{content:\"\\e621\"}.icon-copy:before{content:\"\\e622\"}.icon-back:before{content:\"\\e623\"}.icon-menu-checked-filled:before{content:\"\\e624\"}.icon-door-closed:before{content:\"\\e625\"}.icon-menu-inventory-filled:before{content:\"\\e626\"}.icon-door-opened:before{content:\"\\e627\"}.icon-delete-filled:before{content:\"\\e628\"}.icon-circle-close-filled:before{content:\"\\e629\"}.icon-nail-filled:before{content:\"\\e62a\"}.icon-warning-filled:before{content:\"\\e62b\"}.icon-circle-plus-filled:before{content:\"\\e62c\"}.icon-urgent:before{content:\"\\e62d\"}.icon-xiala:before{content:\"\\e62e\"}.icon-remove-filled:before{content:\"\\e62f\"}.icon-circle-check-filled:before{content:\"\\e630\"}.icon-up:before{content:\"\\e631\"}.icon-square-down:before{content:\"\\e632\"}.icon-square-left:before{content:\"\\e633\"}.icon-right:before{content:\"\\e634\"}.icon-caret-right:before{content:\"\\e635\"}.icon-caret-down:before{content:\"\\e636\"}.icon-double-caret:before{content:\"\\e638\"}.icon-import-file-filled:before{content:\"\\e639\"}.icon-export-file-filled:before{content:\"\\e63a\"}.icon-tuisun:before{content:\"\\e63b\"}.icon-tuiyao:before{content:\"\\e63c\"}.icon-print-filled:before{content:\"\\e63d\"}.icon-video:before{content:\"\\e63e\"}.icon-download-filled:before{content:\"\\e63f\"}.icon-switch-square-filled:before{content:\"\\e640\"}.icon-caps-filled:before{content:\"\\e641\"}.icon-split:before{content:\"\\e642\"}.icon-lock-filled-bottom:before{content:\"\\e643\"}.icon-checked-corner-bottom:before{content:\"\\e644\"}.icon-switch:before{content:\"\\e646\"}.icon-radio-unselected:before{content:\"\\e647\"}.icon-radio-selected:before{content:\"\\e648\"}.icon-humidity:before{content:\"\\e649\"}.icon-checkbox-checked:before{content:\"\\e64a\"}.icon-temperature:before{content:\"\\e64b\"}.icon-checkbox-null:before{content:\"\\e64c\"}.icon-checkbox-indeterminate:before{content:\"\\e64d\"}.icon-checkbox-filled:before{content:\"\\e64e\"}.icon-menu-rescue:before{content:\"\\e64f\"}.icon-menu-take-back:before{content:\"\\e650\"}.icon-menu-consume:before{content:\"\\e651\"}.icon-menu-expiry-warning:before{content:\"\\e653\"}.icon-menu-scrap:before{content:\"\\e654\"}.icon-menu-in-store:before{content:\"\\e655\"}.icon-menu-abnormal:before{content:\"\\e656\"}.icon-menu-control:before{content:\"\\e657\"}.icon-menu-inventory:before{content:\"\\e659\"}.icon-menu-video:before{content:\"\\e65a\"}.icon-menu-user-log:before{content:\"\\e65b\"}.icon-menu-face:before{content:\"\\e65c\"}.icon-menu-fingerprint:before{content:\"\\e65d\"}.icon-menu-update:before{content:\"\\e65e\"}.icon-menu-info:before{content:\"\\e65f\"}.icon-drug:before{content:\"\\e660\"}.icon-menu-phone:before{content:\"\\e661\"}.icon-menu-about:before{content:\"\\e662\"}.icon-syringe:before{content:\"\\e665\"}.icon-menu-out-stock:before{content:\"\\e666\"}.icon-rfid:before{content:\"\\e667\"}.icon-unlock:before{content:\"\\e668\"}.icon-recovery:before{content:\"\\e669\"}.icon-menu-notice-setting:before{content:\"\\e66a\"}.icon-menu-temp-hum:before{content:\"\\e66c\"}.icon-menu-uv:before{content:\"\\e66d\"}.icon-yizhuquyao:before{content:\"\\e66f\"}.icon-menu-apply:before{content:\"\\e671\"}.icon-menu-checked:before{content:\"\\e672\"}.icon-menu-take-plus:before{content:\"\\e673\"}.icon-shoushu:before{content:\"\\e674\"}.icon-menu-urgent-take:before{content:\"\\e675\"}.icon-menu-calibration:before{content:\"\\e676\"}.icon-menu-empty-bottle-recycling:before{content:\"\\e677\"}.icon-huanhui:before{content:\"\\e678\"}.icon-menu-storeroom-grant:before{content:\"\\e679\"}.icon-menu-setting:before{content:\"\\e67a\"}.icon-menu-notice:before{content:\"\\e67b\"}.icon-menu-empty-bottle-take:before{content:\"\\e67c\"}.icon-menu-return-loss:before{content:\"\\e67d\"}.icon-delete:before{content:\"\\e67e\"}.icon-print:before{content:\"\\e67f\"}.icon-import:before{content:\"\\e680\"}.icon-relate:before{content:\"\\e681\"}.icon-download:before{content:\"\\e682\"}.icon-refresh:before{content:\"\\e683\"}.icon-yaopinguanli:before{content:\"\\e684\"}.icon-menu-consumable:before{content:\"\\e685\"}.icon-stop:before{content:\"\\e686\"}.icon-menu-user:before{content:\"\\e687\"}.icon-menu-exchange:before{content:\"\\e688\"}.icon-shijian:before{content:\"\\e689\"}.icon-menu-help:before{content:\"\\e68a\"}.icon-circle-close:before{content:\"\\e68b\"}.icon-circle-plus:before{content:\"\\e68c\"}.icon-shutdown:before{content:\"\\e68d\"}.icon-menu-guide:before{content:\"\\e68e\"}.icon-eye-open:before{content:\"\\e68f\"}.icon-eye-close:before{content:\"\\e690\"}.icon-search:before{content:\"\\e691\"}.icon-exit:before{content:\"\\e694\"}.icon-calendar:before{content:\"\\e695\"}.icon-women:before{content:\"\\e696\"}.icon-man:before{content:\"\\e697\"}.icon-children:before{content:\"\\e698\"}.icon-female:before{content:\"\\e699\"}.icon-unknown-sex:before{content:\"\\e69a\"}.icon-male:before{content:\"\\e69b\"}.icon-caps:before{content:\"\\e69e\"}.icon-check:before{content:\"\\e69f\"}.icon-close:before{content:\"\\e6a0\"}.icon-plus:before{content:\"\\e6a3\"}.icon-menu-anti-theft:before{content:\"\\e664\"}.icon-single-branch:before{content:\"\\e66e\"}.icon-menu-card:before{content:\"\\e6a4\"}.icon-clear-filled:before{content:\"\\e6b5\"}.icon-nail:before{content:\"\\e6b6\"}.icon-menu-back:before{content:\"\\e6b7\"}.icon-menu-take:before{content:\"\\e6bb\"}.icon-menu-system-log:before{content:\"\\e6bc\"}.icon-menu-billed:before{content:\"\\e6bd\"}.icon-menu-dull-warning:before{content:\"\\e601\"}.icon-menu-trace-operator:before{content:\"\\e602\"}.icon-menu-trace-goods:before{content:\"\\e604\"}.icon-children-blue:before{content:\"\\e6a6\"}.icon-humidity-normal:before{content:\"\\e6be\"}.icon-humidity-abnormal:before{content:\"\\e6bf\"}.icon-temperature-normal:before{content:\"\\e6c0\"}.icon-temperature-abnormal:before{content:\"\\e6c1\"}.icon-menu-allocate:before{content:\"\\e693\"}.icon-menu-unknown:before{content:\"\\e69c\"}.icon-arrow-down:before{content:\"\\e69d\"}.icon-arrow-up:before{content:\"\\e6a1\"}.icon-menu-stock:before{content:\"\\e6a2\"}.icon-arrow-left:before{content:\"\\e6cf\"}.icon-arrow-right:before{content:\"\\e6d0\"}.icon-menu-list-query:before{content:\"\\e6d1\"}.icon-menu-list-abnormal:before{content:\"\\e6d2\"}.icon-go-filled:before{content:\"\\e6d4\"}.icon-menu-revoke-billing:before{content:\"\\e652\"}.icon-menu-network-log:before{content:\"\\e658\"}.icon-menu-revoke-consume:before{content:\"\\e670\"}.icon-keyboard:before{content:\"\\e603\"}.icon-face:before{content:\"\\e6b9\"}.icon-computer:before{content:\"\\e6d7\"}.icon-checked-corner-top:before{content:\"\\e6a7\"}.icon-taocanheguanli:before{content:\"\\e6e0\"}.icon-yidong:before{content:\"\\e6e1\"}.icon-menu-recovery:before{content:\"\\e6e3\"}.icon-menu-storeroom-check:before{content:\"\\e6e4\"}.icon-menu-storeroom-receive:before{content:\"\\e6e5\"}.icon-anesthesiologist:before{content:\"\\e6e6\"}", ""]);
|
135
135
|
// Exports
|
136
136
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
137
137
|
|
@@ -519,6 +519,196 @@ src.install = function (Vue) {
|
|
519
519
|
|
520
520
|
/***/ }),
|
521
521
|
|
522
|
+
/***/ 8249:
|
523
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
524
|
+
|
525
|
+
"use strict";
|
526
|
+
// ESM COMPAT FLAG
|
527
|
+
__webpack_require__.r(__webpack_exports__);
|
528
|
+
|
529
|
+
// EXPORTS
|
530
|
+
__webpack_require__.d(__webpack_exports__, {
|
531
|
+
"default": function() { return /* binding */ NBCabinetInventoryCarousel; }
|
532
|
+
});
|
533
|
+
|
534
|
+
;// ./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/NBCabinetInventoryCarousel/src/index.vue?vue&type=template&id=54b6138a&scoped=true
|
535
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-cabinet-inventory-carousel",class:[("nb-cabinet-inventory-carousel--" + _vm.locale)]},[(_vm.totalPage > 1)?_c('span',{staticClass:"cabinet__arrow",class:_vm.disableLeft ? 'is-disable' : '',on:{"click":function($event){$event.stopPropagation();return _vm.handleClickArrow('prev')}}},[_c('nb-icon',{staticClass:"cabinet__arrow--left",attrs:{"icon":"arrow-left"}})],1):_vm._e(),_c('el-carousel',{ref:"refCarousel",attrs:{"interval":0,"arrow":"never","trigger":"click","autoplay":false,"indicator-position":"none"},on:{"change":_vm.handleChange}},_vm._l((_vm.showList),function(page){return _c('el-carousel-item',{key:page.page},[_c('ul',{staticClass:"cabinet-list",class:("cabinet-list--" + (page.list.length))},_vm._l((page.list),function(item,index){return _c('li',{key:index,staticClass:"cabinet-item",on:{"click":function($event){$event.stopPropagation();return _vm.handleGoDetail(item)}}},[_c('div',{staticClass:"cabinet__img"},[_c('img',{attrs:{"src":("" + (item.terModelPic))}})]),_vm._t("default",function(){return [_c('div',{staticClass:"cabinet__right"},[_c('div',{staticClass:"cabinet__right__top"},[_c('div',{staticClass:"cabinet__name"},[_vm._v(_vm._s(item.sTerDesc))]),_c('div',{staticClass:"cabinet__date"},[_vm._v("03/15 08:49 盘点")])]),_c('div',{staticClass:"cabinet__loss"},[_c('span',[_c('i',[_vm._v("盘盈")]),_c('span',{staticClass:"inventory-surplus"},[_vm._v("236")])]),_c('span',[_c('i',[_vm._v("盘亏")]),_c('span',{staticClass:"inventory-loss"},[_vm._v("888")])])]),_c('div',{staticClass:"cabinet__account"},[_c('span',[_c('i',[_vm._v("账盘")]),_c('strong',[_vm._v("236")])]),_c('span',[_c('i',[_vm._v("机盘")]),_c('strong',[_vm._v("888")])])])]),_c('el-button',{attrs:{"size":"mini","type":"primary","plain":""},on:{"click":function($event){$event.stopPropagation();return _vm.handleClickInventory(item)}}},[_vm._v("盘点")]),(item.state === 1)?_c('div',{staticClass:"cabinet__loading"},[_vm._v("盘点中...")]):_vm._e()]},{"row":item})],2)}),0)])}),1),(_vm.totalPage > 1)?_c('span',{staticClass:"cabinet__arrow",class:_vm.disableRight ? 'is-disable' : '',on:{"click":function($event){$event.stopPropagation();return _vm.handleClickArrow('next')}}},[_c('nb-icon',{staticClass:"cabinet__arrow--right",attrs:{"icon":"arrow-right"}})],1):_vm._e()],1)}
|
536
|
+
var staticRenderFns = []
|
537
|
+
|
538
|
+
|
539
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
540
|
+
var es_array_push = __webpack_require__(4114);
|
541
|
+
;// ./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/NBCabinetInventoryCarousel/src/index.vue?vue&type=script&lang=js
|
542
|
+
|
543
|
+
//
|
544
|
+
//
|
545
|
+
//
|
546
|
+
//
|
547
|
+
//
|
548
|
+
//
|
549
|
+
//
|
550
|
+
//
|
551
|
+
//
|
552
|
+
//
|
553
|
+
//
|
554
|
+
//
|
555
|
+
//
|
556
|
+
//
|
557
|
+
//
|
558
|
+
//
|
559
|
+
//
|
560
|
+
//
|
561
|
+
//
|
562
|
+
//
|
563
|
+
//
|
564
|
+
//
|
565
|
+
//
|
566
|
+
//
|
567
|
+
//
|
568
|
+
//
|
569
|
+
//
|
570
|
+
//
|
571
|
+
//
|
572
|
+
//
|
573
|
+
//
|
574
|
+
//
|
575
|
+
//
|
576
|
+
//
|
577
|
+
//
|
578
|
+
//
|
579
|
+
//
|
580
|
+
//
|
581
|
+
//
|
582
|
+
//
|
583
|
+
//
|
584
|
+
//
|
585
|
+
//
|
586
|
+
//
|
587
|
+
//
|
588
|
+
//
|
589
|
+
//
|
590
|
+
//
|
591
|
+
//
|
592
|
+
//
|
593
|
+
//
|
594
|
+
//
|
595
|
+
//
|
596
|
+
//
|
597
|
+
//
|
598
|
+
//
|
599
|
+
//
|
600
|
+
//
|
601
|
+
//
|
602
|
+
//
|
603
|
+
|
604
|
+
/* harmony default export */ var srcvue_type_script_lang_js = ({
|
605
|
+
name: 'NBCabinetInventoryCarousel',
|
606
|
+
props: {
|
607
|
+
// 柜子列表
|
608
|
+
data: {
|
609
|
+
type: Array,
|
610
|
+
default: () => {
|
611
|
+
return [];
|
612
|
+
}
|
613
|
+
},
|
614
|
+
// 语言
|
615
|
+
locale: {
|
616
|
+
type: String,
|
617
|
+
default: 'zh-cn'
|
618
|
+
}
|
619
|
+
},
|
620
|
+
data() {
|
621
|
+
return {
|
622
|
+
index: 0
|
623
|
+
};
|
624
|
+
},
|
625
|
+
computed: {
|
626
|
+
// 分页
|
627
|
+
showList() {
|
628
|
+
let list = [];
|
629
|
+
let page = ['en', 'en-us', 'fr'].includes(this.locale) ? 2 : 4; // 中文版一行显示4个,英文版一行显示2个
|
630
|
+
for (let i = 0; i < this.data.length; i += page) {
|
631
|
+
list.push({
|
632
|
+
page: i,
|
633
|
+
list: this.data.slice(i, i + page)
|
634
|
+
});
|
635
|
+
}
|
636
|
+
return list;
|
637
|
+
},
|
638
|
+
// 总页码
|
639
|
+
totalPage() {
|
640
|
+
return this.showList.length;
|
641
|
+
},
|
642
|
+
// 左边箭头是否禁用
|
643
|
+
disableLeft() {
|
644
|
+
return this.index === 0 || this.totalPage === 1;
|
645
|
+
},
|
646
|
+
// 左边箭头是否禁用
|
647
|
+
disableRight() {
|
648
|
+
return this.index === this.totalPage - 1 || this.totalPage === 1;
|
649
|
+
}
|
650
|
+
},
|
651
|
+
methods: {
|
652
|
+
// 点击箭头
|
653
|
+
handleClickArrow(type) {
|
654
|
+
if (type === 'prev' && !this.disableLeft) {
|
655
|
+
if (this.$refs.refCarousel) {
|
656
|
+
this.$refs.refCarousel.prev();
|
657
|
+
}
|
658
|
+
}
|
659
|
+
if (type === 'next' && !this.disableRight) {
|
660
|
+
if (this.$refs.refCarousel) {
|
661
|
+
this.$refs.refCarousel.next();
|
662
|
+
}
|
663
|
+
}
|
664
|
+
},
|
665
|
+
// 改变索引
|
666
|
+
handleChange(index) {
|
667
|
+
this.index = index;
|
668
|
+
},
|
669
|
+
// 点击柜子,查看盘点详情
|
670
|
+
handleGoDetail(item) {
|
671
|
+
this.$emit('detail', item);
|
672
|
+
},
|
673
|
+
// 点击盘点按钮,盘点单个柜子
|
674
|
+
handleClickInventory(item) {
|
675
|
+
this.$emit('inventory', item);
|
676
|
+
}
|
677
|
+
}
|
678
|
+
});
|
679
|
+
;// ./packages/components/NBCabinetInventoryCarousel/src/index.vue?vue&type=script&lang=js
|
680
|
+
/* harmony default export */ var NBCabinetInventoryCarousel_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
|
681
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
682
|
+
var componentNormalizer = __webpack_require__(1656);
|
683
|
+
;// ./packages/components/NBCabinetInventoryCarousel/src/index.vue
|
684
|
+
|
685
|
+
|
686
|
+
|
687
|
+
|
688
|
+
|
689
|
+
/* normalize component */
|
690
|
+
;
|
691
|
+
var component = (0,componentNormalizer/* default */.A)(
|
692
|
+
NBCabinetInventoryCarousel_srcvue_type_script_lang_js,
|
693
|
+
render,
|
694
|
+
staticRenderFns,
|
695
|
+
false,
|
696
|
+
null,
|
697
|
+
"54b6138a",
|
698
|
+
null
|
699
|
+
|
700
|
+
)
|
701
|
+
|
702
|
+
/* harmony default export */ var src = (component.exports);
|
703
|
+
;// ./packages/components/NBCabinetInventoryCarousel/index.js
|
704
|
+
|
705
|
+
src.install = function (Vue) {
|
706
|
+
Vue.component(src.name, src);
|
707
|
+
};
|
708
|
+
/* harmony default export */ var NBCabinetInventoryCarousel = (src);
|
709
|
+
|
710
|
+
/***/ }),
|
711
|
+
|
522
712
|
/***/ 9070:
|
523
713
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
524
714
|
|
@@ -1043,7 +1233,7 @@ src.install = function (Vue) {
|
|
1043
1233
|
|
1044
1234
|
/***/ }),
|
1045
1235
|
|
1046
|
-
/***/
|
1236
|
+
/***/ 687:
|
1047
1237
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
1048
1238
|
|
1049
1239
|
"use strict";
|
@@ -1055,7 +1245,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
1055
1245
|
"default": function() { return /* binding */ NBExpiryIcon; }
|
1056
1246
|
});
|
1057
1247
|
|
1058
|
-
;// ./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/NBExpiryIcon/src/index.vue?vue&type=template&id=
|
1248
|
+
;// ./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/NBExpiryIcon/src/index.vue?vue&type=template&id=9b72fa0a&scoped=true
|
1059
1249
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.icon)?_c('span',{staticClass:"nb-expiry-icon",class:("nb-expiry-icon--" + _vm.value)},[_vm._v(_vm._s(_vm.icon))]):_vm._e()}
|
1060
1250
|
var staticRenderFns = []
|
1061
1251
|
|
@@ -1066,7 +1256,7 @@ var locale = __webpack_require__(4820);
|
|
1066
1256
|
/*
|
1067
1257
|
* @Author: chenghuan.dong
|
1068
1258
|
* @Date: 2024-11-18 11:19:51
|
1069
|
-
* @LastEditTime: 2024-11-18
|
1259
|
+
* @LastEditTime: 2024-11-18 19:40:11
|
1070
1260
|
* @LastEditors: chenghuan.dong
|
1071
1261
|
* @Description:
|
1072
1262
|
* @FilePath: \nubomed-ui\packages\mixins\index.js
|
@@ -1074,7 +1264,7 @@ var locale = __webpack_require__(4820);
|
|
1074
1264
|
|
1075
1265
|
/* harmony default export */ var mixins = ({
|
1076
1266
|
methods: {
|
1077
|
-
|
1267
|
+
t(...args) {
|
1078
1268
|
return locale.t.apply(this, args);
|
1079
1269
|
}
|
1080
1270
|
}
|
@@ -1135,16 +1325,16 @@ var locale = __webpack_require__(4820);
|
|
1135
1325
|
} else {
|
1136
1326
|
switch (parseInt(this.value)) {
|
1137
1327
|
case 0:
|
1138
|
-
return this
|
1328
|
+
return this.t('nbUI.overdue');
|
1139
1329
|
// '过期'
|
1140
1330
|
case 1:
|
1141
|
-
return this
|
1331
|
+
return this.t('nbUI.oneMonth');
|
1142
1332
|
// '1个月'
|
1143
1333
|
case 3:
|
1144
|
-
return this
|
1334
|
+
return this.t('nbUI.threeMonth');
|
1145
1335
|
// '3个月'
|
1146
1336
|
case 6:
|
1147
|
-
return this
|
1337
|
+
return this.t('nbUI.sixMonth');
|
1148
1338
|
// '6个月'
|
1149
1339
|
default:
|
1150
1340
|
return '';
|
@@ -1171,7 +1361,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
1171
1361
|
staticRenderFns,
|
1172
1362
|
false,
|
1173
1363
|
null,
|
1174
|
-
"
|
1364
|
+
"9b72fa0a",
|
1175
1365
|
null
|
1176
1366
|
|
1177
1367
|
)
|
@@ -1330,7 +1520,7 @@ var esnext_iterator_constructor = __webpack_require__(8992);
|
|
1330
1520
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.for-each.js
|
1331
1521
|
var esnext_iterator_for_each = __webpack_require__(3949);
|
1332
1522
|
// EXTERNAL MODULE: ./packages/components/NBIcon/index.js + 4 modules
|
1333
|
-
var NBIcon = __webpack_require__(
|
1523
|
+
var NBIcon = __webpack_require__(3685);
|
1334
1524
|
// EXTERNAL MODULE: ./packages/components/NBBadge/index.js + 4 modules
|
1335
1525
|
var NBBadge = __webpack_require__(3250);
|
1336
1526
|
;// ./packages/utils/dom.js
|
@@ -1610,7 +1800,7 @@ src.install = function (Vue) {
|
|
1610
1800
|
|
1611
1801
|
/***/ }),
|
1612
1802
|
|
1613
|
-
/***/
|
1803
|
+
/***/ 3685:
|
1614
1804
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
1615
1805
|
|
1616
1806
|
"use strict";
|
@@ -1622,8 +1812,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
1622
1812
|
"default": function() { return /* binding */ NBIcon; }
|
1623
1813
|
});
|
1624
1814
|
|
1625
|
-
;// ./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/NBIcon/src/index.vue?vue&type=template&id=
|
1626
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.icon)?_c('span',{class:("nb-icon iconfont icon-" + _vm.icon)}):_vm._e()}
|
1815
|
+
;// ./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/NBIcon/src/index.vue?vue&type=template&id=16daf324&scoped=true
|
1816
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.icon)?_c('span',{class:("nb-icon nubo-iconfont icon-" + _vm.icon)}):_vm._e()}
|
1627
1817
|
var staticRenderFns = []
|
1628
1818
|
|
1629
1819
|
|
@@ -1669,7 +1859,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
1669
1859
|
staticRenderFns,
|
1670
1860
|
false,
|
1671
1861
|
null,
|
1672
|
-
"
|
1862
|
+
"16daf324",
|
1673
1863
|
null
|
1674
1864
|
|
1675
1865
|
)
|
@@ -3401,13 +3591,14 @@ webpackContext.id = 1603;
|
|
3401
3591
|
|
3402
3592
|
var map = {
|
3403
3593
|
"./NBBadge/index.js": 3250,
|
3594
|
+
"./NBCabinetInventoryCarousel/index.js": 8249,
|
3404
3595
|
"./NBCheckboxGroup/index.js": 9070,
|
3405
3596
|
"./NBDialog/index.js": 6571,
|
3406
3597
|
"./NBEmpty/index.js": 4400,
|
3407
|
-
"./NBExpiryIcon/index.js":
|
3598
|
+
"./NBExpiryIcon/index.js": 687,
|
3408
3599
|
"./NBFullscreenDialog/index.js": 4531,
|
3409
3600
|
"./NBHeader/index.js": 1001,
|
3410
|
-
"./NBIcon/index.js":
|
3601
|
+
"./NBIcon/index.js": 3685,
|
3411
3602
|
"./NBMessageDialog/index.js": 5550,
|
3412
3603
|
"./NBOutFooterDialog/index.js": 5592,
|
3413
3604
|
"./NBPagination/index.js": 8369,
|
@@ -3514,27 +3705,27 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACa
|
|
3514
3705
|
|
3515
3706
|
/***/ }),
|
3516
3707
|
|
3517
|
-
/***/
|
3708
|
+
/***/ 5207:
|
3518
3709
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3519
3710
|
|
3520
3711
|
"use strict";
|
3521
|
-
module.exports = __webpack_require__.p + "fonts/iconfont.
|
3712
|
+
module.exports = __webpack_require__.p + "fonts/iconfont.fbb7d3b1.ttf";
|
3522
3713
|
|
3523
3714
|
/***/ }),
|
3524
3715
|
|
3525
|
-
/***/
|
3716
|
+
/***/ 3390:
|
3526
3717
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3527
3718
|
|
3528
3719
|
"use strict";
|
3529
|
-
module.exports = __webpack_require__.p + "fonts/iconfont.
|
3720
|
+
module.exports = __webpack_require__.p + "fonts/iconfont.f4e33244.woff2";
|
3530
3721
|
|
3531
3722
|
/***/ }),
|
3532
3723
|
|
3533
|
-
/***/
|
3724
|
+
/***/ 1974:
|
3534
3725
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3535
3726
|
|
3536
3727
|
"use strict";
|
3537
|
-
module.exports = __webpack_require__.p + "fonts/iconfont.
|
3728
|
+
module.exports = __webpack_require__.p + "fonts/iconfont.eced88ab.woff";
|
3538
3729
|
|
3539
3730
|
/***/ }),
|
3540
3731
|
|
@@ -6304,7 +6495,7 @@ var iconfont = __webpack_require__(1970);
|
|
6304
6495
|
/*
|
6305
6496
|
* @Author: chenghuan.dong
|
6306
6497
|
* @Date: 2024-11-08 17:23:47
|
6307
|
-
* @LastEditTime: 2024-11-18
|
6498
|
+
* @LastEditTime: 2024-11-18 20:39:25
|
6308
6499
|
* @LastEditors: chenghuan.dong
|
6309
6500
|
* @Description: 主index.js导出全部组件
|
6310
6501
|
* @FilePath: \nubomed-ui\packages\index.js
|
@@ -6332,7 +6523,7 @@ const install = function (Vue, options = {}) {
|
|
6332
6523
|
if (install.installed) return;
|
6333
6524
|
components.forEach(component => {
|
6334
6525
|
const name = 'nb-' + camelToKebab(component.name.slice(2));
|
6335
|
-
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', 'nb-expiry-icon'];
|
6526
|
+
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', 'nb-expiry-icon', 'nb-cabinet-inventory-carousel'];
|
6336
6527
|
if (installNames.includes(name)) {
|
6337
6528
|
console.log('%c' + '√ ' + name, 'color: #00A572;');
|
6338
6529
|
} else {
|