iv-npm 1.2.11 → 1.2.12

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.2.11",
3
+ "version": "1.2.12",
4
4
  "description": "公共通用包",
5
5
  "author": "Mr.Cong",
6
6
  "license": "ISC",
@@ -1,30 +1,30 @@
1
- {
2
- "name": "@IVNPM/shared",
3
- "version": "1.0.0",
4
- "private": false,
5
- "description": "IVNPM/shared",
6
- "scripts": {
7
- "prepare": "npm run build",
8
- "dev": "tsup --watch",
9
- "build": "tsup"
10
- },
11
- "main": "dist/utils/index.mjs",
12
- "module": "dist/utils/index.mjs",
13
- "types": "dist/utils/index.d.ts",
14
- "files": [
15
- "index.js",
16
- "dist"
17
- ],
18
- "author": "Mr.Cong",
19
- "license": "ISC",
20
- "devDependencies": {
21
- "rollup-plugin-copy": "^3.4.0",
22
- "tsup": "^6.2.1"
23
- },
24
- "peerDependencies": {
25
- "ant-design-vue": "^3.2.5"
26
- },
27
- "dependencies": {
28
- "nanoid": "^4.0.0"
29
- }
30
- }
1
+ {
2
+ "name": "@IVNPM/shared",
3
+ "version": "1.0.0",
4
+ "private": false,
5
+ "description": "IVNPM/shared",
6
+ "scripts": {
7
+ "prepare": "npm run build",
8
+ "dev": "tsup --watch",
9
+ "build": "tsup"
10
+ },
11
+ "main": "dist/utils/index.mjs",
12
+ "module": "dist/utils/index.mjs",
13
+ "types": "dist/utils/index.d.ts",
14
+ "files": [
15
+ "index.js",
16
+ "dist"
17
+ ],
18
+ "author": "Mr.Cong",
19
+ "license": "ISC",
20
+ "devDependencies": {
21
+ "rollup-plugin-copy": "^3.4.0",
22
+ "tsup": "^6.2.1"
23
+ },
24
+ "peerDependencies": {
25
+ "ant-design-vue": "^3.2.5"
26
+ },
27
+ "dependencies": {
28
+ "nanoid": "^4.0.0"
29
+ }
30
+ }
@@ -7266,27 +7266,27 @@ var script = /*#__PURE__*/vue.defineComponent({
7266
7266
 
7267
7267
  script.__file = "src/business-ui/component/IVMaterialSelector.vue";
7268
7268
 
7269
- /*
7270
- * @Author: Mr.Cong Wei
7271
- * @Date: 2022-08-08 18:47:06
7272
- * @LastEditTime: 2022-08-16 13:33:51
7273
- */
7274
7269
  var components = [script$o, script$l, script$k, script$j, script$i, script$h, script$g, script$n, script$m, script$f, script$e, script$d, script$c, script$2, script$1, script, script$b, script$a, script$9, script$7, script$6, script$4, script$3];
7275
7270
  installComponents(); // 单独引用
7276
7271
 
7277
7272
  function installComponents() {
7278
7273
  components.forEach(function (component) {
7279
7274
  component.install = function (app) {
7280
- app.component(component.name, component);
7275
+ app.component(component.__name, component);
7281
7276
  };
7282
7277
  });
7283
7278
  } // 全局引用
7284
7279
 
7285
7280
 
7286
7281
  var install = function install(app) {
7287
- components.forEach(function (component) {
7288
- app.component(component.name, component);
7282
+ Object.keys(components).forEach(function (key) {
7283
+ var component = components[key];
7284
+
7285
+ if (component.install) {
7286
+ app.use(component);
7287
+ }
7289
7288
  });
7289
+ return app;
7290
7290
  };
7291
7291
 
7292
7292
  var cAll = {
@@ -1,8 +1,9 @@
1
+ import type { App } from "vue";
1
2
  import { IVModal, IVTable, IVTableControl } from "./function-ui/index";
2
3
  import { IVOrgDropdown, IVProdBaseDropdown, IVLineDropdown, IVSetofbookDropdown, IVPostDropdown, IVManagDropdown, IVRateDropdown, IVUnitDropdown, IVMaterialTypeDropdown, IVProjectSelector, IVUserSelector, IVVendorSelector, IVMaterialSelector, IVMainContractSelector, IVInnerContractSelector, IVOuterContractSelector, IVFileUpload, IVTimeSelector, IVClientSelector, IVPaytypeSelector } from "./business-ui/index";
3
4
  import "./style.scss";
4
5
  declare const cAll: {
5
- install: (app: any) => void;
6
+ install: (app: App) => App;
6
7
  };
7
8
  export { IVModal, IVOrgDropdown, IVProdBaseDropdown, IVLineDropdown, IVSetofbookDropdown, IVPostDropdown, IVManagDropdown, IVTable, IVTableControl, IVRateDropdown, IVUnitDropdown, IVMaterialTypeDropdown, IVProjectSelector, IVUserSelector, IVVendorSelector, IVMaterialSelector, IVMainContractSelector, IVInnerContractSelector, IVOuterContractSelector, IVFileUpload, IVTimeSelector, IVClientSelector, IVPaytypeSelector, };
8
9
  export default cAll;
@@ -7262,27 +7262,27 @@ var script = /*#__PURE__*/defineComponent({
7262
7262
 
7263
7263
  script.__file = "src/business-ui/component/IVMaterialSelector.vue";
7264
7264
 
7265
- /*
7266
- * @Author: Mr.Cong Wei
7267
- * @Date: 2022-08-08 18:47:06
7268
- * @LastEditTime: 2022-08-16 13:33:51
7269
- */
7270
7265
  var components = [script$o, script$l, script$k, script$j, script$i, script$h, script$g, script$n, script$m, script$f, script$e, script$d, script$c, script$2, script$1, script, script$b, script$a, script$9, script$7, script$6, script$4, script$3];
7271
7266
  installComponents(); // 单独引用
7272
7267
 
7273
7268
  function installComponents() {
7274
7269
  components.forEach(function (component) {
7275
7270
  component.install = function (app) {
7276
- app.component(component.name, component);
7271
+ app.component(component.__name, component);
7277
7272
  };
7278
7273
  });
7279
7274
  } // 全局引用
7280
7275
 
7281
7276
 
7282
7277
  var install = function install(app) {
7283
- components.forEach(function (component) {
7284
- app.component(component.name, component);
7278
+ Object.keys(components).forEach(function (key) {
7279
+ var component = components[key];
7280
+
7281
+ if (component.install) {
7282
+ app.use(component);
7283
+ }
7285
7284
  });
7285
+ return app;
7286
7286
  };
7287
7287
 
7288
7288
  var cAll = {
@@ -7266,27 +7266,27 @@
7266
7266
 
7267
7267
  script.__file = "src/business-ui/component/IVMaterialSelector.vue";
7268
7268
 
7269
- /*
7270
- * @Author: Mr.Cong Wei
7271
- * @Date: 2022-08-08 18:47:06
7272
- * @LastEditTime: 2022-08-16 13:33:51
7273
- */
7274
7269
  var components = [script$o, script$l, script$k, script$j, script$i, script$h, script$g, script$n, script$m, script$f, script$e, script$d, script$c, script$2, script$1, script, script$b, script$a, script$9, script$7, script$6, script$4, script$3];
7275
7270
  installComponents(); // 单独引用
7276
7271
 
7277
7272
  function installComponents() {
7278
7273
  components.forEach(function (component) {
7279
7274
  component.install = function (app) {
7280
- app.component(component.name, component);
7275
+ app.component(component.__name, component);
7281
7276
  };
7282
7277
  });
7283
7278
  } // 全局引用
7284
7279
 
7285
7280
 
7286
7281
  var install = function install(app) {
7287
- components.forEach(function (component) {
7288
- app.component(component.name, component);
7282
+ Object.keys(components).forEach(function (key) {
7283
+ var component = components[key];
7284
+
7285
+ if (component.install) {
7286
+ app.use(component);
7287
+ }
7289
7288
  });
7289
+ return app;
7290
7290
  };
7291
7291
 
7292
7292
  var cAll = {
@@ -1,60 +1,60 @@
1
- {
2
- "name": "@IVNPM/ui",
3
- "version": "1.0.0",
4
- "description": "IVNPM/ui",
5
- "scripts": {
6
- "start": "npm run dev",
7
- "dev": "rollup --config rollup.config.js --watch",
8
- "build": "rollup --config rollup.config.js",
9
- "prepare": "npm run build"
10
- },
11
- "main": "dist/index.esm.js",
12
- "module": "dist/index.esm.js",
13
- "types": "dist/index.d.ts",
14
- "files": [
15
- "index.js",
16
- "dist"
17
- ],
18
- "publishConfig": {
19
- "access": "public",
20
- "registry": "https://registry.npmjs.org/"
21
- },
22
- "peerDependencies": {
23
- "ant-design-vue": "^3.2.5",
24
- "typescript": "^4.7.4",
25
- "vue": "^3.2.25"
26
- },
27
- "devDependencies": {
28
- "@IVNPM/shared": "workspace:*",
29
- "@babel/core": "^7.18.10",
30
- "@babel/node": "^7.18.10",
31
- "@babel/plugin-proposal-object-rest-spread": "^7.18.9",
32
- "@babel/plugin-syntax-object-rest-spread": "^7.8.3",
33
- "@babel/plugin-transform-runtime": "^7.18.10",
34
- "@babel/preset-env": "^7.18.10",
35
- "@babel/runtime": "^7.18.9",
36
- "@rollup/plugin-babel": "^5.3.1",
37
- "@rollup/plugin-commonjs": "^22.0.2",
38
- "@rollup/plugin-json": "^4.1.0",
39
- "@rollup/plugin-node-resolve": "^13.3.0",
40
- "@types/node": "^18.6.4",
41
- "@vue/compiler-sfc": "^3.2.37",
42
- "ant-design-vue": "^3.2.11",
43
- "node-sass": "^7.0.1",
44
- "postcss": "^8.4.16",
45
- "rollup": "^2.77.2",
46
- "rollup-plugin-cleanup": "^3.2.1",
47
- "rollup-plugin-postcss": "^4.0.2",
48
- "rollup-plugin-sourcemaps": "^0.6.3",
49
- "rollup-plugin-terser": "^7.0.2",
50
- "rollup-plugin-typescript2": "^0.32.1",
51
- "rollup-plugin-vue": "^6.0.0",
52
- "sass": "^1.54.3",
53
- "tslib": "^2.4.0",
54
- "typescript": "^4.7.4",
55
- "vue": "^3.2.37"
56
- },
57
- "keywords": [],
58
- "author": "",
59
- "license": "ISC"
60
- }
1
+ {
2
+ "name": "@IVNPM/ui",
3
+ "version": "1.0.0",
4
+ "description": "IVNPM/ui",
5
+ "scripts": {
6
+ "start": "npm run dev",
7
+ "dev": "rollup --config rollup.config.js --watch",
8
+ "build": "rollup --config rollup.config.js",
9
+ "prepare": "npm run build"
10
+ },
11
+ "main": "dist/index.esm.js",
12
+ "module": "dist/index.esm.js",
13
+ "types": "dist/index.d.ts",
14
+ "files": [
15
+ "index.js",
16
+ "dist"
17
+ ],
18
+ "publishConfig": {
19
+ "access": "public",
20
+ "registry": "https://registry.npmjs.org/"
21
+ },
22
+ "peerDependencies": {
23
+ "ant-design-vue": "^3.2.5",
24
+ "typescript": "^4.7.4",
25
+ "vue": "^3.2.25"
26
+ },
27
+ "devDependencies": {
28
+ "@IVNPM/shared": "workspace:*",
29
+ "@babel/core": "^7.18.10",
30
+ "@babel/node": "^7.18.10",
31
+ "@babel/plugin-proposal-object-rest-spread": "^7.18.9",
32
+ "@babel/plugin-syntax-object-rest-spread": "^7.8.3",
33
+ "@babel/plugin-transform-runtime": "^7.18.10",
34
+ "@babel/preset-env": "^7.18.10",
35
+ "@babel/runtime": "^7.18.9",
36
+ "@rollup/plugin-babel": "^5.3.1",
37
+ "@rollup/plugin-commonjs": "^22.0.2",
38
+ "@rollup/plugin-json": "^4.1.0",
39
+ "@rollup/plugin-node-resolve": "^13.3.0",
40
+ "@types/node": "^18.6.4",
41
+ "@vue/compiler-sfc": "^3.2.37",
42
+ "ant-design-vue": "^3.2.11",
43
+ "node-sass": "^7.0.1",
44
+ "postcss": "^8.4.16",
45
+ "rollup": "^2.77.2",
46
+ "rollup-plugin-cleanup": "^3.2.1",
47
+ "rollup-plugin-postcss": "^4.0.2",
48
+ "rollup-plugin-sourcemaps": "^0.6.3",
49
+ "rollup-plugin-terser": "^7.0.2",
50
+ "rollup-plugin-typescript2": "^0.32.1",
51
+ "rollup-plugin-vue": "^6.0.0",
52
+ "sass": "^1.54.3",
53
+ "tslib": "^2.4.0",
54
+ "typescript": "^4.7.4",
55
+ "vue": "^3.2.37"
56
+ },
57
+ "keywords": [],
58
+ "author": "",
59
+ "license": "ISC"
60
+ }