nubomed-ui 2.0.36 → 2.0.38
Sign up to get free protection for your applications and to get access to all the features.
package/nubomed-ui.umd.js
CHANGED
@@ -4581,9 +4581,6 @@ const i18n = function (fn) {
|
|
4581
4581
|
t,
|
4582
4582
|
i18n
|
4583
4583
|
});
|
4584
|
-
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
4585
|
-
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(9274);
|
4586
|
-
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
4587
4584
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBNotify/src/index.vue?vue&type=template&id=7bbf5e3c&scoped=true
|
4588
4585
|
var render = function render() {
|
4589
4586
|
var _vm = this,
|
@@ -4769,12 +4766,13 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
4769
4766
|
/*
|
4770
4767
|
* @Author: chenghuan.dong
|
4771
4768
|
* @Date: 2024-11-14 09:44:58
|
4772
|
-
* @LastEditTime: 2024-11-14 14:
|
4769
|
+
* @LastEditTime: 2024-11-14 14:36:01
|
4773
4770
|
* @LastEditors: chenghuan.dong
|
4774
4771
|
* @Description:
|
4775
4772
|
* @FilePath: \nubomed-ui\packages\components\NBNotify\src\notify.js
|
4776
4773
|
*/
|
4777
|
-
|
4774
|
+
// import Vue from 'vue'
|
4775
|
+
const Vue = __webpack_require__(9274);
|
4778
4776
|
|
4779
4777
|
// import merge from '../../../utils/merge'
|
4780
4778
|
// import { PopupManager } from '../../../utils/popup'
|
@@ -4784,11 +4782,11 @@ let instance;
|
|
4784
4782
|
let instances = [];
|
4785
4783
|
let seed = 1;
|
4786
4784
|
const Notify = function (options) {
|
4787
|
-
console.log('Vue',
|
4788
|
-
if (!
|
4785
|
+
console.log('Vue', Vue);
|
4786
|
+
if (!Vue) {
|
4789
4787
|
return;
|
4790
4788
|
}
|
4791
|
-
if (
|
4789
|
+
if (Vue.prototype.$isServer) return;
|
4792
4790
|
options = Object.assign({}, options);
|
4793
4791
|
const userOnClose = options.onClose;
|
4794
4792
|
const id = 'notification_' + seed++;
|
@@ -4796,7 +4794,7 @@ const Notify = function (options) {
|
|
4796
4794
|
options.onClose = function () {
|
4797
4795
|
Notify.close(id, userOnClose);
|
4798
4796
|
};
|
4799
|
-
const NotificationConstructor =
|
4797
|
+
const NotificationConstructor = Vue.extend(NBNotify_src);
|
4800
4798
|
instance = new NotificationConstructor({
|
4801
4799
|
data: options
|
4802
4800
|
});
|
@@ -4867,7 +4865,7 @@ var iconfont = __webpack_require__(3050);
|
|
4867
4865
|
/*
|
4868
4866
|
* @Author: chenghuan.dong
|
4869
4867
|
* @Date: 2024-11-08 17:23:47
|
4870
|
-
* @LastEditTime: 2024-11-14 14:
|
4868
|
+
* @LastEditTime: 2024-11-14 14:32:18
|
4871
4869
|
* @LastEditors: chenghuan.dong
|
4872
4870
|
* @Description: 主index.js导出全部组件
|
4873
4871
|
* @FilePath: \nubomed-ui\packages\index.js
|