@etsoo/materialui 1.5.2 → 1.5.4

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 +10 -10
  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,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { Paper } from "@mui/material";
2
+ import Paper from "@mui/material/Paper";
3
3
  import React from "react";
4
4
  import Draggable from "react-draggable";
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { TextFieldProps } from "@mui/material";
1
+ import { TextFieldProps } from "@mui/material/TextField";
2
2
  /**
3
3
  * Email input props
4
4
  */
@@ -1,14 +1,12 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { TextField } from "@mui/material";
2
+ import TextField from "@mui/material/TextField";
3
3
  /**
4
4
  * Email input
5
5
  * @param props Props
6
6
  */
7
7
  export function EmailInput(props) {
8
- // Destruct
9
- const { inputProps = {}, ...rest } = props;
10
- // Default max length
11
- inputProps.maxLength ??= 128;
8
+ props.slotProps ??= {};
9
+ props.slotProps.htmlInput ??= { maxLength: 128 };
12
10
  // Layout
13
- return _jsx(TextField, { type: "email", fullWidth: true, inputProps: inputProps, ...rest });
11
+ return _jsx(TextField, { type: "email", fullWidth: true, ...props });
14
12
  }
@@ -1,4 +1,4 @@
1
- import { AlertProps } from "@mui/material";
1
+ import { AlertProps } from "@mui/material/Alert";
2
2
  /**
3
3
  * Error alert props
4
4
  */
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { Alert } from "@mui/material";
2
+ import Alert from "@mui/material/Alert";
3
3
  import { useAppContext } from "./app/ReactApp";
4
4
  /**
5
5
  * Error alert component
@@ -1,4 +1,5 @@
1
- import { BoxProps, PaperProps } from "@mui/material";
1
+ import { BoxProps } from "@mui/material/Box";
2
+ import { PaperProps } from "@mui/material/Paper";
2
3
  type SharedProps = keyof BoxProps & keyof PaperProps;
3
4
  /**
4
5
  * Fabs container box props
package/lib/mjs/FabBox.js CHANGED
@@ -1,5 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { Box, Paper, useTheme } from "@mui/material";
2
+ import Box from "@mui/material/Box";
3
+ import Paper from "@mui/material/Paper";
4
+ import { useTheme } from "@mui/material/styles";
3
5
  import React from "react";
4
6
  const initOpactiy = 0.15;
5
7
  /**
@@ -1,4 +1,4 @@
1
- import { FormControlProps } from "@mui/material";
1
+ import { FormControlProps } from "@mui/material/FormControl";
2
2
  import React from "react";
3
3
  /**
4
4
  * FieldSetEx props
@@ -1,5 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { FormControl, FormHelperText, InputLabel } from "@mui/material";
2
+ import FormControl from "@mui/material/FormControl";
3
+ import FormHelperText from "@mui/material/FormHelperText";
4
+ import InputLabel from "@mui/material/InputLabel";
3
5
  import NotchedOutline from "@mui/material/OutlinedInput";
4
6
  import React from "react";
5
7
  /**
@@ -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
  * File upload button props
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Button } from "@mui/material";
2
+ import Button from "@mui/material/Button";
3
3
  /**
4
4
  * File upload button
5
5
  * @param props Props
@@ -1,4 +1,4 @@
1
- import { StackProps } from "@mui/material";
1
+ import { StackProps } from "@mui/material/Stack";
2
2
  /**
3
3
  * Horizonal box
4
4
  * @param props Props
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { Stack } from "@mui/material";
2
+ import Stack from "@mui/material/Stack";
3
3
  /**
4
4
  * Horizonal box
5
5
  * @param props Props
@@ -1,7 +1,8 @@
1
1
  import { DataTypes, IdDefaultType, LabelDefaultType } from "@etsoo/shared";
2
- import { GridSize, SelectChangeEvent } from "@mui/material";
3
2
  import React from "react";
4
3
  import { ResponsiveStyleValue } from "./ResponsiveStyleValue";
4
+ import { GridSize } from "@mui/material/Grid";
5
+ import { SelectChangeEvent } from "@mui/material/Select";
5
6
  /**
6
7
  * Hierarchy selector props
7
8
  */
@@ -1,7 +1,8 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { FormLabel, Grid2 } from "@mui/material";
3
2
  import React from "react";
4
3
  import { SelectEx } from "./SelectEx";
