@evoke-platform/ui-components 1.8.2-testing.0 → 1.9.0-dev.1

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 (85) hide show
  1. package/dist/published/components/custom/Form/FormComponents/ObjectComponent/ObjectPropertyInput.js +49 -4
  2. package/dist/published/components/custom/FormV2/FormRenderer.js +19 -16
  3. package/dist/published/components/custom/FormV2/FormRendererContainer.js +16 -4
  4. package/dist/published/components/custom/FormV2/components/AccordionSections.js +30 -29
  5. package/dist/published/components/custom/FormV2/components/FormFieldTypes/CollectionFiles/RepeatableField.js +1 -1
  6. package/dist/published/components/custom/FormV2/components/FormFieldTypes/DocumentFiles/Document.js +1 -2
  7. package/dist/published/components/custom/FormV2/components/FormFieldTypes/UserProperty.js +16 -7
  8. package/dist/published/components/custom/FormV2/components/FormFieldTypes/relatedObjectFiles/ObjectPropertyInput.js +88 -39
  9. package/dist/published/components/custom/FormV2/components/FormSections.js +34 -3
  10. package/dist/published/components/custom/FormV2/components/RecursiveEntryRenderer.js +10 -29
  11. package/dist/published/components/custom/FormV2/components/ValidationFiles/Validation.js +2 -2
  12. package/dist/published/components/custom/FormV2/components/types.d.ts +9 -1
  13. package/dist/published/components/custom/FormV2/components/utils.d.ts +18 -2
  14. package/dist/published/components/custom/FormV2/components/utils.js +163 -1
  15. package/dist/published/components/custom/FormV2/tests/FormRenderer.test.js +211 -2
  16. package/dist/published/components/custom/FormV2/tests/test-data.d.ts +9 -0
  17. package/dist/published/components/custom/FormV2/tests/test-data.js +134 -0
  18. package/dist/published/stories/Accordion.stories.d.ts +36 -4
  19. package/dist/published/stories/Alert.stories.d.ts +2 -4
  20. package/dist/published/stories/AlertTitle.stories.d.ts +2 -4
  21. package/dist/published/stories/Appbar.stories.d.ts +10 -3
  22. package/dist/published/stories/Autocomplete.stories.d.ts +22 -4
  23. package/dist/published/stories/Avatar.stories.d.ts +16 -3
  24. package/dist/published/stories/Backdrop.stories.d.ts +10 -4
  25. package/dist/published/stories/Badge.stories.d.ts +10 -4
  26. package/dist/published/stories/Box.stories.d.ts +2 -3
  27. package/dist/published/stories/Breadcrumbs.stories.d.ts +10 -4
  28. package/dist/published/stories/BuilderGrid.stories.d.ts +54 -5
  29. package/dist/published/stories/Button.stories.d.ts +10 -4
  30. package/dist/published/stories/ButtonGroup.stories.d.ts +10 -4
  31. package/dist/published/stories/Card.stories.d.ts +10 -4
  32. package/dist/published/stories/Checkbox.stories.d.ts +2 -4
  33. package/dist/published/stories/Chip.stories.d.ts +10 -4
  34. package/dist/published/stories/CircularProgress.stories.d.ts +2 -4
  35. package/dist/published/stories/Collapse.stories.d.ts +2 -4
  36. package/dist/published/stories/Container.stories.d.ts +10 -4
  37. package/dist/published/stories/CriteriaBuilder.stories.d.ts +6 -8
  38. package/dist/published/stories/DataGrid.stories.d.ts +40 -4
  39. package/dist/published/stories/DatePicker.stories.d.ts +7 -4
  40. package/dist/published/stories/Dialog.stories.d.ts +2 -4
  41. package/dist/published/stories/Divider.stories.d.ts +10 -4
  42. package/dist/published/stories/Drawer.stories.d.ts +2 -4
  43. package/dist/published/stories/Form.stories.d.ts +4 -5
  44. package/dist/published/stories/FormControl.stories.d.ts +10 -4
  45. package/dist/published/stories/FormControlLabel.stories.d.ts +2 -4
  46. package/dist/published/stories/FormField.stories.d.ts +11 -13
  47. package/dist/published/stories/FormGroup.stories.d.ts +2 -4
  48. package/dist/published/stories/FormHelperText.stories.d.ts +10 -4
  49. package/dist/published/stories/FormLabel.stories.d.ts +10 -4
  50. package/dist/published/stories/FormRenderer.stories.d.ts +69 -6
  51. package/dist/published/stories/FormRendererContainer.stories.d.ts +111 -6
  52. package/dist/published/stories/FormRendererContainer.stories.js +5 -0
  53. package/dist/published/stories/FormRendererData.d.ts +7 -0
  54. package/dist/published/stories/FormRendererData.js +172 -1
  55. package/dist/published/stories/Grid.stories.d.ts +10 -4
  56. package/dist/published/stories/HistoryLog.stories.d.ts +2 -4
  57. package/dist/published/stories/IconButton.stories.d.ts +10 -4
  58. package/dist/published/stories/LinearProgress.stories.d.ts +2 -4
  59. package/dist/published/stories/Link.stories.d.ts +10 -4
  60. package/dist/published/stories/List.stories.d.ts +10 -4
  61. package/dist/published/stories/Menu.stories.d.ts +2 -4
  62. package/dist/published/stories/MenuBar.stories.d.ts +3 -4
  63. package/dist/published/stories/MultiSelect.stories.d.ts +3 -4
  64. package/dist/published/stories/OverflowTextField.stories.d.ts +2 -4
  65. package/dist/published/stories/Palette.stories.d.ts +2 -3
  66. package/dist/published/stories/Paper.stories.d.ts +10 -4
  67. package/dist/published/stories/RadioGroup.stories.d.ts +2 -4
  68. package/dist/published/stories/RepeatableField.stories.d.ts +3 -4
  69. package/dist/published/stories/ResponsiveOverflow.stories.d.ts +3 -4
  70. package/dist/published/stories/RichTextViewer.stories.d.ts +2 -4
  71. package/dist/published/stories/Skeleton.stories.d.ts +10 -4
  72. package/dist/published/stories/Snackbar.stories.d.ts +9 -3
  73. package/dist/published/stories/Stack.stories.d.ts +10 -4
  74. package/dist/published/stories/StaticDatePicker.stories.d.ts +10 -5
  75. package/dist/published/stories/Stepper.stories.d.ts +12 -6
  76. package/dist/published/stories/Switch.stories.d.ts +2 -4
  77. package/dist/published/stories/Table.stories.d.ts +10 -4
  78. package/dist/published/stories/Tabs.stories.d.ts +10 -4
  79. package/dist/published/stories/TextField.stories.d.ts +6 -8
  80. package/dist/published/stories/TimePicker.stories.d.ts +2 -7
  81. package/dist/published/stories/TimePickerSelect.stories.d.ts +4 -6
  82. package/dist/published/stories/ToggleButton.stories.d.ts +10 -4
  83. package/dist/published/stories/Typography.stories.d.ts +2 -4
  84. package/dist/published/stories/sharedMswHandlers.js +5 -1
  85. package/package.json +17 -16
