@coldsmirk/ledger-mantine 0.4.0 → 0.5.1

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/index.d.cts CHANGED
@@ -1,8 +1,8 @@
1
1
 
2
- import { n as defaultLabels, t as DataTableLabels } from "./labels-ChBqD1II.cjs";
2
+ import { n as defaultLabels, t as DataTableLabels } from "./labels-D-6FCakH.cjs";
3
3
  import { BoxProps, ComboboxData, ElementProps, Factory, MantineBreakpoint, MantineColor, MantineRadius, MantineSize, MantineSpacing, PopoverProps, StylesApiProps, TableTdProps, TableThProps, TableTrProps, TextInputProps } from "@mantine/core";
4
- import { Cell as Cell$1, CellData, Column as Column$1, ColumnDef as ColumnDef$1, ColumnFiltersState, ColumnFiltersState as ColumnFiltersState$1, ColumnOrderState, ColumnOrderState as ColumnOrderState$1, ColumnPinningState, ColumnPinningState as ColumnPinningState$1, ColumnSizingState, ColumnSizingState as ColumnSizingState$1, ColumnVisibilityState, ColumnVisibilityState as ColumnVisibilityState$1, ExpandedState, ExpandedState as ExpandedState$1, FilterFn, FilterFnOption, GroupingState, GroupingState as GroupingState$1, Header as Header$1, HeaderGroup as HeaderGroup$1, PaginationState, PaginationState as PaginationState$1, ReactTable, Row as Row$1, RowData, RowData as RowData$1, RowPinningState, RowPinningState as RowPinningState$1, RowSelectionState, RowSelectionState as RowSelectionState$1, SortingState, SortingState as SortingState$1, TableFeatures, TableOptions, flexRender } from "@tanstack/react-table";
5
- import { CSSProperties, ComponentProps, ComponentType, JSX, KeyboardEvent, MouseEvent, ReactElement, ReactNode, Ref } from "react";
4
+ import { Cell as Cell$1, CellData, Column as Column$1, ColumnDef as ColumnDef$1, ColumnFiltersState, ColumnFiltersState as ColumnFiltersState$1, ColumnOrderState, ColumnOrderState as ColumnOrderState$1, ColumnPinningState, ColumnPinningState as ColumnPinningState$1, ColumnSizingState, ColumnSizingState as ColumnSizingState$1, ColumnVisibilityState, ColumnVisibilityState as ColumnVisibilityState$1, ExpandedState, ExpandedState as ExpandedState$1, FilterFn, FilterFnOption, GroupingState, GroupingState as GroupingState$1, Header as Header$1, HeaderGroup as HeaderGroup$1, PaginationState, PaginationState as PaginationState$1, ReactTable, Row as Row$1, RowData, RowData as RowData$1, RowPinningState, RowPinningState as RowPinningState$1, RowSelectionState, RowSelectionState as RowSelectionState$1, SortingState, SortingState as SortingState$1, TableFeatures, TableOptions, aggregationFn_count, aggregationFn_extent, aggregationFn_first, aggregationFn_last, aggregationFn_max, aggregationFn_mean, aggregationFn_median, aggregationFn_min, aggregationFn_sum, aggregationFn_unique, aggregationFn_uniqueCount, flexRender } from "@tanstack/react-table";
5
+ import { CSSProperties, ComponentProps, ComponentType, JSX as JSX$1, KeyboardEvent, MouseEvent, ReactElement, ReactNode, Ref } from "react";
6
6
  //#region src/icons.d.ts
7
7
  /**
8
8
  * What a replacement icon receives — the two knobs the chrome actually turns. Lucide icons are
@@ -51,7 +51,7 @@ interface DataTableIcons {
51
51
  unpin: DataTableIconComponent;
52
52
  pinEnd: DataTableIconComponent;
53
53
  }
54
- declare const defaultIcons: DataTableIcons;
54
+ export declare const defaultIcons: DataTableIcons;
55
55
  //#endregion
56
56
  //#region src/element-props.d.ts
57
57
  /**
@@ -97,17 +97,17 @@ declare const ledgerFeatures: {
97
97
  paginatedRowModel: (table: import("@tanstack/react-table").Table<any, any>) => () => import("@tanstack/react-table").RowModel<any, any>;
98
98
  sortedRowModel: (table: import("@tanstack/react-table").Table<any, any>) => () => import("@tanstack/react-table").RowModel<any, any>;
99
99
  aggregationFns: {
100
- count: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, number>;
101
- extent: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, [(number | Date) | undefined, (number | Date) | undefined]>;
102
- first: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, unknown>;
103
- last: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, unknown>;
104
- max: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, (number | Date) | undefined>;
105
- mean: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, number | undefined>;
106
- median: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, number | undefined>;
107
- min: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, (number | Date) | undefined>;
108
- sum: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, number>;
109
- unique: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, unknown[]>;
110
- uniqueCount: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, number>;
100
+ count: typeof aggregationFn_count;
101
+ extent: typeof aggregationFn_extent;
102
+ first: typeof aggregationFn_first;
103
+ last: typeof aggregationFn_last;
104
+ max: typeof aggregationFn_max;
105
+ mean: typeof aggregationFn_mean;
106
+ median: typeof aggregationFn_median;
107
+ min: typeof aggregationFn_min;
108
+ sum: typeof aggregationFn_sum;
109
+ unique: typeof aggregationFn_unique;
110
+ uniqueCount: typeof aggregationFn_uniqueCount;
111
111
  };
112
112
  filterFns: {
113
113
  "ledger-date-range": FilterFn<any, any>;
@@ -149,7 +149,7 @@ type LedgerFeatures = typeof ledgerFeatures;
149
149
  * TanStack's column helper, pre-bound to the canonical feature set — consumers keep the v8
150
150
  * calling shape (`createColumnHelper<Person>()`), never managing `TFeatures` themselves.
151
151
  */