4
+ import Grid from "@mui/material/Grid";
5
+ import FormLabel from "@mui/material/FormLabel";
5
6
  /**
6
7
  * Hierarchy selector
7
8
  * @param props Prop
@@ -39,5 +40,5 @@ export function HiSelector(props) {
39
40
  React.useEffect(() => {
40
41
  updateValue(currentValue);
41
42
  }, [currentValue]);
42
- return (_jsxs(React.Fragment, { children: [label && (_jsx(Grid2, { size: { xs: 12 }, children: _jsx(FormLabel, { required: required, sx: { fontSize: (theme) => theme.typography.caption }, children: label }) })), _jsx("input", { type: "hidden", name: name, value: `${currentValue ?? ""}` }), _jsx(Grid2, { size: breakPoints, children: _jsx(SelectEx, { idField: idField, label: labels[0], labelField: labelField, name: "tab1", search: search, fullWidth: true, loadData: () => loadData(), value: values[0], onChange: (event) => doChange(event, 0), onItemChange: doItemChange, required: required, error: error, helperText: helperText, variant: variant }) }), localValues[0] != null && (_jsx(Grid2, { size: breakPoints, children: _jsx(SelectEx, { idField: idField, label: labels[1], labelField: labelField, name: "tab2", search: search, fullWidth: true, loadData: () => loadData(localValues[0]), value: values[1], onChange: (event) => doChange(event, 1), onItemChange: doItemChange, variant: variant }, `${localValues[0]}`) })), localValues[1] != null && (_jsx(Grid2, { size: breakPoints, children: _jsx(SelectEx, { idField: idField, label: labels[2], labelField: labelField, name: "tab3", search: search, fullWidth: true, loadData: () => loadData(localValues[1]), value: values[2], onChange: (event) => doChange(event, 2), onItemChange: doItemChange, variant: variant }, `${localValues[1]}`) })), localValues[2] != null && (_jsx(Grid2, { size: breakPoints, children: _jsx(SelectEx, { idField: idField, label: labels[3], labelField: labelField, name: "tab4", search: search, fullWidth: true, loadData: () => loadData(localValues[2]), value: values[3], onChange: (event) => doChange(event, 3), onItemChange: doItemChange, variant: variant }, `${localValues[2]}`) }))] }));
43
+ return (_jsxs(React.Fragment, { children: [label && (_jsx(Grid, { size: { xs: 12 }, children: _jsx(FormLabel, { required: required, sx: { fontSize: (theme) => theme.typography.caption }, children: label }) })), _jsx("input", { type: "hidden", name: name, value: `${currentValue ?? ""}` }), _jsx(Grid, { size: breakPoints, children: _jsx(SelectEx, { idField: idField, label: labels[0], labelField: labelField, name: "tab1", search: search, fullWidth: true, loadData: () => loadData(), value: values[0], onChange: (event) => doChange(event, 0), onItemChange: doItemChange, required: required, error: error, helperText: helperText, variant: variant }) }), localValues[0] != null && (_jsx(Grid, { size: breakPoints, children: _jsx(SelectEx, { idField: idField, label: labels[1], labelField: labelField, name: "tab2", search: search, fullWidth: true, loadData: () => loadData(localValues[0]), value: values[1], onChange: (event) => doChange(event, 1), onItemChange: doItemChange, variant: variant }, `${localValues[0]}`) })), localValues[1] != null && (_jsx(Grid, { size: breakPoints, children: _jsx(SelectEx, { idField: idField, label: labels[2], labelField: labelField, name: "tab3", search: search, fullWidth: true, loadData: () => loadData(localValues[1]), value: values[2], onChange: (event) => doChange(event, 2), onItemChange: doItemChange, variant: variant }, `${localValues[1]}`) })), localValues[2] != null && (_jsx(Grid, { size: breakPoints, children: _jsx(SelectEx, { idField: idField, label: labels[3], labelField: labelField, name: "tab4", search: search, fullWidth: true, loadData: () => loadData(localValues[2]), value: values[3], onChange: (event) => doChange(event, 3), onItemChange: doItemChange, variant: variant }, `${localValues[2]}`) }))] }));
43
44
  }
@@ -1,7 +1,8 @@
1
1
  import { DataTypes, IdDefaultType } from "@etsoo/shared";
2
- import { AutocompleteChangeReason, GridSize } from "@mui/material";
3
2
  import React from "react";
4
3
  import { ResponsiveStyleValue } from "./ResponsiveStyleValue";
4
+ import { GridSize } from "@mui/material/Grid";
5
+ import { AutocompleteChangeReason } from "@mui/material/Autocomplete";
5
6
  /**
6
7
  * Hierarchy tiplist selector props
7
8
  */
@@ -1,7 +1,8 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { FormLabel, Grid2 } from "@mui/material";
3
2
  import React from "react";
4
3
  import { Tiplist } from "./Tiplist";
