@etsoo/materialui 1.5.2 → 1.5.3

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 (422) hide show
  1. package/lib/cjs/AddresSelector.d.ts +1 -1
  2. package/lib/cjs/AddresSelector.js +4 -3
  3. package/lib/cjs/AuditDisplay.d.ts +1 -1
  4. package/lib/cjs/AuditDisplay.js +8 -5
  5. package/lib/cjs/AutocompleteExtendedProps.d.ts +1 -1
  6. package/lib/cjs/BackButton.d.ts +1 -1
  7. package/lib/cjs/BackButton.js +4 -3
  8. package/lib/cjs/BridgeCloseButton.d.ts +2 -1
  9. package/lib/cjs/BridgeCloseButton.js +3 -2
  10. package/lib/cjs/ButtonLink.d.ts +1 -1
  11. package/lib/cjs/ButtonLink.js +7 -4
  12. package/lib/cjs/ButtonPopover.d.ts +1 -1
  13. package/lib/cjs/ButtonPopover.js +2 -2
  14. package/lib/cjs/ComboBox.js +6 -4
  15. package/lib/cjs/ComboBoxMultiple.js +4 -3
  16. package/lib/cjs/ComboBoxPro.d.ts +1 -1
  17. package/lib/cjs/ComboBoxPro.js +2 -2
  18. package/lib/cjs/CountdownButton.d.ts +1 -1
  19. package/lib/cjs/CountdownButton.js +4 -3
  20. package/lib/cjs/DataGridEx.js +15 -11
  21. package/lib/cjs/DataGridRenderers.js +2 -2
  22. package/lib/cjs/DataSteps.d.ts +1 -1
  23. package/lib/cjs/DataSteps.js +9 -6
  24. package/lib/cjs/DataTable.d.ts +1 -1
  25. package/lib/cjs/DataTable.js +2 -2
  26. package/lib/cjs/DialogButton.d.ts +2 -1
  27. package/lib/cjs/DialogButton.js +9 -3
  28. package/lib/cjs/DnDList.d.ts +2 -2
  29. package/lib/cjs/DnDList.js +4 -3
  30. package/lib/cjs/DraggablePaperComponent.d.ts +1 -1
  31. package/lib/cjs/DraggablePaperComponent.js +2 -2
  32. package/lib/cjs/EmailInput.d.ts +1 -1
  33. package/lib/cjs/EmailInput.js +7 -6
  34. package/lib/cjs/ErrorAlert.d.ts +1 -1
  35. package/lib/cjs/ErrorAlert.js +5 -2
  36. package/lib/cjs/FabBox.d.ts +2 -1
  37. package/lib/cjs/FabBox.js +6 -4
  38. package/lib/cjs/FieldSetEx.d.ts +1 -1
  39. package/lib/cjs/FieldSetEx.js +5 -3
  40. package/lib/cjs/FileUploadButton.d.ts +1 -1
  41. package/lib/cjs/FileUploadButton.js +5 -2
  42. package/lib/cjs/FlexBox.d.ts +1 -1
  43. package/lib/cjs/FlexBox.js +7 -4
  44. package/lib/cjs/HiSelector.d.ts +2 -1
  45. package/lib/cjs/HiSelector.js +3 -2
  46. package/lib/cjs/HiSelectorTL.d.ts +2 -1
  47. package/lib/cjs/HiSelectorTL.js +3 -2
  48. package/lib/cjs/IconButtonLink.d.ts +1 -1
  49. package/lib/cjs/IconButtonLink.js +5 -2
  50. package/lib/cjs/InputField.d.ts +4 -4
  51. package/lib/cjs/InputField.js +2 -2
  52. package/lib/cjs/InputTipField.js +8 -5
  53. package/lib/cjs/IntInputField.d.ts +1 -1
  54. package/lib/cjs/IntInputField.js +8 -6
  55. package/lib/cjs/ItemList.js +10 -4
  56. package/lib/cjs/LineChart.js +2 -2
  57. package/lib/cjs/ListChooser.d.ts +2 -1
  58. package/lib/cjs/ListChooser.js +8 -4
  59. package/lib/cjs/ListItemRightIcon.d.ts +1 -1
  60. package/lib/cjs/ListItemRightIcon.js +6 -2
  61. package/lib/cjs/ListMoreDisplay.d.ts +1 -1
  62. package/lib/cjs/ListMoreDisplay.js +7 -3
  63. package/lib/cjs/LoadingButton.d.ts +2 -1
  64. package/lib/cjs/LoadingButton.js +4 -3
  65. package/lib/cjs/MUGlobal.d.ts +2 -1
  66. package/lib/cjs/MaskInput.d.ts +1 -1
  67. package/lib/cjs/MaskInput.js +2 -2
  68. package/lib/cjs/MenuButton.d.ts +2 -1
  69. package/lib/cjs/MenuButton.js +5 -3
  70. package/lib/cjs/MobileListItemRenderer.js +14 -5
  71. package/lib/cjs/MoreFab.d.ts +2 -1
  72. package/lib/cjs/MoreFab.js +10 -4
  73. package/lib/cjs/NotifierMU.js +45 -22
  74. package/lib/cjs/NotifierPopupProps.d.ts +1 -1
  75. package/lib/cjs/NumberInputField.js +15 -13
  76. package/lib/cjs/OptionGroup.d.ts +1 -1
  77. package/lib/cjs/OptionGroup.js +15 -7
  78. package/lib/cjs/OptionGroupFlag.d.ts +1 -1
  79. package/lib/cjs/OptionGroupFlag.js +12 -6
  80. package/lib/cjs/PercentCircularProgress.d.ts +2 -1
  81. package/lib/cjs/PercentCircularProgress.js +8 -3
  82. package/lib/cjs/PercentLinearProgress.d.ts +2 -1
  83. package/lib/cjs/PercentLinearProgress.js +7 -2
  84. package/lib/cjs/ProgressCount.js +7 -4
  85. package/lib/cjs/QuickList.d.ts +3 -1
  86. package/lib/cjs/QuickList.js +6 -2
  87. package/lib/cjs/ResponsibleContainer.d.ts +1 -1
  88. package/lib/cjs/ResponsibleContainer.js +8 -6
  89. package/lib/cjs/ResponsiveStyleValue.d.ts +1 -1
  90. package/lib/cjs/ScrollTopFab.js +5 -3
  91. package/lib/cjs/ScrollerListEx.js +2 -2
  92. package/lib/cjs/SearchBar.js +9 -5
  93. package/lib/cjs/SearchField.d.ts +1 -1
  94. package/lib/cjs/SearchField.js +2 -2
  95. package/lib/cjs/SelectEx.d.ts +1 -1
  96. package/lib/cjs/SelectEx.js +18 -9
  97. package/lib/cjs/ShowDataComparison.js +9 -2
  98. package/lib/cjs/Switch.d.ts +1 -1
  99. package/lib/cjs/Switch.js +2 -2
  100. package/lib/cjs/SwitchAnt.js +5 -4
  101. package/lib/cjs/SwitchField.d.ts +1 -1
  102. package/lib/cjs/SwitchField.js +6 -3
  103. package/lib/cjs/TabBox.d.ts +3 -1
  104. package/lib/cjs/TabBox.js +5 -3
  105. package/lib/cjs/TableEx.d.ts +1 -1
  106. package/lib/cjs/TableEx.js +20 -10
  107. package/lib/cjs/TagList.d.ts +1 -1
  108. package/lib/cjs/TagList.js +5 -3
  109. package/lib/cjs/TagListPro.d.ts +1 -1
  110. package/lib/cjs/TagListPro.js +5 -3
  111. package/lib/cjs/TextFieldEx.d.ts +4 -4
  112. package/lib/cjs/TextFieldEx.js +7 -4
  113. package/lib/cjs/Tiplist.js +2 -2
  114. package/lib/cjs/TiplistPro.d.ts +1 -1
  115. package/lib/cjs/TiplistPro.js +2 -2
  116. package/lib/cjs/TooltipClick.d.ts +1 -1
  117. package/lib/cjs/TooltipClick.js +3 -2
  118. package/lib/cjs/TwoFieldInput.js +4 -3
  119. package/lib/cjs/UserAvatar.js +5 -2
  120. package/lib/cjs/UserAvatarEditor.js +8 -3
  121. package/lib/cjs/ViewContainer.d.ts +5 -4
  122. package/lib/cjs/ViewContainer.js +4 -3
  123. package/lib/cjs/custom/CustomFieldUtils.d.ts +1 -1
  124. package/lib/cjs/custom/CustomFieldUtils.js +5 -4
  125. package/lib/cjs/custom/CustomFieldViewer.d.ts +3 -2
  126. package/lib/cjs/custom/CustomFieldViewer.js +7 -3
  127. package/lib/cjs/custom/CustomFieldWindow.d.ts +2 -2
  128. package/lib/cjs/custom/CustomFieldWindow.js +3 -2
  129. package/lib/cjs/custom/FieldAmountLabel.js +3 -2
  130. package/lib/cjs/custom/FieldCheckbox.js +2 -2
  131. package/lib/cjs/custom/FieldCombobox.js +2 -2
  132. package/lib/cjs/custom/FieldDateInput.js +2 -2
  133. package/lib/cjs/custom/FieldDivider.js +2 -2
  134. package/lib/cjs/custom/FieldInput.js +2 -2
  135. package/lib/cjs/custom/FieldJson.js +2 -2
  136. package/lib/cjs/custom/FieldNumberInput.js +2 -2
  137. package/lib/cjs/custom/FieldRadio.js +2 -2
  138. package/lib/cjs/custom/FieldSelect.js +2 -2
  139. package/lib/cjs/custom/FieldSwitch.js +2 -2
  140. package/lib/cjs/custom/FieldTexarea.js +2 -2
  141. package/lib/cjs/pages/CommonPage.d.ts +2 -1
  142. package/lib/cjs/pages/CommonPage.js +6 -4
  143. package/lib/cjs/pages/DataGridPage.js +3 -2
  144. package/lib/cjs/pages/DrawerHeader.d.ts +1 -1
  145. package/lib/cjs/pages/DrawerHeader.js +2 -2
  146. package/lib/cjs/pages/EditPage.js +4 -3
  147. package/lib/cjs/pages/FixedListPage.js +4 -3
  148. package/lib/cjs/pages/LeftDrawer.js +8 -3
  149. package/lib/cjs/pages/ListPage.js +3 -2
  150. package/lib/cjs/pages/TablePage.js +3 -2
  151. package/lib/cjs/pages/UserMenu.js +3 -2
  152. package/lib/cjs/pages/ViewPage.js +4 -3
  153. package/lib/cjs/texts/DateText.d.ts +1 -1
  154. package/lib/cjs/texts/DateText.js +5 -2
  155. package/lib/cjs/texts/MoneyText.js +5 -2
  156. package/lib/cjs/texts/NumberText.d.ts +1 -1
  157. package/lib/cjs/texts/NumberText.js +5 -2
  158. package/lib/cjs/useCurrentBreakpoint.d.ts +1 -1
  159. package/lib/cjs/useCurrentBreakpoint.js +11 -7
  160. package/lib/mjs/AddresSelector.d.ts +1 -1
  161. package/lib/mjs/AddresSelector.js +4 -3
  162. package/lib/mjs/AuditDisplay.d.ts +1 -1
  163. package/lib/mjs/AuditDisplay.js +4 -1
  164. package/lib/mjs/AutocompleteExtendedProps.d.ts +1 -1
  165. package/lib/mjs/BackButton.d.ts +1 -1
  166. package/lib/mjs/BackButton.js +2 -1
  167. package/lib/mjs/BridgeCloseButton.d.ts +2 -1
  168. package/lib/mjs/BridgeCloseButton.js +2 -1
  169. package/lib/mjs/ButtonLink.d.ts +1 -1
  170. package/lib/mjs/ButtonLink.js +2 -2
  171. package/lib/mjs/ButtonPopover.d.ts +1 -1
  172. package/lib/mjs/ButtonPopover.js +1 -1
  173. package/lib/mjs/ComboBox.js +4 -2
  174. package/lib/mjs/ComboBoxMultiple.js +2 -1
  175. package/lib/mjs/ComboBoxPro.d.ts +1 -1
  176. package/lib/mjs/ComboBoxPro.js +1 -1
  177. package/lib/mjs/CountdownButton.d.ts +1 -1
  178. package/lib/mjs/CountdownButton.js +2 -1
  179. package/lib/mjs/DataGridEx.js +5 -1
  180. package/lib/mjs/DataGridRenderers.js +1 -1
  181. package/lib/mjs/DataSteps.d.ts +1 -1
  182. package/lib/mjs/DataSteps.js +4 -1
  183. package/lib/mjs/DataTable.d.ts +1 -1
  184. package/lib/mjs/DataTable.js +1 -1
  185. package/lib/mjs/DialogButton.d.ts +2 -1
  186. package/lib/mjs/DialogButton.js +7 -1
  187. package/lib/mjs/DnDList.d.ts +2 -2
  188. package/lib/mjs/DnDList.js +2 -1
  189. package/lib/mjs/DraggablePaperComponent.d.ts +1 -1
  190. package/lib/mjs/DraggablePaperComponent.js +1 -1
  191. package/lib/mjs/EmailInput.d.ts +1 -1
  192. package/lib/mjs/EmailInput.js +4 -6
  193. package/lib/mjs/ErrorAlert.d.ts +1 -1
  194. package/lib/mjs/ErrorAlert.js +1 -1
  195. package/lib/mjs/FabBox.d.ts +2 -1
  196. package/lib/mjs/FabBox.js +3 -1
  197. package/lib/mjs/FieldSetEx.d.ts +1 -1
  198. package/lib/mjs/FieldSetEx.js +3 -1
  199. package/lib/mjs/FileUploadButton.d.ts +1 -1
  200. package/lib/mjs/FileUploadButton.js +1 -1
  201. package/lib/mjs/FlexBox.d.ts +1 -1
  202. package/lib/mjs/FlexBox.js +1 -1
  203. package/lib/mjs/HiSelector.d.ts +2 -1
  204. package/lib/mjs/HiSelector.js +3 -2
  205. package/lib/mjs/HiSelectorTL.d.ts +2 -1
  206. package/lib/mjs/HiSelectorTL.js +3 -2
  207. package/lib/mjs/IconButtonLink.d.ts +1 -1
  208. package/lib/mjs/IconButtonLink.js +1 -1
  209. package/lib/mjs/InputField.d.ts +1 -1
  210. package/lib/mjs/InputField.js +1 -1
  211. package/lib/mjs/InputTipField.js +4 -1
  212. package/lib/mjs/IntInputField.d.ts +1 -1
  213. package/lib/mjs/IntInputField.js +3 -1
  214. package/lib/mjs/ItemList.js +7 -1
  215. package/lib/mjs/LineChart.js +1 -1
  216. package/lib/mjs/ListChooser.d.ts +2 -1
  217. package/lib/mjs/ListChooser.js +6 -2
  218. package/lib/mjs/ListItemRightIcon.d.ts +1 -1
  219. package/lib/mjs/ListItemRightIcon.js +2 -1
  220. package/lib/mjs/ListMoreDisplay.d.ts +1 -1
  221. package/lib/mjs/ListMoreDisplay.js +5 -1
  222. package/lib/mjs/LoadingButton.d.ts +2 -1
  223. package/lib/mjs/LoadingButton.js +2 -1
  224. package/lib/mjs/MUGlobal.d.ts +2 -1
  225. package/lib/mjs/MaskInput.d.ts +1 -1
  226. package/lib/mjs/MaskInput.js +1 -1
  227. package/lib/mjs/MenuButton.d.ts +2 -1
  228. package/lib/mjs/MenuButton.js +3 -1
  229. package/lib/mjs/MobileListItemRenderer.js +8 -2
  230. package/lib/mjs/MoreFab.d.ts +2 -1
  231. package/lib/mjs/MoreFab.js +7 -1
  232. package/lib/mjs/NotifierMU.js +32 -9
  233. package/lib/mjs/NotifierPopupProps.d.ts +1 -1
  234. package/lib/mjs/NumberInputField.js +15 -13
  235. package/lib/mjs/OptionGroup.d.ts +1 -1
  236. package/lib/mjs/OptionGroup.js +9 -1
  237. package/lib/mjs/OptionGroupFlag.d.ts +1 -1
  238. package/lib/mjs/OptionGroupFlag.js +7 -1
  239. package/lib/mjs/PercentCircularProgress.d.ts +2 -1
  240. package/lib/mjs/PercentCircularProgress.js +3 -1
  241. package/lib/mjs/PercentLinearProgress.d.ts +2 -1
  242. package/lib/mjs/PercentLinearProgress.js +3 -1
  243. package/lib/mjs/ProgressCount.js +4 -1
  244. package/lib/mjs/QuickList.d.ts +3 -1
  245. package/lib/mjs/QuickList.js +5 -1
  246. package/lib/mjs/ResponsibleContainer.d.ts +1 -1
  247. package/lib/mjs/ResponsibleContainer.js +3 -1
  248. package/lib/mjs/ResponsiveStyleValue.d.ts +1 -1
  249. package/lib/mjs/ScrollTopFab.js +3 -1
  250. package/lib/mjs/ScrollerListEx.js +1 -1
  251. package/lib/mjs/SearchBar.js +5 -1
  252. package/lib/mjs/SearchField.d.ts +1 -1
  253. package/lib/mjs/SearchField.js +1 -1
  254. package/lib/mjs/SelectEx.d.ts +1 -1
  255. package/lib/mjs/SelectEx.js +11 -2
  256. package/lib/mjs/ShowDataComparison.js +5 -1
  257. package/lib/mjs/Switch.d.ts +1 -1
  258. package/lib/mjs/Switch.js +1 -1
  259. package/lib/mjs/SwitchAnt.js +3 -2
  260. package/lib/mjs/SwitchField.d.ts +1 -1
  261. package/lib/mjs/SwitchField.js +4 -1
  262. package/lib/mjs/TabBox.d.ts +3 -1
  263. package/lib/mjs/TabBox.js +3 -1
  264. package/lib/mjs/TableEx.d.ts +1 -1
  265. package/lib/mjs/TableEx.js +11 -1
  266. package/lib/mjs/TagList.d.ts +1 -1
  267. package/lib/mjs/TagList.js +3 -1
  268. package/lib/mjs/TagListPro.d.ts +1 -1
  269. package/lib/mjs/TagListPro.js +3 -1
  270. package/lib/mjs/TextFieldEx.d.ts +1 -1
  271. package/lib/mjs/TextFieldEx.js +6 -3
  272. package/lib/mjs/Tiplist.js +1 -1
  273. package/lib/mjs/TiplistPro.d.ts +1 -1
  274. package/lib/mjs/TiplistPro.js +1 -1
  275. package/lib/mjs/TooltipClick.d.ts +1 -1
  276. package/lib/mjs/TooltipClick.js +2 -1
  277. package/lib/mjs/TwoFieldInput.js +2 -1
  278. package/lib/mjs/UserAvatar.js +1 -1
  279. package/lib/mjs/UserAvatarEditor.js +6 -1
  280. package/lib/mjs/ViewContainer.d.ts +5 -4
  281. package/lib/mjs/ViewContainer.js +4 -3
  282. package/lib/mjs/custom/CustomFieldUtils.d.ts +1 -1
  283. package/lib/mjs/custom/CustomFieldUtils.js +4 -3
  284. package/lib/mjs/custom/CustomFieldViewer.d.ts +3 -2
  285. package/lib/mjs/custom/CustomFieldViewer.js +4 -3
  286. package/lib/mjs/custom/CustomFieldWindow.d.ts +2 -2
  287. package/lib/mjs/custom/CustomFieldWindow.js +3 -2
  288. package/lib/mjs/custom/FieldAmountLabel.js +2 -1
  289. package/lib/mjs/custom/FieldCheckbox.js +1 -1
  290. package/lib/mjs/custom/FieldCombobox.js +1 -1
  291. package/lib/mjs/custom/FieldDateInput.js +1 -1
  292. package/lib/mjs/custom/FieldDivider.js +1 -1
  293. package/lib/mjs/custom/FieldInput.js +1 -1
  294. package/lib/mjs/custom/FieldJson.js +1 -1
  295. package/lib/mjs/custom/FieldNumberInput.js +1 -1
  296. package/lib/mjs/custom/FieldRadio.js +1 -1
  297. package/lib/mjs/custom/FieldSelect.js +1 -1
  298. package/lib/mjs/custom/FieldSwitch.js +1 -1
  299. package/lib/mjs/custom/FieldTexarea.js +1 -1
  300. package/lib/mjs/pages/CommonPage.d.ts +2 -1
  301. package/lib/mjs/pages/CommonPage.js +3 -1
  302. package/lib/mjs/pages/DataGridPage.js +2 -1
  303. package/lib/mjs/pages/DrawerHeader.js +1 -1
  304. package/lib/mjs/pages/EditPage.js +3 -2
  305. package/lib/mjs/pages/FixedListPage.js +2 -1
  306. package/lib/mjs/pages/LeftDrawer.js +6 -1
  307. package/lib/mjs/pages/ListPage.js +2 -1
  308. package/lib/mjs/pages/TablePage.js +2 -1
  309. package/lib/mjs/pages/UserMenu.js +2 -1
  310. package/lib/mjs/pages/ViewPage.js +2 -1
  311. package/lib/mjs/texts/DateText.d.ts +1 -1
  312. package/lib/mjs/texts/DateText.js +1 -1
  313. package/lib/mjs/texts/MoneyText.js +1 -1
  314. package/lib/mjs/texts/NumberText.d.ts +1 -1
  315. package/lib/mjs/texts/NumberText.js +1 -1
  316. package/lib/mjs/useCurrentBreakpoint.d.ts +1 -1
  317. package/lib/mjs/useCurrentBreakpoint.js +2 -1
  318. package/package.json +9 -9
  319. package/src/AddresSelector.tsx +12 -11
  320. package/src/AuditDisplay.tsx +4 -1
  321. package/src/AutocompleteExtendedProps.ts +1 -1
  322. package/src/BackButton.tsx +2 -1
  323. package/src/BridgeCloseButton.tsx +2 -1
  324. package/src/ButtonLink.tsx +3 -3
  325. package/src/ButtonPopover.tsx +1 -1
  326. package/src/ComboBox.tsx +6 -7
  327. package/src/ComboBoxMultiple.tsx +4 -6
  328. package/src/ComboBoxPro.tsx +1 -1
  329. package/src/CountdownButton.tsx +2 -1
  330. package/src/CultureDataTable.tsx +1 -1
  331. package/src/DataGridEx.tsx +5 -8
  332. package/src/DataGridRenderers.tsx +1 -1
  333. package/src/DataSteps.tsx +4 -7
  334. package/src/DataTable.tsx +4 -7
  335. package/src/DialogButton.tsx +8 -11
  336. package/src/DnDList.tsx +9 -10
  337. package/src/DraggablePaperComponent.tsx +1 -1
  338. package/src/EmailInput.tsx +4 -8
  339. package/src/ErrorAlert.tsx +1 -1
  340. package/src/FabBox.tsx +3 -1
  341. package/src/FieldSetEx.tsx +3 -6
  342. package/src/FileUploadButton.tsx +1 -1
  343. package/src/FlexBox.tsx +1 -1
  344. package/src/HiSelector.tsx +13 -11
  345. package/src/HiSelectorTL.tsx +16 -17
  346. package/src/IconButtonLink.tsx +1 -2
  347. package/src/InputField.tsx +1 -1
  348. package/src/InputTipField.tsx +4 -1
  349. package/src/IntInputField.tsx +3 -1
  350. package/src/ItemList.tsx +7 -9
  351. package/src/LineChart.tsx +1 -1
  352. package/src/ListChooser.tsx +8 -10
  353. package/src/ListItemRightIcon.tsx +2 -1
  354. package/src/ListMoreDisplay.tsx +5 -8
  355. package/src/LoadingButton.tsx +3 -5
  356. package/src/MUGlobal.ts +2 -1
  357. package/src/MaskInput.tsx +1 -1
  358. package/src/MenuButton.tsx +3 -1
  359. package/src/MobileListItemRenderer.tsx +8 -3
  360. package/src/MoreFab.tsx +9 -11
  361. package/src/NotifierMU.tsx +34 -34
  362. package/src/NotifierPopupProps.ts +1 -1
  363. package/src/NumberInputField.tsx +21 -20
  364. package/src/OptionGroup.tsx +9 -12
  365. package/src/OptionGroupFlag.tsx +7 -10
  366. package/src/PercentCircularProgress.tsx +5 -8
  367. package/src/PercentLinearProgress.tsx +5 -8
  368. package/src/ProgressCount.tsx +4 -6
  369. package/src/QuickList.tsx +8 -10
  370. package/src/ResponsibleContainer.tsx +4 -1
  371. package/src/ResponsiveStyleValue.ts +1 -1
  372. package/src/ScrollTopFab.tsx +3 -1
  373. package/src/ScrollerListEx.tsx +1 -1
  374. package/src/SearchBar.tsx +5 -8
  375. package/src/SearchField.tsx +1 -1
  376. package/src/SearchOptionGroup.tsx +0 -1
  377. package/src/SelectEx.tsx +11 -15
  378. package/src/ShowDataComparison.tsx +5 -7
  379. package/src/Switch.tsx +3 -1
  380. package/src/SwitchAnt.tsx +3 -2
  381. package/src/SwitchField.tsx +4 -7
  382. package/src/TabBox.tsx +3 -1
  383. package/src/TableEx.tsx +11 -15
  384. package/src/TagList.tsx +3 -1
  385. package/src/TagListPro.tsx +3 -1
  386. package/src/TextFieldEx.tsx +7 -9
  387. package/src/Tiplist.tsx +3 -1
  388. package/src/TiplistPro.tsx +1 -1
  389. package/src/TooltipClick.tsx +2 -1
  390. package/src/TwoFieldInput.tsx +2 -1
  391. package/src/UserAvatar.tsx +1 -1
  392. package/src/UserAvatarEditor.tsx +6 -8
  393. package/src/ViewContainer.tsx +16 -14
  394. package/src/custom/CustomFieldUtils.tsx +6 -6
  395. package/src/custom/CustomFieldViewer.tsx +7 -6
  396. package/src/custom/CustomFieldWindow.tsx +5 -4
  397. package/src/custom/FieldAmountLabel.tsx +2 -1
  398. package/src/custom/FieldCheckbox.tsx +1 -1
  399. package/src/custom/FieldCombobox.tsx +1 -1
  400. package/src/custom/FieldDateInput.tsx +1 -1
  401. package/src/custom/FieldDivider.tsx +1 -1
  402. package/src/custom/FieldInput.tsx +1 -1
  403. package/src/custom/FieldJson.tsx +1 -1
  404. package/src/custom/FieldNumberInput.tsx +1 -1
  405. package/src/custom/FieldRadio.tsx +1 -1
  406. package/src/custom/FieldSelect.tsx +1 -1
  407. package/src/custom/FieldSwitch.tsx +1 -1
  408. package/src/custom/FieldTexarea.tsx +1 -1
  409. package/src/pages/CommonPage.tsx +3 -1
  410. package/src/pages/DataGridPage.tsx +2 -1
  411. package/src/pages/DrawerHeader.tsx +1 -1
  412. package/src/pages/EditPage.tsx +6 -10
  413. package/src/pages/FixedListPage.tsx +2 -1
  414. package/src/pages/LeftDrawer.tsx +6 -8
  415. package/src/pages/ListPage.tsx +2 -1
  416. package/src/pages/TablePage.tsx +2 -1
  417. package/src/pages/UserMenu.tsx +2 -1
  418. package/src/pages/ViewPage.tsx +2 -1
  419. package/src/texts/DateText.tsx +1 -2
  420. package/src/texts/MoneyText.tsx +1 -2
  421. package/src/texts/NumberText.tsx +1 -2
  422. package/src/useCurrentBreakpoint.ts +2 -1
