@acuteinfo/common-base 1.0.26 → 1.0.28

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.
@@ -23,12 +23,13 @@ export interface ArrayField2Props {
23
23
  agreeButtonName: any;
24
24
  errorTitle: string;
25
25
  displayCountName: string;
26
- runExternalFunction?: Boolean;
27
- isRemoveButton?: Boolean;
26
+ runExternalFunction?: boolean;
27
+ isRemoveButton?: boolean;
28
28
  onFormDataChange?: any;
29
+ changeRowOrder?: boolean;
29
30
  }
30
31
  export declare const ArrayField2: FC<ArrayField2Props>;
31
- 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, }: {
32
+ 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, }: {
32
33
  row: any;
33
34
  getAllRowsValues: any;
34
35
  fieldKey: any;
@@ -51,4 +52,6 @@ export declare const ArrayFieldRow: ({ row, getAllRowsValues, fieldKey, oneRow,
51
52
  errorTitle: any;
52
53
  displayCountName: any;
53
54
  isRemoveButton: any;
55
+ selectedRowIndex: any;
56
+ setSelectedRowIndex: any;
54
57
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"arrayRowContainer" | "newArrayRowContainer" | "newSecondArrayRowContainer" | "arrayRowRemoveBtn" | "arrayRowCard" | "arrayRowCardContent" | "arrayRowCount" | "arrayRowCountCustomStyle" | "arrayRowCountFixedRows" | "arrayScreenRowCount" | "newArrayRowCardContent">;
1
+ export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"arrayRowContainer" | "newArrayRowContainer" | "newSecondArrayRowContainer" | "arrayRowRemoveBtn" | "arrayRowCard" | "arrayRowCardContent" | "arrayRowCount" | "arrayRowCountCustomStyle" | "arrayRowCountFixedRows" | "arrayScreenRowCount" | "newArrayRowCardContent" | "arrayFieldSelected" | "arrayFieldUnselected">;
@@ -25,7 +25,10 @@ interface AutoCompleteExtendedProps {
25
25
  _optionsKey?: string;
26
26
  disableCaching?: boolean;
27
27
  disableAdornment?: boolean;
28
- ignoreInSubmit?: boolean;
28
+ ignoreInSubmit?: (dependentValues: any, object: {
29
+ isSubmitting?: boolean;
30
+ value?: string;
31
+ }) => boolean | boolean;
29
32
  textFieldStyle?: SxProps;
30
33
  setFieldLabel?: (dependentFields?: any, value?: any) => string | null | undefined;
31
34
  }
@@ -16,7 +16,10 @@ interface MyCheckboxExtendedProps {
16
16
  FormHelperTextProps?: FormHelperTextProps;
17
17
  GridProps?: GridProps;
18
18
  enableGrid: boolean;
19
- ignoreInSubmit?: boolean;
19
+ ignoreInSubmit?: (dependentValues: any, object: {
20
+ isSubmitting?: boolean;
21
+ value?: string;
22
+ }) => boolean | boolean;
20
23
  setFieldLabel?: (dependentFields?: any, value?: any) => string | null | undefined;
21
24
  }
22
25
  export type MyCheckboxAllProps = Merge<MyCheckboxMixedProps, MyCheckboxExtendedProps>;
@@ -9,12 +9,16 @@ interface MyGridExtendedProps {
9
9
  GridProps?: GridProps;
10
10
  disableTimestamp?: boolean;
11
11
  enableGrid: boolean;
12
- ignoreInSubmit?: boolean;
13
12
  disablePast?: boolean;
14
13
  disableFuture?: boolean;
15
14
  isWorkingDate?: boolean;
16
15
  isMaxWorkingDate?: boolean;
17
16
  isMinWorkingDate?: boolean;
17
+ ignoreInSubmit?: (dependentValues: any, object: {
18
+ isSubmitting?: boolean;
19
+ value?: string;
20
+ }) => boolean | boolean;
21
+ setFieldLabel?: (dependentFields?: any, value?: any) => string | null | undefined;
18
22
  }
19
23
  export type MyDataPickerAllProps = Merge<Merge<KeyboardDatePickerPropsSubset, MyGridExtendedProps>, UseFieldHookProps>;
20
24
  export declare const MyDatePicker: FC<MyDataPickerAllProps>;
@@ -7,7 +7,11 @@ type KeyboardDateTimePickerPropsSubset = Omit<DateTimePickerProps<any>, "onChang
7
7
  interface MyGridExtendedProps {
8
8
  GridProps?: GridProps;
9
9
  enableGrid: boolean;
10
- ignoreInSubmit?: boolean;
10
+ ignoreInSubmit?: (dependentValues: any, object: {
11
+ isSubmitting?: boolean;
12
+ value?: string;
13
+ }) => boolean | boolean;
14
+ setFieldLabel?: (dependentFields?: any, value?: any) => string | null | undefined;
11
15
  disablePast?: boolean;
12
16
  disableFuture?: boolean;
13
17
  }
@@ -1,5 +1,5 @@
1
1
  import { FC } from "react";
2
- import { UseFieldHookProps } from "packages/form";
2
+ import { UseFieldHookProps, AlwaysRunPostValidationSetCrossFieldValuesType } from "packages/form";
3
3
  import { SelectProps } from "@mui/material/Select";
4
4
  import { TextFieldProps } from "@mui/material/TextField";
5
5
  import { MenuItemProps } from "@mui/material/MenuItem";
@@ -24,11 +24,11 @@ interface MySelectExtendedProps {
24
24
  CircularProgressProps?: CircularProgressProps;
25
25
  GridProps?: GridProps;
26
26
  enableGrid: boolean;
27
- ignoreInSubmit?: boolean;
28
- AlwaysRunPostValidationSetCrossFieldValues?: {
29
- alwaysRun?: boolean;
30
- touchAndValidate?: boolean;
31
- };
27
+ ignoreInSubmit?: (dependentValues: any, object: {
28
+ isSubmitting?: boolean;
29
+ value?: string;
30
+ }) => boolean | boolean;
31
+ AlwaysRunPostValidationSetCrossFieldValues?: AlwaysRunPostValidationSetCrossFieldValuesType | ((dependentFields: any) => AlwaysRunPostValidationSetCrossFieldValuesType);
32
32
  setFieldLabel?: (dependentFields?: any, value?: any) => string | null | undefined;
33
33
  label?: string;
34
34
  }
@@ -1,5 +1,5 @@
1
1
  import { FC } from "react";
2
- import { UseFieldHookProps } from "packages/form";
2
+ import { UseFieldHookProps, AlwaysRunPostValidationSetCrossFieldValuesType } from "packages/form";
3
3
  import { TextFieldProps } from "@mui/material/TextField";
4
4
  import { GridProps } from "@mui/material/Grid";
5
5
  import { CircularProgressProps } from "@mui/material/CircularProgress";
@@ -23,13 +23,14 @@ interface MyGridExtendedProps {
23
23
  iconStyle?: any;
24
24
  textFieldStyle?: SxProps;
25
25
  txtTransform?: "uppercase" | "lowercase";
26
- AlwaysRunPostValidationSetCrossFieldValues?: {
27
- alwaysRun?: any;
28
- touchAndValidate?: any;
29
- };
30
- ignoreInSubmit?: boolean;
26
+ AlwaysRunPostValidationSetCrossFieldValues?: AlwaysRunPostValidationSetCrossFieldValuesType | ((dependentFields: any) => AlwaysRunPostValidationSetCrossFieldValuesType);
27
+ ignoreInSubmit?: (dependentValues: any, object: {
28
+ isSubmitting?: boolean;
29
+ value?: string;
30
+ }) => boolean | boolean;
31
31
  setFieldLabel?: (dependentFields?: any, value?: any) => string | null | undefined;
32
32
  label?: string;
33
+ preventSpecialChars?: string | null;
33
34
  }
34
35
  type MyTextFieldAllProps = Merge<TextFieldProps, MyGridExtendedProps>;
35
36
  export type MyTextFieldProps = UseFieldHookProps & MyTextFieldAllProps;
@@ -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" | "slots" | "slotProps" | "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" | "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>;
@@ -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" | "slots" | "slotProps" | "disableSwap" | "getAriaLabel" | "getAriaValueText" | "marks" | "onChangeCommitted" | "shiftStep" | "valueLabelDisplay" | "valueLabelFormat">, "classes"> & import("@mui/styles").StyledComponentProps<"track" | "root" | "active" | "thumb" | "valueLabel" | "rail"> & 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" | "slotProps" | "slots" | "disableSwap" | "getAriaLabel" | "getAriaValueText" | "marks" | "onChangeCommitted" | "valueLabelDisplay" | "valueLabelFormat">, "classes"> & import("@mui/styles").StyledComponentProps<"track" | "root" | "active" | "thumb" | "valueLabel" | "rail"> & object>;
@@ -66,6 +66,9 @@ export interface GridColumnType {
66
66
  isVisibleInNew?: boolean;
67
67
  currencyRefColumn?: string;
68
68
  isCurrencyCode?: boolean;
69
+ isSelectedTotal?: Boolean;
70
+ isDisplayTotal?: Boolean;
71
+ totalDecimalCount?: number;
69
72
  /**
70
73
  * Accepts boolean value to hide dropdown and cross icons from autocomplete
71
74
  * @default false
@@ -97,6 +100,11 @@ export interface GridColumnType {
97
100
  * @default false
98
101
  */
99
102
  showDeleteIconOnly?: boolean;
103
+ /**
104
+ * Enables a checkbox in column label to check / uncheck all column data containing editable checkbox
105
+ * @default false
106
+ */
107
+ enableColumnSelection?: boolean;
100
108
  }
101
109
  export interface GridConfigType {
102
110
  dense?: boolean;
@@ -1,6 +1,6 @@
1
1
  import { GridColumnType } from "../types";
2
- export declare const combineAndRunValidation: (schemaValidation: any, validation: any) => (value: any, row: any, prev: any, next: any) => Promise<any>;
3
- export declare const attachcombinedValidationFns: (columns: GridColumnType[]) => {
2
+ export declare const combineAndRunValidation: (schemaValidation: any, validation: any, authState: any) => (value: any, row: any, prev: any, next: any) => Promise<any>;
3
+ export declare const attachcombinedValidationFns: (columns: GridColumnType[], authState: any) => {
4
4
  validation: (value: any, row: any, prev: any, next: any) => Promise<any>;
5
5
  columnName: string;
6
6
  accessor: string;
@@ -60,9 +60,13 @@ export declare const attachcombinedValidationFns: (columns: GridColumnType[]) =>
60
60
  isVisibleInNew?: boolean | undefined;
61
61
  currencyRefColumn?: string | undefined;
62
62
  isCurrencyCode?: boolean | undefined;
63
+ isSelectedTotal?: Boolean | undefined;
64
+ isDisplayTotal?: Boolean | undefined;
65
+ totalDecimalCount?: number | undefined;
63
66
  disableAdornment?: boolean | undefined;
64
67
  setButtonName?: ((value: string | undefined, original: any) => string | undefined) | undefined;
65
68
  shouldExclude?: ((value: string | undefined, original: any, data?: any, index?: number | undefined) => boolean) | undefined;
66
69
  currencySymbolPosition?: "end" | "start" | undefined;
67
70
  showDeleteIconOnly?: boolean | undefined;
71
+ enableColumnSelection?: boolean | undefined;
68
72
  }[];
@@ -60,9 +60,13 @@ export declare const attachYupSchemaValidator: (columns: GridColumnType[]) => {
60
60
  isVisibleInNew?: boolean | undefined;
61
61
  currencyRefColumn?: string | undefined;
62
62
  isCurrencyCode?: boolean | undefined;
63
+ isSelectedTotal?: Boolean | undefined;
64
+ isDisplayTotal?: Boolean | undefined;
65
+ totalDecimalCount?: number | undefined;
63
66
  disableAdornment?: boolean | undefined;
64
67
  setButtonName?: ((value: string | undefined, original: any) => string | undefined) | undefined;
65
68
  shouldExclude?: ((value: string | undefined, original: any, data?: any, index?: number | undefined) => boolean) | undefined;
66
69
  currencySymbolPosition?: "end" | "start" | undefined;
67
70
  showDeleteIconOnly?: boolean | undefined;
71
+ enableColumnSelection?: boolean | undefined;
68
72
  }[];
@@ -4,6 +4,7 @@ import { TextFieldPropsOptional, SelectPropsOptional, CheckboxGroupPropsOptional
4
4
  import { Merge } from "../../components/common/types";
5
5
  import { InitialValuesType, SubmitFnType } from "../../packages/form";
6
6
  import { CSSProperties, ReactNode } from "react";
7
+ import { SxProps } from "@mui/material";
7
8
  export interface FormRenderConfigType {
8
9
  ordering: "auto" | "sequence";
9
10
  renderType: "simple" | "tabs" | "stepper" | "accordian";
@@ -129,7 +130,7 @@ export interface FormWrapperProps {
129
130
  containerstyle?: CSSProperties;
130
131
  onFormButtonClickHandel?: (id: any, dependentFields?: any) => void;
131
132
  subHeaderLabel?: string;
132
- subHeaderLabelStyle?: string;
133
+ subHeaderLabelStyle?: SxProps;
133
134
  children?: ReactNode | Function;
134
135
  }
135
136
  export interface FormProps {
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { MasterDetailsMetaData } from "./types";
3
3
  import { CSSProperties } from "@mui/styles/withStyles";
4
+ import { SxProps } from "@mui/material";
4
5
  export interface MasterDetailsArgumentType {
5
6
  metaData: MasterDetailsMetaData;
6
7
  children?: any;
@@ -27,5 +28,7 @@ export interface MasterDetailsArgumentType {
27
28
  };
28
29
  setDataOnFieldChange?: (action: string, payload: any) => void;
29
30
  isDetailRowRequire?: boolean;
31
+ subHeaderLabel?: string;
32
+ subHeaderLabelStyle?: SxProps;
30
33
  }
31
34
  export declare const MasterDetailsForm: import("react").ForwardRefExoticComponent<MasterDetailsArgumentType & import("react").RefAttributes<any>>;
@@ -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" | "slots" | "slotProps" | "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" | "slotProps" | "slots" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "visibleScrollbar">, "classes"> & import("@mui/styles").StyledComponentProps<"root" | "indicator"> & object>;
5
5
  export default StyledTabs;