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.
File without changes
@@ -1933,6 +1933,14 @@ module.exports = __webpack_require__.p + "fonts/iconfont.c068c01a.woff";
1933
1933
 
1934
1934
  /***/ }),
1935
1935
 
1936
+ /***/ 4100:
1937
+ /***/ (function(module) {
1938
+
1939
+ "use strict";
1940
+ module.exports = require("vue");
1941
+
1942
+ /***/ }),
1943
+
1936
1944
  /***/ 9306:
1937
1945
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1938
1946
 
@@ -4563,9 +4571,6 @@ const i18n = function (fn) {
4563
4571
  t,
4564
4572
  i18n
4565
4573
  });
4566
- ;// external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
4567
- var external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject = require("vue");
4568
- var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject);
4569
4574
  ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
4570
4575
  var render = function render() {
4571
4576
  var _vm = this,
@@ -4751,12 +4756,13 @@ var component = (0,componentNormalizer/* default */.A)(
4751
4756
  /*
4752
4757
  * @Author: chenghuan.dong
4753
4758
  * @Date: 2024-11-14 09:44:58
4754
- * @LastEditTime: 2024-11-14 14:03:08
4759
+ * @LastEditTime: 2024-11-14 14:36:01
4755
4760
  * @LastEditors: chenghuan.dong
4756
4761
  * @Description:
4757
4762
  * @FilePath: \nubomed-ui\packages\components\NBNotify\src\notify.js
4758
4763
  */
4759
-
4764
+ // import Vue from 'vue'
4765
+ const Vue = __webpack_require__(4100);
4760
4766
 
4761
4767
  // import merge from '../../../utils/merge'
4762
4768
  // import { PopupManager } from '../../../utils/popup'
@@ -4766,11 +4772,11 @@ let instance;
4766
4772
  let instances = [];
4767
4773
  let seed = 1;
4768
4774
  const Notify = function (options) {
4769
- console.log('Vue', (external_commonjs_vue_commonjs2_vue_root_Vue_default()));
4770
- if (!(external_commonjs_vue_commonjs2_vue_root_Vue_default())) {
4775
+ console.log('Vue', Vue);
4776
+ if (!Vue) {
4771
4777
  return;
4772
4778
  }
4773
- if ((external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$isServer) return;
4779
+ if (Vue.prototype.$isServer) return;
4774
4780
  options = Object.assign({}, options);
4775
4781
  const userOnClose = options.onClose;
4776
4782
  const id = 'notification_' + seed++;
@@ -4778,7 +4784,7 @@ const Notify = function (options) {
4778
4784
  options.onClose = function () {
4779
4785
  Notify.close(id, userOnClose);
4780
4786
  };
4781
- const NotificationConstructor = external_commonjs_vue_commonjs2_vue_root_Vue_default().extend(NBNotify_src);
4787
+ const NotificationConstructor = Vue.extend(NBNotify_src);
4782
4788
  instance = new NotificationConstructor({
4783
4789
  data: options
4784
4790
  });
@@ -4849,7 +4855,7 @@ var iconfont = __webpack_require__(1970);
4849
4855
  /*
4850
4856
  * @Author: chenghuan.dong
4851
4857
  * @Date: 2024-11-08 17:23:47
4852
- * @LastEditTime: 2024-11-14 14:00:53
4858
+ * @LastEditTime: 2024-11-14 14:32:18
4853
4859
  * @LastEditors: chenghuan.dong
4854
4860
  * @Description: 主index.js导出全部组件
4855
4861
  * @FilePath: \nubomed-ui\packages\index.js