@zealicsolutions/web-ui 0.3.221 → 0.3.223

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,7 +21,7 @@ export declare type OrganismContextType = {
21
21
  submitHandler?: (data: {
22
22
  formId: string;
23
23
  data: AnyObject;
24
- }) => void;
24
+ }) => Promise<void>;
25
25
  validations?: PasswordRuleValidation[];
26
26
  editable?: boolean;
27
27
  isFormInEditMode?: boolean;
@@ -21,7 +21,7 @@ export declare type OrganismContextProviderProps = PropsWithChildren<{
21
21
  submitHandler: (data: {
22
22
  formId: string;
23
23
  data: AnyObject;
24
- }) => void;
24
+ }) => Promise<void>;
25
25
  isFormInEditMode: boolean;
26
26
  organismMetadata: AnyObject;
27
27
  isConfigurationMode: boolean;
@@ -1,9 +1,8 @@
1
1
  import { SelectOption } from 'atoms';
2
2
  import { CheckboxInternalConfigProps } from 'atoms/Checkbox/types';
3
- import { ConditionConfig, FormStateType } from 'containers';
3
+ import { ConditionConfig, ConfigurationItemInfo, FormStateType } from 'containers';
4
4
  import { Control, ControllerProps } from 'react-hook-form/dist/types';
5
5
  import type { AnyObject, StylesType } from 'typescript';
6
- import { ConfigurationItemInfo } from 'containers/MoleculeItem';
7
6
  import { FieldLabelsProps } from '../FieldLabels/FieldLabels';
8
7
  export declare type CheckboxesProps = Partial<{
9
8
  checkboxGroupWrapperStyles: StylesType;
@@ -54,7 +54,7 @@ declare const _default: {
54
54
  htmlElementId: string;
55
55
  isTrigger?: boolean | undefined;
56
56
  moleculeId: string;
57
- configurationItemInfo?: any;
57
+ configurationItemInfo?: import("../..").ConfigurationItemInfo | undefined;
58
58
  }>) => JSX.Element | null;
59
59
  };
60
60
  export default _default;