@acuteinfo/common-base 1.0.47 → 1.0.49

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,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  export declare const CustomBackdrop: import("react").JSXElementConstructor<Omit<import("@mui/material/Backdrop").BackdropOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
3
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
4
- }, "onChange" | "onBlur" | "defaultValue" | "children" | "ref" | "onSubmit" | "hidden" | "style" | "onClick" | "id" | "title" | "className" | "classes" | "sx" | "tabIndex" | "color" | "content" | "transitionDuration" | "translate" | "slot" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "nonce" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "exit" | "open" | "in" | "components" | "componentsProps" | "slotProps" | "slots" | "TransitionComponent" | "mountOnEnter" | "unmountOnExit" | "timeout" | "easing" | "addEndListener" | "onEnter" | "onEntering" | "onEntered" | "onExit" | "onExiting" | "onExited" | "appear" | "enter" | "invisible">, "classes"> & import("@mui/styles").StyledComponentProps<"root"> & object>;
4
+ }, "onChange" | "onBlur" | "defaultValue" | "children" | "ref" | "onSubmit" | "hidden" | "style" | "onClick" | "id" | "title" | "className" | "classes" | "sx" | "tabIndex" | "color" | "content" | "transitionDuration" | "translate" | "slot" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "exit" | "open" | "in" | "components" | "enter" | "componentsProps" | "slots" | "slotProps" | "TransitionComponent" | "mountOnEnter" | "unmountOnExit" | "timeout" | "easing" | "addEndListener" | "onEnter" | "onEntering" | "onEntered" | "onExit" | "onExiting" | "onExited" | "appear" | "invisible">, "classes"> & import("@mui/styles").StyledComponentProps<"root"> & object>;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  export declare const StyledSlider: import("react").JSXElementConstructor<Omit<import("@mui/material/Slider").SliderOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
3
3
  ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
4
- }, "onChange" | "value" | "name" | "defaultValue" | "style" | "className" | "classes" | "disabled" | "sx" | "tabIndex" | "color" | "scale" | "size" | "track" | "aria-label" | "aria-labelledby" | "aria-valuetext" | "max" | "min" | "orientation" | "components" | "step" | "componentsProps" | "slotProps" | "slots" | "disableSwap" | "getAriaLabel" | "getAriaValueText" | "marks" | "onChangeCommitted" | "valueLabelDisplay" | "valueLabelFormat">, "classes"> & import("@mui/styles").StyledComponentProps<"track" | "root" | "active" | "rail" | "thumb" | "valueLabel"> & object>;
4
+ }, "onChange" | "value" | "name" | "defaultValue" | "style" | "className" | "classes" | "disabled" | "sx" | "tabIndex" | "color" | "scale" | "size" | "track" | "aria-label" | "aria-labelledby" | "aria-valuetext" | "max" | "min" | "orientation" | "components" | "step" | "componentsProps" | "slots" | "slotProps" | "disableSwap" | "getAriaLabel" | "getAriaValueText" | "marks" | "onChangeCommitted" | "shiftStep" | "valueLabelDisplay" | "valueLabelFormat">, "classes"> & import("@mui/styles").StyledComponentProps<"track" | "root" | "active" | "rail" | "thumb" | "valueLabel"> & object>;
@@ -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,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  declare const StyledTabs: import("react").JSXElementConstructor<Omit<import("@mui/material/Tabs").TabsOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
3
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
4
- }, "onChange" | "value" | "children" | "action" | "style" | "className" | "classes" | "sx" | "variant" | "aria-label" | "aria-labelledby" | "textColor" | "orientation" | "slotProps" | "slots" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "visibleScrollbar">, "classes"> & import("@mui/styles").StyledComponentProps<"root" | "indicator"> & object>;
4
+ }, "onChange" | "value" | "children" | "action" | "style" | "className" | "classes" | "sx" | "variant" | "aria-label" | "aria-labelledby" | "textColor" | "orientation" | "slots" | "slotProps" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "visibleScrollbar">, "classes"> & import("@mui/styles").StyledComponentProps<"root" | "indicator"> & object>;
5
5
  export default StyledTabs;
@@ -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;