@acuteinfo/common-base 1.0.32 → 1.0.34
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 +4 -1
- package/dist/components/common/checkbox/checkbox.d.ts +4 -1
- package/dist/components/common/datetime/datePicker.d.ts +4 -1
- package/dist/components/common/datetime/datetimePicker.d.ts +4 -1
- package/dist/components/common/select/select.d.ts +4 -1
- package/dist/components/common/textField/textField.d.ts +4 -1
- package/dist/components/dataTableStatic/types.d.ts +1 -1
- package/dist/components/dataTableStatic/utils/attachCombineValidationFns.d.ts +1 -1
- package/dist/components/dataTableStatic/utils/attachYupSchema.d.ts +1 -1
- package/dist/components/fileUpload/preView.d.ts +4 -0
- package/dist/components/utils/utilFunctions/function.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -25,7 +25,10 @@ interface AutoCompleteExtendedProps {
|
|
|
25
25
|
_optionsKey?: string;
|
|
26
26
|
disableCaching?: boolean;
|
|
27
27
|
disableAdornment?: boolean;
|
|
28
|
-
ignoreInSubmit?:
|
|
28
|
+
ignoreInSubmit?: (dependentValues: any, object: {
|
|
29
|
+
isSubmitting?: boolean;
|
|
30
|
+
value?: string;
|
|
31
|
+
}) => boolean | boolean;
|
|
29
32
|
textFieldStyle?: SxProps;
|
|
30
33
|
setFieldLabel?: (dependentFields?: any, value?: any) => string | null | undefined;
|
|
31
34
|
}
|
|
@@ -16,7 +16,10 @@ interface MyCheckboxExtendedProps {
|
|
|
16
16
|
FormHelperTextProps?: FormHelperTextProps;
|
|
17
17
|
GridProps?: GridProps;
|
|
18
18
|
enableGrid: boolean;
|
|
19
|
-
ignoreInSubmit?:
|
|
19
|
+
ignoreInSubmit?: (dependentValues: any, object: {
|
|
20
|
+
isSubmitting?: boolean;
|
|
21
|
+
value?: string;
|
|
22
|
+
}) => boolean | boolean;
|
|
20
23
|
setFieldLabel?: (dependentFields?: any, value?: any) => string | null | undefined;
|
|
21
24
|
}
|
|
22
25
|
export type MyCheckboxAllProps = Merge<MyCheckboxMixedProps, MyCheckboxExtendedProps>;
|
|
@@ -14,7 +14,10 @@ interface MyGridExtendedProps {
|
|
|
14
14
|
isWorkingDate?: boolean;
|
|
15
15
|
isMaxWorkingDate?: boolean;
|
|
16
16
|
isMinWorkingDate?: boolean;
|
|
17
|
-
ignoreInSubmit?:
|
|
17
|
+
ignoreInSubmit?: (dependentValues: any, object: {
|
|
18
|
+
isSubmitting?: boolean;
|
|
19
|
+
value?: string;
|
|
20
|
+
}) => boolean | boolean;
|
|
18
21
|
setFieldLabel?: (dependentFields?: any, value?: any) => string | null | undefined;
|
|
19
22
|
}
|
|
20
23
|
export type MyDataPickerAllProps = Merge<Merge<KeyboardDatePickerPropsSubset, MyGridExtendedProps>, UseFieldHookProps>;
|
|
@@ -7,7 +7,10 @@ type KeyboardDateTimePickerPropsSubset = Omit<DateTimePickerProps<any>, "onChang
|
|
|
7
7
|
interface MyGridExtendedProps {
|
|
8
8
|
GridProps?: GridProps;
|
|
9
9
|
enableGrid: boolean;
|
|
10
|
-
ignoreInSubmit?:
|
|
10
|
+
ignoreInSubmit?: (dependentValues: any, object: {
|
|
11
|
+
isSubmitting?: boolean;
|
|
12
|
+
value?: string;
|
|
13
|
+
}) => boolean | boolean;
|
|
11
14
|
setFieldLabel?: (dependentFields?: any, value?: any) => string | null | undefined;
|
|
12
15
|
disablePast?: boolean;
|
|
13
16
|
disableFuture?: boolean;
|
|
@@ -24,7 +24,10 @@ interface MySelectExtendedProps {
|
|
|
24
24
|
CircularProgressProps?: CircularProgressProps;
|
|
25
25
|
GridProps?: GridProps;
|
|
26
26
|
enableGrid: boolean;
|
|
27
|
-
ignoreInSubmit?:
|
|
27
|
+
ignoreInSubmit?: (dependentValues: any, object: {
|
|
28
|
+
isSubmitting?: boolean;
|
|
29
|
+
value?: string;
|
|
30
|
+
}) => boolean | boolean;
|
|
28
31
|
AlwaysRunPostValidationSetCrossFieldValues?: AlwaysRunPostValidationSetCrossFieldValuesType | ((dependentFields: any) => AlwaysRunPostValidationSetCrossFieldValuesType);
|
|
29
32
|
setFieldLabel?: (dependentFields?: any, value?: any) => string | null | undefined;
|
|
30
33
|
label?: string;
|
|
@@ -24,7 +24,10 @@ interface MyGridExtendedProps {
|
|
|
24
24
|
textFieldStyle?: SxProps;
|
|
25
25
|
txtTransform?: "uppercase" | "lowercase";
|
|
26
26
|
AlwaysRunPostValidationSetCrossFieldValues?: AlwaysRunPostValidationSetCrossFieldValuesType | ((dependentFields: any) => AlwaysRunPostValidationSetCrossFieldValuesType);
|
|
27
|
-
ignoreInSubmit?:
|
|
27
|
+
ignoreInSubmit?: (dependentValues: any, object: {
|
|
28
|
+
isSubmitting?: boolean;
|
|
29
|
+
value?: string;
|
|
30
|
+
}) => boolean | boolean;
|
|
28
31
|
setFieldLabel?: (dependentFields?: any, value?: any) => string | null | undefined;
|
|
29
32
|
label?: string;
|
|
30
33
|
preventSpecialChars?: string | null;
|
|
@@ -89,7 +89,7 @@ export interface GridColumnType {
|
|
|
89
89
|
* @param index current row index
|
|
90
90
|
* @returns boolean
|
|
91
91
|
*/
|
|
92
|
-
shouldExclude?: (value: string | undefined, original: any,
|
|
92
|
+
shouldExclude?: (value: string | undefined, original: any, optionalPara1?: any, optionalPara2?: any) => boolean;
|
|
93
93
|
/**
|
|
94
94
|
* Sets currency symbol position to start or end for currency component in grid
|
|
95
95
|
* @default "start"
|
|
@@ -65,7 +65,7 @@ export declare const attachcombinedValidationFns: (columns: GridColumnType[], au
|
|
|
65
65
|
totalDecimalCount?: number | undefined;
|
|
66
66
|
disableAdornment?: boolean | undefined;
|
|
67
67
|
setButtonName?: ((value: string | undefined, original: any) => string | undefined) | undefined;
|
|
68
|
-
shouldExclude?: ((value: string | undefined, original: any,
|
|
68
|
+
shouldExclude?: ((value: string | undefined, original: any, optionalPara1?: any, optionalPara2?: any) => boolean) | undefined;
|
|
69
69
|
currencySymbolPosition?: "end" | "start" | undefined;
|
|
70
70
|
showDeleteIconOnly?: boolean | undefined;
|
|
71
71
|
enableColumnSelection?: boolean | undefined;
|
|
@@ -65,7 +65,7 @@ export declare const attachYupSchemaValidator: (columns: GridColumnType[]) => {
|
|
|
65
65
|
totalDecimalCount?: number | undefined;
|
|
66
66
|
disableAdornment?: boolean | undefined;
|
|
67
67
|
setButtonName?: ((value: string | undefined, original: any) => string | undefined) | undefined;
|
|
68
|
-
shouldExclude?: ((value: string | undefined, original: any,
|
|
68
|
+
shouldExclude?: ((value: string | undefined, original: any, optionalPara1?: any, optionalPara2?: any) => boolean) | undefined;
|
|
69
69
|
currencySymbolPosition?: "end" | "start" | undefined;
|
|
70
70
|
showDeleteIconOnly?: boolean | undefined;
|
|
71
71
|
enableColumnSelection?: boolean | undefined;
|
|
@@ -6,7 +6,7 @@ export declare const ChangeJsonValue: (data: any, obj: any) => any;
|
|
|
6
6
|
export declare const convertBlobToBase64: (blob: any) => Promise<any>;
|
|
7
7
|
export declare const getAuthorizeTokenText: (token: any, token_type: any) => string;
|
|
8
8
|
export declare const getCurrentDateinLong: () => number;
|
|
9
|
-
export declare const ValidatePassword: (pwd: any) =>
|
|
9
|
+
export declare const ValidatePassword: (pwd: any) => string;
|
|
10
10
|
export declare const GetAllChieldMenuData: (data: any, isCheckUserCode?: boolean) => any;
|
|
11
11
|
export declare const transformBlobData: (data: any) => any;
|
|
12
12
|
export declare const transformDetailsData: (newData: any, oldData: any) => {
|