@acuteinfo/common-base 1.0.60 → 1.0.61

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, enablePaginationInput, defaultSelectedRowId, footerNote, paginationText, searchPlaceholder, enableExport, subGridLabel, hideActionBar, finalMetaData, }: {
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, enablePaginationInput, defaultSelectedRowId, footerNote, paginationText, searchPlaceholder, enableExport, subGridLabel, hideActionBar, finalMetaData, externalExportState, onExportModalClose }: {
2
2
  label: any;
3
3
  dense: any;
4
4
  columns: any;
@@ -53,4 +53,6 @@ export declare const DataGrid: ({ label, dense, columns, data, loading, getRowId
53
53
  subGridLabel: any;
54
54
  hideActionBar: any;
55
55
  finalMetaData: any;
56
+ externalExportState: any;
57
+ onExportModalClose: any;
56
58
  }) => import("react/jsx-runtime").JSX.Element;
@@ -246,6 +246,16 @@ export interface GridWrapperPropTypes {
246
246
  * **NOT FOR EXTERNAL USE!**
247
247
  */
248
248
  fieldDataRef?: any;
249
+ /**
250
+ * If true, open the grid export popup.
251
+ * @default false
252
+ */
253
+ externalExportState?: boolean;
254
+ /**
255
+ * Callback fires when export modal is closing.
256
+ * @returns void
257
+ */
258
+ onExportModalClose?: () => void;
249
259
  }
250
260
  export interface GridYupSchemaMetaDataType {
251
261
  type: "string" | "number" | "boolean" | "date";
@@ -30,5 +30,8 @@ export interface MasterDetailsArgumentType {
30
30
  isDetailRowRequire?: boolean;
31
31
  subHeaderLabel?: string;
32
32
  subHeaderLabelStyle?: SxProps;
33
+ hideDisplayModeInTitle?: boolean;
34
+ headerToolbarStyle?: SxProps;
35
+ refetchData?: any;
33
36
  }
34
37
  export declare const MasterDetailsForm: import("react").ForwardRefExoticComponent<MasterDetailsArgumentType & import("react").RefAttributes<any>>;