evui 2.1.0 → 2.1.3
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/dist/{adac9fa4f723f9d2cb5b6640517114a9.png → 0b8d1200e71cae8d747dce4e69c4efb6.png} +0 -0
- package/dist/1.css +4 -0
- package/dist/1.css.map +1 -0
- package/dist/1.evui.min.js +2 -0
- package/dist/1.evui.min.js.map +1 -0
- package/dist/1ba679c05036b34bf359aa2e6c450faa.ttf +0 -0
- package/dist/2.css +4 -0
- package/dist/2.css.map +1 -0
- package/dist/2.evui.min.js +2 -0
- package/dist/2.evui.min.js.map +1 -0
- package/dist/{e8c322de9658cbeb8a774b6624167c2c.woff2 → 278156e41e0ad908cf7f841b17130502.woff2} +0 -0
- package/dist/3.evui.min.js +2 -0
- package/dist/3.evui.min.js.map +1 -0
- package/dist/32be89b11725274cd3e801192ba88361.ttf +0 -0
- package/dist/{0ab54153eeeca0ce03978cc463b257f7.woff2 → 38c6d8bab26db77d8c806813e1497763.woff2} +0 -0
- package/dist/4.evui.min.js +2 -0
- package/dist/4.evui.min.js.map +1 -0
- package/dist/{faff92145777a3cbaf8e7367b4807987.woff → 425399f81e4ce7cbd967685402ba0260.woff} +0 -0
- package/dist/4730076470a665bbc7b783c56d29a72e.svg +261 -0
- package/dist/52e9a7f6ff3af5ad261e5292d07ebdca.eot +0 -0
- package/dist/{ad97afd3337e8cda302d10ff5a4026b8.ttf → 5367103510b27b78482794590e1ce3b0.ttf} +0 -0
- package/dist/{65363c4d55617bbeb57d8ce6dcd46099.svg → 57e963e3d6dd0a9cf05150b40eebf69b.svg} +0 -0
- package/dist/{c5ebe0b32dc1b5cc449a76c4204d13bb.ttf → 65a2fb6d9aaa164b41a039302093995b.ttf} +0 -0
- package/dist/{cd6c777f1945164224dee082abaea03a.woff2 → 687a4990ea22bb1a49d469a5d9319790.woff2} +0 -0
- package/dist/{7583da5c07275cd5eb364507616f998f.ttf → 6c1d906bf5ba48676f65b2d65e935e1a.ttf} +0 -0
- package/dist/6dafca5a4f1e31f2bdf11939b24ff422.ttf +0 -0
- package/dist/{701ae6abd4719e9c2ada3535a497b341.eot → 752905fa5edf21fc52a10a0c1ca9c7a4.eot} +0 -0
- package/dist/76c05d80dda67cdc5d03f345b7bd063f.ttf +0 -0
- package/dist/{b551b554a67e86a840bc80cbb8066c30.svg → 7d62eb50e7bb05eedb2a4656f7fe8f3b.svg} +0 -0
- package/dist/{8e3c7f5520f5ae906c6cf6d7f3ddcd19.eot → a01e3f2d6c83dc3aee175e2482b3f777.eot} +0 -0
- package/dist/{448f2aaa315fa9dce7b2cf6ce31caed6.svg → b30fd8419d7e6d5918856c7531d33482.svg} +0 -0
- package/dist/c57dd55fa982e8940f69ca1d69a8a999.woff +0 -0
- package/dist/{b87b9ba532ace76ae9f6edfe9f72ded2.ttf → c656b8caa454ed19b9a2ef7f4f5b8fea.ttf} +0 -0
- package/dist/{a046592bac8f2fd96e994733faf3858c.woff → cac87dc00c87a5d74711d0276713808a.woff} +0 -0
- package/dist/{13db00b7a34fee4d819ab7f9838cc428.eot → d68fa3e67dbb653a13cec44b1bcabcfe.eot} +0 -0
- package/dist/{ef60a4f6c25ef7f39f2d25a748dbecfe.woff → ddae9b1ba9b0b42f58809904b0b21349.woff} +0 -0
- package/dist/evui.min.js +6 -86054
- package/dist/evui.min.js.gz +0 -0
- package/dist/evui.min.js.map +1 -1
- package/dist/main.css +43 -5541
- package/dist/main.css.gz +0 -0
- package/dist/main.css.map +1 -1
- package/package.json +56 -76
- package/src/common/emitter.js +20 -0
- package/src/common/utils.debounce.js +223 -0
- package/src/common/utils.js +51 -17
- package/src/common/utils.throttle.js +83 -0
- package/src/common/utils.tree.js +18 -0
- package/src/components/button/button.vue +317 -241
- package/src/components/chart/chart.core.js +378 -85
- package/src/components/chart/chart.vue +133 -115
- package/src/components/chart/element/element.bar.js +219 -25
- package/src/components/chart/element/element.bar.time.js +115 -0
- package/src/components/chart/element/element.line.js +172 -21
- package/src/components/chart/element/element.pie.js +86 -0
- package/src/components/chart/element/element.scatter.js +9 -2
- package/src/components/chart/element/element.tip.js +356 -0
- package/src/components/chart/helpers/helpers.canvas.js +94 -0
- package/src/components/chart/helpers/helpers.constant.js +25 -6
- package/src/components/chart/helpers/helpers.util.js +83 -38
- package/src/components/chart/index.js +0 -1
- package/src/components/chart/model/model.series.js +43 -14
- package/src/components/chart/model/model.store.js +440 -46
- package/src/components/chart/plugins/plugins.interaction.js +324 -0
- package/src/components/chart/plugins/plugins.legend.js +233 -91
- package/src/components/chart/plugins/plugins.pie.js +179 -0
- package/src/components/chart/plugins/plugins.title.js +25 -2
- package/src/components/chart/plugins/plugins.tooltip.js +384 -0
- package/src/components/chart/scale/scale.js +91 -29
- package/src/components/chart/scale/scale.linear.js +12 -0
- package/src/components/chart/scale/scale.logarithmic.js +25 -0
- package/src/components/chart/scale/scale.step.js +89 -52
- package/src/components/chart/scale/scale.time.category.js +204 -0
- package/src/components/chart/scale/scale.time.js +19 -1
- package/src/components/checkbox/checkbox-group.vue +15 -11
- package/src/components/checkbox/checkbox.vue +210 -138
- package/src/components/codeview/code.vue +42 -29
- package/src/components/contextmenu/contextmenu.child.vue +79 -0
- package/src/components/contextmenu/contextmenu.vue +276 -0
- package/src/components/contextmenu/contextmenu.wrap.vue +189 -0
- package/src/components/contextmenu/index.js +3 -0
- package/src/components/datepicker/calendar.core.js +588 -492
- package/src/components/datepicker/calendar.vue +0 -3
- package/src/components/datepicker/datepicker.vue +43 -15
- package/src/components/datepicker/index.js +5 -1
- package/src/components/grid/grid.filter.vue +290 -0
- package/src/components/grid/grid.filter.window.vue +411 -0
- package/src/components/grid/grid.render.vue +45 -0
- package/src/components/grid/grid.vue +1338 -0
- package/src/components/icon/icon.vue +23 -7
- package/src/components/input/input.number.vue +309 -277
- package/src/components/label/label.vue +2 -2
- package/src/components/loadingmask/loadingmask.vue +6 -13
- package/src/components/loginfield/loginfield.vue +46 -37
- package/src/components/markdown/index.js +3 -0
- package/src/components/markdown/markdown.vue +1001 -0
- package/src/components/menu/index.js +1 -3
- package/src/components/menu/menu.nav.item.vue +115 -0
- package/src/components/menu/menu.nav.sub.vue +42 -0
- package/src/components/menu/menu.nav.vue +71 -98
- package/src/components/message/index.js +3 -0
- package/src/components/message/message.js +63 -0
- package/src/components/message/message.vue +191 -0
- package/src/components/message-box/index.js +7 -0
- package/src/components/message-box/message-box.js +32 -0
- package/src/components/message-box/message-box.vue +291 -0
- package/src/components/notification/index.js +3 -0
- package/src/components/notification/notification.js +75 -0
- package/src/components/notification/notification.vue +242 -0
- package/src/components/radio/radio-group.vue +6 -2
- package/src/components/radio/radio.vue +156 -76
- package/src/components/selectbox/dropdown.vue +86 -40
- package/src/components/selectbox/listbox.vue +47 -18
- package/src/components/selectbox/option.vue +1 -1
- package/src/components/selectbox/selectbox.vue +304 -316
- package/src/components/slider/slider-tooltip.vue +7 -7
- package/src/components/slider/slider.vue +20 -25
- package/src/components/splitter/splitter.vue +104 -94
- package/src/components/table/table.black.css +1 -1
- package/src/components/table/table.filter.lite.vue +7 -7
- package/src/components/table/table.filter.vue +1 -1
- package/src/components/table/table.grey.css +5 -6
- package/src/components/table/table.navy.css +1 -1
- package/src/components/table/table.vue +55 -48
- package/src/components/tabs/tab-panel.vue +19 -5
- package/src/components/tabs/tabs.vue +182 -87
- package/src/components/textfield/textfield.vue +110 -87
- package/src/components/timepicker/index.js +2 -2
- package/src/components/timepicker/spinner.vue +15 -17
- package/src/components/timepicker/timepicker.vue +98 -53
- package/src/components/toggle/toggle.vue +148 -109
- package/src/components/tree/index.js +2 -6
- package/src/components/tree/render.js +17 -0
- package/src/components/tree/tree-node.vue +214 -0
- package/src/components/tree/tree.vue +296 -0
- package/src/components/tree-table/index.js +7 -0
- package/src/components/{tree → tree-table}/tree.table.black.css +0 -0
- package/src/components/{tree → tree-table}/tree.table.grey.css +0 -0
- package/src/components/{tree → tree-table}/tree.table.vue +36 -41
- package/src/components/{tree → tree-table}/tree.util.js +0 -0
- package/src/components/window/window.vue +238 -191
- package/src/index.js +28 -12
- package/src/styles/base/base.scss +50 -0
- package/src/styles/base/index.scss +1 -0
- package/src/styles/default.scss +5 -0
- package/src/styles/{codemirror.css → lib/codemirror.css} +0 -0
- package/src/styles/{all.css → lib/fontawesome.css} +1 -1
- package/src/styles/lib/icon.css +792 -0
- package/src/styles/themes/index.scss +2 -0
- package/src/styles/themes/mixin.scss +33 -0
- package/src/styles/themes/variables.scss +206 -0
- package/src/styles/utils/colors.scss +222 -0
- package/src/styles/utils/index.scss +2 -0
- package/src/styles/utils/mixins.scss +34 -0
- package/src/styles/utils/variables.scss +27 -0
- package/src/webfonts/EVUI.eot +0 -0
- package/src/webfonts/EVUI.svg +251 -173
- package/src/webfonts/EVUI.ttf +0 -0
- package/src/webfonts/EVUI.woff +0 -0
- package/src/webfonts/Roboto-Bold.ttf +0 -0
- package/src/webfonts/Roboto-Medium.ttf +0 -0
- package/src/webfonts/Roboto-Regular.ttf +0 -0
- package/dist/3c9453211570a4ede66a4b4954a32bbb.ttf +0 -0
- package/dist/8634884f932627fc43782e6963b64ccd.svg +0 -183
- package/dist/b9e64d9b5fa6b500eb5df6fa980d3e5b.eot +0 -0
- package/dist/f0ac0c8b3c9cd3ef9002749985ae546f.woff +0 -0
- package/src/components/chart/charts/chart.bar.js +0 -334
- package/src/components/chart/charts/chart.base.js +0 -1075
- package/src/components/chart/charts/chart.line.js +0 -262
- package/src/components/chart/charts/chart.pie.js +0 -383
- package/src/components/chart/charts/chart.scatter.js +0 -349
- package/src/components/chart/charts/chart.sunburst.js +0 -193
- package/src/components/chart/core/axis/axis.js +0 -217
- package/src/components/chart/core/axis/axis.scale.auto.js +0 -69
- package/src/components/chart/core/axis/axis.scale.fixed.js +0 -65
- package/src/components/chart/core/axis/axis.scale.steps.js +0 -149
- package/src/components/chart/core/core.constant.js +0 -116
- package/src/components/chart/core/core.legend.js +0 -473
- package/src/components/chart/core/core.util.js +0 -66
- package/src/components/chart/core/data/data.js +0 -412
- package/src/components/chart/core/data/data.pie.js +0 -70
- package/src/components/chart/core/data/data.stack.js +0 -222
- package/src/components/chart/core/data/data.sunburst.js +0 -172
- package/src/components/menu/menu.context.children.vue +0 -201
- package/src/components/menu/menu.context.vue +0 -144
- package/src/components/tabs/jun/tab.vue +0 -123
- package/src/components/tabs/jun/tabs.vue +0 -484
- package/src/styles/evui.css +0 -386
- package/src/styles/icon.css +0 -557
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
>
|
|
11
11
|
<div
|
|
12
12
|
class="evui-grid-box"
|
|
13
|
-
style="width:100%;height:100%;"
|
|
13
|
+
style="width: 100%; height: 100%;"
|
|
14
14
|
>
|
|
15
15
|
<div
|
|
16
16
|
ref="evuiGridBody"
|
|
17
17
|
class="evui-table-body"
|
|
18
|
-
style="top:
|
|
18
|
+
style="top: 0; bottom: 0; left: 0; right: 0;"
|
|
19
19
|
>
|
|
20
20
|
<div
|
|
21
21
|
ref="evuiGridRecords"
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<td
|
|
33
33
|
class="evui-table-data evui-table-data-spacer"
|
|
34
34
|
data-col="start"
|
|
35
|
-
style="height:
|
|
35
|
+
style="height: 0; width: 0;"
|
|
36
36
|
/>
|
|
37
37
|
|
|
38
38
|
<template v-for="(column, index) in originColumns">
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
<td
|
|
60
60
|
class="evui-table-data-spacer"
|
|
61
61
|
data-col="start"
|
|
62
|
-
style="border-right: 0"
|
|
62
|
+
style="border-right: 0;"
|
|
63
63
|
/>
|
|
64
64
|
|
|
65
65
|
<template v-for="(col, colIndex) in originColumns">
|
|
@@ -80,12 +80,12 @@
|
|
|
80
80
|
v-else-if="col.type === 'checkbox'"
|
|
81
81
|
:class="{ 'evui-selected': row[col.field]}"
|
|
82
82
|
class="evui-table-records-col"
|
|
83
|
-
style="text-overflow:unset;"
|
|
83
|
+
style="text-overflow: unset;"
|
|
84
84
|
>
|
|
85
85
|
<ev-checkbox
|
|
86
86
|
v-model="row[col.field]"
|
|
87
87
|
:size="'small'"
|
|
88
|
-
@change
|
|
88
|
+
@on-change="changeCheckbox($event, row, col.field, col.checkType)"
|
|
89
89
|
/>
|
|
90
90
|
</div>
|
|
91
91
|
<div
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
</template>
|
|
123
123
|
|
|
124
124
|
<tr
|
|
125
|
-
style="display: none"
|
|
125
|
+
style="display: none;"
|
|
126
126
|
>
|
|
127
127
|
<td
|
|
128
128
|
colspan="2000"
|
|
@@ -144,14 +144,14 @@
|
|
|
144
144
|
<td
|
|
145
145
|
class="evui-table-columns-head"
|
|
146
146
|
data-col="start"
|
|
147
|
-
style="border-right:
|
|
147
|
+
style="border-right: 0; width: 0;"
|
|
148
148
|
/>
|
|
149
149
|
<template v-for="(column, index) in originColumns">
|
|
150
150
|
<td
|
|
151
|
+
:ref="`${column.field}_col`"
|
|
151
152
|
:key="index"
|
|
152
153
|
:data-col="index"
|
|
153
154
|
:style="{width: column.width}"
|
|
154
|
-
:ref="`${column.field}_col`"
|
|
155
155
|
class="evui-table-columns-head"
|
|
156
156
|
@mouseup="columnSort(column, $event)"
|
|
157
157
|
@mousedown.stop.prevent="columnMove(column, index, $event)"
|
|
@@ -195,26 +195,26 @@
|
|
|
195
195
|
<div
|
|
196
196
|
v-if="pagination"
|
|
197
197
|
class="evui-table-footer"
|
|
198
|
-
style="bottom:
|
|
198
|
+
style="bottom: 0; left: 0; right: 0;"
|
|
199
199
|
>
|
|
200
200
|
<div>
|
|
201
|
-
<div class="evui-table-footer-left"/>
|
|
201
|
+
<div class="evui-table-footer-left" />
|
|
202
202
|
<div class="evui-table-footer-right">
|
|
203
203
|
<button @click="movePage('start')">
|
|
204
|
-
<i class="fas fa-angle-double-left"/>
|
|
204
|
+
<i class="fas fa-angle-double-left" />
|
|
205
205
|
</button>
|
|
206
206
|
<button @click="movePage('before')">
|
|
207
|
-
<i class="fas fa-angle-left"/>
|
|
207
|
+
<i class="fas fa-angle-left" />
|
|
208
208
|
</button>
|
|
209
209
|
{{ currentPageInput }} / {{ lastPage }}
|
|
210
210
|
<button @click="movePage('next')">
|
|
211
|
-
<i class="fas fa-angle-right"/>
|
|
211
|
+
<i class="fas fa-angle-right" />
|
|
212
212
|
</button>
|
|
213
213
|
<button @click="movePage('end')">
|
|
214
|
-
<i class="fas fa-angle-double-right"/>
|
|
214
|
+
<i class="fas fa-angle-double-right" />
|
|
215
215
|
</button>
|
|
216
216
|
</div>
|
|
217
|
-
<div class="evui-table-footer-center"/>
|
|
217
|
+
<div class="evui-table-footer-center" />
|
|
218
218
|
</div>
|
|
219
219
|
</div>
|
|
220
220
|
</div>
|
|
@@ -226,8 +226,8 @@
|
|
|
226
226
|
ref="marker"
|
|
227
227
|
class="evui-table-col-intersection-marker"
|
|
228
228
|
>
|
|
229
|
-
<div class="evui-table-top-marker"/>
|
|
230
|
-
<div class="evui-table-bottom-marker"/>
|
|
229
|
+
<div class="evui-table-top-marker" />
|
|
230
|
+
<div class="evui-table-bottom-marker" />
|
|
231
231
|
</div>
|
|
232
232
|
</div>
|
|
233
233
|
<div
|
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
<div
|
|
238
238
|
class="evui-table-menu-tab-header"
|
|
239
239
|
>
|
|
240
|
-
<i class="fa fa-filter"/>
|
|
240
|
+
<i class="fa fa-filter" />
|
|
241
241
|
</div>
|
|
242
242
|
<div
|
|
243
243
|
class="evui-table-menu-tab-body"
|
|
@@ -251,7 +251,6 @@
|
|
|
251
251
|
</div>
|
|
252
252
|
</div>
|
|
253
253
|
</div>
|
|
254
|
-
|
|
255
254
|
</template>
|
|
256
255
|
|
|
257
256
|
<script>
|
|
@@ -260,7 +259,7 @@
|
|
|
260
259
|
import TableFilterLite from '@/components/table/table.filter.lite';
|
|
261
260
|
import util from '@/common/utils.table';
|
|
262
261
|
import _ from 'lodash-es';
|
|
263
|
-
import '@/styles/
|
|
262
|
+
import '@/styles/lib/fontawesome.css';
|
|
264
263
|
|
|
265
264
|
export default {
|
|
266
265
|
components: {
|
|
@@ -470,8 +469,8 @@
|
|
|
470
469
|
const colWidth = util.quantity(this.originColumns[ix].size);
|
|
471
470
|
const isPercentValue = colWidth ? colWidth.unit === '%' : false;
|
|
472
471
|
const min = util.quantity(this.originColumns[ix].min).value;
|
|
473
|
-
const max = this.originColumns[ix].max
|
|
474
|
-
util.quantity(this.originColumns[ix].max).value : undefined;
|
|
472
|
+
const max = this.originColumns[ix].max
|
|
473
|
+
? util.quantity(this.originColumns[ix].max).value : undefined;
|
|
475
474
|
|
|
476
475
|
// 숫자로 넘어올때 px 붙여주기용 이상한 값 처리등 % 값일때 처리
|
|
477
476
|
if (isPercentValue) {
|
|
@@ -503,8 +502,8 @@
|
|
|
503
502
|
for (let ix = 0, ixLen = this.noSizeColList.length; ix < ixLen; ix++) {
|
|
504
503
|
// debugger;
|
|
505
504
|
const min = util.quantity(this.noSizeColList[ix].min).value;
|
|
506
|
-
const max = this.noSizeColList[ix].max
|
|
507
|
-
util.quantity(this.noSizeColList[ix].max).value : undefined;
|
|
505
|
+
const max = this.noSizeColList[ix].max
|
|
506
|
+
? util.quantity(this.noSizeColList[ix].max).value : undefined;
|
|
508
507
|
const isLastIndex = (ix + 1) === ixLen;
|
|
509
508
|
if (!isLastIndex) {
|
|
510
509
|
leftSize -= util.checkColSize(colSize, min, max);
|
|
@@ -738,8 +737,8 @@
|
|
|
738
737
|
this.resizeFlag = true;
|
|
739
738
|
const startOffset = util.quantity(vm.originColumns[index].width).value - event.screenX;
|
|
740
739
|
const min = util.quantity(vm.originColumns[index].min).value;
|
|
741
|
-
const max = vm.originColumns[index].max
|
|
742
|
-
util.quantity(vm.originColumns[index].max).value : undefined;
|
|
740
|
+
const max = vm.originColumns[index].max
|
|
741
|
+
? util.quantity(vm.originColumns[index].max).value : undefined;
|
|
743
742
|
|
|
744
743
|
function onMouseMove(e) {
|
|
745
744
|
e.stopPropagation();
|
|
@@ -785,8 +784,7 @@
|
|
|
785
784
|
function moveAt(clientX, clientY) {
|
|
786
785
|
const posX = (clientX - startClientX) + 15;
|
|
787
786
|
const posY = (clientY - startClientY) + 20;
|
|
788
|
-
vm.$refs.headGhost.style.cssText =
|
|
789
|
-
`top: ${posY}px; left: ${posX}px; display: block`;
|
|
787
|
+
vm.$refs.headGhost.style.cssText = `top: ${posY}px; left: ${posX}px; display: block`;
|
|
790
788
|
}
|
|
791
789
|
|
|
792
790
|
// 컬럼 배열 변경
|
|
@@ -911,16 +909,16 @@
|
|
|
911
909
|
},
|
|
912
910
|
movePage(value) {
|
|
913
911
|
switch (value) {
|
|
914
|
-
case 'start'
|
|
912
|
+
case 'start':
|
|
915
913
|
this.currentPageInput = 1;
|
|
916
914
|
break;
|
|
917
|
-
case 'before'
|
|
915
|
+
case 'before':
|
|
918
916
|
this.currentPageInput -= 1;
|
|
919
917
|
break;
|
|
920
|
-
case 'next'
|
|
918
|
+
case 'next':
|
|
921
919
|
this.currentPageInput += 1;
|
|
922
920
|
break;
|
|
923
|
-
case 'end'
|
|
921
|
+
case 'end':
|
|
924
922
|
this.currentPageInput = this.lastPage;
|
|
925
923
|
break;
|
|
926
924
|
default:
|
|
@@ -1000,8 +998,8 @@
|
|
|
1000
998
|
const colWidth = util.quantity(this.originColumns[ix].size);
|
|
1001
999
|
const isPercentValue = colWidth ? colWidth.unit === '%' : false;
|
|
1002
1000
|
const min = util.quantity(this.originColumns[ix].min).value;
|
|
1003
|
-
const max = this.originColumns[ix].max
|
|
1004
|
-
util.quantity(this.originColumns[ix].max).value : undefined;
|
|
1001
|
+
const max = this.originColumns[ix].max
|
|
1002
|
+
? util.quantity(this.originColumns[ix].max).value : undefined;
|
|
1005
1003
|
|
|
1006
1004
|
// 숫자로 넘어올때 px 붙여주기용 이상한 값 처리등 % 값일때 처리
|
|
1007
1005
|
if (isPercentValue) {
|
|
@@ -1017,11 +1015,11 @@
|
|
|
1017
1015
|
}
|
|
1018
1016
|
|
|
1019
1017
|
if (this.isFilter) {
|
|
1020
|
-
this.verticalScroll = this.gridRecordsHeight
|
|
1021
|
-
(this.filteredData.length * this.rowHeight);
|
|
1018
|
+
this.verticalScroll = this.gridRecordsHeight
|
|
1019
|
+
< (this.filteredData.length * this.rowHeight);
|
|
1022
1020
|
} else {
|
|
1023
|
-
this.verticalScroll = this.gridRecordsHeight
|
|
1024
|
-
(this.originData.length * this.rowHeight);
|
|
1021
|
+
this.verticalScroll = this.gridRecordsHeight
|
|
1022
|
+
< (this.originData.length * this.rowHeight);
|
|
1025
1023
|
}
|
|
1026
1024
|
|
|
1027
1025
|
let leftSize;
|
|
@@ -1039,8 +1037,8 @@
|
|
|
1039
1037
|
for (let ix = 0, ixLen = this.noSizeColList.length; ix < ixLen; ix++) {
|
|
1040
1038
|
// debugger;
|
|
1041
1039
|
const min = util.quantity(this.noSizeColList[ix].min).value;
|
|
1042
|
-
const max = this.noSizeColList[ix].max
|
|
1043
|
-
util.quantity(this.noSizeColList[ix].max).value : undefined;
|
|
1040
|
+
const max = this.noSizeColList[ix].max
|
|
1041
|
+
? util.quantity(this.noSizeColList[ix].max).value : undefined;
|
|
1044
1042
|
const isLastIndex = (ix + 1) === ixLen;
|
|
1045
1043
|
if (!isLastIndex) {
|
|
1046
1044
|
leftSize -= util.checkColSize(colSize, min, max);
|
|
@@ -1095,7 +1093,7 @@
|
|
|
1095
1093
|
result = (data1.indexOf(data2) === -1);
|
|
1096
1094
|
}
|
|
1097
1095
|
break;
|
|
1098
|
-
default
|
|
1096
|
+
default:
|
|
1099
1097
|
break;
|
|
1100
1098
|
}
|
|
1101
1099
|
return result;
|
|
@@ -1133,8 +1131,13 @@
|
|
|
1133
1131
|
const condition = valueList[ix].condition;
|
|
1134
1132
|
|
|
1135
1133
|
if (ix > 0) {
|
|
1136
|
-
resultCondition
|
|
1137
|
-
|
|
1134
|
+
resultCondition = this.checkCondition(
|
|
1135
|
+
data1,
|
|
1136
|
+
data2,
|
|
1137
|
+
condition,
|
|
1138
|
+
andOrCondition,
|
|
1139
|
+
resultCondition,
|
|
1140
|
+
);
|
|
1138
1141
|
} else {
|
|
1139
1142
|
resultCondition = this.checkCondition(data1, data2, condition);
|
|
1140
1143
|
}
|
|
@@ -1194,8 +1197,13 @@
|
|
|
1194
1197
|
const condition = valueList[jx].condition;
|
|
1195
1198
|
|
|
1196
1199
|
if (ix > 0) {
|
|
1197
|
-
resultCondition
|
|
1198
|
-
|
|
1200
|
+
resultCondition = this.checkCondition(
|
|
1201
|
+
data1,
|
|
1202
|
+
data2,
|
|
1203
|
+
condition,
|
|
1204
|
+
andOrCondition,
|
|
1205
|
+
resultCondition,
|
|
1206
|
+
);
|
|
1199
1207
|
} else {
|
|
1200
1208
|
resultCondition = this.checkCondition(data1, data2, condition);
|
|
1201
1209
|
}
|
|
@@ -1238,8 +1246,7 @@
|
|
|
1238
1246
|
vm.menuClickFlag = false;
|
|
1239
1247
|
document.removeEventListener('mousedown', onClick, true);
|
|
1240
1248
|
}
|
|
1241
|
-
this.$refs.evuiTableMenu.style.cssText =
|
|
1242
|
-
`left: ${posX}px; top: ${posY}px; display: block;`;
|
|
1249
|
+
this.$refs.evuiTableMenu.style.cssText = `left: ${posX}px; top: ${posY}px; display: block;`;
|
|
1243
1250
|
if (!this.menuClickFlag) {
|
|
1244
1251
|
document.addEventListener('mousedown', onClick, true);
|
|
1245
1252
|
this.menuClickFlag = true;
|
|
@@ -2,30 +2,40 @@
|
|
|
2
2
|
<div
|
|
3
3
|
v-if="loaded || isActive"
|
|
4
4
|
v-show="isActive"
|
|
5
|
-
|
|
5
|
+
class="ev-tab-panel"
|
|
6
6
|
>
|
|
7
|
-
<slot/>
|
|
7
|
+
<slot />
|
|
8
8
|
</div>
|
|
9
9
|
</template>
|
|
10
10
|
|
|
11
11
|
<script>
|
|
12
12
|
export default {
|
|
13
13
|
props: {
|
|
14
|
+
/**
|
|
15
|
+
* 탭의 키값
|
|
16
|
+
*/
|
|
14
17
|
value: {
|
|
15
18
|
type: String,
|
|
16
19
|
default: '',
|
|
17
20
|
},
|
|
21
|
+
/**
|
|
22
|
+
* 탭 활성화 전 사전 로드 처리 유무
|
|
23
|
+
*/
|
|
24
|
+
preload: {
|
|
25
|
+
type: Boolean,
|
|
26
|
+
default: false,
|
|
27
|
+
},
|
|
18
28
|
},
|
|
19
29
|
data() {
|
|
20
30
|
return {
|
|
21
|
-
loaded:
|
|
31
|
+
loaded: this.preload,
|
|
22
32
|
};
|
|
23
33
|
},
|
|
24
34
|
computed: {
|
|
25
35
|
isActive() {
|
|
26
36
|
const active = this.$parent.activeTab === this.value;
|
|
27
37
|
|
|
28
|
-
if (active) {
|
|
38
|
+
if (active && !this.loaded) {
|
|
29
39
|
this.loaded = true; // eslint-disable-line vue/no-side-effects-in-computed-properties
|
|
30
40
|
}
|
|
31
41
|
|
|
@@ -35,5 +45,9 @@
|
|
|
35
45
|
};
|
|
36
46
|
</script>
|
|
37
47
|
|
|
38
|
-
<style scoped>
|
|
48
|
+
<style lang="scss" scoped>
|
|
49
|
+
.ev-tab-panel {
|
|
50
|
+
width: 100%;
|
|
51
|
+
height: 100%;
|
|
52
|
+
}
|
|
39
53
|
</style>
|