@axelor/aos-mobile-core 9.1.10 → 9.2.0

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 (303) hide show
  1. package/lib/api/index.d.ts +1 -1
  2. package/lib/api/index.js +1 -1
  3. package/lib/api/index.js.map +1 -1
  4. package/lib/api/print-template-api.d.ts +3 -0
  5. package/lib/api/print-template-api.js +17 -0
  6. package/lib/api/print-template-api.js.map +1 -1
  7. package/lib/apiProviders/Standard/ObjectFieldsProvider.d.ts +2 -2
  8. package/lib/apiProviders/Standard/ObjectFieldsProvider.js.map +1 -1
  9. package/lib/app/RootNavigator.d.ts +9 -8
  10. package/lib/app/RootNavigator.js +20 -19
  11. package/lib/app/RootNavigator.js.map +1 -1
  12. package/lib/app/modules/types.d.ts +2 -4
  13. package/lib/auth/components/index.d.ts +1 -1
  14. package/lib/auth/components/index.js.map +1 -1
  15. package/lib/auth/components/molecules/DashboardsCard/DashboardsCard.d.ts +1 -1
  16. package/lib/auth/components/molecules/DashboardsCard/DashboardsCard.js +6 -11
  17. package/lib/auth/components/molecules/DashboardsCard/DashboardsCard.js.map +1 -1
  18. package/lib/auth/components/molecules/ShortcutsCard/ShortcutsCard.d.ts +2 -4
  19. package/lib/auth/components/molecules/ShortcutsCard/ShortcutsCard.js +19 -22
  20. package/lib/auth/components/molecules/ShortcutsCard/ShortcutsCard.js.map +1 -1
  21. package/lib/auth/components/molecules/UserCard/UserCard.d.ts +2 -3
  22. package/lib/auth/components/molecules/UserCard/UserCard.js +28 -45
  23. package/lib/auth/components/molecules/UserCard/UserCard.js.map +1 -1
  24. package/lib/auth/components/molecules/index.d.ts +3 -5
  25. package/lib/auth/components/molecules/index.js +0 -2
  26. package/lib/auth/components/molecules/index.js.map +1 -1
  27. package/lib/auth/hooks/use-auth-headers.d.ts +1 -1
  28. package/lib/auth/hooks/use-auth-headers.js +2 -0
  29. package/lib/auth/hooks/use-auth-headers.js.map +1 -1
  30. package/lib/auth/i18n/en.json +4 -0
  31. package/lib/auth/i18n/fr.json +4 -0
  32. package/lib/auth/index.d.ts +2 -0
  33. package/lib/auth/index.js +2 -0
  34. package/lib/auth/index.js.map +1 -1
  35. package/lib/auth/screens/SettingsScreen.d.ts +2 -4
  36. package/lib/auth/screens/SettingsScreen.js +49 -83
  37. package/lib/auth/screens/SettingsScreen.js.map +1 -1
  38. package/lib/auth/screens/UserScreen.d.ts +2 -4
  39. package/lib/auth/screens/UserScreen.js +13 -16
  40. package/lib/auth/screens/UserScreen.js.map +1 -1
  41. package/lib/auth/screens/index.d.ts +2 -2
  42. package/lib/auth/screens/index.js.map +1 -1
  43. package/lib/auth/settings/SettingsProvider.d.ts +18 -0
  44. package/lib/auth/settings/SettingsProvider.js +73 -0
  45. package/lib/auth/settings/SettingsProvider.js.map +1 -0
  46. package/lib/auth/settings/index.d.ts +4 -0
  47. package/lib/auth/settings/index.js +22 -0
  48. package/lib/auth/settings/index.js.map +1 -0
  49. package/lib/auth/settings/settings.helper.d.ts +5 -0
  50. package/lib/{components/external/PlanningView/NavigationButton.js → auth/settings/settings.helper.js} +13 -17
  51. package/lib/auth/settings/settings.helper.js.map +1 -0
  52. package/lib/auth/settings/types.d.ts +36 -0
  53. package/lib/auth/settings/types.js +24 -0
  54. package/lib/auth/settings/types.js.map +1 -0
  55. package/lib/auth/settings/use-settings-register.d.ts +1 -0
  56. package/lib/auth/settings/use-settings-register.js +211 -0
  57. package/lib/auth/settings/use-settings-register.js.map +1 -0
  58. package/lib/auth/userScreen/UserScreenProvider.d.ts +15 -0
  59. package/lib/auth/userScreen/UserScreenProvider.js +64 -0
  60. package/lib/auth/userScreen/UserScreenProvider.js.map +1 -0
  61. package/lib/auth/userScreen/index.d.ts +3 -0
  62. package/lib/auth/userScreen/index.js +21 -0
  63. package/lib/auth/userScreen/index.js.map +1 -0
  64. package/lib/auth/userScreen/types.d.ts +14 -0
  65. package/lib/auth/userScreen/types.js +23 -0
  66. package/lib/auth/userScreen/types.js.map +1 -0
  67. package/lib/auth/userScreen/user-screen.helper.d.ts +5 -0
  68. package/lib/auth/userScreen/user-screen.helper.js +26 -0
  69. package/lib/auth/userScreen/user-screen.helper.js.map +1 -0
  70. package/lib/components/external/Camera/Camera.js +1 -1
  71. package/lib/components/external/Camera/CaptureButton.js +1 -1
  72. package/lib/components/external/Camera/CaptureButton.js.map +1 -1
  73. package/lib/components/external/PlanningView/PlanningView.d.ts +2 -1
  74. package/lib/components/external/PlanningView/PlanningView.js +21 -121
  75. package/lib/components/external/PlanningView/PlanningView.js.map +1 -1
  76. package/lib/components/external/PlanningView/agenda.helpers.d.ts +4 -13
  77. package/lib/components/external/PlanningView/agenda.helpers.js +27 -128
  78. package/lib/components/external/PlanningView/agenda.helpers.js.map +1 -1
  79. package/lib/components/external/Stopwatch/Stopwatch.js +28 -24
  80. package/lib/components/external/Stopwatch/Stopwatch.js.map +1 -1
  81. package/lib/components/external/Toast/ToastDisplay.d.ts +1 -1
  82. package/lib/components/external/Toast/ToastDisplay.js +46 -22
  83. package/lib/components/external/Toast/ToastDisplay.js.map +1 -1
  84. package/lib/components/molecules/DateDisplay/DateDisplay.js +1 -1
  85. package/lib/components/molecules/DatePicker/DatePicker.d.ts +2 -2
  86. package/lib/components/molecules/DatePicker/DatePicker.js +1 -1
  87. package/lib/components/molecules/DatePicker/DatePicker.js.map +1 -1
  88. package/lib/components/molecules/HeaderBand/HeaderBand.js +4 -9
  89. package/lib/components/molecules/HeaderBand/HeaderBand.js.map +1 -1
  90. package/lib/components/molecules/InputBarCodeCard/InputBarCodeCard.d.ts +1 -1
  91. package/lib/components/molecules/InputBarCodeCard/InputBarCodeCard.js +12 -30
  92. package/lib/components/molecules/InputBarCodeCard/InputBarCodeCard.js.map +1 -1
  93. package/lib/components/molecules/UploadFileInput/UploadFileInput.js +50 -49
  94. package/lib/components/molecules/UploadFileInput/UploadFileInput.js.map +1 -1
  95. package/lib/components/molecules/index.d.ts +0 -1
  96. package/lib/components/molecules/index.js +0 -1
  97. package/lib/components/molecules/index.js.map +1 -1
  98. package/lib/components/organisms/AOSImage/AOSImage.js +1 -1
  99. package/lib/components/organisms/AOSImage/AOSImage.js.map +1 -1
  100. package/lib/components/organisms/DateInput/DateInput.d.ts +1 -1
  101. package/lib/components/organisms/DateInput/DateInput.js +18 -15
  102. package/lib/components/organisms/DateInput/DateInput.js.map +1 -1
  103. package/lib/components/organisms/FilterContainer/FilterContainer.js +11 -8
  104. package/lib/components/organisms/FilterContainer/FilterContainer.js.map +1 -1
  105. package/lib/components/organisms/PopupFilters/PopupFilters.js +8 -3
  106. package/lib/components/organisms/PopupFilters/PopupFilters.js.map +1 -1
  107. package/lib/components/organisms/PopupPrintTemplate/PopupPrintTemplate.d.ts +1 -3
  108. package/lib/components/organisms/PopupPrintTemplate/PopupPrintTemplate.js +30 -25
  109. package/lib/components/organisms/PopupPrintTemplate/PopupPrintTemplate.js.map +1 -1
  110. package/lib/components/organisms/SignatureInput/SignatureInput.js +15 -23
  111. package/lib/components/organisms/SignatureInput/SignatureInput.js.map +1 -1
  112. package/lib/components/pages/CustomFieldForm/CustomFieldForm.js +1 -0
  113. package/lib/components/pages/CustomFieldForm/CustomFieldForm.js.map +1 -1
  114. package/lib/components/pages/FormView/Components/Field.js +2 -10
  115. package/lib/components/pages/FormView/Components/Field.js.map +1 -1
  116. package/lib/components/pages/FormView/Components/Panel.js +8 -6
  117. package/lib/components/pages/FormView/Components/Panel.js.map +1 -1
  118. package/lib/components/pages/FormView/FormView.d.ts +2 -1
  119. package/lib/components/pages/FormView/FormView.js +20 -4
  120. package/lib/components/pages/FormView/FormView.js.map +1 -1
  121. package/lib/components/templates/PeriodInput/PeriodInput.js +7 -6
  122. package/lib/components/templates/PeriodInput/PeriodInput.js.map +1 -1
  123. package/lib/components/templates/SocialNetworkLinks/SocialNetworkLinks.d.ts +3 -2
  124. package/lib/components/templates/SocialNetworkLinks/SocialNetworkLinks.js +9 -16
  125. package/lib/components/templates/SocialNetworkLinks/SocialNetworkLinks.js.map +1 -1
  126. package/lib/dashboards/component/AOPChart/DynamicSearchForm.d.ts +4 -4
  127. package/lib/dashboards/component/AOPChart/DynamicSearchForm.js +23 -23
  128. package/lib/dashboards/component/AOPChart/DynamicSearchForm.js.map +1 -1
  129. package/lib/dashboards/view/DashboardView.js +1 -1
  130. package/lib/dashboards/view/DashboardView.js.map +1 -1
  131. package/lib/features/authSlice.d.ts +1 -1
  132. package/lib/forms/api.helpers.d.ts +1 -1
  133. package/lib/forms/display.helpers.d.ts +2 -2
  134. package/lib/forms/display.helpers.js.map +1 -1
  135. package/lib/forms/types.d.ts +5 -5
  136. package/lib/header/FilterProvider.js +2 -2
  137. package/lib/header/FilterProvider.js.map +1 -1
  138. package/lib/header/HeaderActionsProvider.d.ts +2 -2
  139. package/lib/header/HeaderActionsProvider.js.map +1 -1
  140. package/lib/header/hooks.js +7 -6
  141. package/lib/header/hooks.js.map +1 -1
  142. package/lib/header/utils.d.ts +1 -1
  143. package/lib/header/utils.js +2 -6
  144. package/lib/header/utils.js.map +1 -1
  145. package/lib/hooks/index.d.ts +2 -2
  146. package/lib/hooks/index.js +2 -2
  147. package/lib/hooks/index.js.map +1 -1
  148. package/lib/hooks/use-background-function.d.ts +1 -1
  149. package/lib/hooks/use-background-function.js +2 -2
  150. package/lib/hooks/use-background-function.js.map +1 -1
  151. package/lib/hooks/use-effect-debugger.d.ts +4 -3
  152. package/lib/hooks/use-effect-debugger.js.map +1 -1
  153. package/lib/hooks/use-header-registers.d.ts +1 -1
  154. package/lib/hooks/use-header-registers.js +1 -1
  155. package/lib/hooks/use-header-registers.js.map +1 -1
  156. package/lib/i18n/i18n.d.ts +1 -1
  157. package/lib/i18n/i18n.js +2 -1
  158. package/lib/i18n/i18n.js.map +1 -1
  159. package/lib/i18n/translations/en.json +5 -1
  160. package/lib/i18n/translations/fr.json +4 -0
  161. package/lib/loader/components/atoms/ProcessCard/ProcessCard.js +3 -5
  162. package/lib/loader/components/atoms/ProcessCard/ProcessCard.js.map +1 -1
  163. package/lib/navigator/Navigator.d.ts +4 -4
  164. package/lib/navigator/Navigator.js +45 -29
  165. package/lib/navigator/Navigator.js.map +1 -1
  166. package/lib/navigator/components/DrawerContent.js +51 -47
  167. package/lib/navigator/components/DrawerContent.js.map +1 -1
  168. package/lib/navigator/components/header/Header.d.ts +1 -2
  169. package/lib/navigator/components/header/Header.js +13 -35
  170. package/lib/navigator/components/header/Header.js.map +1 -1
  171. package/lib/navigator/components/header/HeaderButton.js +13 -6
  172. package/lib/navigator/components/header/HeaderButton.js.map +1 -1
  173. package/lib/navigator/components/header/HeaderOptionMenu.js +17 -3
  174. package/lib/navigator/components/header/HeaderOptionMenu.js.map +1 -1
  175. package/lib/navigator/components/header/HeaderOptionMenuItem.js +18 -15
  176. package/lib/navigator/components/header/HeaderOptionMenuItem.js.map +1 -1
  177. package/lib/navigator/components/menu/AuthMenu.js +9 -3
  178. package/lib/navigator/components/menu/AuthMenu.js.map +1 -1
  179. package/lib/navigator/components/menu/Menu.js +10 -4
  180. package/lib/navigator/components/menu/Menu.js.map +1 -1
  181. package/lib/navigator/components/menu/MenuIconButton.d.ts +3 -1
  182. package/lib/navigator/components/menu/MenuIconButton.js +60 -41
  183. package/lib/navigator/components/menu/MenuIconButton.js.map +1 -1
  184. package/lib/navigator/components/menu/MenuIconTile.d.ts +14 -0
  185. package/lib/navigator/components/menu/MenuIconTile.js +45 -0
  186. package/lib/navigator/components/menu/MenuIconTile.js.map +1 -0
  187. package/lib/navigator/components/menu/MenuItemEntry.d.ts +1 -1
  188. package/lib/navigator/components/menu/MenuItemEntry.js +30 -46
  189. package/lib/navigator/components/menu/MenuItemEntry.js.map +1 -1
  190. package/lib/navigator/components/menu/MenuItemList.js +13 -10
  191. package/lib/navigator/components/menu/MenuItemList.js.map +1 -1
  192. package/lib/navigator/components/menu/MenuSeparator.d.ts +1 -2
  193. package/lib/navigator/components/menu/MenuSeparator.js +16 -21
  194. package/lib/navigator/components/menu/MenuSeparator.js.map +1 -1
  195. package/lib/navigator/components/menu/SubMenuItem.js +1 -2
  196. package/lib/navigator/components/menu/SubMenuItem.js.map +1 -1
  197. package/lib/navigator/components/menu/SubMenuItemList.js +19 -4
  198. package/lib/navigator/components/menu/SubMenuItemList.js.map +1 -1
  199. package/lib/navigator/components/menu/index.d.ts +0 -1
  200. package/lib/navigator/components/menu/index.js +0 -1
  201. package/lib/navigator/components/menu/index.js.map +1 -1
  202. package/lib/navigator/helpers/index.d.ts +1 -0
  203. package/lib/navigator/helpers/index.js +1 -0
  204. package/lib/navigator/helpers/index.js.map +1 -1
  205. package/lib/navigator/helpers/module.helper.d.ts +3 -3
  206. package/lib/navigator/helpers/module.helper.js +3 -4
  207. package/lib/navigator/helpers/module.helper.js.map +1 -1
  208. package/lib/navigator/helpers/screen-orientation.helper.d.ts +6 -0
  209. package/lib/navigator/helpers/screen-orientation.helper.js +36 -0
  210. package/lib/navigator/helpers/screen-orientation.helper.js.map +1 -0
  211. package/lib/navigator/providers/module-navigator.d.ts +2 -2
  212. package/lib/navigator/providers/module-navigator.js +1 -3
  213. package/lib/navigator/providers/module-navigator.js.map +1 -1
  214. package/lib/screens/LoginScreen.d.ts +2 -4
  215. package/lib/screens/LoginScreen.js +45 -58
  216. package/lib/screens/LoginScreen.js.map +1 -1
  217. package/lib/screens/ProcessListScreen.js +1 -1
  218. package/lib/screens/ProcessListScreen.js.map +1 -1
  219. package/lib/screens/SessionManagementScreen.d.ts +2 -4
  220. package/lib/screens/SessionManagementScreen.js +15 -27
  221. package/lib/screens/SessionManagementScreen.js.map +1 -1
  222. package/lib/screens/index.js +0 -10
  223. package/lib/screens/index.js.map +1 -1
  224. package/lib/sessions/components/alerts/PopupCreateSession.d.ts +11 -10
  225. package/lib/sessions/components/alerts/PopupCreateSession.js +19 -32
  226. package/lib/sessions/components/alerts/PopupCreateSession.js.map +1 -1
  227. package/lib/sessions/components/alerts/PopupEditSession.d.ts +9 -8
  228. package/lib/sessions/components/alerts/PopupEditSession.js +9 -10
  229. package/lib/sessions/components/alerts/PopupEditSession.js.map +1 -1
  230. package/lib/sessions/components/alerts/PopupSession.d.ts +10 -9
  231. package/lib/sessions/components/alerts/PopupSession.js +9 -10
  232. package/lib/sessions/components/alerts/PopupSession.js.map +1 -1
  233. package/lib/sessions/components/display/LogoImage.d.ts +5 -5
  234. package/lib/sessions/components/display/LogoImage.js +16 -18
  235. package/lib/sessions/components/display/LogoImage.js.map +1 -1
  236. package/lib/sessions/components/display/SessionCard.d.ts +13 -10
  237. package/lib/sessions/components/display/SessionCard.js +53 -45
  238. package/lib/sessions/components/display/SessionCard.js.map +1 -1
  239. package/lib/sessions/components/display/SessionListCard.d.ts +14 -11
  240. package/lib/sessions/components/display/SessionListCard.js +24 -16
  241. package/lib/sessions/components/display/SessionListCard.js.map +1 -1
  242. package/lib/sessions/components/error/ErrorText.d.ts +5 -5
  243. package/lib/sessions/components/error/ErrorText.js +2 -4
  244. package/lib/sessions/components/error/ErrorText.js.map +1 -1
  245. package/lib/sessions/components/inputs/DefaultCheckbox.d.ts +1 -1
  246. package/lib/sessions/components/inputs/DefaultCheckbox.js +2 -10
  247. package/lib/sessions/components/inputs/DefaultCheckbox.js.map +1 -1
  248. package/lib/sessions/components/inputs/MfaCodeInput.d.ts +1 -1
  249. package/lib/sessions/components/inputs/MfaCodeInput.js +3 -14
  250. package/lib/sessions/components/inputs/MfaCodeInput.js.map +1 -1
  251. package/lib/sessions/components/inputs/PasswordInput.d.ts +9 -8
  252. package/lib/sessions/components/inputs/PasswordInput.js +7 -18
  253. package/lib/sessions/components/inputs/PasswordInput.js.map +1 -1
  254. package/lib/sessions/components/inputs/SessionInputs.d.ts +14 -13
  255. package/lib/sessions/components/inputs/SessionInputs.js +25 -48
  256. package/lib/sessions/components/inputs/SessionInputs.js.map +1 -1
  257. package/lib/sessions/components/inputs/SessionNameInput.d.ts +9 -8
  258. package/lib/sessions/components/inputs/SessionNameInput.js +6 -17
  259. package/lib/sessions/components/inputs/SessionNameInput.js.map +1 -1
  260. package/lib/sessions/components/inputs/UrlInput.d.ts +11 -10
  261. package/lib/sessions/components/inputs/UrlInput.js +8 -18
  262. package/lib/sessions/components/inputs/UrlInput.js.map +1 -1
  263. package/lib/sessions/components/inputs/UsernameInput.d.ts +11 -10
  264. package/lib/sessions/components/inputs/UsernameInput.js +7 -18
  265. package/lib/sessions/components/inputs/UsernameInput.js.map +1 -1
  266. package/lib/tools/ContactProvider.d.ts +1 -0
  267. package/lib/tools/ContactProvider.js +21 -22
  268. package/lib/tools/ContactProvider.js.map +1 -1
  269. package/lib/tools/LinkingProvider.d.ts +2 -2
  270. package/lib/tools/LinkingProvider.js +4 -0
  271. package/lib/tools/LinkingProvider.js.map +1 -1
  272. package/lib/utils/image.d.ts +2 -2
  273. package/lib/utils/image.js +1 -1
  274. package/lib/utils/image.js.map +1 -1
  275. package/lib/utils/index.d.ts +1 -0
  276. package/lib/utils/index.js +1 -0
  277. package/lib/utils/index.js.map +1 -1
  278. package/lib/utils/registry.helper.d.ts +9 -0
  279. package/lib/{components/molecules/FocusScreen/FocusScreen.js → utils/registry.helper.js} +18 -17
  280. package/lib/utils/registry.helper.js.map +1 -0
  281. package/package.json +42 -46
  282. package/lib/auth/components/molecules/NavigationToolsButton/NavigationToolsButton.d.ts +0 -3
  283. package/lib/auth/components/molecules/NavigationToolsButton/NavigationToolsButton.js +0 -60
  284. package/lib/auth/components/molecules/NavigationToolsButton/NavigationToolsButton.js.map +0 -1
  285. package/lib/auth/components/molecules/TranslationsButton/TranslationsButton.d.ts +0 -3
  286. package/lib/auth/components/molecules/TranslationsButton/TranslationsButton.js +0 -61
  287. package/lib/auth/components/molecules/TranslationsButton/TranslationsButton.js.map +0 -1
  288. package/lib/components/external/PlanningView/AgendaItemDisplay.d.ts +0 -8
  289. package/lib/components/external/PlanningView/AgendaItemDisplay.js +0 -81
  290. package/lib/components/external/PlanningView/AgendaItemDisplay.js.map +0 -1
  291. package/lib/components/external/PlanningView/DayDisplay.d.ts +0 -5
  292. package/lib/components/external/PlanningView/DayDisplay.js +0 -59
  293. package/lib/components/external/PlanningView/DayDisplay.js.map +0 -1
  294. package/lib/components/external/PlanningView/MonthDisplay.d.ts +0 -6
  295. package/lib/components/external/PlanningView/MonthDisplay.js +0 -46
  296. package/lib/components/external/PlanningView/MonthDisplay.js.map +0 -1
  297. package/lib/components/external/PlanningView/NavigationButton.d.ts +0 -7
  298. package/lib/components/external/PlanningView/NavigationButton.js.map +0 -1
  299. package/lib/components/molecules/FocusScreen/FocusScreen.d.ts +0 -12
  300. package/lib/components/molecules/FocusScreen/FocusScreen.js.map +0 -1
  301. package/lib/navigator/components/menu/MenuTitle.d.ts +0 -8
  302. package/lib/navigator/components/menu/MenuTitle.js +0 -55
  303. package/lib/navigator/components/menu/MenuTitle.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigationToolsButton.js","sourceRoot":"","sources":["../../../../../src/auth/components/molecules/NavigationToolsButton/NavigationToolsButton.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,WAAW,EAAE,SAAS,EAAE,OAAO,EAAC,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAC,UAAU,EAAE,UAAU,EAAC,MAAM,cAAc,CAAC;AACpD,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,aAAa,CAAC;AACrD,OAAO,EACL,aAAa,EAEb,SAAS,EACT,eAAe,EACf,IAAI,GACL,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAC,qBAAqB,EAAC,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAC,UAAU,EAAC,MAAM,yBAAyB,CAAC;AAEnD,MAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE;IACnC,MAAM,IAAI,GAAG,aAAa,EAAE,CAAC;IAC7B,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;IAC/B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AAC,MAAM,CAAC;IAChB,OAAO,EAAE;QACP,KAAK,EAAE,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,KAAK,GAAG,GAAG;QAC3C,MAAM,EAAE,EAAE;QACV,SAAS,EAAE,QAAQ;QACnB,WAAW,EAAE,MAAM,CAAC,cAAc,CAAC,UAAU;QAC7C,WAAW,EAAE,CAAC;QACd,WAAW,EAAE,EAAE;QACf,YAAY,EAAE,EAAE;QAChB,WAAW,EAAE,CAAC;KACf;CACF,CAAC,CAAC;AAEL,eAAe,qBAAqB,CAAC"}
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const TranslationsButton: ({}: {}) => React.JSX.Element;
3
- export default TranslationsButton;
@@ -1,61 +0,0 @@
1
- /*
2
- * Axelor Business Solutions
3
- *
4
- * Copyright (C) 2026 Axelor (<http://axelor.com>).
5
- *
6
- * This program is free software: you can redistribute it and/or modify
7
- * it under the terms of the GNU Affero General Public License, version 3,
8
- * as published by the Free Software Foundation.
9
- *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU Affero General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU Affero General Public License
16
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
- */
18
- import React, { useCallback, useEffect, useMemo } from 'react';
19
- import { Dimensions, StyleSheet } from 'react-native';
20
- import { useDispatch, useSelector } from 'react-redux';
21
- import { useThemeColor, useConfig, RightIconButton, Icon, } from '@axelor/aos-mobile-ui';
22
- import { getTranslations, selectLanguage, useTranslator } from '../../../../i18n';
23
- import { uploadTranslations } from '../../../features/configSlice';
24
- import { useIsAdmin } from '../../../../permissions';
25
- const TranslationsButton = ({}) => {
26
- const I18n = useTranslator();
27
- const Colors = useThemeColor();
28
- const dispatch = useDispatch();
29
- const isAdmin = useIsAdmin();
30
- const { setActivityIndicator } = useConfig();
31
- const { localization, language } = useSelector(selectLanguage);
32
- const { loadingTranslations } = useSelector((state) => state.config);
33
- const styles = useMemo(() => getStyles(Colors), [Colors]);
34
- useEffect(() => {
35
- setActivityIndicator(loadingTranslations);
36
- }, [loadingTranslations, setActivityIndicator]);
37
- const handleSendTranslations = useCallback(() => {
38
- dispatch(uploadTranslations({
39
- language,
40
- translations: getTranslations(localization),
41
- }));
42
- }, [dispatch, language, localization]);
43
- if (!isAdmin) {
44
- return null;
45
- }
46
- return (<RightIconButton icon={<Icon name="chevron-right" color={Colors.primaryColor.background}/>} style={styles.content} title={I18n.t('User_SendTranslations')} onPress={handleSendTranslations}/>);
47
- };
48
- const getStyles = (Colors) => StyleSheet.create({
49
- content: {
50
- width: Dimensions.get('window').width * 0.9,
51
- height: 40,
52
- alignSelf: 'center',
53
- borderColor: Colors.secondaryColor.background,
54
- borderWidth: 1,
55
- paddingLeft: 10,
56
- paddingRight: 25,
57
- marginRight: 0,
58
- },
59
- });
60
- export default TranslationsButton;
61
- //# sourceMappingURL=TranslationsButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TranslationsButton.js","sourceRoot":"","sources":["../../../../../src/auth/components/molecules/TranslationsButton/TranslationsButton.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,WAAW,EAAE,SAAS,EAAE,OAAO,EAAC,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAC,UAAU,EAAE,UAAU,EAAC,MAAM,cAAc,CAAC;AACpD,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,aAAa,CAAC;AACrD,OAAO,EACL,aAAa,EAEb,SAAS,EACT,eAAe,EACf,IAAI,GACL,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAC,eAAe,EAAE,cAAc,EAAE,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAChF,OAAO,EAAC,kBAAkB,EAAC,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAC,UAAU,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CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CACtB,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC,CACvC,OAAO,CAAC,CAAC,sBAAsB,CAAC,EAChC,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,SAAS,GAAG,CAAC,MAAmB,EAAE,EAAE,CACxC,UAAU,CAAC,MAAM,CAAC;IAChB,OAAO,EAAE;QACP,KAAK,EAAE,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,KAAK,GAAG,GAAG;QAC3C,MAAM,EAAE,EAAE;QACV,SAAS,EAAE,QAAQ;QACnB,WAAW,EAAE,MAAM,CAAC,cAAc,CAAC,UAAU;QAC7C,WAAW,EAAE,CAAC;QACd,WAAW,EAAE,EAAE;QACf,YAAY,EAAE,EAAE;QAChB,WAAW,EAAE,CAAC;KACf;CACF,CAAC,CAAC;AAEL,eAAe,kBAAkB,CAAC"}
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { AgendaItem } from './agenda.helpers';
3
- declare const AgendaItemDisplay: ({ isFirst, agendaItem, renderComponent, }: {
4
- isFirst?: boolean;
5
- agendaItem: AgendaItem;
6
- renderComponent?: (item: AgendaItem) => any;
7
- }) => React.JSX.Element;
8
- export default AgendaItemDisplay;
@@ -1,81 +0,0 @@
1
- /*
2
- * Axelor Business Solutions
3
- *
4
- * Copyright (C) 2026 Axelor (<http://axelor.com>).
5
- *
6
- * This program is free software: you can redistribute it and/or modify
7
- * it under the terms of the GNU Affero General Public License, version 3,
8
- * as published by the Free Software Foundation.
9
- *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU Affero General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU Affero General Public License
16
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
- */
18
- import React, { useMemo } from 'react';
19
- import { StyleSheet, View } from 'react-native';
20
- import { HorizontalRule, Text } from '@axelor/aos-mobile-ui';
21
- import { isStartOfMonth } from './agenda.helpers';
22
- const AgendaItemDisplay = ({ isFirst = false, agendaItem, renderComponent, }) => {
23
- const { id, date, startHour, endHour, isFullDayEvent } = useMemo(() => agendaItem, [agendaItem]);
24
- const isNewMonth = useMemo(() => isStartOfMonth(date), [date]);
25
- if (renderComponent == null) {
26
- return (<View style={styles.dayItem}>
27
- <Text>{id}</Text>
28
- </View>);
29
- }
30
- return (<View>
31
- {isFirst && !isNewMonth ? (<HorizontalRule style={styles.horizontalRule}/>) : null}
32
- <View style={[styles.itemContainer, isNewMonth && styles.newMonthMargin]}>
33
- <View style={styles.containerTime}>
34
- {!isFullDayEvent && (<>
35
- <Text fontSize={14} style={styles.centerText}>
36
- {startHour}
37
- </Text>
38
- <Text fontSize={14} style={styles.centerText}>
39
- {endHour}
40
- </Text>
41
- </>)}
42
- </View>
43
- <View style={styles.renderContainer}>
44
- {renderComponent(agendaItem)}
45
- </View>
46
- </View>
47
- </View>);
48
- };
49
- const styles = StyleSheet.create({
50
- dayItem: {
51
- flex: 1,
52
- padding: 10,
53
- marginRight: 10,
54
- },
55
- horizontalRule: {
56
- marginVertical: 10,
57
- width: '60%',
58
- alignSelf: 'center',
59
- },
60
- itemContainer: {
61
- flexDirection: 'row',
62
- marginTop: 5,
63
- },
64
- newMonthMargin: {
65
- marginTop: 15,
66
- },
67
- containerTime: {
68
- flexDirection: 'column',
69
- width: '15%',
70
- },
71
- centerText: {
72
- textAlign: 'center',
73
- },
74
- renderContainer: {
75
- alignSelf: 'flex-end',
76
- marginLeft: 5,
77
- width: '80%',
78
- },
79
- });
80
- export default AgendaItemDisplay;
81
- //# sourceMappingURL=AgendaItemDisplay.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AgendaItemDisplay.js","sourceRoot":"","sources":["../../../../src/components/external/PlanningView/AgendaItemDisplay.tsx"],"names":[],"mappings":"AAAA;;;;;;;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
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- declare const DayDisplay: ({ date }: {
3
- date: Date;
4
- }) => React.JSX.Element;
5
- export default DayDisplay;
@@ -1,59 +0,0 @@
1
- /*
2
- * Axelor Business Solutions
3
- *
4
- * Copyright (C) 2026 Axelor (<http://axelor.com>).
5
- *
6
- * This program is free software: you can redistribute it and/or modify
7
- * it under the terms of the GNU Affero General Public License, version 3,
8
- * as published by the Free Software Foundation.
9
- *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU Affero General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU Affero General Public License
16
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
- */
18
- import React, { useMemo } from 'react';
19
- import { StyleSheet, View } from 'react-native';
20
- import { Text, useThemeColor } from '@axelor/aos-mobile-ui';
21
- import { useTranslator } from '../../../i18n';
22
- import { isToday } from '../../../utils';
23
- import { getShortName } from './agenda.helpers';
24
- const DayDisplay = ({ date }) => {
25
- const Colors = useThemeColor();
26
- const I18n = useTranslator();
27
- const todayStyle = useMemo(() => (date && isToday(date) ? Colors.primaryColor.background : undefined), [Colors.primaryColor.background, date]);
28
- if (date) {
29
- return (<View style={[styles.day]}>
30
- <Text style={styles.dayNum} textColor={todayStyle}>
31
- {date.getDate()}
32
- </Text>
33
- <Text style={styles.dayText} textColor={todayStyle}>
34
- {I18n.t(getShortName(date))}
35
- </Text>
36
- </View>);
37
- }
38
- else {
39
- return <View style={styles.day}/>;
40
- }
41
- };
42
- const styles = StyleSheet.create({
43
- dayNum: {
44
- fontSize: 28,
45
- fontWeight: '200',
46
- },
47
- dayText: {
48
- fontSize: 14,
49
- marginTop: -5,
50
- },
51
- day: {
52
- width: 63,
53
- alignItems: 'center',
54
- justifyContent: 'flex-start',
55
- marginVertical: 16,
56
- },
57
- });
58
- export default DayDisplay;
59
- //# sourceMapping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CAAC,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,UAAU,CAAC,CACjD;UAAA,CAAC,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAC7B;QAAA,EAAE,IAAI,CACR;MAAA,EAAE,IAAI,CAAC,CACR,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,EAAG,CAAC;IACrC,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,MAAM,EAAE;QACN,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE,KAAK;KAClB;IACD,OAAO,EAAE;QACP,QAAQ,EAAE,EAAE;QACZ,SAAS,EAAE,CAAC,CAAC;KACd;IACD,GAAG,EAAE;QACH,KAAK,EAAE,EAAE;QACT,UAAU,EAAE,QAAQ;QACpB,cAAc,EAAE,YAAY;QAC5B,cAAc,EAAE,EAAE;KACnB;CACF,CAAC,CAAC;AAEH,eAAe,UAAU,CAAC"}
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- declare const MonthDisplay: ({ date, isFirst, }: {
3
- date: string | Date;
4
- isFirst?: boolean;
5
- }) => React.JSX.Element;
6
- export default MonthDisplay;
@@ -1,46 +0,0 @@
1
- /*
2
- * Axelor Business Solutions
3
- *
4
- * Copyright (C) 2026 Axelor (<http://axelor.com>).
5
- *
6
- * This program is free software: you can redistribute it and/or modify
7
- * it under the terms of the GNU Affero General Public License, version 3,
8
- * as published by the Free Software Foundation.
9
- *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU Affero General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU Affero General Public License
16
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
- */
18
- import React from 'react';
19
- import { StyleSheet, View } from 'react-native';
20
- import { Text, useThemeColor } from '@axelor/aos-mobile-ui';
21
- import { useTranslator } from '../../../i18n';
22
- import { getMonthName } from './agenda.helpers';
23
- const MonthDisplay = ({ date, isFirst = false, }) => {
24
- const Colors = useThemeColor();
25
- const I18n = useTranslator();
26
- return (<View style={[styles.container, isFirst ? styles.margin : undefined]}>
27
- <Text style={styles.text} textColor={Colors.secondaryColor.background} fontSize={20}>
28
- {I18n.t(getMonthName(date))}
29
- </Text>
30
- </View>);
31
- };
32
- const styles = StyleSheet.create({
33
- container: {
34
- flex: 1,
35
- flexDirection: 'column',
36
- justifyContent: 'flex-end',
37
- },
38
- margin: {
39
- height: 120,
40
- },
41
- text: {
42
- alignSelf: 'center',
43
- },
44
- });
45
- export default MonthDisplay;
46
- //# sourceMappingURL=MonthDisplay.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MonthDisplay.js","sourceRoot":"","sources":["../../../../src/components/external/PlanningView/MonthDisplay.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,UAAU,EAAE,IAAI,EAAC,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAC,IAAI,EAAE,aAAa,EAAC,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAC,aAAa,EAAC,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAC,YAAY,EAAC,MAAM,kBAAkB,CAAC;AAE9C,MAAM,YAAY,GAAG,CAAC,EACpB,IAAI,EACJ,OAAO,GAAG,KAAK,GAIhB,EAAE,EAAE;IACH,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;IAC/B,MAAM,IAAI,GAAG,aAAa,EAAE,CAAC;IAE7B,OAAO,CACL,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CACnE;MAAA,CAAC,IAAI,CACH,KAAK,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CACnB,SAAS,CAAC,CAAC,MAAM,CAAC,cAAc,CAAC,UAAU,CAAC,CAC5C,QAAQ,CAAC,CAAC,EAAE,CAAC,CACb;QAAA,CAAC,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAC7B;MAAA,EAAE,IAAI,CACR;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,SAAS,EAAE;QACT,IAAI,EAAE,CAAC;QACP,aAAa,EAAE,QAAQ;QACvB,cAAc,EAAE,UAAU;KAC3B;IACD,MAAM,EAAE;QACN,MAAM,EAAE,GAAG;KACZ;IACD,IAAI,EAAE;QACJ,SAAS,EAAE,QAAQ;KACpB;CACF,CAAC,CAAC;AAEH,eAAe,YAAY,CAAC"}
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- declare const NavigationButton: ({ visible, icon, onPress, }: {
3
- visible?: boolean;
4
- icon: string;
5
- onPress: () => void;
6
- }) => React.JSX.Element;
7
- export default NavigationButton;
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigationButton.js","sourceRoot":"","sources":["../../../../src/components/external/PlanningView/NavigationButton.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AACxC,OAAO,EAAC,YAAY,EAAC,MAAM,uBAAuB,CAAC;AAEnD,MAAM,gBAAgB,GAAG,CAAC,EACxB,OAAO,GAAG,IAAI,EACd,IAAI,EACJ,OAAO,GAKR,EAAE,EAAE;IACH,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,CACL,CAAC,YAAY,CACX,KAAK,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,CAC3B,QAAQ,CAAC,CAAC,IAAI,CAAC,CACf,OAAO,CAAC,CAAC,OAAO,CAAC,CACjB,IAAI,CAAC,CAAC,EAAE,CAAC,EACT,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,YAAY,EAAE;QACZ,gBAAgB,EAAE,CAAC;QACnB,SAAS,EAAE,CAAC;QACZ,KAAK,EAAE,EAAE;KACV;CACF,CAAC,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- interface FocusScreenProps {
3
- style?: any;
4
- children: any;
5
- fixedItems?: any;
6
- removeSpaceOnTop?: boolean;
7
- loading?: boolean;
8
- fetcher: () => void;
9
- displayCondition?: boolean;
10
- }
11
- declare const FocusScreen: ({ style, children, fixedItems, removeSpaceOnTop, loading, fetcher, displayCondition, }: FocusScreenProps) => React.JSX.Element;
12
- export default FocusScreen;
@@ -1 +0,0 @@
1
- {"version":3,"file":"FocusScreen.js","sourceRoot":"","sources":["../../../../src/components/molecules/FocusScreen/FocusScreen.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AACvC,OAAO,EAAC,MAAM,EAAC,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAC,YAAY,EAAC,MAAM,+BAA+B,CAAC;AAY3D,MAAM,WAAW,GAAG,CAAC,EACnB,KAAK,EACL,QAAQ,EACR,UAAU,EACV,gBAAgB,GAAG,KAAK,EACxB,OAAO,GAAG,KAAK,EACf,OAAO,EACP,gBAAgB,GAAG,IAAI,GACN,EAAE,EAAE;IACrB,MAAM,SAAS,GAAG,YAAY,EAAE,CAAC;IAEjC,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,SAAS,EAAE,CAAC;YACd,OAAO,EAAE,CAAC;QACZ,CAAC;IACH,CAAC,EAAE,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC;IAEzB,IAAI,CAAC,SAAS,IAAI,CAAC,gBAAgB,EAAE,CAAC;QACpC,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,CACL,CAAC,MAAM,CACL,KAAK,CAAC,CAAC,KAAK,CAAC,CACb,UAAU,CAAC,CAAC,UAAU,CAAC,CACvB,gBAAgB,CAAC,CAAC,gBAAgB,CAAC,CACnC,OAAO,CAAC,CAAC,OAAO,CAAC,CACjB;MAAA,CAAC,QAAQ,CACX;IAAA,EAAE,MAAM,CAAC,CACV,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { Module } from '../../../app';
3
- interface MenuTitleProps {
4
- module: Module;
5
- onPress: () => void;
6
- }
7
- declare const MenuTitle: ({ module, onPress }: MenuTitleProps) => React.JSX.Element;
8
- export default MenuTitle;
@@ -1,55 +0,0 @@
1
- /*
2
- * Axelor Business Solutions
3
- *
4
- * Copyright (C) 2026 Axelor (<http://axelor.com>).
5
- *
6
- * This program is free software: you can redistribute it and/or modify
7
- * it under the terms of the GNU Affero General Public License, version 3,
8
- * as published by the Free Software Foundation.
9
- *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU Affero General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU Affero General Public License
16
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
- */
18
- import React, { useMemo } from 'react';
19
- import { Dimensions, StyleSheet, TouchableOpacity } from 'react-native';
20
- import { Text, useThemeColor } from '@axelor/aos-mobile-ui';
21
- import { useTranslator } from '../../../i18n';
22
- import { getCompatibilityError, getMenuTitle, isMenuIncompatible, } from '../../helpers';
23
- const MenuTitle = ({ module, onPress }) => {
24
- const Colors = useThemeColor();
25
- const I18n = useTranslator();
26
- const compatibilityError = useMemo(() => isMenuIncompatible(module.compatibilityAOS), [module.compatibilityAOS]);
27
- return (<TouchableOpacity style={styles.menuItemContainer} onPress={onPress} disabled={compatibilityError}>
28
- <Text style={[styles.text, styles.bold]} textColor={Colors.secondaryColor_dark.background}>
29
- {getMenuTitle(module, I18n)}
30
- </Text>
31
- {compatibilityError && (<Text style={styles.text} textColor={Colors.errorColor.background}>
32
- {getCompatibilityError(module.compatibilityAOS, I18n, false)}
33
- </Text>)}
34
- </TouchableOpacity>);
35
- };
36
- const styles = StyleSheet.create({
37
- menuItemContainer: {
38
- width: Dimensions.get('window').width * 0.6,
39
- height: 60,
40
- marginVertical: 8,
41
- flexDirection: 'column',
42
- justifyContent: 'center',
43
- alignItems: 'flex-start',
44
- marginLeft: 15,
45
- },
46
- text: {
47
- marginHorizontal: 6,
48
- },
49
- bold: {
50
- fontSize: 24,
51
- fontWeight: 'bold',
52
- },
53
- });
54
- export default MenuTitle;
55
- //# sourceMappingURL=MenuTitle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MenuTitle.js","sourceRoot":"","sources":["../../../../src/navigator/components/menu/MenuTitle.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,OAAO,EAAC,MAAM,OAAO,CAAC;AACrC,OAAO,EAAC,UAAU,EAAE,UAAU,EAAE,gBAAgB,EAAC,MAAM,cAAc,CAAC;AACtE,OAAO,EAAC,IAAI,EAAE,aAAa,EAAC,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAC,aAAa,EAAC,MAAM,eAAe,CAAC;AAE5C,OAAO,EACL,qBAAqB,EACrB,YAAY,EACZ,kBAAkB,GACnB,MAAM,eAAe,CAAC;AAOvB,MAAM,SAAS,GAAG,CAAC,EAAC,MAAM,EAAE,OAAO,EAAiB,EAAE,EAAE;IACtD,MAAM,MAAM,GAAG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