@evoke-platform/ui-components 1.0.0-dev.216 → 1.0.0-dev.218

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 (276) hide show
  1. package/LICENSE +1 -1
  2. package/colors.ts +1 -1
  3. package/dist/published/components/core/Accordion/Accordion.js +1 -1
  4. package/dist/published/components/core/Accordion/AccordionActions/AccordionActions.js +1 -1
  5. package/dist/published/components/core/Accordion/AccordionDetails/AccordionDetails.js +1 -1
  6. package/dist/published/components/core/Accordion/AccordionSummary/AccordionSummary.js +1 -1
  7. package/dist/published/components/core/Accordion/index.d.ts +2 -2
  8. package/dist/published/components/core/Accordion/index.js +2 -2
  9. package/dist/published/components/core/Alert/Alert.js +3 -3
  10. package/dist/published/components/core/AlertTitle/AlertTitle.js +1 -1
  11. package/dist/published/components/core/AppBar/AppBar.js +1 -1
  12. package/dist/published/components/core/Autocomplete/Autocomplete.d.ts +2 -2
  13. package/dist/published/components/core/Autocomplete/Autocomplete.js +2 -2
  14. package/dist/published/components/core/Autocomplete/Autocomplete.test.js +1 -1
  15. package/dist/published/components/core/Avatar/Avatar.js +1 -1
  16. package/dist/published/components/core/Backdrop/Backdrop.js +1 -1
  17. package/dist/published/components/core/Badge/Badge.js +1 -1
  18. package/dist/published/components/core/Breadcrumbs/Breadcrumbs.js +1 -1
  19. package/dist/published/components/core/Button/Button.js +1 -1
  20. package/dist/published/components/core/ButtonGroup/ButtonGroup.js +1 -1
  21. package/dist/published/components/core/Card/Card.js +1 -1
  22. package/dist/published/components/core/Checkbox/Checkbox.js +1 -1
  23. package/dist/published/components/core/Chip/Chip.js +1 -1
  24. package/dist/published/components/core/CircularProgress/CircularProgress.js +1 -1
  25. package/dist/published/components/core/Collapse/Collapse.js +1 -1
  26. package/dist/published/components/core/DatePicker/DatePicker.js +3 -3
  27. package/dist/published/components/core/DateTimePicker/DateTimePicker.js +3 -3
  28. package/dist/published/components/core/Dialog/Dialog.js +1 -1
  29. package/dist/published/components/core/Dialog/DialogActions/DialogActions.d.ts +2 -2
  30. package/dist/published/components/core/Dialog/DialogActions/DialogActions.js +1 -1
  31. package/dist/published/components/core/Dialog/DialogContent/DialogContent.js +1 -1
  32. package/dist/published/components/core/Dialog/DialogContentText/DialogContentText.js +1 -1
  33. package/dist/published/components/core/Dialog/DialogTitle/DialogTitle.js +1 -1
  34. package/dist/published/components/core/Dialog/index.d.ts +2 -2
  35. package/dist/published/components/core/Dialog/index.js +2 -2
  36. package/dist/published/components/core/Divider/Divider.js +1 -1
  37. package/dist/published/components/core/Drawer/Drawer.js +1 -1
  38. package/dist/published/components/core/FieldError/FieldError.js +2 -2
  39. package/dist/published/components/core/FormElements/FormControl/FormControl.js +1 -1
  40. package/dist/published/components/core/FormElements/FormControlLabel/FormControlLabel.js +1 -1
  41. package/dist/published/components/core/FormElements/FormGroup/FormGroup.js +1 -1
  42. package/dist/published/components/core/FormElements/FormHelperText/FormHelperText.js +1 -1
  43. package/dist/published/components/core/FormElements/FormLabel/FormLabel.js +1 -1
  44. package/dist/published/components/core/FormElements/index.d.ts +3 -3
  45. package/dist/published/components/core/FormElements/index.js +3 -3
  46. package/dist/published/components/core/IconButton/IconButton.js +1 -1
  47. package/dist/published/components/core/LinearProgress/LinearProgress.js +1 -1
  48. package/dist/published/components/core/Link/Link.js +1 -1
  49. package/dist/published/components/core/List/List.js +1 -1
  50. package/dist/published/components/core/List/ListItem.js +1 -1
  51. package/dist/published/components/core/List/ListItemText/ListItemText.js +1 -1
  52. package/dist/published/components/core/LoadingButton/LoadingButton.js +1 -1
  53. package/dist/published/components/core/LocalizationProvider/LocalizationProvider.js +4 -4
  54. package/dist/published/components/core/Menu/Menu.js +1 -1
  55. package/dist/published/components/core/Menu/MenuItem/MenuItem.js +1 -1
  56. package/dist/published/components/core/Menu/index.d.ts +1 -1
  57. package/dist/published/components/core/Menu/index.js +1 -1
  58. package/dist/published/components/core/Paper/Paper.js +1 -1
  59. package/dist/published/components/core/Popover/Popover.js +1 -1
  60. package/dist/published/components/core/Popper/Popper.js +1 -1
  61. package/dist/published/components/core/RadioGroup/Radio.js +1 -1
  62. package/dist/published/components/core/RadioGroup/RadioGroup.js +1 -1
  63. package/dist/published/components/core/Select/Select.js +1 -1
  64. package/dist/published/components/core/Skeleton/Skeleton.js +1 -1
  65. package/dist/published/components/core/Snackbar/Snackbar.d.ts +2 -2
  66. package/dist/published/components/core/Snackbar/Snackbar.js +1 -1
  67. package/dist/published/components/core/StaticDatePicker/StaticDatePicker.js +2 -2
  68. package/dist/published/components/core/Stepper/Step/Step.js +1 -1
  69. package/dist/published/components/core/Stepper/StepButton/StepButton.js +1 -1
  70. package/dist/published/components/core/Stepper/StepConnector/StepConnector.js +1 -1
  71. package/dist/published/components/core/Stepper/StepContent/StepContent.js +1 -1
  72. package/dist/published/components/core/Stepper/StepIcon/StepIcon.js +1 -1
  73. package/dist/published/components/core/Stepper/StepLabel/StepLabel.js +1 -1
  74. package/dist/published/components/core/Stepper/Stepper.js +1 -1
  75. package/dist/published/components/core/Stepper/index.d.ts +5 -5
  76. package/dist/published/components/core/Stepper/index.js +5 -5
  77. package/dist/published/components/core/Switch/Switch.js +1 -1
  78. package/dist/published/components/core/Table/Table.js +1 -1
  79. package/dist/published/components/core/Tabs/Tab/Tab.js +1 -1
  80. package/dist/published/components/core/Tabs/Tabs.js +1 -1
  81. package/dist/published/components/core/Tabs/index.d.ts +2 -2
  82. package/dist/published/components/core/Tabs/index.js +2 -2
  83. package/dist/published/components/core/TextField/TextField.js +1 -1
  84. package/dist/published/components/core/TextField/TextField.test.js +1 -1
  85. package/dist/published/components/core/ToggleButton/ToggleButton.js +1 -1
  86. package/dist/published/components/core/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  87. package/dist/published/components/core/Tooltip/Tooltip.js +1 -1
  88. package/dist/published/components/core/Typography/index.js +1 -1
  89. package/dist/published/components/core/index.d.ts +23 -23
  90. package/dist/published/components/core/index.js +22 -22
  91. package/dist/published/components/custom/BuilderGrid/BuilderGrid.d.ts +3 -3
  92. package/dist/published/components/custom/BuilderGrid/BuilderGrid.js +1 -1
  93. package/dist/published/components/custom/BuilderGrid/BuilderGridToolbar.d.ts +2 -2
  94. package/dist/published/components/custom/BuilderGrid/ToolbarActions.d.ts +2 -2
  95. package/dist/published/components/custom/CriteriaBuilder/CriteriaBuilder.d.ts +3 -3
  96. package/dist/published/components/custom/CriteriaBuilder/CriteriaBuilder.js +2 -2
  97. package/dist/published/components/custom/CriteriaBuilder/ValueEditor.d.ts +1 -1
  98. package/dist/published/components/custom/CriteriaBuilder/ValueEditor.js +3 -3
  99. package/dist/published/components/custom/DataGrid/DataGrid.d.ts +1 -1
  100. package/dist/published/components/custom/DataGrid/DataGrid.js +4 -5
  101. package/dist/published/components/custom/DataGrid/DateTimeCustomOperator.js +1 -1
  102. package/dist/published/components/custom/DataGrid/Toolbar.d.ts +1 -1
  103. package/dist/published/components/custom/DataGrid/Toolbar.js +3 -3
  104. package/dist/published/components/custom/ErrorComponent/ErrorComponent.d.ts +2 -2
  105. package/dist/published/components/custom/ErrorComponent/ErrorComponent.js +2 -2
  106. package/dist/published/components/custom/Form/Common/Form.d.ts +38 -0
  107. package/dist/published/components/custom/Form/Common/Form.js +413 -0
  108. package/dist/published/components/custom/Form/Common/FormComponentWrapper.d.ts +26 -0
  109. package/dist/published/components/custom/Form/Common/FormComponentWrapper.js +79 -0
  110. package/dist/published/components/custom/Form/Common/index.d.ts +2 -0
  111. package/dist/published/components/custom/Form/Common/index.js +2 -0
  112. package/dist/published/components/custom/Form/FormComponents/ButtonComponent.d.ts +37 -0
  113. package/dist/published/components/custom/Form/FormComponents/ButtonComponent.js +150 -0
  114. package/dist/published/components/custom/Form/FormComponents/DocumentComponent/Document.d.ts +17 -0
  115. package/dist/published/components/custom/Form/FormComponents/DocumentComponent/Document.js +80 -0
  116. package/dist/published/components/custom/Form/FormComponents/DocumentComponent/DocumentComponent.d.ts +23 -0
  117. package/dist/published/components/custom/Form/FormComponents/DocumentComponent/DocumentComponent.js +154 -0
  118. package/dist/published/components/custom/Form/FormComponents/DocumentComponent/DocumentList.d.ts +15 -0
  119. package/dist/published/components/custom/Form/FormComponents/DocumentComponent/DocumentList.js +172 -0
  120. package/dist/published/components/custom/Form/FormComponents/FormFieldComponent.d.ts +41 -0
  121. package/dist/published/components/custom/Form/FormComponents/FormFieldComponent.js +409 -0
  122. package/dist/published/components/custom/Form/FormComponents/ImageComponent/Image.d.ts +15 -0
  123. package/dist/published/components/custom/Form/FormComponents/ImageComponent/Image.js +111 -0
  124. package/dist/published/components/custom/Form/FormComponents/ImageComponent/ImageComponent.d.ts +23 -0
  125. package/dist/published/components/custom/Form/FormComponents/ImageComponent/ImageComponent.js +112 -0
  126. package/dist/published/components/custom/Form/FormComponents/ObjectComponent/InstanceLookup.d.ts +20 -0
  127. package/dist/published/components/custom/Form/FormComponents/ObjectComponent/InstanceLookup.js +229 -0
  128. package/dist/published/components/custom/Form/FormComponents/ObjectComponent/ObjectComponent.d.ts +34 -0
  129. package/dist/published/components/custom/Form/FormComponents/ObjectComponent/ObjectComponent.js +150 -0
  130. package/dist/published/components/custom/Form/FormComponents/ObjectComponent/ObjectPropertyInput.d.ts +3 -0
  131. package/dist/published/components/custom/Form/FormComponents/ObjectComponent/ObjectPropertyInput.js +306 -0
  132. package/dist/published/components/custom/Form/FormComponents/ObjectComponent/RelatedObjectInstance.d.ts +24 -0
  133. package/dist/published/components/custom/Form/FormComponents/ObjectComponent/RelatedObjectInstance.js +126 -0
  134. package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/ActionDialog.d.ts +21 -0
  135. package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/ActionDialog.js +96 -0
  136. package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/ManyToMany/DropdownRepeatableField.d.ts +15 -0
  137. package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/ManyToMany/DropdownRepeatableField.js +158 -0
  138. package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/ManyToMany/DropdownRepeatableFieldInput.d.ts +39 -0
  139. package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/ManyToMany/DropdownRepeatableFieldInput.js +89 -0
  140. package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/RepeatableField.d.ts +12 -0
  141. package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/RepeatableField.js +369 -0
  142. package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/RepeatableFieldComponent.d.ts +20 -0
  143. package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/RepeatableFieldComponent.js +57 -0
  144. package/dist/published/components/custom/Form/FormComponents/UserComponent/UserComponent.d.ts +26 -0
  145. package/dist/published/components/custom/Form/FormComponents/UserComponent/UserComponent.js +99 -0
  146. package/dist/published/components/custom/Form/FormComponents/UserComponent/UserProperty.d.ts +23 -0
  147. package/dist/published/components/custom/Form/FormComponents/UserComponent/UserProperty.js +115 -0
  148. package/dist/published/components/custom/Form/FormComponents/ViewOnlyComponent.d.ts +20 -0
  149. package/dist/published/components/custom/Form/FormComponents/ViewOnlyComponent.js +83 -0
  150. package/dist/published/components/custom/Form/FormComponents/index.d.ts +8 -0
  151. package/dist/published/components/custom/Form/FormComponents/index.js +8 -0
  152. package/dist/published/components/custom/Form/index.d.ts +3 -0
  153. package/dist/published/components/custom/Form/index.js +3 -0
  154. package/dist/published/components/custom/Form/types.d.ts +109 -0
  155. package/dist/published/components/custom/Form/types.js +1 -0
  156. package/dist/published/components/custom/Form/utils.d.ts +45 -0
  157. package/dist/published/components/custom/Form/utils.js +1036 -0
  158. package/dist/published/components/custom/FormField/AddressFieldComponent/AddressFieldComponent.test.js +1 -1
  159. package/dist/published/components/custom/FormField/AddressFieldComponent/addressFieldComponent.js +1 -1
  160. package/dist/published/components/custom/FormField/BooleanSelect/BooleanSelect.test.js +1 -1
  161. package/dist/published/components/custom/FormField/DatePickerSelect/DatePickerSelect.test.js +3 -3
  162. package/dist/published/components/custom/FormField/DateTimePickerSelect/DateTimePickerSelect.js +2 -2
  163. package/dist/published/components/custom/FormField/DateTimePickerSelect/DateTimePickerSelect.test.js +4 -4
  164. package/dist/published/components/custom/FormField/FormField.d.ts +4 -4
  165. package/dist/published/components/custom/FormField/FormField.js +1 -1
  166. package/dist/published/components/custom/FormField/InputFieldComponent/InputFieldComponent.js +1 -1
  167. package/dist/published/components/custom/FormField/InputFieldComponent/InputFieldComponent.test.js +1 -1
  168. package/dist/published/components/custom/FormField/Select/Select.test.js +1 -1
  169. package/dist/published/components/custom/FormField/TimePickerSelect/TimePickerSelect.js +4 -4
  170. package/dist/published/components/custom/Menubar/Menubar.js +1 -1
  171. package/dist/published/components/custom/Menubar/Menubar.test.js +2 -2
  172. package/dist/published/components/custom/MultiSelect/MultiSelect.js +7 -7
  173. package/dist/published/components/custom/MultiSelect/SortableItem.js +2 -2
  174. package/dist/published/components/custom/RepeatableField/RepeatableField.js +4 -4
  175. package/dist/published/components/custom/index.d.ts +1 -0
  176. package/dist/published/components/custom/index.js +1 -0
  177. package/dist/published/components/custom/util.js +1 -1
  178. package/dist/published/components/layout/Box/Box.d.ts +2 -2
  179. package/dist/published/components/layout/Box/Box.js +1 -1
  180. package/dist/published/components/layout/Container/Container.js +1 -1
  181. package/dist/published/components/layout/Grid/Grid.js +1 -1
  182. package/dist/published/components/layout/Stack/Stack.js +1 -1
  183. package/dist/published/icons/custom/TrashCan.d.ts +1 -1
  184. package/dist/published/icons/custom/TrashCan.js +1 -1
  185. package/dist/published/icons/custom/index.d.ts +1 -1
  186. package/dist/published/icons/custom/index.js +1 -1
  187. package/dist/published/index.d.ts +3 -3
  188. package/dist/published/index.js +2 -2
  189. package/dist/published/stories/Accordion.stories.d.ts +1 -1
  190. package/dist/published/stories/Accordion.stories.js +2 -2
  191. package/dist/published/stories/Alert.stories.d.ts +1 -1
  192. package/dist/published/stories/AlertTitle.stories.d.ts +1 -1
  193. package/dist/published/stories/Appbar.stories.d.ts +1 -1
  194. package/dist/published/stories/Appbar.stories.js +2 -2
  195. package/dist/published/stories/Autocomplete.stories.d.ts +1 -1
  196. package/dist/published/stories/Autocomplete.stories.js +3 -3
  197. package/dist/published/stories/Avatar.stories.d.ts +1 -1
  198. package/dist/published/stories/Backdrop.stories.d.ts +1 -1
  199. package/dist/published/stories/Backdrop.stories.js +3 -3
  200. package/dist/published/stories/Badge.stories.d.ts +1 -1
  201. package/dist/published/stories/Badge.stories.js +1 -1
  202. package/dist/published/stories/Box.stories.d.ts +1 -1
  203. package/dist/published/stories/Breadcrumbs.stories.d.ts +1 -1
  204. package/dist/published/stories/Button.stories.d.ts +1 -1
  205. package/dist/published/stories/ButtonGroup.stories.d.ts +1 -1
  206. package/dist/published/stories/Card.stories.d.ts +1 -1
  207. package/dist/published/stories/Card.stories.js +1 -1
  208. package/dist/published/stories/Checkbox.stories.d.ts +1 -1
  209. package/dist/published/stories/Chip.stories.d.ts +1 -1
  210. package/dist/published/stories/CircularProgress.stories.d.ts +1 -1
  211. package/dist/published/stories/Collapse.stories.d.ts +1 -1
  212. package/dist/published/stories/Collapse.stories.js +1 -1
  213. package/dist/published/stories/Container.stories.d.ts +1 -1
  214. package/dist/published/stories/Container.stories.js +3 -3
  215. package/dist/published/stories/DataGrid.stories.d.ts +1 -1
  216. package/dist/published/stories/DataGrid.stories.js +1 -1
  217. package/dist/published/stories/DatePicker.stories.d.ts +1 -1
  218. package/dist/published/stories/Dialog.stories.d.ts +1 -1
  219. package/dist/published/stories/Dialog.stories.js +3 -3
  220. package/dist/published/stories/Divider.stories.d.ts +1 -1
  221. package/dist/published/stories/Drawer.stories.d.ts +1 -1
  222. package/dist/published/stories/Drawer.stories.js +4 -4
  223. package/dist/published/stories/FormControl.stories.d.ts +1 -1
  224. package/dist/published/stories/FormControl.stories.js +1 -1
  225. package/dist/published/stories/FormControlLabel.stories.d.ts +1 -1
  226. package/dist/published/stories/FormGroup.stories.d.ts +1 -1
  227. package/dist/published/stories/FormHelperText.stories.d.ts +1 -1
  228. package/dist/published/stories/FormLabel.stories.d.ts +1 -1
  229. package/dist/published/stories/FormLabel.stories.js +2 -2
  230. package/dist/published/stories/Grid.stories.d.ts +1 -1
  231. package/dist/published/stories/IconButton.stories.d.ts +1 -1
  232. package/dist/published/stories/IconButton.stories.js +1 -1
  233. package/dist/published/stories/LinearProgress.stories.d.ts +1 -1
  234. package/dist/published/stories/Link.stories.d.ts +1 -1
  235. package/dist/published/stories/List.stories.d.ts +1 -1
  236. package/dist/published/stories/List.stories.js +3 -3
  237. package/dist/published/stories/Menu.stories.d.ts +1 -1
  238. package/dist/published/stories/Menu.stories.js +3 -3
  239. package/dist/published/stories/MenuBar.stories.d.ts +1 -1
  240. package/dist/published/stories/MenuBar.stories.js +1 -1
  241. package/dist/published/stories/MultiSelect.stories.d.ts +1 -1
  242. package/dist/published/stories/MultiSelect.stories.js +1 -1
  243. package/dist/published/stories/Palette.stories.d.ts +1 -1
  244. package/dist/published/stories/Palette.stories.js +1 -1
  245. package/dist/published/stories/Paper.stories.d.ts +1 -1
  246. package/dist/published/stories/Paper.stories.js +1 -1
  247. package/dist/published/stories/RadioGroup.stories.d.ts +1 -1
  248. package/dist/published/stories/RadioGroup.stories.js +1 -1
  249. package/dist/published/stories/RepeatableField.stories.d.ts +1 -1
  250. package/dist/published/stories/RepeatableField.stories.js +1 -1
  251. package/dist/published/stories/Skeleton.stories.d.ts +1 -1
  252. package/dist/published/stories/Snackbar.stories.d.ts +1 -1
  253. package/dist/published/stories/Snackbar.stories.js +3 -3
  254. package/dist/published/stories/Stack.stories.d.ts +1 -1
  255. package/dist/published/stories/StaticDatePicker.stories.d.ts +1 -1
  256. package/dist/published/stories/Stepper.stories.d.ts +2 -2
  257. package/dist/published/stories/Stepper.stories.js +6 -6
  258. package/dist/published/stories/Switch.stories.d.ts +1 -1
  259. package/dist/published/stories/Table.stories.d.ts +1 -1
  260. package/dist/published/stories/Table.stories.js +1 -1
  261. package/dist/published/stories/Tabs.stories.d.ts +1 -1
  262. package/dist/published/stories/TextField.stories.d.ts +1 -1
  263. package/dist/published/stories/TimePicker.stories.d.ts +1 -1
  264. package/dist/published/stories/TimePicker.stories.js +1 -1
  265. package/dist/published/stories/TimePickerSelect.stories.d.ts +1 -1
  266. package/dist/published/stories/ToggleButton.stories.d.ts +1 -1
  267. package/dist/published/stories/ToggleButton.stories.js +3 -3
  268. package/dist/published/stories/Typography.stories.d.ts +1 -1
  269. package/dist/published/stories/Typography.stories.js +1 -1
  270. package/dist/published/styles/form-component.css +152 -0
  271. package/dist/published/theme/UIThemeProvider.d.ts +2 -2
  272. package/dist/published/theme/UIThemeProvider.js +1 -1
  273. package/dist/published/util/date.d.ts +1 -1
  274. package/dist/published/util/date.js +1 -1
  275. package/icons.ts +1 -1
  276. package/package.json +21 -7
