nubomed-ui 2.0.20 → 2.0.21

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- @charset "UTF-8";.nb-header .nb-header__back__text,.nb-header .nb-header__logout__text,.nb-header .nb-header__title{font-family:OPPOSans B,OPPOSans-B,OPPOSans}html{font-size:.8333333333vw}.color-danger,.danger-color{color:#E52D3E!important}.color-success{color:#00A572!important}.color-primary,.primary-color{color:#0066E0!important}.inventory-surplus{color:#00A572}.inventory-loss{color:#E52D3E}.nb-tag{height:32px;padding:0 8px;border-radius:16px;font-size:20px;line-height:32px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;background-color:#CCE0F9;color:#0066E0}.nb-tag.nb-tag--fill{background-color:#0066E0;color:#fff}.nb-tag--success{background-color:#CCEDE3;color:#00A572}.nb-tag--success.nb-tag--fill{background-color:#00A572;color:#fff}.nb-tag--danger{background-color:#FAD5D8;color:#E52D3E}.nb-tag--danger.nb-tag--fill{background-color:#E52D3E;color:#fff}.nb-tag--warning{background-color:#FEE7CC;color:#F98900}.nb-tag--warning.nb-tag--fill{background-color:#F98900;color:#fff}.nb-tag--large{height:36px;padding:0 12px;border-radius:18px;font-size:24px;line-height:36px}.nb-empty{background-color:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center}.nb-empty--center{width:100%;height:100%}.nb-empty__text{line-height:1.5;text-align:center;font-weight:400}.nb-empty__tips{font-size:24px;color:#00A572;text-align:center;line-height:36px}.nb-empty__buttons{display:flex;align-items:center;margin-top:24px}.nb-empty__buttons .el-button+.el-button{margin-left:20px}.nb-empty>.el-button{margin-top:24px}.nb-empty--large .nb-empty__icon{width:500px;height:500px}.nb-empty--large .nb-empty__text{font-size:32px;line-height:48px}.nb-empty--large .nb-empty__tips,.nb-empty--small .nb-empty__text,.nb-empty--small .nb-empty__tips{font-size:24px}.nb-empty--small .nb-empty__icon{width:300px;height:300px}.nb-summary-bar{width:100%;padding:24px;background-color:transparent;box-sizing:border-box;overflow:hidden}.nb-summary-bar__icon,.nb-summary-bar__icon.svg-icon{width:80px;height:80px;margin-right:20px;flex-shrink:0}.nb-summary-bar__text{font-size:28px;line-height:42px;display:inline-flex;align-items:center}.nb-summary-bar__text i{white-space:nowrap;color:rgba(24,29,65,.7)}.nb-summary-bar__text strong{font-size:50px;margin:0 4px;font-weight:400;white-space:nowrap}.nb-summary-bar__link{color:#0066E0;font-size:24px;line-height:36px;white-space:nowrap;margin-left:16px;cursor:pointer}.nb-header,.nb-summary-bar .nb-summary-bar__left .text-item .nb-summary-bar__text strong{font-size:32px}.nb-summary-bar__text+.nb-summary-bar__text{margin-left:16px}.nb-summary-bar--loading .nb-summary-bar__text{color:#181D41}.nb-summary-bar--error .nb-summary-bar__text{color:#E52D3E}.nb-summary-bar--info .nb-summary-bar__text,.nb-summary-bar--success .nb-summary-bar__text{color:rgba(24,29,65,.7)}.nb-summary-bar--info .nb-summary-bar__text strong,.nb-summary-bar--success .nb-summary-bar__text strong,.nb-summary-bar--tips{color:#00A572}.nb-summary-bar .nb-summary-bar-container{height:112px;padding:0 24px;background:#fff;box-shadow:0 6px 18px 0 rgba(24,29,65,.18);border-radius:16px;display:flex;align-items:center;justify-content:flex-end;box-sizing:border-box;overflow:hidden}.nb-summary-bar .nb-summary-bar__left{flex:1;display:flex;align-items:center;overflow:hidden}.nb-summary-bar .nb-summary-bar__left .text-item{text-align:left;width:min-content}.nb-summary-bar .nb-summary-bar__left .text-item .nb-summary-bar__text{margin-left:0}.nb-summary-bar .nb-summary-bar__left .text-item+.text-item{margin-left:32px}.nb-summary-bar .nb-summary-bar__right{display:flex;align-items:center;flex-shrink:0}.nb-summary-bar .nb-summary-bar__right .el-button{margin-left:24px}.nb-summary-bar--bottom{position:absolute;left:0;right:0;bottom:0;z-index:99}.nb-summary-bar--full{padding:24px 0 0}.nb-summary-bar--full .nb-summary-bar-container{box-shadow:0 4 40px 0 rgba(24,29,65,.08),0 2 28px 0 rgba(24,29,65,.1),0 0 10px 0 rgba(24,29,65,.08);border-radius:16px 16px 0 0}.nb-header{width:100%;height:80px;background-color:#181D41;display:flex;align-items:center;justify-content:space-between;overflow-y:hidden;overflow-x:auto;color:#fff;overflow:hidden;line-height:42px;position:relative}.nb-header .nb-header__back{padding:0 36px 0 32px;height:100%;display:flex;align-items:center;justify-content:center}.nb-header .nb-header__back .svg-icon{width:40px;height:40px;margin-right:4px}.nb-header .nb-header__back .nb-icon{width:40px;height:40px;margin-right:10px}.nb-header .nb-header__back .nb-icon::before{font-size:40px}.nb-header .nb-header__logout{padding:0 32px 0 34px;height:100%;display:flex;align-items:center;justify-content:center}.nb-header .nb-header__logout .nb-icon,.nb-header .nb-header__logout .svg-icon{width:40px;height:40px;margin-right:10px}.nb-header .nb-header__logout .nb-icon::before{font-size:40px}.nb-header .nb-header__tabs,.nb-header .nb-header__title{height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1}.nb-header .nb-header__title{width:fit-content;text-align:center;font-size:32px;line-height:42px;display:flex;align-items:center;justify-content:center}.nb-header .nb-header__tabs{display:flex;align-items:center;justify-content:center}.nb-header .nb-header__tabs .nb-header__tab{height:100%;display:flex;align-items:center;justify-content:center;cursor:pointer}.nb-header .nb-header__tabs .nb-header__tab__text{height:48px;display:flex;flex-direction:column;justify-content:center;background-color:#0f377a}.nb-header .nb-header__tabs .nb-header__tab__text span{padding:0 30px;min-width:200px;height:48px;text-align:center;font-size:28px;line-height:48px;box-sizing:border-box;position:relative}.nb-header .nb-header__tabs .nb-header__tab__text .el-badge{display:inline-block;vertical-align:inherit;font-family:inherit}.nb-header .nb-header__tabs .nb-header__tab__text .el-badge .el-badge__content.is-fixed{top:4px!important;right:4px;z-index:1}.nb-header .nb-header__tabs .nb-header__tab--active .nb-header__tab__text span{background-color:#0066E0;border-radius:24px!important}.nb-header .nb-header__tabs .nb-header__tab--disabled{cursor:not-allowed}.nb-header .nb-header__tabs .nb-header__tab--disabled .nb-header__tab__text span{background-color:#122e67;color:rgba(255,255,255,.2)}.nb-header .nb-header__tabs .nb-header__tab--import .nb-header__tab__text span{color:#f98900;font-family:OPPOSans B,OPPOSans-B,OPPOSans}.nb-header .nb-header__tabs .nb-header__tab:first-child .nb-header__tab__text{border-radius:24px 0 0 24px}.nb-header .nb-header__tabs .nb-header__tab:last-child .nb-header__tab__text{border-radius:0 24px 24px 0}.nb-header .nb-header__left{flex:auto}.nb-header .nb-header__right{flex:auto;display:inline-flex;align-items:center;justify-content:flex-end}.nb-header .nb-header__right .nb-header__btn{padding:0 32px 0 10px;height:100%;display:inline-flex;align-items:center;justify-content:center}.nb-header .nb-header__right .nb-header__btn .svg-icon{width:40px;height:40px;margin-right:10px}.nb-header .nb-header__right .nb-header__btn__text{font-family:OPPOSans B,OPPOSans-B,OPPOSans}
1
+ @charset "UTF-8";html{font-size:.8333333333vw}.color-danger,.danger-color{color:#E52D3E!important}.color-success{color:#00A572!important}.color-primary,.primary-color{color:#0066E0!important}.inventory-surplus{color:#00A572}.inventory-loss{color:#E52D3E}.nb-tag{height:32px;padding:0 8px;border-radius:16px;font-size:20px;line-height:32px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;background-color:#CCE0F9;color:#0066E0}.nb-tag.nb-tag--fill{background-color:#0066E0;color:#fff}.nb-tag--success{background-color:#CCEDE3;color:#00A572}.nb-tag--success.nb-tag--fill{background-color:#00A572;color:#fff}.nb-tag--danger{background-color:#FAD5D8;color:#E52D3E}.nb-tag--danger.nb-tag--fill{background-color:#E52D3E;color:#fff}.nb-tag--warning{background-color:#FEE7CC;color:#F98900}.nb-tag--warning.nb-tag--fill{background-color:#F98900;color:#fff}.nb-tag--large{height:36px;padding:0 12px;border-radius:18px;font-size:24px;line-height:36px}.nb-notification.el-notification{width:auto;max-width:80%;padding:31px 40px;border-width:2px!important;left:50%!important;transform:translate(-50%)}.nb-notification.el-notification .el-notification__content{font-size:40px;line-height:56px;margin-top:0;color:#181D41}.nb-notification.el-notification .el-notification__icon{width:50px;height:50px;font-size:50px;margin-top:3px}.nb-notification.el-notification .el-icon-success::before{content:"\e630";font-family:iconfont}.nb-notification.el-notification .el-icon-error::before{content:"\e629";font-family:iconfont}.nb-header .nb-header__back__text,.nb-header .nb-header__logout__text,.nb-header .nb-header__title{font-family:OPPOSans B,OPPOSans-B,OPPOSans}.nb-notification.el-notification.nb-notification--success{border-color:#7FD2B8;background-color:#F0FBFA}.nb-notification.el-notification.nb-notification--error{border-color:#F2969E;background-color:#FDF4F5}.nb-notification.el-notification.nb-notification--warning{border-color:#FCC47F;background-color:#FEF9F2}.nb-empty,.nb-summary-bar{background-color:transparent}.nb-empty{display:flex;flex-direction:column;align-items:center;justify-content:center}.nb-empty--center{width:100%;height:100%}.nb-empty__text{line-height:1.5;text-align:center;font-weight:400}.nb-empty__tips{font-size:24px;color:#00A572;text-align:center;line-height:36px}.nb-empty__buttons{display:flex;align-items:center;margin-top:24px}.nb-empty__buttons .el-button+.el-button{margin-left:20px}.nb-empty>.el-button{margin-top:24px}.nb-empty--large .nb-empty__icon{width:500px;height:500px}.nb-empty--large .nb-empty__text{font-size:32px;line-height:48px}.nb-empty--large .nb-empty__tips,.nb-empty--small .nb-empty__text,.nb-empty--small .nb-empty__tips{font-size:24px}.nb-empty--small .nb-empty__icon{width:300px;height:300px}.nb-summary-bar{width:100%;padding:24px;box-sizing:border-box;overflow:hidden}.nb-summary-bar__icon,.nb-summary-bar__icon.svg-icon{width:80px;height:80px;margin-right:20px;flex-shrink:0}.nb-summary-bar__text{font-size:28px;line-height:42px;display:inline-flex;align-items:center}.nb-summary-bar__text i{white-space:nowrap;color:rgba(24,29,65,.7)}.nb-summary-bar__text strong{font-size:50px;margin:0 4px;font-weight:400;white-space:nowrap}.nb-summary-bar__link{color:#0066E0;font-size:24px;line-height:36px;white-space:nowrap;margin-left:16px;cursor:pointer}.nb-header,.nb-summary-bar .nb-summary-bar__left .text-item .nb-summary-bar__text strong{font-size:32px}.nb-summary-bar__text+.nb-summary-bar__text{margin-left:16px}.nb-summary-bar--loading .nb-summary-bar__text{color:#181D41}.nb-summary-bar--error .nb-summary-bar__text{color:#E52D3E}.nb-summary-bar--info .nb-summary-bar__text,.nb-summary-bar--success .nb-summary-bar__text{color:rgba(24,29,65,.7)}.nb-summary-bar--info .nb-summary-bar__text strong,.nb-summary-bar--success .nb-summary-bar__text strong,.nb-summary-bar--tips{color:#00A572}.nb-summary-bar .nb-summary-bar-container{height:112px;padding:0 24px;background:#fff;box-shadow:0 6px 18px 0 rgba(24,29,65,.18);border-radius:16px;display:flex;align-items:center;justify-content:flex-end;box-sizing:border-box;overflow:hidden}.nb-summary-bar .nb-summary-bar__left{flex:1;display:flex;align-items:center;overflow:hidden}.nb-summary-bar .nb-summary-bar__left .text-item{text-align:left;width:min-content}.nb-summary-bar .nb-summary-bar__left .text-item .nb-summary-bar__text{margin-left:0}.nb-summary-bar .nb-summary-bar__left .text-item+.text-item{margin-left:32px}.nb-summary-bar .nb-summary-bar__right{display:flex;align-items:center;flex-shrink:0}.nb-summary-bar .nb-summary-bar__right .el-button{margin-left:24px}.nb-summary-bar--bottom{position:absolute;left:0;right:0;bottom:0;z-index:99}.nb-summary-bar--full{padding:24px 0 0}.nb-summary-bar--full .nb-summary-bar-container{box-shadow:0 4 40px 0 rgba(24,29,65,.08),0 2 28px 0 rgba(24,29,65,.1),0 0 10px 0 rgba(24,29,65,.08);border-radius:16px 16px 0 0}.nb-header{width:100%;height:80px;background-color:#181D41;display:flex;align-items:center;justify-content:space-between;overflow-y:hidden;overflow-x:auto;color:#fff;overflow:hidden;line-height:42px;position:relative}.nb-header .nb-header__back{padding:0 36px 0 32px;height:100%;display:flex;align-items:center;justify-content:center}.nb-header .nb-header__back .svg-icon{width:40px;height:40px;margin-right:4px}.nb-header .nb-header__back .nb-icon{width:40px;height:40px;margin-right:10px}.nb-header .nb-header__back .nb-icon::before{font-size:40px}.nb-header .nb-header__logout{padding:0 32px 0 34px;height:100%;display:flex;align-items:center;justify-content:center}.nb-header .nb-header__logout .nb-icon,.nb-header .nb-header__logout .svg-icon{width:40px;height:40px;margin-right:10px}.nb-header .nb-header__logout .nb-icon::before{font-size:40px}.nb-header .nb-header__tabs,.nb-header .nb-header__title{height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1}.nb-header .nb-header__title{width:fit-content;text-align:center;font-size:32px;line-height:42px;display:flex;align-items:center;justify-content:center}.nb-header .nb-header__tabs{display:flex;align-items:center;justify-content:center}.nb-header .nb-header__tabs .nb-header__tab{height:100%;display:flex;align-items:center;justify-content:center;cursor:pointer}.nb-header .nb-header__tabs .nb-header__tab__text{height:48px;display:flex;flex-direction:column;justify-content:center;background-color:#0f377a}.nb-header .nb-header__tabs .nb-header__tab__text span{padding:0 30px;min-width:200px;height:48px;text-align:center;font-size:28px;line-height:48px;box-sizing:border-box;position:relative}.nb-header .nb-header__tabs .nb-header__tab__text .el-badge{display:inline-block;vertical-align:inherit;font-family:inherit}.nb-header .nb-header__tabs .nb-header__tab__text .el-badge .el-badge__content.is-fixed{top:4px!important;right:4px;z-index:1}.nb-header .nb-header__tabs .nb-header__tab--active .nb-header__tab__text span{background-color:#0066E0;border-radius:24px!important}.nb-header .nb-header__tabs .nb-header__tab--disabled{cursor:not-allowed}.nb-header .nb-header__tabs .nb-header__tab--disabled .nb-header__tab__text span{background-color:#122e67;color:rgba(255,255,255,.2)}.nb-header .nb-header__tabs .nb-header__tab--import .nb-header__tab__text span{color:#f98900;font-family:OPPOSans B,OPPOSans-B,OPPOSans}.nb-header .nb-header__tabs .nb-header__tab:first-child .nb-header__tab__text{border-radius:24px 0 0 24px}.nb-header .nb-header__tabs .nb-header__tab:last-child .nb-header__tab__text{border-radius:0 24px 24px 0}.nb-header .nb-header__left{flex:auto}.nb-header .nb-header__right{flex:auto;display:inline-flex;align-items:center;justify-content:flex-end}.nb-header .nb-header__right .nb-header__btn{padding:0 32px 0 10px;height:100%;display:inline-flex;align-items:center;justify-content:center}.nb-header .nb-header__right .nb-header__btn .svg-icon{width:40px;height:40px;margin-right:10px}.nb-header .nb-header__right .nb-header__btn__text{font-family:OPPOSans B,OPPOSans-B,OPPOSans}
@@ -76753,22 +76753,19 @@ var esnext_iterator_for_each = __webpack_require__(3949);
76753
76753
  function camelToKebab(camelCaseStr) {
76754
76754
  return camelCaseStr.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
76755
76755
  }
76756
- // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
76757
- var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(4100);
76758
- var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
76759
76756
  // EXTERNAL MODULE: ./node_modules/element-ui/lib/element-ui.common.js
76760
76757
  var element_ui_common = __webpack_require__(1052);
76761
76758
  ;// ./packages/feedback/nb-notify.js
76762
76759
  /*
76763
76760
  * @Author: chenghuan.dong
76764
- * @Date: 2021-10-03 10:48:34
76761
+ * @Date: 2024-11-12 17:58:53
76762
+ * @LastEditTime: 2024-11-13 10:54:08
76765
76763
  * @LastEditors: chenghuan.dong
76766
- * @LastEditTime: 2024-11-13 08:59:37
76767
- * @Description: el-message
76764
+ * @Description: 对应样式styles/element-ui/notification.scss
76765
+ * @FilePath: \nubomed-ui\packages\feedback\nb-notify.js
76768
76766
  */
76769
76767
 
76770
76768
 
76771
-
76772
76769
  const types = ['success', 'warning', 'error'];
76773
76770
  const defaultDuration = 2000;
76774
76771
 
@@ -76778,7 +76775,9 @@ const defaultDuration = 2000;
76778
76775
  * @param {string} obj.customClass 自定义样式
76779
76776
  * @param {string} obj.duration 显示时间, 毫秒。设为 0 则不会自动关闭
76780
76777
  */
76778
+
76781
76779
  const nbNotify = obj => {
76780
+ console.log('nbNotify', obj);
76782
76781
  return (0,element_ui_common.Notification)({
76783
76782
  duration: obj.duration === undefined ? defaultDuration : obj.duration,
76784
76783
  center: true,
@@ -76812,11 +76811,7 @@ types.forEach(type => {
76812
76811
  return nbNotify(obj);
76813
76812
  };
76814
76813
  });
76815
-
76816
- // 对应样式styles/element-ui/notification.scss
76817
- (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$nbNotify = nbNotify;
76818
- ;// ./packages/feedback/index.js
76819
-
76814
+ /* harmony default export */ var nb_notify = (nbNotify);
76820
76815
  // EXTERNAL MODULE: ./packages/iconfont/iconfont.css
76821
76816
  var iconfont = __webpack_require__(1970);
76822
76817
  ;// ./locale/lang/zh-CN.js
@@ -76949,7 +76944,7 @@ const i18n = function (fn) {
76949
76944
  /*
76950
76945
  * @Author: chenghuan.dong
76951
76946
  * @Date: 2024-11-08 17:23:47
76952
- * @LastEditTime: 2024-11-13 08:58:15
76947
+ * @LastEditTime: 2024-11-13 11:00:16
76953
76948
  * @LastEditors: chenghuan.dong
76954
76949
  * @Description: 主index.js导出全部组件
76955
76950
  * @FilePath: \nubomed-ui\packages\index.js
@@ -76978,6 +76973,15 @@ const install = function (Vue, options = {}) {
76978
76973
  console.log('nb-' + camelToKebab(component.name.slice(2)));
76979
76974
  Vue.component('nb-' + camelToKebab(component.name.slice(2)), component);
76980
76975
  });
76976
+
76977
+ // 全局
76978
+ try {
76979
+ console.log('nbNotify', nb_notify);
76980
+ console.log(typeof Vue, Vue);
76981
+ Vue.prototype.$nbNotify = nb_notify;
76982
+ } catch (error) {
76983
+ console.error('error', error);
76984
+ }
76981
76985
  };
76982
76986
  if (typeof window !== 'undefined' && window.Vue) {
76983
76987
  install(window.Vue);