4
+ import Grid from "@mui/material/Grid";
5
+ import FormLabel from "@mui/material/FormLabel";
5
6
  /**
6
7
  * Hierarchy tiplist selector
7
8
  * @param props Prop
@@ -33,5 +34,5 @@ export function HiSelectorTL(props) {
33
34
  React.useEffect(() => {
34
35
  updateValue(currentValue);
35
36
  }, [currentValue]);
36
- return (_jsxs(React.Fragment, { children: [label && (_jsx(Grid2, { size: { xs: 12 }, children: _jsx(FormLabel, { required: required, sx: { fontSize: (theme) => theme.typography.caption }, children: label }) })), _jsx("input", { type: "hidden", name: name, value: `${currentValue ?? ""}` }), _jsx(Grid2, { size: breakPoints, children: _jsx(Tiplist, { idField: idField, label: labels[0], name: "tab1", search: search, fullWidth: true, idValue: values[0], loadData: (keyword, id, items) => loadData(keyword, id, items), inputRequired: required, inputError: error, inputHelperText: helperText, onChange: (event, value, reason) => doChange(0, event, value, reason) }) }), localValues[0] != null && (_jsx(Grid2, { size: breakPoints, children: _jsx(Tiplist, { label: labels[1], idField: idField, name: "tab2", search: search, fullWidth: true, loadData: (keyword, id, items) => loadData(keyword, id, items, localValues[0]), idValue: values[1], onChange: (event, value, reason) => doChange(1, event, value, reason) }, `${localValues[0]}`) })), localValues[1] != null && (_jsx(Grid2, { size: breakPoints, children: _jsx(Tiplist, { label: labels[2], idField: idField, name: "tab3", search: search, fullWidth: true, loadData: (keyword, id, items) => loadData(keyword, id, items, localValues[1]), idValue: values[2], onChange: (event, value, reason) => doChange(2, event, value, reason) }, `${localValues[1]}`) })), localValues[2] != null && (_jsx(Grid2, { size: breakPoints, children: _jsx(Tiplist, { label: labels[3], idField: idField, name: "tab4", search: search, fullWidth: true, loadData: (keyword, id, items) => loadData(keyword, id, items, localValues[2]), idValue: values[3], onChange: (event, value, reason) => doChange(3, event, value, reason) }, `${localValues[2]}`) }))] }));
37
+ return (_jsxs(React.Fragment, { children: [label && (_jsx(Grid, { size: { xs: 12 }, children: _jsx(FormLabel, { required: required, sx: { fontSize: (theme) => theme.typography.caption }, children: label }) })), _jsx("input", { type: "hidden", name: name, value: `${currentValue ?? ""}` }), _jsx(Grid, { size: breakPoints, children: _jsx(Tiplist, { idField: idField, label: labels[0], name: "tab1", search: search, fullWidth: true, idValue: values[0], loadData: (keyword, id, items) => loadData(keyword, id, items), inputRequired: required, inputError: error, inputHelperText: helperText, onChange: (event, value, reason) => doChange(0, event, value, reason) }) }), localValues[0] != null && (_jsx(Grid, { size: breakPoints, children: _jsx(Tiplist, { label: labels[1], idField: idField, name: "tab2", search: search, fullWidth: true, loadData: (keyword, id, items) => loadData(keyword, id, items, localValues[0]), idValue: values[1], onChange: (event, value, reason) => doChange(1, event, value, reason) }, `${localValues[0]}`) })), localValues[1] != null && (_jsx(Grid, { size: breakPoints, children: _jsx(Tiplist, { label: labels[2], idField: idField, name: "tab3", search: search, fullWidth: true, loadData: (keyword, id, items) => loadData(keyword, id, items, localValues[1]), idValue: values[2], onChange: (event, value, reason) => doChange(2, event, value, reason) }, `${localValues[1]}`) })), localValues[2] != null && (_jsx(Grid, { size: breakPoints, children: _jsx(Tiplist, { label: labels[3], idField: idField, name: "tab4", search: search, fullWidth: true, loadData: (keyword, id, items) => loadData(keyword, id, items, localValues[2]), idValue: values[3], onChange: (event, value, reason) => doChange(3, event, value, reason) }, `${localValues[2]}`) }))] }));
37
38
  }
@@ -1,4 +1,4 @@
1
- import { IconButtonProps } from "@mui/material";
1
+ import { IconButtonProps } from "@mui/material/IconButton";
2
2
  /**
3
3
  * IconButtonLink props
4
4
  */
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { IconButton } from "@mui/material";
2
+ import IconButton from "@mui/material/IconButton";
3
3
  import { useNavigate } from "react-router";