@@ -1,10 +1,8 @@
1
- import { ComponentMeta, ComponentStory } from '@storybook/react';
2
- import React from 'react';
3
1
  import { CriteriaInputProps } from '../components/custom/CriteriaBuilder/CriteriaBuilder';
4
- declare const _default: ComponentMeta<(props: CriteriaInputProps) => React.JSX.Element>;
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, CriteriaInputProps>;
5
3
  export default _default;
6
- export declare const CriteriaBuilderEmpty: ComponentStory<(props: CriteriaInputProps) => React.JSX.Element>;
7
- export declare const CriteriaBuilder: ComponentStory<(props: CriteriaInputProps) => React.JSX.Element>;
8
- export declare const CriteriaBuilderPresetUserID: ComponentStory<(props: CriteriaInputProps) => React.JSX.Element>;
9
- export declare const CriteriaBuilderGroupedPresetValues: ComponentStory<(props: CriteriaInputProps) => React.JSX.Element>;
10
- export declare const CriteriaBuilderRelatedObject: ComponentStory<(props: CriteriaInputProps) => React.JSX.Element>;
4
+ export declare const CriteriaBuilderEmpty: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, CriteriaInputProps>;
5
+ export declare const CriteriaBuilder: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, CriteriaInputProps>;
6
+ export declare const CriteriaBuilderPresetUserID: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, CriteriaInputProps>;
7
+ export declare const CriteriaBuilderGroupedPresetValues: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, CriteriaInputProps>;
8
+ export declare const CriteriaBuilderRelatedObject: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, CriteriaInputProps>;
@@ -1,5 +1,41 @@
1
- import { ComponentMeta, ComponentStory } from '@storybook/react';
2
- import { DataGrid as CustomDataGrid } from '../index';
3
- declare const _default: ComponentMeta<typeof CustomDataGrid>;
1
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, Omit<Partial<import("@mui/x-data-grid/internals").DataGridPropsWithDefaultValues> & import("@mui/x-data-grid/internals").DataGridPropsWithComplexDefaultValueBeforeProcessing & import("@mui/x-data-grid/internals").DataGridPropsWithoutDefaultValue<import("@mui/x-data-grid").GridValidRowModel>, import("@mui/x-data-grid/models/props/DataGridProps").DataGridForcedPropsKey> & {
2
+ pagination?: true | undefined;
3
+ } & {
4
+ onRefresh?: (() => void) | undefined;
5
+ theme?: import("@mui/material/styles/createTheme").Theme | undefined;
6
+ title?: string | undefined;
7
+ bulkAction?: import("../components/custom/DataGrid/DataGrid").BulkAction | undefined;
8
+ filterSettings?: {
9
+ mode: "client" | "server";
10
+ maxRows?: number | undefined;
11
+ filterColumns?: boolean | undefined;
12
+ } | undefined;
13
+ hideSearchbar?: boolean | undefined;
14
+ loadingOptions?: {
15
+ color: string;
16
+ messages?: string[] | undefined;
17
+ } | undefined;
18
+ hideDownload?: boolean | undefined;
19
+ exportFileName?: string | undefined;
20
+ }>;
4
21
  export default _default;
