@etsoo/materialui 1.5.1 → 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 (425) 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/GridDataFormat.js +3 -0
  45. package/lib/cjs/HiSelector.d.ts +2 -1
  46. package/lib/cjs/HiSelector.js +3 -2
  47. package/lib/cjs/HiSelectorTL.d.ts +2 -1
  48. package/lib/cjs/HiSelectorTL.js +3 -2
  49. package/lib/cjs/IconButtonLink.d.ts +1 -1
  50. package/lib/cjs/IconButtonLink.js +5 -2
  51. package/lib/cjs/InputField.d.ts +4 -4
  52. package/lib/cjs/InputField.js +2 -2
  53. package/lib/cjs/InputTipField.js +8 -5
  54. package/lib/cjs/IntInputField.d.ts +1 -1
  55. package/lib/cjs/IntInputField.js +8 -6
  56. package/lib/cjs/ItemList.js +10 -4
  57. package/lib/cjs/LineChart.js +2 -2
  58. package/lib/cjs/ListChooser.d.ts +2 -1
  59. package/lib/cjs/ListChooser.js +8 -4
  60. package/lib/cjs/ListItemRightIcon.d.ts +1 -1
  61. package/lib/cjs/ListItemRightIcon.js +6 -2
  62. package/lib/cjs/ListMoreDisplay.d.ts +1 -1
  63. package/lib/cjs/ListMoreDisplay.js +7 -3
  64. package/lib/cjs/LoadingButton.d.ts +2 -1
  65. package/lib/cjs/LoadingButton.js +4 -3
  66. package/lib/cjs/MUGlobal.d.ts +2 -1
  67. package/lib/cjs/MaskInput.d.ts +1 -1
  68. package/lib/cjs/MaskInput.js +2 -2
  69. package/lib/cjs/MenuButton.d.ts +2 -1
  70. package/lib/cjs/MenuButton.js +5 -3
  71. package/lib/cjs/MobileListItemRenderer.js +14 -5
  72. package/lib/cjs/MoreFab.d.ts +2 -1
  73. package/lib/cjs/MoreFab.js +10 -4
  74. package/lib/cjs/NotifierMU.js +45 -22
  75. package/lib/cjs/NotifierPopupProps.d.ts +1 -1
  76. package/lib/cjs/NumberInputField.js +15 -13
  77. package/lib/cjs/OptionGroup.d.ts +1 -1
  78. package/lib/cjs/OptionGroup.js +15 -7
  79. package/lib/cjs/OptionGroupFlag.d.ts +1 -1
  80. package/lib/cjs/OptionGroupFlag.js +12 -6
  81. package/lib/cjs/PercentCircularProgress.d.ts +2 -1
  82. package/lib/cjs/PercentCircularProgress.js +8 -3
  83. package/lib/cjs/PercentLinearProgress.d.ts +2 -1
  84. package/lib/cjs/PercentLinearProgress.js +7 -2
  85. package/lib/cjs/ProgressCount.js +7 -4
  86. package/lib/cjs/QuickList.d.ts +3 -1
  87. package/lib/cjs/QuickList.js +6 -2
  88. package/lib/cjs/ResponsibleContainer.d.ts +1 -1
  89. package/lib/cjs/ResponsibleContainer.js +8 -6
  90. package/lib/cjs/ResponsiveStyleValue.d.ts +1 -1
  91. package/lib/cjs/ScrollTopFab.js +5 -3
  92. package/lib/cjs/ScrollerListEx.js +2 -2
  93. package/lib/cjs/SearchBar.js +9 -5
  94. package/lib/cjs/SearchField.d.ts +1 -1
  95. package/lib/cjs/SearchField.js +2 -2
  96. package/lib/cjs/SelectEx.d.ts +1 -1
  97. package/lib/cjs/SelectEx.js +18 -9
  98. package/lib/cjs/ShowDataComparison.js +9 -2
  99. package/lib/cjs/Switch.d.ts +1 -1
  100. package/lib/cjs/Switch.js +2 -2
  101. package/lib/cjs/SwitchAnt.js +5 -4
  102. package/lib/cjs/SwitchField.d.ts +1 -1
  103. package/lib/cjs/SwitchField.js +6 -3
  104. package/lib/cjs/TabBox.d.ts +3 -1
  105. package/lib/cjs/TabBox.js +5 -3
  106. package/lib/cjs/TableEx.d.ts +1 -1
  107. package/lib/cjs/TableEx.js +20 -10
  108. package/lib/cjs/TagList.d.ts +1 -1
  109. package/lib/cjs/TagList.js +5 -3
  110. package/lib/cjs/TagListPro.d.ts +1 -1
  111. package/lib/cjs/TagListPro.js +5 -3
  112. package/lib/cjs/TextFieldEx.d.ts +4 -4
  113. package/lib/cjs/TextFieldEx.js +7 -4
  114. package/lib/cjs/Tiplist.js +2 -2
  115. package/lib/cjs/TiplistPro.d.ts +1 -1
  116. package/lib/cjs/TiplistPro.js +2 -2
  117. package/lib/cjs/TooltipClick.d.ts +1 -1
  118. package/lib/cjs/TooltipClick.js +3 -2
  119. package/lib/cjs/TwoFieldInput.js +4 -3
  120. package/lib/cjs/UserAvatar.js +5 -2
  121. package/lib/cjs/UserAvatarEditor.js +8 -3
  122. package/lib/cjs/ViewContainer.d.ts +5 -4
  123. package/lib/cjs/ViewContainer.js +6 -3
  124. package/lib/cjs/custom/CustomFieldUtils.d.ts +1 -1
  125. package/lib/cjs/custom/CustomFieldUtils.js +5 -4
  126. package/lib/cjs/custom/CustomFieldViewer.d.ts +3 -2
  127. package/lib/cjs/custom/CustomFieldViewer.js +7 -3
  128. package/lib/cjs/custom/CustomFieldWindow.d.ts +2 -2
  129. package/lib/cjs/custom/CustomFieldWindow.js +3 -2
  130. package/lib/cjs/custom/FieldAmountLabel.js +3 -2
  131. package/lib/cjs/custom/FieldCheckbox.js +2 -2
  132. package/lib/cjs/custom/FieldCombobox.js +2 -2
  133. package/lib/cjs/custom/FieldDateInput.js +2 -2
  134. package/lib/cjs/custom/FieldDivider.js +2 -2
  135. package/lib/cjs/custom/FieldInput.js +2 -2
  136. package/lib/cjs/custom/FieldJson.js +2 -2
  137. package/lib/cjs/custom/FieldNumberInput.js +2 -2
  138. package/lib/cjs/custom/FieldRadio.js +2 -2
  139. package/lib/cjs/custom/FieldSelect.js +2 -2
  140. package/lib/cjs/custom/FieldSwitch.js +2 -2
  141. package/lib/cjs/custom/FieldTexarea.js +2 -2
  142. package/lib/cjs/pages/CommonPage.d.ts +2 -1
  143. package/lib/cjs/pages/CommonPage.js +6 -4
  144. package/lib/cjs/pages/DataGridPage.js +3 -2
  145. package/lib/cjs/pages/DrawerHeader.d.ts +1 -1
  146. package/lib/cjs/pages/DrawerHeader.js +2 -2
  147. package/lib/cjs/pages/EditPage.js +4 -3
  148. package/lib/cjs/pages/FixedListPage.js +4 -3
  149. package/lib/cjs/pages/LeftDrawer.js +8 -3
  150. package/lib/cjs/pages/ListPage.js +3 -2
  151. package/lib/cjs/pages/TablePage.js +3 -2
  152. package/lib/cjs/pages/UserMenu.js +3 -2
  153. package/lib/cjs/pages/ViewPage.js +4 -3
  154. package/lib/cjs/texts/DateText.d.ts +1 -1
  155. package/lib/cjs/texts/DateText.js +5 -2
  156. package/lib/cjs/texts/MoneyText.js +5 -2
  157. package/lib/cjs/texts/NumberText.d.ts +1 -1
  158. package/lib/cjs/texts/NumberText.js +5 -2
  159. package/lib/cjs/useCurrentBreakpoint.d.ts +1 -1
  160. package/lib/cjs/useCurrentBreakpoint.js +11 -7
  161. package/lib/mjs/AddresSelector.d.ts +1 -1
  162. package/lib/mjs/AddresSelector.js +4 -3
  163. package/lib/mjs/AuditDisplay.d.ts +1 -1
  164. package/lib/mjs/AuditDisplay.js +4 -1
  165. package/lib/mjs/AutocompleteExtendedProps.d.ts +1 -1
  166. package/lib/mjs/BackButton.d.ts +1 -1
  167. package/lib/mjs/BackButton.js +2 -1
  168. package/lib/mjs/BridgeCloseButton.d.ts +2 -1
  169. package/lib/mjs/BridgeCloseButton.js +2 -1
  170. package/lib/mjs/ButtonLink.d.ts +1 -1
  171. package/lib/mjs/ButtonLink.js +2 -2
  172. package/lib/mjs/ButtonPopover.d.ts +1 -1
  173. package/lib/mjs/ButtonPopover.js +1 -1
  174. package/lib/mjs/ComboBox.js +4 -2
  175. package/lib/mjs/ComboBoxMultiple.js +2 -1
  176. package/lib/mjs/ComboBoxPro.d.ts +1 -1
  177. package/lib/mjs/ComboBoxPro.js +1 -1
  178. package/lib/mjs/CountdownButton.d.ts +1 -1
  179. package/lib/mjs/CountdownButton.js +2 -1
  180. package/lib/mjs/DataGridEx.js +5 -1
  181. package/lib/mjs/DataGridRenderers.js +1 -1
  182. package/lib/mjs/DataSteps.d.ts +1 -1
  183. package/lib/mjs/DataSteps.js +4 -1
  184. package/lib/mjs/DataTable.d.ts +1 -1
  185. package/lib/mjs/DataTable.js +1 -1
  186. package/lib/mjs/DialogButton.d.ts +2 -1
  187. package/lib/mjs/DialogButton.js +7 -1
  188. package/lib/mjs/DnDList.d.ts +2 -2
  189. package/lib/mjs/DnDList.js +2 -1
  190. package/lib/mjs/DraggablePaperComponent.d.ts +1 -1
  191. package/lib/mjs/DraggablePaperComponent.js +1 -1
  192. package/lib/mjs/EmailInput.d.ts +1 -1
  193. package/lib/mjs/EmailInput.js +4 -6
  194. package/lib/mjs/ErrorAlert.d.ts +1 -1
  195. package/lib/mjs/ErrorAlert.js +1 -1
  196. package/lib/mjs/FabBox.d.ts +2 -1
  197. package/lib/mjs/FabBox.js +3 -1
  198. package/lib/mjs/FieldSetEx.d.ts +1 -1
  199. package/lib/mjs/FieldSetEx.js +3 -1
  200. package/lib/mjs/FileUploadButton.d.ts +1 -1
  201. package/lib/mjs/FileUploadButton.js +1 -1
  202. package/lib/mjs/FlexBox.d.ts +1 -1
  203. package/lib/mjs/FlexBox.js +1 -1
  204. package/lib/mjs/GridDataFormat.js +3 -0
  205. package/lib/mjs/HiSelector.d.ts +2 -1
  206. package/lib/mjs/HiSelector.js +3 -2
  207. package/lib/mjs/HiSelectorTL.d.ts +2 -1
  208. package/lib/mjs/HiSelectorTL.js +3 -2
  209. package/lib/mjs/IconButtonLink.d.ts +1 -1
  210. package/lib/mjs/IconButtonLink.js +1 -1
  211. package/lib/mjs/InputField.d.ts +1 -1
  212. package/lib/mjs/InputField.js +1 -1
  213. package/lib/mjs/InputTipField.js +4 -1
  214. package/lib/mjs/IntInputField.d.ts +1 -1
  215. package/lib/mjs/IntInputField.js +3 -1
  216. package/lib/mjs/ItemList.js +7 -1
  217. package/lib/mjs/LineChart.js +1 -1
  218. package/lib/mjs/ListChooser.d.ts +2 -1
  219. package/lib/mjs/ListChooser.js +6 -2
  220. package/lib/mjs/ListItemRightIcon.d.ts +1 -1
  221. package/lib/mjs/ListItemRightIcon.js +2 -1
  222. package/lib/mjs/ListMoreDisplay.d.ts +1 -1
  223. package/lib/mjs/ListMoreDisplay.js +5 -1
  224. package/lib/mjs/LoadingButton.d.ts +2 -1
  225. package/lib/mjs/LoadingButton.js +2 -1
  226. package/lib/mjs/MUGlobal.d.ts +2 -1
  227. package/lib/mjs/MaskInput.d.ts +1 -1
  228. package/lib/mjs/MaskInput.js +1 -1
  229. package/lib/mjs/MenuButton.d.ts +2 -1
  230. package/lib/mjs/MenuButton.js +3 -1
  231. package/lib/mjs/MobileListItemRenderer.js +8 -2
  232. package/lib/mjs/MoreFab.d.ts +2 -1
  233. package/lib/mjs/MoreFab.js +7 -1
  234. package/lib/mjs/NotifierMU.js +32 -9
  235. package/lib/mjs/NotifierPopupProps.d.ts +1 -1
  236. package/lib/mjs/NumberInputField.js +15 -13
  237. package/lib/mjs/OptionGroup.d.ts +1 -1
  238. package/lib/mjs/OptionGroup.js +9 -1
  239. package/lib/mjs/OptionGroupFlag.d.ts +1 -1
  240. package/lib/mjs/OptionGroupFlag.js +7 -1
  241. package/lib/mjs/PercentCircularProgress.d.ts +2 -1
  242. package/lib/mjs/PercentCircularProgress.js +3 -1
  243. package/lib/mjs/PercentLinearProgress.d.ts +2 -1
  244. package/lib/mjs/PercentLinearProgress.js +3 -1
  245. package/lib/mjs/ProgressCount.js +4 -1
  246. package/lib/mjs/QuickList.d.ts +3 -1
  247. package/lib/mjs/QuickList.js +5 -1
  248. package/lib/mjs/ResponsibleContainer.d.ts +1 -1
  249. package/lib/mjs/ResponsibleContainer.js +3 -1
  250. package/lib/mjs/ResponsiveStyleValue.d.ts +1 -1
  251. package/lib/mjs/ScrollTopFab.js +3 -1
  252. package/lib/mjs/ScrollerListEx.js +1 -1
  253. package/lib/mjs/SearchBar.js +5 -1
  254. package/lib/mjs/SearchField.d.ts +1 -1
  255. package/lib/mjs/SearchField.js +1 -1
  256. package/lib/mjs/SelectEx.d.ts +1 -1
  257. package/lib/mjs/SelectEx.js +11 -2
  258. package/lib/mjs/ShowDataComparison.js +5 -1
  259. package/lib/mjs/Switch.d.ts +1 -1
  260. package/lib/mjs/Switch.js +1 -1
  261. package/lib/mjs/SwitchAnt.js +3 -2
  262. package/lib/mjs/SwitchField.d.ts +1 -1
  263. package/lib/mjs/SwitchField.js +4 -1
  264. package/lib/mjs/TabBox.d.ts +3 -1
  265. package/lib/mjs/TabBox.js +3 -1
  266. package/lib/mjs/TableEx.d.ts +1 -1
  267. package/lib/mjs/TableEx.js +11 -1
  268. package/lib/mjs/TagList.d.ts +1 -1
  269. package/lib/mjs/TagList.js +3 -1
  270. package/lib/mjs/TagListPro.d.ts +1 -1
  271. package/lib/mjs/TagListPro.js +3 -1
  272. package/lib/mjs/TextFieldEx.d.ts +1 -1
  273. package/lib/mjs/TextFieldEx.js +6 -3
  274. package/lib/mjs/Tiplist.js +1 -1
  275. package/lib/mjs/TiplistPro.d.ts +1 -1
  276. package/lib/mjs/TiplistPro.js +1 -1
  277. package/lib/mjs/TooltipClick.d.ts +1 -1
  278. package/lib/mjs/TooltipClick.js +2 -1
  279. package/lib/mjs/TwoFieldInput.js +2 -1
  280. package/lib/mjs/UserAvatar.js +1 -1
  281. package/lib/mjs/UserAvatarEditor.js +6 -1
  282. package/lib/mjs/ViewContainer.d.ts +5 -4
  283. package/lib/mjs/ViewContainer.js +6 -3
  284. package/lib/mjs/custom/CustomFieldUtils.d.ts +1 -1
  285. package/lib/mjs/custom/CustomFieldUtils.js +4 -3
  286. package/lib/mjs/custom/CustomFieldViewer.d.ts +3 -2
  287. package/lib/mjs/custom/CustomFieldViewer.js +4 -3
  288. package/lib/mjs/custom/CustomFieldWindow.d.ts +2 -2
  289. package/lib/mjs/custom/CustomFieldWindow.js +3 -2
  290. package/lib/mjs/custom/FieldAmountLabel.js +2 -1
  291. package/lib/mjs/custom/FieldCheckbox.js +1 -1
  292. package/lib/mjs/custom/FieldCombobox.js +1 -1
  293. package/lib/mjs/custom/FieldDateInput.js +1 -1
  294. package/lib/mjs/custom/FieldDivider.js +1 -1
  295. package/lib/mjs/custom/FieldInput.js +1 -1
  296. package/lib/mjs/custom/FieldJson.js +1 -1
  297. package/lib/mjs/custom/FieldNumberInput.js +1 -1
  298. package/lib/mjs/custom/FieldRadio.js +1 -1
  299. package/lib/mjs/custom/FieldSelect.js +1 -1
  300. package/lib/mjs/custom/FieldSwitch.js +1 -1
  301. package/lib/mjs/custom/FieldTexarea.js +1 -1
  302. package/lib/mjs/pages/CommonPage.d.ts +2 -1
  303. package/lib/mjs/pages/CommonPage.js +3 -1
  304. package/lib/mjs/pages/DataGridPage.js +2 -1
  305. package/lib/mjs/pages/DrawerHeader.js +1 -1
  306. package/lib/mjs/pages/EditPage.js +3 -2
  307. package/lib/mjs/pages/FixedListPage.js +2 -1
  308. package/lib/mjs/pages/LeftDrawer.js +6 -1
  309. package/lib/mjs/pages/ListPage.js +2 -1
  310. package/lib/mjs/pages/TablePage.js +2 -1
  311. package/lib/mjs/pages/UserMenu.js +2 -1
  312. package/lib/mjs/pages/ViewPage.js +2 -1
  313. package/lib/mjs/texts/DateText.d.ts +1 -1
  314. package/lib/mjs/texts/DateText.js +1 -1
  315. package/lib/mjs/texts/MoneyText.js +1 -1
  316. package/lib/mjs/texts/NumberText.d.ts +1 -1
  317. package/lib/mjs/texts/NumberText.js +1 -1
  318. package/lib/mjs/useCurrentBreakpoint.d.ts +1 -1
  319. package/lib/mjs/useCurrentBreakpoint.js +2 -1
  320. package/package.json +9 -9
  321. package/src/AddresSelector.tsx +12 -11
  322. package/src/AuditDisplay.tsx +4 -1
  323. package/src/AutocompleteExtendedProps.ts +1 -1
  324. package/src/BackButton.tsx +2 -1
  325. package/src/BridgeCloseButton.tsx +2 -1
  326. package/src/ButtonLink.tsx +3 -3
  327. package/src/ButtonPopover.tsx +1 -1
  328. package/src/ComboBox.tsx +6 -7
  329. package/src/ComboBoxMultiple.tsx +4 -6
  330. package/src/ComboBoxPro.tsx +1 -1
  331. package/src/CountdownButton.tsx +2 -1
  332. package/src/CultureDataTable.tsx +1 -1
  333. package/src/DataGridEx.tsx +5 -8
  334. package/src/DataGridRenderers.tsx +1 -1
  335. package/src/DataSteps.tsx +4 -7
  336. package/src/DataTable.tsx +4 -7
  337. package/src/DialogButton.tsx +8 -11
  338. package/src/DnDList.tsx +9 -10
  339. package/src/DraggablePaperComponent.tsx +1 -1
  340. package/src/EmailInput.tsx +4 -8
  341. package/src/ErrorAlert.tsx +1 -1
  342. package/src/FabBox.tsx +3 -1
  343. package/src/FieldSetEx.tsx +3 -6
  344. package/src/FileUploadButton.tsx +1 -1
  345. package/src/FlexBox.tsx +1 -1
  346. package/src/GridDataFormat.tsx +3 -0
  347. package/src/HiSelector.tsx +13 -11
  348. package/src/HiSelectorTL.tsx +16 -17
  349. package/src/IconButtonLink.tsx +1 -2
  350. package/src/InputField.tsx +1 -1
  351. package/src/InputTipField.tsx +4 -1
  352. package/src/IntInputField.tsx +3 -1
  353. package/src/ItemList.tsx +7 -9
  354. package/src/LineChart.tsx +1 -1
  355. package/src/ListChooser.tsx +8 -10
  356. package/src/ListItemRightIcon.tsx +2 -1
  357. package/src/ListMoreDisplay.tsx +5 -8
  358. package/src/LoadingButton.tsx +3 -5
  359. package/src/MUGlobal.ts +2 -1
  360. package/src/MaskInput.tsx +1 -1
  361. package/src/MenuButton.tsx +3 -1
  362. package/src/MobileListItemRenderer.tsx +8 -3
  363. package/src/MoreFab.tsx +9 -11
  364. package/src/NotifierMU.tsx +34 -34
  365. package/src/NotifierPopupProps.ts +1 -1
  366. package/src/NumberInputField.tsx +21 -20
  367. package/src/OptionGroup.tsx +9 -12
  368. package/src/OptionGroupFlag.tsx +7 -10
  369. package/src/PercentCircularProgress.tsx +5 -8
  370. package/src/PercentLinearProgress.tsx +5 -8
  371. package/src/ProgressCount.tsx +4 -6
  372. package/src/QuickList.tsx +8 -10
  373. package/src/ResponsibleContainer.tsx +4 -1
  374. package/src/ResponsiveStyleValue.ts +1 -1
  375. package/src/ScrollTopFab.tsx +3 -1
  376. package/src/ScrollerListEx.tsx +1 -1
  377. package/src/SearchBar.tsx +5 -8
  378. package/src/SearchField.tsx +1 -1
  379. package/src/SearchOptionGroup.tsx +0 -1
  380. package/src/SelectEx.tsx +11 -15
  381. package/src/ShowDataComparison.tsx +5 -7
  382. package/src/Switch.tsx +3 -1
  383. package/src/SwitchAnt.tsx +3 -2
  384. package/src/SwitchField.tsx +4 -7
  385. package/src/TabBox.tsx +3 -1
  386. package/src/TableEx.tsx +11 -15
  387. package/src/TagList.tsx +3 -1
  388. package/src/TagListPro.tsx +3 -1
  389. package/src/TextFieldEx.tsx +7 -9
  390. package/src/Tiplist.tsx +3 -1
  391. package/src/TiplistPro.tsx +1 -1
  392. package/src/TooltipClick.tsx +2 -1
  393. package/src/TwoFieldInput.tsx +2 -1
  394. package/src/UserAvatar.tsx +1 -1
  395. package/src/UserAvatarEditor.tsx +6 -8
  396. package/src/ViewContainer.tsx +17 -14
  397. package/src/custom/CustomFieldUtils.tsx +6 -6
  398. package/src/custom/CustomFieldViewer.tsx +7 -6
  399. package/src/custom/CustomFieldWindow.tsx +5 -4
  400. package/src/custom/FieldAmountLabel.tsx +2 -1
  401. package/src/custom/FieldCheckbox.tsx +1 -1
  402. package/src/custom/FieldCombobox.tsx +1 -1
  403. package/src/custom/FieldDateInput.tsx +1 -1
  404. package/src/custom/FieldDivider.tsx +1 -1
  405. package/src/custom/FieldInput.tsx +1 -1
  406. package/src/custom/FieldJson.tsx +1 -1
  407. package/src/custom/FieldNumberInput.tsx +1 -1
  408. package/src/custom/FieldRadio.tsx +1 -1
  409. package/src/custom/FieldSelect.tsx +1 -1
  410. package/src/custom/FieldSwitch.tsx +1 -1
  411. package/src/custom/FieldTexarea.tsx +1 -1
  412. package/src/pages/CommonPage.tsx +3 -1
  413. package/src/pages/DataGridPage.tsx +2 -1
  414. package/src/pages/DrawerHeader.tsx +1 -1
  415. package/src/pages/EditPage.tsx +6 -10
  416. package/src/pages/FixedListPage.tsx +2 -1
  417. package/src/pages/LeftDrawer.tsx +6 -8
  418. package/src/pages/ListPage.tsx +2 -1
  419. package/src/pages/TablePage.tsx +2 -1
  420. package/src/pages/UserMenu.tsx +2 -1
  421. package/src/pages/ViewPage.tsx +2 -1
  422. package/src/texts/DateText.tsx +1 -2
  423. package/src/texts/MoneyText.tsx +1 -2
  424. package/src/texts/NumberText.tsx +1 -2
  425. package/src/useCurrentBreakpoint.ts +2 -1
