docs: V2 컴포넌트 목록 및 v2-table-grouped 개발 상태 업데이트
- V2 컴포넌트 목록에 `v2-table-grouped`를 추가하여 총 18개로 업데이트하였습니다. - `v2-table-grouped`의 구현 완료 상태를 체크리스트에 반영하였으며, 관련 문서화 작업도 완료하였습니다. - 생산계획관리 화면의 신규 컴포넌트 개발 상태를 업데이트하여 `v2-table-grouped`의 완료를 명시하였습니다.
This commit is contained in:
64
frontend/lib/registry/components/v2-table-grouped/config.ts
Normal file
64
frontend/lib/registry/components/v2-table-grouped/config.ts
Normal file
@@ -0,0 +1,64 @@
|
||||
import { TableGroupedConfig } from "./types";
|
||||
|
||||
/**
|
||||
* v2-table-grouped 기본 설정값
|
||||
*/
|
||||
export const defaultTableGroupedConfig: Partial<TableGroupedConfig> = {
|
||||
// 그룹화 기본 설정
|
||||
groupConfig: {
|
||||
groupByColumn: "",
|
||||
groupLabelFormat: "{value}",
|
||||
defaultExpanded: true,
|
||||
sortDirection: "asc",
|
||||
summary: {
|
||||
showCount: true,
|
||||
sumColumns: [],
|
||||
},
|
||||
},
|
||||
|
||||
// 체크박스 기본 설정
|
||||
showCheckbox: false,
|
||||
checkboxMode: "multi",
|
||||
|
||||
// 페이지네이션 기본 설정
|
||||
pagination: {
|
||||
enabled: false,
|
||||
pageSize: 10,
|
||||
},
|
||||
|
||||
// UI 기본 설정
|
||||
isReadOnly: false,
|
||||
rowClickable: true,
|
||||
showExpandAllButton: true,
|
||||
groupHeaderStyle: "default",
|
||||
emptyMessage: "데이터가 없습니다.",
|
||||
|
||||
// 높이 기본 설정
|
||||
height: "auto",
|
||||
maxHeight: 600,
|
||||
};
|
||||
|
||||
/**
|
||||
* 그룹 헤더 스타일 옵션
|
||||
*/
|
||||
export const groupHeaderStyleOptions = [
|
||||
{ value: "default", label: "기본" },
|
||||
{ value: "compact", label: "컴팩트" },
|
||||
{ value: "card", label: "카드" },
|
||||
];
|
||||
|
||||
/**
|
||||
* 체크박스 모드 옵션
|
||||
*/
|
||||
export const checkboxModeOptions = [
|
||||
{ value: "single", label: "단일 선택" },
|
||||
{ value: "multi", label: "다중 선택" },
|
||||
];
|
||||
|
||||
/**
|
||||
* 정렬 방향 옵션
|
||||
*/
|
||||
export const sortDirectionOptions = [
|
||||
{ value: "asc", label: "오름차순" },
|
||||
{ value: "desc", label: "내림차순" },
|
||||
];
|
||||
Reference in New Issue
Block a user