4
4
  /**
5
5
  * IconButtonLink
@@ -1,5 +1,5 @@
1
- import { TextFieldProps } from "@mui/material";
2
1
  import React from "react";
2
+ import { TextFieldProps } from "@mui/material/TextField";
3
3
  /**
4
4
  * Input field props
5
5
  */
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useDelayedExecutor } from "@etsoo/react";
3
- import { TextField } from "@mui/material";
4
3
  import React from "react";
5
4
  import { MUGlobal } from "./MUGlobal";
5
+ import TextField from "@mui/material/TextField";
6
6
  /**
7
7
  * Input field
8
8
  * @param props Props
@@ -1,9 +1,12 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { InputAdornment, List, ListItem, Popover } from "@mui/material";
3
2
  import Typography from "@mui/material/Typography";
4
3
  import React from "react";
5
4
  import { InputField } from "./InputField";
6
5
  import { useAppContext } from "./app/ReactApp";
6
+ import ListItem from "@mui/material/ListItem";
7
+ import Popover from "@mui/material/Popover";
8
+ import List from "@mui/material/List";
9
+ import InputAdornment from "@mui/material/InputAdornment";
7
10
  /**
8
11
  * InputField with tips
9
12
  * @param props Props
@@ -1,6 +1,6 @@
1
- import { BoxProps } from "@mui/material";
2
1
  import React from "react";
3
2
  import { InputFieldProps } from "./InputField";
3
+ import { BoxProps } from "@mui/material/Box";
4
4
  /**
5
5
  * Integer input field props
6
6
  */
@@ -1,10 +1,12 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Box, IconButton, InputAdornment } from "@mui/material";
3
2
  import AddIcon from "@mui/icons-material/Add";
4
3
  import RemoveIcon from "@mui/icons-material/Remove";
5
4
  import React from "react";
6
5
  import { NumberUtils } from "@etsoo/shared";
7
6
  import { InputField } from "./InputField";
7
+ import Box from "@mui/material/Box";
8
+ import InputAdornment from "@mui/material/InputAdornment";
9
+ import IconButton from "@mui/material/IconButton";
8
10
  /**
9
11
  * Integer input field (controlled)
10
12
  */
@@ -1,7 +1,13 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import React from "react";
3
- import { Dialog, DialogTitle, List, ListItemText, DialogContent, Button, ListItemButton } from "@mui/material";
4
3
  import { DataTypes } from "@etsoo/shared";
4
+ import Button from "@mui/material/Button";
5
+ import Dialog from "@mui/material/Dialog";
6
+ import DialogTitle from "@mui/material/DialogTitle";
7
+ import DialogContent from "@mui/material/DialogContent";
8
+ import List from "@mui/material/List";
9
+ import ListItemButton from "@mui/material/ListItemButton";
10
+ import ListItemText from "@mui/material/ListItemText";
5
11
  /**
6
12
  * Item list component
7
13
  * @param props Properties
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { LinearProgress } from "@mui/material";
3
2
  import React from "react";
3
+ import LinearProgress from "@mui/material/LinearProgress";
4
4
  /**
5
5
  * Line chart
6
6
  * @param props Props
@@ -1,6 +1,7 @@
1
1
  import { DataTypes, DelayedExecutorType, IdDefaultType } from "@etsoo/shared";
2
- import { ListItemButtonProps, ListProps } from "@mui/material";
3
2
  import React from "react";
3
+ import { ListItemButtonProps } from "@mui/material/ListItemButton";
4
+ import { ListProps } from "@mui/material/List";
4
5
  type QueryData = {
5
6
  title?: string;
6
7
  };
@@ -1,9 +1,13 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useDelayedExecutor } from "@etsoo/react";
3
- import { List, ListItem, ListItemButton, ListItemText, TextField } from "@mui/material";
4
3
  import CheckBoxIcon from "@mui/icons-material/CheckBox";
5
4
  import React from "react";
6
5
  import { VBox } from "./FlexBox";
6
+ import ListItemButton from "@mui/material/ListItemButton";
7
+ import List from "@mui/material/List";
8
+ import TextField from "@mui/material/TextField";
9
+ import ListItem from "@mui/material/ListItem";
10
+ import ListItemText from "@mui/material/ListItemText";
7
11
  /**
8
12
  * List chooser
9
13
  * @param props Props
@@ -29,7 +33,7 @@ export function ListChooser(props) {
29
33
  }
30
34
  });
31
35
  // Destruct
32
- const { conditionField = "title", conditionRenderer = (rq, delayed) => (_jsx(TextField, { autoFocus: true, margin: "dense", name: conditionField, label: title, fullWidth: true, variant: "standard", inputProps: { maxLength: 128 }, onChange: (event) => {
36
+ const { conditionField = "title", conditionRenderer = (rq, delayed) => (_jsx(TextField, { autoFocus: true, margin: "dense", name: conditionField, label: title, fullWidth: true, variant: "standard", slotProps: { htmlInput: { maxLength: 128 } }, onChange: (event) => {
33
37
  Reflect.set(rq, "title", event.target.value);
34
38
  delayed.call();
35
39
  } })), itemRenderer = (item, selectProps) => {
@@ -1,4 +1,4 @@
1
- import { ListItemIcon } from "@mui/material";
1
+ import ListItemIcon from "@mui/material/ListItemIcon";
2
2
  /**
3
3
  * List item right icon component
4
4
  */
