@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
@@ -5,9 +5,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.DialogButton = DialogButton;
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 Labels_1 = require("./app/Labels");
10
+ const Button_1 = __importDefault(require("@mui/material/Button"));
11
+ const IconButton_1 = __importDefault(require("@mui/material/IconButton"));
12
+ const Dialog_1 = __importDefault(require("@mui/material/Dialog"));
13
+ const DialogTitle_1 = __importDefault(require("@mui/material/DialogTitle"));
14
+ const DialogContent_1 = __importDefault(require("@mui/material/DialogContent"));
15
+ const DialogContentText_1 = __importDefault(require("@mui/material/DialogContentText"));
16
+ const DialogActions_1 = __importDefault(require("@mui/material/DialogActions"));
11
17
  /**
12
18
  * Dialog button
13
19
  * @param props Props
@@ -35,9 +41,9 @@ function DialogButton(props) {
35
41
  onClick(event);
36
42
  };
37
43
  // Layout
38
- return ((0, jsx_runtime_1.jsxs)(react_1.default.Fragment, { children: [icon == null ? ((0, jsx_runtime_1.jsx)(material_1.Button, { ...rest, title: title, onClick: onClickLocal, children: children })) : ((0, jsx_runtime_1.jsx)(material_1.IconButton, { ...rest, onClick: onClickLocal, title: title ?? children?.toString(), children: icon })), (0, jsx_runtime_1.jsxs)(material_1.Dialog, { disableScrollLock: disableScrollLock, fullScreen: fullScreen, fullWidth: fullWidth, maxWidth: maxWidth, open: open, onClose: () => setOpen(false), onClick: (event) => {
44
+ return ((0, jsx_runtime_1.jsxs)(react_1.default.Fragment, { children: [icon == null ? ((0, jsx_runtime_1.jsx)(Button_1.default, { ...rest, title: title, onClick: onClickLocal, children: children })) : ((0, jsx_runtime_1.jsx)(IconButton_1.default, { ...rest, onClick: onClickLocal, title: title ?? children?.toString(), children: icon })), (0, jsx_runtime_1.jsxs)(Dialog_1.default, { disableScrollLock: disableScrollLock, fullScreen: fullScreen, fullWidth: fullWidth, maxWidth: maxWidth, open: open, onClose: () => setOpen(false), onClick: (event) => {
39
45
  // The dialog will be embeded and the click event will bubble up
40
46
  // Stop propatation but will also cancel onClose and onBackdropClick event
41
47
  event.stopPropagation();
42
- }, children: [(0, jsx_runtime_1.jsx)(material_1.DialogTitle, { children: dialogTitle ?? title ?? children }), (0, jsx_runtime_1.jsxs)(material_1.DialogContent, { children: [(0, jsx_runtime_1.jsx)(material_1.DialogContentText, { component: contentPre ? "pre" : "span", children: content }), inputs] }), (0, jsx_runtime_1.jsx)(material_1.DialogActions, { children: (0, jsx_runtime_1.jsx)(material_1.Button, { onClick: () => setOpen(false), children: buttonLabel }) })] })] }));
48
+ }, children: [(0, jsx_runtime_1.jsx)(DialogTitle_1.default, { children: dialogTitle ?? title ?? children }), (0, jsx_runtime_1.jsxs)(DialogContent_1.default, { children: [(0, jsx_runtime_1.jsx)(DialogContentText_1.default, { component: contentPre ? "pre" : "span", children: content }), inputs] }), (0, jsx_runtime_1.jsx)(DialogActions_1.default, { children: (0, jsx_runtime_1.jsx)(Button_1.default, { onClick: () => setOpen(false), children: buttonLabel }) })] })] }));
43
49
  }
@@ -1,7 +1,7 @@
1
1
  import type { UniqueIdentifier } from "@dnd-kit/core";
2
- import { SortingStrategy } from "@dnd-kit/sortable";
2
+ import { SortingStrategy } from "@dnd-kit/sortable/dist/types/strategies";
3
3
  import { DataTypes } from "@etsoo/shared";
4
- import { Theme } from "@mui/material";
4
+ import { Theme } from "@mui/material/styles";
5
5
  import React, { CSSProperties } from "react";
6
6
  /**
7
7
  * DnD item default style
@@ -6,7 +6,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.DnDItemStyle = void 0;
7
7
  exports.DnDList = DnDList;
8
8
  const jsx_runtime_1 = require("react/jsx-runtime");
9
- const material_1 = require("@mui/material");
9
+ const Skeleton_1 = __importDefault(require("@mui/material/Skeleton"));
10
+ const styles_1 = require("@mui/material/styles");
10
11
  const react_1 = __importDefault(require("react"));
11
12
  function SortableItem(props) {
12
13
  // Destruct
@@ -55,7 +56,7 @@ function DnDList(props) {
55
56
  // Destruct
56
57
  const { keyField, height = 360, itemRenderer, labelField, mRef, sortingStrategy, onChange, onFormChange, onDragEnd } = props;
57
58
  // Theme
58
- const theme = (0, material_1.useTheme)();
59
+ const theme = (0, styles_1.useTheme)();
59
60
  // States
60
61
  const [items, setItems] = react_1.default.useState([]);
61
62
  const [activeId, setActiveId] = react_1.default.useState();
@@ -152,7 +153,7 @@ function DnDList(props) {
152
153
  });
153
154
  }, []);
154
155
  if (dnd == null) {
155
- return (0, jsx_runtime_1.jsx)(material_1.Skeleton, { variant: "rectangular", width: "100%", height: height });
156
+ return (0, jsx_runtime_1.jsx)(Skeleton_1.default, { variant: "rectangular", width: "100%", height: height });
156
157
  }
157
158
  const [DndContextType, SortableContextType, useSortableType, rectSortingStrategyType, rectSwappingStrategyType, horizontalListSortingStrategyType, verticalListSortingStrategyType, CSSType] = dnd;
158
159
  const strategy = typeof sortingStrategy === "function"
@@ -1,4 +1,4 @@
1
- import { PaperProps } from "@mui/material";
1
+ import { PaperProps } from "@mui/material/Paper";
2
2
  /**
3
3
  * Draggable paper component
4
4
  * @param props Props
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.DraggablePaperComponent = DraggablePaperComponent;
7
7
  const jsx_runtime_1 = require("react/jsx-runtime");
8
- const material_1 = require("@mui/material");
8
+ const Paper_1 = __importDefault(require("@mui/material/Paper"));
9
9
  const react_1 = __importDefault(require("react"));
10
10
  const react_draggable_1 = __importDefault(require("react-draggable"));
11
11
  /**
@@ -15,5 +15,5 @@ const react_draggable_1 = __importDefault(require("react-draggable"));
15
15
  */
