evui 3.3.36 → 3.3.39
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 +21 -21
- package/README.md +40 -40
- package/dist/evui.common.js +1907 -1832
- package/dist/evui.common.js.map +1 -1
- package/dist/evui.umd.js +1907 -1832
- package/dist/evui.umd.js.map +1 -1
- package/dist/evui.umd.min.js +1 -1
- package/dist/evui.umd.min.js.map +1 -1
- package/dist/img/{EVUI.7f3588fb.svg → EVUI.b82ee81a.svg} +292 -292
- package/dist/img/{icon_mysql.7ea26d5d.svg → icon_mysql.1085fdc9.svg} +78 -78
- package/dist/img/{icon_oracle.9009b108.svg → icon_oracle.0572d3ee.svg} +13 -13
- package/dist/img/{icon_postgresql.f8fffba9.svg → icon_postgresql.ee12bde8.svg} +58 -58
- package/package.json +61 -61
- package/src/common/emitter.js +20 -20
- package/src/common/utils.debounce.js +223 -223
- package/src/common/utils.js +134 -134
- package/src/common/utils.table.js +78 -78
- package/src/common/utils.throttle.js +83 -83
- package/src/common/utils.tree.js +18 -18
- package/src/components/button/Button.vue +198 -198
- package/src/components/button/index.js +7 -7
- package/src/components/buttonGroup/ButtonGroup.vue +11 -11
- package/src/components/buttonGroup/index.js +7 -7
- package/src/components/calendar/Calendar.vue +661 -661
- package/src/components/calendar/index.js +7 -7
- package/src/components/calendar/uses.js +1272 -1272
- package/src/components/chart/Chart.vue +189 -192
- package/src/components/chart/chart.core.js +870 -870
- package/src/components/chart/element/element.bar.js +524 -524
- package/src/components/chart/element/element.bar.time.js +156 -156
- package/src/components/chart/element/element.heatmap.js +533 -533
- package/src/components/chart/element/element.line.js +339 -339
- package/src/components/chart/element/element.pie.js +197 -197
- package/src/components/chart/element/element.scatter.js +184 -184
- package/src/components/chart/element/element.tip.js +550 -542
- package/src/components/chart/helpers/helpers.canvas.js +265 -265
- package/src/components/chart/helpers/helpers.constant.js +206 -206
- package/src/components/chart/helpers/helpers.util.js +346 -338
- package/src/components/chart/index.js +9 -9
- package/src/components/chart/model/index.js +4 -4
- package/src/components/chart/model/model.series.js +93 -93
- package/src/components/chart/model/model.store.js +977 -967
- package/src/components/chart/plugins/plugins.interaction.js +769 -769
- package/src/components/chart/plugins/plugins.legend.gradient.js +602 -602
- package/src/components/chart/plugins/plugins.legend.js +1155 -1151
- package/src/components/chart/plugins/plugins.pie.js +254 -254
- package/src/components/chart/plugins/plugins.title.js +56 -56
- package/src/components/chart/plugins/plugins.tooltip.js +692 -692
- package/src/components/chart/scale/scale.js +848 -848
- package/src/components/chart/scale/scale.linear.js +38 -38
- package/src/components/chart/scale/scale.logarithmic.js +128 -128
- package/src/components/chart/scale/scale.step.js +336 -336
- package/src/components/chart/scale/scale.time.category.js +277 -277
- package/src/components/chart/scale/scale.time.js +48 -48
- package/src/components/chart/style/chart.scss +312 -312
- package/src/components/chart/uses.js +264 -252
- package/src/components/checkbox/Checkbox.vue +200 -200
- package/src/components/checkbox/index.js +7 -7
- package/src/components/checkboxGroup/CheckboxGroup.vue +44 -44
- package/src/components/checkboxGroup/index.js +7 -7
- package/src/components/contextMenu/ContextMenu.vue +80 -80
- package/src/components/contextMenu/MenuList.vue +149 -149
- package/src/components/contextMenu/index.js +7 -7
- package/src/components/contextMenu/uses.js +203 -203
- package/src/components/datePicker/DatePicker.vue +437 -437
- package/src/components/datePicker/index.js +7 -7
- package/src/components/datePicker/uses.js +419 -419
- package/src/components/grid/Grid.vue +827 -827
- package/src/components/grid/grid.filter.window.vue +493 -493
- package/src/components/grid/grid.pagination.vue +75 -75
- package/src/components/grid/grid.summary.vue +265 -265
- package/src/components/grid/grid.toolbar.vue +26 -26
- package/src/components/grid/index.js +11 -11
- package/src/components/grid/style/grid.scss +263 -263
- package/src/components/grid/uses.js +1002 -1007
- package/src/components/icon/Icon.vue +49 -49
- package/src/components/icon/index.js +8 -8
- package/src/components/inputNumber/InputNumber.vue +212 -212
- package/src/components/inputNumber/index.js +7 -7
- package/src/components/inputNumber/uses.js +217 -217
- package/src/components/loading/Loading.vue +125 -125
- package/src/components/loading/index.js +7 -7
- package/src/components/menu/Menu.vue +68 -68
- package/src/components/menu/MenuItem.vue +187 -187
- package/src/components/menu/index.js +7 -7
- package/src/components/message/Message.vue +223 -223
- package/src/components/message/index.js +31 -31
- package/src/components/messageBox/MessageBox.vue +358 -358
- package/src/components/messageBox/index.js +22 -22
- package/src/components/notification/Notification.vue +316 -316
- package/src/components/notification/index.js +49 -49
- package/src/components/pagination/Pagination.vue +271 -271
- package/src/components/pagination/index.js +7 -7
- package/src/components/pagination/pageButton.vue +30 -30
- package/src/components/progress/Progress.vue +139 -139
- package/src/components/progress/index.js +7 -7
- package/src/components/radio/Radio.vue +159 -159
- package/src/components/radio/index.js +7 -7
- package/src/components/radioGroup/RadioGroup.vue +41 -41
- package/src/components/radioGroup/index.js +7 -7
- package/src/components/scheduler/Scheduler.vue +149 -149
- package/src/components/scheduler/index.js +7 -7
- package/src/components/scheduler/uses.js +183 -183
- package/src/components/select/Select.vue +440 -440
- package/src/components/select/index.js +7 -7
- package/src/components/select/uses.js +270 -270
- package/src/components/slider/Slider.vue +505 -505
- package/src/components/slider/index.js +7 -7
- package/src/components/slider/uses.js +390 -390
- package/src/components/tabPanel/TabPanel.vue +74 -74
- package/src/components/tabPanel/index.js +7 -7
- package/src/components/tabs/Tabs.vue +517 -517
- package/src/components/tabs/index.js +7 -7
- package/src/components/textField/TextField.vue +375 -375
- package/src/components/textField/index.js +7 -7
- package/src/components/timePicker/TimePicker.vue +352 -352
- package/src/components/timePicker/index.js +7 -7
- package/src/components/toggle/Toggle.vue +115 -115
- package/src/components/toggle/index.js +7 -7
- package/src/components/tree/Tree.vue +313 -313
- package/src/components/tree/TreeNode.vue +293 -293
- package/src/components/tree/index.js +7 -7
- package/src/components/treeGrid/TreeGrid.vue +758 -758
- package/src/components/treeGrid/TreeGridNode.vue +275 -275
- package/src/components/treeGrid/index.js +9 -9
- package/src/components/treeGrid/style/treeGrid.scss +261 -261
- package/src/components/treeGrid/treeGrid.toolbar.vue +26 -26
- package/src/components/treeGrid/uses.js +867 -867
- package/src/components/window/Window.vue +329 -329
- package/src/components/window/index.js +7 -7
- package/src/components/window/uses.js +899 -899
- package/src/directives/clickoutside.js +90 -90
- package/src/main.js +116 -116
- package/src/style/components/input.scss +108 -108
- package/src/style/functions.scss +3 -3
- package/src/style/index.scss +6 -6
- package/src/style/lib/fonts/EVUI.svg +292 -292
- package/src/style/lib/icon.css +888 -888
- package/src/style/mixins.scss +94 -94
- package/src/style/themes.scss +67 -67
- package/src/style/variables.scss +22 -22
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div
|
|
3
|
-
class="ev-radio-group"
|
|
4
|
-
:class="{ 'type-button': type === 'button' }"
|
|
5
|
-
role="group"
|
|
6
|
-
>
|
|
7
|
-
<slot />
|
|
8
|
-
</div>
|
|
9
|
-
</template>
|
|
10
|
-
|
|
11
|
-
<script>
|
|
12
|
-
import { computed, provide, nextTick } from 'vue';
|
|
13
|
-
|
|
14
|
-
export default {
|
|
15
|
-
name: 'EvRadioGroup',
|
|
16
|
-
props: {
|
|
17
|
-
modelValue: {
|
|
18
|
-
type: [String, Number, Symbol, Boolean],
|
|
19
|
-
default: null,
|
|
20
|
-
},
|
|
21
|
-
type: {
|
|
22
|
-
type: String,
|
|
23
|
-
default: 'radio',
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
emits: ['update:modelValue', 'change'],
|
|
27
|
-
setup(props, { emit }) {
|
|
28
|
-
const mv = computed({
|
|
29
|
-
get: () => props.modelValue,
|
|
30
|
-
set: val => emit('update:modelValue', val),
|
|
31
|
-
});
|
|
32
|
-
provide('EvRadioGroupMv', mv);
|
|
33
|
-
|
|
34
|
-
const change = async (e) => {
|
|
35
|
-
await nextTick();
|
|
36
|
-
emit('change', mv.value, e);
|
|
37
|
-
};
|
|
38
|
-
provide('EvRadioGroupChange', change);
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
class="ev-radio-group"
|
|
4
|
+
:class="{ 'type-button': type === 'button' }"
|
|
5
|
+
role="group"
|
|
6
|
+
>
|
|
7
|
+
<slot />
|
|
8
|
+
</div>
|
|
9
|
+
</template>
|
|
10
|
+
|
|
11
|
+
<script>
|
|
12
|
+
import { computed, provide, nextTick } from 'vue';
|
|
13
|
+
|
|
14
|
+
export default {
|
|
15
|
+
name: 'EvRadioGroup',
|
|
16
|
+
props: {
|
|
17
|
+
modelValue: {
|
|
18
|
+
type: [String, Number, Symbol, Boolean],
|
|
19
|
+
default: null,
|
|
20
|
+
},
|
|
21
|
+
type: {
|
|
22
|
+
type: String,
|
|
23
|
+
default: 'radio',
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
emits: ['update:modelValue', 'change'],
|
|
27
|
+
setup(props, { emit }) {
|
|
28
|
+
const mv = computed({
|
|
29
|
+
get: () => props.modelValue,
|
|
30
|
+
set: val => emit('update:modelValue', val),
|
|
31
|
+
});
|
|
32
|
+
provide('EvRadioGroupMv', mv);
|
|
33
|
+
|
|
34
|
+
const change = async (e) => {
|
|
35
|
+
await nextTick();
|
|
36
|
+
emit('change', mv.value, e);
|
|
37
|
+
};
|
|
38
|
+
provide('EvRadioGroupChange', change);
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
</script>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import EvRadioGroup from './RadioGroup';
|
|
2
|
-
|
|
3
|
-
EvRadioGroup.install = (app) => {
|
|
4
|
-
app.component(EvRadioGroup.name, EvRadioGroup);
|
|
5
|
-
};
|
|
6
|
-
|
|
7
|
-
export default EvRadioGroup;
|
|
1
|
+
import EvRadioGroup from './RadioGroup';
|
|
2
|
+
|
|
3
|
+
EvRadioGroup.install = (app) => {
|
|
4
|
+
app.component(EvRadioGroup.name, EvRadioGroup);
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export default EvRadioGroup;
|
|
@@ -1,149 +1,149 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<table
|
|
3
|
-
class="ev-scheduler"
|
|
4
|
-
:class="{ draggable: !!dragEventName }"
|
|
5
|
-
>
|
|
6
|
-
<thead>
|
|
7
|
-
<tr class="ev-scheduler-header">
|
|
8
|
-
<td />
|
|
9
|
-
<td
|
|
10
|
-
v-for="(wItem, wIdx) in colLabels.length"
|
|
11
|
-
:key="`${wItem}_${wIdx}_header`"
|
|
12
|
-
class="ev-scheduler-header-label"
|
|
13
|
-
@click="selectColumn(wIdx)"
|
|
14
|
-
v-html="colLabels[wIdx]"
|
|
15
|
-
/>
|
|
16
|
-
</tr>
|
|
17
|
-
</thead>
|
|
18
|
-
<tbody @mouseleave="mouseleaveBoxArea">
|
|
19
|
-
<tr
|
|
20
|
-
v-for="(hItem, hIdx) in rowLabels.length"
|
|
21
|
-
:key="`${hItem}_${hIdx}_body`"
|
|
22
|
-
class="ev-scheduler-body"
|
|
23
|
-
>
|
|
24
|
-
<td
|
|
25
|
-
:key="`${hItem}_${hIdx}_${rowLabels[hIdx]}`"
|
|
26
|
-
class="ev-scheduler-body-label"
|
|
27
|
-
@click="selectRow(hIdx)"
|
|
28
|
-
v-html="rowLabels[hIdx]"
|
|
29
|
-
/>
|
|
30
|
-
<td
|
|
31
|
-
v-for="(wItem, wIdx) in colLabels.length"
|
|
32
|
-
:key="`${wItem}_${hIdx}_${wIdx}_body`"
|
|
33
|
-
class="ev-scheduler-body-box"
|
|
34
|
-
:class="{ selected: mv[hIdx][wIdx] }"
|
|
35
|
-
:style="selectionStyle(hIdx, wIdx)"
|
|
36
|
-
@mousedown.stop.prevent="mousedownBox(hIdx, wIdx, $event)"
|
|
37
|
-
@mouseup.stop.prevent="mouseupBox(hIdx, wIdx)"
|
|
38
|
-
@[`${dragEventName}`]="mousemoveBox(hIdx, wIdx)"
|
|
39
|
-
/>
|
|
40
|
-
</tr>
|
|
41
|
-
</tbody>
|
|
42
|
-
</table>
|
|
43
|
-
</template>
|
|
44
|
-
|
|
45
|
-
<script>
|
|
46
|
-
import { toRefs } from 'vue';
|
|
47
|
-
import { useModel, useEvent } from './uses';
|
|
48
|
-
|
|
49
|
-
export default {
|
|
50
|
-
name: 'EvScheduler',
|
|
51
|
-
props: {
|
|
52
|
-
modelValue: {
|
|
53
|
-
type: Array,
|
|
54
|
-
default: () => [],
|
|
55
|
-
},
|
|
56
|
-
colLabels: {
|
|
57
|
-
type: Array,
|
|
58
|
-
default: () => (['<span style="color: #FF0000">SUN</span>',
|
|
59
|
-
'MON', 'TUE', 'WED', 'THU', 'FRI',
|
|
60
|
-
'<span style="color: #0006F9">SAT</span>']),
|
|
61
|
-
},
|
|
62
|
-
rowLabels: {
|
|
63
|
-
type: Array,
|
|
64
|
-
default: () => (['00:00', '01:00', '02:00', '03:00', '04:00', '05:00',
|
|
65
|
-
'06:00', '07:00', '08:00', '09:00', '10:00', '11:00',
|
|
66
|
-
'12:00', '13:00', '14:00', '15:00', '16:00', '17:00',
|
|
67
|
-
'18:00', '19:00', '20:00', '21:00', '22:00', '23:00']),
|
|
68
|
-
},
|
|
69
|
-
},
|
|
70
|
-
emits: {
|
|
71
|
-
'update:modelValue': Array,
|
|
72
|
-
change: Array,
|
|
73
|
-
},
|
|
74
|
-
setup() {
|
|
75
|
-
const {
|
|
76
|
-
mv,
|
|
77
|
-
validateValue,
|
|
78
|
-
} = useModel();
|
|
79
|
-
|
|
80
|
-
validateValue();
|
|
81
|
-
|
|
82
|
-
const {
|
|
83
|
-
mousePos,
|
|
84
|
-
selectionStyle,
|
|
85
|
-
mousedownBox,
|
|
86
|
-
mouseupBox,
|
|
87
|
-
mousemoveBox,
|
|
88
|
-
mouseleaveBoxArea,
|
|
89
|
-
selectColumn,
|
|
90
|
-
selectRow,
|
|
91
|
-
} = useEvent({ mv });
|
|
92
|
-
|
|
93
|
-
return {
|
|
94
|
-
mv,
|
|
95
|
-
selectionStyle,
|
|
96
|
-
mousedownBox,
|
|
97
|
-
mouseupBox,
|
|
98
|
-
mousemoveBox,
|
|
99
|
-
mouseleaveBoxArea,
|
|
100
|
-
selectColumn,
|
|
101
|
-
selectRow,
|
|
102
|
-
...toRefs(mousePos),
|
|
103
|
-
};
|
|
104
|
-
},
|
|
105
|
-
};
|
|
106
|
-
</script>
|
|
107
|
-
|
|
108
|
-
<style lang="scss">
|
|
109
|
-
@import '../../style/index.scss';
|
|
110
|
-
.ev-scheduler {
|
|
111
|
-
width: 100%;
|
|
112
|
-
border-collapse: collapse;
|
|
113
|
-
border-spacing: 0;
|
|
114
|
-
table-layout: fixed;
|
|
115
|
-
text-align: center;
|
|
116
|
-
font-size: $font-size-small;
|
|
117
|
-
user-select: none;
|
|
118
|
-
cursor: pointer;
|
|
119
|
-
|
|
120
|
-
&.draggable {
|
|
121
|
-
cursor: crosshair !important;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
td {
|
|
125
|
-
height: 18px;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.ev-scheduler-header-label,
|
|
130
|
-
.ev-scheduler-body-label {
|
|
131
|
-
overflow: hidden;
|
|
132
|
-
text-overflow: ellipsis;
|
|
133
|
-
white-space: nowrap;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.ev-scheduler-body-box {
|
|
137
|
-
border: 1px solid #CCCCCC;
|
|
138
|
-
|
|
139
|
-
&.selected {
|
|
140
|
-
background-color: #CCEECC;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.ev-scheduler-selection {
|
|
145
|
-
position: absolute;
|
|
146
|
-
top: 0;
|
|
147
|
-
left: 0;
|
|
148
|
-
}
|
|
149
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<table
|
|
3
|
+
class="ev-scheduler"
|
|
4
|
+
:class="{ draggable: !!dragEventName }"
|
|
5
|
+
>
|
|
6
|
+
<thead>
|
|
7
|
+
<tr class="ev-scheduler-header">
|
|
8
|
+
<td />
|
|
9
|
+
<td
|
|
10
|
+
v-for="(wItem, wIdx) in colLabels.length"
|
|
11
|
+
:key="`${wItem}_${wIdx}_header`"
|
|
12
|
+
class="ev-scheduler-header-label"
|
|
13
|
+
@click="selectColumn(wIdx)"
|
|
14
|
+
v-html="colLabels[wIdx]"
|
|
15
|
+
/>
|
|
16
|
+
</tr>
|
|
17
|
+
</thead>
|
|
18
|
+
<tbody @mouseleave="mouseleaveBoxArea">
|
|
19
|
+
<tr
|
|
20
|
+
v-for="(hItem, hIdx) in rowLabels.length"
|
|
21
|
+
:key="`${hItem}_${hIdx}_body`"
|
|
22
|
+
class="ev-scheduler-body"
|
|
23
|
+
>
|
|
24
|
+
<td
|
|
25
|
+
:key="`${hItem}_${hIdx}_${rowLabels[hIdx]}`"
|
|
26
|
+
class="ev-scheduler-body-label"
|
|
27
|
+
@click="selectRow(hIdx)"
|
|
28
|
+
v-html="rowLabels[hIdx]"
|
|
29
|
+
/>
|
|
30
|
+
<td
|
|
31
|
+
v-for="(wItem, wIdx) in colLabels.length"
|
|
32
|
+
:key="`${wItem}_${hIdx}_${wIdx}_body`"
|
|
33
|
+
class="ev-scheduler-body-box"
|
|
34
|
+
:class="{ selected: mv[hIdx][wIdx] }"
|
|
35
|
+
:style="selectionStyle(hIdx, wIdx)"
|
|
36
|
+
@mousedown.stop.prevent="mousedownBox(hIdx, wIdx, $event)"
|
|
37
|
+
@mouseup.stop.prevent="mouseupBox(hIdx, wIdx)"
|
|
38
|
+
@[`${dragEventName}`]="mousemoveBox(hIdx, wIdx)"
|
|
39
|
+
/>
|
|
40
|
+
</tr>
|
|
41
|
+
</tbody>
|
|
42
|
+
</table>
|
|
43
|
+
</template>
|
|
44
|
+
|
|
45
|
+
<script>
|
|
46
|
+
import { toRefs } from 'vue';
|
|
47
|
+
import { useModel, useEvent } from './uses';
|
|
48
|
+
|
|
49
|
+
export default {
|
|
50
|
+
name: 'EvScheduler',
|
|
51
|
+
props: {
|
|
52
|
+
modelValue: {
|
|
53
|
+
type: Array,
|
|
54
|
+
default: () => [],
|
|
55
|
+
},
|
|
56
|
+
colLabels: {
|
|
57
|
+
type: Array,
|
|
58
|
+
default: () => (['<span style="color: #FF0000">SUN</span>',
|
|
59
|
+
'MON', 'TUE', 'WED', 'THU', 'FRI',
|
|
60
|
+
'<span style="color: #0006F9">SAT</span>']),
|
|
61
|
+
},
|
|
62
|
+
rowLabels: {
|
|
63
|
+
type: Array,
|
|
64
|
+
default: () => (['00:00', '01:00', '02:00', '03:00', '04:00', '05:00',
|
|
65
|
+
'06:00', '07:00', '08:00', '09:00', '10:00', '11:00',
|
|
66
|
+
'12:00', '13:00', '14:00', '15:00', '16:00', '17:00',
|
|
67
|
+
'18:00', '19:00', '20:00', '21:00', '22:00', '23:00']),
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
emits: {
|
|
71
|
+
'update:modelValue': Array,
|
|
72
|
+
change: Array,
|
|
73
|
+
},
|
|
74
|
+
setup() {
|
|
75
|
+
const {
|
|
76
|
+
mv,
|
|
77
|
+
validateValue,
|
|
78
|
+
} = useModel();
|
|
79
|
+
|
|
80
|
+
validateValue();
|
|
81
|
+
|
|
82
|
+
const {
|
|
83
|
+
mousePos,
|
|
84
|
+
selectionStyle,
|
|
85
|
+
mousedownBox,
|
|
86
|
+
mouseupBox,
|
|
87
|
+
mousemoveBox,
|
|
88
|
+
mouseleaveBoxArea,
|
|
89
|
+
selectColumn,
|
|
90
|
+
selectRow,
|
|
91
|
+
} = useEvent({ mv });
|
|
92
|
+
|
|
93
|
+
return {
|
|
94
|
+
mv,
|
|
95
|
+
selectionStyle,
|
|
96
|
+
mousedownBox,
|
|
97
|
+
mouseupBox,
|
|
98
|
+
mousemoveBox,
|
|
99
|
+
mouseleaveBoxArea,
|
|
100
|
+
selectColumn,
|
|
101
|
+
selectRow,
|
|
102
|
+
...toRefs(mousePos),
|
|
103
|
+
};
|
|
104
|
+
},
|
|
105
|
+
};
|
|
106
|
+
</script>
|
|
107
|
+
|
|
108
|
+
<style lang="scss">
|
|
109
|
+
@import '../../style/index.scss';
|
|
110
|
+
.ev-scheduler {
|
|
111
|
+
width: 100%;
|
|
112
|
+
border-collapse: collapse;
|
|
113
|
+
border-spacing: 0;
|
|
114
|
+
table-layout: fixed;
|
|
115
|
+
text-align: center;
|
|
116
|
+
font-size: $font-size-small;
|
|
117
|
+
user-select: none;
|
|
118
|
+
cursor: pointer;
|
|
119
|
+
|
|
120
|
+
&.draggable {
|
|
121
|
+
cursor: crosshair !important;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
td {
|
|
125
|
+
height: 18px;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.ev-scheduler-header-label,
|
|
130
|
+
.ev-scheduler-body-label {
|
|
131
|
+
overflow: hidden;
|
|
132
|
+
text-overflow: ellipsis;
|
|
133
|
+
white-space: nowrap;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.ev-scheduler-body-box {
|
|
137
|
+
border: 1px solid #CCCCCC;
|
|
138
|
+
|
|
139
|
+
&.selected {
|
|
140
|
+
background-color: #CCEECC;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.ev-scheduler-selection {
|
|
145
|
+
position: absolute;
|
|
146
|
+
top: 0;
|
|
147
|
+
left: 0;
|
|
148
|
+
}
|
|
149
|
+
</style>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import EvScheduler from './Scheduler';
|
|
2
|
-
|
|
3
|
-
EvScheduler.install = (app) => {
|
|
4
|
-
app.component(EvScheduler.name, EvScheduler);
|
|
5
|
-
};
|
|
6
|
-
|
|
7
|
-
export default EvScheduler;
|
|
1
|
+
import EvScheduler from './Scheduler';
|
|
2
|
+
|
|
3
|
+
EvScheduler.install = (app) => {
|
|
4
|
+
app.component(EvScheduler.name, EvScheduler);
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export default EvScheduler;
|