@@ -1,4 +1,5 @@
1
- import { ListItemIcon, styled } from "@mui/material";
1
+ import ListItemIcon from "@mui/material/ListItemIcon";
2
+ import { styled } from "@mui/material/styles";
2
3
  /**
3
4
  * List item right icon component
4
5
  */
@@ -1,6 +1,6 @@
1
- import { CardProps } from "@mui/material";
2
1
  import React from "react";
3
2
  import { GridData, GridLoader } from "@etsoo/react";
3
+ import { CardProps } from "@mui/material/Card";
4
4
  /**
5
5
  * ListMoreDisplay props
6
6
  */
@@ -1,9 +1,13 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Card, CardActions, CardContent, CardHeader, CircularProgress } from "@mui/material";
3
2
  import React from "react";
4
3
  import { GridDataGet } from "@etsoo/react";
5
4
  import { LoadingButton } from "./LoadingButton";
6
5
  import { useAppContext } from "./app/ReactApp";
6
+ import Card from "@mui/material/Card";
7
+ import CardHeader from "@mui/material/CardHeader";
8
+ import CardContent from "@mui/material/CardContent";
9
+ import CircularProgress from "@mui/material/CircularProgress";
10
+ import CardActions from "@mui/material/CardActions";
7
11
  /**
8
12
  * ListMoreDisplay
9
13
  * @param props Props
@@ -1,4 +1,5 @@
1
- import { ButtonProps, CircularProgressProps } from "@mui/material";
1
+ import { ButtonProps } from "@mui/material/Button";
2
+ import { CircularProgressProps } from "@mui/material/CircularProgress";
2
3
  /**
3
4
  * Loading button props
4
5
  */
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { Button, CircularProgress } from "@mui/material";
2
+ import Button from "@mui/material/Button";
3
+ import CircularProgress from "@mui/material/CircularProgress";
3
4
  import React from "react";
4
5
  /**
5
6
  * Loading button
@@ -1,4 +1,5 @@
1
- import { ListItemButtonProps, Theme } from "@mui/material";
1
+ import { ListItemButtonProps } from "@mui/material/ListItemButton";
2
+ import { Theme } from "@mui/material/styles";
2
3
  /**
3
4
  * Mouse event handler with data
4
5
  */
@@ -1,4 +1,4 @@
1
- import { TextFieldProps } from "@mui/material";
1
+ import { TextFieldProps } from "@mui/material/TextField";
2
2
  type ReactIMask = typeof import("react-imask", { with: { "resolution-mode": "import" } }).useIMask;
3
3
  type RIOpts = Parameters<ReactIMask>[0];
4
4
  type RIReturns = ReturnType<ReactIMask>;
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { TextField } from "@mui/material";
3
2
  import React from "react";
4
3
  import { MUGlobal } from "./MUGlobal";
4
+ import TextField from "@mui/material/TextField";
5
5
  // Currently CommonJS modules are not supported by "react-imask" package
6
6
  let useIMask;
7
7
  import("react-imask").then((module) => useIMask = module.useIMask);
@@ -1,5 +1,6 @@
1
1
  import { DataTypes } from "@etsoo/shared";
2
- import { ButtonProps, MenuProps } from "@mui/material";
2
+ import { ButtonProps } from "@mui/material/Button";
3
+ import { MenuProps } from "@mui/material/Menu";
3
4
  import React from "react";
4
5
  export type MenuButtonProps<T extends DataTypes.IdItem> = Omit<MenuProps, "open"> & {
5
6
  items: T[];
@@ -1,5 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Button, Menu, MenuItem } from "@mui/material";
2
+ import Button from "@mui/material/Button";
3
+ import Menu from "@mui/material/Menu";
4
+ import MenuItem from "@mui/material/MenuItem";
3
5
  import React from "react";
4
6
  export function MenuButton(props) {
5
7
  // Destruct
@@ -1,6 +1,9 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Card, CardContent, CardHeader, LinearProgress } from "@mui/material";
3
2
  import { MoreFab } from "./MoreFab";
