@acuteinfo/common-base 1.0.21 → 1.0.23

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.
@@ -7,7 +7,7 @@ export interface DetailsGridWithHeaderArguType {
7
7
  data: any;
8
8
  HeaderMetaData: FilterFormMetaType;
9
9
  HeaderData: any;
10
- ClickEventManage: Function;
10
+ ClickEventManage: (data: any, visibleColumn: any) => void;
11
11
  isLoading?: boolean;
12
12
  isError?: boolean;
13
13
  ErrorMessage?: string;
@@ -19,7 +19,7 @@ export interface DetailsGridWithHeaderArguType {
19
19
  refID?: any;
20
20
  onSubmit?: Function;
21
21
  children?: any;
22
- submitSecondAction?: any;
22
+ submitSecondAction?: (data: any, visibleColumn: any) => void;
23
23
  submitSecondButtonName?: string;
24
24
  submitSecondButtonHide?: boolean;
25
25
  submitSecondLoading?: boolean;
@@ -1,2 +1,3 @@
1
1
  /// <reference types="react" />
2
- export declare const FormComponentView: import("react").ForwardRefExoticComponent<Omit<any, "ref"> & import("react").RefAttributes<any>>;
2
+ import { FormComponentViewProps } from "./type";
3
+ export declare const FormComponentView: import("react").ForwardRefExoticComponent<FormComponentViewProps & import("react").RefAttributes<any>>;
@@ -1,3 +1,4 @@
1
+ import { SxProps } from "@mui/material";
1
2
  import { OptionsProps, OptionsFn } from "components/common/types";
2
3
  import { NumericFormatProps } from "react-number-format";
3
4
  export interface FiltergridConfig {
@@ -50,3 +51,23 @@ export interface FilterFormMetaType {
50
51
  initialData?: any;
51
52
  initialVisibleColumnData?: any;
52
53
  }
54
+ export interface FormComponentViewProps {
55
+ finalMetaData: FilterFormMetaType;
56
+ onAction: (data: any, visibleColumn: any) => void;
57
+ loading: boolean;
58
+ data: any;
59
+ submitSecondButtonHide?: boolean;
60
+ submitSecondButtonName?: string;
61
+ submitSecondLoading?: boolean;
62
+ submitSecondAction?: (data: any, visibleColumn: any) => void;
63
+ submitSecondValidtion?: boolean;
64
+ onFieldAction?: (name: string, value: any) => void;
65
+ propStyles?: {
66
+ titleStyle?: SxProps;
67
+ toolbarStyles?: SxProps;
68
+ IconButtonStyle?: {
69
+ variant: "default" | "error" | "info" | "inherit" | "primary" | "secondary" | "success" | "warning";
70
+ };
71
+ paperStyle?: SxProps;
72
+ };
73
+ }
@@ -80,6 +80,10 @@ export interface ReportColumnsType {
80
80
  * Set true to hide column
81
81
  */
82
82
  isHiddenColumn?: boolean;
83
+ isDisplayValueTotal?: boolean;
84
+ DisplayValueLabel?: {
85
+ [key: string]: any;
86
+ };
83
87
  }
84
88
  export interface ReportFilterProps {
85
89
  accessor: string;