@acuteinfo/common-base 1.2.56 → 1.2.58
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/autocomplete/autocomplete.d.ts +1 -0
- package/dist/components/common/datetime/datePicker.d.ts +1 -0
- package/dist/components/common/datetime/datetimePicker.d.ts +1 -0
- package/dist/components/common/datetime/timePicker.d.ts +1 -0
- package/dist/components/common/textField/textField.d.ts +2 -1
- package/dist/components/custom/Remarks.d.ts +1 -1
- package/dist/components/dataTableStatic/types.d.ts +4 -0
- package/dist/components/dataTableStatic/utils/attachCombineValidationFns.d.ts +1 -0
- package/dist/components/dataTableStatic/utils/attachYupSchema.d.ts +1 -0
- package/dist/components/utils/utilFunctions/function.d.ts +3 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/packages/form/src/form.d.ts +2 -1
- package/package.json +3 -3
|
@@ -44,6 +44,7 @@ interface AutoCompleteExtendedProps {
|
|
|
44
44
|
runPostValidationForInitValue?: boolean;
|
|
45
45
|
skipInitialDefaultValueKeyValidation?: boolean;
|
|
46
46
|
filterOptionsCb: (options: any, dep: any, fs: any) => OptionsProps[];
|
|
47
|
+
setColor?: (value: any, dependentFields: any, formState: any) => string;
|
|
47
48
|
}
|
|
48
49
|
type MyAutocompleteProps = Merge<AutocompleteProps<OptionsProps, true, true, true>, AutoCompleteExtendedProps>;
|
|
49
50
|
export type MyAllAutocompleteProps = Merge<MyAutocompleteProps, UseFieldHookProps>;
|
|
@@ -24,6 +24,7 @@ interface MyGridExtendedProps {
|
|
|
24
24
|
} | null | undefined;
|
|
25
25
|
runPostValidationForInitValue?: boolean;
|
|
26
26
|
setValueOnDependentFieldsValueChange?: (dependentFields: any, formState: any, valueObj: any) => string | undefined;
|
|
27
|
+
setColor?: (value: any, dependentFields: any, formState: any) => string;
|
|
27
28
|
}
|
|
28
29
|
export type MyDataPickerAllProps = Merge<Merge<KeyboardDatePickerPropsSubset, MyGridExtendedProps>, UseFieldHookProps>;
|
|
29
30
|
export declare const MyDatePicker: FC<MyDataPickerAllProps>;
|
|
@@ -19,6 +19,7 @@ interface MyGridExtendedProps {
|
|
|
19
19
|
disableFuture?: boolean;
|
|
20
20
|
runPostValidationForInitValue?: boolean;
|
|
21
21
|
setValueOnDependentFieldsValueChange?: (dependentFields: any, formState: any, valueObj: any) => string | undefined;
|
|
22
|
+
setColor?: (value: any, dependentFields: any, formState: any) => string;
|
|
22
23
|
}
|
|
23
24
|
export type MyDateTimePickerAllProps = Merge<Merge<KeyboardDateTimePickerPropsSubset, MyGridExtendedProps>, UseFieldHookProps>;
|
|
24
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>;
|
|
@@ -16,7 +16,7 @@ interface MyGridExtendedProps {
|
|
|
16
16
|
enableGrid: boolean;
|
|
17
17
|
setValueOnDependentFieldsChange?: any;
|
|
18
18
|
setValueOnDependentFieldsValueChange?: (dependentFields: any, formState: any, valueObj: any) => string | undefined;
|
|
19
|
-
setColor?: any;
|
|
19
|
+
setColor?: (value: any, dependentFields: any, formState: any) => string;
|
|
20
20
|
showMaxLength?: boolean;
|
|
21
21
|
allowToggleVisiblity?: boolean;
|
|
22
22
|
startsIcon?: keyof typeof Icons;
|
|
@@ -43,6 +43,7 @@ interface MyGridExtendedProps {
|
|
|
43
43
|
addHandleKeyDownFromExtendedType?: boolean;
|
|
44
44
|
runPostValidationForInitValue?: boolean;
|
|
45
45
|
isCurrencyField?: boolean;
|
|
46
|
+
allowEmojiIcons?: boolean;
|
|
46
47
|
}
|
|
47
48
|
type MyTextFieldAllProps = Merge<TextFieldProps, MyGridExtendedProps>;
|
|
48
49
|
export type MyTextFieldProps = UseFieldHookProps & MyTextFieldAllProps;
|
|
@@ -19,4 +19,4 @@ export interface RemarksAPIWrapperProps {
|
|
|
19
19
|
focusScopeId?: string;
|
|
20
20
|
preventSpecialChars?: string | (() => string | null) | null;
|
|
21
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;
|
|
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;
|
|
@@ -166,6 +166,10 @@ export interface GridColumnType {
|
|
|
166
166
|
tooltip?: string;
|
|
167
167
|
};
|
|
168
168
|
disableSortBy?: boolean;
|
|
169
|
+
/**
|
|
170
|
+
* prevent input characters in editableTextfield
|
|
171
|
+
*/
|
|
172
|
+
preventSpecialChars?: string | Function | null;
|
|
169
173
|
}
|
|
170
174
|
export interface GridConfigType {
|
|
171
175
|
dense?: boolean;
|
|
@@ -50,10 +50,11 @@ export declare const getDependetFieldDataArrayField: (inputData: any) => {};
|
|
|
50
50
|
* Function extracts screen label from menu list data
|
|
51
51
|
* @param path current location's pathname
|
|
52
52
|
* @param data menu list data
|
|
53
|
-
* @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.
|
|
54
55
|
* @returns label as string
|
|
55
56
|
*/
|
|
56
|
-
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;
|
|
57
58
|
/**
|
|
58
59
|
* Function to get the css variables value
|
|
59
60
|
* @param variableName css variable *e.g. "--theme-color1"*
|
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";
|