@acuteinfo/common-base 1.2.35 → 1.2.36

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.
@@ -10,6 +10,7 @@ export declare const useField: ({ fieldKey, name, dependentFields, validate, val
10
10
  setValueAsCB: (val: any) => void;
11
11
  setErrorAsCB: (val: any) => void;
12
12
  setIncomingMessage: (value: any) => void;
13
+ setFilteredOptions: (obj: Record<string, any>[]) => void;
13
14
  runValidation: (mergeObj: any, alwaysRun?: boolean, touchAndValidate?: boolean) => void;
14
15
  dependentValues: DependentValuesType;
15
16
  handleOptionValueExtraData: (data: any) => void;
@@ -34,5 +35,6 @@ export declare const useField: ({ fieldKey, name, dependentFields, validate, val
34
35
  ignoreInSubmit?: boolean | undefined;
35
36
  componentType?: string | undefined;
36
37
  prevValue?: any;
38
+ filteredOptions?: Record<string, any>[] | undefined;
37
39
  };
38
40
  export declare const transformDependentFieldsState: (dependentValues: DependentValuesType) => {};
@@ -56,6 +56,7 @@ export interface FormFieldAtomType {
56
56
  ignoreInSubmit?: boolean;
57
57
  componentType?: string;
58
58
  prevValue?: any;
59
+ filteredOptions?: Record<string, any>[];
59
60
  }
60
61
  export interface DependentValuesType {
61
62
  [key: string]: FormFieldAtomType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acuteinfo/common-base",
3
- "version": "1.2.35",
3
+ "version": "1.2.36",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "react",