iv-npm 1.0.3 → 1.0.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iv-npm",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "公共通用包",
5
5
  "author": "Mr.Cong",
6
6
  "license": "ISC",
@@ -80,4 +80,33 @@ var script = /*#__PURE__*/vue.defineComponent({
80
80
  script.__scopeId = "data-v-78262b33";
81
81
  script.__file = "src/function-ui/component/MrpModal.vue";
82
82
 
83
+ /*
84
+ * @Author: Mr.Cong Wei
85
+ * @Date: 2022-08-08 18:47:06
86
+ * @LastEditTime: 2022-08-09 10:49:47
87
+ */
88
+
89
+ var components = [script];
90
+ installComponents(); // 单独引用
91
+
92
+ function installComponents() {
93
+ components.forEach(function (component) {
94
+ component.install = function (app) {
95
+ app.component(component.name, component);
96
+ };
97
+ });
98
+ } // 全局引用
99
+
100
+
101
+ var install = function install(app) {
102
+ components.forEach(function (component) {
103
+ app.component(component.name, component);
104
+ });
105
+ };
106
+
107
+ var cAll = {
108
+ install: install
109
+ };
110
+
83
111
  exports.MrpModal = script;
112
+ exports["default"] = cAll;
@@ -76,4 +76,32 @@ var script = /*#__PURE__*/defineComponent({
76
76
  script.__scopeId = "data-v-78262b33";
77
77
  script.__file = "src/function-ui/component/MrpModal.vue";
78
78
 
79
- export { script as MrpModal };
79
+ /*
80
+ * @Author: Mr.Cong Wei
81
+ * @Date: 2022-08-08 18:47:06
82
+ * @LastEditTime: 2022-08-09 10:49:47
83
+ */
84
+
85
+ var components = [script];
86
+ installComponents(); // 单独引用
87
+
88
+ function installComponents() {
89
+ components.forEach(function (component) {
90
+ component.install = function (app) {
91
+ app.component(component.name, component);
92
+ };
93
+ });
94
+ } // 全局引用
95
+
96
+
97
+ var install = function install(app) {
98
+ components.forEach(function (component) {
99
+ app.component(component.name, component);
100
+ });
101
+ };
102
+
103
+ var cAll = {
104
+ install: install
105
+ };
106
+
107
+ export { script as MrpModal, cAll as default };