@moda-grid/vue2 2.2.0 → 2.2.4
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/DataGrid.vue +77 -83
- package/package.json +2 -2
- package/dist/DataGrid.d.ts +0 -29
- package/dist/DataGrid.d.ts.map +0 -1
- package/dist/DataGrid.js +0 -90
- package/dist/DataGrid.js.map +0 -1
package/dist/DataGrid.vue
CHANGED
|
@@ -34,6 +34,7 @@ import {
|
|
|
34
34
|
handleGridKeydown,
|
|
35
35
|
isGroupRow,
|
|
36
36
|
isInteractiveCellTarget,
|
|
37
|
+
isRowSelectedInSnap,
|
|
37
38
|
isSubtotalRow,
|
|
38
39
|
leafDepthOf,
|
|
39
40
|
filterDropAnchorX,
|
|
@@ -41,6 +42,7 @@ import {
|
|
|
41
42
|
leafHasChildren,
|
|
42
43
|
leafOf,
|
|
43
44
|
logicalToDomScrollLeft,
|
|
45
|
+
measureRowScrollPads,
|
|
44
46
|
pinPartition,
|
|
45
47
|
pinStyleProps,
|
|
46
48
|
resolveRowDrop,
|
|
@@ -49,6 +51,7 @@ import {
|
|
|
49
51
|
startColumnResize,
|
|
50
52
|
startFillDrag,
|
|
51
53
|
startRowResize,
|
|
54
|
+
syncGridOptions,
|
|
52
55
|
colKeyOf,
|
|
53
56
|
resolveColumn,
|
|
54
57
|
} from "@moda-grid/core";
|
|
@@ -367,71 +370,53 @@ defineExpose({ grid });
|
|
|
367
370
|
// 컬럼 관리 도구 팝오버 열림 상태
|
|
368
371
|
const colCtlOpen = ref(false);
|
|
369
372
|
|
|
370
|
-
// props → core 동기화
|
|
373
|
+
// props → core 동기화 — 세터 디스패치·함수 prop 안정 래퍼는 코어
|
|
374
|
+
// syncGridOptions 단일 경로가 담당한다. watchEffect가 참조한 prop을
|
|
375
|
+
// 추적해 바뀌면 재실행되고, 코어가 엔트리별 deps 비교로 실제 세터
|
|
376
|
+
// 호출을 게이트한다
|
|
371
377
|
watchEffect(() => {
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
grid.setHeaderHeight(props.headerHeight ?? null);
|
|
415
|
-
});
|
|
416
|
-
watchEffect(() => {
|
|
417
|
-
grid.setStriped(props.striped ?? false);
|
|
418
|
-
});
|
|
419
|
-
watchEffect(() => {
|
|
420
|
-
grid.setBeforeEdit(props.beforeEdit ?? null);
|
|
421
|
-
grid.setIsRowSelectable(props.isRowSelectable ?? null);
|
|
422
|
-
grid.setExternalFilter(props.externalFilter ?? null);
|
|
423
|
-
grid.setPostSort(props.postSort ?? null);
|
|
424
|
-
grid.setBeforePaste(props.beforePaste ?? null);
|
|
425
|
-
grid.setBeforeCopy(props.beforeCopy ?? null);
|
|
426
|
-
grid.setIsFullWidthRow(props.isFullWidthRow ?? null);
|
|
427
|
-
grid.setAnimateRows(props.animateRows ?? false);
|
|
428
|
-
// 외부 grid prop 경로에서도 컨텍스트 메뉴 prop이 적용되도록
|
|
429
|
-
// 런타임 setter로 동기화한다
|
|
430
|
-
grid.setContextMenu(props.contextMenu ?? null);
|
|
431
|
-
grid.setHeaderContextMenu(props.headerContextMenu ?? null);
|
|
432
|
-
});
|
|
433
|
-
watchEffect(() => {
|
|
434
|
-
grid.setClipboardDelimiter(props.clipboardDelimiter ?? null);
|
|
378
|
+
syncGridOptions(grid, {
|
|
379
|
+
data: props.data,
|
|
380
|
+
columns: props.columns,
|
|
381
|
+
defaultColDef: props.defaultColDef,
|
|
382
|
+
virtualScroll:
|
|
383
|
+
props.domLayout !== "autoHeight" &&
|
|
384
|
+
props.height != null &&
|
|
385
|
+
props.rowHeight != null &&
|
|
386
|
+
props.rowHeight > 0
|
|
387
|
+
? {
|
|
388
|
+
rowHeight: props.rowHeight,
|
|
389
|
+
viewportHeight: props.height,
|
|
390
|
+
overscan: props.overscan,
|
|
391
|
+
getRowHeight: props.getRowHeight,
|
|
392
|
+
}
|
|
393
|
+
: null,
|
|
394
|
+
virtualColumns: props.virtualColumns,
|
|
395
|
+
rowDragAcceptExternal: props.rowDragAcceptExternal,
|
|
396
|
+
dir: props.dir,
|
|
397
|
+
clipboardDelimiter: props.clipboardDelimiter,
|
|
398
|
+
selectionMode: props.selectionMode,
|
|
399
|
+
rangeTracking: props.rangeTracking,
|
|
400
|
+
autoRowHeight: props.autoRowHeight,
|
|
401
|
+
fillSeries: props.fillSeries,
|
|
402
|
+
cellFlash: props.cellFlash,
|
|
403
|
+
copyFormatted: props.copyFormatted,
|
|
404
|
+
singleClickEdit: props.singleClickEdit,
|
|
405
|
+
editType: props.editType,
|
|
406
|
+
headerHeight: props.headerHeight,
|
|
407
|
+
hiddenRowIds: props.hiddenRowIds,
|
|
408
|
+
striped: props.striped,
|
|
409
|
+
beforeEdit: props.beforeEdit,
|
|
410
|
+
beforePaste: props.beforePaste,
|
|
411
|
+
beforeCopy: props.beforeCopy,
|
|
412
|
+
contextMenu: props.contextMenu,
|
|
413
|
+
headerContextMenu: props.headerContextMenu,
|
|
414
|
+
isRowSelectable: props.isRowSelectable,
|
|
415
|
+
externalFilter: props.externalFilter,
|
|
416
|
+
isFullWidthRow: props.isFullWidthRow,
|
|
417
|
+
postSort: props.postSort,
|
|
418
|
+
animateRows: props.animateRows,
|
|
419
|
+
});
|
|
435
420
|
});
|
|
436
421
|
|
|
437
422
|
// 가상 스크롤: 코어가 보정한 scrollTop을 DOM에 동기화 (키보드 scrollIntoView)
|
|
@@ -442,6 +427,17 @@ watchEffect(() => {
|
|
|
442
427
|
if (v && el && el.scrollTop !== v.scrollTop) el.scrollTop = v.scrollTop;
|
|
443
428
|
});
|
|
444
429
|
|
|
430
|
+
// scroll-padding: sticky thead/pinned-top·tfoot/pinned-bottom이 덮는 높이를
|
|
431
|
+
// 알려 scrollIntoView가 행을 오버레이 아래로 완전히 보이게 한다
|
|
432
|
+
watchEffect(() => {
|
|
433
|
+
void state.value; // 스냅샷 갱신마다 재측정
|
|
434
|
+
const el = scrollEl.value;
|
|
435
|
+
if (!el) return;
|
|
436
|
+
const { top, bottom } = measureRowScrollPads(el);
|
|
437
|
+
el.style.scrollPaddingTop = `${top}px`;
|
|
438
|
+
el.style.scrollPaddingBottom = `${bottom}px`;
|
|
439
|
+
});
|
|
440
|
+
|
|
445
441
|
// 컬럼 가상화: 코어가 보정한 scrollLeft를 DOM에 동기화한다
|
|
446
442
|
// (ensureColumnVisible/scrollToColumn 경로). 사용자 스크롤은 같은 값이라 no-op.
|
|
447
443
|
watchEffect(() => {
|
|
@@ -497,25 +493,21 @@ watch(
|
|
|
497
493
|
const req = state.value.scrollRequest;
|
|
498
494
|
if (!req) return;
|
|
499
495
|
await nextTick();
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
496
|
+
const el = scrollEl.value ?? hostEl.value;
|
|
497
|
+
// scrollToBottom — 후행 소계/그룹 행까지 덮도록 스크롤 끝으로
|
|
498
|
+
if (req.toEnd) {
|
|
499
|
+
if (el) el.scrollTop = el.scrollHeight;
|
|
500
|
+
return;
|
|
501
|
+
}
|
|
502
|
+
el?.querySelector<HTMLElement>(
|
|
503
|
+
`td[data-mg-row="${req.rowIndex}"]` +
|
|
504
|
+
(req.columnIndex != null ? `[data-mg-col="${req.columnIndex}"]` : ""),
|
|
505
|
+
)?.scrollIntoView({ block: "nearest", inline: "nearest" });
|
|
506
506
|
},
|
|
507
507
|
);
|
|
508
508
|
|
|
509
|
-
// autoRowHeight
|
|
510
|
-
|
|
511
|
-
// fillSeries prop → core 동기화 (제어 모드 포함)
|
|
512
|
-
watchEffect(() => grid.setFillSeries(!!props.fillSeries));
|
|
513
|
-
// cellFlash prop → core 동기화
|
|
514
|
-
watchEffect(() => grid.setCellFlash(!!props.cellFlash));
|
|
515
|
-
// copyFormatted prop → core 동기화
|
|
516
|
-
watchEffect(() => grid.setCopyFormatted(!!props.copyFormatted));
|
|
517
|
-
watchEffect(() => grid.setSingleClickEdit(!!props.singleClickEdit));
|
|
518
|
-
watchEffect(() => grid.setEditType(props.editType ?? "cell"));
|
|
509
|
+
// autoRowHeight·fillSeries·cellFlash·copyFormatted·singleClickEdit·editType은
|
|
510
|
+
// 위 syncGridOptions 단일 경로가 커버한다
|
|
519
511
|
|
|
520
512
|
// 찾기 바 — findNext로 다음/이전 매치 순환 (Enter / Shift+Enter)
|
|
521
513
|
const findInputEl = ref<HTMLInputElement | null>(null);
|
|
@@ -966,7 +958,7 @@ function sortPriorityOf(field: string) {
|
|
|
966
958
|
}
|
|
967
959
|
|
|
968
960
|
function isSelected(row: Record<string, unknown>) {
|
|
969
|
-
return state.value
|
|
961
|
+
return isRowSelectedInSnap(state.value, grid.getRowId(row));
|
|
970
962
|
}
|
|
971
963
|
|
|
972
964
|
function onColumnToggle(field: string, event: Event) {
|
|
@@ -2285,6 +2277,7 @@ watch(
|
|
|
2285
2277
|
grid.getHeaderClass(cell.col),
|
|
2286
2278
|
]"
|
|
2287
2279
|
:title="cell.col.headerTooltip"
|
|
2280
|
+
role="columnheader"
|
|
2288
2281
|
:aria-sort="sortAria(colKeyOf(cell.col))"
|
|
2289
2282
|
:draggable="reorderable && cell.col.movable !== false"
|
|
2290
2283
|
@dragstart="onDragStart(cell.col, $event)"
|
|
@@ -2621,6 +2614,7 @@ watch(
|
|
|
2621
2614
|
<tr
|
|
2622
2615
|
v-else-if="isFullWidthOf(entry, rowIdx)"
|
|
2623
2616
|
:key="rowKeyOf(entry, rowIdx)"
|
|
2617
|
+
role="row"
|
|
2624
2618
|
class="mg-fullwidth-row"
|
|
2625
2619
|
:data-mg-key="grid.getRowId(rowDataOf(entry))"
|
|
2626
2620
|
>
|
|
@@ -2639,7 +2633,7 @@ watch(
|
|
|
2639
2633
|
role="row"
|
|
2640
2634
|
:data-mg-key="grid.getRowId(rowDataOf(entry))"
|
|
2641
2635
|
:aria-selected="
|
|
2642
|
-
state
|
|
2636
|
+
isRowSelectedInSnap(state, grid.getRowId(rowDataOf(entry)))
|
|
2643
2637
|
"
|
|
2644
2638
|
:class="rowClassOf(entry, rowIdx)"
|
|
2645
2639
|
:style="rowStyleOf(entry, rowIdx)"
|
|
@@ -3111,7 +3105,7 @@ watch(
|
|
|
3111
3105
|
class="mg-append-btn"
|
|
3112
3106
|
@click="onLoadMore"
|
|
3113
3107
|
>
|
|
3114
|
-
|
|
3108
|
+
{{ state.locale.appendMore }}
|
|
3115
3109
|
</button>
|
|
3116
3110
|
</td>
|
|
3117
3111
|
</tr>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moda-grid/vue2",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.4",
|
|
4
4
|
"description": "Vue 2.7 adapter for @moda-grid — DataGrid SFC and useGrid composable",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"grid"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@moda-grid/core": "2.2.
|
|
39
|
+
"@moda-grid/core": "2.2.4"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"vue": "^2.7.0"
|
package/dist/DataGrid.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { PropType } from "vue";
|
|
2
|
-
import type { Grid } from "@moda-grid/core";
|
|
3
|
-
/**
|
|
4
|
-
* 기본 테이블 렌더러 (Vue 2.7 render API).
|
|
5
|
-
* Vue 2의 h()는 attrs/on을 분리해서 받는다 — Vue 3용 컴포넌트와
|
|
6
|
-
* 데이터 객체 형태가 다르므로 주의.
|
|
7
|
-
*/
|
|
8
|
-
export declare const DataGrid: import("vue").DefineComponent<{
|
|
9
|
-
grid: {
|
|
10
|
-
type: PropType<Grid<any>>;
|
|
11
|
-
required: true;
|
|
12
|
-
};
|
|
13
|
-
selectable: {
|
|
14
|
-
type: BooleanConstructor;
|
|
15
|
-
default: boolean;
|
|
16
|
-
};
|
|
17
|
-
}, () => import("vue").VNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
-
grid: {
|
|
19
|
-
type: PropType<Grid<any>>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
selectable: {
|
|
23
|
-
type: BooleanConstructor;
|
|
24
|
-
default: boolean;
|
|
25
|
-
};
|
|
26
|
-
}>>, {
|
|
27
|
-
selectable: boolean;
|
|
28
|
-
}>;
|
|
29
|
-
//# sourceMappingURL=DataGrid.d.ts.map
|
package/dist/DataGrid.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DataGrid.d.ts","sourceRoot":"","sources":["../src/DataGrid.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAI5C;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;cAIC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;;;;;;;;;cAAnB,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;;;;;;;;;EAgHvC,CAAC"}
|
package/dist/DataGrid.js
DELETED
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { defineComponent, h, onBeforeUnmount, shallowRef } from "vue";
|
|
2
|
-
const SORT_ARROWS = { asc: "▲", desc: "▼" };
|
|
3
|
-
/**
|
|
4
|
-
* 기본 테이블 렌더러 (Vue 2.7 render API).
|
|
5
|
-
* Vue 2의 h()는 attrs/on을 분리해서 받는다 — Vue 3용 컴포넌트와
|
|
6
|
-
* 데이터 객체 형태가 다르므로 주의.
|
|
7
|
-
*/
|
|
8
|
-
export const DataGrid = defineComponent({
|
|
9
|
-
name: "MyGridDataGrid",
|
|
10
|
-
props: {
|
|
11
|
-
grid: {
|
|
12
|
-
type: Object,
|
|
13
|
-
required: true,
|
|
14
|
-
},
|
|
15
|
-
selectable: {
|
|
16
|
-
type: Boolean,
|
|
17
|
-
default: true,
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
setup(props) {
|
|
21
|
-
const state = shallowRef(props.grid.getSnapshot());
|
|
22
|
-
const unsubscribe = props.grid.subscribe(() => {
|
|
23
|
-
state.value = props.grid.getSnapshot();
|
|
24
|
-
});
|
|
25
|
-
onBeforeUnmount(unsubscribe);
|
|
26
|
-
return () => {
|
|
27
|
-
const { visibleColumns, rows, sort, selectedRowIds, filters } = state.value;
|
|
28
|
-
const grid = props.grid;
|
|
29
|
-
const hasFilterRow = visibleColumns.some((c) => c.filterable);
|
|
30
|
-
return h("table", { class: "mg-table" }, [
|
|
31
|
-
h("thead", [
|
|
32
|
-
h("tr", visibleColumns.map((col) => h("th", {
|
|
33
|
-
key: col.field,
|
|
34
|
-
style: col.width ? { width: `${col.width}px` } : undefined,
|
|
35
|
-
class: col.sortable === false ? undefined : "mg-sortable",
|
|
36
|
-
attrs: {
|
|
37
|
-
"aria-sort": sort?.field === col.field
|
|
38
|
-
? sort.direction === "asc"
|
|
39
|
-
? "ascending"
|
|
40
|
-
: "descending"
|
|
41
|
-
: "none",
|
|
42
|
-
},
|
|
43
|
-
on: { click: () => grid.toggleSort(col.field) },
|
|
44
|
-
}, [
|
|
45
|
-
col.header ?? col.field,
|
|
46
|
-
sort?.field === col.field
|
|
47
|
-
? h("span", { class: "mg-sort-arrow" }, SORT_ARROWS[sort.direction])
|
|
48
|
-
: null,
|
|
49
|
-
]))),
|
|
50
|
-
hasFilterRow
|
|
51
|
-
? h("tr", { class: "mg-filter-row" }, visibleColumns.map((col) => h("th", { key: col.field }, [
|
|
52
|
-
col.filterable
|
|
53
|
-
? h("input", {
|
|
54
|
-
class: "mg-filter-input",
|
|
55
|
-
domProps: { value: filters[col.field] ?? "" },
|
|
56
|
-
attrs: {
|
|
57
|
-
placeholder: `${col.header ?? col.field} 필터`,
|
|
58
|
-
},
|
|
59
|
-
on: {
|
|
60
|
-
input: (e) => grid.setFilter(col.field, e.target.value),
|
|
61
|
-
},
|
|
62
|
-
})
|
|
63
|
-
: null,
|
|
64
|
-
])))
|
|
65
|
-
: null,
|
|
66
|
-
]),
|
|
67
|
-
h("tbody", rows.length === 0
|
|
68
|
-
? [
|
|
69
|
-
h("tr", [
|
|
70
|
-
h("td", {
|
|
71
|
-
class: "mg-empty",
|
|
72
|
-
attrs: { colspan: visibleColumns.length || 1 },
|
|
73
|
-
}, "No rows"),
|
|
74
|
-
]),
|
|
75
|
-
]
|
|
76
|
-
: rows.map((row) => {
|
|
77
|
-
const id = grid.getRowId(row);
|
|
78
|
-
return h("tr", {
|
|
79
|
-
key: id,
|
|
80
|
-
class: selectedRowIds.has(id) ? "mg-selected" : undefined,
|
|
81
|
-
on: {
|
|
82
|
-
click: () => props.selectable && grid.toggleRowSelection(id),
|
|
83
|
-
},
|
|
84
|
-
}, visibleColumns.map((col) => h("td", { key: col.field }, grid.getCellText(row, col))));
|
|
85
|
-
})),
|
|
86
|
-
]);
|
|
87
|
-
};
|
|
88
|
-
},
|
|
89
|
-
});
|
|
90
|
-
//# sourceMappingURL=DataGrid.js.map
|
package/dist/DataGrid.js.map
DELETED
|
@@ -1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