@vuu-ui/vuu-utils 0.6.14 → 0.6.15
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/cjs/index.js +2 -2
- package/cjs/index.js.map +3 -3
- package/esm/index.js +2 -2
- package/esm/index.js.map +3 -3
- package/package.json +5 -5
- package/types/column-utils.d.ts +33 -0
package/types/column-utils.d.ts
CHANGED
|
@@ -53,6 +53,39 @@ export declare const extractFilterForColumn: (filter: Filter | undefined, column
|
|
|
53
53
|
export declare const applyGroupByToColumns: (columns: KeyedColumnDescriptor[], groupBy: VuuGroupBy, confirmed?: boolean) => KeyedColumnDescriptor[];
|
|
54
54
|
export declare const applySortToColumns: (colunms: KeyedColumnDescriptor[], sort: VuuSort) => KeyedColumnDescriptor[];
|
|
55
55
|
export declare const applyFilterToColumns: (columns: KeyedColumnDescriptor[], { filterStruct }: DataSourceFilter) => KeyedColumnDescriptor[];
|
|
56
|
+
export declare const isFilteredColumn: (column: KeyedColumnDescriptor) => boolean;
|
|
57
|
+
export declare const stripFilterFromColumns: (columns: KeyedColumnDescriptor[]) => {
|
|
58
|
+
align?: "right" | "left" | undefined;
|
|
59
|
+
CellRenderer?: import("react").FunctionComponent<import("@vuu-ui/vuu-datagrid-types").TableCellProps> | undefined;
|
|
60
|
+
className?: string | undefined;
|
|
61
|
+
endPin?: true | undefined;
|
|
62
|
+
flex?: number | undefined;
|
|
63
|
+
heading?: string[] | undefined;
|
|
64
|
+
isGroup?: boolean | undefined;
|
|
65
|
+
isSystemColumn?: boolean | undefined;
|
|
66
|
+
key: number;
|
|
67
|
+
label: string;
|
|
68
|
+
locked?: boolean | undefined;
|
|
69
|
+
marginLeft?: number | undefined;
|
|
70
|
+
moving?: boolean | undefined;
|
|
71
|
+
originalIdx?: number | undefined;
|
|
72
|
+
pinnedOffset?: number | undefined;
|
|
73
|
+
resizeable?: boolean | undefined;
|
|
74
|
+
resizing?: boolean | undefined;
|
|
75
|
+
sortable?: boolean | undefined;
|
|
76
|
+
sorted?: import("@vuu-ui/vuu-datagrid-types").ColumnSort | undefined;
|
|
77
|
+
type?: ColumnType | undefined;
|
|
78
|
+
valueFormatter: ValueFormatter;
|
|
79
|
+
width: number;
|
|
80
|
+
aggregate?: VuuAggType | undefined;
|
|
81
|
+
editable?: boolean | undefined;
|
|
82
|
+
expression?: string | undefined;
|
|
83
|
+
hidden?: boolean | undefined;
|
|
84
|
+
minWidth?: number | undefined;
|
|
85
|
+
name: string;
|
|
86
|
+
pin?: import("@vuu-ui/vuu-datagrid-types").PinLocation | undefined;
|
|
87
|
+
serverDataType?: VuuColumnDataType | undefined;
|
|
88
|
+
}[];
|
|
56
89
|
export declare const getColumnName: (name: string) => string;
|
|
57
90
|
export declare const findColumn: (columns: KeyedColumnDescriptor[], columnName: string) => KeyedColumnDescriptor | undefined;
|
|
58
91
|
export declare const toDataSourceColumns: (column: ColumnDescriptor) => string;
|