@acuteinfo/common-base 1.0.37 → 1.0.39
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/custom/popupContext.d.ts +1 -1
- package/dist/components/dataTableStatic/components/useCheckbox.d.ts +1 -1
- package/dist/components/utils/reportExport/exportFunctions/excelexport.d.ts +2 -1
- package/dist/components/utils/reportExport/exportFunctions/htmlexport.d.ts +2 -1
- package/dist/components/utils/reportExport/exportFunctions/pdfexport.d.ts +2 -1
- package/dist/components/utils/utilFunctions/function.d.ts +6 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
type TIcon = "INFO" | "ERROR" | "WARNING" | "SUCCESS";
|
|
3
|
-
type TButtonName = "Ok" | "Cancel" | "Yes" | "No" | "Close" | "Accept" | "Decline";
|
|
3
|
+
type TButtonName = "Ok" | "Cancel" | "Yes" | "No" | "Close" | "Accept" | "Decline" | (string & Record<never, never>);
|
|
4
4
|
type TMessageBoxParams = {
|
|
5
5
|
messageTitle: string;
|
|
6
6
|
message: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useCheckboxColumn: (allowRowSelection: any) => (hooks: any) => void;
|
|
1
|
+
export declare const useCheckboxColumn: (allowRowSelection: any, setContextMenuSelectedRowId: any) => (hooks: any) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const exportToExcel: ({ title, columns, rows, columnsSelected, data, auth, retrievalParams, filters, globalFilter, columnLabel, pageNumber, totalPageCount, }: {
|
|
1
|
+
export declare const exportToExcel: ({ title, columns, rows, columnsSelected, data, auth, retrievalParams, filters, globalFilter, columnLabel, pageNumber, totalPageCount, primaryTheme, }: {
|
|
2
2
|
title: any;
|
|
3
3
|
columns: any;
|
|
4
4
|
rows: any;
|
|
@@ -11,4 +11,5 @@ export declare const exportToExcel: ({ title, columns, rows, columnsSelected, da
|
|
|
11
11
|
columnLabel: any;
|
|
12
12
|
pageNumber: any;
|
|
13
13
|
totalPageCount: any;
|
|
14
|
+
primaryTheme: any;
|
|
14
15
|
}) => any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const exportToHtml: ({ title, columns, rows, columnsSelected, data, auth, retrievalParams, filters, globalFilter, columnLabel, }: {
|
|
1
|
+
export declare const exportToHtml: ({ title, columns, rows, columnsSelected, data, auth, retrievalParams, filters, globalFilter, columnLabel, primaryTheme, }: {
|
|
2
2
|
title: any;
|
|
3
3
|
columns: any;
|
|
4
4
|
rows: any;
|
|
@@ -9,6 +9,7 @@ export declare const exportToHtml: ({ title, columns, rows, columnsSelected, dat
|
|
|
9
9
|
filters: any;
|
|
10
10
|
globalFilter: any;
|
|
11
11
|
columnLabel: any;
|
|
12
|
+
primaryTheme: any;
|
|
12
13
|
}) => {
|
|
13
14
|
downloadTitle: string;
|
|
14
15
|
blob: Blob;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const exportToPdf: ({ title, columns, rows, columnsSelected, data, auth, retrievalParams, filters, globalFilter, columnLabel, banklogo, pageNumber, totalPageCount, }: {
|
|
1
|
+
export declare const exportToPdf: ({ title, columns, rows, columnsSelected, data, auth, retrievalParams, filters, globalFilter, columnLabel, banklogo, pageNumber, totalPageCount, primaryTheme, }: {
|
|
2
2
|
title: any;
|
|
3
3
|
columns: any;
|
|
4
4
|
rows: any;
|
|
@@ -12,6 +12,7 @@ export declare const exportToPdf: ({ title, columns, rows, columnsSelected, data
|
|
|
12
12
|
banklogo: any;
|
|
13
13
|
pageNumber: any;
|
|
14
14
|
totalPageCount: any;
|
|
15
|
+
primaryTheme: any;
|
|
15
16
|
}) => {
|
|
16
17
|
downloadTitle: string;
|
|
17
18
|
blob: any;
|
|
@@ -40,3 +40,9 @@ export declare const getDependetFieldDataArrayField: (inputData: any) => {};
|
|
|
40
40
|
* @returns label as string
|
|
41
41
|
*/
|
|
42
42
|
export declare const getDynamicLabel: (path: string, data: any, setScreenCode?: boolean) => string;
|
|
43
|
+
/**
|
|
44
|
+
* Function to get the css variables value
|
|
45
|
+
* @param variableName css variable *e.g. "--theme-color1"*
|
|
46
|
+
* @returns css variable value in string
|
|
47
|
+
*/
|
|
48
|
+
export declare const getCssVariable: (variableName: string) => string;
|