@acuteinfo/common-base 1.0.54 → 1.0.56

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.
@@ -34,6 +34,7 @@ interface MyGridExtendedProps {
34
34
  } | null | undefined;
35
35
  label?: string;
36
36
  preventSpecialChars?: string | null;
37
+ handleKeyDown?: (event: any, dependentValues: any, authState: any, formState: any) => void;
37
38
  }
38
39
  type MyTextFieldAllProps = Merge<TextFieldProps, MyGridExtendedProps>;
39
40
  export type MyTextFieldProps = UseFieldHookProps & MyTextFieldAllProps;
@@ -122,5 +122,6 @@ export declare const currencySymbol: {
122
122
  SLL: string;
123
123
  ETB: string;
124
124
  MMK: string;
125
+ BLANK: string;
125
126
  };
126
127
  export declare function getCurrencySymbol(currencyCode: any, sendCodeBack?: boolean): any;
@@ -240,6 +240,12 @@ export interface GridWrapperPropTypes {
240
240
  * @default false
241
241
  */
242
242
  enableExport?: boolean;
243
+ /**
244
+ * Internally Managed: Gets masterDetailsForm field data in grid validation function.
245
+ *
246
+ * **NOT FOR EXTERNAL USE!**
247
+ */
248
+ fieldDataRef?: any;
243
249
  }
244
250
  export interface GridYupSchemaMetaDataType {
245
251
  type: "string" | "number" | "boolean" | "date";
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { GridColumnType } from "../types";
3
- export declare const combineAndRunValidation: (schemaValidation: any, validation: any, authState: any) => (value: any, row: any, prev: any, next: any) => Promise<any>;
4
- export declare const attachcombinedValidationFns: (columns: GridColumnType[], authState: any) => {
3
+ export declare const combineAndRunValidation: (schemaValidation: any, validation: any, authState: any, fieldDataRef: any) => (value: any, row: any, prev: any, next: any) => Promise<any>;
4
+ export declare const attachcombinedValidationFns: (columns: GridColumnType[], authState: any, fieldDataRef: any) => {
5
5
  validation: (value: any, row: any, prev: any, next: any) => Promise<any>;
6
6
  columnName: string;
7
7
  accessor: string;