16
16
  function DraggablePaperComponent(props) {
17
17
  const nodeRef = react_1.default.useRef(null);
18
- return ((0, jsx_runtime_1.jsx)(react_draggable_1.default, { handle: ".draggable-dialog-title", cancel: '[class*="MuiDialogContent-root"]', nodeRef: nodeRef, children: (0, jsx_runtime_1.jsx)(material_1.Paper, { ref: nodeRef, ...props }) }));
18
+ return ((0, jsx_runtime_1.jsx)(react_draggable_1.default, { handle: ".draggable-dialog-title", cancel: '[class*="MuiDialogContent-root"]', nodeRef: nodeRef, children: (0, jsx_runtime_1.jsx)(Paper_1.default, { ref: nodeRef, ...props }) }));
19
19
  }
@@ -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,17 +1,18 @@
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.EmailInput = EmailInput;
4
7
  const jsx_runtime_1 = require("react/jsx-runtime");
5
- const material_1 = require("@mui/material");
8
+ const TextField_1 = __importDefault(require("@mui/material/TextField"));
6
9
  /**
7
10
  * Email input
8
11
  * @param props Props
9
12
  */
10
13
  function EmailInput(props) {
11
- // Destruct
12
- const { inputProps = {}, ...rest } = props;
13
- // Default max length
14
- inputProps.maxLength ??= 128;
14
+ props.slotProps ??= {};
15
+ props.slotProps.htmlInput ??= { maxLength: 128 };
15
16
  // Layout
16
- return (0, jsx_runtime_1.jsx)(material_1.TextField, { type: "email", fullWidth: true, inputProps: inputProps, ...rest });
17
+ return (0, jsx_runtime_1.jsx)(TextField_1.default, { type: "email", fullWidth: true, ...props });
17
18
  }
@@ -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,8 +1,11 @@
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.ErrorAlert = ErrorAlert;
4
7
  const jsx_runtime_1 = require("react/jsx-runtime");
5
- const material_1 = require("@mui/material");
8
+ const Alert_1 = __importDefault(require("@mui/material/Alert"));
6
9
  const ReactApp_1 = require("./app/ReactApp");
