nubomed-ui 2.0.73 → 2.0.74

Sign up to get free protection for your applications and to get access to all the features.
package/nubomed-ui.umd.js CHANGED
@@ -554,7 +554,7 @@ src.install = function (Vue) {
554
554
 
555
555
  /***/ }),
556
556
 
557
- /***/ 1285:
557
+ /***/ 5886:
558
558
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
559
559
 
560
560
  "use strict";
@@ -566,8 +566,8 @@ __webpack_require__.d(__webpack_exports__, {
566
566
  "default": function() { return /* binding */ NBBarcodeCard; }
567
567
  });
568
568
 
569
- ;// ./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/NBBarcodeCard/src/index.vue?vue&type=template&id=17f18b82&scoped=true
570
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-barcode-card"},[_c('div',{staticClass:"card__name-row"},[_c('strong',{staticClass:"card__name"},[_vm._v(_vm._s(_vm.item.sDrugName || '- -'))]),_c('nb-reagent-type',{attrs:{"value":_vm.item.reagentType}}),(_vm.item.iTempDisable === 0)?_c('nb-tag',{attrs:{"type":"warning","fill":""}},[_vm._v(_vm._s(_vm.t('nb.state.temporaryStop')))]):_vm._e(),(_vm.item.isDisable === 1)?_c('nb-tag',{attrs:{"type":"danger"}},[_vm._v(_vm._s(_vm.t('nb.state.disabled')))]):_vm._e(),(_vm.showExpiry)?_c('nb-expiry-icon',{attrs:{"value":_vm.item.expiryState}}):_vm._e(),_vm._t("name-append",null,{"item":_vm.item})],2),_c('div',{staticClass:"card__spec-row"},[_c('div',{staticClass:"card__attr card__attr--spec"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.spec'))+"/"+_vm._s(_vm.t('nb.model')))]),_c('span',[_vm._v(_vm._s(_vm.item.sSpecs || '- -')+"/"+_vm._s(_vm.item.sModel || '- -'))])]),(_vm.showBrand)?_c('div',{staticClass:"card__attr card__attr--brand"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.brand')))]),_c('span',[_vm._v(_vm._s(_vm.item.sBrand || '- -'))])]):_vm._e(),(_vm.showPosition)?[(_vm.item.lastTerDesc)?_c('div',{staticClass:"card__attr card__attr--position-move"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.position')))]),_c('span',[_vm._v(_vm._s(_vm.item.lastTerDesc || '--'))]),_c('nb-icon',{attrs:{"icon":"arrow-right-fill"}}),_c('span',[_vm._v(_vm._s(_vm.item.sTerDesc || '--'))])],1):_c('div',{staticClass:"card__attr card__attr--position"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.position')))]),_c('span',[_vm._v(_vm._s(_vm.item.sTerDesc || '--'))])])]:_vm._e(),(_vm.showCoefficient)?_c('div',{staticClass:"card__attr card__attr--num"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.coefficient')))]),_c('span',[_vm._v(_vm._s(_vm.item.iCount || '- -'))])]):_vm._e(),_vm._t("spec-append"),(_vm.$slots.default)?_vm._t("default"):_vm._e()],2),_c('div',{staticClass:"card__barcode-row"},[_c('div',{staticClass:"card__attr card__attr--barcode"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.barcode')))]),_c('span',[_vm._v(_vm._s(_vm.item.sBarcode || '- -'))])]),_c('div',{staticClass:"card__attr card__attr--batch"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.batch')))]),_c('span',[_vm._v(_vm._s(_vm.item.sBatch || '- -'))])]),_c('div',{staticClass:"card__attr card__attr--expiry"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.expiry')))]),_c('span',[_vm._v(_vm._s(_vm.item.dExpiry || '- -'))])]),_vm._t("barcode-append")],2)])}
569
+ ;// ./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/NBBarcodeCard/src/index.vue?vue&type=template&id=1eb2eefc&scoped=true
570
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-barcode-card",class:_vm.getCardClassList},[_c('div',{staticClass:"card__name--row"},[_c('strong',{staticClass:"card__name"},[_vm._v(_vm._s(_vm.item.sDrugName || '- -'))]),_c('nb-reagent-type',{attrs:{"value":_vm.item.reagentType}}),(_vm.showExpiry)?_c('nb-expiry-icon',{attrs:{"value":_vm.item.expiryState}}):_vm._e(),(_vm.item.iTempDisable === 0)?_c('nb-tag',{attrs:{"type":"warning","fill":""}},[_vm._v(_vm._s(_vm.t('nb.state.temporaryStop')))]):_vm._e(),(_vm.item.isDisable === 1)?_c('nb-tag',{attrs:{"type":"danger","fill":""}},[_vm._v(_vm._s(_vm.t('nb.state.disabled')))]):_vm._e(),_vm._t("name-append",null,{"item":_vm.item})],2),_c('div',{staticClass:"card__spec--row"},[_c('div',{staticClass:"card__attr card__attr--spec"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.spec'))+"/"+_vm._s(_vm.t('nb.model')))]),_c('span',[_vm._v(_vm._s(_vm.item.sSpecs || '- -')+"/"+_vm._s(_vm.item.sModel || '- -'))])]),(_vm.showCoefficient)?_c('div',{staticClass:"card__attr card__attr--num"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.coefficient')))]),_c('span',[_vm._v(_vm._s(_vm.item.iCount || '- -'))])]):_vm._e(),_vm._t("spec-append")],2),_c('div',{staticClass:"card__brand--row"},[(_vm.showBrand)?_c('div',{staticClass:"card__attr card__attr--brand"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.brand')))]),_c('span',[_vm._v(_vm._s(_vm.item.sBrand || '- -'))])]):_vm._e(),(_vm.showPosition)?[(_vm.item.lastTerDesc)?_c('div',{staticClass:"card__attr card__attr--position-move"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.position')))]),_c('span',[_vm._v(_vm._s(_vm.item.lastTerDesc || '--'))]),_c('nb-icon',{attrs:{"icon":"arrow-right-fill"}}),_c('span',[_vm._v(_vm._s(_vm.item.sTerDesc || '--'))])],1):_c('div',{staticClass:"card__attr card__attr--position"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.position')))]),_c('span',[_vm._v(_vm._s(_vm.item.sTerDesc || '--'))])])]:_vm._e(),_vm._t("brand-append"),(_vm.$slots.default)?_vm._t("default"):_vm._e()],2),_c('div',{staticClass:"card__barcode--row"},[_c('div',{staticClass:"card__attr card__attr--barcode"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.barcode')))]),_c('span',[_vm._v(_vm._s(_vm.item.sBarcode || '- -'))])]),_c('div',{staticClass:"card__attr card__attr--batch"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.batch')))]),_c('span',[_vm._v(_vm._s(_vm.item.sBatch || '- -'))])]),_c('div',{staticClass:"card__attr card__attr--expiry"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.expiry')))]),_c('span',[_vm._v(_vm._s(_vm.item.dExpiry || '- -'))])]),_vm._t("barcode-append")],2)])}
571
571
  var staticRenderFns = []