5
- export declare const DataGrid: ComponentStory<typeof CustomDataGrid>;
22
+ export declare const DataGrid: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, Omit<Partial<import("@mui/x-data-grid/internals").DataGridPropsWithDefaultValues> & import("@mui/x-data-grid/internals").DataGridPropsWithComplexDefaultValueBeforeProcessing & import("@mui/x-data-grid/internals").DataGridPropsWithoutDefaultValue<import("@mui/x-data-grid").GridValidRowModel>, import("@mui/x-data-grid/models/props/DataGridProps").DataGridForcedPropsKey> & {
23
+ pagination?: true | undefined;
24
+ } & {
25
+ onRefresh?: (() => void) | undefined;
26
+ theme?: import("@mui/material/styles/createTheme").Theme | undefined;
27
+ title?: string | undefined;
28
+ bulkAction?: import("../components/custom/DataGrid/DataGrid").BulkAction | undefined;
29
+ filterSettings?: {
30
+ mode: "client" | "server";
31
+ maxRows?: number | undefined;
32
+ filterColumns?: boolean | undefined;
33
+ } | undefined;
34
+ hideSearchbar?: boolean | undefined;
35
+ loadingOptions?: {
36
+ color: string;
37
+ messages?: string[] | undefined;
38
+ } | undefined;
39
+ hideDownload?: boolean | undefined;
40
+ exportFileName?: string | undefined;
41
+ }>;
@@ -1,6 +1,9 @@
1
- import { ComponentMeta, ComponentStory } from '@storybook/react';
2
1
  import React from 'react';
