@el-plus/ui 0.0.5 → 0.0.7

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # el-plus
2
2
 
3
+ ## 0.0.7
4
+
5
+ ### Patch Changes
6
+
7
+ - 增加http
8
+
9
+ ## 0.0.6
10
+
11
+ ### Patch Changes
12
+
13
+ - fix: ts类型修改
14
+
3
15
  ## 0.0.5
4
16
 
5
17
  ### Patch Changes
package/README.md CHANGED
@@ -1,5 +1,3 @@
1
- # Fang Common
2
-
3
1
  基于 pnpm workspace + ts + element-plus 开发
4
2
 
5
3
  ## 完整引入
package/components.ts CHANGED
@@ -2,8 +2,21 @@ import type { Plugin } from 'vue'
2
2
  import Buttons from '@el-plus/components/buttons'
3
3
  import Form from '@el-plus/components/form'
4
4
  import Input from '@el-plus/components/input'
5
- import SearchListPage from '@el-plus/components/searchListPage'
5
+ import SearchListPage from '@el-plus/components/search-list-page'
6
6
  import Select from '@el-plus/components/select'
7
7
  import Table from '@el-plus/components/table'
8
+ import Title from '@el-plus/components/title'
9
+ import Header from '@el-plus/components/header'
10
+ import DatePickerRange from '@el-plus/components/date-picker-range'
8
11
 
9
- export default [Buttons, Form, Input, SearchListPage, Select, Table] as Plugin[]
12
+ export default [
13
+ Buttons,
14
+ Form,
15
+ Input,
16
+ SearchListPage,
17
+ Select,
18
+ Table,
19
+ Title,
20
+ Header,
21
+ DatePickerRange,
22
+ ] as Plugin[]
package/index.ts CHANGED
@@ -1,8 +1,11 @@
1
1
  import type { App, Plugin } from 'vue'
2
2
  import components from './components'
3
3
  import { version } from './package.json'
4
+ import * as plugins from './plugins'
5
+
4
6
  export const install = (app: App, options?: Record<string, any>) => {
5
7
  components.forEach((c) => app.use(c))
8
+ Object.values(plugins).forEach((p) => app.use(p))
6
9
  if (options) {
7
10
  }
8
11
  }
package/package.json CHANGED
@@ -1,23 +1,24 @@
1
1
  {
2
2
  "name": "@el-plus/ui",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "description": "pro base on element-plus",
5
5
  "module": "index.ts",
6
6
  "keywords": [
7
7
  "element-plus",
8
- "vue3"
8
+ "vue3",
9
+ "typescript"
9
10
  ],
10
11
  "author": "pengfei.yin",
11
12
  "license": "MIT",
12
13
  "peerDependencies": {
13
14
  "axios": "1.13.2",
14
- "element-plus": "2.11.9",
15
- "vue": "3.5.26"
15
+ "element-plus": "2.13.0",
16
+ "vue": "^3.5.26"
16
17
  },
17
18
  "devDependencies": {
18
19
  "axios": "1.13.2",
19
- "element-plus": "2.11.9",
20
- "vue": "3.5.26"
20
+ "element-plus": "2.13.0",
21
+ "vue": "^3.5.26"
21
22
  },
22
23
  "dependencies": {
23
24
  "@el-plus/components": "^0.0.1"
@@ -0,0 +1,5 @@
1
+ export default {
2
+ install(app) {
3
+ app.config.globalProperties.$test = 'test'
4
+ },
5
+ }
@@ -0,0 +1 @@
1
+ export { default as globalProperties } from './globalProperties'