572
572
 
573
573
 
@@ -645,6 +645,9 @@ var mixins = __webpack_require__(7389);
645
645
  //
646
646
  //
647
647
  //
648
+ //
649
+ //
650
+ //
648
651
 
649
652
 
650
653
  /* harmony default export */ var srcvue_type_script_lang_js = ({
@@ -661,7 +664,7 @@ var mixins = __webpack_require__(7389);
661
664
  // 是否显示近效期标识
662
665
  showExpiry: {
663
666
  type: Boolean,
664
- default: false
667
+ default: true
665
668
  },
666
669
  // 是否显示品牌
667
670
  showBrand: {
@@ -671,50 +674,37 @@ var mixins = __webpack_require__(7389);
671
674
  // 是否显示位置
672
675
  showPosition: {
673
676
  type: Boolean,
674
- default: false
677
+ default: true
675
678
  },
676
679
  // 是否显示系数
677
680
  showCoefficient: {
678
681
  type: Boolean,
679
- default: false
682
+ default: true
683
+ },
684
+ // 卡片主题(error)
685
+ cardType: {
686
+ type: String,
687
+ default: '',
688
+ validator(value) {
689
+ return ['', 'error'].includes(value);
690
+ }
680
691
  }
681
692
  },
682
693
  data() {
683
694
  return {};
684
695
  },
685
696
  computed: {
686
- // 分类样式
687
- getCateClassList() {
697
+ // 卡片样式(异常优先于近效期)
698
+ getCardClassList() {
688
699
  let cls = [];
689
- if (this.item.toggle) {
690
- cls.push('nb-toggle-cate--toggle');
691
- }
692
- if (this.item[this.optionProps.name] === this.value) {
693
- cls.push('nb-toggle-cate--active');
694
- }
695
700
  // 样式类型
696
- if (this.item.styleType === 'danger') {
697
- cls.push('nb-toggle-cate--danger');
701
+ if (this.cardType) {
702
+ cls.push(`nb-barcode-card--${this.cardType}`);
698
703
  }
699
704
  return cls;
700
705
  }
701
706
  },
702
- methods: {
703
- // 展开
704
- handleToggle(item) {
705
- if (this.showToggle) {
706
- item.toggle = !item.toggle;
707
- }
708
- },
709
- // 勾选单选框
710
- handleChangeRadio() {
711
- this.$emit('input', this.item[this.optionProps.name]);
712
- },
713
- // 勾选单号
714
- handleChangeCheckbox(value, item) {
715
- this.$emit('change', value, item);
716
- }
717
- }
707
+ methods: {}
718
708
  });
719
709
  ;// ./packages/components/NBBarcodeCard/src/index.vue?vue&type=script&lang=js
720
710
  /* harmony default export */ var NBBarcodeCard_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
@@ -734,7 +724,7 @@ var component = (0,componentNormalizer/* default */.A)(
734
724
  staticRenderFns,
735
725
  false,
736
726
  null,
737
- "17f18b82",
727
+ "1eb2eefc",
738
728
  null
739
729
 
740
730
  )
@@ -1975,7 +1965,7 @@ var esnext_iterator_constructor = __webpack_require__(8992);
1975
1965
  // EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.for-each.js
1976
1966
  var esnext_iterator_for_each = __webpack_require__(3949);
1977
1967
  // EXTERNAL MODULE: ./packages/components/NBIcon/index.js + 4 modules
1978
- var NBIcon = __webpack_require__(8311);
1968
+ var NBIcon = __webpack_require__(2333);
1979
1969
  // EXTERNAL MODULE: ./packages/components/NBBadge/index.js + 4 modules
1980
1970
  var NBBadge = __webpack_require__(3134);
1981
1971
  ;// ./packages/utils/dom.js
@@ -2255,7 +2245,7 @@ src.install = function (Vue) {
2255
2245
 
2256
2246
  /***/ }),
2257
2247
 
2258
- /***/ 8311:
2248
+ /***/ 2333:
2259
2249
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2260
2250
 
2261
2251
  "use strict";
@@ -2267,8 +2257,8 @@ __webpack_require__.d(__webpack_exports__, {
2267
2257
  "default": function() { return /* binding */ NBIcon; }
2268
2258
  });
2269
2259
 
2270
- ;// ./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
2271
- 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()}
2260
+ ;// ./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=ca871e60&scoped=true
2261
+ 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),on:{"click":function($event){$event.stopPropagation();return _vm.onClick.apply(null, arguments)}}}):_vm._e()}
2272
2262
  var staticRenderFns = []
