@axelor/aos-mobile-core 7.1.20 → 7.1.22

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 (240) hide show
  1. package/lib/api/attached-files-api.js +1 -1
  2. package/lib/api/login-api.d.ts +11 -0
  3. package/lib/api/login-api.js +28 -16
  4. package/lib/api/login-api.js.map +1 -1
  5. package/lib/api/mail-message-api.js +1 -1
  6. package/lib/api/menu-config-api.js +1 -1
  7. package/lib/api/meta-module-api.js +1 -1
  8. package/lib/api/metafile-api.js +1 -1
  9. package/lib/api/mobile-config-api.js +1 -1
  10. package/lib/api/model-api.js +1 -1
  11. package/lib/api/net-info-utils.js +1 -1
  12. package/lib/api/traceback-api.js +1 -1
  13. package/lib/apiProviders/Action/ActionApiProvider.js +1 -1
  14. package/lib/apiProviders/Action/ActionProvider.js +1 -1
  15. package/lib/apiProviders/Action/AosActionApi.js +1 -1
  16. package/lib/apiProviders/Action/GatewayActionApi.js +1 -1
  17. package/lib/apiProviders/Action/index.js +1 -1
  18. package/lib/apiProviders/Action/utils.js +1 -1
  19. package/lib/apiProviders/Model/AopModelApi.js +1 -1
  20. package/lib/apiProviders/Model/GatewayModelApi.js +1 -1
  21. package/lib/apiProviders/Model/ModelApiProvider.js +1 -1
  22. package/lib/apiProviders/Model/Provider.js +1 -1
  23. package/lib/apiProviders/Model/index.js +1 -1
  24. package/lib/apiProviders/Model/utils.js +1 -1
  25. package/lib/apiProviders/Standard/AxiosProvider.js +1 -1
  26. package/lib/apiProviders/Standard/ObjectFieldsProvider.js +1 -1
  27. package/lib/apiProviders/Standard/index.js +1 -1
  28. package/lib/apiProviders/Standard/requests.helper.js +1 -1
  29. package/lib/apiProviders/config.js +1 -1
  30. package/lib/apiProviders/index.d.ts +1 -0
  31. package/lib/apiProviders/index.js +2 -1
  32. package/lib/apiProviders/index.js.map +1 -1
  33. package/lib/apiProviders/middlewares/index.js +1 -1
  34. package/lib/apiProviders/middlewares/translation.js +1 -1
  35. package/lib/apiProviders/utils.js +1 -1
  36. package/lib/app/Application.d.ts +3 -1
  37. package/lib/app/Application.js +3 -3
  38. package/lib/app/Application.js.map +1 -1
  39. package/lib/app/ContextedApplication.d.ts +3 -1
  40. package/lib/app/ContextedApplication.js +3 -3
  41. package/lib/app/ContextedApplication.js.map +1 -1
  42. package/lib/app/ContextsProvider.js +1 -1
  43. package/lib/app/Module.js +1 -1
  44. package/lib/app/RootNavigator.d.ts +2 -1
  45. package/lib/app/RootNavigator.js +8 -3
  46. package/lib/app/RootNavigator.js.map +1 -1
  47. package/lib/app/context.helper.js +1 -1
  48. package/lib/app/index.js +1 -1
  49. package/lib/app/module-generation.helper.js +1 -1
  50. package/lib/app/types.js +1 -1
  51. package/lib/auth/api/company-api.js +1 -1
  52. package/lib/auth/api/config-api.js +1 -1
  53. package/lib/auth/api/index.js +1 -1
  54. package/lib/auth/api/language-api.js +1 -1
  55. package/lib/auth/api/user-api.js +1 -1
  56. package/lib/auth/components/index.js +1 -1
  57. package/lib/auth/components/molecules/TranslationsButton/TranslationsButton.js +1 -1
  58. package/lib/auth/components/molecules/index.js +1 -1
  59. package/lib/auth/features/asyncFunctionsIndex.js +1 -1
  60. package/lib/auth/features/companySlice.js +1 -1
  61. package/lib/auth/features/configSlice.js +1 -1
  62. package/lib/auth/features/index.js +1 -1
  63. package/lib/auth/features/languageSlice.js +1 -1
  64. package/lib/auth/features/userSlice.js +1 -1
  65. package/lib/auth/hooks/use-auth-headers.js +1 -1
  66. package/lib/auth/index.js +1 -1
  67. package/lib/auth/models/index.js +1 -1
  68. package/lib/auth/models/objectFields.js +1 -1
  69. package/lib/auth/screens/SettingsScreen.js +1 -1
  70. package/lib/auth/screens/UserScreen.js +1 -1
  71. package/lib/auth/screens/index.js +1 -1
  72. package/lib/components/external/Camera/Camera.js +1 -1
  73. package/lib/components/external/Camera/CaptureButton.js +1 -1
  74. package/lib/components/external/CameraScanner/CameraScanner.js +1 -1
  75. package/lib/components/external/CodeHighlighter/CodeHighlighter.js +1 -1
  76. package/lib/components/external/CodeHighlighter/code-highlighter.helper.js +1 -1
  77. package/lib/components/external/PlanningView/AgendaItemDisplay.js +1 -1
  78. package/lib/components/external/PlanningView/DayDisplay.js +1 -1
  79. package/lib/components/external/PlanningView/MonthDisplay.js +1 -1
  80. package/lib/components/external/PlanningView/NavigationButton.js +1 -1
  81. package/lib/components/external/PlanningView/PlanningView.js +1 -1
  82. package/lib/components/external/PlanningView/agenda.helpers.js +1 -1
  83. package/lib/components/external/Scanner/Scanner.js +1 -1
  84. package/lib/components/external/Stopwatch/Stopwatch.js +1 -1
  85. package/lib/components/external/Timer/Timer.js +1 -1
  86. package/lib/components/external/index.js +1 -1
  87. package/lib/components/index.js +1 -1
  88. package/lib/components/molecules/CameraButton/CameraButton.js +1 -1
  89. package/lib/components/molecules/DatePicker/DatePicker.js +1 -1
  90. package/lib/components/molecules/HeaderBand/HeaderBand.js +1 -1
  91. package/lib/components/molecules/HeaderOptionsMenuItem/HeaderOptionMenuItem.js +1 -1
  92. package/lib/components/molecules/InputBarCodeCard/InputBarCodeCard.js +1 -1
  93. package/lib/components/molecules/MailMessageReadIcon/MailMessageReadIcon.js +1 -1
  94. package/lib/components/molecules/TrackItem/TrackItem.js +1 -1
  95. package/lib/components/molecules/UploadFileInput/UploadFileInput.js +1 -1
  96. package/lib/components/molecules/index.js +1 -1
  97. package/lib/components/organisms/AOSImage/AOSImage.js +1 -1
  98. package/lib/components/organisms/AOSImageBubble/AOSImageBubble.js +1 -1
  99. package/lib/components/organisms/DateInput/DateInput.js +1 -1
  100. package/lib/components/organisms/DateInput/date-input.helper.js +1 -1
  101. package/lib/components/organisms/HeaderBandList/HeaderBandList.js +1 -1
  102. package/lib/components/organisms/HeaderOptionsMenu/HeaderOptionsMenu.js +1 -1
  103. package/lib/components/organisms/MailMessageCard/MailMessageCard.js +1 -1
  104. package/lib/components/organisms/MailMessageCommentCard/MailMessageCommentCard.js +1 -1
  105. package/lib/components/organisms/MailMessageNotificationCard/MailMessageNotificationCard.js +1 -1
  106. package/lib/components/organisms/ScannerAutocompleteSearch/ScannerAutocompleteSearch.js +1 -1
  107. package/lib/components/organisms/index.js +1 -1
  108. package/lib/components/templates/AttachedFilesView/AttachedFilesView.js +1 -1
  109. package/lib/components/templates/MailMessageView/MailMessageView.js +1 -1
  110. package/lib/components/templates/PopupApplicationInformation/PopupApplicationInformation.js +1 -1
  111. package/lib/components/templates/PopupMinimalRequiredVersion/PopupMinimalRequiredVersion.js +1 -1
  112. package/lib/components/templates/SocialNetworkLinks/SocialNetworkLinks.js +1 -1
  113. package/lib/components/templates/index.js +1 -1
  114. package/lib/config/RouterProvider.js +1 -1
  115. package/lib/config/index.js +1 -1
  116. package/lib/config/routes.js +1 -1
  117. package/lib/features/attachedFilesSlice.js +1 -1
  118. package/lib/features/authSlice.d.ts +16 -0
  119. package/lib/features/authSlice.js +10 -6
  120. package/lib/features/authSlice.js.map +1 -1
  121. package/lib/features/cameraScannerSlice.js +1 -1
  122. package/lib/features/cameraSlice.js +1 -1
  123. package/lib/features/index.js +1 -1
  124. package/lib/features/mailMessageSlice.js +1 -1
  125. package/lib/features/menuConfigSlice.js +1 -1
  126. package/lib/features/metaModuleSlice.js +1 -1
  127. package/lib/features/metafileSlice.js +1 -1
  128. package/lib/features/mobileConfigSlice.js +1 -1
  129. package/lib/features/onlineSlice.js +1 -1
  130. package/lib/features/scannerSlice.js +1 -1
  131. package/lib/header/HeaderActionsProvider.js +1 -1
  132. package/lib/header/HeaderBandContext.js +1 -1
  133. package/lib/header/header-band-context.helper.js +1 -1
  134. package/lib/header/hooks.js +1 -1
  135. package/lib/header/index.js +1 -1
  136. package/lib/header/types.js +1 -1
  137. package/lib/header/utils.js +1 -1
  138. package/lib/hooks/use-background-function.js +1 -1
  139. package/lib/hooks/use-effect-debugger.js +1 -1
  140. package/lib/hooks/use-header-registers.js +1 -1
  141. package/lib/hooks/use-navigation.js +1 -1
  142. package/lib/hooks/use-scan-activator.js +1 -1
  143. package/lib/i18n/api/translation.js +1 -1
  144. package/lib/i18n/component/Translator.js +1 -1
  145. package/lib/i18n/helpers/langages.js +1 -1
  146. package/lib/i18n/helpers/translations.js +1 -1
  147. package/lib/i18n/hooks/use-translator.js +1 -1
  148. package/lib/i18n/i18n.js +1 -1
  149. package/lib/i18n/index.js +1 -1
  150. package/lib/i18n/translations/en.json +2 -2
  151. package/lib/i18n/translations/fr.json +1 -1
  152. package/lib/index.d.ts +4 -1
  153. package/lib/index.js +5 -2
  154. package/lib/index.js.map +1 -1
  155. package/lib/models/index.js +1 -1
  156. package/lib/models/objectFields.js +1 -1
  157. package/lib/navigator/Navigator.js +1 -1
  158. package/lib/navigator/drawer/AuthMenuIconButton.js +1 -1
  159. package/lib/navigator/drawer/BackIcon.js +1 -1
  160. package/lib/navigator/drawer/DrawerContent.js +1 -1
  161. package/lib/navigator/drawer/DrawerToggleButton.js +1 -1
  162. package/lib/navigator/drawer/Header.js +1 -1
  163. package/lib/navigator/drawer/Menu.js +1 -1
  164. package/lib/navigator/drawer/MenuIconButton.js +1 -1
  165. package/lib/navigator/drawer/MenuItem.js +1 -1
  166. package/lib/navigator/drawer/MenuItemEntry.js +1 -1
  167. package/lib/navigator/drawer/MenuTitle.js +1 -1
  168. package/lib/navigator/drawer/SubMenuItem.js +1 -1
  169. package/lib/navigator/drawer/SubMenuItemList.js +1 -1
  170. package/lib/navigator/menu.helper.js +1 -1
  171. package/lib/navigator/module.helper.js +1 -1
  172. package/lib/navigator/roles.helper.js +1 -1
  173. package/lib/redux/hooks.js +1 -1
  174. package/lib/redux/store.js +1 -1
  175. package/lib/screens/AttachedFilesScreen.js +1 -1
  176. package/lib/screens/BarcodeDisplayScreen.js +1 -1
  177. package/lib/screens/ErrorScreen.js +1 -1
  178. package/lib/screens/LoginScreen.js +1 -1
  179. package/lib/screens/MailMessageScreen.js +1 -1
  180. package/lib/screens/SessionManagementScreen.js +1 -1
  181. package/lib/screens/index.js +1 -1
  182. package/lib/sessions/SessionStorage.js +1 -1
  183. package/lib/sessions/components/alerts/PopupCreateSession.js +1 -1
  184. package/lib/sessions/components/alerts/PopupEditSession.js +1 -1
  185. package/lib/sessions/components/alerts/PopupSession.js +1 -1
  186. package/lib/sessions/components/alerts/index.js +1 -1
  187. package/lib/sessions/components/buttons/DisabledButton.js +1 -1
  188. package/lib/sessions/components/buttons/LoginButton.js +1 -1
  189. package/lib/sessions/components/buttons/UpdateButton.js +1 -1
  190. package/lib/sessions/components/buttons/index.js +1 -1
  191. package/lib/sessions/components/display/LogoImage.js +1 -1
  192. package/lib/sessions/components/display/SessionCard.d.ts +2 -1
  193. package/lib/sessions/components/display/SessionCard.js +9 -4
  194. package/lib/sessions/components/display/SessionCard.js.map +1 -1
  195. package/lib/sessions/components/display/SessionListCard.d.ts +2 -1
  196. package/lib/sessions/components/display/SessionListCard.js +3 -3
  197. package/lib/sessions/components/display/SessionListCard.js.map +1 -1
  198. package/lib/sessions/components/display/index.js +1 -1
  199. package/lib/sessions/components/error/ErrorText.js +1 -1
  200. package/lib/sessions/components/error/index.js +1 -1
  201. package/lib/sessions/components/index.js +1 -1
  202. package/lib/sessions/components/inputs/DefaultCheckbox.js +1 -1
  203. package/lib/sessions/components/inputs/PasswordInput.js +1 -1
  204. package/lib/sessions/components/inputs/SessionInputs.js +1 -1
  205. package/lib/sessions/components/inputs/SessionNameInput.js +1 -1
  206. package/lib/sessions/components/inputs/UrlInput.js +1 -1
  207. package/lib/sessions/components/inputs/UsernameInput.js +1 -1
  208. package/lib/sessions/components/inputs/index.js +1 -1
  209. package/lib/sessions/hook.js +1 -1
  210. package/lib/sessions/index.js +1 -1
  211. package/lib/sessions/type.js +1 -1
  212. package/lib/sessions/utils.js +1 -1
  213. package/lib/storage/Storage.js +1 -1
  214. package/lib/tools/ClipboardProvider.js +1 -1
  215. package/lib/tools/ContactProvider.js +1 -1
  216. package/lib/tools/FilePicker.js +1 -1
  217. package/lib/tools/FileViewer.js +1 -1
  218. package/lib/tools/LinkingProvider.js +1 -1
  219. package/lib/tools/contact.helper.js +1 -1
  220. package/lib/tools/index.js +1 -1
  221. package/lib/tools/linking.helper.js +1 -1
  222. package/lib/types/index.js +1 -1
  223. package/lib/types/mail-message-notification-type.js +1 -1
  224. package/lib/types/stopwatch-type.js +1 -1
  225. package/lib/utils/agenda.js +1 -1
  226. package/lib/utils/api.js +1 -1
  227. package/lib/utils/date.js +1 -1
  228. package/lib/utils/displayers.js +1 -1
  229. package/lib/utils/filter.js +1 -1
  230. package/lib/utils/formatters.js +1 -1
  231. package/lib/utils/image.js +1 -1
  232. package/lib/utils/index.d.ts +1 -0
  233. package/lib/utils/index.js +2 -1
  234. package/lib/utils/index.js.map +1 -1
  235. package/lib/utils/list.js +1 -1
  236. package/lib/utils/object.js +1 -1
  237. package/lib/utils/show-toast-message.js +1 -1
  238. package/lib/utils/string.js +1 -1
  239. package/lib/utils/time.js +1 -1
  240. package/package.json +3 -3
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,9 +1,20 @@
1
+ export declare function ejectAxios({ requestInterceptorId, responseInterceptorId, }: {
2
+ requestInterceptorId: number;
3
+ responseInterceptorId: number;
4
+ }): void;
5
+ export declare function initAxiosWithHeaders(res: any, url: string): {
6
+ token: any;
7
+ jsessionId: string;
8
+ requestInterceptorId: number;
9
+ responseInterceptorId: number;
10
+ };
1
11
  export declare function loginApi(url: string, username: string, password: string): Promise<{
2
12
  token: string;
3
13
  jsessionId: string;
4
14
  requestInterceptorId: number;
5
15
  responseInterceptorId: number;
6
16
  }>;
