@acuteinfo/common-base 1.0.68 → 1.0.70
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/components/dataTableStatic/types.d.ts +2 -1
- package/dist/components/dataTableStatic/utils/attachCombineValidationFns.d.ts +1 -1
- package/dist/components/dataTableStatic/utils/attachYupSchema.d.ts +1 -1
- package/dist/components/tableCellComponents/footerCell.d.ts +2 -15
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SxProps } from "@mui/material";
|
|
2
|
+
import { CustomProperties } from "components/context/propertiesConfig/customProperties";
|
|
2
3
|
import { ActionTypes } from "components/dataTable/types";
|
|
3
4
|
import { CellComponentType } from "components/tableCellComponents";
|
|
4
5
|
import { ReactNode } from "react";
|
|
@@ -112,7 +113,7 @@ export interface GridColumnType {
|
|
|
112
113
|
* @param rows grid data
|
|
113
114
|
* @returns number[] | string[] | string | number
|
|
114
115
|
*/
|
|
115
|
-
setFooterValue?: (total: number, rows: any) => number[] | string[] | string | number;
|
|
116
|
+
setFooterValue?: (total: number, rows: any, customProperties: CustomProperties) => number[] | string[] | string | number;
|
|
116
117
|
/**
|
|
117
118
|
* Set label of footer label for displaying total
|
|
118
119
|
* @default "Total"
|
|
@@ -70,7 +70,7 @@ export declare const attachcombinedValidationFns: (columns: GridColumnType[], au
|
|
|
70
70
|
currencySymbolPosition?: "end" | "start" | undefined;
|
|
71
71
|
showDeleteIconOnly?: boolean | undefined;
|
|
72
72
|
enableColumnSelection?: boolean | undefined;
|
|
73
|
-
setFooterValue?: ((total: number, rows: any) => string | number | string[] | number[]) | undefined;
|
|
73
|
+
setFooterValue?: ((total: number, rows: any, customProperties: import("../../..").CustomProperties) => string | number | string[] | number[]) | undefined;
|
|
74
74
|
footerLabel?: string | undefined;
|
|
75
75
|
footerIsMultivalue?: boolean | undefined;
|
|
76
76
|
activeIcon?: {
|
|
@@ -70,7 +70,7 @@ export declare const attachYupSchemaValidator: (columns: GridColumnType[]) => {
|
|
|
70
70
|
currencySymbolPosition?: "end" | "start" | undefined;
|
|
71
71
|
showDeleteIconOnly?: boolean | undefined;
|
|
72
72
|
enableColumnSelection?: boolean | undefined;
|
|
73
|
-
setFooterValue?: ((total: number, rows: any) => string | number | string[] | number[]) | undefined;
|
|
73
|
+
setFooterValue?: ((total: number, rows: any, customProperties: import("../../..").CustomProperties) => string | number | string[] | number[]) | undefined;
|
|
74
74
|
footerLabel?: string | undefined;
|
|
75
75
|
footerIsMultivalue?: boolean | undefined;
|
|
76
76
|
activeIcon?: {
|
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
column: {
|
|
4
|
-
id: any;
|
|
5
|
-
isDisplayTotal?: boolean | undefined;
|
|
6
|
-
totalDecimalCount: any;
|
|
7
|
-
isSelectedTotal?: boolean | undefined;
|
|
8
|
-
setFooterValue: any;
|
|
9
|
-
footerLabel?: string | undefined;
|
|
10
|
-
footerIsMultivalue?: boolean | undefined;
|
|
11
|
-
currencyRefColumn: any;
|
|
12
|
-
isCurrencyCode: any;
|
|
13
|
-
Cell: any;
|
|
14
|
-
};
|
|
15
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const FooterCell: import("react").MemoExoticComponent<any>;
|