7
10
  /**
8
11
  * Error alert component
@@ -15,5 +18,5 @@ function ErrorAlert(props) {
15
18
  // Destruct
16
19
  const { message = app?.get("idError"), ...alertProps } = props;
17
20
  // Layout
18
- return ((0, jsx_runtime_1.jsx)(material_1.Alert, { severity: "error", ...alertProps, children: message }));
21
+ return ((0, jsx_runtime_1.jsx)(Alert_1.default, { severity: "error", ...alertProps, children: message }));
19
22
  }
@@ -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/cjs/FabBox.js CHANGED
@@ -5,7 +5,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.FabBox = FabBox;
7
7
  const jsx_runtime_1 = require("react/jsx-runtime");
8
- const material_1 = require("@mui/material");
8
+ const Box_1 = __importDefault(require("@mui/material/Box"));
9
+ const Paper_1 = __importDefault(require("@mui/material/Paper"));
10
+ const styles_1 = require("@mui/material/styles");
9
11
  const react_1 = __importDefault(require("react"));
10
12
  const initOpactiy = 0.15;
11
13
  /**
@@ -17,12 +19,12 @@ function FabBox(props) {
17
19
  // Destruct
18
20
  const { columnDirection, fabPanel = columnDirection, itemGap = 1, sx, ...rest } = props;
19
21
  // Theme
20
- const theme = (0, material_1.useTheme)();
22
+ const theme = (0, styles_1.useTheme)();
21
23
  const spaceGap = theme.spacing(itemGap);
22
24
  const [opacity, setOpacity] = react_1.default.useState(initOpactiy);
23
25
  if (columnDirection == null)
24
26
  return (0, jsx_runtime_1.jsx)(react_1.default.Fragment, {});
25
- return fabPanel ? ((0, jsx_runtime_1.jsx)(material_1.Paper, { sx: {
27
+ return fabPanel ? ((0, jsx_runtime_1.jsx)(Paper_1.default, { sx: {
26
28
  position: "fixed",
27
29
  display: "flex",
28
30
  alignItems: "center",
@@ -31,7 +33,7 @@ function FabBox(props) {
31
33
  gap: spaceGap,
32
34
  opacity: opacity,
33
35
  ...sx
34
- }, onMouseEnter: () => setOpacity(1), onMouseLeave: () => setOpacity(initOpactiy), ...rest })) : ((0, jsx_runtime_1.jsx)(material_1.Box, { sx: {
36
+ }, onMouseEnter: () => setOpacity(1), onMouseLeave: () => setOpacity(initOpactiy), ...rest })) : ((0, jsx_runtime_1.jsx)(Box_1.default, { sx: {
35
37
  position: "fixed",
36
38
  display: "flex",
37
39
  alignItems: "center",
@@ -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
@@ -5,7 +5,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.FieldSetEx = FieldSetEx;
7
7
  const jsx_runtime_1 = require("react/jsx-runtime");
8
- const material_1 = require("@mui/material");
8
+ const FormControl_1 = __importDefault(require("@mui/material/FormControl"));
9
+ const FormHelperText_1 = __importDefault(require("@mui/material/FormHelperText"));
10
+ const InputLabel_1 = __importDefault(require("@mui/material/InputLabel"));
9
11
  const OutlinedInput_1 = __importDefault(require("@mui/material/OutlinedInput"));
10
12
  const react_1 = __importDefault(require("react"));
11
13
  /**
@@ -17,7 +19,7 @@ function FieldSetEx(props) {
17
19
  // Destruct
18
20
  const { label, helperText, required, fullWidth, children, ...rest } = props;
19
21
  // Layout
20
- return ((0, jsx_runtime_1.jsxs)(react_1.default.Fragment, { children: [(0, jsx_runtime_1.jsxs)(material_1.FormControl, { fullWidth: fullWidth, ...rest, children: [label && ((0, jsx_runtime_1.jsx)(material_1.InputLabel, { required: required, variant: "outlined", shrink: true, children: label })), (0, jsx_runtime_1.jsx)(OutlinedInput_1.default, { label: label && required ? label + " *" : label, notched: true, endAdornment: children, sx: {
22
+ return ((0, jsx_runtime_1.jsxs)(react_1.default.Fragment, { children: [(0, jsx_runtime_1.jsxs)(FormControl_1.default, { fullWidth: fullWidth, ...rest, children: [label && ((0, jsx_runtime_1.jsx)(InputLabel_1.default, { required: required, variant: "outlined", shrink: true, children: label })), (0, jsx_runtime_1.jsx)(OutlinedInput_1.default, { label: label && required ? label + " *" : label, notched: true, endAdornment: children, sx: {
21
23
  cursor: "default",
22
24
  display: "flex",
23
25
  flexWrap: "wrap",
@@ -28,5 +30,5 @@ function FieldSetEx(props) {
28
30
  "& input": {
29
31
  display: "none"
30
32
  }
31
- } })] }), helperText && ((0, jsx_runtime_1.jsx)(material_1.FormHelperText, { sx: { marginLeft: 2, marginRight: 2 }, children: helperText }))] }));
33
+ } })] }), helperText && ((0, jsx_runtime_1.jsx)(FormHelperText_1.default, { sx: { marginLeft: 2, marginRight: 2 }, children: helperText }))] }));
32
34
  }
@@ -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,8 +1,11 @@
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.FileUploadButton = FileUploadButton;
4
7
  const jsx_runtime_1 = require("react/jsx-runtime");
5
- const material_1 = require("@mui/material");
8
+ const Button_1 = __importDefault(require("@mui/material/Button"));
6
9
  /**
7
10
  * File upload button
8
11
  * @param props Props
@@ -13,7 +16,7 @@ function FileUploadButton(props) {
13
16
  const { maxFiles, maxFileSize, inputProps, onFileInvalid, onUploadFiles, children, ...rest } = props;
14
17
  const { onChange } = inputProps ?? {};
15
18
  // Layout
16
- return ((0, jsx_runtime_1.jsxs)(material_1.Button, { component: "label", ...rest, children: [children, (0, jsx_runtime_1.jsx)("input", { type: "file", hidden: true, onChange: (event) => {
19
+ return ((0, jsx_runtime_1.jsxs)(Button_1.default, { component: "label", ...rest, children: [children, (0, jsx_runtime_1.jsx)("input", { type: "file", hidden: true, onChange: (event) => {
17
20
  if (onChange)
18
21
  onChange(event);
19
22
  if (event.isDefaultPrevented())
@@ -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,17 +1,20 @@
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.HBox = HBox;
4
7
  exports.HBoxList = HBoxList;
5
8
  exports.VBox = VBox;
6
9
  const jsx_runtime_1 = require("react/jsx-runtime");
7
- const material_1 = require("@mui/material");
10
+ const Stack_1 = __importDefault(require("@mui/material/Stack"));
8
11
  /**
9
12
  * Horizonal box
10
13
  * @param props Props
11
14
  * @returns Component
12
15
  */