@@ -5,11 +5,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.LeftDrawer = LeftDrawer;
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 ChevronLeft_1 = __importDefault(require("@mui/icons-material/ChevronLeft"));
11
10
  const DrawerHeader_1 = require("./DrawerHeader");
12
11
  const ReactApp_1 = require("../app/ReactApp");
12
+ const Drawer_1 = __importDefault(require("@mui/material/Drawer"));
13
+ const Avatar_1 = __importDefault(require("@mui/material/Avatar"));
14
+ const Typography_1 = __importDefault(require("@mui/material/Typography"));
15
+ const IconButton_1 = __importDefault(require("@mui/material/IconButton"));
16
+ const Divider_1 = __importDefault(require("@mui/material/Divider"));
17
+ const List_1 = __importDefault(require("@mui/material/List"));
13
18
  function LeftDrawer(props) {
14
19
  // Global app
15
20
  const app = (0, ReactApp_1.useAppContext)();
@@ -26,7 +31,7 @@ function LeftDrawer(props) {
26
31
  react_1.default.useEffect(() => {
27
32
  setOpen(open);
28
33
  }, [open]);
29
- return ((0, jsx_runtime_1.jsxs)(material_1.Drawer, { hidden: !openLocal, sx: {
34
+ return ((0, jsx_runtime_1.jsxs)(Drawer_1.default, { hidden: !openLocal, sx: {
30
35
  width,
31
36
  flexShrink: 0,
32
37
  "& .MuiDrawer-paper": {
@@ -35,5 +40,5 @@ function LeftDrawer(props) {
35
40
  }
36
41
  }, anchor: "left", variant: mdUp ? "persistent" : "temporary", open: open, transitionDuration: 0, onClose: mdUp ? undefined : handleDrawerClose, ModalProps: {
37
42
  keepMounted: true // Better open performance on mobile.
38
- }, children: [(0, jsx_runtime_1.jsxs)(DrawerHeader_1.DrawerHeader, { children: [(0, jsx_runtime_1.jsx)("a", { href: "https://www.etsoo.com", title: app?.get("etsoo") ?? "ETSOO", target: "_blank", rel: "noreferrer", children: (0, jsx_runtime_1.jsx)(material_1.Avatar, { src: logoUrl, variant: "square", sx: { marginLeft: -0.5, marginRight: 1.5, marginBottom: 1 } }) }), (0, jsx_runtime_1.jsx)(material_1.Typography, { noWrap: true, component: "div", title: appName, sx: { flexGrow: 2 }, children: appName }), (0, jsx_runtime_1.jsx)(material_1.IconButton, { size: "small", onClick: handleDrawerClose, children: (0, jsx_runtime_1.jsx)(ChevronLeft_1.default, {}) })] }), (0, jsx_runtime_1.jsx)(material_1.Divider, {}), (0, jsx_runtime_1.jsx)(material_1.List, { onClick: mdUp ? undefined : handleDrawerClose, children: children })] }));
43
+ }, children: [(0, jsx_runtime_1.jsxs)(DrawerHeader_1.DrawerHeader, { children: [(0, jsx_runtime_1.jsx)("a", { href: "https://www.etsoo.com", title: app?.get("etsoo") ?? "ETSOO", target: "_blank", rel: "noreferrer", children: (0, jsx_runtime_1.jsx)(Avatar_1.default, { src: logoUrl, variant: "square", sx: { marginLeft: -0.5, marginRight: 1.5, marginBottom: 1 } }) }), (0, jsx_runtime_1.jsx)(Typography_1.default, { noWrap: true, component: "div", title: appName, sx: { flexGrow: 2 }, children: appName }), (0, jsx_runtime_1.jsx)(IconButton_1.default, { size: "small", onClick: handleDrawerClose, children: (0, jsx_runtime_1.jsx)(ChevronLeft_1.default, {}) })] }), (0, jsx_runtime_1.jsx)(Divider_1.default, {}), (0, jsx_runtime_1.jsx)(List_1.default, { onClick: mdUp ? undefined : handleDrawerClose, children: children })] }));
39
44
  }
@@ -6,13 +6,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ListPage = ListPage;
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");
12
11
  const ScrollerListEx_1 = require("../ScrollerListEx");
13
12
  const SearchBar_1 = require("../SearchBar");
14
13
  const CommonPage_1 = require("./CommonPage");
15
14
  const GridUtils_1 = require("../GridUtils");
15
+ const Stack_1 = __importDefault(require("@mui/material/Stack"));
16
+ const Box_1 = __importDefault(require("@mui/material/Box"));
16
17
  /**
17
18
  * List page
18
19
  * @param props Props
@@ -80,7 +81,7 @@ function ListPage(props) {
80
81
  };
81
82
  const f = typeof fields == "function" ? fields(searchData ?? {}) : fields;
82
83
  // Layout
83
- return ((0, jsx_runtime_1.jsx)(CommonPage_1.CommonPage, { ...pageProps, scrollContainer: globalThis, children: (0, jsx_runtime_1.jsxs)(material_1.Stack, { children: [(0, jsx_runtime_1.jsx)(material_1.Box, { ref: dimensions[0][0], sx: {
84
+ return ((0, jsx_runtime_1.jsx)(CommonPage_1.CommonPage, { ...pageProps, scrollContainer: globalThis, children: (0, jsx_runtime_1.jsxs)(Stack_1.default, { children: [(0, jsx_runtime_1.jsx)(Box_1.default, { ref: dimensions[0][0], sx: {
84
85
  paddingBottom: pageProps.paddings
85
86
  }, children: rect && rect.width > 100 && ((0, jsx_runtime_1.jsx)(SearchBar_1.SearchBar, { fields: f, onSubmit: onSubmit, top: searchBarTop, width: rect.width })) }), (0, jsx_runtime_1.jsx)(ScrollerListEx_1.ScrollerListEx, { autoLoad: false, loadData: localLoadData, onUpdateRows: GridUtils_1.GridUtils.getUpdateRowsHandler(cacheKey), onInitLoad: onInitLoad, onScroll: onListScroll, mRef: refs, ...rest })] }) }));
86
87
  }
@@ -6,13 +6,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.TablePage = TablePage;
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");
12
11
  const SearchBar_1 = require("../SearchBar");
13
12
  const TableEx_1 = require("../TableEx");
14
13
  const CommonPage_1 = require("./CommonPage");
15
14
  const GridUtils_1 = require("../GridUtils");
15
+ const Stack_1 = __importDefault(require("@mui/material/Stack"));
16
+ const Box_1 = __importDefault(require("@mui/material/Box"));
16
17
  /**
17
18
  * Table page
18
19
  * @param props Props
@@ -66,7 +67,7 @@ function TablePage(props) {
66
67
  }, [rect]);
67
68
  const f = typeof fields == "function" ? fields(searchData ?? {}) : fields;
68
69
  // Layout
69
- return ((0, jsx_runtime_1.jsx)(CommonPage_1.CommonPage, { ...pageProps, scrollContainer: globalThis, children: (0, jsx_runtime_1.jsxs)(material_1.Stack, { children: [(0, jsx_runtime_1.jsx)(material_1.Box, { ref: dimensions[0][0], sx: {
70
+ return ((0, jsx_runtime_1.jsx)(CommonPage_1.CommonPage, { ...pageProps, scrollContainer: globalThis, children: (0, jsx_runtime_1.jsxs)(Stack_1.default, { children: [(0, jsx_runtime_1.jsx)(Box_1.default, { ref: dimensions[0][0], sx: {
70
71
  paddingBottom: pageProps.paddings
71
72
  }, children: rect && rect.width > 100 && ((0, jsx_runtime_1.jsx)(SearchBar_1.SearchBar, { fields: f, onSubmit: onSubmit, top: searchBarTop, width: rect.width })) }), list] }) }));
72
73
  }
@@ -7,10 +7,11 @@ exports.eventWatcher = void 0;
7
7
  exports.UserMenu = UserMenu;
8
8
  const jsx_runtime_1 = require("react/jsx-runtime");
9
9
  const react_1 = require("@etsoo/react");
10
- const material_1 = require("@mui/material");
11
10
  const react_2 = __importDefault(require("react"));
12
11
  const react_router_1 = require("react-router");
13
12
  const UserAvatar_1 = require("../UserAvatar");
13
+ const IconButton_1 = __importDefault(require("@mui/material/IconButton"));
14
+ const Menu_1 = __importDefault(require("@mui/material/Menu"));
14
15
  /**
15
16
  * Event watcher
16
17
  */
@@ -54,7 +55,7 @@ function UserMenu(props) {
54
55
  }
55
56
  }
56
57
  };
