@epilot/base-elements 2.5.8 → 2.5.9

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 (362) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/dist/Accordion/types.d.ts +1 -1
  3. package/dist/Autocomplete/types.d.ts +1 -1
  4. package/dist/Dialog/types.d.ts +4 -4
  5. package/dist/Drawer/types.d.ts +1 -1
  6. package/dist/Form/types.d.ts +2 -6
  7. package/dist/Pickers/DatePicker.d.ts +2 -1
  8. package/dist/Popover/types.d.ts +2 -2
  9. package/dist/Progress/types.d.ts +2 -2
  10. package/dist/TableColumnSettings/TableColumnSettingsStyles.d.ts +1 -1
  11. package/dist/bundle.js +191 -2
  12. package/dist/bundle.js.map +1 -0
  13. package/package.json +6 -7
  14. package/dist/Accordion/Accordion.js +0 -12
  15. package/dist/Accordion/Accordion.js.map +0 -1
  16. package/dist/Accordion/AccordionActions.js +0 -12
  17. package/dist/Accordion/AccordionActions.js.map +0 -1
  18. package/dist/Accordion/AccordionDetails.js +0 -12
  19. package/dist/Accordion/AccordionDetails.js.map +0 -1
  20. package/dist/Accordion/AccordionSummary.js +0 -13
  21. package/dist/Accordion/AccordionSummary.js.map +0 -1
  22. package/dist/Accordion/index.js +0 -9
  23. package/dist/Accordion/index.js.map +0 -1
  24. package/dist/Accordion/types.js +0 -3
  25. package/dist/Accordion/types.js.map +0 -1
  26. package/dist/AppBar/AppBar.js +0 -17
  27. package/dist/AppBar/AppBar.js.map +0 -1
  28. package/dist/AppBar/index.js +0 -6
  29. package/dist/AppBar/index.js.map +0 -1
  30. package/dist/AppBar/types.js +0 -3
  31. package/dist/AppBar/types.js.map +0 -1
  32. package/dist/Autocomplete/Autocomplete.js +0 -49
  33. package/dist/Autocomplete/Autocomplete.js.map +0 -1
  34. package/dist/Autocomplete/index.js +0 -8
  35. package/dist/Autocomplete/index.js.map +0 -1
  36. package/dist/Autocomplete/styles.js +0 -15
  37. package/dist/Autocomplete/styles.js.map +0 -1
  38. package/dist/Autocomplete/types.js +0 -3
  39. package/dist/Autocomplete/types.js.map +0 -1
  40. package/dist/AutocompleteX/AutocompleteX.js +0 -6
  41. package/dist/AutocompleteX/AutocompleteX.js.map +0 -1
  42. package/dist/AutocompleteX/index.js +0 -8
  43. package/dist/AutocompleteX/index.js.map +0 -1
  44. package/dist/AutocompleteX/types.js +0 -3
  45. package/dist/AutocompleteX/types.js.map +0 -1
  46. package/dist/Avatar/Avatar.js +0 -28
  47. package/dist/Avatar/Avatar.js.map +0 -1
  48. package/dist/Avatar/AvatarGroup.js +0 -22
  49. package/dist/Avatar/AvatarGroup.js.map +0 -1
  50. package/dist/Avatar/index.js +0 -10
  51. package/dist/Avatar/index.js.map +0 -1
  52. package/dist/Avatar/types.js +0 -3
  53. package/dist/Avatar/types.js.map +0 -1
  54. package/dist/Badge/Badge.js +0 -12
  55. package/dist/Badge/Badge.js.map +0 -1
  56. package/dist/Badge/index.js +0 -6
  57. package/dist/Badge/index.js.map +0 -1
  58. package/dist/Badge/types.js +0 -3
  59. package/dist/Badge/types.js.map +0 -1
  60. package/dist/Box/Box.js +0 -12
  61. package/dist/Box/Box.js.map +0 -1
  62. package/dist/Box/index.js +0 -6
  63. package/dist/Box/index.js.map +0 -1
  64. package/dist/Box/types.js +0 -3
  65. package/dist/Box/types.js.map +0 -1
  66. package/dist/Breadcrumbs/Breadcrumbs.js +0 -11
  67. package/dist/Breadcrumbs/Breadcrumbs.js.map +0 -1
  68. package/dist/Breadcrumbs/index.js +0 -8
  69. package/dist/Breadcrumbs/index.js.map +0 -1
  70. package/dist/Breadcrumbs/types.js +0 -3
  71. package/dist/Breadcrumbs/types.js.map +0 -1
  72. package/dist/Button/Button.js +0 -126
  73. package/dist/Button/Button.js.map +0 -1
  74. package/dist/Button/index.js +0 -6
  75. package/dist/Button/index.js.map +0 -1
  76. package/dist/Button/types.js +0 -3
  77. package/dist/Button/types.js.map +0 -1
  78. package/dist/ButtonGroup/ButtonGroup.js +0 -12
  79. package/dist/ButtonGroup/ButtonGroup.js.map +0 -1
  80. package/dist/ButtonGroup/index.js +0 -6
  81. package/dist/ButtonGroup/index.js.map +0 -1
  82. package/dist/ButtonGroup/types.js +0 -3
  83. package/dist/ButtonGroup/types.js.map +0 -1
  84. package/dist/Card/Card.js +0 -37
  85. package/dist/Card/Card.js.map +0 -1
  86. package/dist/Card/index.js +0 -6
  87. package/dist/Card/index.js.map +0 -1
  88. package/dist/Card/types.js +0 -3
  89. package/dist/Card/types.js.map +0 -1
  90. package/dist/Checkbox/Checkbox.js +0 -28
  91. package/dist/Checkbox/Checkbox.js.map +0 -1
  92. package/dist/Checkbox/index.js +0 -6
  93. package/dist/Checkbox/index.js.map +0 -1
  94. package/dist/Checkbox/types.js +0 -3
  95. package/dist/Checkbox/types.js.map +0 -1
  96. package/dist/Chip/Chip.js +0 -13
  97. package/dist/Chip/Chip.js.map +0 -1
  98. package/dist/Chip/index.js +0 -6
  99. package/dist/Chip/index.js.map +0 -1
  100. package/dist/Chip/types.js +0 -3
  101. package/dist/Chip/types.js.map +0 -1
  102. package/dist/Collapse/Collapse.js +0 -12
  103. package/dist/Collapse/Collapse.js.map +0 -1
  104. package/dist/Collapse/index.js +0 -6
  105. package/dist/Collapse/index.js.map +0 -1
  106. package/dist/Collapse/types.js +0 -3
  107. package/dist/Collapse/types.js.map +0 -1
  108. package/dist/Dialog/Dialog.js +0 -32
  109. package/dist/Dialog/Dialog.js.map +0 -1
  110. package/dist/Dialog/index.js +0 -6
  111. package/dist/Dialog/index.js.map +0 -1
  112. package/dist/Dialog/types.js +0 -3
  113. package/dist/Dialog/types.js.map +0 -1
  114. package/dist/Divider/Divider.js +0 -11
  115. package/dist/Divider/Divider.js.map +0 -1
  116. package/dist/Divider/index.js +0 -6
  117. package/dist/Divider/index.js.map +0 -1
  118. package/dist/Divider/types.js +0 -3
  119. package/dist/Divider/types.js.map +0 -1
  120. package/dist/Drawer/Drawer.js +0 -12
  121. package/dist/Drawer/Drawer.js.map +0 -1
  122. package/dist/Drawer/index.js +0 -6
  123. package/dist/Drawer/index.js.map +0 -1
  124. package/dist/Drawer/types.js +0 -3
  125. package/dist/Drawer/types.js.map +0 -1
  126. package/dist/Form/FormControl.js +0 -5
  127. package/dist/Form/FormControl.js.map +0 -1
  128. package/dist/Form/FormControlLabel.js +0 -5
  129. package/dist/Form/FormControlLabel.js.map +0 -1
  130. package/dist/Form/FormGroup.js +0 -6
  131. package/dist/Form/FormGroup.js.map +0 -1
  132. package/dist/Form/FormHelperText.js +0 -5
  133. package/dist/Form/FormHelperText.js.map +0 -1
  134. package/dist/Form/FormLabel.js +0 -5
  135. package/dist/Form/FormLabel.js.map +0 -1
  136. package/dist/Form/InputAdornment.js +0 -5
  137. package/dist/Form/InputAdornment.js.map +0 -1
  138. package/dist/Form/InputLabel.js +0 -5
  139. package/dist/Form/InputLabel.js.map +0 -1
  140. package/dist/Form/index.js +0 -20
  141. package/dist/Form/index.js.map +0 -1
  142. package/dist/Form/types.js +0 -3
  143. package/dist/Form/types.js.map +0 -1
  144. package/dist/Grid/Grid.js +0 -11
  145. package/dist/Grid/Grid.js.map +0 -1
  146. package/dist/Grid/index.js +0 -6
  147. package/dist/Grid/index.js.map +0 -1
  148. package/dist/Grid/types.js +0 -3
  149. package/dist/Grid/types.js.map +0 -1
  150. package/dist/Hidden/Hidden.js +0 -12
  151. package/dist/Hidden/Hidden.js.map +0 -1
  152. package/dist/Hidden/index.js +0 -6
  153. package/dist/Hidden/index.js.map +0 -1
  154. package/dist/Hidden/types.js +0 -3
  155. package/dist/Hidden/types.js.map +0 -1
  156. package/dist/Icon/Icon.js +0 -58
  157. package/dist/Icon/Icon.js.map +0 -1
  158. package/dist/Icon/index.js +0 -10
  159. package/dist/Icon/index.js.map +0 -1
  160. package/dist/Icon/types.js +0 -3
  161. package/dist/Icon/types.js.map +0 -1
  162. package/dist/Image/Image.js +0 -23
  163. package/dist/Image/Image.js.map +0 -1
  164. package/dist/Image/index.js +0 -8
  165. package/dist/Image/index.js.map +0 -1
  166. package/dist/Image/types.js +0 -3
  167. package/dist/Image/types.js.map +0 -1
  168. package/dist/Link/Link.js +0 -11
  169. package/dist/Link/Link.js.map +0 -1
  170. package/dist/Link/index.js +0 -8
  171. package/dist/Link/index.js.map +0 -1
  172. package/dist/Link/types.js +0 -3
  173. package/dist/Link/types.js.map +0 -1
  174. package/dist/List/List.js +0 -37
  175. package/dist/List/List.js.map +0 -1
  176. package/dist/List/index.js +0 -6
  177. package/dist/List/index.js.map +0 -1
  178. package/dist/List/types.js +0 -3
  179. package/dist/List/types.js.map +0 -1
  180. package/dist/Menu/Menu.js +0 -10
  181. package/dist/Menu/Menu.js.map +0 -1
  182. package/dist/Menu/index.js +0 -6
  183. package/dist/Menu/index.js.map +0 -1
  184. package/dist/Menu/types.js +0 -3
  185. package/dist/Menu/types.js.map +0 -1
  186. package/dist/Notification/Notification.js +0 -52
  187. package/dist/Notification/Notification.js.map +0 -1
  188. package/dist/Notification/index.js +0 -10
  189. package/dist/Notification/index.js.map +0 -1
  190. package/dist/Notification/types.js +0 -3
  191. package/dist/Notification/types.js.map +0 -1
  192. package/dist/Pagination/Pagination.js +0 -191
  193. package/dist/Pagination/Pagination.js.map +0 -1
  194. package/dist/Pagination/PaginationHelper.js +0 -124
  195. package/dist/Pagination/PaginationHelper.js.map +0 -1
  196. package/dist/Pagination/index.js +0 -8
  197. package/dist/Pagination/index.js.map +0 -1
  198. package/dist/Pagination/types.js +0 -9
  199. package/dist/Pagination/types.js.map +0 -1
  200. package/dist/Paper/Paper.js +0 -6
  201. package/dist/Paper/Paper.js.map +0 -1
  202. package/dist/Paper/index.js +0 -6
  203. package/dist/Paper/index.js.map +0 -1
  204. package/dist/Paper/types.js +0 -3
  205. package/dist/Paper/types.js.map +0 -1
  206. package/dist/Pickers/DatePicker.js +0 -30
  207. package/dist/Pickers/DatePicker.js.map +0 -1
  208. package/dist/Pickers/DateTimePicker.js +0 -26
  209. package/dist/Pickers/DateTimePicker.js.map +0 -1
  210. package/dist/Pickers/TimePicker.js +0 -26
  211. package/dist/Pickers/TimePicker.js.map +0 -1
  212. package/dist/Pickers/index.js +0 -8
  213. package/dist/Pickers/index.js.map +0 -1
  214. package/dist/Pickers/types.js +0 -3
  215. package/dist/Pickers/types.js.map +0 -1
  216. package/dist/Popover/Popover.js +0 -6
  217. package/dist/Popover/Popover.js.map +0 -1
  218. package/dist/Popover/index.js +0 -8
  219. package/dist/Popover/index.js.map +0 -1
  220. package/dist/Popover/types.js +0 -3
  221. package/dist/Popover/types.js.map +0 -1
  222. package/dist/Progress/Progress.js +0 -13
  223. package/dist/Progress/Progress.js.map +0 -1
  224. package/dist/Progress/index.js +0 -6
  225. package/dist/Progress/index.js.map +0 -1
  226. package/dist/Progress/types.js +0 -3
  227. package/dist/Progress/types.js.map +0 -1
  228. package/dist/Radio/Radio.js +0 -27
  229. package/dist/Radio/Radio.js.map +0 -1
  230. package/dist/Radio/RadioGroup.js +0 -10
  231. package/dist/Radio/RadioGroup.js.map +0 -1
  232. package/dist/Radio/index.js +0 -10
  233. package/dist/Radio/index.js.map +0 -1
  234. package/dist/Radio/types.js +0 -3
  235. package/dist/Radio/types.js.map +0 -1
  236. package/dist/Rating/Rating.js +0 -72
  237. package/dist/Rating/Rating.js.map +0 -1
  238. package/dist/Rating/index.js +0 -6
  239. package/dist/Rating/index.js.map +0 -1
  240. package/dist/Rating/types.js +0 -3
  241. package/dist/Rating/types.js.map +0 -1
  242. package/dist/Select/Select.js +0 -35
  243. package/dist/Select/Select.js.map +0 -1
  244. package/dist/Select/index.js +0 -8
  245. package/dist/Select/index.js.map +0 -1
  246. package/dist/Select/types.js +0 -3
  247. package/dist/Select/types.js.map +0 -1
  248. package/dist/Snackbar/Snackbar.js +0 -12
  249. package/dist/Snackbar/Snackbar.js.map +0 -1
  250. package/dist/Snackbar/index.js +0 -8
  251. package/dist/Snackbar/index.js.map +0 -1
  252. package/dist/Snackbar/types.js +0 -3
  253. package/dist/Snackbar/types.js.map +0 -1
  254. package/dist/Spacing/Spacing.js +0 -72
  255. package/dist/Spacing/Spacing.js.map +0 -1
  256. package/dist/Spacing/index.js +0 -6
  257. package/dist/Spacing/index.js.map +0 -1
  258. package/dist/Spacing/types.js +0 -3
  259. package/dist/Spacing/types.js.map +0 -1
  260. package/dist/Stepper/MobileStepper.js +0 -11
  261. package/dist/Stepper/MobileStepper.js.map +0 -1
  262. package/dist/Stepper/Stepper.js +0 -28
  263. package/dist/Stepper/Stepper.js.map +0 -1
  264. package/dist/Stepper/index.js +0 -7
  265. package/dist/Stepper/index.js.map +0 -1
  266. package/dist/Stepper/types.js +0 -3
  267. package/dist/Stepper/types.js.map +0 -1
  268. package/dist/Switch/Switch.js +0 -11
  269. package/dist/Switch/Switch.js.map +0 -1
  270. package/dist/Switch/index.js +0 -8
  271. package/dist/Switch/index.js.map +0 -1
  272. package/dist/Switch/types.js +0 -3
  273. package/dist/Switch/types.js.map +0 -1
  274. package/dist/Table/ResizeTableCell/ResizeTableCell.js +0 -95
  275. package/dist/Table/ResizeTableCell/ResizeTableCell.js.map +0 -1
  276. package/dist/Table/ResizeTableCell/ResizeTableCellStyles.js +0 -61
  277. package/dist/Table/ResizeTableCell/ResizeTableCellStyles.js.map +0 -1
  278. package/dist/Table/ResizeTableCell/ResizeTableContext.js +0 -17
  279. package/dist/Table/ResizeTableCell/ResizeTableContext.js.map +0 -1
  280. package/dist/Table/Table.js +0 -12
  281. package/dist/Table/Table.js.map +0 -1
  282. package/dist/Table/index.js +0 -8
  283. package/dist/Table/index.js.map +0 -1
  284. package/dist/Table/types.js +0 -3
  285. package/dist/Table/types.js.map +0 -1
  286. package/dist/TableColumnSettings/TableColumnSettings.js +0 -132
  287. package/dist/TableColumnSettings/TableColumnSettings.js.map +0 -1
  288. package/dist/TableColumnSettings/TableColumnSettingsStyles.js +0 -84
  289. package/dist/TableColumnSettings/TableColumnSettingsStyles.js.map +0 -1
  290. package/dist/TableColumnSettings/index.js +0 -8
  291. package/dist/TableColumnSettings/index.js.map +0 -1
  292. package/dist/TableColumnSettings/types.js +0 -3
  293. package/dist/TableColumnSettings/types.js.map +0 -1
  294. package/dist/Tabs/Tabs.js +0 -136
  295. package/dist/Tabs/Tabs.js.map +0 -1
  296. package/dist/Tabs/index.js +0 -6
  297. package/dist/Tabs/index.js.map +0 -1
  298. package/dist/Tabs/types.js +0 -3
  299. package/dist/Tabs/types.js.map +0 -1
  300. package/dist/TextField/CurrencyTextField.js +0 -23
  301. package/dist/TextField/CurrencyTextField.js.map +0 -1
  302. package/dist/TextField/InlineTextField.js +0 -143
  303. package/dist/TextField/InlineTextField.js.map +0 -1
  304. package/dist/TextField/MaskedTextField.js +0 -14
  305. package/dist/TextField/MaskedTextField.js.map +0 -1
  306. package/dist/TextField/TextField.js +0 -6
  307. package/dist/TextField/TextField.js.map +0 -1
  308. package/dist/TextField/ValidatedTextField.js +0 -36
  309. package/dist/TextField/ValidatedTextField.js.map +0 -1
  310. package/dist/TextField/index.js +0 -10
  311. package/dist/TextField/index.js.map +0 -1
  312. package/dist/TextField/types.js +0 -3
  313. package/dist/TextField/types.js.map +0 -1
  314. package/dist/ThemeProvider/DefaultEpilotTheme.js +0 -313
  315. package/dist/ThemeProvider/DefaultEpilotTheme.js.map +0 -1
  316. package/dist/ThemeProvider/ThemeProvider.js +0 -31
  317. package/dist/ThemeProvider/ThemeProvider.js.map +0 -1
  318. package/dist/ThemeProvider/fonts.js +0 -14
  319. package/dist/ThemeProvider/fonts.js.map +0 -1
  320. package/dist/ThemeProvider/index.js +0 -9
  321. package/dist/ThemeProvider/index.js.map +0 -1
  322. package/dist/ThemeProvider/mapping.js +0 -847
  323. package/dist/ThemeProvider/mapping.js.map +0 -1
  324. package/dist/ThemeProvider/types.js +0 -3
  325. package/dist/ThemeProvider/types.js.map +0 -1
  326. package/dist/ToggleButton/ToggleButton.js +0 -13
  327. package/dist/ToggleButton/ToggleButton.js.map +0 -1
  328. package/dist/ToggleButton/index.js +0 -6
  329. package/dist/ToggleButton/index.js.map +0 -1
  330. package/dist/ToggleButton/types.js +0 -3
  331. package/dist/ToggleButton/types.js.map +0 -1
  332. package/dist/ToggleButtonGroup/ToggleButtonGroup.js +0 -13
  333. package/dist/ToggleButtonGroup/ToggleButtonGroup.js.map +0 -1
  334. package/dist/ToggleButtonGroup/index.js +0 -6
  335. package/dist/ToggleButtonGroup/index.js.map +0 -1
  336. package/dist/ToggleButtonGroup/types.js +0 -3
  337. package/dist/ToggleButtonGroup/types.js.map +0 -1
  338. package/dist/Tooltip/Tooltip.js +0 -23
  339. package/dist/Tooltip/Tooltip.js.map +0 -1
  340. package/dist/Tooltip/index.js +0 -6
  341. package/dist/Tooltip/index.js.map +0 -1
  342. package/dist/Tooltip/types.js +0 -3
  343. package/dist/Tooltip/types.js.map +0 -1
  344. package/dist/Typography/Typography.js +0 -61
  345. package/dist/Typography/Typography.js.map +0 -1
  346. package/dist/Typography/index.js +0 -23
  347. package/dist/Typography/index.js.map +0 -1
  348. package/dist/Typography/types.js +0 -3
  349. package/dist/Typography/types.js.map +0 -1
  350. package/dist/bundle.js.LICENSE.txt +0 -64
  351. package/dist/config.js +0 -7
  352. package/dist/config.js.map +0 -1
  353. package/dist/context/ClassPrefixContext.js +0 -15
  354. package/dist/context/ClassPrefixContext.js.map +0 -1
  355. package/dist/index.js +0 -53
  356. package/dist/index.js.map +0 -1
  357. package/dist/styles/index.js +0 -5
  358. package/dist/styles/index.js.map +0 -1
  359. package/dist/styles/styles.js +0 -16
  360. package/dist/styles/styles.js.map +0 -1
  361. package/dist/utils.js +0 -8
  362. package/dist/utils.js.map +0 -1