17
+ export declare function logoutApi(): Promise<import("axios").AxiosResponse<any, any>>;
7
18
  export declare function getActiveUserInfo(): Promise<{
8
19
  userId: any;
9
20
  applicationMode: any;
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -19,24 +19,36 @@ import axios from 'axios';
19
19
  import { provider } from '../apiProviders';
20
20
  import { translationMiddleware } from '../apiProviders/middlewares/translation';
21
21
  const loginPath = '/callback';
22
+ const SESSION_REGEX = /JSESSIONID=\w+/g;
23
+ const getJsessionId = (cookie) => {
24
+ return cookie?.match(SESSION_REGEX)?.[0];
25
+ };
26
+ export function ejectAxios({ requestInterceptorId, responseInterceptorId, }) {
27
+ axios.interceptors.request.eject(requestInterceptorId);
28
+ axios.interceptors.request.eject(responseInterceptorId);
29
+ }
30
+ export function initAxiosWithHeaders(res, url) {
31
+ const token = res.headers['x-csrf-token'];
32
+ const jsessionId = getJsessionId(res.headers['set-cookie']?.[0]);
33
+ if (token == null) {
34
+ throw new Error('X-CSRF-Token is not exposed in remote header');
35
+ }
36
+ const requestInterceptorId = axios.interceptors.request.use(config => {
37
+ config.baseURL = url;
38
+ config.headers['x-csrf-token'] = token;
39
+ return config;
40
+ });
41
+ const responseInterceptorId = axios.interceptors.response.use(_response => translationMiddleware(_response));
42
+ provider.getModelApi()?.init();
43
+ return { token, jsessionId, requestInterceptorId, responseInterceptorId };
44
+ }
22
45
  export async function loginApi(url, username, password) {
23
46
  return axios
24
47
  .post(`${url}${loginPath}`, { username, password })
25
- .then(response => {
26
- const token = response.headers['x-csrf-token'];
27
- const jsessionId = response.headers['set-cookie'][0].split(';')[0];
28
- if (token == null) {
29
- throw new Error('X-CSRF-Token is not exposed in remote header');
30
- }
31
- const requestInterceptorId = axios.interceptors.request.use(config => {
32
- config.baseURL = url;
33
- config.headers['x-csrf-token'] = token;
34
- return config;
35
- });
36
- const responseInterceptorId = axios.interceptors.response.use(_response => translationMiddleware(_response));
37
- provider.getModelApi()?.init();
38
- return { token, jsessionId, requestInterceptorId, responseInterceptorId };
39
- });
48
+ .then(res => initAxiosWithHeaders(res, url));
49
+ }
50
+ export async function logoutApi() {
51
+ return axios.get('/logout');
40
52
  }
41
53
  export async function getActiveUserInfo() {
42
54
  const response = await axios.get('/ws/app/info');
@@ -1 +1 @@
1
- {"version":3,"file":"login-api.js","sourceRoot":"","sources":["../../src/api/login-api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAC,qBAAqB,EAAC,MAAM,yCAAyC,CAAC;AAE9E,MAAM,SAAS,GAAG,WAAW,CAAC;AAE9B,MAAM,CAAC,KAAK,UAAU,QAAQ,CAC5B,GAAW,EACX,QAAgB,EAChB,QAAgB;IAOhB,OAAO,KAAK;SACT,IAAI,CAAC,GAAG,GAAG,GAAG,SAAS,EAAE,EAAE,EAAC,QAAQ,EAAE,QAAQ,EAAC,CAAC;SAChD,IAAI,CAAC,QAAQ,CAAC,EAAE;QACf,MAAM,KAAK,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;QAC/C,MAAM,UAAU,GAAG,QAAQ,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;QACnE,IAAI,KAAK,IAAI,IAAI,EAAE;YACjB,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;SACjE;QAED,MAAM,oBAAoB,GAAG,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE;YACnE,MAAM,CAAC,OAAO,GAAG,GAAG,CAAC;YACrB,MAAM,CAAC,OAAO,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC;YACvC,O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AAU,SAAS;IAC7B,OAAO,KAAK,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;AAC9B,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,iBAAiB;IACrC,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IACjD,OAAO;QACL,MAAM,EAAE,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC;QAChC,eAAe,EAAE,QAAQ,CAAC,IAAI,CAAC,kBAAkB,CAAC;KACnD,CAAC;AACJ,CAAC"}
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -2,4 +2,5 @@ export * from "./Model";
2
2
  export * from "./Action";
3
3
  export * from "./Standard";
4
4
  export * from "./middlewares";
5
+ export { apiProviderConfig } from "./config";
5
6
  export { getApiResponseData, getFirstData, handlerApiCall, handlerError, manageInfiteScrollState, generateInifiniteScrollCases } from "./utils";
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -20,4 +20,5 @@ export * from './Action';
20
20
  export * from './Standard';
21
21
  export * from './middlewares';
22
22
  export { getApiResponseData, getFirstData, handlerApiCall, handlerError, manageInfiteScrollState, generateInifiniteScrollCases, } from './utils';
23
+ export { apiProviderConfig } from './config';
23
24
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/apiProviders/index.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,OAAO,EACL,kBAAkB,EAClB,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,uBAAuB,EACvB,4BAA4B,GAC7B,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/apiProviders/index.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,OAAO,EACL,kBAAkB,EAClB,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,uBAAuB,EACvB,4BAA4B,GAC7B,MAAM,SAAS,CAAC;AACjB,OAAO,EAAC,iBAAiB,EAAC,MAAM,UAAU,CAAC"}
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { Theme, ThemeColors, Writing, WritingStyles } from '@axelor/aos-mobile-ui';
2
3
  import { Module } from './Module';
3
4
  import { proxy, releaseConfig, versionCheckConfig } from './types';
@@ -26,6 +27,7 @@ interface ApplicationProps {
26
27
  defaultWritingTheme?: Writing;
27
28
  showModulesSubtitle?: boolean;
28
29
  configuration?: appConfig;
30
+ customLoginPage?: React.ComponentType;
29
31
  }
30
- declare const Application: ({ modules: modulesProvided, mainMenu, additionalsReducers, version, themes, defaultTheme, writingThemes, defaultWritingTheme, showModulesSubtitle, configuration, }: ApplicationProps) => JSX.Element;
32
+ declare const Application: ({ modules: modulesProvided, mainMenu, additionalsReducers, version, themes, defaultTheme, writingThemes, defaultWritingTheme, showModulesSubtitle, configuration, customLoginPage, }: ApplicationProps) => JSX.Element;
31
33
  export default Application;
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -21,7 +21,7 @@ import ContextedApplication from './ContextedApplication';
21
21
  import { authModule } from '../auth';
22
22
  import { RouterProvider } from '../config';
23
23
  import { ApiProviderConfig } from '../apiProviders/config';
24
- const Application = ({ modules: modulesProvided, mainMenu, additionalsReducers, version, themes, defaultTheme, writingThemes, defaultWritingTheme, showModulesSubtitle = false, configuration, }) => {
24
+ const Application = ({ modules: modulesProvided, mainMenu, additionalsReducers, version, themes, defaultTheme, writingThemes, defaultWritingTheme, showModulesSubtitle = false, configuration, customLoginPage, }) => {
25
25
  const modules = useRef([authModule, ...modulesProvided]).current;
26
26
  RouterProvider.enableRetrocompatibilityWithAOSv6(configuration?.retrocompatibilityAOS6);
27
27
  ApiProviderConfig.allowConnectionBlock =
@@ -33,7 +33,7 @@ const Application = ({ modules: modulesProvided, mainMenu, additionalsReducers,
33
33
  enableConnectionSessions: configuration?.enableConnectionSessions,
34
34
  logoFile: configuration?.logoFile,
35
35
  versionCheckConfig: configuration?.versionCheckConfig,
36
- }}/>
36
+ }} customLoginPage={customLoginPage}/>
37
37
  </ContextsProvider>);
38
38
  };
39
39
  export default Application;
@@ -1 +1 @@
1
- {"version":3,"file":"Application.js","sourceRoot":"","sources":["../../src/app/Application.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,MAAM,EAAC,MAAM,OAAO,CAAC;AAQpC,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,oBAAoB,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAC,UAAU,EAAC,MAAM,SAAS,CAAC;AACnC,OAAO,EAAC,cAAc,EAAC,MAAM,WAAW,CAAC;AACzC,OAAO,EAAC,iBAAiB,EAAC,MAAM,wBAAwB,CAAC;AA+BzD,MAAM,WAAW,GAAG,CAAC,EACnB,OAAO,EAAE,eAAe,EACxB,QAAQ,EACR,mBAAmB,EACnB,OAAO,EACP,MAAM,EACN,YAAY,EACZ,aAAa,EACb,mBAAmB,EACnB,mBAAmB,GAAG,KAAK,EAC3B,aAAa,GACI,EAAE,EAAE;IACrB,MAAM,OAAO,GAAa,MAAM,CAAC,CAAC,UAAU,EAAE,GAAG,eAAe,CAAC,CAAC,CAAC,OAAO,CAAC;IAE3E,cAAc,CAAC,iCAAiC,CAC9C,aAAa,EAAE,sBAAsB,CACtC,CAAC;IAEF,iBAAiB,CAAC,oBAAoB;QACpC,aAAa,CAAC,4BAA4B,CAAC;IAE7C,OAAO,CACL,CAAC,gBAAgB,CACf,OAAO,CAAC,CAAC,OAAO,CAAC,CACjB,mBAAmB,CAAC,CAAC,mBAAmB,CAAC,CACzC,YAAY,CAAC,CAAC,YAAY,CAAC,CAC3B,MAAM,CAAC,CAAC,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wBAAwB;YACjE,QAAQ,EAAE,aAAa,EAAE,QAAQ;YACjC,kBAAkB,EAAE,aAAa,EAAE,kBAAkB;SACtD,CAAC,CACF,eAAe,CAAC,CAAC,eAAe,CAAC,EAErC;IAAA,EAAE,gBAAgB,CAAC,CACpB,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { Module } from './Module';
2
3
  import { proxy, releaseConfig, versionCheckConfig } from './types';
3
4
  interface instanceConfig {
@@ -12,6 +13,7 @@ interface ContextedApplicationProps {
12
13
  mainMenu?: string;
13
14
  version: string;
14
15
  configuration?: instanceConfig;
16
+ customLoginPage?: React.ComponentType;
15
17
  }
16
- declare const ContextedApplication: ({ modules, mainMenu, version, configuration, }: ContextedApplicationProps) => JSX.Element;
18
+ declare const ContextedApplication: ({ modules, mainMenu, version, configuration, customLoginPage, }: ContextedApplicationProps) => JSX.Element;
17
19
  export default ContextedApplication;
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -28,7 +28,7 @@ import { getActiveUserInfo } from '../api/login-api';
28
28
  import ErrorScreen from '../screens/ErrorScreen';
29
29
  import { Camera, CameraScanner, HeaderBandList, Scanner } from '../components';
30
30
  import { RouterProvider } from '../config';
31
- const ContextedApplication = ({ modules, mainMenu, version, configuration, }) => {
31
+ const ContextedApplication = ({ modules, mainMenu, version, configuration, customLoginPage, }) => {
32
32
  const Colors = useThemeColor();
33
33
  const styles = useMemo(() => getStyles(Colors), [Colors]);
34
34
  const [, setRefresh] = useState(false);
@@ -54,7 +54,7 @@ const ContextedApplication = ({ modules, mainMenu, version, configuration, }) =>
54
54
  <HeaderBandList />
55
55
  <LoadingIndicator />
56
56
  <BlockInteractionMessage />
57
- <RootNavigator modules={modules} mainMenu={mainMenu} version={version} onRefresh={() => setRefresh(_current => !_current)} configuration={configuration}/>
57
+ <RootNavigator modules={modules} mainMenu={mainMenu} version={version} onRefresh={() => setRefresh(_current => !_current)} configuration={configuration} customLoginPage={customLoginPage}/>
58
58
  </NavigationContainer>
59
59
  </ErrorBoundary>
60
60
  <Toast config={toastConfig}/>
@@ -1 +1 @@
1
- {"version":3,"file":"ContextedApplication.js","sourceRoot":"","sources":["../../src/app/ContextedApplication.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AACvE,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AACxC,OAAO,KAAK,EAAE,EAAC,SAAS,EAAE,UAAU,EAAC,MAAM,4BAA4B,CAAC;AACxE,OAAO,EAAC,mBAAmB,EAAC,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,gBAAgB,EAEhB,aAAa,EACb,uBAAuB,GACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAC,aAAa,EAAC,MAAM,0BAA0B,CAAC;AACvD,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAE5C,OAAO,UAAU,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAC,iBAAiB,EAAC,MAAM,kBAAkB,CAAC;AACnD,OAAO,WAAW,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAC,MAAM,EAAE,aAAa,EAAE,cAAc,EAAE,OAAO,EAAC,MAAM,eAAe,CAAC;AAC7E,OAAO,EAAC,cAAc,EAAC,MAAM,WAAW,CAAC;AAkBzC,MAAM,oBAAoB,GAAG,CAAC,EAC5B,OAAO,EACP,QAAQ,EACR,OAAO,EACP,aAAa,GACa,EAAE,E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C,AAAD,EACxB;UAAA,CAAC,aAAa,CACZ,OAAO,CAAC,CAAC,OAAO,CAAC,CACjB,QAAQ,CAAC,CAAC,QAAQ,CAAC,CACnB,OAAO,CAAC,CAAC,OAAO,CAAC,CACjB,SAAS,CAAC,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CACnD,aAAa,CAAC,CAAC,aAAa,CAAC,CAC7B,eAAe,CAAC,CAAC,eAAe,CAAC,EAErC;QAAA,EAAE,mBAAmB,CACvB;MAAA,EAAE,aAAa,CACf;MAAA,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,EAC7B;IAAA,GAAG,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,SAAS,GAAG,CAAC,MAAmB,EAAE,EAAE,CACxC,UAAU,CAAC,MAAM,CAAC;IAChB,KAAK,EAAE;QACL,eAAe,EAAE,MAAM,CAAC,UAAU,CAAC,UAAU;KAC9C;IACD,OAAO,EAAE;QACP,eAAe,EAAE,MAAM,CAAC,YAAY,CAAC,UAAU;KAChD;IACD,KAAK,EAAE;QACL,KAAK,EAAE,KAAK;QACZ,MAAM,EAAE,EAAE;KACX;IACD,YAAY,EAAE;QACZ,eAAe,EAAE,CAAC;KACnB;IACD,KAAK,EAAE;QACL,QAAQ,EAAE,EAAE;QACZ,KAAK,EAAE,MAAM,CAAC,IAAI;QAClB,IAAI,EAAE,CAAC;KACR;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,EAAE;QACZ,KAAK,EAAE,MAAM,CAAC,IAAI;QAClB,IAAI,EAAE,CAAC;KACR;CACF,CAAC,CAAC;AAEL,eAAe,oBAAoB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
package/lib/app/Module.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,8 +1,9 @@
1
1
  export default RootNavigator;
2
- declare function RootNavigator({ modules, mainMenu, version, onRefresh, configuration, }: {
2
+ declare function RootNavigator({ modules, mainMenu, version, onRefresh, configuration, customLoginPage: CustomLoginPage, }: {
3
3
  modules: any;
4
4
  mainMenu: any;
5
5
  version: any;
6
6
  onRefresh: any;
7
7
  configuration: any;
8
+ customLoginPage: any;
8
9
  }): JSX.Element;
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2024 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -30,7 +30,7 @@ import { showToastMessage } from '../utils';
30
30
  import { logout } from '../features/authSlice';
31
31
  import { useSessionExpired } from '../apiProviders/config';
32
32
  const { Navigator, Screen } = createNativeStackNavigator();
33
- const RootNavigator = ({ modules, mainMenu, version, onRefresh, configuration, }) => {
33
+ const RootNavigator = ({ modules, mainMenu, version, onRefresh, configuration, customLoginPage: CustomLoginPage, }) => {
34
34
  const Colors = useThemeColor();
35
35
  const I18n = useTranslator();
36
36
  const dispatch = useDispatch();
@@ -87,7 +87,12 @@ const RootNavigator = ({ modules, mainMenu, version, onRefresh, configuration, }
87
87
  }
88
88
  }, [handleSessionExpired, sessionExpired]);
89
89
  return (<Navigator screenOptions={{ headerShown: false }}>
90
- {!logged ? (configuration?.enableConnectionSessions ? (<Screen name="SessionManagementScreen" component={SessionManagementScreen} initialParams={{
90
+ {!logged ? (CustomLoginPage ? (<Screen name="CustomLoginPage" component={CustomLoginPage} initialParams={{
91
+ version,
92
+ testInstanceConfig: configuration?.testInstanceConfig,
93
+ releaseInstanceConfig: configuration?.releaseInstanceConfig,
94
+ logoFile: configuration?.logoFile,
95
+ }}/>) : configuration?.enableConnectionSessions ? (<Screen name="SessionManagementScreen" component={SessionManagementScreen} initialParams={{
91
96
  version,
92
97
  testInstanceConfig: configuration?.testInstanceConfig,
93
98
  releaseInstanceConfig: configuration?.releaseInstanceConfig,
@@ -1 +1 @@
1
- {"version":3,"file":"RootNavigator.js","sourceRoot":"","sources":["../../src/app/RootNavigator.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAC,MAAM,OAAO,CAAC;AACrE,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,aAAa,CAAC;AACrD,OAAO,EAAC,0BAA0B,EAAC,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EAAC,aAAa,EAAC,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAC,OAAO,IAAI,aAAa,EAAC,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAC,UAAU,EAAE,YAAY,EAAC,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAC,kBAAkB,EAAC,MAAM,+BAA+B,CAAC;AACjE,OAAO,WAAW,MAAM,wBAAwB,CAAC;AACjD,OAAO,uBAAuB,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAAC,aAAa,EAAC,MAAM,WAAW,CAAC;AACxC,OAAO,EAAC,aAAa,EAAC,MAAM,SAAS,CAAC;AACtC,OAAO,EAAC,gBAAgB,EAAC,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAC,MAAM,EAAC,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAC,iBAAiB,EA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