evui 3.4.206 → 3.4.208
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 +18 -33
- package/dist/404.html +44 -0
- package/dist/favicon.ico +0 -0
- package/dist/index.js +22645 -0
- package/dist/index.umd.cjs +28 -0
- package/dist/style.css +1 -0
- package/package.json +46 -43
- package/dist/evui.common.js +0 -63678
- package/dist/evui.common.js.map +0 -1
- package/dist/evui.umd.js +0 -63688
- package/dist/evui.umd.js.map +0 -1
- package/dist/evui.umd.min.js +0 -2
- package/dist/evui.umd.min.js.map +0 -1
- package/dist/img/EVUI.b82ee81a.svg +0 -293
- package/src/assets/logo.png +0 -0
- package/src/common/emitter.js +0 -20
- package/src/common/utils.bignumber.js +0 -67
- package/src/common/utils.debounce.js +0 -223
- package/src/common/utils.js +0 -151
- package/src/common/utils.table.js +0 -78
- package/src/common/utils.throttle.js +0 -83
- package/src/common/utils.tree.js +0 -18
- package/src/components/button/Button.vue +0 -195
- package/src/components/button/index.js +0 -7
- package/src/components/buttonGroup/ButtonGroup.vue +0 -11
- package/src/components/buttonGroup/index.js +0 -7
- package/src/components/calendar/Calendar.vue +0 -725
- package/src/components/calendar/index.js +0 -7
- package/src/components/calendar/uses.js +0 -1410
- package/src/components/chart/Chart.vue +0 -363
- package/src/components/chart/ChartToolbar.vue +0 -52
- package/src/components/chart/chart.core.js +0 -1170
- package/src/components/chart/chartZoom.core.js +0 -540
- package/src/components/chart/element/element.bar.js +0 -672
- package/src/components/chart/element/element.bar.time.js +0 -166
- package/src/components/chart/element/element.heatmap.js +0 -743
- package/src/components/chart/element/element.line.js +0 -611
- package/src/components/chart/element/element.pie.js +0 -197
- package/src/components/chart/element/element.scatter.js +0 -320
- package/src/components/chart/element/element.tip.js +0 -717
- package/src/components/chart/helpers/helpers.canvas.js +0 -265
- package/src/components/chart/helpers/helpers.constant.js +0 -235
- package/src/components/chart/helpers/helpers.util.js +0 -400
- package/src/components/chart/index.js +0 -9
- package/src/components/chart/model/index.js +0 -50
- package/src/components/chart/model/model.series.js +0 -125
- package/src/components/chart/model/model.store.js +0 -1427
- package/src/components/chart/plugins/plugins.interaction.js +0 -1655
- package/src/components/chart/plugins/plugins.legend.gradient.js +0 -606
- package/src/components/chart/plugins/plugins.legend.js +0 -1543
- package/src/components/chart/plugins/plugins.pie.js +0 -254
- package/src/components/chart/plugins/plugins.scrollbar.js +0 -732
- package/src/components/chart/plugins/plugins.title.js +0 -61
- package/src/components/chart/plugins/plugins.tooltip.js +0 -1041
- package/src/components/chart/scale/scale.js +0 -951
- package/src/components/chart/scale/scale.linear.js +0 -268
- package/src/components/chart/scale/scale.logarithmic.js +0 -135
- package/src/components/chart/scale/scale.step.js +0 -430
- package/src/components/chart/scale/scale.time.category.js +0 -338
- package/src/components/chart/scale/scale.time.js +0 -49
- package/src/components/chart/style/chart.scss +0 -405
- package/src/components/chart/uses.js +0 -721
- package/src/components/chartBrush/ChartBrush.vue +0 -323
- package/src/components/chartBrush/chartBrush.core.js +0 -691
- package/src/components/chartBrush/index.js +0 -9
- package/src/components/chartBrush/uses.js +0 -23
- package/src/components/chartGroup/ChartGroup.vue +0 -144
- package/src/components/chartGroup/index.js +0 -9
- package/src/components/chartGroup/style/chartGroup.scss +0 -5
- package/src/components/chartGroup/uses.js +0 -53
- package/src/components/checkbox/Checkbox.vue +0 -229
- package/src/components/checkbox/index.js +0 -7
- package/src/components/checkboxGroup/CheckboxGroup.vue +0 -44
- package/src/components/checkboxGroup/index.js +0 -7
- package/src/components/contextMenu/ContextMenu.vue +0 -95
- package/src/components/contextMenu/MenuList.vue +0 -182
- package/src/components/contextMenu/index.js +0 -7
- package/src/components/contextMenu/uses.js +0 -223
- package/src/components/datePicker/DatePicker.vue +0 -504
- package/src/components/datePicker/index.js +0 -7
- package/src/components/datePicker/uses.js +0 -460
- package/src/components/grid/Grid.vue +0 -1535
- package/src/components/grid/GridColumnSetting.vue +0 -358
- package/src/components/grid/GridFilterSetting.vue +0 -323
- package/src/components/grid/GridPagination.vue +0 -75
- package/src/components/grid/GridSummary.vue +0 -314
- package/src/components/grid/GridToolbar.vue +0 -35
- package/src/components/grid/icon/icon-option-button.vue +0 -17
- package/src/components/grid/icon/icon-sort-button.vue +0 -67
- package/src/components/grid/index.js +0 -11
- package/src/components/grid/style/grid.scss +0 -417
- package/src/components/grid/uses.js +0 -1629
- package/src/components/icon/Icon.vue +0 -53
- package/src/components/icon/index.js +0 -8
- package/src/components/inputNumber/InputNumber.vue +0 -212
- package/src/components/inputNumber/index.js +0 -7
- package/src/components/inputNumber/uses.js +0 -217
- package/src/components/loading/Loading.vue +0 -125
- package/src/components/loading/index.js +0 -7
- package/src/components/menu/Menu.vue +0 -79
- package/src/components/menu/MenuItem.vue +0 -201
- package/src/components/menu/index.js +0 -7
- package/src/components/message/Message.vue +0 -229
- package/src/components/message/index.js +0 -34
- package/src/components/messageBox/MessageBox.vue +0 -358
- package/src/components/messageBox/index.js +0 -22
- package/src/components/notification/Notification.vue +0 -316
- package/src/components/notification/index.js +0 -49
- package/src/components/pagination/Pagination.vue +0 -317
- package/src/components/pagination/index.js +0 -7
- package/src/components/pagination/pageButton.vue +0 -31
- package/src/components/progress/Progress.vue +0 -139
- package/src/components/progress/index.js +0 -7
- package/src/components/radio/Radio.vue +0 -159
- package/src/components/radio/index.js +0 -7
- package/src/components/radioGroup/RadioGroup.vue +0 -41
- package/src/components/radioGroup/index.js +0 -7
- package/src/components/scheduler/Scheduler.vue +0 -149
- package/src/components/scheduler/index.js +0 -7
- package/src/components/scheduler/uses.js +0 -183
- package/src/components/select/Select.vue +0 -556
- package/src/components/select/index.js +0 -7
- package/src/components/select/uses.js +0 -379
- package/src/components/slider/Slider.vue +0 -505
- package/src/components/slider/index.js +0 -7
- package/src/components/slider/uses.js +0 -391
- package/src/components/tabPanel/TabPanel.vue +0 -74
- package/src/components/tabPanel/index.js +0 -7
- package/src/components/tabs/Tabs.vue +0 -517
- package/src/components/tabs/index.js +0 -7
- package/src/components/textField/TextField.vue +0 -399
- package/src/components/textField/index.js +0 -7
- package/src/components/timePicker/TimePicker.vue +0 -364
- package/src/components/timePicker/index.js +0 -7
- package/src/components/toggle/Toggle.vue +0 -115
- package/src/components/toggle/index.js +0 -7
- package/src/components/tree/Tree.vue +0 -338
- package/src/components/tree/TreeNode.vue +0 -293
- package/src/components/tree/index.js +0 -7
- package/src/components/treeGrid/TreeGrid.vue +0 -1074
- package/src/components/treeGrid/TreeGridNode.vue +0 -349
- package/src/components/treeGrid/TreeGridToolbar.vue +0 -35
- package/src/components/treeGrid/icon/icon-tree.png +0 -0
- package/src/components/treeGrid/index.js +0 -9
- package/src/components/treeGrid/style/treeGrid.scss +0 -277
- package/src/components/treeGrid/uses.js +0 -1178
- package/src/components/window/Window.vue +0 -329
- package/src/components/window/index.js +0 -7
- package/src/components/window/uses.js +0 -908
- package/src/directives/clickoutside.js +0 -90
- package/src/main.js +0 -120
- package/src/style/components/input.scss +0 -108
- package/src/style/functions.scss +0 -3
- package/src/style/index.scss +0 -6
- package/src/style/lib/fonts/EVUI.eot +0 -0
- package/src/style/lib/fonts/EVUI.svg +0 -293
- package/src/style/lib/fonts/EVUI.ttf +0 -0
- package/src/style/lib/fonts/EVUI.woff +0 -0
- package/src/style/lib/icon.css +0 -888
- package/src/style/mixins.scss +0 -94
- package/src/style/themes.scss +0 -69
- package/src/style/variables.scss +0 -22
|
@@ -1,505 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div
|
|
3
|
-
class="ev-slider"
|
|
4
|
-
:class="{
|
|
5
|
-
readonly,
|
|
6
|
-
disabled,
|
|
7
|
-
'hide-tooltip': !showTooltip,
|
|
8
|
-
'show-input': showInput,
|
|
9
|
-
'color-range': isColorArray,
|
|
10
|
-
'show-mark': markList.length,
|
|
11
|
-
}"
|
|
12
|
-
>
|
|
13
|
-
<div class="ev-slider-wrapper">
|
|
14
|
-
<div
|
|
15
|
-
ref="sliderLine"
|
|
16
|
-
class="ev-slider-line"
|
|
17
|
-
>
|
|
18
|
-
<template v-if="showStep && step">
|
|
19
|
-
<div class="ev-slider-step-wrapper">
|
|
20
|
-
<span
|
|
21
|
-
v-for="(stepLeft, idx) in stepList"
|
|
22
|
-
:key="`slider-step-${idx}`"
|
|
23
|
-
:style="{ left: `${stepLeft}%` }"
|
|
24
|
-
class="ev-slider-step"
|
|
25
|
-
/>
|
|
26
|
-
</div>
|
|
27
|
-
</template>
|
|
28
|
-
<template v-if="isColorArray && color.length > 1">
|
|
29
|
-
<div
|
|
30
|
-
v-if="range"
|
|
31
|
-
:style="leftThumbStyle"
|
|
32
|
-
class="ev-slider-thumb left"
|
|
33
|
-
/>
|
|
34
|
-
<div
|
|
35
|
-
:style="rightThumbStyle"
|
|
36
|
-
class="ev-slider-thumb right"
|
|
37
|
-
/>
|
|
38
|
-
</template>
|
|
39
|
-
<div
|
|
40
|
-
class="ev-slider-thumb"
|
|
41
|
-
:style="rangeThumbStyle"
|
|
42
|
-
/>
|
|
43
|
-
<template v-if="markList.length > 0">
|
|
44
|
-
<div class="ev-slider-mark-wrapper">
|
|
45
|
-
<div
|
|
46
|
-
v-for="(markItem, idx) in markList"
|
|
47
|
-
:key="`slider-step-${idx}`"
|
|
48
|
-
:style="{
|
|
49
|
-
...markItem.style,
|
|
50
|
-
left: `${markItem.posX}%`,
|
|
51
|
-
}"
|
|
52
|
-
class="ev-slider-mark"
|
|
53
|
-
>
|
|
54
|
-
<span class="ev-slider-mark-label">{{ markItem.label }}</span>
|
|
55
|
-
</div>
|
|
56
|
-
</div>
|
|
57
|
-
</template>
|
|
58
|
-
<span
|
|
59
|
-
class="ev-slider-line-layer"
|
|
60
|
-
@click="clickSlider"
|
|
61
|
-
/>
|
|
62
|
-
</div>
|
|
63
|
-
<div
|
|
64
|
-
v-if="range"
|
|
65
|
-
class="ev-slider-handle"
|
|
66
|
-
:class="{ dragging: dragging && handleType === 'left' }"
|
|
67
|
-
:style="leftHandleStyle"
|
|
68
|
-
@mousedown.stop.prevent="startDrag('left')"
|
|
69
|
-
>
|
|
70
|
-
<span
|
|
71
|
-
:style="handleBtnStyle"
|
|
72
|
-
class="ev-slider-handle-btn"
|
|
73
|
-
/>
|
|
74
|
-
<div class="ev-slider-tooltip" v-html="formatValue.left" />
|
|
75
|
-
</div>
|
|
76
|
-
<div
|
|
77
|
-
class="ev-slider-handle"
|
|
78
|
-
:class="{ dragging: dragging && handleType === 'right' }"
|
|
79
|
-
:style="rightHandleStyle"
|
|
80
|
-
@mousedown.stop.prevent="startDrag('right')"
|
|
81
|
-
>
|
|
82
|
-
<span
|
|
83
|
-
:style="handleBtnStyle"
|
|
84
|
-
class="ev-slider-handle-btn"
|
|
85
|
-
/>
|
|
86
|
-
<div class="ev-slider-tooltip" v-html="formatValue.right" />
|
|
87
|
-
</div>
|
|
88
|
-
</div>
|
|
89
|
-
<template v-if="showInput && !range">
|
|
90
|
-
<ev-input-number
|
|
91
|
-
v-model="currentValue"
|
|
92
|
-
:step="step"
|
|
93
|
-
:min="min"
|
|
94
|
-
:max="max"
|
|
95
|
-
step-strictly
|
|
96
|
-
@change="changeInput"
|
|
97
|
-
/>
|
|
98
|
-
</template>
|
|
99
|
-
<template v-else-if="showInput && range && Array.isArray(modelValue)">
|
|
100
|
-
<ev-input-number
|
|
101
|
-
v-model="currentValue[0]"
|
|
102
|
-
:step="step"
|
|
103
|
-
:min="min"
|
|
104
|
-
:max="currentValue[1]"
|
|
105
|
-
step-strictly
|
|
106
|
-
@change="changeInput($event, 'left')"
|
|
107
|
-
/>
|
|
108
|
-
<ev-input-number
|
|
109
|
-
v-model="currentValue[1]"
|
|
110
|
-
:step="step"
|
|
111
|
-
:min="currentValue[0]"
|
|
112
|
-
:max="max"
|
|
113
|
-
step-strictly
|
|
114
|
-
@change="changeInput($event, 'right')"
|
|
115
|
-
/>
|
|
116
|
-
</template>
|
|
117
|
-
</div>
|
|
118
|
-
</template>
|
|
119
|
-
|
|
120
|
-
<script>
|
|
121
|
-
import { toRefs } from 'vue';
|
|
122
|
-
import { useModel, useStyle, useEvent, useInit } from './uses';
|
|
123
|
-
|
|
124
|
-
export default {
|
|
125
|
-
name: 'EvSlider',
|
|
126
|
-
components: {
|
|
127
|
-
},
|
|
128
|
-
props: {
|
|
129
|
-
modelValue: {
|
|
130
|
-
type: [Number, Array],
|
|
131
|
-
default: null,
|
|
132
|
-
},
|
|
133
|
-
readonly: {
|
|
134
|
-
type: Boolean,
|
|
135
|
-
default: false,
|
|
136
|
-
},
|
|
137
|
-
disabled: {
|
|
138
|
-
type: Boolean,
|
|
139
|
-
default: false,
|
|
140
|
-
},
|
|
141
|
-
range: {
|
|
142
|
-
type: Boolean,
|
|
143
|
-
default: false,
|
|
144
|
-
},
|
|
145
|
-
max: {
|
|
146
|
-
type: Number,
|
|
147
|
-
default: 100,
|
|
148
|
-
},
|
|
149
|
-
min: {
|
|
150
|
-
type: Number,
|
|
151
|
-
default: 0,
|
|
152
|
-
},
|
|
153
|
-
step: {
|
|
154
|
-
type: Number,
|
|
155
|
-
default: 1,
|
|
156
|
-
validator: val => val > 0,
|
|
157
|
-
},
|
|
158
|
-
mark: {
|
|
159
|
-
type: Object,
|
|
160
|
-
default: () => {},
|
|
161
|
-
},
|
|
162
|
-
showStep: {
|
|
163
|
-
type: Boolean,
|
|
164
|
-
default: false,
|
|
165
|
-
},
|
|
166
|
-
showTooltip: {
|
|
167
|
-
type: Boolean,
|
|
168
|
-
default: true,
|
|
169
|
-
},
|
|
170
|
-
showInput: {
|
|
171
|
-
type: Boolean,
|
|
172
|
-
default: false,
|
|
173
|
-
},
|
|
174
|
-
color: {
|
|
175
|
-
type: [String, Array],
|
|
176
|
-
default: null,
|
|
177
|
-
},
|
|
178
|
-
tooltipFormat: {
|
|
179
|
-
type: Function,
|
|
180
|
-
default: null,
|
|
181
|
-
},
|
|
182
|
-
},
|
|
183
|
-
emits: [
|
|
184
|
-
'update:modelValue',
|
|
185
|
-
'change',
|
|
186
|
-
],
|
|
187
|
-
setup() {
|
|
188
|
-
const {
|
|
189
|
-
currentValue,
|
|
190
|
-
state,
|
|
191
|
-
slider,
|
|
192
|
-
formatValue,
|
|
193
|
-
sliderLine,
|
|
194
|
-
updateSliderInfo,
|
|
195
|
-
setSliderValue,
|
|
196
|
-
} = useModel();
|
|
197
|
-
|
|
198
|
-
const {
|
|
199
|
-
isColorArray,
|
|
200
|
-
leftHandleStyle,
|
|
201
|
-
rightHandleStyle,
|
|
202
|
-
handleBtnStyle,
|
|
203
|
-
rangeThumbStyle,
|
|
204
|
-
leftThumbStyle,
|
|
205
|
-
rightThumbStyle,
|
|
206
|
-
} = useStyle({
|
|
207
|
-
currentValue,
|
|
208
|
-
state,
|
|
209
|
-
slider,
|
|
210
|
-
});
|
|
211
|
-
|
|
212
|
-
const {
|
|
213
|
-
startDrag,
|
|
214
|
-
clickSlider,
|
|
215
|
-
changeInput,
|
|
216
|
-
} = useEvent({
|
|
217
|
-
currentValue,
|
|
218
|
-
state,
|
|
219
|
-
slider,
|
|
220
|
-
updateSliderInfo,
|
|
221
|
-
setSliderValue,
|
|
222
|
-
});
|
|
223
|
-
|
|
224
|
-
useInit({
|
|
225
|
-
currentValue,
|
|
226
|
-
state,
|
|
227
|
-
slider,
|
|
228
|
-
updateSliderInfo,
|
|
229
|
-
setSliderValue,
|
|
230
|
-
});
|
|
231
|
-
|
|
232
|
-
return {
|
|
233
|
-
currentValue,
|
|
234
|
-
isColorArray,
|
|
235
|
-
leftHandleStyle,
|
|
236
|
-
rightHandleStyle,
|
|
237
|
-
handleBtnStyle,
|
|
238
|
-
rangeThumbStyle,
|
|
239
|
-
leftThumbStyle,
|
|
240
|
-
rightThumbStyle,
|
|
241
|
-
sliderLine,
|
|
242
|
-
...toRefs(state),
|
|
243
|
-
...toRefs(slider),
|
|
244
|
-
formatValue,
|
|
245
|
-
startDrag,
|
|
246
|
-
clickSlider,
|
|
247
|
-
changeInput,
|
|
248
|
-
};
|
|
249
|
-
},
|
|
250
|
-
};
|
|
251
|
-
</script>
|
|
252
|
-
|
|
253
|
-
<style lang="scss">
|
|
254
|
-
@import '../../style/index.scss';
|
|
255
|
-
|
|
256
|
-
.ev-slider {
|
|
257
|
-
$line-height: 6px;
|
|
258
|
-
$handle-height: $line-height + 10px;
|
|
259
|
-
$handle-padding: 6px;
|
|
260
|
-
|
|
261
|
-
position: relative;
|
|
262
|
-
box-sizing: border-box;
|
|
263
|
-
user-select: none;
|
|
264
|
-
&-wrapper {
|
|
265
|
-
position: relative;
|
|
266
|
-
height: $line-height + $handle-height;
|
|
267
|
-
padding: #{$handle-height / 2} 0;
|
|
268
|
-
margin: 0 #{$handle-height / 2};
|
|
269
|
-
}
|
|
270
|
-
&-line-layer {
|
|
271
|
-
position: absolute;
|
|
272
|
-
top: 0;
|
|
273
|
-
left: 0;
|
|
274
|
-
width: 100%;
|
|
275
|
-
height: 100%;
|
|
276
|
-
cursor: pointer;
|
|
277
|
-
}
|
|
278
|
-
&-line {
|
|
279
|
-
position: relative;
|
|
280
|
-
width: 100%;
|
|
281
|
-
height: 100%;
|
|
282
|
-
border-radius: #{$line-height / 2};
|
|
283
|
-
|
|
284
|
-
@include evThemify() {
|
|
285
|
-
background-color: evThemed('border-light');
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
&-thumb {
|
|
289
|
-
position: absolute;
|
|
290
|
-
top: 0;
|
|
291
|
-
left: 0;
|
|
292
|
-
width: 0;
|
|
293
|
-
height: $line-height;
|
|
294
|
-
border-radius: #{$line-height / 2};
|
|
295
|
-
|
|
296
|
-
@include evThemify() {
|
|
297
|
-
background-color: evThemed('primary');
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
&-handle {
|
|
301
|
-
$handle-size: $handle-height + $handle-padding;
|
|
302
|
-
|
|
303
|
-
position: absolute;
|
|
304
|
-
top: 50%;
|
|
305
|
-
left: 0;
|
|
306
|
-
z-index: 9;
|
|
307
|
-
width: $handle-size;
|
|
308
|
-
height: $handle-size;
|
|
309
|
-
padding: $handle-padding / 2;
|
|
310
|
-
margin-top: ($handle-size / 2) * -1;
|
|
311
|
-
margin-left: ($handle-size / 2) * -1;
|
|
312
|
-
cursor: grab;
|
|
313
|
-
|
|
314
|
-
&.dragging {
|
|
315
|
-
cursor: grabbing;
|
|
316
|
-
}
|
|
317
|
-
&.dragging,
|
|
318
|
-
&:hover {
|
|
319
|
-
.ev-slider-handle-btn {
|
|
320
|
-
transform: scale(1.2);
|
|
321
|
-
}
|
|
322
|
-
.ev-slider-tooltip {
|
|
323
|
-
display: block;
|
|
324
|
-
opacity: 1;
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
&-btn {
|
|
328
|
-
display: block;
|
|
329
|
-
width: 100%;
|
|
330
|
-
height: 100%;
|
|
331
|
-
border-radius: 50%;
|
|
332
|
-
background-color: $color-white;
|
|
333
|
-
transition: transform 0.1s ease-in-out;
|
|
334
|
-
box-sizing: border-box;
|
|
335
|
-
|
|
336
|
-
@include evThemify() {
|
|
337
|
-
border: 2px solid evThemed('primary');
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
&-tooltip {
|
|
342
|
-
display: none;
|
|
343
|
-
position: absolute;
|
|
344
|
-
left: 50%;
|
|
345
|
-
bottom: $handle-height + 10px;
|
|
346
|
-
padding: 3px 5px;
|
|
347
|
-
color: $color-white;
|
|
348
|
-
border-radius: $default-radius;
|
|
349
|
-
font-size: $font-size-base;
|
|
350
|
-
opacity: 0;
|
|
351
|
-
z-index: 850;
|
|
352
|
-
transform: translateX(-50%);
|
|
353
|
-
transition: all 0.2s ease-in-out;
|
|
354
|
-
white-space: nowrap;
|
|
355
|
-
|
|
356
|
-
@include evThemify() {
|
|
357
|
-
background-color: evThemed('tooltip-background');
|
|
358
|
-
}
|
|
359
|
-
&:before {
|
|
360
|
-
display: block;
|
|
361
|
-
position: absolute;
|
|
362
|
-
left: 50%;
|
|
363
|
-
bottom: -4px;
|
|
364
|
-
width: 6px;
|
|
365
|
-
height: 6px;
|
|
366
|
-
z-index: -1;
|
|
367
|
-
transform: rotate(45deg) translateX(-50%);
|
|
368
|
-
content: '';
|
|
369
|
-
|
|
370
|
-
@include evThemify() {
|
|
371
|
-
background-color: evThemed('tooltip-background');
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
&-step-wrapper {
|
|
376
|
-
position: absolute;
|
|
377
|
-
top: 0;
|
|
378
|
-
left: 0;
|
|
379
|
-
width: 100%;
|
|
380
|
-
height: 100%;
|
|
381
|
-
}
|
|
382
|
-
&-step {
|
|
383
|
-
display: block;
|
|
384
|
-
position: absolute;
|
|
385
|
-
top: 0;
|
|
386
|
-
width: $line-height;
|
|
387
|
-
height: $line-height;
|
|
388
|
-
border-radius: #{$line-height / 2};
|
|
389
|
-
transform: translateX(-50%);
|
|
390
|
-
|
|
391
|
-
@include evThemify() {
|
|
392
|
-
background-color: evThemed('border-base');
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
&-mark-wrapper {
|
|
396
|
-
position: relative;
|
|
397
|
-
width: 100%;
|
|
398
|
-
height: 100%;
|
|
399
|
-
}
|
|
400
|
-
&-mark {
|
|
401
|
-
position: absolute;
|
|
402
|
-
top: $line-height * 2;
|
|
403
|
-
padding: 0 3px;
|
|
404
|
-
transform: translateX(-50%);
|
|
405
|
-
font-size: $font-size-base;
|
|
406
|
-
line-height: 1.4em;
|
|
407
|
-
|
|
408
|
-
&:before {
|
|
409
|
-
position: absolute;
|
|
410
|
-
top: $line-height * -2;
|
|
411
|
-
left: 50%;
|
|
412
|
-
width: $line-height;
|
|
413
|
-
height: $line-height;
|
|
414
|
-
border-radius: #{$line-height / 2};
|
|
415
|
-
transform: translateX(-50%);
|
|
416
|
-
content: '';
|
|
417
|
-
|
|
418
|
-
@include evThemify() {
|
|
419
|
-
background-color: evThemed('slider-mark-background');
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
.ev-slider-mark-label {
|
|
423
|
-
display: block;
|
|
424
|
-
white-space: nowrap;
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
@include state('hide-tooltip') {
|
|
429
|
-
.ev-slider-tooltip {
|
|
430
|
-
display: none;
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
@include state('show-input') {
|
|
434
|
-
display: flex;
|
|
435
|
-
height: $input-default-height;
|
|
436
|
-
align-items: center;
|
|
437
|
-
.ev-slider-wrapper {
|
|
438
|
-
flex: 1;
|
|
439
|
-
}
|
|
440
|
-
.ev-input-number {
|
|
441
|
-
width: 100px;
|
|
442
|
-
margin-left: 10px;
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
@include state('color-range') {
|
|
446
|
-
.ev-slider-handle-btn {
|
|
447
|
-
border-color: #666666;
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
@include state('show-mark') {
|
|
451
|
-
padding-bottom: $handle-height;
|
|
452
|
-
}
|
|
453
|
-
@include state('readonly') {
|
|
454
|
-
&, * {
|
|
455
|
-
cursor: default !important;
|
|
456
|
-
}
|
|
457
|
-
.ev-slider-handle {
|
|
458
|
-
&.on,
|
|
459
|
-
&:hover {
|
|
460
|
-
.ev-slider-handle-btn {
|
|
461
|
-
transform: scale(1);
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
}
|
|
466
|
-
@include state('disabled') {
|
|
467
|
-
&, * {
|
|
468
|
-
cursor: not-allowed !important;
|
|
469
|
-
}
|
|
470
|
-
.ev-slider-thumb {
|
|
471
|
-
@include evThemify() {
|
|
472
|
-
background-color: evThemed('disabled');
|
|
473
|
-
}
|
|
474
|
-
&.left,
|
|
475
|
-
&.right {
|
|
476
|
-
@include evThemify() {
|
|
477
|
-
background-color: lighten(evThemed('disabled'), 5%);
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
.ev-slider-handle {
|
|
482
|
-
&-btn {
|
|
483
|
-
cursor: not-allowed !important;
|
|
484
|
-
|
|
485
|
-
@include evThemify() {
|
|
486
|
-
background-color: evThemed('border-light');
|
|
487
|
-
border-color: evThemed('disabled');
|
|
488
|
-
}
|
|
489
|
-
}
|
|
490
|
-
&.on,
|
|
491
|
-
&:hover {
|
|
492
|
-
.ev-slider-handle-btn {
|
|
493
|
-
transform: scale(1);
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
.ev-slider-tooltip,
|
|
498
|
-
.ev-slider-tooltip:before {
|
|
499
|
-
@include evThemify() {
|
|
500
|
-
background-color: evThemed('disabled');
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
}
|
|
505
|
-
</style>
|