@evoke-platform/ui-components 1.0.0-dev.234 → 1.0.0-dev.235
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 +0 -1
- package/dist/published/components/core/Accordion/AccordionActions/AccordionActions.d.ts +0 -1
- package/dist/published/components/core/Accordion/AccordionDetails/AccordionDetails.d.ts +0 -1
- package/dist/published/components/core/Accordion/AccordionSummary/AccordionSummary.d.ts +0 -1
- package/dist/published/components/core/Alert/Alert.d.ts +0 -1
- package/dist/published/components/core/AlertTitle/AlertTitle.d.ts +0 -1
- package/dist/published/components/core/AppBar/AppBar.d.ts +0 -1
- package/dist/published/components/core/Autocomplete/Autocomplete.d.ts +2 -2
- package/dist/published/components/core/Avatar/Avatar.d.ts +1 -2
- package/dist/published/components/core/Backdrop/Backdrop.d.ts +0 -1
- package/dist/published/components/core/Badge/Badge.d.ts +0 -1
- package/dist/published/components/core/Breadcrumbs/Breadcrumbs.d.ts +0 -1
- package/dist/published/components/core/Button/Button.d.ts +0 -1
- package/dist/published/components/core/ButtonGroup/ButtonGroup.d.ts +0 -1
- package/dist/published/components/core/Card/Card.d.ts +0 -1
- package/dist/published/components/core/Checkbox/Checkbox.d.ts +0 -1
- package/dist/published/components/core/Chip/Chip.d.ts +0 -1
- package/dist/published/components/core/CircularProgress/CircularProgress.d.ts +0 -1
- package/dist/published/components/core/Collapse/Collapse.d.ts +0 -1
- package/dist/published/components/core/DatePicker/DatePicker.d.ts +1 -2
- package/dist/published/components/core/DateTimePicker/DateTimePicker.d.ts +1 -2
- package/dist/published/components/core/Dialog/Dialog.d.ts +0 -1
- package/dist/published/components/core/Dialog/DialogActions/DialogActions.d.ts +2 -2
- package/dist/published/components/core/Dialog/DialogContent/DialogContent.d.ts +0 -1
- package/dist/published/components/core/Dialog/DialogContentText/DialogContentText.d.ts +0 -1
- package/dist/published/components/core/Dialog/DialogTitle/DialogTitle.d.ts +0 -1
- package/dist/published/components/core/Divider/Divider.d.ts +0 -1
- package/dist/published/components/core/Drawer/Drawer.d.ts +0 -1
- package/dist/published/components/core/FieldError/FieldError.d.ts +1 -2
- package/dist/published/components/core/FormElements/FormControl/FormControl.d.ts +0 -1
- package/dist/published/components/core/FormElements/FormControlLabel/FormControlLabel.d.ts +0 -1
- package/dist/published/components/core/FormElements/FormGroup/FormGroup.d.ts +0 -1
- package/dist/published/components/core/FormElements/FormHelperText/FormHelperText.d.ts +0 -1
- package/dist/published/components/core/FormElements/FormLabel/FormLabel.d.ts +0 -1
- package/dist/published/components/core/IconButton/IconButton.d.ts +0 -1
- package/dist/published/components/core/LinearProgress/LinearProgress.d.ts +0 -1
- package/dist/published/components/core/Link/Link.d.ts +0 -1
- package/dist/published/components/core/List/List.d.ts +0 -1
- package/dist/published/components/core/List/ListItem.d.ts +0 -1
- package/dist/published/components/core/List/ListItemText/ListItemText.d.ts +0 -1
- package/dist/published/components/core/LoadingButton/LoadingButton.d.ts +0 -1
- package/dist/published/components/core/LocalizationProvider/LocalizationProvider.d.ts +1 -2
- package/dist/published/components/core/Menu/Menu.d.ts +0 -1
- package/dist/published/components/core/Menu/MenuItem/MenuItem.d.ts +0 -1
- package/dist/published/components/core/Paper/Paper.d.ts +0 -1
- package/dist/published/components/core/Popover/Popover.d.ts +0 -1
- package/dist/published/components/core/Popper/Popper.d.ts +0 -1
- package/dist/published/components/core/RadioGroup/Radio.d.ts +0 -1
- package/dist/published/components/core/RadioGroup/RadioGroup.d.ts +0 -1
- package/dist/published/components/core/Select/Select.d.ts +0 -1
- package/dist/published/components/core/Skeleton/Skeleton.d.ts +0 -1
- package/dist/published/components/core/Snackbar/Snackbar.d.ts +1 -1
- package/dist/published/components/core/StaticDatePicker/StaticDatePicker.d.ts +1 -2
- package/dist/published/components/core/Stepper/Step/Step.d.ts +0 -1
- package/dist/published/components/core/Stepper/StepButton/StepButton.d.ts +0 -1
- package/dist/published/components/core/Stepper/StepConnector/StepConnector.d.ts +0 -1
- package/dist/published/components/core/Stepper/StepContent/StepContent.d.ts +0 -1
- package/dist/published/components/core/Stepper/StepIcon/StepIcon.d.ts +0 -1
- package/dist/published/components/core/Stepper/StepLabel/StepLabel.d.ts +0 -1
- package/dist/published/components/core/Stepper/Stepper.d.ts +0 -1
- package/dist/published/components/core/Switch/Switch.d.ts +0 -1
- package/dist/published/components/core/Table/Table.d.ts +0 -1
- package/dist/published/components/core/Tabs/Tab/Tab.d.ts +0 -1
- package/dist/published/components/core/Tabs/Tabs.d.ts +0 -1
- package/dist/published/components/core/TextField/TextField.d.ts +1 -2
- package/dist/published/components/core/ToggleButton/ToggleButton.d.ts +0 -1
- package/dist/published/components/core/ToggleButtonGroup/ToggleButtonGroup.d.ts +0 -1
- package/dist/published/components/core/Tooltip/Tooltip.d.ts +0 -1
- package/dist/published/components/core/Typography/index.d.ts +0 -1
- package/dist/published/components/custom/BuilderGrid/BuilderGrid.d.ts +2 -2
- package/dist/published/components/custom/BuilderGrid/BuilderGridToolbar.d.ts +1 -1
- package/dist/published/components/custom/BuilderGrid/EmptyContent.d.ts +2 -3
- package/dist/published/components/custom/BuilderGrid/EmptyContentIllustration.d.ts +0 -1
- package/dist/published/components/custom/BuilderGrid/ToolbarActions.d.ts +1 -1
- package/dist/published/components/custom/CriteriaBuilder/CriteriaBuilder.d.ts +1 -1
- package/dist/published/components/custom/CriteriaBuilder/ValueEditor.d.ts +1 -2
- package/dist/published/components/custom/CriteriaBuilder/types.d.ts +4 -4
- package/dist/published/components/custom/DataGrid/DataGrid.d.ts +3 -4
- package/dist/published/components/custom/DataGrid/Toolbar.d.ts +1 -2
- package/dist/published/components/custom/ErrorComponent/ErrorComponent.d.ts +1 -1
- package/dist/published/components/custom/Form/Common/Form.d.ts +2 -3
- package/dist/published/components/custom/Form/Common/Form.js +1 -1
- package/dist/published/components/custom/Form/Common/FormComponentWrapper.d.ts +1 -1
- package/dist/published/components/custom/Form/FormComponents/ButtonComponent.d.ts +3 -4
- package/dist/published/components/custom/Form/FormComponents/DocumentComponent/Document.d.ts +1 -2
- package/dist/published/components/custom/Form/FormComponents/DocumentComponent/DocumentList.d.ts +1 -2
- package/dist/published/components/custom/Form/FormComponents/FormFieldComponent.d.ts +1 -1
- package/dist/published/components/custom/Form/FormComponents/ImageComponent/Image.d.ts +1 -2
- package/dist/published/components/custom/Form/FormComponents/ObjectComponent/InstanceLookup.d.ts +2 -3
- package/dist/published/components/custom/Form/FormComponents/ObjectComponent/ObjectPropertyInput.d.ts +0 -1
- package/dist/published/components/custom/Form/FormComponents/ObjectComponent/RelatedObjectInstance.d.ts +1 -2
- package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/ActionDialog.d.ts +1 -2
- package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/ActionDialog.js +8 -15
- package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/ManyToMany/DropdownRepeatableField.d.ts +1 -2
- package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/ManyToMany/DropdownRepeatableFieldInput.d.ts +2 -3
- package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/RepeatableField.d.ts +1 -2
- package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/RepeatableFieldComponent.d.ts +1 -1
- package/dist/published/components/custom/Form/FormComponents/UserComponent/UserProperty.d.ts +1 -2
- package/dist/published/components/custom/Form/FormComponents/ViewOnlyComponent.js +1 -1
- package/dist/published/components/custom/Form/types.d.ts +7 -7
- package/dist/published/components/custom/Form/utils.d.ts +2 -2
- package/dist/published/components/custom/FormField/AddressFieldComponent/addressFieldComponent.d.ts +1 -2
- package/dist/published/components/custom/FormField/BooleanSelect/BooleanSelect.d.ts +0 -1
- package/dist/published/components/custom/FormField/DatePickerSelect/DatePickerSelect.d.ts +0 -1
- package/dist/published/components/custom/FormField/DatePickerSelect/DatePickerSelect.js +1 -1
- package/dist/published/components/custom/FormField/DateTimePickerSelect/DateTimePickerSelect.d.ts +0 -1
- package/dist/published/components/custom/FormField/DateTimePickerSelect/DateTimePickerSelect.js +1 -1
- package/dist/published/components/custom/FormField/FileUpload/FileUpload.d.ts +0 -1
- package/dist/published/components/custom/FormField/FormField.d.ts +1 -1
- package/dist/published/components/custom/FormField/Select/Select.d.ts +0 -1
- package/dist/published/components/custom/FormField/TimePickerSelect/TimePickerSelect.d.ts +0 -1
- package/dist/published/components/custom/HistoryLog/DisplayedProperty.d.ts +1 -2
- package/dist/published/components/custom/HistoryLog/Filter.d.ts +1 -2
- package/dist/published/components/custom/HistoryLog/HistoryData.d.ts +2 -3
- package/dist/published/components/custom/HistoryLog/HistoryLoading.d.ts +0 -1
- package/dist/published/components/custom/HistoryLog/index.d.ts +1 -2
- package/dist/published/components/custom/Menubar/Menubar.d.ts +1 -2
- package/dist/published/components/custom/MultiSelect/MultiSelect.d.ts +2 -3
- package/dist/published/components/custom/MultiSelect/MultiSelect.js +1 -1
- package/dist/published/components/custom/MultiSelect/SortableItem.d.ts +0 -1
- package/dist/published/components/custom/RepeatableField/RepeatableField.d.ts +2 -3
- package/dist/published/components/custom/RichTextViewer/index.d.ts +1 -2
- package/dist/published/components/custom/UserAvatar/UserAvatar.d.ts +2 -3
- package/dist/published/components/layout/Box/Box.d.ts +1 -1
- package/dist/published/components/layout/Container/Container.d.ts +0 -1
- package/dist/published/components/layout/Grid/Grid.d.ts +0 -1
- package/dist/published/components/layout/Stack/Stack.d.ts +0 -1
- package/dist/published/icons/custom/FileWithExtension.d.ts +0 -1
- package/dist/published/icons/custom/Inherited.d.ts +0 -1
- package/dist/published/icons/custom/Overrides.d.ts +4 -9
- package/dist/published/icons/custom/TrashCan.d.ts +4 -9
- package/dist/published/icons/custom/UploadCloud.d.ts +0 -1
- package/dist/published/stories/Accordion.stories.d.ts +3 -3
- package/dist/published/stories/Alert.stories.d.ts +2 -2
- package/dist/published/stories/AlertTitle.stories.d.ts +2 -2
- package/dist/published/stories/Appbar.stories.d.ts +3 -3
- package/dist/published/stories/Autocomplete.stories.d.ts +2 -2
- package/dist/published/stories/Avatar.stories.d.ts +2 -2
- 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 +4 -8
- 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 +2 -2
- package/dist/published/stories/Chip.stories.d.ts +3 -3
- package/dist/published/stories/CircularProgress.stories.d.ts +2 -2
- package/dist/published/stories/Collapse.stories.d.ts +2 -2
- package/dist/published/stories/Container.stories.d.ts +3 -3
- package/dist/published/stories/CriteriaBuilder.stories.d.ts +2 -2
- package/dist/published/stories/DatePicker.stories.d.ts +2 -3
- package/dist/published/stories/Dialog.stories.d.ts +2 -2
- package/dist/published/stories/Divider.stories.d.ts +3 -3
- package/dist/published/stories/Drawer.stories.d.ts +2 -2
- package/dist/published/stories/FormControl.stories.d.ts +3 -3
- package/dist/published/stories/FormControlLabel.stories.d.ts +2 -2
- package/dist/published/stories/FormField.stories.d.ts +2 -2
- package/dist/published/stories/FormGroup.stories.d.ts +2 -2
- package/dist/published/stories/FormHelperText.stories.d.ts +3 -4
- 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 +2 -2
- package/dist/published/stories/IconButton.stories.d.ts +3 -3
- package/dist/published/stories/LinearProgress.stories.d.ts +2 -2
- 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 +2 -2
- package/dist/published/stories/Palette.stories.d.ts +4 -8
- package/dist/published/stories/Paper.stories.d.ts +3 -3
- package/dist/published/stories/RadioGroup.stories.d.ts +2 -2
- package/dist/published/stories/RichTextViewer.stories.d.ts +2 -2
- package/dist/published/stories/Skeleton.stories.d.ts +3 -3
- package/dist/published/stories/Snackbar.stories.d.ts +2 -2
- package/dist/published/stories/Stack.stories.d.ts +3 -3
- package/dist/published/stories/StaticDatePicker.stories.d.ts +2 -3
- package/dist/published/stories/Stepper.stories.d.ts +3 -7
- package/dist/published/stories/Switch.stories.d.ts +2 -2
- 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 +13 -17
- package/dist/published/stories/TimePicker.stories.d.ts +2 -3
- package/dist/published/stories/TimePickerSelect.stories.d.ts +2 -4
- package/dist/published/stories/ToggleButton.stories.d.ts +3 -3
- package/dist/published/stories/Typography.stories.d.ts +2 -2
- package/dist/published/theme/UIThemeProvider.d.ts +1 -1
- package/dist/published/types.d.ts +13 -13
- package/dist/published/util/date.d.ts +1 -1
- package/package.json +2 -2
@@ -1,11 +1,11 @@
|
|
1
1
|
import { AutocompleteProps as MUIAutocompleteProps } from '@mui/material';
|
2
2
|
import { ReactNode } from 'react';
|
3
|
-
export
|
3
|
+
export type AutocompleteOption = {
|
4
4
|
label: string;
|
5
5
|
value: unknown;
|
6
6
|
[key: string]: unknown;
|
7
7
|
};
|
8
|
-
export
|
8
|
+
export type AutocompleteProps = MUIAutocompleteProps<AutocompleteOption | any, any, any, any> & {
|
9
9
|
options: AutocompleteOption[] | string[] | number[];
|
10
10
|
sortBy?: 'ASC' | 'DESC' | 'NONE';
|
11
11
|
label?: string;
|
@@ -1,7 +1,6 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { DatePickerProps as MUIDatePickerProps } from '@mui/x-date-pickers';
|
3
2
|
import { CalendarDate } from '../../../util/date';
|
4
|
-
export
|
3
|
+
export type DatePickerProps = Omit<MUIDatePickerProps<string | CalendarDate, CalendarDate>, 'renderInput'> & {
|
5
4
|
renderInput?: MUIDatePickerProps<string | CalendarDate, CalendarDate>['renderInput'];
|
6
5
|
};
|
7
6
|
declare const DatePicker: (props: DatePickerProps) => JSX.Element;
|
@@ -1,7 +1,6 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { DateTimePickerProps as MUIDateTimePickerProps } from '@mui/x-date-pickers';
|
3
2
|
import { CalendarDate } from '../../../util';
|
4
|
-
export
|
3
|
+
export type DateTimePickerProps = Omit<MUIDateTimePickerProps<string | CalendarDate, CalendarDate>, 'renderInput'> & {
|
5
4
|
renderInput?: MUIDateTimePickerProps<string | CalendarDate, CalendarDate>['renderInput'];
|
6
5
|
};
|
7
6
|
declare const DateTimePicker: (props: DateTimePickerProps) => JSX.Element;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { DialogActionsProps } from '@mui/material';
|
2
2
|
import { MouseEventHandler } from 'react';
|
3
|
-
|
3
|
+
type DefaultButton = {
|
4
4
|
text: string;
|
5
5
|
onClick?: MouseEventHandler<Element>;
|
6
6
|
};
|
7
|
-
|
7
|
+
type CustomDialogActionsProps = DialogActionsProps & {
|
8
8
|
defaultAction?: DefaultButton;
|
9
9
|
defaultCancel?: DefaultButton;
|
10
10
|
};
|
@@ -1,5 +1,4 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { LocalizationProviderProps as MUILocalizationProviderProps } from '@mui/x-date-pickers';
|
3
|
-
export
|
2
|
+
export type LocalizationProviderProps = Omit<MUILocalizationProviderProps, 'dateAdapter'>;
|
4
3
|
declare const LocalizationProvider: (props: LocalizationProviderProps) => JSX.Element;
|
5
4
|
export default LocalizationProvider;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { SnackbarProps } from '@mui/material';
|
2
2
|
import { SyntheticEvent } from 'react';
|
3
|
-
export
|
3
|
+
export type SnackbarAlertProps = SnackbarProps & {
|
4
4
|
handleClose: (event?: SyntheticEvent | Event, reason?: string) => void;
|
5
5
|
error?: boolean;
|
6
6
|
};
|
@@ -1,7 +1,6 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { StaticDatePickerProps as MUIStaticDatePickerProps } from '@mui/x-date-pickers';
|
3
2
|
import { CalendarDate } from '../../../util/date';
|
4
|
-
export
|
3
|
+
export type StaticDatePickerProps = Omit<MUIStaticDatePickerProps<string | CalendarDate, CalendarDate>, 'renderInput'> & {
|
5
4
|
renderInput?: MUIStaticDatePickerProps<string | CalendarDate, CalendarDate>['renderInput'];
|
6
5
|
};
|
7
6
|
declare const StaticDatePicker: (props: StaticDatePickerProps) => JSX.Element;
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import { GridSortItem, GridValidRowModel, DataGridProps as MuiDataGridProps } from '@mui/x-data-grid';
|
2
2
|
import { ReactElement } from 'react';
|
3
3
|
import { EmptyContentSelectOptions } from './EmptyContent';
|
4
|
-
export
|
4
|
+
export type GridAction = {
|
5
5
|
label: string;
|
6
6
|
onClick: () => void;
|
7
7
|
isHidden?: boolean;
|
8
8
|
variant?: 'text' | 'outlined' | 'contained';
|
9
9
|
};
|
10
|
-
export
|
10
|
+
export type BuilderGridProps<T extends GridValidRowModel> = MuiDataGridProps<T> & {
|
11
11
|
actions?: GridAction[];
|
12
12
|
item?: string;
|
13
13
|
initialSort?: GridSortItem;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { GridToolbarProps as MuiGridToolbarProps } from '@mui/x-data-grid';
|
2
2
|
import { ReactElement } from 'react';
|
3
3
|
import { GridAction } from './BuilderGrid';
|
4
|
-
export
|
4
|
+
export type BuilderGridToolbar = MuiGridToolbarProps & {
|
5
5
|
actions?: GridAction[];
|
6
6
|
title?: string;
|
7
7
|
subtitle?: string;
|
@@ -1,13 +1,12 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { AutocompleteOption } from '../../core';
|
3
|
-
export
|
2
|
+
export type EmptyContentSelectOptions = {
|
4
3
|
instructionText: string;
|
5
4
|
options: AutocompleteOption[];
|
6
5
|
placeholder: string;
|
7
6
|
onChange: (value?: unknown) => void;
|
8
7
|
selectedOption?: string;
|
9
8
|
};
|
10
|
-
|
9
|
+
type EmptyStateComponentProps = {
|
11
10
|
item?: string;
|
12
11
|
onClick?: () => void;
|
13
12
|
selectOptions?: EmptyContentSelectOptions;
|
@@ -2,7 +2,7 @@ import { ElementType } from 'react';
|
|
2
2
|
import 'react-querybuilder/dist/query-builder.css';
|
3
3
|
import { ObjectProperty, Operator, PresetValue } from './types';
|
4
4
|
import { ValueEditorProps } from './ValueEditor';
|
5
|
-
export
|
5
|
+
export type CriteriaInputProps = {
|
6
6
|
properties: ObjectProperty[];
|
7
7
|
setCriteria: (criteria?: Record<string, unknown> | undefined) => void;
|
8
8
|
criteria?: Record<string, unknown>;
|
@@ -1,7 +1,6 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { ValueEditorProps as ValueEditorBaseProps } from 'react-querybuilder';
|
3
2
|
import { AutocompleteOption } from '../../core';
|
4
|
-
export
|
3
|
+
export type ValueEditorProps = ValueEditorBaseProps & {
|
5
4
|
values?: AutocompleteOption[] | any[];
|
6
5
|
};
|
7
6
|
declare const ValueEditor: (props: ValueEditorProps) => JSX.Element;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { BaseSelectorProps } from 'react-querybuilder';
|
2
2
|
import { AutocompleteOption } from '../../core';
|
3
|
-
export
|
3
|
+
export type ObjectProperty = {
|
4
4
|
id: string;
|
5
5
|
name: string;
|
6
6
|
type: string;
|
@@ -10,12 +10,12 @@ export declare type ObjectProperty = {
|
|
10
10
|
objectId?: string;
|
11
11
|
formula?: string;
|
12
12
|
};
|
13
|
-
export
|
13
|
+
export type CustomSelectorProps = BaseSelectorProps & {
|
14
14
|
options: AutocompleteOption[] | any[];
|
15
15
|
fieldData?: Record<string, any>;
|
16
16
|
};
|
17
|
-
export
|
18
|
-
export
|
17
|
+
export type Operator = '=' | '!=' | '<' | '>' | '<=' | '>=' | 'contains' | 'beginsWith' | 'endsWith' | 'doesNotContain' | 'doesNotBeginWith' | 'doesNotEndWith' | 'null' | 'notNull' | 'in' | 'notIn' | 'between' | 'notBetween';
|
18
|
+
export type PresetValue = {
|
19
19
|
label: string;
|
20
20
|
value: {
|
21
21
|
name: string;
|
@@ -1,16 +1,15 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { Theme } from '@mui/material';
|
3
2
|
import { GridValidRowModel, DataGridProps as MuiDataGridProps } from '@mui/x-data-grid';
|
4
|
-
export
|
3
|
+
export type BulkAction = {
|
5
4
|
label: string;
|
6
5
|
onClick: () => void;
|
7
6
|
selectionCount?: number;
|
8
7
|
};
|
9
|
-
|
8
|
+
type LoadingOptions = {
|
10
9
|
color: string;
|
11
10
|
messages?: string[];
|
12
11
|
};
|
13
|
-
export
|
12
|
+
export type DataGridProps<T extends GridValidRowModel> = MuiDataGridProps<T> & {
|
14
13
|
onRefresh?: () => void;
|
15
14
|
theme?: Theme;
|
16
15
|
title?: string;
|