@bdsoft/element 1.1.22 → 1.1.24
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 +5 -2
- package/{src/global/register-properties.ts → global/index.js} +9 -3
- package/index.js +1 -1
- package/package.json +24 -24
- package/src/assets/css/layout.scss +1 -1
- package/src/assets/images/bg1.svg +21 -21
- package/src/components/screenfull/package.json +15 -15
- package/src/global/index.ts +0 -6
package/README.md
CHANGED
|
@@ -92,8 +92,11 @@ import { BdBar } from '@bdsoft/element'
|
|
|
92
92
|
## 重大变更
|
|
93
93
|
* 1.1.21(20260114)之后写法变了,将element-plus的引用放到项目中去进行注入
|
|
94
94
|
```
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
前置处理:先拉取最新代码然后
|
|
96
|
+
1. pnpm uninstall @bdsoft/element
|
|
97
|
+
2. pnpm install @bdsoft/element@1.1.23
|
|
98
|
+
3. pnpm install element-plus@2.13.1
|
|
99
|
+
4. main.js 处理
|
|
97
100
|
import { useElement } from '@bdsoft/element'
|
|
98
101
|
// 1. 导入 Element Plus 核心和样式
|
|
99
102
|
import ElementPlus from 'element-plus'
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import { App } from 'vue'
|
|
2
|
-
|
|
3
|
-
import { showsuccess, showerror, showwarning, showinfo } from '../utils/message.js'
|
|
2
|
+
import { showsuccess, showerror, showwarning, showinfo } from '../src/utils/message.js'
|
|
4
3
|
// App是用来确定类型
|
|
5
|
-
export default function registerProperties(app
|
|
4
|
+
export default function registerProperties(app) {
|
|
6
5
|
app.config.globalProperties.showsuccess = showsuccess
|
|
7
6
|
app.config.globalProperties.showerror = showerror
|
|
8
7
|
app.config.globalProperties.showwarning = showwarning
|
|
9
8
|
app.config.globalProperties.showinfo = showinfo
|
|
10
9
|
}
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
export function globalRegister(app) {
|
|
14
|
+
app.use(registerProperties)
|
|
15
|
+
}
|
|
16
|
+
|
package/index.js
CHANGED
|
@@ -83,7 +83,7 @@ export { useElement }
|
|
|
83
83
|
// 功能 showwarning, showsuccess, showerror, showconfirm
|
|
84
84
|
export * from './src/utils/message.js'
|
|
85
85
|
export * from './src/utils/index.js'
|
|
86
|
-
export * from './
|
|
86
|
+
export * from './global/index.ts'
|
|
87
87
|
export * from './src/utils/hookDialog.js'
|
|
88
88
|
export * from './src/utils/hookPage.js' // 分页hook函数
|
|
89
89
|
// export { dayjs }
|
package/package.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@bdsoft/element",
|
|
3
|
-
"description": "内部UI组件",
|
|
4
|
-
"version": "1.1.
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "index.js",
|
|
7
|
-
"peerDependencies": {
|
|
8
|
-
"vue": "^3.3.0"
|
|
9
|
-
},
|
|
10
|
-
"peerDependenciesMeta": {
|
|
11
|
-
"element-plus": {
|
|
12
|
-
"optional": false
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"scripts": {
|
|
16
|
-
"dev": "vite",
|
|
17
|
-
"build": "vite build",
|
|
18
|
-
"preview": "vite preview"
|
|
19
|
-
},
|
|
20
|
-
"dependencies": {
|
|
21
|
-
"@element-plus/icons-vue": "^2.3.2",
|
|
22
|
-
"splitpanes": "4.0.4"
|
|
23
|
-
}
|
|
24
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@bdsoft/element",
|
|
3
|
+
"description": "内部UI组件",
|
|
4
|
+
"version": "1.1.24",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "index.js",
|
|
7
|
+
"peerDependencies": {
|
|
8
|
+
"vue": "^3.3.0"
|
|
9
|
+
},
|
|
10
|
+
"peerDependenciesMeta": {
|
|
11
|
+
"element-plus": {
|
|
12
|
+
"optional": false
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"scripts": {
|
|
16
|
+
"dev": "vite",
|
|
17
|
+
"build": "vite build",
|
|
18
|
+
"preview": "vite preview"
|
|
19
|
+
},
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"@element-plus/icons-vue": "^2.3.2",
|
|
22
|
+
"splitpanes": "4.0.4"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
<svg width="380" height="399" viewBox="0 0 380 399" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g filter="url(#filter0_f_358_604)">
|
|
3
|
-
<ellipse cx="191" cy="-57.219" rx="89" ry="98.781" fill="#AEC9FF" />
|
|
4
|
-
</g>
|
|
5
|
-
<g opacity="0.8" filter="url(#filter1_f_358_604)">
|
|
6
|
-
<ellipse cx="391" cy="39.9719" rx="150" ry="158.068" fill="#E0D5FF" />
|
|
7
|
-
</g>
|
|
8
|
-
<defs>
|
|
9
|
-
<filter id="filter0_f_358_604" x="-98" y="-356" width="578" height="597.562" filterUnits="userSpaceOnUse"
|
|
10
|
-
color-interpolation-filters="sRGB">
|
|
11
|
-
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
12
|
-
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
|
|
13
|
-
<feGaussianBlur stdDeviation="100" result="effect1_foregroundBlur_358_604" />
|
|
14
|
-
</filter>
|
|
15
|
-
<filter id="filter1_f_358_604" x="41" y="-318.096" width="700" height="716.135" filterUnits="userSpaceOnUse"
|
|
16
|
-
color-interpolation-filters="sRGB">
|
|
17
|
-
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
18
|
-
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
|
|
19
|
-
<feGaussianBlur stdDeviation="100" result="effect1_foregroundBlur_358_604" />
|
|
20
|
-
</filter>
|
|
21
|
-
</defs>
|
|
1
|
+
<svg width="380" height="399" viewBox="0 0 380 399" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g filter="url(#filter0_f_358_604)">
|
|
3
|
+
<ellipse cx="191" cy="-57.219" rx="89" ry="98.781" fill="#AEC9FF" />
|
|
4
|
+
</g>
|
|
5
|
+
<g opacity="0.8" filter="url(#filter1_f_358_604)">
|
|
6
|
+
<ellipse cx="391" cy="39.9719" rx="150" ry="158.068" fill="#E0D5FF" />
|
|
7
|
+
</g>
|
|
8
|
+
<defs>
|
|
9
|
+
<filter id="filter0_f_358_604" x="-98" y="-356" width="578" height="597.562" filterUnits="userSpaceOnUse"
|
|
10
|
+
color-interpolation-filters="sRGB">
|
|
11
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
12
|
+
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
|
|
13
|
+
<feGaussianBlur stdDeviation="100" result="effect1_foregroundBlur_358_604" />
|
|
14
|
+
</filter>
|
|
15
|
+
<filter id="filter1_f_358_604" x="41" y="-318.096" width="700" height="716.135" filterUnits="userSpaceOnUse"
|
|
16
|
+
color-interpolation-filters="sRGB">
|
|
17
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
18
|
+
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
|
|
19
|
+
<feGaussianBlur stdDeviation="100" result="effect1_foregroundBlur_358_604" />
|
|
20
|
+
</filter>
|
|
21
|
+
</defs>
|
|
22
22
|
</svg>
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@bdsoft/element-screenfull",
|
|
3
|
-
"version": "1.1.2",
|
|
4
|
-
"description": "",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
-
},
|
|
9
|
-
"keywords": [],
|
|
10
|
-
"author": "",
|
|
11
|
-
"license": "ISC",
|
|
12
|
-
"dependencies": {
|
|
13
|
-
"screenfull": "^6.0.2"
|
|
14
|
-
}
|
|
15
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@bdsoft/element-screenfull",
|
|
3
|
+
"version": "1.1.2",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
+
},
|
|
9
|
+
"keywords": [],
|
|
10
|
+
"author": "",
|
|
11
|
+
"license": "ISC",
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"screenfull": "^6.0.2"
|
|
14
|
+
}
|
|
15
|
+
}
|