@ehfuse/mui-virtual-data-table 1.4.3 → 1.5.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/types.d.ts CHANGED
@@ -26,6 +26,7 @@
26
26
  import React from "react";
27
27
  import type { SxProps, Theme } from "@mui/material";
28
28
  import { OverlayScrollbarProps } from "@ehfuse/overlay-scrollbar";
29
+ import type { HeaderMenuOption } from "./HeaderMenu";
29
30
  /**
30
31
  * 테이블 컬럼 정의 인터페이스
31
32
  */
@@ -80,10 +81,11 @@ export interface DataColumn<T> {
80
81
  * 머리 우클릭 메뉴의 거르기 값 목록(1.4.0). onFilterChange 와 함께 주면 머리를 우클릭했을 때 이 값들이 고르기 목록으로 뜬다.
81
82
  * 값은 글자다(빈 글자 = 비어 있음 같은 값도 그대로 쓴다). 거르는 일 자체는 소비처가 한다 — 표는 고른 값만 알린다.
82
83
  */
83
- filterOptions?: {
84
- value: string;
85
- label: string;
86
- }[];
84
+ filterOptions?: HeaderMenuOption[];
85
+ /** 값 ""(비어 있음) 항목을 끝에 더한다 — 그 이름(1.5.0, 예: "지역 없음"). */
86
+ filterEmptyLabel?: string;
87
+ /** 맨 위 찾기 칸(1.5.0) — 기본: 값이 10개를 넘으면. */
88
+ filterSearchable?: boolean;
87
89
  /** 지금 걸린 거르기 값(1.4.0). 하나라도 있으면 머리글이 강조색 + 거르기 아이콘으로 선다(걸린 줄 모르고 "왜 몇 줄 없지" 하지 않게). */
88
90
  filterValues?: string[];
89
91
  /** 거르기 값이 바뀔 때(1.4.0) — 다 풀면 빈 배열. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ehfuse/mui-virtual-data-table",
3
- "version": "1.4.3",
3
+ "version": "1.5.0",
4
4
  "description": "A high-performance virtual data table component for React with Material-UI integration",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",