ci-plus 1.3.6 → 1.3.8

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/README.md CHANGED
@@ -46,6 +46,24 @@ npm publish
46
46
 
47
47
  ```
48
48
 
49
+ ## 如果用pnpm安装组件后出现组件中某个依赖报错说没有默认导出
50
+
51
+ ```sh
52
+ # 清楚pnpm缓存,删除项目目录的node_modules文件夹
53
+ pnpm store prune
54
+ # 重新安装
55
+ pnpm install
56
+ ```
57
+
58
+ ## 组件库使用说明
59
+
60
+ ```sh
61
+ # 安装组件
62
+ pnpm install ci-plus -S
63
+ # 安装element-plus 和引入
64
+ pnpm install element-plus@2.5.1 @element-plus/icons-vue@2.3.1 -S
65
+ ```
66
+
49
67
  ## svg图标组件使用说明
50
68
 
51
69
  ```ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ci-plus",
3
- "version": "1.3.6",
3
+ "version": "1.3.8",
4
4
  "description": "ci组件库",
5
5
  "main": "./index.ts",
6
6
  "scripts": {
@@ -13,10 +13,23 @@
13
13
  "element-plus",
14
14
  "ui组件库二次封装"
15
15
  ],
16
- "author": "cc",
16
+ "type": "module",
17
+ "author": {
18
+ "name": "卖女孩的小火柴",
19
+ "email": "10000@qq.com"
20
+ },
17
21
  "license": "ISC",
18
- "dependencies": {},
19
- "devDependencies": {},
22
+ "dependencies": {
23
+ "lodash": "^4.17.21",
24
+ "vue-draggable-plus": "^0.4.0",
25
+ "vue3-print-nb": "^0.1.4",
26
+ "vuedraggable": "^2.24.3",
27
+ "qrcode": "^1.5.3",
28
+ "jsbarcode": "^3.11.6"
29
+ },
30
+ "devDependencies": {
31
+ "@vueuse/core": "^9.13.0"
32
+ },
20
33
  "peerDependencies": {},
21
34
  "peerDependenciesMeta": {}
22
35
  }
@@ -25,6 +25,10 @@ declare module '@vue/runtime-core' {
25
25
  CiSeeFile: typeof components.SeeFile
26
26
  CiUpload: typeof components.Upload
27
27
  CiUploadV2: typeof components.UploadV2
28
+
29
+ CiSelect: typeof components.CiSelect
30
+ CiSelectTable: typeof components.CiSelectTable
31
+ CiQueryCondition: typeof components.CiQueryCondition
28
32
  }
29
33
  }
30
34
  export { };
package/src/index.ts CHANGED
@@ -16,4 +16,8 @@ export * from './identificationCard/qrcode'; // 导出标识卡二维码模板
16
16
 
17
17
  export * from './fileRelated/index/ciseeFile'; // 导出附件查看组件
18
18
  export * from './fileRelated/index/ciupload'; // 导出附件上传组件
19
- export * from './fileRelated/index/ciuploadV2'; // 导出附件上传v2组件
19
+ export * from './fileRelated/index/ciuploadV2'; // 导出附件上传v2组件
20
+
21
+ export * from './select/index'; // 导出select组件
22
+ export * from './selectTable/index'; // 导出selectTable组件
23
+ export * from './queryCondition/index'; // 导出queryCondition组件
@@ -0,0 +1,4 @@
1
+ import _QueryCondition from './src/index.vue'
2
+ import { withInstall } from '../utils/index';
3
+ export const CiQueryCondition = withInstall(_QueryCondition)
4
+ export default CiQueryCondition