@owp/core 1.6.1 → 1.7.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-CU-3xMyw.js → QuickPanel-DVTv2o_s.js} +2 -2
- package/dist/{QuickPanel-CU-3xMyw.js.map → QuickPanel-DVTv2o_s.js.map} +1 -1
- package/dist/index-COtWRLj0.js +77320 -0
- package/dist/index-COtWRLj0.js.map +1 -0
- package/dist/index.js +165 -164
- package/dist/types/components/OwpExportExcelButton/OwpExportExcelButton.d.ts +5 -5
- package/dist/types/components/OwpFileUploadButton/OwpFileUploadButton.d.ts +1 -1
- package/dist/types/components/OwpMrtTable/index.d.ts +4 -0
- package/dist/types/components/OwpSection/index.d.ts +3 -1
- package/dist/types/components/OwpTable/OwpDataTable.d.ts +6 -1
- package/dist/types/components/OwpTable/OwpTable.d.ts +6 -8
- package/dist/types/components/OwpTable/OwpVerticalTable.d.ts +17 -16
- package/dist/types/components/OwpTreeGrid/utils.d.ts +3 -2
- package/dist/types/components/OwpTreeView/OwpSlotTreeView.d.ts +14 -9
- package/dist/types/index.d.ts +1 -0
- package/dist/types/utils/CommonCodeUtils.d.ts +2 -2
- package/dist/types/utils/excelUtil.d.ts +33 -0
- package/dist/types/utils/getFormDefaultValues.d.ts +1 -1
- package/dist/types/utils/treeGridUtil.d.ts +13 -13
- package/package.json +1 -1
- package/dist/index-CWtbF1dU.js +0 -54676
- package/dist/index-CWtbF1dU.js.map +0 -1
|
@@ -19,17 +19,17 @@ export declare const TREEGRID_INPUT_CELL_COLOR = "#ffd6a8";
|
|
|
19
19
|
export declare const TREEGRID_CELL_HIGHLIGHT_CLASS = "text-white text-xl font-semibold";
|
|
20
20
|
export declare const TREEGRID_CELL_HIGHLIGHT_COLOR = "#ff8904";
|
|
21
21
|
/**
|
|
22
|
-
* TreeGrid
|
|
22
|
+
* TreeGrid 인스턴스 ID 조회
|
|
23
23
|
* @param gridId TreeGrid 인스턴스 ID
|
|
24
24
|
*/
|
|
25
25
|
export declare const getGridById: (gridId: string) => TTGrid;
|
|
26
26
|
/**
|
|
27
|
-
* TreeGrid
|
|
27
|
+
* TreeGrid 데이터 행 목록 조회
|
|
28
28
|
* @param gridId TreeGrid 인스턴스 ID
|
|
29
29
|
*/
|
|
30
30
|
export declare const getDataRowsById: <T>(gridId: string) => T;
|
|
31
31
|
/**
|
|
32
|
-
* TreeGrid Body
|
|
32
|
+
* TreeGrid Body 데이터 교체 후 재로드
|
|
33
33
|
* @param gridId TreeGrid 인스턴스 ID
|
|
34
34
|
* @param rows 새로 반영할 행 데이터
|
|
35
35
|
*/
|
|
@@ -45,7 +45,7 @@ export declare const reloadBodyById: (gridId: string, rows: unknown) => void;
|
|
|
45
45
|
*/
|
|
46
46
|
export declare const addRowById: <T>(gridId: string, options?: TreeGridAddRowOptions<T>) => void;
|
|
47
47
|
/**
|
|
48
|
-
* TreeGrid
|
|
48
|
+
* TreeGrid 추가/수정 데이터 행 조회
|
|
49
49
|
* @param gridId TreeGrid 인스턴스 ID
|
|
50
50
|
*/
|
|
51
51
|
export declare const getChangedDataRowsById: <T>(gridId: string) => {
|
|
@@ -53,52 +53,52 @@ export declare const getChangedDataRowsById: <T>(gridId: string) => {
|
|
|
53
53
|
changed: T[];
|
|
54
54
|
};
|
|
55
55
|
/**
|
|
56
|
-
* TreeGrid
|
|
56
|
+
* TreeGrid 데이터 엑셀 내보내기
|
|
57
57
|
* @param gridId TreeGrid 인스턴스 ID
|
|
58
58
|
* @param title 다운로드 파일명
|
|
59
59
|
*/
|
|
60
60
|
export declare const exportExcelById: (gridId: string, title?: string) => void;
|
|
61
61
|
/**
|
|
62
|
-
* TreeGrid
|
|
62
|
+
* TreeGrid 현재 선택 행 목록 조회
|
|
63
63
|
* @param gridId TreeGrid 인스턴스 ID
|
|
64
64
|
*/
|
|
65
65
|
export declare const getSelectedRowsById: <T>(gridId: string) => any[] | T;
|
|
66
66
|
/**
|
|
67
|
-
* TreeGrid
|
|
67
|
+
* TreeGrid 컬럼 표시 여부 변경
|
|
68
68
|
* @param gridId TreeGrid 인스턴스 ID
|
|
69
69
|
* @param options.targetKey 표시 상태를 변경할 컬럼 키
|
|
70
70
|
* @param options.canVisible 컬럼 표시 여부
|
|
71
71
|
*/
|
|
72
72
|
export declare const changeVisibleCellByGridId: (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
79
|
export declare const setHighlightTargetCellByGridId: (gridId: string, targetOption: TreeGridHighlightTargetOption) => void;
|
|
80
80
|
/**
|
|
81
|
-
* TreeGrid
|
|
81
|
+
* TreeGrid 현재 선택 상태 전체 해제
|
|
82
82
|
* @param gridId TreeGrid 인스턴스 ID
|
|
83
83
|
*/
|
|
84
84
|
export declare const resetGridSelection: (gridId: string) => void;
|
|
85
85
|
/**
|
|
86
|
-
* 여러 TreeGrid
|
|
86
|
+
* 여러 TreeGrid 선택 상태 전체 해제
|
|
87
87
|
* @param gridIds TreeGrid 인스턴스 ID 목록
|
|
88
88
|
*/
|
|
89
89
|
export declare const resetGridsSelection: (gridIds: string[]) => void;
|
|
90
90
|
/**
|
|
91
|
-
* TreeGrid
|
|
91
|
+
* TreeGrid 변경 사항 및 선택 상태 초기화
|
|
92
92
|
* @param gridId TreeGrid 인스턴스 ID
|
|
93
93
|
*/
|
|
94
94
|
export declare const resetGridChanges: (gridId: string) => void;
|
|
95
95
|
/**
|
|
96
|
-
* 여러 TreeGrid
|
|
96
|
+
* 여러 TreeGrid 변경 사항 및 선택 상태 초기화
|
|
97
97
|
* @param gridIds TreeGrid 인스턴스 ID 목록
|
|
98
98
|
*/
|
|
99
99
|
export declare const resetGridsChanges: (gridIds: string[]) => void;
|
|
100
100
|
/**
|
|
101
|
-
* TreeGrid
|
|
101
|
+
* TreeGrid Enum 컬럼 옵션 반영
|
|
102
102
|
* @param gridId TreeGrid 인스턴스 ID
|
|
103
103
|
* @param columnName Enum을 적용할 컬럼명
|
|
104
104
|
* @param options Enum 옵션 목록
|