3
- import { DatePickerProps } from '../index';
4
- declare const _default: ComponentMeta<(props: DatePickerProps) => React.JSX.Element>;
2
+ import { CalendarDate } from '../index';
3
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, Omit<import("@mui/x-date-pickers").DatePickerProps<string | CalendarDate, CalendarDate>, "renderInput"> & {
4
+ renderInput?: ((props: import("@mui/material").FilledTextFieldProps | import("@mui/material").OutlinedTextFieldProps | import("@mui/material").StandardTextFieldProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) | undefined;
5
+ }>;
5
6
  export default _default;
6
- export declare const DatePicker: ComponentStory<(props: DatePickerProps) => React.JSX.Element>;
7
+ export declare const DatePicker: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, Omit<import("@mui/x-date-pickers").DatePickerProps<string | CalendarDate, CalendarDate>, "renderInput"> & {
8
+ renderInput?: ((props: import("@mui/material").FilledTextFieldProps | import("@mui/material").OutlinedTextFieldProps | import("@mui/material").StandardTextFieldProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) | undefined;
9
+ }>;
@@ -1,6 +1,4 @@
1
1
  import { DialogProps } from '@mui/material';
2
- import { ComponentMeta, ComponentStory } from '@storybook/react';
3
- import React from 'react';
4
- declare const _default: ComponentMeta<(props: DialogProps) => React.JSX.Element>;
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, DialogProps>;
5
3
  export default _default;
6
- export declare const Dialog: ComponentStory<(props: DialogProps) => React.JSX.Element>;
4
+ export declare const Dialog: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, DialogProps>;
@@ -1,6 +1,12 @@
1
- import { DividerProps } from '@mui/material';
2
- import { ComponentMeta, ComponentStory } from '@storybook/react';
3
1
  import React from 'react';
4
- declare const _default: ComponentMeta<(props: DividerProps<"hr", {}>) => React.JSX.Element>;
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("@mui/material").DividerOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "ref"> & {
3
+ ref?: ((instance: HTMLHRElement | null) => void) | React.RefObject<HTMLHRElement> | null | undefined;
4
+ }, "light" | "className" | "style" | "classes" | "children" | "sx" | "variant" | "textAlign" | "orientation" | "absolute" | "flexItem"> & {
5
+ component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
6
+ }>;
5
7
  export default _default;
6
- export declare const Divider: ComponentStory<(props: DividerProps<"hr", {}>) => React.JSX.Element>;
8
+ export declare const Divider: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("@mui/material").DividerOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "ref"> & {
9
+ ref?: ((instance: HTMLHRElement | null) => void) | React.RefObject<HTMLHRElement> | null | undefined;
10
+ }, "light" | "className" | "style" | "classes" | "children" | "sx" | "variant" | "textAlign" | "orientation" | "absolute" | "flexItem"> & {
11
+ component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
12
+ }>;
@@ -1,6 +1,4 @@
1
1
  import { DrawerProps } from '@mui/material';
2
- import { ComponentMeta, ComponentStory } from '@storybook/react';
3
- import React from 'react';
4
- declare const _default: ComponentMeta<(props: DrawerProps) => React.JSX.Element>;
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, DrawerProps>;
5
3
  export default _default;
6
- export declare const Drawer: ComponentStory<(props: DrawerProps) => React.JSX.Element>;
4
+ export declare const Drawer: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, DrawerProps>;
@@ -1,6 +1,5 @@
1
- import { ComponentMeta, ComponentStory } from '@storybook/react';
2
- import { Form } from '../index';
3
- declare const _default: ComponentMeta<typeof Form>;
1
+ import { FormProps } from '../components/custom/Form/Common/Form';
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, FormProps>;
4
3
  export default _default;
5
- export declare const FormWithButtons: ComponentStory<typeof Form>;
6
- export declare const FormWithNoButtons: ComponentStory<typeof Form>;
4
+ export declare const FormWithButtons: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, FormProps>;
5
+ export declare const FormWithNoButtons: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, FormProps>;
@@ -1,6 +1,12 @@
1
- import { FormControlProps } from '@mui/material';
2
- import { ComponentMeta, ComponentStory } from '@storybook/react';
3
1
  import React from 'react';
4
- declare const _default: ComponentMeta<(props: FormControlProps<"div", {}>) => React.JSX.Element>;
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("@mui/material").FormControlOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
+ ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
4
+ }, "color" | "className" | "style" | "classes" | "error" | "children" | "disabled" | "focused" | "required" | "sx" | "margin" | "size" | "variant" | "fullWidth" | "hiddenLabel"> & {
5
+ component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
6
+ }>;
5
7
  export default _default;
6
- export declare const FormControl: ComponentStory<(props: FormControlProps<"div", {}>) => React.JSX.Element>;
8
+ export declare const FormControl: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("@mui/material").FormControlOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
9
+ ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
10
+ }, "color" | "className" | "style" | "classes" | "error" | "children" | "disabled" | "focused" | "required" | "sx" | "margin" | "size" | "variant" | "fullWidth" | "hiddenLabel"> & {
11
+ component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
12
+ }>;
@@ -1,6 +1,4 @@
1
1
  import { FormControlLabelProps } from '@mui/material';
2
- import { ComponentMeta, ComponentStory } from '@storybook/react';
3
- import React from 'react';
4
- declare const _default: ComponentMeta<(props: FormControlLabelProps) => React.JSX.Element>;
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, FormControlLabelProps>;
5
3
  export default _default;
6
- export declare const FormControlLabel: ComponentStory<(props: FormControlLabelProps) => React.JSX.Element>;
4
+ export declare const FormControlLabel: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, FormControlLabelProps>;
@@ -1,15 +1,13 @@
1
- import { ComponentMeta, ComponentStory } from '@storybook/react';
2
- import React from 'react';
3
1
  import { FormFieldProps } from '../components/custom/FormField/FormField';
