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.umd.js
CHANGED
@@ -133,15 +133,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
133
133
|
|
134
134
|
|
135
135
|
|
136
|
-
var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require__(
|
137
|
-
var ___CSS_LOADER_URL_IMPORT_1___ = new URL(/* asset import */ __webpack_require__(
|
138
|
-
var ___CSS_LOADER_URL_IMPORT_2___ = new URL(/* asset import */ __webpack_require__(
|
136
|
+
var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require__(3390), __webpack_require__.b);
|
137
|
+
var ___CSS_LOADER_URL_IMPORT_1___ = new URL(/* asset import */ __webpack_require__(1974), __webpack_require__.b);
|
138
|
+
var ___CSS_LOADER_URL_IMPORT_2___ = new URL(/* asset import */ __webpack_require__(5207), __webpack_require__.b);
|
139
139
|
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()));
|
140
140
|
var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
|
141
141
|
var ___CSS_LOADER_URL_REPLACEMENT_1___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_1___);
|
142
142
|
var ___CSS_LOADER_URL_REPLACEMENT_2___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_2___);
|
143
143
|
// Module
|
144
|
-
___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-
|
144
|
+
___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\"}", ""]);
|
145
145
|
// Exports
|
146
146
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
147
147
|
|
@@ -529,6 +529,196 @@ src.install = function (Vue) {
|
|
529
529
|
|
530
530
|
/***/ }),
|
531
531
|
|
532
|
+
/***/ 8223:
|
533
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
534
|
+
|
535
|
+
"use strict";
|
536
|
+
// ESM COMPAT FLAG
|
537
|
+
__webpack_require__.r(__webpack_exports__);
|
538
|
+
|
539
|
+
// EXPORTS
|
540
|
+
__webpack_require__.d(__webpack_exports__, {
|
541
|
+
"default": function() { return /* binding */ NBCabinetInventoryCarousel; }
|
542
|
+
});
|
543
|
+
|
544
|
+
;// ./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
|
545
|
+
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)}
|
546
|
+
var staticRenderFns = []
|
547
|
+
|
548
|
+
|
549
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
550
|
+
var es_array_push = __webpack_require__(4114);
|
551
|
+
;// ./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/NBCabinetInventoryCarousel/src/index.vue?vue&type=script&lang=js
|
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
|
+
//
|
605
|
+
//
|
606
|
+
//
|
607
|
+
//
|
608
|
+
//
|
609
|
+
//
|
610
|
+
//
|
611
|
+
//
|
612
|
+
//
|
613
|
+
|
614
|
+
/* harmony default export */ var srcvue_type_script_lang_js = ({
|
615
|
+
name: 'NBCabinetInventoryCarousel',
|
616
|
+
props: {
|
617
|
+
// 柜子列表
|
618
|
+
data: {
|
619
|
+
type: Array,
|
620
|
+
default: () => {
|
621
|
+
return [];
|
622
|
+
}
|
623
|
+
},
|
624
|
+
// 语言
|
625
|
+
locale: {
|
626
|
+
type: String,
|
627
|
+
default: 'zh-cn'
|
628
|
+
}
|
629
|
+
},
|
630
|
+
data() {
|
631
|
+
return {
|
632
|
+
index: 0
|
633
|
+
};
|
634
|
+
},
|
635
|
+
computed: {
|
636
|
+
// 分页
|
637
|
+
showList() {
|
638
|
+
let list = [];
|
639
|
+
let page = ['en', 'en-us', 'fr'].includes(this.locale) ? 2 : 4; // 中文版一行显示4个,英文版一行显示2个
|
640
|
+
for (let i = 0; i < this.data.length; i += page) {
|
641
|
+
list.push({
|
642
|
+
page: i,
|
643
|
+
list: this.data.slice(i, i + page)
|
644
|
+
});
|
645
|
+
}
|
646
|
+
return list;
|
647
|
+
},
|
648
|
+
// 总页码
|
649
|
+
totalPage() {
|
650
|
+
return this.showList.length;
|
651
|
+
},
|
652
|
+
// 左边箭头是否禁用
|
653
|
+
disableLeft() {
|
654
|
+
return this.index === 0 || this.totalPage === 1;
|
655
|
+
},
|
656
|
+
// 左边箭头是否禁用
|
657
|
+
disableRight() {
|
658
|
+
return this.index === this.totalPage - 1 || this.totalPage === 1;
|
659
|
+
}
|
660
|
+
},
|
661
|
+
methods: {
|
662
|
+
// 点击箭头
|
663
|
+
handleClickArrow(type) {
|
664
|
+
if (type === 'prev' && !this.disableLeft) {
|
665
|
+
if (this.$refs.refCarousel) {
|
666
|
+
this.$refs.refCarousel.prev();
|
667
|
+
}
|
668
|
+
}
|
669
|
+
if (type === 'next' && !this.disableRight) {
|
670
|
+
if (this.$refs.refCarousel) {
|
671
|
+
this.$refs.refCarousel.next();
|
672
|
+
}
|
673
|
+
}
|
674
|
+
},
|
675
|
+
// 改变索引
|
676
|
+
handleChange(index) {
|
677
|
+
this.index = index;
|
678
|
+
},
|
679
|
+
// 点击柜子,查看盘点详情
|
680
|
+
handleGoDetail(item) {
|
681
|
+
this.$emit('detail', item);
|
682
|
+
},
|
683
|
+
// 点击盘点按钮,盘点单个柜子
|
684
|
+
handleClickInventory(item) {
|
685
|
+
this.$emit('inventory', item);
|
686
|
+
}
|
687
|
+
}
|
688
|
+
});
|
689
|
+
;// ./packages/components/NBCabinetInventoryCarousel/src/index.vue?vue&type=script&lang=js
|
690
|
+
/* harmony default export */ var NBCabinetInventoryCarousel_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
|
691
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
692
|
+
var componentNormalizer = __webpack_require__(1656);
|
693
|
+
;// ./packages/components/NBCabinetInventoryCarousel/src/index.vue
|
694
|
+
|
695
|
+
|
696
|
+
|
697
|
+
|
698
|
+
|
699
|
+
/* normalize component */
|
700
|
+
;
|
701
|
+
var component = (0,componentNormalizer/* default */.A)(
|
702
|
+
NBCabinetInventoryCarousel_srcvue_type_script_lang_js,
|
703
|
+
render,
|
704
|
+
staticRenderFns,
|
705
|
+
false,
|
706
|
+
null,
|
707
|
+
"54b6138a",
|
708
|
+
null
|
709
|
+
|
710
|
+
)
|
711
|
+
|
712
|
+
/* harmony default export */ var src = (component.exports);
|
713
|
+
;// ./packages/components/NBCabinetInventoryCarousel/index.js
|
714
|
+
|
715
|
+
src.install = function (Vue) {
|
716
|
+
Vue.component(src.name, src);
|
717
|
+
};
|
718
|
+
/* harmony default export */ var NBCabinetInventoryCarousel = (src);
|
719
|
+
|
720
|
+
/***/ }),
|
721
|
+
|
532
722
|
/***/ 2129:
|
533
723
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
534
724
|
|
@@ -1053,7 +1243,7 @@ src.install = function (Vue) {
|
|
1053
1243
|
|
1054
1244
|
/***/ }),
|
1055
1245
|
|
1056
|
-
/***/
|
1246
|
+
/***/ 5155:
|
1057
1247
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
1058
1248
|
|
1059
1249
|
"use strict";
|
@@ -1065,7 +1255,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
1065
1255
|
"default": function() { return /* binding */ NBExpiryIcon; }
|
1066
1256
|
});
|
1067
1257
|
|
1068
|
-
;// ./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=
|
1258
|
+
;// ./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
|
1069
1259
|
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()}
|
1070
1260
|
var staticRenderFns = []
|
1071
1261
|
|
@@ -1076,7 +1266,7 @@ var locale = __webpack_require__(7294);
|
|
1076
1266
|
/*
|
1077
1267
|
* @Author: chenghuan.dong
|
1078
1268
|
* @Date: 2024-11-18 11:19:51
|
1079
|
-
* @LastEditTime: 2024-11-18
|
1269
|
+
* @LastEditTime: 2024-11-18 19:40:11
|
1080
1270
|
* @LastEditors: chenghuan.dong
|
1081
1271
|
* @Description:
|
1082
1272
|
* @FilePath: \nubomed-ui\packages\mixins\index.js
|
@@ -1084,7 +1274,7 @@ var locale = __webpack_require__(7294);
|
|
1084
1274
|
|
1085
1275
|
/* harmony default export */ var mixins = ({
|
1086
1276
|
methods: {
|
1087
|
-
|
1277
|
+
t(...args) {
|
1088
1278
|
return locale.t.apply(this, args);
|
1089
1279
|
}
|
1090
1280
|
}
|
@@ -1145,16 +1335,16 @@ var locale = __webpack_require__(7294);
|
|
1145
1335
|
} else {
|
1146
1336
|
switch (parseInt(this.value)) {
|
1147
1337
|
case 0:
|
1148
|
-
return this
|
1338
|
+
return this.t('nbUI.overdue');
|
1149
1339
|
// '过期'
|
1150
1340
|
case 1:
|
1151
|
-
return this
|
1341
|
+
return this.t('nbUI.oneMonth');
|
1152
1342
|
// '1个月'
|
1153
1343
|
case 3:
|
1154
|
-
return this
|
1344
|
+
return this.t('nbUI.threeMonth');
|
1155
1345
|
// '3个月'
|
1156
1346
|
case 6:
|
1157
|
-
return this
|
1347
|
+
return this.t('nbUI.sixMonth');
|
1158
1348
|
// '6个月'
|
1159
1349
|
default:
|
1160
1350
|
return '';
|
@@ -1181,7 +1371,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
1181
1371
|
staticRenderFns,
|
1182
1372
|
false,
|
1183
1373
|
null,
|
1184
|
-
"
|
1374
|
+
"9b72fa0a",
|
1185
1375
|
null
|
1186
1376
|
|
1187
1377
|
)
|
@@ -1340,7 +1530,7 @@ var esnext_iterator_constructor = __webpack_require__(8992);
|
|
1340
1530
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.for-each.js
|
1341
1531
|
var esnext_iterator_for_each = __webpack_require__(3949);
|
1342
1532
|
// EXTERNAL MODULE: ./packages/components/NBIcon/index.js + 4 modules
|
1343
|
-
var NBIcon = __webpack_require__(
|
1533
|
+
var NBIcon = __webpack_require__(8311);
|
1344
1534
|
// EXTERNAL MODULE: ./packages/components/NBBadge/index.js + 4 modules
|
1345
1535
|
var NBBadge = __webpack_require__(3134);
|
1346
1536
|
;// ./packages/utils/dom.js
|
@@ -1620,7 +1810,7 @@ src.install = function (Vue) {
|
|
1620
1810
|
|
1621
1811
|
/***/ }),
|
1622
1812
|
|
1623
|
-
/***/
|
1813
|
+
/***/ 8311:
|
1624
1814
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
1625
1815
|
|
1626
1816
|
"use strict";
|
@@ -1632,8 +1822,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
1632
1822
|
"default": function() { return /* binding */ NBIcon; }
|
1633
1823
|
});
|
1634
1824
|
|
1635
|
-
;// ./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=
|
1636
|
-
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()}
|
1825
|
+
;// ./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
|
1826
|
+
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()}
|
1637
1827
|
var staticRenderFns = []
|
1638
1828
|
|
1639
1829
|
|
@@ -1679,7 +1869,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
1679
1869
|
staticRenderFns,
|
1680
1870
|
false,
|
1681
1871
|
null,
|
1682
|
-
"
|
1872
|
+
"16daf324",
|
1683
1873
|
null
|
1684
1874
|
|
1685
1875
|
)
|
@@ -3411,13 +3601,14 @@ webpackContext.id = 1603;
|
|
3411
3601
|
|
3412
3602
|
var map = {
|
3413
3603
|
"./NBBadge/index.js": 3134,
|
3604
|
+
"./NBCabinetInventoryCarousel/index.js": 8223,
|
3414
3605
|
"./NBCheckboxGroup/index.js": 2129,
|
3415
3606
|
"./NBDialog/index.js": 4066,
|
3416
3607
|
"./NBEmpty/index.js": 2846,
|
3417
|
-
"./NBExpiryIcon/index.js":
|
3608
|
+
"./NBExpiryIcon/index.js": 5155,
|
3418
3609
|
"./NBFullscreenDialog/index.js": 1516,
|
3419
3610
|
"./NBHeader/index.js": 6523,
|
3420
|
-
"./NBIcon/index.js":
|
3611
|
+
"./NBIcon/index.js": 8311,
|
3421
3612
|
"./NBMessageDialog/index.js": 5355,
|
3422
3613
|
"./NBOutFooterDialog/index.js": 9213,
|
3423
3614
|
"./NBPagination/index.js": 2407,
|
@@ -3524,27 +3715,27 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACa
|
|
3524
3715
|
|
3525
3716
|
/***/ }),
|
3526
3717
|
|
3527
|
-
/***/
|
3718
|
+
/***/ 5207:
|
3528
3719
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3529
3720
|
|
3530
3721
|
"use strict";
|
3531
|
-
module.exports = __webpack_require__.p + "fonts/iconfont.
|
3722
|
+
module.exports = __webpack_require__.p + "fonts/iconfont.fbb7d3b1.ttf";
|
3532
3723
|
|
3533
3724
|
/***/ }),
|
3534
3725
|
|
3535
|
-
/***/
|
3726
|
+
/***/ 3390:
|
3536
3727
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3537
3728
|
|
3538
3729
|
"use strict";
|
3539
|
-
module.exports = __webpack_require__.p + "fonts/iconfont.
|
3730
|
+
module.exports = __webpack_require__.p + "fonts/iconfont.f4e33244.woff2";
|
3540
3731
|
|
3541
3732
|
/***/ }),
|
3542
3733
|
|
3543
|
-
/***/
|
3734
|
+
/***/ 1974:
|
3544
3735
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3545
3736
|
|
3546
3737
|
"use strict";
|
3547
|
-
module.exports = __webpack_require__.p + "fonts/iconfont.
|
3738
|
+
module.exports = __webpack_require__.p + "fonts/iconfont.eced88ab.woff";
|
3548
3739
|
|
3549
3740
|
/***/ }),
|
3550
3741
|
|
@@ -6314,7 +6505,7 @@ var iconfont = __webpack_require__(2170);
|
|
6314
6505
|
/*
|
6315
6506
|
* @Author: chenghuan.dong
|
6316
6507
|
* @Date: 2024-11-08 17:23:47
|
6317
|
-
* @LastEditTime: 2024-11-18
|
6508
|
+
* @LastEditTime: 2024-11-18 20:39:25
|
6318
6509
|
* @LastEditors: chenghuan.dong
|
6319
6510
|
* @Description: 主index.js导出全部组件
|
6320
6511
|
* @FilePath: \nubomed-ui\packages\index.js
|
@@ -6342,7 +6533,7 @@ const install = function (Vue, options = {}) {
|
|
6342
6533
|
if (install.installed) return;
|
6343
6534
|
components.forEach(component => {
|
6344
6535
|
const name = 'nb-' + camelToKebab(component.name.slice(2));
|
6345
|
-
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'];
|
6536
|
+
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'];
|
6346
6537
|
if (installNames.includes(name)) {
|
6347
6538
|
console.log('%c' + '√ ' + name, 'color: #00A572;');
|
6348
6539
|
} else {
|