@owp/core 1.19.0 → 1.21.0
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/{QuickPanel-DOgeUVXq.js → QuickPanel-yxCETwos.js} +2 -2
- package/dist/{QuickPanel-DOgeUVXq.js.map → QuickPanel-yxCETwos.js.map} +1 -1
- package/dist/index-CTIjyeWI.js +63283 -0
- package/dist/index-CTIjyeWI.js.map +1 -0
- package/dist/index.js +226 -216
- package/dist/types/components/OwpTreeGridExcelButton/index.d.ts +1 -1
- package/dist/types/hooks/useTreeGridExcelExport.d.ts +10 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/utils/excelUtil.d.ts +7 -0
- package/dist/types/utils/formatDateToYmd.d.ts +12 -0
- package/dist/types/utils/treeGridExportExcelUtil.d.ts +15 -3
- package/dist/types/utils/treeGridUtil.d.ts +70 -29
- package/package.json +1 -1
- package/dist/index-DCT-HzsQ.js +0 -79087
- package/dist/index-DCT-HzsQ.js.map +0 -1
|
@@ -22,18 +22,18 @@ export declare const TREEGRID_CELL_HIGHLIGHT_COLOR = "#ff8904";
|
|
|
22
22
|
* TreeGrid 인스턴스 ID 조회
|
|
23
23
|
* @param gridId TreeGrid 인스턴스 ID
|
|
24
24
|
*/
|
|
25
|
-
export declare const
|
|
25
|
+
export declare const getTreeGridById: (gridId: string) => TTGrid;
|
|
26
26
|
/**
|
|
27
27
|
* TreeGrid 데이터 행 목록 조회
|
|
28
28
|
* @param gridId TreeGrid 인스턴스 ID
|
|
29
29
|
*/
|
|
30
|
-
export declare const
|
|
30
|
+
export declare const getTreeGridDataRowsById: <T>(gridId: string) => T;
|
|
31
31
|
/**
|
|
32
32
|
* TreeGrid Body 데이터 교체 후 재로드
|
|
33
33
|
* @param gridId TreeGrid 인스턴스 ID
|
|
34
34
|
* @param rows 새로 반영할 행 데이터
|
|
35
35
|
*/
|
|
36
|
-
export declare const
|
|
36
|
+
export declare const reloadTreeGridBodyById: (gridId: string, rows: unknown) => void;
|
|
37
37
|
/**
|
|
38
38
|
* 행을 특정 위치에 추가
|
|
39
39
|
* @param gridId TreeGrid 인스턴스 ID
|
|
@@ -43,12 +43,12 @@ export declare const reloadBodyById: (gridId: string, rows: unknown) => void;
|
|
|
43
43
|
* @param options.insertPosition 행 삽입 위치
|
|
44
44
|
* @param options.initialValues 신규 행 초기값
|
|
45
45
|
*/
|
|
46
|
-
export declare const
|
|
46
|
+
export declare const addTreeGridRowById: <T>(gridId: string, options?: TreeGridAddRowOptions<T>) => void;
|
|
47
47
|
/**
|
|
48
48
|
* TreeGrid 추가/수정 데이터 행 조회
|
|
49
49
|
* @param gridId TreeGrid 인스턴스 ID
|
|
50
50
|
*/
|
|
51
|
-
export declare const
|
|
51
|
+
export declare const getTreeGridRowChangesById: <T>(gridId: string) => {
|
|
52
52
|
added: T[];
|
|
53
53
|
changed: T[];
|
|
54
54
|
};
|
|
@@ -57,46 +57,46 @@ export declare const getChangedDataRowsById: <T>(gridId: string) => {
|
|
|
57
57
|
* @param gridId TreeGrid 인스턴스 ID
|
|
58
58
|
* @param title 다운로드 파일명
|
|
59
59
|
*/
|
|
60
|
-
export declare const
|
|
60
|
+
export declare const exportTreeGridToExcelById: (gridId: string, title?: string) => void;
|
|
61
61
|
/**
|
|
62
62
|
* TreeGrid 현재 선택 행 목록 조회
|
|
63
63
|
* @param gridId TreeGrid 인스턴스 ID
|
|
64
64
|
*/
|
|
65
|
-
export declare const
|
|
65
|
+
export declare const getTreeGridSelectedRowsById: <T>(gridId: string) => any[] | T;
|
|
66
66
|
/**
|
|
67
67
|
* TreeGrid 컬럼 표시 여부 변경
|
|
68
68
|
* @param gridId TreeGrid 인스턴스 ID
|
|
69
69
|
* @param options.targetKey 표시 상태를 변경할 컬럼 키
|
|
70
70
|
* @param options.canVisible 컬럼 표시 여부
|
|
71
71
|
*/
|
|
72
|
-
export declare const
|
|
72
|
+
export declare const setTreeGridColumnVisibilityById: (gridId: string, options: TreeGridColumnVisibilityOptions) => void;
|
|
73
73
|
/**
|
|
74
74
|
* 특정 셀 강조 스타일 적용
|
|
75
75
|
* @param gridId TreeGrid 인스턴스 ID
|
|
76
76
|
* @param targetOption.row 강조할 대상 행
|
|
77
77
|
* @param targetOption.col 강조할 대상 컬럼
|
|
78
78
|
*/
|
|
79
|
-
export declare const
|
|
79
|
+
export declare const highlightTreeGridCellById: (gridId: string, targetOption: TreeGridHighlightTargetOption) => void;
|
|
80
80
|
/**
|
|
81
81
|
* TreeGrid 현재 선택 상태 전체 해제
|
|
82
82
|
* @param gridId TreeGrid 인스턴스 ID
|
|
83
83
|
*/
|
|
84
|
-
export declare const
|
|
84
|
+
export declare const resetTreeGridSelectionById: (gridId: string) => void;
|
|
85
85
|
/**
|
|
86
86
|
* 여러 TreeGrid 선택 상태 전체 해제
|
|
87
87
|
* @param gridIds TreeGrid 인스턴스 ID 목록
|
|
88
88
|
*/
|
|
89
|
-
export declare const
|
|
89
|
+
export declare const resetTreeGridSelectionsByIds: (gridIds: string[]) => void;
|
|
90
90
|
/**
|
|
91
91
|
* TreeGrid 변경 사항 및 선택 상태 초기화
|
|
92
92
|
* @param gridId TreeGrid 인스턴스 ID
|
|
93
93
|
*/
|
|
94
|
-
export declare const
|
|
94
|
+
export declare const resetTreeGridChangesById: (gridId: string) => void;
|
|
95
95
|
/**
|
|
96
96
|
* 여러 TreeGrid 변경 사항 및 선택 상태 초기화
|
|
97
97
|
* @param gridIds TreeGrid 인스턴스 ID 목록
|
|
98
98
|
*/
|
|
99
|
-
export declare const
|
|
99
|
+
export declare const resetTreeGridChangesByIds: (gridIds: string[]) => void;
|
|
100
100
|
/**
|
|
101
101
|
* TreeGrid Enum 컬럼 옵션 반영
|
|
102
102
|
* @param gridId TreeGrid 인스턴스 ID
|
|
@@ -105,23 +105,64 @@ export declare const resetGridsChanges: (gridIds: string[]) => void;
|
|
|
105
105
|
* @param valueKey Enum 값으로 사용할 필드명
|
|
106
106
|
* @param labelKeys Enum 라벨로 사용할 필드 우선순위 목록
|
|
107
107
|
*/
|
|
108
|
-
export declare const
|
|
109
|
-
/**
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
export declare const
|
|
113
|
-
|
|
114
|
-
|
|
108
|
+
export declare const setTreeGridColumnEnumOptionsById: <T extends object>(gridId: string, columnName: string, options: T[] | undefined, valueKey: keyof T & string, labelKeys: Array<keyof T & string>) => void;
|
|
109
|
+
/**
|
|
110
|
+
* @deprecated `getTreeGridById` 사용
|
|
111
|
+
*/
|
|
112
|
+
export declare const getGridById: (gridId: string) => TTGrid;
|
|
113
|
+
/**
|
|
114
|
+
* @deprecated `getTreeGridDataRowsById` 사용
|
|
115
|
+
*/
|
|
116
|
+
export declare const getDataRowsById: <T>(gridId: string) => T;
|
|
117
|
+
/**
|
|
118
|
+
* @deprecated `reloadTreeGridBodyById` 사용
|
|
119
|
+
*/
|
|
120
|
+
export declare const reloadBodyById: (gridId: string, rows: unknown) => void;
|
|
121
|
+
/**
|
|
122
|
+
* @deprecated `addTreeGridRowById` 사용
|
|
123
|
+
*/
|
|
124
|
+
export declare const addRowById: <T>(gridId: string, options?: TreeGridAddRowOptions<T>) => void;
|
|
125
|
+
/**
|
|
126
|
+
* @deprecated `getTreeGridRowChangesById` 사용
|
|
127
|
+
*/
|
|
128
|
+
export declare const getChangedDataRowsById: <T>(gridId: string) => {
|
|
115
129
|
added: T[];
|
|
116
130
|
changed: T[];
|
|
117
131
|
};
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
export declare const
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
export declare const
|
|
126
|
-
|
|
132
|
+
/**
|
|
133
|
+
* @deprecated `exportTreeGridToExcelById` 사용
|
|
134
|
+
*/
|
|
135
|
+
export declare const exportExcelById: (gridId: string, title?: string) => void;
|
|
136
|
+
/**
|
|
137
|
+
* @deprecated `getTreeGridSelectedRowsById` 사용
|
|
138
|
+
*/
|
|
139
|
+
export declare const getSelectedRowsById: <T>(gridId: string) => any[] | T;
|
|
140
|
+
/**
|
|
141
|
+
* @deprecated `setTreeGridColumnVisibilityById` 사용
|
|
142
|
+
*/
|
|
143
|
+
export declare const changeVisibleCellByGridId: (gridId: string, options: TreeGridColumnVisibilityOptions) => void;
|
|
144
|
+
/**
|
|
145
|
+
* @deprecated `highlightTreeGridCellById` 사용
|
|
146
|
+
*/
|
|
147
|
+
export declare const setHighlightTargetCellByGridId: (gridId: string, targetOption: TreeGridHighlightTargetOption) => void;
|
|
148
|
+
/**
|
|
149
|
+
* @deprecated `resetTreeGridSelectionById` 사용
|
|
150
|
+
*/
|
|
151
|
+
export declare const resetGridSelection: (gridId: string) => void;
|
|
152
|
+
/**
|
|
153
|
+
* @deprecated `resetTreeGridSelectionsByIds` 사용
|
|
154
|
+
*/
|
|
155
|
+
export declare const resetGridsSelection: (gridIds: string[]) => void;
|
|
156
|
+
/**
|
|
157
|
+
* @deprecated `resetTreeGridChangesById` 사용
|
|
158
|
+
*/
|
|
159
|
+
export declare const resetGridChanges: (gridId: string) => void;
|
|
160
|
+
/**
|
|
161
|
+
* @deprecated `resetTreeGridChangesByIds` 사용
|
|
162
|
+
*/
|
|
163
|
+
export declare const resetGridsChanges: (gridIds: string[]) => void;
|
|
164
|
+
/**
|
|
165
|
+
* @deprecated `setTreeGridColumnEnumOptionsById` 사용
|
|
166
|
+
*/
|
|
167
|
+
export declare const setGridEnum: <T extends object>(gridId: string, columnName: string, options: T[] | undefined, valueKey: keyof T & string, labelKeys: Array<keyof T & string>) => void;
|
|
127
168
|
export {};
|