@acuteinfo/common-base 1.2.31 → 1.2.33

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.
@@ -42,6 +42,10 @@ interface AutoCompleteExtendedProps {
42
42
  optionsGridColDef?: Record<string, Partial<GridColumnType>>;
43
43
  runPostValidationForInitValue?: boolean;
44
44
  skipInitialDefaultValueKeyValidation?: boolean;
45
+ optionsKeyConfig?: {
46
+ useFormStateKeys?: boolean;
47
+ useDependentKeys?: boolean;
48
+ } | null;
45
49
  }
46
50
  type MyAutocompleteProps = Merge<AutocompleteProps<OptionsProps, true, true, true>, AutoCompleteExtendedProps>;
47
51
  export type MyAllAutocompleteProps = Merge<MyAutocompleteProps, UseFieldHookProps>;
@@ -36,6 +36,10 @@ interface MySelectExtendedProps {
36
36
  label?: string;
37
37
  defaultValueKey?: string;
38
38
  runPostValidationForInitValue?: boolean;
39
+ optionsKeyConfig?: {
40
+ useFormStateKeys?: boolean;
41
+ useDependentKeys?: boolean;
42
+ } | null;
39
43
  }
40
44
  export type MySelectAllProps = Merge<MySelectProps, MySelectExtendedProps>;
41
45
  declare const MySelect: FC<MySelectAllProps>;
@@ -1,4 +1,7 @@
1
- export declare const useOptionsFetcher: (formState: any, options: any, setOptions: any, handleChangeInterceptor: any, dependentValues: any, incomingMessage: any, runValidation: any, whenToRunValidation: any, _optionsKey: any, disableCaching: any, setIncomingMessage: any, skipDefaultOption: any, defaultOptionLabel: any, enableDefaultOption: any, setGridProps?: Function | undefined) => {
1
+ export declare const useOptionsFetcher: (formState: any, options: any, setOptions: any, handleChangeInterceptor: any, dependentValues: any, incomingMessage: any, runValidation: any, whenToRunValidation: any, _optionsKey: any, disableCaching: any, setIncomingMessage: any, skipDefaultOption: any, defaultOptionLabel: any, enableDefaultOption: any, setGridProps?: Function | undefined, optionsKeyConfig?: {
2
+ useFormStateKeys?: boolean;
3
+ useDependentKeys?: boolean;
4
+ } | null) => {
2
5
  loadingOptions: boolean;
3
6
  };
4
7
  /****** ---- */
@@ -111,6 +111,7 @@ export interface RenderActionType {
111
111
  buttonBackground?: string;
112
112
  style?: CSSProperties;
113
113
  submitButtonRef?: any;
114
+ loading?: boolean;
114
115
  }
115
116
  export interface TableActionType {
116
117
  selectedFlatRows: any;
@@ -125,6 +126,7 @@ export interface TableActionType {
125
126
  handleClose?: any;
126
127
  authState?: any;
127
128
  submitButtonRef?: any;
129
+ loading?: boolean;
128
130
  }
129
131
  export interface GridContextType {
130
132
  gridCode: any;
@@ -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, occupiedHeight, gridProps, pageSizes, defaultPageSize, enablePagination, allowRowSelection, hideNoDataFound, refetchData, hiddenFlag, autoRefreshInterval, allowFilter, filterMeta, allowColumnHiding, defaultFilter, isCusrsorFocused, onButtonActionHandel, controlsAtBottom, actionContextAtBottom, headerToolbarStyle, disableMultipleRowSelect, columnHeaderStyle, variant, enablePaginationInput, defaultSelectedRowId, footerNote, footerNoteStyles, paginationText, searchPlaceholder, enableExport, subGridLabel, hideActionBar, finalMetaData, externalExportState, onExportModalClose, enablePdfPrint, reportTemplateCode, enablePivot, handleClickAction, RenderSubHeader, subHeaderComponentProps, }: {
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, occupiedHeight, gridProps, pageSizes, defaultPageSize, enablePagination, allowRowSelection, hideNoDataFound, refetchData, hiddenFlag, autoRefreshInterval, allowFilter, filterMeta, allowColumnHiding, defaultFilter, isCusrsorFocused, onButtonActionHandel, controlsAtBottom, actionContextAtBottom, headerToolbarStyle, disableMultipleRowSelect, columnHeaderStyle, variant, enablePaginationInput, defaultSelectedRowId, footerNote, footerNoteStyles, paginationText, searchPlaceholder, enableExport, subGridLabel, hideActionBar, finalMetaData, externalExportState, onExportModalClose, enablePdfPrint, reportTemplateCode, enablePivot, handleClickAction, RenderSubHeader, subHeaderComponentProps, gridPaperProps, }: {
2
2
  label: any;
3
3
  dense: any;
4
4
  columns: any;
@@ -63,4 +63,5 @@ export declare const DataGrid: ({ label, dense, columns, data, loading, getRowId
63
63
  handleClickAction: any;
64
64
  RenderSubHeader: any;
65
65
  subHeaderComponentProps: any;
66
+ gridPaperProps: any;
66
67
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { SxProps } from "@mui/material";
1
+ import { PaperProps, SxProps } from "@mui/material";
2
2
  import { CustomProperties } from "components/context/propertiesConfig/customProperties";
3
3
  import { currencySymbol } from "components/custom/getCurrencySymbol";
4
4
  import { ActionTypes } from "components/dataTable/types";
@@ -176,6 +176,7 @@ export interface GridConfigType {
176
176
  min: string;
177
177
  max: string;
178
178
  };
179
+ gridPaperProps?: PaperProps;
179
180
  pageSizes?: number[];
180
181
  defaultPageSize?: number;
181
182
  allowRowSelection?: boolean;