@@ -1,8 +1,8 @@
1
1
  import { AddressCity, AddressDistrict, AddressRegionDb, AddressState, IApiPayload } from "@etsoo/appscript";
2
- import { GridSize } from "@mui/material";
3
2
  import React from "react";
4
3
  import { ResponsiveStyleValue } from "./ResponsiveStyleValue";
5
4
  import { RegionsRQ } from "./RegionsRQ";
5
+ import { GridSize } from "@mui/material/Grid";
6
6
  /**
7
7
  * Address field
8
8
  */
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.AddressField = void 0;
7
7
  exports.AddressSelector = AddressSelector;
8
8
  const jsx_runtime_1 = require("react/jsx-runtime");
9
- const material_1 = require("@mui/material");
10
9
  const react_1 = __importDefault(require("react"));
11
10
  const ComboBox_1 = require("./ComboBox");
12
11
  const Tiplist_1 = require("./Tiplist");
13
12
  const ReactApp_1 = require("./app/ReactApp");
13
+ const Grid_1 = __importDefault(require("@mui/material/Grid"));
14
+ const FormLabel_1 = __importDefault(require("@mui/material/FormLabel"));
14
15
  /**
15
16
  * Address field
16
17
  */
@@ -132,12 +133,12 @@ function AddressSelector(props) {
132
133
  }
