evui 3.4.207 → 3.4.209

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.
Files changed (162) hide show
  1. package/README.md +18 -33
  2. package/dist/404.html +44 -0
  3. package/dist/favicon.ico +0 -0
  4. package/dist/index.js +22738 -0
  5. package/dist/index.umd.cjs +28 -0
  6. package/dist/style.css +1 -0
  7. package/package.json +46 -43
  8. package/dist/evui.common.js +0 -63681
  9. package/dist/evui.common.js.map +0 -1
  10. package/dist/evui.umd.js +0 -63691
  11. package/dist/evui.umd.js.map +0 -1
  12. package/dist/evui.umd.min.js +0 -2
  13. package/dist/evui.umd.min.js.map +0 -1
  14. package/dist/img/EVUI.b82ee81a.svg +0 -293
  15. package/src/assets/logo.png +0 -0
  16. package/src/common/emitter.js +0 -20
  17. package/src/common/utils.bignumber.js +0 -67
  18. package/src/common/utils.debounce.js +0 -223
  19. package/src/common/utils.js +0 -151
  20. package/src/common/utils.table.js +0 -78
  21. package/src/common/utils.throttle.js +0 -83
  22. package/src/common/utils.tree.js +0 -18
  23. package/src/components/button/Button.vue +0 -195
  24. package/src/components/button/index.js +0 -7
  25. package/src/components/buttonGroup/ButtonGroup.vue +0 -11
  26. package/src/components/buttonGroup/index.js +0 -7
  27. package/src/components/calendar/Calendar.vue +0 -725
  28. package/src/components/calendar/index.js +0 -7
  29. package/src/components/calendar/uses.js +0 -1410
  30. package/src/components/chart/Chart.vue +0 -363
  31. package/src/components/chart/ChartToolbar.vue +0 -52
  32. package/src/components/chart/chart.core.js +0 -1170
  33. package/src/components/chart/chartZoom.core.js +0 -540
  34. package/src/components/chart/element/element.bar.js +0 -672
  35. package/src/components/chart/element/element.bar.time.js +0 -166
  36. package/src/components/chart/element/element.heatmap.js +0 -743
  37. package/src/components/chart/element/element.line.js +0 -611
  38. package/src/components/chart/element/element.pie.js +0 -197
  39. package/src/components/chart/element/element.scatter.js +0 -320
  40. package/src/components/chart/element/element.tip.js +0 -717
  41. package/src/components/chart/helpers/helpers.canvas.js +0 -265
  42. package/src/components/chart/helpers/helpers.constant.js +0 -235
  43. package/src/components/chart/helpers/helpers.util.js +0 -400
  44. package/src/components/chart/index.js +0 -9
  45. package/src/components/chart/model/index.js +0 -50
  46. package/src/components/chart/model/model.series.js +0 -125
  47. package/src/components/chart/model/model.store.js +0 -1427
  48. package/src/components/chart/plugins/plugins.interaction.js +0 -1659
  49. package/src/components/chart/plugins/plugins.legend.gradient.js +0 -606
  50. package/src/components/chart/plugins/plugins.legend.js +0 -1543
  51. package/src/components/chart/plugins/plugins.pie.js +0 -254
  52. package/src/components/chart/plugins/plugins.scrollbar.js +0 -732
  53. package/src/components/chart/plugins/plugins.title.js +0 -61
  54. package/src/components/chart/plugins/plugins.tooltip.js +0 -1041
  55. package/src/components/chart/scale/scale.js +0 -951
  56. package/src/components/chart/scale/scale.linear.js +0 -268
  57. package/src/components/chart/scale/scale.logarithmic.js +0 -135
  58. package/src/components/chart/scale/scale.step.js +0 -430
  59. package/src/components/chart/scale/scale.time.category.js +0 -338
  60. package/src/components/chart/scale/scale.time.js +0 -49
  61. package/src/components/chart/style/chart.scss +0 -405
  62. package/src/components/chart/uses.js +0 -721
  63. package/src/components/chartBrush/ChartBrush.vue +0 -323
  64. package/src/components/chartBrush/chartBrush.core.js +0 -691
  65. package/src/components/chartBrush/index.js +0 -9
  66. package/src/components/chartBrush/uses.js +0 -23
  67. package/src/components/chartGroup/ChartGroup.vue +0 -144
  68. package/src/components/chartGroup/index.js +0 -9
  69. package/src/components/chartGroup/style/chartGroup.scss +0 -5
  70. package/src/components/chartGroup/uses.js +0 -53
  71. package/src/components/checkbox/Checkbox.vue +0 -229
  72. package/src/components/checkbox/index.js +0 -7
  73. package/src/components/checkboxGroup/CheckboxGroup.vue +0 -44
  74. package/src/components/checkboxGroup/index.js +0 -7
  75. package/src/components/contextMenu/ContextMenu.vue +0 -95
  76. package/src/components/contextMenu/MenuList.vue +0 -182
  77. package/src/components/contextMenu/index.js +0 -7
  78. package/src/components/contextMenu/uses.js +0 -223
  79. package/src/components/datePicker/DatePicker.vue +0 -504
  80. package/src/components/datePicker/index.js +0 -7
  81. package/src/components/datePicker/uses.js +0 -460
  82. package/src/components/grid/Grid.vue +0 -1535
  83. package/src/components/grid/GridColumnSetting.vue +0 -358
  84. package/src/components/grid/GridFilterSetting.vue +0 -323
  85. package/src/components/grid/GridPagination.vue +0 -75
  86. package/src/components/grid/GridSummary.vue +0 -314
  87. package/src/components/grid/GridToolbar.vue +0 -35
  88. package/src/components/grid/icon/icon-option-button.vue +0 -17
  89. package/src/components/grid/icon/icon-sort-button.vue +0 -67
  90. package/src/components/grid/index.js +0 -11
  91. package/src/components/grid/style/grid.scss +0 -417
  92. package/src/components/grid/uses.js +0 -1629
  93. package/src/components/icon/Icon.vue +0 -53
  94. package/src/components/icon/index.js +0 -8
  95. package/src/components/inputNumber/InputNumber.vue +0 -212
  96. package/src/components/inputNumber/index.js +0 -7
  97. package/src/components/inputNumber/uses.js +0 -217
  98. package/src/components/loading/Loading.vue +0 -125
  99. package/src/components/loading/index.js +0 -7
  100. package/src/components/menu/Menu.vue +0 -79
  101. package/src/components/menu/MenuItem.vue +0 -201
  102. package/src/components/menu/index.js +0 -7
  103. package/src/components/message/Message.vue +0 -229
  104. package/src/components/message/index.js +0 -34
  105. package/src/components/messageBox/MessageBox.vue +0 -358
  106. package/src/components/messageBox/index.js +0 -22
  107. package/src/components/notification/Notification.vue +0 -316
  108. package/src/components/notification/index.js +0 -49
  109. package/src/components/pagination/Pagination.vue +0 -317
  110. package/src/components/pagination/index.js +0 -7
  111. package/src/components/pagination/pageButton.vue +0 -31
  112. package/src/components/progress/Progress.vue +0 -139
  113. package/src/components/progress/index.js +0 -7
  114. package/src/components/radio/Radio.vue +0 -159
  115. package/src/components/radio/index.js +0 -7
  116. package/src/components/radioGroup/RadioGroup.vue +0 -41
  117. package/src/components/radioGroup/index.js +0 -7
  118. package/src/components/scheduler/Scheduler.vue +0 -149
  119. package/src/components/scheduler/index.js +0 -7
  120. package/src/components/scheduler/uses.js +0 -183
  121. package/src/components/select/Select.vue +0 -556
  122. package/src/components/select/index.js +0 -7
  123. package/src/components/select/uses.js +0 -379
  124. package/src/components/slider/Slider.vue +0 -505
  125. package/src/components/slider/index.js +0 -7
  126. package/src/components/slider/uses.js +0 -391
  127. package/src/components/tabPanel/TabPanel.vue +0 -74
  128. package/src/components/tabPanel/index.js +0 -7
  129. package/src/components/tabs/Tabs.vue +0 -517
  130. package/src/components/tabs/index.js +0 -7
  131. package/src/components/textField/TextField.vue +0 -399
  132. package/src/components/textField/index.js +0 -7
  133. package/src/components/timePicker/TimePicker.vue +0 -364
  134. package/src/components/timePicker/index.js +0 -7
  135. package/src/components/toggle/Toggle.vue +0 -115
  136. package/src/components/toggle/index.js +0 -7
  137. package/src/components/tree/Tree.vue +0 -338
  138. package/src/components/tree/TreeNode.vue +0 -293
  139. package/src/components/tree/index.js +0 -7
  140. package/src/components/treeGrid/TreeGrid.vue +0 -1074
  141. package/src/components/treeGrid/TreeGridNode.vue +0 -349
  142. package/src/components/treeGrid/TreeGridToolbar.vue +0 -35
  143. package/src/components/treeGrid/icon/icon-tree.png +0 -0
  144. package/src/components/treeGrid/index.js +0 -9
  145. package/src/components/treeGrid/style/treeGrid.scss +0 -277
  146. package/src/components/treeGrid/uses.js +0 -1178
  147. package/src/components/window/Window.vue +0 -329
  148. package/src/components/window/index.js +0 -7
  149. package/src/components/window/uses.js +0 -908
  150. package/src/directives/clickoutside.js +0 -90
  151. package/src/main.js +0 -120
  152. package/src/style/components/input.scss +0 -108
  153. package/src/style/functions.scss +0 -3
  154. package/src/style/index.scss +0 -6
  155. package/src/style/lib/fonts/EVUI.eot +0 -0
  156. package/src/style/lib/fonts/EVUI.svg +0 -293
  157. package/src/style/lib/fonts/EVUI.ttf +0 -0
  158. package/src/style/lib/fonts/EVUI.woff +0 -0
  159. package/src/style/lib/icon.css +0 -888
  160. package/src/style/mixins.scss +0 -94
  161. package/src/style/themes.scss +0 -69
  162. package/src/style/variables.scss +0 -22
