@acuteinfo/common-base 1.0.47 → 1.0.48

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.
@@ -28,9 +28,10 @@ export interface ArrayField2Props {
28
28
  onFormDataChange?: any;
29
29
  changeRowOrder?: boolean;
30
30
  noRecordMessage?: string;
31
+ hideRemoveIconOnSingleRecord?: boolean;
31
32
  }
32
33
  export declare const ArrayField2: FC<ArrayField2Props>;
33
- export declare const ArrayFieldRow: ({ row, getAllRowsValues, fieldKey, oneRow, classes, removeFn, rowIndex, removeRowFn, totalRows, isSubmitting, formState, formName, arrayFieldIDName, arrayFieldName, fixedRows, isDisplayCount, isCustomStyle, disagreeButtonName, agreeButtonName, errorTitle, displayCountName, isRemoveButton, selectedRowIndex, setSelectedRowIndex, }: {
34
+ export declare const ArrayFieldRow: ({ row, getAllRowsValues, fieldKey, oneRow, classes, removeFn, rowIndex, removeRowFn, totalRows, isSubmitting, formState, formName, arrayFieldIDName, arrayFieldName, fixedRows, isDisplayCount, isCustomStyle, disagreeButtonName, agreeButtonName, errorTitle, displayCountName, isRemoveButton, selectedRowIndex, setSelectedRowIndex, hideRemoveIconOnSingleRecord }: {
34
35
  row: any;
35
36
  getAllRowsValues: any;
36
37
  fieldKey: any;
@@ -55,4 +56,5 @@ export declare const ArrayFieldRow: ({ row, getAllRowsValues, fieldKey, oneRow,
55
56
  isRemoveButton: any;
56
57
  selectedRowIndex: any;
57
58
  setSelectedRowIndex: any;
59
+ hideRemoveIconOnSingleRecord: any;
58
60
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- export declare const RemarksAPIWrapper: ({ TitleText, onActionNo, onActionYes, isRequired, isEntertoSubmit, AcceptbuttonLabelText, CanceltbuttonLabelText, isLoading, open, label, defaultValue, rows, }: {
1
+ export declare const RemarksAPIWrapper: ({ TitleText, onActionNo, onActionYes, isRequired, isEntertoSubmit, AcceptbuttonLabelText, CanceltbuttonLabelText, isLoading, open, label, defaultValue, rows, customRequiredMessage }: {
2
2
  TitleText: any;
3
3
  onActionNo: any;
4
4
  onActionYes: any;
@@ -11,4 +11,5 @@ export declare const RemarksAPIWrapper: ({ TitleText, onActionNo, onActionYes, i
11
11
  label?: string | undefined;
12
12
  defaultValue?: string | undefined;
13
13
  rows: any;
14
+ customRequiredMessage?: string | undefined;
14
15
  }) => import("react/jsx-runtime").JSX.Element;
@@ -123,4 +123,4 @@ export declare const currencySymbol: {
123
123
  ETB: string;
124
124
  MMK: string;
125
125
  };
126
- export declare function getCurrencySymbol(currencyCode: any): any;
126
+ export declare function getCurrencySymbol(currencyCode: any, sendCodeBack?: boolean): any;
@@ -1,5 +1,5 @@
1
1
  import { GridColumnType } from "components/dataTableStatic";
2
- export declare const FileUploadControl: ({ additionalColumns, editableFileName, onClose, onUpload, dataChangedRef, allowedExtensions, maxAllowedSize, gridProps, defaultFileData, onUpdateFileData, }: {
2
+ export declare const FileUploadControl: ({ additionalColumns, editableFileName, onClose, onUpload, dataChangedRef, allowedExtensions, maxAllowedSize, gridProps, defaultFileData, onUpdateFileData, allowMultipleFilesSelection }: {
3
3
  additionalColumns?: GridColumnType[] | undefined;
4
4
  editableFileName?: boolean | undefined;
5
5
  onClose?: any;
@@ -10,4 +10,5 @@ export declare const FileUploadControl: ({ additionalColumns, editableFileName,
10
10
  gridProps?: any;
11
11
  defaultFileData?: any;
12
12
  onUpdateFileData?: Function | undefined;
13
+ allowMultipleFilesSelection?: boolean | undefined;
13
14
  }) => import("react/jsx-runtime").JSX.Element;
@@ -14,4 +14,5 @@ export interface TargetBoxType {
14
14
  onDrop: (monitor: File[], existingFiles?: FileObjectType[]) => void;
15
15
  disabled?: boolean;
16
16
  existingFiles?: FileObjectType[];
17
+ multiple?: boolean;
17
18
  }
@@ -84,13 +84,17 @@ export interface ReportColumnsType {
84
84
  DisplayValueLabel?: {
85
85
  [key: string]: any;
86
86
  };
87
- color?: (value: string) => string;
87
+ color?: string | ((value: string) => string);
88
88
  TableCellProps?: any;
89
89
  /**
90
90
  * Show column name for ButtonRowCell
91
91
  * @default false
92
92
  */
93
93
  showColumnName?: boolean;
94
+ /**
95
+ * Specify format for date columns
96
+ */
97
+ format?: string;
94
98
  }
95
99
  export interface ReportFilterProps {
96
100
  accessor: string;
@@ -1,4 +1,4 @@
1
- export declare const FooterCell: ({ rows, column: { id: columnName, isDisplayTotal, totalDecimalCount, isSelectedTotal, setFooterValue, footerLabel, footerIsMultivalue, }, }: {
1
+ export declare const FooterCell: ({ rows, column: { id: columnName, isDisplayTotal, totalDecimalCount, isSelectedTotal, setFooterValue, footerLabel, footerIsMultivalue, Cell }, }: {
2
2
  rows: any;
3
3
  column: {
4
4
  id: any;
@@ -8,5 +8,6 @@ export declare const FooterCell: ({ rows, column: { id: columnName, isDisplayTot
8
8
  setFooterValue: any;
9
9
  footerLabel?: string | undefined;
10
10
  footerIsMultivalue?: boolean | undefined;
11
+ Cell: any;
11
12
  };
12
13
  }) => import("react/jsx-runtime").JSX.Element;