4
- declare const _default: ComponentMeta<(props: FormFieldProps) => React.JSX.Element>;
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, FormFieldProps>;
5
3
  export default _default;
6
- export declare const InputField: ComponentStory<(props: FormFieldProps) => React.JSX.Element>;
7
- export declare const NumberField: ComponentStory<(props: FormFieldProps) => React.JSX.Element>;
8
- export declare const MaskedInput: ComponentStory<(props: FormFieldProps) => React.JSX.Element>;
9
- export declare const ChoicesSelectField: ComponentStory<(props: FormFieldProps) => React.JSX.Element>;
10
- export declare const DatePickerField: ComponentStory<(props: FormFieldProps) => React.JSX.Element>;
11
- export declare const DateTimePickerField: ComponentStory<(props: FormFieldProps) => React.JSX.Element>;
12
- export declare const BooleanField: ComponentStory<(props: FormFieldProps) => React.JSX.Element>;
13
- export declare const FileUploadField: ComponentStory<(props: FormFieldProps) => React.JSX.Element>;
14
- export declare const ArraySelectField: ComponentStory<(props: FormFieldProps) => React.JSX.Element>;
15
- export declare const AddressField: ComponentStory<(props: FormFieldProps) => React.JSX.Element>;
4
+ export declare const InputField: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, FormFieldProps>;
5
+ export declare const NumberField: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, FormFieldProps>;
6
+ export declare const MaskedInput: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, FormFieldProps>;
7
+ export declare const ChoicesSelectField: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, FormFieldProps>;
8
+ export declare const DatePickerField: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, FormFieldProps>;
9
+ export declare const DateTimePickerField: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, FormFieldProps>;
10
+ export declare const BooleanField: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, FormFieldProps>;
11
+ export declare const FileUploadField: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, FormFieldProps>;
12
+ export declare const ArraySelectField: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, FormFieldProps>;
13
+ export declare const AddressField: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, FormFieldProps>;
@@ -1,6 +1,4 @@
1
1
  import { FormGroupProps } from '@mui/material';
2
- import { ComponentMeta, ComponentStory } from '@storybook/react';
3
- import React from 'react';
4
- declare const _default: ComponentMeta<(props: FormGroupProps) => React.JSX.Element>;
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, FormGroupProps>;
5
3
  export default _default;
6
- export declare const FormGroup: ComponentStory<(props: FormGroupProps) => React.JSX.Element>;
4
+ export declare const FormGroup: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, FormGroupProps>;
@@ -1,6 +1,12 @@
1
- import { ComponentMeta, ComponentStory } from '@storybook/react';
2
1
  import React from 'react';
3
- import { FormHelperTextProps } from '../index';
4
- declare const _default: ComponentMeta<(props: FormHelperTextProps<"p", {}>) => React.JSX.Element>;
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("@mui/material").FormHelperTextOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & {
3
+ ref?: ((instance: HTMLParagraphElement | null) => void) | React.RefObject<HTMLParagraphElement> | null | undefined;
4
+ }, "className" | "style" | "classes" | "filled" | "error" | "children" | "disabled" | "focused" | "required" | "sx" | "margin" | "variant"> & {
5
+ component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
6
+ }>;
5
7
  export default _default;
6
- export declare const FormHelperText: ComponentStory<(props: FormHelperTextProps<"p", {}>) => React.JSX.Element>;
8
+ export declare const FormHelperText: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("@mui/material").FormHelperTextOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & {
9
+ ref?: ((instance: HTMLParagraphElement | null) => void) | React.RefObject<HTMLParagraphElement> | null | undefined;
10
+ }, "className" | "style" | "classes" | "filled" | "error" | "children" | "disabled" | "focused" | "required" | "sx" | "margin" | "variant"> & {
11
+ component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
12
+ }>;
@@ -1,6 +1,12 @@
1
- import { FormLabelProps } from '@mui/material';
2
- import { ComponentMeta, ComponentStory } from '@storybook/react';
3
1
  import React from 'react';
4
- declare const _default: ComponentMeta<(props: FormLabelProps<"label", {}>) => React.JSX.Element>;
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("@mui/material").FormLabelBaseProps & import("@mui/material").FormLabelOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & {
3
+ ref?: ((instance: HTMLLabelElement | null) => void) | React.RefObject<HTMLLabelElement> | null | undefined;
4
+ }, "color" | keyof import("@mui/material/OverridableComponent").CommonProps | "filled" | "error" | "children" | "form" | "htmlFor" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "focused" | "required" | "sx"> & {
5
+ component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
6
+ }>;
5
7
  export default _default;