13
16
  function HBox(props) {
14
- return (0, jsx_runtime_1.jsx)(material_1.Stack, { direction: "row", width: "100%", ...props });
17
+ return (0, jsx_runtime_1.jsx)(Stack_1.default, { direction: "row", width: "100%", ...props });
15
18
  }
16
19
  /**
17
20
  * Horizonal box with list items
@@ -19,7 +22,7 @@ function HBox(props) {
19
22
  * @returns Component
20
23
  */
21
24
  function HBoxList(props) {
22
- return ((0, jsx_runtime_1.jsx)(material_1.Stack, { spacing: 1, gap: 1, direction: "row", flexWrap: "wrap", width: "100%", ...props }));
25
+ return ((0, jsx_runtime_1.jsx)(Stack_1.default, { spacing: 1, gap: 1, direction: "row", flexWrap: "wrap", width: "100%", ...props }));
23
26
  }
24
27
  /**
25
28
  * Vertial box
@@ -27,5 +30,5 @@ function HBoxList(props) {
27
30
  * @returns Component
28
31
  */
29
32
  function VBox(props) {
30
- return (0, jsx_runtime_1.jsx)(material_1.Stack, { direction: "column", ...props });
33
+ return (0, jsx_runtime_1.jsx)(Stack_1.default, { direction: "column", ...props });
31
34
  }
@@ -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
  */
