@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,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ArrayField2Props } from "./arrayField2";
|
|
3
3
|
export declare const ArrayFieldStepper: import("react").NamedExoticComponent<ArrayField2Props>;
|
|
4
|
-
export declare const ArrayFieldRow: import("react").MemoExoticComponent<({ row, classes, formState, getAllRowsValues, removeFn, rowIndex, totalRows, fields, currentMetaToObj, componentProps, t, arrayFieldName, isRemoveButton, removeRowFn, disagreeButtonName, agreeButtonName, errorTitle, hideRemoveIconOnSingleRecord, onFormButtonClickHandel, onFormDataChange, isSubmitting, fixedRows, onRowRemove, selectedRowIndex, setSelectedRowIndex, }: any) => import("react/jsx-runtime").JSX.Element>;
|
|
4
|
+
export declare const ArrayFieldRow: import("react").MemoExoticComponent<({ row, classes, formState, getAllRowsValues, removeFn, rowIndex, totalRows, fields, currentMetaToObj, componentProps, t, arrayFieldName, isRemoveButton, removeRowFn, disagreeButtonName, agreeButtonName, errorTitle, hideRemoveIconOnSingleRecord, onFormButtonClickHandel, onFormDataChange, isSubmitting, fixedRows, onRowRemove, selectedRowIndex, setSelectedRowIndex, enableEnterToFocus, focusScopeId, }: any) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -29,9 +29,12 @@ export interface ArrayField2Props {
|
|
|
29
29
|
changeRowOrder?: boolean;
|
|
30
30
|
noRecordMessage?: string;
|
|
31
31
|
hideRemoveIconOnSingleRecord?: boolean;
|
|
32
|
+
enableEnterToFocus?: boolean;
|
|
33
|
+
focusScopeId?: string;
|
|
34
|
+
formState?: any;
|
|
32
35
|
}
|
|
33
36
|
export declare const ArrayField2: FC<ArrayField2Props>;
|
|
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, }: {
|
|
37
|
+
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, enableEnterToFocus, }: {
|
|
35
38
|
row: any;
|
|
36
39
|
getAllRowsValues: any;
|
|
37
40
|
fieldKey: any;
|
|
@@ -57,4 +60,5 @@ export declare const ArrayFieldRow: ({ row, getAllRowsValues, fieldKey, oneRow,
|
|
|
57
60
|
selectedRowIndex: any;
|
|
58
61
|
setSelectedRowIndex: any;
|
|
59
62
|
hideRemoveIconOnSingleRecord: any;
|
|
63
|
+
enableEnterToFocus: any;
|
|
60
64
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -39,10 +39,13 @@ interface AutoCompleteExtendedProps {
|
|
|
39
39
|
listBoxMinWidth?: number | string;
|
|
40
40
|
listBoxMaxWidth?: number | string;
|
|
41
41
|
setValueOnDependentFieldsChange?: any;
|
|
42
|
+
setValueOnDependentFieldsValueChange?: (dependentFields: any, formState: any, valueObj: any) => string | undefined;
|
|
42
43
|
optionsGridColDef?: Record<string, Partial<GridColumnType>>;
|
|
43
44
|
runPostValidationForInitValue?: boolean;
|
|
44
45
|
skipInitialDefaultValueKeyValidation?: boolean;
|
|
45
46
|
filterOptionsCb: (options: any, dep: any, fs: any) => OptionsProps[];
|
|
47
|
+
setColor?: (value: any, dependentFields: any, formState: any) => string;
|
|
48
|
+
customLabelKey?: string;
|
|
46
49
|
}
|
|
47
50
|
type MyAutocompleteProps = Merge<AutocompleteProps<OptionsProps, true, true, true>, AutoCompleteExtendedProps>;
|
|
48
51
|
export type MyAllAutocompleteProps = Merge<MyAutocompleteProps, UseFieldHookProps>;
|
|
@@ -23,6 +23,8 @@ interface MyGridExtendedProps {
|
|
|
23
23
|
placeholder?: string;
|
|
24
24
|
} | null | undefined;
|
|
25
25
|
runPostValidationForInitValue?: boolean;
|
|
26
|
+
setValueOnDependentFieldsValueChange?: (dependentFields: any, formState: any, valueObj: any) => string | undefined;
|
|
27
|
+
setColor?: (value: any, dependentFields: any, formState: any) => string;
|
|
26
28
|
}
|
|
27
29
|
export type MyDataPickerAllProps = Merge<Merge<KeyboardDatePickerPropsSubset, MyGridExtendedProps>, UseFieldHookProps>;
|
|
28
30
|
export declare const MyDatePicker: FC<MyDataPickerAllProps>;
|
|
@@ -18,6 +18,8 @@ interface MyGridExtendedProps {
|
|
|
18
18
|
disablePast?: boolean;
|
|
19
19
|
disableFuture?: boolean;
|
|
20
20
|
runPostValidationForInitValue?: boolean;
|
|
21
|
+
setValueOnDependentFieldsValueChange?: (dependentFields: any, formState: any, valueObj: any) => string | undefined;
|
|
22
|
+
setColor?: (value: any, dependentFields: any, formState: any) => string;
|
|
21
23
|
}
|
|
22
24
|
export type MyDateTimePickerAllProps = Merge<Merge<KeyboardDateTimePickerPropsSubset, MyGridExtendedProps>, UseFieldHookProps>;
|
|
23
25
|
export declare const MyDateTimePicker: FC<MyDateTimePickerAllProps>;
|
|
@@ -13,6 +13,7 @@ interface MyGridExtendedProps {
|
|
|
13
13
|
label: string;
|
|
14
14
|
placeholder?: string;
|
|
15
15
|
} | null | undefined;
|
|
16
|
+
setColor?: (value: any, dependentFields: any, formState: any) => string;
|
|
16
17
|
}
|
|
17
18
|
export type MyTimeTimePickerAllProps = Merge<Merge<KeyboardTimePickerPropsSubset, MyGridExtendedProps>, UseFieldHookProps>;
|
|
18
19
|
export declare const MyTimePicker: FC<MyTimeTimePickerAllProps>;
|
|
@@ -5,6 +5,7 @@ import { GridProps, DividerProps } from "@mui/material";
|
|
|
5
5
|
interface MyGridExtendedProps {
|
|
6
6
|
GridProps?: GridProps;
|
|
7
7
|
setValueOnDependentFieldsChange?: any;
|
|
8
|
+
setValueOnDependentFieldsValueChange?: (dependentFields: any, formState: any) => string | undefined;
|
|
8
9
|
label?: string;
|
|
9
10
|
DividerProps?: DividerProps;
|
|
10
11
|
componentType?: string;
|
|
@@ -18,6 +18,7 @@ interface MyButtonExtendedProps {
|
|
|
18
18
|
endsIcon?: keyof typeof Icons;
|
|
19
19
|
rotateIcon?: string;
|
|
20
20
|
setValueOnDependentFieldsChange?: any;
|
|
21
|
+
setValueOnDependentFieldsValueChange?: (dependentFields: any, formState: any) => string | undefined;
|
|
21
22
|
onFormButtonClickHandel?: any;
|
|
22
23
|
ignoreInSubmit?: (dependentValues: any, formState: any, object: {
|
|
23
24
|
isSubmitting?: boolean;
|
|
@@ -5,6 +5,7 @@ interface MyGridExtendedProps {
|
|
|
5
5
|
GridProps?: GridProps;
|
|
6
6
|
enableGrid: boolean;
|
|
7
7
|
setValueOnDependentFieldsChange?: any;
|
|
8
|
+
setValueOnDependentFieldsValueChange?: (dependentFields: any, formState: any) => string | undefined;
|
|
8
9
|
ignoreInSubmit?: (dependentValues: any, formState: any) => boolean | boolean;
|
|
9
10
|
runPostValidationForInitValue?: boolean;
|
|
10
11
|
}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { IReactToPrintProps } from "react-to-print";
|
|
2
2
|
export interface DefaultChieldData {
|
|
3
3
|
buttonText?: string;
|
|
4
|
+
/**
|
|
5
|
+
* Enable keyboard shortcut (Alt+S) when button text contains "save"
|
|
6
|
+
* @default true
|
|
7
|
+
*/
|
|
8
|
+
enableShortcut?: boolean;
|
|
9
|
+
shortcut?: "alt" | "ctrl" | "shift" | "meta";
|
|
10
|
+
eventKey?: string;
|
|
4
11
|
}
|
|
5
12
|
type PrintAllProps = Merge<DefaultChieldData, IReactToPrintProps>;
|
|
6
|
-
export declare const PrintButton: ({ content, buttonText, ...other }: PrintAllProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare const PrintButton: ({ content, buttonText, enableShortcut, shortcut, eventKey, ...other }: PrintAllProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
14
|
export type Merge<A, B> = {
|
|
8
15
|
[K in keyof A]: K extends keyof B ? B[K] : A[K];
|
|
9
16
|
} & B extends infer O ? {
|
|
@@ -16,6 +16,7 @@ interface extendedFieldProps extends UseFieldHookProps {
|
|
|
16
16
|
defaultOptionLabel?: string;
|
|
17
17
|
enableDefaultOption?: boolean;
|
|
18
18
|
setValueOnDependentFieldsChange?: any;
|
|
19
|
+
setValueOnDependentFieldsValueChange?: (dependentFields: any, formState: any, valueObj: any) => string | undefined;
|
|
19
20
|
}
|
|
20
21
|
type MySelectProps = Merge<TextFieldProps, extendedFieldProps>;
|
|
21
22
|
interface MySelectExtendedProps {
|
|
@@ -37,6 +38,7 @@ interface MySelectExtendedProps {
|
|
|
37
38
|
defaultValueKey?: string;
|
|
38
39
|
runPostValidationForInitValue?: boolean;
|
|
39
40
|
filterOptionsCb?: (options: any, dep: any, fs: any) => OptionsProps[];
|
|
41
|
+
focusScopeId?: string;
|
|
40
42
|
}
|
|
41
43
|
export type MySelectAllProps = Merge<MySelectProps, MySelectExtendedProps>;
|
|
42
44
|
declare const MySelect: FC<MySelectAllProps>;
|
|
@@ -15,7 +15,8 @@ interface MyGridExtendedProps {
|
|
|
15
15
|
CircularProgressProps?: CircularProgressProps;
|
|
16
16
|
enableGrid: boolean;
|
|
17
17
|
setValueOnDependentFieldsChange?: any;
|
|
18
|
-
|
|
18
|
+
setValueOnDependentFieldsValueChange?: (dependentFields: any, formState: any, valueObj: any) => string | undefined;
|
|
19
|
+
setColor?: (value: any, dependentFields: any, formState: any) => string;
|
|
19
20
|
showMaxLength?: boolean;
|
|
20
21
|
allowToggleVisiblity?: boolean;
|
|
21
22
|
startsIcon?: keyof typeof Icons;
|
|
@@ -42,6 +43,7 @@ interface MyGridExtendedProps {
|
|
|
42
43
|
addHandleKeyDownFromExtendedType?: boolean;
|
|
43
44
|
runPostValidationForInitValue?: boolean;
|
|
44
45
|
isCurrencyField?: boolean;
|
|
46
|
+
allowEmojiIcons?: boolean;
|
|
45
47
|
}
|
|
46
48
|
type MyTextFieldAllProps = Merge<TextFieldProps, MyGridExtendedProps>;
|
|
47
49
|
export type MyTextFieldProps = UseFieldHookProps & MyTextFieldAllProps;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DependentValuesType } from "packages/form";
|
|
2
|
+
import { CSSProperties } from "react";
|
|
2
3
|
export type Merge<A, B> = {
|
|
3
4
|
[K in keyof A]: K extends keyof B ? B[K] : A[K];
|
|
4
5
|
} & B extends infer O ? {
|
|
@@ -12,6 +13,7 @@ export interface OptionsProps {
|
|
|
12
13
|
label: string;
|
|
13
14
|
value: any;
|
|
14
15
|
disabled?: boolean;
|
|
16
|
+
style?: CSSProperties;
|
|
15
17
|
}
|
|
16
18
|
export interface dependentOptionsFn {
|
|
17
19
|
(optionsFn?: DependentValuesType, formName?: string): OptionsProps[] | Promise<OptionsProps[]>;
|
|
@@ -8,6 +8,7 @@ export interface AllTypographyProps {
|
|
|
8
8
|
label: string;
|
|
9
9
|
fieldKey: string;
|
|
10
10
|
setValueOnDependentFieldsChange?: Function;
|
|
11
|
+
setValueOnDependentFieldsValueChange?: (dependentFields: any, formState: any) => string | undefined;
|
|
11
12
|
componentType?: string;
|
|
12
13
|
}
|
|
13
14
|
export type MyTypographyAllProps = UseFieldHookProps & AllTypographyProps;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export declare const useOptionsFetcher: (formState: any, options: any, setOptions: any, handleChangeInterceptor: any, dependentValues: any, incomingMessage: any, runValidation: any, whenToRunValidation: any, optionsKey: any, disableCaching: any, setIncomingMessage: any, skipDefaultOption: any, defaultOptionLabel: any, enableDefaultOption: any, setGridProps?: Function | undefined) => {
|
|
2
2
|
loadingOptions: boolean;
|
|
3
|
+
queryError?: boolean | undefined;
|
|
4
|
+
refetchOptions?: Function | undefined;
|
|
3
5
|
};
|
|
4
6
|
/****** ---- */
|
|
5
7
|
export declare const useOptionsFetcherSimple: (options: any, setOptions: any, _optionsKey: any, disableCaching: any, optionsProps: any, skipDefaultOption: any, defaultOptionLabel: any, enableDefaultOption: any) => {
|
|
@@ -113,6 +113,16 @@ export interface CustomProperties {
|
|
|
113
113
|
* @default false
|
|
114
114
|
*/
|
|
115
115
|
disableColumnFilters?: boolean;
|
|
116
|
+
/**
|
|
117
|
+
* Set true to enable focus to next/previous field on pressing enter/shift+enter keys
|
|
118
|
+
* @default false
|
|
119
|
+
*/
|
|
120
|
+
enableEnterToFocus?: boolean;
|
|
121
|
+
/**
|
|
122
|
+
* Refetches options of autocomplete when online
|
|
123
|
+
* @default true
|
|
124
|
+
*/
|
|
125
|
+
refetchOptionsWhenOnline?: boolean;
|
|
116
126
|
}
|
|
117
127
|
interface ContextProps {
|
|
118
128
|
config?: CustomProperties;
|
|
@@ -1,18 +1,22 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface RemarksAPIWrapperProps {
|
|
2
2
|
TitleText: any;
|
|
3
3
|
onActionNo: any;
|
|
4
4
|
onActionYes: any;
|
|
5
|
-
isRequired?: boolean
|
|
6
|
-
isEntertoSubmit?: boolean
|
|
7
|
-
AcceptbuttonLabelText?: string
|
|
8
|
-
CanceltbuttonLabelText?: string
|
|
9
|
-
isLoading?: boolean
|
|
10
|
-
open?: boolean
|
|
11
|
-
label?: string
|
|
12
|
-
placeholder?: string
|
|
13
|
-
defaultValue?: string
|
|
14
|
-
rows
|
|
15
|
-
customRequiredMessage?: string
|
|
16
|
-
maxLength?: number
|
|
17
|
-
showMaxLength?: boolean
|
|
18
|
-
|
|
5
|
+
isRequired?: boolean;
|
|
6
|
+
isEntertoSubmit?: boolean;
|
|
7
|
+
AcceptbuttonLabelText?: string;
|
|
8
|
+
CanceltbuttonLabelText?: string;
|
|
9
|
+
isLoading?: boolean;
|
|
10
|
+
open?: boolean;
|
|
11
|
+
label?: string;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
defaultValue?: string;
|
|
14
|
+
rows?: any;
|
|
15
|
+
customRequiredMessage?: string;
|
|
16
|
+
maxLength?: number;
|
|
17
|
+
showMaxLength?: boolean;
|
|
18
|
+
enableEnterToFocus?: boolean;
|
|
19
|
+
focusScopeId?: string;
|
|
20
|
+
preventSpecialChars?: string | (() => string | null) | null;
|
|
21
|
+
}
|
|
22
|
+
export declare const RemarksAPIWrapper: ({ TitleText, onActionNo, onActionYes, isRequired, isEntertoSubmit, AcceptbuttonLabelText, CanceltbuttonLabelText, isLoading, open, label, placeholder, defaultValue, rows, customRequiredMessage, maxLength, showMaxLength, enableEnterToFocus, focusScopeId, preventSpecialChars, }: RemarksAPIWrapperProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -8,6 +8,8 @@ type TMessageBoxParams = {
|
|
|
8
8
|
buttonNames?: TButtonName[];
|
|
9
9
|
defFocusBtnName?: string;
|
|
10
10
|
loadingBtnName?: string[];
|
|
11
|
+
enableEnterToFocus?: boolean;
|
|
12
|
+
focusScopeId?: string;
|
|
11
13
|
};
|
|
12
14
|
type TPopupContextType = {
|
|
13
15
|
MessageBox: (params: TMessageBoxParams) => Promise<TButtonName> | any;
|
|
@@ -29,6 +31,7 @@ interface ProvidrerProps {
|
|
|
29
31
|
ERROR?: IconConfigType;
|
|
30
32
|
CONFIRM?: IconConfigType;
|
|
31
33
|
};
|
|
34
|
+
enableEnterToFocus?: boolean;
|
|
32
35
|
};
|
|
33
36
|
}
|
|
34
37
|
export declare const PopupContextProvider: React.FC<React.PropsWithChildren<ProvidrerProps>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const PopupMessageAPIWrapper: ({ MessageTitle, Message, onActionYes, onActionNo, rows, open, loading, }: {
|
|
1
|
+
export declare const PopupMessageAPIWrapper: ({ MessageTitle, Message, onActionYes, onActionNo, rows, open, loading, enableEnterToFocus, focusScopeId, }: {
|
|
2
2
|
MessageTitle: any;
|
|
3
3
|
Message: any;
|
|
4
4
|
onActionYes: any;
|
|
@@ -6,4 +6,6 @@ export declare const PopupMessageAPIWrapper: ({ MessageTitle, Message, onActionY
|
|
|
6
6
|
rows: any;
|
|
7
7
|
open?: boolean | undefined;
|
|
8
8
|
loading?: boolean | undefined;
|
|
9
|
+
enableEnterToFocus?: undefined;
|
|
10
|
+
focusScopeId?: string | undefined;
|
|
9
11
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -10,6 +10,8 @@ interface PopupRequestProps {
|
|
|
10
10
|
defFocusBtnName?: string;
|
|
11
11
|
loadingBtnName?: string;
|
|
12
12
|
messageBoxConfig?: any;
|
|
13
|
+
enableEnterToFocus?: boolean;
|
|
14
|
+
focusScopeId?: string;
|
|
13
15
|
}
|
|
14
|
-
export declare const PopupRequestWrapper: ({ MessageTitle, Message, onClickButton, buttonNames, rows, open, loading, icon, defFocusBtnName, loadingBtnName, messageBoxConfig, }: PopupRequestProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare const PopupRequestWrapper: ({ MessageTitle, Message, onClickButton, buttonNames, rows, open, loading, icon, defFocusBtnName, loadingBtnName, messageBoxConfig, enableEnterToFocus, focusScopeId, }: PopupRequestProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
17
|
export {};
|
|
@@ -1,11 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
accessor: string;
|
|
3
|
-
condition: string;
|
|
4
|
-
value: any[] | any;
|
|
5
|
-
}
|
|
6
|
-
export interface SubscriptionType {
|
|
7
|
-
[key: string]: string[] | string | undefined;
|
|
8
|
-
}
|
|
9
|
-
export declare const filterAtom: (param: string) => import("recoil").RecoilState<QueryType | null>;
|
|
10
|
-
export declare const filtersAtom: (param: string) => import("recoil").RecoilState<QueryType[] | null>;
|
|
11
|
-
export declare const subscribeToFilterChange: (param: SubscriptionType) => import("recoil").RecoilValueReadOnly<QueryType[]>;
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useCheckboxColumn: (
|
|
1
|
+
export declare const useCheckboxColumn: (allowRowSelection: any, setContextMenuSelectedRowId: any) => (hooks: any) => void;
|
|
@@ -17,6 +17,13 @@ interface GridWrapperPropsType {
|
|
|
17
17
|
variant?: "standard" | "contained" | "outlined";
|
|
18
18
|
autoFetch?: boolean;
|
|
19
19
|
headerToolbarStyle?: SxProps;
|
|
20
|
+
enableEnterToFocus?: boolean;
|
|
21
|
+
focusScopeId?: string;
|
|
22
|
+
onClickActionEvent?: any;
|
|
23
|
+
handleClickAction?: (event: any, data: any) => void;
|
|
24
|
+
onDataChange?: (data: any[]) => void;
|
|
25
|
+
defaultSelectedRowId?: string | ((gridData: any) => string | null);
|
|
26
|
+
disableMultipleRowSelect?: boolean;
|
|
20
27
|
}
|
|
21
28
|
export declare const GridWrapper: React.ForwardRefExoticComponent<GridWrapperPropsType & React.RefAttributes<any>>;
|
|
22
29
|
export {};
|
|
@@ -5,6 +5,11 @@ interface HeaderCellProps {
|
|
|
5
5
|
rows?: any[];
|
|
6
6
|
loading?: boolean;
|
|
7
7
|
children?: React.ReactNode | any;
|
|
8
|
+
pinnedOffsets?: {
|
|
9
|
+
leftMap: Record<string, number>;
|
|
10
|
+
rightMap: Record<string, number>;
|
|
11
|
+
};
|
|
12
|
+
visibleColumns?: any[];
|
|
8
13
|
}
|
|
9
14
|
export declare const HeaderCellWrapper: React.FC<HeaderCellProps>;
|
|
10
15
|
export {};
|
|
@@ -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" | "
|
|
4
|
+
}, "onChange" | "value" | "defaultValue" | "name" | "color" | "scale" | "size" | "style" | "disabled" | "classes" | "className" | "sx" | "track" | "tabIndex" | "aria-label" | "aria-labelledby" | "aria-valuetext" | "components" | "componentsProps" | "slotProps" | "slots" | "step" | "max" | "min" | "orientation" | "disableSwap" | "getAriaLabel" | "getAriaValueText" | "marks" | "onChangeCommitted" | "shiftStep" | "valueLabelDisplay" | "valueLabelFormat">, "classes"> & import("@mui/styles").StyledComponentProps<"root" | "active" | "track" | "rail" | "thumb" | "valueLabel"> & object>;
|
|
@@ -17,6 +17,7 @@ export interface GridColumnType {
|
|
|
17
17
|
sortDescFirst?: boolean;
|
|
18
18
|
dateFormat?: string;
|
|
19
19
|
actions?: string[] | string;
|
|
20
|
+
disableSorting?: boolean;
|
|
20
21
|
}
|
|
21
22
|
export interface FilterColumnType {
|
|
22
23
|
Filter?: any;
|
|
@@ -43,6 +44,8 @@ export interface GridConfigType {
|
|
|
43
44
|
maxWidth?: number;
|
|
44
45
|
minWidth?: number;
|
|
45
46
|
};
|
|
47
|
+
showUserCode?: boolean;
|
|
48
|
+
setScreenCode?: boolean;
|
|
46
49
|
}
|
|
47
50
|
export interface HeaderFilterType {
|
|
48
51
|
accessor: string;
|
|
@@ -101,6 +104,9 @@ export interface ActionTypes {
|
|
|
101
104
|
* Sets button background color.
|
|
102
105
|
*/
|
|
103
106
|
actionBackground?: string;
|
|
107
|
+
enableShortcut?: boolean;
|
|
108
|
+
shortcut?: "alt" | "ctrl" | "shift" | "meta";
|
|
109
|
+
eventKey?: string;
|
|
104
110
|
}
|
|
105
111
|
export interface RenderActionType {
|
|
106
112
|
actions: ActionTypes[];
|
|
@@ -14,6 +14,7 @@ export declare const attachAlignmentProps: (columns: GridColumnType[]) => ({
|
|
|
14
14
|
sortDescFirst?: boolean | undefined;
|
|
15
15
|
dateFormat?: string | undefined;
|
|
16
16
|
actions?: string | string[] | undefined;
|
|
17
|
+
disableSorting?: boolean | undefined;
|
|
17
18
|
} | {
|
|
18
19
|
cellHeaderAlignment: string;
|
|
19
20
|
TableCellProps: {
|
|
@@ -32,4 +33,5 @@ export declare const attachAlignmentProps: (columns: GridColumnType[]) => ({
|
|
|
32
33
|
sortDescFirst?: boolean | undefined;
|
|
33
34
|
dateFormat?: string | undefined;
|
|
34
35
|
actions?: string | string[] | undefined;
|
|
36
|
+
disableSorting?: boolean | undefined;
|
|
35
37
|
})[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const DataGrid: ({ label, dense, columns, data, loading, getRowId, defaultColumn, allowColumnReordering, disableSorting, defaultHiddenColumns, defaultSortOrder, defaultGroupBy, multipleActions, singleActions, doubleClickAction, alwaysAvailableAction, setGridAction, updateGridData, hideFooter, hideHeader, disableGlobalFilter, disableGroupBy, disableLoader, containerHeight, occupiedHeight, gridProps, pageSizes, defaultPageSize, enablePagination, allowRowSelection, hideNoDataFound, refetchData, hiddenFlag, autoRefreshInterval, allowFilter, filterMeta, allowColumnHiding, defaultFilter, isCusrsorFocused, onButtonActionHandel, controlsAtBottom, actionContextAtBottom, headerToolbarStyle, disableMultipleRowSelect, columnHeaderStyle, variant, enablePaginationInput, defaultSelectedRowId, footerNote, footerNoteStyles, paginationText, searchPlaceholder, enableExport, subGridLabel, hideActionBar, finalMetaData, externalExportState, onExportModalClose, enablePdfPrint, reportTemplateCode, enablePivot, handleClickAction, RenderSubHeader, subHeaderComponentProps, gridPaperProps, }: {
|
|
1
|
+
export declare const DataGrid: ({ label, dense, columns, data, loading, getRowId, defaultColumn, allowColumnReordering, disableSorting, defaultHiddenColumns, defaultSortOrder, defaultGroupBy, multipleActions, singleActions, doubleClickAction, alwaysAvailableAction, setGridAction, updateGridData, hideFooter, hideHeader, disableGlobalFilter, disableGroupBy, disableLoader, containerHeight, occupiedHeight, gridProps, pageSizes, defaultPageSize, enablePagination, allowRowSelection, hideNoDataFound, refetchData, hiddenFlag, autoRefreshInterval, allowFilter, filterMeta, allowColumnHiding, defaultFilter, isCusrsorFocused, onButtonActionHandel, controlsAtBottom, actionContextAtBottom, headerToolbarStyle, disableMultipleRowSelect, columnHeaderStyle, variant, enablePaginationInput, defaultSelectedRowId, footerNote, footerNoteStyles, paginationText, searchPlaceholder, enableExport, subGridLabel, hideActionBar, finalMetaData, externalExportState, onExportModalClose, enablePdfPrint, reportTemplateCode, enablePivot, handleClickAction, RenderSubHeader, subHeaderComponentProps, gridPaperProps, enableEnterToFocus, }: {
|
|
2
2
|
label: any;
|
|
3
3
|
dense: any;
|
|
4
4
|
columns: any;
|
|
@@ -64,4 +64,5 @@ export declare const DataGrid: ({ label, dense, columns, data, loading, getRowId
|
|
|
64
64
|
RenderSubHeader: any;
|
|
65
65
|
subHeaderComponentProps: any;
|
|
66
66
|
gridPaperProps: any;
|
|
67
|
+
enableEnterToFocus: any;
|
|
67
68
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -24,6 +24,17 @@ export interface GridColumnType {
|
|
|
24
24
|
isVisible?: boolean;
|
|
25
25
|
validation?: any;
|
|
26
26
|
showTooltip?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Custom tooltip value shown on hover.
|
|
29
|
+
*
|
|
30
|
+
* If a string is provided, it must be a valid row accessor.
|
|
31
|
+
*
|
|
32
|
+
* If a function is provided, it receives the grid row object and returns a string conditionally.
|
|
33
|
+
*
|
|
34
|
+
* Note: Works if componentType is **default**
|
|
35
|
+
*/
|
|
36
|
+
customTooltipValue?: string | ((row: any) => string);
|
|
37
|
+
tooltipPlacement?: "top-start" | "top" | "top-end" | "left-start" | "left" | "left-end" | "right-start" | "right" | "right-end" | "bottom-start" | "bottom" | "bottom-end";
|
|
27
38
|
schemaValidation?: GridYupSchemaMetaDataType;
|
|
28
39
|
options?: any;
|
|
29
40
|
isPassword?: boolean;
|
|
@@ -154,6 +165,12 @@ export interface GridColumnType {
|
|
|
154
165
|
icon: ReactNode;
|
|
155
166
|
tooltip?: string;
|
|
156
167
|
};
|
|
168
|
+
disableSortBy?: boolean;
|
|
169
|
+
/**
|
|
170
|
+
* prevent input characters in editableTextfield
|
|
171
|
+
*/
|
|
172
|
+
preventSpecialChars?: string | Function | null;
|
|
173
|
+
pinColumn?: "left" | "right";
|
|
157
174
|
}
|
|
158
175
|
export interface GridConfigType {
|
|
159
176
|
dense?: boolean;
|
|
@@ -200,6 +217,8 @@ export interface GridConfigType {
|
|
|
200
217
|
* Set false to prevent auto fetch api for server grid
|
|
201
218
|
*/
|
|
202
219
|
autoFetch?: boolean;
|
|
220
|
+
showUserCode?: boolean;
|
|
221
|
+
setScreenCode?: boolean;
|
|
203
222
|
}
|
|
204
223
|
export interface GridMetaDataType {
|
|
205
224
|
columns: GridColumnType[];
|
|
@@ -211,6 +230,8 @@ export interface GridMetaDataType {
|
|
|
211
230
|
lanTranslate?: any;
|
|
212
231
|
}
|
|
213
232
|
export interface GridWrapperPropTypes {
|
|
233
|
+
focusScopeId?: string;
|
|
234
|
+
enableEnterToFocus?: boolean;
|
|
214
235
|
finalMetaData: GridMetaDataType;
|
|
215
236
|
data: any;
|
|
216
237
|
setData: any;
|
|
@@ -17,6 +17,8 @@ export declare const attachcombinedValidationFns: (columns: GridColumnType[], au
|
|
|
17
17
|
dateFormat?: string | undefined;
|
|
18
18
|
isVisible?: boolean | undefined;
|
|
19
19
|
showTooltip?: boolean | undefined;
|
|
20
|
+
customTooltipValue?: string | ((row: any) => string) | undefined;
|
|
21
|
+
tooltipPlacement?: "bottom" | "left" | "right" | "top" | "bottom-end" | "bottom-start" | "left-end" | "left-start" | "right-end" | "right-start" | "top-end" | "top-start" | undefined;
|
|
20
22
|
options?: any;
|
|
21
23
|
isPassword?: boolean | undefined;
|
|
22
24
|
disableCachingOptions?: boolean | undefined;
|
|
@@ -83,4 +85,7 @@ export declare const attachcombinedValidationFns: (columns: GridColumnType[], au
|
|
|
83
85
|
icon: import("react").ReactNode;
|
|
84
86
|
tooltip?: string | undefined;
|
|
85
87
|
} | undefined;
|
|
88
|
+
disableSortBy?: boolean | undefined;
|
|
89
|
+
preventSpecialChars?: string | Function | null | undefined;
|
|
90
|
+
pinColumn?: "left" | "right" | undefined;
|
|
86
91
|
}[];
|
|
@@ -17,6 +17,8 @@ export declare const attachYupSchemaValidator: (columns: GridColumnType[]) => {
|
|
|
17
17
|
isVisible?: boolean | undefined;
|
|
18
18
|
validation?: any;
|
|
19
19
|
showTooltip?: boolean | undefined;
|
|
20
|
+
customTooltipValue?: string | ((row: any) => string) | undefined;
|
|
21
|
+
tooltipPlacement?: "bottom" | "left" | "right" | "top" | "bottom-end" | "bottom-start" | "left-end" | "left-start" | "right-end" | "right-start" | "top-end" | "top-start" | undefined;
|
|
20
22
|
options?: any;
|
|
21
23
|
isPassword?: boolean | undefined;
|
|
22
24
|
disableCachingOptions?: boolean | undefined;
|
|
@@ -83,4 +85,7 @@ export declare const attachYupSchemaValidator: (columns: GridColumnType[]) => {
|
|
|
83
85
|
icon: import("react").ReactNode;
|
|
84
86
|
tooltip?: string | undefined;
|
|
85
87
|
} | undefined;
|
|
88
|
+
disableSortBy?: boolean | undefined;
|
|
89
|
+
preventSpecialChars?: string | Function | null | undefined;
|
|
90
|
+
pinColumn?: "left" | "right" | undefined;
|
|
86
91
|
}[];
|
package/dist/components/detailPopupGridData/GridDetailsWithHeader/detailsGridWithHeader.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { DetailsGridWithHeaderArguType } from "./type";
|
|
2
2
|
export declare const useDialogStyles: (props?: any) => import("@mui/styles").ClassNameMap<"title" | "topScrollPaper" | "topPaperScrollBody">;
|
|
3
|
-
export declare const DetailsGridWithHeader: ({ metadata, ClosedEventCall, data, HeaderMetaData, HeaderData, ClickEventManage, children, isLoading, isError, ErrorMessage, actions, setData, setCurrentAction, mode, isEditableForm, refID, onSubmit, submitSecondAction, submitSecondButtonName, submitSecondButtonHide, submitSecondLoading, onFieldAction, formComponentPropStyles, dialogProps, }: DetailsGridWithHeaderArguType) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const DetailsGridWithHeader: ({ metadata, ClosedEventCall, data, HeaderMetaData, HeaderData, ClickEventManage, children, isLoading, isError, ErrorMessage, actions, setData, setCurrentAction, mode, isEditableForm, refID, onSubmit, submitSecondAction, submitSecondButtonName, submitSecondButtonHide, submitSecondLoading, onFieldAction, formComponentPropStyles, dialogProps, enableEnterToFocus, focusScopeId, }: DetailsGridWithHeaderArguType) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -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, formHeaderStyle, }: {
|
|
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, validationRunning, }: {
|
|
5
5
|
fields: any;
|
|
6
6
|
formRenderConfig: any;
|
|
7
7
|
formName: any;
|
|
@@ -22,14 +22,16 @@ export declare const SimpleFormWrapper: ({ fields, formRenderConfig, formName, f
|
|
|
22
22
|
subHeaderLabel: any;
|
|
23
23
|
subHeaderLabelStyle: any;
|
|
24
24
|
formHeaderStyle: any;
|
|
25
|
+
validationRunning: any;
|
|
25
26
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
export declare const BottomControl: ({ wrapperChild, isSubmitting, handleSubmit, classes, }: {
|
|
27
|
+
export declare const BottomControl: ({ wrapperChild, isSubmitting, handleSubmit, classes, validationRunning, }: {
|
|
27
28
|
wrapperChild: any;
|
|
28
29
|
isSubmitting: any;
|
|
29
30
|
handleSubmit: any;
|
|
30
31
|
classes: any;
|
|
32
|
+
validationRunning: any;
|
|
31
33
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
export declare const SimpleFormTitle: ({ formDisplayLabel, displayMode, hideDisplayModeInTitle, wrapperChild, serverSentError, serverSentErrorDetail, isSubmitting, classes, handleSubmit, controlsAtBottom, subHeaderLabel, subHeaderLabelStyle, formHeaderStyle, }: {
|
|
34
|
+
export declare const SimpleFormTitle: ({ formDisplayLabel, displayMode, hideDisplayModeInTitle, wrapperChild, serverSentError, serverSentErrorDetail, isSubmitting, classes, handleSubmit, controlsAtBottom, subHeaderLabel, subHeaderLabelStyle, formHeaderStyle, validationRunning, }: {
|
|
33
35
|
formDisplayLabel: any;
|
|
34
36
|
displayMode: any;
|
|
35
37
|
hideDisplayModeInTitle: any;
|
|
@@ -43,4 +45,5 @@ export declare const SimpleFormTitle: ({ formDisplayLabel, displayMode, hideDisp
|
|
|
43
45
|
subHeaderLabel: any;
|
|
44
46
|
subHeaderLabelStyle: any;
|
|
45
47
|
formHeaderStyle: any;
|
|
48
|
+
validationRunning: any;
|
|
46
49
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -36,6 +36,12 @@ export interface UserFlowType {
|
|
|
36
36
|
export interface FormMetaDataType {
|
|
37
37
|
name: string;
|
|
38
38
|
label: string;
|
|
39
|
+
/**
|
|
40
|
+
* Set true to show user code along with form label
|
|
41
|
+
* @default false
|
|
42
|
+
*/
|
|
43
|
+
showUserCode?: boolean;
|
|
44
|
+
setScreenCode?: boolean;
|
|
39
45
|
resetFieldOnUnmount: boolean;
|
|
40
46
|
validationRun: "onBlur" | "onChange" | "all";
|
|
41
47
|
render: FormRenderConfigType;
|
|
@@ -108,7 +114,7 @@ export type ExtendedFieldMetaDataTypeOptional = {
|
|
|
108
114
|
[key: string]: FieldMetaDataTypeOptional;
|
|
109
115
|
};
|
|
110
116
|
export interface RenderFunctionType {
|
|
111
|
-
(fieldObj: FieldMetaDataType, formRenderConfig: FormRenderConfigType, formName: string, componentProps?: ComponentTypeProps): JSX.Element;
|
|
117
|
+
(fieldObj: FieldMetaDataType, formRenderConfig: FormRenderConfigType, formName: string, componentProps?: ComponentTypeProps, focusScopeId?: string): JSX.Element;
|
|
112
118
|
}
|
|
113
119
|
export interface FormWrapperProps {
|
|
114
120
|
metaData: MetaDataType;
|
|
@@ -134,6 +140,14 @@ export interface FormWrapperProps {
|
|
|
134
140
|
subHeaderLabelStyle?: SxProps;
|
|
135
141
|
children?: ReactNode | Function;
|
|
136
142
|
formHeaderStyle?: SxProps;
|
|
143
|
+
enableEnterToFocus?: boolean;
|
|
144
|
+
focusScopeId?: string;
|
|
145
|
+
/**
|
|
146
|
+
* callback to receive running validation of any form field.
|
|
147
|
+
* @param validationRunning for application of custom prop
|
|
148
|
+
* @returns
|
|
149
|
+
*/
|
|
150
|
+
setValidationRunning?: (validationRunning: boolean) => void;
|
|
137
151
|
}
|
|
138
152
|
export interface FormProps {
|
|
139
153
|
fields: GroupWiseRenderedFieldsType;
|
|
@@ -14,7 +14,7 @@ import { AutocompleteProps } from "../../components/common/autocomplete";
|
|
|
14
14
|
import { NumberFormatProps } from "../../components/derived/numberFormat";
|
|
15
15
|
import { PasswordFieldProps } from "../../components/derived/passwordField";
|
|
16
16
|
import { InputMaskProps } from "../../components/derived/inputMask";
|
|
17
|
-
import { ValidateFnType, shouldExcludeFnType } from "../../packages/form";
|
|
17
|
+
import { ValidateFnType, shouldExcludeFnType, showTooltipFnType } from "../../packages/form";
|
|
18
18
|
import { CustomRuleType } from "../../components/utils";
|
|
19
19
|
import { ArrayField2Props } from "../../components/common/arrayField";
|
|
20
20
|
import { TextareaAutosizeFieldProps } from "../../components/common/textarea";
|
|
@@ -39,6 +39,7 @@ export interface FieldMetaData<T> {
|
|
|
39
39
|
validate?: typeof ValidateFnType | CustomRuleType | string;
|
|
40
40
|
shouldExclude?: typeof shouldExcludeFnType | CustomRuleType | Boolean | string;
|
|
41
41
|
isReadOnly?: typeof shouldExcludeFnType | CustomRuleType | Boolean | string;
|
|
42
|
+
showTooltip?: typeof showTooltipFnType | CustomRuleType | string;
|
|
42
43
|
onFormButtonClickHandel?: any;
|
|
43
44
|
FormatProps?: any;
|
|
44
45
|
StartAdornment?: keyof typeof currencySymbol | (string & Record<never, never>);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InitialValuesType } from "packages/form";
|
|
2
2
|
import { FieldMetaDataType } from "../types";
|
|
3
|
-
export declare const constructInitialValue: (fields: FieldMetaDataType[], initialValues?: InitialValuesType, formState?: any, authState?: any) => {};
|
|
3
|
+
export declare const constructInitialValue: (fields: FieldMetaDataType[], initialValues?: InitialValuesType, formState?: any, authState?: any, decimalCount?: number) => {};
|
|
4
4
|
export declare const constructPreviousValues: (fields: FieldMetaDataType[], previousValues?: InitialValuesType) => {};
|
|
5
5
|
export declare const constructInitialValuesForArrayFields: (fields: FieldMetaDataType[], formState?: any, authState?: any) => {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CustomProperties } from "components/context/propertiesConfig/customProperties";
|
|
2
2
|
import { MetaDataType, ExtendedFieldMetaDataTypeOptional } from "../types";
|
|
3
|
-
export declare const extendFieldTypes: (metaData: MetaDataType, extendedTypes: ExtendedFieldMetaDataTypeOptional, lanTranslate?: any, authState?: any, customParameters?: CustomProperties) => MetaDataType;
|
|
3
|
+
export declare const extendFieldTypes: (metaData: MetaDataType, extendedTypes: ExtendedFieldMetaDataTypeOptional, lanTranslate?: any, authState?: any, customParameters?: CustomProperties, formState?: any) => MetaDataType;
|