nubomed-ui 2.0.78 → 2.0.79

Sign up to get free protection for your applications and to get access to all the features.
package/nubomed-ui.umd.js CHANGED
@@ -1194,7 +1194,7 @@ src.install = function (Vue) {
1194
1194
 
1195
1195
  /***/ }),
1196
1196
 
1197
- /***/ 8450:
1197
+ /***/ 960:
1198
1198
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1199
1199
 
1200
1200
  "use strict";
@@ -1206,8 +1206,8 @@ __webpack_require__.d(__webpack_exports__, {
1206
1206
  "default": function() { return /* binding */ NBCabinetLockState; }
1207
1207
  });
1208
1208
 
1209
- ;// ./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/NBCabinetLockState/src/index.vue?vue&type=template&id=489486c3&scoped=true
1210
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-cabinet-lock-state",class:("nb-cabinet-lock-state--" + _vm.size)},[_c('img',{staticClass:"cabinet__img",attrs:{"src":("" + (_vm.item.terModelPic))}}),(_vm.isLeftRightCabinet(_vm.item.sTerModelCode))?[_c('div',{staticClass:"cabinet__left",class:("cabinet__left--" + (_vm.showMask(0) ? 'mask' : ''))},[(_vm.showLocking(0))?_c('i',{staticClass:"el-icon-loading"}):_vm._e(),(_vm.showConnectError(0))?_c('nb-icon',{staticClass:"cabinet__connect-error",attrs:{"icon":"connect-error"}}):_vm._e(),(_vm.showLock(0))?_c('nb-icon',{staticClass:"cabinet__lock",attrs:{"icon":"lock-filled"}}):_vm._e()],1),_c('div',{staticClass:"cabinet__right",class:("cabinet__right--" + (_vm.showMask(1) ? 'mask' : ''))},[(_vm.showLocking(1))?_c('i',{staticClass:"el-icon-loading"}):_vm._e(),(_vm.showConnectError(1))?_c('nb-icon',{staticClass:"cabinet__connect-error",attrs:{"icon":"connect-error"}}):_vm._e(),(_vm.showLock(1))?_c('nb-icon',{staticClass:"cabinet__lock",attrs:{"icon":"lock-filled"}}):_vm._e()],1)]:(_vm.isUpDownCabinet(_vm.item.sTerModelCode))?[_c('div',{staticClass:"cabinet__up",class:("cabinet__up--" + (_vm.showMask(0) ? 'mask' : ''))},[(_vm.showLocking(0))?_c('i',{staticClass:"el-icon-loading"}):_vm._e(),(_vm.showConnectError(0))?_c('nb-icon',{staticClass:"cabinet__connect-error",attrs:{"icon":"connect-error"}}):_vm._e(),(_vm.showLock(0))?_c('nb-icon',{staticClass:"cabinet__lock",attrs:{"icon":"lock-filled"}}):_vm._e()],1),_c('div',{staticClass:"cabinet__down",class:("cabinet__down--" + (_vm.showMask(1) ? 'mask' : ''))},[(_vm.showLocking(1))?_c('i',{staticClass:"el-icon-loading"}):_vm._e(),(_vm.showConnectError(1))?_c('nb-icon',{staticClass:"cabinet__connect-error",attrs:{"icon":"connect-error"}}):_vm._e(),(_vm.showLock(1))?_c('nb-icon',{staticClass:"cabinet__lock",attrs:{"icon":"lock-filled"}}):_vm._e()],1)]:[_c('div',{staticClass:"cabinet__full",class:("cabinet__full--" + (_vm.showMask(0) ? 'mask' : ''))},[(_vm.showLocking(0))?_c('i',{staticClass:"el-icon-loading"}):_vm._e(),(_vm.showConnectError(0))?_c('nb-icon',{staticClass:"cabinet__connect-error",attrs:{"icon":"connect-error"}}):_vm._e(),(_vm.showLock(0))?_c('nb-icon',{staticClass:"cabinet__lock",attrs:{"icon":"lock-filled"}}):_vm._e()],1)]],2)}
1209
+ ;// ./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/NBCabinetLockState/src/index.vue?vue&type=template&id=ca133276&scoped=true
1210
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-cabinet-lock-state",class:("nb-cabinet-lock-state--" + _vm.size)},[_c('img',{staticClass:"cabinet__img",attrs:{"src":("" + (_vm.item.terModelPic))}}),(_vm.isLeftRightCabinet(_vm.item.sTerModelCode))?[_c('div',{staticClass:"cabinet__left",class:("cabinet__left--" + (_vm.showMask(0) ? 'mask' : '')),on:{"click":function($event){$event.stopPropagation();return _vm.onClick(0)}}},[(_vm.showLocking(0))?_c('i',{staticClass:"el-icon-loading"}):_vm._e(),(_vm.showConnectError(0))?_c('nb-icon',{staticClass:"cabinet__connect-error",attrs:{"icon":"connect-error"}}):_vm._e(),(_vm.showLock(0))?_c('nb-icon',{staticClass:"cabinet__lock",attrs:{"icon":"lock-filled"}}):_vm._e()],1),_c('div',{staticClass:"cabinet__right",class:("cabinet__right--" + (_vm.showMask(1) ? 'mask' : '')),on:{"click":function($event){$event.stopPropagation();return _vm.onClick(1)}}},[(_vm.showLocking(1))?_c('i',{staticClass:"el-icon-loading"}):_vm._e(),(_vm.showConnectError(1))?_c('nb-icon',{staticClass:"cabinet__connect-error",attrs:{"icon":"connect-error"}}):_vm._e(),(_vm.showLock(1))?_c('nb-icon',{staticClass:"cabinet__lock",attrs:{"icon":"lock-filled"}}):_vm._e()],1)]:(_vm.isUpDownCabinet(_vm.item.sTerModelCode))?[_c('div',{staticClass:"cabinet__up",class:("cabinet__up--" + (_vm.showMask(0) ? 'mask' : '')),on:{"click":function($event){$event.stopPropagation();return _vm.onClick(0)}}},[(_vm.showLocking(0))?_c('i',{staticClass:"el-icon-loading"}):_vm._e(),(_vm.showConnectError(0))?_c('nb-icon',{staticClass:"cabinet__connect-error",attrs:{"icon":"connect-error"}}):_vm._e(),(_vm.showLock(0))?_c('nb-icon',{staticClass:"cabinet__lock",attrs:{"icon":"lock-filled"}}):_vm._e()],1),_c('div',{staticClass:"cabinet__down",class:("cabinet__down--" + (_vm.showMask(1) ? 'mask' : '')),on:{"click":function($event){$event.stopPropagation();return _vm.onClick(1)}}},[(_vm.showLocking(1))?_c('i',{staticClass:"el-icon-loading"}):_vm._e(),(_vm.showConnectError(1))?_c('nb-icon',{staticClass:"cabinet__connect-error",attrs:{"icon":"connect-error"}}):_vm._e(),(_vm.showLock(1))?_c('nb-icon',{staticClass:"cabinet__lock",attrs:{"icon":"lock-filled"}}):_vm._e()],1)]:[_c('div',{staticClass:"cabinet__full",class:("cabinet__full--" + (_vm.showMask(0) ? 'mask' : '')),on:{"click":function($event){$event.stopPropagation();return _vm.onClick(0)}}},[(_vm.showLocking(0))?_c('i',{staticClass:"el-icon-loading"}):_vm._e(),(_vm.showConnectError(0))?_c('nb-icon',{staticClass:"cabinet__connect-error",attrs:{"icon":"connect-error"}}):_vm._e(),(_vm.showLock(0))?_c('nb-icon',{staticClass:"cabinet__lock",attrs:{"icon":"lock-filled"}}):_vm._e()],1)]],2)}
1211
1211
  var staticRenderFns = []
