nubomed-ui 2.0.73 → 2.0.74

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of nubomed-ui might be problematic. Click here for more details.

@@ -544,7 +544,7 @@ src.install = function (Vue) {
544
544
 
545
545
  /***/ }),
546
546
 
547
- /***/ 8351:
547
+ /***/ 3772:
548
548
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
549
549
 
550
550
  "use strict";
@@ -556,8 +556,8 @@ __webpack_require__.d(__webpack_exports__, {
556
556
  "default": function() { return /* binding */ NBBarcodeCard; }
557
557
  });
558
558
 
559
- ;// ./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
560
- 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)])}
559
+ ;// ./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
560
+ 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)])}
561
561
  var staticRenderFns = []
562
562
 
563
563
 
@@ -635,6 +635,9 @@ var mixins = __webpack_require__(1137);
635
635
  //
636
636
  //
637
637
  //
638
+ //
639
+ //
640
+ //
638
641
 
639
642
 
640
643
  /* harmony default export */ var srcvue_type_script_lang_js = ({
@@ -651,7 +654,7 @@ var mixins = __webpack_require__(1137);
651
654
  // 是否显示近效期标识
652
655
  showExpiry: {
653
656
  type: Boolean,
654
- default: false
657
+ default: true
655
658
  },
656
659
  // 是否显示品牌
657
660
  showBrand: {
@@ -661,50 +664,37 @@ var mixins = __webpack_require__(1137);
661
664
  // 是否显示位置
662
665
  showPosition: {
663
666
  type: Boolean,
664
- default: false
667
+ default: true
665
668
  },
666
669
  // 是否显示系数
667
670
  showCoefficient: {
668
671
  type: Boolean,
669
- default: false
672
+ default: true
673
+ },
674
+ // 卡片主题(error)
675
+ cardType: {
676
+ type: String,
677
+ default: '',
678
+ validator(value) {
679
+ return ['', 'error'].includes(value);
680
+ }
670
681
  }
671
682
  },
672
683
  data() {
673
684
  return {};
674
685
  },
675
686
  computed: {
676
- // 分类样式
677
- getCateClassList() {
687
+ // 卡片样式(异常优先于近效期)
688
+ getCardClassList() {
678
689
  let cls = [];
679
- if (this.item.toggle) {
680
- cls.push('nb-toggle-cate--toggle');
681
- }
682
- if (this.item[this.optionProps.name] === this.value) {
683
- cls.push('nb-toggle-cate--active');
684
- }
685
690
  // 样式类型
686
- if (this.item.styleType === 'danger') {
687
- cls.push('nb-toggle-cate--danger');
691
+ if (this.cardType) {
692
+ cls.push(`nb-barcode-card--${this.cardType}`);
688
693
  }
689
694
  return cls;
690
695
  }
691
696
  },
692
- methods: {
693
- // 展开
694
- handleToggle(item) {
695
- if (this.showToggle) {
696
- item.toggle = !item.toggle;
697
- }
698
- },
699
- // 勾选单选框
700
- handleChangeRadio() {
701
- this.$emit('input', this.item[this.optionProps.name]);
702
- },
703
- // 勾选单号
704
- handleChangeCheckbox(value, item) {
705
- this.$emit('change', value, item);
706
- }
707
- }
697
+ methods: {}
708
698
  });
709
699
  ;// ./packages/components/NBBarcodeCard/src/index.vue?vue&type=script&lang=js
710
700
  /* harmony default export */ var NBBarcodeCard_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
@@ -724,7 +714,7 @@ var component = (0,componentNormalizer/* default */.A)(
724
714
  staticRenderFns,
725
715
  false,
726
716
  null,
727
- "17f18b82",
717
+ "1eb2eefc",
728
718
  null
729
719
 
730
720
  )
@@ -1965,7 +1955,7 @@ var esnext_iterator_constructor = __webpack_require__(8992);
1965
1955
  // EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.for-each.js
1966
1956
  var esnext_iterator_for_each = __webpack_require__(3949);
1967
1957
  // EXTERNAL MODULE: ./packages/components/NBIcon/index.js + 4 modules
1968
- var NBIcon = __webpack_require__(3685);
1958
+ var NBIcon = __webpack_require__(4332);
1969
1959
  // EXTERNAL MODULE: ./packages/components/NBBadge/index.js + 4 modules
1970
1960
  var NBBadge = __webpack_require__(3250);
1971
1961
  ;// ./packages/utils/dom.js
@@ -2245,7 +2235,7 @@ src.install = function (Vue) {
2245
2235
 
2246
2236
  /***/ }),
2247
2237
 
2248
- /***/ 3685:
2238
+ /***/ 4332:
2249
2239
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2250
2240
 
2251
2241
  "use strict";
@@ -2257,8 +2247,8 @@ __webpack_require__.d(__webpack_exports__, {
2257
2247
  "default": function() { return /* binding */ NBIcon; }
2258
2248
  });
2259
2249
 
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=16daf324&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)}):_vm._e()}
2250
+ ;// ./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
2251
+ 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()}
2262
2252
  var staticRenderFns = []