@@ -5,9 +5,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.HiSelector = HiSelector;
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 SelectEx_1 = require("./SelectEx");
10
+ const Grid_1 = __importDefault(require("@mui/material/Grid"));
11
+ const FormLabel_1 = __importDefault(require("@mui/material/FormLabel"));
11
12
  /**
12
13
  * Hierarchy selector
13
14
  * @param props Prop
@@ -45,5 +46,5 @@ function HiSelector(props) {
45
46
  react_1.default.useEffect(() => {
46
47
  updateValue(currentValue);
47
48
  }, [currentValue]);
48
- 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 }) })), (0, jsx_runtime_1.jsx)("input", { type: "hidden", name: name, value: `${currentValue ?? ""}` }), (0, jsx_runtime_1.jsx)(material_1.Grid2, { size: breakPoints, children: (0, jsx_runtime_1.jsx)(SelectEx_1.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 && ((0, jsx_runtime_1.jsx)(material_1.Grid2, { size: breakPoints, children: (0, jsx_runtime_1.jsx)(SelectEx_1.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 && ((0, jsx_runtime_1.jsx)(material_1.Grid2, { size: breakPoints, children: (0, jsx_runtime_1.jsx)(SelectEx_1.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 && ((0, jsx_runtime_1.jsx)(material_1.Grid2, { size: breakPoints, children: (0, jsx_runtime_1.jsx)(SelectEx_1.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]}`) }))] }));
49
+ 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 }) })), (0, jsx_runtime_1.jsx)("input", { type: "hidden", name: name, value: `${currentValue ?? ""}` }), (0, jsx_runtime_1.jsx)(Grid_1.default, { size: breakPoints, children: (0, jsx_runtime_1.jsx)(SelectEx_1.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 && ((0, jsx_runtime_1.jsx)(Grid_1.default, { size: breakPoints, children: (0, jsx_runtime_1.jsx)(SelectEx_1.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 && ((0, jsx_runtime_1.jsx)(Grid_1.default, { size: breakPoints, children: (0, jsx_runtime_1.jsx)(SelectEx_1.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 && ((0, jsx_runtime_1.jsx)(Grid_1.default, { size: breakPoints, children: (0, jsx_runtime_1.jsx)(SelectEx_1.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]}`) }))] }));
49
50
  }
@@ -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
  */
@@ -5,9 +5,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.HiSelectorTL = HiSelectorTL;
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 Tiplist_1 = require("./Tiplist");
10
+ const Grid_1 = __importDefault(require("@mui/material/Grid"));
11
+ const FormLabel_1 = __importDefault(require("@mui/material/FormLabel"));
11
12
  /**
12
13
  * Hierarchy tiplist selector
13
14
  * @param props Prop
@@ -39,5 +40,5 @@ function HiSelectorTL(props) {
39
40
  react_1.default.useEffect(() => {
40
41
  updateValue(currentValue);
41
42
  }, [currentValue]);
42
- 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 }) })), (0, jsx_runtime_1.jsx)("input", { type: "hidden", name: name, value: `${currentValue ?? ""}` }), (0, jsx_runtime_1.jsx)(material_1.Grid2, { size: breakPoints, children: (0, jsx_runtime_1.jsx)(Tiplist_1.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 && ((0, jsx_runtime_1.jsx)(material_1.Grid2, { size: breakPoints, children: (0, jsx_runtime_1.jsx)(Tiplist_1.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 && ((0, jsx_runtime_1.jsx)(material_1.Grid2, { size: breakPoints, children: (0, jsx_runtime_1.jsx)(Tiplist_1.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 && ((0, jsx_runtime_1.jsx)(material_1.Grid2, { size: breakPoints, children: (0, jsx_runtime_1.jsx)(Tiplist_1.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]}`) }))] }));
43
+ 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 }) })), (0, jsx_runtime_1.jsx)("input", { type: "hidden", name: name, value: `${currentValue ?? ""}` }), (0, jsx_runtime_1.jsx)(Grid_1.default, { size: breakPoints, children: (0, jsx_runtime_1.jsx)(Tiplist_1.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 && ((0, jsx_runtime_1.jsx)(Grid_1.default, { size: breakPoints, children: (0, jsx_runtime_1.jsx)(Tiplist_1.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 && ((0, jsx_runtime_1.jsx)(Grid_1.default, { size: breakPoints, children: (0, jsx_runtime_1.jsx)(Tiplist_1.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 && ((0, jsx_runtime_1.jsx)(Grid_1.default, { size: breakPoints, children: (0, jsx_runtime_1.jsx)(Tiplist_1.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]}`) }))] }));
43
44
  }
@@ -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,8 +1,11 @@
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.IconButtonLink = IconButtonLink;
4
7
  const jsx_runtime_1 = require("react/jsx-runtime");
5
- const material_1 = require("@mui/material");
8
+ const IconButton_1 = __importDefault(require("@mui/material/IconButton"));
6
9
  const react_router_1 = require("react-router");
7
10
  /**
8
11
  * IconButtonLink
@@ -15,5 +18,5 @@ function IconButtonLink(props) {
15
18
  // Navigate
16
19
  const navigate = (0, react_router_1.useNavigate)();
17
20
  // Layout
18
- return (0, jsx_runtime_1.jsx)(material_1.IconButton, { ...rest, onClick: () => navigate(href, { state }) });
21
+ return (0, jsx_runtime_1.jsx)(IconButton_1.default, { ...rest, onClick: () => navigate(href, { state }) });
19
22
  }
@@ -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
  */