@@ -1,847 +0,0 @@
1
- "use strict";
2
- exports.__esModule = true;
3
- exports.parseMuiTheme = exports.parseThemeTemplate = void 0;
4
- var tslib_1 = require("tslib");
5
- var styles_1 = require("@material-ui/core/styles");
6
- var fp_1 = tslib_1.__importDefault(require("lodash/fp"));
7
- var DefaultEpilotTheme_1 = require("./DefaultEpilotTheme");
8
- var fonts_1 = tslib_1.__importDefault(require("./fonts"));
9
- function parseThemeTemplate(params) {
10
- var _a, _b, _c, _d;
11
- return {
12
- contentMaxWidth: (((_a = params.props) === null || _a === void 0 ? void 0 : _a.content_max_width) || ((_b = DefaultEpilotTheme_1.DefaultEpilotTheme.props) === null || _b === void 0 ? void 0 : _b.content_max_width)) + "px",
13
- clientLogoUrl: ((_c = params.props) === null || _c === void 0 ? void 0 : _c.client_logo_url) || ((_d = DefaultEpilotTheme_1.DefaultEpilotTheme.props) === null || _d === void 0 ? void 0 : _d.client_logo_url),
14
- clientLogoStyle: {
15
- height: '32px'
16
- }
17
- };
18
- }
19
- exports.parseThemeTemplate = parseThemeTemplate;
20
- function parseMuiTheme(params, classPrefix) {
21
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
22
- var _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65, _66, _67, _68, _69, _70, _71, _72, _73, _74, _75, _76, _77, _78, _79, _80, _81, _82, _83, _84, _85, _86, _87, _88, _89, _90, _91, _92, _93, _94, _95, _96, _97, _98, _99, _100, _101, _102, _103, _104, _105, _106, _107, _108, _109, _110, _111, _112, _113, _114, _115, _116, _117, _118, _119, _120, _121, _122, _123, _124, _125, _126, _127, _128, _129, _130, _131, _132, _133, _134, _135, _136, _137, _138, _139, _140, _141, _142, _143, _144, _145, _146, _147, _148, _149, _150, _151, _152, _153, _154, _155, _156, _157, _158, _159, _160, _161, _162, _163, _164, _165, _166, _167, _168, _169, _170, _171, _172, _173, _174, _175, _176, _177, _178, _179, _180, _181, _182, _183, _184, _185, _186, _187, _188, _189, _190, _191, _192, _193, _194, _195, _196, _197, _198, _199, _200, _201, _202, _203, _204, _205, _206, _207, _208, _209, _210;
23
- if (classPrefix === void 0) { classPrefix = ''; }
24
- var prefix = classPrefix ? classPrefix + "-" : '';
25
- var disableRipple = typeof ((_t = params.props) === null || _t === void 0 ? void 0 : _t.enable_ripple) === 'boolean'
26
- ? !((_u = params.props) === null || _u === void 0 ? void 0 : _u.enable_ripple)
27
- : !((_v = DefaultEpilotTheme_1.DefaultEpilotTheme.props) === null || _v === void 0 ? void 0 : _v.enable_ripple);
28
- var borderRadius = ((_w = params.shape) === null || _w === void 0 ? void 0 : _w.borderRadius) || ((_x = DefaultEpilotTheme_1.DefaultEpilotTheme.shape) === null || _x === void 0 ? void 0 : _x.borderRadius);
29
- var primaryColor = ((_y = params.palette) === null || _y === void 0 ? void 0 : _y.primary) || ((_z = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _z === void 0 ? void 0 : _z.primary);
30
- var secondaryColor = ((_0 = params.palette) === null || _0 === void 0 ? void 0 : _0.secondary) || ((_1 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _1 === void 0 ? void 0 : _1.secondary);
31
- var successColor = ((_2 = params.palette) === null || _2 === void 0 ? void 0 : _2.success) || ((_3 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _3 === void 0 ? void 0 : _3.success);
32
- var infoColor = ((_4 = params.palette) === null || _4 === void 0 ? void 0 : _4.info) || ((_5 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _5 === void 0 ? void 0 : _5.info);
33
- var defaultBackground = ((_7 = (_6 = params.palette) === null || _6 === void 0 ? void 0 : _6.background) === null || _7 === void 0 ? void 0 : _7["default"]) || ((_9 = (_8 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _8 === void 0 ? void 0 : _8.background) === null || _9 === void 0 ? void 0 : _9["default"]);
34
- var warningColor = ((_10 = params.palette) === null || _10 === void 0 ? void 0 : _10.warning) || ((_11 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _11 === void 0 ? void 0 : _11.warning);
35
- var primaryDark = (primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor.dark) ? primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor.dark : (primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor.main) ? styles_1.darken(primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor.main, 0.1)
36
- : null;
37
- var secondaryDark = (secondaryColor === null || secondaryColor === void 0 ? void 0 : secondaryColor.dark) ? secondaryColor === null || secondaryColor === void 0 ? void 0 : secondaryColor.dark : (secondaryColor === null || secondaryColor === void 0 ? void 0 : secondaryColor.main) ? styles_1.darken(secondaryColor === null || secondaryColor === void 0 ? void 0 : secondaryColor.main, 0.1)
38
- : null;
39
- var primaryLight = (primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor.light) ? primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor.light : (primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor.main) ? styles_1.lighten(primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor.main, 0.1)
40
- : null;
41
- var secondaryLight = (secondaryColor === null || secondaryColor === void 0 ? void 0 : secondaryColor.light) ? secondaryColor === null || secondaryColor === void 0 ? void 0 : secondaryColor.light : (secondaryColor === null || secondaryColor === void 0 ? void 0 : secondaryColor.main) ? styles_1.lighten(secondaryColor === null || secondaryColor === void 0 ? void 0 : secondaryColor.main, 0.1)
42
- : null;
43
- var errorColor = ((_12 = params.palette) === null || _12 === void 0 ? void 0 : _12.error) || ((_13 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _13 === void 0 ? void 0 : _13.error);
44
- var accent1Color = ((_14 = params.palette) === null || _14 === void 0 ? void 0 : _14.accent1) || ((_15 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _15 === void 0 ? void 0 : _15.accent1);
45
- var accent2Color = ((_16 = params.palette) === null || _16 === void 0 ? void 0 : _16.accent2) || ((_17 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _17 === void 0 ? void 0 : _17.accent2);
46
- var tertiaryColor = ((_18 = params.palette) === null || _18 === void 0 ? void 0 : _18.tertiary) || ((_19 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _19 === void 0 ? void 0 : _19.tertiary);
47
- var defaultColor = ((_20 = params.palette) === null || _20 === void 0 ? void 0 : _20["default"]) || ((_21 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _21 === void 0 ? void 0 : _21["default"]);
48
- var grey20 = ((_23 = (_22 = params.palette) === null || _22 === void 0 ? void 0 : _22.grey) === null || _23 === void 0 ? void 0 : _23[20]) || ((_25 = (_24 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _24 === void 0 ? void 0 : _24.grey) === null || _25 === void 0 ? void 0 : _25[20]);
49
- var grey30 = ((_27 = (_26 = params.palette) === null || _26 === void 0 ? void 0 : _26.grey) === null || _27 === void 0 ? void 0 : _27[30]) || ((_29 = (_28 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _28 === void 0 ? void 0 : _28.grey) === null || _29 === void 0 ? void 0 : _29[30]);
50
- var grey40 = ((_31 = (_30 = params.palette) === null || _30 === void 0 ? void 0 : _30.grey) === null || _31 === void 0 ? void 0 : _31[40]) || ((_33 = (_32 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _32 === void 0 ? void 0 : _32.grey) === null || _33 === void 0 ? void 0 : _33[40]);
51
- var grey50 = ((_35 = (_34 = params.palette) === null || _34 === void 0 ? void 0 : _34.grey) === null || _35 === void 0 ? void 0 : _35[50]) || ((_37 = (_36 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _36 === void 0 ? void 0 : _36.grey) === null || _37 === void 0 ? void 0 : _37[50]);
52
- var grey60 = ((_39 = (_38 = params.palette) === null || _38 === void 0 ? void 0 : _38.grey) === null || _39 === void 0 ? void 0 : _39[60]) || ((_41 = (_40 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _40 === void 0 ? void 0 : _40.grey) === null || _41 === void 0 ? void 0 : _41[60]);
53
- var grey70 = ((_43 = (_42 = params.palette) === null || _42 === void 0 ? void 0 : _42.grey) === null || _43 === void 0 ? void 0 : _43[70]) || ((_45 = (_44 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _44 === void 0 ? void 0 : _44.grey) === null || _45 === void 0 ? void 0 : _45[70]);
54
- var grey100 = ((_47 = (_46 = params.palette) === null || _46 === void 0 ? void 0 : _46.grey) === null || _47 === void 0 ? void 0 : _47[100]) || ((_49 = (_48 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _48 === void 0 ? void 0 : _48.grey) === null || _49 === void 0 ? void 0 : _49[100]);
55
- var grey200 = ((_51 = (_50 = params.palette) === null || _50 === void 0 ? void 0 : _50.grey) === null || _51 === void 0 ? void 0 : _51[200]) || ((_53 = (_52 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _52 === void 0 ? void 0 : _52.grey) === null || _53 === void 0 ? void 0 : _53[200]);
56
- var grey500 = ((_55 = (_54 = params.palette) === null || _54 === void 0 ? void 0 : _54.grey) === null || _55 === void 0 ? void 0 : _55[500]) || ((_57 = (_56 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _56 === void 0 ? void 0 : _56.grey) === null || _57 === void 0 ? void 0 : _57[500]);
57
- var textPalette = ((_58 = params.palette) === null || _58 === void 0 ? void 0 : _58.text) || ((_59 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _59 === void 0 ? void 0 : _59.text);
58
- var actionHoverColor = ((_61 = (_60 = params.palette) === null || _60 === void 0 ? void 0 : _60.action) === null || _61 === void 0 ? void 0 : _61.hover) || ((_63 = (_62 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _62 === void 0 ? void 0 : _62.action) === null || _63 === void 0 ? void 0 : _63.hover);
59
- var dividerColor = ((_64 = params.palette) === null || _64 === void 0 ? void 0 : _64.divider) || ((_65 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _65 === void 0 ? void 0 : _65.divider);
60
- var extFonts = ((_66 = params.typography) === null || _66 === void 0 ? void 0 : _66.fontSource) ? fonts_1["default"].concat((_67 = params.typography) === null || _67 === void 0 ? void 0 : _67.fontSource)
61
- : fonts_1["default"];
62
- var elevation1 = ((_68 = params.shadows) === null || _68 === void 0 ? void 0 : _68[1]) || ((_69 = DefaultEpilotTheme_1.DefaultEpilotTheme.shadows) === null || _69 === void 0 ? void 0 : _69[1]);
63
- var elevation2 = ((_70 = params.shadows) === null || _70 === void 0 ? void 0 : _70[2]) || ((_71 = DefaultEpilotTheme_1.DefaultEpilotTheme.shadows) === null || _71 === void 0 ? void 0 : _71[2]);
64
- var elevation3 = ((_72 = params.shadows) === null || _72 === void 0 ? void 0 : _72[3]) || ((_73 = DefaultEpilotTheme_1.DefaultEpilotTheme.shadows) === null || _73 === void 0 ? void 0 : _73[3]);
65
- var elevation8 = ((_74 = params.shadows) === null || _74 === void 0 ? void 0 : _74[8]) || ((_75 = DefaultEpilotTheme_1.DefaultEpilotTheme.shadows) === null || _75 === void 0 ? void 0 : _75[8]);
66
- var overrides = fp_1["default"].merge({
67
- MuiTypography: {
68
- root: {
69
- textTransform: 'none'
70
- }
71
- },
72
- MuiInputBase: {
73
- input: {
74
- height: 'auto',
75
- '&::placeholder': {
76
- color: grey200,
77
- opacity: 1
78
- },
79
- '&$disabled': {
80
- '&::placeholder': {
81
- color: grey100
82
- }
83
- }
84
- }
85
- },
86
- MuiInputAdornment: {
87
- root: (_a = {},
88
- _a["& ." + prefix + "MuiIconButton-root"] = {
89
- padding: 0
90
- },
91
- _a)
92
- },
93
- MuiInput: {
94
- underline: {
95
- '&:before': {
96
- borderBottom: "1px solid " + grey60
97
- },
98
- '&:after': {
99
- borderBottom: "1px solid " + (primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[400])
100
- },
101
- '&:hover:not(.Mui-disabled)': {
102
- '&:before': {
103
- borderBottom: "1px solid " + grey60
104
- }
105
- },
106
- '&$disabled': {
107
- '&:before': {
108
- borderBottomStyle: 'solid'
109
- }
110
- }
111
- }
112
- },
113
- MuiSelect: {
114
- root: {
115
- textAlign: 'start'
116
- },
117
- icon: {
118
- color: secondaryColor === null || secondaryColor === void 0 ? void 0 : secondaryColor.main
119
- }
120
- },
121
- MuiFormHelperText: {
122
- contained: {
123
- marginLeft: '1px'
124
- }
125
- },
126
- MuiInputLabel: {
127
- root: {
128
- color: grey500 + " !important",
129
- '&$disabled': {
130
- color: grey100 + " !important"
131
- }
132
- },
133
- outlined: {
134
- display: 'none'
135
- }
136
- },
137
- MuiPaper: {
138
- elevation1: {
139
- boxShadow: elevation1
140
- },
141
- elevation2: {
142
- boxShadow: elevation2
143
- },
144
- elevation3: {
145
- boxShadow: elevation3
146
- },
147
- // Elevation8 affects Popover default boxShadow
148
- elevation8: {
149
- boxShadow: elevation8
150
- }
151
- },
152
- MuiChip: {
153
- root: {
154
- borderRadius: 2,
155
- fontSize: 12,
156
- fontWeight: 600,
157
- height: 24,
158
- backgroundColor: grey50,
159
- lineHeight: 'normal'
160
- },
161
- outlined: (_b = {
162
- backgroundColor: 'transparent',
163
- '&:hover': {
164
- border: "1px solid " + (primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor.main)
165
- }
166
- },
167
- _b["& ." + prefix + "MuiIcon-root, ." + prefix + "MuiSvgIcon-root"] = {
168
- color: secondaryColor === null || secondaryColor === void 0 ? void 0 : secondaryColor.main
169
- },
170
- _b),
171
- label: {
172
- color: textPalette === null || textPalette === void 0 ? void 0 : textPalette.primary
173
- },
174
- icon: {
175
- fontSize: '1.2rem !important'
176
- },
177
- deleteIcon: {
178
- fontSize: '1.2rem !important'
179
- }
180
- },
181
- MuiAccordionDetails: {
182
- root: {
183
- backgroundColor: grey20,
184
- borderTop: "1px solid " + grey50
185
- }
186
- },
187
- MuiAccordionSummary: {
188
- root: {
189
- color: textPalette === null || textPalette === void 0 ? void 0 : textPalette.primary,
190
- fontSize: 14,
191
- fontWeight: 600,
192
- minHeight: 48,
193
- '&$expanded': {
194
- minHeight: 48
195
- }
196
- },
197
- content: {
198
- '&$expanded': {
199
- margin: 'auto'
200
- }
201
- },
202
- expanded: {}
203
- },
204
- MuiAccordion: {
205
- root: {
206
- marginTop: '-1px !important',
207
- '&$expanded': {
208
- margin: 'auto',
209
- '&:before': {
210
- top: -1,
211
- left: 0,
212
- right: 0,
213
- height: 1,
214
- content: '',
215
- opacity: 1,
216
- position: 'absolute',
217
- transition: 'opacity 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms',
218
- backgroundColor: grey50
219
- }
220
- },
221
- '&.Mui-disabled': {
222
- backgroundColor: grey40
223
- }
224
- }
225
- },
226
- MuiRadio: {
227
- colorPrimary: {
228
- '&:hover': {
229
- color: primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor.main,
230
- backgroundColor: 'transparent'
231
- }
232
- },
233
- colorSecondary: {
234
- '&:hover': {
235
- color: accent1Color === null || accent1Color === void 0 ? void 0 : accent1Color.main,
236
- backgroundColor: 'transparent'
237
- }
238
- }
239
- },
240
- MuiCheckbox: {
241
- colorPrimary: {
242
- '&:hover': {
243
- color: primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor.main,
244
- backgroundColor: 'transparent'
245
- }
246
- },
247
- colorSecondary: {
248
- '&:hover': {
249
- color: accent1Color === null || accent1Color === void 0 ? void 0 : accent1Color.main,
250
- backgroundColor: 'transparent'
251
- }
252
- }
253
- },
254
- MuiTabPanel: {
255
- root: (_c = {
256
- padding: 0
257
- },
258
- _c["& ." + prefix + "MuiPaper-root"] = {
259
- borderRadius: "0px " + borderRadius + "px " + borderRadius + "px " + borderRadius + "px"
260
- },
261
- _c)
262
- },
263
- MuiTabs: {
264
- root: {
265
- minHeight: 40,
266
- overflow: 'visible'
267
- }
268
- },
269
- MuiTableCell: {
270
- root: {
271
- borderBottom: "1px solid " + grey60,
272
- whiteSpace: 'pre',
273
- height: 48
274
- },
275
- head: {
276
- fontWeight: 600,
277
- height: 56,
278
- border: 0
279
- },
280
- stickyHeader: {
281
- fontWeight: 600,
282
- backgroundColor: grey30,
283
- left: 'unset'
284
- }
285
- },
286
- MuiTableSortLabel: {
287
- root: {
288
- '&:hover': {
289
- color: 'inherit'
290
- }
291
- }
292
- },
293
- MuiTableRow: {
294
- root: {
295
- '&$selected': {
296
- backgroundColor: grey20 + " !important"
297
- }
298
- },
299
- hover: {
300
- '&:hover': {
301
- backgroundColor: grey20 + " !important"
302
- }
303
- }
304
- },
305
- MuiTableHead: {
306
- root: {
307
- backgroundColor: grey30
308
- }
309
- },
310
- MuiButton: {
311
- root: {
312
- fontWeight: 600,
313
- '&$disabled': {
314
- color: grey100
315
- },
316
- height: 32,
317
- fontSize: 14
318
- },
319
- sizeSmall: {
320
- height: 24,
321
- fontSize: 12
322
- },
323
- sizeLarge: {
324
- height: 48,
325
- fontSize: 16
326
- },
327
- contained: {
328
- '&$disabled': {
329
- color: grey100,
330
- backgroundColor: grey40
331
- }
332
- },
333
- text: {
334
- color: textPalette === null || textPalette === void 0 ? void 0 : textPalette.primary,
335
- '&:hover': {
336
- backgroundColor: 'transparent'
337
- }
338
- },
339
- textPrimary: (_d = {
340
- '&:hover': {
341
- backgroundColor: 'transparent',
342
- color: primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[600]
343
- },
344
- '&:active': {
345
- color: primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[700]
346
- }
347
- },
348
- _d["&." + classPrefix + "Mui-focusVisible"] = {
349
- border: "1px solid white",
350
- boxShadow: "0 0 0 2px " + ((primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[400]) || primaryLight) + " !important"
351
- },
352
- _d["&." + classPrefix + "Mui-focusVisible." + classPrefix + "MuiButton-textSizeSmall"] = {
353
- boxShadow: "0 0 0 1px " + ((primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[400]) || primaryLight) + " !important"
354
- },
355
- _d),
356
- textSecondary: {
357
- '&:hover': {
358
- backgroundColor: 'transparent'
359
- }
360
- },
361
- outlined: (_e = {
362
- color: textPalette === null || textPalette === void 0 ? void 0 : textPalette.primary,
363
- backgroundColor: defaultBackground,
364
- borderColor: grey70,
365
- '&:hover': {
366
- backgroundColor: defaultBackground
367
- },
368
- '&:active': {
369
- borderColor: primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[400],
370
- boxShadow: "0px 0px 0px 1px " + (primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[400]) + " !important"
371
- }
372
- },
373
- _e["& ." + prefix + "MuiButton-startIcon"] = {
374
- color: accent1Color === null || accent1Color === void 0 ? void 0 : accent1Color.main
375
- },
376
- _e["& ." + prefix + "MuiButton-endIcon"] = {
377
- color: accent1Color === null || accent1Color === void 0 ? void 0 : accent1Color.main
378
- },
379
- _e["&." + classPrefix + "Mui-focusVisible"] = {
380
- border: "1px solid white",
381
- boxShadow: "0 0 0 2px " + ((primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[400]) || primaryLight) + " !important"
382
- },
383
- _e["&." + classPrefix + "Mui-focusVisible." + classPrefix + "MuiButton-outlinedSizeSmall"] = {
384
- boxShadow: "0 0 0 1px " + ((primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[400]) || primaryLight) + " !important"
385
- },
386
- _e),
387
- outlinedPrimary: (_f = {
388
- color: textPalette === null || textPalette === void 0 ? void 0 : textPalette.primary,
389
- '&:hover': {
390
- border: "1px solid " + primaryDark,
391
- backgroundColor: defaultBackground
392
- },
393
- '&:active': {
394
- borderColor: primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[400],
395
- boxShadow: "0px 0px 0px 1px " + (primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[400]) + " !important"
396
- }
397
- },
398
- _f["& ." + prefix + "MuiButton-startIcon"] = {
399
- color: textPalette === null || textPalette === void 0 ? void 0 : textPalette.primary
400
- },
401
- _f["& ." + prefix + "MuiButton-endIcon"] = {
402
- color: textPalette === null || textPalette === void 0 ? void 0 : textPalette.primary
403
- },
404
- _f),
405
- outlinedSecondary: {
406
- color: textPalette === null || textPalette === void 0 ? void 0 : textPalette.primary,
407
- '&:hover': {
408
- border: "1px solid " + secondaryDark,
409
- backgroundColor: defaultBackground
410
- }
411
- },
412
- containedPrimary: (_g = {},
413
- _g["&." + classPrefix + "Mui-focusVisible"] = {
414
- backgroundColor: (primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[400]) + " !important",
415
- border: "1px solid white",
416
- boxShadow: "0 0 0 2px " + ((primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[400]) || primaryLight) + " !important"
417
- },
418
- _g["&." + classPrefix + "Mui-focusVisible." + classPrefix + "MuiButton-containedSizeSmall"] = {
419
- boxShadow: "0 0 0 1px " + ((primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[400]) || primaryLight) + " !important"
420
- },
421
- _g),
422
- containedSecondary: (_h = {},
423
- _h["&." + classPrefix + "Mui-focusVisible"] = {
424
- backgroundColor: (secondaryColor === null || secondaryColor === void 0 ? void 0 : secondaryColor.main) + " !important",
425
- border: "1px solid white",
426
- boxShadow: "0 0 0 2px " + ((secondaryColor === null || secondaryColor === void 0 ? void 0 : secondaryColor[400]) || secondaryLight) + " !important"
427
- },
428
- _h["&." + classPrefix + "Mui-focusVisible." + classPrefix + "MuiButton-containedSizeSmall"] = {
429
- boxShadow: "0 0 0 1px " + ((secondaryColor === null || secondaryColor === void 0 ? void 0 : secondaryColor[400]) || secondaryLight) + " !important"
430
- },
431
- _h)
432
- },
433
- MuiButtonGroup: {
434
- groupedContainedPrimary: {
435
- '&:not(:last-child)': {
436
- borderColor: defaultBackground
437
- }
438
- },
439
- groupedOutlined: {
440
- '&:active': {
441
- zIndex: 1,
442
- borderColor: (primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[400]) + " !important"
443
- }
444
- },
445
- groupedTextPrimary: {
446
- border: "1px solid " + ((_76 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _76 === void 0 ? void 0 : _76.grey[70]) + " !important",
447
- '&:not(:last-child)': {
448
- marginRight: -1
449
- }
450
- }
451
- },
452
- MuiDialogContentText: {
453
- root: {
454
- color: textPalette === null || textPalette === void 0 ? void 0 : textPalette.primary
455
- }
456
- },
457
- MuiDialogTitle: {
458
- root: (_j = {
459
- padding: 24,
460
- paddingBottom: 4
461
- },
462
- _j["& ." + prefix + "MuiTypography-root"] = {
463
- fontWeight: 600
464
- },
465
- _j)
466
- },
467
- MuiDialogActions: {
468
- root: {
469
- padding: 24,
470
- paddingTop: 16
471
- }
472
- },
473
- MuiDialog: {
474
- paper: {
475
- boxShadow: '0px 3px 5px rgba(9, 30, 66, 0.2), 0px 0px 1px rgba(9, 30, 66, 0.31)'
476
- }
477
- },
478
- MuiBackdrop: {
479
- root: {
480
- backgroundColor: 'rgba(23, 43, 77 ,0.3)'
481
- }
482
- },
483
- MuiToggleButton: {
484
- root: {
485
- fontWeight: 600,
486
- backgroundColor: defaultBackground,
487
- color: textPalette === null || textPalette === void 0 ? void 0 : textPalette.primary,
488
- borderColor: grey70 + " !important",
489
- '&:hover': {
490
- backgroundColor: defaultBackground
491
- },
492
- '&$selected': (_k = {
493
- backgroundColor: (primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor.main) + " !important",
494
- borderColor: (primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor.main) + " !important",
495
- borderRight: "1px solid " + (primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor.main) + " !important",
496
- '&:hover': {
497
- backgroundColor: primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor.main
498
- }
499
- },
500
- _k["& ." + prefix + "MuiToggleButton-label"] = {
501
- color: defaultBackground
502
- },
503
- _k),
504
- '&$disabled': (_l = {
505
- backgroundColor: grey40
506
- },
507
- _l["& ." + prefix + "MuiToggleButton-label"] = {
508
- color: grey100
509
- },
510
- _l),
511
- height: 32,
512
- fontSize: 14
513
- },
514
- sizeSmall: {
515
- height: 24,
516
- fontSize: 12
517
- },
518
- sizeLarge: {
519
- height: 40,
520
- fontSize: 16
521
- }
522
- },
523
- MuiFormControlLabel: {
524
- root: {
525
- marginLeft: 0,
526
- marginRight: 0
527
- }
528
- },
529
- MuiSwitch: {
530
- root: {
531
- width: 48,
532
- height: 24,
533
- padding: 0,
534
- display: 'flex',
535
- margin: 8
536
- },
537
- switchBase: {
538
- padding: 2,
539
- color: (_77 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _77 === void 0 ? void 0 : _77.background["default"],
540
- '&:hover': {
541
- backgroundColor: 'inherit'
542
- },
543
- '&$checked': {
544
- transform: 'translateX(24px)',
545
- color: ((_78 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _78 === void 0 ? void 0 : _78.background["default"]) + " !important",
546
- '& + $track': {
547
- opacity: 1,
548
- borderColor: (_79 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _79 === void 0 ? void 0 : _79.action.disabled,
549
- backgroundColor: (_80 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _80 === void 0 ? void 0 : _80.action.disabled
550
- }
551
- }
552
- },
553
- colorPrimary: {
554
- '&$disabled': {
555
- color: ((_81 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _81 === void 0 ? void 0 : _81.background["default"]) + " !important",
556
- '& + $track': {
557
- opacity: 0.8,
558
- borderColor: (_82 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _82 === void 0 ? void 0 : _82.action.disabled,
559
- backgroundColor: (_83 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _83 === void 0 ? void 0 : _83.action.disabled
560
- },
561
- '&$checked': {
562
- '& + $track': {
563
- opacity: 0.5,
564
- borderColor: (_84 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _84 === void 0 ? void 0 : _84.primary.main,
565
- backgroundColor: (_85 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _85 === void 0 ? void 0 : _85.primary.main
566
- }
567
- }
568
- },
569
- '&$checked': {
570
- '& + $track': {
571
- borderColor: (_86 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _86 === void 0 ? void 0 : _86.primary.main
572
- }
573
- }
574
- },
575
- colorSecondary: {
576
- '&$disabled': {
577
- color: ((_87 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _87 === void 0 ? void 0 : _87.background["default"]) + " !important",
578
- '& + $track': {
579
- opacity: 0.8,
580
- borderColor: (_88 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _88 === void 0 ? void 0 : _88.action.disabled,
581
- backgroundColor: (_89 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _89 === void 0 ? void 0 : _89.action.disabled
582
- },
583
- '&$checked': {
584
- '& + $track': {
585
- opacity: 0.5,
586
- borderColor: (_90 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _90 === void 0 ? void 0 : _90.secondary.main,
587
- backgroundColor: (_91 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _91 === void 0 ? void 0 : _91.secondary.main
588
- }
589
- }
590
- },
591
- '&$checked': {
592
- '& + $track': {
593
- borderColor: (_92 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _92 === void 0 ? void 0 : _92.secondary.main
594
- }
595
- }
596
- },
597
- thumb: {
598
- width: 20,
599
- height: 20,
600
- boxShadow: 'none'
601
- },
602
- track: {
603
- border: "1px solid " + ((_93 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _93 === void 0 ? void 0 : _93.action.disabled),
604
- borderRadius: 12,
605
- opacity: 1,
606
- backgroundColor: (_94 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _94 === void 0 ? void 0 : _94.action.disabled
607
- },
608
- sizeSmall: (_m = {
609
- width: 28,
610
- height: 16,
611
- padding: 0
612
- },
613
- _m["& ." + prefix + "MuiSwitch-switchBase"] = (_o = {
614
- padding: '2px !important',
615
- '&$checked': {
616
- transform: 'translateX(12px) !important'
617
- }
618
- },
619
- _o["& ." + prefix + "MuiSwitch-thumb"] = {
620
- width: 12,
621
- height: 12
622
- },
623
- _o),
624
- _m)
625
- },
626
- MuiTooltip: {
627
- tooltip: {
628
- backgroundColor: primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[800],
629
- padding: 8,
630
- fontSize: 14,
631
- lineHeight: '18px'
632
- },
633
- arrow: {
634
- color: primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[800]
635
- }
636
- },
637
- MuiFilledInput: {
638
- root: {
639
- border: "1px solid " + grey70,
640
- backgroundColor: grey20,
641
- borderRadius: borderRadius,
642
- '&:hover': {
643
- backgroundColor: grey20
644
- },
645
- '&$focused': {
646
- backgroundColor: grey20,
647
- border: "1px solid " + (primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[400])
648
- },
649
- '&.Mui-error': {
650
- borderColor: errorColor === null || errorColor === void 0 ? void 0 : errorColor.main
651
- },
652
- '&$disabled': {
653
- backgroundColor: grey40
654
- }
655
- }
656
- },
657
- MuiOutlinedInput: {
658
- root: (_p = {
659
- backgroundColor: defaultBackground,
660
- '& input': {
661
- paddingTop: 10.5,
662
- paddingBottom: 10.5
663
- }
664
- },
665
- _p["& ." + prefix + "MuiOutlinedInput-notchedOutline"] = {
666
- borderColor: grey70
667
- },
668
- _p['&:hover'] = (_q = {
669
- backgroundColor: grey20
670
- },
671
- _q["& ." + prefix + "MuiOutlinedInput-notchedOutline"] = {
672
- borderColor: grey70
673
- },
674
- _q),
675
- _p['&$focused'] = (_r = {
676
- backgroundColor: '#ffffff'
677
- },
678
- _r["& ." + prefix + "MuiOutlinedInput-notchedOutline"] = {
679
- borderColor: (primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[400]) + " !important",
680
- borderWidth: 1
681
- },
682
- _r),
683
- _p['&$disabled'] = (_s = {
684
- backgroundColor: grey40
685
- },
686
- _s["& ." + prefix + "MuiOutlinedInput-notchedOutline"] = {
687
- borderColor: grey70
688
- },
689
- _s),
690
- _p),
691
- inputMarginDense: {
692
- '&$input': {
693
- paddingTop: 6.5,
694
- paddingBottom: 6.5
695
- }
696
- },
697
- notchedOutline: {
698
- '& legend': {
699
- maxWidth: 0
700
- }
701
- }
702
- },
703
- MuiAutocomplete: {
704
- inputRoot: {
705
- minHeight: 32
706
- },
707
- option: {
708
- '&:hover': {
709
- backgroundColor: actionHoverColor
710
- },
711
- "&[aria-selected='true']": {
712
- backgroundColor: actionHoverColor,
713
- color: primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor.main
714
- }
715
- },
716
- paper: {
717
- boxShadow: elevation8
718
- }
719
- },
720
- MuiCssBaseline: tslib_1.__assign({ '@global': {
721
- '@font-face': extFonts,
722
- '.Mui-selected': {
723
- color: primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor.main,
724
- backgroundColor: actionHoverColor + " !important"
725
- },
726
- '.Mui-focusVisible': {
727
- backgroundColor: defaultBackground + " !important"
728
- },
729
- input: {
730
- '&::-webkit-inner-spin-button': {
731
- '-webkit-appearance': 'none',
732
- margin: 0
733
- }
734
- }
735
- } }, (_95 = params.muiOverrides) === null || _95 === void 0 ? void 0 : _95.MuiCssBaseline)
736
- }, params.muiOverrides);
737
- return {
738
- typography: {
739
- fontWeightRegular: ((_96 = params.typography) === null || _96 === void 0 ? void 0 : _96.fontWeightRegular) || ((_97 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _97 === void 0 ? void 0 : _97.fontWeightRegular),
740
- fontWeightBold: ((_98 = params.typography) === null || _98 === void 0 ? void 0 : _98.fontWeightBold) || ((_99 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _99 === void 0 ? void 0 : _99.fontWeightBold),
741
- fontSize: ((_100 = params.typography) === null || _100 === void 0 ? void 0 : _100.fontSize) || ((_101 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _101 === void 0 ? void 0 : _101.fontSize),
742
- body1: ((_102 = params.typography) === null || _102 === void 0 ? void 0 : _102.body1) || ((_103 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _103 === void 0 ? void 0 : _103.body1),
743
- body2: ((_104 = params.typography) === null || _104 === void 0 ? void 0 : _104.body2) || ((_105 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _105 === void 0 ? void 0 : _105.body2),
744
- caption: ((_106 = params.typography) === null || _106 === void 0 ? void 0 : _106.caption) || ((_107 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _107 === void 0 ? void 0 : _107.caption),
745
- subtitle1: ((_108 = params.typography) === null || _108 === void 0 ? void 0 : _108.subtitle1) || ((_109 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _109 === void 0 ? void 0 : _109.subtitle1),
746
- subtitle2: ((_110 = params.typography) === null || _110 === void 0 ? void 0 : _110.subtitle2) || ((_111 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _111 === void 0 ? void 0 : _111.subtitle2),
747
- fontFamily: (((_112 = params.typography) === null || _112 === void 0 ? void 0 : _112.fontFamily) || ((_113 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _113 === void 0 ? void 0 : _113.fontFamily)) + " !important",
748
- button: ((_114 = params.typography) === null || _114 === void 0 ? void 0 : _114.button) || ((_115 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _115 === void 0 ? void 0 : _115.button),
749
- h1: ((_116 = params.typography) === null || _116 === void 0 ? void 0 : _116.h1) || ((_117 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _117 === void 0 ? void 0 : _117.h1),
750
- h2: ((_118 = params.typography) === null || _118 === void 0 ? void 0 : _118.h2) || ((_119 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _119 === void 0 ? void 0 : _119.h2),
751
- h3: ((_120 = params.typography) === null || _120 === void 0 ? void 0 : _120.h3) || ((_121 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _121 === void 0 ? void 0 : _121.h3),
752
- h4: ((_122 = params.typography) === null || _122 === void 0 ? void 0 : _122.h4) || ((_123 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _123 === void 0 ? void 0 : _123.h4),
753
- h5: ((_124 = params.typography) === null || _124 === void 0 ? void 0 : _124.h5) || ((_125 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _125 === void 0 ? void 0 : _125.h5),
754
- h6: ((_126 = params.typography) === null || _126 === void 0 ? void 0 : _126.h6) || ((_127 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _127 === void 0 ? void 0 : _127.h6)
755
- },
756
- shadows: DefaultEpilotTheme_1.DefaultEpilotTheme.shadows,
757
- palette: {
758
- primary: tslib_1.__assign(tslib_1.__assign({}, primaryColor), { dark: primaryDark }),
759
- secondary: tslib_1.__assign(tslib_1.__assign({}, secondaryColor), { dark: secondaryDark }),
760
- success: tslib_1.__assign(tslib_1.__assign({}, successColor), { dark: (successColor === null || successColor === void 0 ? void 0 : successColor.dark) ? successColor === null || successColor === void 0 ? void 0 : successColor.dark : (successColor === null || successColor === void 0 ? void 0 : successColor.main) ? styles_1.darken(successColor === null || successColor === void 0 ? void 0 : successColor.main, 0.1)
761
- : null }),
762
- "default": tslib_1.__assign(tslib_1.__assign({}, defaultColor), { dark: (defaultColor === null || defaultColor === void 0 ? void 0 : defaultColor.dark) ? defaultColor === null || defaultColor === void 0 ? void 0 : defaultColor.dark : (defaultColor === null || defaultColor === void 0 ? void 0 : defaultColor.main) ? styles_1.darken(defaultColor === null || defaultColor === void 0 ? void 0 : defaultColor.main, 0.1)
763
- : null }),
764
- info: tslib_1.__assign(tslib_1.__assign({}, infoColor), { dark: (infoColor === null || infoColor === void 0 ? void 0 : infoColor.dark) ? infoColor === null || infoColor === void 0 ? void 0 : infoColor.dark : (infoColor === null || infoColor === void 0 ? void 0 : infoColor.main) ? styles_1.darken(infoColor === null || infoColor === void 0 ? void 0 : infoColor.main, 0.1)
765
- : null }),
766
- warning: tslib_1.__assign(tslib_1.__assign({}, warningColor), { dark: (warningColor === null || warningColor === void 0 ? void 0 : warningColor.dark) ? warningColor === null || warningColor === void 0 ? void 0 : warningColor.dark : (warningColor === null || warningColor === void 0 ? void 0 : warningColor.main) ? styles_1.darken(warningColor === null || warningColor === void 0 ? void 0 : warningColor.main, 0.1)
767
- : null }),
768
- error: tslib_1.__assign(tslib_1.__assign({}, errorColor), { dark: (errorColor === null || errorColor === void 0 ? void 0 : errorColor.dark) ? errorColor === null || errorColor === void 0 ? void 0 : errorColor.dark : (errorColor === null || errorColor === void 0 ? void 0 : errorColor.main) ? styles_1.darken(errorColor === null || errorColor === void 0 ? void 0 : errorColor.main, 0.1)
769
- : null }),
770
- accent1: tslib_1.__assign(tslib_1.__assign({}, accent1Color), { dark: (accent1Color === null || accent1Color === void 0 ? void 0 : accent1Color.dark) ? accent1Color === null || accent1Color === void 0 ? void 0 : accent1Color.dark : (accent1Color === null || accent1Color === void 0 ? void 0 : accent1Color.main) ? styles_1.darken(accent1Color === null || accent1Color === void 0 ? void 0 : accent1Color.main, 0.1)
771
- : null }),
772
- accent2: tslib_1.__assign(tslib_1.__assign({}, accent2Color), { dark: (accent2Color === null || accent2Color === void 0 ? void 0 : accent2Color.dark) ? accent2Color === null || accent2Color === void 0 ? void 0 : accent2Color.dark : (accent2Color === null || accent2Color === void 0 ? void 0 : accent2Color.main) ? styles_1.darken(accent2Color === null || accent2Color === void 0 ? void 0 : accent2Color.main, 0.1)
773
- : null }),
774
- tertiary: tslib_1.__assign(tslib_1.__assign({}, tertiaryColor), { dark: (tertiaryColor === null || tertiaryColor === void 0 ? void 0 : tertiaryColor.dark) ? tertiaryColor === null || tertiaryColor === void 0 ? void 0 : tertiaryColor.dark : (tertiaryColor === null || tertiaryColor === void 0 ? void 0 : tertiaryColor.main) ? styles_1.darken(tertiaryColor === null || tertiaryColor === void 0 ? void 0 : tertiaryColor.main, 0.1)
775
- : null }),
776
- grey: {
777
- '10': ((_129 = (_128 = params.palette) === null || _128 === void 0 ? void 0 : _128.grey) === null || _129 === void 0 ? void 0 : _129[10]) || ((_131 = (_130 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _130 === void 0 ? void 0 : _130.grey) === null || _131 === void 0 ? void 0 : _131[10]),
778
- '20': grey20,
779
- '30': grey30,
780
- '40': ((_133 = (_132 = params.palette) === null || _132 === void 0 ? void 0 : _132.grey) === null || _133 === void 0 ? void 0 : _133[40]) || ((_135 = (_134 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _134 === void 0 ? void 0 : _134.grey) === null || _135 === void 0 ? void 0 : _135[40]),
781
- '50': grey50,
782
- '70': grey70,
783
- '100': ((_137 = (_136 = params.palette) === null || _136 === void 0 ? void 0 : _136.grey) === null || _137 === void 0 ? void 0 : _137[100]) || ((_139 = (_138 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _138 === void 0 ? void 0 : _138.grey) === null || _139 === void 0 ? void 0 : _139[100]),
784
- '200': ((_141 = (_140 = params.palette) === null || _140 === void 0 ? void 0 : _140.grey) === null || _141 === void 0 ? void 0 : _141[200]) || ((_143 = (_142 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _142 === void 0 ? void 0 : _142.grey) === null || _143 === void 0 ? void 0 : _143[200]),
785
- '300': ((_145 = (_144 = params.palette) === null || _144 === void 0 ? void 0 : _144.grey) === null || _145 === void 0 ? void 0 : _145[300]) || ((_147 = (_146 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _146 === void 0 ? void 0 : _146.grey) === null || _147 === void 0 ? void 0 : _147[300]),
786
- '400': ((_149 = (_148 = params.palette) === null || _148 === void 0 ? void 0 : _148.grey) === null || _149 === void 0 ? void 0 : _149[400]) || ((_151 = (_150 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _150 === void 0 ? void 0 : _150.grey) === null || _151 === void 0 ? void 0 : _151[400]),
787
- '500': ((_153 = (_152 = params.palette) === null || _152 === void 0 ? void 0 : _152.grey) === null || _153 === void 0 ? void 0 : _153[500]) || ((_155 = (_154 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _154 === void 0 ? void 0 : _154.grey) === null || _155 === void 0 ? void 0 : _155[500]),
788
- '600': ((_157 = (_156 = params.palette) === null || _156 === void 0 ? void 0 : _156.grey) === null || _157 === void 0 ? void 0 : _157[600]) || ((_159 = (_158 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _158 === void 0 ? void 0 : _158.grey) === null || _159 === void 0 ? void 0 : _159[600]),
789
- '700': ((_161 = (_160 = params.palette) === null || _160 === void 0 ? void 0 : _160.grey) === null || _161 === void 0 ? void 0 : _161[700]) || ((_163 = (_162 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _162 === void 0 ? void 0 : _162.grey) === null || _163 === void 0 ? void 0 : _163[700]),
790
- '800': ((_165 = (_164 = params.palette) === null || _164 === void 0 ? void 0 : _164.grey) === null || _165 === void 0 ? void 0 : _165[800]) || ((_167 = (_166 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _166 === void 0 ? void 0 : _166.grey) === null || _167 === void 0 ? void 0 : _167[800]),
791
- '900': ((_169 = (_168 = params.palette) === null || _168 === void 0 ? void 0 : _168.grey) === null || _169 === void 0 ? void 0 : _169[900]) || ((_171 = (_170 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _170 === void 0 ? void 0 : _170.grey) === null || _171 === void 0 ? void 0 : _171[900]),
792
- A100: ((_173 = (_172 = params.palette) === null || _172 === void 0 ? void 0 : _172.grey) === null || _173 === void 0 ? void 0 : _173.A100) || ((_175 = (_174 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _174 === void 0 ? void 0 : _174.grey) === null || _175 === void 0 ? void 0 : _175.A100),
793
- A200: ((_177 = (_176 = params.palette) === null || _176 === void 0 ? void 0 : _176.grey) === null || _177 === void 0 ? void 0 : _177.A200) || ((_179 = (_178 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _178 === void 0 ? void 0 : _178.grey) === null || _179 === void 0 ? void 0 : _179.A200),
794
- A400: ((_181 = (_180 = params.palette) === null || _180 === void 0 ? void 0 : _180.grey) === null || _181 === void 0 ? void 0 : _181.A400) || ((_183 = (_182 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _182 === void 0 ? void 0 : _182.grey) === null || _183 === void 0 ? void 0 : _183.A400),
795
- A700: ((_185 = (_184 = params.palette) === null || _184 === void 0 ? void 0 : _184.grey) === null || _185 === void 0 ? void 0 : _185.A700) || ((_187 = (_186 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _186 === void 0 ? void 0 : _186.grey) === null || _187 === void 0 ? void 0 : _187.A700)
796
- },
797
- action: {
798
- hover: actionHoverColor,
799
- selected: ((_189 = (_188 = params.palette) === null || _188 === void 0 ? void 0 : _188.action) === null || _189 === void 0 ? void 0 : _189.selected) || ((_191 = (_190 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _190 === void 0 ? void 0 : _190.action) === null || _191 === void 0 ? void 0 : _191.selected),
800
- disabled: ((_193 = (_192 = params.palette) === null || _192 === void 0 ? void 0 : _192.action) === null || _193 === void 0 ? void 0 : _193.disabled) || ((_195 = (_194 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _194 === void 0 ? void 0 : _194.action) === null || _195 === void 0 ? void 0 : _195.disabled),
801
- active: ((_197 = (_196 = params.palette) === null || _196 === void 0 ? void 0 : _196.action) === null || _197 === void 0 ? void 0 : _197.active) || ((_199 = (_198 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _198 === void 0 ? void 0 : _198.action) === null || _199 === void 0 ? void 0 : _199.active),
802
- focus: ((_201 = (_200 = params.palette) === null || _200 === void 0 ? void 0 : _200.action) === null || _201 === void 0 ? void 0 : _201.focus) || ((_203 = (_202 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _202 === void 0 ? void 0 : _202.action) === null || _203 === void 0 ? void 0 : _203.focus)
803
- },
804
- background: ((_204 = params.palette) === null || _204 === void 0 ? void 0 : _204.background) || ((_205 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _205 === void 0 ? void 0 : _205.background),
805
- text: tslib_1.__assign({}, textPalette),
806
- divider: dividerColor
807
- },
808
- overrides: overrides,
809
- shape: {
810
- borderRadius: borderRadius
811
- },
812
- // DEFAULT PROPS
813
- props: tslib_1.__assign({ MuiInputLabel: {
814
- shrink: true
815
- }, MuiButtonGroup: tslib_1.__assign({ disableRipple: disableRipple }, (_206 = params.muiProps) === null || _206 === void 0 ? void 0 : _206.MuiButtonGroup), MuiButton: {
816
- disableElevation: true
817
- }, MuiSwitch: {
818
- color: 'primary'
819
- }, MuiButtonBase: {
820
- disableRipple: disableRipple
821
- }, MuiRadio: tslib_1.__assign({ disableRipple: disableRipple }, (_207 = params.muiProps) === null || _207 === void 0 ? void 0 : _207.MuiRadio), MuiIconButton: tslib_1.__assign({ disableRipple: disableRipple }, (_208 = params.muiProps) === null || _208 === void 0 ? void 0 : _208.MuiIconButton), MuiList: tslib_1.__assign({ disablePadding: true }, (_209 = params.muiProps) === null || _209 === void 0 ? void 0 : _209.MuiList), MuiTooltip: tslib_1.__assign({ arrow: true }, (_210 = params.muiProps) === null || _210 === void 0 ? void 0 : _210.MuiTooltip), MuiFilledInput: {
822
- disableUnderline: true
823
- }, MuiTextField: {
824
- variant: 'filled',
825
- InputLabelProps: {
826
- shrink: true
827
- }
828
- }, MuiSelect: {
829
- MenuProps: {
830
- anchorOrigin: {
831
- vertical: 'bottom',
832
- horizontal: 'left'
833
- },
834
- getContentAnchorEl: null,
835
- style: {
836
- marginTop: 4
837
- }
838
- }
839
- }, MuiAppBar: {
840
- color: 'primary'
841
- } }, params.muiProps),
842
- spacing: params.spacing || DefaultEpilotTheme_1.DefaultEpilotTheme.spacing,
843
- breakpoints: tslib_1.__assign({}, params === null || params === void 0 ? void 0 : params.breakpoints)
844
- };
845
- }
846
- exports.parseMuiTheme = parseMuiTheme;
847
- //# sourceMappingURL=mapping.js.map