1212
1212
 
1213
1213
 
@@ -1303,6 +1303,10 @@ var cabinet_help = __webpack_require__(2406);
1303
1303
  // 是否显示遮罩
1304
1304
  showMask(index) {
1305
1305
  return this.showLock(index) || this.showLocking(index) || this.showConnectError(index);
1306
+ },
1307
+ // 点击
1308
+ onClick(index) {
1309
+ this.$emit('onClick', index, this.item);
1306
1310
  }
1307
1311
  }
1308
1312
  });
@@ -1324,7 +1328,7 @@ var component = (0,componentNormalizer/* default */.A)(
1324
1328
  staticRenderFns,
1325
1329
  false,
1326
1330
  null,
1327
- "489486c3",
1331
+ "ca133276",
1328
1332
  null
1329
1333
 
1330
1334
  )
@@ -6875,7 +6879,7 @@ var map = {
6875
6879
  "./NBBarcodeCard/index.js": 5886,
6876
6880
  "./NBBarcodeReviewDialog/index.js": 6855,
6877
6881
  "./NBCabinetInventoryCarousel/index.js": 5433,
6878
- "./NBCabinetLockState/index.js": 8450,
6882
+ "./NBCabinetLockState/index.js": 960,
6879
6883
  "./NBCabinetState/index.js": 5540,
6880
6884
  "./NBCheckboxGroup/index.js": 1385,
6881
6885
  "./NBDialog/index.js": 2324,
@@ -9800,10 +9804,6 @@ const install = function (Vue, options = {}) {
9800
9804
  Vue.component('nb-' + camelToKebab(component.name.slice(2)), component);
9801
9805
  }
9802
9806
  });
9803
-
9804
- // 全局
9805
- // Vue.prototype.$nbNotify = Notify
9806
- // Vue.prototype.$nbNotify = nbNotify
9807
9807
  };
9808
9808
  const i18n = locale/* default.i18n */.Ay.i18n;
9809
9809
  /* harmony default export */ var packages_0 = ({