133
134
  };
134
135
  // Layout
135
- return ((0, jsx_runtime_1.jsxs)(react_1.default.Fragment, { children: [label && ((0, jsx_runtime_1.jsx)(material_1.Grid2, { size: { xs: 12 }, children: (0, jsx_runtime_1.jsx)(material_1.FormLabel, { required: required, sx: { fontSize: (theme) => theme.typography.caption }, children: label }) })), !hideRegion && ((0, jsx_runtime_1.jsx)(material_1.Grid2, { size: breakPoints, children: (0, jsx_runtime_1.jsx)(Tiplist_1.Tiplist, { label: regionLabel, name: AddressField.Region, search: search, fullWidth: true, idValue: regionState, loadData: (keyword, id, items) => api.regions({
136
+ return ((0, jsx_runtime_1.jsxs)(react_1.default.Fragment, { children: [label && ((0, jsx_runtime_1.jsx)(Grid_1.default, { size: { xs: 12 }, children: (0, jsx_runtime_1.jsx)(FormLabel_1.default, { required: required, sx: { fontSize: (theme) => theme.typography.caption }, children: label }) })), !hideRegion && ((0, jsx_runtime_1.jsx)(Grid_1.default, { size: breakPoints, children: (0, jsx_runtime_1.jsx)(Tiplist_1.Tiplist, { label: regionLabel, name: AddressField.Region, search: search, fullWidth: true, idValue: regionState, loadData: (keyword, id, items) => api.regions({
136
137
  keyword,
137
138
  id,
138
139
  items,
139
140
  favoredIds: favoredIds == null
140
141
  ? undefined
141
142
  : favoredIds(AddressField.Region)
142
- }), inputRequired: required, inputError: error, inputHelperText: helperText, onChange: (_event, value) => handleChange([AddressField.Region, value]) }) })), (0, jsx_runtime_1.jsx)(material_1.Grid2, { size: breakPoints, children: (0, jsx_runtime_1.jsx)(ComboBox_1.ComboBox, { name: AddressField.State, label: stateLabel, search: search, fullWidth: true, idValue: stateState, options: states, inputRequired: required, inputError: hideRegion ? error : undefined, inputHelperText: hideRegion ? helperText : undefined, onChange: (_event, value) => handleChange([AddressField.State, value]) }) }), (0, jsx_runtime_1.jsx)(material_1.Grid2, { size: breakPoints, children: (0, jsx_runtime_1.jsx)(ComboBox_1.ComboBox, { name: AddressField.City, label: cityLabel, search: search, fullWidth: true, idValue: cityState, options: cities, onChange: (_event, value) => handleChange([AddressField.City, value]) }) }), (0, jsx_runtime_1.jsx)(material_1.Grid2, { size: breakPoints, children: (0, jsx_runtime_1.jsx)(ComboBox_1.ComboBox, { name: AddressField.District, label: districtLabel, search: search, fullWidth: true, idValue: districtState, options: districts, onChange: (_event, value) => handleChange([AddressField.District, value]) }) })] }));
143
+ }), inputRequired: required, inputError: error, inputHelperText: helperText, onChange: (_event, value) => handleChange([AddressField.Region, value]) }) })), (0, jsx_runtime_1.jsx)(Grid_1.default, { size: breakPoints, children: (0, jsx_runtime_1.jsx)(ComboBox_1.ComboBox, { name: AddressField.State, label: stateLabel, search: search, fullWidth: true, idValue: stateState, options: states, inputRequired: required, inputError: hideRegion ? error : undefined, inputHelperText: hideRegion ? helperText : undefined, onChange: (_event, value) => handleChange([AddressField.State, value]) }) }), (0, jsx_runtime_1.jsx)(Grid_1.default, { size: breakPoints, children: (0, jsx_runtime_1.jsx)(ComboBox_1.ComboBox, { name: AddressField.City, label: cityLabel, search: search, fullWidth: true, idValue: cityState, options: cities, onChange: (_event, value) => handleChange([AddressField.City, value]) }) }), (0, jsx_runtime_1.jsx)(Grid_1.default, { size: breakPoints, children: (0, jsx_runtime_1.jsx)(ComboBox_1.ComboBox, { name: AddressField.District, label: districtLabel, search: search, fullWidth: true, idValue: districtState, options: districts, onChange: (_event, value) => handleChange([AddressField.District, value]) }) })] }));
143
144
  }
