@axelor/aos-mobile-core 7.1.21 → 7.1.23

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 +3 -1
  153. package/lib/index.js +4 -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,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,
@@ -60,8 +60,24 @@ export const authSlice: import("@reduxjs/toolkit").Slice<import("immer/dist/inte
60
60
  applicationMode: any;
61
61
  error: any;
62
62
  }>) => void;
63
+ updateAuthState: (state: import("immer/dist/internal").WritableDraft<{
64
+ loading: boolean;
65
+ logged: boolean;
66
+ userId: any;
67
+ baseUrl: any;
68
+ token: any;
69
+ jsessionId: any;
70
+ requestInterceptorId: any;
71
+ responseInterceptorId: any;
72
+ applicationMode: any;
73
+ error: any;
74
+ }>, action: {
75
+ payload: any;
76
+ type: string;
77
+ }) => void;
63
78
  }, "auth">;
64
79
  export const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"auth/clearError">;
80
+ export const updateAuthState: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "auth/updateAuthState">;
65
81
  export const authReducer: import("redux").Reducer<import("immer/dist/internal").WritableDraft<{
66
82
  loading: boolean;
67
83
  logged: boolean;
@@ -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,
@@ -16,8 +16,7 @@
16
16
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
17
  */
18
18
  import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
19
- import axios from 'axios';
20
- import { getActiveUserInfo, loginApi } from '../api/login-api';
19
+ import { ejectAxios, getActiveUserInfo, loginApi, logoutApi, } from '../api/login-api';
21
20
  import { apiProviderConfig } from '../apiProviders/config';
22
21
  import { saveUrlInStorage } from '../sessions';
23
22
  import { checkNullString } from '../utils';
@@ -46,9 +45,9 @@ export const isUrlValid = createAsyncThunk('auth/isUrlValid', async ({ url }) =>
46
45
  return url;
47
46
  });
48
47
  export const logout = createAsyncThunk('auth/logout', async function (data, { getState }) {
48
+ await logoutApi();
49
49
  const { requestInterceptorId, responseInterceptorId } = getState()?.auth;
50
- axios.interceptors.request.eject(requestInterceptorId);
51
- axios.interceptors.request.eject(responseInterceptorId);
50
+ ejectAxios({ requestInterceptorId, responseInterceptorId });
52
51
  return;
53
52
  });
