@acuteinfo/common-base 1.0.24 → 1.0.26
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/grid.d.ts +2 -1
- package/dist/components/dataTableStatic/types.d.ts +7 -1
- package/dist/components/dataTableStatic/utils/attachCombineValidationFns.d.ts +5 -0
- package/dist/components/dataTableStatic/utils/attachYupSchema.d.ts +5 -0
- package/dist/components/utils/utilFunctions/function.d.ts +8 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const DataGrid: ({ label, dense, columns, data, loading, getRowId, defaultColumn, allowColumnReordering, disableSorting, defaultHiddenColumns, defaultSortOrder, defaultGroupBy, multipleActions, singleActions, doubleClickAction, alwaysAvailableAction, setGridAction, updateGridData, hideFooter, hideHeader, disableGlobalFilter, disableGroupBy, disableLoader, containerHeight, gridProps, pageSizes, defaultPageSize, enablePagination, allowRowSelection, hideNoDataFound, refetchData, hiddenFlag, autoRefreshInterval, allowFilter, filterMeta, allowColumnHiding, defaultFilter, isCusrsorFocused, onButtonActionHandel, controlsAtBottom, actionContextAtBottom, headerToolbarStyle, disableMultipleRowSelect, columnHeaderStyle, variant, defaultSelectedRowId, footerNote, paginationText, searchPlaceholder, enableExport, }: {
|
|
1
|
+
export declare const DataGrid: ({ label, dense, columns, data, loading, getRowId, defaultColumn, allowColumnReordering, disableSorting, defaultHiddenColumns, defaultSortOrder, defaultGroupBy, multipleActions, singleActions, doubleClickAction, alwaysAvailableAction, setGridAction, updateGridData, hideFooter, hideHeader, disableGlobalFilter, disableGroupBy, disableLoader, containerHeight, gridProps, pageSizes, defaultPageSize, enablePagination, allowRowSelection, hideNoDataFound, refetchData, hiddenFlag, autoRefreshInterval, allowFilter, filterMeta, allowColumnHiding, defaultFilter, isCusrsorFocused, onButtonActionHandel, controlsAtBottom, actionContextAtBottom, headerToolbarStyle, disableMultipleRowSelect, columnHeaderStyle, variant, defaultSelectedRowId, footerNote, paginationText, searchPlaceholder, enableExport, subGridLabel, }: {
|
|
2
2
|
label: any;
|
|
3
3
|
dense: any;
|
|
4
4
|
columns: any;
|
|
@@ -49,4 +49,5 @@ export declare const DataGrid: ({ label, dense, columns, data, loading, getRowId
|
|
|
49
49
|
paginationText: any;
|
|
50
50
|
searchPlaceholder: any;
|
|
51
51
|
enableExport: any;
|
|
52
|
+
subGridLabel: any;
|
|
52
53
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -48,6 +48,11 @@ export interface GridColumnType {
|
|
|
48
48
|
isDisabledOnBlurEvent?: boolean;
|
|
49
49
|
isReadOnly?: boolean;
|
|
50
50
|
__EDIT__?: any;
|
|
51
|
+
__NEW__?: any;
|
|
52
|
+
__VIEW__?: any;
|
|
53
|
+
multiline?: boolean;
|
|
54
|
+
minRows?: number;
|
|
55
|
+
maxRows?: number;
|
|
51
56
|
buttonLabel?: string;
|
|
52
57
|
dependentOptionField?: string;
|
|
53
58
|
isVisibleField?: any;
|
|
@@ -123,7 +128,8 @@ export interface GridConfigType {
|
|
|
123
128
|
hiddenFlag?: string;
|
|
124
129
|
searchPlaceholder?: string;
|
|
125
130
|
paginationText?: any;
|
|
126
|
-
footerNote?:
|
|
131
|
+
footerNote?: string;
|
|
132
|
+
subGridLabel?: string;
|
|
127
133
|
}
|
|
128
134
|
export interface GridMetaDataType {
|
|
129
135
|
columns: GridColumnType[];
|
|
@@ -42,6 +42,11 @@ export declare const attachcombinedValidationFns: (columns: GridColumnType[]) =>
|
|
|
42
42
|
isDisabledOnBlurEvent?: boolean | undefined;
|
|
43
43
|
isReadOnly?: boolean | undefined;
|
|
44
44
|
__EDIT__?: any;
|
|
45
|
+
__NEW__?: any;
|
|
46
|
+
__VIEW__?: any;
|
|
47
|
+
multiline?: boolean | undefined;
|
|
48
|
+
minRows?: number | undefined;
|
|
49
|
+
maxRows?: number | undefined;
|
|
45
50
|
buttonLabel?: string | undefined;
|
|
46
51
|
dependentOptionField?: string | undefined;
|
|
47
52
|
isVisibleField?: any;
|
|
@@ -42,6 +42,11 @@ export declare const attachYupSchemaValidator: (columns: GridColumnType[]) => {
|
|
|
42
42
|
isDisabledOnBlurEvent?: boolean | undefined;
|
|
43
43
|
isReadOnly?: boolean | undefined;
|
|
44
44
|
__EDIT__?: any;
|
|
45
|
+
__NEW__?: any;
|
|
46
|
+
__VIEW__?: any;
|
|
47
|
+
multiline?: boolean | undefined;
|
|
48
|
+
minRows?: number | undefined;
|
|
49
|
+
maxRows?: number | undefined;
|
|
45
50
|
buttonLabel?: string | undefined;
|
|
46
51
|
dependentOptionField?: string | undefined;
|
|
47
52
|
isVisibleField?: any;
|
|
@@ -32,3 +32,11 @@ export declare const getParsedDate: (dateString: string | Date, isStringRequired
|
|
|
32
32
|
export declare const uncompressApiResponse: (base64Data: any) => any;
|
|
33
33
|
export declare const getPadAccountNumber: (accountNo: any, optionData: any) => any;
|
|
34
34
|
export declare const getDependetFieldDataArrayField: (inputData: any) => {};
|
|
35
|
+
/**
|
|
36
|
+
* Function extracts screen label from menu list data
|
|
37
|
+
* @param path current location's pathname
|
|
38
|
+
* @param data menu list data
|
|
39
|
+
* @param setScreenCode boolean value to show systemCode with label
|
|
40
|
+
* @returns label as string
|
|
41
|
+
*/
|
|
42
|
+
export declare const getDynamicLabel: (path: string, data: any, setScreenCode?: boolean) => string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import "regenerator-runtime/runtime";
|
|
2
2
|
import "buffer";
|
|
3
3
|
import "./components/tableCellComponents";
|
|
4
|
+
import "./index.css";
|
|
4
5
|
export { formatCurrency } from "./components/tableCellComponents/currencyRowCellRenderer";
|
|
5
6
|
export * from "./cache";
|
|
6
7
|
export * from "./components/dataTableStatic";
|