@etsoo/materialui 1.4.68 → 1.4.70

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 (545) hide show
  1. package/lib/cjs/AddresSelector.js +141 -0
  2. package/lib/cjs/AuditDisplay.js +52 -0
  3. package/lib/cjs/AutocompleteExtendedProps.js +2 -0
  4. package/lib/cjs/BackButton.js +38 -0
  5. package/lib/cjs/BridgeCloseButton.js +35 -0
  6. package/lib/cjs/ButtonLink.js +22 -0
  7. package/lib/cjs/ButtonPopover.js +63 -0
  8. package/lib/cjs/ComboBox.js +134 -0
  9. package/lib/cjs/ComboBoxMultiple.js +132 -0
  10. package/lib/cjs/ComboBoxPro.js +71 -0
  11. package/lib/cjs/CountdownButton.js +91 -0
  12. package/lib/cjs/CountryList.js +29 -0
  13. package/lib/cjs/CultureDataTable.js +48 -0
  14. package/lib/cjs/CustomFabProps.js +2 -0
  15. package/lib/cjs/DataGridEx.js +333 -0
  16. package/lib/cjs/DataGridRenderers.js +105 -0
  17. package/lib/cjs/DataSteps.js +93 -0
  18. package/lib/cjs/DataTable.js +52 -0
  19. package/lib/cjs/DialogButton.js +43 -0
  20. package/lib/cjs/DnDList.js +222 -0
  21. package/lib/cjs/DraggablePaperComponent.js +19 -0
  22. package/lib/cjs/EmailInput.js +17 -0
  23. package/lib/cjs/FabBox.js +42 -0
  24. package/lib/cjs/FieldSetEx.js +32 -0
  25. package/lib/cjs/FileUploadButton.js +46 -0
  26. package/lib/cjs/FlexBox.js +22 -0
  27. package/lib/cjs/GridDataCacheType.js +2 -0
  28. package/lib/cjs/GridDataFormat.js +46 -0
  29. package/lib/cjs/GridUtils.js +90 -0
  30. package/lib/cjs/HiSelector.js +49 -0
  31. package/lib/cjs/HiSelectorTL.js +43 -0
  32. package/lib/cjs/IconButtonLink.js +19 -0
  33. package/lib/cjs/InputField.js +54 -0
  34. package/lib/cjs/InputTipField.js +50 -0
  35. package/lib/cjs/IntInputField.js +116 -0
  36. package/lib/cjs/ItemList.js +71 -0
  37. package/lib/{LineChart.d.ts → cjs/LineChart.d.ts} +1 -1
  38. package/lib/cjs/LineChart.js +59 -0
  39. package/lib/cjs/ListChooser.js +95 -0
  40. package/lib/cjs/ListItemRightIcon.js +11 -0
  41. package/lib/cjs/ListMoreDisplay.js +101 -0
  42. package/lib/cjs/LoadingButton.js +47 -0
  43. package/lib/cjs/MUGlobal.js +189 -0
  44. package/lib/cjs/MUUtils.js +58 -0
  45. package/lib/cjs/MaskInput.d.ts +39 -0
  46. package/lib/cjs/MaskInput.js +47 -0
  47. package/lib/cjs/MenuButton.js +68 -0
  48. package/lib/cjs/MobileListItemRenderer.js +33 -0
  49. package/lib/cjs/MoneyInputField.js +18 -0
  50. package/lib/cjs/MoreFab.js +100 -0
  51. package/lib/cjs/NotifierMU.js +368 -0
  52. package/lib/cjs/NotifierPopupProps.js +2 -0
  53. package/lib/cjs/NotifierPromptProps.js +2 -0
  54. package/lib/cjs/NumberInputField.js +32 -0
  55. package/lib/cjs/OptionBool.js +17 -0
  56. package/lib/cjs/OptionGroup.js +108 -0
  57. package/lib/cjs/OptionGroupFlag.js +92 -0
  58. package/lib/cjs/PList.js +19 -0
  59. package/lib/cjs/PercentCircularProgress.js +20 -0
  60. package/lib/cjs/PercentLinearProgress.js +11 -0
  61. package/lib/cjs/ProgressCount.js +79 -0
  62. package/lib/cjs/PullToRefreshUI.js +29 -0
  63. package/lib/cjs/QuickList.js +48 -0
  64. package/lib/cjs/RegionsRQ.js +2 -0
  65. package/lib/cjs/ResponsibleContainer.js +196 -0
  66. package/lib/cjs/ResponsiveStyleValue.js +2 -0
  67. package/lib/cjs/ScrollTopFab.js +30 -0
  68. package/lib/cjs/ScrollerListEx.js +168 -0
  69. package/lib/cjs/SearchBar.js +270 -0
  70. package/lib/cjs/SearchField.js +52 -0
  71. package/lib/cjs/SearchOptionGroup.js +17 -0
  72. package/lib/cjs/SelectBool.js +22 -0
  73. package/lib/cjs/SelectEx.js +180 -0
  74. package/lib/cjs/ShowDataComparison.js +63 -0
  75. package/lib/cjs/Switch.js +40 -0
  76. package/lib/cjs/SwitchAnt.js +48 -0
  77. package/lib/cjs/SwitchField.js +36 -0
  78. package/lib/cjs/TabBox.js +34 -0
  79. package/lib/cjs/TableEx.js +294 -0
  80. package/lib/cjs/TagList.js +62 -0
  81. package/lib/cjs/TagListPro.js +66 -0
  82. package/lib/cjs/TextFieldEx.js +145 -0
  83. package/lib/cjs/Tiplist.js +211 -0
  84. package/lib/cjs/TiplistPro.js +206 -0
  85. package/lib/cjs/TooltipClick.js +46 -0
  86. package/lib/cjs/TwoFieldInput.js +69 -0
  87. package/lib/cjs/UserAvatar.js +26 -0
  88. package/lib/cjs/UserAvatarEditor.js +169 -0
  89. package/lib/cjs/app/CommonApp.js +32 -0
  90. package/lib/cjs/app/IServiceApp.js +11 -0
  91. package/lib/cjs/app/IServiceAppSettings.js +2 -0
  92. package/lib/cjs/app/IServicePage.js +2 -0
  93. package/lib/cjs/app/IServiceUser.js +2 -0
  94. package/lib/cjs/app/ISmartERPUser.js +2 -0
  95. package/lib/cjs/app/Labels.js +65 -0
  96. package/lib/cjs/app/ReactApp.js +387 -0
  97. package/lib/cjs/app/ServiceApp.js +232 -0
  98. package/lib/cjs/custom/CustomFieldUtils.js +152 -0
  99. package/lib/cjs/custom/CustomFieldViewer.js +57 -0
  100. package/lib/cjs/custom/CustomFieldWindow.js +95 -0
  101. package/lib/cjs/custom/FieldAmountLabel.js +47 -0
  102. package/lib/cjs/custom/FieldCheckbox.js +56 -0
  103. package/lib/cjs/custom/FieldCombobox.js +47 -0
  104. package/lib/cjs/custom/FieldDateInput.js +50 -0
  105. package/lib/cjs/custom/FieldDivider.js +19 -0
  106. package/lib/cjs/custom/FieldInput.js +34 -0
  107. package/lib/cjs/custom/FieldJson.js +57 -0
  108. package/lib/cjs/custom/FieldLabel.js +35 -0
  109. package/lib/cjs/custom/FieldNumberInput.js +44 -0
  110. package/lib/cjs/custom/FieldRadio.js +56 -0
  111. package/lib/cjs/custom/FieldSelect.js +55 -0
  112. package/lib/cjs/custom/FieldSwitch.js +49 -0
  113. package/lib/cjs/custom/FieldTexarea.js +35 -0
  114. package/lib/cjs/index.js +134 -0
  115. package/lib/cjs/messages/MessageUtils.js +76 -0
  116. package/lib/cjs/messages/OperationMessageContainer.js +49 -0
  117. package/lib/cjs/messages/OperationMessageDto.js +2 -0
  118. package/lib/cjs/messages/OperationMessageHandler.js +2 -0
  119. package/lib/cjs/messages/RefreshHandler.js +2 -0
  120. package/lib/cjs/messages/SignalRUser.js +2 -0
  121. package/lib/cjs/pages/CommonPage.js +74 -0
  122. package/lib/cjs/pages/DataGridPage.js +114 -0
  123. package/lib/cjs/pages/DataGridPageProps.js +2 -0
  124. package/lib/cjs/pages/DrawerHeader.js +16 -0
  125. package/lib/cjs/pages/EditPage.js +30 -0
  126. package/lib/cjs/pages/FixedListPage.js +104 -0
  127. package/lib/cjs/pages/LeftDrawer.js +37 -0
  128. package/lib/cjs/pages/ListPage.js +83 -0
  129. package/lib/cjs/pages/ResponsivePage.js +53 -0
  130. package/lib/cjs/pages/SearchPageProps.js +2 -0
  131. package/lib/cjs/pages/TablePage.js +72 -0
  132. package/lib/cjs/pages/UserMenu.js +91 -0
  133. package/lib/cjs/pages/ViewPage.js +160 -0
  134. package/lib/cjs/texts/DateText.js +28 -0
  135. package/lib/cjs/texts/MoneyText.js +19 -0
  136. package/lib/cjs/texts/NumberText.js +17 -0
  137. package/lib/mjs/AddresSelector.d.ts +107 -0
  138. package/lib/mjs/AuditDisplay.d.ts +31 -0
  139. package/lib/mjs/AutocompleteExtendedProps.d.ts +73 -0
  140. package/lib/mjs/BackButton.d.ts +12 -0
  141. package/lib/mjs/BridgeCloseButton.d.ts +22 -0
  142. package/lib/mjs/ButtonLink.d.ts +20 -0
  143. package/lib/mjs/ButtonPopover.d.ts +29 -0
  144. package/lib/mjs/ComboBox.d.ts +45 -0
  145. package/lib/mjs/ComboBoxMultiple.d.ts +41 -0
  146. package/lib/mjs/ComboBoxPro.d.ts +31 -0
  147. package/lib/mjs/CountdownButton.d.ts +27 -0
  148. package/lib/mjs/CountryList.d.ts +30 -0
  149. package/lib/mjs/CultureDataTable.d.ts +19 -0
  150. package/lib/mjs/CustomFabProps.d.ts +27 -0
  151. package/lib/mjs/DataGridEx.d.ts +101 -0
  152. package/lib/mjs/DataGridRenderers.d.ts +22 -0
  153. package/lib/mjs/DataSteps.d.ts +38 -0
  154. package/lib/mjs/DataTable.d.ts +27 -0
  155. package/lib/mjs/DialogButton.d.ts +54 -0
  156. package/lib/mjs/DnDList.d.ts +104 -0
  157. package/lib/mjs/DraggablePaperComponent.d.ts +7 -0
  158. package/lib/mjs/EmailInput.d.ts +10 -0
  159. package/lib/mjs/FabBox.d.ts +26 -0
  160. package/lib/mjs/FieldSetEx.d.ts +21 -0
  161. package/lib/mjs/FileUploadButton.d.ts +36 -0
  162. package/lib/mjs/FlexBox.d.ts +13 -0
  163. package/lib/mjs/GridDataCacheType.d.ts +9 -0
  164. package/lib/mjs/GridDataFormat.d.ts +10 -0
  165. package/lib/mjs/GridUtils.d.ts +44 -0
  166. package/lib/mjs/HiSelector.d.ts +79 -0
  167. package/lib/mjs/HiSelectorTL.d.ts +67 -0
  168. package/lib/mjs/IconButtonLink.d.ts +20 -0
  169. package/lib/mjs/InputField.d.ts +80 -0
  170. package/lib/mjs/InputTipField.d.ts +38 -0
  171. package/lib/mjs/IntInputField.d.ts +55 -0
  172. package/lib/mjs/ItemList.d.ts +68 -0
  173. package/lib/mjs/LineChart.d.ts +28 -0
  174. package/lib/{LineChart.js → mjs/LineChart.js} +2 -1
  175. package/lib/mjs/ListChooser.d.ts +64 -0
  176. package/lib/mjs/ListItemRightIcon.d.ts +5 -0
  177. package/lib/mjs/ListMoreDisplay.d.ts +38 -0
  178. package/lib/mjs/LoadingButton.d.ts +15 -0
  179. package/lib/mjs/MUGlobal.d.ts +101 -0
  180. package/lib/mjs/MUUtils.d.ts +22 -0
  181. package/lib/mjs/MaskInput.d.ts +39 -0
  182. package/lib/mjs/MaskInput.js +41 -0
  183. package/lib/mjs/MenuButton.d.ts +9 -0
  184. package/lib/mjs/MobileListItemRenderer.d.ts +17 -0
  185. package/lib/mjs/MoneyInputField.d.ts +10 -0
  186. package/lib/mjs/MoreFab.d.ts +45 -0
  187. package/lib/mjs/NotifierMU.d.ts +48 -0
  188. package/lib/mjs/NotifierPopupProps.d.ts +5 -0
  189. package/lib/mjs/NotifierPromptProps.d.ts +21 -0
  190. package/lib/mjs/NumberInputField.d.ts +42 -0
  191. package/lib/mjs/OptionBool.d.ts +12 -0
  192. package/lib/mjs/OptionGroup.d.ts +80 -0
  193. package/lib/mjs/OptionGroupFlag.d.ts +76 -0
  194. package/lib/mjs/PList.d.ts +14 -0
  195. package/lib/mjs/PercentCircularProgress.d.ts +7 -0
  196. package/lib/mjs/PercentLinearProgress.d.ts +7 -0
  197. package/lib/mjs/ProgressCount.d.ts +43 -0
  198. package/lib/mjs/PullToRefreshUI.d.ts +8 -0
  199. package/lib/mjs/QuickList.d.ts +56 -0
  200. package/lib/mjs/RegionsRQ.d.ts +22 -0
  201. package/lib/mjs/ResponsibleContainer.d.ts +98 -0
  202. package/lib/mjs/ResponsiveStyleValue.d.ts +7 -0
  203. package/lib/mjs/ScrollTopFab.d.ts +6 -0
  204. package/lib/mjs/ScrollerListEx.d.ts +75 -0
  205. package/lib/mjs/SearchBar.d.ts +32 -0
  206. package/lib/mjs/SearchField.d.ts +24 -0
  207. package/lib/mjs/SearchOptionGroup.d.ts +8 -0
  208. package/lib/mjs/SelectBool.d.ts +12 -0
  209. package/lib/mjs/SelectEx.d.ts +74 -0
  210. package/lib/mjs/ShowDataComparison.d.ts +15 -0
  211. package/lib/mjs/Switch.d.ts +28 -0
  212. package/lib/mjs/SwitchAnt.d.ts +24 -0
  213. package/lib/mjs/SwitchField.d.ts +45 -0
  214. package/lib/mjs/TabBox.d.ts +54 -0
  215. package/lib/mjs/TableEx.d.ts +64 -0
  216. package/lib/mjs/TagList.d.ts +21 -0
  217. package/lib/mjs/TagListPro.d.ts +22 -0
  218. package/lib/mjs/TextFieldEx.d.ts +157 -0
  219. package/lib/mjs/Tiplist.d.ts +29 -0
  220. package/lib/mjs/TiplistPro.d.ts +60 -0
  221. package/lib/mjs/TooltipClick.d.ts +15 -0
  222. package/lib/mjs/TwoFieldInput.d.ts +22 -0
  223. package/lib/mjs/UserAvatar.d.ts +23 -0
  224. package/lib/mjs/UserAvatarEditor.d.ts +60 -0
  225. package/lib/mjs/app/CommonApp.d.ts +21 -0
  226. package/lib/mjs/app/IServiceApp.d.ts +41 -0
  227. package/lib/mjs/app/IServiceAppSettings.d.ts +6 -0
  228. package/lib/mjs/app/IServicePage.d.ts +6 -0
  229. package/lib/mjs/app/IServiceUser.d.ts +42 -0
  230. package/lib/mjs/app/ISmartERPUser.d.ts +21 -0
  231. package/lib/mjs/app/Labels.d.ts +65 -0
  232. package/lib/mjs/app/ReactApp.d.ts +252 -0
  233. package/lib/mjs/app/ServiceApp.d.ts +76 -0
  234. package/lib/mjs/custom/CustomFieldUtils.d.ts +56 -0
  235. package/lib/mjs/custom/CustomFieldViewer.d.ts +50 -0
  236. package/lib/mjs/custom/CustomFieldWindow.d.ts +55 -0
  237. package/lib/mjs/custom/FieldAmountLabel.d.ts +7 -0
  238. package/lib/mjs/custom/FieldCheckbox.d.ts +8 -0
  239. package/lib/mjs/custom/FieldCombobox.d.ts +8 -0
  240. package/lib/mjs/custom/FieldDateInput.d.ts +7 -0
  241. package/lib/mjs/custom/FieldDivider.d.ts +7 -0
  242. package/lib/mjs/custom/FieldInput.d.ts +7 -0
  243. package/lib/mjs/custom/FieldJson.d.ts +7 -0
  244. package/lib/mjs/custom/FieldLabel.d.ts +7 -0
  245. package/lib/mjs/custom/FieldNumberInput.d.ts +7 -0
  246. package/lib/mjs/custom/FieldRadio.d.ts +8 -0
  247. package/lib/mjs/custom/FieldSelect.d.ts +8 -0
  248. package/lib/mjs/custom/FieldSwitch.d.ts +7 -0
  249. package/lib/mjs/custom/FieldTexarea.d.ts +7 -0
  250. package/lib/mjs/index.js +118 -0
  251. package/lib/mjs/messages/MessageUtils.d.ts +52 -0
  252. package/lib/mjs/messages/OperationMessageContainer.d.ts +24 -0
  253. package/lib/mjs/messages/OperationMessageDto.d.ts +26 -0
  254. package/lib/mjs/messages/OperationMessageHandler.d.ts +24 -0
  255. package/lib/mjs/messages/RefreshHandler.d.ts +5 -0
  256. package/lib/mjs/messages/SignalRUser.d.ts +31 -0
  257. package/lib/mjs/pages/CommonPage.d.ts +72 -0
  258. package/lib/{pages → mjs/pages}/CommonPage.js +16 -6
  259. package/lib/mjs/pages/DataGridPage.d.ts +7 -0
  260. package/lib/mjs/pages/DataGridPageProps.d.ts +18 -0
  261. package/lib/mjs/pages/DrawerHeader.d.ts +4 -0
  262. package/lib/mjs/pages/EditPage.d.ts +46 -0
  263. package/lib/mjs/pages/FixedListPage.d.ts +14 -0
  264. package/lib/mjs/pages/LeftDrawer.d.ts +35 -0
  265. package/lib/mjs/pages/ListPage.d.ts +12 -0
  266. package/lib/mjs/pages/ResponsivePage.d.ts +56 -0
  267. package/lib/mjs/pages/SearchPageProps.d.ts +36 -0
  268. package/lib/mjs/pages/TablePage.d.ts +13 -0
  269. package/lib/mjs/pages/UserMenu.d.ts +40 -0
  270. package/lib/mjs/pages/ViewPage.d.ts +104 -0
  271. package/lib/{pages → mjs/pages}/ViewPage.js +1 -1
  272. package/lib/mjs/texts/DateText.d.ts +33 -0
  273. package/lib/mjs/texts/MoneyText.d.ts +20 -0
  274. package/lib/mjs/texts/NumberText.d.ts +24 -0
  275. package/package.json +12 -6
  276. package/src/LineChart.tsx +3 -3
  277. package/src/MaskInput.tsx +30 -27
  278. package/src/pages/CommonPage.tsx +17 -4
  279. package/src/pages/ViewPage.tsx +1 -1
  280. package/tsconfig.cjs.json +19 -0
  281. package/tsconfig.json +1 -1
  282. package/lib/MaskInput.d.ts +0 -34
  283. package/lib/MaskInput.js +0 -42
  284. /package/lib/{AddresSelector.d.ts → cjs/AddresSelector.d.ts} +0 -0
  285. /package/lib/{AuditDisplay.d.ts → cjs/AuditDisplay.d.ts} +0 -0
  286. /package/lib/{AutocompleteExtendedProps.d.ts → cjs/AutocompleteExtendedProps.d.ts} +0 -0
  287. /package/lib/{BackButton.d.ts → cjs/BackButton.d.ts} +0 -0
  288. /package/lib/{BridgeCloseButton.d.ts → cjs/BridgeCloseButton.d.ts} +0 -0
  289. /package/lib/{ButtonLink.d.ts → cjs/ButtonLink.d.ts} +0 -0
  290. /package/lib/{ButtonPopover.d.ts → cjs/ButtonPopover.d.ts} +0 -0
  291. /package/lib/{ComboBox.d.ts → cjs/ComboBox.d.ts} +0 -0
  292. /package/lib/{ComboBoxMultiple.d.ts → cjs/ComboBoxMultiple.d.ts} +0 -0
  293. /package/lib/{ComboBoxPro.d.ts → cjs/ComboBoxPro.d.ts} +0 -0
  294. /package/lib/{CountdownButton.d.ts → cjs/CountdownButton.d.ts} +0 -0
  295. /package/lib/{CountryList.d.ts → cjs/CountryList.d.ts} +0 -0
  296. /package/lib/{CultureDataTable.d.ts → cjs/CultureDataTable.d.ts} +0 -0
  297. /package/lib/{CustomFabProps.d.ts → cjs/CustomFabProps.d.ts} +0 -0
  298. /package/lib/{DataGridEx.d.ts → cjs/DataGridEx.d.ts} +0 -0
  299. /package/lib/{DataGridRenderers.d.ts → cjs/DataGridRenderers.d.ts} +0 -0
  300. /package/lib/{DataSteps.d.ts → cjs/DataSteps.d.ts} +0 -0
  301. /package/lib/{DataTable.d.ts → cjs/DataTable.d.ts} +0 -0
  302. /package/lib/{DialogButton.d.ts → cjs/DialogButton.d.ts} +0 -0
  303. /package/lib/{DnDList.d.ts → cjs/DnDList.d.ts} +0 -0
  304. /package/lib/{DraggablePaperComponent.d.ts → cjs/DraggablePaperComponent.d.ts} +0 -0
  305. /package/lib/{EmailInput.d.ts → cjs/EmailInput.d.ts} +0 -0
  306. /package/lib/{FabBox.d.ts → cjs/FabBox.d.ts} +0 -0
  307. /package/lib/{FieldSetEx.d.ts → cjs/FieldSetEx.d.ts} +0 -0
  308. /package/lib/{FileUploadButton.d.ts → cjs/FileUploadButton.d.ts} +0 -0
  309. /package/lib/{FlexBox.d.ts → cjs/FlexBox.d.ts} +0 -0
  310. /package/lib/{GridDataCacheType.d.ts → cjs/GridDataCacheType.d.ts} +0 -0
  311. /package/lib/{GridDataFormat.d.ts → cjs/GridDataFormat.d.ts} +0 -0
  312. /package/lib/{GridUtils.d.ts → cjs/GridUtils.d.ts} +0 -0
  313. /package/lib/{HiSelector.d.ts → cjs/HiSelector.d.ts} +0 -0
  314. /package/lib/{HiSelectorTL.d.ts → cjs/HiSelectorTL.d.ts} +0 -0
  315. /package/lib/{IconButtonLink.d.ts → cjs/IconButtonLink.d.ts} +0 -0
  316. /package/lib/{InputField.d.ts → cjs/InputField.d.ts} +0 -0
  317. /package/lib/{InputTipField.d.ts → cjs/InputTipField.d.ts} +0 -0
  318. /package/lib/{IntInputField.d.ts → cjs/IntInputField.d.ts} +0 -0
  319. /package/lib/{ItemList.d.ts → cjs/ItemList.d.ts} +0 -0
  320. /package/lib/{ListChooser.d.ts → cjs/ListChooser.d.ts} +0 -0
  321. /package/lib/{ListItemRightIcon.d.ts → cjs/ListItemRightIcon.d.ts} +0 -0
  322. /package/lib/{ListMoreDisplay.d.ts → cjs/ListMoreDisplay.d.ts} +0 -0
  323. /package/lib/{LoadingButton.d.ts → cjs/LoadingButton.d.ts} +0 -0
  324. /package/lib/{MUGlobal.d.ts → cjs/MUGlobal.d.ts} +0 -0
  325. /package/lib/{MUUtils.d.ts → cjs/MUUtils.d.ts} +0 -0
  326. /package/lib/{MenuButton.d.ts → cjs/MenuButton.d.ts} +0 -0
  327. /package/lib/{MobileListItemRenderer.d.ts → cjs/MobileListItemRenderer.d.ts} +0 -0
  328. /package/lib/{MoneyInputField.d.ts → cjs/MoneyInputField.d.ts} +0 -0
  329. /package/lib/{MoreFab.d.ts → cjs/MoreFab.d.ts} +0 -0
  330. /package/lib/{NotifierMU.d.ts → cjs/NotifierMU.d.ts} +0 -0
  331. /package/lib/{NotifierPopupProps.d.ts → cjs/NotifierPopupProps.d.ts} +0 -0
  332. /package/lib/{NotifierPromptProps.d.ts → cjs/NotifierPromptProps.d.ts} +0 -0
  333. /package/lib/{NumberInputField.d.ts → cjs/NumberInputField.d.ts} +0 -0
  334. /package/lib/{OptionBool.d.ts → cjs/OptionBool.d.ts} +0 -0
  335. /package/lib/{OptionGroup.d.ts → cjs/OptionGroup.d.ts} +0 -0
  336. /package/lib/{OptionGroupFlag.d.ts → cjs/OptionGroupFlag.d.ts} +0 -0
  337. /package/lib/{PList.d.ts → cjs/PList.d.ts} +0 -0
  338. /package/lib/{PercentCircularProgress.d.ts → cjs/PercentCircularProgress.d.ts} +0 -0
  339. /package/lib/{PercentLinearProgress.d.ts → cjs/PercentLinearProgress.d.ts} +0 -0
  340. /package/lib/{ProgressCount.d.ts → cjs/ProgressCount.d.ts} +0 -0
  341. /package/lib/{PullToRefreshUI.d.ts → cjs/PullToRefreshUI.d.ts} +0 -0
  342. /package/lib/{QuickList.d.ts → cjs/QuickList.d.ts} +0 -0
  343. /package/lib/{RegionsRQ.d.ts → cjs/RegionsRQ.d.ts} +0 -0
  344. /package/lib/{ResponsibleContainer.d.ts → cjs/ResponsibleContainer.d.ts} +0 -0
  345. /package/lib/{ResponsiveStyleValue.d.ts → cjs/ResponsiveStyleValue.d.ts} +0 -0
  346. /package/lib/{ScrollTopFab.d.ts → cjs/ScrollTopFab.d.ts} +0 -0
  347. /package/lib/{ScrollerListEx.d.ts → cjs/ScrollerListEx.d.ts} +0 -0
  348. /package/lib/{SearchBar.d.ts → cjs/SearchBar.d.ts} +0 -0
  349. /package/lib/{SearchField.d.ts → cjs/SearchField.d.ts} +0 -0
  350. /package/lib/{SearchOptionGroup.d.ts → cjs/SearchOptionGroup.d.ts} +0 -0
  351. /package/lib/{SelectBool.d.ts → cjs/SelectBool.d.ts} +0 -0
  352. /package/lib/{SelectEx.d.ts → cjs/SelectEx.d.ts} +0 -0
  353. /package/lib/{ShowDataComparison.d.ts → cjs/ShowDataComparison.d.ts} +0 -0
  354. /package/lib/{Switch.d.ts → cjs/Switch.d.ts} +0 -0
  355. /package/lib/{SwitchAnt.d.ts → cjs/SwitchAnt.d.ts} +0 -0
  356. /package/lib/{SwitchField.d.ts → cjs/SwitchField.d.ts} +0 -0
  357. /package/lib/{TabBox.d.ts → cjs/TabBox.d.ts} +0 -0
  358. /package/lib/{TableEx.d.ts → cjs/TableEx.d.ts} +0 -0
  359. /package/lib/{TagList.d.ts → cjs/TagList.d.ts} +0 -0
  360. /package/lib/{TagListPro.d.ts → cjs/TagListPro.d.ts} +0 -0
  361. /package/lib/{TextFieldEx.d.ts → cjs/TextFieldEx.d.ts} +0 -0
  362. /package/lib/{Tiplist.d.ts → cjs/Tiplist.d.ts} +0 -0
  363. /package/lib/{TiplistPro.d.ts → cjs/TiplistPro.d.ts} +0 -0
  364. /package/lib/{TooltipClick.d.ts → cjs/TooltipClick.d.ts} +0 -0
  365. /package/lib/{TwoFieldInput.d.ts → cjs/TwoFieldInput.d.ts} +0 -0
  366. /package/lib/{UserAvatar.d.ts → cjs/UserAvatar.d.ts} +0 -0
  367. /package/lib/{UserAvatarEditor.d.ts → cjs/UserAvatarEditor.d.ts} +0 -0
  368. /package/lib/{app → cjs/app}/CommonApp.d.ts +0 -0
  369. /package/lib/{app → cjs/app}/IServiceApp.d.ts +0 -0
  370. /package/lib/{app → cjs/app}/IServiceAppSettings.d.ts +0 -0
  371. /package/lib/{app → cjs/app}/IServicePage.d.ts +0 -0
  372. /package/lib/{app → cjs/app}/IServiceUser.d.ts +0 -0
  373. /package/lib/{app → cjs/app}/ISmartERPUser.d.ts +0 -0
  374. /package/lib/{app → cjs/app}/Labels.d.ts +0 -0
  375. /package/lib/{app → cjs/app}/ReactApp.d.ts +0 -0
  376. /package/lib/{app → cjs/app}/ServiceApp.d.ts +0 -0
  377. /package/lib/{custom → cjs/custom}/CustomFieldUtils.d.ts +0 -0
  378. /package/lib/{custom → cjs/custom}/CustomFieldViewer.d.ts +0 -0
  379. /package/lib/{custom → cjs/custom}/CustomFieldWindow.d.ts +0 -0
  380. /package/lib/{custom → cjs/custom}/FieldAmountLabel.d.ts +0 -0
  381. /package/lib/{custom → cjs/custom}/FieldCheckbox.d.ts +0 -0
  382. /package/lib/{custom → cjs/custom}/FieldCombobox.d.ts +0 -0
  383. /package/lib/{custom → cjs/custom}/FieldDateInput.d.ts +0 -0
  384. /package/lib/{custom → cjs/custom}/FieldDivider.d.ts +0 -0
  385. /package/lib/{custom → cjs/custom}/FieldInput.d.ts +0 -0
  386. /package/lib/{custom → cjs/custom}/FieldJson.d.ts +0 -0
  387. /package/lib/{custom → cjs/custom}/FieldLabel.d.ts +0 -0
  388. /package/lib/{custom → cjs/custom}/FieldNumberInput.d.ts +0 -0
  389. /package/lib/{custom → cjs/custom}/FieldRadio.d.ts +0 -0
  390. /package/lib/{custom → cjs/custom}/FieldSelect.d.ts +0 -0
  391. /package/lib/{custom → cjs/custom}/FieldSwitch.d.ts +0 -0
  392. /package/lib/{custom → cjs/custom}/FieldTexarea.d.ts +0 -0
  393. /package/lib/{index.d.ts → cjs/index.d.ts} +0 -0
  394. /package/lib/{messages → cjs/messages}/MessageUtils.d.ts +0 -0
  395. /package/lib/{messages → cjs/messages}/OperationMessageContainer.d.ts +0 -0
  396. /package/lib/{messages → cjs/messages}/OperationMessageDto.d.ts +0 -0
  397. /package/lib/{messages → cjs/messages}/OperationMessageHandler.d.ts +0 -0
  398. /package/lib/{messages → cjs/messages}/RefreshHandler.d.ts +0 -0
  399. /package/lib/{messages → cjs/messages}/SignalRUser.d.ts +0 -0
  400. /package/lib/{pages → cjs/pages}/CommonPage.d.ts +0 -0
  401. /package/lib/{pages → cjs/pages}/DataGridPage.d.ts +0 -0
  402. /package/lib/{pages → cjs/pages}/DataGridPageProps.d.ts +0 -0
  403. /package/lib/{pages → cjs/pages}/DrawerHeader.d.ts +0 -0
  404. /package/lib/{pages → cjs/pages}/EditPage.d.ts +0 -0
  405. /package/lib/{pages → cjs/pages}/FixedListPage.d.ts +0 -0
  406. /package/lib/{pages → cjs/pages}/LeftDrawer.d.ts +0 -0
  407. /package/lib/{pages → cjs/pages}/ListPage.d.ts +0 -0
  408. /package/lib/{pages → cjs/pages}/ResponsivePage.d.ts +0 -0
  409. /package/lib/{pages → cjs/pages}/SearchPageProps.d.ts +0 -0
  410. /package/lib/{pages → cjs/pages}/TablePage.d.ts +0 -0
  411. /package/lib/{pages → cjs/pages}/UserMenu.d.ts +0 -0
  412. /package/lib/{pages → cjs/pages}/ViewPage.d.ts +0 -0
  413. /package/lib/{texts → cjs/texts}/DateText.d.ts +0 -0
  414. /package/lib/{texts → cjs/texts}/MoneyText.d.ts +0 -0
  415. /package/lib/{texts → cjs/texts}/NumberText.d.ts +0 -0
  416. /package/lib/{AddresSelector.js → mjs/AddresSelector.js} +0 -0
  417. /package/lib/{AuditDisplay.js → mjs/AuditDisplay.js} +0 -0
  418. /package/lib/{AutocompleteExtendedProps.js → mjs/AutocompleteExtendedProps.js} +0 -0
  419. /package/lib/{BackButton.js → mjs/BackButton.js} +0 -0
  420. /package/lib/{BridgeCloseButton.js → mjs/BridgeCloseButton.js} +0 -0
  421. /package/lib/{ButtonLink.js → mjs/ButtonLink.js} +0 -0
  422. /package/lib/{ButtonPopover.js → mjs/ButtonPopover.js} +0 -0
  423. /package/lib/{ComboBox.js → mjs/ComboBox.js} +0 -0
  424. /package/lib/{ComboBoxMultiple.js → mjs/ComboBoxMultiple.js} +0 -0
  425. /package/lib/{ComboBoxPro.js → mjs/ComboBoxPro.js} +0 -0
  426. /package/lib/{CountdownButton.js → mjs/CountdownButton.js} +0 -0
  427. /package/lib/{CountryList.js → mjs/CountryList.js} +0 -0
  428. /package/lib/{CultureDataTable.js → mjs/CultureDataTable.js} +0 -0
  429. /package/lib/{CustomFabProps.js → mjs/CustomFabProps.js} +0 -0
  430. /package/lib/{DataGridEx.js → mjs/DataGridEx.js} +0 -0
  431. /package/lib/{DataGridRenderers.js → mjs/DataGridRenderers.js} +0 -0
  432. /package/lib/{DataSteps.js → mjs/DataSteps.js} +0 -0
  433. /package/lib/{DataTable.js → mjs/DataTable.js} +0 -0
  434. /package/lib/{DialogButton.js → mjs/DialogButton.js} +0 -0
  435. /package/lib/{DnDList.js → mjs/DnDList.js} +0 -0
  436. /package/lib/{DraggablePaperComponent.js → mjs/DraggablePaperComponent.js} +0 -0
  437. /package/lib/{EmailInput.js → mjs/EmailInput.js} +0 -0
  438. /package/lib/{FabBox.js → mjs/FabBox.js} +0 -0
  439. /package/lib/{FieldSetEx.js → mjs/FieldSetEx.js} +0 -0
  440. /package/lib/{FileUploadButton.js → mjs/FileUploadButton.js} +0 -0
  441. /package/lib/{FlexBox.js → mjs/FlexBox.js} +0 -0
  442. /package/lib/{GridDataCacheType.js → mjs/GridDataCacheType.js} +0 -0
  443. /package/lib/{GridDataFormat.js → mjs/GridDataFormat.js} +0 -0
  444. /package/lib/{GridUtils.js → mjs/GridUtils.js} +0 -0
  445. /package/lib/{HiSelector.js → mjs/HiSelector.js} +0 -0
  446. /package/lib/{HiSelectorTL.js → mjs/HiSelectorTL.js} +0 -0
  447. /package/lib/{IconButtonLink.js → mjs/IconButtonLink.js} +0 -0
  448. /package/lib/{InputField.js → mjs/InputField.js} +0 -0
  449. /package/lib/{InputTipField.js → mjs/InputTipField.js} +0 -0
  450. /package/lib/{IntInputField.js → mjs/IntInputField.js} +0 -0
  451. /package/lib/{ItemList.js → mjs/ItemList.js} +0 -0
  452. /package/lib/{ListChooser.js → mjs/ListChooser.js} +0 -0
  453. /package/lib/{ListItemRightIcon.js → mjs/ListItemRightIcon.js} +0 -0
  454. /package/lib/{ListMoreDisplay.js → mjs/ListMoreDisplay.js} +0 -0
  455. /package/lib/{LoadingButton.js → mjs/LoadingButton.js} +0 -0
  456. /package/lib/{MUGlobal.js → mjs/MUGlobal.js} +0 -0
  457. /package/lib/{MUUtils.js → mjs/MUUtils.js} +0 -0
  458. /package/lib/{MenuButton.js → mjs/MenuButton.js} +0 -0
  459. /package/lib/{MobileListItemRenderer.js → mjs/MobileListItemRenderer.js} +0 -0
  460. /package/lib/{MoneyInputField.js → mjs/MoneyInputField.js} +0 -0
  461. /package/lib/{MoreFab.js → mjs/MoreFab.js} +0 -0
  462. /package/lib/{NotifierMU.js → mjs/NotifierMU.js} +0 -0
  463. /package/lib/{NotifierPopupProps.js → mjs/NotifierPopupProps.js} +0 -0
  464. /package/lib/{NotifierPromptProps.js → mjs/NotifierPromptProps.js} +0 -0
  465. /package/lib/{NumberInputField.js → mjs/NumberInputField.js} +0 -0
  466. /package/lib/{OptionBool.js → mjs/OptionBool.js} +0 -0
  467. /package/lib/{OptionGroup.js → mjs/OptionGroup.js} +0 -0
  468. /package/lib/{OptionGroupFlag.js → mjs/OptionGroupFlag.js} +0 -0
  469. /package/lib/{PList.js → mjs/PList.js} +0 -0
  470. /package/lib/{PercentCircularProgress.js → mjs/PercentCircularProgress.js} +0 -0
  471. /package/lib/{PercentLinearProgress.js → mjs/PercentLinearProgress.js} +0 -0
  472. /package/lib/{ProgressCount.js → mjs/ProgressCount.js} +0 -0
  473. /package/lib/{PullToRefreshUI.js → mjs/PullToRefreshUI.js} +0 -0
  474. /package/lib/{QuickList.js → mjs/QuickList.js} +0 -0
  475. /package/lib/{RegionsRQ.js → mjs/RegionsRQ.js} +0 -0
  476. /package/lib/{ResponsibleContainer.js → mjs/ResponsibleContainer.js} +0 -0
  477. /package/lib/{ResponsiveStyleValue.js → mjs/ResponsiveStyleValue.js} +0 -0
  478. /package/lib/{ScrollTopFab.js → mjs/ScrollTopFab.js} +0 -0
  479. /package/lib/{ScrollerListEx.js → mjs/ScrollerListEx.js} +0 -0
  480. /package/lib/{SearchBar.js → mjs/SearchBar.js} +0 -0
  481. /package/lib/{SearchField.js → mjs/SearchField.js} +0 -0
  482. /package/lib/{SearchOptionGroup.js → mjs/SearchOptionGroup.js} +0 -0
  483. /package/lib/{SelectBool.js → mjs/SelectBool.js} +0 -0
  484. /package/lib/{SelectEx.js → mjs/SelectEx.js} +0 -0
  485. /package/lib/{ShowDataComparison.js → mjs/ShowDataComparison.js} +0 -0
  486. /package/lib/{Switch.js → mjs/Switch.js} +0 -0
  487. /package/lib/{SwitchAnt.js → mjs/SwitchAnt.js} +0 -0
  488. /package/lib/{SwitchField.js → mjs/SwitchField.js} +0 -0
  489. /package/lib/{TabBox.js → mjs/TabBox.js} +0 -0
  490. /package/lib/{TableEx.js → mjs/TableEx.js} +0 -0
  491. /package/lib/{TagList.js → mjs/TagList.js} +0 -0
  492. /package/lib/{TagListPro.js → mjs/TagListPro.js} +0 -0
  493. /package/lib/{TextFieldEx.js → mjs/TextFieldEx.js} +0 -0
  494. /package/lib/{Tiplist.js → mjs/Tiplist.js} +0 -0
  495. /package/lib/{TiplistPro.js → mjs/TiplistPro.js} +0 -0
  496. /package/lib/{TooltipClick.js → mjs/TooltipClick.js} +0 -0
  497. /package/lib/{TwoFieldInput.js → mjs/TwoFieldInput.js} +0 -0
  498. /package/lib/{UserAvatar.js → mjs/UserAvatar.js} +0 -0
  499. /package/lib/{UserAvatarEditor.js → mjs/UserAvatarEditor.js} +0 -0
  500. /package/lib/{app → mjs/app}/CommonApp.js +0 -0
  501. /package/lib/{app → mjs/app}/IServiceApp.js +0 -0
  502. /package/lib/{app → mjs/app}/IServiceAppSettings.js +0 -0
  503. /package/lib/{app → mjs/app}/IServicePage.js +0 -0
  504. /package/lib/{app → mjs/app}/IServiceUser.js +0 -0
  505. /package/lib/{app → mjs/app}/ISmartERPUser.js +0 -0
  506. /package/lib/{app → mjs/app}/Labels.js +0 -0
  507. /package/lib/{app → mjs/app}/ReactApp.js +0 -0
  508. /package/lib/{app → mjs/app}/ServiceApp.js +0 -0
  509. /package/lib/{custom → mjs/custom}/CustomFieldUtils.js +0 -0
  510. /package/lib/{custom → mjs/custom}/CustomFieldViewer.js +0 -0
  511. /package/lib/{custom → mjs/custom}/CustomFieldWindow.js +0 -0
  512. /package/lib/{custom → mjs/custom}/FieldAmountLabel.js +0 -0
  513. /package/lib/{custom → mjs/custom}/FieldCheckbox.js +0 -0
  514. /package/lib/{custom → mjs/custom}/FieldCombobox.js +0 -0
  515. /package/lib/{custom → mjs/custom}/FieldDateInput.js +0 -0
  516. /package/lib/{custom → mjs/custom}/FieldDivider.js +0 -0
  517. /package/lib/{custom → mjs/custom}/FieldInput.js +0 -0
  518. /package/lib/{custom → mjs/custom}/FieldJson.js +0 -0
  519. /package/lib/{custom → mjs/custom}/FieldLabel.js +0 -0
  520. /package/lib/{custom → mjs/custom}/FieldNumberInput.js +0 -0
  521. /package/lib/{custom → mjs/custom}/FieldRadio.js +0 -0
  522. /package/lib/{custom → mjs/custom}/FieldSelect.js +0 -0
  523. /package/lib/{custom → mjs/custom}/FieldSwitch.js +0 -0
  524. /package/lib/{custom → mjs/custom}/FieldTexarea.js +0 -0
  525. /package/lib/{index.js → mjs/index.d.ts} +0 -0
  526. /package/lib/{messages → mjs/messages}/MessageUtils.js +0 -0
  527. /package/lib/{messages → mjs/messages}/OperationMessageContainer.js +0 -0
  528. /package/lib/{messages → mjs/messages}/OperationMessageDto.js +0 -0
  529. /package/lib/{messages → mjs/messages}/OperationMessageHandler.js +0 -0
  530. /package/lib/{messages → mjs/messages}/RefreshHandler.js +0 -0
  531. /package/lib/{messages → mjs/messages}/SignalRUser.js +0 -0
  532. /package/lib/{pages → mjs/pages}/DataGridPage.js +0 -0
  533. /package/lib/{pages → mjs/pages}/DataGridPageProps.js +0 -0
  534. /package/lib/{pages → mjs/pages}/DrawerHeader.js +0 -0
  535. /package/lib/{pages → mjs/pages}/EditPage.js +0 -0
  536. /package/lib/{pages → mjs/pages}/FixedListPage.js +0 -0
  537. /package/lib/{pages → mjs/pages}/LeftDrawer.js +0 -0
  538. /package/lib/{pages → mjs/pages}/ListPage.js +0 -0
  539. /package/lib/{pages → mjs/pages}/ResponsivePage.js +0 -0
  540. /package/lib/{pages → mjs/pages}/SearchPageProps.js +0 -0
  541. /package/lib/{pages → mjs/pages}/TablePage.js +0 -0
  542. /package/lib/{pages → mjs/pages}/UserMenu.js +0 -0
  543. /package/lib/{texts → mjs/texts}/DateText.js +0 -0
  544. /package/lib/{texts → mjs/texts}/MoneyText.js +0 -0
  545. /package/lib/{texts → mjs/texts}/NumberText.js +0 -0
