nubomed-ui 2.0.25 → 2.0.27

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.

package/nubomed-ui.umd.js CHANGED
@@ -66993,16 +66993,13 @@ var esnext_iterator_for_each = __webpack_require__(3949);
66993
66993
  function camelToKebab(camelCaseStr) {
66994
66994
  return camelCaseStr.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
66995
66995
  }
66996
- // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
66997
- var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(9274);
66998
- var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
66999
66996
  // EXTERNAL MODULE: ./node_modules/element-ui/lib/element-ui.common.js
67000
66997
  var element_ui_common = __webpack_require__(1052);
67001
66998
  ;// ./packages/feedback/nb-notify.js
67002
66999
  /*
67003
67000
  * @Author: chenghuan.dong
67004
67001
  * @Date: 2024-11-12 17:58:53
67005
- * @LastEditTime: 2024-11-13 14:24:41
67002
+ * @LastEditTime: 2024-11-13 14:52:42
67006
67003
  * @LastEditors: chenghuan.dong
67007
67004
  * @Description: 对应样式styles/element-ui/notification.scss
67008
67005
  * @FilePath: \nubomed-ui\packages\feedback\nb-notify.js
@@ -67010,8 +67007,6 @@ var element_ui_common = __webpack_require__(1052);
67010
67007
 
67011
67008
 
67012
67009
 
67013
- external_commonjs_vue_commonjs2_vue_root_Vue_default().use(element_ui_common.Notification);
67014
-
67015
67010
  /**
67016
67011
  * @param {string} obj.type 图标类型, 可选值: success warning error
67017
67012
  * @param {string} obj.title 标题,支持换行显示,用<br>隔开
@@ -67019,7 +67014,7 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default().use(element_ui_common.Not
67019
67014
  * @param {string} obj.duration 显示时间, 毫秒。设为 0 则不会自动关闭
67020
67015
  */
67021
67016
 
67022
- function nbNotify(obj) {
67017
+ const nbNotify = obj => {
67023
67018
  return (0,element_ui_common.Notification)({
67024
67019
  duration: obj.duration === undefined ? 2000 : obj.duration,
67025
67020
  center: true,
@@ -67036,7 +67031,7 @@ function nbNotify(obj) {
67036
67031
  }
67037
67032
  }
67038
67033
  });
67039
- }
67034
+ };
67040
67035
 
67041
67036
  // 可直接通过$notify[type]的形式调用
67042
67037
  const types = ['success', 'warning', 'error'];
@@ -67054,7 +67049,7 @@ types.forEach(type => {
67054
67049
  return nbNotify(obj);
67055
67050
  };
67056
67051
  });
67057
-
67052
+ /* harmony default export */ var nb_notify = (nbNotify);
67058
67053
  // EXTERNAL MODULE: ./packages/iconfont/iconfont.css
67059
67054
  var iconfont = __webpack_require__(3050);
67060
67055
  ;// ./locale/lang/zh-CN.js
@@ -67187,7 +67182,7 @@ const i18n = function (fn) {
67187
67182
  /*
67188
67183
  * @Author: chenghuan.dong
67189
67184
  * @Date: 2024-11-08 17:23:47
67190
- * @LastEditTime: 2024-11-13 14:19:30
67185
+ * @LastEditTime: 2024-11-13 15:13:12
67191
67186
  * @LastEditors: chenghuan.dong
67192
67187
  * @Description: 主index.js导出全部组件
67193
67188
  * @FilePath: \nubomed-ui\packages\index.js
@@ -67218,11 +67213,13 @@ const install = function (Vue, options = {}) {
67218
67213
  });
67219
67214
 
67220
67215
  // 全局
67221
- Vue.prototype.$nbNotify = nbNotify;
67216
+ Vue.prototype.$nbNotify = nb_notify;
67222
67217
  };
67223
- if (typeof window !== 'undefined' && window.Vue) {
67224
- install(window.Vue);
67225
- }
67218
+
67219
+ // if (typeof window !== 'undefined' && window.Vue) {
67220
+ // install(window.Vue)
67221
+ // }
67222
+
67226
67223
  const packages_i18n = locale.i18n;
67227
67224
  /* harmony default export */ var packages_0 = ({
67228
67225
  install,