@@ -1,7 +1,7 @@
1
- import { Theme } from "@mui/material";
2
1
  import React, { CSSProperties } from "react";
3
2
  import { ListMoreDisplayProps } from "./ListMoreDisplay";
4
3
  import { AuditLineDto } from "@etsoo/appscript";
4
+ import { Theme } from "@mui/material/styles";
5
5
  /**
6
6
  * Audit display props
7
7
  */
@@ -6,11 +6,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.AuditDisplay = AuditDisplay;
7
7
  const jsx_runtime_1 = require("react/jsx-runtime");
8
8
  const shared_1 = require("@etsoo/shared");
9
- const material_1 = require("@mui/material");
10
9
  const react_1 = __importDefault(require("react"));
11
10
  const ListMoreDisplay_1 = require("./ListMoreDisplay");
12
11
  const ShowDataComparison_1 = require("./ShowDataComparison");
13
12
  const ReactApp_1 = require("./app/ReactApp");
13
+ const styles_1 = require("@mui/material/styles");
14
+ const Button_1 = __importDefault(require("@mui/material/Button"));
15
+ const Typography_1 = __importDefault(require("@mui/material/Typography"));
16
+ const Divider_1 = __importDefault(require("@mui/material/Divider"));
14
17
  /**
15
18
  * Audit display
16
19
  * @param props Props
@@ -18,7 +21,7 @@ const ReactApp_1 = require("./app/ReactApp");
18
21
  */
19
22
  function AuditDisplay(props) {
20
23
  // Theme
21
- const theme = (0, material_1.useTheme)();
24
+ const theme = (0, styles_1.useTheme)();
22
25
  // Global app
23
26
  const app = (0, ReactApp_1.useAppContext)();
24
27
  // Get label
@@ -37,16 +40,16 @@ function AuditDisplay(props) {
37
40
  background: index % 2 === 0 ? theme.palette.grey[100] : theme.palette.grey[50]
38
41
  }), getColumnLabel, equalCheck, itemRenderer = (data) => {
39
42
  const { newData, oldData, changes = { newData: newData ?? {}, oldData: oldData ?? {} } } = data;
40
- return ((0, jsx_runtime_1.jsxs)(react_1.default.Fragment, { children: [changes != null && ((0, jsx_runtime_1.jsx)(material_1.Button, { variant: "outlined", size: "small", onClick: () => (0, ShowDataComparison_1.ShowDataComparison)(changes, title, getColumnLabel, equalCheck), sx: {
43
+ return ((0, jsx_runtime_1.jsxs)(react_1.default.Fragment, { children: [changes != null && ((0, jsx_runtime_1.jsx)(Button_1.default, { variant: "outlined", size: "small", onClick: () => (0, ShowDataComparison_1.ShowDataComparison)(changes, title, getColumnLabel, equalCheck), sx: {
41
44
  marginLeft: theme.spacing(1),
42
45
  marginTop: theme.spacing(-0.5),
43
46
  float: "right"
44
- }, children: title })), (0, jsx_runtime_1.jsx)(material_1.Typography, { children: formatDate(data.creation) +
47
+ }, children: title })), (0, jsx_runtime_1.jsx)(Typography_1.default, { children: formatDate(data.creation) +
45
48
  ", [" +
46
49
  getLabel(data.action) +
47
50
  "], " +
48
51
  data.user })] }));
49
- }, headerTitle = ((0, jsx_runtime_1.jsxs)(react_1.default.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { children: getLabel("audits") }), (0, jsx_runtime_1.jsx)(material_1.Divider, {})] })), ...rest } = props;
52
+ }, headerTitle = ((0, jsx_runtime_1.jsxs)(react_1.default.Fragment, { children: [(0, jsx_runtime_1.jsx)(Typography_1.default, { children: getLabel("audits") }), (0, jsx_runtime_1.jsx)(Divider_1.default, {})] })), ...rest } = props;
50
53
  // Layout
51
54
  return ((0, jsx_runtime_1.jsx)(ListMoreDisplay_1.ListMoreDisplay, { headerTitle: headerTitle, ...rest, children: (data, index) => ((0, jsx_runtime_1.jsx)("div", { style: getItemStyle(index, theme), children: itemRenderer(data, index) }, data.id)) }));
