evui 3.4.16 → 3.4.18

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.
@@ -83,9 +83,6 @@
83
83
  .column-sort__icon--basic {
84
84
  visibility: visible;
85
85
  }
86
- .column-sort__icon--asc, .column-sort__icon--desc {
87
- visibility: hidden;
88
- }
89
86
  }
90
87
  }
91
88
 
@@ -254,26 +251,62 @@
254
251
  text-align: center;
255
252
  }
256
253
 
254
+ .filtering {
255
+ position: relative;
256
+ }
257
+
257
258
  .filtering-items {
258
259
  display: flex;
260
+ position: absolute;
261
+ width: inherit;
259
262
  flex-flow: row wrap;
260
263
  gap: 10px;
261
- position: absolute;
262
264
  padding: 8px;
263
265
  flex-direction: row;
264
266
  align-items: center;
265
267
  z-index: 1;
266
268
  border-radius: 4px;
269
+ max-height: 120px;
270
+ background: none;
271
+
272
+ &__hidden-items {
273
+ max-height: 106px;
274
+ overflow-y: auto;
275
+
276
+ @include evThemify() {
277
+ border: 1px solid evThemed('grid-bottom-border');
278
+ background: evThemed('grid-background');
279
+ }
280
+ }
267
281
  &-expand {
268
282
  &:hover {
269
283
  cursor: pointer;
270
284
  color: #0077FF;
271
285
  }
272
286
  }
273
- &__item {
287
+ &--count {
288
+ position: absolute;
289
+ top: 10px;
290
+ right: 0;
274
291
  padding: 4px;
275
292
  border-radius: 4px;
276
293
  background: #EAF2FA;
294
+ &:hover {
295
+ cursor: pointer;
296
+ padding: 3.5px;
297
+ border: 1px solid #198FFF !important;
298
+ box-sizing: border-box;
299
+ }
300
+ }
301
+ &__item {
302
+ height: 26px;
303
+ line-height: 26px;
304
+ padding: 0 10px;
305
+ border: 1px solid #CED4DA;
306
+ border-radius: 4px;
307
+ background: #EAF2FA;
308
+ font-size: 13px;
309
+ text-align: center;
277
310
  &:hover {
278
311
  cursor: pointer;
279
312
  border: 1px solid #198FFF;
@@ -281,31 +314,44 @@
281
314
  &--filter {
282
315
  font-weight: bold;
283
316
  border: 1px solid #198FFF;
317
+ color: #198FFF;
284
318
  i {
285
- color: #0077FF;
286
319
  vertical-align: middle;
287
320
  }
288
321
  }
289
322
  &--title {
290
- color: #0077FF;
291
323
  margin-right: 6px;
292
324
  vertical-align: middle;
293
325
  }
294
326
  &--value {
295
327
  display: inline-block;
296
328
  max-width: 80px;
329
+ color: #198FFF;
297
330
  text-overflow: ellipsis;
298
331
  overflow: hidden;
299
332
  vertical-align: middle;
300
333
  white-space: nowrap;
301
334
  }
302
335
  &--remove {
336
+ color: initial;
303
337
  vertical-align: middle;
304
338
  margin-left: 6px;
305
339
  &:hover {
306
340
  opacity: 0.6;
307
341
  }
308
342
  }
343
+ &--operator {
344
+ width: 80px;
345
+ height: 26px !important;
346
+ .ev-input {
347
+ height: 26px !important;
348
+ }
349
+ &:hover {
350
+ cursor: initial;
351
+ margin: inherit;
352
+ border: none;
353
+ }
354
+ }
309
355
  &.non-display {
310
356
  display: none;
311
357
  }
@@ -711,7 +711,7 @@ export const filterEvent = (params) => {
711
711
  */
712
712
  const numberFilter = (item, condition, columnType) => {
713
713
  const comparison = condition.comparison;
714
- const conditionValue = Number(condition.value);
714
+ const conditionValue = Number(condition.value.replace(/,/g, '')); // 콤마 제거
715
715
  let value = Number(item[ROW_DATA_INDEX][condition.index]);
716
716
  let result;
717
717
  if (columnType === 'float') {
@@ -958,6 +958,10 @@ export const contextMenuEvent = (params) => {
958
958
  const sortable = column.sortable === undefined ? true : column.sortable;
959
959
  const filterable = filterInfo.isFiltering
960
960
  && column.filterable === undefined ? true : column.filterable;
961
+ if (!sortable && !filterable) {
962
+ contextInfo.columnMenuItems = [];
963
+ return;
964
+ }
961
965
  contextInfo.columnMenuItems = [
962
966
  {
963
967
  text: 'Ascending',