fly-el-form 0.0.28 → 0.0.29
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/lib/fly-el-form.es.js +7 -7
- package/lib/fly-el-form.umd.js +2948 -4
- package/lib/style.css +123 -1
- package/package.json +11 -1
package/lib/style.css
CHANGED
|
@@ -1 +1,123 @@
|
|
|
1
|
-
.fly-form
|
|
1
|
+
.fly-form {
|
|
2
|
+
position: relative;
|
|
3
|
+
}
|
|
4
|
+
.fly-form .el-form {
|
|
5
|
+
padding: 0;
|
|
6
|
+
}
|
|
7
|
+
.fly-form .el-form .el-row {
|
|
8
|
+
margin-bottom: 5px;
|
|
9
|
+
}
|
|
10
|
+
.fly-form .el-form .el-row .el-col .el-form-item {
|
|
11
|
+
width: 100%;
|
|
12
|
+
}
|
|
13
|
+
.fly-form .el-form .el-row .el-col:last-child {
|
|
14
|
+
padding-right: 0;
|
|
15
|
+
}
|
|
16
|
+
.fly-form .el-form .el-row .el-col .el-input-number,
|
|
17
|
+
.fly-form .el-form .el-row .el-col .el-cascader,
|
|
18
|
+
.fly-form .el-form .el-row .el-col .el-date-picker,
|
|
19
|
+
.fly-form .el-form .el-row .el-col .el-date-editor--date {
|
|
20
|
+
width: 100%;
|
|
21
|
+
}
|
|
22
|
+
.fly-form .el-form .fly-form-row {
|
|
23
|
+
width: 100%;
|
|
24
|
+
}
|
|
25
|
+
.fly-form .el-form .fly-form-row > .fly-form-item {
|
|
26
|
+
width: 100%;
|
|
27
|
+
}
|
|
28
|
+
.fly-form .el-form--inline .el-date-editor.el-input,
|
|
29
|
+
.fly-form .el-form--inline .el-date-editor.el-input__inner {
|
|
30
|
+
width: 200px;
|
|
31
|
+
}
|
|
32
|
+
.fly-form .el-form--inline .el-form-item {
|
|
33
|
+
width: 200px;
|
|
34
|
+
margin-right: 12px;
|
|
35
|
+
}
|
|
36
|
+
.fly-form .ivu-cascader {
|
|
37
|
+
line-height: inherit;
|
|
38
|
+
}
|
|
39
|
+
.fly-form .ivu-input-number {
|
|
40
|
+
width: 100% !important;
|
|
41
|
+
}
|
|
42
|
+
.fly-form .ivu-select-input {
|
|
43
|
+
background-color: #041538 !important;
|
|
44
|
+
height: 30px !important;
|
|
45
|
+
color: #fff !important;
|
|
46
|
+
}
|
|
47
|
+
.fly-form .ivu-input-word-count {
|
|
48
|
+
background: none;
|
|
49
|
+
}
|
|
50
|
+
.fly-form .ivu-input-type-textarea .ivu-input {
|
|
51
|
+
height: auto !important;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.fly-form-footer {
|
|
55
|
+
padding: 0 10px;
|
|
56
|
+
}
|
|
57
|
+
.fly-form-footer .el-button {
|
|
58
|
+
margin: 0 5px;
|
|
59
|
+
}
|
|
60
|
+
.fly-form-footer .el-button.last-child {
|
|
61
|
+
margin-right: 0;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.my-form-spin-icon-load {
|
|
65
|
+
animation: ani-form-spin 1s linear infinite;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@keyframes ani-form-spin {
|
|
69
|
+
from {
|
|
70
|
+
transform: rotate(0deg);
|
|
71
|
+
}
|
|
72
|
+
50% {
|
|
73
|
+
transform: rotate(180deg);
|
|
74
|
+
}
|
|
75
|
+
to {
|
|
76
|
+
transform: rotate(360deg);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
.fly-form-hide-label .el-form-item__label {
|
|
80
|
+
display: none !important;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.ivu-form-label-top .el-form-item__label {
|
|
84
|
+
text-align: left !important;
|
|
85
|
+
}
|
|
86
|
+
.ivu-form-label-top .ivu-form-item-content {
|
|
87
|
+
margin-left: 0 !important;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.ivu-form-label-right .el-form-item__label {
|
|
91
|
+
text-align: right !important;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.fly-search .el-form-item {
|
|
95
|
+
margin-bottom: 0px;
|
|
96
|
+
}
|
|
97
|
+
.fly-search .ivu-form-item-error .ivu-select-arrow {
|
|
98
|
+
color: #808695;
|
|
99
|
+
}
|
|
100
|
+
.fly-search .ivu-form-item-error-tip {
|
|
101
|
+
display: none;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.fly-form-title {
|
|
105
|
+
margin: 5px 0 !important;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.fly-form-buttons {
|
|
109
|
+
display: inline-flex;
|
|
110
|
+
width: auto !important;
|
|
111
|
+
}
|
|
112
|
+
.fly-form-buttons .el-button:last-child {
|
|
113
|
+
margin-right: 0;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.fly-form-item-tips {
|
|
117
|
+
display: inline-flex;
|
|
118
|
+
align-items: center;
|
|
119
|
+
}
|
|
120
|
+
.fly-form-item-tips .fly-form-item-tips-icon {
|
|
121
|
+
margin-left: 5px;
|
|
122
|
+
cursor: pointer;
|
|
123
|
+
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fly-el-form",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.29",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "flycat",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"description": "A Vue 3 library for building dynamic forms with Element Plus",
|
|
8
8
|
"main": "lib/fly-el-form.umd.js",
|
|
9
9
|
"module": "lib/fly-el-form.es.js",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"import": "./lib/fly-el-form.es.js",
|
|
13
|
+
"require": "./lib/fly-el-form.umd.js"
|
|
14
|
+
},
|
|
15
|
+
"./useFormValues": {
|
|
16
|
+
"import": "./lib/fly-el-form.es.js",
|
|
17
|
+
"require": "./lib/fly-el-form.umd.js"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
10
20
|
"files": [
|
|
11
21
|
"lib"
|
|
12
22
|
],
|