52
55
  }
@@ -1,5 +1,5 @@
1
1
  import { DataTypes } from "@etsoo/shared";
2
- import { AutocompleteProps } from "@mui/material";
2
+ import { AutocompleteProps } from "@mui/material/Autocomplete";
3
3
  import { ChangeEventHandler } from "react";
4
4
  /**
5
5
  * Autocomplete extended props
@@ -1,4 +1,4 @@
1
- import { IconButtonProps } from "@mui/material";
1
+ import { IconButtonProps } from "@mui/material/IconButton";
2
2
  /**
3
3
  * BackButton props
4
4
  */
@@ -5,8 +5,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.BackButton = BackButton;
7
7
  const jsx_runtime_1 = require("react/jsx-runtime");
8
- const material_1 = require("@mui/material");
9
8
  const ArrowBack_1 = __importDefault(require("@mui/icons-material/ArrowBack"));
9
+ const IconButton_1 = __importDefault(require("@mui/material/IconButton"));
10
+ const styles_1 = require("@mui/material/styles");
10
11
  const react_router_1 = require("react-router");
11
12
  /**
12
13
  * BackButton
@@ -17,7 +18,7 @@ function BackButton(props) {
17
18
  // Destruct
18
19
  const { color = "primary", size = "small", onClick, ...rest } = props;
19
20
  // Theme
20
- const theme = (0, material_1.useTheme)();
21
+ const theme = (0, styles_1.useTheme)();
21
22
  // Navigate
22
23
  const navigate = (0, react_router_1.useNavigate)();
23
24
  // Color
@@ -31,7 +32,7 @@ function BackButton(props) {
31
32
  // Navigate
32
33
  navigate(-1);
33
34
  };
34
- return ((0, jsx_runtime_1.jsx)(material_1.IconButton, { "aria-label": "Back", color: color, size: size, onClick: onClickLocal, sx: {
35
+ return ((0, jsx_runtime_1.jsx)(IconButton_1.default, { "aria-label": "Back", color: color, size: size, onClick: onClickLocal, sx: {
35
36
  backgroundColor: pColor.contrastText,
36
37
  border: `1px solid ${pColor.light}`
37
38
  }, ...rest, children: (0, jsx_runtime_1.jsx)(ArrowBack_1.default, {}) }));
@@ -1,5 +1,6 @@
1
1
  import { IBridgeHost } from "@etsoo/appscript";
2
- import { BoxProps, IconButtonProps } from "@mui/material";
2
+ import { IconButtonProps } from "@mui/material/IconButton";
3
+ import { BoxProps } from "@mui/material/Box";
3
4
  /**
4
5
  * Bridge close button props
5
6
  */
@@ -7,9 +7,10 @@ exports.BridgeCloseButton = BridgeCloseButton;
7
7
  const jsx_runtime_1 = require("react/jsx-runtime");
8
8
  const appscript_1 = require("@etsoo/appscript");
9
9
  const Close_1 = __importDefault(require("@mui/icons-material/Close"));
10
- const material_1 = require("@mui/material");
11
10
  const react_1 = __importDefault(require("react"));
12
11
  const ReactApp_1 = require("./app/ReactApp");
12
+ const IconButton_1 = __importDefault(require("@mui/material/IconButton"));
13
+ const Box_1 = __importDefault(require("@mui/material/Box"));
13
14
  /**
14
15
  * Bridge close button
15
16
  * @param props Props
@@ -33,5 +34,5 @@ function BridgeCloseButton(props) {
33
34
  onClick(event);
34
35
  host.exit();
35
36
  };
36
- return ((0, jsx_runtime_1.jsx)(material_1.Box, { ...boxProps, children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { "aria-label": "close", onClick: onClickLocal, title: title, ...rest, children: (0, jsx_runtime_1.jsx)(Close_1.default, {}) }) }));
37
+ return ((0, jsx_runtime_1.jsx)(Box_1.default, { ...boxProps, children: (0, jsx_runtime_1.jsx)(IconButton_1.default, { "aria-label": "close", onClick: onClickLocal, title: title, ...rest, children: (0, jsx_runtime_1.jsx)(Close_1.default, {}) }) }));
37
38
  }
@@ -1,4 +1,4 @@
1
- import { ButtonProps } from "@mui/material";
1
+ import { ButtonProps } from "@mui/material/Button";
2
2
  /**
3
3
  * ButtonLink props
4
4
  */
@@ -1,9 +1,12 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.ButtonLink = ButtonLink;
4
7
  const jsx_runtime_1 = require("react/jsx-runtime");