2263
2253
 
2264
2254
 
@@ -2284,6 +2274,11 @@ var staticRenderFns = []
2284
2274
  type: String,
2285
2275
  default: ''
2286
2276
  }
2277
+ },
2278
+ methods: {
2279
+ onClick() {
2280
+ this.$emit('click');
2281
+ }
2287
2282
  }
2288
2283
  });
2289
2284
  ;// ./packages/components/NBIcon/src/index.vue?vue&type=script&lang=js
@@ -2304,7 +2299,7 @@ var component = (0,componentNormalizer/* default */.A)(
2304
2299
  staticRenderFns,
2305
2300
  false,
2306
2301
  null,
2307
- "16daf324",
2302
+ "ca871e60",
2308
2303
  null
2309
2304
 
2310
2305
  )
@@ -2604,7 +2599,7 @@ src.install = function (Vue) {
2604
2599
 
2605
2600
  /***/ }),
2606
2601
 
2607
- /***/ 2842:
2602
+ /***/ 5790:
2608
2603
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2609
2604
 
2610
2605
  "use strict";
@@ -2616,8 +2611,149 @@ __webpack_require__.d(__webpack_exports__, {
2616
2611
  "default": function() { return /* binding */ NBNameSpecCard; }
2617
2612
  });
2618
2613
 
2619
- ;// ./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
2620
- 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)])}
2614
+ ;// ./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
2615
+ 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)])}
2616
+ var staticRenderFns = []
2617
+
2618
+
2619
+ // EXTERNAL MODULE: ./packages/mixins/index.js
2620
+ var mixins = __webpack_require__(1137);
2621
+ ;// ./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/NBNameSpecCard/src/index.vue?vue&type=script&lang=js
2622
+ //
2623
+ //
2624
+ //
2625
+ //
2626
+ //
2627
+ //
2628
+ //
2629
+ //
2630
+ //
2631
+ //
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
+ /* harmony default export */ var srcvue_type_script_lang_js = ({
2674
+ name: 'NBNameSpecCard',
2675
+ mixins: [mixins/* default */.A],
2676
+ props: {
2677
+ // 数据对象
2678
+ item: {
2679
+ type: Object,
2680
+ default: () => {
2681
+ return {};
2682
+ }
2683
+ },
2684
+ // 是否显示近效期标识
2685
+ showExpiry: {
2686
+ type: Boolean,
2687
+ default: false
2688
+ },
2689
+ // 是否显示品牌
2690
+ showBrand: {
2691
+ type: Boolean,
2692
+ default: true
2693
+ },
2694
+ // 是否显示位置
2695
+ showPosition: {
2696
+ type: Boolean,
2697
+ default: false
2698
+ },
2699
+ // 是否显示系数
2700
+ showCoefficient: {
2701
+ type: Boolean,
2702
+ default: false
2703
+ }
2704
+ },
2705
+ data() {
2706
+ return {};
2707
+ },
2708
+ methods: {}
2709
+ });
2710
+ ;// ./packages/components/NBNameSpecCard/src/index.vue?vue&type=script&lang=js
2711
+ /* harmony default export */ var NBNameSpecCard_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
2712
+ // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
2713
+ var componentNormalizer = __webpack_require__(1656);
2714
+ ;// ./packages/components/NBNameSpecCard/src/index.vue
2715
+
2716
+
2717
+
2718
+
2719
+
2720
+ /* normalize component */
2721
+ ;
2722
+ var component = (0,componentNormalizer/* default */.A)(
2723
+ NBNameSpecCard_srcvue_type_script_lang_js,
2724
+ render,
2725
+ staticRenderFns,
2726
+ false,
2727
+ null,
2728
+ "3b1c73d8",
2729
+ null
2730
+
2731
+ )
2732
+
2733
+ /* harmony default export */ var src = (component.exports);
2734
+ ;// ./packages/components/NBNameSpecCard/index.js
2735
+
2736
+ src.install = function (Vue) {
2737
+ Vue.component(src.name, src);
2738
+ };
2739
+ /* harmony default export */ var NBNameSpecCard = (src);
2740
+
2741
+ /***/ }),
2742
+
2743
+ /***/ 9876:
2744
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2745
+
2746
+ "use strict";
2747
+ // ESM COMPAT FLAG
2748
+ __webpack_require__.r(__webpack_exports__);
2749
+
2750
+ // EXPORTS
2751
+ __webpack_require__.d(__webpack_exports__, {
2752
+ "default": function() { return /* binding */ NBNameToggleCard; }
2753
+ });
2754
+
2755
+ ;// ./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
2756
+ 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)}
2621
2757
  var staticRenderFns = []
