nubomed-ui 2.0.57 → 2.0.59
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/demo.css +539 -0
- package/fonts/demo_index.html +4834 -0
- package/fonts/{iconfont.fbb7d3b1.ttf → iconfont.87f3fe3e.ttf} +0 -0
- package/fonts/iconfont.c6fb5908.woff2 +0 -0
- package/fonts/{iconfont.eced88ab.woff → iconfont.cbcce9bd.woff} +0 -0
- package/fonts/iconfont.css +821 -0
- package/fonts/iconfont.js +1 -0
- package/fonts/iconfont.json +1423 -0
- package/fonts/iconfont.ttf +0 -0
- package/fonts/iconfont.woff +0 -0
- package/fonts/iconfont.woff2 +0 -0
- package/nubomed-ui.common.js +280 -32
- package/nubomed-ui.common.js.map +1 -1
- package/nubomed-ui.umd.js +280 -32
- 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/fonts/iconfont.f4e33244.woff2 +0 -0
- package/lang/en-US.js +0 -1
- package/lang/zh-CN.js +0 -1
Binary file
|
Binary file
|
Binary file
|
package/nubomed-ui.common.js
CHANGED
@@ -108,7 +108,7 @@ function normalizeComponent(
|
|
108
108
|
|
109
109
|
/***/ }),
|
110
110
|
|
111
|
-
/***/
|
111
|
+
/***/ 361:
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
113
113
|
|
114
114
|
"use strict";
|
@@ -123,9 +123,9 @@ __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__(6087), __webpack_require__.b);
|
127
|
+
var ___CSS_LOADER_URL_IMPORT_1___ = new URL(/* asset import */ __webpack_require__(3031), __webpack_require__.b);
|
128
|
+
var ___CSS_LOADER_URL_IMPORT_2___ = new URL(/* asset import */ __webpack_require__(6865), __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___);
|
@@ -313,7 +313,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
313
313
|
/*
|
314
314
|
* @Author: chenghuan.dong
|
315
315
|
* @Date: 2024-11-11 11:59:27
|
316
|
-
* @LastEditTime: 2024-11-19
|
316
|
+
* @LastEditTime: 2024-11-19 12:00:39
|
317
317
|
* @LastEditors: chenghuan.dong
|
318
318
|
* @Description:
|
319
319
|
* @FilePath: \nubomed-ui\locale\lang\zh-CN.js
|
@@ -379,10 +379,13 @@ __webpack_require__.d(__webpack_exports__, {
|
|
379
379
|
middleground: '中台',
|
380
380
|
middlegroundVersion: '中台版本',
|
381
381
|
embedded: '嵌入式',
|
382
|
+
deviceNumber: '设备号',
|
383
|
+
plateType: '板类型',
|
382
384
|
version: '版本号',
|
383
|
-
|
384
|
-
|
385
|
-
|
385
|
+
handwareAdress: '硬件地址',
|
386
|
+
cabinetBoard: '柜板',
|
387
|
+
tempHumBoard: '温湿度显示板',
|
388
|
+
alarmBoard: '震动报警器板',
|
386
389
|
// 状态相关
|
387
390
|
state: {
|
388
391
|
normal: '正常',
|
@@ -401,6 +404,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
401
404
|
detail: '详情',
|
402
405
|
cancel: '取消',
|
403
406
|
confirm: '确定',
|
407
|
+
iKnown: '我知道了',
|
404
408
|
known: '知道了',
|
405
409
|
refresh: '刷新',
|
406
410
|
retest: '重新检测',
|
@@ -412,6 +416,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
412
416
|
look: '前往查看',
|
413
417
|
print: '打印',
|
414
418
|
retry: '重试',
|
419
|
+
edit: '编辑',
|
420
|
+
save: '保存',
|
415
421
|
submit: '提交',
|
416
422
|
againSubmit: '重新提交',
|
417
423
|
continueSubmit: '继续提交',
|
@@ -591,6 +597,235 @@ src.install = function (Vue) {
|
|
591
597
|
|
592
598
|
/***/ }),
|
593
599
|
|
600
|
+
/***/ 728:
|
601
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
602
|
+
|
603
|
+
"use strict";
|
604
|
+
// ESM COMPAT FLAG
|
605
|
+
__webpack_require__.r(__webpack_exports__);
|
606
|
+
|
607
|
+
// EXPORTS
|
608
|
+
__webpack_require__.d(__webpack_exports__, {
|
609
|
+
"default": function() { return /* binding */ NBBarcodeReviewDialog; }
|
610
|
+
});
|
611
|
+
|
612
|
+
;// ./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/NBBarcodeReviewDialog/src/index.vue?vue&type=template&id=77b17ece&scoped=true
|
613
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nb-dialog',{attrs:{"show-close":true,"custom-class":"nb-barcode-review-dialog","title":_vm.title,"show-cancel-button":false,"show-confirm-button":false,"center":false},on:{"closed":_vm.onClosed},model:{value:(_vm.dialogVisible),callback:function ($$v) {_vm.dialogVisible=$$v},expression:"dialogVisible"}},[_c('div',{staticClass:"br-top"},[_c('div',{staticClass:"br__name"},[(_vm.info.iTempDisable === 0)?_c('nb-tag',{attrs:{"type":"warning","fill":""}},[_vm._v(_vm._s(_vm.t('nb.state.temporaryStop')))]):_vm._e(),(_vm.info.isDisable === 1)?_c('nb-tag',{attrs:{"type":"danger","fill":""}},[_vm._v(_vm._s(_vm.t('nb.state.disabled')))]):_vm._e(),_c('span',[_vm._v(_vm._s(_vm.info.sDrugName || '- -'))]),_c('span',{staticClass:"br__copy",on:{"click":function($event){$event.stopPropagation();return _vm.handleCopy(_vm.info.sDrugName)}}},[_c('nb-icon',{attrs:{"icon":"copy"}}),_vm._v(_vm._s(_vm.t('nb.button.copy')))],1)],1),_c('div',{staticClass:"br__barcode"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.barcode'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sBarcode || '- -'))]),_c('span',{staticClass:"br__copy",on:{"click":function($event){$event.stopPropagation();return _vm.handleCopy(_vm.info.sBarcode)}}},[_c('nb-icon',{attrs:{"icon":"copy"}}),_vm._v(_vm._s(_vm.t('nb.button.copy')))],1)]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.spec'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sSpecs || '- -'))])]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.model'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sModel || '- -'))])]),_c('div',{staticClass:"br__row flex-row"},[_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.batch'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sBatch || '- -'))])]),_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.expiry'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.dExpiry || '- -'))])]),_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.price'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.fPrice || '- -'))])])]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.brand'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sBrand || '- -'))])]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.manufacturer'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sManufacturerName || '- -'))])]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.supplier'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sSupplierName || '- -'))])])]),_c('ul',{staticClass:"br-bottom"},_vm._l((_vm.info.details),function(item,index){return _c('li',{key:index,staticClass:"br__item"},[_c('div',{staticClass:"br__item__date",domProps:{"innerHTML":_vm._s(_vm.formartInputTime(item.dInputTime))}}),_c('div',{staticClass:"br__item__dot"}),_c('div',{staticClass:"br__item__card"},[_c('p',{staticClass:"br__item__card__type"},[_vm._v(_vm._s(item.sBillTypeName || '- -'))]),_c('div',{staticClass:"br__item__card__bottom"},[_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.operator'))+":")]),_c('span',[_vm._v(_vm._s(item.sInputUserName || '- -'))])]),_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.position'))+":")]),_c('span',[_vm._v(_vm._s(item.sTerDesc || '- -'))])])])])])}),0)])}
|
614
|
+
var staticRenderFns = []
|
615
|
+
|
616
|
+
|
617
|
+
// EXTERNAL MODULE: ./packages/mixins/index.js
|
618
|
+
var mixins = __webpack_require__(1137);
|
619
|
+
;// ./packages/utils/util.js
|
620
|
+
function hasOwn(obj, key) {
|
621
|
+
return hasOwnProperty.call(obj, key);
|
622
|
+
}
|
623
|
+
|
624
|
+
/**
|
625
|
+
* @param {string} content 需要复制的内容文本
|
626
|
+
*/
|
627
|
+
function copyText(content) {
|
628
|
+
let copyEl = document.createElement('input');
|
629
|
+
copyEl.style.position = 'fixed';
|
630
|
+
copyEl.style.top = '0';
|
631
|
+
copyEl.style.left = '-1000em';
|
632
|
+
copyEl.readonly = 'readonly';
|
633
|
+
document.body.appendChild(copyEl);
|
634
|
+
copyEl.value = content;
|
635
|
+
copyEl.focus();
|
636
|
+
document.execCommand('selectAll');
|
637
|
+
const res = document.execCommand('copy');
|
638
|
+
copyEl.blur();
|
639
|
+
document.body.removeChild(copyEl);
|
640
|
+
return res;
|
641
|
+
}
|
642
|
+
;// ./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/NBBarcodeReviewDialog/src/index.vue?vue&type=script&lang=js
|
643
|
+
//
|
644
|
+
//
|
645
|
+
//
|
646
|
+
//
|
647
|
+
//
|
648
|
+
//
|
649
|
+
//
|
650
|
+
//
|
651
|
+
//
|
652
|
+
//
|
653
|
+
//
|
654
|
+
//
|
655
|
+
//
|
656
|
+
//
|
657
|
+
//
|
658
|
+
//
|
659
|
+
//
|
660
|
+
//
|
661
|
+
//
|
662
|
+
//
|
663
|
+
//
|
664
|
+
//
|
665
|
+
//
|
666
|
+
//
|
667
|
+
//
|
668
|
+
//
|
669
|
+
//
|
670
|
+
//
|
671
|
+
//
|
672
|
+
//
|
673
|
+
//
|
674
|
+
//
|
675
|
+
//
|
676
|
+
//
|
677
|
+
//
|
678
|
+
//
|
679
|
+
//
|
680
|
+
//
|
681
|
+
//
|
682
|
+
//
|
683
|
+
//
|
684
|
+
//
|
685
|
+
//
|
686
|
+
//
|
687
|
+
//
|
688
|
+
//
|
689
|
+
//
|
690
|
+
//
|
691
|
+
//
|
692
|
+
//
|
693
|
+
//
|
694
|
+
//
|
695
|
+
//
|
696
|
+
//
|
697
|
+
//
|
698
|
+
//
|
699
|
+
//
|
700
|
+
//
|
701
|
+
//
|
702
|
+
//
|
703
|
+
//
|
704
|
+
//
|
705
|
+
//
|
706
|
+
//
|
707
|
+
//
|
708
|
+
//
|
709
|
+
//
|
710
|
+
//
|
711
|
+
//
|
712
|
+
//
|
713
|
+
//
|
714
|
+
//
|
715
|
+
//
|
716
|
+
//
|
717
|
+
//
|
718
|
+
//
|
719
|
+
//
|
720
|
+
//
|
721
|
+
//
|
722
|
+
//
|
723
|
+
//
|
724
|
+
//
|
725
|
+
//
|
726
|
+
//
|
727
|
+
//
|
728
|
+
//
|
729
|
+
//
|
730
|
+
//
|
731
|
+
|
732
|
+
|
733
|
+
|
734
|
+
/* harmony default export */ var srcvue_type_script_lang_js = ({
|
735
|
+
name: 'NBBarcodeReviewDialog',
|
736
|
+
mixins: [mixins/* default */.A],
|
737
|
+
// 使用v-model即可
|
738
|
+
model: {
|
739
|
+
prop: 'visible',
|
740
|
+
event: 'update'
|
741
|
+
},
|
742
|
+
props: {
|
743
|
+
// 是否显示弹框
|
744
|
+
visible: {
|
745
|
+
type: Boolean,
|
746
|
+
default: false
|
747
|
+
},
|
748
|
+
// 弹框标题
|
749
|
+
title: {
|
750
|
+
type: String,
|
751
|
+
default: ''
|
752
|
+
},
|
753
|
+
// 数据
|
754
|
+
info: {
|
755
|
+
type: Object,
|
756
|
+
default: () => {
|
757
|
+
return {};
|
758
|
+
}
|
759
|
+
}
|
760
|
+
},
|
761
|
+
data() {
|
762
|
+
return {
|
763
|
+
dialogVisible: false
|
764
|
+
};
|
765
|
+
},
|
766
|
+
watch: {
|
767
|
+
visible(val) {
|
768
|
+
this.dialogVisible = val;
|
769
|
+
}
|
770
|
+
},
|
771
|
+
methods: {
|
772
|
+
// 操作时间,换行显示
|
773
|
+
formartInputTime(dInputTime) {
|
774
|
+
if (dInputTime) {
|
775
|
+
return dInputTime.slice(0, 10) + '<br />' + dInputTime.slice(10);
|
776
|
+
}
|
777
|
+
return dInputTime || '- -';
|
778
|
+
},
|
779
|
+
// 复制
|
780
|
+
handleCopy(text) {
|
781
|
+
copyText(text);
|
782
|
+
this.$emit('copy', text);
|
783
|
+
},
|
784
|
+
// 关闭
|
785
|
+
onClose() {
|
786
|
+
this.$emit('update', false);
|
787
|
+
this.$emit('onClose');
|
788
|
+
},
|
789
|
+
// 弹框关闭
|
790
|
+
onClosed() {
|
791
|
+
this.$emit('update', false);
|
792
|
+
this.$emit('onClosed');
|
793
|
+
}
|
794
|
+
}
|
795
|
+
});
|
796
|
+
;// ./packages/components/NBBarcodeReviewDialog/src/index.vue?vue&type=script&lang=js
|
797
|
+
/* harmony default export */ var NBBarcodeReviewDialog_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
|
798
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
799
|
+
var componentNormalizer = __webpack_require__(1656);
|
800
|
+
;// ./packages/components/NBBarcodeReviewDialog/src/index.vue
|
801
|
+
|
802
|
+
|
803
|
+
|
804
|
+
|
805
|
+
|
806
|
+
/* normalize component */
|
807
|
+
;
|
808
|
+
var component = (0,componentNormalizer/* default */.A)(
|
809
|
+
NBBarcodeReviewDialog_srcvue_type_script_lang_js,
|
810
|
+
render,
|
811
|
+
staticRenderFns,
|
812
|
+
false,
|
813
|
+
null,
|
814
|
+
"77b17ece",
|
815
|
+
null
|
816
|
+
|
817
|
+
)
|
818
|
+
|
819
|
+
/* harmony default export */ var src = (component.exports);
|
820
|
+
;// ./packages/components/NBBarcodeReviewDialog/index.js
|
821
|
+
|
822
|
+
src.install = function (Vue) {
|
823
|
+
Vue.component(src.name, src);
|
824
|
+
};
|
825
|
+
/* harmony default export */ var NBBarcodeReviewDialog = (src);
|
826
|
+
|
827
|
+
/***/ }),
|
828
|
+
|
594
829
|
/***/ 5118:
|
595
830
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
596
831
|
|
@@ -950,7 +1185,7 @@ src.install = function (Vue) {
|
|
950
1185
|
|
951
1186
|
/***/ }),
|
952
1187
|
|
953
|
-
/***/
|
1188
|
+
/***/ 1839:
|
954
1189
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
955
1190
|
|
956
1191
|
"use strict";
|
@@ -962,11 +1197,13 @@ __webpack_require__.d(__webpack_exports__, {
|
|
962
1197
|
"default": function() { return /* binding */ NBDialog; }
|
963
1198
|
});
|
964
1199
|
|
965
|
-
;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBDialog/src/index.vue?vue&type=template&id=
|
966
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{staticClass:"nb-dialog__wrapper",attrs:{"visible":_vm.visible,"show-close":_vm.showClose,"close-on-click-modal":false,"close-on-press-escape":false,"center":_vm.center,"dialog-center":_vm.dialogCenter,"type":_vm.size,"title":_vm.$slots['title-right'] ? '' : _vm.title,"custom-class":_vm.dialogCustomClass,"before-close":_vm.handleClose,"append-to-body":"","destroy-on-close":""},on:{"closed":_vm.closedDialog}},[_c('template',{slot:"title"},[_vm._t("title"),(_vm.$slots['title-right'])?_c('div',{staticClass:"nb-dialog__header--has-form"},[_c('span',{staticClass:"el-dialog__title"},[_vm._v(_vm._s(_vm.title))]),_c('div',{staticClass:"el-dialog__right"},[_vm._t("title-right")],2)]):_vm._e()],2),_vm._t("default"),_c('template',{slot:"footer"},[(_vm.$slots.footer)?_vm._t("footer"):[(_vm.showCancelButton)?_c('el-button',{on:{"click":_vm.handleCancel}},[_vm._v(_vm._s(_vm.cancelButtonText)),(_vm.cancelButtonTime > -1)?[_vm._v("("+_vm._s(_vm.cancelAutoTime)+"S)")]:_vm._e()],2):_vm._e(),(_vm.showConfirmButton)?_c('el-button',{attrs:{"type":"primary","plain":_vm.confirmButtonPlain},on:{"click":_vm.handleConfirm}},[_vm._v(_vm._s(_vm.confirmButtonText)),(_vm.confirmButtonTime > -1)?[_vm._v("("+_vm._s(_vm.confirmAutoTime)+"S)")]:_vm._e()],2):_vm._e()]],2)],2)}
|
1200
|
+
;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBDialog/src/index.vue?vue&type=template&id=b1441ab4&scoped=true
|
1201
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{staticClass:"nb-dialog__wrapper",attrs:{"visible":_vm.visible,"show-close":_vm.showClose,"close-on-click-modal":false,"close-on-press-escape":false,"center":_vm.center,"dialog-center":_vm.dialogCenter,"type":_vm.size,"title":_vm.$slots['title-right'] ? '' : _vm.title,"custom-class":_vm.dialogCustomClass,"before-close":_vm.handleClose,"append-to-body":"","destroy-on-close":""},on:{"closed":_vm.closedDialog}},[_c('template',{slot:"title"},[_vm._t("title"),(_vm.$slots['title-right'])?_c('div',{staticClass:"nb-dialog__header--has-form"},[_c('span',{staticClass:"el-dialog__title"},[_vm._v(_vm._s(_vm.title))]),_c('div',{staticClass:"el-dialog__right"},[_vm._t("title-right")],2)]):_vm._e()],2),_vm._t("default"),_c('template',{slot:"footer"},[(_vm.$slots.footer)?_vm._t("footer"):[(_vm.showCancelButton)?_c('el-button',{on:{"click":_vm.handleCancel}},[_vm._v(_vm._s(_vm.cancelButtonText || _vm.t('nb.cancel'))),(_vm.cancelButtonTime > -1)?[_vm._v("("+_vm._s(_vm.cancelAutoTime)+"S)")]:_vm._e()],2):_vm._e(),(_vm.showConfirmButton)?_c('el-button',{attrs:{"type":"primary","plain":_vm.confirmButtonPlain},on:{"click":_vm.handleConfirm}},[_vm._v(_vm._s(_vm.confirmButtonText || _vm.t('nb.confirm'))),(_vm.confirmButtonTime > -1)?[_vm._v("("+_vm._s(_vm.confirmAutoTime)+"S)")]:_vm._e()],2):_vm._e()]],2)],2)}
|
967
1202
|
var staticRenderFns = []
|
968
1203
|
|
969
1204
|
|
1205
|
+
// EXTERNAL MODULE: ./packages/mixins/index.js
|
1206
|
+
var mixins = __webpack_require__(1137);
|
970
1207
|
;// ./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/NBDialog/src/index.vue?vue&type=script&lang=js
|
971
1208
|
//
|
972
1209
|
//
|
@@ -1010,8 +1247,10 @@ var staticRenderFns = []
|
|
1010
1247
|
//
|
1011
1248
|
//
|
1012
1249
|
|
1250
|
+
|
1013
1251
|
/* harmony default export */ var srcvue_type_script_lang_js = ({
|
1014
1252
|
name: 'NBDialog',
|
1253
|
+
mixins: [mixins/* default */.A],
|
1015
1254
|
// 使用v-model即可
|
1016
1255
|
model: {
|
1017
1256
|
prop: 'visible',
|
@@ -1201,7 +1440,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
1201
1440
|
staticRenderFns,
|
1202
1441
|
false,
|
1203
1442
|
null,
|
1204
|
-
"
|
1443
|
+
"b1441ab4",
|
1205
1444
|
null
|
1206
1445
|
|
1207
1446
|
)
|
@@ -3324,7 +3563,7 @@ src.install = function (Vue) {
|
|
3324
3563
|
|
3325
3564
|
/***/ }),
|
3326
3565
|
|
3327
|
-
/***/
|
3566
|
+
/***/ 1298:
|
3328
3567
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
3329
3568
|
|
3330
3569
|
"use strict";
|
@@ -3336,12 +3575,12 @@ __webpack_require__.d(__webpack_exports__, {
|
|
3336
3575
|
"default": function() { return /* binding */ NBVersionDialog; }
|
3337
3576
|
});
|
3338
3577
|
|
3339
|
-
;// ./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/NBVersionDialog/src/index.vue?vue&type=template&id=
|
3340
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{staticClass:"nb-dialog__wrapper",attrs:{"visible":_vm.visible,"show-close":true,"close-on-click-modal":false,"close-on-press-escape":false,"append-to-body":"","destroy-on-close":"","type":"medium","dialog-center":"","body-padding":"","custom-class":("nb-dialog nb-version-dailog " + _vm.customClass),"title":_vm.t('nb.version'),"before-close":_vm.handleClose},on:{"closed":_vm.closedDialog}},[_c('div',{staticClass:"version__logo"},[_c('img',{attrs:{"src":__webpack_require__(3806)}})]),_c('div',{staticClass:"version-middle"},[_c('p',{staticClass:"version__label"},[_vm._v(_vm._s(_vm.t('nb.upperStrata')))]),_c('div',{staticClass:"version__value"},[_vm._v(_vm._s(_vm.t('nb.onlineVersion'))+":V"+_vm._s(_vm.info.onlineVersion || '- -'))]),_c('div',{staticClass:"version__value"},[_vm._v(_vm._s(_vm.t('nb.offlineVersion'))+":V"+_vm._s(_vm.info.offlineVersion || '- -'))]),_c('p',{staticClass:"version__label version__label--top"},[_vm._v(_vm._s(_vm.t('nb.middleground')))]),_c('div',{staticClass:"version__value"},[_vm._v(_vm._s(_vm.t('nb.middlegroundVersion'))+":V"+_vm._s(_vm.info.middlegroundVersion || '- -'))])]),_c('div',{staticClass:"version-right"},[_c('p',{staticClass:"version__label"},[_vm._v(_vm._s(_vm.t('nb.embedded')))]),
|
3578
|
+
;// ./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/NBVersionDialog/src/index.vue?vue&type=template&id=fd625954&scoped=true
|
3579
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{staticClass:"nb-dialog__wrapper",attrs:{"visible":_vm.visible,"show-close":true,"close-on-click-modal":false,"close-on-press-escape":false,"append-to-body":"","destroy-on-close":"","type":"medium","dialog-center":"","body-padding":"","custom-class":("nb-dialog nb-version-dailog " + _vm.customClass),"title":_vm.t('nb.version'),"before-close":_vm.handleClose},on:{"closed":_vm.closedDialog}},[_c('div',{staticClass:"version__logo"},[_c('img',{attrs:{"src":__webpack_require__(3806)}})]),_c('div',{staticClass:"version-middle"},[_c('p',{staticClass:"version__label"},[_vm._v(_vm._s(_vm.t('nb.upperStrata')))]),_c('div',{staticClass:"version__value"},[_vm._v(_vm._s(_vm.t('nb.onlineVersion'))+":V"+_vm._s(_vm.info.onlineVersion || '- -'))]),_c('div',{staticClass:"version__value"},[_vm._v(_vm._s(_vm.t('nb.offlineVersion'))+":V"+_vm._s(_vm.info.offlineVersion || '- -'))]),_c('p',{staticClass:"version__label version__label--top"},[_vm._v(_vm._s(_vm.t('nb.middleground')))]),_c('div',{staticClass:"version__value"},[_vm._v(_vm._s(_vm.t('nb.middlegroundVersion'))+":V"+_vm._s(_vm.info.middlegroundVersion || '- -'))])]),_c('div',{staticClass:"version-right"},[_c('p',{staticClass:"version__label"},[_vm._v(_vm._s(_vm.t('nb.embedded')))]),_vm._l((_vm.info.firmwareVersion || []),function(item,index){return _c('div',{key:index},[_c('div',{staticClass:"version__value"},[_vm._v(_vm._s(_vm.t('nb.deviceNumber'))+":V"+_vm._s(item.device || '- -'))]),_c('div',{staticClass:"version__value"},[_vm._v(_vm._s(_vm.t('nb.plateType'))+":V"+_vm._s(_vm.boardType(item.boardType) || '- -'))]),_c('div',{staticClass:"version__value"},[_vm._v(_vm._s(_vm.t('nb.version'))+":V"+_vm._s(item.version || '- -'))]),_c('div',{staticClass:"version__value"},[_vm._v(_vm._s(_vm.t('nb.handwareAdress'))+":V"+_vm._s(item.mcuAddress || '- -'))])])})],2)])}
|
3341
3580
|
var staticRenderFns = []
|
3342
3581
|
|
3343
3582
|
|
3344
|
-
;// ./packages/components/NBVersionDialog/src/index.vue?vue&type=template&id=
|
3583
|
+
;// ./packages/components/NBVersionDialog/src/index.vue?vue&type=template&id=fd625954&scoped=true
|
3345
3584
|
|
3346
3585
|
// EXTERNAL MODULE: ./packages/mixins/index.js
|
3347
3586
|
var mixins = __webpack_require__(1137);
|
@@ -3423,6 +3662,14 @@ var mixins = __webpack_require__(1137);
|
|
3423
3662
|
}
|
3424
3663
|
},
|
3425
3664
|
methods: {
|
3665
|
+
// 板类型
|
3666
|
+
boardType(val) {
|
3667
|
+
return {
|
3668
|
+
hCabinet: t('nb.cabinetBoard'),
|
3669
|
+
temperatureHumidityDisplay: t('nb.tempHumBoard'),
|
3670
|
+
tremor: t('nb.alarmBoard')
|
3671
|
+
}[val] || val;
|
3672
|
+
},
|
3426
3673
|
handleClose() {
|
3427
3674
|
this.$emit('update', false);
|
3428
3675
|
},
|
@@ -3450,7 +3697,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
3450
3697
|
staticRenderFns,
|
3451
3698
|
false,
|
3452
3699
|
null,
|
3453
|
-
"
|
3700
|
+
"fd625954",
|
3454
3701
|
null
|
3455
3702
|
|
3456
3703
|
)
|
@@ -3489,19 +3736,19 @@ src.install = function (Vue) {
|
|
3489
3736
|
|
3490
3737
|
/***/ }),
|
3491
3738
|
|
3492
|
-
/***/
|
3739
|
+
/***/ 7456:
|
3493
3740
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3494
3741
|
|
3495
3742
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
3496
3743
|
|
3497
3744
|
// load the styles
|
3498
|
-
var content = __webpack_require__(
|
3745
|
+
var content = __webpack_require__(361);
|
3499
3746
|
if(content.__esModule) content = content.default;
|
3500
3747
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
3501
3748
|
if(content.locals) module.exports = content.locals;
|
3502
3749
|
// add the styles to the DOM
|
3503
3750
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
3504
|
-
var update = add("
|
3751
|
+
var update = add("24a321c6", content, true, {"sourceMap":false,"shadowMode":false});
|
3505
3752
|
|
3506
3753
|
/***/ }),
|
3507
3754
|
|
@@ -3824,9 +4071,10 @@ webpackContext.id = 1603;
|
|
3824
4071
|
|
3825
4072
|
var map = {
|
3826
4073
|
"./NBBadge/index.js": 3250,
|
4074
|
+
"./NBBarcodeReviewDialog/index.js": 728,
|
3827
4075
|
"./NBCabinetInventoryCarousel/index.js": 5118,
|
3828
4076
|
"./NBCheckboxGroup/index.js": 9070,
|
3829
|
-
"./NBDialog/index.js":
|
4077
|
+
"./NBDialog/index.js": 1839,
|
3830
4078
|
"./NBEmpty/index.js": 8776,
|
3831
4079
|
"./NBExpiryIcon/index.js": 9075,
|
3832
4080
|
"./NBFullscreenDialog/index.js": 4531,
|
@@ -3842,7 +4090,7 @@ var map = {
|
|
3842
4090
|
"./NBSummaryBar/index.js": 4918,
|
3843
4091
|
"./NBTabs/index.js": 1694,
|
3844
4092
|
"./NBTag/index.js": 6290,
|
3845
|
-
"./NBVersionDialog/index.js":
|
4093
|
+
"./NBVersionDialog/index.js": 1298
|
3846
4094
|
};
|
3847
4095
|
|
3848
4096
|
|
@@ -3947,27 +4195,27 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACa
|
|
3947
4195
|
|
3948
4196
|
/***/ }),
|
3949
4197
|
|
3950
|
-
/***/
|
4198
|
+
/***/ 6865:
|
3951
4199
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3952
4200
|
|
3953
4201
|
"use strict";
|
3954
|
-
module.exports = __webpack_require__.p + "fonts/iconfont.
|
4202
|
+
module.exports = __webpack_require__.p + "fonts/iconfont.87f3fe3e.ttf";
|
3955
4203
|
|
3956
4204
|
/***/ }),
|
3957
4205
|
|
3958
|
-
/***/
|
4206
|
+
/***/ 3031:
|
3959
4207
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3960
4208
|
|
3961
4209
|
"use strict";
|
3962
|
-
module.exports = __webpack_require__.p + "fonts/iconfont.
|
4210
|
+
module.exports = __webpack_require__.p + "fonts/iconfont.cbcce9bd.woff";
|
3963
4211
|
|
3964
4212
|
/***/ }),
|
3965
4213
|
|
3966
|
-
/***/
|
4214
|
+
/***/ 6087:
|
3967
4215
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3968
4216
|
|
3969
4217
|
"use strict";
|
3970
|
-
module.exports = __webpack_require__.p + "fonts/iconfont.
|
4218
|
+
module.exports = __webpack_require__.p + "fonts/iconfont.c6fb5908.woff2";
|
3971
4219
|
|
3972
4220
|
/***/ }),
|
3973
4221
|
|
@@ -6728,8 +6976,8 @@ function camelToKebab(camelCaseStr) {
|
|
6728
6976
|
}
|
6729
6977
|
// EXTERNAL MODULE: ./locale/index.js + 1 modules
|
6730
6978
|
var locale = __webpack_require__(4820);
|
6731
|
-
// EXTERNAL MODULE: ./packages/
|
6732
|
-
var iconfont = __webpack_require__(
|
6979
|
+
// EXTERNAL MODULE: ./packages/fonts/iconfont.css
|
6980
|
+
var iconfont = __webpack_require__(7456);
|
6733
6981
|
;// ./packages/index.js
|
6734
6982
|
|
6735
6983
|
|
@@ -6737,7 +6985,7 @@ var iconfont = __webpack_require__(1970);
|
|
6737
6985
|
/*
|
6738
6986
|
* @Author: chenghuan.dong
|
6739
6987
|
* @Date: 2024-11-08 17:23:47
|
6740
|
-
* @LastEditTime: 2024-11-19
|
6988
|
+
* @LastEditTime: 2024-11-19 14:16:44
|
6741
6989
|
* @LastEditors: chenghuan.dong
|
6742
6990
|
* @Description: 主index.js导出全部组件
|
6743
6991
|
* @FilePath: \nubomed-ui\packages\index.js
|
@@ -6765,7 +7013,7 @@ const install = function (Vue, options = {}) {
|
|
6765
7013
|
if (install.installed) return;
|
6766
7014
|
components.forEach(component => {
|
6767
7015
|
const name = 'nb-' + camelToKebab(component.name.slice(2));
|
6768
|
-
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', 'nb-version-dialog'];
|
7016
|
+
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', 'nb-version-dialog', 'nb-barcode-review-dialog'];
|
6769
7017
|
if (installNames.includes(name)) {
|
6770
7018
|
console.log('%c' + '√ ' + name, 'color: #00A572;');
|
6771
7019
|
} else {
|