@micromerce/formbuilder-react 1.0.979 → 1.0.980

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.
Files changed (45) hide show
  1. package/dist/assets/icons/error/Error.d.ts +2 -1
  2. package/dist/components/ControlWrapper/ControlWrapper.d.ts +1 -1
  3. package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +1 -1
  4. package/dist/components/FormBuilder/FormBuilder.d.ts +1 -1
  5. package/dist/components/FormFooter/FormFooter.d.ts +1 -1
  6. package/dist/components/FormGroup/FormGroup.d.ts +1 -1
  7. package/dist/components/FormList/FormList.d.ts +2 -1
  8. package/dist/components/QueryControl/QueryControl.d.ts +2 -1
  9. package/dist/components/QueryControl/ui-helper/Wrapper/QueryControlWrapper.d.ts +1 -1
  10. package/dist/components/QueryControl/ui-helper/Wrapper/QueryControlWrapper.styles.d.ts +3 -1
  11. package/dist/components/QueryControl/utils/getMatchingControls.d.ts +1 -1
  12. package/dist/components/controls/Checkbox/Checkbox.d.ts +2 -2
  13. package/dist/components/controls/DateRangeGroup/DateRangeGroup.d.ts +2 -1
  14. package/dist/components/controls/DateRangeGroup/DateRangeGroup.styles.d.ts +11 -3
  15. package/dist/components/controls/DateRangeGroup/components/CalendarModal.d.ts +2 -1
  16. package/dist/components/controls/FileUploader/FileUploader.d.ts +2 -1
  17. package/dist/components/controls/Input/Input.d.ts +2 -2
  18. package/dist/components/controls/Input/input.styles.d.ts +12 -4
  19. package/dist/components/controls/InputFreeSolo/InputFreeSolo.d.ts +2 -2
  20. package/dist/components/controls/MrnInput/MrnInput.d.ts +2 -1
  21. package/dist/components/controls/MrnInput/ui-helper/Link/Link.d.ts +2 -2
  22. package/dist/components/controls/MultiSelect/MultiSelect.d.ts +2 -2
  23. package/dist/components/controls/PasswordInput/PasswordInput.d.ts +2 -2
  24. package/dist/components/controls/Select/Select.d.ts +2 -2
  25. package/dist/components/controls/Textarea/Textarea.d.ts +2 -2
  26. package/dist/components/controls/Textarea/aiWrapper/aiAction.d.ts +2 -1
  27. package/dist/components/controls/Textarea/aiWrapper/aiLayout.d.ts +2 -1
  28. package/dist/components/controls/Textarea/aiWrapper/index.d.ts +1 -1
  29. package/dist/components/controls/Textarea/editors/Default/Default.d.ts +2 -2
  30. package/dist/components/controls/TrafficLightCardSelect/TrafficLightCardSelect.d.ts +2 -1
  31. package/dist/components/groups/AddressGroup/AddressGroup.d.ts +2 -1
  32. package/dist/components/groups/Group/Group.d.ts +2 -1
  33. package/dist/components/states/error/index.d.ts +2 -1
  34. package/dist/formbuilder.js +123 -100
  35. package/dist/formbuilder.js.LICENSE.txt +2 -2
  36. package/dist/formbuilder.js.map +1 -1
  37. package/dist/styles/Hidden.styles.d.ts +6 -2
  38. package/dist/ui/menu/index.d.ts +1 -1
  39. package/dist/ui/menu/test/createControl.d.ts +2 -2
  40. package/dist/ui-helper/HeaderCollapseButton/index.d.ts +2 -1
  41. package/dist/ui-helper/notifications/Error.d.ts +2 -1
  42. package/dist/ui-helper/notifications/images/background.d.ts +2 -1
  43. package/dist/ui-helper/notifications/images/spinner.d.ts +2 -1
  44. package/dist/ui-helper/notifications/images/under-improvement.d.ts +2 -1
  45. package/package.json +77 -83