152
- declare function createColumnHelper<TData extends RowData$1>(): import("@tanstack/react-table").ColumnHelper<{
152
+ export declare function createColumnHelper<TData extends RowData$1>(): import("@tanstack/react-table").ColumnHelper<{
153
153
  cellSpanningFeature: import("@tanstack/react-table").TableFeature;
154
154
  columnFacetingFeature: import("@tanstack/react-table").TableFeature;
155
155
  columnFilteringFeature: import("@tanstack/react-table").TableFeature;
@@ -174,17 +174,17 @@ declare function createColumnHelper<TData extends RowData$1>(): import("@tanstac
174
174
  paginatedRowModel: (table: import("@tanstack/react-table").Table<any, any>) => () => import("@tanstack/react-table").RowModel<any, any>;
175
175
  sortedRowModel: (table: import("@tanstack/react-table").Table<any, any>) => () => import("@tanstack/react-table").RowModel<any, any>;
176
176
  aggregationFns: {
177
- count: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, number>;
178
- extent: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, [(number | Date) | undefined, (number | Date) | undefined]>;
179
- first: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, unknown>;
180
- last: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, unknown>;
181
- max: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, (number | Date) | undefined>;
182
- mean: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, number | undefined>;
183
- median: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, number | undefined>;
184
- min: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, (number | Date) | undefined>;
185
- sum: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, number>;
186
- unique: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, unknown[]>;
187
- uniqueCount: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, number>;
177
+ count: typeof aggregationFn_count;
178
+ extent: typeof aggregationFn_extent;
179
+ first: typeof aggregationFn_first;
180
+ last: typeof aggregationFn_last;
181
+ max: typeof aggregationFn_max;
182
+ mean: typeof aggregationFn_mean;
183
+ median: typeof aggregationFn_median;
184
+ min: typeof aggregationFn_min;
185
+ sum: typeof aggregationFn_sum;
186
+ unique: typeof aggregationFn_unique;
187
+ uniqueCount: typeof aggregationFn_uniqueCount;
188
188
  };
189
189
  filterFns: {
190
190
  "ledger-date-range": FilterFn<any, any>;
@@ -912,7 +912,7 @@ interface DataTableColumnsPanelProps<TData extends RowData$1> {
912
912
  className?: string;
913
913
  style?: CSSProperties;
914
914
  }
915
- declare function DataTableColumnsPanel<TData extends RowData$1>(props: DataTableColumnsPanelProps<TData>): import("react").JSX.Element;
915
+ export declare function DataTableColumnsPanel<TData extends RowData$1>(props: DataTableColumnsPanelProps<TData>): import("react").JSX.Element;
916
916
  //#endregion
917
917
  //#region src/csv.d.ts
918
918
  interface ToCsvOptions {
@@ -937,7 +937,7 @@ interface ToCsvOptions {
937
937
  */
938
938
  escapeFormulas?: boolean;
939
939
  }
940
- declare function toCsv<TData extends RowData$1>(table: TableInstance<TData>, options?: ToCsvOptions): string;
940
+ export declare function toCsv<TData extends RowData$1>(table: TableInstance<TData>, options?: ToCsvOptions): string;
941
941
  //#endregion
942
942
  //#region src/pagination-bar.d.ts
943
943
  interface DataTablePaginationProps<TData extends RowData$1> {
@@ -955,7 +955,7 @@ interface DataTablePaginationProps<TData extends RowData$1> {
955
955
  /**
956
956
  * Standalone compound (`DataTable.Pagination`) — place it anywhere, theme it via defaultProps.
957
957
  */
958
- declare function DataTablePagination<TData extends RowData$1>(props: DataTablePaginationProps<TData>): import("react").JSX.Element;
958
+ export declare function DataTablePagination<TData extends RowData$1>(props: DataTablePaginationProps<TData>): import("react").JSX.Element;
959
959
  //#endregion
960
960
  //#region src/search.d.ts
961
961
  interface DataTableSearchProps<TData extends RowData$1> extends Omit<TextInputProps, "value" | "defaultValue" | "onChange"> {
@@ -967,7 +967,7 @@ interface DataTableSearchProps<TData extends RowData$1> extends Omit<TextInputPr
967
967
  labels?: Partial<DataTableLabels>;
968
968
  icons?: Partial<DataTableIcons>;
969
969
  }
970
- declare function DataTableSearch<TData extends RowData$1>(props: DataTableSearchProps<TData>): import("react").JSX.Element;
970
+ export declare function DataTableSearch<TData extends RowData$1>(props: DataTableSearchProps<TData>): import("react").JSX.Element;
971
971
  //#endregion
972
972
  //#region src/selection-bar.d.ts
973
973
  interface DataTableSelectionBarProps<TData extends RowData$1> {
@@ -981,7 +981,7 @@ interface DataTableSelectionBarProps<TData extends RowData$1> {
981
981
  className?: string;
982
982
  style?: CSSProperties;
983
983
  }
984
- declare function DataTableSelectionBar<TData extends RowData$1>(props: DataTableSelectionBarProps<TData>): import("react").JSX.Element | null;
984
+ export declare function DataTableSelectionBar<TData extends RowData$1>(props: DataTableSelectionBarProps<TData>): import("react").JSX.Element | null;
985
985
  //#endregion
986
986
  //#region src/data-table.d.ts
987
987
  type DataTableStylesNames = "root" | "main" | "header" | "scroller" | "footer" | "table" | "thead" | "tbody" | "tfoot" | "headerRow" | "headerCell" | "headerLabel" | "headerActions" | "sortIndicator" | "resizer" | "filterPopover" | "row" | "cell" | "selectionCell" | "expanderCell" | "detailPanel" | "cellEditor" | "instantCell" | "instantSpinner" | "rowDragCell" | "rowDragOverlay" | "footerRow" | "footerCell" | "empty" | "loaderRow" | "loaderRowContent" | "paginationBar";
@@ -1126,7 +1126,7 @@ type DataTableFactory = Factory<{
1126
1126
  ref: HTMLDivElement;
1127
1127
  stylesNames: DataTableStylesNames;
1128
1128
  vars: DataTableCssVariables;
1129
- signature: <TData extends RowData$1>(props: DataTableProps<TData>) => JSX.Element;
1129
+ signature: <TData extends RowData$1>(props: DataTableProps<TData>) => JSX$1.Element;
1130
1130
  staticComponents: {
1131
1131
  Search: typeof DataTableSearch;
1132
1132
  ColumnsPanel: typeof DataTableColumnsPanel;
@@ -1134,12 +1134,12 @@ type DataTableFactory = Factory<{
1134
1134
  SelectionBar: typeof DataTableSelectionBar;
1135
1135
  };
1136
1136
  }>;
1137
- declare const DataTable: (<TData extends RowData$1>(props: DataTableProps<TData>) => JSX.Element) & import("@mantine/core").ThemeExtend<{
1137
+ export declare const DataTable: (<TData extends RowData$1>(props: DataTableProps<TData>) => JSX$1.Element) & import("@mantine/core").ThemeExtend<{
1138
1138
  props: DataTableProps;
1139
1139
  ref: HTMLDivElement;
1140
1140
  stylesNames: DataTableStylesNames;
1141
1141
  vars: DataTableCssVariables;
1142
- signature: <TData extends RowData$1>(props: DataTableProps<TData>) => JSX.Element;
1142
+ signature: <TData extends RowData$1>(props: DataTableProps<TData>) => JSX$1.Element;
1143
1143
  staticComponents: {
1144
1144
  Search: typeof DataTableSearch;
1145
1145
  ColumnsPanel: typeof DataTableColumnsPanel;
@@ -1151,7 +1151,7 @@ declare const DataTable: (<TData extends RowData$1>(props: DataTableProps<TData>
1151
1151
  ref: HTMLDivElement;
1152
1152
  stylesNames: DataTableStylesNames;
1153
1153
  vars: DataTableCssVariables;
1154
- signature: <TData extends RowData$1>(props: DataTableProps<TData>) => JSX.Element;
1154
+ signature: <TData extends RowData$1>(props: DataTableProps<TData>) => JSX$1.Element;
1155
1155
  staticComponents: {
1156
1156
  Search: typeof DataTableSearch;
1157
1157
  ColumnsPanel: typeof DataTableColumnsPanel;
@@ -1169,7 +1169,7 @@ declare const DataTable: (<TData extends RowData$1>(props: DataTableProps<TData>
1169
1169
  ref: HTMLDivElement;
1170
1170
  stylesNames: DataTableStylesNames;
1171
1171
  vars: DataTableCssVariables;
1172
- signature: <TData extends RowData$1>(props: DataTableProps<TData>) => JSX.Element;
1172
+ signature: <TData extends RowData$1>(props: DataTableProps<TData>) => JSX$1.Element;
1173
1173
  staticComponents: {
1174
1174
  Search: typeof DataTableSearch;
1175
1175
  ColumnsPanel: typeof DataTableColumnsPanel;
@@ -1182,7 +1182,7 @@ declare const DataTable: (<TData extends RowData$1>(props: DataTableProps<TData>
1182
1182
  ref: HTMLDivElement;
1183
1183
  stylesNames: DataTableStylesNames;
1184
1184
  vars: DataTableCssVariables;
1185
- signature: <TData extends RowData$1>(props: DataTableProps<TData>) => JSX.Element;
1185
+ signature: <TData extends RowData$1>(props: DataTableProps<TData>) => JSX$1.Element;
1186
1186
  staticComponents: {
1187
1187
  Search: typeof DataTableSearch;
1188
1188
  ColumnsPanel: typeof DataTableColumnsPanel;
@@ -1197,25 +1197,25 @@ declare const DataTable: (<TData extends RowData$1>(props: DataTableProps<TData>
1197
1197
  /**
1198
1198
  * A plain text editor: `meta.edit: textEditor()`.
1199
1199
  */
1200
- declare function textEditor(): DataTableEditRenderer<any, any>;
1200
+ export declare function textEditor(): DataTableEditRenderer<any, any>;
1201
1201
  /**
1202
1202
  * A numeric editor; an emptied input holds `null`, never `0`.
1203
1203
  */
1204
- declare function numberEditor(): DataTableEditRenderer<any, any>;
1204
+ export declare function numberEditor(): DataTableEditRenderer<any, any>;
1205
1205
  /**
1206
1206
  * A single-pick editor over the given options. In cell mode the dropdown opens immediately and
1207
1207
  * picking an option commits at once — one cell is the whole session; in row mode it is one
1208
1208
  * draft-bound field among the row's others, and the row's own commit decides.
1209
1209
  */
1210
- declare function selectEditor(options: ComboboxData): DataTableEditRenderer<any, any>;
1210
+ export declare function selectEditor(options: ComboboxData): DataTableEditRenderer<any, any>;
1211
1211
  /**
1212
1212
  * A live checkbox for an instant column: `meta.edit: { instant: checkboxEditor() }`. Each
1213
1213
  * toggle commits the flipped value; the host disables it while its own write is out.
1214
1214
  */
1215
- declare function checkboxEditor(): DataTableInstantEditRenderer<any, any>;
1215
+ export declare function checkboxEditor(): DataTableInstantEditRenderer<any, any>;
1216
1216
  //#endregion
1217
1217
  //#region src/use-data-table.d.ts
1218
- declare function useDataTable<TData extends RowData$1>(options: UseDataTableOptions<TData>): TableInstance<TData>;
1218
+ export declare function useDataTable<TData extends RowData$1>(options: UseDataTableOptions<TData>): TableInstance<TData>;
1219
1219
  //#endregion
1220
- export { type Cell, type Column, type ColumnDef, type ColumnFiltersState, type ColumnOrderState, type ColumnPinningState, type ColumnSizingState, type ColumnVisibilityState, DataTable, type DataTableBaseProps, DataTableColumnsPanel, type DataTableColumnsPanelProps, type DataTableCssVariables, type DataTableEditCommit, type DataTableEditConfig, type DataTableEditContext, type DataTableEditMode, type DataTableEditRenderer, type DataTableEditTrigger, type DataTableEditingCell, type DataTableElementProps, type DataTableExportMeta, type DataTableFactory, type DataTableFilterConfig, type DataTableFilterVariant, type DataTableHandle, type DataTableIconComponent, type DataTableIconProps, type DataTableIcons, type DataTableInstantEditConfig, type DataTableInstantEditContext, type DataTableInstantEditRenderer, type DataTableLabels, DataTablePagination, type DataTablePaginationProps, type DataTablePersistState, type DataTablePersistableSlice, type DataTableProps, type DataTableRowEditCommit, type DataTableRowReorder, type DataTableScrollOptions, DataTableSearch, type DataTableSearchProps, DataTableSelectionBar, type DataTableSelectionBarProps, type DataTableStylesNames, type ExpandedState, type GroupingState, type Header, type HeaderGroup, type LedgerCellEditor, type LedgerEditingController, type LedgerFeatures, type LedgerInstantEditingController, type LedgerMeta, type LedgerRowEditingController, type LedgerRowEditor, type PaginationState, type Row, type RowData, type RowPinningState, type RowSelectionState, type SortingState, type TableInstance, type ToCsvOptions, type UseDataTableOptions, checkboxEditor, createColumnHelper, defaultIcons, defaultLabels, flexRender, numberEditor, selectEditor, textEditor, toCsv, useDataTable };
1220
+ export { type Cell, type Column, type ColumnDef, type ColumnFiltersState, type ColumnOrderState, type ColumnPinningState, type ColumnSizingState, type ColumnVisibilityState, type DataTableBaseProps, type DataTableColumnsPanelProps, type DataTableCssVariables, type DataTableEditCommit, type DataTableEditConfig, type DataTableEditContext, type DataTableEditMode, type DataTableEditRenderer, type DataTableEditTrigger, type DataTableEditingCell, type DataTableElementProps, type DataTableExportMeta, type DataTableFactory, type DataTableFilterConfig, type DataTableFilterVariant, type DataTableHandle, type DataTableIconComponent, type DataTableIconProps, type DataTableIcons, type DataTableInstantEditConfig, type DataTableInstantEditContext, type DataTableInstantEditRenderer, type DataTableLabels, type DataTablePaginationProps, type DataTablePersistState, type DataTablePersistableSlice, type DataTableProps, type DataTableRowEditCommit, type DataTableRowReorder, type DataTableScrollOptions, type DataTableSearchProps, type DataTableSelectionBarProps, type DataTableStylesNames, type ExpandedState, type GroupingState, type Header, type HeaderGroup, type LedgerCellEditor, type LedgerEditingController, type LedgerFeatures, type LedgerInstantEditingController, type LedgerMeta, type LedgerRowEditingController, type LedgerRowEditor, type PaginationState, type Row, type RowData, type RowPinningState, type RowSelectionState, type SortingState, type TableInstance, type ToCsvOptions, type UseDataTableOptions, defaultLabels, flexRender };
1221
1221
  //# sourceMappingURL=index.d.cts.map
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
 
2
- import { n as defaultLabels, t as DataTableLabels } from "./labels-ChBqD1II.js";
2
+ import { n as defaultLabels, t as DataTableLabels } from "./labels-D-6FCakH.js";
3
3
  import { BoxProps, ComboboxData, ElementProps, Factory, MantineBreakpoint, MantineColor, MantineRadius, MantineSize, MantineSpacing, PopoverProps, StylesApiProps, TableTdProps, TableThProps, TableTrProps, TextInputProps } from "@mantine/core";
4
- import { CSSProperties, ComponentProps, ComponentType, JSX, KeyboardEvent, MouseEvent, ReactElement, ReactNode, Ref } from "react";
5
- import { Cell as Cell$1, CellData, Column as Column$1, ColumnDef as ColumnDef$1, ColumnFiltersState, ColumnFiltersState as ColumnFiltersState$1, ColumnOrderState, ColumnOrderState as ColumnOrderState$1, ColumnPinningState, ColumnPinningState as ColumnPinningState$1, ColumnSizingState, ColumnSizingState as ColumnSizingState$1, ColumnVisibilityState, ColumnVisibilityState as ColumnVisibilityState$1, ExpandedState, ExpandedState as ExpandedState$1, FilterFn, FilterFnOption, GroupingState, GroupingState as GroupingState$1, Header as Header$1, HeaderGroup as HeaderGroup$1, PaginationState, PaginationState as PaginationState$1, ReactTable, Row as Row$1, RowData, RowData as RowData$1, RowPinningState, RowPinningState as RowPinningState$1, RowSelectionState, RowSelectionState as RowSelectionState$1, SortingState, SortingState as SortingState$1, TableFeatures, TableOptions, flexRender } from "@tanstack/react-table";
4
+ import { CSSProperties, ComponentProps, ComponentType, JSX as JSX$1, KeyboardEvent, MouseEvent, ReactElement, ReactNode, Ref } from "react";
5
+ import { Cell as Cell$1, CellData, Column as Column$1, ColumnDef as ColumnDef$1, ColumnFiltersState, ColumnFiltersState as ColumnFiltersState$1, ColumnOrderState, ColumnOrderState as ColumnOrderState$1, ColumnPinningState, ColumnPinningState as ColumnPinningState$1, ColumnSizingState, ColumnSizingState as ColumnSizingState$1, ColumnVisibilityState, ColumnVisibilityState as ColumnVisibilityState$1, ExpandedState, ExpandedState as ExpandedState$1, FilterFn, FilterFnOption, GroupingState, GroupingState as GroupingState$1, Header as Header$1, HeaderGroup as HeaderGroup$1, PaginationState, PaginationState as PaginationState$1, ReactTable, Row as Row$1, RowData, RowData as RowData$1, RowPinningState, RowPinningState as RowPinningState$1, RowSelectionState, RowSelectionState as RowSelectionState$1, SortingState, SortingState as SortingState$1, TableFeatures, TableOptions, aggregationFn_count, aggregationFn_extent, aggregationFn_first, aggregationFn_last, aggregationFn_max, aggregationFn_mean, aggregationFn_median, aggregationFn_min, aggregationFn_sum, aggregationFn_unique, aggregationFn_uniqueCount, flexRender } from "@tanstack/react-table";
6
6
  //#region src/icons.d.ts
7
7
  /**
8
8
  * What a replacement icon receives — the two knobs the chrome actually turns. Lucide icons are
@@ -51,7 +51,7 @@ interface DataTableIcons {
51
51
  unpin: DataTableIconComponent;
52
52
  pinEnd: DataTableIconComponent;
53
53
  }
54
- declare const defaultIcons: DataTableIcons;
54
+ export declare const defaultIcons: DataTableIcons;
55
55
  //#endregion
56
56
  //#region src/element-props.d.ts
57
57
  /**
@@ -97,17 +97,17 @@ declare const ledgerFeatures: {
97
97
  paginatedRowModel: (table: import("@tanstack/react-table").Table<any, any>) => () => import("@tanstack/react-table").RowModel<any, any>;
98
98
  sortedRowModel: (table: import("@tanstack/react-table").Table<any, any>) => () => import("@tanstack/react-table").RowModel<any, any>;
99
99
  aggregationFns: {
100
- count: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, number>;
101
- extent: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, [(number | Date) | undefined, (number | Date) | undefined]>;
102
- first: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, unknown>;
103
- last: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, unknown>;
104
- max: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, (number | Date) | undefined>;
105
- mean: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, number | undefined>;
106
- median: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, number | undefined>;
107
- min: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, (number | Date) | undefined>;
108
- sum: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, number>;
109
- unique: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, unknown[]>;
110
- uniqueCount: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, number>;
100
+ count: typeof aggregationFn_count;
101
+ extent: typeof aggregationFn_extent;
102
+ first: typeof aggregationFn_first;
103
+ last: typeof aggregationFn_last;
104
+ max: typeof aggregationFn_max;
105
+ mean: typeof aggregationFn_mean;
106
+ median: typeof aggregationFn_median;
107
+ min: typeof aggregationFn_min;
108
+ sum: typeof aggregationFn_sum;
109
+ unique: typeof aggregationFn_unique;
110
+ uniqueCount: typeof aggregationFn_uniqueCount;
111
111
  };
112
112
  filterFns: {
113
113
  "ledger-date-range": FilterFn<any, any>;
@@ -149,7 +149,7 @@ type LedgerFeatures = typeof ledgerFeatures;
149
149
  * TanStack's column helper, pre-bound to the canonical feature set — consumers keep the v8
150
150
  * calling shape (`createColumnHelper<Person>()`), never managing `TFeatures` themselves.
151
151
  */
152
- declare function createColumnHelper<TData extends RowData$1>(): import("@tanstack/react-table").ColumnHelper<{
152
+ export declare function createColumnHelper<TData extends RowData$1>(): import("@tanstack/react-table").ColumnHelper<{
153
153
  cellSpanningFeature: import("@tanstack/react-table").TableFeature;
154
154
  columnFacetingFeature: import("@tanstack/react-table").TableFeature;
155
155
  columnFilteringFeature: import("@tanstack/react-table").TableFeature;
@@ -174,17 +174,17 @@ declare function createColumnHelper<TData extends RowData$1>(): import("@tanstac
174
174
  paginatedRowModel: (table: import("@tanstack/react-table").Table<any, any>) => () => import("@tanstack/react-table").RowModel<any, any>;
175
175
  sortedRowModel: (table: import("@tanstack/react-table").Table<any, any>) => () => import("@tanstack/react-table").RowModel<any, any>;
176
176
  aggregationFns: {
177
- count: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, number>;
178
- extent: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, [(number | Date) | undefined, (number | Date) | undefined]>;
179
- first: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, unknown>;
180
- last: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, unknown>;
181
- max: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, (number | Date) | undefined>;
182
- mean: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, number | undefined>;
183
- median: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, number | undefined>;
184
- min: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, (number | Date) | undefined>;
185
- sum: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, number>;
186
- unique: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, unknown[]>;
187
- uniqueCount: import("@tanstack/react-table").AggregationFnDef<any, any, unknown, number>;
177
+ count: typeof aggregationFn_count;
178
+ extent: typeof aggregationFn_extent;
179
+ first: typeof aggregationFn_first;
180
+ last: typeof aggregationFn_last;
181
+ max: typeof aggregationFn_max;
182
+ mean: typeof aggregationFn_mean;
183
+ median: typeof aggregationFn_median;
184
+ min: typeof aggregationFn_min;
185
+ sum: typeof aggregationFn_sum;
186
+ unique: typeof aggregationFn_unique;
187
+ uniqueCount: typeof aggregationFn_uniqueCount;
188
188
  };
189
189
  filterFns: {
190
190
  "ledger-date-range": FilterFn<any, any>;
@@ -912,7 +912,7 @@ interface DataTableColumnsPanelProps<TData extends RowData$1> {
912
912
  className?: string;
913
913
  style?: CSSProperties;
914
914
  }
915
- declare function DataTableColumnsPanel<TData extends RowData$1>(props: DataTableColumnsPanelProps<TData>): import("react").JSX.Element;
915
+ export declare function DataTableColumnsPanel<TData extends RowData$1>(props: DataTableColumnsPanelProps<TData>): import("react").JSX.Element;
916
916
  //#endregion
917
917
  //#region src/csv.d.ts
918
918
  interface ToCsvOptions {
@@ -937,7 +937,7 @@ interface ToCsvOptions {
937
937
  */
938
938
  escapeFormulas?: boolean;
939
939
  }
940
- declare function toCsv<TData extends RowData$1>(table: TableInstance<TData>, options?: ToCsvOptions): string;
940
+ export declare function toCsv<TData extends RowData$1>(table: TableInstance<TData>, options?: ToCsvOptions): string;
941
941
  //#endregion
942
942
  //#region src/pagination-bar.d.ts
943
943
  interface DataTablePaginationProps<TData extends RowData$1> {
@@ -955,7 +955,7 @@ interface DataTablePaginationProps<TData extends RowData$1> {
955
955
  /**
956
956
  * Standalone compound (`DataTable.Pagination`) — place it anywhere, theme it via defaultProps.
957
957
  */
958
- declare function DataTablePagination<TData extends RowData$1>(props: DataTablePaginationProps<TData>): import("react").JSX.Element;
958
+ export declare function DataTablePagination<TData extends RowData$1>(props: DataTablePaginationProps<TData>): import("react").JSX.Element;
959
959
  //#endregion
960
960
  //#region src/search.d.ts
961
961
  interface DataTableSearchProps<TData extends RowData$1> extends Omit<TextInputProps, "value" | "defaultValue" | "onChange"> {
@@ -967,7 +967,7 @@ interface DataTableSearchProps<TData extends RowData$1> extends Omit<TextInputPr
967
967
  labels?: Partial<DataTableLabels>;
968
968
  icons?: Partial<DataTableIcons>;
969
969
  }
970
- declare function DataTableSearch<TData extends RowData$1>(props: DataTableSearchProps<TData>): import("react").JSX.Element;
970
+ export declare function DataTableSearch<TData extends RowData$1>(props: DataTableSearchProps<TData>): import("react").JSX.Element;
971
971
  //#endregion
972
972
  //#region src/selection-bar.d.ts
973
973
  interface DataTableSelectionBarProps<TData extends RowData$1> {
@@ -981,7 +981,7 @@ interface DataTableSelectionBarProps<TData extends RowData$1> {
981
981
  className?: string;
982
982
  style?: CSSProperties;
983
983
  }
984
- declare function DataTableSelectionBar<TData extends RowData$1>(props: DataTableSelectionBarProps<TData>): import("react").JSX.Element | null;
984
+ export declare function DataTableSelectionBar<TData extends RowData$1>(props: DataTableSelectionBarProps<TData>): import("react").JSX.Element | null;
985
985
  //#endregion
986
986
  //#region src/data-table.d.ts
987
987
  type DataTableStylesNames = "root" | "main" | "header" | "scroller" | "footer" | "table" | "thead" | "tbody" | "tfoot" | "headerRow" | "headerCell" | "headerLabel" | "headerActions" | "sortIndicator" | "resizer" | "filterPopover" | "row" | "cell" | "selectionCell" | "expanderCell" | "detailPanel" | "cellEditor" | "instantCell" | "instantSpinner" | "rowDragCell" | "rowDragOverlay" | "footerRow" | "footerCell" | "empty" | "loaderRow" | "loaderRowContent" | "paginationBar";
@@ -1126,7 +1126,7 @@ type DataTableFactory = Factory<{
1126
1126
  ref: HTMLDivElement;
1127
1127
  stylesNames: DataTableStylesNames;
1128
1128
  vars: DataTableCssVariables;
1129
- signature: <TData extends RowData$1>(props: DataTableProps<TData>) => JSX.Element;
1129
+ signature: <TData extends RowData$1>(props: DataTableProps<TData>) => JSX$1.Element;
1130
1130
  staticComponents: {
1131
1131
  Search: typeof DataTableSearch;
1132
1132
  ColumnsPanel: typeof DataTableColumnsPanel;
@@ -1134,12 +1134,12 @@ type DataTableFactory = Factory<{
1134
1134
  SelectionBar: typeof DataTableSelectionBar;
1135
1135
  };
1136
1136
  }>;
1137
- declare const DataTable: (<TData extends RowData$1>(props: DataTableProps<TData>) => JSX.Element) & import("@mantine/core").ThemeExtend<{
1137
+ export declare const DataTable: (<TData extends RowData$1>(props: DataTableProps<TData>) => JSX$1.Element) & import("@mantine/core").ThemeExtend<{
1138
1138
  props: DataTableProps;
1139
1139
  ref: HTMLDivElement;
1140
1140
  stylesNames: DataTableStylesNames;
1141
1141
  vars: DataTableCssVariables;
1142
- signature: <TData extends RowData$1>(props: DataTableProps<TData>) => JSX.Element;
1142
+ signature: <TData extends RowData$1>(props: DataTableProps<TData>) => JSX$1.Element;
1143
1143
  staticComponents: {
1144
1144
  Search: typeof DataTableSearch;
1145
1145
  ColumnsPanel: typeof DataTableColumnsPanel;
@@ -1151,7 +1151,7 @@ declare const DataTable: (<TData extends RowData$1>(props: DataTableProps<TData>
1151
1151
  ref: HTMLDivElement;
1152
1152
  stylesNames: DataTableStylesNames;
1153
1153
  vars: DataTableCssVariables;
1154
- signature: <TData extends RowData$1>(props: DataTableProps<TData>) => JSX.Element;
1154
+ signature: <TData extends RowData$1>(props: DataTableProps<TData>) => JSX$1.Element;
1155
1155
  staticComponents: {
1156
1156
  Search: typeof DataTableSearch;
1157
1157
  ColumnsPanel: typeof DataTableColumnsPanel;
@@ -1169,7 +1169,7 @@ declare const DataTable: (<TData extends RowData$1>(props: DataTableProps<TData>
1169
1169
  ref: HTMLDivElement;
1170
1170
  stylesNames: DataTableStylesNames;
1171
1171
  vars: DataTableCssVariables;
1172
- signature: <TData extends RowData$1>(props: DataTableProps<TData>) => JSX.Element;
1172
+ signature: <TData extends RowData$1>(props: DataTableProps<TData>) => JSX$1.Element;
1173
1173
  staticComponents: {
1174
1174
  Search: typeof DataTableSearch;
1175
1175
  ColumnsPanel: typeof DataTableColumnsPanel;
@@ -1182,7 +1182,7 @@ declare const DataTable: (<TData extends RowData$1>(props: DataTableProps<TData>
1182
1182
  ref: HTMLDivElement;
1183
1183
  stylesNames: DataTableStylesNames;
1184
1184
  vars: DataTableCssVariables;
1185
- signature: <TData extends RowData$1>(props: DataTableProps<TData>) => JSX.Element;
1185
+ signature: <TData extends RowData$1>(props: DataTableProps<TData>) => JSX$1.Element;
1186
1186
  staticComponents: {
1187
1187
  Search: typeof DataTableSearch;
1188
1188
  ColumnsPanel: typeof DataTableColumnsPanel;
@@ -1197,25 +1197,25 @@ declare const DataTable: (<TData extends RowData$1>(props: DataTableProps<TData>
1197
1197
  /**
1198
1198
  * A plain text editor: `meta.edit: textEditor()`.
1199
1199
  */
1200
- declare function textEditor(): DataTableEditRenderer<any, any>;
1200
+ export declare function textEditor(): DataTableEditRenderer<any, any>;
1201
1201
  /**
1202
1202
  * A numeric editor; an emptied input holds `null`, never `0`.
1203
1203
  */
1204
- declare function numberEditor(): DataTableEditRenderer<any, any>;
1204
+ export declare function numberEditor(): DataTableEditRenderer<any, any>;
1205
1205
  /**
1206
1206
  * A single-pick editor over the given options. In cell mode the dropdown opens immediately and
1207
1207
  * picking an option commits at once — one cell is the whole session; in row mode it is one
1208
1208
  * draft-bound field among the row's others, and the row's own commit decides.
1209
1209
  */
1210
- declare function selectEditor(options: ComboboxData): DataTableEditRenderer<any, any>;
1210
+ export declare function selectEditor(options: ComboboxData): DataTableEditRenderer<any, any>;
1211
1211
  /**
1212
1212
  * A live checkbox for an instant column: `meta.edit: { instant: checkboxEditor() }`. Each
1213
1213
  * toggle commits the flipped value; the host disables it while its own write is out.
1214
1214
  */
1215
- declare function checkboxEditor(): DataTableInstantEditRenderer<any, any>;
1215
+ export declare function checkboxEditor(): DataTableInstantEditRenderer<any, any>;
1216
1216
  //#endregion
1217
1217
  //#region src/use-data-table.d.ts
1218
- declare function useDataTable<TData extends RowData$1>(options: UseDataTableOptions<TData>): TableInstance<TData>;
1218
+ export declare function useDataTable<TData extends RowData$1>(options: UseDataTableOptions<TData>): TableInstance<TData>;
1219
1219
  //#endregion
1220
- export { type Cell, type Column, type ColumnDef, type ColumnFiltersState, type ColumnOrderState, type ColumnPinningState, type ColumnSizingState, type ColumnVisibilityState, DataTable, type DataTableBaseProps, DataTableColumnsPanel, type DataTableColumnsPanelProps, type DataTableCssVariables, type DataTableEditCommit, type DataTableEditConfig, type DataTableEditContext, type DataTableEditMode, type DataTableEditRenderer, type DataTableEditTrigger, type DataTableEditingCell, type DataTableElementProps, type DataTableExportMeta, type DataTableFactory, type DataTableFilterConfig, type DataTableFilterVariant, type DataTableHandle, type DataTableIconComponent, type DataTableIconProps, type DataTableIcons, type DataTableInstantEditConfig, type DataTableInstantEditContext, type DataTableInstantEditRenderer, type DataTableLabels, DataTablePagination, type DataTablePaginationProps, type DataTablePersistState, type DataTablePersistableSlice, type DataTableProps, type DataTableRowEditCommit, type DataTableRowReorder, type DataTableScrollOptions, DataTableSearch, type DataTableSearchProps, DataTableSelectionBar, type DataTableSelectionBarProps, type DataTableStylesNames, type ExpandedState, type GroupingState, type Header, type HeaderGroup, type LedgerCellEditor, type LedgerEditingController, type LedgerFeatures, type LedgerInstantEditingController, type LedgerMeta, type LedgerRowEditingController, type LedgerRowEditor, type PaginationState, type Row, type RowData, type RowPinningState, type RowSelectionState, type SortingState, type TableInstance, type ToCsvOptions, type UseDataTableOptions, checkboxEditor, createColumnHelper, defaultIcons, defaultLabels, flexRender, numberEditor, selectEditor, textEditor, toCsv, useDataTable };
1220
+ export { type Cell, type Column, type ColumnDef, type ColumnFiltersState, type ColumnOrderState, type ColumnPinningState, type ColumnSizingState, type ColumnVisibilityState, type DataTableBaseProps, type DataTableColumnsPanelProps, type DataTableCssVariables, type DataTableEditCommit, type DataTableEditConfig, type DataTableEditContext, type DataTableEditMode, type DataTableEditRenderer, type DataTableEditTrigger, type DataTableEditingCell, type DataTableElementProps, type DataTableExportMeta, type DataTableFactory, type DataTableFilterConfig, type DataTableFilterVariant, type DataTableHandle, type DataTableIconComponent, type DataTableIconProps, type DataTableIcons, type DataTableInstantEditConfig, type DataTableInstantEditContext, type DataTableInstantEditRenderer, type DataTableLabels, type DataTablePaginationProps, type DataTablePersistState, type DataTablePersistableSlice, type DataTableProps, type DataTableRowEditCommit, type DataTableRowReorder, type DataTableScrollOptions, type DataTableSearchProps, type DataTableSelectionBarProps, type DataTableStylesNames, type ExpandedState, type GroupingState, type Header, type HeaderGroup, type LedgerCellEditor, type LedgerEditingController, type LedgerFeatures, type LedgerInstantEditingController, type LedgerMeta, type LedgerRowEditingController, type LedgerRowEditor, type PaginationState, type Row, type RowData, type RowPinningState, type RowSelectionState, type SortingState, type TableInstance, type ToCsvOptions, type UseDataTableOptions, defaultLabels, flexRender };
1221
1221
  //# sourceMappingURL=index.d.ts.map