54
53
  const initialState = {
@@ -70,6 +69,11 @@ export const authSlice = createSlice({
70
69
  clearError: state => {
71
70
  state.error = null;
72
71
  },
72
+ updateAuthState: (state, action) => {
73
+ Object.entries(action.payload ?? {}).forEach(([key, value]) => {
74
+ state[key] = value;
75
+ });
76
+ },
73
77
  },
74
78
  extraReducers: builder => {
75
79
  builder.addCase(login.pending, state => {
@@ -115,6 +119,6 @@ export const authSlice = createSlice({
115
119
  });
116
120
  },
117
121
  });
118
- export const { clearError } = authSlice.actions;
122
+ export const { clearError, updateAuthState } = authSlice.actions;
119
123
  export const authReducer = authSlice.reducer;
120
124
  //# sourceMappingURL=authSlice.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"authSlice.js","sourceRoot":"","sources":["../../src/features/authSlice.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,gBAAgB,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAC/D,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,iBAAiB,EAAE,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAC,iBAAiB,EAAC,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAC,gBAAgB,EAAC,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AACzC,OAAO,EAAC,OAAO,EAAC,MAAM,cAAc,CAAC;AAErC,MAAM,CAAC,MAAM,KAAK,GAAG,gBAAgB,CACnC,YAAY,EACZ,KAAK,EAAE,EAAC,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAC,EAAE,EAAE;IAClC,MAAM,eAAe,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC,CAAC;IAC3C,MAAM,EAAC,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C;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,EAAC,UAAU,EAAE,eAAe,EAAC,GAAG,SAAS,CAAC,OAAO,CAAC;AAE/D,MAAM,CAAC,MAAM,WAAW,GAAG,SAAS,CAAC,OAAO,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,
@@ -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,
package/lib/i18n/i18n.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,
package/lib/i18n/index.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,
@@ -9,8 +9,8 @@
9
9
  "Base_AllFilters": "All filters",
10
10
  "Base_DateFormat": "MM/DD/YYYY",
11
11
  "Base_DateTimeFormat": "MM/DD/YYYY HH:mm",
12
- "Base_DecimalSpacer": ",",
13
- "Base_ThousandSpacer": ".",
12
+ "Base_DecimalSpacer": ".",
13
+ "Base_ThousandSpacer": ",",
14
14
  "Base_CreatedOn": "Created on",
15
15
  "Base_ValidatedOn": "Validated on",
16
16
  "Base_PlannedFor": "Planned for",
@@ -9,7 +9,7 @@
9
9
  "Base_AllFilters": "Tous les filtres",
10
10
  "Base_DateFormat": "DD/MM/YYYY",
11
11
  "Base_DateTimeFormat": "DD/MM/YYYY HH:mm",
12
- "Base_DecimalSpacer": ".",
12
+ "Base_DecimalSpacer": ",",
13
13
  "Base_ThousandSpacer": " ",
14
14
  "Base_CreatedOn": "Créé le",
15
15
  "Base_ValidatedOn": "Validé le",
package/lib/index.d.ts CHANGED
@@ -4,7 +4,7 @@ export { configGlobalStore } from './redux/store';
4
4
  export { storage, Storage, useStorage } from './storage/Storage';
5
5
  export { traceError } from './api/traceback-api';
6
6
  export { useEffectDebugger } from './hooks/use-effect-debugger';
7
- export { login, logout } from './features/authSlice';
7
+ export { clearError, isUrlValid, login, logout, updateAuthState, } from './features/authSlice';
8
8
  export * from './apiProviders';
9
9
  export { useScannedValueByKey, useScannerSelector, enableScan, scanValue, disableScan, clearScan, default as scannerReducer, } from './features/scannerSlice';
10
10
  export { useCameraScannerSelector, useCameraScannerValueByKey, clearBarcode, enableCameraScanner, scanBarcode, disableCameraScanner, } from './features/cameraScannerSlice';
@@ -13,6 +13,7 @@ export { useEffectOnline, useOnline, enable as enableOnline, disable as disableO
13
13
  export { getNetInfo } from './api/net-info-utils';
14
14
  export { uploadFile, uploadBase64 } from './api/metafile-api';
15
15
  export { useDispatch, useSelector } from './redux/hooks';
16
+ export { ejectAxios, getActiveUserInfo, initAxiosWithHeaders, loginApi, logoutApi, } from './api/login-api';
16
17
  export * from './components';
17
18
  export * from './tools';
18
19
  export * from './utils';
@@ -21,5 +22,6 @@ export * from './auth';
21
22
  export * from './i18n';
22
23
  export * from './config';
23
24
  export * from './header';
25
+ export * from './sessions';
24
26
  export { useScanActivator, useScannerDeviceActivator, useCameraScannerActivator, } from './hooks/use-scan-activator';
25
27
  export { useNavigation, useIsFocused } from './hooks/use-navigation';
package/lib/index.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,
@@ -21,7 +21,7 @@ export { configGlobalStore } from './redux/store';
21
21
  export { storage, Storage, useStorage } from './storage/Storage';
22
22
  export { traceError } from './api/traceback-api';
23
23
  export { useEffectDebugger } from './hooks/use-effect-debugger';
24
- export { login, logout } from './features/authSlice';
24
+ export { clearError, isUrlValid, login, logout, updateAuthState, } from './features/authSlice';
25
25
  export * from './apiProviders';
26
26
  export { useScannedValueByKey, useScannerSelector, enableScan, scanValue, disableScan, clearScan, default as scannerReducer, } from './features/scannerSlice';
27
27
  export { useCameraScannerSelector, useCameraScannerValueByKey, clearBarcode, enableCameraScanner, scanBarcode, disableCameraScanner, } from './features/cameraScannerSlice';
@@ -30,6 +30,7 @@ export { useEffectOnline, useOnline, enable as enableOnline, disable as disableO
30
30
  export { getNetInfo } from './api/net-info-utils';
31
31
  export { uploadFile, uploadBase64 } from './api/metafile-api';
32
32
  export { useDispatch, useSelector } from './redux/hooks';
33
+ export { ejectAxios, getActiveUserInfo, initAxiosWithHeaders, loginApi, logoutApi, } from './api/login-api';
33
34
  export * from './components';
34
35
  export * from './tools';
35
36
  export * from './utils';
@@ -38,6 +39,7 @@ export * from './auth';
38
39
  export * from './i18n';
39
40
  export * from './config';
40
41
  export * from './header';
42
+ export * from './sessions';
41
43
  export { useScanActivator, useScannerDeviceActivator, useCameraScannerActivator, } from './hooks/use-scan-activator';
42
44
  export { useNavigation, useIsFocused } from './hooks/use-navigation';
43
45
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,cAAc,OAAO,CAAC;AACtB,OAAO,EAAC,OAAO,IAAI,SAAS,EAAC,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAC,iBAAiB,EAAC,MAAM,eAAe,CAAC;AAChD,OAAO,EAAC,OAAO,EAAE,OAAO,EAAE,UAAU,EAAC,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAC,UAAU,EAAC,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAC,iBAAiB,EAAC,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAC,KAAK,EAAE,MAAM,EAAC,MAAM,sBAAsB,CAAC;AACnD,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EACL,oBAAoB,EACpB,kBAAkB,EAClB,UAAU,EACV,SAAS,EACT,WAAW,EACX,SAAS,EACT,OAAO,IAAI,cAAc,GAC1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,wBAAwB,EACxB,0BAA0B,EAC1B,YAAY,EACZ,mBAAmB,EACnB,WAAW,EACX,oBAAoB,GACrB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,YAAY,EACZ,SAAS,EACT,UAAU,EACV,aAAa,EACb,OAAO,IAAI,aAAa,GACzB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,eAAe,EACf,SAAS,EACT,MAAM,IAAI,YAAY,EACtB,OAAO,IAAI,aAAa,GACzB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAC,UAAU,EAAC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AAW,EACX,oBAAoB,GACrB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,YAAY,EACZ,SAAS,EACT,UAAU,EACV,aAAa,EACb,OAAO,IAAI,aAAa,GACzB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,eAAe,EACf,SAAS,EACT,MAAM,IAAI,YAAY,EACtB,OAAO,IAAI,aAAa,GACzB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAC,UAAU,EAAE,YAAY,EAAC,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,eAAe,CAAC;AACvD,OAAO,EACL,UAAU,EACV,iBAAiB,EACjB,oBAAoB,EACpB,QAAQ,EACR,SAAS,GACV,MAAM,iBAAiB,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,OAAO,EACL,gBAAgB,EAChB,yBAAyB,EACzB,yBAAyB,GAC1B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAC,aAAa,EAAE,YAAY,EAAC,MAAM,wBAAwB,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,