@luzhaoqi/test 0.0.59 → 0.0.61
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 +33 -25
- package/dist/demo.html +1 -0
- package/dist/static/css/127.61a1eaad.css +94 -0
- package/dist/static/css/127.b886ffd7.css +1 -0
- package/dist/static/fonts/z-icons.446ba73c.woff2 +0 -0
- package/dist/static/fonts/z-icons.7dcff2b7.woff +0 -0
- package/dist/static/fonts/z-icons.81823454.ttf +0 -0
- package/dist/static/img/401.1800ba9e.gif +0 -0
- package/dist/static/img/404.458c248a.png +0 -0
- package/dist/static/img/dark.75b2d0c9.svg +39 -0
- package/dist/static/img/light.f19157cf.svg +39 -0
- package/dist/static/img/login-background.6f6c293d.jpg +0 -0
- package/dist/static/img/profile.74856f8b.jpg +0 -0
- package/dist/test.common.127.js +2736 -0
- package/dist/test.common.js +88914 -0
- package/dist/test.css +21 -0
- package/dist/test.umd.127.js +2736 -0
- package/dist/test.umd.js +88925 -0
- package/dist/test.umd.min.127.js +1 -0
- package/dist/test.umd.min.js +67 -0
- package/package.json +50 -32
- package/dist/dict-T4hW9Ftt.mjs +0 -66
- package/dist/dict-Z2p38ghk.mjs +0 -172
- package/dist/dictEdit-bxCtP05H.mjs +0 -187
- package/dist/favicon.ico +0 -0
- package/dist/index-01ya7Vqb.mjs +0 -246
- package/dist/index-5IYbEOry.mjs +0 -107
- package/dist/index-7_pXJ-cF.mjs +0 -120
- package/dist/index-LkpiywJu.mjs +0 -55
- package/dist/index-NpYJRFIi.mjs +0 -34588
- package/dist/index-PlHtmgrn.mjs +0 -82
- package/dist/index-v7z4M_dZ.mjs +0 -162
- package/dist/index-ziBBs_1s.mjs +0 -19
- package/dist/layout-uwC8cv1_.mjs +0 -11
- package/dist/main-LGxmffHJ.mjs +0 -36090
- package/dist/style.css +0 -11
- package/dist/test-kxtmZdsk.mjs +0 -74
- package/dist/type-w_7XTFit.mjs +0 -157
- package/dist/typeEdit-aT5fm3Fv.mjs +0 -146
- package/dist/z-ui3.mjs +0 -37
- package/dist/z-ui3.umd.js +0 -217
package/README.md
CHANGED
|
@@ -1,35 +1,43 @@
|
|
|
1
|
-
|
|
1
|
+
自动增加版本号
|
|
2
|
+
主题色
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
# z-ui 尽量用rollup打包
|
|
5
|
+
## vue2的版本
|
|
6
|
+
**分为webpack打包合rollup打包,每次发包需要修改package.json中的版本号**
|
|
4
7
|
|
|
5
|
-
##
|
|
6
|
-
|
|
7
|
-
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
|
|
8
|
-
|
|
9
|
-
## Customize configuration
|
|
10
|
-
|
|
11
|
-
See [Vite Configuration Reference](https://vitejs.dev/config/).
|
|
12
|
-
|
|
13
|
-
## Project Setup
|
|
14
|
-
|
|
15
|
-
```sh
|
|
16
|
-
npm install
|
|
8
|
+
## webpack命令:
|
|
9
|
+
### npm run lib--webpack
|
|
17
10
|
```
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
```
|
|
22
|
-
|
|
11
|
+
"main": "dist/z-ui.umd.min.js",
|
|
12
|
+
```
|
|
13
|
+
## webpack使用说明 todo有问题未解决
|
|
14
|
+
```js
|
|
15
|
+
import ElementUI from "element-ui";
|
|
16
|
+
import "element-ui/lib/theme-chalk/index.css";
|
|
17
|
+
import ZUI from "@luzhaoqi/z-ui";
|
|
18
|
+
import '@luzhaoqi/z-ui/dist/z-ui.css'
|
|
19
|
+
|
|
20
|
+
Vue.use(ElementUI);
|
|
21
|
+
Vue.use(ZUI);
|
|
23
22
|
```
|
|
24
23
|
|
|
25
|
-
### Compile and Minify for Production
|
|
26
24
|
|
|
27
|
-
|
|
28
|
-
npm run
|
|
25
|
+
## rollup命令:
|
|
26
|
+
### npm run lib--rollup
|
|
29
27
|
```
|
|
28
|
+
"main": "dist/lib-cjs.js",
|
|
29
|
+
或者
|
|
30
|
+
"main": "dist/lib-umd.js",
|
|
31
|
+
```
|
|
32
|
+
|
|
30
33
|
|
|
31
|
-
|
|
34
|
+
## rollup使用说明
|
|
35
|
+
```js
|
|
36
|
+
import ElementUI from "element-ui";
|
|
37
|
+
import "element-ui/lib/theme-chalk/index.css";
|
|
38
|
+
import ZUI from "@luzhaoqi/z-ui";
|
|
39
|
+
import '@luzhaoqi/z-ui/dist/assets/css/index.css'
|
|
32
40
|
|
|
33
|
-
|
|
34
|
-
|
|
41
|
+
Vue.use(ElementUI);
|
|
42
|
+
Vue.use(ZUI);
|
|
35
43
|
```
|
package/dist/demo.html
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<!doctype html><meta charset="utf-8"><title>test demo</title><script src="./test.umd.js"></script><link rel="stylesheet" href="./test.css"><script>console.log(test)</script>
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
.home[data-v-1e70115a] {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
}
|
|
5
|
+
.login-wrapper {
|
|
6
|
+
height: 100%;
|
|
7
|
+
position: relative;
|
|
8
|
+
}
|
|
9
|
+
.login-wrapper .login-bg {
|
|
10
|
+
position: absolute;
|
|
11
|
+
top: 0;
|
|
12
|
+
left: 0;
|
|
13
|
+
width: 100%;
|
|
14
|
+
height: 100%;
|
|
15
|
+
display: block;
|
|
16
|
+
z-index: -1;
|
|
17
|
+
-o-object-fit: cover;
|
|
18
|
+
object-fit: cover;
|
|
19
|
+
}
|
|
20
|
+
.login-wrapper:before {
|
|
21
|
+
content: "";
|
|
22
|
+
position: absolute;
|
|
23
|
+
top: 0;
|
|
24
|
+
left: 0;
|
|
25
|
+
width: 100%;
|
|
26
|
+
height: 100%;
|
|
27
|
+
display: block;
|
|
28
|
+
z-index: 1;
|
|
29
|
+
background: #fff;
|
|
30
|
+
opacity: 0;
|
|
31
|
+
}
|
|
32
|
+
.login-wrapper .login {
|
|
33
|
+
display: flex;
|
|
34
|
+
justify-content: center;
|
|
35
|
+
align-items: center;
|
|
36
|
+
position: absolute;
|
|
37
|
+
top: 0;
|
|
38
|
+
left: 0;
|
|
39
|
+
width: 100%;
|
|
40
|
+
height: 100%;
|
|
41
|
+
z-index: 2;
|
|
42
|
+
overflow: auto;
|
|
43
|
+
}
|
|
44
|
+
.login-form {
|
|
45
|
+
border-radius: 6px;
|
|
46
|
+
background: #ffffff;
|
|
47
|
+
width: 400px;
|
|
48
|
+
padding: 25px 25px 5px 25px;
|
|
49
|
+
}
|
|
50
|
+
.login-form .el-input {
|
|
51
|
+
height: 38px;
|
|
52
|
+
}
|
|
53
|
+
.login-form .el-input input {
|
|
54
|
+
height: 38px;
|
|
55
|
+
}
|
|
56
|
+
.login-form .input-icon {
|
|
57
|
+
height: 39px;
|
|
58
|
+
width: 14px;
|
|
59
|
+
margin-left: 2px;
|
|
60
|
+
}
|
|
61
|
+
.login-form .title {
|
|
62
|
+
margin: 0px auto 30px auto;
|
|
63
|
+
text-align: center;
|
|
64
|
+
color: #707070;
|
|
65
|
+
}
|
|
66
|
+
.login-form .login-tip {
|
|
67
|
+
font-size: 13px;
|
|
68
|
+
text-align: center;
|
|
69
|
+
color: #bfbfbf;
|
|
70
|
+
}
|
|
71
|
+
.login-form .login-code {
|
|
72
|
+
width: 33%;
|
|
73
|
+
height: 38px;
|
|
74
|
+
float: right;
|
|
75
|
+
}
|
|
76
|
+
.login-form .login-code img {
|
|
77
|
+
cursor: pointer;
|
|
78
|
+
vertical-align: middle;
|
|
79
|
+
}
|
|
80
|
+
.el-login-footer {
|
|
81
|
+
height: 40px;
|
|
82
|
+
line-height: 40px;
|
|
83
|
+
position: fixed;
|
|
84
|
+
bottom: 0;
|
|
85
|
+
width: 100%;
|
|
86
|
+
text-align: center;
|
|
87
|
+
color: #fff;
|
|
88
|
+
font-family: Arial;
|
|
89
|
+
font-size: 12px;
|
|
90
|
+
letter-spacing: 1px;
|
|
91
|
+
}
|
|
92
|
+
.login-code-img {
|
|
93
|
+
height: 38px;
|
|
94
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.home[data-v-1e70115a]{width:100%;height:100%}.login-wrapper{height:100%;position:relative}.login-wrapper .login-bg{z-index:-1;-o-object-fit:cover;object-fit:cover}.login-wrapper .login-bg,.login-wrapper:before{position:absolute;top:0;left:0;width:100%;height:100%;display:block}.login-wrapper:before{content:"";z-index:1;background:#fff;opacity:0}.login-wrapper .login{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:2;overflow:auto}.login-form{border-radius:6px;background:#fff;width:400px;padding:25px 25px 5px 25px}.login-form .el-input,.login-form .el-input input{height:38px}.login-form .input-icon{height:39px;width:14px;margin-left:2px}.login-form .title{margin:0 auto 30px auto;text-align:center;color:#707070}.login-form .login-tip{font-size:13px;text-align:center;color:#bfbfbf}.login-form .login-code{width:33%;height:38px;float:right}.login-form .login-code img{cursor:pointer;vertical-align:middle}.el-login-footer{height:40px;line-height:40px;position:fixed;bottom:0;width:100%;text-align:center;color:#fff;font-family:Arial;font-size:12px;letter-spacing:1px}.login-code-img{height:38px}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="52px" height="45px" viewBox="0 0 52 45" version="1.1"
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
5
|
+
<defs>
|
|
6
|
+
<filter x="-9.4%" y="-6.2%" width="118.8%" height="122.5%" filterUnits="objectBoundingBox" id="filter-1">
|
|
7
|
+
<feOffset dx="0" dy="1" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>
|
|
8
|
+
<feGaussianBlur stdDeviation="1" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur>
|
|
9
|
+
<feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0" type="matrix" in="shadowBlurOuter1" result="shadowMatrixOuter1"></feColorMatrix>
|
|
10
|
+
<feMerge>
|
|
11
|
+
<feMergeNode in="shadowMatrixOuter1"></feMergeNode>
|
|
12
|
+
<feMergeNode in="SourceGraphic"></feMergeNode>
|
|
13
|
+
</feMerge>
|
|
14
|
+
</filter>
|
|
15
|
+
<rect id="path-2" x="0" y="0" width="48" height="40" rx="4"></rect>
|
|
16
|
+
<filter x="-4.2%" y="-2.5%" width="108.3%" height="110.0%" filterUnits="objectBoundingBox" id="filter-4">
|
|
17
|
+
<feOffset dx="0" dy="1" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>
|
|
18
|
+
<feGaussianBlur stdDeviation="0.5" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur>
|
|
19
|
+
<feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" type="matrix" in="shadowBlurOuter1"></feColorMatrix>
|
|
20
|
+
</filter>
|
|
21
|
+
</defs>
|
|
22
|
+
<g id="配置面板" width="48" height="40" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
23
|
+
<g id="setting-copy-2" width="48" height="40" transform="translate(-1190.000000, -136.000000)">
|
|
24
|
+
<g id="Group-8" width="48" height="40" transform="translate(1167.000000, 0.000000)">
|
|
25
|
+
<g id="Group-5-Copy-5" filter="url(#filter-1)" transform="translate(25.000000, 137.000000)">
|
|
26
|
+
<mask id="mask-3" fill="white">
|
|
27
|
+
<use xlink:href="#path-2"></use>
|
|
28
|
+
</mask>
|
|
29
|
+
<g id="Rectangle-18">
|
|
30
|
+
<use fill="black" fill-opacity="1" filter="url(#filter-4)" xlink:href="#path-2"></use>
|
|
31
|
+
<use fill="#F0F2F5" fill-rule="evenodd" xlink:href="#path-2"></use>
|
|
32
|
+
</g>
|
|
33
|
+
<rect id="Rectangle-11" fill="#FFFFFF" mask="url(#mask-3)" x="0" y="0" width="48" height="10"></rect>
|
|
34
|
+
<rect id="Rectangle-18" fill="#303648" mask="url(#mask-3)" x="0" y="0" width="16" height="40"></rect>
|
|
35
|
+
</g>
|
|
36
|
+
</g>
|
|
37
|
+
</g>
|
|
38
|
+
</g>
|
|
39
|
+
</svg>
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="52px" height="45px" viewBox="0 0 52 45" version="1.1"
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
5
|
+
<defs>
|
|
6
|
+
<filter x="-9.4%" y="-6.2%" width="118.8%" height="122.5%" filterUnits="objectBoundingBox" id="filter-1">
|
|
7
|
+
<feOffset dx="0" dy="1" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>
|
|
8
|
+
<feGaussianBlur stdDeviation="1" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur>
|
|
9
|
+
<feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0" type="matrix" in="shadowBlurOuter1" result="shadowMatrixOuter1"></feColorMatrix>
|
|
10
|
+
<feMerge>
|
|
11
|
+
<feMergeNode in="shadowMatrixOuter1"></feMergeNode>
|
|
12
|
+
<feMergeNode in="SourceGraphic"></feMergeNode>
|
|
13
|
+
</feMerge>
|
|
14
|
+
</filter>
|
|
15
|
+
<rect id="path-2" x="0" y="0" width="48" height="40" rx="4"></rect>
|
|
16
|
+
<filter x="-4.2%" y="-2.5%" width="108.3%" height="110.0%" filterUnits="objectBoundingBox" id="filter-4">
|
|
17
|
+
<feOffset dx="0" dy="1" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>
|
|
18
|
+
<feGaussianBlur stdDeviation="0.5" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur>
|
|
19
|
+
<feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" type="matrix" in="shadowBlurOuter1"></feColorMatrix>
|
|
20
|
+
</filter>
|
|
21
|
+
</defs>
|
|
22
|
+
<g id="配置面板" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
23
|
+
<g id="setting-copy-2" transform="translate(-1254.000000, -136.000000)">
|
|
24
|
+
<g id="Group-8" transform="translate(1167.000000, 0.000000)">
|
|
25
|
+
<g id="Group-5" filter="url(#filter-1)" transform="translate(89.000000, 137.000000)">
|
|
26
|
+
<mask id="mask-3" fill="white">
|
|
27
|
+
<use xlink:href="#path-2"></use>
|
|
28
|
+
</mask>
|
|
29
|
+
<g id="Rectangle-18">
|
|
30
|
+
<use fill="black" fill-opacity="1" filter="url(#filter-4)" xlink:href="#path-2"></use>
|
|
31
|
+
<use fill="#F0F2F5" fill-rule="evenodd" xlink:href="#path-2"></use>
|
|
32
|
+
</g>
|
|
33
|
+
<rect id="Rectangle-18" fill="#FFFFFF" mask="url(#mask-3)" x="0" y="0" width="16" height="40"></rect>
|
|
34
|
+
<rect id="Rectangle-11" fill="#FFFFFF" mask="url(#mask-3)" x="0" y="0" width="48" height="10"></rect>
|
|
35
|
+
</g>
|
|
36
|
+
</g>
|
|
37
|
+
</g>
|
|
38
|
+
</g>
|
|
39
|
+
</svg>
|
|
Binary file
|
|
Binary file
|