@acuteinfo/common-base 1.2.73 → 1.2.75

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.
@@ -5,6 +5,11 @@ interface HeaderCellProps {
5
5
  rows?: any[];
6
6
  loading?: boolean;
7
7
  children?: React.ReactNode | any;
8
+ pinnedOffsets?: {
9
+ leftMap: Record<string, number>;
10
+ rightMap: Record<string, number>;
11
+ };
12
+ visibleColumns?: any[];
8
13
  }
9
14
  export declare const HeaderCellWrapper: React.FC<HeaderCellProps>;
10
15
  export {};
@@ -170,6 +170,7 @@ export interface GridColumnType {
170
170
  * prevent input characters in editableTextfield
171
171
  */
172
172
  preventSpecialChars?: string | Function | null;
173
+ pinColumn?: "left" | "right";
173
174
  }
174
175
  export interface GridConfigType {
175
176
  dense?: boolean;
@@ -87,4 +87,5 @@ export declare const attachcombinedValidationFns: (columns: GridColumnType[], au
87
87
  } | undefined;
88
88
  disableSortBy?: boolean | undefined;
89
89
  preventSpecialChars?: string | Function | null | undefined;
90
+ pinColumn?: "left" | "right" | undefined;
90
91
  }[];
@@ -87,4 +87,5 @@ export declare const attachYupSchemaValidator: (columns: GridColumnType[]) => {
87
87
  } | undefined;
88
88
  disableSortBy?: boolean | undefined;
89
89
  preventSpecialChars?: string | Function | null | undefined;
90
+ pinColumn?: "left" | "right" | undefined;
90
91
  }[];
@@ -1 +1 @@
1
- export declare const DateCell: (props: any) => string | import("react/jsx-runtime").JSX.Element;
1
+ export declare const DateCell: (props: any) => string | import("react/jsx-runtime").JSX.Element | null;
@@ -1,4 +1,5 @@
1
- export declare const FooterCell: ({ rows, column: { id: columnName, isTotalWithoutCurrency, isTotalWithCurrency, currencyRefColumn, isCurrencyCode, currencySymbolPosition, }, loading, }: {
1
+ export declare const FooterCell: ({ rows, column: { id: columnName, isTotalWithoutCurrency, isTotalWithCurrency, currencyRefColumn, isCurrencyCode, currencySymbolPosition, }, loading, data, ...others }: {
2
+ [x: string]: any;
2
3
  rows: any;
3
4
  column: {
4
5
  id: any;
@@ -9,6 +10,7 @@ export declare const FooterCell: ({ rows, column: { id: columnName, isTotalWitho
9
10
  currencySymbolPosition?: string | undefined;
10
11
  };
11
12
  loading: any;
13
+ data: any;
12
14
  }) => string;
13
15
  export declare const FooterCell1: ({ rows, column: { id: columnName, isDisplayValueTotal, currencyRefColumn, isCurrencyCode, DisplayValueLabel, }, }: {
14
16
  rows: any;
@@ -58,6 +58,7 @@ interface GridTableType {
58
58
  disableFilters?: boolean;
59
59
  headerToolbarStyle?: SxProps;
60
60
  enableEnterToFocus?: boolean;
61
+ expandAllGroupedRows?: boolean;
61
62
  }
62
63
  export declare const GridTable: FC<GridTableType>;
63
64
  export {};
@@ -101,6 +101,9 @@ export interface ReportColumnsType {
101
101
  * @default false
102
102
  */
103
103
  disableFilters?: boolean;
104
+ canUngroup?: boolean;
105
+ isGroupSum?: boolean;
106
+ customAggregation?: (rows: any, config: any) => string;
104
107
  }
105
108
  export interface ReportFilterProps {
106
109
  accessor: string;
@@ -149,6 +152,7 @@ export interface ReportMetaDataType {
149
152
  * @default false
150
153
  */
151
154
  disableFilters?: boolean;
155
+ expandAllGroupedRows?: boolean;
152
156
  }
153
157
  export interface ReportGridProps {
154
158
  metaData: any;
@@ -211,4 +215,5 @@ export interface ReportGridProps {
211
215
  headerToolbarStyle?: SxProps;
212
216
  enableEnterToFocus?: boolean;
213
217
  focusScopeId?: string;
218
+ expandAllGroupedRows?: boolean;
214
219
  }