@acuteinfo/common-base 1.0.95 → 1.0.97

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.
@@ -19,6 +19,10 @@ interface MyButtonExtendedProps {
19
19
  rotateIcon?: string;
20
20
  setValueOnDependentFieldsChange?: any;
21
21
  onFormButtonClickHandel?: any;
22
+ ignoreInSubmit?: (dependentValues: any, formState: any, object: {
23
+ isSubmitting?: boolean;
24
+ value?: string;
25
+ }) => boolean | boolean;
22
26
  }
23
27
  type MyButtonMixedProps = Merge<ButtonProps, extendedFiledProps>;
24
28
  export type MyFormButtonAllProps = Merge<MyButtonMixedProps, MyButtonExtendedProps>;
@@ -1,4 +1,4 @@
1
- export declare const RemarksAPIWrapper: ({ TitleText, onActionNo, onActionYes, isRequired, isEntertoSubmit, AcceptbuttonLabelText, CanceltbuttonLabelText, isLoading, open, label, placeholder, defaultValue, rows, customRequiredMessage, }: {
1
+ export declare const RemarksAPIWrapper: ({ TitleText, onActionNo, onActionYes, isRequired, isEntertoSubmit, AcceptbuttonLabelText, CanceltbuttonLabelText, isLoading, open, label, placeholder, defaultValue, rows, customRequiredMessage, maxLength, showMaxLength, }: {
2
2
  TitleText: any;
3
3
  onActionNo: any;
4
4
  onActionYes: any;
@@ -13,4 +13,6 @@ export declare const RemarksAPIWrapper: ({ TitleText, onActionNo, onActionYes, i
13
13
  defaultValue?: string | undefined;
14
14
  rows: any;
15
15
  customRequiredMessage?: string | undefined;
16
+ maxLength?: number | undefined;
17
+ showMaxLength?: boolean | undefined;
16
18
  }) => import("react/jsx-runtime").JSX.Element;
@@ -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, externalExportState, onExportModalClose, enablePdfPrint, reportTemplateCode, }: {
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, enablePdfPrint, reportTemplateCode, enablePivot }: {
2
2
  label: any;
3
3
  dense: any;
4
4
  columns: any;
@@ -57,4 +57,5 @@ export declare const DataGrid: ({ label, dense, columns, data, loading, getRowId
57
57
  onExportModalClose: any;
58
58
  enablePdfPrint: any;
59
59
  reportTemplateCode: any;
60
+ enablePivot: any;
60
61
  }) => import("react/jsx-runtime").JSX.Element;
@@ -262,6 +262,11 @@ export interface GridWrapperPropTypes {
262
262
  * Unique numeric string to identify the grid for personalization grid export.
263
263
  */
264
264
  reportTemplateCode?: string;
265
+ /**
266
+ * If true, open the grid pivot popup.
267
+ * @default false
268
+ */
269
+ enablePivot?: boolean;
265
270
  }
266
271
  export interface GridYupSchemaMetaDataType {
267
272
  type: "string" | "number" | "boolean" | "date";
@@ -18,6 +18,7 @@ export declare const PDFViewer: FC<{
18
18
  label: string;
19
19
  };
20
20
  hideDownloadBtn?: boolean;
21
+ hideFilename?: boolean;
21
22
  contentStyle?: any;
22
23
  actionStyle?: any;
23
24
  }>;
@@ -25,6 +26,7 @@ export declare const ImageViewer: FC<{
25
26
  blob: File;
26
27
  fileName: string;
27
28
  onClose?: any;
29
+ hideFilename?: boolean;
28
30
  }>;
29
31
  export declare const NoPreview: FC<{
30
32
  fileName: string;
@@ -0,0 +1,7 @@
1
+ declare const Pivot: ({ rows, columns, title, onClose }: {
2
+ rows: any;
3
+ columns: any;
4
+ title?: string | undefined;
5
+ onClose?: (() => void) | undefined;
6
+ }) => import("react/jsx-runtime").JSX.Element;
7
+ export default Pivot;
@@ -36,6 +36,7 @@ interface GridTableType {
36
36
  onDoubleClickAction?: Function;
37
37
  enablePdfPrint?: boolean;
38
38
  reportTemplateCode?: string;
39
+ enablePivot?: boolean;
39
40
  }
40
41
  export declare const GridTable: FC<GridTableType>;
41
42
  export {};
@@ -124,6 +124,11 @@ export interface ReportMetaDataType {
124
124
  groupBy?: string[];
125
125
  enableServerSidePagination?: boolean;
126
126
  enablePdfPrint?: boolean;
127
+ /**
128
+ * If true, open the grid pivot popup
129
+ * @default false
130
+ */
131
+ enablePivot?: boolean;
127
132
  }
128
133
  export interface ReportGridProps {
129
134
  metaData: any;
@@ -155,4 +160,9 @@ export interface ReportGridProps {
155
160
  * Unique numeric string to identify the grid for personalization grid export.
156
161
  */
157
162
  reportTemplateCode?: string;
163
+ /**
164
+ * If true, open the grid pivot popup
165
+ * @default false
166
+ */
167
+ enablePivot?: boolean;
158
168
  }