6
- export declare const FormLabel: ComponentStory<(props: FormLabelProps<"label", {}>) => React.JSX.Element>;
8
+ export declare const FormLabel: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("@mui/material").FormLabelBaseProps & import("@mui/material").FormLabelOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & {
9
+ ref?: ((instance: HTMLLabelElement | null) => void) | React.RefObject<HTMLLabelElement> | null | undefined;
10
+ }, "color" | keyof import("@mui/material/OverridableComponent").CommonProps | "filled" | "error" | "children" | "form" | "htmlFor" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "focused" | "required" | "sx"> & {
11
+ component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
12
+ }>;
@@ -1,7 +1,70 @@
1
- import { ComponentMeta, ComponentStory } from '@storybook/react';
2
- import { FormRenderer } from '../components/custom';
3
- declare const _default: ComponentMeta<typeof FormRenderer>;
1
+ import React from 'react';
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("../components/custom/FormV2/components/types").BaseProps & {
3
+ richTextEditor?: React.ComponentType<import("../components/custom/FormV2/components/types").SimpleEditorProps> | undefined;
4
+ hideButtons?: boolean | undefined;
5
+ value?: import("react-hook-form").FieldValues | undefined;
6
+ onSubmit?: ((data: import("react-hook-form").FieldValues) => void) | undefined;
7
+ fieldHeight?: "medium" | "small" | undefined;
8
+ stickyFooter?: boolean | undefined;
9
+ onCancel?: (() => void) | undefined;
10
+ form: import("@evoke-platform/context").EvokeForm;
11
+ instance?: import("../components/custom/FormV2/components/types").Document | import("@evoke-platform/context").ObjectInstance | undefined;
12
+ onChange: (id: string, value: unknown) => void;
13
+ onValidationChange?: ((errors: import("react-hook-form").FieldErrors<import("react-hook-form").FieldValues>) => void) | undefined;
14
+ associatedObject?: {
15
+ instanceId?: string | undefined;
16
+ propertyId?: string | undefined;
17
+ } | undefined;
18
+ }>;
4
19
  export default _default;
