fit2cloud-ui-plus 0.0.1-beta.0
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/LICENSE +674 -0
- package/README.md +16 -0
- package/lib/favicon.bmp +0 -0
- package/lib/fit2cloud-ui-plus.es.js +3796 -0
- package/lib/fit2cloud-ui-plus.umd.js +1 -0
- package/package.json +48 -0
- package/src/components/filter-bar/FuFilter.vue +175 -0
- package/src/components/filter-bar/FuFilterBar.vue +75 -0
- package/src/components/filter-bar/FuFilterConditions.vue +29 -0
- package/src/components/filter-bar/FuSearchInput.vue +31 -0
- package/src/components/filter-bar/filter-components/FuFilterDate.vue +62 -0
- package/src/components/filter-bar/filter-components/FuFilterDateTime.vue +65 -0
- package/src/components/filter-bar/filter-components/FuFilterOption.vue +38 -0
- package/src/components/filter-bar/filter-components/FuFilterSelect.vue +143 -0
- package/src/components/filter-bar/index.ts +19 -0
- package/src/components/filter-bar/types.ts +31 -0
- package/src/components/read-write-switch/FuInputRwSwitch.vue +44 -0
- package/src/components/read-write-switch/FuReadWriteSwitch.vue +91 -0
- package/src/components/read-write-switch/FuSelectRwSwitch.vue +53 -0
- package/src/components/read-write-switch/index.ts +13 -0
- package/src/components/search-bar/FuComplexSearch.vue +108 -0
- package/src/components/search-bar/FuQuickSearch.vue +43 -0
- package/src/components/search-bar/FuSearchBar.vue +165 -0
- package/src/components/search-bar/FuSearchBarButton.vue +14 -0
- package/src/components/search-bar/FuSearchContions.vue +24 -0
- package/src/components/search-bar/index.ts +13 -0
- package/src/components/search-bar/store.ts +25 -0
- package/src/components/speed-dial/FuSpeedDial.vue +280 -0
- package/src/components/speed-dial/FuSpeedDialActionButton.vue +88 -0
- package/src/components/speed-dial/FuSpeedDialButton.vue +42 -0
- package/src/components/speed-dial/FuSpeedDialItem.vue +88 -0
- package/src/components/speed-dial/index.ts +11 -0
- package/src/components/split-pane/FuSplitPane.vue +228 -0
- package/src/components/split-pane/index.ts +8 -0
- package/src/components/steps/FuHorizontalNavigation.vue +18 -0
- package/src/components/steps/FuHorizontalSteps.vue +94 -0
- package/src/components/steps/FuStep.vue +13 -0
- package/src/components/steps/FuSteps.vue +22 -0
- package/src/components/steps/FuStepsFooter.ts +79 -0
- package/src/components/steps/FuVerticalNavigation.vue +35 -0
- package/src/components/steps/FuVerticalSteps.vue +79 -0
- package/src/components/steps/Stepper.ts +188 -0
- package/src/components/steps/index.ts +11 -0
- package/src/components/table/FuTable.vue +145 -0
- package/src/components/table/FuTableBody.ts +40 -0
- package/src/components/table/FuTablePagination.vue +42 -0
- package/src/components/table/index.ts +15 -0
- package/src/components/table/table-column-dropdown/FuTableColumnDropdown.vue +102 -0
- package/src/components/table/table-column-dropdown/index.ts +7 -0
- package/src/components/table/table-column-select/FuTableColumnSelect.vue +22 -0
- package/src/components/table/table-column-select/FuTableColumnSelectDialog.vue +99 -0
- package/src/components/table/table-column-select/FuTableColumnSelectPopover.vue +80 -0
- package/src/components/table/table-column-select/index.ts +8 -0
- package/src/components/table/table-column-select/utils.ts +59 -0
- package/src/components/table/table-operations/FuTableButton.vue +19 -0
- package/src/components/table/table-operations/FuTableMoreButton.vue +52 -0
- package/src/components/table/table-operations/FuTableOperations.vue +88 -0
- package/src/components/table/table-operations/index.ts +12 -0
- package/src/components/tabs/FuTabs.vue +84 -0
- package/src/components/tabs/index.ts +8 -0
- package/src/components/virtual-scroller/FuVirtualHorizontalScroll.js +96 -0
- package/src/components/virtual-scroller/FuVirtualScroll.js +15 -0
- package/src/components/virtual-scroller/FuVirtualVerticalScroll.js +95 -0
- package/src/components/virtual-scroller/index.js +10 -0
- package/src/hooks/index.ts +3 -0
- package/src/hooks/use-global-config/index.ts +32 -0
- package/src/hooks/use-locale/index.ts +47 -0
- package/src/index.ts +19 -0
- package/src/locale/index.ts +12 -0
- package/src/locale/lang/en.ts +58 -0
- package/src/locale/lang/zh-cn.ts +58 -0
- package/src/locale/lang/zh-tw.ts +58 -0
- package/src/styles/common/config.scss +5 -0
- package/src/styles/common/function.scss +81 -0
- package/src/styles/common/mixins.scss +85 -0
- package/src/styles/common/variables.scss +28 -0
- package/src/styles/components/filter-bar.scss +227 -0
- package/src/styles/components/read-write-switch.scss +6 -0
- package/src/styles/components/search-bar.scss +285 -0
- package/src/styles/components/speed-dial.scss +107 -0
- package/src/styles/components/split-pane.scss +111 -0
- package/src/styles/components/steps.scss +110 -0
- package/src/styles/components/table.scss +105 -0
- package/src/styles/components/tabs.scss +10 -0
- package/src/styles/components/virtual-scroller.scss +24 -0
- package/src/styles/index.scss +11 -0
- package/src/tools/theme.ts +23 -0
- package/src/tools/time.ts +30 -0
- package/src/tools/utils.ts +60 -0
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
@use "../common/mixins.scss" as *;
|
|
2
|
+
@use "../common/variables.scss" as *;
|
|
3
|
+
|
|
4
|
+
@include b(search-bar) {
|
|
5
|
+
@include flex-row(flex-start, center);
|
|
6
|
+
position: relative;
|
|
7
|
+
// width: $fu-search-bar-width;
|
|
8
|
+
// height: $fu-search-bar-height;
|
|
9
|
+
|
|
10
|
+
&:after {
|
|
11
|
+
content: "";
|
|
12
|
+
position: absolute;
|
|
13
|
+
bottom: 0;
|
|
14
|
+
left: 0;
|
|
15
|
+
height: 1px;
|
|
16
|
+
width: 100%;
|
|
17
|
+
background-color: #D5D5D5;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@include e(content) {
|
|
21
|
+
@include flex-row(flex-start, center);
|
|
22
|
+
margin-right: 10px;
|
|
23
|
+
height: 100%;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@include e(buttons) {
|
|
27
|
+
@include flex-row(flex-end, center);
|
|
28
|
+
flex: auto;
|
|
29
|
+
height: 100%;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@include b(quick-search) {
|
|
33
|
+
&:after {
|
|
34
|
+
content: none;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@include b(search-bar-button) {
|
|
40
|
+
&.el-button {
|
|
41
|
+
@include active-scale(0.9);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@include b(search-conditions) {
|
|
46
|
+
@include flex-row(flex-start, center);
|
|
47
|
+
overflow-x: auto;
|
|
48
|
+
overflow-y: hidden;
|
|
49
|
+
height: calc(100% - 2px);
|
|
50
|
+
|
|
51
|
+
&::-webkit-scrollbar {
|
|
52
|
+
height: 6px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&::-webkit-scrollbar-thumb {
|
|
56
|
+
border-radius: 5px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&::-webkit-scrollbar-track {
|
|
60
|
+
border-radius: 5px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// @include m(medium) {
|
|
64
|
+
// font-size: 14px;
|
|
65
|
+
|
|
66
|
+
// @include e(item) {
|
|
67
|
+
// height: 28px;
|
|
68
|
+
// }
|
|
69
|
+
// }
|
|
70
|
+
|
|
71
|
+
// @include m(small) {
|
|
72
|
+
// font-size: 13px;
|
|
73
|
+
|
|
74
|
+
// @include e(item) {
|
|
75
|
+
// height: 26px;
|
|
76
|
+
// }
|
|
77
|
+
// }
|
|
78
|
+
|
|
79
|
+
// @include m(mini) {
|
|
80
|
+
// font-size: 12px;
|
|
81
|
+
|
|
82
|
+
// @include e(item) {
|
|
83
|
+
// height: 24px;
|
|
84
|
+
// }
|
|
85
|
+
// }
|
|
86
|
+
|
|
87
|
+
@include e(item) {
|
|
88
|
+
@include flex-row(flex-start, center);
|
|
89
|
+
flex-shrink: 0;
|
|
90
|
+
position: relative;
|
|
91
|
+
box-sizing: border-box;
|
|
92
|
+
padding: 0 10px;
|
|
93
|
+
border-radius: 50px;
|
|
94
|
+
// color: $fu-search-bar-condition-color;
|
|
95
|
+
// background-color: $fu-search-bar-condition-bgColor;
|
|
96
|
+
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .2), 0 1px 1px 0 rgba(0, 0, 0, .14), 0 2px 1px -1px rgba(0, 0, 0, .12);
|
|
97
|
+
margin-left: 10px;
|
|
98
|
+
font-size: inherit;
|
|
99
|
+
|
|
100
|
+
&:last-child {
|
|
101
|
+
margin-right: 10px;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
div + div {
|
|
105
|
+
margin-left: 4px;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.condition-value {
|
|
109
|
+
font-style: italic;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.condition-remove {
|
|
113
|
+
@include active-scale(0.9);
|
|
114
|
+
margin-left: 6px;
|
|
115
|
+
margin-right: -6px;
|
|
116
|
+
cursor: pointer;
|
|
117
|
+
|
|
118
|
+
&:hover {
|
|
119
|
+
color: getCssVar('color', 'primary');
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
@include b(quick-search) {
|
|
126
|
+
@include flex-row(flex-start, center);
|
|
127
|
+
min-width: 200px;
|
|
128
|
+
position: relative;
|
|
129
|
+
|
|
130
|
+
@include m(medium) {
|
|
131
|
+
font-size: 14px;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
@include m(small) {
|
|
135
|
+
font-size: 13px;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
@include m(mini) {
|
|
139
|
+
font-size: 12px;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
&:after {
|
|
143
|
+
content: "";
|
|
144
|
+
position: absolute;
|
|
145
|
+
bottom: 0;
|
|
146
|
+
left: 0;
|
|
147
|
+
height: 1px;
|
|
148
|
+
width: 100%;
|
|
149
|
+
background-color: #D5D5D5;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
input {
|
|
153
|
+
border: none;
|
|
154
|
+
position: relative;
|
|
155
|
+
font-size: inherit;
|
|
156
|
+
padding: 10px;
|
|
157
|
+
width: 200px;
|
|
158
|
+
box-sizing: border-box;
|
|
159
|
+
// color: $--input-font-color;
|
|
160
|
+
// background-color: $--input-background-color;
|
|
161
|
+
|
|
162
|
+
&:focus {
|
|
163
|
+
outline: none;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
&::placeholder {
|
|
167
|
+
// color: $--input-placeholder-color;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.clean-button {
|
|
172
|
+
@include active-scale;
|
|
173
|
+
cursor: pointer;
|
|
174
|
+
|
|
175
|
+
&:hover {
|
|
176
|
+
color: getCssVar('color', 'primary');
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
@include b(complex-search) {
|
|
182
|
+
@include e(trigger) {
|
|
183
|
+
i {
|
|
184
|
+
transition: transform 0.2s;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
@include when(active) {
|
|
188
|
+
i {
|
|
189
|
+
transform: rotate(90deg);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
@include b(complex-components) {
|
|
196
|
+
@include e(body) {
|
|
197
|
+
width: 100%;
|
|
198
|
+
margin: 5px;
|
|
199
|
+
min-width: 200px;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
@include e(footer) {
|
|
203
|
+
width: 100%;
|
|
204
|
+
text-align: center;
|
|
205
|
+
margin: 5px 0;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
@include b(operator-component) {
|
|
210
|
+
@include flex-row(flex-start, center);
|
|
211
|
+
padding: 5px;
|
|
212
|
+
|
|
213
|
+
@include e(label) {
|
|
214
|
+
text-align: left;
|
|
215
|
+
width: 120px;
|
|
216
|
+
padding: 0 5px;
|
|
217
|
+
flex-grow: 0;
|
|
218
|
+
flex-shrink: 0;
|
|
219
|
+
font-size: inherit;
|
|
220
|
+
|
|
221
|
+
@include m(small) {
|
|
222
|
+
width: 100px;
|
|
223
|
+
font-size: 13px;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
@include m(mini) {
|
|
227
|
+
width: 100px;
|
|
228
|
+
font-size: 12px;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
@include e(operator) {
|
|
233
|
+
padding: 0 5px;
|
|
234
|
+
width: 120px;
|
|
235
|
+
flex-grow: 0;
|
|
236
|
+
flex-shrink: 0;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
@include e(value) {
|
|
240
|
+
padding: 0 5px;
|
|
241
|
+
flex-grow: 1;
|
|
242
|
+
min-width: 240px;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
@include b(complex-select) {
|
|
247
|
+
&.el-select {
|
|
248
|
+
width: 100% !important;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
@include b(complex-data) {
|
|
253
|
+
&.el-date-editor {
|
|
254
|
+
width: 100% !important;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
@include b(complex-data-time) {
|
|
259
|
+
&.el-date-editor {
|
|
260
|
+
width: 100% !important;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
@include b(complex-input-number) {
|
|
265
|
+
margin-right: -10px;
|
|
266
|
+
display: flex;
|
|
267
|
+
align-items: center;
|
|
268
|
+
|
|
269
|
+
@include e(input) {
|
|
270
|
+
.is-hide {
|
|
271
|
+
.el-input-number__decrease {
|
|
272
|
+
visibility: hidden;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.el-input-number__increase {
|
|
276
|
+
visibility: hidden;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.range-separator {
|
|
283
|
+
margin: 0 8px
|
|
284
|
+
}
|
|
285
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
@use "../common/mixins.scss" as *;
|
|
2
|
+
@use "../common/variables.scss" as *;
|
|
3
|
+
|
|
4
|
+
// @mixin speed-dial-button-variant($color, $background-color) {
|
|
5
|
+
// color: $color;
|
|
6
|
+
// background-color: $background-color;
|
|
7
|
+
|
|
8
|
+
// &:hover,
|
|
9
|
+
// &:focus {
|
|
10
|
+
// background: mix($--color-white, $background-color, $--button-hover-tint-percent);
|
|
11
|
+
// color: $color;
|
|
12
|
+
// }
|
|
13
|
+
|
|
14
|
+
// &:active {
|
|
15
|
+
// background: mix($--color-black, $background-color, $--button-active-shade-percent);
|
|
16
|
+
// color: $color;
|
|
17
|
+
// outline: none;
|
|
18
|
+
// }
|
|
19
|
+
|
|
20
|
+
// &.is-active {
|
|
21
|
+
// background: mix($--color-black, $background-color, $--button-active-shade-percent);
|
|
22
|
+
// color: $color;
|
|
23
|
+
// }
|
|
24
|
+
|
|
25
|
+
// &.is-disabled {
|
|
26
|
+
// &,
|
|
27
|
+
// &:hover,
|
|
28
|
+
// &:focus,
|
|
29
|
+
// &:active {
|
|
30
|
+
// color: $--color-white;
|
|
31
|
+
// background-color: mix($background-color, $--color-white);
|
|
32
|
+
// }
|
|
33
|
+
// }
|
|
34
|
+
// }
|
|
35
|
+
|
|
36
|
+
@include b(speed-dial) {
|
|
37
|
+
width: 0;
|
|
38
|
+
|
|
39
|
+
@include e(content) {
|
|
40
|
+
position: relative;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@include b(speed-dial-button) {
|
|
45
|
+
@include flex-row(center, center);
|
|
46
|
+
border-radius: 50%;
|
|
47
|
+
box-sizing: border-box;
|
|
48
|
+
cursor: pointer;
|
|
49
|
+
box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2);
|
|
50
|
+
@include active-scale(0.9);
|
|
51
|
+
|
|
52
|
+
@include m(rotate) {
|
|
53
|
+
box-shadow: 0 2px 4px rgba(0, 0, 0, .3), 0 0 6px rgba(0, 0, 0, .3);
|
|
54
|
+
transition: all 0.3s;
|
|
55
|
+
|
|
56
|
+
@include when(active) {
|
|
57
|
+
transform: scale(1) rotate(360deg);
|
|
58
|
+
&:active {
|
|
59
|
+
transform: scale(0.9) rotate(360deg)
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// @include m(default) {
|
|
65
|
+
// @include speed-dial-button-variant($--button-default-font-color, $--button-default-background-color);
|
|
66
|
+
// }
|
|
67
|
+
// @include m(primary) {
|
|
68
|
+
// @include speed-dial-button-variant($--button-primary-font-color, $--button-primary-background-color);
|
|
69
|
+
// }
|
|
70
|
+
// @include m(success) {
|
|
71
|
+
// @include speed-dial-button-variant($--button-success-font-color, $--button-success-background-color);
|
|
72
|
+
// }
|
|
73
|
+
// @include m(warning) {
|
|
74
|
+
// @include speed-dial-button-variant($--button-warning-font-color, $--button-warning-background-color);
|
|
75
|
+
// }
|
|
76
|
+
// @include m(danger) {
|
|
77
|
+
// @include speed-dial-button-variant($--button-danger-font-color, $--button-danger-background-color);
|
|
78
|
+
// }
|
|
79
|
+
// @include m(info) {
|
|
80
|
+
// @include speed-dial-button-variant($--button-info-font-color, $--button-info-background-color);
|
|
81
|
+
// }
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@include b(speed-dial-item) {
|
|
85
|
+
@include flex-row(center, center);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@include b(speed-dial-action-button) {
|
|
89
|
+
@include flex-row(center, center);
|
|
90
|
+
|
|
91
|
+
@include e(title) {
|
|
92
|
+
@include flex-row(center, center);
|
|
93
|
+
position: absolute;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@include e(text) {
|
|
97
|
+
cursor: pointer;
|
|
98
|
+
width: 100%;
|
|
99
|
+
font-size: 14px;
|
|
100
|
+
white-space: nowrap;
|
|
101
|
+
padding: 2px 5px;
|
|
102
|
+
line-height: 1;
|
|
103
|
+
box-sizing: border-box;
|
|
104
|
+
border-radius: 2px;
|
|
105
|
+
@include active-scale(0.9);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
@use "../common/mixins.scss" as *;
|
|
2
|
+
@use "../common/variables.scss" as *;
|
|
3
|
+
|
|
4
|
+
@include b(split-pane) {
|
|
5
|
+
height: 100%;
|
|
6
|
+
position: relative;
|
|
7
|
+
|
|
8
|
+
@include e(left) {
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
position: absolute;
|
|
12
|
+
height: 100%;
|
|
13
|
+
width: 100%;
|
|
14
|
+
|
|
15
|
+
@include when(horizontal) {
|
|
16
|
+
left: 0;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@include when(vertical) {
|
|
20
|
+
top: 0;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@include e(right) {
|
|
25
|
+
box-sizing: border-box;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
position: absolute;
|
|
28
|
+
height: 100%;
|
|
29
|
+
width: 100%;
|
|
30
|
+
|
|
31
|
+
@include when(horizontal) {
|
|
32
|
+
right: 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@include when(vertical) {
|
|
36
|
+
bottom: 0;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@include e(resizer) {
|
|
41
|
+
box-sizing: border-box;
|
|
42
|
+
background: #f8f8f9;
|
|
43
|
+
border: 1px solid #dcdee2;
|
|
44
|
+
position: absolute;
|
|
45
|
+
z-index: 1;
|
|
46
|
+
|
|
47
|
+
@include when(horizontal) {
|
|
48
|
+
width: 6px;
|
|
49
|
+
height: 100%;
|
|
50
|
+
transform: translateX(-50%);
|
|
51
|
+
border-top: none;
|
|
52
|
+
border-bottom: none;
|
|
53
|
+
|
|
54
|
+
.icon {
|
|
55
|
+
color: rgba(23, 35, 61, .25);
|
|
56
|
+
position: absolute;
|
|
57
|
+
left: 50%;
|
|
58
|
+
top: 50%;
|
|
59
|
+
transform: translate(-50%, -50%) rotate(90deg);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@include when(vertical) {
|
|
64
|
+
height: 6px;
|
|
65
|
+
width: 100%;
|
|
66
|
+
transform: translateY(-50%);
|
|
67
|
+
border-left: none;
|
|
68
|
+
border-right: none;
|
|
69
|
+
|
|
70
|
+
.icon {
|
|
71
|
+
color: rgba(23, 35, 61, .25);
|
|
72
|
+
position: absolute;
|
|
73
|
+
top: 50%;
|
|
74
|
+
left: 50%;
|
|
75
|
+
transform: translate(-50%, -50%);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
@include e(line) {
|
|
82
|
+
position: absolute;
|
|
83
|
+
background: #dcdee2;
|
|
84
|
+
z-index: 1;
|
|
85
|
+
|
|
86
|
+
@include when(horizontal) {
|
|
87
|
+
width: 1px;
|
|
88
|
+
height: 100%;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@include when(vertical) {
|
|
92
|
+
height: 1px;
|
|
93
|
+
width: 100%;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.is-resizable {
|
|
98
|
+
&.hover {
|
|
99
|
+
background: getCssVar('color', 'primary', 'light-9');
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
@include when(horizontal) {
|
|
103
|
+
cursor: col-resize;
|
|
104
|
+
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
@include when(vertical) {
|
|
108
|
+
cursor: row-resize;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
@use "../common/mixins.scss" as *;
|
|
2
|
+
@use "../common/variables.scss" as *;
|
|
3
|
+
|
|
4
|
+
@include b(steps) {
|
|
5
|
+
@include e(footer) {
|
|
6
|
+
margin-top: 15px;
|
|
7
|
+
|
|
8
|
+
@include m(block) {
|
|
9
|
+
display: inline-block;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@include m(flex) {
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: row;
|
|
15
|
+
justify-content: space-between;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@include m(left) {
|
|
19
|
+
text-align: left;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@include m(right) {
|
|
23
|
+
text-align: right;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@include m(center) {
|
|
27
|
+
text-align: center;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@include e(container) {
|
|
33
|
+
overflow-x: hidden;
|
|
34
|
+
overflow-y: auto;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// horizontal横向布局样式
|
|
38
|
+
@include m(horizontal) {
|
|
39
|
+
@include e(wrapper) {
|
|
40
|
+
overflow: hidden;
|
|
41
|
+
transition: none;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@include e(container) {
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: flex-start;
|
|
47
|
+
flex-wrap: nowrap;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@include b(step) {
|
|
51
|
+
width: 100%;
|
|
52
|
+
flex: 1 0 100%;
|
|
53
|
+
margin-top: 15px;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// vertical横向布局样式
|
|
58
|
+
@include m(vertical) {
|
|
59
|
+
.el-step__description {
|
|
60
|
+
padding-right: 0;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@include b(step) {
|
|
64
|
+
font-size: 14px;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
// 禁用样式
|
|
71
|
+
@include b(step) {
|
|
72
|
+
@include m(disable) {
|
|
73
|
+
cursor: not-allowed !important;
|
|
74
|
+
|
|
75
|
+
.is-wait {
|
|
76
|
+
color: #C0C4CC !important;
|
|
77
|
+
border-color: #C0C4CC !important;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.el-step:hover {
|
|
83
|
+
cursor: pointer;
|
|
84
|
+
|
|
85
|
+
.is-wait {
|
|
86
|
+
color: getCssVar('color', 'primary');
|
|
87
|
+
border-color: getCssVar('color', 'primary');
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* 可以设置不同的进入和离开动画 */
|
|
93
|
+
/* 设置持续时间和动画函数 */
|
|
94
|
+
.carousel-enter-active {
|
|
95
|
+
transition: all .3s ease;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.carousel-leave-active {
|
|
99
|
+
transition: all .5s cubic-bezier(1.0, 0.5, 0.8, 1.0);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.carousel-enter-from {
|
|
103
|
+
transform: translateX(100%);
|
|
104
|
+
opacity: 0;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.carousel-leave-to {
|
|
108
|
+
transform: translateX(-100%);
|
|
109
|
+
opacity: 0;
|
|
110
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
@use "../common/mixins.scss" as *;
|
|
2
|
+
@use "../common/variables.scss" as *;
|
|
3
|
+
|
|
4
|
+
@include b(table) {
|
|
5
|
+
&.el-table {
|
|
6
|
+
th.el-table-column--selection>.cell {
|
|
7
|
+
padding-left: 14px;
|
|
8
|
+
padding-right: 14px;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&.el-table--small {
|
|
13
|
+
font-size: 13px;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@include b(table-header) {
|
|
18
|
+
// ****** 颜色变量未定
|
|
19
|
+
th {
|
|
20
|
+
background-color: #F5F6F7 !important;
|
|
21
|
+
border-top: 1px solid rgba(31, 35, 41, 0.15);
|
|
22
|
+
font-weight: 500 !important;;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
.el-table__inner-wrapper::before {
|
|
26
|
+
background: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@include b(table-column-select) {
|
|
30
|
+
margin-left: 10px;
|
|
31
|
+
margin-right: 10px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@include b(table-column-select-popper) {
|
|
35
|
+
@include e(body) {
|
|
36
|
+
max-height: 600px;
|
|
37
|
+
overflow-y: auto;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@include e(footer) {
|
|
41
|
+
text-align: center;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@include e(item) {
|
|
45
|
+
&+& {
|
|
46
|
+
margin-top: 5px;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@include e(footer) {
|
|
51
|
+
margin-top: 10px;
|
|
52
|
+
text-align: center;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@include b(table-column-select-dialog) {
|
|
57
|
+
&.el-dialog {
|
|
58
|
+
width: 640px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.el-checkbox {
|
|
62
|
+
width: 180px;
|
|
63
|
+
margin: 5px 10px;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@include b(table-operations) {
|
|
68
|
+
div[type='dialog']>.fu-search-bar-button {
|
|
69
|
+
border: none;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
@include b(table-more-button) {
|
|
74
|
+
button+& {
|
|
75
|
+
margin-left: 10px;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@include b(table-column-dropdown) {
|
|
80
|
+
@include e(title) {
|
|
81
|
+
padding: 5px;
|
|
82
|
+
text-align: center;
|
|
83
|
+
color: #888888;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.fu-dropdown-link {
|
|
87
|
+
cursor: pointer;
|
|
88
|
+
line-height: 23px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@include b(icon-more) {
|
|
92
|
+
transform: rotate(90deg);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@include b(show-icon) {
|
|
96
|
+
display: none;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.el-table__body tr:hover {
|
|
102
|
+
@include b(show-icon) {
|
|
103
|
+
display: inline;
|
|
104
|
+
}
|
|
105
|
+
}
|