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
package/nubomed-ui.umd.js
CHANGED
@@ -118,7 +118,7 @@ function normalizeComponent(
|
|
118
118
|
|
119
119
|
/***/ }),
|
120
120
|
|
121
|
-
/***/
|
121
|
+
/***/ 7677:
|
122
122
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
123
123
|
|
124
124
|
"use strict";
|
@@ -133,9 +133,9 @@ __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__(6087), __webpack_require__.b);
|
137
|
+
var ___CSS_LOADER_URL_IMPORT_1___ = new URL(/* asset import */ __webpack_require__(3031), __webpack_require__.b);
|
138
|
+
var ___CSS_LOADER_URL_IMPORT_2___ = new URL(/* asset import */ __webpack_require__(6865), __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___);
|
@@ -323,7 +323,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
323
323
|
/*
|
324
324
|
* @Author: chenghuan.dong
|
325
325
|
* @Date: 2024-11-11 11:59:27
|
326
|
-
* @LastEditTime: 2024-11-19
|
326
|
+
* @LastEditTime: 2024-11-19 12:00:39
|
327
327
|
* @LastEditors: chenghuan.dong
|
328
328
|
* @Description:
|
329
329
|
* @FilePath: \nubomed-ui\locale\lang\zh-CN.js
|
@@ -389,10 +389,13 @@ __webpack_require__.d(__webpack_exports__, {
|
|
389
389
|
middleground: '中台',
|
390
390
|
middlegroundVersion: '中台版本',
|
391
391
|
embedded: '嵌入式',
|
392
|
+
deviceNumber: '设备号',
|
393
|
+
plateType: '板类型',
|
392
394
|
version: '版本号',
|
393
|
-
|
394
|
-
|
395
|
-
|
395
|
+
handwareAdress: '硬件地址',
|
396
|
+
cabinetBoard: '柜板',
|
397
|
+
tempHumBoard: '温湿度显示板',
|
398
|
+
alarmBoard: '震动报警器板',
|
396
399
|
// 状态相关
|
397
400
|
state: {
|
398
401
|
normal: '正常',
|
@@ -411,6 +414,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
411
414
|
detail: '详情',
|
412
415
|
cancel: '取消',
|
413
416
|
confirm: '确定',
|
417
|
+
iKnown: '我知道了',
|
414
418
|
known: '知道了',
|
415
419
|
refresh: '刷新',
|
416
420
|
retest: '重新检测',
|
@@ -422,6 +426,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
422
426
|
look: '前往查看',
|
423
427
|
print: '打印',
|
424
428
|
retry: '重试',
|
429
|
+
edit: '编辑',
|
430
|
+
save: '保存',
|
425
431
|
submit: '提交',
|
426
432
|
againSubmit: '重新提交',
|
427
433
|
continueSubmit: '继续提交',
|
@@ -601,6 +607,235 @@ src.install = function (Vue) {
|
|
601
607
|
|
602
608
|
/***/ }),
|
603
609
|
|
610
|
+
/***/ 5019:
|
611
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
612
|
+
|
613
|
+
"use strict";
|
614
|
+
// ESM COMPAT FLAG
|
615
|
+
__webpack_require__.r(__webpack_exports__);
|
616
|
+
|
617
|
+
// EXPORTS
|
618
|
+
__webpack_require__.d(__webpack_exports__, {
|
619
|
+
"default": function() { return /* binding */ NBBarcodeReviewDialog; }
|
620
|
+
});
|
621
|
+
|
622
|
+
;// ./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
|
623
|
+
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)])}
|
624
|
+
var staticRenderFns = []
|
625
|
+
|
626
|
+
|
627
|
+
// EXTERNAL MODULE: ./packages/mixins/index.js
|
628
|
+
var mixins = __webpack_require__(7389);
|
629
|
+
;// ./packages/utils/util.js
|
630
|
+
function hasOwn(obj, key) {
|
631
|
+
return hasOwnProperty.call(obj, key);
|
632
|
+
}
|
633
|
+
|
634
|
+
/**
|
635
|
+
* @param {string} content 需要复制的内容文本
|
636
|
+
*/
|
637
|
+
function copyText(content) {
|
638
|
+
let copyEl = document.createElement('input');
|
639
|
+
copyEl.style.position = 'fixed';
|
640
|
+
copyEl.style.top = '0';
|
641
|
+
copyEl.style.left = '-1000em';
|
642
|
+
copyEl.readonly = 'readonly';
|
643
|
+
document.body.appendChild(copyEl);
|
644
|
+
copyEl.value = content;
|
645
|
+
copyEl.focus();
|
646
|
+
document.execCommand('selectAll');
|
647
|
+
const res = document.execCommand('copy');
|
648
|
+
copyEl.blur();
|
649
|
+
document.body.removeChild(copyEl);
|
650
|
+
return res;
|
651
|
+
}
|
652
|
+
;// ./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/NBBarcodeReviewDialog/src/index.vue?vue&type=script&lang=js
|
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
|
+
//
|
735
|
+
//
|
736
|
+
//
|
737
|
+
//
|
738
|
+
//
|
739
|
+
//
|
740
|
+
//
|
741
|
+
|
742
|
+
|
743
|
+
|
744
|
+
/* harmony default export */ var srcvue_type_script_lang_js = ({
|
745
|
+
name: 'NBBarcodeReviewDialog',
|
746
|
+
mixins: [mixins/* default */.A],
|
747
|
+
// 使用v-model即可
|
748
|
+
model: {
|
749
|
+
prop: 'visible',
|
750
|
+
event: 'update'
|
751
|
+
},
|
752
|
+
props: {
|
753
|
+
// 是否显示弹框
|
754
|
+
visible: {
|
755
|
+
type: Boolean,
|
756
|
+
default: false
|
757
|
+
},
|
758
|
+
// 弹框标题
|
759
|
+
title: {
|
760
|
+
type: String,
|
761
|
+
default: ''
|
762
|
+
},
|
763
|
+
// 数据
|
764
|
+
info: {
|
765
|
+
type: Object,
|
766
|
+
default: () => {
|
767
|
+
return {};
|
768
|
+
}
|
769
|
+
}
|
770
|
+
},
|
771
|
+
data() {
|
772
|
+
return {
|
773
|
+
dialogVisible: false
|
774
|
+
};
|
775
|
+
},
|
776
|
+
watch: {
|
777
|
+
visible(val) {
|
778
|
+
this.dialogVisible = val;
|
779
|
+
}
|
780
|
+
},
|
781
|
+
methods: {
|
782
|
+
// 操作时间,换行显示
|
783
|
+
formartInputTime(dInputTime) {
|
784
|
+
if (dInputTime) {
|
785
|
+
return dInputTime.slice(0, 10) + '<br />' + dInputTime.slice(10);
|
786
|
+
}
|
787
|
+
return dInputTime || '- -';
|
788
|
+
},
|
789
|
+
// 复制
|
790
|
+
handleCopy(text) {
|
791
|
+
copyText(text);
|
792
|
+
this.$emit('copy', text);
|
793
|
+
},
|
794
|
+
// 关闭
|
795
|
+
onClose() {
|
796
|
+
this.$emit('update', false);
|
797
|
+
this.$emit('onClose');
|
798
|
+
},
|
799
|
+
// 弹框关闭
|
800
|
+
onClosed() {
|
801
|
+
this.$emit('update', false);
|
802
|
+
this.$emit('onClosed');
|
803
|
+
}
|
804
|
+
}
|
805
|
+
});
|
806
|
+
;// ./packages/components/NBBarcodeReviewDialog/src/index.vue?vue&type=script&lang=js
|
807
|
+
/* harmony default export */ var NBBarcodeReviewDialog_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
|
808
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
809
|
+
var componentNormalizer = __webpack_require__(1656);
|
810
|
+
;// ./packages/components/NBBarcodeReviewDialog/src/index.vue
|
811
|
+
|
812
|
+
|
813
|
+
|
814
|
+
|
815
|
+
|
816
|
+
/* normalize component */
|
817
|
+
;
|
818
|
+
var component = (0,componentNormalizer/* default */.A)(
|
819
|
+
NBBarcodeReviewDialog_srcvue_type_script_lang_js,
|
820
|
+
render,
|
821
|
+
staticRenderFns,
|
822
|
+
false,
|
823
|
+
null,
|
824
|
+
"77b17ece",
|
825
|
+
null
|
826
|
+
|
827
|
+
)
|
828
|
+
|
829
|
+
/* harmony default export */ var src = (component.exports);
|
830
|
+
;// ./packages/components/NBBarcodeReviewDialog/index.js
|
831
|
+
|
832
|
+
src.install = function (Vue) {
|
833
|
+
Vue.component(src.name, src);
|
834
|
+
};
|
835
|
+
/* harmony default export */ var NBBarcodeReviewDialog = (src);
|
836
|
+
|
837
|
+
/***/ }),
|
838
|
+
|
604
839
|
/***/ 5433:
|
605
840
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
606
841
|
|
@@ -960,7 +1195,7 @@ src.install = function (Vue) {
|
|
960
1195
|
|
961
1196
|
/***/ }),
|
962
1197
|
|
963
|
-
/***/
|
1198
|
+
/***/ 9730:
|
964
1199
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
965
1200
|
|
966
1201
|
"use strict";
|
@@ -972,11 +1207,13 @@ __webpack_require__.d(__webpack_exports__, {
|
|
972
1207
|
"default": function() { return /* binding */ NBDialog; }
|
973
1208
|
});
|
974
1209
|
|
975
|
-
;// ./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=
|
976
|
-
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)}
|
1210
|
+
;// ./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
|
1211
|
+
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)}
|
977
1212
|
var staticRenderFns = []
|
978
1213
|
|
979
1214
|
|
1215
|
+
// EXTERNAL MODULE: ./packages/mixins/index.js
|
1216
|
+
var mixins = __webpack_require__(7389);
|
980
1217
|
;// ./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/NBDialog/src/index.vue?vue&type=script&lang=js
|
981
1218
|
//
|
982
1219
|
//
|
@@ -1020,8 +1257,10 @@ var staticRenderFns = []
|
|
1020
1257
|
//
|
1021
1258
|
//
|
1022
1259
|
|
1260
|
+
|
1023
1261
|
/* harmony default export */ var srcvue_type_script_lang_js = ({
|
1024
1262
|
name: 'NBDialog',
|
1263
|
+
mixins: [mixins/* default */.A],
|
1025
1264
|
// 使用v-model即可
|
1026
1265
|
model: {
|
1027
1266
|
prop: 'visible',
|
@@ -1211,7 +1450,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
1211
1450
|
staticRenderFns,
|
1212
1451
|
false,
|
1213
1452
|
null,
|
1214
|
-
"
|
1453
|
+
"b1441ab4",
|
1215
1454
|
null
|
1216
1455
|
|
1217
1456
|
)
|
@@ -3334,7 +3573,7 @@ src.install = function (Vue) {
|
|
3334
3573
|
|
3335
3574
|
/***/ }),
|
3336
3575
|
|
3337
|
-
/***/
|
3576
|
+
/***/ 5945:
|
3338
3577
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
3339
3578
|
|
3340
3579
|
"use strict";
|
@@ -3346,12 +3585,12 @@ __webpack_require__.d(__webpack_exports__, {
|
|
3346
3585
|
"default": function() { return /* binding */ NBVersionDialog; }
|
3347
3586
|
});
|
3348
3587
|
|
3349
|
-
;// ./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=
|
3350
|
-
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')))]),
|
3588
|
+
;// ./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
|
3589
|
+
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)])}
|
3351
3590
|
var staticRenderFns = []
|
3352
3591
|
|
3353
3592
|
|
3354
|
-
;// ./packages/components/NBVersionDialog/src/index.vue?vue&type=template&id=
|
3593
|
+
;// ./packages/components/NBVersionDialog/src/index.vue?vue&type=template&id=fd625954&scoped=true
|
3355
3594
|
|
3356
3595
|
// EXTERNAL MODULE: ./packages/mixins/index.js
|
3357
3596
|
var mixins = __webpack_require__(7389);
|
@@ -3433,6 +3672,14 @@ var mixins = __webpack_require__(7389);
|
|
3433
3672
|
}
|
3434
3673
|
},
|
3435
3674
|
methods: {
|
3675
|
+
// 板类型
|
3676
|
+
boardType(val) {
|
3677
|
+
return {
|
3678
|
+
hCabinet: t('nb.cabinetBoard'),
|
3679
|
+
temperatureHumidityDisplay: t('nb.tempHumBoard'),
|
3680
|
+
tremor: t('nb.alarmBoard')
|
3681
|
+
}[val] || val;
|
3682
|
+
},
|
3436
3683
|
handleClose() {
|
3437
3684
|
this.$emit('update', false);
|
3438
3685
|
},
|
@@ -3460,7 +3707,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
3460
3707
|
staticRenderFns,
|
3461
3708
|
false,
|
3462
3709
|
null,
|
3463
|
-
"
|
3710
|
+
"fd625954",
|
3464
3711
|
null
|
3465
3712
|
|
3466
3713
|
)
|
@@ -3499,19 +3746,19 @@ src.install = function (Vue) {
|
|
3499
3746
|
|
3500
3747
|
/***/ }),
|
3501
3748
|
|
3502
|
-
/***/
|
3749
|
+
/***/ 5848:
|
3503
3750
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3504
3751
|
|
3505
3752
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
3506
3753
|
|
3507
3754
|
// load the styles
|
3508
|
-
var content = __webpack_require__(
|
3755
|
+
var content = __webpack_require__(7677);
|
3509
3756
|
if(content.__esModule) content = content.default;
|
3510
3757
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
3511
3758
|
if(content.locals) module.exports = content.locals;
|
3512
3759
|
// add the styles to the DOM
|
3513
3760
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
3514
|
-
var update = add("
|
3761
|
+
var update = add("00ca51c2", content, true, {"sourceMap":false,"shadowMode":false});
|
3515
3762
|
|
3516
3763
|
/***/ }),
|
3517
3764
|
|
@@ -3834,9 +4081,10 @@ webpackContext.id = 1603;
|
|
3834
4081
|
|
3835
4082
|
var map = {
|
3836
4083
|
"./NBBadge/index.js": 3134,
|
4084
|
+
"./NBBarcodeReviewDialog/index.js": 5019,
|
3837
4085
|
"./NBCabinetInventoryCarousel/index.js": 5433,
|
3838
4086
|
"./NBCheckboxGroup/index.js": 2129,
|
3839
|
-
"./NBDialog/index.js":
|
4087
|
+
"./NBDialog/index.js": 9730,
|
3840
4088
|
"./NBEmpty/index.js": 5006,
|
3841
4089
|
"./NBExpiryIcon/index.js": 3001,
|
3842
4090
|
"./NBFullscreenDialog/index.js": 1516,
|
@@ -3852,7 +4100,7 @@ var map = {
|
|
3852
4100
|
"./NBSummaryBar/index.js": 6168,
|
3853
4101
|
"./NBTabs/index.js": 5434,
|
3854
4102
|
"./NBTag/index.js": 8681,
|
3855
|
-
"./NBVersionDialog/index.js":
|
4103
|
+
"./NBVersionDialog/index.js": 5945
|
3856
4104
|
};
|
3857
4105
|
|
3858
4106
|
|
@@ -3957,27 +4205,27 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACa
|
|
3957
4205
|
|
3958
4206
|
/***/ }),
|
3959
4207
|
|
3960
|
-
/***/
|
4208
|
+
/***/ 6865:
|
3961
4209
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3962
4210
|
|
3963
4211
|
"use strict";
|
3964
|
-
module.exports = __webpack_require__.p + "fonts/iconfont.
|
4212
|
+
module.exports = __webpack_require__.p + "fonts/iconfont.87f3fe3e.ttf";
|
3965
4213
|
|
3966
4214
|
/***/ }),
|
3967
4215
|
|
3968
|
-
/***/
|
4216
|
+
/***/ 3031:
|
3969
4217
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3970
4218
|
|
3971
4219
|
"use strict";
|
3972
|
-
module.exports = __webpack_require__.p + "fonts/iconfont.
|
4220
|
+
module.exports = __webpack_require__.p + "fonts/iconfont.cbcce9bd.woff";
|
3973
4221
|
|
3974
4222
|
/***/ }),
|
3975
4223
|
|
3976
|
-
/***/
|
4224
|
+
/***/ 6087:
|
3977
4225
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3978
4226
|
|
3979
4227
|
"use strict";
|
3980
|
-
module.exports = __webpack_require__.p + "fonts/iconfont.
|
4228
|
+
module.exports = __webpack_require__.p + "fonts/iconfont.c6fb5908.woff2";
|
3981
4229
|
|
3982
4230
|
/***/ }),
|
3983
4231
|
|
@@ -6738,8 +6986,8 @@ function camelToKebab(camelCaseStr) {
|
|
6738
6986
|
}
|
6739
6987
|
// EXTERNAL MODULE: ./locale/index.js + 1 modules
|
6740
6988
|
var locale = __webpack_require__(7294);
|
6741
|
-
// EXTERNAL MODULE: ./packages/
|
6742
|
-
var iconfont = __webpack_require__(
|
6989
|
+
// EXTERNAL MODULE: ./packages/fonts/iconfont.css
|
6990
|
+
var iconfont = __webpack_require__(5848);
|
6743
6991
|
;// ./packages/index.js
|
6744
6992
|
|
6745
6993
|
|
@@ -6747,7 +6995,7 @@ var iconfont = __webpack_require__(2170);
|
|
6747
6995
|
/*
|
6748
6996
|
* @Author: chenghuan.dong
|
6749
6997
|
* @Date: 2024-11-08 17:23:47
|
6750
|
-
* @LastEditTime: 2024-11-19
|
6998
|
+
* @LastEditTime: 2024-11-19 14:16:44
|
6751
6999
|
* @LastEditors: chenghuan.dong
|
6752
7000
|
* @Description: 主index.js导出全部组件
|
6753
7001
|
* @FilePath: \nubomed-ui\packages\index.js
|
@@ -6775,7 +7023,7 @@ const install = function (Vue, options = {}) {
|
|
6775
7023
|
if (install.installed) return;
|
6776
7024
|
components.forEach(component => {
|
6777
7025
|
const name = 'nb-' + camelToKebab(component.name.slice(2));
|
6778
|
-
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'];
|
7026
|
+
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'];
|
6779
7027
|
if (installNames.includes(name)) {
|
6780
7028
|
console.log('%c' + '√ ' + name, 'color: #00A572;');
|
6781
7029
|
} else {
|