@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.
- package/lib/api/attached-files-api.js +1 -1
- package/lib/api/login-api.d.ts +11 -0
- package/lib/api/login-api.js +28 -16
- package/lib/api/login-api.js.map +1 -1
- package/lib/api/mail-message-api.js +1 -1
- package/lib/api/menu-config-api.js +1 -1
- package/lib/api/meta-module-api.js +1 -1
- package/lib/api/metafile-api.js +1 -1
- package/lib/api/mobile-config-api.js +1 -1
- package/lib/api/model-api.js +1 -1
- package/lib/api/net-info-utils.js +1 -1
- package/lib/api/traceback-api.js +1 -1
- package/lib/apiProviders/Action/ActionApiProvider.js +1 -1
- package/lib/apiProviders/Action/ActionProvider.js +1 -1
- package/lib/apiProviders/Action/AosActionApi.js +1 -1
- package/lib/apiProviders/Action/GatewayActionApi.js +1 -1
- package/lib/apiProviders/Action/index.js +1 -1
- package/lib/apiProviders/Action/utils.js +1 -1
- package/lib/apiProviders/Model/AopModelApi.js +1 -1
- package/lib/apiProviders/Model/GatewayModelApi.js +1 -1
- package/lib/apiProviders/Model/ModelApiProvider.js +1 -1
- package/lib/apiProviders/Model/Provider.js +1 -1
- package/lib/apiProviders/Model/index.js +1 -1
- package/lib/apiProviders/Model/utils.js +1 -1
- package/lib/apiProviders/Standard/AxiosProvider.js +1 -1
- package/lib/apiProviders/Standard/ObjectFieldsProvider.js +1 -1
- package/lib/apiProviders/Standard/index.js +1 -1
- package/lib/apiProviders/Standard/requests.helper.js +1 -1
- package/lib/apiProviders/config.js +1 -1
- package/lib/apiProviders/index.d.ts +1 -0
- package/lib/apiProviders/index.js +2 -1
- package/lib/apiProviders/index.js.map +1 -1
- package/lib/apiProviders/middlewares/index.js +1 -1
- package/lib/apiProviders/middlewares/translation.js +1 -1
- package/lib/apiProviders/utils.js +1 -1
- package/lib/app/Application.d.ts +3 -1
- package/lib/app/Application.js +3 -3
- package/lib/app/Application.js.map +1 -1
- package/lib/app/ContextedApplication.d.ts +3 -1
- package/lib/app/ContextedApplication.js +3 -3
- package/lib/app/ContextedApplication.js.map +1 -1
- package/lib/app/ContextsProvider.js +1 -1
- package/lib/app/Module.js +1 -1
- package/lib/app/RootNavigator.d.ts +2 -1
- package/lib/app/RootNavigator.js +8 -3
- package/lib/app/RootNavigator.js.map +1 -1
- package/lib/app/context.helper.js +1 -1
- package/lib/app/index.js +1 -1
- package/lib/app/module-generation.helper.js +1 -1
- package/lib/app/types.js +1 -1
- package/lib/auth/api/company-api.js +1 -1
- package/lib/auth/api/config-api.js +1 -1
- package/lib/auth/api/index.js +1 -1
- package/lib/auth/api/language-api.js +1 -1
- package/lib/auth/api/user-api.js +1 -1
- package/lib/auth/components/index.js +1 -1
- package/lib/auth/components/molecules/TranslationsButton/TranslationsButton.js +1 -1
- package/lib/auth/components/molecules/index.js +1 -1
- package/lib/auth/features/asyncFunctionsIndex.js +1 -1
- package/lib/auth/features/companySlice.js +1 -1
- package/lib/auth/features/configSlice.js +1 -1
- package/lib/auth/features/index.js +1 -1
- package/lib/auth/features/languageSlice.js +1 -1
- package/lib/auth/features/userSlice.js +1 -1
- package/lib/auth/hooks/use-auth-headers.js +1 -1
- package/lib/auth/index.js +1 -1
- package/lib/auth/models/index.js +1 -1
- package/lib/auth/models/objectFields.js +1 -1
- package/lib/auth/screens/SettingsScreen.js +1 -1
- package/lib/auth/screens/UserScreen.js +1 -1
- package/lib/auth/screens/index.js +1 -1
- package/lib/components/external/Camera/Camera.js +1 -1
- package/lib/components/external/Camera/CaptureButton.js +1 -1
- package/lib/components/external/CameraScanner/CameraScanner.js +1 -1
- package/lib/components/external/CodeHighlighter/CodeHighlighter.js +1 -1
- package/lib/components/external/CodeHighlighter/code-highlighter.helper.js +1 -1
- package/lib/components/external/PlanningView/AgendaItemDisplay.js +1 -1
- package/lib/components/external/PlanningView/DayDisplay.js +1 -1
- package/lib/components/external/PlanningView/MonthDisplay.js +1 -1
- package/lib/components/external/PlanningView/NavigationButton.js +1 -1
- package/lib/components/external/PlanningView/PlanningView.js +1 -1
- package/lib/components/external/PlanningView/agenda.helpers.js +1 -1
- package/lib/components/external/Scanner/Scanner.js +1 -1
- package/lib/components/external/Stopwatch/Stopwatch.js +1 -1
- package/lib/components/external/Timer/Timer.js +1 -1
- package/lib/components/external/index.js +1 -1
- package/lib/components/index.js +1 -1
- package/lib/components/molecules/CameraButton/CameraButton.js +1 -1
- package/lib/components/molecules/DatePicker/DatePicker.js +1 -1
- package/lib/components/molecules/HeaderBand/HeaderBand.js +1 -1
- package/lib/components/molecules/HeaderOptionsMenuItem/HeaderOptionMenuItem.js +1 -1
- package/lib/components/molecules/InputBarCodeCard/InputBarCodeCard.js +1 -1
- package/lib/components/molecules/MailMessageReadIcon/MailMessageReadIcon.js +1 -1
- package/lib/components/molecules/TrackItem/TrackItem.js +1 -1
- package/lib/components/molecules/UploadFileInput/UploadFileInput.js +1 -1
- package/lib/components/molecules/index.js +1 -1
- package/lib/components/organisms/AOSImage/AOSImage.js +1 -1
- package/lib/components/organisms/AOSImageBubble/AOSImageBubble.js +1 -1
- package/lib/components/organisms/DateInput/DateInput.js +1 -1
- package/lib/components/organisms/DateInput/date-input.helper.js +1 -1
- package/lib/components/organisms/HeaderBandList/HeaderBandList.js +1 -1
- package/lib/components/organisms/HeaderOptionsMenu/HeaderOptionsMenu.js +1 -1
- package/lib/components/organisms/MailMessageCard/MailMessageCard.js +1 -1
- package/lib/components/organisms/MailMessageCommentCard/MailMessageCommentCard.js +1 -1
- package/lib/components/organisms/MailMessageNotificationCard/MailMessageNotificationCard.js +1 -1
- package/lib/components/organisms/ScannerAutocompleteSearch/ScannerAutocompleteSearch.js +1 -1
- package/lib/components/organisms/index.js +1 -1
- package/lib/components/templates/AttachedFilesView/AttachedFilesView.js +1 -1
- package/lib/components/templates/MailMessageView/MailMessageView.js +1 -1
- package/lib/components/templates/PopupApplicationInformation/PopupApplicationInformation.js +1 -1
- package/lib/components/templates/PopupMinimalRequiredVersion/PopupMinimalRequiredVersion.js +1 -1
- package/lib/components/templates/SocialNetworkLinks/SocialNetworkLinks.js +1 -1
- package/lib/components/templates/index.js +1 -1
- package/lib/config/RouterProvider.js +1 -1
- package/lib/config/index.js +1 -1
- package/lib/config/routes.js +1 -1
- package/lib/features/attachedFilesSlice.js +1 -1
- package/lib/features/authSlice.d.ts +16 -0
- package/lib/features/authSlice.js +10 -6
- package/lib/features/authSlice.js.map +1 -1
- package/lib/features/cameraScannerSlice.js +1 -1
- package/lib/features/cameraSlice.js +1 -1
- package/lib/features/index.js +1 -1
- package/lib/features/mailMessageSlice.js +1 -1
- package/lib/features/menuConfigSlice.js +1 -1
- package/lib/features/metaModuleSlice.js +1 -1
- package/lib/features/metafileSlice.js +1 -1
- package/lib/features/mobileConfigSlice.js +1 -1
- package/lib/features/onlineSlice.js +1 -1
- package/lib/features/scannerSlice.js +1 -1
- package/lib/header/HeaderActionsProvider.js +1 -1
- package/lib/header/HeaderBandContext.js +1 -1
- package/lib/header/header-band-context.helper.js +1 -1
- package/lib/header/hooks.js +1 -1
- package/lib/header/index.js +1 -1
- package/lib/header/types.js +1 -1
- package/lib/header/utils.js +1 -1
- package/lib/hooks/use-background-function.js +1 -1
- package/lib/hooks/use-effect-debugger.js +1 -1
- package/lib/hooks/use-header-registers.js +1 -1
- package/lib/hooks/use-navigation.js +1 -1
- package/lib/hooks/use-scan-activator.js +1 -1
- package/lib/i18n/api/translation.js +1 -1
- package/lib/i18n/component/Translator.js +1 -1
- package/lib/i18n/helpers/langages.js +1 -1
- package/lib/i18n/helpers/translations.js +1 -1
- package/lib/i18n/hooks/use-translator.js +1 -1
- package/lib/i18n/i18n.js +1 -1
- package/lib/i18n/index.js +1 -1
- package/lib/i18n/translations/en.json +2 -2
- package/lib/i18n/translations/fr.json +1 -1
- package/lib/index.d.ts +3 -1
- package/lib/index.js +4 -2
- package/lib/index.js.map +1 -1
- package/lib/models/index.js +1 -1
- package/lib/models/objectFields.js +1 -1
- package/lib/navigator/Navigator.js +1 -1
- package/lib/navigator/drawer/AuthMenuIconButton.js +1 -1
- package/lib/navigator/drawer/BackIcon.js +1 -1
- package/lib/navigator/drawer/DrawerContent.js +1 -1
- package/lib/navigator/drawer/DrawerToggleButton.js +1 -1
- package/lib/navigator/drawer/Header.js +1 -1
- package/lib/navigator/drawer/Menu.js +1 -1
- package/lib/navigator/drawer/MenuIconButton.js +1 -1
- package/lib/navigator/drawer/MenuItem.js +1 -1
- package/lib/navigator/drawer/MenuItemEntry.js +1 -1
- package/lib/navigator/drawer/MenuTitle.js +1 -1
- package/lib/navigator/drawer/SubMenuItem.js +1 -1
- package/lib/navigator/drawer/SubMenuItemList.js +1 -1
- package/lib/navigator/menu.helper.js +1 -1
- package/lib/navigator/module.helper.js +1 -1
- package/lib/navigator/roles.helper.js +1 -1
- package/lib/redux/hooks.js +1 -1
- package/lib/redux/store.js +1 -1
- package/lib/screens/AttachedFilesScreen.js +1 -1
- package/lib/screens/BarcodeDisplayScreen.js +1 -1
- package/lib/screens/ErrorScreen.js +1 -1
- package/lib/screens/LoginScreen.js +1 -1
- package/lib/screens/MailMessageScreen.js +1 -1
- package/lib/screens/SessionManagementScreen.js +1 -1
- package/lib/screens/index.js +1 -1
- package/lib/sessions/SessionStorage.js +1 -1
- package/lib/sessions/components/alerts/PopupCreateSession.js +1 -1
- package/lib/sessions/components/alerts/PopupEditSession.js +1 -1
- package/lib/sessions/components/alerts/PopupSession.js +1 -1
- package/lib/sessions/components/alerts/index.js +1 -1
- package/lib/sessions/components/buttons/DisabledButton.js +1 -1
- package/lib/sessions/components/buttons/LoginButton.js +1 -1
- package/lib/sessions/components/buttons/UpdateButton.js +1 -1
- package/lib/sessions/components/buttons/index.js +1 -1
- package/lib/sessions/components/display/LogoImage.js +1 -1
- package/lib/sessions/components/display/SessionCard.d.ts +2 -1
- package/lib/sessions/components/display/SessionCard.js +9 -4
- package/lib/sessions/components/display/SessionCard.js.map +1 -1
- package/lib/sessions/components/display/SessionListCard.d.ts +2 -1
- package/lib/sessions/components/display/SessionListCard.js +3 -3
- package/lib/sessions/components/display/SessionListCard.js.map +1 -1
- package/lib/sessions/components/display/index.js +1 -1
- package/lib/sessions/components/error/ErrorText.js +1 -1
- package/lib/sessions/components/error/index.js +1 -1
- package/lib/sessions/components/index.js +1 -1
- package/lib/sessions/components/inputs/DefaultCheckbox.js +1 -1
- package/lib/sessions/components/inputs/PasswordInput.js +1 -1
- package/lib/sessions/components/inputs/SessionInputs.js +1 -1
- package/lib/sessions/components/inputs/SessionNameInput.js +1 -1
- package/lib/sessions/components/inputs/UrlInput.js +1 -1
- package/lib/sessions/components/inputs/UsernameInput.js +1 -1
- package/lib/sessions/components/inputs/index.js +1 -1
- package/lib/sessions/hook.js +1 -1
- package/lib/sessions/index.js +1 -1
- package/lib/sessions/type.js +1 -1
- package/lib/sessions/utils.js +1 -1
- package/lib/storage/Storage.js +1 -1
- package/lib/tools/ClipboardProvider.js +1 -1
- package/lib/tools/ContactProvider.js +1 -1
- package/lib/tools/FilePicker.js +1 -1
- package/lib/tools/FileViewer.js +1 -1
- package/lib/tools/LinkingProvider.js +1 -1
- package/lib/tools/contact.helper.js +1 -1
- package/lib/tools/index.js +1 -1
- package/lib/tools/linking.helper.js +1 -1
- package/lib/types/index.js +1 -1
- package/lib/types/mail-message-notification-type.js +1 -1
- package/lib/types/stopwatch-type.js +1 -1
- package/lib/utils/agenda.js +1 -1
- package/lib/utils/api.js +1 -1
- package/lib/utils/date.js +1 -1
- package/lib/utils/displayers.js +1 -1
- package/lib/utils/filter.js +1 -1
- package/lib/utils/formatters.js +1 -1
- package/lib/utils/image.js +1 -1
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/index.js +2 -1
- package/lib/utils/index.js.map +1 -1
- package/lib/utils/list.js +1 -1
- package/lib/utils/object.js +1 -1
- package/lib/utils/show-toast-message.js +1 -1
- package/lib/utils/string.js +1 -1
- package/lib/utils/time.js +1 -1
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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/redux/hooks.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
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/redux/store.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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/screens/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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,10 @@
|
|
|
1
1
|
export default SessionCard;
|
|
2
|
-
declare function SessionCard({ session, changeActiveSession, openConnection, openEdition, isUnactive, logoFile, }: {
|
|
2
|
+
declare function SessionCard({ session, changeActiveSession, openConnection, openEdition, isUnactive, logoFile, handleRemove, }: {
|
|
3
3
|
session: any;
|
|
4
4
|
changeActiveSession: any;
|
|
5
5
|
openConnection: any;
|
|
6
6
|
openEdition: any;
|
|
7
7
|
isUnactive: any;
|
|
8
8
|
logoFile: any;
|
|
9
|
+
handleRemove?: any;
|
|
9
10
|
}): JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
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,
|
|
@@ -23,7 +23,7 @@ import Icon from 'react-native-vector-icons/FontAwesome5';
|
|
|
23
23
|
import { useThemeColor, Card, Text } from '@axelor/aos-mobile-ui';
|
|
24
24
|
import LogoImage from './LogoImage';
|
|
25
25
|
import { sessionStorage } from '../..';
|
|
26
|
-
const SessionCard = ({ session, changeActiveSession, openConnection, openEdition, isUnactive, logoFile, }) => {
|
|
26
|
+
const SessionCard = ({ session, changeActiveSession, openConnection, openEdition, isUnactive, logoFile, handleRemove = null, }) => {
|
|
27
27
|
const Colors = useThemeColor();
|
|
28
28
|
const ref = useRef(null);
|
|
29
29
|
const translateXAnim = useRef(new Animated.Value(0)).current;
|
|
@@ -61,12 +61,17 @@ const SessionCard = ({ session, changeActiveSession, openConnection, openEdition
|
|
|
61
61
|
useNativeDriver: true,
|
|
62
62
|
}),
|
|
63
63
|
]).start(() => {
|
|
64
|
-
|
|
64
|
+
if (handleRemove != null) {
|
|
65
|
+
handleRemove({ sessionId: session.id });
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
sessionStorage.removeSession({ sessionId: session.id });
|
|
69
|
+
}
|
|
65
70
|
scaleAnim.setValue(1);
|
|
66
71
|
translateXAnim.setValue(0);
|
|
67
72
|
translateYAnim.setValue(0);
|
|
68
73
|
});
|
|
69
|
-
}, [scaleAnim, session, translateXAnim, translateYAnim]);
|
|
74
|
+
}, [handleRemove, scaleAnim, session, translateXAnim, translateYAnim]);
|
|
70
75
|
const renderActionButton = (trans, iconName, color, onPress) => {
|
|
71
76
|
return (<Animated.View style={[styles.actionView, { transform: [{ translateX: trans }] }]}>
|
|
72
77
|
<RectButton onPress={onPress}>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SessionCard.js","sourceRoot":"","sources":["../../../../src/sessions/components/display/SessionCard.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,WAAW,EAAE,SAAS,EAAE,MAAM,EAAC,MAAM,OAAO,CAAC;AAC5D,OAAO,EACL,UAAU,EACV,IAAI,EACJ,QAAQ,EACR,gBAAgB,EAChB,UAAU,GACX,MAAM,cAAc,CAAC;AACtB,OAAO,EAAC,sBAAsB,EAAE,UAAU,EAAC,MAAM,8BAA8B,CAAC;AAChF,OAAO,SAAS,MAAM,wCAAwC,CAAC;AAC/D,OAAO,IAAI,MAAM,wCAAwC,CAAC;AAC1D,OAAO,EAAC,aAAa,EAAE,IAAI,EAAE,IAAI,EAAC,MAAM,uBAAuB,CAAC;AAChE,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,EAAC,cAAc,EAAC,MAAM,OAAO,CAAC;AAErC,MAAM,WAAW,GAAG,CAAC,EACnB,OAAO,EACP,mBAAmB,EACnB,cAAc,EACd,WAAW,EACX,UAAU,EACV,QAAQ,
|
|
1
|
+
{"version":3,"file":"SessionCard.js","sourceRoot":"","sources":["../../../../src/sessions/components/display/SessionCard.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,WAAW,EAAE,SAAS,EAAE,MAAM,EAAC,MAAM,OAAO,CAAC;AAC5D,OAAO,EACL,UAAU,EACV,IAAI,EACJ,QAAQ,EACR,gBAAgB,EAChB,UAAU,GACX,MAAM,cAAc,CAAC;AACtB,OAAO,EAAC,sBAAsB,EAAE,UAAU,EAAC,MAAM,8BAA8B,CAAC;AAChF,OAAO,SAAS,MAAM,wCAAwC,CAAC;AAC/D,OAAO,IAAI,MAAM,wCAAwC,CAAC;AAC1D,OAAO,EAAC,aAAa,EAAE,IAAI,EAAE,IAAI,EAAC,MAAM,uBAAuB,CAAC;AAChE,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,EAAC,cAAc,EAAC,MAAM,OAAO,CAAC;AAErC,MAAM,WAAW,GAAG,CAAC,EACnB,OAAO,EACP,mBAAmB,EACnB,cAAc,EACd,WAAW,EACX,UAAU,EACV,QAAQ,EACR,YAAY,GAAG,IAAI,GACpB,EAAE,EAAE;IACH,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;IAC/B,MAAM,GAAG,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;IAEzB,MAAM,cAAc,GAAG,MAAM,CAAC,IAAI,QAAQ,CA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AgB,CACpB;MAAA,EAAE,SAAS,CACb;IAAA,EAAE,sBAAsB,CAAC,CAC1B,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,cAAc,EAAE;QACd,KAAK,EAAE,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,KAAK;KACtC;IACD,aAAa,EAAE;QACb,SAAS,EAAE,QAAQ;QACnB,aAAa,EAAE,KAAK;QACpB,UAAU,EAAE,QAAQ;QACpB,cAAc,EAAE,CAAC;QACjB,KAAK,EAAE,KAAK;QACZ,MAAM,EAAE,GAAG;QACX,WAAW,EAAE,CAAC;KACf;IACD,cAAc,EAAE;QACd,KAAK,EAAE,KAAK;QACZ,MAAM,EAAE,GAAG;KACZ;IACD,aAAa,EAAE;QACb,aAAa,EAAE,QAAQ;QACvB,KAAK,EAAE,KAAK;QACZ,UAAU,EAAE,EAAE;KACf;IACD,gBAAgB,EAAE;QAChB,KAAK,EAAE,EAAE;QACT,UAAU,EAAE,CAAC,EAAE;QACf,WAAW,EAAE,EAAE;QACf,cAAc,EAAE,CAAC;QACjB,aAAa,EAAE,QAAQ;KACxB;IACD,UAAU,EAAE;QACV,IAAI,EAAE,CAAC;KACR;IACD,MAAM,EAAE;QACN,KAAK,EAAE,MAAM;QACb,MAAM,EAAE,KAAK;QACb,SAAS,EAAE,QAAQ;QACnB,cAAc,EAAE,QAAQ;QACxB,UAAU,EAAE,QAAQ;QACpB,WAAW,EAAE,CAAC;QACd,YAAY,EAAE,EAAE;QAChB,cAAc,EAAE,CAAC;QACjB,gBAAgB,EAAE,CAAC;KACpB;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,EAAE;KACb;CACF,CAAC,CAAC;AAEH,eAAe,WAAW,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default SessionListCard;
|
|
2
|
-
declare function SessionListCard({ logoFile, sessionList, changeActiveSession, openConnection, openEdition, openCreation, session, }: {
|
|
2
|
+
declare function SessionListCard({ logoFile, sessionList, changeActiveSession, openConnection, openEdition, openCreation, session, handleRemoveSession, }: {
|
|
3
3
|
logoFile: any;
|
|
4
4
|
sessionList: any;
|
|
5
5
|
changeActiveSession: any;
|
|
@@ -7,4 +7,5 @@ declare function SessionListCard({ logoFile, sessionList, changeActiveSession, o
|
|
|
7
7
|
openEdition: any;
|
|
8
8
|
openCreation: any;
|
|
9
9
|
session: any;
|
|
10
|
+
handleRemoveSession?: any;
|
|
10
11
|
}): JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
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,7 +19,7 @@ import React, { useMemo } from 'react';
|
|
|
19
19
|
import { ScrollView, StyleSheet, View } from 'react-native';
|
|
20
20
|
import { useThemeColor, Icon } from '@axelor/aos-mobile-ui';
|
|
21
21
|
import { SessionCard } from '../../components';
|
|
22
|
-
const SessionListCard = ({ logoFile, sessionList, changeActiveSession, openConnection, openEdition, openCreation, session, }) => {
|
|
22
|
+
const SessionListCard = ({ logoFile, sessionList, changeActiveSession, openConnection, openEdition, openCreation, session, handleRemoveSession = null, }) => {
|
|
23
23
|
const Colors = useThemeColor();
|
|
24
24
|
const sessions = useMemo(() => sessionList, [sessionList]);
|
|
25
25
|
const styles = useMemo(() => getStyles(Colors), [Colors]);
|
|
@@ -28,7 +28,7 @@ const SessionListCard = ({ logoFile, sessionList, changeActiveSession, openConne
|
|
|
28
28
|
<Icon name="plus" style={styles.iconPlus} touchable={true} onPress={openCreation}/>
|
|
29
29
|
</View>
|
|
30
30
|
{!Array.isArray(sessions) || sessions?.length === 0 ? null : (<ScrollView>
|
|
31
|
-
{sessions.map(_session => (<SessionCard key={_session.id} session={_session} changeActiveSession={changeActiveSession} openConnection={openConnection} openEdition={openEdition} isUnactive={_session.id !== session?.id} logoFile={logoFile}/>))}
|
|
31
|
+
{sessions.map(_session => (<SessionCard key={_session.id} session={_session} changeActiveSession={changeActiveSession} openConnection={openConnection} openEdition={openEdition} isUnactive={_session.id !== session?.id} logoFile={logoFile} handleRemove={handleRemoveSession}/>))}
|
|
32
32
|
</ScrollView>)}
|
|
33
33
|
</View>);
|
|
34
34
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SessionListCard.js","sourceRoot":"","sources":["../../../../src/sessions/components/display/SessionListCard.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,OAAO,EAAC,MAAM,OAAO,CAAC;AACrC,OAAO,EAAC,UAAU,EAAE,UAAU,EAAE,IAAI,EAAC,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAC,aAAa,EAAE,IAAI,EAAC,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAE7C,MAAM,eAAe,GAAG,CAAC,EACvB,QAAQ,EACR,WAAW,EACX,mBAAmB,EACnB,cAAc,EACd,WAAW,EACX,YAAY,EACZ,OAAO,
|
|
1
|
+
{"version":3,"file":"SessionListCard.js","sourceRoot":"","sources":["../../../../src/sessions/components/display/SessionListCard.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,OAAO,EAAC,MAAM,OAAO,CAAC;AACrC,OAAO,EAAC,UAAU,EAAE,UAAU,EAAE,IAAI,EAAC,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAC,aAAa,EAAE,IAAI,EAAC,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAE7C,MAAM,eAAe,GAAG,CAAC,EACvB,QAAQ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,CACxC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CACnB,YAAY,CAAC,CAAC,mBAAmB,CAAC,EAClC,CACH,CAAC,CACJ;QAAA,EAAE,UAAU,CAAC,CACd,CACH;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,SAAS,GAAG,MAAM,CAAC,EAAE,CACzB,UAAU,CAAC,MAAM,CAAC;IAChB,SAAS,EAAE;QACT,KAAK,EAAE,MAAM;QACb,MAAM,EAAE,KAAK;KACd;IACD,aAAa,EAAE;QACb,SAAS,EAAE,UAAU;QACrB,WAAW,EAAE,IAAI;KAClB;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,YAAY,EAAE,EAAE;QAChB,eAAe,EAAE,MAAM,CAAC,mBAAmB,CAAC,UAAU;QACtD,WAAW,EAAE,CAAC;QACd,WAAW,EAAE,MAAM,CAAC,YAAY,CAAC,UAAU;KAC5C;CACF,CAAC,CAAC;AAEL,eAAe,eAAe,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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/sessions/hook.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
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/sessions/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
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/sessions/type.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
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/sessions/utils.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
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/storage/Storage.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
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,
|