@weitutech/by-components 1.0.27 → 1.0.30
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 +38 -38
- package/README.md +469 -469
- package/docs/extension.md +15 -0
- package/docs/form.md +26 -0
- package/docs/table.md +26 -0
- package/lib/by-components.common.js +29353 -29328
- package/lib/by-components.umd.js +28985 -28960
- package/lib/by-components.umd.min.js +142 -142
- package/package.json +30 -30
- package/postcss.config.js +6 -6
- package/src/components/custom-column/index.vue +369 -369
- package/src/components/fold-search/index.vue +29 -29
- package/src/components/form/comps/custom-date-picker.vue +109 -109
- package/src/components/form/comps/date-picker-range.vue +78 -78
- package/src/components/form/comps/pair-number-input.vue +67 -67
- package/src/components/form/comps/select.vue +127 -127
- package/src/components/form/form.vue +351 -351
- package/src/components/page-search/page-search.vue +114 -114
- package/src/components/pager/index.vue +81 -81
- package/src/components/table/index.vue +240 -219
- package/src/index.js +30 -30
- package/src/plugin/vxeTable.js +300 -300
- package/src/plugin/vxeTable.scss +14 -14
- package/src/style/custom-column.scss +194 -194
- package/src/style/fold-search.scss +21 -21
- package/src/style/form.scss +342 -342
- package/src/style/index.scss +6 -6
- package/src/style/page-search.scss +26 -26
- package/src/style/pager.scss +40 -40
- package/src/style/table.scss +39 -39
- package/src/utils/index.js +31 -31
|
@@ -1,194 +1,194 @@
|
|
|
1
|
-
.custom_dialog_class {
|
|
2
|
-
.el-dialog__header {
|
|
3
|
-
display: none !important;
|
|
4
|
-
}
|
|
5
|
-
.el-dialog__body {
|
|
6
|
-
padding: 0 0 0 20px !important;
|
|
7
|
-
}
|
|
8
|
-
.el-dialog__body {
|
|
9
|
-
border-top: 0px !important;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.chosen {
|
|
14
|
-
border: solid 2px #a48bec !important;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.drag_ul {
|
|
18
|
-
height: 480px;
|
|
19
|
-
overflow: hidden;
|
|
20
|
-
overflow-y: auto;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.remove {
|
|
24
|
-
padding: 0 10px;
|
|
25
|
-
border-left: 1px solid #cbcbcb;
|
|
26
|
-
height: 12px;
|
|
27
|
-
cursor: pointer;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.icon-box {
|
|
31
|
-
margin: 0 10px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.drag_li_text {
|
|
35
|
-
margin-right: 8px;
|
|
36
|
-
color: #606266;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.drag_li_box {
|
|
40
|
-
display: flex;
|
|
41
|
-
justify-content: space-between;
|
|
42
|
-
align-items: center;
|
|
43
|
-
margin-top: 10px;
|
|
44
|
-
height: 36px;
|
|
45
|
-
line-height: 36px;
|
|
46
|
-
color: #cbcbcb;
|
|
47
|
-
background-color: #fff;
|
|
48
|
-
box-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
|
|
49
|
-
cursor: move;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.fixedClass{
|
|
53
|
-
width:100%;
|
|
54
|
-
height: 2px;
|
|
55
|
-
border-bottom:2px dashed #ccc;
|
|
56
|
-
padding-top: 10px;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.recover {
|
|
60
|
-
cursor: pointer;
|
|
61
|
-
color: #8966f3;
|
|
62
|
-
}
|
|
63
|
-
.drag_text_box {
|
|
64
|
-
height: 60px;
|
|
65
|
-
line-height: 60px;
|
|
66
|
-
margin-left: 5px;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.drag_title {
|
|
70
|
-
margin: 10px 115px 10px 0;
|
|
71
|
-
font-size: 14px;
|
|
72
|
-
font-weight: 700;
|
|
73
|
-
color: #666;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.box_title {
|
|
77
|
-
margin: 10px 0;
|
|
78
|
-
font-size: 14px;
|
|
79
|
-
font-weight: 700;
|
|
80
|
-
color: #333;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.drag_box {
|
|
84
|
-
flex: 1;
|
|
85
|
-
height: 540px;
|
|
86
|
-
padding: 0 10px;
|
|
87
|
-
background-color: #fafafa;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.el-dialog-box {
|
|
91
|
-
display: flex;
|
|
92
|
-
height: 550px;
|
|
93
|
-
|
|
94
|
-
.left_box {
|
|
95
|
-
padding-top: 10px;
|
|
96
|
-
width: 600px;
|
|
97
|
-
}
|
|
98
|
-
.right_box {
|
|
99
|
-
flex: 1;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.draggable_title{
|
|
104
|
-
font-size: 12px;
|
|
105
|
-
font-weight: 700;
|
|
106
|
-
margin:20px 0 ;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.left_box_body {
|
|
110
|
-
display: flex;
|
|
111
|
-
height: 444px;
|
|
112
|
-
border: 1px solid #ececec;
|
|
113
|
-
.left_nav {
|
|
114
|
-
width: 85px;
|
|
115
|
-
padding: 10px 0 0 10px;
|
|
116
|
-
border-right: 1px solid #ececec;
|
|
117
|
-
list-style: none;
|
|
118
|
-
ul {
|
|
119
|
-
padding: 0;
|
|
120
|
-
margin: 0;
|
|
121
|
-
li {
|
|
122
|
-
list-style: none;
|
|
123
|
-
padding: 10px 0;
|
|
124
|
-
font-weight: 700;
|
|
125
|
-
color: #333;
|
|
126
|
-
cursor: pointer;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
.left_menu {
|
|
131
|
-
flex: 1;
|
|
132
|
-
padding: 10px 0 0 20px;
|
|
133
|
-
overflow: hidden;
|
|
134
|
-
overflow-y: auto;
|
|
135
|
-
.checkbox_title {
|
|
136
|
-
margin: 20px 0;
|
|
137
|
-
|
|
138
|
-
}
|
|
139
|
-
div:nth-child(1) .checkbox_title {
|
|
140
|
-
margin-top: 8px;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
.active {
|
|
144
|
-
color: #8966f3 !important;
|
|
145
|
-
}
|
|
146
|
-
::v-deep {
|
|
147
|
-
.el-form--label-top .el-form-item__label {
|
|
148
|
-
padding: 0;
|
|
149
|
-
font-size: 12px;
|
|
150
|
-
}
|
|
151
|
-
.el-radio__label {
|
|
152
|
-
font-size: 12px !important;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.flex {
|
|
158
|
-
display: flex;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.row-wrap,
|
|
162
|
-
.column-wrap {
|
|
163
|
-
flex-wrap: wrap;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.column {
|
|
167
|
-
display: flex;
|
|
168
|
-
flex-direction: column;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.row.column-c,
|
|
172
|
-
.column.row-c {
|
|
173
|
-
align-items: center;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.row {
|
|
177
|
-
display: flex;
|
|
178
|
-
flex-direction: row;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.row.row-c,
|
|
182
|
-
.column.column-c {
|
|
183
|
-
justify-content: center;
|
|
184
|
-
}
|
|
185
|
-
.row.row-sb,
|
|
186
|
-
.column.column-sb {
|
|
187
|
-
justify-content: space-between;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.cell,
|
|
191
|
-
.cell-1 {
|
|
192
|
-
flex: 1;
|
|
193
|
-
}
|
|
194
|
-
|
|
1
|
+
.custom_dialog_class {
|
|
2
|
+
.el-dialog__header {
|
|
3
|
+
display: none !important;
|
|
4
|
+
}
|
|
5
|
+
.el-dialog__body {
|
|
6
|
+
padding: 0 0 0 20px !important;
|
|
7
|
+
}
|
|
8
|
+
.el-dialog__body {
|
|
9
|
+
border-top: 0px !important;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.chosen {
|
|
14
|
+
border: solid 2px #a48bec !important;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.drag_ul {
|
|
18
|
+
height: 480px;
|
|
19
|
+
overflow: hidden;
|
|
20
|
+
overflow-y: auto;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.remove {
|
|
24
|
+
padding: 0 10px;
|
|
25
|
+
border-left: 1px solid #cbcbcb;
|
|
26
|
+
height: 12px;
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.icon-box {
|
|
31
|
+
margin: 0 10px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.drag_li_text {
|
|
35
|
+
margin-right: 8px;
|
|
36
|
+
color: #606266;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.drag_li_box {
|
|
40
|
+
display: flex;
|
|
41
|
+
justify-content: space-between;
|
|
42
|
+
align-items: center;
|
|
43
|
+
margin-top: 10px;
|
|
44
|
+
height: 36px;
|
|
45
|
+
line-height: 36px;
|
|
46
|
+
color: #cbcbcb;
|
|
47
|
+
background-color: #fff;
|
|
48
|
+
box-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
|
|
49
|
+
cursor: move;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.fixedClass{
|
|
53
|
+
width:100%;
|
|
54
|
+
height: 2px;
|
|
55
|
+
border-bottom:2px dashed #ccc;
|
|
56
|
+
padding-top: 10px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.recover {
|
|
60
|
+
cursor: pointer;
|
|
61
|
+
color: #8966f3;
|
|
62
|
+
}
|
|
63
|
+
.drag_text_box {
|
|
64
|
+
height: 60px;
|
|
65
|
+
line-height: 60px;
|
|
66
|
+
margin-left: 5px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.drag_title {
|
|
70
|
+
margin: 10px 115px 10px 0;
|
|
71
|
+
font-size: 14px;
|
|
72
|
+
font-weight: 700;
|
|
73
|
+
color: #666;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.box_title {
|
|
77
|
+
margin: 10px 0;
|
|
78
|
+
font-size: 14px;
|
|
79
|
+
font-weight: 700;
|
|
80
|
+
color: #333;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.drag_box {
|
|
84
|
+
flex: 1;
|
|
85
|
+
height: 540px;
|
|
86
|
+
padding: 0 10px;
|
|
87
|
+
background-color: #fafafa;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.el-dialog-box {
|
|
91
|
+
display: flex;
|
|
92
|
+
height: 550px;
|
|
93
|
+
|
|
94
|
+
.left_box {
|
|
95
|
+
padding-top: 10px;
|
|
96
|
+
width: 600px;
|
|
97
|
+
}
|
|
98
|
+
.right_box {
|
|
99
|
+
flex: 1;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.draggable_title{
|
|
104
|
+
font-size: 12px;
|
|
105
|
+
font-weight: 700;
|
|
106
|
+
margin:20px 0 ;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.left_box_body {
|
|
110
|
+
display: flex;
|
|
111
|
+
height: 444px;
|
|
112
|
+
border: 1px solid #ececec;
|
|
113
|
+
.left_nav {
|
|
114
|
+
width: 85px;
|
|
115
|
+
padding: 10px 0 0 10px;
|
|
116
|
+
border-right: 1px solid #ececec;
|
|
117
|
+
list-style: none;
|
|
118
|
+
ul {
|
|
119
|
+
padding: 0;
|
|
120
|
+
margin: 0;
|
|
121
|
+
li {
|
|
122
|
+
list-style: none;
|
|
123
|
+
padding: 10px 0;
|
|
124
|
+
font-weight: 700;
|
|
125
|
+
color: #333;
|
|
126
|
+
cursor: pointer;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
.left_menu {
|
|
131
|
+
flex: 1;
|
|
132
|
+
padding: 10px 0 0 20px;
|
|
133
|
+
overflow: hidden;
|
|
134
|
+
overflow-y: auto;
|
|
135
|
+
.checkbox_title {
|
|
136
|
+
margin: 20px 0;
|
|
137
|
+
|
|
138
|
+
}
|
|
139
|
+
div:nth-child(1) .checkbox_title {
|
|
140
|
+
margin-top: 8px;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
.active {
|
|
144
|
+
color: #8966f3 !important;
|
|
145
|
+
}
|
|
146
|
+
::v-deep {
|
|
147
|
+
.el-form--label-top .el-form-item__label {
|
|
148
|
+
padding: 0;
|
|
149
|
+
font-size: 12px;
|
|
150
|
+
}
|
|
151
|
+
.el-radio__label {
|
|
152
|
+
font-size: 12px !important;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.flex {
|
|
158
|
+
display: flex;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.row-wrap,
|
|
162
|
+
.column-wrap {
|
|
163
|
+
flex-wrap: wrap;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.column {
|
|
167
|
+
display: flex;
|
|
168
|
+
flex-direction: column;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.row.column-c,
|
|
172
|
+
.column.row-c {
|
|
173
|
+
align-items: center;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.row {
|
|
177
|
+
display: flex;
|
|
178
|
+
flex-direction: row;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.row.row-c,
|
|
182
|
+
.column.column-c {
|
|
183
|
+
justify-content: center;
|
|
184
|
+
}
|
|
185
|
+
.row.row-sb,
|
|
186
|
+
.column.column-sb {
|
|
187
|
+
justify-content: space-between;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.cell,
|
|
191
|
+
.cell-1 {
|
|
192
|
+
flex: 1;
|
|
193
|
+
}
|
|
194
|
+
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
.b-fold-search {
|
|
2
|
-
text-align: center;
|
|
3
|
-
position: relative;
|
|
4
|
-
div {
|
|
5
|
-
display: inline-block;
|
|
6
|
-
background-color: #fff;
|
|
7
|
-
cursor: pointer;
|
|
8
|
-
padding: 0 15px;
|
|
9
|
-
height: 34px;
|
|
10
|
-
line-height: 32px;
|
|
11
|
-
font-size: 14px;
|
|
12
|
-
border-radius: 0 0 5px 5px;
|
|
13
|
-
}
|
|
14
|
-
span {
|
|
15
|
-
color: #999999;
|
|
16
|
-
}
|
|
17
|
-
img {
|
|
18
|
-
width: 15px;
|
|
19
|
-
height: 15px;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
1
|
+
.b-fold-search {
|
|
2
|
+
text-align: center;
|
|
3
|
+
position: relative;
|
|
4
|
+
div {
|
|
5
|
+
display: inline-block;
|
|
6
|
+
background-color: #fff;
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
padding: 0 15px;
|
|
9
|
+
height: 34px;
|
|
10
|
+
line-height: 32px;
|
|
11
|
+
font-size: 14px;
|
|
12
|
+
border-radius: 0 0 5px 5px;
|
|
13
|
+
}
|
|
14
|
+
span {
|
|
15
|
+
color: #999999;
|
|
16
|
+
}
|
|
17
|
+
img {
|
|
18
|
+
width: 15px;
|
|
19
|
+
height: 15px;
|
|
20
|
+
}
|
|
21
|
+
}
|