@axelor/aos-mobile-core 8.0.18 → 8.0.20
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/anomaly-api.js +1 -1
- package/lib/api/app-config-api.js +1 -1
- 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/meta-module-api.js +1 -1
- package/lib/api/metafile-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/api/user-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/fieldParser.js +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.js +1 -1
- package/lib/app/ContextedApplication.js +1 -1
- package/lib/app/ContextsProvider.js +1 -1
- package/lib/app/Module.js +1 -1
- package/lib/app/RootNavigator.js +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/index.js +1 -1
- package/lib/auth/api/localization-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/localizationSlice.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.d.ts +1 -1
- package/lib/components/external/Scanner/Scanner.js +88 -39
- package/lib/components/external/Scanner/Scanner.js.map +1 -1
- package/lib/components/external/Scanner/intent.helpers.d.ts +11 -0
- package/lib/components/external/Scanner/intent.helpers.js +43 -0
- package/lib/components/external/Scanner/intent.helpers.js.map +1 -0
- package/lib/components/external/Scanner/path.helpers.d.ts +15 -0
- package/lib/components/external/Scanner/path.helpers.js +35 -0
- package/lib/components/external/Scanner/path.helpers.js.map +1 -0
- package/lib/components/external/Stopwatch/Stopwatch.js +1 -1
- package/lib/components/external/Timer/Timer.js +1 -1
- package/lib/components/external/Toast/Toast.js +1 -1
- package/lib/components/external/Toast/ToastProvider.js +1 -1
- package/lib/components/external/Toast/index.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/DateDisplay/DateDisplay.js +1 -1
- package/lib/components/molecules/DatePicker/DatePicker.js +1 -1
- package/lib/components/molecules/FocusScreen/FocusScreen.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/PeriodDisplay/PeriodDisplay.js +10 -4
- package/lib/components/molecules/PeriodDisplay/PeriodDisplay.js.map +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/AnomalyBubble/AnomalyBubble.js +1 -1
- package/lib/components/organisms/AnomalyList/AnomalyList.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/pages/CustomFieldForm/CustomFieldForm.js +1 -1
- package/lib/components/pages/FormView/Alerts/ConstraintsValidatorPopup.js +1 -1
- package/lib/components/pages/FormView/Alerts/index.js +1 -1
- package/lib/components/pages/FormView/Components/Field.js +1 -1
- package/lib/components/pages/FormView/Components/Panel.js +1 -1
- package/lib/components/pages/FormView/Components/index.js +1 -1
- package/lib/components/pages/FormView/Custom/CustomButton.js +1 -1
- package/lib/components/pages/FormView/Custom/CustomPasswordInput.js +1 -1
- package/lib/components/pages/FormView/Custom/CustomPicker.js +1 -1
- package/lib/components/pages/FormView/Custom/CustomSearchBar.js +1 -1
- package/lib/components/pages/FormView/Custom/index.js +1 -1
- package/lib/components/pages/FormView/FormView.js +1 -1
- package/lib/components/pages/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/UserSearchBar/UserSearchBar.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/dashboards/api.helpers.js +1 -1
- package/lib/dashboards/display.helpers.js +1 -1
- package/lib/dashboards/menu.helpers.js +1 -1
- package/lib/dashboards/view/DashboardScreen.js +1 -1
- package/lib/dashboards/view/index.js +1 -1
- package/lib/features/appConfigSlice.js +1 -1
- package/lib/features/attachedFilesSlice.js +1 -1
- package/lib/features/authSlice.js +4 -5
- 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/formSlice.js +1 -1
- package/lib/features/index.js +1 -1
- package/lib/features/mailMessageSlice.js +1 -1
- package/lib/features/metaJsonFieldSlice.js +1 -1
- package/lib/features/metaModuleSlice.js +1 -1
- package/lib/features/metafileSlice.js +1 -1
- package/lib/features/mobileDashboardSlice.js +1 -1
- package/lib/features/onlineSlice.js +1 -1
- package/lib/features/scannerSlice.js +1 -1
- package/lib/features/userSlice.js +1 -1
- package/lib/forms/FormConfigsProvider.js +1 -1
- package/lib/forms/api.helpers.js +1 -1
- package/lib/forms/display.helpers.js +1 -1
- package/lib/forms/index.js +1 -1
- package/lib/forms/register.helpers.js +1 -1
- package/lib/forms/studio/api.helpers.js +1 -1
- package/lib/forms/studio/display.helpers.js +1 -1
- package/lib/forms/studio/formula.helpers.js +1 -1
- package/lib/forms/studio/index.js +1 -1
- package/lib/forms/types.js +1 -1
- package/lib/forms/validation.helpers.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/index.d.ts +1 -0
- package/lib/index.js +2 -1
- package/lib/index.js.map +1 -1
- package/lib/loader/ProcessProvider.js +1 -1
- package/lib/loader/ProcessStorage.js +1 -1
- package/lib/loader/components/atoms/ProcessCard/ProcessCard.js +1 -1
- package/lib/loader/components/atoms/index.js +1 -1
- package/lib/loader/components/index.js +1 -1
- package/lib/loader/components/organisms/LoaderPopup/LoaderPopup.js +1 -1
- package/lib/loader/components/organisms/index.js +1 -1
- package/lib/loader/helpers.js +1 -1
- package/lib/loader/hooks.js +1 -1
- package/lib/loader/index.js +1 -1
- package/lib/loader/types.js +1 -1
- package/lib/models/index.js +1 -1
- package/lib/models/objectFields.js +1 -1
- package/lib/models/searchFields.js +1 -1
- package/lib/models/sortFields.js +1 -1
- package/lib/navigator/Navigator.js +3 -1
- package/lib/navigator/Navigator.js.map +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/MenuSeparator.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/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/JsonFieldScreen.js +1 -1
- package/lib/screens/LoginScreen.js +1 -1
- package/lib/screens/MailMessageScreen.js +1 -1
- package/lib/screens/ProcessListScreen.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/display/LogoImage.js +1 -1
- package/lib/sessions/components/display/SessionCard.js +1 -1
- package/lib/sessions/components/display/SessionListCard.js +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/anomaly-type.js +1 -1
- package/lib/types/index.js +1 -1
- package/lib/types/mail-message-notification-type.js +1 -1
- package/lib/types/mail-message-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,
|
|
@@ -20,16 +20,19 @@ import { StyleSheet, View } from 'react-native';
|
|
|
20
20
|
import { Text } from '@axelor/aos-mobile-ui';
|
|
21
21
|
import { useTranslator } from '../../../i18n';
|
|
22
22
|
import { areObjectsEquals, getFullDateItems } from '../../../utils';
|
|
23
|
+
const BoldText = props => <Text style={styles.boldText}>{props.children}</Text>;
|
|
23
24
|
const PeriodDisplay = ({ startDate, endDate, style }) => {
|
|
24
25
|
const I18n = useTranslator();
|
|
25
26
|
const _startDate = useMemo(() => getFullDateItems(startDate, I18n), [startDate, I18n]);
|
|
26
27
|
const _endDate = useMemo(() => getFullDateItems(endDate, I18n), [endDate, I18n]);
|
|
27
|
-
const BoldText = props => (<Text style={styles.boldText}>{props.children}</Text>);
|
|
28
28
|
const renderDates = () => {
|
|
29
|
-
if (areObjectsEquals(_startDate, _endDate) ||
|
|
29
|
+
if (areObjectsEquals(_startDate, _endDate) ||
|
|
30
|
+
_startDate == null ||
|
|
31
|
+
_endDate == null) {
|
|
32
|
+
const _date = _startDate ?? _endDate;
|
|
30
33
|
// prettier-ignore
|
|
31
34
|
return (<Text>
|
|
32
|
-
{
|
|
35
|
+
{_date.date} <BoldText>{_date.month}</BoldText> {_date.year}
|
|
33
36
|
</Text>);
|
|
34
37
|
}
|
|
35
38
|
else if (_startDate.month === _endDate.month &&
|
|
@@ -52,6 +55,9 @@ const PeriodDisplay = ({ startDate, endDate, style }) => {
|
|
|
52
55
|
</Text>);
|
|
53
56
|
}
|
|
54
57
|
};
|
|
58
|
+
if (_startDate == null && _endDate == null) {
|
|
59
|
+
return null;
|
|
60
|
+
}
|
|
55
61
|
return <View style={style}>{renderDates()}</View>;
|
|
56
62
|
};
|
|
57
63
|
const styles = StyleSheet.create({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PeriodDisplay.js","sourceRoot":"","sources":["../../../../src/components/molecules/PeriodDisplay/PeriodDisplay.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,OAAO,EAAC,MAAM,OAAO,CAAC;AACrC,OAAO,EAAC,UAAU,EAAE,IAAI,EAAC,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAC,IAAI,EAAC,MAAM,uBAAuB,CAAC;AAC3C,OAAO,EAAC,aAAa,EAAC,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAC,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"PeriodDisplay.js","sourceRoot":"","sources":["../../../../src/components/molecules/PeriodDisplay/PeriodDisplay.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,OAAO,EAAC,MAAM,OAAO,CAAC;AACrC,OAAO,EAAC,UAAU,EAAE,IAAI,EAAC,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAC,IAAI,EAAC,MAAM,uBAAuB,CAAC;AAC3C,OAAO,EAAC,aAAa,EAAC,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAC,MAAM,gBAAgB,CAAC;AAElE,MAAM,QAAQ,GAAG,KAAK,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,IAAI,CAAC,CAAC;AAQhF,MAAM,aAAa,GAAG,CAAC,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAqB,EAAE,EAAE;IACxE,MAAM,IAAI,GAAG,aAAa,EAAE,CAAC;IAE7B,MAA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AAQ,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,CAAC,MAAM,QAAQ,CAAC,IAAI,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAE,CAAA,CAAC,UAAU,CAAC,IAAI,CACzI;QAAA,EAAE,IAAI,CAAC,CACR,CAAC;SACH;aAAM;YACL,kBAAkB;YAClB,OAAO,CACL,CAAC,IAAI,CACH;UAAA,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,CAAC,IAAI,UAAU,CAAC,IAAI,KAAK,CAAC,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAE,CAAA,CAAC,QAAQ,CAAC,IAAI,CACvH;QAAA,EAAE,IAAI,CAAC,CACR,CAAC;SACH;IACH,CAAC,CAAC;IAEF,IAAI,UAAU,IAAI,IAAI,IAAI,QAAQ,IAAI,IAAI,EAAE;QAC1C,OAAO,IAAI,CAAC;KACb;IAED,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,EAAE,IAAI,CAAC,CAAC;AACpD,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,QAAQ,EAAE;QACR,UAAU,EAAE,KAAK;KAClB;CACF,CAAC,CAAC;AAEH,eAAe,aAAa,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,
|
|
@@ -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,
|
|
@@ -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/config/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/config/routes.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,
|
|
@@ -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
|
|
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
|
-
|
|
51
|
-
axios.interceptors.request.eject(responseInterceptorId);
|
|
50
|
+
ejectAxios({ requestInterceptorId, responseInterceptorId });
|
|
52
51
|
return;
|
|
53
52
|
});
|
|
54
53
|
const initialState = {
|
|
@@ -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,
|
|
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,EACL,UAA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,CAAC;QAC9D,CAAC,CAAC,CAAC;QACH,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,KAAK,CAAC,EAAE;YACxC,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC;YACrB,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;YACtB,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC;YACpB,KAAK,CAAC,KAAK,GAAG,IAAI,CAAC;YACnB,KAAK,CAAC,UAAU,GAAG,IAAI,CAAC;YACxB,KAAK,CAAC,KAAK,GAAG,IAAI,CAAC;YACnB,KAAK,CAAC,oBAAoB,GAAG,IAAI,CAAC;YAClC,KAAK,CAAC,qBAAqB,GAAG,IAAI,CAAC;YACnC,KAAK,CAAC,eAAe,GAAG,IAAI,CAAC;QAC/B,CAAC,CAAC,CAAC;IACL,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,EAAC,UAAU,EAAC,GAAG,SAAS,CAAC,OAAO,CAAC;AAE9C,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)
|
|
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,
|