@@ -9,10 +9,10 @@ var __rest = (this && this.__rest) || function (s, e) {
9
9
  }
10
10
  return t;
11
11
  };
12
+ import { LocalDate } from '@js-joda/core';
13
+ import { StaticDatePicker as MUIStaticDatePicker, } from '@mui/x-date-pickers';
12
14
  import React from 'react';
13
15
  import UIThemeProvider from '../../../theme';
14
- import { StaticDatePicker as MUIStaticDatePicker, } from '@mui/x-date-pickers';
15
- import { LocalDate } from '@js-joda/core';
16
16
  import { InvalidDate } from '../../../util/date';
17
17
  import TextField from '../TextField';
18
18
  const StaticDatePicker = (props) => {
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
1
  import { Step as MUIStep } from '@mui/material';
2
+ import React from 'react';
3
3
  import UIThemeProvider from '../../../../theme';
4
4
  const Step = (props) => {
5
5
  return (React.createElement(UIThemeProvider, null,
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
1
  import { StepButton as MUIStepButton } from '@mui/material';
2
+ import React from 'react';
3
3
  import UIThemeProvider from '../../../../theme';
4
4
  const StepButton = (props) => {
5
5
  return (React.createElement(UIThemeProvider, null,
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
1
  import { StepConnector as MUIStepConnector } from '@mui/material';
2
+ import React from 'react';
3
3
  import UIThemeProvider from '../../../../theme';
4
4
  const StepConnector = (props) => {
5
5
  return (React.createElement(UIThemeProvider, null,
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
1
  import { StepContent as MUIStepContent } from '@mui/material';
2
+ import React from 'react';
3
3
  import UIThemeProvider from '../../../../theme';
4
4
  const StepContent = (props) => {
5
5
  return (React.createElement(UIThemeProvider, null,
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
1
  import { StepIcon as MUIStepIcon } from '@mui/material';
2
+ import React from 'react';
3
3
  import UIThemeProvider from '../../../../theme';
4
4
  const StepIcon = (props) => {
5
5
  return (React.createElement(UIThemeProvider, null,
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
1
  import { StepLabel as MUIStepLabel } from '@mui/material';
2
+ import React from 'react';
3
3
  import UIThemeProvider from '../../../../theme';
4
4
  const StepLabel = (props) => {
5
5
  return (React.createElement(UIThemeProvider, null,
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
1
  import { Stepper as MUIStepper } from '@mui/material';
2
+ import React from 'react';
3
3
  import UIThemeProvider from '../../../theme';
4
4
  const Stepper = (props) => {
5
5
  return (React.createElement(UIThemeProvider, null,
@@ -1,8 +1,8 @@
1
1
  import Step from './Step';
2
- import Stepper from './Stepper';
3
- import StepIcon from './StepIcon';
4
- import StepLabel from './StepLabel';
5
2
  import StepButton from './StepButton';
6
- import StepContent from './StepContent';
7
3
  import StepConnector from './StepConnector';
8
- export { Stepper, Step, StepLabel, StepContent, StepIcon, StepButton, StepConnector };
4
+ import StepContent from './StepContent';
5
+ import StepIcon from './StepIcon';
6
+ import StepLabel from './StepLabel';
7
+ import Stepper from './Stepper';
8
+ export { Step, StepButton, StepConnector, StepContent, StepIcon, StepLabel, Stepper };
@@ -1,8 +1,8 @@
1
1
  import Step from './Step';
2
- import Stepper from './Stepper';
3
- import StepIcon from './StepIcon';
4
- import StepLabel from './StepLabel';
5
2
  import StepButton from './StepButton';
6
- import StepContent from './StepContent';
7
3
  import StepConnector from './StepConnector';
8
- export { Stepper, Step, StepLabel, StepContent, StepIcon, StepButton, StepConnector };
4
+ import StepContent from './StepContent';
5
+ import StepIcon from './StepIcon';
6
+ import StepLabel from './StepLabel';
7
+ import Stepper from './Stepper';
8
+ export { Step, StepButton, StepConnector, StepContent, StepIcon, StepLabel, Stepper };
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
1
  import { Switch as MUISwitch } from '@mui/material';
2
+ import React from 'react';
3
3
  import UIThemeProvider from '../../../theme';
4
4
  const Switch = (props) => {
5
5
  return (React.createElement(UIThemeProvider, null,
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
1
  import { Table as MUITable } from '@mui/material';
2
+ import React from 'react';
3
3
  import UIThemeProvider from '../../../theme';
4
4
  const Table = (props) => {
5
5
  return (React.createElement(UIThemeProvider, null,
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
1
  import { Tab as MUITab } from '@mui/material';
2
+ import React from 'react';
3
3
  import UIThemeProvider from '../../../../theme';
4
4
  const Tab = (props) => {
5
5
  return (React.createElement(UIThemeProvider, null,
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
1
  import { Tabs as MUITabs } from '@mui/material';
2
+ import React from 'react';
3
3
  import UIThemeProvider from '../../../theme';
4
4
  const Tabs = (props) => {
5
5
  return (React.createElement(UIThemeProvider, null,
@@ -1,3 +1,3 @@
1
- import Tabs from './Tabs';
2
1
  import Tab from './Tab';
3
- export { Tabs, Tab };
2
+ import Tabs from './Tabs';
3
+ export { Tab, Tabs };
@@ -1,3 +1,3 @@
1
- import Tabs from './Tabs';
2
1
  import Tab from './Tab';
3
- export { Tabs, Tab };
2
+ import Tabs from './Tabs';
3
+ export { Tab, Tabs };
@@ -1,5 +1,5 @@
1
1
  import { InputLabel, TextField as MUITextField } from '@mui/material';
2
- import * as React from 'react';
2
+ import React from 'react';
3
3
  import UIThemeProvider from '../../../theme';
4
4
  import FieldError from '../FieldError';
5
5
  import Typography from '../Typography';
@@ -1,6 +1,6 @@
1
1
  import '@testing-library/jest-dom/extend-expect';
2
- import React from 'react';
3
2
  import { render, screen } from '@testing-library/react';
3
+ import React from 'react';
4
4
  import TextField from './index';
5
5
  test('render TextField and check for data-testid === label-outside when labelPlacement === outside-top && variant === outlined', () => {
6
6
  render(React.createElement(TextField, { id: "testinput", labelPlacement: "outside-top", variant: "outlined", label: "Title" }));
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
1
  import { ToggleButton as MUIToggleButton } from '@mui/material';
2
+ import React from 'react';
3
3
  import UIThemeProvider from '../../../theme';
4
4
  const ToggleButton = (props) => {
5
5
  return (React.createElement(UIThemeProvider, null,
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
1
  import { ToggleButtonGroup as MUIToggleButtonGroup } from '@mui/material';
2
+ import React from 'react';
3
3
  import UIThemeProvider from '../../../theme';
4
4
  const ToggleButtonGroup = (props) => {
5
5
  return (React.createElement(UIThemeProvider, null,
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
1
  import { Tooltip as MUITooltip } from '@mui/material';
2
+ import React from 'react';
3
3
  import UIThemeProvider from '../../../theme';
4
4
  const Tooltip = (props) => {
5
5
  var _a, _b, _c;
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
1
  import { Typography as MUITypography } from '@mui/material';
2
+ import React from 'react';
3
3
  import UIThemeProvider from '../../../theme';
4
4
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
5
5
  const Typography = (props) => {
@@ -1,53 +1,53 @@
1
- export { Accordion, AccordionDetails, AccordionActions, AccordionSummary } from './Accordion';
2
- export { AppBar } from './AppBar';
1
+ export { Accordion, AccordionActions, AccordionDetails, AccordionSummary } from './Accordion';
3
2
  export { Alert } from './Alert';
4
3
  export { AlertTitle } from './AlertTitle';
4
+ export { AppBar } from './AppBar';
5
5
  export { Autocomplete } from './Autocomplete';
6
6
  export { Avatar } from './Avatar';
7
7
  export { Backdrop } from './Backdrop';
8
8
  export { Badge } from './Badge';
9
+ export { Breadcrumbs } from './Breadcrumbs';
9
10
  export { Button } from './Button';
11
+ export { ButtonGroup } from './ButtonGroup';
12
+ export { Card } from './Card';
10
13
  export { Checkbox } from './Checkbox';
11
14
  export { Chip } from './Chip';
12
15
  export { CircularProgress } from './CircularProgress';
16
+ export { Collapse } from './Collapse';
13
17
  export * from './DatePicker';
14
18
  export * from './DateTimePicker';
15
- export { Dialog, DialogTitle, DialogActions, DialogContent, DialogContentText } from './Dialog';
19
+ export { Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle } from './Dialog';
16
20
  export { Divider } from './Divider';
17
21
  export { Drawer } from './Drawer';
22
+ export { FieldError } from './FieldError';
23
+ export { FormControl, FormControlLabel, FormGroup, FormHelperText, FormLabel } from './FormElements';
24
+ export { IconButton } from './IconButton';
18
25
  export { LinearProgress } from './LinearProgress';
19
26
  export { Link } from './Link';
20
- export * from './LocalizationProvider';
27
+ export { List, ListItem } from './List';
21
28
  export { LoadingButton } from './LoadingButton';
29
+ export * from './LocalizationProvider';
22
30
  export { Menu, MenuItem } from './Menu';
31
+ export { Paper } from './Paper';
32
+ export { Popover } from './Popover';
33
+ export { Popper } from './Popper';
34
+ export { Radio, RadioGroup } from './RadioGroup';
35
+ export { Select } from './Select';
23
36
  export { Skeleton } from './Skeleton';
24
37
  export { Snackbar } from './Snackbar';
25
38
  export * from './StaticDatePicker';
39
+ export { Step, StepButton, StepConnector, StepContent, StepIcon, StepLabel, Stepper } from './Stepper';
26
40
  export { Switch } from './Switch';
27
- export { TextField } from './TextField';
28
- export { Typography } from './Typography';
29
- export { Paper } from './Paper';
30
- export { List, ListItem } from './List';
31
- export { Card } from './Card';
32
- export { Collapse } from './Collapse';
33
- export { IconButton } from './IconButton';
34
41
  export { Table } from './Table';
35
- export { ButtonGroup } from './ButtonGroup';
36
- export { Breadcrumbs } from './Breadcrumbs';
42
+ export { Tab, Tabs } from './Tabs';
43
+ export { TextField } from './TextField';
37
44
  export { ToggleButton } from './ToggleButton';
38
45
  export { ToggleButtonGroup } from './ToggleButtonGroup';
39
- export { Tabs, Tab } from './Tabs';
40
46
  export { Tooltip } from './Tooltip';
41
- export { FormControl, FormGroup, FormLabel, FormControlLabel, FormHelperText } from './FormElements';
42
- export { Radio, RadioGroup } from './RadioGroup';
43
- export { FieldError } from './FieldError';
44
- export { Select } from './Select';
45
- export { Step, StepLabel, Stepper, StepContent, StepButton, StepIcon, StepConnector } from './Stepper';
46
- export { Popover } from './Popover';
47
- export { Popper } from './Popper';
48
- export { SvgIcon, TableBody, TableCell, TableContainer, TableHead, TablePagination, TableRow, TableSortLabel, ListItemButton, ListItemText, CardActions, CardActionArea, CardContent, CardMedia, CardHeader, Input, InputLabel, InputAdornment, } from '@mui/material';
47
+ export { Typography } from './Typography';
49
48
  export { TabContext, TabList, TabPanel, TreeItem, TreeView } from '@mui/lab';
49
+ export { CardActionArea, CardActions, CardContent, CardHeader, CardMedia, Input, InputAdornment, InputLabel, ListItemButton, ListItemText, SvgIcon, TableBody, TableCell, TableContainer, TableHead, TablePagination, TableRow, TableSortLabel, } from '@mui/material';
50
50
  export { useGridApiRef } from '@mui/x-data-grid';
51
51
  export type { GridSize } from '@mui/material';
52
+ export type { GridCellParams, GridColDef, GridEventListener, GridFilterModel, GridInitialState, GridRowParams, GridValueFormatterParams, GridValueGetterParams, } from '@mui/x-data-grid';
52
53
  export type { AutocompleteOption } from './Autocomplete/Autocomplete';
53
- export type { GridCellParams, GridColDef, GridRowParams, GridFilterModel, GridValueFormatterParams, GridValueGetterParams, GridEventListener, GridInitialState, } from '@mui/x-data-grid';
@@ -1,51 +1,51 @@
1
- export { Accordion, AccordionDetails, AccordionActions, AccordionSummary } from './Accordion';
2
- export { AppBar } from './AppBar';
1
+ export { Accordion, AccordionActions, AccordionDetails, AccordionSummary } from './Accordion';
3
2
  export { Alert } from './Alert';
4
3
  export { AlertTitle } from './AlertTitle';
4
+ export { AppBar } from './AppBar';
5
5
  export { Autocomplete } from './Autocomplete';
6
6
  export { Avatar } from './Avatar';
7
7
  export { Backdrop } from './Backdrop';
8
8
  export { Badge } from './Badge';
9
+ export { Breadcrumbs } from './Breadcrumbs';
9
10
  export { Button } from './Button';
11
+ export { ButtonGroup } from './ButtonGroup';
12
+ export { Card } from './Card';
10
13
  export { Checkbox } from './Checkbox';
11
14
  export { Chip } from './Chip';
12
15
  export { CircularProgress } from './CircularProgress';
16
+ export { Collapse } from './Collapse';
13
17
  export * from './DatePicker';
14
18
  export * from './DateTimePicker';
15
- export { Dialog, DialogTitle, DialogActions, DialogContent, DialogContentText } from './Dialog';
19
+ export { Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle } from './Dialog';
16
20
  export { Divider } from './Divider';
17
21
  export { Drawer } from './Drawer';
22
+ export { FieldError } from './FieldError';
23
+ export { FormControl, FormControlLabel, FormGroup, FormHelperText, FormLabel } from './FormElements';
24
+ export { IconButton } from './IconButton';
18
25
  export { LinearProgress } from './LinearProgress';
19
26
  export { Link } from './Link';
20
- export * from './LocalizationProvider';
27
+ export { List, ListItem } from './List';
21
28
  export { LoadingButton } from './LoadingButton';
29
+ export * from './LocalizationProvider';
22
30
  export { Menu, MenuItem } from './Menu';
31
+ export { Paper } from './Paper';
32
+ export { Popover } from './Popover';
33
+ export { Popper } from './Popper';
34
+ export { Radio, RadioGroup } from './RadioGroup';
35
+ export { Select } from './Select';
23
36
  export { Skeleton } from './Skeleton';
24
37
  export { Snackbar } from './Snackbar';
25
38
  export * from './StaticDatePicker';
39
+ export { Step, StepButton, StepConnector, StepContent, StepIcon, StepLabel, Stepper } from './Stepper';
26
40
  export { Switch } from './Switch';
27
- export { TextField } from './TextField';
28
- export { Typography } from './Typography';
29
- export { Paper } from './Paper';
30
- export { List, ListItem } from './List';
31
- export { Card } from './Card';
32
- export { Collapse } from './Collapse';
33
- export { IconButton } from './IconButton';
34
41
  export { Table } from './Table';
35
- export { ButtonGroup } from './ButtonGroup';
36
- export { Breadcrumbs } from './Breadcrumbs';
42
+ export { Tab, Tabs } from './Tabs';
43
+ export { TextField } from './TextField';
37
44
  export { ToggleButton } from './ToggleButton';
38
45
  export { ToggleButtonGroup } from './ToggleButtonGroup';
39
- export { Tabs, Tab } from './Tabs';
40
46
  export { Tooltip } from './Tooltip';
41
- export { FormControl, FormGroup, FormLabel, FormControlLabel, FormHelperText } from './FormElements';
42
- export { Radio, RadioGroup } from './RadioGroup';
43
- export { FieldError } from './FieldError';
44
- export { Select } from './Select';
45
- export { Step, StepLabel, Stepper, StepContent, StepButton, StepIcon, StepConnector } from './Stepper';
46
- export { Popover } from './Popover';
47
- export { Popper } from './Popper';
47
+ export { Typography } from './Typography';
48
48
  //TODO: Review following components. They also need theme control:
49
- export { SvgIcon, TableBody, TableCell, TableContainer, TableHead, TablePagination, TableRow, TableSortLabel, ListItemButton, ListItemText, CardActions, CardActionArea, CardContent, CardMedia, CardHeader, Input, InputLabel, InputAdornment, } from '@mui/material';
50
49
  export { TabContext, TabList, TabPanel, TreeItem, TreeView } from '@mui/lab';
50
+ export { CardActionArea, CardActions, CardContent, CardHeader, CardMedia, Input, InputAdornment, InputLabel, ListItemButton, ListItemText, SvgIcon, TableBody, TableCell, TableContainer, TableHead, TablePagination, TableRow, TableSortLabel, } from '@mui/material';
51
51
  export { useGridApiRef } from '@mui/x-data-grid';
@@ -1,5 +1,5 @@
1
1
  import { GridSortItem, GridValidRowModel, DataGridProps as MuiDataGridProps } from '@mui/x-data-grid';
2
- import React from 'react';
2
+ import { ReactElement } from 'react';
3
3
  import { EmptyContentSelectOptions } from './EmptyContent';
4
4
  export declare type GridAction = {
5
5
  label: string;
@@ -19,8 +19,8 @@ export declare type BuilderGridProps<T extends GridValidRowModel> = MuiDataGridP
19
19
  hideEmptyContent?: boolean;
20
20
  hideToolbar?: boolean;
21
21
  hideSearchbar?: boolean;
22
- noRowsOverlay?: React.ReactElement;
23
- filterComponent?: React.ReactElement;
22
+ noRowsOverlay?: ReactElement;
23
+ filterComponent?: ReactElement;
24
24
  error?: number;
25
25
  };
26
26
  declare const BuilderGrid: <T extends GridValidRowModel>(props: BuilderGridProps<T>) => JSX.Element;
@@ -13,9 +13,9 @@ import { Box } from '@mui/material';
13
13
  import { DataGrid as MuiDataGrid, } from '@mui/x-data-grid';
14
14
  import React, { useMemo, useState } from 'react';
15
15
  import UIThemeProvider from '../../../theme';
16
+ import ErrorComponent from '../ErrorComponent';
16
17
  import BuilderGridToolbar from './BuilderGridToolbar';
17
18
  import { EmptyContent } from './EmptyContent';
18
- import ErrorComponent from '../ErrorComponent';
19
19
  const BuilderGrid = (props) => {
20
20
  var _a, _b, _c, _d, _e;
21
21
  const { loading, actions, item, rows, initialSort, emptyContentSelectOptions, emptyContentActionIndex, title, subtitle, disablePagination, hideEmptyContent, hideToolbar, hideSearchbar, noRowsOverlay, filterComponent, error } = props, rest = __rest(props, ["loading", "actions", "item", "rows", "initialSort", "emptyContentSelectOptions", "emptyContentActionIndex", "title", "subtitle", "disablePagination", "hideEmptyContent", "hideToolbar", "hideSearchbar", "noRowsOverlay", "filterComponent", "error"]);
@@ -1,11 +1,11 @@
1
1
  import { GridToolbarProps as MuiGridToolbarProps } from '@mui/x-data-grid';
2
- import React from 'react';
2
+ import { ReactElement } from 'react';
3
3
  import { GridAction } from './BuilderGrid';
4
4
  export declare type BuilderGridToolbar = MuiGridToolbarProps & {
5
5
  actions?: GridAction[];
6
6
  title?: string;
7
7
  subtitle?: string;
8
- filter?: React.ReactElement;
8
+ filter?: ReactElement;
9
9
  hideSearchbar?: boolean;
10
10
  };
11
11
  declare function BuilderGridToolbar(props: BuilderGridToolbar): JSX.Element;
@@ -1,7 +1,7 @@
1
- import React from 'react';
1
+ import { ReactElement } from 'react';
2
2
  import { GridAction } from './BuilderGrid';
3
3
  declare type ToolbarActionsProps = {
4
- filter?: React.ReactElement;
4
+ filter?: ReactElement;
5
5
  actions?: GridAction[];
6
6
  };
7
7
  export declare const ToolbarActions: (props: ToolbarActionsProps) => JSX.Element;
@@ -1,6 +1,6 @@
1
- import React from 'react';
1
+ import { ElementType } from 'react';
2
2
  import 'react-querybuilder/dist/query-builder.css';
3
- import { Operator, ObjectProperty, PresetValue } from './types';
3
+ import { ObjectProperty, Operator, PresetValue } from './types';
4
4
  import { ValueEditorProps } from './ValueEditor';
5
5
  export declare type CriteriaInputProps = {
6
6
  properties: ObjectProperty[];
@@ -10,7 +10,7 @@ export declare type CriteriaInputProps = {
10
10
  enablePresetValues?: boolean;
11
11
  presetValues?: PresetValue[];
12
12
  dynamicContentInput?: {
13
- component: React.ElementType;
13
+ component: ElementType;
14
14
  previousSteps: unknown[];
15
15
  trigger?: Record<string, unknown>;
16
16
  };
@@ -1,9 +1,9 @@
1
1
  import { AddRounded, RemoveCircleOutlineRounded } from '@mui/icons-material';
2
2
  import { QueryBuilderMaterial } from '@react-querybuilder/material';
3
+ import { isEmpty, startCase } from 'lodash';
3
4
  import React, { useEffect, useMemo, useState } from 'react';
4
- import { QueryBuilder, formatQuery, parseMongoDB, useRuleGroup, TestID, RuleGroupBodyComponents, RuleGroupHeaderComponents, } from 'react-querybuilder';
5
+ import { QueryBuilder, RuleGroupBodyComponents, RuleGroupHeaderComponents, TestID, formatQuery, parseMongoDB, useRuleGroup, } from 'react-querybuilder';
5
6
  import 'react-querybuilder/dist/query-builder.css';
6
- import { isEmpty, startCase } from 'lodash';
7
7
  import { Autocomplete, Button, IconButton, TextField } from '../../core';
8
8
  import { Box } from '../../layout';
9
9
  import { difference } from '../util';
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { AutocompleteOption } from '../../core';
3
2
  import { ValueEditorProps as ValueEditorBaseProps } from 'react-querybuilder';
3
+ import { AutocompleteOption } from '../../core';
4
4
  export declare type ValueEditorProps = ValueEditorBaseProps & {
5
5
  values?: AutocompleteOption[] | any[];
6
6
  };
@@ -1,9 +1,9 @@
1
+ import { ClearRounded } from '@mui/icons-material';
2
+ import { Box, darken, lighten, styled } from '@mui/material';
3
+ import { TimePicker } from '@mui/x-date-pickers';
1
4
  import React, { useRef, useState } from 'react';
2
5
  import { Autocomplete, Chip, DatePicker, LocalizationProvider, Menu, MenuItem, TextField, Typography, } from '../../core';
3
6
  import { NumericFormat } from '../FormField/InputFieldComponent';
4
- import { Box, darken, lighten, styled } from '@mui/material';
5
- import { ClearRounded } from '@mui/icons-material';
6
- import { TimePicker } from '@mui/x-date-pickers';
7
7
  const GroupHeader = styled('div')(({ theme }) => ({
8
8
  position: 'sticky',
9
9
  top: '-8px',
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { DataGridProps as MuiDataGridProps, GridValidRowModel } from '@mui/x-data-grid';
3
2
  import { Theme } from '@mui/material';
3
+ import { GridValidRowModel, DataGridProps as MuiDataGridProps } from '@mui/x-data-grid';
4
4
  export declare type BulkAction = {
5
5
  label: string;
6
6
  onClick: () => void;
@@ -9,14 +9,13 @@ var __rest = (this && this.__rest) || function (s, e) {
9
9
  }
10
10
  return t;
11
11
  };
12
- import { DataGrid as MuiDataGrid, getGridStringOperators, getGridDateOperators, getGridSingleSelectOperators, getGridBooleanOperators, GridPagination, getGridNumericOperators, } from '@mui/x-data-grid';
13
- import { lighten } from '@mui/material';
12
+ import { Box, Typography, lighten } from '@mui/material';
13
+ import { GridPagination, DataGrid as MuiDataGrid, getGridBooleanOperators, getGridDateOperators, getGridNumericOperators, getGridSingleSelectOperators, getGridStringOperators, } from '@mui/x-data-grid';
14
14
  import React, { useEffect, useState } from 'react';
15
- import Toolbar from './Toolbar';
16
15
  import UIThemeProvider from '../../../theme';
17
- import { Box, Typography } from '@mui/material';
18
- import { dateTimeBetweenOperator } from './DateTimeCustomOperator';
19
16
  import LinearProgress from '../../core/LinearProgress';
17
+ import { dateTimeBetweenOperator } from './DateTimeCustomOperator';
18
+ import Toolbar from './Toolbar';
20
19
  export default function (props) {
21
20
  var _a;
22
21
  const { onRefresh, loading, theme, title, bulkAction, filterSettings, columns, rows, hideSearchbar, loadingOptions } = props, rest = __rest(props, ["onRefresh", "loading", "theme", "title", "bulkAction", "filterSettings", "columns", "rows", "hideSearchbar", "loadingOptions"]);
@@ -1,7 +1,7 @@
1
1
  import { Box, debounce, TextField } from '@mui/material';
2
2
  import { useGridRootProps } from '@mui/x-data-grid';
3
- import React, { useEffect, useState } from 'react';
4
3
  import { isNil } from 'lodash';
4
+ import React, { useEffect, useState } from 'react';
5
5
  function DateTimeRangeFilter(props) {
6
6
  var _a;
7
7
  const rootProps = useGridRootProps();
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { GridToolbarProps as MuiGridToolbarProps } from '@mui/x-data-grid';
3
2
  import { Theme } from '@mui/material';
3
+ import { GridToolbarProps as MuiGridToolbarProps } from '@mui/x-data-grid';
4
4
  import { BulkAction } from './DataGrid';
5
5
  export declare type GridToolbarProps = MuiGridToolbarProps & {
6
6
  onRefresh?: () => void;
@@ -1,10 +1,10 @@
1
1
  import { FileDownloadRounded, FilterAlt, Refresh, TableChartRounded, TableRowsRounded } from '@mui/icons-material';
2
+ import { Typography } from '@mui/material';
2
3
  import { GridToolbarColumnsButton, GridToolbarContainer, GridToolbarDensitySelector, GridToolbarExport, GridToolbarFilterButton, GridToolbarQuickFilter, } from '@mui/x-data-grid';
3
4
  import React from 'react';
4
- import { Grid } from '../../layout';
5
- import { IconButton, Button } from '../../core';
6
5
  import UIThemeProvider from '../../../theme';
7
- import { Typography } from '@mui/material';
6
+ import { Button, IconButton } from '../../core';
7
+ import { Grid } from '../../layout';
8
8
  function Toolbar(props) {
9
9
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
10
10
  const { onRefresh, setAnchorEl, loading, theme, title, bulkAction, hideSearchbar } = props;
@@ -1,9 +1,9 @@
1
- import React from 'react';
2
1
  import { GridSize } from '@mui/material';
2
+ import { CSSProperties } from 'react';
3
3
  export declare type ErrorComponentProps = {
4
4
  code?: 'AccessDenied' | 'NotFound' | 'Misconfigured';
5
5
  message?: string;
6
6
  colspan?: GridSize;
7
- styles?: React.CSSProperties;
7
+ styles?: CSSProperties;
8
8
  };
9
9
  export default function ErrorComponent(props: ErrorComponentProps): JSX.Element;
@@ -1,6 +1,6 @@
1
+ import { BuildRounded, ErrorRounded, LockRounded, WarningRounded } from '@mui/icons-material';
2
+ import { Box, Grid, Typography } from '@mui/material';
1
3
  import React from 'react';
2
- import { Box, Typography, Grid } from '@mui/material';
3
- import { LockRounded, ErrorRounded, WarningRounded, BuildRounded } from '@mui/icons-material';
4
4
  export default function ErrorComponent(props) {
5
5
  const { code, message, colspan, styles } = props;
6
6
  const getTitle = () => {
@@ -0,0 +1,38 @@
1
+ import { ApiServices, Obj, ObjectInstance, UserAccount } from '@evoke-platform/context';
2
+ import { ReactNode } from 'react';
3
+ import { Document, ObjectPropertyInputProps } from '../types';
4
+ import '../../../../styles/form-component.css';
5
+ declare type OnSaveResponse = {
6
+ isSuccessful: boolean;
7
+ error?: Record<string, unknown>;
8
+ };
9
+ export declare type FormProps = {
10
+ formKey?: number;
11
+ object?: Obj;
12
+ instance?: ObjectInstance;
13
+ document?: Document;
14
+ user?: UserAccount;
15
+ onSave?: (data: Record<string, unknown>, setSubmitting?: (value: boolean) => void) => Promise<OnSaveResponse>;
16
+ submitButtonLabel?: string;
17
+ isReadOnly?: boolean;
18
+ apiServices?: ApiServices | undefined;
19
+ navigateTo?: (path: string) => void;
20
+ closeModal?: () => void;
21
+ clearable?: boolean;
22
+ objectInputCommonProps?: ObjectPropertyInputProps;
23
+ actionId?: string;
24
+ onAutoSave?: (data: Record<string, unknown>) => Promise<{
25
+ isSuccessful: boolean;
26
+ error?: Record<string, unknown>;
27
+ }>;
28
+ actionType?: string;
29
+ associatedObject?: {
30
+ instanceId?: string;
31
+ propertyId?: string;
32
+ };
33
+ queryAddresses?: unknown;
34
+ fieldHeight?: 'small' | 'medium';
35
+ richTextEditor?: ReactNode;
36
+ };
37
+ export declare function Form(props: FormProps): JSX.Element;
38
+ export default Form;