@evoke-platform/ui-components 1.0.0-dev.234 → 1.0.0-dev.236

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 (58) hide show
  1. package/dist/published/components/core/Autocomplete/Autocomplete.d.ts +2 -2
  2. package/dist/published/components/core/Avatar/Avatar.d.ts +1 -1
  3. package/dist/published/components/core/DatePicker/DatePicker.d.ts +1 -1
  4. package/dist/published/components/core/DateTimePicker/DateTimePicker.d.ts +1 -1
  5. package/dist/published/components/core/Dialog/DialogActions/DialogActions.d.ts +2 -2
  6. package/dist/published/components/core/FieldError/FieldError.d.ts +1 -1
  7. package/dist/published/components/core/LocalizationProvider/LocalizationProvider.d.ts +1 -1
  8. package/dist/published/components/core/Snackbar/Snackbar.d.ts +1 -1
  9. package/dist/published/components/core/StaticDatePicker/StaticDatePicker.d.ts +1 -1
  10. package/dist/published/components/core/TextField/TextField.d.ts +1 -1
  11. package/dist/published/components/custom/BuilderGrid/BuilderGrid.d.ts +2 -2
  12. package/dist/published/components/custom/BuilderGrid/BuilderGridToolbar.d.ts +1 -1
  13. package/dist/published/components/custom/BuilderGrid/EmptyContent.d.ts +2 -2
  14. package/dist/published/components/custom/BuilderGrid/ToolbarActions.d.ts +1 -1
  15. package/dist/published/components/custom/CriteriaBuilder/CriteriaBuilder.d.ts +1 -1
  16. package/dist/published/components/custom/CriteriaBuilder/ValueEditor.d.ts +1 -1
  17. package/dist/published/components/custom/CriteriaBuilder/types.d.ts +4 -4
  18. package/dist/published/components/custom/DataGrid/DataGrid.d.ts +3 -3
  19. package/dist/published/components/custom/DataGrid/Toolbar.d.ts +1 -1
  20. package/dist/published/components/custom/ErrorComponent/ErrorComponent.d.ts +1 -1
  21. package/dist/published/components/custom/Form/Common/Form.d.ts +2 -2
  22. package/dist/published/components/custom/Form/Common/Form.js +1 -1
  23. package/dist/published/components/custom/Form/Common/FormComponentWrapper.d.ts +1 -1
  24. package/dist/published/components/custom/Form/FormComponents/ButtonComponent.d.ts +2 -2
  25. package/dist/published/components/custom/Form/FormComponents/DocumentComponent/Document.d.ts +1 -1
  26. package/dist/published/components/custom/Form/FormComponents/DocumentComponent/DocumentList.d.ts +1 -1
  27. package/dist/published/components/custom/Form/FormComponents/FormFieldComponent.d.ts +1 -1
  28. package/dist/published/components/custom/Form/FormComponents/ImageComponent/Image.d.ts +1 -1
  29. package/dist/published/components/custom/Form/FormComponents/ObjectComponent/InstanceLookup.d.ts +2 -2
  30. package/dist/published/components/custom/Form/FormComponents/ObjectComponent/RelatedObjectInstance.d.ts +1 -1
  31. package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/ActionDialog.d.ts +1 -1
  32. package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/ActionDialog.js +8 -15
  33. package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/ManyToMany/DropdownRepeatableField.d.ts +1 -1
  34. package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/ManyToMany/DropdownRepeatableFieldInput.d.ts +2 -2
  35. package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/RepeatableField.d.ts +1 -1
  36. package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/RepeatableFieldComponent.d.ts +1 -1
  37. package/dist/published/components/custom/Form/FormComponents/UserComponent/UserProperty.d.ts +1 -1
  38. package/dist/published/components/custom/Form/FormComponents/ViewOnlyComponent.js +1 -1
  39. package/dist/published/components/custom/Form/types.d.ts +7 -7
  40. package/dist/published/components/custom/FormField/AddressFieldComponent/addressFieldComponent.d.ts +1 -1
  41. package/dist/published/components/custom/FormField/FormField.d.ts +1 -1
  42. package/dist/published/components/custom/HistoryLog/DisplayedProperty.d.ts +1 -1
  43. package/dist/published/components/custom/HistoryLog/Filter.d.ts +1 -1
  44. package/dist/published/components/custom/HistoryLog/HistoryData.d.ts +1 -1
  45. package/dist/published/components/custom/HistoryLog/index.d.ts +1 -1
  46. package/dist/published/components/custom/Menubar/Menubar.d.ts +1 -1
  47. package/dist/published/components/custom/MultiSelect/MultiSelect.d.ts +2 -2
  48. package/dist/published/components/custom/MultiSelect/MultiSelect.js +1 -1
  49. package/dist/published/components/custom/RepeatableField/RepeatableField.d.ts +2 -2
  50. package/dist/published/components/custom/RichTextViewer/index.d.ts +1 -1
  51. package/dist/published/components/custom/UserAvatar/UserAvatar.d.ts +2 -2
  52. package/dist/published/components/layout/Box/Box.d.ts +1 -1
  53. package/dist/published/icons/custom/Overrides.d.ts +1 -1
  54. package/dist/published/icons/custom/TrashCan.d.ts +1 -1
  55. package/dist/published/theme/UIThemeProvider.d.ts +1 -1
  56. package/dist/published/types.d.ts +13 -13
  57. package/dist/published/util/date.d.ts +1 -1
  58. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
1
  import { AutocompleteProps as MUIAutocompleteProps } from '@mui/material';
2
2
  import { ReactNode } from 'react';