57
- return ((0, jsx_runtime_1.jsxs)(react_2.default.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.IconButton, { edge: "end", "aria-haspopup": "true", onClick: handleUserMenuOpen, color: "inherit", children: (0, jsx_runtime_1.jsx)(UserAvatar_1.UserAvatar, { title: name, src: avatar }) }), (0, jsx_runtime_1.jsx)(material_1.Menu, { slotProps: {
58
+ return ((0, jsx_runtime_1.jsxs)(react_2.default.Fragment, { children: [(0, jsx_runtime_1.jsx)(IconButton_1.default, { edge: "end", "aria-haspopup": "true", onClick: handleUserMenuOpen, color: "inherit", children: (0, jsx_runtime_1.jsx)(UserAvatar_1.UserAvatar, { title: name, src: avatar }) }), (0, jsx_runtime_1.jsx)(Menu_1.default, { slotProps: {
58
59
  paper: {
59
60
  elevation: 0,
60
61
  sx: {
@@ -7,7 +7,6 @@ exports.ViewPage = ViewPage;
7
7
  const jsx_runtime_1 = require("react/jsx-runtime");
8
8
  const react_1 = require("@etsoo/react");
9
9
  const shared_1 = require("@etsoo/shared");
10
- const material_1 = require("@mui/material");
11
10
  const react_2 = __importDefault(require("react"));
12
11
  const Labels_1 = require("../app/Labels");
13
12
  const MUGlobal_1 = require("../MUGlobal");
@@ -16,6 +15,8 @@ const CommonPage_1 = require("./CommonPage");
16
15
  const MessageUtils_1 = require("../messages/MessageUtils");
17
16
  const OperationMessageContainer_1 = require("../messages/OperationMessageContainer");
18
17
  const ViewContainer_1 = require("../ViewContainer");
18
+ const LinearProgress_1 = __importDefault(require("@mui/material/LinearProgress"));
19
+ const Stack_1 = __importDefault(require("@mui/material/Stack"));
19
20
  /**
20
21
  * View page
21
22
  * @param props Props
@@ -44,13 +45,13 @@ function ViewPage(props) {
44
45
  MessageUtils_1.MessageUtils.offRefresh(refreshHandler);
45
46
  };
46
47
  }, [refresh]);
47
- return ((0, jsx_runtime_1.jsx)(CommonPage_1.CommonPage, { paddings: paddings, onRefresh: supportRefresh ? refresh : undefined, onUpdate: supportRefresh ? undefined : refresh, className: "ET-ViewPage", ...rest, scrollContainer: globalThis, fabColumnDirection: fabColumnDirection, fabTop: fabTop, supportBack: supportBack, children: data == null ? ((0, jsx_runtime_1.jsx)(material_1.LinearProgress, {})) : ((0, jsx_runtime_1.jsxs)(react_2.default.Fragment, { children: [operationMessageHandler && ((0, jsx_runtime_1.jsx)(OperationMessageContainer_1.OperationMessageContainer, { handler: "id" in operationMessageHandler
48
+ return ((0, jsx_runtime_1.jsx)(CommonPage_1.CommonPage, { paddings: paddings, onRefresh: supportRefresh ? refresh : undefined, onUpdate: supportRefresh ? undefined : refresh, className: "ET-ViewPage", ...rest, scrollContainer: globalThis, fabColumnDirection: fabColumnDirection, fabTop: fabTop, supportBack: supportBack, children: data == null ? ((0, jsx_runtime_1.jsx)(LinearProgress_1.default, {})) : ((0, jsx_runtime_1.jsxs)(react_2.default.Fragment, { children: [operationMessageHandler && ((0, jsx_runtime_1.jsx)(OperationMessageContainer_1.OperationMessageContainer, { handler: "id" in operationMessageHandler
48
49
  ? [
49
50
  operationMessageHandler.types,
50
51
  refresh,
51
52
  operationMessageHandler.id
52
53
  ]
53
- : operationMessageHandler })), titleBar && titleBar(data), (0, jsx_runtime_1.jsx)(ViewContainer_1.ViewContainer, { data: data, fields: fields, gridRef: gridRef, leftContainer: leftContainer, leftContainerLines: leftContainerLines, leftContainerProps: leftContainerProps, refresh: refresh, spacing: spacing }), actions !== null && ((0, jsx_runtime_1.jsx)(material_1.Stack, { className: "ET-ViewPage-Actions", direction: "row", width: "100%", flexWrap: "wrap", justifyContent: "center", paddingTop: actions == null ? undefined : actionPaddings, paddingBottom: actionPaddings, gap: actionPaddings, children: actions != null && shared_1.Utils.getResult(actions, data, refresh) })), shared_1.Utils.getResult(children, data, refresh), pullToRefresh && ((0, jsx_runtime_1.jsx)(PullToRefreshUI_1.PullToRefreshUI, { mainElement: pullContainer, triggerElement: pullContainer, instructionsPullToRefresh: labels.pullToRefresh, instructionsReleaseToRefresh: labels.releaseToRefresh, instructionsRefreshing: labels.refreshing, onRefresh: refresh, shouldPullToRefresh: () => {
54
+ : operationMessageHandler })), titleBar && titleBar(data), (0, jsx_runtime_1.jsx)(ViewContainer_1.ViewContainer, { data: data, fields: fields, gridRef: gridRef, leftContainer: leftContainer, leftContainerLines: leftContainerLines, leftContainerProps: leftContainerProps, refresh: refresh, spacing: spacing }), actions !== null && ((0, jsx_runtime_1.jsx)(Stack_1.default, { className: "ET-ViewPage-Actions", direction: "row", width: "100%", flexWrap: "wrap", justifyContent: "center", paddingTop: actions == null ? undefined : actionPaddings, paddingBottom: actionPaddings, gap: actionPaddings, children: actions != null && shared_1.Utils.getResult(actions, data, refresh) })), shared_1.Utils.getResult(children, data, refresh), pullToRefresh && ((0, jsx_runtime_1.jsx)(PullToRefreshUI_1.PullToRefreshUI, { mainElement: pullContainer, triggerElement: pullContainer, instructionsPullToRefresh: labels.pullToRefresh, instructionsReleaseToRefresh: labels.releaseToRefresh, instructionsRefreshing: labels.refreshing, onRefresh: refresh, shouldPullToRefresh: () => {
54
55
  const container = document.querySelector(pullContainer);
55
56
  return !container?.scrollTop;
56
57
  } })), (0, jsx_runtime_1.jsx)(react_1.ScrollRestoration, {})] })) }));
@@ -1,5 +1,5 @@
1
1
  import { DateUtils } from "@etsoo/shared";
2
- import { TypographyProps } from "@mui/material";
2
+ import { TypographyProps } from "@mui/material/Typography";
3
3
  /**
4
4
  * Date text props
5
5
  */
@@ -1,9 +1,12 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.DateText = DateText;
4
7
  const jsx_runtime_1 = require("react/jsx-runtime");
5
8
  const shared_1 = require("@etsoo/shared");
6
- const material_1 = require("@mui/material");
9
+ const Typography_1 = __importDefault(require("@mui/material/Typography"));
7
10
  /**
8
11
  * Date text
9
12
  * @param props Props
@@ -24,5 +27,5 @@ function DateText(props) {
24
27
  rest.color = "error";
25
28
  }
26
29
  // Layout
27
- return ((0, jsx_runtime_1.jsx)(material_1.Typography, { component: "span", fontSize: "inherit", ...rest, children: localValue }));
30
+ return ((0, jsx_runtime_1.jsx)(Typography_1.default, { component: "span", fontSize: "inherit", ...rest, children: localValue }));
28
31
  }
@@ -1,9 +1,12 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.MoneyText = MoneyText;
4
7
  const jsx_runtime_1 = require("react/jsx-runtime");
5
8
  const shared_1 = require("@etsoo/shared");
6
- const material_1 = require("@mui/material");
9
+ const Typography_1 = __importDefault(require("@mui/material/Typography"));
7
10
  /**
8
11
  * Money text
9
12
  * @param props Props
@@ -13,7 +16,7 @@ function MoneyText(props) {
13
16
  // Destruct
14
17
  const { currency, isInteger = false, locale, options = {}, value, ...rest } = props;
15
18
  // Layout
16
- return ((0, jsx_runtime_1.jsx)(material_1.Typography, { component: "span", fontSize: "inherit", ...rest, children: value == null
19
+ return ((0, jsx_runtime_1.jsx)(Typography_1.default, { component: "span", fontSize: "inherit", ...rest, children: value == null
17
20
  ? ""
18
21
  : shared_1.NumberUtils.formatMoney(value, currency, locale, isInteger, options) }));
19
22
  }
@@ -1,4 +1,4 @@
1
- import { TypographyProps } from "@mui/material";
1
+ import { TypographyProps } from "@mui/material/Typography";
2
2
  /**
3
3
  * Number text props
4
4
  */
@@ -1,9 +1,12 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.NumberText = NumberText;
4
7
  const jsx_runtime_1 = require("react/jsx-runtime");
5
8
  const shared_1 = require("@etsoo/shared");
6
- const material_1 = require("@mui/material");
9
+ const Typography_1 = __importDefault(require("@mui/material/Typography"));
7
10
  /**
8
11
  * Number text
9
12
  * @param props Props
@@ -13,5 +16,5 @@ function NumberText(props) {
13
16
  // Destruct
14
17
  const { locale, options = {}, value, ...rest } = props;
15
18
  // Layout
16
- return ((0, jsx_runtime_1.jsx)(material_1.Typography, { component: "span", fontSize: "inherit", ...rest, children: value == null ? "" : shared_1.NumberUtils.format(value, locale, options) }));
19
+ return ((0, jsx_runtime_1.jsx)(Typography_1.default, { component: "span", fontSize: "inherit", ...rest, children: value == null ? "" : shared_1.NumberUtils.format(value, locale, options) }));
17
20
  }
@@ -1,4 +1,4 @@
1
- import { Breakpoint } from "@mui/material";
1
+ import { Breakpoint } from "@mui/material/styles";
2
2
  /**
3
3
  * Hook to get the current breakpoint
4
4
  * @returns The current breakpoint
@@ -1,19 +1,23 @@
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.useCurrentBreakpoint = useCurrentBreakpoint;
4
- const material_1 = require("@mui/material");
7
+ const styles_1 = require("@mui/material/styles");
8
+ const useMediaQuery_1 = __importDefault(require("@mui/material/useMediaQuery"));
5
9
  /**
6
10
  * Hook to get the current breakpoint
7
11
  * @returns The current breakpoint
8
12
  */
9
13
  function useCurrentBreakpoint() {
10
- const theme = (0, material_1.useTheme)();
14
+ const theme = (0, styles_1.useTheme)();
11
15
  const items = [
12
- (0, material_1.useMediaQuery)(theme.breakpoints.down("xs")) ? "xs" : null,
13
- (0, material_1.useMediaQuery)(theme.breakpoints.between("xs", "sm")) ? "sm" : null,
14
- (0, material_1.useMediaQuery)(theme.breakpoints.between("sm", "md")) ? "md" : null,
15
- (0, material_1.useMediaQuery)(theme.breakpoints.between("md", "lg")) ? "lg" : null,
16
- (0, material_1.useMediaQuery)(theme.breakpoints.up("lg")) ? "xl" : null
16
+ (0, useMediaQuery_1.default)(theme.breakpoints.down("xs")) ? "xs" : null,
17
+ (0, useMediaQuery_1.default)(theme.breakpoints.between("xs", "sm")) ? "sm" : null,
18
+ (0, useMediaQuery_1.default)(theme.breakpoints.between("sm", "md")) ? "md" : null,
19
+ (0, useMediaQuery_1.default)(theme.breakpoints.between("md", "lg")) ? "lg" : null,
20
+ (0, useMediaQuery_1.default)(theme.breakpoints.up("lg")) ? "xl" : null
17
21
  ];
18
22
  return items.find((item) => item != null) ?? "lg";
19
23
  }
@@ -1,8 +1,8 @@
1
1
  import { AddressCity, AddressDistrict, AddressRegionDb, AddressState, IApiPayload } from "@etsoo/appscript";
2
- import { GridSize } from "@mui/material";
3
2
  import React from "react";
4
3
  import { ResponsiveStyleValue } from "./ResponsiveStyleValue";
5
4
  import { RegionsRQ } from "./RegionsRQ";
5
+ import { GridSize } from "@mui/material/Grid";
6
6
  /**
7
7
  * Address field
8
8
  */
@@ -1,9 +1,10 @@
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 { ComboBox } from "./ComboBox";
5
4
  import { Tiplist } from "./Tiplist";
6
5
  import { useAppContext } from "./app/ReactApp";
6
+ import Grid from "@mui/material/Grid";
7
+ import FormLabel from "@mui/material/FormLabel";
7
8
  /**
8
9
  * Address field
9
10
  */
@@ -125,12 +126,12 @@ export function AddressSelector(props) {
125
126
  }
126
127
  };
127
128
  // Layout
128
- return (_jsxs(React.Fragment, { children: [label && (_jsx(Grid2, { size: { xs: 12 }, children: _jsx(FormLabel, { required: required, sx: { fontSize: (theme) => theme.typography.caption }, children: label }) })), !hideRegion && (_jsx(Grid2, { size: breakPoints, children: _jsx(Tiplist, { label: regionLabel, name: AddressField.Region, search: search, fullWidth: true, idValue: regionState, loadData: (keyword, id, items) => api.regions({
129
+ return (_jsxs(React.Fragment, { children: [label && (_jsx(Grid, { size: { xs: 12 }, children: _jsx(FormLabel, { required: required, sx: { fontSize: (theme) => theme.typography.caption }, children: label }) })), !hideRegion && (_jsx(Grid, { size: breakPoints, children: _jsx(Tiplist, { label: regionLabel, name: AddressField.Region, search: search, fullWidth: true, idValue: regionState, loadData: (keyword, id, items) => api.regions({
129
130
  keyword,
130
131
  id,
131
132
  items,
132
133
  favoredIds: favoredIds == null
133
134
  ? undefined
134
135
  : favoredIds(AddressField.Region)
135
- }), inputRequired: required, inputError: error, inputHelperText: helperText, onChange: (_event, value) => handleChange([AddressField.Region, value]) }) })), _jsx(Grid2, { size: breakPoints, children: _jsx(ComboBox, { name: AddressField.State, label: stateLabel, search: search, fullWidth: true, idValue: stateState, options: states, inputRequired: required, inputError: hideRegion ? error : undefined, inputHelperText: hideRegion ? helperText : undefined, onChange: (_event, value) => handleChange([AddressField.State, value]) }) }), _jsx(Grid2, { size: breakPoints, children: _jsx(ComboBox, { name: AddressField.City, label: cityLabel, search: search, fullWidth: true, idValue: cityState, options: cities, onChange: (_event, value) => handleChange([AddressField.City, value]) }) }), _jsx(Grid2, { size: breakPoints, children: _jsx(ComboBox, { name: AddressField.District, label: districtLabel, search: search, fullWidth: true, idValue: districtState, options: districts, onChange: (_event, value) => handleChange([AddressField.District, value]) }) })] }));
136
+ }), inputRequired: required, inputError: error, inputHelperText: helperText, onChange: (_event, value) => handleChange([AddressField.Region, value]) }) })), _jsx(Grid, { size: breakPoints, children: _jsx(ComboBox, { name: AddressField.State, label: stateLabel, search: search, fullWidth: true, idValue: stateState, options: states, inputRequired: required, inputError: hideRegion ? error : undefined, inputHelperText: hideRegion ? helperText : undefined, onChange: (_event, value) => handleChange([AddressField.State, value]) }) }), _jsx(Grid, { size: breakPoints, children: _jsx(ComboBox, { name: AddressField.City, label: cityLabel, search: search, fullWidth: true, idValue: cityState, options: cities, onChange: (_event, value) => handleChange([AddressField.City, value]) }) }), _jsx(Grid, { size: breakPoints, children: _jsx(ComboBox, { name: AddressField.District, label: districtLabel, search: search, fullWidth: true, idValue: districtState, options: districts, onChange: (_event, value) => handleChange([AddressField.District, value]) }) })] }));
136
137
  }
@@ -1,7 +1,7 @@
1
- import { Theme } from "@mui/material";
2
1
  import React, { CSSProperties } from "react";
3
2
  import { ListMoreDisplayProps } from "./ListMoreDisplay";
4
3
  import { AuditLineDto } from "@etsoo/appscript";
4
+ import { Theme } from "@mui/material/styles";
5
5
  /**
6
6
  * Audit display props
7
7
  */
@@ -1,10 +1,13 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Utils } from "@etsoo/shared";
3
- import { Button, Divider, Typography, useTheme } from "@mui/material";
4
3
  import React from "react";
5
4
  import { ListMoreDisplay } from "./ListMoreDisplay";
6
5
  import { ShowDataComparison } from "./ShowDataComparison";
7
6
  import { useAppContext } from "./app/ReactApp";
7
+ import { useTheme } from "@mui/material/styles";
8
+ import Button from "@mui/material/Button";
9
+ import Typography from "@mui/material/Typography";
10
+ import Divider from "@mui/material/Divider";
8
11
  /**
9
12
  * Audit display
10
13
  * @param props Props
@@ -1,5 +1,5 @@
1
1
  import { DataTypes } from "@etsoo/shared";
2
- import { AutocompleteProps } from "@mui/material";
2
+ import { AutocompleteProps } from "@mui/material/Autocomplete";
3
3
  import { ChangeEventHandler } from "react";
4
4
  /**
5
5
  * Autocomplete extended props
@@ -1,4 +1,4 @@
1
- import { IconButtonProps } from "@mui/material";
1
+ import { IconButtonProps } from "@mui/material/IconButton";
2
2
  /**
3
3
  * BackButton props
4
4
  */
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { IconButton, useTheme } from "@mui/material";
3
2
  import ArrowBackIcon from "@mui/icons-material/ArrowBack";
3
+ import IconButton from "@mui/material/IconButton";
4
+ import { useTheme } from "@mui/material/styles";
4
5
  import { useNavigate } from "react-router";
5
6
  /**
6
7
  * BackButton
@@ -1,5 +1,6 @@
1
1
  import { IBridgeHost } from "@etsoo/appscript";
2
- import { BoxProps, IconButtonProps } from "@mui/material";
2
+ import { IconButtonProps } from "@mui/material/IconButton";
3
+ import { BoxProps } from "@mui/material/Box";
3
4
  /**
4
5
  * Bridge close button props
5
6
  */
@@ -1,9 +1,10 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { BridgeUtils } from "@etsoo/appscript";
3
3
  import CloseIcon from "@mui/icons-material/Close";
4
- import { Box, IconButton } from "@mui/material";
5
4
  import React from "react";
6
5
  import { useAppContext } from "./app/ReactApp";
6
+ import IconButton from "@mui/material/IconButton";
7
+ import Box from "@mui/material/Box";
7
8
  /**
8
9
  * Bridge close button
9
10
  * @param props Props
@@ -1,4 +1,4 @@
1
- import { ButtonProps } from "@mui/material";
1
+ import { ButtonProps } from "@mui/material/Button";
2
2
  /**
3
3
  * ButtonLink props
4
4
  */
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { Button } from "@mui/material";
3
- import { useNavigate } from "react-router";
2
+ import Button from "@mui/material/Button";
3
+ import { useNavigate } from "react-router-dom";
4
4
  /**
5
5
  * ButtonLink
6
6
  * @param props Props
@@ -1,4 +1,4 @@
1
- import { PopoverOrigin } from "@mui/material";
1
+ import { PopoverOrigin } from "@mui/material/Popover";
2
2
  import React from "react";
3
3
  /**
4
4
  * Button popover props
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Popover } from "@mui/material";
2
+ import Popover from "@mui/material/Popover";
3
3
  import React from "react";
4
4
  /**
5
5
  * Button popover component
@@ -1,13 +1,15 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Keyboard } from "@etsoo/shared";
3
- import { Autocomplete, IconButton, Stack } from "@mui/material";
4
3
  import React from "react";
5
4
  import { Utils as SharedUtils } from "@etsoo/shared";
6
5
  import { ReactUtils } from "@etsoo/react";
7
- import AddIcon from "@mui/icons-material/Add";
8
6
  import { SearchField } from "./SearchField";
9
7
  import { InputField } from "./InputField";
10
8
  import { useAppContext } from "./app/ReactApp";
9
+ import Autocomplete from "@mui/material/Autocomplete";
10
+ import Stack from "@mui/material/Stack";
11
+ import IconButton from "@mui/material/IconButton";
12
+ import AddIcon from "@mui/icons-material/Add";
11
13
  /**
12
14
  * ComboBox
13
15
  * @param props Props
@@ -1,6 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Keyboard } from "@etsoo/shared";
3
- import { Autocomplete, Checkbox } from "@mui/material";
4
3
  import React from "react";
5
4
  import { Utils as SharedUtils } from "@etsoo/shared";
6
5
  import { ReactUtils } from "@etsoo/react";
@@ -9,6 +8,8 @@ import CheckBoxIcon from "@mui/icons-material/CheckBox";
9
8
  import { SearchField } from "./SearchField";
10
9
  import { InputField } from "./InputField";
11
10
  import { useAppContext } from "./app/ReactApp";
11
+ import Checkbox from "@mui/material/Checkbox";
12
+ import Autocomplete from "@mui/material/Autocomplete";
12
13
  const icon = _jsx(CheckBoxOutlineBlankIcon, { fontSize: "small" });
13
14
  const checkedIcon = _jsx(CheckBoxIcon, { fontSize: "small" });
14
15
  /**
@@ -1,6 +1,6 @@
1
- import { AutocompleteProps } from "@mui/material";
2
1
  import { InputFieldProps } from "./InputField";
3
2
  import { ListType2 } from "@etsoo/shared";
3
+ import { AutocompleteProps } from "@mui/material/Autocomplete";
4
4
  export type ComboBoxProProps<D extends ListType2 = ListType2> = Omit<AutocompleteProps<D, false, false, true>, "open" | "multiple" | "options" | "renderInput"> & {
5
5
  /**
6
6
  * Label
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { Autocomplete } from "@mui/material";
3
2
  import React from "react";
4
3
  import { InputField } from "./InputField";
5
4
  import { DataTypes } from "@etsoo/shared";
6
5
  import { useAppContext } from "./app/ReactApp";
6
+ import Autocomplete from "@mui/material/Autocomplete";
7
7
  export function ComboBoxPro(props) {
8
8
  // Global app
9
9
  const app = useAppContext();
@@ -1,4 +1,4 @@
1
- import { ButtonProps } from "@mui/material";
1
+ import { ButtonProps } from "@mui/material/Button";
2
2
  import React from "react";
3
3
  /**
4
4
  * Countdown button action
@@ -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
  * Countdown button
@@ -2,9 +2,13 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { css } from "@emotion/css";
3
3
  import { GridAlignGet, ScrollerGrid, useCombinedRefs } from "@etsoo/react";
4
4
  import { Utils } from "@etsoo/shared";
5
- import { Box, Checkbox, Paper, TableSortLabel, useTheme } from "@mui/material";
6
5
  import React from "react";
7
6
  import { DataGridRenderers } from "./DataGridRenderers";
7
+ import { useTheme } from "@mui/material/styles";
8
+ import Box from "@mui/material/Box";
9
+ import TableSortLabel from "@mui/material/TableSortLabel";
10
+ import Checkbox from "@mui/material/Checkbox";
11
+ import Paper from "@mui/material/Paper";
8
12
  // Borders
9
13
  const boldBorder = "2px solid rgba(224, 224, 224, 1)";
10
14
  const thinBorder = "1px solid rgba(224, 224, 224, 1)";
@@ -1,10 +1,10 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { CircularProgress } from "@mui/material";
3
2
  import { DateUtils, NumberUtils } from "@etsoo/shared";
4
3
  import CheckIcon from "@mui/icons-material/Check";
5
4
  import ClearIcon from "@mui/icons-material/Clear";
6
5
  import { DateText } from "./texts/DateText";
7
6
  import { GridDataType } from "@etsoo/react";
7
+ import CircularProgress from "@mui/material/CircularProgress";
8
8
  /**
9
9
  * Data grid renderers
10
10
  */
@@ -1,5 +1,5 @@
1
- import { TextFieldProps } from "@mui/material";
2
1
  import { InputDialogProps } from "@etsoo/react";
2
+ import { TextFieldProps } from "@mui/material/TextField";
3
3
  /**
4
4
  * Data step
5
5
  */
@@ -1,5 +1,4 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Button, IconButton, InputAdornment, TextField } from "@mui/material";
3
2
  import CloseIcon from "@mui/icons-material/Close";
4
3
  import NavigateNextIcon from "@mui/icons-material/NavigateNext";
5
4
  import NavigateBeforeIcon from "@mui/icons-material/NavigateBefore";
@@ -9,6 +8,10 @@ import React from "react";
9
8
  import { HBox } from "./FlexBox";
10
9
  import { MUGlobal } from "./MUGlobal";
11
10
  import { useRequiredAppContext } from "./app/ReactApp";
11
+ import Button from "@mui/material/Button";
12
+ import TextField from "@mui/material/TextField";
13
+ import InputAdornment from "@mui/material/InputAdornment";
14
+ import IconButton from "@mui/material/IconButton";
12
15
  /**
13
16
  * Data collecting steps component
14
17
  * @param props Props
@@ -1,4 +1,4 @@
1
- import { GridRowId, GridValidRowModel } from "@mui/x-data-grid";
1
+ import { GridRowId, GridValidRowModel } from "@mui/x-data-grid/models/gridRows";
2
2
  import { DataGridProps } from "@mui/x-data-grid/models/props/DataGridProps";
3
3
  /**
4
4
  * Data table selected cell params
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { DataGrid } from "@mui/x-data-grid";
3
2
  import React from "react";
4
3
  import { useAppContext } from "./app/ReactApp";
4
+ import { DataGrid } from "@mui/x-data-grid/DataGrid/DataGrid";
5
5
  /**
6
6
  * Data table
7
7
  * @param props Props
@@ -1,5 +1,6 @@
1
- import { Breakpoint, ButtonProps } from "@mui/material";
2
1
  import React from "react";
2
+ import { ButtonProps } from "@mui/material/Button";
3
+ import { Breakpoint } from "@mui/material/styles";
3
4
  export interface DialogButtonProps extends ButtonProps {
4
5
  /**
5
6
  * Button label
@@ -1,7 +1,13 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Button, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle, IconButton } from "@mui/material";
3
2
  import React from "react";
4
3
  import { Labels } from "./app/Labels";
4
+ import Button from "@mui/material/Button";
5
+ import IconButton from "@mui/material/IconButton";
6
+ import Dialog from "@mui/material/Dialog";
7
+ import DialogTitle from "@mui/material/DialogTitle";
8
+ import DialogContent from "@mui/material/DialogContent";
9
+ import DialogContentText from "@mui/material/DialogContentText";
10
+ import DialogActions from "@mui/material/DialogActions";
5
11
  /**
6
12
  * Dialog button
7
13
  * @param props Props
@@ -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
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { Skeleton, useTheme } from "@mui/material";
2
+ import Skeleton from "@mui/material/Skeleton";
3
+ import { useTheme } from "@mui/material/styles";
3
4
  import React from "react";
4
5
  function SortableItem(props) {
5
6
  // Destruct
@@ -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