5
- export declare const Editable: ComponentStory<typeof FormRenderer>;
6
- export declare const NoButtons: ComponentStory<typeof FormRenderer>;
7
- export declare const DocumentForm: ComponentStory<typeof FormRenderer>;
20
+ export declare const Editable: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../components/custom/FormV2/components/types").BaseProps & {
21
+ richTextEditor?: React.ComponentType<import("../components/custom/FormV2/components/types").SimpleEditorProps> | undefined;
22
+ hideButtons?: boolean | undefined;
23
+ value?: import("react-hook-form").FieldValues | undefined;
24
+ onSubmit?: ((data: import("react-hook-form").FieldValues) => void) | undefined;
25
+ fieldHeight?: "medium" | "small" | undefined;
26
+ stickyFooter?: boolean | undefined;
27
+ onCancel?: (() => void) | undefined;
28
+ form: import("@evoke-platform/context").EvokeForm;
29
+ instance?: import("../components/custom/FormV2/components/types").Document | import("@evoke-platform/context").ObjectInstance | undefined;
30
+ onChange: (id: string, value: unknown) => void;
31
+ onValidationChange?: ((errors: import("react-hook-form").FieldErrors<import("react-hook-form").FieldValues>) => void) | undefined;
32
+ associatedObject?: {
33
+ instanceId?: string | undefined;
34
+ propertyId?: string | undefined;
35
+ } | undefined;
36
+ }>;
37
+ export declare const NoButtons: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../components/custom/FormV2/components/types").BaseProps & {
38
+ richTextEditor?: React.ComponentType<import("../components/custom/FormV2/components/types").SimpleEditorProps> | undefined;
39
+ hideButtons?: boolean | undefined;
40
+ value?: import("react-hook-form").FieldValues | undefined;
41
+ onSubmit?: ((data: import("react-hook-form").FieldValues) => void) | undefined;
42
+ fieldHeight?: "medium" | "small" | undefined;
43
+ stickyFooter?: boolean | undefined;
44
+ onCancel?: (() => void) | undefined;
45
+ form: import("@evoke-platform/context").EvokeForm;
46
+ instance?: import("../components/custom/FormV2/components/types").Document | import("@evoke-platform/context").ObjectInstance | undefined;
47
+ onChange: (id: string, value: unknown) => void;
48
+ onValidationChange?: ((errors: import("react-hook-form").FieldErrors<import("react-hook-form").FieldValues>) => void) | undefined;
49
+ associatedObject?: {
50
+ instanceId?: string | undefined;
51
+ propertyId?: string | undefined;
52
+ } | undefined;
53
+ }>;
54
+ export declare const DocumentForm: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../components/custom/FormV2/components/types").BaseProps & {
55
+ richTextEditor?: React.ComponentType<import("../components/custom/FormV2/components/types").SimpleEditorProps> | undefined;
56
+ hideButtons?: boolean | undefined;
57
+ value?: import("react-hook-form").FieldValues | undefined;
58
+ onSubmit?: ((data: import("react-hook-form").FieldValues) => void) | undefined;
59
+ fieldHeight?: "medium" | "small" | undefined;
60
+ stickyFooter?: boolean | undefined;
61
+ onCancel?: (() => void) | undefined;
62
+ form: import("@evoke-platform/context").EvokeForm;
63
+ instance?: import("../components/custom/FormV2/components/types").Document | import("@evoke-platform/context").ObjectInstance | undefined;
64
+ onChange: (id: string, value: unknown) => void;
65
+ onValidationChange?: ((errors: import("react-hook-form").FieldErrors<import("react-hook-form").FieldValues>) => void) | undefined;
66
+ associatedObject?: {
67
+ instanceId?: string | undefined;
68
+ propertyId?: string | undefined;
69
+ } | undefined;
70
+ }>;
@@ -1,7 +1,112 @@
1
- import { ComponentMeta, ComponentStory } from '@storybook/react';
2
- import { FormRendererContainer } from '../components/custom';
3
- declare const _default: ComponentMeta<typeof FormRendererContainer>;
1
+ import React from 'react';
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("../components/custom/FormV2/components/types").BaseProps & {
3
+ formId?: string | undefined;
4
+ instanceId?: string | undefined;
5
+ defaultPages?: Record<string, string> | undefined;
6
+ pageNavigation?: string | undefined;
7
+ documentId?: string | undefined;
8
+ dataType?: "documents" | "objectInstances" | undefined;
9
+ display?: {
10
+ fieldHeight?: "medium" | "small" | undefined;
11
+ } | undefined;
12
+ actionId?: string | undefined;
13
+ stickyFooter?: boolean | undefined;
14
+ hideButtons?: boolean | undefined;
15
+ objectId: string;
16
+ richTextEditor?: React.ComponentType<import("../components/custom/FormV2/components/types").SimpleEditorProps> | undefined;
17
+ onClose?: (() => void) | undefined;
18
+ onSubmit?: ((submission: Record<string, unknown>) => Promise<void>) | undefined;
19
+ associatedObject?: {
20
+ instanceId?: string | undefined;
21
+ propertyId?: string | undefined;
22
+ } | undefined;
23
+ }>;
4
24
  export default _default;
