@acuteinfo/common-base 1.2.36 → 1.2.37
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.
- package/dist/components/dataTable/gridWrapper.d.ts +2 -0
- package/dist/components/dynamicForm/simpleForm.d.ts +4 -2
- package/dist/components/dynamicForm/tabsForm.d.ts +4 -2
- package/dist/components/dynamicForm/types.d.ts +1 -0
- package/dist/components/formcomponent/masterDetails/masterDetailsForm.d.ts +1 -0
- package/dist/components/layoutReport/types.d.ts +2 -0
- package/dist/components/report/gridTable.d.ts +1 -0
- package/dist/components/report/serverReport/ReportWrapper.d.ts +2 -0
- package/dist/components/report/serverReport/serverGridTable.d.ts +2 -0
- package/dist/components/report/types.d.ts +1 -0
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { GridMetaDataType, ActionTypes } from "./types";
|
|
3
|
+
import { SxProps } from "@mui/material";
|
|
3
4
|
interface GridWrapperPropsType {
|
|
4
5
|
gridCode: any;
|
|
5
6
|
getGridData: any;
|
|
@@ -15,6 +16,7 @@ interface GridWrapperPropsType {
|
|
|
15
16
|
reportTemplateCode?: string;
|
|
16
17
|
variant?: "standard" | "contained" | "outlined";
|
|
17
18
|
autoFetch?: boolean;
|
|
19
|
+
headerToolbarStyle?: SxProps;
|
|
18
20
|
}
|
|
19
21
|
export declare const GridWrapper: React.ForwardRefExoticComponent<GridWrapperPropsType & React.RefAttributes<any>>;
|
|
20
22
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
2
|
import { FormProps } from "./types";
|
|
3
3
|
export declare const SimpleForm: FC<FormProps>;
|
|
4
|
-
export declare const SimpleFormWrapper: ({ fields, formRenderConfig, formName, formStyle, hidden, formDisplayLabel, displayMode, hideDisplayModeInTitle, wrapperChild, serverSentError, serverSentErrorDetail, isSubmitting, classes, handleSubmit, controlsAtBottom, hideHeader, containerstyle, subHeaderLabel, subHeaderLabelStyle, }: {
|
|
4
|
+
export declare const SimpleFormWrapper: ({ fields, formRenderConfig, formName, formStyle, hidden, formDisplayLabel, displayMode, hideDisplayModeInTitle, wrapperChild, serverSentError, serverSentErrorDetail, isSubmitting, classes, handleSubmit, controlsAtBottom, hideHeader, containerstyle, subHeaderLabel, subHeaderLabelStyle, formHeaderStyle, }: {
|
|
5
5
|
fields: any;
|
|
6
6
|
formRenderConfig: any;
|
|
7
7
|
formName: any;
|
|
@@ -21,6 +21,7 @@ export declare const SimpleFormWrapper: ({ fields, formRenderConfig, formName, f
|
|
|
21
21
|
containerstyle?: {} | undefined;
|
|
22
22
|
subHeaderLabel: any;
|
|
23
23
|
subHeaderLabelStyle: any;
|
|
24
|
+
formHeaderStyle: any;
|
|
24
25
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
25
26
|
export declare const BottomControl: ({ wrapperChild, isSubmitting, handleSubmit, classes, }: {
|
|
26
27
|
wrapperChild: any;
|
|
@@ -28,7 +29,7 @@ export declare const BottomControl: ({ wrapperChild, isSubmitting, handleSubmit,
|
|
|
28
29
|
handleSubmit: any;
|
|
29
30
|
classes: any;
|
|
30
31
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
31
|
-
export declare const SimpleFormTitle: ({ formDisplayLabel, displayMode, hideDisplayModeInTitle, wrapperChild, serverSentError, serverSentErrorDetail, isSubmitting, classes, handleSubmit, controlsAtBottom, subHeaderLabel, subHeaderLabelStyle, }: {
|
|
32
|
+
export declare const SimpleFormTitle: ({ formDisplayLabel, displayMode, hideDisplayModeInTitle, wrapperChild, serverSentError, serverSentErrorDetail, isSubmitting, classes, handleSubmit, controlsAtBottom, subHeaderLabel, subHeaderLabelStyle, formHeaderStyle, }: {
|
|
32
33
|
formDisplayLabel: any;
|
|
33
34
|
displayMode: any;
|
|
34
35
|
hideDisplayModeInTitle: any;
|
|
@@ -41,4 +42,5 @@ export declare const SimpleFormTitle: ({ formDisplayLabel, displayMode, hideDisp
|
|
|
41
42
|
controlsAtBottom: any;
|
|
42
43
|
subHeaderLabel: any;
|
|
43
44
|
subHeaderLabelStyle: any;
|
|
45
|
+
formHeaderStyle: any;
|
|
44
46
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const TabsFormWrapper: ({ fields, formRenderConfig, formName, children, formStyle, hidden, formDisplayLabel, displayMode, hideDisplayModeInTitle, wrapperChild, serverSentError, serverSentErrorDetail, isSubmitting, classes, handleSubmit, defaultActiveStep, hideHeader, }: {
|
|
1
|
+
export declare const TabsFormWrapper: ({ fields, formRenderConfig, formName, children, formStyle, hidden, formDisplayLabel, displayMode, hideDisplayModeInTitle, wrapperChild, serverSentError, serverSentErrorDetail, isSubmitting, classes, handleSubmit, defaultActiveStep, hideHeader, formHeaderStyle, }: {
|
|
2
2
|
fields: any;
|
|
3
3
|
formRenderConfig: any;
|
|
4
4
|
formName: any;
|
|
@@ -16,8 +16,9 @@ export declare const TabsFormWrapper: ({ fields, formRenderConfig, formName, chi
|
|
|
16
16
|
handleSubmit: any;
|
|
17
17
|
defaultActiveStep?: number | undefined;
|
|
18
18
|
hideHeader?: boolean | undefined;
|
|
19
|
+
formHeaderStyle: any;
|
|
19
20
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
export declare const TabsFormTitle: ({ formDisplayLabel, displayMode, hideDisplayModeInTitle, wrapperChild, serverSentError, serverSentErrorDetail, isSubmitting, classes, handleSubmit, }: {
|
|
21
|
+
export declare const TabsFormTitle: ({ formDisplayLabel, displayMode, hideDisplayModeInTitle, wrapperChild, serverSentError, serverSentErrorDetail, isSubmitting, classes, handleSubmit, formHeaderStyle, }: {
|
|
21
22
|
formDisplayLabel: any;
|
|
22
23
|
displayMode: any;
|
|
23
24
|
hideDisplayModeInTitle: any;
|
|
@@ -27,6 +28,7 @@ export declare const TabsFormTitle: ({ formDisplayLabel, displayMode, hideDispla
|
|
|
27
28
|
isSubmitting: any;
|
|
28
29
|
classes: any;
|
|
29
30
|
handleSubmit: any;
|
|
31
|
+
formHeaderStyle: any;
|
|
30
32
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
31
33
|
export declare const TabsRenderer: ({ fields, formName, fieldGroups, formRenderConfig, activeStep, setActiveStep, }: {
|
|
32
34
|
fields: any;
|
|
@@ -33,5 +33,6 @@ export interface MasterDetailsArgumentType {
|
|
|
33
33
|
hideDisplayModeInTitle?: boolean;
|
|
34
34
|
headerToolbarStyle?: SxProps;
|
|
35
35
|
refetchData?: any;
|
|
36
|
+
formHeaderStyle?: SxProps;
|
|
36
37
|
}
|
|
37
38
|
export declare const MasterDetailsForm: import("react").ForwardRefExoticComponent<MasterDetailsArgumentType & import("react").RefAttributes<any>>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { SxProps } from "@mui/material";
|
|
2
3
|
import { currencySymbol } from "components/custom/getCurrencySymbol";
|
|
3
4
|
import { RetrievalParametersProps } from "components/report/types";
|
|
4
5
|
export interface GroupReportColumnMeta {
|
|
@@ -39,6 +40,7 @@ export interface LayoutReportTypes {
|
|
|
39
40
|
onClose?: VoidFunction;
|
|
40
41
|
allowRefetch?: boolean;
|
|
41
42
|
onDoubleClickAction?: Function;
|
|
43
|
+
headerToolbarStyle?: SxProps;
|
|
42
44
|
}
|
|
43
45
|
export interface GroupRowType {
|
|
44
46
|
group: any;
|
|
@@ -53,6 +53,7 @@ interface GridTableType {
|
|
|
53
53
|
}[];
|
|
54
54
|
getReportData?: (filters: any[], queryFilters: any, globalFilter: string | undefined, originalData: any, filteredData: any) => void;
|
|
55
55
|
disableFilters?: boolean;
|
|
56
|
+
headerToolbarStyle?: SxProps;
|
|
56
57
|
}
|
|
57
58
|
export declare const GridTable: FC<GridTableType>;
|
|
58
59
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import { SxProps } from "@mui/material";
|
|
2
3
|
type TReportWrapper = {
|
|
3
4
|
reportID: string;
|
|
4
5
|
reportName: string;
|
|
@@ -11,6 +12,7 @@ type TReportWrapper = {
|
|
|
11
12
|
onDoubleClickAction?: Function;
|
|
12
13
|
disableFilters?: boolean;
|
|
13
14
|
options?: Record<PropertyKey, any>;
|
|
15
|
+
headerToolbarStyle?: SxProps;
|
|
14
16
|
};
|
|
15
17
|
export declare const ReportWrapper: React.FC<TReportWrapper>;
|
|
16
18
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
+
import { SxProps } from "@mui/material/styles";
|
|
2
3
|
interface GridTableType {
|
|
3
4
|
columns: any;
|
|
4
5
|
defaultColumn: any;
|
|
@@ -43,6 +44,7 @@ interface GridTableType {
|
|
|
43
44
|
onDoubleClickAction?: Function;
|
|
44
45
|
defaultFilter?: any;
|
|
45
46
|
disableFilters?: boolean;
|
|
47
|
+
headerToolbarStyle?: SxProps;
|
|
46
48
|
}
|
|
47
49
|
export declare const GridTable: FC<GridTableType>;
|
|
48
50
|
export {};
|