@acuteinfo/common-base 1.2.38-beta.0 → 1.2.38-beta.10
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/common/arrayField/arrayField-stepper.d.ts +1 -1
- package/dist/components/common/arrayField/arrayField2.d.ts +5 -1
- package/dist/components/common/autocomplete/autocomplete.d.ts +3 -0
- package/dist/components/common/datetime/datePicker.d.ts +2 -0
- package/dist/components/common/datetime/datetimePicker.d.ts +2 -0
- package/dist/components/common/datetime/timePicker.d.ts +1 -0
- package/dist/components/common/divider/divider.d.ts +1 -0
- package/dist/components/common/formbutton/formbutton.d.ts +1 -0
- package/dist/components/common/hidden/hidden.d.ts +1 -0
- package/dist/components/common/printButton/printButton.d.ts +8 -1
- package/dist/components/common/select/select.d.ts +2 -0
- package/dist/components/common/textField/textField.d.ts +3 -1
- package/dist/components/common/types.d.ts +2 -0
- package/dist/components/common/typograhpy/typography.d.ts +1 -0
- package/dist/components/common/utils/optionsFetcher.d.ts +2 -0
- package/dist/components/context/propertiesConfig/customProperties.d.ts +10 -0
- package/dist/components/custom/Remarks.d.ts +19 -15
- package/dist/components/custom/advanceFilter.d.ts +2 -1
- package/dist/components/custom/popupContext.d.ts +3 -0
- package/dist/components/custom/popupMessage.d.ts +3 -1
- package/dist/components/custom/popupReqest.d.ts +3 -1
- package/dist/components/dataTable/atoms/index.d.ts +1 -11
- package/dist/components/dataTable/components/useCheckbox.d.ts +1 -1
- package/dist/components/dataTable/gridWrapper.d.ts +7 -0
- package/dist/components/dataTable/headerCellWrapper.d.ts +5 -0
- package/dist/components/dataTable/styledComponents/slider.d.ts +1 -1
- package/dist/components/dataTable/types.d.ts +6 -0
- package/dist/components/dataTable/utils/attachAlignmentProps.d.ts +2 -0
- package/dist/components/dataTable/utils/attachCellComponentsToMetaData.d.ts +1 -0
- package/dist/components/dataTable/utils/sortColumnBySequence.d.ts +1 -0
- package/dist/components/dataTableStatic/grid.d.ts +2 -1
- package/dist/components/dataTableStatic/types.d.ts +21 -0
- package/dist/components/dataTableStatic/utils/attachCombineValidationFns.d.ts +5 -0
- package/dist/components/dataTableStatic/utils/attachYupSchema.d.ts +5 -0
- package/dist/components/detailPopupGridData/GridDetailsWithHeader/detailsGridWithHeader.d.ts +1 -1
- package/dist/components/detailPopupGridData/GridDetailsWithHeader/type.d.ts +2 -0
- package/dist/components/dynamicForm/simpleForm.d.ts +6 -3
- package/dist/components/dynamicForm/types.d.ts +15 -1
- package/dist/components/dynamicForm/typesFields.d.ts +2 -1
- package/dist/components/dynamicForm/utils/constructINITValues.d.ts +1 -1
- package/dist/components/dynamicForm/utils/extendedFieldTypes.d.ts +1 -1
- package/dist/components/dynamicForm/utils/groupWiserenderer.d.ts +2 -2
- package/dist/components/fileUpload/preView.d.ts +1 -0
- package/dist/components/formcomponent/filterform/type.d.ts +2 -0
- package/dist/components/formcomponent/masterDetails/masterDetailsForm.d.ts +6 -0
- package/dist/components/report/components/dateCell.d.ts +1 -1
- package/dist/components/report/components/footerCell.d.ts +3 -1
- package/dist/components/report/filterComponent/filterComponent.d.ts +2 -1
- package/dist/components/report/gridTable.d.ts +15 -1
- package/dist/components/report/serverReport/ReportWrapper.d.ts +10 -0
- package/dist/components/report/serverReport/serverGridTable.d.ts +14 -0
- package/dist/components/report/types.d.ts +20 -1
- package/dist/components/styledComponent/button/button.d.ts +7 -0
- package/dist/components/utils/reportExport/ReportExportScreen.d.ts +1 -0
- package/dist/components/utils/reportExport/exportFunctions/metaData.d.ts +181 -2
- package/dist/components/utils/utilFunctions/function.d.ts +30 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +19 -19
- package/dist/index.js.map +1 -1
- package/dist/packages/form/src/atoms.d.ts +49 -16
- package/dist/packages/form/src/field.d.ts +5 -3
- package/dist/packages/form/src/fieldArrayStepper.d.ts +0 -1
- package/dist/packages/form/src/form.d.ts +3 -1
- package/dist/packages/form/src/observer.d.ts +1 -1
- package/dist/packages/form/src/types.d.ts +6 -0
- package/dist/pages_audit/common/serverGrid/serverGrid.d.ts +9 -0
- package/package.json +5 -4
- package/rollup.config.mjs +3 -2
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { MetaDataType, GroupWiseRenderedFieldsType } from "../types";
|
|
2
|
-
export declare const renderFieldsByGroup: (metaData: MetaDataType, onFormButtonClickHandel?: any, onFormDataChange?: () => void) => GroupWiseRenderedFieldsType;
|
|
3
|
-
export declare const renderValuesByGroup: (metaData: MetaDataType, onFormButtonClickHandel?: any, onFormDataChange?: () => void) => GroupWiseRenderedFieldsType;
|
|
2
|
+
export declare const renderFieldsByGroup: (metaData: MetaDataType, onFormButtonClickHandel?: any, onFormDataChange?: () => void, focusScopeId?: string) => GroupWiseRenderedFieldsType;
|
|
3
|
+
export declare const renderValuesByGroup: (metaData: MetaDataType, onFormButtonClickHandel?: any, onFormDataChange?: () => void, focusScopeId?: string) => GroupWiseRenderedFieldsType;
|
|
@@ -34,5 +34,11 @@ export interface MasterDetailsArgumentType {
|
|
|
34
34
|
headerToolbarStyle?: SxProps;
|
|
35
35
|
refetchData?: any;
|
|
36
36
|
formHeaderStyle?: SxProps;
|
|
37
|
+
enableEnterToFocus?: boolean;
|
|
38
|
+
focusScopeId?: string;
|
|
39
|
+
handleClickAction?: (event: any, data: any) => void;
|
|
40
|
+
defaultSelectedRowId?: string;
|
|
41
|
+
disableMultipleRowSelect?: boolean;
|
|
42
|
+
setValidationRunning?: (validationRunning: boolean) => void;
|
|
37
43
|
}
|
|
38
44
|
export declare const MasterDetailsForm: import("react").ForwardRefExoticComponent<MasterDetailsArgumentType & import("react").RefAttributes<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const DateCell: (props: any) => string | import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
export declare const DateCell: (props: any) => string | import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export declare const FooterCell: ({ rows, column: { id: columnName, isTotalWithoutCurrency, isTotalWithCurrency, currencyRefColumn, isCurrencyCode, currencySymbolPosition, }, loading, }: {
|
|
1
|
+
export declare const FooterCell: ({ rows, column: { id: columnName, isTotalWithoutCurrency, isTotalWithCurrency, currencyRefColumn, isCurrencyCode, currencySymbolPosition, }, loading, data, ...others }: {
|
|
2
|
+
[x: string]: any;
|
|
2
3
|
rows: any;
|
|
3
4
|
column: {
|
|
4
5
|
id: any;
|
|
@@ -9,6 +10,7 @@ export declare const FooterCell: ({ rows, column: { id: columnName, isTotalWitho
|
|
|
9
10
|
currencySymbolPosition?: string | undefined;
|
|
10
11
|
};
|
|
11
12
|
loading: any;
|
|
13
|
+
data: any;
|
|
12
14
|
}) => string;
|
|
13
15
|
export declare const FooterCell1: ({ rows, column: { id: columnName, isDisplayValueTotal, currencyRefColumn, isCurrencyCode, DisplayValueLabel, }, }: {
|
|
14
16
|
rows: any;
|
|
@@ -4,7 +4,7 @@ export declare const useFilterState: (reducer: any) => {
|
|
|
4
4
|
dispatch: (action: any) => void;
|
|
5
5
|
filterState: import("react").MutableRefObject<object>;
|
|
6
6
|
};
|
|
7
|
-
export declare const FilterComponent: ({ setQueryFilters, filterMeta, filterData, retrievalType, isOpenRetrievalDefault, setShowFilters, setAllFilters, retrievalComponent, }: {
|
|
7
|
+
export declare const FilterComponent: ({ setQueryFilters, filterMeta, filterData, retrievalType, isOpenRetrievalDefault, setShowFilters, setAllFilters, retrievalComponent, retrieveDataShortCut, }: {
|
|
8
8
|
setQueryFilters: any;
|
|
9
9
|
filterMeta: any;
|
|
10
10
|
filterData: any;
|
|
@@ -13,4 +13,5 @@ export declare const FilterComponent: ({ setQueryFilters, filterMeta, filterData
|
|
|
13
13
|
setShowFilters?: ((param?: boolean) => void) | undefined;
|
|
14
14
|
setAllFilters?: ((param: any) => void) | undefined;
|
|
15
15
|
retrievalComponent: any;
|
|
16
|
+
retrieveDataShortCut: any;
|
|
16
17
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -49,11 +49,25 @@ interface GridTableType {
|
|
|
49
49
|
actions?: {
|
|
50
50
|
buttonStyle?: SxProps;
|
|
51
51
|
buttonName: ReactNode;
|
|
52
|
-
callback: (event: any, originalData: any, rows: any) => void;
|
|
52
|
+
callback: (event: any, originalData: any, rows: any, nonGroupedRawRows: any) => void;
|
|
53
|
+
enableShortcut?: boolean;
|
|
54
|
+
shortcut?: "alt" | "ctrl" | "shift" | "meta";
|
|
55
|
+
eventKey?: string;
|
|
56
|
+
hidden?: boolean;
|
|
57
|
+
disabled?: boolean;
|
|
53
58
|
}[];
|
|
54
59
|
getReportData?: (filters: any[], queryFilters: any, globalFilter: string | undefined, originalData: any, filteredData: any) => void;
|
|
55
60
|
disableFilters?: boolean;
|
|
56
61
|
headerToolbarStyle?: SxProps;
|
|
62
|
+
enableEnterToFocus?: boolean;
|
|
63
|
+
expandAllGroupedRows?: boolean;
|
|
64
|
+
retrieveDataShortCut?: {
|
|
65
|
+
enableShortcut?: boolean;
|
|
66
|
+
shortcut?: "alt" | "ctrl" | "shift" | "meta";
|
|
67
|
+
eventKey?: string;
|
|
68
|
+
};
|
|
69
|
+
footerNote?: string;
|
|
70
|
+
footerNoteStyles?: SxProps;
|
|
57
71
|
}
|
|
58
72
|
export declare const GridTable: FC<GridTableType>;
|
|
59
73
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { SxProps } from "@mui/material";
|
|
3
|
+
import { RetrievalParametersProps } from "../types";
|
|
3
4
|
type TReportWrapper = {
|
|
4
5
|
reportID: string;
|
|
5
6
|
reportName: string;
|
|
@@ -13,6 +14,15 @@ type TReportWrapper = {
|
|
|
13
14
|
disableFilters?: boolean;
|
|
14
15
|
options?: Record<PropertyKey, any>;
|
|
15
16
|
headerToolbarStyle?: SxProps;
|
|
17
|
+
enableEnterToFocus?: boolean;
|
|
18
|
+
focusScopeId?: string;
|
|
19
|
+
retrievalComponent?: React.ComponentType<RetrievalParametersProps>;
|
|
20
|
+
title?: string;
|
|
21
|
+
retrieveDataShortCut?: {
|
|
22
|
+
enableShortcut?: boolean;
|
|
23
|
+
shortcut?: "alt" | "ctrl" | "shift" | "meta";
|
|
24
|
+
eventKey?: string;
|
|
25
|
+
};
|
|
16
26
|
};
|
|
17
27
|
export declare const ReportWrapper: React.FC<TReportWrapper>;
|
|
18
28
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
2
|
import { SxProps } from "@mui/material/styles";
|
|
3
|
+
import { RetrievalParametersProps } from "../types";
|
|
3
4
|
interface GridTableType {
|
|
4
5
|
columns: any;
|
|
5
6
|
defaultColumn: any;
|
|
@@ -25,6 +26,7 @@ interface GridTableType {
|
|
|
25
26
|
filterMeta?: any;
|
|
26
27
|
queryFilters?: any;
|
|
27
28
|
hideAmountIn?: boolean;
|
|
29
|
+
retrievalType?: string;
|
|
28
30
|
onButtonActionHandel?: any;
|
|
29
31
|
isOpenRetrievalDefault?: boolean;
|
|
30
32
|
printReferense?: any;
|
|
@@ -45,6 +47,18 @@ interface GridTableType {
|
|
|
45
47
|
defaultFilter?: any;
|
|
46
48
|
disableFilters?: boolean;
|
|
47
49
|
headerToolbarStyle?: SxProps;
|
|
50
|
+
enableEnterToFocus?: boolean;
|
|
51
|
+
retrievalComponent?: React.ComponentType<RetrievalParametersProps>;
|
|
52
|
+
retrievalComponentMeta?: any;
|
|
53
|
+
retrievalFilters?: any;
|
|
54
|
+
setRetrievalFilters?: any;
|
|
55
|
+
retrieveDataShortCut?: {
|
|
56
|
+
enableShortcut?: boolean;
|
|
57
|
+
shortcut?: "alt" | "ctrl" | "shift" | "meta";
|
|
58
|
+
eventKey?: string;
|
|
59
|
+
};
|
|
60
|
+
footerNote: string;
|
|
61
|
+
footerNoteStyles: SxProps;
|
|
48
62
|
}
|
|
49
63
|
export declare const GridTable: FC<GridTableType>;
|
|
50
64
|
export {};
|
|
@@ -101,6 +101,9 @@ export interface ReportColumnsType {
|
|
|
101
101
|
* @default false
|
|
102
102
|
*/
|
|
103
103
|
disableFilters?: boolean;
|
|
104
|
+
canUngroup?: boolean;
|
|
105
|
+
isGroupSum?: boolean;
|
|
106
|
+
customAggregation?: (rows: any, config: any) => string;
|
|
104
107
|
}
|
|
105
108
|
export interface ReportFilterProps {
|
|
106
109
|
accessor: string;
|
|
@@ -149,6 +152,7 @@ export interface ReportMetaDataType {
|
|
|
149
152
|
* @default false
|
|
150
153
|
*/
|
|
151
154
|
disableFilters?: boolean;
|
|
155
|
+
expandAllGroupedRows?: boolean;
|
|
152
156
|
}
|
|
153
157
|
export interface ReportGridProps {
|
|
154
158
|
metaData: any;
|
|
@@ -157,6 +161,8 @@ export interface ReportGridProps {
|
|
|
157
161
|
title: string;
|
|
158
162
|
options?: any;
|
|
159
163
|
hideFooter?: boolean | "Y" | "N";
|
|
164
|
+
footerNote?: string;
|
|
165
|
+
footerNoteStyles?: SxProps;
|
|
160
166
|
showSerialNoColumn?: boolean | "Y" | "N";
|
|
161
167
|
onClose?: Function | null;
|
|
162
168
|
reportName?: string;
|
|
@@ -191,7 +197,12 @@ export interface ReportGridProps {
|
|
|
191
197
|
actions?: {
|
|
192
198
|
buttonStyle?: SxProps;
|
|
193
199
|
buttonName: ReactNode;
|
|
194
|
-
callback: (event: any, originalData: any, rows: any) => void;
|
|
200
|
+
callback: (event: any, originalData: any, rows: any, nonGroupedRawRows: any) => void;
|
|
201
|
+
enableShortcut?: boolean;
|
|
202
|
+
shortcut?: "alt" | "ctrl" | "shift" | "meta";
|
|
203
|
+
eventKey?: string;
|
|
204
|
+
hidden?: boolean;
|
|
205
|
+
disabled?: boolean;
|
|
195
206
|
}[];
|
|
196
207
|
/**
|
|
197
208
|
* The callback function to extract out current report data.
|
|
@@ -209,4 +220,12 @@ export interface ReportGridProps {
|
|
|
209
220
|
*/
|
|
210
221
|
disableFilters?: boolean;
|
|
211
222
|
headerToolbarStyle?: SxProps;
|
|
223
|
+
enableEnterToFocus?: boolean;
|
|
224
|
+
focusScopeId?: string;
|
|
225
|
+
expandAllGroupedRows?: boolean;
|
|
226
|
+
retrieveDataShortCut?: {
|
|
227
|
+
enableShortcut?: boolean;
|
|
228
|
+
shortcut?: "alt" | "ctrl" | "shift" | "meta";
|
|
229
|
+
eventKey?: string;
|
|
230
|
+
};
|
|
212
231
|
}
|
|
@@ -11,6 +11,13 @@ interface AdditionalProps {
|
|
|
11
11
|
* @default false
|
|
12
12
|
*/
|
|
13
13
|
elevate?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Enable keyboard shortcut (Alt+S) when button text contains "save"
|
|
16
|
+
* @default true
|
|
17
|
+
*/
|
|
18
|
+
enableShortcut?: boolean;
|
|
19
|
+
shortcut?: "alt" | "ctrl" | "shift" | "meta";
|
|
20
|
+
eventKey?: string;
|
|
14
21
|
}
|
|
15
22
|
type GradientButtonProps = AdditionalProps & ButtonProps;
|
|
16
23
|
declare const GradientButton: import("react").ForwardRefExoticComponent<Omit<GradientButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,2 +1,181 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export declare const exportReportFormMetaData: {
|
|
2
|
+
form: {
|
|
3
|
+
name: string;
|
|
4
|
+
label: string;
|
|
5
|
+
resetFieldOnUnmount: boolean;
|
|
6
|
+
validationRun: string;
|
|
7
|
+
submitAction: string;
|
|
8
|
+
render: {
|
|
9
|
+
ordering: string;
|
|
10
|
+
renderType: string;
|
|
11
|
+
gridConfig: {
|
|
12
|
+
item: {
|
|
13
|
+
xs: number;
|
|
14
|
+
sm: number;
|
|
15
|
+
md: number;
|
|
16
|
+
};
|
|
17
|
+
container: {
|
|
18
|
+
direction: string;
|
|
19
|
+
spacing: number;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
componentProps: {
|
|
24
|
+
textField: {
|
|
25
|
+
fullWidth: boolean;
|
|
26
|
+
};
|
|
27
|
+
select: {
|
|
28
|
+
fullWidth: boolean;
|
|
29
|
+
};
|
|
30
|
+
datePicker: {
|
|
31
|
+
fullWidth: boolean;
|
|
32
|
+
};
|
|
33
|
+
numberFormat: {
|
|
34
|
+
fullWidth: boolean;
|
|
35
|
+
};
|
|
36
|
+
inputMask: {
|
|
37
|
+
fullWidth: boolean;
|
|
38
|
+
};
|
|
39
|
+
datetimePicker: {
|
|
40
|
+
fullWidth: boolean;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
fields: ({
|
|
45
|
+
render: {
|
|
46
|
+
componentType: string;
|
|
47
|
+
};
|
|
48
|
+
name: string;
|
|
49
|
+
label: string;
|
|
50
|
+
placeholder: string;
|
|
51
|
+
runPostValidationForInitValue: boolean;
|
|
52
|
+
options: never[];
|
|
53
|
+
isFieldFocused: boolean;
|
|
54
|
+
validationRun: string;
|
|
55
|
+
postValidationSetCrossFieldValues: (curr: any, formState: any) => Promise<{
|
|
56
|
+
EXPORT_TYPE?: undefined;
|
|
57
|
+
SHOW_HEADER?: undefined;
|
|
58
|
+
PAGE_SIZE?: undefined;
|
|
59
|
+
ORIENTATION?: undefined;
|
|
60
|
+
} | {
|
|
61
|
+
EXPORT_TYPE: {
|
|
62
|
+
value: any;
|
|
63
|
+
};
|
|
64
|
+
SHOW_HEADER: {
|
|
65
|
+
value: any;
|
|
66
|
+
};
|
|
67
|
+
PAGE_SIZE: {
|
|
68
|
+
value: any;
|
|
69
|
+
};
|
|
70
|
+
ORIENTATION: {
|
|
71
|
+
value: any;
|
|
72
|
+
};
|
|
73
|
+
}>;
|
|
74
|
+
shouldExclude: (_: any, __: any, formState: any) => boolean;
|
|
75
|
+
GridProps: {
|
|
76
|
+
xs: number;
|
|
77
|
+
md: number;
|
|
78
|
+
sm: number;
|
|
79
|
+
};
|
|
80
|
+
required?: undefined;
|
|
81
|
+
defaultValue?: undefined;
|
|
82
|
+
defaultOptionLabel?: undefined;
|
|
83
|
+
schemaValidation?: undefined;
|
|
84
|
+
dependentFields?: undefined;
|
|
85
|
+
ignoreInSubmit?: undefined;
|
|
86
|
+
fullWidth?: undefined;
|
|
87
|
+
} | {
|
|
88
|
+
render: {
|
|
89
|
+
componentType: string;
|
|
90
|
+
};
|
|
91
|
+
name: string;
|
|
92
|
+
label: string;
|
|
93
|
+
required: boolean;
|
|
94
|
+
defaultValue: string;
|
|
95
|
+
defaultOptionLabel: string;
|
|
96
|
+
options: {
|
|
97
|
+
label: string;
|
|
98
|
+
value: string;
|
|
99
|
+
}[];
|
|
100
|
+
validationRun: string;
|
|
101
|
+
postValidationSetCrossFieldValues: (current: any, formState: any) => {};
|
|
102
|
+
schemaValidation: {
|
|
103
|
+
type: string;
|
|
104
|
+
rules: {
|
|
105
|
+
name: string;
|
|
106
|
+
params: string[];
|
|
107
|
+
}[];
|
|
108
|
+
};
|
|
109
|
+
GridProps: {
|
|
110
|
+
xs: number;
|
|
111
|
+
md: number;
|
|
112
|
+
sm: number;
|
|
113
|
+
};
|
|
114
|
+
placeholder?: undefined;
|
|
115
|
+
runPostValidationForInitValue?: undefined;
|
|
116
|
+
isFieldFocused?: undefined;
|
|
117
|
+
shouldExclude?: undefined;
|
|
118
|
+
dependentFields?: undefined;
|
|
119
|
+
ignoreInSubmit?: undefined;
|
|
120
|
+
fullWidth?: undefined;
|
|
121
|
+
} | {
|
|
122
|
+
render: {
|
|
123
|
+
componentType: string;
|
|
124
|
+
};
|
|
125
|
+
name: string;
|
|
126
|
+
label: string;
|
|
127
|
+
defaultValue: string;
|
|
128
|
+
defaultOptionLabel: string;
|
|
129
|
+
dependentFields: string[];
|
|
130
|
+
ignoreInSubmit: (dependentFields: any) => boolean;
|
|
131
|
+
shouldExclude: (_: any, dependentFieldsValues: any, __: any) => boolean;
|
|
132
|
+
options: {
|
|
133
|
+
label: string;
|
|
134
|
+
value: string;
|
|
135
|
+
}[];
|
|
136
|
+
required: boolean;
|
|
137
|
+
schemaValidation: {
|
|
138
|
+
type: string;
|
|
139
|
+
rules: {
|
|
140
|
+
name: string;
|
|
141
|
+
params: string[];
|
|
142
|
+
}[];
|
|
143
|
+
};
|
|
144
|
+
GridProps: {
|
|
145
|
+
xs: number;
|
|
146
|
+
md: number;
|
|
147
|
+
sm: number;
|
|
148
|
+
};
|
|
149
|
+
placeholder?: undefined;
|
|
150
|
+
runPostValidationForInitValue?: undefined;
|
|
151
|
+
isFieldFocused?: undefined;
|
|
152
|
+
validationRun?: undefined;
|
|
153
|
+
postValidationSetCrossFieldValues?: undefined;
|
|
154
|
+
fullWidth?: undefined;
|
|
155
|
+
} | {
|
|
156
|
+
render: {
|
|
157
|
+
componentType: string;
|
|
158
|
+
};
|
|
159
|
+
name: string;
|
|
160
|
+
label: string;
|
|
161
|
+
defaultValue: boolean;
|
|
162
|
+
GridProps: {
|
|
163
|
+
xs: number;
|
|
164
|
+
md: number;
|
|
165
|
+
sm: number;
|
|
166
|
+
};
|
|
167
|
+
fullWidth: boolean;
|
|
168
|
+
dependentFields: string[];
|
|
169
|
+
ignoreInSubmit: (dependentFields: any) => boolean;
|
|
170
|
+
shouldExclude: (_: any, dependentFieldsValues: any, __: any) => boolean;
|
|
171
|
+
placeholder?: undefined;
|
|
172
|
+
runPostValidationForInitValue?: undefined;
|
|
173
|
+
options?: undefined;
|
|
174
|
+
isFieldFocused?: undefined;
|
|
175
|
+
validationRun?: undefined;
|
|
176
|
+
postValidationSetCrossFieldValues?: undefined;
|
|
177
|
+
required?: undefined;
|
|
178
|
+
defaultOptionLabel?: undefined;
|
|
179
|
+
schemaValidation?: undefined;
|
|
180
|
+
})[];
|
|
181
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
export declare const GetMaxCdForDetails: (data: any, keys: any) => number;
|
|
2
3
|
export declare const GetMaxDisplaySequenceCd: (data: any, keys: any) => number;
|
|
3
4
|
export declare const base64toBlob: (b64Data: any, contentType?: string, sliceSize?: number) => Blob;
|
|
@@ -49,13 +50,40 @@ export declare const getDependetFieldDataArrayField: (inputData: any) => {};
|
|
|
49
50
|
* Function extracts screen label from menu list data
|
|
50
51
|
* @param path current location's pathname
|
|
51
52
|
* @param data menu list data
|
|
52
|
-
* @param setScreenCode boolean value to show systemCode with label
|
|
53
|
+
* @param setScreenCode boolean value to show systemCode with label. Default false.
|
|
54
|
+
* @param showUserCode boolean value to show user_code instead of system_code with label. Default false.
|
|
53
55
|
* @returns label as string
|
|
54
56
|
*/
|
|
55
|
-
export declare const getDynamicLabel: (path: string, data: any, setScreenCode?: boolean) => string;
|
|
57
|
+
export declare const getDynamicLabel: (path: string, data: any, setScreenCode?: boolean, showUserCode?: boolean) => string;
|
|
56
58
|
/**
|
|
57
59
|
* Function to get the css variables value
|
|
58
60
|
* @param variableName css variable *e.g. "--theme-color1"*
|
|
59
61
|
* @returns css variable value in string
|
|
60
62
|
*/
|
|
61
63
|
export declare const getCssVariable: (variableName: string) => string;
|
|
64
|
+
/**
|
|
65
|
+
* Enables Enter-to-focus navigation within a form or a scoped group.
|
|
66
|
+
* If `scopeId` is provided, the function searches all elements with
|
|
67
|
+
* `data-scope-id="<scopeId>"` and cycles focus within them.
|
|
68
|
+
* Otherwise, focus is cycled inside the current container only.
|
|
69
|
+
*
|
|
70
|
+
* Moves forward on Enter and backward on Shift+Enter.
|
|
71
|
+
*
|
|
72
|
+
* @param event React keyboard event (Enter key triggers navigation)
|
|
73
|
+
* @param scopeId Optional ID used to target elements with `data-scope-id`
|
|
74
|
+
* @returns void
|
|
75
|
+
*/
|
|
76
|
+
/**
|
|
77
|
+
* Enables Enter-to-focus navigation within a form or a scoped group.
|
|
78
|
+
* If `scopeId` is provided, the function searches all elements with
|
|
79
|
+
* `data-scope-id="<scopeId>"` and cycles focus within them.
|
|
80
|
+
* Otherwise, focus is cycled inside the current container only.
|
|
81
|
+
*
|
|
82
|
+
* Moves forward on Enter and backward on Shift+Enter.
|
|
83
|
+
*
|
|
84
|
+
* @param event React keyboard event (Enter key triggers navigation)
|
|
85
|
+
* @param scopeId Optional ID used to target elements with `data-scope-id`
|
|
86
|
+
* @returns void
|
|
87
|
+
*/
|
|
88
|
+
export declare const handleEnterToFocus: (event: React.KeyboardEvent<HTMLElement>, scopeId?: string) => void;
|
|
89
|
+
export declare const moveToNextField: (isBackward: boolean, scopeId: string | undefined, referenceElement: HTMLElement, fromMenuSelection?: boolean) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -56,6 +56,7 @@ export * from "./components/report/serverReport/ReportWrapper";
|
|
|
56
56
|
export * from "./components/utils/reportExport/context/exportWorkerContext";
|
|
57
57
|
export * from "./components/customNotistack";
|
|
58
58
|
export * from "./components/report/types";
|
|
59
|
+
export { ReportExportScreen, type TReportProps, } from "./components/utils/reportExport/ReportExportScreen";
|
|
59
60
|
export * from "./components/context/propertiesConfig/customProperties";
|
|
60
61
|
export { AuthContextProvider } from "./components/context/authContext/authContext";
|
|
61
62
|
export { AgGridTableWrapper } from "./components/agGridTable";
|