2622
2758
 
2623
2759
 
@@ -2625,7 +2761,7 @@ var staticRenderFns = []
2625
2761
  var es_array_push = __webpack_require__(4114);
2626
2762
  // EXTERNAL MODULE: ./packages/mixins/index.js
2627
2763
  var mixins = __webpack_require__(1137);
2628
- ;// ./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/NBNameSpecCard/src/index.vue?vue&type=script&lang=js
2764
+ ;// ./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/NBNameToggleCard/src/index.vue?vue&type=script&lang=js
2629
2765
 
2630
2766
  //
2631
2767
  //
@@ -2680,10 +2816,31 @@ var mixins = __webpack_require__(1137);
2680
2816
  //
2681
2817
  //
2682
2818
  //
2819
+ //
2820
+ //
2821
+ //
2822
+ //
2823
+ //
2824
+ //
2825
+ //
2826
+ //
2827
+ //
2828
+ //
2829
+ //
2830
+ //
2831
+ //
2832
+ //
2833
+ //
2834
+ //
2835
+ //
2836
+ //
2837
+ //
2838
+ //
2839
+ //
2683
2840
 
2684
2841
 
2685
2842
  /* harmony default export */ var srcvue_type_script_lang_js = ({
2686
- name: 'NBNameSpecCard',
2843
+ name: 'NBNameToggleCard',
2687
2844
  mixins: [mixins/* default */.A],
2688
2845
  props: {
2689
2846
  // 数据对象
@@ -2691,12 +2848,21 @@ var mixins = __webpack_require__(1137);
2691
2848
  type: Object,
2692
2849
  default: () => {
2693
2850
  return {};
2851
+ },
2852
+ required: true
2853
+ },
2854
+ // 近效期显示方式(0-显示近效期标志,1-显示近效期标志+背景色)
2855
+ expiryMode: {
2856
+ type: Number,
2857
+ default: 0,
2858
+ validator(value) {
2859
+ return [0, 1].includes(value);
2694
2860
  }
2695
2861
  },
2696
2862
  // 是否显示近效期标识
2697
2863
  showExpiry: {
2698
2864
  type: Boolean,
2699
- default: false
2865
+ default: true
2700
2866
  },
2701
2867
  // 是否显示品牌
2702
2868
  showBrand: {
@@ -2706,56 +2872,68 @@ var mixins = __webpack_require__(1137);
2706
2872
  // 是否显示位置
2707
2873
  showPosition: {
2708
2874
  type: Boolean,
2709
- default: false
2875
+ default: true
2710
2876
  },
2711
2877
  // 是否显示系数
2712
2878
  showCoefficient: {
2713
2879
  type: Boolean,
2714
2880
  default: false
2881
+ },
2882
+ // 详情表格行的样式(预定义样式:已删除样式nb-card-table__row--delete,近效期样式nb-card-table__row--expiry0/1/3/6)
2883
+ detailRowClassName: {
2884
+ type: Function
2885
+ },
2886
+ // 卡片主题(error)
2887
+ cardType: {
2888
+ type: String,
2889
+ default: '',
2890
+ validator(value) {
2891
+ return ['', 'error'].includes(value);
2892
+ }
2715
2893
  }
2716
2894
  },
2717
2895
  data() {
2718
2896
  return {};
2719
2897
  },
2720
2898
  computed: {
2721
- // 分类样式
2722
- getCateClassList() {
2899
+ // 卡片样式(异常优先于近效期)
2900
+ getCardClassList() {
2723
2901
  let cls = [];
2724
- if (this.item.toggle) {
2725
- cls.push('nb-toggle-cate--toggle');
2726
- }
2727
- if (this.item[this.optionProps.name] === this.value) {
2728
- cls.push('nb-toggle-cate--active');
2902
+ // 近效期样式
2903
+ if (this.showExpiry && this.expiryMode === 1 && [0, 1, 3, 6].includes(this.item.expiryState)) {
2904
+ cls.push(`nb-name-toggle-card--expiry${this.item.expiryState}`);
2729
2905
  }
2906
+
2730
2907
  // 样式类型
2731
- if (this.item.styleType === 'danger') {
2732
- cls.push('nb-toggle-cate--danger');
2908
+ if (this.cardType) {
2909
+ cls.push(`nb-name-toggle-card--${this.cardType}`);
2733
2910
  }
2734
2911
  return cls;
2735
2912
  }
2736
2913
  },
2737
2914
  methods: {
2738
- // 展开
2739
- handleToggle(item) {
2740
- if (this.showToggle) {
2741
- item.toggle = !item.toggle;
2915
+ // 预定表格样式
2916
+ tableRowClassName({
2917
+ row
2918
+ }) {
2919
+ let cls = '';
2920
+ // 近效期
2921
+ if (this.showExpiry && this.expiryMode === 1 && [0, 1, 3, 6].includes(row.expiryState)) {
2922
+ cls += ` nb-card-table__row--expiry${row.expiryState}`;
2742
2923
  }
2743
- },
2744
- // 勾选单选框
2745
- handleChangeRadio() {
2746
- this.$emit('input', this.item[this.optionProps.name]);
2747
- },
2748
- // 勾选单号
2749
- handleChangeCheckbox(value, item) {
2750
- this.$emit('change', value, item);
2924
+ // 已删除
2925
+ if (row.signed === 0) {
2926
+ cls += ' nb-card-table__row--delete';
2927
+ }
2928
+ return cls;
2751
2929
  }
2752
2930
  }
2753
2931
  });
2754
- ;// ./packages/components/NBNameSpecCard/src/index.vue?vue&type=script&lang=js
2755
- /* harmony default export */ var NBNameSpecCard_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
2932
+ ;// ./packages/components/NBNameToggleCard/src/index.vue?vue&type=script&lang=js
2933
+ /* harmony default export */ var NBNameToggleCard_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
2756
2934
  // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
2757
2935
  var componentNormalizer = __webpack_require__(1656);
2758
- ;// ./packages/components/NBNameSpecCard/src/index.vue
2936
+ ;// ./packages/components/NBNameToggleCard/src/index.vue
2759
2937
 
2760
2938
 
2761
2939
 
@@ -2764,23 +2942,23 @@ var componentNormalizer = __webpack_require__(1656);
2764
2942
  /* normalize component */
2765
2943
  ;
2766
2944
  var component = (0,componentNormalizer/* default */.A)(
2767
- NBNameSpecCard_srcvue_type_script_lang_js,
2945
+ NBNameToggleCard_srcvue_type_script_lang_js,
2768
2946
  render,
2769
2947
  staticRenderFns,
2770
2948
  false,
2771
2949
  null,
2772
- "08d2f36e",
2950
+ "1ff66f7c",
2773
2951
  null
2774
2952
 
2775
2953
  )
2776
2954
 
2777
2955
  /* harmony default export */ var src = (component.exports);
2778
- ;// ./packages/components/NBNameSpecCard/index.js
2956
+ ;// ./packages/components/NBNameToggleCard/index.js
2779
2957
 
2780
2958
  src.install = function (Vue) {
2781
2959
  Vue.component(src.name, src);
2782
2960
  };
2783
- /* harmony default export */ var NBNameSpecCard = (src);
2961
+ /* harmony default export */ var NBNameToggleCard = (src);
2784
2962
 
2785
2963
  /***/ }),
2786
2964
 
@@ -3981,7 +4159,7 @@ src.install = function (Vue) {
3981
4159
 
3982
4160
  /***/ }),
3983
4161
 
3984
- /***/ 4935:
4162
+ /***/ 7440:
3985
4163
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
3986
4164
 
3987
4165
  "use strict";
@@ -3993,8 +4171,8 @@ __webpack_require__.d(__webpack_exports__, {
3993
4171
  "default": function() { return /* binding */ NBToggleCate; }
3994
4172
  });
3995
4173
 
3996
- ;// ./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
3997
- 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)}
4174
+ ;// ./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
4175
+ 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)}
3998
4176
  var staticRenderFns = []