2273
2263
 
2274
2264
 
@@ -2294,6 +2284,11 @@ var staticRenderFns = []
2294
2284
  type: String,
2295
2285
  default: ''
2296
2286
  }
2287
+ },
2288
+ methods: {
2289
+ onClick() {
2290
+ this.$emit('click');
2291
+ }
2297
2292
  }
2298
2293
  });
2299
2294
  ;// ./packages/components/NBIcon/src/index.vue?vue&type=script&lang=js
@@ -2314,7 +2309,7 @@ var component = (0,componentNormalizer/* default */.A)(
2314
2309
  staticRenderFns,
2315
2310
  false,
2316
2311
  null,
2317
- "16daf324",
2312
+ "ca871e60",
2318
2313
  null
2319
2314
 
2320
2315
  )
@@ -2614,7 +2609,7 @@ src.install = function (Vue) {
2614
2609
 
2615
2610
  /***/ }),
2616
2611
 
2617
- /***/ 8183:
2612
+ /***/ 6970:
2618
2613
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2619
2614
 
2620
2615
  "use strict";
@@ -2626,8 +2621,149 @@ __webpack_require__.d(__webpack_exports__, {
2626
2621
  "default": function() { return /* binding */ NBNameSpecCard; }
2627
2622
  });
2628
2623
 
