nubomed-ui 2.0.24 → 2.0.25

Sign up to get free protection for your applications and to get access to all the features.
@@ -66983,20 +66983,24 @@ var esnext_iterator_for_each = __webpack_require__(3949);
66983
66983
  function camelToKebab(camelCaseStr) {
66984
66984
  return camelCaseStr.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
66985
66985
  }
66986
+ // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
66987
+ var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(4100);
66988
+ var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
66986
66989
  // EXTERNAL MODULE: ./node_modules/element-ui/lib/element-ui.common.js
66987
66990
  var element_ui_common = __webpack_require__(1052);
66988
66991
  ;// ./packages/feedback/nb-notify.js
66989
66992
  /*
66990
66993
  * @Author: chenghuan.dong
66991
66994
  * @Date: 2024-11-12 17:58:53
66992
- * @LastEditTime: 2024-11-13 14:29:11
66995
+ * @LastEditTime: 2024-11-13 14:24:41
66993
66996
  * @LastEditors: chenghuan.dong
66994
66997
  * @Description: 对应样式styles/element-ui/notification.scss
66995
66998
  * @FilePath: \nubomed-ui\packages\feedback\nb-notify.js
66996
66999
  */
66997
67000
 
66998
67001
 
66999
- const types = ['success', 'warning', 'error'];
67002
+
67003
+ external_commonjs_vue_commonjs2_vue_root_Vue_default().use(element_ui_common.Notification);
67000
67004
 
67001
67005
  /**
67002
67006
  * @param {string} obj.type 图标类型, 可选值: success warning error
@@ -67025,6 +67029,7 @@ function nbNotify(obj) {
67025
67029
  }
67026
67030
 
67027
67031
  // 可直接通过$notify[type]的形式调用
67032
+ const types = ['success', 'warning', 'error'];
67028
67033
  types.forEach(type => {
67029
67034
  nbNotify[type] = obj => {
67030
67035
  if (typeof obj === 'string') {