@@ -1,2 +1,3 @@
1
- declare const Error: () => import("react/jsx-runtime").JSX.Element;
1
+ import React from "react";
2
+ declare const Error: () => React.JSX.Element;
2
3
  export default Error;
@@ -7,5 +7,5 @@ interface IWrapperProps {
7
7
  config: any;
8
8
  controlProps?: controlProps;
9
9
  }
10
- declare const Wrapper: ({ Control, config, isExpert, hideLabel, controlProps, }: IWrapperProps) => import("react/jsx-runtime").JSX.Element;
10
+ declare const Wrapper: ({ Control, config, isExpert, hideLabel, controlProps, }: IWrapperProps) => React.JSX.Element;
11
11
  export default Wrapper;
@@ -11,6 +11,6 @@ declare class ErrorBoundary extends Component<Props, State> {
11
11
  state: State;
12
12
  static getDerivedStateFromError(error: Error): State;
13
13
  componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
14
- render(): string | number | boolean | Iterable<React.ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
14
+ render(): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
15
15
  }
16
16
  export default ErrorBoundary;
@@ -19,7 +19,7 @@ export interface IProps {
19
19
  postGenAiMessage?: ({ message, profile, }: PostMessageProps) => Promise<PostMessageResponse>;
20
20
  onChange?: (fieldId: string, value: string | string[]) => void;
21
21
  }