2629
- ;// ./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/NBNameSpecCard/src/index.vue?vue&type=template&id=08d2f36e&scoped=true
2630
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-name-spec-card"},[_c('div',{staticClass:"card__name-row"},[_c('strong',{staticClass:"card__name"},[_vm._v(_vm._s(_vm.item.sDrugName || '- -'))]),_c('nb-reagent-type',{attrs:{"value":_vm.item.reagentType}}),(_vm.item.iTempDisable === 0)?_c('nb-tag',{attrs:{"type":"warning","fill":""}},[_vm._v(_vm._s(_vm.t('nb.state.temporaryStop')))]):_vm._e(),(_vm.item.isDisable === 1)?_c('nb-tag',{attrs:{"type":"danger"}},[_vm._v(_vm._s(_vm.t('nb.state.disabled')))]):_vm._e(),(_vm.showExpiry)?_c('nb-expiry-icon',{attrs:{"value":_vm.item.expiryState}}):_vm._e(),_vm._t("name-append",null,{"item":_vm.item})],2),_c('div',{staticClass:"card__spec-row"},[_c('div',{staticClass:"card__attr card__attr--spec"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.spec'))+"/"+_vm._s(_vm.t('nb.model')))]),_c('span',[_vm._v(_vm._s(_vm.item.sSpecs || '- -')+"/"+_vm._s(_vm.item.sModel || '- -'))])]),(_vm.showBrand)?_c('div',{staticClass:"card__attr card__attr--brand"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.brand')))]),_c('span',[_vm._v(_vm._s(_vm.item.sBrand || '- -'))])]):_vm._e(),(_vm.showPosition)?[(_vm.item.lastTerDesc)?_c('div',{staticClass:"card__attr card__attr--position-move"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.position')))]),_c('span',[_vm._v(_vm._s(_vm.item.lastTerDesc || '--'))]),_c('nb-icon',{attrs:{"icon":"arrow-right-fill"}}),_c('span',[_vm._v(_vm._s(_vm.item.sTerDesc || '--'))])],1):_c('div',{staticClass:"card__attr card__attr--position"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.position')))]),_c('span',[_vm._v(_vm._s(_vm.item.sTerDesc || '--'))])])]:_vm._e(),(_vm.showCoefficient)?_c('div',{staticClass:"card__attr card__attr--num"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.coefficient')))]),_c('span',[_vm._v(_vm._s(_vm.item.iCount || '- -'))])]):_vm._e(),_vm._t("spec-append"),(_vm.$slots.default)?_vm._t("default"):_vm._e()],2)])}
2624
+ ;// ./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/NBNameSpecCard/src/index.vue?vue&type=template&id=3b1c73d8&scoped=true
2625
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-name-spec-card"},[_c('div',{staticClass:"card__name--row"},[_c('strong',{staticClass:"card__name"},[_vm._v(_vm._s(_vm.item.sDrugName || '- -'))]),_c('nb-reagent-type',{attrs:{"value":_vm.item.reagentType}}),(_vm.showExpiry)?_c('nb-expiry-icon',{attrs:{"value":_vm.item.expiryState}}):_vm._e(),(_vm.item.iTempDisable === 0)?_c('nb-tag',{attrs:{"type":"warning","fill":""}},[_vm._v(_vm._s(_vm.t('nb.state.temporaryStop')))]):_vm._e(),(_vm.item.isDisable === 1)?_c('nb-tag',{attrs:{"type":"danger"}},[_vm._v(_vm._s(_vm.t('nb.state.disabled')))]):_vm._e(),_vm._t("name-append",null,{"item":_vm.item})],2),_c('div',{staticClass:"card__spec--row"},[_c('div',{staticClass:"card__attr card__attr--spec"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.spec'))+"/"+_vm._s(_vm.t('nb.model')))]),_c('span',[_vm._v(_vm._s(_vm.item.sSpecs || '- -')+"/"+_vm._s(_vm.item.sModel || '- -'))])]),(_vm.showBrand)?_c('div',{staticClass:"card__attr card__attr--brand"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.brand')))]),_c('span',[_vm._v(_vm._s(_vm.item.sBrand || '- -'))])]):_vm._e(),(_vm.showPosition)?[(_vm.item.lastTerDesc)?_c('div',{staticClass:"card__attr card__attr--position-move"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.position')))]),_c('span',[_vm._v(_vm._s(_vm.item.lastTerDesc || '--'))]),_c('nb-icon',{attrs:{"icon":"arrow-right-fill"}}),_c('span',[_vm._v(_vm._s(_vm.item.sTerDesc || '--'))])],1):_c('div',{staticClass:"card__attr card__attr--position"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.position')))]),_c('span',[_vm._v(_vm._s(_vm.item.sTerDesc || '--'))])])]:_vm._e(),(_vm.showCoefficient)?_c('div',{staticClass:"card__attr card__attr--num"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.coefficient')))]),_c('span',[_vm._v(_vm._s(_vm.item.iCount || '- -'))])]):_vm._e(),_vm._t("spec-append"),_vm._t("default")],2)])}
2626
+ var staticRenderFns = []
2627
+
2628
+
2629
+ // EXTERNAL MODULE: ./packages/mixins/index.js
2630
+ var mixins = __webpack_require__(7389);
2631
+ ;// ./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/NBNameSpecCard/src/index.vue?vue&type=script&lang=js
2632
+ //
2633
+ //
2634
+ //
2635
+ //
2636
+ //
2637
+ //
2638
+ //
2639
+ //
2640
+ //
2641
+ //
2642
+ //
2643
+ //
2644
+ //
2645
+ //
2646
+ //
2647
+ //
2648
+ //
2649
+ //
2650
+ //
2651
+ //
2652
+ //
2653
+ //
2654
+ //
2655
+ //
2656
+ //
2657
+ //
2658
+ //
2659
+ //
2660
+ //
2661
+ //
2662
+ //
2663
+ //
2664
+ //
2665
+ //
2666
+ //
2667
+ //
2668
+ //
2669
+ //
2670
+ //
2671
+ //
2672
+ //
2673
+ //
2674
+ //
2675
+ //
2676
+ //
2677
+ //
2678
+ //
2679
+ //
2680
+ //
2681
+
2682
+
2683
+ /* harmony default export */ var srcvue_type_script_lang_js = ({
2684
+ name: 'NBNameSpecCard',
2685
+ mixins: [mixins/* default */.A],
2686
+ props: {
2687
+ // 数据对象
2688
+ item: {
2689
+ type: Object,
2690
+ default: () => {
2691
+ return {};
2692
+ }
2693
+ },
2694
+ // 是否显示近效期标识
2695
+ showExpiry: {
2696
+ type: Boolean,
2697
+ default: false
2698
+ },
2699
+ // 是否显示品牌
2700
+ showBrand: {
2701
+ type: Boolean,
2702
+ default: true
2703
+ },
2704
+ // 是否显示位置
2705
+ showPosition: {
2706
+ type: Boolean,
2707
+ default: false
2708
+ },
2709
+ // 是否显示系数
2710
+ showCoefficient: {
2711
+ type: Boolean,
2712
+ default: false
2713
+ }
2714
+ },
2715
+ data() {
2716
+ return {};
2717
+ },
2718
+ methods: {}
2719
+ });
2720
+ ;// ./packages/components/NBNameSpecCard/src/index.vue?vue&type=script&lang=js
2721
+ /* harmony default export */ var NBNameSpecCard_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
2722
+ // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
2723
+ var componentNormalizer = __webpack_require__(1656);
2724
+ ;// ./packages/components/NBNameSpecCard/src/index.vue
2725
+
2726
+
2727
+
2728
+
2729
+
2730
+ /* normalize component */
2731
+ ;
2732
+ var component = (0,componentNormalizer/* default */.A)(
2733
+ NBNameSpecCard_srcvue_type_script_lang_js,
2734
+ render,
2735
+ staticRenderFns,
2736
+ false,
2737
+ null,
2738
+ "3b1c73d8",
2739
+ null
2740
+
2741
+ )
2742
+
2743
+ /* harmony default export */ var src = (component.exports);
2744
+ ;// ./packages/components/NBNameSpecCard/index.js
2745
+
2746
+ src.install = function (Vue) {
2747
+ Vue.component(src.name, src);
2748
+ };
2749
+ /* harmony default export */ var NBNameSpecCard = (src);
2750
+
2751
+ /***/ }),
2752
+
2753
+ /***/ 9863:
2754
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2755
+
2756
+ "use strict";
2757
+ // ESM COMPAT FLAG
2758
+ __webpack_require__.r(__webpack_exports__);
2759
+
2760
+ // EXPORTS
2761
+ __webpack_require__.d(__webpack_exports__, {
2762
+ "default": function() { return /* binding */ NBNameToggleCard; }
2763
+ });
2764
+
2765
+ ;// ./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/NBNameToggleCard/src/index.vue?vue&type=template&id=1ff66f7c&scoped=true
2766
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-name-toggle-card",class:_vm.getCardClassList},[_c('nb-icon',{staticClass:"cate__toggle",attrs:{"icon":_vm.item.toggle ? 'caret-down' : 'caret-right'},on:{"click":function($event){_vm.item.toggle = !_vm.item.toggle}}}),_c('div',{staticClass:"nb-name-toggle-card__right"},[_c('div',{staticClass:"card__name--row",on:{"click":function($event){$event.stopPropagation();_vm.item.toggle = !_vm.item.toggle}}},[_c('strong',{staticClass:"card__name"},[_vm._v(_vm._s(_vm.item.sDrugName || '- -'))]),_c('nb-reagent-type',{attrs:{"value":_vm.item.reagentType}}),(_vm.showExpiry)?_c('nb-expiry-icon',{attrs:{"value":_vm.item.expiryState}}):_vm._e(),(_vm.item.iTempDisable === 0)?_c('nb-tag',{attrs:{"type":"warning","fill":""}},[_vm._v(_vm._s(_vm.t('nb.state.temporaryStop')))]):_vm._e(),(_vm.item.isDisable === 1)?_c('nb-tag',{attrs:{"type":"danger"}},[_vm._v(_vm._s(_vm.t('nb.state.disabled')))]):_vm._e(),_vm._t("name-append",null,{"item":_vm.item})],2),_c('div',{staticClass:"card__spec--row",on:{"click":function($event){$event.stopPropagation();_vm.item.toggle = !_vm.item.toggle}}},[_c('div',{staticClass:"card__attr card__attr--spec"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.spec'))+"/"+_vm._s(_vm.t('nb.model')))]),_c('span',[_vm._v(_vm._s(_vm.item.sSpecs || '- -')+"/"+_vm._s(_vm.item.sModel || '- -'))])]),(_vm.showBrand)?_c('div',{staticClass:"card__attr card__attr--brand"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.brand')))]),_c('span',[_vm._v(_vm._s(_vm.item.sBrand || '- -'))])]):_vm._e(),(_vm.showPosition)?[(_vm.item.lastTerDesc)?_c('div',{staticClass:"card__attr card__attr--position-move"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.position')))]),_c('span',[_vm._v(_vm._s(_vm.item.lastTerDesc || '--'))]),_c('nb-icon',{attrs:{"icon":"arrow-right-fill"}}),_c('span',[_vm._v(_vm._s(_vm.item.sTerDesc || '--'))])],1):_c('div',{staticClass:"card__attr card__attr--position"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.position')))]),_c('span',[_vm._v(_vm._s(_vm.item.sTerDesc || '--'))])])]:_vm._e(),(_vm.showCoefficient)?_c('div',{staticClass:"card__attr card__attr--num"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.coefficient')))]),_c('span',[_vm._v(_vm._s(_vm.item.iCount || '- -'))])]):_vm._e(),_vm._t("spec-append"),_vm._t("default")],2),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.item.toggle),expression:"item.toggle"}],staticClass:"card__details"},[_vm._t("detail",function(){return [_c('el-table',{staticClass:"nb-card-table",attrs:{"auto-right":"","data":_vm.item.details,"row-class-name":_vm.tableRowClassName}},[(_vm.showExpiry)?_c('el-table-column',{attrs:{"class-name":"is-tag","align":"right","width":"240"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('nb-expiry-icon',{attrs:{"value":scope.row.expiryState}})]}}],null,false,3613358482)}):_vm._e(),_vm._t("detail-left"),_c('el-table-column',{attrs:{"prop":"sBarcode","label":_vm.t('nb.barcode'),"width":"420"}}),_c('el-table-column',{attrs:{"prop":"sBatch","label":_vm.t('nb.batch'),"width":"270"}}),_c('el-table-column',{attrs:{"prop":"dExpiry","label":_vm.t('nb.expiry'),"width":"192"}}),_vm._t("detail-right")],2)]},{"item":_vm.item})],2)])],1)}
2631
2767
  var staticRenderFns = []