@@ -1,391 +0,0 @@
1
- import { ref, reactive, watch, computed, onMounted, getCurrentInstance } from 'vue';
2
- import { isEqual, isNumber } from 'lodash-es';
3
- import { convertToPercent } from '@/common/utils';
4
- import { getValueCloseToStep } from '@/components/inputNumber/uses';
5
-
6
- export const useModel = () => {
7
- const { props, emit } = getCurrentInstance();
8
- const currentValue = ref(props.modelValue);
9
-
10
- const setStepList = () => {
11
- if (!props.showStep) {
12
- return [];
13
- }
14
- // step은 이동 단위 기준으로, 입력값에 따라 클릭 및 드레그 시 이동 단위를 나타냄
15
- const sliderRange = props.max - props.min;
16
- const stepCount = sliderRange / props.step;
17
- const stepWidth = convertToPercent(props.step, sliderRange);
18
- const result = [];
19
- for (let ix = 1; ix < stepCount; ix++) {
20
- result.push(ix * stepWidth);
21
- }
22
- return result;
23
- };
24
-
25
- const setMarkList = () => {
26
- if (!props.mark || !Object.keys(props.mark).length) {
27
- return [];
28
- }
29
- const getResultList = (obj, type = 'value') => {
30
- if (!obj) {
31
- return [];
32
- }
33
- const style = props.mark.style && (typeof props.mark.style === 'object') ? props.mark.style : {};
34
- const keyList = Object.keys(obj);
35
- const resultList = [];
36
- let markVal;
37
- for (let ix = 0; ix < keyList.length; ix++) {
38
- markVal = +keyList[ix];
39
- if (!isNaN(markVal)) {
40
- resultList.push({
41
- posX: type === 'value' ? convertToPercent(markVal, props.max - props.min) : markVal,
42
- label: obj[markVal],
43
- style,
44
- });
45
- }
46
- }
47
- return resultList;
48
- };
49
-
50
- const hasDetailOption = props.mark.value || props.mark.percent;
51
- if (!hasDetailOption) {
52
- return [...getResultList(props.mark)];
53
- }
54
- return [
55
- ...getResultList(props.mark.value),
56
- ...getResultList(props.mark.percent, 'percent'),
57
- ];
58
- };
59
-
60
- const state = reactive({
61
- isInit: false,
62
- dragging: false,
63
- handleType: null, // 'left', 'right', null
64
- leftValue: null,
65
- rightValue: null,
66
- });
67
- const slider = reactive({
68
- valueRange: 0,
69
- stepList: computed(setStepList),
70
- markList: computed(setMarkList),
71
- offset: {
72
- left: 0,
73
- width: 0,
74
- },
75
- });
76
- const sliderLine = ref();
77
-
78
- // tooltip format
79
- const formatValue = computed(() => {
80
- const tooltipFormat = props.tooltipFormat;
81
- const useFormat = tooltipFormat instanceof Function;
82
- return {
83
- left: useFormat ? tooltipFormat(state.leftValue) : state.leftValue,
84
- right: useFormat ? tooltipFormat(state.rightValue) : state.rightValue,
85
- };
86
- });
87
-
88
- const setHandleValue = (val) => {
89
- const optionObj = {
90
- min: props.min,
91
- max: props.max,
92
- step: props.step,
93
- };
94
-
95
- let leftVal;
96
- let rightVal;
97
- if (props.range && Array.isArray(val)) {
98
- leftVal = typeof val[0] === 'number' && !isNaN(val[0]) ? val[0] : props.min;
99
- rightVal = typeof val[1] === 'number' && !isNaN(val[1]) ? val[1] : props.min;
100
-
101
- state.leftValue = getValueCloseToStep(leftVal, optionObj);
102
- state.rightValue = getValueCloseToStep(rightVal, optionObj);
103
- } else {
104
- leftVal = props.min;
105
- rightVal = typeof val === 'number' && !isNaN(val) ? val : props.min;
106
-
107
- state.leftValue = getValueCloseToStep(leftVal, optionObj);
108
- state.rightValue = getValueCloseToStep(rightVal, optionObj);
109
- }
110
- };
111
-
112
- const setSliderValue = (val) => {
113
- if (slider.valueRange <= 0) {
114
- return;
115
- }
116
-
117
- setHandleValue(val);
118
-
119
- let result;
120
- if (props.range && Array.isArray(val)) {
121
- const minVal = Math.min(state.leftValue, state.rightValue);
122
- const maxVal = Math.max(state.leftValue, state.rightValue);
123
- result = [minVal, maxVal];
124
- } else {
125
- result = state.rightValue;
126
- }
127
-
128
- currentValue.value = result;
129
- emit('update:modelValue', result);
130
- emit('change', result);
131
- };
132
-
133
- const updateSliderInfo = () => {
134
- const sliderRect = sliderLine.value.getBoundingClientRect();
135
- slider.offset.left = sliderRect.left;
136
- slider.offset.width = sliderRect.width;
137
- slider.valueRange = props.max - props.min;
138
- };
139
-
140
- watch(() => props.modelValue, (curr, prev) => {
141
- if (isNumber(curr)
142
- && curr >= 0
143
- && !isEqual(curr, prev)
144
- && !state.dragging
145
- ) {
146
- setHandleValue(curr);
147
- currentValue.value = curr;
148
- }
149
- });
150
- watch(() => props.step, () => {
151
- setSliderValue(currentValue.value);
152
- });
153
-
154
- return {
155
- currentValue,
156
- state,
157
- slider,
158
- formatValue,
159
- sliderLine,
160
- updateSliderInfo,
161
- setSliderValue,
162
- };
163
- };
164
-
165
- export const useStyle = (params) => {
166
- const { props } = getCurrentInstance();
167
- const { state, slider } = params;
168
- const colorDefault = 'transparent';
169
-
170
- const leftHandleStyle = computed(() => ({
171
- left: slider.valueRange > 0 ? `${convertToPercent(state.leftValue - props.min, slider.valueRange)}%` : 0,
172
- }));
173
- const rightHandleStyle = computed(() => ({
174
- left: slider.valueRange > 0 ? `${convertToPercent(state.rightValue - props.min, slider.valueRange)}%` : 0,
175
- }));
176
- const handleBtnStyle = computed(() => {
177
- if (!props.color
178
- || (Array.isArray(props.color) && props.color.length !== 1)
179
- ) {
180
- return {};
181
- }
182
- return {
183
- borderColor: (typeof props.color === 'string' ? props.color : props.color[0]) || colorDefault,
184
- };
185
- });
186
-
187
- /**
188
- * Slider 색 칠하기 : props.color 갖고 있을 때
189
- * color 로 받은 값에 따라 왼쪽 부터 채워짐. 없을 경우 기본 색 = transparent
190
- * */
191
- const isColorArray = computed(() => props.color && Array.isArray(props.color));
192
-
193
- const rangeThumbStyle = computed(() => {
194
- const minVal = Math.min(state.leftValue, state.rightValue);
195
- const maxVal = Math.max(state.leftValue, state.rightValue);
196
- const mvRange = +(maxVal - minVal).toFixed(2);
197
- const leftPosX = (slider.valueRange > 0 && props.range)
198
- ? convertToPercent(+(minVal - props.min).toFixed(2), slider.valueRange) : 0;
199
- const thumbWidth = (mvRange > 0) ? convertToPercent(mvRange, slider.valueRange) : 0;
200
-
201
- const thumbColor = {};
202
- if (props.color) {
203
- if (typeof props.color === 'string'
204
- || (Array.isArray(props.color) && props.color.length === 1)
205
- ) {
206
- thumbColor.backgroundColor = (typeof props.color === 'string' ? props.color : props.color[0]) || colorDefault;
207
- } else if (Array.isArray(props.color) && props.color.length > 1) {
208
- thumbColor.backgroundColor = (props.range ? props.color[1] : props.color[0])
209
- || colorDefault;
210
- }
211
- }
212
- return {
213
- left: `${leftPosX}%`,
214
- width: `${thumbWidth}%`,
215
- ...thumbColor,
216
- };
217
- });
218
-
219
- const leftThumbStyle = computed(() => {
220
- if (
221
- !isColorArray.value
222
- || props.color.length < 2
223
- || !props.range
224
- ) {
225
- return {};
226
- }
227
- const minVal = Math.min(state.leftValue, state.rightValue);
228
- const thumbWidth = convertToPercent(Math.abs(minVal - props.min), slider.valueRange);
229
- return {
230
- width: `${thumbWidth}%`,
231
- backgroundColor: props.color[0] || colorDefault,
232
- };
233
- });
234
-
235
- const rightThumbStyle = computed(() => {
236
- if (!isColorArray.value || props.color.length < 2) {
237
- return {};
238
- }
239
- const maxVal = Math.max(state.leftValue, state.rightValue);
240
- const leftPosX = convertToPercent(+(maxVal - props.min).toFixed(2), slider.valueRange);
241
- const thumbWidth = convertToPercent(+(props.max - maxVal).toFixed(2), slider.valueRange);
242
-
243
- const lastIdx = !props.range ? props.color.length - 1 : 2;
244
- return {
245
- left: `${leftPosX}%`,
246
- width: `${thumbWidth}%`,
247
- backgroundColor: props.color[lastIdx] || colorDefault,
248
- };
249
- });
250
-
251
- return {
252
- isColorArray,
253
- leftHandleStyle,
254
- rightHandleStyle,
255
- handleBtnStyle,
256
- rangeThumbStyle,
257
- leftThumbStyle,
258
- rightThumbStyle,
259
- };
260
- };
261
-
262
- export const useEvent = (params) => {
263
- const { props } = getCurrentInstance();
264
- const { currentValue, state, slider, updateSliderInfo, setSliderValue } = params;
265
-
266
- const getSelectedValue = (e) => {
267
- if (!state.dragging) {
268
- updateSliderInfo();
269
- }
270
-
271
- const currentOffsetX = e.type.indexOf('touch') !== -1 ? e.touches[0].clientX : e.clientX;
272
- const { valueRange, offset } = slider;
273
- let clickedValue = props.min + ((currentOffsetX - offset.left) * valueRange) / offset.width;
274
-
275
- if (clickedValue < props.min) {
276
- clickedValue = props.min;
277
- } else if (clickedValue > props.max) {
278
- clickedValue = props.max;
279
- }
280
-
281
- return clickedValue;
282
- };
283
-
284
- const clickSlider = (e) => {
285
- if (props.readonly || props.disabled || state.dragging) {
286
- return;
287
- }
288
-
289
- const selectedValue = getSelectedValue(e);
290
- let convertValue;
291
- if (props.range) {
292
- const minValue = Math.min(state.leftValue, state.rightValue);
293
- const rangeHalfValue = minValue + Math.abs((state.rightValue - state.leftValue) / 2);
294
- const isReverse = state.leftValue > state.rightValue;
295
-
296
- if (selectedValue < rangeHalfValue) {
297
- state.handleType = isReverse ? 'right' : 'left';
298
- } else {
299
- state.handleType = isReverse ? 'left' : 'right';
300
- }
301
- convertValue = state.handleType === 'left' ? [selectedValue, state.rightValue] : [state.leftValue, selectedValue];
302
- } else {
303
- state.handleType = 'right';
304
- convertValue = selectedValue;
305
- }
306
-
307
- setSliderValue(convertValue);
308
- };
309
-
310
- const onDrag = (e) => {
311
- const selectedValue = getSelectedValue(e);
312
- state.dragging = true;
313
-
314
- let convertValue;
315
- if (props.range) {
316
- convertValue = state.handleType === 'left' ? [selectedValue, state.rightValue] : [state.leftValue, selectedValue];
317
- } else {
318
- convertValue = selectedValue;
319
- }
320
-
321
- setSliderValue(convertValue);
322
- };
323
- const endDrag = () => {
324
- state.handleType = null;
325
- state.dragging = false;
326
- document.body.style.cursor = '';
327
-
328
- window.removeEventListener('mousemove', onDrag);
329
- window.removeEventListener('touchmove', onDrag);
330
- window.removeEventListener('mouseup', endDrag);
331
- window.removeEventListener('touchend', endDrag);
332
- };
333
- const startDrag = (handleType) => {
334
- if (props.readonly || props.disabled) {
335
- return;
336
- }
337
- state.handleType = handleType;
338
- document.body.style.cursor = 'grabbing';
339
-
340
- window.addEventListener('mousemove', onDrag);
341
- window.addEventListener('touchmove', onDrag);
342
- window.addEventListener('mouseup', endDrag);
343
- window.addEventListener('touchend', endDrag);
344
- };
345
-
346
- const changeInput = (val, type) => {
347
- if (props.showInput && !state.dragging && state.isInit) {
348
- if (props.range && Array.isArray(currentValue.value)) {
349
- const result = type === 'left' ? [val, currentValue.value[1]] : [currentValue.value[0], val];
350
- setSliderValue(result);
351
- } else if (!props.range) {
352
- setSliderValue(val);
353
- }
354
- }
355
- };
356
- return {
357
- startDrag,
358
- clickSlider,
359
- changeInput,
360
- };
361
- };
362
-
363
- export const useInit = (params) => {
364
- const { props, emit } = getCurrentInstance();
365
- const { currentValue, state, slider, updateSliderInfo, setSliderValue } = params;
366
-
367
- const validateProps = () => {
368
- const hasMaxProps = props.max || props.max === 0;
369
- const hasMinProps = props.min || props.min === 0;
370
- if (hasMaxProps && hasMinProps) {
371
- if (props.max <= props.min) {
372
- console.warn('[EVUI][Slider] Max value must be greater than min value.');
373
- }
374
- }
375
- };
376
- const initValue = () => {
377
- updateSliderInfo();
378
-
379
- if (slider.valueRange <= 0) {
380
- currentValue.value = props.range ? [props.min, props.min] : props.min;
381
- emit('update:modelValue', currentValue.value);
382
- }
383
- setSliderValue(currentValue.value);
384
- state.isInit = true;
385
- };
386
-
387
- onMounted(() => {
388
- validateProps();
389
- initValue();
390
- });
391
- };
@@ -1,74 +0,0 @@
1
- <template>
2
- <article
3
- v-show="isSelected"
4
- class="ev-tab-panel"
5
- >
6
- <slot />
7
- </article>
8
- </template>
9
-
10
- <script>
11
- import { computed, inject } from 'vue';
12
-
13
- export default {
14
- name: 'EvTabPanel',
15
- props: {
16
- text: {
17
- type: [String, Number],
18
- default: null,
19
- },
20
- value: {
21
- type: [String, Number],
22
- default: null,
23
- required: true,
24
- },
25
- disabled: {
26
- type: Boolean,
27
- default: false,
28
- },
29
- },
30
- emits: {
31
- },
32
- setup(props) {
33
- const evTabs = inject('evTabs', null);
34
- const isSelected = computed(() => props.value === evTabs.value);
35
-
36
- return {
37
- isSelected,
38
- };
39
- },
40
- };
41
- </script>
42
-
43
- <style lang="scss">
44
- @import '../../style/index.scss';
45
-
46
- .ev-tab {
47
- ul, li {
48
- list-style: none;
49
- }
50
-
51
- &-header {
52
- position: relative;
53
-
54
- .ev-tab-list {
55
- display: flex;
56
- }
57
- .ev-tab-title {
58
- padding: 5px 17px;
59
-
60
- @include evThemify() {
61
- border: 1px solid evThemed('border-base');
62
- border-left: 0;
63
- }
64
- @include shortening(block, 90px);
65
-
66
- &:first-child {
67
- @include evThemify() {
68
- border-left: 1px solid evThemed('border-base');
69
- }
70
- }
71
- }
72
- }
73
- }
74
- </style>
@@ -1,7 +0,0 @@
1
- import EvTabPanel from './TabPanel';
2
-
3
- EvTabPanel.install = (app) => {
4
- app.component(EvTabPanel.name, EvTabPanel);
5
- };
6
-
7
- export default EvTabPanel;