@acuteinfo/common-base 1.0.24 → 1.0.25

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.
@@ -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;
@@ -123,7 +123,8 @@ export interface GridConfigType {
123
123
  hiddenFlag?: string;
124
124
  searchPlaceholder?: string;
125
125
  paginationText?: any;
126
- footerNote?: any;
126
+ footerNote?: string;
127
+ subGridLabel?: string;
127
128
  }
128
129
  export interface GridMetaDataType {
129
130
  columns: GridColumnType[];
@@ -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;