@@ -26,7 +26,7 @@ export type InputFieldProps = TextFieldProps & {
26
26
  * @param props Props
27
27
  * @returns Component
28
28
  */
29
- export declare const InputField: React.ForwardRefExoticComponent<(Omit<import("@mui/material").StandardTextFieldProps & {
29
+ export declare const InputField: React.ForwardRefExoticComponent<(Omit<import("@mui/material/TextField").StandardTextFieldProps & {
30
30
  /**
31
31
  * Change delay (ms) to avoid repeatly dispatch onChange
32
32
  */
@@ -43,7 +43,7 @@ export declare const InputField: React.ForwardRefExoticComponent<(Omit<import("@
43
43
  * Minimum characters to trigger the change event
44
44
  */
45
45
  minChars?: number;
46
- }, "ref"> | Omit<import("@mui/material").OutlinedTextFieldProps & {
46
+ }, "ref"> | Omit<import("@mui/material/TextField").OutlinedTextFieldProps & {
47
47
  /**
48
48
  * Change delay (ms) to avoid repeatly dispatch onChange
49
49
  */
@@ -60,7 +60,7 @@ export declare const InputField: React.ForwardRefExoticComponent<(Omit<import("@
60
60
  * Minimum characters to trigger the change event
61
61
  */
62
62
  minChars?: number;
63
- }, "ref"> | Omit<import("@mui/material").FilledTextFieldProps & {
63
+ }, "ref"> | Omit<import("@mui/material/TextField").FilledTextFieldProps & {
64
64
  /**
65
65
  * Change delay (ms) to avoid repeatly dispatch onChange
66
66
  */
@@ -6,9 +6,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.InputField = void 0;
7
7
  const jsx_runtime_1 = require("react/jsx-runtime");
8
8
  const react_1 = require("@etsoo/react");
9
- const material_1 = require("@mui/material");
10
9
  const react_2 = __importDefault(require("react"));
11
10
  const MUGlobal_1 = require("./MUGlobal");
11
+ const TextField_1 = __importDefault(require("@mui/material/TextField"));
12
12
  /**
13
13
  * Input field
14
14
  * @param props Props
@@ -54,5 +54,5 @@ exports.InputField = react_2.default.forwardRef((props, ref) => {
54
54
  };
55
55
  }, []);
56
56
  // Layout
57
- return ((0, jsx_runtime_1.jsx)(material_1.TextField, { ref: ref, InputLabelProps: InputLabelProps, InputProps: InputProps, inputProps: inputProps, onChange: onChangeEx, size: size, variant: variant, ...rest }));
57
+ return ((0, jsx_runtime_1.jsx)(TextField_1.default, { ref: ref, InputLabelProps: InputLabelProps, InputProps: InputProps, inputProps: inputProps, onChange: onChangeEx, size: size, variant: variant, ...rest }));
58
58
  });
@@ -5,11 +5,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.InputTipField = InputTipField;
7
7
  const jsx_runtime_1 = require("react/jsx-runtime");
8
- const material_1 = require("@mui/material");
9
8
  const Typography_1 = __importDefault(require("@mui/material/Typography"));
10
9
  const react_1 = __importDefault(require("react"));
11
10
  const InputField_1 = require("./InputField");
12
11
  const ReactApp_1 = require("./app/ReactApp");
12
+ const ListItem_1 = __importDefault(require("@mui/material/ListItem"));
13
+ const Popover_1 = __importDefault(require("@mui/material/Popover"));
14
+ const List_1 = __importDefault(require("@mui/material/List"));
15
+ const InputAdornment_1 = __importDefault(require("@mui/material/InputAdornment"));
13
16
  /**
14
17
  * InputField with tips
15
18
  * @param props Props
@@ -26,7 +29,7 @@ function InputTipField(props) {
26
29
  const { labelProps = {
27
30
  title: app?.get("clickForDetails"),
28
31
  sx: { color: (theme) => theme.palette.error.main, cursor: "pointer" }
29
- }, changeDelay = 480, onChangeDelay, loadData, itemLabel = (item) => item.label, renderItem = (item) => (0, jsx_runtime_1.jsx)(material_1.ListItem, { children: itemLabel(item) }, item.id), slotProps = {}, ...rest } = props;
32
+ }, changeDelay = 480, onChangeDelay, loadData, itemLabel = (item) => item.label, renderItem = (item) => (0, jsx_runtime_1.jsx)(ListItem_1.default, { children: itemLabel(item) }, item.id), slotProps = {}, ...rest } = props;
30
33
  const { input, ...slotRests } = slotProps;
31
34
  const load = (value) => {
32
35
  if (value.length < 2) {
@@ -38,16 +41,16 @@ function InputTipField(props) {
38
41
  setTitle(title);
39
42
  });
40
43
  };
41
- return ((0, jsx_runtime_1.jsxs)(react_1.default.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.Popover, { open: anchorEl != null, anchorEl: anchorEl, onClose: () => setAnchorEl(undefined), anchorOrigin: {
44
+ return ((0, jsx_runtime_1.jsxs)(react_1.default.Fragment, { children: [(0, jsx_runtime_1.jsx)(Popover_1.default, { open: anchorEl != null, anchorEl: anchorEl, onClose: () => setAnchorEl(undefined), anchorOrigin: {
42
45
  vertical: "bottom",
43
46
  horizontal: "left"
44
- }, children: data && (0, jsx_runtime_1.jsx)(material_1.List, { children: data.map((item) => renderItem(item)) }) }), (0, jsx_runtime_1.jsx)(InputField_1.InputField, { changeDelay: changeDelay, onChangeDelay: (event) => {
47
+ }, children: data && (0, jsx_runtime_1.jsx)(List_1.default, { children: data.map((item) => renderItem(item)) }) }), (0, jsx_runtime_1.jsx)(InputField_1.InputField, { changeDelay: changeDelay, onChangeDelay: (event) => {
45
48
  load(event.target.value);
46
49
  if (onChangeDelay)
47
50
  onChangeDelay(event);
48
51
  }, slotProps: {
49
52
  input: {
50
- endAdornment: title ? ((0, jsx_runtime_1.jsx)(material_1.InputAdornment, { position: "end", children: (0, jsx_runtime_1.jsx)(Typography_1.default, { onClick: (event) => {
53
+ endAdornment: title ? ((0, jsx_runtime_1.jsx)(InputAdornment_1.default, { position: "end", children: (0, jsx_runtime_1.jsx)(Typography_1.default, { onClick: (event) => {
51
54
  setAnchorEl(event.currentTarget);
52
55
  }, ...labelProps, children: title }) })) : undefined,
53
56
  ...input
@@ -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
  */
@@ -5,12 +5,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.IntInputField = void 0;
7
7
  const jsx_runtime_1 = require("react/jsx-runtime");
8
- const material_1 = require("@mui/material");
9
8
  const Add_1 = __importDefault(require("@mui/icons-material/Add"));
10
9
  const Remove_1 = __importDefault(require("@mui/icons-material/Remove"));
11
10
  const react_1 = __importDefault(require("react"));
12
11
  const shared_1 = require("@etsoo/shared");
13
12
  const InputField_1 = require("./InputField");
13
+ const Box_1 = __importDefault(require("@mui/material/Box"));
14
+ const InputAdornment_1 = __importDefault(require("@mui/material/InputAdornment"));
15
+ const IconButton_1 = __importDefault(require("@mui/material/IconButton"));
14
16
  /**
15
17
  * Integer input field (controlled)
16
18
  */
@@ -48,8 +50,8 @@ exports.IntInputField = react_1.default.forwardRef((props, ref) => {
48
50
  style: inputStyle,
49
51
  inputMode: "numeric"
50
52
  }, InputProps: {
51
- startAdornment: symbol ? ((0, jsx_runtime_1.jsx)(react_1.default.Fragment, { children: (0, jsx_runtime_1.jsx)(material_1.InputAdornment, { position: "start", children: symbol }) })) : undefined,
52
- endAdornment: endSymbol ? ((0, jsx_runtime_1.jsx)(material_1.InputAdornment, { position: "end", children: endSymbol })) : undefined
53
+ startAdornment: symbol ? ((0, jsx_runtime_1.jsx)(react_1.default.Fragment, { children: (0, jsx_runtime_1.jsx)(InputAdornment_1.default, { position: "start", children: symbol }) })) : undefined,
54
+ endAdornment: endSymbol ? ((0, jsx_runtime_1.jsx)(InputAdornment_1.default, { position: "end", children: endSymbol })) : undefined
53
55
  }, sx: buttons
54
56
  ? {
55
57
  "& input[type=number]::-webkit-inner-spin-button": {
@@ -82,13 +84,13 @@ exports.IntInputField = react_1.default.forwardRef((props, ref) => {
82
84
  onChangeDelay(event);
83
85
  }, onFocus: onFocus, required: required, ...rest }));
84
86
  if (buttons)
85
- return ((0, jsx_runtime_1.jsxs)(material_1.Box, { sx: {
87
+ return ((0, jsx_runtime_1.jsxs)(Box_1.default, { sx: {
86
88
  display: "flex",
87
89
  alignItems: "center",
88
90
  width: "100%",
89
91
  gap: 0.5,
90
92
  ...boxProps
91
- }, children: [(0, jsx_runtime_1.jsx)(material_1.IconButton, { size: "small", onClick: () => {
93
+ }, children: [(0, jsx_runtime_1.jsx)(IconButton_1.default, { size: "small", onClick: () => {
92
94
  if (localValue == null)
93
95
  return;
94
96
  const value = shared_1.NumberUtils.parse(localValue);
@@ -98,7 +100,7 @@ exports.IntInputField = react_1.default.forwardRef((props, ref) => {
98
100
  setValue(undefined, "SUB");
99
101
  else
100
102
  setValue(value - step, "SUB");
101
- }, children: (0, jsx_runtime_1.jsx)(Remove_1.default, {}) }), layout, (0, jsx_runtime_1.jsx)(material_1.IconButton, { size: "small", onClick: () => {
103
+ }, children: (0, jsx_runtime_1.jsx)(Remove_1.default, {}) }), layout, (0, jsx_runtime_1.jsx)(IconButton_1.default, { size: "small", onClick: () => {
102
104
  if (localValue == null) {
103
105
  setValue(min, "ADD");
104
106
  return;
@@ -6,8 +6,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ItemList = ItemList;
7
7
  const jsx_runtime_1 = require("react/jsx-runtime");
8
8
  const react_1 = __importDefault(require("react"));
9
- const material_1 = require("@mui/material");
10
9
  const shared_1 = require("@etsoo/shared");
10
+ const Button_1 = __importDefault(require("@mui/material/Button"));
11
+ const Dialog_1 = __importDefault(require("@mui/material/Dialog"));
12
+ const DialogTitle_1 = __importDefault(require("@mui/material/DialogTitle"));
13
+ const DialogContent_1 = __importDefault(require("@mui/material/DialogContent"));
14
+ const List_1 = __importDefault(require("@mui/material/List"));
15
+ const ListItemButton_1 = __importDefault(require("@mui/material/ListItemButton"));
16
+ const ListItemText_1 = __importDefault(require("@mui/material/ListItemText"));
11
17
  /**
12
18
  * Item list component
13
19
  * @param props Properties
@@ -63,9 +69,9 @@ function ItemList(props) {
63
69
  onClose(item, true);
64
70
  }
65
71
  };
66
- return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.Button, { className: className, variant: variant, startIcon: icon, color: color, size: size, onClick: clickHandler, children: buttonLabel ?? (currentItem ? getLabel(currentItem) : undefined) }), (0, jsx_runtime_1.jsxs)(material_1.Dialog, { "aria-labelledby": "dialog-title", open: open, onClose: closeHandler, children: [title && (0, jsx_runtime_1.jsx)(material_1.DialogTitle, { id: "dialog-title", children: title }), (0, jsx_runtime_1.jsx)(material_1.DialogContent, { sx: { minWidth }, children: (0, jsx_runtime_1.jsx)(material_1.List, { children: items.map((item) => {
72
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(Button_1.default, { className: className, variant: variant, startIcon: icon, color: color, size: size, onClick: clickHandler, children: buttonLabel ?? (currentItem ? getLabel(currentItem) : undefined) }), (0, jsx_runtime_1.jsxs)(Dialog_1.default, { "aria-labelledby": "dialog-title", open: open, onClose: closeHandler, children: [title && (0, jsx_runtime_1.jsx)(DialogTitle_1.default, { id: "dialog-title", children: title }), (0, jsx_runtime_1.jsx)(DialogContent_1.default, { sx: { minWidth }, children: (0, jsx_runtime_1.jsx)(List_1.default, { children: items.map((item) => {
67
73
  const id = item[idField];
68
- return ((0, jsx_runtime_1.jsx)(material_1.ListItemButton, { disabled: id === (currentItem ? currentItem[idField] : undefined) &&
69
- !keepClick, onClick: () => closeItemHandler(item), children: (0, jsx_runtime_1.jsx)(material_1.ListItemText, { children: getLabel(item) }) }, id));
74
+ return ((0, jsx_runtime_1.jsx)(ListItemButton_1.default, { disabled: id === (currentItem ? currentItem[idField] : undefined) &&
75
+ !keepClick, onClick: () => closeItemHandler(item), children: (0, jsx_runtime_1.jsx)(ListItemText_1.default, { children: getLabel(item) }) }, id));
70
76
  }) }) })] })] }));
71
77
  }