3999
4177
 
4000
4178
 
@@ -4041,20 +4219,19 @@ var es_array_push = __webpack_require__(4114);
4041
4219
  /* harmony default export */ var srcvue_type_script_lang_js = ({
4042
4220
  name: 'NBToggleCate',
4043
4221
  props: {
4044
- // v-model,对应item.name,值必须唯一
4222
+ // v-model,对应item.value,值必须唯一
4045
4223
  value: {
4046
- type: [Object, Number, String],
4224
+ type: [Number, String],
4047
4225
  default: null
4048
4226
  },
4049
4227
  /**
4050
4228
  * 数据对象
4051
- * @param {String/Number} item.name 唯一值,必填
4052
- * @param {Boolean} item.checked 是否选中(选择类型是多选即props.type=2时必填)
4053
- * @param {Boolean} item.indeterminate checkbox 的不确定状态(选择类型是多选即props.type=2时必填)
4054
- * @param {String} item.text 显示的文本,必填
4229
+ * @param {String/Number} item.value 唯一值,必填
4230
+ * @param {Boolean} item.checked 是否选中(props.showCheckbox=true时必填)
4231
+ * @param {Boolean} item.indeterminate checkbox 的不确定状态(props.showCheckbox=true时必填)
4232
+ * @param {String} item.lable 显示的文本,必填
4055
4233
  * @param {String} item.date 时间
4056
- * @param {String} item.tips 提示语,绿色字体
4057
- * @param {String} item.styleType 样式类型(danger-红色显示)
4234
+ * @param {String} item.tips 提示语,默认绿色字体(如果cardType=danger是红色字体)
4058
4235
  */
4059
4236
  item: {
4060
4237
  type: Object,
@@ -4062,17 +4239,30 @@ var es_array_push = __webpack_require__(4114);
4062
4239
  return {};
4063
4240
  }
4064
4241
  },
4065
- // name: 名称,唯一值,icon 图标字段,text 文字字段,num 数量字段,badge 角标数量,state 状态(danger-异常)
4242
+ // value: 唯一值,icon 图标,label 文本显示
4066
4243
  props: {
4067
4244
  type: Object,
4068
4245
  default: () => {
4069
4246
  return {};
4070
4247
  }
4071
4248
  },
4072
- // 选择类型:0-不支持选择,1-单选,2-多选
4073
- type: {
4074
- type: Number,
4075
- default: 0
4249
+ // 是否显示单选框
4250
+ showRadio: {
4251
+ type: Boolean,
4252
+ default: false
4253
+ },
4254
+ // 是否显示复选框
4255
+ showCheckbox: {
4256
+ type: Boolean,
4257
+ default: false
4258
+ },
4259
+ // 分类样式(danger)
4260
+ cardType: {
4261
+ type: String,
4262
+ default: '',
4263
+ validator(value) {
4264
+ return ['', 'danger'].includes(value);
4265
+ }
4076
4266
  }
4077
4267
  },
4078
4268
  data() {
@@ -4081,23 +4271,25 @@ var es_array_push = __webpack_require__(4114);
4081
4271
  computed: {
4082
4272
  optionProps() {
4083
4273
  return Object.assign({
4084
- name: 'name',
4085
- icon: 'icon',
4086
- text: 'text'
4274
+ value: 'value',
4275
+ label: 'label',
4276
+ icon: 'icon'
4087
4277
  }, this.props);
4088
4278
  },
4089
4279
  // 分类样式
4090
4280
  getCateClassList() {
4091
4281
  let cls = [];
4282
+ // 展开
4092
4283
  if (this.item.toggle) {
4093
4284
  cls.push('nb-toggle-cate--toggle');
4094
4285
  }
4095
- if (this.item[this.optionProps.name] === this.value) {
4286
+ // 选中
4287
+ if (this.item[this.optionProps.value] === this.value) {
4096
4288
  cls.push('nb-toggle-cate--active');
4097
4289
  }
4098
- // 样式类型
4099
- if (this.item.styleType === 'danger') {
4100
- cls.push('nb-toggle-cate--danger');
4290
+ // 卡片样式(优先于选中样式)
4291
+ if (this.cardType) {
4292
+ cls.push(`nb-toggle-cate--${this.cardType}`);
4101
4293
  }
4102
4294
  return cls;
4103
4295
  }
@@ -4105,11 +4297,12 @@ var es_array_push = __webpack_require__(4114);
4105
4297
  methods: {
4106
4298
  // 展开
4107
4299
  handleToggle(item) {
4300
+ this.$set(item, 'toggle', !item.toggle);
4108
4301
  this.$emit('toggle', item);
4109
4302
  },
4110
4303
  // 勾选单选框
4111
4304
  handleChangeRadio() {
4112
- this.$emit('input', this.item[this.optionProps.name]);
4305
+ this.$emit('input', this.item[this.optionProps.value]);
4113
4306
  },
4114
4307
  // 勾选复选框
4115
4308
  handleChangeCheckbox(value, item) {
@@ -4135,7 +4328,7 @@ var component = (0,componentNormalizer/* default */.A)(
4135
4328
  staticRenderFns,
4136
4329
  false,
4137
4330
  null,
4138
- "d43e0e98",
4331
+ "e822caa4",
4139
4332
  null
4140
4333
 
4141
4334
  )
@@ -4651,7 +4844,7 @@ webpackContext.id = 1603;
4651
4844
 
4652
4845
  var map = {
4653
4846
  "./NBBadge/index.js": 3250,
4654
- "./NBBarcodeCard/index.js": 8351,
4847
+ "./NBBarcodeCard/index.js": 3772,
4655
4848
  "./NBBarcodeReviewDialog/index.js": 4418,
4656
4849
  "./NBCabinetInventoryCarousel/index.js": 5118,
4657
4850
  "./NBCheckboxGroup/index.js": 9070,
@@ -4660,9 +4853,10 @@ var map = {
4660
4853
  "./NBExpiryIcon/index.js": 9075,
4661
4854
  "./NBFullscreenDialog/index.js": 4531,
4662
4855
  "./NBHeader/index.js": 1001,
4663
- "./NBIcon/index.js": 3685,
4856
+ "./NBIcon/index.js": 4332,
4664
4857
  "./NBMessageDialog/index.js": 5550,
4665
- "./NBNameSpecCard/index.js": 2842,
4858
+ "./NBNameSpecCard/index.js": 5790,
4859
+ "./NBNameToggleCard/index.js": 9876,
4666
4860
  "./NBOutFooterDialog/index.js": 5592,
4667
4861
  "./NBPagination/index.js": 8369,
4668
4862
  "./NBProgress/index.js": 8207,
@@ -4673,7 +4867,7 @@ var map = {
4673
4867
  "./NBSummaryBar/index.js": 4918,
4674
4868
  "./NBTabs/index.js": 1694,
4675
4869
  "./NBTag/index.js": 6290,
4676
- "./NBToggleCate/index.js": 4935,
4870
+ "./NBToggleCate/index.js": 7440,
4677
4871
  "./NBVersionDialog/index.js": 5305
4678
4872
  };
4679
4873
 
@@ -7514,7 +7708,7 @@ var locale = __webpack_require__(4820);
7514
7708
  /*
7515
7709
  * @Author: chenghuan.dong
7516
7710
  * @Date: 2024-11-08 17:23:47
7517
- * @LastEditTime: 2024-11-21 16:51:44
7711
+ * @LastEditTime: 2024-11-22 18:07:04
7518
7712
  * @LastEditors: chenghuan.dong
7519
7713
  * @Description: 主index.js导出全部组件
7520
7714
  * @FilePath: \nubomed-ui\packages\index.js
@@ -7539,7 +7733,7 @@ const install = function (Vue, options = {}) {
7539
7733
  if (install.installed) return;
7540
7734
  components.forEach(component => {
7541
7735
  const name = 'nb-' + camelToKebab(component.name.slice(2));
7542
- 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'];
7736
+ 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'];
7543
7737
  // if (installNames.includes(name)) {
7544
7738
  // console.log('%c' + '√ ' + name, 'color: #00A572;')
7545
7739
  // } else {