@evoke-platform/ui-components 1.2.0-testing.0 → 1.2.0-testing.2
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.
- package/dist/published/components/core/Accordion/Accordion.d.ts +2 -2
- package/dist/published/components/core/Accordion/AccordionActions/AccordionActions.d.ts +2 -2
- package/dist/published/components/core/Accordion/AccordionDetails/AccordionDetails.d.ts +2 -2
- package/dist/published/components/core/Accordion/AccordionSummary/AccordionSummary.d.ts +2 -2
- package/dist/published/components/core/Alert/Alert.d.ts +2 -2
- package/dist/published/components/core/AlertTitle/AlertTitle.d.ts +2 -2
- package/dist/published/components/core/AppBar/AppBar.d.ts +2 -2
- package/dist/published/components/core/Autocomplete/Autocomplete.d.ts +2 -2
- package/dist/published/components/core/Avatar/Avatar.d.ts +2 -2
- package/dist/published/components/core/Backdrop/Backdrop.d.ts +2 -2
- package/dist/published/components/core/Badge/Badge.d.ts +2 -2
- package/dist/published/components/core/Breadcrumbs/Breadcrumbs.d.ts +2 -2
- package/dist/published/components/core/Button/Button.d.ts +2 -2
- package/dist/published/components/core/ButtonGroup/ButtonGroup.d.ts +2 -2
- package/dist/published/components/core/Card/Card.d.ts +2 -2
- package/dist/published/components/core/Checkbox/Checkbox.d.ts +2 -2
- package/dist/published/components/core/Chip/Chip.d.ts +2 -2
- package/dist/published/components/core/CircularProgress/CircularProgress.d.ts +2 -2
- package/dist/published/components/core/Collapse/Collapse.d.ts +2 -2
- package/dist/published/components/core/DatePicker/DatePicker.d.ts +2 -2
- package/dist/published/components/core/DateTimePicker/DateTimePicker.d.ts +2 -2
- package/dist/published/components/core/Dialog/Dialog.d.ts +2 -2
- package/dist/published/components/core/Dialog/DialogActions/DialogActions.d.ts +2 -2
- package/dist/published/components/core/Dialog/DialogContent/DialogContent.d.ts +2 -2
- package/dist/published/components/core/Dialog/DialogContentText/DialogContentText.d.ts +2 -2
- package/dist/published/components/core/Dialog/DialogTitle/DialogTitle.d.ts +2 -2
- package/dist/published/components/core/Divider/Divider.d.ts +2 -2
- package/dist/published/components/core/Drawer/Drawer.d.ts +2 -2
- package/dist/published/components/core/FieldError/FieldError.d.ts +2 -2
- package/dist/published/components/core/FormElements/FormControl/FormControl.d.ts +2 -2
- package/dist/published/components/core/FormElements/FormControlLabel/FormControlLabel.d.ts +2 -2
- package/dist/published/components/core/FormElements/FormGroup/FormGroup.d.ts +2 -2
- package/dist/published/components/core/FormElements/FormHelperText/FormHelperText.d.ts +2 -2
- package/dist/published/components/core/FormElements/FormLabel/FormLabel.d.ts +2 -2
- package/dist/published/components/core/IconButton/IconButton.d.ts +2 -2
- package/dist/published/components/core/LinearProgress/LinearProgress.d.ts +2 -2
- package/dist/published/components/core/Link/Link.d.ts +2 -2
- package/dist/published/components/core/List/List.d.ts +2 -2
- package/dist/published/components/core/List/ListItem.d.ts +2 -2
- package/dist/published/components/core/List/ListItemText/ListItemText.d.ts +2 -2
- package/dist/published/components/core/LoadingButton/LoadingButton.d.ts +2 -2
- package/dist/published/components/core/LocalizationProvider/LocalizationProvider.d.ts +2 -2
- package/dist/published/components/core/Menu/Menu.d.ts +2 -2
- package/dist/published/components/core/Menu/MenuItem/MenuItem.d.ts +2 -2
- package/dist/published/components/core/Paper/Paper.d.ts +2 -2
- package/dist/published/components/core/Popover/Popover.d.ts +2 -2
- package/dist/published/components/core/Popper/Popper.d.ts +2 -2
- package/dist/published/components/core/RadioGroup/Radio.d.ts +2 -2
- package/dist/published/components/core/RadioGroup/RadioGroup.d.ts +2 -2
- package/dist/published/components/core/Select/Select.d.ts +2 -2
- package/dist/published/components/core/Skeleton/Skeleton.d.ts +2 -2
- package/dist/published/components/core/Snackbar/Snackbar.d.ts +2 -2
- package/dist/published/components/core/StaticDatePicker/StaticDatePicker.d.ts +2 -2
- package/dist/published/components/core/Stepper/Step/Step.d.ts +2 -2
- package/dist/published/components/core/Stepper/StepButton/StepButton.d.ts +2 -2
- package/dist/published/components/core/Stepper/StepConnector/StepConnector.d.ts +2 -2
- package/dist/published/components/core/Stepper/StepContent/StepContent.d.ts +2 -2
- package/dist/published/components/core/Stepper/StepIcon/StepIcon.d.ts +2 -2
- package/dist/published/components/core/Stepper/StepLabel/StepLabel.d.ts +2 -2
- package/dist/published/components/core/Stepper/Stepper.d.ts +2 -2
- package/dist/published/components/core/Switch/Switch.d.ts +2 -2
- package/dist/published/components/core/Table/Table.d.ts +2 -2
- package/dist/published/components/core/Tabs/Tab/Tab.d.ts +2 -2
- package/dist/published/components/core/Tabs/Tabs.d.ts +2 -2
- package/dist/published/components/core/TextField/TextField.d.ts +2 -2
- package/dist/published/components/core/ToggleButton/ToggleButton.d.ts +2 -2
- package/dist/published/components/core/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -2
- package/dist/published/components/core/Tooltip/Tooltip.d.ts +2 -2
- package/dist/published/components/core/Typography/index.d.ts +2 -2
- package/dist/published/components/custom/BuilderGrid/BuilderGrid.d.ts +2 -2
- package/dist/published/components/custom/BuilderGrid/BuilderGridToolbar.d.ts +2 -2
- package/dist/published/components/custom/BuilderGrid/EmptyContent.d.ts +2 -2
- package/dist/published/components/custom/BuilderGrid/EmptyContentIllustration.d.ts +2 -2
- package/dist/published/components/custom/BuilderGrid/ToolbarActions.d.ts +2 -2
- package/dist/published/components/custom/CriteriaBuilder/CriteriaBuilder.d.ts +3 -3
- package/dist/published/components/custom/CriteriaBuilder/PropertyTree.d.ts +2 -2
- package/dist/published/components/custom/CriteriaBuilder/PropertyTreeItem.d.ts +2 -2
- package/dist/published/components/custom/CriteriaBuilder/ValueEditor.d.ts +2 -2
- package/dist/published/components/custom/DataGrid/DataGrid.d.ts +2 -2
- package/dist/published/components/custom/DataGrid/Toolbar.d.ts +2 -2
- package/dist/published/components/custom/ErrorComponent/ErrorComponent.d.ts +2 -2
- package/dist/published/components/custom/Form/Common/Form.d.ts +1 -1
- package/dist/published/components/custom/Form/Common/FormComponentWrapper.d.ts +1 -1
- package/dist/published/components/custom/Form/FormComponents/ButtonComponent.d.ts +2 -2
- package/dist/published/components/custom/Form/FormComponents/DocumentComponent/Document.d.ts +2 -2
- package/dist/published/components/custom/Form/FormComponents/DocumentComponent/DocumentList.d.ts +2 -2
- package/dist/published/components/custom/Form/FormComponents/ImageComponent/Image.d.ts +2 -2
- package/dist/published/components/custom/Form/FormComponents/ObjectComponent/InstanceLookup.d.ts +2 -2
- package/dist/published/components/custom/Form/FormComponents/ObjectComponent/ObjectPropertyInput.d.ts +2 -2
- package/dist/published/components/custom/Form/FormComponents/ObjectComponent/RelatedObjectInstance.d.ts +2 -2
- package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/ActionDialog.d.ts +2 -2
- package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/ManyToMany/DropdownRepeatableField.d.ts +2 -2
- package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/ManyToMany/DropdownRepeatableFieldInput.d.ts +2 -2
- package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/RepeatableField.d.ts +2 -2
- package/dist/published/components/custom/Form/FormComponents/UserComponent/UserProperty.d.ts +2 -2
- package/dist/published/components/custom/FormField/AddressFieldComponent/addressFieldComponent.d.ts +2 -2
- package/dist/published/components/custom/FormField/AddressFieldComponent/addressFieldComponent.js +1 -1
- package/dist/published/components/custom/FormField/BooleanSelect/BooleanSelect.d.ts +2 -2
- package/dist/published/components/custom/FormField/DatePickerSelect/DatePickerSelect.d.ts +2 -2
- package/dist/published/components/custom/FormField/DateTimePickerSelect/DateTimePickerSelect.d.ts +2 -2
- package/dist/published/components/custom/FormField/FileUpload/FileUpload.d.ts +2 -2
- package/dist/published/components/custom/FormField/FormField.d.ts +2 -2
- package/dist/published/components/custom/FormField/InputFieldComponent/InputFieldComponent.d.ts +2 -2
- package/dist/published/components/custom/FormField/InputFieldComponent/InputFieldComponent.js +1 -1
- package/dist/published/components/custom/FormField/Select/Select.d.ts +2 -2
- package/dist/published/components/custom/FormField/TimePickerSelect/TimePickerSelect.d.ts +2 -2
- package/dist/published/components/custom/HistoryLog/DisplayedProperty.d.ts +2 -2
- package/dist/published/components/custom/HistoryLog/Filter.d.ts +2 -2
- package/dist/published/components/custom/HistoryLog/HistoryData.d.ts +2 -2
- package/dist/published/components/custom/HistoryLog/HistoryLoading.d.ts +2 -2
- package/dist/published/components/custom/HistoryLog/index.d.ts +2 -2
- package/dist/published/components/custom/Menubar/Menubar.d.ts +2 -2
- package/dist/published/components/custom/MultiSelect/MultiSelect.d.ts +2 -2
- package/dist/published/components/custom/MultiSelect/SortableItem.d.ts +2 -2
- package/dist/published/components/custom/RepeatableField/RepeatableField.d.ts +2 -2
- package/dist/published/components/custom/RichTextViewer/index.d.ts +2 -2
- package/dist/published/components/custom/UserAvatar/UserAvatar.d.ts +2 -2
- package/dist/published/components/layout/Box/Box.d.ts +2 -2
- package/dist/published/components/layout/Container/Container.d.ts +2 -2
- package/dist/published/components/layout/Grid/Grid.d.ts +2 -2
- package/dist/published/components/layout/Stack/Stack.d.ts +2 -2
- package/dist/published/icons/custom/FileWithExtension.d.ts +4 -2
- package/dist/published/icons/custom/Inherited.d.ts +4 -2
- package/dist/published/icons/custom/Overrides.d.ts +6 -4
- package/dist/published/icons/custom/TrashCan.d.ts +6 -4
- package/dist/published/icons/custom/UploadCloud.d.ts +4 -2
- package/dist/published/stories/Accordion.stories.d.ts +3 -3
- package/dist/published/stories/Alert.stories.d.ts +3 -3
- package/dist/published/stories/AlertTitle.stories.d.ts +3 -3
- package/dist/published/stories/Appbar.stories.d.ts +3 -3
- package/dist/published/stories/Autocomplete.stories.d.ts +3 -3
- package/dist/published/stories/Avatar.stories.d.ts +3 -3
- package/dist/published/stories/Backdrop.stories.d.ts +3 -3
- package/dist/published/stories/Badge.stories.d.ts +3 -3
- package/dist/published/stories/Box.stories.d.ts +6 -6
- package/dist/published/stories/Breadcrumbs.stories.d.ts +3 -3
- package/dist/published/stories/Button.stories.d.ts +3 -3
- package/dist/published/stories/ButtonGroup.stories.d.ts +3 -3
- package/dist/published/stories/Card.stories.d.ts +3 -3
- package/dist/published/stories/Checkbox.stories.d.ts +3 -3
- package/dist/published/stories/Chip.stories.d.ts +3 -3
- package/dist/published/stories/CircularProgress.stories.d.ts +3 -3
- package/dist/published/stories/Collapse.stories.d.ts +3 -3
- package/dist/published/stories/Container.stories.d.ts +3 -3
- package/dist/published/stories/CriteriaBuilder.stories.d.ts +7 -7
- package/dist/published/stories/DatePicker.stories.d.ts +3 -3
- package/dist/published/stories/Dialog.stories.d.ts +3 -3
- package/dist/published/stories/Divider.stories.d.ts +3 -3
- package/dist/published/stories/Drawer.stories.d.ts +3 -3
- package/dist/published/stories/FormControl.stories.d.ts +3 -3
- package/dist/published/stories/FormControlLabel.stories.d.ts +3 -3
- package/dist/published/stories/FormField.stories.d.ts +12 -12
- package/dist/published/stories/FormGroup.stories.d.ts +3 -3
- package/dist/published/stories/FormHelperText.stories.d.ts +3 -3
- package/dist/published/stories/FormLabel.stories.d.ts +3 -3
- package/dist/published/stories/Grid.stories.d.ts +3 -3
- package/dist/published/stories/HistoryLog.stories.d.ts +3 -3
- package/dist/published/stories/IconButton.stories.d.ts +3 -3
- package/dist/published/stories/LinearProgress.stories.d.ts +3 -3
- package/dist/published/stories/Link.stories.d.ts +3 -3
- package/dist/published/stories/List.stories.d.ts +3 -3
- package/dist/published/stories/Menu.stories.d.ts +3 -3
- package/dist/published/stories/Palette.stories.d.ts +6 -6
- package/dist/published/stories/Paper.stories.d.ts +3 -3
- package/dist/published/stories/RadioGroup.stories.d.ts +3 -3
- package/dist/published/stories/RichTextViewer.stories.d.ts +3 -3
- package/dist/published/stories/Skeleton.stories.d.ts +3 -3
- package/dist/published/stories/Snackbar.stories.d.ts +3 -3
- package/dist/published/stories/Stack.stories.d.ts +3 -3
- package/dist/published/stories/StaticDatePicker.stories.d.ts +4 -4
- package/dist/published/stories/Stepper.stories.d.ts +4 -4
- package/dist/published/stories/Switch.stories.d.ts +3 -3
- package/dist/published/stories/Table.stories.d.ts +3 -3
- package/dist/published/stories/Tabs.stories.d.ts +3 -3
- package/dist/published/stories/TextField.stories.d.ts +4 -4
- package/dist/published/stories/TimePickerSelect.stories.d.ts +3 -3
- package/dist/published/stories/ToggleButton.stories.d.ts +3 -3
- package/dist/published/stories/Typography.stories.d.ts +3 -3
- package/dist/published/theme/UIThemeProvider.d.ts +2 -2
- package/package.json +3 -3
@@ -1,5 +1,5 @@
|
|
1
1
|
import { GridSortItem, GridValidRowModel, DataGridProps as MuiDataGridProps } from '@mui/x-data-grid';
|
2
|
-
import { ReactElement } from 'react';
|
2
|
+
import React, { ReactElement } from 'react';
|
3
3
|
import { EmptyContentSelectOptions } from './EmptyContent';
|
4
4
|
export type GridAction = {
|
5
5
|
label: string;
|
@@ -23,5 +23,5 @@ export type BuilderGridProps<T extends GridValidRowModel> = MuiDataGridProps<T>
|
|
23
23
|
filterComponent?: ReactElement;
|
24
24
|
error?: number;
|
25
25
|
};
|
26
|
-
declare const BuilderGrid: <T extends GridValidRowModel>(props: BuilderGridProps<T>) => JSX.Element;
|
26
|
+
declare const BuilderGrid: <T extends GridValidRowModel>(props: BuilderGridProps<T>) => React.JSX.Element;
|
27
27
|
export default BuilderGrid;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { GridToolbarProps as MuiGridToolbarProps } from '@mui/x-data-grid';
|
2
|
-
import { ReactElement } from 'react';
|
2
|
+
import React, { ReactElement } from 'react';
|
3
3
|
import { GridAction } from './BuilderGrid';
|
4
4
|
export type BuilderGridToolbar = MuiGridToolbarProps & {
|
5
5
|
actions?: GridAction[];
|
@@ -8,5 +8,5 @@ export type BuilderGridToolbar = MuiGridToolbarProps & {
|
|
8
8
|
filter?: ReactElement;
|
9
9
|
hideSearchbar?: boolean;
|
10
10
|
};
|
11
|
-
declare function BuilderGridToolbar(props: BuilderGridToolbar): JSX.Element;
|
11
|
+
declare function BuilderGridToolbar(props: BuilderGridToolbar): React.JSX.Element;
|
12
12
|
export default BuilderGridToolbar;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from 'react';
|
2
2
|
import { AutocompleteOption } from '../../core';
|
3
3
|
export type EmptyContentSelectOptions = {
|
4
4
|
instructionText: string;
|
@@ -12,5 +12,5 @@ type EmptyStateComponentProps = {
|
|
12
12
|
onClick?: () => void;
|
13
13
|
selectOptions?: EmptyContentSelectOptions;
|
14
14
|
};
|
15
|
-
export declare const EmptyContent: (props: EmptyStateComponentProps) => JSX.Element;
|
15
|
+
export declare const EmptyContent: (props: EmptyStateComponentProps) => React.JSX.Element;
|
16
16
|
export {};
|
@@ -1,3 +1,3 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { SvgIconProps } from '@mui/material';
|
3
|
-
|
2
|
+
import React from 'react';
|
3
|
+
export declare const EmptyContentIllustration: (props: SvgIconProps) => React.JSX.Element;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { ReactElement } from 'react';
|
1
|
+
import React, { ReactElement } from 'react';
|
2
2
|
import { GridAction } from './BuilderGrid';
|
3
3
|
type ToolbarActionsProps = {
|
4
4
|
filter?: ReactElement;
|
5
5
|
actions?: GridAction[];
|
6
6
|
};
|
7
|
-
export declare const ToolbarActions: (props: ToolbarActionsProps) => JSX.Element;
|
7
|
+
export declare const ToolbarActions: (props: ToolbarActionsProps) => React.JSX.Element;
|
8
8
|
export {};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from 'react';
|
2
2
|
import 'react-querybuilder/dist/query-builder.css';
|
3
3
|
import { EvokeObject } from '../../../types';
|
4
4
|
import { ObjectProperty, Operator, PresetValue, TreeViewObject } from './types';
|
@@ -36,6 +36,6 @@ export type CriteriaInputProps = {
|
|
36
36
|
*/
|
37
37
|
disableRegexEscapeChars?: boolean;
|
38
38
|
};
|
39
|
-
export declare const valueEditor: (props: ValueEditorProps) => JSX.Element;
|
40
|
-
declare const CriteriaBuilder: (props: CriteriaInputProps) => JSX.Element;
|
39
|
+
export declare const valueEditor: (props: ValueEditorProps) => React.JSX.Element;
|
40
|
+
declare const CriteriaBuilder: (props: CriteriaInputProps) => React.JSX.Element;
|
41
41
|
export default CriteriaBuilder;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from 'react';
|
2
2
|
import { EvokeObject } from '../../../types';
|
3
3
|
type PropertyTreeProps = {
|
4
4
|
fetchObject: (id: string) => Promise<EvokeObject | undefined>;
|
@@ -6,5 +6,5 @@ type PropertyTreeProps = {
|
|
6
6
|
handleTreePropertySelect: (propertyId: string) => void;
|
7
7
|
value: string | undefined;
|
8
8
|
};
|
9
|
-
declare const PropertyTree: ({ fetchObject, handleTreePropertySelect, rootObject, value }: PropertyTreeProps) => JSX.Element;
|
9
|
+
declare const PropertyTree: ({ fetchObject, handleTreePropertySelect, rootObject, value }: PropertyTreeProps) => React.JSX.Element;
|
10
10
|
export default PropertyTree;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from 'react';
|
2
2
|
import { ExpandedProperty, Obj } from '../../../types';
|
3
3
|
type PropertyTreeItemProps = {
|
4
4
|
property: ExpandedProperty | undefined;
|
@@ -6,5 +6,5 @@ type PropertyTreeItemProps = {
|
|
6
6
|
treeData: ExpandedProperty[];
|
7
7
|
onClick: (property: string) => void;
|
8
8
|
};
|
9
|
-
declare const PropertyTreeItem: ({ property, fetchObject, treeData, onClick }: PropertyTreeItemProps) => JSX.Element | null;
|
9
|
+
declare const PropertyTreeItem: ({ property, fetchObject, treeData, onClick }: PropertyTreeItemProps) => React.JSX.Element | null;
|
10
10
|
export default PropertyTreeItem;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
|
1
|
+
import React from 'react';
|
2
2
|
import { ValueEditorProps as ValueEditorBaseProps } from 'react-querybuilder';
|
3
3
|
import { AutocompleteOption } from '../../core';
|
4
4
|
export type ValueEditorProps = ValueEditorBaseProps & {
|
5
5
|
values?: AutocompleteOption[] | any[];
|
6
6
|
};
|
7
|
-
declare const ValueEditor: (props: ValueEditorProps) => JSX.Element;
|
7
|
+
declare const ValueEditor: (props: ValueEditorProps) => React.JSX.Element;
|
8
8
|
export default ValueEditor;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { Theme } from '@mui/material';
|
3
2
|
import { GridValidRowModel, DataGridProps as MuiDataGridProps } from '@mui/x-data-grid';
|
3
|
+
import React from 'react';
|
4
4
|
export type BulkAction = {
|
5
5
|
label: string;
|
6
6
|
onClick: () => void;
|
@@ -23,5 +23,5 @@ export type DataGridProps<T extends GridValidRowModel> = MuiDataGridProps<T> & {
|
|
23
23
|
hideSearchbar?: boolean;
|
24
24
|
loadingOptions?: LoadingOptions;
|
25
25
|
};
|
26
|
-
export default function <T extends GridValidRowModel>(props: DataGridProps<T>): JSX.Element;
|
26
|
+
export default function <T extends GridValidRowModel>(props: DataGridProps<T>): React.JSX.Element;
|
27
27
|
export {};
|
@@ -1,6 +1,6 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { Theme } from '@mui/material';
|
3
2
|
import { GridToolbarProps as MuiGridToolbarProps } from '@mui/x-data-grid';
|
3
|
+
import React from 'react';
|
4
4
|
import { BulkAction } from './DataGrid';
|
5
5
|
export type GridToolbarProps = MuiGridToolbarProps & {
|
6
6
|
onRefresh?: () => void;
|
@@ -11,5 +11,5 @@ export type GridToolbarProps = MuiGridToolbarProps & {
|
|
11
11
|
bulkAction?: BulkAction;
|
12
12
|
hideSearchbar?: boolean;
|
13
13
|
};
|
14
|
-
declare function Toolbar(props: GridToolbarProps): JSX.Element;
|
14
|
+
declare function Toolbar(props: GridToolbarProps): React.JSX.Element;
|
15
15
|
export default Toolbar;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { GridSize } from '@mui/material';
|
2
|
-
import { CSSProperties } from 'react';
|
2
|
+
import React, { CSSProperties } from 'react';
|
3
3
|
export type ErrorComponentProps = {
|
4
4
|
code?: 'AccessDenied' | 'NotFound' | 'Misconfigured';
|
5
5
|
message?: string;
|
6
6
|
colspan?: GridSize;
|
7
7
|
styles?: CSSProperties;
|
8
8
|
};
|
9
|
-
export default function ErrorComponent(props: ErrorComponentProps): JSX.Element;
|
9
|
+
export default function ErrorComponent(props: ErrorComponentProps): React.JSX.Element;
|
@@ -78,5 +78,5 @@ export type FormRef = {
|
|
78
78
|
submit: (submission: Record<string, unknown>, type: 'submit' | 'draft', setError: (error?: Record<string, unknown>) => void, setSubmitting?: (value: boolean) => void) => void;
|
79
79
|
data?: Record<string, unknown>;
|
80
80
|
};
|
81
|
-
export declare function Form(props: FormProps): JSX.Element;
|
81
|
+
export declare function Form(props: FormProps): React.JSX.Element;
|
82
82
|
export default Form;
|
@@ -27,5 +27,5 @@ type FormComponentWrapperProps = {
|
|
27
27
|
* A component that wraps a FormField and adds a label,
|
28
28
|
* description, tooltip, prefix, suffix and word/char counts
|
29
29
|
*/
|
30
|
-
export declare const FormComponentWrapper: (props: FormComponentWrapperProps) => JSX.Element;
|
30
|
+
export declare const FormComponentWrapper: (props: FormComponentWrapperProps) => React.JSX.Element;
|
31
31
|
export {};
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { ReactComponent } from '@formio/react';
|
2
|
+
import React from 'react';
|
3
3
|
import { Root } from 'react-dom/client';
|
4
4
|
interface ButtonComponentProps {
|
5
5
|
components: Button[];
|
@@ -32,5 +32,5 @@ export declare class ButtonComponent extends ReactComponent {
|
|
32
32
|
setButtonKey: (value: string) => void;
|
33
33
|
attachReact(element: Element): void;
|
34
34
|
}
|
35
|
-
declare const Button: (props: ButtonProps) => JSX.Element;
|
35
|
+
declare const Button: (props: ButtonProps) => React.JSX.Element;
|
36
36
|
export {};
|
package/dist/published/components/custom/Form/FormComponents/DocumentComponent/Document.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { ApiServices, DocumentValidation, ObjectInstance, Property } from '@evoke-platform/context';
|
2
|
+
import React from 'react';
|
3
3
|
import { SavedDocumentReference } from '../../types';
|
4
4
|
type DocumentProps = {
|
5
5
|
id: string;
|
@@ -13,5 +13,5 @@ type DocumentProps = {
|
|
13
13
|
validate?: DocumentValidation;
|
14
14
|
value: (File | SavedDocumentReference)[] | undefined;
|
15
15
|
};
|
16
|
-
export declare const Document: (props: DocumentProps) => JSX.Element;
|
16
|
+
export declare const Document: (props: DocumentProps) => React.JSX.Element;
|
17
17
|
export {};
|
package/dist/published/components/custom/Form/FormComponents/DocumentComponent/DocumentList.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { ApiServices, ObjectInstance, Property } from '@evoke-platform/context';
|
2
|
+
import React from 'react';
|
3
3
|
import { SavedDocumentReference } from '../../types';
|
4
4
|
type DocumentListProps = {
|
5
5
|
handleChange: (propertyId: string, value: (File | SavedDocumentReference)[] | null) => void;
|
@@ -11,5 +11,5 @@ type DocumentListProps = {
|
|
11
11
|
objectId?: string;
|
12
12
|
setSnackbarError: (type: 'error' | 'success', message: string) => void;
|
13
13
|
};
|
14
|
-
export declare const DocumentList: (props: DocumentListProps) => JSX.Element;
|
14
|
+
export declare const DocumentList: (props: DocumentListProps) => React.JSX.Element;
|
15
15
|
export {};
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { ObjectInstance } from '@evoke-platform/context';
|
2
|
+
import React from 'react';
|
3
3
|
export declare function blobToDataUrl(blob: Blob): Promise<string>;
|
4
4
|
type ImageProps = {
|
5
5
|
id: string;
|
@@ -13,5 +13,5 @@ type ImageProps = {
|
|
13
13
|
error: boolean;
|
14
14
|
initialValue?: unknown;
|
15
15
|
};
|
16
|
-
export declare const Image: (props: ImageProps) => JSX.Element;
|
16
|
+
export declare const Image: (props: ImageProps) => React.JSX.Element;
|
17
17
|
export {};
|
package/dist/published/components/custom/Form/FormComponents/ObjectComponent/InstanceLookup.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { ApiServices, Obj, ObjectInstance, Property, TableViewLayout } from '@evoke-platform/context';
|
2
|
+
import React from 'react';
|
3
3
|
export type InstanceLookUpProps = {
|
4
4
|
object: Obj;
|
5
5
|
instanceId?: string;
|
@@ -18,4 +18,4 @@ export type SearchFieldProps = {
|
|
18
18
|
searchString: string;
|
19
19
|
setSearchString: (searchStrig: string) => void;
|
20
20
|
};
|
21
|
-
export declare const InstanceLookup: (props: InstanceLookUpProps) => JSX.Element;
|
21
|
+
export declare const InstanceLookup: (props: InstanceLookUpProps) => React.JSX.Element;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
1
|
+
import React from 'react';
|
2
2
|
import { ObjectPropertyInputProps } from '../../types';
|
3
|
-
export declare const ObjectPropertyInput: (props: ObjectPropertyInputProps) => JSX.Element;
|
3
|
+
export declare const ObjectPropertyInput: (props: ObjectPropertyInputProps) => React.JSX.Element;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { ApiServices, Obj, ObjectInstance, Property, TableViewLayout, UserAccount } from '@evoke-platform/context';
|
3
2
|
import { ReactComponent } from '@formio/react';
|
3
|
+
import React from 'react';
|
4
4
|
export type RelatedObjectInstanceProps = {
|
5
5
|
relatedObject?: Obj;
|
6
6
|
property: Property;
|
@@ -24,4 +24,4 @@ export type RelatedObjectInstanceProps = {
|
|
24
24
|
layout?: TableViewLayout;
|
25
25
|
richTextEditor?: typeof ReactComponent;
|
26
26
|
};
|
27
|
-
export declare const RelatedObjectInstance: (props: RelatedObjectInstanceProps) => JSX.Element;
|
27
|
+
export declare const RelatedObjectInstance: (props: RelatedObjectInstanceProps) => React.JSX.Element;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { Action, ApiServices, Obj, Property, UserAccount } from '@evoke-platform/context';
|
2
|
+
import React from 'react';
|
3
3
|
import { Address, ObjectPropertyInputProps } from '../../types';
|
4
4
|
export type ActionDialogProps = {
|
5
5
|
open: boolean;
|
@@ -18,4 +18,4 @@ export type ActionDialogProps = {
|
|
18
18
|
queryAddresses?: (query: string) => Promise<Address[]>;
|
19
19
|
user?: UserAccount;
|
20
20
|
};
|
21
|
-
export declare const ActionDialog: (props: ActionDialogProps) => JSX.Element;
|
21
|
+
export declare const ActionDialog: (props: ActionDialogProps) => React.JSX.Element;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { ApiServices, ObjWithRoot, ObjectInstance, Property, ViewLayoutEntityReference } from '@evoke-platform/context';
|
2
|
+
import React from 'react';
|
3
3
|
export type DropdownRepeatableFieldProps = {
|
4
4
|
id: string;
|
5
5
|
property: Property;
|
@@ -13,4 +13,4 @@ export type DropdownRepeatableFieldProps = {
|
|
13
13
|
fieldHeight?: 'small' | 'medium';
|
14
14
|
viewLayout?: ViewLayoutEntityReference;
|
15
15
|
};
|
16
|
-
export declare const DropdownRepeatableField: (props: DropdownRepeatableFieldProps) => JSX.Element;
|
16
|
+
export declare const DropdownRepeatableField: (props: DropdownRepeatableFieldProps) => React.JSX.Element;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { DropdownViewLayout, Obj, ObjectInstance, Property } from '@evoke-platform/context';
|
2
|
+
import React from 'react';
|
3
3
|
import { AutocompleteOption } from '../../../../../core';
|
4
4
|
type DropdownRepeatableFieldInputProps = {
|
5
5
|
id: string;
|
@@ -35,5 +35,5 @@ export type DropdownRepeatableFieldInputOption = AutocompleteOption & {
|
|
35
35
|
subLabel?: string;
|
36
36
|
hidden?: boolean;
|
37
37
|
};
|
38
|
-
export declare const DropdownRepeatableFieldInput: (props: DropdownRepeatableFieldInputProps) => JSX.Element;
|
38
|
+
export declare const DropdownRepeatableFieldInput: (props: DropdownRepeatableFieldInputProps) => React.JSX.Element;
|
39
39
|
export {};
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { ApiServices, ObjectInstance, Property, UserAccount, ViewLayoutEntityReference } from '@evoke-platform/context';
|
2
|
+
import React from 'react';
|
3
3
|
import { Address } from '../../types';
|
4
4
|
export type ObjectPropertyInputProps = {
|
5
5
|
property: Property;
|
@@ -10,5 +10,5 @@ export type ObjectPropertyInputProps = {
|
|
10
10
|
user?: UserAccount;
|
11
11
|
viewLayout?: ViewLayoutEntityReference;
|
12
12
|
};
|
13
|
-
declare const RepeatableField: (props: ObjectPropertyInputProps) => JSX.Element;
|
13
|
+
declare const RepeatableField: (props: ObjectPropertyInputProps) => React.JSX.Element;
|
14
14
|
export default RepeatableField;
|
package/dist/published/components/custom/Form/FormComponents/UserComponent/UserProperty.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { ApiServices, Property, UserAccount } from '@evoke-platform/context';
|
2
|
+
import React from 'react';
|
3
3
|
import { AutocompleteOption } from '../../../../core';
|
4
4
|
export type UserPropertyProps = {
|
5
5
|
id: string;
|
@@ -20,4 +20,4 @@ export type UserPropertyProps = {
|
|
20
20
|
} | '$_CURRENT';
|
21
21
|
fieldHeight?: 'small' | 'medium';
|
22
22
|
};
|
23
|
-
export declare const UserProperty: (props: UserPropertyProps) => JSX.Element;
|
23
|
+
export declare const UserProperty: (props: UserPropertyProps) => React.JSX.Element;
|
package/dist/published/components/custom/FormField/AddressFieldComponent/addressFieldComponent.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from 'react';
|
2
2
|
import { FormFieldProps } from '../FormField';
|
3
3
|
export type Address = {
|
4
4
|
address: {
|
@@ -12,5 +12,5 @@ export type Address = {
|
|
12
12
|
};
|
13
13
|
declare const AddressFieldComponent: (props: FormFieldProps & {
|
14
14
|
id: string;
|
15
|
-
}) => JSX.Element;
|
15
|
+
}) => React.JSX.Element;
|
16
16
|
export default AddressFieldComponent;
|
package/dist/published/components/custom/FormField/AddressFieldComponent/addressFieldComponent.js
CHANGED
@@ -48,7 +48,7 @@ const AddressFieldComponent = (props) => {
|
|
48
48
|
!mask ? (React.createElement(TextField, { id: id, inputRef: textFieldRef, onChange: !readOnly ? handleChange : undefined, error: error, errorMessage: errorMessage, value: value, fullWidth: true, onBlur: onBlur, size: size ?? 'medium', placeholder: placeholder, InputProps: {
|
49
49
|
type: 'search',
|
50
50
|
autoComplete: 'off',
|
51
|
-
}, required: required, readOnly: readOnly, multiline: property.type === 'string' && !readOnly && isMultiLineText, rows: isMultiLineText ? (rows ? rows : 3) : undefined, ...(additionalProps ?? {}) })) : (React.createElement(InputMask, { mask: mask, maskChar: inputMaskPlaceholderChar ?? '_', value: value, onChange: !readOnly ? handleChange : undefined, onBlur: onBlur, alwaysShowMask: true }, () => (React.createElement(TextField, { id: id, inputRef: textFieldRef, sx: readOnly
|
51
|
+
}, required: required, readOnly: readOnly, multiline: property.type === 'string' && !readOnly && isMultiLineText, rows: isMultiLineText ? (rows ? rows : 3) : undefined, ...(additionalProps ?? {}) })) : (React.createElement(InputMask, { mask: mask, disabled: false, maskChar: inputMaskPlaceholderChar ?? '_', value: value, onChange: !readOnly ? handleChange : undefined, onBlur: onBlur, alwaysShowMask: true }, () => (React.createElement(TextField, { id: id, inputRef: textFieldRef, sx: readOnly
|
52
52
|
? {
|
53
53
|
'& .MuiOutlinedInput-notchedOutline': {
|
54
54
|
border: 'none',
|
@@ -1,6 +1,6 @@
|
|
1
|
-
|
1
|
+
import React from 'react';
|
2
2
|
import { FormFieldProps } from '../FormField';
|
3
3
|
declare const DatePickerSelect: (props: FormFieldProps & {
|
4
4
|
id: string;
|
5
|
-
}) => JSX.Element;
|
5
|
+
}) => React.JSX.Element;
|
6
6
|
export default DatePickerSelect;
|
package/dist/published/components/custom/FormField/DateTimePickerSelect/DateTimePickerSelect.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
|
1
|
+
import React from 'react';
|
2
2
|
import { FormFieldProps } from '../FormField';
|
3
3
|
declare const DateTimePickerSelect: (props: FormFieldProps & {
|
4
4
|
id: string;
|
5
|
-
}) => JSX.Element;
|
5
|
+
}) => React.JSX.Element;
|
6
6
|
export default DateTimePickerSelect;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
|
1
|
+
import React from 'react';
|
2
2
|
import { FormFieldProps } from '../FormField';
|
3
3
|
declare const FileUploadControl: (props: FormFieldProps & {
|
4
4
|
id: string;
|
5
|
-
}) => JSX.Element;
|
5
|
+
}) => React.JSX.Element;
|
6
6
|
export default FileUploadControl;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { FocusEventHandler, ReactNode } from 'react';
|
1
|
+
import React, { FocusEventHandler, ReactNode } from 'react';
|
2
2
|
import { ObjectProperty } from '../../../types';
|
3
3
|
import { AutocompleteOption } from '../../core';
|
4
4
|
import { Address } from './AddressFieldComponent/addressFieldComponent';
|
@@ -31,5 +31,5 @@ export type FormFieldProps = {
|
|
31
31
|
displayOption?: 'dropdown' | 'radioButton';
|
32
32
|
sortBy?: 'ASC' | 'DESC' | 'NONE';
|
33
33
|
};
|
34
|
-
declare const FormField: (props: FormFieldProps) => JSX.Element;
|
34
|
+
declare const FormField: (props: FormFieldProps) => React.JSX.Element;
|
35
35
|
export default FormField;
|
package/dist/published/components/custom/FormField/InputFieldComponent/InputFieldComponent.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
import { FunctionComponent } from 'react';
|
1
|
+
import React, { FunctionComponent } from 'react';
|
2
2
|
import { FormFieldProps } from '../FormField';
|
3
3
|
export declare const NumericFormat: FunctionComponent<any>;
|
4
4
|
declare const InputFieldComponent: (props: FormFieldProps & {
|
5
5
|
id: string;
|
6
|
-
}) => JSX.Element;
|
6
|
+
}) => React.JSX.Element;
|
7
7
|
export default InputFieldComponent;
|
package/dist/published/components/custom/FormField/InputFieldComponent/InputFieldComponent.js
CHANGED
@@ -62,7 +62,7 @@ const InputFieldComponent = (props) => {
|
|
62
62
|
backgroundColor: '#f4f6f8',
|
63
63
|
},
|
64
64
|
}),
|
65
|
-
}, error: error, errorMessage: errorMessage, value: value, onChange: !readOnly ? handleChange : undefined, InputProps: { ...InputProps, readOnly: readOnly }, required: required, fullWidth: true, onBlur: onBlur, placeholder: placeholder, size: size ?? 'medium', type: property.type === 'integer' ? 'number' : 'text', multiline: property.type === 'string' && !readOnly && isMultiLineText, rows: isMultiLineText ? (rows ? rows : 3) : undefined, ...(additionalProps ?? {}) })) : (React.createElement(InputMask, { mask: mask, maskChar: inputMaskPlaceholderChar ?? '_', value: value, onChange: !readOnly ? handleChange : undefined, onBlur: onBlur, alwaysShowMask: true }, () => (React.createElement(TextField, { id: id, sx: readOnly
|
65
|
+
}, error: error, errorMessage: errorMessage, value: value, onChange: !readOnly ? handleChange : undefined, InputProps: { ...InputProps, readOnly: readOnly }, required: required, fullWidth: true, onBlur: onBlur, placeholder: placeholder, size: size ?? 'medium', type: property.type === 'integer' ? 'number' : 'text', multiline: property.type === 'string' && !readOnly && isMultiLineText, rows: isMultiLineText ? (rows ? rows : 3) : undefined, ...(additionalProps ?? {}) })) : (React.createElement(InputMask, { mask: mask, disabled: false, maskChar: inputMaskPlaceholderChar ?? '_', value: value, onChange: !readOnly ? handleChange : undefined, onBlur: onBlur, alwaysShowMask: true }, () => (React.createElement(TextField, { id: id, sx: readOnly
|
66
66
|
? {
|
67
67
|
'& .MuiOutlinedInput-notchedOutline': {
|
68
68
|
border: 'none',
|
@@ -1,6 +1,6 @@
|
|
1
|
-
|
1
|
+
import React from 'react';
|
2
2
|
import { FormFieldProps } from '../FormField';
|
3
3
|
declare const TimePickerSelect: (props: FormFieldProps & {
|
4
4
|
id: string;
|
5
|
-
}) => JSX.Element;
|
5
|
+
}) => React.JSX.Element;
|
6
6
|
export default TimePickerSelect;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { Property } from '@evoke-platform/context';
|
2
|
+
import React from 'react';
|
3
3
|
type DisplayedPropertyProps = {
|
4
4
|
property: Property;
|
5
5
|
value: unknown;
|
6
6
|
};
|
7
|
-
declare const DisplayedProperty: (props: DisplayedPropertyProps) => JSX.Element;
|
7
|
+
declare const DisplayedProperty: (props: DisplayedPropertyProps) => React.JSX.Element;
|
8
8
|
export default DisplayedProperty;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { Obj } from '@evoke-platform/context';
|
2
|
+
import React from 'react';
|
3
3
|
type HistoryFilterProps = {
|
4
4
|
filter: string[];
|
5
5
|
setFilter: (filter: string[]) => void;
|
@@ -7,5 +7,5 @@ type HistoryFilterProps = {
|
|
7
7
|
order?: 'desc' | 'asc';
|
8
8
|
setOrder: (order: 'desc' | 'asc') => void;
|
9
9
|
};
|
10
|
-
declare const HistoryFilter: (props: HistoryFilterProps) => JSX.Element;
|
10
|
+
declare const HistoryFilter: (props: HistoryFilterProps) => React.JSX.Element;
|
11
11
|
export default HistoryFilter;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { Obj } from '@evoke-platform/context';
|
2
|
+
import React from 'react';
|
3
3
|
import { History } from '../../../types';
|
4
4
|
export declare const nanoid: (size?: number | undefined) => string;
|
5
5
|
type HistoryDataProps = {
|
@@ -7,5 +7,5 @@ type HistoryDataProps = {
|
|
7
7
|
documentHistory?: Record<string, History[]>;
|
8
8
|
object: Obj;
|
9
9
|
};
|
10
|
-
declare const HistoricalData: (props: HistoryDataProps) => JSX.Element;
|
10
|
+
declare const HistoricalData: (props: HistoryDataProps) => React.JSX.Element;
|
11
11
|
export default HistoricalData;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const HistoryLoading: () => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
declare const HistoryLoading: () => React.JSX.Element;
|
3
3
|
export default HistoryLoading;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { Obj } from '@evoke-platform/context';
|
2
|
+
import React from 'react';
|
3
3
|
import { History } from '../../../types';
|
4
4
|
export type HistoryLogProps = {
|
5
5
|
/** The object instance associated with the history log */
|
@@ -19,5 +19,5 @@ export type HistoryLogProps = {
|
|
19
19
|
* @param {HistoryLogProps} props - Configuration properties for the History Log component.
|
20
20
|
* @returns {JSX.Element} A timeline view representing the instance's history.
|
21
21
|
*/
|
22
|
-
export declare const HistoryLog: (props: HistoryLogProps) => JSX.Element;
|
22
|
+
export declare const HistoryLog: (props: HistoryLogProps) => React.JSX.Element;
|
23
23
|
export default HistoryLog;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { ReactJSXElement } from '@emotion/react/types/jsx-namespace';
|
2
|
+
import React from 'react';
|
3
3
|
export type MenuBarProps = {
|
4
4
|
showNotifications: boolean;
|
5
5
|
logo: string;
|
@@ -7,4 +7,4 @@ export type MenuBarProps = {
|
|
7
7
|
navItems?: ReactJSXElement;
|
8
8
|
envName?: string;
|
9
9
|
};
|
10
|
-
export default function MenuBar(props: MenuBarProps): JSX.Element;
|
10
|
+
export default function MenuBar(props: MenuBarProps): React.JSX.Element;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from 'react';
|
2
2
|
export type DropdownOption = {
|
3
3
|
id?: string;
|
4
4
|
label: string;
|
@@ -13,4 +13,4 @@ export type MultiSelectProps = {
|
|
13
13
|
maxHeight?: number;
|
14
14
|
isSortable?: boolean;
|
15
15
|
};
|
16
|
-
export default function MultiSelect(props: MultiSelectProps): JSX.Element;
|
16
|
+
export default function MultiSelect(props: MultiSelectProps): React.JSX.Element;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
export declare const SortableItem: (props: any) => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
export declare const SortableItem: (props: any) => React.JSX.Element;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from 'react';
|
2
2
|
export type DynamicHeaders = {
|
3
3
|
field: string;
|
4
4
|
displayTitle: string;
|
@@ -12,4 +12,4 @@ export type RepeatableFieldProps = {
|
|
12
12
|
value?: object[];
|
13
13
|
noInitialItem?: boolean;
|
14
14
|
};
|
15
|
-
export default function RepeatableField(props: RepeatableFieldProps): JSX.Element;
|
15
|
+
export default function RepeatableField(props: RepeatableFieldProps): React.JSX.Element;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from 'react';
|
2
2
|
export type RichTextViewerProps = {
|
3
3
|
/**
|
4
4
|
* The RTF content to be displayed.
|
@@ -12,4 +12,4 @@ export type RichTextViewerProps = {
|
|
12
12
|
* @param props - The props for the component, including the RTF content.
|
13
13
|
* @returns The rendered HTML content.
|
14
14
|
*/
|
15
|
-
export declare const RichTextViewer: (props: RichTextViewerProps) => JSX.Element;
|
15
|
+
export declare const RichTextViewer: (props: RichTextViewerProps) => React.JSX.Element;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from 'react';
|
2
2
|
import { CustomAvatarProps } from '../../core/Avatar/Avatar';
|
3
3
|
type User = {
|
4
4
|
id: string;
|
@@ -8,5 +8,5 @@ export type UserAvatarProps = CustomAvatarProps & {
|
|
8
8
|
user?: User;
|
9
9
|
imageUrl?: string;
|
10
10
|
};
|
11
|
-
export default function UserAvatar(props: UserAvatarProps): JSX.Element;
|
11
|
+
export default function UserAvatar(props: UserAvatarProps): React.JSX.Element;
|
12
12
|
export {};
|