5
- const material_1 = require("@mui/material");
6
- const react_router_1 = require("react-router");
8
+ const Button_1 = __importDefault(require("@mui/material/Button"));
9
+ const react_router_dom_1 = require("react-router-dom");
7
10
  /**
8
11
  * ButtonLink
9
12
  * @param props Props
@@ -13,10 +16,10 @@ function ButtonLink(props) {
13
16
  // Destruct
14
17
  const { href, state, ...rest } = props;
15
18
  // Navigate
16
- const navigate = (0, react_router_1.useNavigate)();
19
+ const navigate = (0, react_router_dom_1.useNavigate)();
17
20
  const onClick = href.includes("://")
18
21
  ? () => window.open(href, "_blank")
19
22
  : () => navigate(href, { state });
20
23
  // Layout
21
- return (0, jsx_runtime_1.jsx)(material_1.Button, { ...rest, onClick: onClick });
24
+ return (0, jsx_runtime_1.jsx)(Button_1.default, { ...rest, onClick: onClick });
22
25
  }
@@ -1,4 +1,4 @@
1
- import { PopoverOrigin } from "@mui/material";
1
+ import { PopoverOrigin } from "@mui/material/Popover";
2
2
  import React from "react";
3
3
  /**
4
4
  * Button popover props
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ButtonPopover = ButtonPopover;
7
7
  const jsx_runtime_1 = require("react/jsx-runtime");
8
- const material_1 = require("@mui/material");
8
+ const Popover_1 = __importDefault(require("@mui/material/Popover"));
9
9
  const react_1 = __importDefault(require("react"));
10
10
  /**
11
11
  * Button popover component
@@ -39,7 +39,7 @@ function ButtonPopover(props) {
39
39
  };
40
40
  const styles = position === "left" ? { left: 14 } : { right: 14 };
41
41
  // Layout
42
- return ((0, jsx_runtime_1.jsxs)(react_1.default.Fragment, { children: [button((handler) => setAnchorEl(handler)), (0, jsx_runtime_1.jsx)(material_1.Popover, { anchorEl: anchorEl, open: open, onClose: handleClose, onClick: handleClose, transformOrigin: { horizontal: position, vertical: "top" }, anchorOrigin: { horizontal: position, vertical: "bottom" }, slotProps: {
42
+ return ((0, jsx_runtime_1.jsxs)(react_1.default.Fragment, { children: [button((handler) => setAnchorEl(handler)), (0, jsx_runtime_1.jsx)(Popover_1.default, { anchorEl: anchorEl, open: open, onClose: handleClose, onClick: handleClose, transformOrigin: { horizontal: position, vertical: "top" }, anchorOrigin: { horizontal: position, vertical: "bottom" }, slotProps: {
43
43
  paper: {
44
44
  elevation: 0,
45
45
  sx: {
@@ -6,14 +6,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ComboBox = ComboBox;
7
7
  const jsx_runtime_1 = require("react/jsx-runtime");
8
8
  const shared_1 = require("@etsoo/shared");
9
- const material_1 = require("@mui/material");
10
9
  const react_1 = __importDefault(require("react"));
11
10
  const shared_2 = require("@etsoo/shared");
12
11
  const react_2 = require("@etsoo/react");
13
- const Add_1 = __importDefault(require("@mui/icons-material/Add"));
14
12
  const SearchField_1 = require("./SearchField");
15
13
  const InputField_1 = require("./InputField");
16
14
  const ReactApp_1 = require("./app/ReactApp");
15
+ const Autocomplete_1 = __importDefault(require("@mui/material/Autocomplete"));
16
+ const Stack_1 = __importDefault(require("@mui/material/Stack"));
17
+ const IconButton_1 = __importDefault(require("@mui/material/IconButton"));
18
+ const Add_1 = __importDefault(require("@mui/icons-material/Add"));
17
19
  /**
18
20
  * ComboBox
19
21
  * @param props Props
@@ -122,7 +124,7 @@ function ComboBox(props) {
122
124
  };
123
125
  }, []);
124
126
  // Layout
125
- return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("input", { ref: inputRef, "data-reset": inputReset ?? true, type: "text", style: { display: "none" }, name: name, value: getValue(stateValue), readOnly: true, onChange: inputOnChange }), (0, jsx_runtime_1.jsxs)(material_1.Stack, { gap: 0.5, direction: "row", width: "100%", children: [(0, jsx_runtime_1.jsx)(material_1.Autocomplete, { value: stateValue, disableCloseOnSelect: disableCloseOnSelect, getOptionLabel: getOptionLabel, isOptionEqualToValue: (option, value) => option[idField] === value[idField], onChange: (event, value, reason, details) => {
127
+ return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("input", { ref: inputRef, "data-reset": inputReset ?? true, type: "text", style: { display: "none" }, name: name, value: getValue(stateValue), readOnly: true, onChange: inputOnChange }), (0, jsx_runtime_1.jsxs)(Stack_1.default, { gap: 0.5, direction: "row", width: "100%", children: [(0, jsx_runtime_1.jsx)(Autocomplete_1.default, { value: stateValue, disableCloseOnSelect: disableCloseOnSelect, getOptionLabel: getOptionLabel, isOptionEqualToValue: (option, value) => option[idField] === value[idField], onChange: (event, value, reason, details) => {
126
128
  // Set value
127
129
  setInputValue(value);
128
130
  // Custom
@@ -130,7 +132,7 @@ function ComboBox(props) {
130
132
  onChange(event, value, reason, details);
131
133
  if (onValueChange)
132
134
  onValueChange(value);
133
- }, openOnFocus: openOnFocus, sx: sx, renderInput: (params) => search ? ((0, jsx_runtime_1.jsx)(SearchField_1.SearchField, { ...addReadOnly(params), label: label, name: name + "Input", margin: inputMargin, variant: inputVariant, required: inputRequired, error: inputError, helperText: inputHelperText })) : ((0, jsx_runtime_1.jsx)(InputField_1.InputField, { ...addReadOnly(params), label: label, name: name + "Input", margin: inputMargin, variant: inputVariant, required: inputRequired, error: inputError, helperText: inputHelperText })), options: localOptions, noOptionsText: noOptionsText, loadingText: loadingText, openText: openText, getOptionKey: getOptionKey, ...rest }), onAdd && ((0, jsx_runtime_1.jsx)(material_1.IconButton, { size: "small", onClick: () => {
135
+ }, openOnFocus: openOnFocus, sx: sx, renderInput: (params) => search ? ((0, jsx_runtime_1.jsx)(SearchField_1.SearchField, { ...addReadOnly(params), label: label, name: name + "Input", margin: inputMargin, variant: inputVariant, required: inputRequired, error: inputError, helperText: inputHelperText })) : ((0, jsx_runtime_1.jsx)(InputField_1.InputField, { ...addReadOnly(params), label: label, name: name + "Input", margin: inputMargin, variant: inputVariant, required: inputRequired, error: inputError, helperText: inputHelperText })), options: localOptions, noOptionsText: noOptionsText, loadingText: loadingText, openText: openText, getOptionKey: getOptionKey, ...rest }), onAdd && ((0, jsx_runtime_1.jsx)(IconButton_1.default, { size: "small", onClick: () => {
134
136
  onAdd(doLoadData);
135
137
  }, title: addLabel, children: (0, jsx_runtime_1.jsx)(Add_1.default, {}) }))] })] }));
136
138
  }
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ComboBoxMultiple = ComboBoxMultiple;
7
7
  const jsx_runtime_1 = require("react/jsx-runtime");
8
8
  const shared_1 = require("@etsoo/shared");
9
- const material_1 = require("@mui/material");
10
9
  const react_1 = __importDefault(require("react"));
11
10
  const shared_2 = require("@etsoo/shared");
12
11
  const react_2 = require("@etsoo/react");
@@ -15,6 +14,8 @@ const CheckBox_1 = __importDefault(require("@mui/icons-material/CheckBox"));
15
14
  const SearchField_1 = require("./SearchField");
16
15
  const InputField_1 = require("./InputField");
17
16
  const ReactApp_1 = require("./app/ReactApp");
17
+ const Checkbox_1 = __importDefault(require("@mui/material/Checkbox"));
18
+ const Autocomplete_1 = __importDefault(require("@mui/material/Autocomplete"));
18
19
  const icon = (0, jsx_runtime_1.jsx)(CheckBoxOutlineBlank_1.default, { fontSize: "small" });
19
20
  const checkedIcon = (0, jsx_runtime_1.jsx)(CheckBox_1.default, { fontSize: "small" });
20
21
  /**
@@ -28,7 +29,7 @@ function ComboBoxMultiple(props) {
28
29
  // Labels
29
30
  const labels = app?.getLabels("noOptions", "loading");
30
31
  // Destruct
31
- const { search = false, autoAddBlankItem = search, idField = "id", idValue, idValues, inputError, inputHelperText, inputMargin, inputOnChange, inputRequired, inputReset, inputVariant, defaultValue, label, labelField = "label", loadData, onLoadData, name, inputAutoComplete = "off", options, dataReadonly = true, readOnly, onChange, openOnFocus = true, value, disableCloseOnSelect = true, renderOption = (props, option, { selected }) => ((0, jsx_runtime_1.jsxs)("li", { ...props, children: [(0, jsx_runtime_1.jsx)(material_1.Checkbox, { icon: icon, checkedIcon: checkedIcon, style: { marginRight: 8 }, checked: selected }), `${option[labelField]}`] })), getOptionLabel = (option) => `${option[labelField]}`, sx = { minWidth: "150px" }, noOptionsText = labels?.noOptions, loadingText = labels?.loading, ...rest } = props;
32
+ const { search = false, autoAddBlankItem = search, idField = "id", idValue, idValues, inputError, inputHelperText, inputMargin, inputOnChange, inputRequired, inputReset, inputVariant, defaultValue, label, labelField = "label", loadData, onLoadData, name, inputAutoComplete = "off", options, dataReadonly = true, readOnly, onChange, openOnFocus = true, value, disableCloseOnSelect = true, renderOption = (props, option, { selected }) => ((0, jsx_runtime_1.jsxs)("li", { ...props, children: [(0, jsx_runtime_1.jsx)(Checkbox_1.default, { icon: icon, checkedIcon: checkedIcon, style: { marginRight: 8 }, checked: selected }), `${option[labelField]}`] })), getOptionLabel = (option) => `${option[labelField]}`, sx = { minWidth: "150px" }, noOptionsText = labels?.noOptions, loadingText = labels?.loading, ...rest } = props;
32
33
  // Value input ref
33
34
  const inputRef = react_1.default.createRef();
34
35
  // Options state
@@ -120,7 +121,7 @@ function ComboBoxMultiple(props) {
120
121
  };
121
122
  }, []);
122
123
  // Layout
123
- return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("input", { ref: inputRef, "data-reset": inputReset ?? true, type: "text", style: { display: "none" }, name: name, value: getValue(stateValue), readOnly: true, onChange: inputOnChange }), (0, jsx_runtime_1.jsx)(material_1.Autocomplete, { value: stateValue == null
124
+ return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("input", { ref: inputRef, "data-reset": inputReset ?? true, type: "text", style: { display: "none" }, name: name, value: getValue(stateValue), readOnly: true, onChange: inputOnChange }), (0, jsx_runtime_1.jsx)(Autocomplete_1.default, { value: stateValue == null
124
125
  ? []
125
126
  : Array.isArray(stateValue)
126
127
  ? stateValue
@@ -1,6 +1,6 @@
1
- import { AutocompleteProps } from "@mui/material";
2
1
  import { InputFieldProps } from "./InputField";
3
2
  import { ListType2 } from "@etsoo/shared";
3
+ import { AutocompleteProps } from "@mui/material/Autocomplete";
4
4
  export type ComboBoxProProps<D extends ListType2 = ListType2> = Omit<AutocompleteProps<D, false, false, true>, "open" | "multiple" | "options" | "renderInput"> & {
5
5
  /**
6
6
  * Label
@@ -5,11 +5,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ComboBoxPro = ComboBoxPro;
7
7
  const jsx_runtime_1 = require("react/jsx-runtime");
8
- const material_1 = require("@mui/material");
9
8
  const react_1 = __importDefault(require("react"));
10
9
  const InputField_1 = require("./InputField");
11
10
  const shared_1 = require("@etsoo/shared");
12
11
  const ReactApp_1 = require("./app/ReactApp");
12
+ const Autocomplete_1 = __importDefault(require("@mui/material/Autocomplete"));
13
13
  function ComboBoxPro(props) {
14
14
  // Global app
15
15
  const app = (0, ReactApp_1.useAppContext)();
@@ -51,7 +51,7 @@ function ComboBoxPro(props) {
51
51
  setOptions(options);
52
52
  }
53
53
  }, [options]);
54
- return ((0, jsx_runtime_1.jsx)(material_1.Autocomplete, { id: name, value: localValue == null ? "" : localValue, open: open, freeSolo: true, clearOnBlur: false, onOpen: () => {
54
+ return ((0, jsx_runtime_1.jsx)(Autocomplete_1.default, { id: name, value: localValue == null ? "" : localValue, open: open, freeSolo: true, clearOnBlur: false, onOpen: () => {
55
55
  setOpen(true);
56
56
  }, onClose: () => {
57
57
  setOpen(false);
@@ -1,4 +1,4 @@
1
- import { ButtonProps } from "@mui/material";
1
+ import { ButtonProps } from "@mui/material/Button";
2
2
  import React from "react";
3
3
  /**
4
4
  * Countdown button action
@@ -5,7 +5,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.CountdownButton = void 0;
7
7
  const jsx_runtime_1 = require("react/jsx-runtime");
8
- const material_1 = require("@mui/material");
8
+ const Button_1 = __importDefault(require("@mui/material/Button"));
9
+ const CircularProgress_1 = __importDefault(require("@mui/material/CircularProgress"));
9
10
  const react_1 = __importDefault(require("react"));
10
11
  /**
11
12
  * Countdown button
@@ -58,7 +59,7 @@ exports.CountdownButton = react_1.default.forwardRef((props, ref) => {
58
59
  endIcon = undefined;
59
60
  }
60
61
  else if (state === 1) {
61
- endIcon = (0, jsx_runtime_1.jsx)(material_1.CircularProgress, { size: 12 });
62
+ endIcon = (0, jsx_runtime_1.jsx)(CircularProgress_1.default, { size: 12 });
62
63
  }
63
64
  else {
64
65
  const countdown = (state - ignoreSeconds)
@@ -87,5 +88,5 @@ exports.CountdownButton = react_1.default.forwardRef((props, ref) => {
87
88
  react_1.default.useEffect(() => {
88
89
  setState(initState);
89
90
  }, [initState]);
90
- return ((0, jsx_runtime_1.jsx)(material_1.Button, { disabled: disabled, endIcon: endIcon, onClick: localClick, ref: ref, ...rest }));
91
+ return ((0, jsx_runtime_1.jsx)(Button_1.default, { disabled: disabled, endIcon: endIcon, onClick: localClick, ref: ref, ...rest }));
91
92
  });
@@ -9,9 +9,13 @@ const jsx_runtime_1 = require("react/jsx-runtime");
9
9
  const css_1 = require("@emotion/css");
10
10
  const react_1 = require("@etsoo/react");
11
11
  const shared_1 = require("@etsoo/shared");
12
- const material_1 = require("@mui/material");
13
12
  const react_2 = __importDefault(require("react"));
14
13
  const DataGridRenderers_1 = require("./DataGridRenderers");
14
+ const styles_1 = require("@mui/material/styles");
15
+ const Box_1 = __importDefault(require("@mui/material/Box"));
16
+ const TableSortLabel_1 = __importDefault(require("@mui/material/TableSortLabel"));
17
+ const Checkbox_1 = __importDefault(require("@mui/material/Checkbox"));
18
+ const Paper_1 = __importDefault(require("@mui/material/Paper"));
15
19
  // Borders
16
20
  const boldBorder = "2px solid rgba(224, 224, 224, 1)";
17
21
  const thinBorder = "1px solid rgba(224, 224, 224, 1)";
@@ -77,10 +81,10 @@ function DataGridExCalColumns(columns) {
77
81
  */