5
- export declare const Editable: ComponentStory<typeof FormRendererContainer>;
6
- export declare const NoButtons: ComponentStory<typeof FormRendererContainer>;
7
- export declare const DocumentForm: ComponentStory<typeof FormRendererContainer>;
25
+ export declare const Editable: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../components/custom/FormV2/components/types").BaseProps & {
26
+ formId?: string | undefined;
27
+ instanceId?: string | undefined;
28
+ defaultPages?: Record<string, string> | undefined;
29
+ pageNavigation?: string | undefined;
30
+ documentId?: string | undefined;
31
+ dataType?: "documents" | "objectInstances" | undefined;
32
+ display?: {
33
+ fieldHeight?: "medium" | "small" | undefined;
34
+ } | undefined;
35
+ actionId?: string | undefined;
36
+ stickyFooter?: boolean | undefined;
37
+ hideButtons?: boolean | undefined;
38
+ objectId: string;
39
+ richTextEditor?: React.ComponentType<import("../components/custom/FormV2/components/types").SimpleEditorProps> | undefined;
40
+ onClose?: (() => void) | undefined;
41
+ onSubmit?: ((submission: Record<string, unknown>) => Promise<void>) | undefined;
42
+ associatedObject?: {
43
+ instanceId?: string | undefined;
44
+ propertyId?: string | undefined;
45
+ } | undefined;
46
+ }>;
47
+ export declare const NoButtons: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../components/custom/FormV2/components/types").BaseProps & {
48
+ formId?: string | undefined;
49
+ instanceId?: string | undefined;
50
+ defaultPages?: Record<string, string> | undefined;
51
+ pageNavigation?: string | undefined;
52
+ documentId?: string | undefined;
53
+ dataType?: "documents" | "objectInstances" | undefined;
54
+ display?: {
55
+ fieldHeight?: "medium" | "small" | undefined;
56
+ } | undefined;
57
+ actionId?: string | undefined;
58
+ stickyFooter?: boolean | undefined;
59
+ hideButtons?: boolean | undefined;
60
+ objectId: string;
61
+ richTextEditor?: React.ComponentType<import("../components/custom/FormV2/components/types").SimpleEditorProps> | undefined;
62
+ onClose?: (() => void) | undefined;
63
+ onSubmit?: ((submission: Record<string, unknown>) => Promise<void>) | undefined;
64
+ associatedObject?: {
65
+ instanceId?: string | undefined;
66
+ propertyId?: string | undefined;
67
+ } | undefined;
68
+ }>;
69
+ export declare const DocumentForm: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../components/custom/FormV2/components/types").BaseProps & {
70
+ formId?: string | undefined;
71
+ instanceId?: string | undefined;
72
+ defaultPages?: Record<string, string> | undefined;
73
+ pageNavigation?: string | undefined;
74
+ documentId?: string | undefined;
75
+ dataType?: "documents" | "objectInstances" | undefined;
76
+ display?: {
77
+ fieldHeight?: "medium" | "small" | undefined;
78
+ } | undefined;
79
+ actionId?: string | undefined;
80
+ stickyFooter?: boolean | undefined;
81
+ hideButtons?: boolean | undefined;
82
+ objectId: string;
83
+ richTextEditor?: React.ComponentType<import("../components/custom/FormV2/components/types").SimpleEditorProps> | undefined;
84
+ onClose?: (() => void) | undefined;
85
+ onSubmit?: ((submission: Record<string, unknown>) => Promise<void>) | undefined;
86
+ associatedObject?: {
87
+ instanceId?: string | undefined;
88
+ propertyId?: string | undefined;
89
+ } | undefined;
90
+ }>;
91
+ export declare const FormWithSections: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../components/custom/FormV2/components/types").BaseProps & {
92
+ formId?: string | undefined;
93
+ instanceId?: string | undefined;
94
+ defaultPages?: Record<string, string> | undefined;
95
+ pageNavigation?: string | undefined;
96
+ documentId?: string | undefined;
97
+ dataType?: "documents" | "objectInstances" | undefined;
98
+ display?: {
99
+ fieldHeight?: "medium" | "small" | undefined;
100
+ } | undefined;
101
+ actionId?: string | undefined;
102
+ stickyFooter?: boolean | undefined;
103
+ hideButtons?: boolean | undefined;
104
+ objectId: string;
105
+ richTextEditor?: React.ComponentType<import("../components/custom/FormV2/components/types").SimpleEditorProps> | undefined;
106
+ onClose?: (() => void) | undefined;
107
+ onSubmit?: ((submission: Record<string, unknown>) => Promise<void>) | undefined;
108
+ associatedObject?: {
109
+ instanceId?: string | undefined;
110
+ propertyId?: string | undefined;
111
+ } | undefined;
112
+ }>;
@@ -54,3 +54,8 @@ DocumentForm.args = {
54
54
  documentId: 'documentInstanceId',
55
55
  dataType: 'documents',
56
56
  };
57
+ export const FormWithSections = Template.bind({});
58
+ FormWithSections.args = {
59
+ ...mockProps,
60
+ formId: 'updateGenericEvokeFormWithSections',
61
+ };
@@ -29,6 +29,7 @@ export declare const mockCustomerUpdateForm: EvokeForm;
29
29
  export declare const mockCustomerCreateForm: EvokeForm;
30
30
  export declare const mockMovieCreateForm: EvokeForm;
31
31
  export declare const mockDocEvokeForm: EvokeForm;
32
+ export declare const mockEvokeFormWithSections: EvokeForm;
32
33
  export declare const mockPropertiesForCriteria: ({
33
34
  id: string;
34
35
  name: string;
@@ -114,3 +115,9 @@ export declare const mockPeopleGenericObjectInstances: {
114
115
  };
115
116
  objectId: string;
116
117
  }[];
118
+ export declare const users: {
119
+ id: string;
120
+ status: string;
121
+ email: string;
122
+ name: string;
123
+ }[];