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.
package/nubomed-ui.umd.js
CHANGED
@@ -66993,20 +66993,24 @@ 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_);
|
66996
66999
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/element-ui.common.js
|
66997
67000
|
var element_ui_common = __webpack_require__(1052);
|
66998
67001
|
;// ./packages/feedback/nb-notify.js
|
66999
67002
|
/*
|
67000
67003
|
* @Author: chenghuan.dong
|
67001
67004
|
* @Date: 2024-11-12 17:58:53
|
67002
|
-
* @LastEditTime: 2024-11-13 14:
|
67005
|
+
* @LastEditTime: 2024-11-13 14:24:41
|
67003
67006
|
* @LastEditors: chenghuan.dong
|
67004
67007
|
* @Description: 对应样式styles/element-ui/notification.scss
|
67005
67008
|
* @FilePath: \nubomed-ui\packages\feedback\nb-notify.js
|
67006
67009
|
*/
|
67007
67010
|
|
67008
67011
|
|
67009
|
-
|
67012
|
+
|
67013
|
+
external_commonjs_vue_commonjs2_vue_root_Vue_default().use(element_ui_common.Notification);
|
67010
67014
|
|
67011
67015
|
/**
|
67012
67016
|
* @param {string} obj.type 图标类型, 可选值: success warning error
|
@@ -67035,6 +67039,7 @@ function nbNotify(obj) {
|
|
67035
67039
|
}
|
67036
67040
|
|
67037
67041
|
// 可直接通过$notify[type]的形式调用
|
67042
|
+
const types = ['success', 'warning', 'error'];
|
67038
67043
|
types.forEach(type => {
|
67039
67044
|
nbNotify[type] = obj => {
|
67040
67045
|
if (typeof obj === 'string') {
|