22
- declare const FormBuilder: ({ config, controlProps, customControls, fileUploaderConfig, iconType, state, resolveUrl, onSubmit, onValidationFail, postGenAiMessage, onChange, }: IProps) => import("react/jsx-runtime").JSX.Element | undefined;
22
+ declare const FormBuilder: ({ config, controlProps, customControls, fileUploaderConfig, iconType, state, resolveUrl, onSubmit, onValidationFail, postGenAiMessage, onChange, }: IProps) => React.JSX.Element | undefined;
23
23
  interface FormProps {
24
24
  method: string;
25
25
  formSubmitted: boolean;
@@ -11,5 +11,5 @@ export interface IProps {
11
11
  export interface IIcon {
12
12
  [key: string]: React.ReactNode;
13
13
  }
14
- declare const FormFooter: ({ controlProps, error, iconType, loading, onSubmit, }: IProps) => import("react/jsx-runtime").JSX.Element;
14
+ declare const FormFooter: ({ controlProps, error, iconType, loading, onSubmit, }: IProps) => React.JSX.Element;
15
15
  export default FormFooter;
@@ -13,5 +13,5 @@ interface IProps {
13
13
  tooltip?: string;
14
14
  helper?: string;
15
15
  }
16
- declare const FormGroup: ({ controlProps, ...props }: IProps) => import("react/jsx-runtime").JSX.Element;
16
+ declare const FormGroup: ({ controlProps, ...props }: IProps) => React.JSX.Element;
17
17
  export default FormGroup;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { ListFormControl } from "../../types";
2
3
  import type { controlProps } from "../../types/controlProps";
3
4
  export interface IProps {
@@ -8,5 +9,5 @@ export interface IProps {
8
9
  isInRequiredGroup?: boolean;
9
10
  controlProps?: controlProps;
10
11
  }
11
- declare const FormList: ({ ...props }: IProps) => import("react/jsx-runtime").JSX.Element;
12
+ declare const FormList: ({ ...props }: IProps) => React.JSX.Element;
12
13
  export default FormList;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { FormControl } from "../../types";
2
3
  import type { controlProps } from "../../types/controlProps";
3
4
  interface IQueryControl {
@@ -10,5 +11,5 @@ interface IQueryControl {
10
11
  isInGroup?: boolean;
11
12
  controlProps?: controlProps;
12
13
  }
13
- declare const QueryControl: ({ formControl, id, objectPathId, hideLabel, groupIsRequired, isInRequiredGroup, isInGroup, controlProps, }: IQueryControl) => import("react/jsx-runtime").JSX.Element;
14
+ declare const QueryControl: ({ formControl, id, objectPathId, hideLabel, groupIsRequired, isInRequiredGroup, isInGroup, controlProps, }: IQueryControl) => React.JSX.Element;
14
15
  export default QueryControl;
@@ -6,5 +6,5 @@ interface IProps {
6
6
  displayName?: string;
7
7
  hideLabel?: boolean;
8
8
  }
9
- declare const ControlLayoutWrapper: ({ isExpert, isHidden, children, displayName, hideLabel }: IProps) => import("react/jsx-runtime").JSX.Element;
9
+ declare const ControlLayoutWrapper: ({ isExpert, isHidden, children, displayName, hideLabel }: IProps) => React.JSX.Element;
10
10
  export default ControlLayoutWrapper;
@@ -2,5 +2,7 @@ interface StyledQueryControlWrapperProps {
2
2
  isExpert?: boolean;
3
3
  isHidden?: boolean;
4
4
  }
5
- export declare const StyledQueryControlWrapper: import("styled-components").StyledComponent<"div", any, StyledQueryControlWrapperProps, never>;
5
+ export declare const StyledQueryControlWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
6
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
7
+ }, StyledQueryControlWrapperProps>> & string;
6
8
  export {};
@@ -3,7 +3,7 @@ declare const getHighestMatchingControl: (formControl: any, customControls: any,
3
3
  control: any;
4
4
  error?: undefined;
5
5
  } | {
6
- control: ({ onChangeValue, hasClearButton, onClearCallback, controlProps, ...props }: import("../../controls/Input/Input").IProps) => import("react/jsx-runtime").JSX.Element;
6
+ control: ({ onChangeValue, hasClearButton, onClearCallback, controlProps, ...props }: import("../../controls/Input/Input").IProps) => import("react").JSX.Element;
7
7
  error: string;
8
8
  };
9
9
  export default getHighestMatchingControl;
@@ -1,4 +1,4 @@
1
- import { DetailedHTMLProps, InputHTMLAttributes } from "react";
1
+ import React, { DetailedHTMLProps, InputHTMLAttributes } from "react";
2
2
  import { CheckboxFormControl, OnChangeValueType } from "../../../types";
3
3
  export interface IProps extends DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> {
4
4
  control: CheckboxFormControl;
@@ -6,5 +6,5 @@ export interface IProps extends DetailedHTMLProps<InputHTMLAttributes<HTMLInputE
6
6
  objectPathId?: string;
7
7
  onChangeValue: (newProperties: OnChangeValueType) => void;
8
8
  }
9
- declare const EnhancedCheckbox: ({ onChangeValue, ...props }: IProps) => import("react/jsx-runtime").JSX.Element;
9
+ declare const EnhancedCheckbox: ({ onChangeValue, ...props }: IProps) => React.JSX.Element;
10
10
  export default EnhancedCheckbox;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import type { controlProps } from "../../../types/controlProps";
2
3
  import { GroupFormControl } from "../../../types/index";
3
4
  export interface IProps {
@@ -6,5 +7,5 @@ export interface IProps {
6
7
  objectPathId?: string;
7
8
  controlProps?: controlProps;
8
9
  }
9
- declare const DateRangeGroup: ({ controlProps, ...props }: IProps) => import("react/jsx-runtime").JSX.Element;
10
+ declare const DateRangeGroup: ({ controlProps, ...props }: IProps) => React.JSX.Element;
10
11
  export default DateRangeGroup;
@@ -1,3 +1,11 @@
1
- export declare const StyledDateRangeGroupContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export declare const Styledlabel: import("styled-components").StyledComponent<"label", any, {}, never>;
3
- export declare const StyledInput: import("styled-components").StyledComponent<({ onChangeValue, hasClearButton, onClearCallback, controlProps, ...props }: import("../Input/Input").IProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
1
+ export declare const StyledDateRangeGroupContainer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
2
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
3
+ }> & string;
4
+ export declare const Styledlabel: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "style"> & {
5
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
6
+ }> & string;
7
+ export declare const StyledInput: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<Omit<import("../Input/Input").IProps, "ref"> & {
8
+ ref?: ((instance: HTMLInputElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLInputElement> | null | undefined;
9
+ }, "style"> & {
10
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
11
+ }> & string & Omit<({ onChangeValue, hasClearButton, onClearCallback, controlProps, ...props }: import("../Input/Input").IProps) => import("react").JSX.Element, keyof import("react").Component<any, {}, any>>;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  export interface CalendarModalInterface {
2
3
  startDate?: Date;
3
4
  endDate?: Date;
@@ -8,5 +9,5 @@ interface ICalendarModal {
8
9
  from?: string;
9
10
  to?: string;
10
11
  }
11
- declare const CalendarModal: ({ handleDateChange, from, to }: ICalendarModal) => import("react/jsx-runtime").JSX.Element;
12
+ declare const CalendarModal: ({ handleDateChange, from, to }: ICalendarModal) => React.JSX.Element;
12
13
  export default CalendarModal;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { InputFormControl, OnChangeValueType } from "../../../types";
2
3
  export interface IProps {
3
4
  control: InputFormControl;
@@ -5,5 +6,5 @@ export interface IProps {
5
6
  objectPathId?: string;
6
7
  onChangeValue: (newProperties: OnChangeValueType) => void;
7
8
  }
8
- declare const FileUploader: ({ ...props }: IProps) => import("react/jsx-runtime").JSX.Element;
9
+ declare const FileUploader: ({ ...props }: IProps) => React.JSX.Element;
9
10
  export default FileUploader;
@@ -1,4 +1,4 @@
1
- import { DetailedHTMLProps, InputHTMLAttributes } from "react";
1
+ import React, { DetailedHTMLProps, InputHTMLAttributes } from "react";
2
2
  import { InputFormControl, OnChangeValueType } from "../../../types";
3
3
  import type { controlProps } from "../../../types/controlProps";
4
4
  export interface IProps extends DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> {
@@ -10,5 +10,5 @@ export interface IProps extends DetailedHTMLProps<InputHTMLAttributes<HTMLInputE
10
10
  onClearCallback?: () => void;
11
11
  onChangeValue: (newProperties: OnChangeValueType) => void;
12
12
  }
13
- declare const Input: ({ onChangeValue, hasClearButton, onClearCallback, controlProps, ...props }: IProps) => import("react/jsx-runtime").JSX.Element;
13
+ declare const Input: ({ onChangeValue, hasClearButton, onClearCallback, controlProps, ...props }: IProps) => React.JSX.Element;
14
14
  export default Input;
@@ -1,9 +1,17 @@
1
- export declare const StyledInputWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
1
+ export declare const StyledInputWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
2
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
3
+ }> & string;
2
4
  interface StyledClearButtonWrapperInterface {
3
5
  inputValue: string;
4
6
  }
5
- export declare const StyledClearButtonWrapper: import("styled-components").StyledComponent<"div", any, StyledClearButtonWrapperInterface, never>;
6
- export declare const StyledClearButton: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
7
+ export declare const StyledClearButtonWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
8
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
9
+ }, StyledClearButtonWrapperInterface>> & string;
10
+ export declare const StyledClearButton: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("@mui/material").SvgIconOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
11
+ ref?: ((instance: SVGSVGElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<SVGSVGElement> | null | undefined;
12
+ }, "color" | "className" | "style" | "children" | "classes" | "sx" | "fontSize" | "shapeRendering" | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox">, "style"> & {
13
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
14
+ }> & string & Omit<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
7
15
  muiName: string;
8
- }, any, {}, never>;
16
+ }, keyof import("react").Component<any, {}, any>>;
9
17
  export {};
@@ -1,4 +1,4 @@
1
- import { DetailedHTMLProps, InputHTMLAttributes } from "react";
1
+ import React, { DetailedHTMLProps, InputHTMLAttributes } from "react";
2
2
  import { InputFormControl, OnChangeValueType } from "../../../types";
3
3
  export interface IProps extends DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> {
4
4
  id: string;
@@ -6,5 +6,5 @@ export interface IProps extends DetailedHTMLProps<InputHTMLAttributes<HTMLInputE
6
6
  objectPathId?: string;
7
7
  onChangeValue: (newProperties: OnChangeValueType) => void;
8
8
  }
9
- declare const InputFreeSolo: ({ ...props }: IProps) => import("react/jsx-runtime").JSX.Element;
9
+ declare const InputFreeSolo: ({ ...props }: IProps) => React.JSX.Element;
10
10
  export default InputFreeSolo;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { InputFormControl, OnChangeValueType } from "../../../types";
2
3
  import type { controlProps } from "../../../types/controlProps";
3
4
  export interface IProps {
@@ -7,5 +8,5 @@ export interface IProps {
7
8
  objectPathId?: any;
8
9
  onChangeValue: (newProperties: OnChangeValueType, customizer?: (...args: any) => any) => void;
9
10
  }
10
- declare const MrnInput: ({ onChangeValue, controlProps, objectPathId, ...props }: IProps) => import("react/jsx-runtime").JSX.Element;
11
+ declare const MrnInput: ({ onChangeValue, controlProps, objectPathId, ...props }: IProps) => React.JSX.Element;
11
12
  export default MrnInput;
@@ -1,3 +1,3 @@
1
- import { ReactNode } from "react";
2
- declare const Link: (children: ReactNode, mrnRef: string, displayName: string, disableMrnLink: boolean | undefined, params: any) => import("react/jsx-runtime").JSX.Element;
1
+ import React, { ReactNode } from "react";
2
+ declare const Link: (children: ReactNode, mrnRef: string, displayName: string, disableMrnLink: boolean | undefined, params: any) => React.JSX.Element;
3
3
  export default Link;
@@ -1,4 +1,4 @@
1
- import { DetailedHTMLProps, SelectHTMLAttributes } from "react";
1
+ import React, { DetailedHTMLProps, SelectHTMLAttributes } from "react";
2
2
  import { MultiSelectFormControl, OnChangeValueType } from "../../../types";
3
3
  import type { controlProps } from "../../../types/controlProps";
4
4
  export interface MultiSelectOption {
@@ -13,5 +13,5 @@ export interface IProps extends DetailedHTMLProps<SelectHTMLAttributes<HTMLSelec
13
13
  onChangeValue: (newProperties: OnChangeValueType, customizer?: (...args: any) => any) => void;
14
14
  controlProps?: controlProps;
15
15
  }
16
- declare const MultiSelect: ({ onChangeValue, controlProps, id, control }: IProps) => import("react/jsx-runtime").JSX.Element;
16
+ declare const MultiSelect: ({ onChangeValue, controlProps, id, control }: IProps) => React.JSX.Element;
17
17
  export default MultiSelect;
@@ -1,4 +1,4 @@
1
- import { DetailedHTMLProps, InputHTMLAttributes } from "react";
1
+ import React, { DetailedHTMLProps, InputHTMLAttributes } from "react";
2
2
  import type { controlProps } from "../../../types/controlProps";
3
3
  import { InputFormControl, OnChangeValueType } from "../../../types";
4
4
  export interface IProps extends DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> {
@@ -8,5 +8,5 @@ export interface IProps extends DetailedHTMLProps<InputHTMLAttributes<HTMLInputE
8
8
  objectPathId?: string;
9
9
  onChangeValue: (newProperties: OnChangeValueType) => void;
10
10
  }
11
- declare const Password: ({ onChangeValue, controlProps, ...props }: IProps) => import("react/jsx-runtime").JSX.Element;
11
+ declare const Password: ({ onChangeValue, controlProps, ...props }: IProps) => React.JSX.Element;
12
12
  export default Password;
@@ -1,4 +1,4 @@
1
- import { DetailedHTMLProps, SelectHTMLAttributes } from "react";
1
+ import React, { DetailedHTMLProps, SelectHTMLAttributes } from "react";
2
2
  import { OnChangeValueType, SelectFormControl } from "../../../types";
3
3
  import type { controlProps } from "../../../types/controlProps";
4
4
  export interface IProps extends DetailedHTMLProps<SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement> {
@@ -8,5 +8,5 @@ export interface IProps extends DetailedHTMLProps<SelectHTMLAttributes<HTMLSelec
8
8
  objectPathId?: string;
9
9
  onChangeValue: (newProperties: OnChangeValueType) => void;
10
10
  }
11
- declare const Select: ({ onChangeValue, controlProps, ...props }: IProps) => import("react/jsx-runtime").JSX.Element;
11
+ declare const Select: ({ onChangeValue, controlProps, ...props }: IProps) => React.JSX.Element;
12
12
  export default Select;
@@ -1,4 +1,4 @@
1
- import { DetailedHTMLProps, TextareaHTMLAttributes } from "react";
1
+ import React, { DetailedHTMLProps, TextareaHTMLAttributes } from "react";
2
2
  import { OnChangeValueType, TextareaFormControl } from "../../../types";
3
3
  export interface IProps extends DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement> {
4
4
  control: TextareaFormControl;
@@ -6,5 +6,5 @@ export interface IProps extends DetailedHTMLProps<TextareaHTMLAttributes<HTMLTex
6
6
  objectPathId?: string;
7
7
  onChangeValue: (newProperties: OnChangeValueType) => void;
8
8
  }
9
- declare const Textarea: ({ onChangeValue, ...props }: IProps) => import("react/jsx-runtime").JSX.Element;
9
+ declare const Textarea: ({ onChangeValue, ...props }: IProps) => React.JSX.Element;
10
10
  export default Textarea;
@@ -1,4 +1,5 @@
1
1
  import type { GenAiPrompt } from "../../../../types";
2
+ import React from "react";
2
3
  interface AiActionProps {
3
4
  action: GenAiPrompt;
4
5
  objectPathId: string | null;
@@ -7,5 +8,5 @@ interface AiActionProps {
7
8
  index: number;
8
9
  onClick: (prompt: string, profile: string | undefined, index: number) => void;
9
10
  }
10
- declare const AiAction: ({ action, objectPathId, isLoading, isDisabled, index, onClick, }: AiActionProps) => import("react/jsx-runtime").JSX.Element;
11
+ declare const AiAction: ({ action, objectPathId, isLoading, isDisabled, index, onClick, }: AiActionProps) => React.JSX.Element;
11
12
  export default AiAction;
@@ -1,9 +1,10 @@
1
1
  import type { AiWrapperProps } from ".";
2
2
  import type { useAiProps } from "./useAi";
3
3
  import useAi from "./useAi";
4
+ import React from "react";
4
5
  interface AiLayoutProps extends ReturnType<typeof useAi>, Omit<AiWrapperProps, keyof useAiProps> {
5
6
  modalOpen: boolean;
6
7
  handleModalToggle: () => void;
7
8
  }
8
- declare const AiLayout: ({ AiResponseControl, aiActions, inputControl, objectPathId, aiResponse, editedResponseValue, isError, isLoading, loadingActionIndex, modalOpen, handleModalToggle, handleAccept, handleAiActionClick, handleAiResponseChange, handleDiscard, handleBack, handleRetry, fill, }: AiLayoutProps) => import("react/jsx-runtime").JSX.Element;
9
+ declare const AiLayout: ({ AiResponseControl, aiActions, inputControl, objectPathId, aiResponse, editedResponseValue, isError, isLoading, loadingActionIndex, modalOpen, handleModalToggle, handleAccept, handleAiActionClick, handleAiResponseChange, handleDiscard, handleBack, handleRetry, fill, }: AiLayoutProps) => React.JSX.Element;
9
10
  export default AiLayout;
@@ -10,5 +10,5 @@ export interface AiWrapperProps {
10
10
  handleModalToggle: () => void;
11
11
  fill?: FillMode;
12
12
  }
13
- declare const AiWrapper: ({ ...props }: AiWrapperProps) => import("react/jsx-runtime").JSX.Element;
13
+ declare const AiWrapper: ({ ...props }: AiWrapperProps) => React.JSX.Element;
14
14
  export default AiWrapper;
@@ -1,4 +1,4 @@
1
- import { DetailedHTMLProps, TextareaHTMLAttributes } from "react";
1
+ import React, { DetailedHTMLProps, TextareaHTMLAttributes } from "react";
2
2
  import { FillMode, OnChangeValueType, TextareaFormControl } from "../../../../../types";
3
3
  export interface IProps extends DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement> {
4
4
  control?: TextareaFormControl;
@@ -12,5 +12,5 @@ export interface IProps extends DetailedHTMLProps<TextareaHTMLAttributes<HTMLTex
12
12
  fill?: FillMode;
13
13
  isModalFullViewOpen?: boolean;
14
14
  }
15
- declare const DefaultEditor: ({ value, onChange, id, readOnly, control, errorClass, textColor, placeholder, fill, isModalFullViewOpen, }: IProps) => import("react/jsx-runtime").JSX.Element;
15
+ declare const DefaultEditor: ({ value, onChange, id, readOnly, control, errorClass, textColor, placeholder, fill, isModalFullViewOpen, }: IProps) => React.JSX.Element;
16
16
  export default DefaultEditor;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { OnChangeValueType, SelectFormControl } from "../../../types";
2
3
  export interface IProps {
3
4
  id: string;
@@ -5,5 +6,5 @@ export interface IProps {
5
6
  objectPathId?: string;
6
7
  onChangeValue: (newProperties: OnChangeValueType) => void;
7
8
  }
8
- declare const TrafficLightCardSelect: ({ id, control, onChangeValue }: IProps) => import("react/jsx-runtime").JSX.Element;
9
+ declare const TrafficLightCardSelect: ({ id, control, onChangeValue }: IProps) => React.JSX.Element;
9
10
  export default TrafficLightCardSelect;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import type { controlProps } from "../../../types/controlProps";
2
3
  import { GroupFormControl } from "../../../types";
3
4
  export interface IProps {
@@ -11,5 +12,5 @@ export interface IProps {
11
12
  tooltip?: string;
12
13
  helper?: string;
13
14
  }
14
- declare const AddressGroup: ({ id, control, objectPathId, groupIsRequired, isInRequiredGroup, isInGroup, controlProps, tooltip, helper, }: IProps) => import("react/jsx-runtime").JSX.Element;
15
+ declare const AddressGroup: ({ id, control, objectPathId, groupIsRequired, isInRequiredGroup, isInGroup, controlProps, tooltip, helper, }: IProps) => React.JSX.Element;
15
16
  export default AddressGroup;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import type { controlProps } from "../../../types/controlProps";
2
3
  import { GroupFormControl } from "../../../types/index";
3
4
  export interface IProps {
@@ -11,5 +12,5 @@ export interface IProps {
11
12
  tooltip?: string;
12
13
  helper?: string;
13
14
  }
14
- declare const Group: ({ ...props }: IProps) => import("react/jsx-runtime").JSX.Element;
15
+ declare const Group: ({ ...props }: IProps) => React.JSX.Element;
15
16
  export default Group;
@@ -1,5 +1,6 @@
1
+ import React from "react";
1
2
  interface ErrorStateProps {
2
3
  error: string;
3
4
  }
4
- declare const ErrorState: ({ error }: ErrorStateProps) => import("react/jsx-runtime").JSX.Element;
5
+ declare const ErrorState: ({ error }: ErrorStateProps) => React.JSX.Element;
5
6
  export default ErrorState;