78
82
  function DataGridEx(props) {
79
83
  // Theme
80
- const theme = (0, material_1.useTheme)();
84
+ const theme = (0, styles_1.useTheme)();
81
85
  const defaultHeaderRenderer = (states) => {
82
86
  const { orderBy } = states.queryPaging;
83
- return ((0, jsx_runtime_1.jsx)(material_1.Box, { className: "DataGridEx-Header", display: "flex", alignItems: "center", borderBottom: boldBorder, fontWeight: 500, minWidth: widthCalculator.total, height: headerHeight, children: columns.map((column, index) => {
87
+ return ((0, jsx_runtime_1.jsx)(Box_1.default, { className: "DataGridEx-Header", display: "flex", alignItems: "center", borderBottom: boldBorder, fontWeight: 500, minWidth: widthCalculator.total, height: headerHeight, children: columns.map((column, index) => {
84
88
  // Destruct
85
89
  const { align, field, header, headerCellRenderer, sortable, sortAsc = true, type } = column;
86
90
  // Header text
@@ -99,7 +103,7 @@ function DataGridEx(props) {
99
103
  }
100
104
  else if (sortable && field != null) {
101
105
  const active = orderBy?.some((o) => o.field.toUpperCase() === field.toUpperCase());
102
- sortLabel = ((0, jsx_runtime_1.jsx)(material_1.TableSortLabel, { active: active, direction: sortAsc ? "asc" : "desc", onClick: (_event) => {
106
+ sortLabel = ((0, jsx_runtime_1.jsx)(TableSortLabel_1.default, { active: active, direction: sortAsc ? "asc" : "desc", onClick: (_event) => {
103
107
  if (active)
104
108
  column.sortAsc = !sortAsc;
105
109
  handleSort(field, column.sortAsc);
@@ -108,11 +112,11 @@ function DataGridEx(props) {
108
112
  else {
109
113
  sortLabel = headerText;
110
114
  }
111
- return ((0, jsx_runtime_1.jsx)(material_1.Box, { textAlign: (0, react_1.GridAlignGet)(align, type), width: columnWidth(index), children: (0, jsx_runtime_1.jsx)(material_1.Box, { className: "DataGridEx-Cell", onMouseEnter: handleMouseEnter, ...cellProps, children: sortLabel }) }, field ?? index.toString()));
115
+ return ((0, jsx_runtime_1.jsx)(Box_1.default, { textAlign: (0, react_1.GridAlignGet)(align, type), width: columnWidth(index), children: (0, jsx_runtime_1.jsx)(Box_1.default, { className: "DataGridEx-Cell", onMouseEnter: handleMouseEnter, ...cellProps, children: sortLabel }) }, field ?? index.toString()));
112
116
  }) }));
113
117
  };
114
118
  function defaultFooterRenderer(rows, states) {
115
- return ((0, jsx_runtime_1.jsx)(material_1.Box, { className: "DataGridEx-Footer", display: "flex", alignItems: "center", borderTop: thinBorder, marginTop: "1px", minWidth: widthCalculator.total, height: bottomHeight - 1, children: columns.map((column, index) => {
119
+ return ((0, jsx_runtime_1.jsx)(Box_1.default, { className: "DataGridEx-Footer", display: "flex", alignItems: "center", borderTop: thinBorder, marginTop: "1px", minWidth: widthCalculator.total, height: bottomHeight - 1, children: columns.map((column, index) => {
116
120
  // Destruct
117
121
  const { align, field, type } = column;
118
122
  // Cell props
@@ -127,7 +131,7 @@ function DataGridEx(props) {
127
131
  checkable
128
132
  })
129
133
  : undefined;
130
- return ((0, jsx_runtime_1.jsx)(material_1.Box, { textAlign: (0, react_1.GridAlignGet)(align, type), width: columnWidth(index), children: (0, jsx_runtime_1.jsx)(material_1.Box, { className: "DataGridEx-Cell", onMouseEnter: handleMouseEnter, ...cellProps, children: cell }) }, "bottom-" + (field ?? index.toString())));
134
+ return ((0, jsx_runtime_1.jsx)(Box_1.default, { textAlign: (0, react_1.GridAlignGet)(align, type), width: columnWidth(index), children: (0, jsx_runtime_1.jsx)(Box_1.default, { className: "DataGridEx-Cell", onMouseEnter: handleMouseEnter, ...cellProps, children: cell }) }, "bottom-" + (field ?? index.toString())));
131
135
  }) }));
132
136
  }
133
137
  // Destruct
@@ -142,7 +146,7 @@ function DataGridEx(props) {
142
146
  cellProps.sx = {
143
147
  padding: "4px!important"
144
148
  };
145
- return ((0, jsx_runtime_1.jsx)(material_1.Checkbox, { color: "primary", checked: selected, onChange: (_event, checked) => {
149
+ return ((0, jsx_runtime_1.jsx)(Checkbox_1.default, { color: "primary", checked: selected, onChange: (_event, checked) => {
146
150
  refs.current.ref?.selectItem(data, checked);
147
151
  } }));
148
152
  },
@@ -152,7 +156,7 @@ function DataGridEx(props) {
152
156
  cellProps.sx = {
153
157
  padding: `${hpad}px 4px ${hpad - 1}px 4px!important`
154
158
  };
155
- return ((0, jsx_runtime_1.jsx)(material_1.Checkbox, { color: "primary", indeterminate: states.selectedItems.length > 0 &&
159
+ return ((0, jsx_runtime_1.jsx)(Checkbox_1.default, { color: "primary", indeterminate: states.selectedItems.length > 0 &&
156
160
  states.selectedItems.length < states.loadedItems, checked: states.selectedItems.length > 0, onChange: (_event, checked) => refs.current.ref?.selectAll(checked) }));
157
161
  }
158
162
  };
@@ -271,7 +275,7 @@ function DataGridEx(props) {
271
275
  renderProps: typeof renderProps === "function" ? renderProps(data) : renderProps,
272
276
  setItems
273
277
  });
274
- return ((0, jsx_runtime_1.jsx)("div", { className: rowClass, style: style, "data-row": rowIndex, "data-column": columnIndex, onMouseDown: selectable && !checkable ? handleMouseDown : undefined, onMouseOver: selectable ? handleMouseOver : undefined, onMouseOut: selectable ? handleMouseOut : undefined, onClick: (event) => onClick && data != null && onClick(event, data), onDoubleClick: (event) => onDoubleClick && data != null && onDoubleClick(event, data), children: (0, jsx_runtime_1.jsx)(material_1.Box, { ...cellProps, onMouseEnter: handleMouseEnter, children: child }) }));
278
+ return ((0, jsx_runtime_1.jsx)("div", { className: rowClass, style: style, "data-row": rowIndex, "data-column": columnIndex, onMouseDown: selectable && !checkable ? handleMouseDown : undefined, onMouseOver: selectable ? handleMouseOver : undefined, onMouseOut: selectable ? handleMouseOut : undefined, onClick: (event) => onClick && data != null && onClick(event, data), onDoubleClick: (event) => onDoubleClick && data != null && onDoubleClick(event, data), children: (0, jsx_runtime_1.jsx)(Box_1.default, { ...cellProps, onMouseEnter: handleMouseEnter, children: child }) }));
275
279
  };
276
280
  // Column width calculator
277
281
  const widthCalculator = react_2.default.useMemo(() => DataGridExCalColumns(columns), [columns]);
@@ -297,7 +301,7 @@ function DataGridEx(props) {
297
301
  (hideFooter ? 0 : bottomHeight + 1) -
298
302
  scrollbarSize, headerRenderer: headerRenderer, idField: idField, itemRenderer: itemRenderer, footerRenderer: hideFooter ? undefined : footerRenderer, width: Math.max(width ?? 0, widthCalculator.total), mRef: mRefLocal, ...rest }));
299
303
  }, [width]);
300
- return ((0, jsx_runtime_1.jsx)(material_1.Paper, { sx: {
304
+ return ((0, jsx_runtime_1.jsx)(Paper_1.default, { sx: {
301
305
  fontSize: "0.875rem",
302
306
  height,
303
307
  "& .DataGridEx-Cell": {
@@ -5,12 +5,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.DataGridRenderers = void 0;
7
7
  const jsx_runtime_1 = require("react/jsx-runtime");
8
- const material_1 = require("@mui/material");
9
8
  const shared_1 = require("@etsoo/shared");
10
9
  const Check_1 = __importDefault(require("@mui/icons-material/Check"));
11
10
  const Clear_1 = __importDefault(require("@mui/icons-material/Clear"));
12
11
  const DateText_1 = require("./texts/DateText");
13
12
  const react_1 = require("@etsoo/react");
13
+ const CircularProgress_1 = __importDefault(require("@mui/material/CircularProgress"));
14
14
  /**
15
15
  * Data grid renderers
16
16
  */
@@ -26,7 +26,7 @@ var DataGridRenderers;
26
26
  if (data == null) {
27
27
  // First column, show loading indicator
28
28
  if (columnIndex === 0)
29
- return (0, jsx_runtime_1.jsx)(material_1.CircularProgress, { size: 15 });
29
+ return (0, jsx_runtime_1.jsx)(CircularProgress_1.default, { size: 15 });
30
30
  // Others return undefined
31
31
  return undefined;
32
32
  }
@@ -1,5 +1,5 @@
1
- import { TextFieldProps } from "@mui/material";
2
1
  import { InputDialogProps } from "@etsoo/react";
2
+ import { TextFieldProps } from "@mui/material/TextField";
3
3
  /**
4
4
  * Data step
5
5
  */
@@ -5,7 +5,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.DataSteps = DataSteps;
7
7
  const jsx_runtime_1 = require("react/jsx-runtime");
8
- const material_1 = require("@mui/material");
9
8
  const Close_1 = __importDefault(require("@mui/icons-material/Close"));
10
9
  const NavigateNext_1 = __importDefault(require("@mui/icons-material/NavigateNext"));
11
10
  const NavigateBefore_1 = __importDefault(require("@mui/icons-material/NavigateBefore"));
@@ -15,6 +14,10 @@ const react_1 = __importDefault(require("react"));
15
14
  const FlexBox_1 = require("./FlexBox");
16
15
  const MUGlobal_1 = require("./MUGlobal");
17
16
  const ReactApp_1 = require("./app/ReactApp");
17
+ const Button_1 = __importDefault(require("@mui/material/Button"));
18
+ const TextField_1 = __importDefault(require("@mui/material/TextField"));
19
+ const InputAdornment_1 = __importDefault(require("@mui/material/InputAdornment"));
20
+ const IconButton_1 = __importDefault(require("@mui/material/IconButton"));
18
21
  /**
19
22
  * Data collecting steps component
20
23
  * @param props Props
@@ -44,15 +47,15 @@ function DataSteps(props) {
44
47
  const [{ callback, ...rest }, more] = steps(index, jsonRef.current);
45
48
  app.showInputDialog({
46
49
  ...rest,
47
- buttons: (n, callback) => ((0, jsx_runtime_1.jsxs)(FlexBox_1.HBox, { paddingLeft: 2, paddingRight: 2, paddingBottom: 2, gap: 2, justifyContent: "space-between", children: [index === 0 ? ((0, jsx_runtime_1.jsx)(material_1.Button, { variant: "outlined", startIcon: (0, jsx_runtime_1.jsx)(Close_1.default, {}), onClick: () => n.dismiss(), children: labels.close })) : ((0, jsx_runtime_1.jsx)(material_1.Button, { variant: "outlined", startIcon: (0, jsx_runtime_1.jsx)(NavigateBefore_1.default, {}), onClick: () => {
50
+ buttons: (n, callback) => ((0, jsx_runtime_1.jsxs)(FlexBox_1.HBox, { paddingLeft: 2, paddingRight: 2, paddingBottom: 2, gap: 2, justifyContent: "space-between", children: [index === 0 ? ((0, jsx_runtime_1.jsx)(Button_1.default, { variant: "outlined", startIcon: (0, jsx_runtime_1.jsx)(Close_1.default, {}), onClick: () => n.dismiss(), children: labels.close })) : ((0, jsx_runtime_1.jsx)(Button_1.default, { variant: "outlined", startIcon: (0, jsx_runtime_1.jsx)(NavigateBefore_1.default, {}), onClick: () => {
48
51
  n.dismiss();
49
52
  showStep(indexRef.current - 1);
50
- }, children: labels.previousStep })), more ? ((0, jsx_runtime_1.jsx)(material_1.Button, { variant: "contained", startIcon: (0, jsx_runtime_1.jsx)(NavigateNext_1.default, {}), onClick: async (event) => {
53
+ }, children: labels.previousStep })), more ? ((0, jsx_runtime_1.jsx)(Button_1.default, { variant: "contained", startIcon: (0, jsx_runtime_1.jsx)(NavigateNext_1.default, {}), onClick: async (event) => {
51
54
  const result = await callback(event);
52
55
  if (!result)
53
56
  return;
54
57
  showStep(indexRef.current + 1);
55
- }, children: labels.nextStep })) : ((0, jsx_runtime_1.jsx)(material_1.Button, { variant: "contained", startIcon: (0, jsx_runtime_1.jsx)(Check_1.default, {}), onClick: async (event) => {
58
+ }, children: labels.nextStep })) : ((0, jsx_runtime_1.jsx)(Button_1.default, { variant: "contained", startIcon: (0, jsx_runtime_1.jsx)(Check_1.default, {}), onClick: async (event) => {
56
59
  const result = await callback(event);
57
60
  if (!result)
58
61
  return;
@@ -78,13 +81,13 @@ function DataSteps(props) {
78
81
  react_1.default.useEffect(() => {
79
82
  setLocalValue(valueFormatter(jsonRef.current));
80
83
  }, [valueFormatter]);
81
- return ((0, jsx_runtime_1.jsx)(material_1.TextField, { autoComplete: "off", InputLabelProps: InputLabelProps, inputProps: { style: { cursor: "pointer" } }, InputProps: {
84
+ return ((0, jsx_runtime_1.jsx)(TextField_1.default, { autoComplete: "off", InputLabelProps: InputLabelProps, inputProps: { style: { cursor: "pointer" } }, InputProps: {
82
85
  onKeyDown: (event) => {
83
86
  if (event.key === "Tab")
84
87
  return;
85
88
  cancelInput(event);
86
89
  },
87
90
  onPaste: cancelInput,
88
- endAdornment: ((0, jsx_runtime_1.jsx)(material_1.InputAdornment, { position: "end", children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { edge: "end", size: "small", children: (0, jsx_runtime_1.jsx)(Start_1.default, {}) }) }))
91
+ endAdornment: ((0, jsx_runtime_1.jsx)(InputAdornment_1.default, { position: "end", children: (0, jsx_runtime_1.jsx)(IconButton_1.default, { edge: "end", size: "small", children: (0, jsx_runtime_1.jsx)(Start_1.default, {}) }) }))
89
92
  }, onClick: () => showStep(0), value: localValue, ...rest }));
90
93
  }
@@ -1,4 +1,4 @@
1
- import { GridRowId, GridValidRowModel } from "@mui/x-data-grid";
1
+ import { GridRowId, GridValidRowModel } from "@mui/x-data-grid/models/gridRows";
2
2
  import { DataGridProps } from "@mui/x-data-grid/models/props/DataGridProps";
3
3
  /**
4
4
  * Data table selected cell params
@@ -5,9 +5,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.DataTable = DataTable;
7
7
  const jsx_runtime_1 = require("react/jsx-runtime");
8
- const x_data_grid_1 = require("@mui/x-data-grid");
9
8
  const react_1 = __importDefault(require("react"));
10
9
  const ReactApp_1 = require("./app/ReactApp");
10
+ const DataGrid_1 = require("@mui/x-data-grid/DataGrid/DataGrid");
11
11
  /**
12
12
  * Data table
13
13
  * @param props Props
@@ -45,7 +45,7 @@ function DataTable(props) {
45
45
  return;
46
46
  }
47
47
  }, []);
48
- return ((0, jsx_runtime_1.jsx)(x_data_grid_1.DataGrid, { disableColumnMenu: true, hideFooter: true, localeText: localeText, cellModesModel: cellModesModel, onCellModesModelChange: (model) => setCellModesModel(model), onProcessRowUpdateError: onProcessRowUpdateError, slotProps: {
48
+ return ((0, jsx_runtime_1.jsx)(DataGrid_1.DataGrid, { disableColumnMenu: true, hideFooter: true, localeText: localeText, cellModesModel: cellModesModel, onCellModesModelChange: (model) => setCellModesModel(model), onProcessRowUpdateError: onProcessRowUpdateError, slotProps: {
49
49
  ...slotProps,
50
50
  cell: {
51
51
  onFocus: handleCellFocus
@@ -1,5 +1,6 @@
1
- import { Breakpoint, ButtonProps } from "@mui/material";
2
1
  import React from "react";
2
+ import { ButtonProps } from "@mui/material/Button";
3
+ import { Breakpoint } from "@mui/material/styles";
3
4
  export interface DialogButtonProps extends ButtonProps {
4
5
  /**
5
6
  * Button label