@@ -0,0 +1,56 @@
1
+ import { ListType2 } from "@etsoo/shared";
2
+ import { ListItemButtonProps, ListItemProps, StackProps } from "@mui/material";
3
+ import React from "react";
4
+ import { InputFieldProps } from "./InputField";
5
+ /**
6
+ * Quick list props
7
+ */
8
+ export type QuickListProps<T extends ListType2 = ListType2> = StackProps & {
9
+ /**
10
+ * Button props
11
+ */
12
+ buttonProps?: ListItemButtonProps;
13
+ /**
14
+ * Label
15
+ */
16
+ label?: string;
17
+ /**
18
+ * No matches label
19
+ */
20
+ noMatchesLabel?: string;
21
+ /**
22
+ * Input field props
23
+ */
24
+ inputProps?: Omit<InputFieldProps, "onChangeDelay">;
25
+ /**
26
+ * Get item label
27
+ * @param item Current item
28
+ * @returns Item label
29
+ */
30
+ itemLabel?: (item: T) => string;
31
+ /**
32
+ * Item renderer
33
+ * @param item Current item
34
+ * @returns UI
35
+ */
36
+ itemRenderer?: (item: T) => React.ReactNode;
37
+ /**
38
+ * List item props
39
+ */
40
+ itemProps?: ListItemProps;
41
+ /**
42
+ * Load data callback
43
+ */
44
+ loadData: (keyword: string | undefined) => PromiseLike<T[] | undefined>;
45
+ /**
46
+ * On item click
47
+ * @param item Clicked item
48
+ */
49
+ onItemClick?: (item: T) => void;
50
+ };
51
+ /**
52
+ * Quick list
53
+ * @param props Props
54
+ * @returns Component
55
+ */
56
+ export declare function QuickList<T extends ListType2 = ListType2>(props: QuickListProps<T>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,22 @@
1
+ export type RegionsRQ = {
2
+ /**
3
+ * Country id
4
+ */
5
+ id?: string;
6
+ /**
7
+ * Favored country ids from top to bottom
8
+ */
9
+ favoredIds?: string[];
10
+ /**
11
+ * Items count to query
12
+ */
13
+ items?: number;
14
+ /**
15
+ * Filter keyword
16
+ */
17
+ keyword?: string;
18
+ /**
19
+ * Cultrue
20
+ */
21
+ culture?: string;
22
+ };
@@ -0,0 +1,98 @@
1
+ import { SxProps, Theme } from "@mui/material";
2
+ import React from "react";
3
+ import { ListChildComponentProps } from "react-window";
4
+ import { GridColumn, GridJsonData, GridMethodRef, GridTemplateType } from "@etsoo/react";
5
+ import { DataGridExProps } from "./DataGridEx";
6
+ import { ScrollerListExInnerItemRendererProps, ScrollerListExItemSize } from "./ScrollerListEx";
7
+ /**
8
+ * ResponsibleContainer props
9
+ */
10
+ export type ResponsibleContainerProps<T extends object, F> = Omit<DataGridExProps<T>, "height" | "itemKey" | "loadData" | "mRef" | "onScroll" | "onItemsRendered" | "onInitLoad" | "onUpdateRows"> & {
11
+ /**
12
+ * Height will be deducted
13
+ * @param height Current calcuated height
14
+ * @param rect Current rect data
15
+ */
16
+ adjustHeight?: number | ((height: number, rect: DOMRect) => number);
17
+ /**
18
+ *
19
+ * @param height Current height
20
+ * @param isGrid Is displaying DataGrid
21
+ * @returns Adjusted height
22
+ */
23
+ adjustFabHeight?: (height: number, isGrid: boolean) => number;
24
+ /**
25
+ * Columns
26
+ */
27
+ columns: GridColumn<T>[];
28
+ /**
29
+ * Container box SX (dataGrid determines the case)
30
+ */
31
+ containerBoxSx?: (paddings: number | Record<string, string | number>, hasFields: boolean, dataGrid?: boolean) => SxProps<Theme>;
32
+ /**
33
+ * Search fields
34
+ */
35
+ fields?: React.ReactElement[] | ((data: GridTemplateType<F>) => React.ReactElement[]);
36
+ /**
37
+ * Search field template
38
+ */
39
+ readonly fieldTemplate: F;
40
+ /**
41
+ * Grid height
42
+ */
43
+ height?: number;
44
+ /**
45
+ * Inner item renderer
46
+ */
47
+ innerItemRenderer: (props: ScrollerListExInnerItemRendererProps<T>) => React.ReactNode;
48
+ /**
49
+ * Item renderer
50
+ */
51
+ itemRenderer?: (props: ListChildComponentProps<T>) => React.ReactElement;
52
+ /**
53
+ * Item size, a function indicates its a variable size list
54
+ */
55
+ itemSize: ScrollerListExItemSize;
56
+ /**
57
+ * Load data callback
58
+ */
59
+ loadData: (data: GridJsonData & GridTemplateType<F>, lastItem?: T) => PromiseLike<T[] | null | undefined>;
60
+ /**
61
+ * Methods
62
+ */
63
+ mRef?: React.MutableRefObject<GridMethodRef<T> | undefined>;
64
+ /**
65
+ * Element ready callback
66
+ */
67
+ elementReady?: (element: HTMLElement, isDataGrid: boolean) => void;
68
+ /**
69
+ * Paddings
70
+ */
71
+ paddings?: number | Record<string, string | number>;
72
+ /**
73
+ * Pull to refresh data
74
+ */
75
+ pullToRefresh?: boolean;
76
+ /**
77
+ * Quick action for double click or click under mobile
78
+ */
79
+ quickAction?: (data: T) => void;
80
+ /**
81
+ * Size ready to read miliseconds span
82
+ */
83
+ sizeReadyMiliseconds?: number;
84
+ /**
85
+ * SearchBar height
86
+ */
87
+ searchBarHeight?: number;
88
+ /**
89
+ * SearchBar bottom padding
90
+ */
91
+ searchBarBottom?: number;
92
+ };
93
+ /**
94
+ * Responsible container
95
+ * @param props Props
96
+ * @returns Layout
97
+ */
98
+ export declare function ResponsibleContainer<T extends object, F>(props: ResponsibleContainerProps<T, F>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { Breakpoint } from "@mui/material";
2
+ /**
3
+ * Responsive style value
4
+ */
5
+ export type ResponsiveStyleValue<T> = T | Array<T | null> | {
6
+ [key in Breakpoint]?: T | null;
7
+ };
@@ -0,0 +1,6 @@
1
+ import { CustomFabProps } from "./CustomFabProps";
2
+ /**
3
+ * Scroll to top fab
4
+ * @returns Component
5
+ */
6
+ export declare function ScrollTopFab(props: CustomFabProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,75 @@
1
+ import { ScrollerListProps } from "@etsoo/react";
2
+ import React from "react";
3
+ import { ListChildComponentProps } from "react-window";
4
+ import { MouseEventWithDataHandler } from "./MUGlobal";
5
+ /**
6
+ * Extended ScrollerList inner item renderer props
7
+ */
8
+ export interface ScrollerListExInnerItemRendererProps<T> extends ListChildComponentProps<T> {
9
+ /**
10
+ * Item selected
11
+ */
12
+ selected: boolean;
13
+ /**
14
+ * Item height
15
+ */
16
+ itemHeight: number;
17
+ /**
18
+ * Item space
19
+ */
20
+ space: number;
21
+ /**
22
+ * Default margins
23
+ */
24
+ margins: object;
25
+ }
26
+ /**
27
+ * Extended ScrollerList ItemSize type
28
+ * 1. Callback function
29
+ * 2. Static sets
30
+ * 3. Dynamic calculation
31
+ */
32
+ export type ScrollerListExItemSize = ((index: number) => [number, number] | [number, number, object]) | [number, number] | [number, object, boolean?];
33
+ /**
34
+ * Extended ScrollerList Props
35
+ */
36
+ export type ScrollerListExProps<T extends object> = Omit<ScrollerListProps<T>, "itemRenderer" | "itemSize"> & {
37
+ /**
38
+ * Alternating colors for odd/even rows
39
+ */
40
+ alternatingColors?: [string?, string?];
41
+ /**
42
+ * Inner item renderer
43
+ */
44
+ innerItemRenderer: (props: ScrollerListExInnerItemRendererProps<T>) => React.ReactNode;
45
+ /**
46
+ * Item renderer
47
+ */
48
+ itemRenderer?: (props: ListChildComponentProps<T>) => React.ReactElement;
49
+ /**
50
+ * Item size, a function indicates its a variable size list
51
+ */
52
+ itemSize: ScrollerListExItemSize;
53
+ /**
54
+ * Double click handler
55
+ */
56
+ onDoubleClick?: MouseEventWithDataHandler<T>;
57
+ /**
58
+ * Click handler
59
+ */
60
+ onClick?: MouseEventWithDataHandler<T>;
61
+ /**
62
+ * On items select change
63
+ */
64
+ onSelectChange?: (selectedItems: T[]) => void;
65
+ /**
66
+ * Selected color
67
+ */
68
+ selectedColor?: string;
69
+ };
70
+ /**
71
+ * Extended ScrollerList
72
+ * @param props Props
73
+ * @returns Component
74
+ */
75
+ export declare function ScrollerListEx<T extends object>(props: ScrollerListExProps<T>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,32 @@
1
+ import React from "react";
2
+ /**
3
+ * Search bar props
4
+ */
5
+ export interface SearchBarProps {
6
+ /**
7
+ * Style class name
8
+ */
9
+ className?: string;
10
+ /**
11
+ * Item gap
12
+ */
13
+ itemGap?: number;
14
+ /**
15
+ * Item width
16
+ */
17
+ itemWidth?: number;
18
+ /**
19
+ * Fields
20
+ */
21
+ fields: React.ReactElement[];
22
+ /**
23
+ * On submit callback
24
+ */
25
+ onSubmit: (data: FormData, reset: boolean) => void | PromiseLike<void>;
26
+ }
27
+ /**
28
+ * Search bar
29
+ * @param props Props
30
+ * @returns Component
31
+ */
32
+ export declare function SearchBar(props: SearchBarProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,24 @@
1
+ import { TextFieldProps } from "@mui/material";
2
+ /**
3
+ * Search field props
4
+ */
5
+ export type SearchFieldProps = TextFieldProps & {
6
+ /**
7
+ * Change delay (ms) to avoid repeatly dispatch onChange
8
+ */
9
+ changeDelay?: number;
10
+ /**
11
+ * Is the field read only?
12
+ */
13
+ readOnly?: boolean;
14
+ /**
15
+ * Minimum characters to trigger the change event
16
+ */
17
+ minChars?: number;
18
+ };
19
+ /**
20
+ * Search field
21
+ * @param props Props
22
+ * @returns Component
23
+ */
24
+ export declare function SearchField(props: SearchFieldProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { DataTypes, IdDefaultType, LabelDefaultType, ListType } from "@etsoo/shared";
2
+ import { OptionGroupProps } from "./OptionGroup";
3
+ /**
4
+ * Search OptionGroup
5
+ * @param props Props
6
+ * @returns Component
7
+ */
8
+ export declare function SearchOptionGroup<T extends object = ListType, D extends DataTypes.Keys<T> = IdDefaultType<T>, L extends DataTypes.Keys<T, string> = LabelDefaultType<T>>(props: OptionGroupProps<T, D, L>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,12 @@
1
+ import { ListType1 } from "@etsoo/shared";
2
+ import { SelectExProps } from "./SelectEx";
3
+ /**
4
+ * SelectBool props
5
+ */
6
+ export type SelectBoolProps = Omit<SelectExProps<ListType1>, "options" | "loadData">;
7
+ /**
8
+ * SelectBool (yes/no)
9
+ * @param props Props
10
+ * @returns Component
11
+ */
12
+ export declare function SelectBool(props: SelectBoolProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,74 @@
1
+ import { SelectProps, SelectVariants } from "@mui/material";
2
+ import React from "react";
3
+ import { DataTypes, IdDefaultType, LabelDefaultType, ListType } from "@etsoo/shared";
4
+ /**
5
+ * Extended select component props
6
+ */
7
+ export type SelectExProps<T extends object, D extends DataTypes.Keys<T> = IdDefaultType<T>, L extends DataTypes.Keys<T, string> = LabelDefaultType<T>> = Omit<SelectProps, "labelId" | "input" | "native" | "variant"> & {
8
+ /**
9
+ * Auto add blank item
10
+ */
11
+ autoAddBlankItem?: boolean;
12
+ /**
13
+ * The helper text content.
14
+ */
15
+ helperText?: React.ReactNode;
16
+ /**
17
+ * Id field
18
+ */
19
+ idField?: D;
20
+ /**
21
+ * Set 'data-reset'
22
+ */
23
+ inputReset?: boolean;
24
+ /**
25
+ * Item icon renderer
26
+ */
27
+ itemIconRenderer?: (id: T[D]) => React.ReactNode;
28
+ /**
29
+ * Item style
30
+ */
31
+ itemStyle?: (option: T) => React.CSSProperties;
32
+ /**
33
+ * Label field
34
+ */
35
+ labelField?: L | ((option: T) => string);
36
+ /**
37
+ * Load data callback
38
+ */
39
+ loadData?: () => PromiseLike<T[] | null | undefined>;
40
+ /**
41
+ * Item change callback
42
+ */
43
+ onItemChange?: (option: T | undefined, userAction: boolean) => void;
44
+ /**
45
+ * Item click handler
46
+ */
47
+ onItemClick?: (event: React.MouseEvent, option: T) => void;
48
+ /**
49
+ * On load data handler
50
+ */
51
+ onLoadData?: (options: T[]) => void;
52
+ /**
53
+ * Array of options.
54
+ */
55
+ options?: ReadonlyArray<T>;
56
+ /**
57
+ * Supports refresh label or component
58
+ */
59
+ refresh?: string | React.ReactNode;
60
+ /**
61
+ * Is search case?
62
+ */
63
+ search?: boolean;
64
+ /**
65
+ * Variant
66
+ */
67
+ variant?: SelectVariants;
68
+ };
69
+ /**
70
+ * Extended select component
71
+ * @param props Props
72
+ * @returns Component
73
+ */
74
+ export declare function SelectEx<T extends object = ListType, D extends DataTypes.Keys<T> = IdDefaultType<T>, L extends DataTypes.Keys<T, string> = LabelDefaultType<T>>(props: SelectExProps<T, D, L>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,15 @@
1
+ import { AuditLineChangesDto } from "@etsoo/appscript";
2
+ /**
3
+ * Check obj is instance of AuditLineChangesDto
4
+ * @param obj Input
5
+ * @returns Result
6
+ */
7
+ export declare function IsAuditLineUpdateData(obj: any): obj is AuditLineChangesDto;
8
+ /**
9
+ * Show data comparison
10
+ * @param data Data
11
+ * @param modelTitle Model window title
12
+ * @param getLabel Get label callback
13
+ * @param equalCheck Equal check for properties
14
+ */
15
+ export declare const ShowDataComparison: (data: AuditLineChangesDto, modelTitle?: string, getLabel?: (field: string) => string, equalCheck?: boolean) => void;
@@ -0,0 +1,28 @@
1
+ import { FormControlLabelProps } from "@mui/material";
2
+ /**
3
+ * Switch props
4
+ */
5
+ export interface SwitchProps extends Omit<FormControlLabelProps, "control"> {
6
+ /**
7
+ * Value, default 'on'
8
+ */
9
+ value?: string;
10
+ /**
11
+ * Is the field read only?
12
+ */
13
+ readOnly?: boolean;
14
+ /**
15
+ * Size
16
+ */
17
+ size?: "small" | "medium";
18
+ /**
19
+ * Display as Checkbox
20
+ */
21
+ checkbox?: boolean;
22
+ }
23
+ /**
24
+ * Switch
25
+ * @param props Props
26
+ * @returns Component
27
+ */
28
+ export declare function Switch(props: SwitchProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,24 @@
1
+ import { SwitchProps } from "@mui/material/Switch";
2
+ /**
3
+ * Ant style switch props
4
+ */
5
+ export interface SwitchAntProps extends SwitchProps {
6
+ /**
7
+ * Active color
8
+ */
9
+ activeColor?: string;
10
+ /**
11
+ * Start label
12
+ */
13
+ startLabel?: string;
14
+ /**
15
+ * End label
16
+ */
17
+ endLabel?: string;
18
+ }
19
+ /**
20
+ * Ant style switch
21
+ * @param props Props
22
+ * @returns Component
23
+ */
24
+ export declare function SwitchAnt(props: SwitchAntProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,45 @@
1
+ import { FormControlProps } from "@mui/material";
2
+ import React from "react";
3
+ /**
4
+ * SwitchField props
5
+ */
6
+ export type SwitchFieldProps = Omit<FormControlProps, "defaultValue"> & {
7
+ /**
8
+ * Helper text
9
+ */
10
+ helperText?: React.ReactNode;
11
+ /**
12
+ * Label
13
+ */
14
+ label?: string;
15
+ /**
16
+ * Field name
17
+ */
18
+ name: string;
19
+ /**
20
+ * Checked
21
+ */
22
+ checked?: boolean;
23
+ /**
24
+ * Active color
25
+ */
26
+ activeColor?: string;
27
+ /**
28
+ * Start label
29
+ */
30
+ startLabel?: string;
31
+ /**
32
+ * End label
33
+ */
34
+ endLabel?: string;
35
+ /**
36
+ * Value, default is true
37
+ */
38
+ value?: unknown;
39
+ };
40
+ /**
41
+ * SwitchField
42
+ * @param props Props
43
+ * @returns Component
44
+ */
45
+ export declare function SwitchField(props: SwitchFieldProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,54 @@
1
+ import { BoxProps, TabProps, TabsProps } from "@mui/material";
2
+ import React from "react";
3
+ /**
4
+ * Tab with box panel props
5
+ */
6
+ export interface TabBoxPanel extends Omit<TabProps, "value" | "children"> {
7
+ /**
8
+ * Children
9
+ */
10
+ children?: ((visible: boolean) => React.ReactNode) | React.ReactNode;
11
+ /**
12
+ * Panel box props
13
+ */
14
+ panel?: Omit<BoxProps, "hidden">;
15
+ /**
16
+ * To URL
17
+ */
18
+ to?: string;
19
+ }
20
+ /**
21
+ * Tabs with box props
22
+ */
23
+ export interface TabBoxPros extends BoxProps {
24
+ /**
25
+ * Container props
26
+ */
27
+ container?: Omit<TabsProps, "value">;
28
+ /**
29
+ * Default selected index
30
+ */
31
+ defaultIndex?: number;
32
+ /**
33
+ * Current index
34
+ */
35
+ index?: number;
36
+ /**
37
+ * Add a hidden input and its name
38
+ */
39
+ inputName?: string;
40
+ /**
41
+ * Root props
42
+ */
43
+ root?: BoxProps;
44
+ /**
45
+ * Tabs
46
+ */
47
+ tabs: TabBoxPanel[];
48
+ }
49
+ /**
50
+ * Tabs with box
51
+ * @param props Props
52
+ * @returns Component
53
+ */
54
+ export declare function TabBox(props: TabBoxPros): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,64 @@
1
+ import { GridColumn, GridLoader, GridMethodRef } from "@etsoo/react";
2
+ import { DataTypes, IdDefaultType } from "@etsoo/shared";
3
+ import { TableProps } from "@mui/material";
4
+ import React from "react";
5
+ /**
6
+ * Extended table min width for width-unset column
7
+ */
8
+ export declare const TableExMinWidth: number;
9
+ /**
10
+ * Extended table methods ref
11
+ */
12
+ export interface TableExMethodRef<T> extends GridMethodRef<T> {
13
+ /**
14
+ * Refresh data
15
+ */
16
+ refresh(): void;
17
+ }
18
+ /**
19
+ * Extended table props
20
+ */
21
+ export type TableExProps<T extends object, D extends DataTypes.Keys<T>> = TableProps & GridLoader<T> & {
22
+ /**
23
+ * Alternating colors for odd/even rows
24
+ */
25
+ alternatingColors?: [string?, string?];
26
+ /**
27
+ * Columns
28
+ */
29
+ columns: GridColumn<T>[];
30
+ /**
31
+ * Header cells background color and font color
32
+ */
33
+ headerColors?: [string?, string?];
34
+ /**
35
+ * Id field
36
+ */
37
+ idField?: D;
38
+ /**
39
+ * Max height
40
+ */
41
+ maxHeight?: number;
42
+ /**
43
+ * Methods
44
+ */
45
+ mRef?: React.Ref<TableExMethodRef<T>>;
46
+ /**
47
+ * On items select change
48
+ */
49
+ onSelectChange?: (selectedItems: T[]) => void;
50
+ /**
51
+ * Row height
52
+ */
53
+ rowHeight?: number;
54
+ /**
55
+ * Header and bottom height
56
+ */
57
+ otherHeight?: number;
58
+ };
59
+ /**
60
+ * Extended Table
61
+ * @param props Props
62
+ * @returns Component
63
+ */
64
+ export declare function TableEx<T extends object, D extends DataTypes.Keys<T> = IdDefaultType<T>>(props: TableExProps<T, D>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,21 @@
1
+ import { AutocompleteProps } from "@mui/material";
2
+ import { InputFieldProps } from "./InputField";
3
+ export type TagListProps = Omit<AutocompleteProps<string, true, false, true>, "open" | "multiple" | "freeSolo" | "options" | "renderInput"> & {
4
+ /**
5
+ * Label
6
+ */
7
+ label?: string;
8
+ /**
9
+ * Load data callback
10
+ */
11
+ loadData: (keyword: string | undefined, maxItems: number) => PromiseLike<string[] | null | undefined>;
12
+ /**
13
+ * Input props
14
+ */
15
+ inputProps?: Omit<InputFieldProps, "onChange">;
16
+ /**
17
+ * Max items
18
+ */
19
+ maxItems?: number;
20
+ };
21
+ export declare function TagList(props: TagListProps): import("react/jsx-runtime").JSX.Element;