3
- export declare type AutocompleteOption = {
3
+ export type AutocompleteOption = {
4
4
  label: string;
5
5
  value: unknown;
6
6
  [key: string]: unknown;
7
7
  };
8
- export declare type AutocompleteProps = MUIAutocompleteProps<AutocompleteOption | any, any, any, any> & {
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,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { AvatarProps } from '@mui/material';
3
- export declare type CustomAvatarProps = AvatarProps & {
3
+ export type CustomAvatarProps = AvatarProps & {
4
4
  isSelected?: boolean;
5
5
  backgroundColor?: string;
6
6
  };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { DatePickerProps as MUIDatePickerProps } from '@mui/x-date-pickers';
3
3
  import { CalendarDate } from '../../../util/date';
4
- export declare type DatePickerProps = Omit<MUIDatePickerProps<string | CalendarDate, CalendarDate>, 'renderInput'> & {
4
+ export type DatePickerProps = Omit<MUIDatePickerProps<string | CalendarDate, CalendarDate>, 'renderInput'> & {
5
5
  renderInput?: MUIDatePickerProps<string | CalendarDate, CalendarDate>['renderInput'];
6
6
  };
7
7
  declare const DatePicker: (props: DatePickerProps) => JSX.Element;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { DateTimePickerProps as MUIDateTimePickerProps } from '@mui/x-date-pickers';
3
3
  import { CalendarDate } from '../../../util';
4
- export declare type DateTimePickerProps = Omit<MUIDateTimePickerProps<string | CalendarDate, CalendarDate>, 'renderInput'> & {
4
+ export type DateTimePickerProps = Omit<MUIDateTimePickerProps<string | CalendarDate, CalendarDate>, 'renderInput'> & {
5
5
  renderInput?: MUIDateTimePickerProps<string | CalendarDate, CalendarDate>['renderInput'];
6
6
  };
7
7
  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
- declare type DefaultButton = {
3
+ type DefaultButton = {
4
4
  text: string;
5
5
  onClick?: MouseEventHandler<Element>;
6
6
  };
7
- declare type CustomDialogActionsProps = DialogActionsProps & {
7
+ type CustomDialogActionsProps = DialogActionsProps & {
8
8
  defaultAction?: DefaultButton;
9
9
  defaultCancel?: DefaultButton;
10
10
  };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare type FieldErrorProps = {
2
+ type FieldErrorProps = {
3
3
  required?: boolean;
4
4
  label?: string;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { LocalizationProviderProps as MUILocalizationProviderProps } from '@mui/x-date-pickers';
3
- export declare type LocalizationProviderProps = Omit<MUILocalizationProviderProps, 'dateAdapter'>;
3
+ export type LocalizationProviderProps = Omit<MUILocalizationProviderProps, 'dateAdapter'>;
4
4
  declare const LocalizationProvider: (props: LocalizationProviderProps) => JSX.Element;
5
5
  export default LocalizationProvider;
@@ -1,6 +1,6 @@
1
1
  import { SnackbarProps } from '@mui/material';
2
2
  import { SyntheticEvent } from 'react';
3
- export declare type SnackbarAlertProps = SnackbarProps & {
3
+ export type SnackbarAlertProps = SnackbarProps & {
4
4
  handleClose: (event?: SyntheticEvent | Event, reason?: string) => void;
5
5
  error?: boolean;
6
6
  };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { StaticDatePickerProps as MUIStaticDatePickerProps } from '@mui/x-date-pickers';
3
3
  import { CalendarDate } from '../../../util/date';
4
- export declare type StaticDatePickerProps = Omit<MUIStaticDatePickerProps<string | CalendarDate, CalendarDate>, 'renderInput'> & {
4
+ export type StaticDatePickerProps = Omit<MUIStaticDatePickerProps<string | CalendarDate, CalendarDate>, 'renderInput'> & {
5
5
  renderInput?: MUIStaticDatePickerProps<string | CalendarDate, CalendarDate>['renderInput'];
6
6
  };
7
7
  declare const StaticDatePicker: (props: StaticDatePickerProps) => JSX.Element;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { TextFieldProps } from '@mui/material';
3
- declare type CustomTextFieldProps = TextFieldProps & {
3
+ type CustomTextFieldProps = TextFieldProps & {
4
4
  labelPlacement?: string;
5
5
  readOnly?: boolean;
6
6
  instructionText?: string;
@@ -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 declare type GridAction = {
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 declare type BuilderGridProps<T extends GridValidRowModel> = MuiDataGridProps<T> & {
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 declare type BuilderGridToolbar = MuiGridToolbarProps & {
4
+ export type BuilderGridToolbar = MuiGridToolbarProps & {
5
5
  actions?: GridAction[];
6
6
  title?: string;
7
7
  subtitle?: string;
@@ -1,13 +1,13 @@
1
1
  /// <reference types="react" />
2
2
  import { AutocompleteOption } from '../../core';
3
- export declare type EmptyContentSelectOptions = {
3
+ export type EmptyContentSelectOptions = {
4
4
  instructionText: string;
5
5
  options: AutocompleteOption[];
6
6
  placeholder: string;
7
7
  onChange: (value?: unknown) => void;
8
8
  selectedOption?: string;
9
9
  };
10
- declare type EmptyStateComponentProps = {
10
+ type EmptyStateComponentProps = {
11
11
  item?: string;
12
12
  onClick?: () => void;
13
13
  selectOptions?: EmptyContentSelectOptions;
@@ -1,6 +1,6 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { GridAction } from './BuilderGrid';
3
- declare type ToolbarActionsProps = {
3
+ type ToolbarActionsProps = {
4
4
  filter?: ReactElement;
5
5
  actions?: GridAction[];
6
6
  };
@@ -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 declare type CriteriaInputProps = {
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,7 @@
1
1
  /// <reference types="react" />
2
2
  import { ValueEditorProps as ValueEditorBaseProps } from 'react-querybuilder';
3
3
  import { AutocompleteOption } from '../../core';
4
- export declare type ValueEditorProps = ValueEditorBaseProps & {
4
+ export type ValueEditorProps = ValueEditorBaseProps & {
5
5
  values?: AutocompleteOption[] | any[];
6
6
  };
7
7
  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 declare type ObjectProperty = {
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 declare type CustomSelectorProps = BaseSelectorProps & {
13
+ export type CustomSelectorProps = BaseSelectorProps & {
14
14
  options: AutocompleteOption[] | any[];
15
15
  fieldData?: Record<string, any>;
16
16
  };
17
- export declare type Operator = '=' | '!=' | '<' | '>' | '<=' | '>=' | 'contains' | 'beginsWith' | 'endsWith' | 'doesNotContain' | 'doesNotBeginWith' | 'doesNotEndWith' | 'null' | 'notNull' | 'in' | 'notIn' | 'between' | 'notBetween';
18
- export declare type PresetValue = {
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,16 @@
1
1
  /// <reference types="react" />
2
2
  import { Theme } from '@mui/material';
3
3
  import { GridValidRowModel, DataGridProps as MuiDataGridProps } from '@mui/x-data-grid';
4
- export declare type BulkAction = {
4
+ export type BulkAction = {
5
5
  label: string;
6
6
  onClick: () => void;
7
7
  selectionCount?: number;
8
8
  };
9
- declare type LoadingOptions = {
9
+ type LoadingOptions = {
10
10
  color: string;
11
11
  messages?: string[];
12
12
  };
13
- export declare type DataGridProps<T extends GridValidRowModel> = MuiDataGridProps<T> & {
13
+ export type DataGridProps<T extends GridValidRowModel> = MuiDataGridProps<T> & {
14
14
  onRefresh?: () => void;
15
15
  theme?: Theme;
16
16
  title?: string;
@@ -2,7 +2,7 @@
2
2
  import { Theme } from '@mui/material';
3
3
  import { GridToolbarProps as MuiGridToolbarProps } from '@mui/x-data-grid';
4
4
  import { BulkAction } from './DataGrid';
5
- export declare type GridToolbarProps = MuiGridToolbarProps & {
5
+ export type GridToolbarProps = MuiGridToolbarProps & {
6
6
  onRefresh?: () => void;
7
7
  setAnchorEl?: (anchorEl: HTMLAnchorElement | null) => void;
8
8
  loading?: boolean;
@@ -1,6 +1,6 @@
1
1
  import { GridSize } from '@mui/material';
2
2
  import { CSSProperties } from 'react';
3
- export declare type ErrorComponentProps = {
3
+ export type ErrorComponentProps = {
4
4
  code?: 'AccessDenied' | 'NotFound' | 'Misconfigured';
5
5
  message?: string;
6
6
  colspan?: GridSize;
@@ -3,11 +3,11 @@ import { ApiServices, Obj, ObjectInstance, UserAccount } from '@evoke-platform/c
3
3
  import { ReactComponent } from '@formio/react';
4
4
  import '../../../../styles/form-component.css';
5
5
  import { Document, ObjectPropertyInputProps } from '../types';
6
- declare type OnSaveResponse = {
6
+ type OnSaveResponse = {
7
7
  isSuccessful: boolean;
8
8
  error?: Record<string, unknown>;
9
9
  };
10
- export declare type FormProps = {
10
+ export type FormProps = {
11
11
  formKey?: number;
12
12
  object?: Obj;
13
13
  instance?: ObjectInstance;
@@ -89,7 +89,7 @@ export function Form(props) {
89
89
  const action = object?.actions?.find((action) => action.id === actionId);
90
90
  let input;
91
91
  const parameters = associatedObject?.propertyId && action?.parameters
92
- ? action.parameters.filter((param) => param.id !== associatedObject?.propertyId)
92
+ ? action.parameters.filter((param) => param.id !== associatedObject.propertyId)
93
93
  : action?.parameters;
94
94
  if (parameters && object) {
95
95
  input = action?.form?.entries
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type FormComponentWrapperProps = {
2
+ type FormComponentWrapperProps = {
3
3
  inputId: string;
4
4
  label: string;
5
5
  description?: string;
@@ -4,7 +4,7 @@ import { Root } from 'react-dom/client';
4
4
  interface ButtonComponentProps {
5
5
  components: Button[];
6
6
  }
7
- declare type Button = {
7
+ type Button = {
8
8
  action: 'cancel' | 'submit' | 'save-draft';
9
9
  label: string;
10
10
  onClick: (event?: any, setError?: (error?: Record<string, unknown>) => void, isSubmitting?: (val: boolean) => void) => void;
@@ -12,7 +12,7 @@ declare type Button = {
12
12
  style: any;
13
13
  isModal: boolean;
14
14
  };
15
- declare type ButtonProps = {
15
+ type ButtonProps = {
16
16
  button: any;
17
17
  handleSubmit: (setSubmitting: (value: boolean) => void) => void;
18
18
  handleCancel: (event: any) => void;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { ApiServices, DocumentValidation, ObjectInstance, Property } from '@evoke-platform/context';
3
3
  import { SavedDocumentReference } from '../../types';
4
- declare type DocumentProps = {
4
+ type DocumentProps = {
5
5
  id: string;
6
6
  handleChange: (propertyId: string, value: (File | SavedDocumentReference)[] | null) => void;
7
7
  property: Property;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { ApiServices, ObjectInstance, Property } from '@evoke-platform/context';
3
3
  import { SavedDocumentReference } from '../../types';
4
- declare type DocumentListProps = {
4
+ type DocumentListProps = {
5
5
  handleChange: (propertyId: string, value: (File | SavedDocumentReference)[] | null) => void;
6
6
  property: Property;
7
7
  instance: ObjectInstance;
@@ -1,7 +1,7 @@
1
1
  import { Property } from '@evoke-platform/context';
2
2
  import { ReactComponent } from '@formio/react';
3
3
  import { BaseFormComponentProps } from '../types';
4
- declare type FormFieldComponentProps = Omit<BaseFormComponentProps, 'property'> & {
4
+ type FormFieldComponentProps = Omit<BaseFormComponentProps, 'property'> & {
5
5
  property: Omit<Property, 'type'> & {
6
6
  type: Property['type'] | 'choices';
7
7
  };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { ObjectInstance } from '@evoke-platform/context';
3
3
  export declare function blobToDataUrl(blob: Blob): Promise<string>;
4
- declare type ImageProps = {
4
+ type ImageProps = {
5
5
  id: string;
6
6
  value?: string;
7
7
  handleChange: (propertyId: string, value: string | null) => void;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ApiServices, Obj, ObjectInstance, Property, TableViewLayout } from '@evoke-platform/context';
3
- export declare type InstanceLookUpProps = {
3
+ export type InstanceLookUpProps = {
4
4
  object: Obj;
5
5
  instanceId?: string;
6
6
  apiServices: ApiServices;
@@ -11,7 +11,7 @@ export declare type InstanceLookUpProps = {
11
11
  filter?: Record<string, unknown>;
12
12
  layout?: TableViewLayout;
13
13
  };
14
- export declare type SearchFieldProps = {
14
+ export type SearchFieldProps = {
15
15
  searchableColumns: Property[];
16
16
  filter: Record<string, unknown> | undefined;
17
17
  setFilter: (filter: Record<string, unknown> | undefined) => void;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { ApiServices, Obj, ObjectInstance, Property, TableViewLayout, UserAccount } from '@evoke-platform/context';
3
3
  import { ReactComponent } from '@formio/react';
4
- export declare type RelatedObjectInstanceProps = {
4
+ export type RelatedObjectInstanceProps = {
5
5
  relatedObject?: Obj;
6
6
  property: Property;
7
7
  apiServices: ApiServices;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { Action, ApiServices, Obj, Property, UserAccount } from '@evoke-platform/context';
3
3
  import { ObjectPropertyInputProps } from '../../types';
4
- export declare type ActionDialogProps = {
4
+ export type ActionDialogProps = {
5
5
  open: boolean;
6
6
  onClose: () => void;
7
7
  action: Action;
@@ -1,7 +1,7 @@
1
1
  import { concat } from 'lodash';
2
2
  import React, { useEffect, useState } from 'react';
3
3
  import { Close } from '../../../../../icons';
4
- import { Button, Dialog, DialogContent, DialogTitle, IconButton, LoadingButton, Skeleton, Typography, } from '../../../../core';
4
+ import { Dialog, DialogContent, DialogTitle, IconButton, Skeleton } from '../../../../core';
5
5
  import { ErrorComponent, Form } from '../../../../custom';
6
6
  import { Box } from '../../../../layout';
7
7
  import { convertComponentsToForm, convertFormToComponents, getPrefixedUrl } from '../../utils';
@@ -38,16 +38,15 @@ const styles = {
38
38
  export const ActionDialog = (props) => {
39
39
  const { open, onClose, action, instanceInput, handleSubmit, apiServices, object, instanceId, relatedProperty, objectInputCommonProps, queryAddresses, user, } = props;
40
40
  const [updatedObject, setUpdatedObject] = useState();
41
- const [hasAccess, setHasAccess] = useState();
41
+ const [hasAccess, setHasAccess] = useState(false);
42
42
  const [loading, setLoading] = useState(false);
43
- const [submitting, setSubmitting] = useState(false);
44
43
  useEffect(() => {
45
44
  if (instanceId) {
46
45
  setLoading(true);
47
46
  apiServices.get(getPrefixedUrl(`/objects/${object.id}/instances/${instanceId}/checkAccess`), {
48
47
  params: { action: 'execute', field: action.id },
49
48
  }, (error, result) => {
50
- setHasAccess(result?.result ?? false);
49
+ setHasAccess(!!result?.result);
51
50
  setLoading(false);
52
51
  });
53
52
  }
@@ -57,7 +56,7 @@ export const ActionDialog = (props) => {
57
56
  }
58
57
  }, [object, instanceId]);
59
58
  useEffect(() => {
60
- const input = (action?.form?.entries && action.parameters) || action?.inputProperties
59
+ const input = (action.form?.entries && action.parameters) || action?.inputProperties
61
60
  ? (action.form?.entries && action.parameters
62
61
  ? convertFormToComponents(action.form.entries, action.parameters, object)
63
62
  : action?.inputProperties)?.filter((inputProperty) => inputProperty?.key !== relatedProperty?.relatedPropertyId)
@@ -66,26 +65,20 @@ export const ActionDialog = (props) => {
66
65
  ...action,
67
66
  form: input ? { entries: convertComponentsToForm(input) } : undefined,
68
67
  };
69
- const properties = object?.properties?.filter((prop) => prop?.id !== relatedProperty?.relatedPropertyId);
68
+ const properties = object.properties?.filter((prop) => prop.id !== relatedProperty?.relatedPropertyId);
70
69
  setUpdatedObject({
71
70
  ...object,
72
71
  properties,
73
- actions: concat(object?.actions?.filter((a) => a?.id !== action.id) ?? [], [updatedAction]),
72
+ actions: concat(object.actions?.filter((a) => a.id !== action.id) ?? [], [updatedAction]),
74
73
  });
75
74
  }, [object]);
75
+ const isDeleteAction = action.type === 'delete';
76
76
  return (React.createElement(Dialog, { maxWidth: 'md', fullWidth: true, open: open, onClose: (e, reason) => reason !== 'backdropClick' && onClose },
77
77
  React.createElement(DialogTitle, { sx: styles.dialogTitle },
78
78
  React.createElement(IconButton, { sx: styles.closeIcon, onClick: onClose },
79
79
  React.createElement(Close, { fontSize: "small" })),
80
80
  action && hasAccess && !loading ? action?.name : ''),
81
- React.createElement(DialogContent, null, hasAccess ? (React.createElement(Box, { sx: { width: '100%', marginTop: '10px' } }, action?.type === 'delete' ? (React.createElement(React.Fragment, null,
82
- React.createElement(Typography, null,
83
- "Are you sure you want to delete this ",
84
- object?.name,
85
- "?"),
86
- React.createElement(Box, { sx: { padding: '25ox 0 10px 0', display: 'flex', justifyContent: 'flex-end' } },
87
- React.createElement(Button, { sx: { ...styles.button, ...styles.cancelBtn }, onClick: onClose }, "Cancel"),
88
- React.createElement(LoadingButton, { sx: { ...styles.button, ...styles.deleteBtn }, onClick: () => handleSubmit('delete', undefined, instanceId, setSubmitting), loading: submitting }, "Delete")))) : (updatedObject && (React.createElement(Form, { actionId: action.id, actionType: action.type, apiServices: objectInputCommonProps.apiServices, object: updatedObject, instance: instanceInput, onSave: async (data, setSubmitting) => handleSubmit(action.type, data, instanceId, setSubmitting), objectInputCommonProps: objectInputCommonProps, closeModal: onClose, queryAddresses: queryAddresses, user: user }))))) : (React.createElement(React.Fragment, null, loading ? (React.createElement(React.Fragment, null,
81
+ React.createElement(DialogContent, null, hasAccess ? (React.createElement(Box, { sx: { width: '100%', marginTop: '10px' } }, (updatedObject || isDeleteAction) && (React.createElement(Form, { actionId: action.id, actionType: action.type, apiServices: objectInputCommonProps.apiServices, object: !isDeleteAction ? updatedObject : object, instance: instanceInput, onSave: async (data, setSubmitting) => handleSubmit(action.type, data, instanceId, setSubmitting), objectInputCommonProps: objectInputCommonProps, closeModal: onClose, queryAddresses: queryAddresses, user: user })))) : (React.createElement(React.Fragment, null, loading ? (React.createElement(React.Fragment, null,
89
82
  React.createElement(Skeleton, { height: '30px', animation: 'wave' }),
90
83
  React.createElement(Skeleton, { height: '30px', animation: 'wave' }),
91
84
  React.createElement(Skeleton, { height: '30px', animation: 'wave' }))) : (React.createElement(ErrorComponent, { code: 'AccessDenied', message: 'You do not have permission to perform this action.', styles: { boxShadow: 'none' } })))))));
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ApiServices, ObjWithRoot, ObjectInstance, Property, ViewLayoutEntityReference } from '@evoke-platform/context';
3
- export declare type DropdownRepeatableFieldProps = {
3
+ export type DropdownRepeatableFieldProps = {
4
4
  id: string;
5
5
  property: Property;
6
6
  instance: ObjectInstance;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { DropdownViewLayout, Obj, ObjectInstance, Property } from '@evoke-platform/context';
3
3
  import { AutocompleteOption } from '../../../../../core';
4
- declare type DropdownRepeatableFieldInputProps = {
4
+ type DropdownRepeatableFieldInputProps = {
5
5
  id: string;
6
6
  property: Property;
7
7
  readOnly: boolean;
@@ -29,7 +29,7 @@ declare type DropdownRepeatableFieldInputProps = {
29
29
  };
30
30
  setDropdownSelections?: (middleObjectInstances: ObjectInstance[]) => void;
31
31
  };
32
- export declare type DropdownRepeatableFieldInputOption = AutocompleteOption & {
32
+ export type DropdownRepeatableFieldInputOption = AutocompleteOption & {
33
33
  endObjectId: string;
34
34
  middleObjectId?: string;
35
35
  subLabel?: string;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ApiServices, ObjectInstance, Property, UserAccount, ViewLayoutEntityReference } from '@evoke-platform/context';
3
- export declare type ObjectPropertyInputProps = {
3
+ export type ObjectPropertyInputProps = {
4
4
  property: Property;
5
5
  instance: ObjectInstance;
6
6
  canUpdateProperty: boolean;
@@ -1,7 +1,7 @@
1
1
  import { ObjWithRoot, ObjectInstance, ViewLayoutEntityReference } from '@evoke-platform/context';
2
2
  import { ReactComponent } from '@formio/react';
3
3
  import { BaseFormComponentProps } from '../../types';
4
- declare type RepeatableFieldComponentProps = BaseFormComponentProps & {
4
+ type RepeatableFieldComponentProps = BaseFormComponentProps & {
5
5
  middleObject: ObjWithRoot;
6
6
  initialMiddleObjectInstances: ObjectInstance[];
7
7
  getMiddleObjectInstances: () => Promise<ObjectInstance[]>;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { ApiServices, Property, UserAccount } from '@evoke-platform/context';
3
3
  import { AutocompleteOption } from '../../../../core';
4
- export declare type UserPropertyProps = {
4
+ export type UserPropertyProps = {
5
5
  id: string;
6
6
  property: Property;
7
7
  apiServices: ApiServices;
@@ -25,7 +25,7 @@ export class ViewOnlyComponent extends ReactComponent {
25
25
  this.showValue = this.showValue.bind(this);
26
26
  }
27
27
  showValue(value) {
28
- if (value == null || value == undefined)
28
+ if (value === null || value === undefined)
29
29
  return React.createElement("span", null, "\u00A0");
30
30
  switch (this.component.type) {
31
31
  case 'ViewOnlyObject':
@@ -1,7 +1,7 @@
1
1
  import { ApiServices, ObjectInstance, Property, UserAccount, ViewLayoutEntityReference } from '@evoke-platform/context';
2
2
  import { ReactComponent } from '@formio/react';
3
3
  import { AutocompleteOption } from '../../core';
4
- export declare type BaseFormComponentProps = {
4
+ export type BaseFormComponentProps = {
5
5
  key: string;
6
6
  id: string;
7
7
  type: string;
@@ -51,7 +51,7 @@ export declare type BaseFormComponentProps = {
51
51
  baseUrl: string;
52
52
  apiServices: ApiServices;
53
53
  };
54
- export declare type ObjectPropertyInputProps = {
54
+ export type ObjectPropertyInputProps = {
55
55
  id: string;
56
56
  instance: ObjectInstance;
57
57
  property: Property;
@@ -79,7 +79,7 @@ export declare type ObjectPropertyInputProps = {
79
79
  viewLayout?: ViewLayoutEntityReference;
80
80
  richTextEditor?: typeof ReactComponent;
81
81
  };
82
- export declare type Address = {
82
+ export type Address = {
83
83
  line1?: string;
84
84
  line2?: string;
85
85
  city?: string;
@@ -87,15 +87,15 @@ export declare type Address = {
87
87
  state?: string;
88
88
  zipCode?: string;
89
89
  };
90
- export declare type User = {
90
+ export type User = {
91
91
  id: string;
92
92
  name: string;
93
93
  status: string;
94
94
  };
95
- export declare type AccessCheck = {
95
+ export type AccessCheck = {
96
96
  result: boolean;
97
97
  };
98
- export declare type Document = {
98
+ export type Document = {
99
99
  id: string;
100
100
  name: string;
101
101
  contentType: string;
@@ -106,7 +106,7 @@ export declare type Document = {
106
106
  };
107
107
  versionId?: string;
108
108
  };
109
- export declare type SavedDocumentReference = {
109
+ export type SavedDocumentReference = {
110
110
  id: string;
111
111
  name: string;
112
112
  };
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { FormFieldProps } from '../FormField';
3
- export declare type Address = {
3
+ export type Address = {
4
4
  address: {
5
5
  line1?: string;
6
6
  line2?: string;
@@ -2,7 +2,7 @@ import { FocusEventHandler, ReactNode } from 'react';
2
2
  import { ObjectProperty } from '../../../types';
3
3
  import { AutocompleteOption } from '../../core';
4
4
  import { Address } from './AddressFieldComponent/addressFieldComponent';
5
- export declare type FormFieldProps = {
5
+ export type FormFieldProps = {
6
6
  id?: string;
7
7
  property: ObjectProperty;
8
8
  onChange: Function;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { Property } from '@evoke-platform/context';
3
- declare type DisplayedPropertyProps = {
3
+ type DisplayedPropertyProps = {
4
4
  property: Property;
5
5
  value: unknown;
6
6
  };
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { Obj } from '@evoke-platform/context';
3
- declare type HistoryFilterProps = {
3
+ type HistoryFilterProps = {
4
4
  filter: string[];
5
5
  setFilter: (filter: string[]) => void;
6
6
  object: Obj;
@@ -2,7 +2,7 @@
2
2
  import { Obj } from '@evoke-platform/context';
3
3
  import { History } from '../../../types';
4
4
  export declare const nanoid: (size?: number | undefined) => string;
5
- declare type HistoryDataProps = {
5
+ type HistoryDataProps = {
6
6
  records: History[];
7
7
  documentHistory?: Record<string, History[]>;
8
8
  object: Obj;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { Obj } from '@evoke-platform/context';
3
3
  import { History } from '../../../types';
4
- export declare type HistoryLogProps = {
4
+ export type HistoryLogProps = {
5
5
  /** The object instance associated with the history log */
6
6
  object: Obj;
7
7
  /** An array of history entries representing the log. */
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ReactJSXElement } from '@emotion/react/types/jsx-namespace';
3
- export declare type MenuBarProps = {
3
+ export type MenuBarProps = {
4
4
  showNotifications: boolean;
5
5
  logo: string;
6
6
  logoAltText?: string;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare type DropdownOption = {
2
+ export type DropdownOption = {
3
3
  id?: string;
4
4
  label: string;
5
5
  value: boolean;
@@ -7,7 +7,7 @@ export declare type DropdownOption = {
7
7
  tooltip?: string;
8
8
  deleted?: boolean;
9
9
  };
10
- export declare type MultiSelectProps = {
10
+ export type MultiSelectProps = {
11
11
  options: DropdownOption[];
12
12
  onChange: (options: DropdownOption[]) => void;
13
13
  maxHeight?: number;
@@ -69,7 +69,7 @@ export default function MultiSelect(props) {
69
69
  }, [optionsArray]);
70
70
  const handleFlagChange = (event, idOrLabel) => {
71
71
  const newOptions = optionsArray.map((option) => {
72
- if (idOrLabel === option.id ?? option.label) {
72
+ if (idOrLabel === (option.id ?? option.label)) {
73
73
  option.value = event.target.checked;
74
74
  }
75
75
  return option;
@@ -1,11 +1,11 @@
1
1
  /// <reference types="react" />
2
- export declare type DynamicHeaders = {
2
+ export type DynamicHeaders = {
3
3
  field: string;
4
4
  displayTitle: string;
5
5
  mapping: string;
6
6
  isError?: (field: Record<string, unknown>) => boolean;
7
7
  };
8
- export declare type RepeatableFieldProps = {
8
+ export type RepeatableFieldProps = {
9
9
  children: Function;
10
10
  onChange: Function;
11
11
  dynamicHeaders?: DynamicHeaders;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare type RichTextViewerProps = {
2
+ export type RichTextViewerProps = {
3
3
  /**
4
4
  * The RTF content to be displayed.
5
5
  */
@@ -1,10 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  import { CustomAvatarProps } from '../../core/Avatar/Avatar';
3
- declare type User = {
3
+ type User = {
4
4
  id: string;
5
5
  name: string;
6
6
  };
7
- export declare type UserAvatarProps = CustomAvatarProps & {
7
+ export type UserAvatarProps = CustomAvatarProps & {
8
8
  user?: User;
9
9
  imageUrl?: string;
10
10
  };
@@ -1,6 +1,6 @@
1
1
  import { BoxProps } from '@mui/material';
2
2
  import { ElementType } from 'react';
3
- declare type CustomBoxProps = BoxProps & {
3
+ type CustomBoxProps = BoxProps & {
4
4
  sx?: object;
5
5
  component?: ElementType;
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import { SvgIconProps } from '@mui/material';
2
2
  import React from 'react';
3
- export declare const Overrides: (props: import("@mui/material").SvgIconOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.SVGProps<SVGSVGElement>, "string" | "direction" | "spacing" | "fontFamily" | "fontSize" | "color" | "fontWeight" | "className" | "style" | "children" | "id" | "lang" | "tabIndex" | "role" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-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" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "clipPath" | "filter" | "mask" | "path" | "key" | "cursor" | "display" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "height" | "imageRendering" | "letterSpacing" | "opacity" | "order" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "width" | "wordSpacing" | "writingMode" | "offset" | "overflow" | "textDecoration" | "azimuth" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "name" | "type" | "href" | "elevation" | "in" | "max" | "orientation" | "media" | "target" | "origin" | "min" | "viewBox" | "method" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "enableBackground" | "end" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "ideographic" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "local" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "mode" | "numOctaves" | "operator" | "orient" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan"> & {
3
+ export declare const Overrides: (props: import("@mui/material").SvgIconOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.SVGProps<SVGSVGElement>, "string" | "direction" | "spacing" | "fontFamily" | "fontSize" | "color" | "fontWeight" | "className" | "style" | "children" | "id" | "lang" | "tabIndex" | "role" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-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" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "clipPath" | "filter" | "mask" | "path" | "key" | "cursor" | "display" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "height" | "imageRendering" | "letterSpacing" | "opacity" | "order" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "width" | "wordSpacing" | "writingMode" | "offset" | "overflow" | "textDecoration" | "azimuth" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "name" | "type" | "href" | "elevation" | "in" | "max" | "orientation" | "media" | "target" | "min" | "viewBox" | "method" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "enableBackground" | "end" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "ideographic" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "local" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "mode" | "numOctaves" | "operator" | "orient" | "origin" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan"> & {
4
4
  ref?: ((instance: SVGSVGElement | null) => void) | React.RefObject<SVGSVGElement> | null | undefined;
5
5
  }, "fontSize" | "color" | "className" | "style" | "classes" | "children" | "sx" | "shapeRendering" | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & {
6
6
  component?: React.ElementType<any> | undefined;
@@ -1,6 +1,6 @@
1
1
  import { SvgIconProps } from '@mui/material';
2
2
  import React from 'react';
3
- export declare const TrashCan: (props: import("@mui/material").SvgIconOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.SVGProps<SVGSVGElement>, "string" | "direction" | "spacing" | "fontFamily" | "fontSize" | "color" | "fontWeight" | "className" | "style" | "children" | "id" | "lang" | "tabIndex" | "role" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-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" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "clipPath" | "filter" | "mask" | "path" | "key" | "cursor" | "display" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "height" | "imageRendering" | "letterSpacing" | "opacity" | "order" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "width" | "wordSpacing" | "writingMode" | "offset" | "overflow" | "textDecoration" | "azimuth" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "name" | "type" | "href" | "elevation" | "in" | "max" | "orientation" | "media" | "target" | "origin" | "min" | "viewBox" | "method" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "enableBackground" | "end" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "ideographic" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "local" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "mode" | "numOctaves" | "operator" | "orient" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan"> & {
3
+ export declare const TrashCan: (props: import("@mui/material").SvgIconOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.SVGProps<SVGSVGElement>, "string" | "direction" | "spacing" | "fontFamily" | "fontSize" | "color" | "fontWeight" | "className" | "style" | "children" | "id" | "lang" | "tabIndex" | "role" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-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" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "clipPath" | "filter" | "mask" | "path" | "key" | "cursor" | "display" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "height" | "imageRendering" | "letterSpacing" | "opacity" | "order" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "width" | "wordSpacing" | "writingMode" | "offset" | "overflow" | "textDecoration" | "azimuth" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "name" | "type" | "href" | "elevation" | "in" | "max" | "orientation" | "media" | "target" | "min" | "viewBox" | "method" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "enableBackground" | "end" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "ideographic" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "local" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "mode" | "numOctaves" | "operator" | "orient" | "origin" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan"> & {
4
4
  ref?: ((instance: SVGSVGElement | null) => void) | React.RefObject<SVGSVGElement> | null | undefined;
5
5
  }, "fontSize" | "color" | "className" | "style" | "classes" | "children" | "sx" | "shapeRendering" | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & {
6
6
  component?: React.ElementType<any> | undefined;
@@ -1,6 +1,6 @@
1
1
  import { Theme } from '@mui/material';
2
2
  import { ReactNode } from 'react';
3
- declare type ThemeProviderPropType = {
3
+ type ThemeProviderPropType = {
4
4
  args?: {
5
5
  theme?: Theme;
6
6
  };
@@ -1,10 +1,10 @@
1
- export declare type EvokeObject = {
1
+ export type EvokeObject = {
2
2
  id: string;
3
3
  name: string;
4
4
  properties: ObjectProperty[];
5
5
  actions: Action[];
6
6
  };
7
- export declare type ObjectProperty = {
7
+ export type ObjectProperty = {
8
8
  id: string;
9
9
  name: string;
10
10
  type: string;
@@ -14,14 +14,14 @@ export declare type ObjectProperty = {
14
14
  objectId?: string;
15
15
  formula?: string;
16
16
  };
17
- declare type Action = {
17
+ type Action = {
18
18
  id: string;
19
19
  name: string;
20
20
  type: string;
21
21
  inputProperties?: Record<string, unknown>[];
22
22
  outputEvent: string;
23
23
  };
24
- export declare type RichTextTemplate = {
24
+ export type RichTextTemplate = {
25
25
  id: string;
26
26
  name: string;
27
27
  objectId: string;
@@ -41,7 +41,7 @@ export declare type RichTextTemplate = {
41
41
  direction: 'asc' | 'desc' | 'ASC' | 'DESC';
42
42
  };
43
43
  };
44
- export declare type App = {
44
+ export type App = {
45
45
  id: string;
46
46
  name: string;
47
47
  type: string;
@@ -52,7 +52,7 @@ export declare type App = {
52
52
  pages?: Page[];
53
53
  defaultPages?: Record<string, string>;
54
54
  };
55
- export declare type Page = {
55
+ export type Page = {
56
56
  id: string;
57
57
  name: string;
58
58
  pk?: string;
@@ -63,7 +63,7 @@ export declare type Page = {
63
63
  children?: (ContainerView | ConfiguredWidget)[];
64
64
  slug?: string;
65
65
  };
66
- export declare type ConfiguredWidget = {
66
+ export type ConfiguredWidget = {
67
67
  id: string;
68
68
  widgetKey: string;
69
69
  colSpan: number;
@@ -71,14 +71,14 @@ export declare type ConfiguredWidget = {
71
71
  properties: Record<string, any>;
72
72
  pluginId: string;
73
73
  };
74
- export declare type ContainerView = {
74
+ export type ContainerView = {
75
75
  id: string;
76
76
  type: 'container';
77
77
  children?: ContainerView[] | ConfiguredWidget[];
78
78
  };
79
- export declare type HistoryEventType = 'create' | 'update' | 'delete' | 'queue' | 'print' | 'email' | 'upload';
80
- export declare type HistoryType = 'correspondence' | 'document' | 'instance';
81
- export declare type History = {
79
+ export type HistoryEventType = 'create' | 'update' | 'delete' | 'queue' | 'print' | 'email' | 'upload';
80
+ export type HistoryType = 'correspondence' | 'document' | 'instance';
81
+ export type History = {
82
82
  user: Reference;
83
83
  event: string;
84
84
  eventType: HistoryEventType;
@@ -87,12 +87,12 @@ export declare type History = {
87
87
  subject: Reference;
88
88
  data?: HistoryData[];
89
89
  };
90
- export declare type HistoryData = {
90
+ export type HistoryData = {
91
91
  property: string;
92
92
  historicalValue?: unknown;
93
93
  updatedValue?: unknown;
94
94
  };
95
- export declare type Reference = {
95
+ export type Reference = {
96
96
  id: string;
97
97
  name?: string;
98
98
  };
@@ -18,6 +18,6 @@ export declare class InvalidDate implements Temporal {
18
18
  getLong(field: TemporalField): number;
19
19
  toString(): string;
20
20
  }
21
- export declare type CalendarDate = LocalDate | InvalidDate | LocalDateTime;
21
+ export type CalendarDate = LocalDate | InvalidDate | LocalDateTime;
22
22
  export declare function isValidDate(date: CalendarDate): date is LocalDate | LocalDateTime;
23
23
  export { LocalDate, LocalDateTime, nativeJs } from '@js-joda/core';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evoke-platform/ui-components",
3
- "version": "1.0.0-dev.234",
3
+ "version": "1.0.0-dev.236",
4
4
  "description": "",
5
5
  "main": "dist/published/index.js",
6
6
  "module": "dist/published/index.js",