3
+ import LinearProgress from "@mui/material/LinearProgress";
4
+ import Card from "@mui/material/Card";
5
+ import CardHeader from "@mui/material/CardHeader";
6
+ import CardContent from "@mui/material/CardContent";
4
7
  /**
5
8
  * Default mobile list item renderer
6
9
  * @param param0 List renderer props
@@ -23,7 +26,10 @@ export function MobileListItemRenderer({ data, itemHeight, margins }, renderer)
23
26
  }, transformOrigin: {
24
27
  vertical: "top",
25
28
  horizontal: "right"
26
- }, actions: actions })) : (actions), title: title, titleTypographyProps: { variant: "body2" }, subheader: subheader, subheaderTypographyProps: { variant: "caption" } }), _jsx(CardContent, { sx: {
29
+ }, actions: actions })) : (actions), title: title, subheader: subheader, slotProps: {
30
+ title: { variant: "body2" },
31
+ subheader: { variant: "caption" }
32
+ } }), _jsx(CardContent, { sx: {
27
33
  paddingTop: 0,
28
34
  paddingBottom: cardActions == null ? Reflect.get(margins, "marginBottom") : 0
29
35
  }, children: children }), cardActions] }));
@@ -1,7 +1,8 @@
1
1
  import { CustomFabProps } from "./CustomFabProps";
2
2
  import React from "react";
3
- import { PaperProps, PopoverOrigin } from "@mui/material";
4
3
  import { ListItemReact } from "@etsoo/react";
4
+ import { PopoverOrigin } from "@mui/material/Popover";
5
+ import { PaperProps } from "@mui/material/Paper";
5
6
  /**
6
7
  * More fab props
7
8
  */
@@ -1,8 +1,14 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import MoreHorizIcon from "@mui/icons-material/MoreHoriz";
3
3
  import React from "react";
4
- import { Divider, Fab, IconButton, ListItemIcon, ListItemText, Menu, MenuItem } from "@mui/material";
5
4
  import { Link } from "react-router";