2632
2768
 
2633
2769
 
@@ -2635,7 +2771,7 @@ var staticRenderFns = []
2635
2771
  var es_array_push = __webpack_require__(4114);
2636
2772
  // EXTERNAL MODULE: ./packages/mixins/index.js
2637
2773
  var mixins = __webpack_require__(7389);
2638
- ;// ./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/NBNameSpecCard/src/index.vue?vue&type=script&lang=js
2774
+ ;// ./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/NBNameToggleCard/src/index.vue?vue&type=script&lang=js
2639
2775
 
2640
2776
  //
2641
2777
  //
@@ -2690,10 +2826,31 @@ var mixins = __webpack_require__(7389);
2690
2826
  //
2691
2827
  //
2692
2828
  //
2829
+ //
2830
+ //
2831
+ //
2832
+ //
2833
+ //
2834
+ //
2835
+ //
2836
+ //
2837
+ //
2838
+ //
2839
+ //
2840
+ //
2841
+ //
2842
+ //
2843
+ //
2844
+ //
2845
+ //
2846
+ //
2847
+ //
2848
+ //
2849
+ //
2693
2850
 
2694
2851
 
2695
2852
  /* harmony default export */ var srcvue_type_script_lang_js = ({
2696
- name: 'NBNameSpecCard',
2853
+ name: 'NBNameToggleCard',
2697
2854
  mixins: [mixins/* default */.A],
2698
2855
  props: {
2699
2856
  // 数据对象
@@ -2701,12 +2858,21 @@ var mixins = __webpack_require__(7389);
2701
2858
  type: Object,
2702
2859
  default: () => {
2703
2860
  return {};
2861
+ },
2862
+ required: true
2863
+ },
2864
+ // 近效期显示方式(0-显示近效期标志,1-显示近效期标志+背景色)
2865
+ expiryMode: {
2866
+ type: Number,
2867
+ default: 0,
2868
+ validator(value) {
2869
+ return [0, 1].includes(value);
2704
2870
  }
2705
2871
  },
2706
2872
  // 是否显示近效期标识
2707
2873
  showExpiry: {
2708
2874
  type: Boolean,
2709
- default: false
2875
+ default: true
2710
2876
  },
2711
2877
  // 是否显示品牌
2712
2878
  showBrand: {
@@ -2716,56 +2882,68 @@ var mixins = __webpack_require__(7389);
2716
2882
  // 是否显示位置
2717
2883
  showPosition: {
2718
2884
  type: Boolean,
2719
- default: false
2885
+ default: true
2720
2886
  },
2721
2887
  // 是否显示系数
2722
2888
  showCoefficient: {
2723
2889
  type: Boolean,
2724
2890
  default: false
2891
+ },
2892
+ // 详情表格行的样式(预定义样式:已删除样式nb-card-table__row--delete,近效期样式nb-card-table__row--expiry0/1/3/6)
2893
+ detailRowClassName: {
2894
+ type: Function
2895
+ },
2896
+ // 卡片主题(error)
2897
+ cardType: {
2898
+ type: String,
2899
+ default: '',
2900
+ validator(value) {
2901
+ return ['', 'error'].includes(value);
2902
+ }
2725
2903
  }
2726
2904
  },
2727
2905
  data() {
2728
2906
  return {};
2729
2907
  },
2730
2908
  computed: {
2731
- // 分类样式
2732
- getCateClassList() {
2909
+ // 卡片样式(异常优先于近效期)
2910
+ getCardClassList() {
2733
2911
  let cls = [];
2734
- if (this.item.toggle) {
2735
- cls.push('nb-toggle-cate--toggle');
2736
- }
2737
- if (this.item[this.optionProps.name] === this.value) {
2738
- cls.push('nb-toggle-cate--active');
2912
+ // 近效期样式
2913
+ if (this.showExpiry && this.expiryMode === 1 && [0, 1, 3, 6].includes(this.item.expiryState)) {
2914
+ cls.push(`nb-name-toggle-card--expiry${this.item.expiryState}`);
2739
2915
  }
2916
+
2740
2917
  // 样式类型
2741
- if (this.item.styleType === 'danger') {
2742
- cls.push('nb-toggle-cate--danger');
2918
+ if (this.cardType) {
2919
+ cls.push(`nb-name-toggle-card--${this.cardType}`);
2743
2920
  }
2744
2921
  return cls;
2745
2922
  }
2746
2923
  },
2747
2924
  methods: {
2748
- // 展开
2749
- handleToggle(item) {
2750
- if (this.showToggle) {
2751
- item.toggle = !item.toggle;
2925
+ // 预定表格样式
2926
+ tableRowClassName({
2927
+ row
2928
+ }) {
2929
+ let cls = '';
2930
+ // 近效期
2931
+ if (this.showExpiry && this.expiryMode === 1 && [0, 1, 3, 6].includes(row.expiryState)) {
2932
+ cls += ` nb-card-table__row--expiry${row.expiryState}`;
2752
2933
  }
2753
- },
2754
- // 勾选单选框
2755
- handleChangeRadio() {
2756
- this.$emit('input', this.item[this.optionProps.name]);
2757
- },
2758
- // 勾选单号
2759
- handleChangeCheckbox(value, item) {
2760
- this.$emit('change', value, item);
2934
+ // 已删除
2935
+ if (row.signed === 0) {
2936
+ cls += ' nb-card-table__row--delete';
2937
+ }
2938
+ return cls;
2761
2939
  }
2762
2940
  }
2763
2941
  });
2764
- ;// ./packages/components/NBNameSpecCard/src/index.vue?vue&type=script&lang=js
2765
- /* harmony default export */ var NBNameSpecCard_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
2942
+ ;// ./packages/components/NBNameToggleCard/src/index.vue?vue&type=script&lang=js
2943
+ /* harmony default export */ var NBNameToggleCard_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
2766
2944
  // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
2767
2945
  var componentNormalizer = __webpack_require__(1656);
2768
- ;// ./packages/components/NBNameSpecCard/src/index.vue
2946
+ ;// ./packages/components/NBNameToggleCard/src/index.vue
2769
2947
 
2770
2948
 
2771
2949
 
@@ -2774,23 +2952,23 @@ var componentNormalizer = __webpack_require__(1656);
2774
2952
  /* normalize component */
2775
2953
  ;
2776
2954
  var component = (0,componentNormalizer/* default */.A)(
2777
- NBNameSpecCard_srcvue_type_script_lang_js,
2955
+ NBNameToggleCard_srcvue_type_script_lang_js,
2778
2956
  render,
2779
2957
  staticRenderFns,
2780
2958
  false,
2781
2959
  null,
2782
- "08d2f36e",
2960
+ "1ff66f7c",
2783
2961
  null
2784
2962
 
2785
2963
  )
2786
2964
 
2787
2965
  /* harmony default export */ var src = (component.exports);
2788
- ;// ./packages/components/NBNameSpecCard/index.js
2966
+ ;// ./packages/components/NBNameToggleCard/index.js
2789
2967
 
2790
2968
  src.install = function (Vue) {
2791
2969
  Vue.component(src.name, src);
2792
2970
  };
2793
- /* harmony default export */ var NBNameSpecCard = (src);
2971
+ /* harmony default export */ var NBNameToggleCard = (src);
2794
2972
 
2795
2973
  /***/ }),
2796
2974
 
@@ -3991,7 +4169,7 @@ src.install = function (Vue) {
3991
4169
 
3992
4170
  /***/ }),
3993
4171
 
3994
- /***/ 9747:
4172
+ /***/ 8890:
3995
4173
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
3996
4174
 
3997
4175
  "use strict";
@@ -4003,8 +4181,8 @@ __webpack_require__.d(__webpack_exports__, {
4003
4181
  "default": function() { return /* binding */ NBToggleCate; }
4004
4182
  });
4005
4183
 
4006
- ;// ./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/NBToggleCate/src/index.vue?vue&type=template&id=d43e0e98&scoped=true
4007
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-toggle-cate",class:_vm.getCateClassList,on:{"click":function($event){$event.stopPropagation();return _vm.handleToggle(_vm.item)}}},[_c('div',{staticClass:"nb-toggle-cate__left"},[_c('nb-icon',{staticClass:"cate__toggle",attrs:{"icon":_vm.item.toggle ? 'caret-down' : 'caret-right'}}),(_vm.type === 1)?_c('el-radio',{staticClass:"cate__radio",attrs:{"value":_vm.value,"label":_vm.item[_vm.optionProps.name]},on:{"update:value":function($event){_vm.value=$event},"change":_vm.handleChangeRadio}}):_vm._e(),(_vm.type === 2)?_c('el-checkbox',{staticClass:"cate__checkbox",attrs:{"indeterminate":_vm.item.indeterminate},on:{"change":function($event){return _vm.handleChangeCheckbox($event, _vm.item)}},model:{value:(_vm.item.checked),callback:function ($$v) {_vm.$set(_vm.item, "checked", $$v)},expression:"item.checked"}}):_vm._e(),_c('nb-icon',{staticClass:"cate__icon",attrs:{"icon":_vm.item[_vm.optionProps.icon]}}),_c('strong',{staticClass:"cate__name"},[_vm._v(_vm._s(_vm.item[_vm.optionProps.text] || '- -'))]),(_vm.optionProps.date && _vm.item[_vm.optionProps.date])?_c('span',{staticClass:"cate__date"},[_vm._v(_vm._s(_vm.item[_vm.optionProps.date]))]):_vm._e(),(_vm.optionProps.tips && _vm.item[_vm.optionProps.tips])?_c('span',{staticClass:"cate__tips"},[_vm._v(_vm._s(_vm.item[_vm.optionProps.tips]))]):_vm._e(),_vm._t("left",null,{"item":_vm.item})],2),_vm._t("default")],2)}
4184
+ ;// ./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/NBToggleCate/src/index.vue?vue&type=template&id=e822caa4&scoped=true
4185
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-toggle-cate",class:_vm.getCateClassList,on:{"click":function($event){$event.stopPropagation();return _vm.handleToggle(_vm.item)}}},[_c('div',{staticClass:"nb-toggle-cate__left"},[_c('nb-icon',{staticClass:"cate__toggle",attrs:{"icon":_vm.item.toggle ? 'caret-down' : 'caret-right'},on:{"click":function($event){return _vm.handleToggle(_vm.item)}}}),(_vm.showRadio)?_c('el-radio',{staticClass:"cate__radio",attrs:{"value":_vm.value,"label":_vm.item[_vm.optionProps.value]},on:{"update:value":function($event){_vm.value=$event},"change":_vm.handleChangeRadio}}):_vm._e(),(_vm.showCheckbox)?_c('el-checkbox',{staticClass:"cate__checkbox",attrs:{"indeterminate":_vm.item.indeterminate},on:{"change":function($event){return _vm.handleChangeCheckbox($event, _vm.item)}},model:{value:(_vm.item.checked),callback:function ($$v) {_vm.$set(_vm.item, "checked", $$v)},expression:"item.checked"}}):_vm._e(),_c('nb-icon',{staticClass:"cate__icon",attrs:{"icon":_vm.item[_vm.optionProps.icon]}}),_c('strong',{staticClass:"cate__name"},[_vm._v(_vm._s(_vm.item[_vm.optionProps.label] || '- -'))]),(_vm.optionProps.date && _vm.item[_vm.optionProps.date])?_c('span',{staticClass:"cate__date"},[_vm._v(_vm._s(_vm.item[_vm.optionProps.date]))]):_vm._e(),(_vm.optionProps.tips && _vm.item[_vm.optionProps.tips])?_c('span',{staticClass:"cate__tips"},[_vm._v(_vm._s(_vm.item[_vm.optionProps.tips]))]):_vm._e(),_vm._t("left",null,{"item":_vm.item})],2),_vm._t("default")],2)}
4008
4186
  var staticRenderFns = []
4009
4187
 
4010
4188
 
@@ -4051,20 +4229,19 @@ var es_array_push = __webpack_require__(4114);
4051
4229
  /* harmony default export */ var srcvue_type_script_lang_js = ({
4052
4230
  name: 'NBToggleCate',
4053
4231
  props: {
4054
- // v-model,对应item.name,值必须唯一
4232
+ // v-model,对应item.value,值必须唯一
4055
4233
  value: {
4056
- type: [Object, Number, String],
4234
+ type: [Number, String],
4057
4235
  default: null
4058
4236
  },
4059
4237
  /**
4060
4238
  * 数据对象
4061
- * @param {String/Number} item.name 唯一值,必填
4062
- * @param {Boolean} item.checked 是否选中(选择类型是多选即props.type=2时必填)
4063
- * @param {Boolean} item.indeterminate checkbox 的不确定状态(选择类型是多选即props.type=2时必填)
4064
- * @param {String} item.text 显示的文本,必填
4239
+ * @param {String/Number} item.value 唯一值,必填
4240
+ * @param {Boolean} item.checked 是否选中(props.showCheckbox=true时必填)
4241
+ * @param {Boolean} item.indeterminate checkbox 的不确定状态(props.showCheckbox=true时必填)
4242
+ * @param {String} item.lable 显示的文本,必填
4065
4243
  * @param {String} item.date 时间
4066
- * @param {String} item.tips 提示语,绿色字体
4067
- * @param {String} item.styleType 样式类型(danger-红色显示)
4244
+ * @param {String} item.tips 提示语,默认绿色字体(如果cardType=danger是红色字体)
4068
4245
  */
4069
4246
  item: {
4070
4247
  type: Object,
@@ -4072,17 +4249,30 @@ var es_array_push = __webpack_require__(4114);
4072
4249
  return {};
4073
4250
  }
4074
4251
  },
4075
- // name: 名称,唯一值,icon 图标字段,text 文字字段,num 数量字段,badge 角标数量,state 状态(danger-异常)
4252
+ // value: 唯一值,icon 图标,label 文本显示
4076
4253
  props: {
4077
4254
  type: Object,
4078
4255
  default: () => {
4079
4256
  return {};
4080
4257
  }
4081
4258
  },
4082
- // 选择类型:0-不支持选择,1-单选,2-多选
4083
- type: {
4084
- type: Number,
4085
- default: 0
4259
+ // 是否显示单选框
4260
+ showRadio: {
4261
+ type: Boolean,
4262
+ default: false
4263
+ },
4264
+ // 是否显示复选框
4265
+ showCheckbox: {
4266
+ type: Boolean,
4267
+ default: false
4268
+ },
4269
+ // 分类样式(danger)
4270
+ cardType: {
4271
+ type: String,
4272
+ default: '',
4273
+ validator(value) {
4274
+ return ['', 'danger'].includes(value);
4275
+ }
4086
4276
  }
4087
4277
  },
4088
4278
  data() {
@@ -4091,23 +4281,25 @@ var es_array_push = __webpack_require__(4114);
4091
4281
  computed: {
4092
4282
  optionProps() {
4093
4283
  return Object.assign({
4094
- name: 'name',
4095
- icon: 'icon',
4096
- text: 'text'
4284
+ value: 'value',
4285
+ label: 'label',
4286
+ icon: 'icon'
4097
4287
  }, this.props);
4098
4288
  },
4099
4289
  // 分类样式
4100
4290
  getCateClassList() {
4101
4291
  let cls = [];
4292
+ // 展开
4102
4293
  if (this.item.toggle) {
4103
4294
  cls.push('nb-toggle-cate--toggle');
4104
4295
  }
4105
- if (this.item[this.optionProps.name] === this.value) {
4296
+ // 选中
4297
+ if (this.item[this.optionProps.value] === this.value) {
4106
4298
  cls.push('nb-toggle-cate--active');
4107
4299
  }
4108
- // 样式类型
4109
- if (this.item.styleType === 'danger') {
4110
- cls.push('nb-toggle-cate--danger');
4300
+ // 卡片样式(优先于选中样式)
4301
+ if (this.cardType) {
4302
+ cls.push(`nb-toggle-cate--${this.cardType}`);
4111
4303
  }
4112
4304
  return cls;
4113
4305
  }
@@ -4115,11 +4307,12 @@ var es_array_push = __webpack_require__(4114);
4115
4307
  methods: {
4116
4308
  // 展开
4117
4309
  handleToggle(item) {
4310
+ this.$set(item, 'toggle', !item.toggle);
4118
4311
  this.$emit('toggle', item);
4119
4312
  },
4120
4313
  // 勾选单选框
4121
4314
  handleChangeRadio() {
4122
- this.$emit('input', this.item[this.optionProps.name]);
4315
+ this.$emit('input', this.item[this.optionProps.value]);
4123
4316
  },
4124
4317
  // 勾选复选框
4125
4318
  handleChangeCheckbox(value, item) {
@@ -4145,7 +4338,7 @@ var component = (0,componentNormalizer/* default */.A)(
4145
4338
  staticRenderFns,
4146
4339
  false,
4147
4340
  null,
4148
- "d43e0e98",
4341
+ "e822caa4",
4149
4342
  null
4150
4343
 
4151
4344
  )
@@ -4661,7 +4854,7 @@ webpackContext.id = 1603;
4661
4854
 
4662
4855
  var map = {
4663
4856
  "./NBBadge/index.js": 3134,
4664
- "./NBBarcodeCard/index.js": 1285,
4857
+ "./NBBarcodeCard/index.js": 5886,
4665
4858
  "./NBBarcodeReviewDialog/index.js": 6855,
4666
4859
  "./NBCabinetInventoryCarousel/index.js": 5433,
4667
4860
  "./NBCheckboxGroup/index.js": 2129,
@@ -4670,9 +4863,10 @@ var map = {
4670
4863
  "./NBExpiryIcon/index.js": 3001,
4671
4864
  "./NBFullscreenDialog/index.js": 1516,
4672
4865
  "./NBHeader/index.js": 6523,
4673
- "./NBIcon/index.js": 8311,
4866
+ "./NBIcon/index.js": 2333,
4674
4867
  "./NBMessageDialog/index.js": 5355,
4675
- "./NBNameSpecCard/index.js": 8183,
4868
+ "./NBNameSpecCard/index.js": 6970,
4869
+ "./NBNameToggleCard/index.js": 9863,
4676
4870
  "./NBOutFooterDialog/index.js": 9213,
4677
4871
  "./NBPagination/index.js": 2407,
4678
4872
  "./NBProgress/index.js": 928,
@@ -4683,7 +4877,7 @@ var map = {
4683
4877
  "./NBSummaryBar/index.js": 6168,
4684
4878
  "./NBTabs/index.js": 5434,
4685
4879
  "./NBTag/index.js": 8681,
4686
- "./NBToggleCate/index.js": 9747,
4880
+ "./NBToggleCate/index.js": 8890,
4687
4881
  "./NBVersionDialog/index.js": 5555
4688
4882
  };
4689
4883
 
@@ -7524,7 +7718,7 @@ var locale = __webpack_require__(7294);
7524
7718
  /*
7525
7719
  * @Author: chenghuan.dong
7526
7720
  * @Date: 2024-11-08 17:23:47
7527
- * @LastEditTime: 2024-11-21 16:51:44
7721
+ * @LastEditTime: 2024-11-22 18:07:04
7528
7722
  * @LastEditors: chenghuan.dong
7529
7723
  * @Description: 主index.js导出全部组件
7530
7724
  * @FilePath: \nubomed-ui\packages\index.js
@@ -7549,7 +7743,7 @@ const install = function (Vue, options = {}) {
7549
7743
  if (install.installed) return;
7550
7744
  components.forEach(component => {
7551
7745
  const name = 'nb-' + camelToKebab(component.name.slice(2));
7552
- 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-reagent-type', 'nb-cabinet-inventory-carousel', 'nb-version-dialog', 'nb-barcode-review-dialog', 'nb-toggle-cate', 'nb-name-spec-card', 'nb-barcode-card'];
7746
+ 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-reagent-type', 'nb-cabinet-inventory-carousel', 'nb-version-dialog', 'nb-barcode-review-dialog', 'nb-toggle-cate', 'nb-name-spec-card', 'nb-barcode-card', 'nb-name-toggle-card'];
7553
7747
  // if (installNames.includes(name)) {
7554
7748
  // console.log('%c' + '√ ' + name, 'color: #00A572;')
7555
7749
  // } else {