5
+ import IconButton from "@mui/material/IconButton";
6
+ import Fab from "@mui/material/Fab";
7
+ import Menu from "@mui/material/Menu";
8
+ import Divider from "@mui/material/Divider";
9
+ import MenuItem from "@mui/material/MenuItem";
10
+ import ListItemIcon from "@mui/material/ListItemIcon";
11
+ import ListItemText from "@mui/material/ListItemText";
6
12
  function getActions(input) {
7
13
  // Actions
8
14
  const actions = [];
@@ -1,14 +1,37 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { NotificationAlign, NotificationMessageType, NotificationType } from "@etsoo/notificationbase";
3
3
  import { DomUtils } from "@etsoo/shared";
4
- import { Alert, AlertTitle, Backdrop, Box, Button, CircularProgress, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle, Fade, IconButton, Popover, Slider, Snackbar, styled, Switch, TextField, Typography } from "@mui/material";
5
- import { Error, Info, Help, Warning, Done } from "@mui/icons-material";
6
- import CloseIcon from "@mui/icons-material/Close";
7
4
  import React from "react";
8
5
  import { NotificationReact, NotifierReact } from "@etsoo/react";
9
6
  import { DraggablePaperComponent } from "./DraggablePaperComponent";
10
7
  import { LoadingButton } from "./LoadingButton";
11
8
  import { Labels } from "./app/Labels";
9
+ import DialogTitle from "@mui/material/DialogTitle";
10
+ import { styled } from "@mui/material/styles";
11
+ import Dialog from "@mui/material/Dialog";
12
+ import IconButton from "@mui/material/IconButton";
13
+ import DialogContent from "@mui/material/DialogContent";
14
+ import DialogActions from "@mui/material/DialogActions";
15
+ import DialogContentText from "@mui/material/DialogContentText";
16
+ import Fade from "@mui/material/Fade";
17
+ import Alert from "@mui/material/Alert";
18
+ import AlertTitle from "@mui/material/AlertTitle";
19
+ import Switch from "@mui/material/Switch";
20
+ import Slider from "@mui/material/Slider";
21
+ import TextField from "@mui/material/TextField";
22
+ import Typography from "@mui/material/Typography";
23
+ import Button from "@mui/material/Button";
24
+ import Popover from "@mui/material/Popover";
25
+ import CircularProgress from "@mui/material/CircularProgress";
26
+ import Backdrop from "@mui/material/Backdrop";
27
+ import Box from "@mui/material/Box";
28
+ import Snackbar from "@mui/material/Snackbar";
29
+ import CloseIcon from "@mui/icons-material/Close";
30
+ import DoneIcon from "@mui/icons-material/Done";
31
+ import InfoIcon from "@mui/icons-material/Info";
32
+ import WarningIcon from "@mui/icons-material/Warning";
33
+ import ErrorIcon from "@mui/icons-material/Error";
34
+ import HelpIcon from "@mui/icons-material/Help";
12
35
  // Custom icon dialog title bar
13
36
  const IconDialogTitle = styled(DialogTitle, {
14
37
  // Prevent the passing of the draggable prop to the underlying DOM element
@@ -41,19 +64,19 @@ export class NotificationMU extends NotificationReact {
41
64
  let title = this.title;
42
65
  let icon;
43
66
  if (this.type === NotificationMessageType.Success) {
44
- icon = _jsx(Done, { color: "primary" });
67
+ icon = _jsx(DoneIcon, { color: "primary" });
45
68
  title ??= labels.success;
46
69
  }
47
70
  else if (this.type === NotificationMessageType.Info) {
48
- icon = _jsx(Info, {});
71
+ icon = _jsx(InfoIcon, {});
49
72
  title ??= labels.info;
50
73
  }
51
74
  else if (this.type === NotificationMessageType.Warning) {
52
- icon = _jsx(Warning, { color: "secondary" });
75
+ icon = _jsx(WarningIcon, { color: "secondary" });
53
76
  title ??= labels.warning;
54
77
  }
55
78
  else {
56
- icon = _jsx(Error, { color: "error" });
79
+ icon = _jsx(ErrorIcon, { color: "error" });
57
80
  title ??= labels.alertTitle;
58
81
  }
59
82
  const setupProps = {
@@ -81,7 +104,7 @@ export class NotificationMU extends NotificationReact {
81
104
  await this.returnValue(value);
82
105
  return true;
83
106
  };
84
- return (_jsxs(Dialog, { open: this.open, PaperComponent: draggable ? DraggablePaperComponent : undefined, className: className, fullWidth: fullWidth, maxWidth: maxWidth, fullScreen: fullScreen, ...options, children: [_jsxs(IconDialogTitle, { draggable: draggable, className: draggable ? "dialog-title draggable-dialog-title" : "dialog-title", children: [_jsx(Help, { color: "action" }), _jsx("span", { className: "dialogTitle", children: title }), closable && (_jsx(IconButton, { className: "MuiDialogContent-root-close-button", size: "small", onClick: () => this.returnValue("CLOSE"), children: _jsx(CloseIcon, {}) }))] }), _jsxs(DialogContent, { children: [typeof this.content === "string" ? (_jsx(DialogContentText, { children: this.content })) : (this.content), inputs] }), _jsx(DialogActions, { children: buttons ? (buttons(this, callback)) : (_jsxs(React.Fragment, { children: [cancelButton && (_jsx(LoadingButton, { color: "secondary", onClick: async (event) => await callback(event, false), children: cancelLabel })), primaryButton && (_jsx(LoadingButton, { color: "primary", onClick: async (event) => await callback(event, true), autoFocus: true, ...primaryButtonProps, children: okLabel }))] })) })] }, this.id));
107
+ return (_jsxs(Dialog, { open: this.open, PaperComponent: draggable ? DraggablePaperComponent : undefined, className: className, fullWidth: fullWidth, maxWidth: maxWidth, fullScreen: fullScreen, ...options, children: [_jsxs(IconDialogTitle, { draggable: draggable, className: draggable ? "dialog-title draggable-dialog-title" : "dialog-title", children: [_jsx(HelpIcon, { color: "action" }), _jsx("span", { className: "dialogTitle", children: title }), closable && (_jsx(IconButton, { className: "MuiDialogContent-root-close-button", size: "small", onClick: () => this.returnValue("CLOSE"), children: _jsx(CloseIcon, {}) }))] }), _jsxs(DialogContent, { children: [typeof this.content === "string" ? (_jsx(DialogContentText, { children: this.content })) : (this.content), inputs] }), _jsx(DialogActions, { children: buttons ? (buttons(this, callback)) : (_jsxs(React.Fragment, { children: [cancelButton && (_jsx(LoadingButton, { color: "secondary", onClick: async (event) => await callback(event, false), children: cancelLabel })), primaryButton && (_jsx(LoadingButton, { color: "primary", onClick: async (event) => await callback(event, true), autoFocus: true, ...primaryButtonProps, children: okLabel }))] })) })] }, this.id));
85
108
  }
86
109
  createMessageColor() {
87
110
  if (this.type === NotificationMessageType.Danger)
@@ -180,7 +203,7 @@ export class NotificationMU extends NotificationReact {
180
203
  event.preventDefault();
181
204
  event.currentTarget.elements.namedItem("okButton")?.click();
182
205
  return false;
183
- }, children: [_jsxs(IconDialogTitle, { draggable: draggable, className: draggable ? "dialog-title draggable-dialog-title" : "dialog-title", children: [_jsx(Info, { color: "primary" }), _jsx("span", { className: "dialogTitle", children: title }), closable && (_jsx(IconButton, { className: "MuiDialogContent-root-close-button", size: "small", onClick: () => this.returnValue("CLOSE"), children: _jsx(CloseIcon, {}) }))] }), _jsxs(DialogContent, { children: [typeof this.content === "string" ? (_jsx(DialogContentText, { children: this.content })) : (this.content), localInputs, _jsx(Typography, { variant: "caption", display: "block", ref: errorRef, color: "error" })] }), _jsx(DialogActions, { children: buttons ? (buttons(this, handleSubmit)) : (_jsxs(React.Fragment, { children: [cancelButton && (_jsx(Button, { color: "secondary", onClick: () => {
206
+ }, children: [_jsxs(IconDialogTitle, { draggable: draggable, className: draggable ? "dialog-title draggable-dialog-title" : "dialog-title", children: [_jsx(InfoIcon, { color: "primary" }), _jsx("span", { className: "dialogTitle", children: title }), closable && (_jsx(IconButton, { className: "MuiDialogContent-root-close-button", size: "small", onClick: () => this.returnValue("CLOSE"), children: _jsx(CloseIcon, {}) }))] }), _jsxs(DialogContent, { children: [typeof this.content === "string" ? (_jsx(DialogContentText, { children: this.content })) : (this.content), localInputs, _jsx(Typography, { variant: "caption", display: "block", ref: errorRef, color: "error" })] }), _jsx(DialogActions, { children: buttons ? (buttons(this, handleSubmit)) : (_jsxs(React.Fragment, { children: [cancelButton && (_jsx(Button, { color: "secondary", onClick: () => {
184
207
  if (this.onReturn)
185
208
  this.onReturn(undefined);
186
209
  this.dismiss();
@@ -1,4 +1,4 @@
1
- import { PopoverProps } from "@mui/material";
1
+ import { PopoverProps } from "@mui/material/Popover";
2
2
  /**
3
3
  * Notifier Popup pros
4
4
  */
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import React from "react";
3
3
  import { InputField } from "./InputField";
4
- import { InputAdornment } from "@mui/material";
5
4
  import { NumberUtils } from "@etsoo/shared";
5
+ import InputAdornment from "@mui/material/InputAdornment";
6
6
  /**
7
7
  * Number input field, for controlled only components, please see IntInputField and MoneyInputField
8
8
  * @param props Props
@@ -11,16 +11,18 @@ import { NumberUtils } from "@etsoo/shared";
11
11
  export function NumberInputField(props) {
12
12
  const { currency, inputStyle, min = 0, step = 1, symbol = currency
13
13
  ? `${currency} ${NumberUtils.getCurrencySymbol(currency)}`
14
- : undefined, endSymbol, max = 9999999, InputProps, ...rest } = props;
15
- return (_jsx(InputField, { type: "number", inputProps: {
16
- min,
17
- step,
18
- max,
19
- style: inputStyle,
20
- inputMode: "numeric"
21
- }, InputProps: {
22
- startAdornment: symbol ? (_jsx(React.Fragment, { children: _jsx(InputAdornment, { position: "start", children: symbol }) })) : undefined,
23
- endAdornment: endSymbol ? (_jsx(InputAdornment, { position: "end", children: endSymbol })) : undefined,
24
- ...InputProps
25
- }, ...rest }));
14
+ : undefined, endSymbol, max = 9999999, slotProps = {}, ...rest } = props;
15
+ return (_jsx(InputField, { type: "number", slotProps: Object.assign(slotProps, {
16
+ input: {
17
+ startAdornment: symbol ? (_jsx(React.Fragment, { children: _jsx(InputAdornment, { position: "start", children: symbol }) })) : undefined,
18
+ endAdornment: endSymbol ? (_jsx(InputAdornment, { position: "end", children: endSymbol })) : undefined
19
+ },
20
+ htmlInput: {
21
+ min,
22
+ step,
23
+ max,
24
+ style: inputStyle,
25
+ inputMode: "numeric"
26
+ }
27
+ }), ...rest }));
26
28
  }
@@ -1,5 +1,5 @@
1
1
  import { DataTypes, IdDefaultType, LabelDefaultType, ListType } from "@etsoo/shared";
2
- import { FormControlProps } from "@mui/material";
2
+ import { FormControlProps } from "@mui/material/FormControl";
3
3
  import React from "react";
4
4
  /**
5
5
  * OptionGroup methods ref