@axelor/aos-mobile-core 7.1.1 → 7.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/anomaly-api.d.ts +4 -0
- package/lib/api/anomaly-api.js +24 -0
- package/lib/api/anomaly-api.js.map +1 -0
- package/lib/api/login-api.js +2 -3
- package/lib/api/login-api.js.map +1 -1
- package/lib/api/metafile-api.d.ts +10 -0
- package/lib/api/metafile-api.js +12 -6
- package/lib/api/metafile-api.js.map +1 -1
- package/lib/api/mobile-config-api.js +9 -15
- package/lib/api/mobile-config-api.js.map +1 -1
- package/lib/api/model-api.d.ts +4 -0
- package/lib/api/model-api.js +28 -0
- package/lib/api/model-api.js.map +1 -0
- package/lib/api/user-api.d.ts +4 -0
- package/lib/api/user-api.js +31 -0
- package/lib/api/user-api.js.map +1 -0
- package/lib/apiProviders/Standard/ObjectFieldsProvider.d.ts +1 -0
- package/lib/apiProviders/Standard/ObjectFieldsProvider.js +21 -4
- package/lib/apiProviders/Standard/ObjectFieldsProvider.js.map +1 -1
- package/lib/apiProviders/middlewares/fieldParser.d.ts +2 -0
- package/lib/apiProviders/middlewares/fieldParser.js +53 -0
- package/lib/apiProviders/middlewares/fieldParser.js.map +1 -0
- package/lib/apiProviders/middlewares/index.d.ts +1 -0
- package/lib/apiProviders/middlewares/index.js +1 -0
- package/lib/apiProviders/middlewares/index.js.map +1 -1
- package/lib/apiProviders/utils.js +16 -4
- package/lib/apiProviders/utils.js.map +1 -1
- package/lib/app/ContextsProvider.js +12 -4
- package/lib/app/ContextsProvider.js.map +1 -1
- package/lib/app/Module.d.ts +2 -0
- package/lib/app/RootNavigator.js +1 -1
- package/lib/app/context.helper.js +6 -1
- package/lib/app/context.helper.js.map +1 -1
- package/lib/auth/components/index.d.ts +1 -0
- package/lib/{sessions/components/buttons → auth/components}/index.js +1 -3
- package/lib/auth/components/index.js.map +1 -0
- package/lib/auth/components/molecules/TranslationsButton/TranslationsButton.d.ts +2 -0
- package/lib/auth/components/molecules/TranslationsButton/TranslationsButton.js +63 -0
- package/lib/auth/components/molecules/TranslationsButton/TranslationsButton.js.map +1 -0
- package/lib/auth/components/molecules/index.d.ts +1 -0
- package/lib/auth/components/molecules/index.js +19 -0
- package/lib/auth/components/molecules/index.js.map +1 -0
- package/lib/auth/features/companySlice.d.ts +1 -1
- package/lib/auth/features/configSlice.d.ts +1 -1
- package/lib/auth/features/languageSlice.d.ts +1 -1
- package/lib/auth/features/userSlice.d.ts +1 -1
- package/lib/auth/features/userSlice.js +0 -4
- package/lib/auth/features/userSlice.js.map +1 -1
- package/lib/auth/models/objectFields.js +3 -3
- package/lib/auth/models/objectFields.js.map +1 -1
- package/lib/auth/screens/SettingsScreen.js +7 -31
- package/lib/auth/screens/SettingsScreen.js.map +1 -1
- package/lib/auth/screens/UserScreen.js +11 -8
- package/lib/auth/screens/UserScreen.js.map +1 -1
- package/lib/components/external/Camera/Camera.js +15 -5
- package/lib/components/external/Camera/Camera.js.map +1 -1
- package/lib/components/external/Camera/CaptureButton.d.ts +2 -1
- package/lib/components/external/Camera/CaptureButton.js +3 -3
- package/lib/components/external/Camera/CaptureButton.js.map +1 -1
- package/lib/components/external/Stopwatch/Stopwatch.d.ts +5 -1
- package/lib/components/external/Stopwatch/Stopwatch.js +35 -11
- package/lib/components/external/Stopwatch/Stopwatch.js.map +1 -1
- package/lib/components/external/Timer/Timer.d.ts +3 -2
- package/lib/components/external/Timer/Timer.js +5 -4
- package/lib/components/external/Timer/Timer.js.map +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +1 -0
- package/lib/components/index.js.map +1 -1
- package/lib/components/molecules/CameraButton/CameraButton.d.ts +12 -0
- package/lib/components/molecules/CameraButton/CameraButton.js +87 -0
- package/lib/components/molecules/CameraButton/CameraButton.js.map +1 -0
- package/lib/components/molecules/UploadFileInput/UploadFileInput.d.ts +3 -1
- package/lib/components/molecules/UploadFileInput/UploadFileInput.js +71 -15
- package/lib/components/molecules/UploadFileInput/UploadFileInput.js.map +1 -1
- package/lib/components/molecules/index.d.ts +1 -0
- package/lib/components/molecules/index.js +1 -0
- package/lib/components/molecules/index.js.map +1 -1
- package/lib/components/organisms/AnomalyBubble/AnomalyBubble.d.ts +11 -0
- package/lib/components/organisms/AnomalyBubble/AnomalyBubble.js +60 -0
- package/lib/components/organisms/AnomalyBubble/AnomalyBubble.js.map +1 -0
- package/lib/components/organisms/AnomalyList/AnomalyList.d.ts +7 -0
- package/lib/components/organisms/AnomalyList/AnomalyList.js +59 -0
- package/lib/components/organisms/AnomalyList/AnomalyList.js.map +1 -0
- package/lib/components/organisms/HeaderOptionsMenu/HeaderOptionsMenu.d.ts +3 -1
- package/lib/components/organisms/HeaderOptionsMenu/HeaderOptionsMenu.js +18 -4
- package/lib/components/organisms/HeaderOptionsMenu/HeaderOptionsMenu.js.map +1 -1
- package/lib/components/organisms/ScannerAutocompleteSearch/ScannerAutocompleteSearch.d.ts +4 -1
- package/lib/components/organisms/ScannerAutocompleteSearch/ScannerAutocompleteSearch.js +2 -2
- package/lib/components/organisms/ScannerAutocompleteSearch/ScannerAutocompleteSearch.js.map +1 -1
- package/lib/components/organisms/index.d.ts +2 -0
- package/lib/components/organisms/index.js +2 -0
- package/lib/components/organisms/index.js.map +1 -1
- package/lib/components/pages/FormView/Alerts/ConstraintsValidatorPopup.d.ts +11 -0
- package/lib/components/pages/FormView/Alerts/ConstraintsValidatorPopup.js +33 -0
- package/lib/components/pages/FormView/Alerts/ConstraintsValidatorPopup.js.map +1 -0
- package/lib/components/pages/FormView/Alerts/index.d.ts +1 -0
- package/lib/components/pages/FormView/Alerts/index.js +19 -0
- package/lib/components/pages/FormView/Alerts/index.js.map +1 -0
- package/lib/components/pages/FormView/Components/Field.d.ts +9 -0
- package/lib/components/pages/FormView/Components/Field.js +149 -0
- package/lib/components/pages/FormView/Components/Field.js.map +1 -0
- package/lib/components/pages/FormView/Components/Panel.d.ts +8 -0
- package/lib/components/pages/FormView/Components/Panel.js +84 -0
- package/lib/components/pages/FormView/Components/Panel.js.map +1 -0
- package/lib/components/pages/FormView/Components/index.d.ts +2 -0
- package/lib/components/pages/FormView/Components/index.js +20 -0
- package/lib/components/pages/FormView/Components/index.js.map +1 -0
- package/lib/components/pages/FormView/Custom/CustomButton.d.ts +10 -0
- package/lib/components/pages/FormView/Custom/CustomButton.js +31 -0
- package/lib/components/pages/FormView/Custom/CustomButton.js.map +1 -0
- package/lib/components/pages/FormView/Custom/CustomPasswordInput.d.ts +11 -0
- package/lib/components/pages/FormView/Custom/CustomPasswordInput.js +40 -0
- package/lib/components/pages/FormView/Custom/CustomPasswordInput.js.map +1 -0
- package/lib/components/pages/FormView/Custom/CustomPicker.d.ts +12 -0
- package/lib/components/pages/FormView/Custom/CustomPicker.js +33 -0
- package/lib/components/pages/FormView/Custom/CustomPicker.js.map +1 -0
- package/lib/components/pages/FormView/Custom/CustomSearchBar.d.ts +12 -0
- package/lib/components/pages/FormView/Custom/CustomSearchBar.js +69 -0
- package/lib/components/pages/FormView/Custom/CustomSearchBar.js.map +1 -0
- package/lib/components/pages/FormView/Custom/index.d.ts +4 -0
- package/lib/components/pages/FormView/Custom/index.js +22 -0
- package/lib/components/pages/FormView/Custom/index.js.map +1 -0
- package/lib/components/pages/FormView/FormView.d.ts +8 -0
- package/lib/components/pages/FormView/FormView.js +199 -0
- package/lib/components/pages/FormView/FormView.js.map +1 -0
- package/lib/components/pages/index.d.ts +4 -0
- package/lib/components/pages/index.js +22 -0
- package/lib/components/pages/index.js.map +1 -0
- package/lib/components/templates/AttachedFilesView/AttachedFilesView.js +1 -1
- package/lib/components/templates/AttachedFilesView/AttachedFilesView.js.map +1 -1
- package/lib/components/templates/MailMessageView/MailMessageView.js +8 -2
- package/lib/components/templates/MailMessageView/MailMessageView.js.map +1 -1
- package/lib/components/templates/PopupApplicationNotConfigured/PopupApplicationNotConfigured.js +10 -13
- package/lib/components/templates/PopupApplicationNotConfigured/PopupApplicationNotConfigured.js.map +1 -1
- package/lib/components/templates/PopupMinimalRequiredVersion/PopupMinimalRequiredVersion.js +15 -25
- package/lib/components/templates/PopupMinimalRequiredVersion/PopupMinimalRequiredVersion.js.map +1 -1
- package/lib/components/templates/SocialNetworkLinks/SocialNetworkLinks.d.ts +16 -0
- package/lib/components/templates/SocialNetworkLinks/SocialNetworkLinks.js +78 -0
- package/lib/components/templates/SocialNetworkLinks/SocialNetworkLinks.js.map +1 -0
- package/lib/components/templates/UserSearchBar/UserSearchBar.d.ts +14 -0
- package/lib/components/templates/UserSearchBar/UserSearchBar.js +34 -0
- package/lib/components/templates/UserSearchBar/UserSearchBar.js.map +1 -0
- package/lib/components/templates/index.d.ts +2 -0
- package/lib/components/templates/index.js +2 -0
- package/lib/components/templates/index.js.map +1 -1
- package/lib/config/routes.d.ts +23 -20
- package/lib/config/routes.js +2 -0
- package/lib/config/routes.js.map +1 -1
- package/lib/features/attachedFilesSlice.d.ts +1 -1
- package/lib/features/authSlice.d.ts +1 -1
- package/lib/features/cameraScannerSlice.d.ts +2 -2
- package/lib/features/cameraScannerSlice.js +4 -1
- package/lib/features/cameraScannerSlice.js.map +1 -1
- package/lib/features/cameraSlice.d.ts +13 -4
- package/lib/features/cameraSlice.js +4 -1
- package/lib/features/cameraSlice.js.map +1 -1
- package/lib/features/formSlice.d.ts +34 -0
- package/lib/features/formSlice.js +70 -0
- package/lib/features/formSlice.js.map +1 -0
- package/lib/features/index.d.ts +3 -0
- package/lib/features/index.js +3 -0
- package/lib/features/index.js.map +1 -1
- package/lib/features/mailMessageSlice.d.ts +1 -1
- package/lib/features/menuConfigSlice.d.ts +1 -1
- package/lib/features/metaJsonFieldSlice.d.ts +34 -0
- package/lib/features/metaJsonFieldSlice.js +68 -0
- package/lib/features/metaJsonFieldSlice.js.map +1 -0
- package/lib/features/metaModuleSlice.d.ts +1 -1
- package/lib/features/metafileSlice.d.ts +1 -1
- package/lib/features/mobileConfigSlice.d.ts +1 -1
- package/lib/features/onlineSlice.d.ts +1 -1
- package/lib/features/scannerSlice.d.ts +2 -2
- package/lib/features/scannerSlice.js +4 -1
- package/lib/features/scannerSlice.js.map +1 -1
- package/lib/features/userSlice.d.ts +16 -0
- package/lib/features/userSlice.js +49 -0
- package/lib/features/userSlice.js.map +1 -0
- package/lib/forms/FormConfigsProvider.d.ts +20 -0
- package/lib/forms/FormConfigsProvider.js +56 -0
- package/lib/forms/FormConfigsProvider.js.map +1 -0
- package/lib/forms/api.helpers.d.ts +12 -0
- package/lib/forms/api.helpers.js +59 -0
- package/lib/forms/api.helpers.js.map +1 -0
- package/lib/forms/display.helpers.d.ts +9 -0
- package/lib/forms/display.helpers.js +150 -0
- package/lib/forms/display.helpers.js.map +1 -0
- package/lib/forms/index.d.ts +7 -0
- package/lib/forms/index.js +25 -0
- package/lib/forms/index.js.map +1 -0
- package/lib/forms/register.helpers.d.ts +6 -0
- package/lib/forms/register.helpers.js +96 -0
- package/lib/forms/register.helpers.js.map +1 -0
- package/lib/forms/studio/api.helpers.d.ts +37 -0
- package/lib/forms/studio/api.helpers.js +162 -0
- package/lib/forms/studio/api.helpers.js.map +1 -0
- package/lib/forms/studio/display.helpers.d.ts +7 -0
- package/lib/forms/studio/display.helpers.js +256 -0
- package/lib/forms/studio/display.helpers.js.map +1 -0
- package/lib/forms/studio/index.d.ts +2 -0
- package/lib/forms/studio/index.js +20 -0
- package/lib/forms/studio/index.js.map +1 -0
- package/lib/forms/types.d.ts +100 -0
- package/lib/forms/types.js +19 -0
- package/lib/forms/types.js.map +1 -0
- package/lib/forms/validation.helpers.d.ts +10 -0
- package/lib/forms/validation.helpers.js +234 -0
- package/lib/forms/validation.helpers.js.map +1 -0
- package/lib/header/hooks.d.ts +29 -1
- package/lib/header/hooks.js +83 -2
- package/lib/header/hooks.js.map +1 -1
- package/lib/header/types.d.ts +2 -0
- package/lib/hooks/use-navigation.d.ts +1 -0
- package/lib/hooks/use-navigation.js +4 -1
- package/lib/hooks/use-navigation.js.map +1 -1
- package/lib/i18n/component/Translator.d.ts +1 -1
- package/lib/i18n/hooks/use-translator.js +3 -1
- package/lib/i18n/hooks/use-translator.js.map +1 -1
- package/lib/i18n/translations/en.json +53 -1
- package/lib/i18n/translations/fr.json +53 -1
- package/lib/index.d.ts +4 -3
- package/lib/index.js +4 -3
- package/lib/index.js.map +1 -1
- package/lib/models/index.d.ts +2 -0
- package/lib/models/index.js +2 -0
- package/lib/models/index.js.map +1 -1
- package/lib/models/objectFields.js +3 -0
- package/lib/models/objectFields.js.map +1 -1
- package/lib/models/searchFields.d.ts +2 -0
- package/lib/{sessions/components/buttons/LoginButton.js → models/searchFields.js} +3 -6
- package/lib/models/searchFields.js.map +1 -0
- package/lib/models/sortFields.d.ts +2 -0
- package/lib/{sessions/components/buttons/UpdateButton.js → models/sortFields.js} +3 -6
- package/lib/models/sortFields.js.map +1 -0
- package/lib/navigator/Navigator.d.ts +1 -1
- package/lib/navigator/Navigator.js +2 -18
- package/lib/navigator/Navigator.js.map +1 -1
- package/lib/navigator/drawer/Header.js +1 -1
- package/lib/navigator/drawer/Header.js.map +1 -1
- package/lib/redux/store.d.ts +1 -1
- package/lib/screens/BarcodeDisplayScreen.d.ts +4 -0
- package/lib/screens/BarcodeDisplayScreen.js +54 -0
- package/lib/screens/BarcodeDisplayScreen.js.map +1 -0
- package/lib/screens/ErrorScreen.js +1 -1
- package/lib/screens/ErrorScreen.js.map +1 -1
- package/lib/screens/JsonFieldScreen.d.ts +4 -0
- package/lib/screens/JsonFieldScreen.js +92 -0
- package/lib/screens/JsonFieldScreen.js.map +1 -0
- package/lib/screens/SessionManagementScreen.js +1 -1
- package/lib/screens/SessionManagementScreen.js.map +1 -1
- package/lib/screens/index.d.ts +51 -0
- package/lib/screens/index.js +56 -0
- package/lib/screens/index.js.map +1 -0
- package/lib/sessions/components/alerts/PopupCreateSession.d.ts +3 -3
- package/lib/sessions/components/alerts/PopupCreateSession.js +30 -29
- package/lib/sessions/components/alerts/PopupCreateSession.js.map +1 -1
- package/lib/sessions/components/alerts/PopupEditSession.js +9 -16
- package/lib/sessions/components/alerts/PopupEditSession.js.map +1 -1
- package/lib/sessions/components/alerts/PopupSession.js +7 -16
- package/lib/sessions/components/alerts/PopupSession.js.map +1 -1
- package/lib/sessions/components/display/SessionListCard.js +3 -6
- package/lib/sessions/components/display/SessionListCard.js.map +1 -1
- package/lib/sessions/components/index.d.ts +0 -1
- package/lib/sessions/components/index.js +0 -1
- package/lib/sessions/components/index.js.map +1 -1
- package/lib/sessions/components/inputs/SessionInputs.d.ts +2 -1
- package/lib/sessions/components/inputs/SessionInputs.js +18 -13
- package/lib/sessions/components/inputs/SessionInputs.js.map +1 -1
- package/lib/tools/LinkingProvider.d.ts +2 -2
- package/lib/tools/LinkingProvider.js +4 -4
- package/lib/tools/LinkingProvider.js.map +1 -1
- package/lib/types/anomaly-type.d.ts +16 -0
- package/lib/types/anomaly-type.js +56 -0
- package/lib/types/anomaly-type.js.map +1 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/index.js +1 -0
- package/lib/types/index.js.map +1 -1
- package/lib/utils/displayers.d.ts +1 -0
- package/lib/utils/displayers.js +1 -0
- package/lib/utils/displayers.js.map +1 -1
- package/lib/utils/filter.d.ts +4 -0
- package/lib/utils/filter.js +13 -0
- package/lib/utils/filter.js.map +1 -1
- package/lib/utils/formatters.d.ts +1 -0
- package/lib/utils/formatters.js +16 -0
- package/lib/utils/formatters.js.map +1 -1
- package/lib/utils/index.d.ts +3 -3
- package/lib/utils/index.js +3 -3
- package/lib/utils/index.js.map +1 -1
- package/package.json +7 -8
- package/lib/sessions/components/buttons/DisabledButton.d.ts +0 -7
- package/lib/sessions/components/buttons/DisabledButton.js +0 -45
- package/lib/sessions/components/buttons/DisabledButton.js.map +0 -1
- package/lib/sessions/components/buttons/LoginButton.d.ts +0 -6
- package/lib/sessions/components/buttons/LoginButton.js.map +0 -1
- package/lib/sessions/components/buttons/UpdateButton.d.ts +0 -6
- package/lib/sessions/components/buttons/UpdateButton.js.map +0 -1
- package/lib/sessions/components/buttons/index.d.ts +0 -3
- package/lib/sessions/components/buttons/index.js.map +0 -1
|
@@ -20,9 +20,9 @@ import Toast from 'react-native-toast-message';
|
|
|
20
20
|
import { createURLParams, mapURLBuilder, TransportType } from './linking.helper';
|
|
21
21
|
class LinkingProvider {
|
|
22
22
|
constructor() { }
|
|
23
|
-
async openURL(url, error) {
|
|
23
|
+
async openURL(url, error, checkSupport = true) {
|
|
24
24
|
const supported = await Linking.canOpenURL(url);
|
|
25
|
-
if (supported) {
|
|
25
|
+
if (supported || !checkSupport) {
|
|
26
26
|
try {
|
|
27
27
|
await Linking.openURL(url);
|
|
28
28
|
}
|
|
@@ -46,11 +46,11 @@ class LinkingProvider {
|
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
async openBrowser(url) {
|
|
49
|
+
async openBrowser(url, checkSupport = true) {
|
|
50
50
|
await this.openURL(url, {
|
|
51
51
|
title: 'Could not open the url',
|
|
52
52
|
message: `Error while opening ${url} in the browser`,
|
|
53
|
-
});
|
|
53
|
+
}, checkSupport);
|
|
54
54
|
}
|
|
55
55
|
async openCallApp(tel) {
|
|
56
56
|
const URL = `tel:${tel}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkingProvider.js","sourceRoot":"","sources":["../../src/tools/LinkingProvider.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,OAAO,EAAC,MAAM,cAAc,CAAC;AACrC,OAAO,KAAK,MAAM,4BAA4B,CAAC;AAC/C,OAAO,EAAC,eAAe,EAAE,aAAa,EAAE,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAE/E,MAAM,eAAe;IACnB,gBAAe,CAAC;IAEhB,KAAK,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"LinkingProvider.js","sourceRoot":"","sources":["../../src/tools/LinkingProvider.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AA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OAAO,CAAC,GAAG,EAAE;YACtB,KAAK,EAAE,4BAA4B;YACnC,OAAO,EAAE,uBAAuB,OAAO,iBAAiB;SACzD,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,eAAe,EAAE,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ThemeColors } from '@axelor/aos-mobile-ui';
|
|
2
|
+
interface Anomaly {
|
|
3
|
+
version: number;
|
|
4
|
+
message: string;
|
|
5
|
+
checkType: string;
|
|
6
|
+
modelName: string;
|
|
7
|
+
}
|
|
8
|
+
declare class Anomaly {
|
|
9
|
+
static type: {
|
|
10
|
+
Error: string;
|
|
11
|
+
Alert: string;
|
|
12
|
+
};
|
|
13
|
+
static getTypeColor: (type: string, Colors: ThemeColors) => import("@axelor/aos-mobile-ui").Color;
|
|
14
|
+
static sortType: (anomalyList: Anomaly[]) => Anomaly[];
|
|
15
|
+
}
|
|
16
|
+
export default Anomaly;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Axelor Business Solutions
|
|
3
|
+
*
|
|
4
|
+
* Copyright (C) 2023 Axelor (<http://axelor.com>).
|
|
5
|
+
*
|
|
6
|
+
* This program is free software: you can redistribute it and/or modify
|
|
7
|
+
* it under the terms of the GNU Affero General Public License, version 3,
|
|
8
|
+
* as published by the Free Software Foundation.
|
|
9
|
+
*
|
|
10
|
+
* This program is distributed in the hope that it will be useful,
|
|
11
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
+
* GNU Affero General Public License for more details.
|
|
14
|
+
*
|
|
15
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
16
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
17
|
+
*/
|
|
18
|
+
class Anomaly {
|
|
19
|
+
static type = {
|
|
20
|
+
Error: 'error',
|
|
21
|
+
Alert: 'alert',
|
|
22
|
+
};
|
|
23
|
+
static getTypeColor = (type, Colors) => {
|
|
24
|
+
switch (type) {
|
|
25
|
+
case this.type.Error:
|
|
26
|
+
return Colors.errorColor;
|
|
27
|
+
case this.type.Alert:
|
|
28
|
+
return Colors.warningColor;
|
|
29
|
+
default:
|
|
30
|
+
console.warn(`Type provided with value ${type} is not supported by anomaly`);
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
static sortType = (anomalyList) => {
|
|
35
|
+
const BEFORE = -1;
|
|
36
|
+
const EQUAL = 0;
|
|
37
|
+
const AFTER = 1;
|
|
38
|
+
if (!Array.isArray(anomalyList) || anomalyList.length === 0) {
|
|
39
|
+
return [];
|
|
40
|
+
}
|
|
41
|
+
return anomalyList.sort((a, b) => {
|
|
42
|
+
if (a.checkType === b.checkType) {
|
|
43
|
+
return EQUAL;
|
|
44
|
+
}
|
|
45
|
+
else if (a.checkType === this.type.Error &&
|
|
46
|
+
b.checkType === this.type.Alert) {
|
|
47
|
+
return BEFORE;
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
return AFTER;
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
export default Anomaly;
|
|
56
|
+
//# sourceMappingURL=anomaly-type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anomaly-type.js","sourceRoot":"","sources":["../../src/types/anomaly-type.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAWH,MAAM,OAAO;IACX,MAAM,CAAC,IAAI,GAAG;QACZ,KAAK,EAAE,OAAO;QACd,KAAK,EAAE,OAAO;KACf,CAAC;IAEF,MAAM,CAAC,YAAY,GAAG,CAAC,IAAY,EAAE,MAAmB,EAAE,EAAE;QAC1D,QAAQ,IAAI,EAAE;YACZ,KAAK,IAAI,CAAC,IAAI,CAAC,KAAK;gBAClB,OAAO,MAAM,CAAC,UAAU,CAAC;YAC3B,KAAK,IAAI,CAAC,IAAI,CAAC,KAAK;gBAClB,OAAO,MAAM,CAAC,YAAY,CAAC;YAC7B;gBACE,OAAO,CAAC,IAAI,CACV,4BAA4B,IAAI,8BAA8B,CAC/D,CAAC;gBACF,OAAO,IAAI,CAAC;SACf;IACH,CAAC,CAAC;IAEF,MAAM,CAAC,QAAQ,GAAG,CAAC,WAAsB,EAAE,EAAE;QAC3C,MAAM,MAAM,GAAG,CAAC,CAAC,CAAC;QAClB,MAAM,KAAK,GAAG,CAAC,CAAC;QAChB,MAAM,KAAK,GAAG,CAAC,CAAC;QAEhB,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE;YAC3D,OAAO,EAAE,CAAC;SACX;QAED,OAAO,WAAW,CAAC,IAAI,CAAC,CAAC,CAAU,EAAE,CAAU,EAAE,EAAE;YACjD,IAAI,CAAC,CAAC,SAAS,KAAK,CAAC,CAAC,SAAS,EAAE;gBAC/B,OAAO,KAAK,CAAC;aACd;iBAAM,IACL,CAAC,CAAC,SAAS,KAAK,IAAI,CAAC,IAAI,CAAC,KAAK;gBAC/B,CAAC,CAAC,SAAS,KAAK,IAAI,CAAC,IAAI,CAAC,KAAK,EAC/B;gBACA,OAAO,MAAM,CAAC;aACf;iBAAM;gBACL,OAAO,KAAK,CAAC;aACd;QACH,CAAC,CAAC,CAAC;IACL,CAAC,CAAC;;AAGJ,eAAe,OAAO,CAAC"}
|
package/lib/types/index.d.ts
CHANGED
package/lib/types/index.js
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
* You should have received a copy of the GNU Affero General Public License
|
|
16
16
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
17
17
|
*/
|
|
18
|
+
export { default as Anomaly } from './anomaly-type';
|
|
18
19
|
export { default as MailMessageNotificationType } from './mail-message-notification-type';
|
|
19
20
|
export { default as StopwatchType } from './stopwatch-type';
|
|
20
21
|
//# sourceMappingURL=index.js.map
|
package/lib/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,OAAO,IAAI,2BAA2B,EAAC,MAAM,kCAAkC,CAAC;AACxF,OAAO,EAAC,OAAO,IAAI,aAAa,EAAC,MAAM,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,OAAO,IAAI,OAAO,EAAC,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAC,OAAO,IAAI,2BAA2B,EAAC,MAAM,kCAAkC,CAAC;AACxF,OAAO,EAAC,OAAO,IAAI,aAAa,EAAC,MAAM,kBAAkB,CAAC"}
|
package/lib/utils/displayers.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"displayers.js","sourceRoot":"","sources":["../../src/utils/displayers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,IAAS,EAAU,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC"}
|
|
1
|
+
{"version":3,"file":"displayers.js","sourceRoot":"","sources":["../../src/utils/displayers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,IAAS,EAAU,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC;AAChE,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,IAAS,EAAU,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC"}
|
package/lib/utils/filter.d.ts
CHANGED
|
@@ -6,4 +6,8 @@ interface Chip {
|
|
|
6
6
|
key: string | number;
|
|
7
7
|
}
|
|
8
8
|
export declare function filterChip(listToFilter: any[], listSelectedChip: Chip[], objectParam: string): any[];
|
|
9
|
+
export declare function filterChipCriteria(listSelectedChip: Chip[], criteriaFieldName: string): {
|
|
10
|
+
operator: string;
|
|
11
|
+
criteria: any[];
|
|
12
|
+
};
|
|
9
13
|
export {};
|
package/lib/utils/filter.js
CHANGED
|
@@ -26,4 +26,17 @@ export function filterChip(listToFilter, listSelectedChip, objectParam) {
|
|
|
26
26
|
return listSelectedChip.find(chip => chip?.key === item[objectParam]);
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
|
+
export function filterChipCriteria(listSelectedChip, criteriaFieldName) {
|
|
30
|
+
const criteria = [];
|
|
31
|
+
if (Array.isArray(listSelectedChip) && listSelectedChip?.length > 0) {
|
|
32
|
+
listSelectedChip.forEach(chip => {
|
|
33
|
+
criteria.push({
|
|
34
|
+
fieldName: criteriaFieldName,
|
|
35
|
+
operator: '=',
|
|
36
|
+
value: chip?.key,
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
return { operator: 'OR', criteria };
|
|
41
|
+
}
|
|
29
42
|
//# sourceMappingURL=filter.js.map
|
package/lib/utils/filter.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter.js","sourceRoot":"","sources":["../../src/utils/filter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAWH,MAAM,UAAU,UAAU,CACxB,YAAmB,EACnB,gBAAwB,EACxB,WAAmB;IAEnB,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,YAAY,CAAC,MAAM,KAAK,CAAC,EAAE;QAC7D,OAAO,EAAE,CAAC;KACX;IAED,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,gBAAgB,CAAC,IAAI,gBAAgB,CAAC,MAAM,KAAK,CAAC,EAAE;QACrE,OAAO,YAAY,CAAC;KACrB;IAED,OAAO,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C,CAAC,CAAC;KACJ;IAED,OAAO,EAAC,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAC,CAAC;AACpC,CAAC"}
|
|
@@ -6,3 +6,4 @@ export declare function formatScan(barcodeValue: any, barcodeType: any, config?:
|
|
|
6
6
|
export declare function formatURL(url: String): String;
|
|
7
7
|
export declare const getNowDateZonesISOString: () => string;
|
|
8
8
|
export declare const getDateZonesISOString: (dateString: string) => string;
|
|
9
|
+
export declare const formatRequestBody: (data: object) => {};
|
package/lib/utils/formatters.js
CHANGED
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
*/
|
|
18
18
|
import moment from 'moment';
|
|
19
19
|
import { checkNullString } from './string';
|
|
20
|
+
import { isEmpty } from './object';
|
|
20
21
|
export function formatDate(inputDate, format) {
|
|
21
22
|
// Format must contains three parts : MM for the month, DD for the day and YYYY for the year
|
|
22
23
|
const date = new Date(inputDate);
|
|
@@ -112,4 +113,19 @@ export const getDateZonesISOString = (dateString) => {
|
|
|
112
113
|
const time = `${hours}:${minutes}:${seconds}.${milliseconds}`;
|
|
113
114
|
return `${date}T${time}`;
|
|
114
115
|
};
|
|
116
|
+
export const formatRequestBody = (data) => {
|
|
117
|
+
if (isEmpty(data)) {
|
|
118
|
+
return null;
|
|
119
|
+
}
|
|
120
|
+
let _data = {};
|
|
121
|
+
Object.entries(data).map(([_key, _value]) => {
|
|
122
|
+
if (_value != null && typeof _value === 'object') {
|
|
123
|
+
_data[_key] = { id: _value.id };
|
|
124
|
+
}
|
|
125
|
+
else {
|
|
126
|
+
_data[_key] = _value;
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
return _data;
|
|
130
|
+
};
|
|
115
131
|
//# sourceMappingURL=formatters.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formatters.js","sourceRoot":"","sources":["../../src/utils/formatters.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,MAAM,MAAM,QAAQ,CAA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B;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,KAAK,CAAC;AACf,CAAC,CAAC"}
|
package/lib/utils/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export { updateAgendaItems } from './agenda';
|
|
2
2
|
export { isDate, isDateTime, getNextMonth, getPreviousMonth, diffDate, sameDate, incrementDate, getDay, getMonth, getFullDateItems, } from './date';
|
|
3
|
-
export { displayItemName } from './displayers';
|
|
4
|
-
export { formatDate, formatDateTime, formatTime, formatScan, formatURL, getNowDateZonesISOString, getDateZonesISOString, } from './formatters';
|
|
3
|
+
export { displayItemName, displayItemFullname } from './displayers';
|
|
4
|
+
export { formatDate, formatDateTime, formatTime, formatScan, formatURL, getNowDateZonesISOString, getDateZonesISOString, formatRequestBody, } from './formatters';
|
|
5
5
|
export { useBinaryImageUri, useBinaryPictureUri, useMetafileUri } from './image';
|
|
6
6
|
export { filterList, filterListContain } from './list';
|
|
7
7
|
export { calculateDiff, formatDuration, formatTwoNumber, getIntegerPart, formatDurationToMiliseconds, } from './time';
|
|
8
8
|
export { areObjectsEquals, isEmpty, fetchJsonField, filterObjectsFields, pickFieldsOfObject, isPlainObject, } from './object';
|
|
9
9
|
export { showToastMessage } from './show-toast-message';
|
|
10
10
|
export { checkNullString, isHtml, splitInTwo, stringNoAccent } from './string';
|
|
11
|
-
export { filterChip } from './filter';
|
|
11
|
+
export { filterChip, filterChipCriteria } from './filter';
|
package/lib/utils/index.js
CHANGED
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
*/
|
|
18
18
|
export { updateAgendaItems } from './agenda';
|
|
19
19
|
export { isDate, isDateTime, getNextMonth, getPreviousMonth, diffDate, sameDate, incrementDate, getDay, getMonth, getFullDateItems, } from './date';
|
|
20
|
-
export { displayItemName } from './displayers';
|
|
21
|
-
export { formatDate, formatDateTime, formatTime, formatScan, formatURL, getNowDateZonesISOString, getDateZonesISOString, } from './formatters';
|
|
20
|
+
export { displayItemName, displayItemFullname } from './displayers';
|
|
21
|
+
export { formatDate, formatDateTime, formatTime, formatScan, formatURL, getNowDateZonesISOString, getDateZonesISOString, formatRequestBody, } from './formatters';
|
|
22
22
|
export { useBinaryImageUri, useBinaryPictureUri, useMetafileUri } from './image';
|
|
23
23
|
export { filterList, filterListContain } from './list';
|
|
24
24
|
export { calculateDiff, formatDuration, formatTwoNumber, getIntegerPart, formatDurationToMiliseconds, } from './time';
|
|
25
25
|
export { areObjectsEquals, isEmpty, fetchJsonField, filterObjectsFields, pickFieldsOfObject, isPlainObject, } from './object';
|
|
26
26
|
export { showToastMessage } from './show-toast-message';
|
|
27
27
|
export { checkNullString, isHtml, splitInTwo, stringNoAccent } from './string';
|
|
28
|
-
export { filterChip } from './filter';
|
|
28
|
+
export { filterChip, filterChipCriteria } from './filter';
|
|
29
29
|
//# sourceMappingURL=index.js.map
|
package/lib/utils/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,iBAAiB,EAAC,MAAM,UAAU,CAAC;AAC3C,OAAO,EACL,MAAM,EACN,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,QAAQ,EACR,QAAQ,EACR,aAAa,EACb,MAAM,EACN,QAAQ,EACR,gBAAgB,GACjB,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAC,eAAe,EAAC,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,iBAAiB,EAAC,MAAM,UAAU,CAAC;AAC3C,OAAO,EACL,MAAM,EACN,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,QAAQ,EACR,QAAQ,EACR,aAAa,EACb,MAAM,EACN,QAAQ,EACR,gBAAgB,GACjB,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAC,eAAe,EAAE,mBAAmB,EAAC,MAAM,cAAc,CAAC;AAClE,OAAO,EACL,UAAU,EACV,cAAc,EACd,UAAU,EACV,UAAU,EACV,SAAS,EACT,wBAAwB,EACxB,qBAAqB,EACrB,iBAAiB,GAClB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAC,iBAAiB,EAAE,mBAAmB,EAAE,cAAc,EAAC,MAAM,SAAS,CAAC;AAC/E,OAAO,EAAC,UAAU,EAAE,iBAAiB,EAAC,MAAM,QAAQ,CAAC;AACrD,OAAO,EACL,aAAa,EACb,cAAc,EACd,eAAe,EACf,cAAc,EACd,2BAA2B,GAC5B,MAAM,QAAQ,CAAC;AAChB,OAAO,EACL,gBAAgB,EAChB,OAAO,EACP,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,aAAa,GACd,MAAM,UAAU,CAAC;AAClB,OAAO,EAAC,gBAAgB,EAAC,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAC,eAAe,EAAE,MAAM,EAAE,UAAU,EAAE,cAAc,EAAC,MAAM,UAAU,CAAC;AAC7E,OAAO,EAAC,UAAU,EAAE,kBAAkB,EAAC,MAAM,UAAU,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axelor/aos-mobile-core",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.2.0",
|
|
4
4
|
"author": "Axelor",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"publishConfig": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"react-native-static-safe-area-insets": "^2.2.0",
|
|
46
46
|
"react-native-toast-message": "^2.1.5",
|
|
47
47
|
"react-native-vector-icons": "^9.2.0",
|
|
48
|
-
"react-native-vision-camera": "
|
|
48
|
+
"react-native-vision-camera": "2.15.6",
|
|
49
49
|
"rn-fetch-blob": "0.13.0-beta.1",
|
|
50
50
|
"vision-camera-code-scanner": "^0.2.0"
|
|
51
51
|
},
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@babel/runtime": "^7.19.0",
|
|
54
54
|
"@react-native-clipboard/clipboard": "^1.11.1",
|
|
55
55
|
"@react-native-community/eslint-config": "^2.0.0",
|
|
56
|
-
"@types/react": "18.0
|
|
56
|
+
"@types/react": "18.2.0",
|
|
57
57
|
"@types/react-i18next": "^8.1.0",
|
|
58
58
|
"@types/react-native": "0.68.1",
|
|
59
59
|
"axios": "^0.26.1",
|
|
@@ -65,7 +65,6 @@
|
|
|
65
65
|
"prettier": "^2.7.1",
|
|
66
66
|
"react": "18.2.0",
|
|
67
67
|
"react-i18next": "^11.18.6",
|
|
68
|
-
"react-native": "0.68.1",
|
|
69
68
|
"react-native-datawedge-intents": "^0.1.8",
|
|
70
69
|
"react-native-date-picker": "^4.2.6",
|
|
71
70
|
"react-native-device-info": "^10.3.0",
|
|
@@ -80,13 +79,13 @@
|
|
|
80
79
|
"react-native-static-safe-area-insets": "^2.2.0",
|
|
81
80
|
"react-native-toast-message": "^2.1.5",
|
|
82
81
|
"react-native-vector-icons": "^9.2.0",
|
|
83
|
-
"react-native-vision-camera": "
|
|
82
|
+
"react-native-vision-camera": "2.15.6",
|
|
84
83
|
"rn-fetch-blob": "0.13.0-beta.1",
|
|
85
84
|
"vision-camera-code-scanner": "^0.2.0"
|
|
86
85
|
},
|
|
87
86
|
"dependencies": {
|
|
88
|
-
"@axelor/aos-mobile-error": "7.
|
|
89
|
-
"@axelor/aos-mobile-ui": "7.
|
|
87
|
+
"@axelor/aos-mobile-error": "7.2.0",
|
|
88
|
+
"@axelor/aos-mobile-ui": "7.2.0",
|
|
90
89
|
"@react-navigation/drawer": "6.6.3",
|
|
91
90
|
"@react-navigation/native": "6.1.7",
|
|
92
91
|
"@react-navigation/native-stack": "6.9.13",
|
|
@@ -100,7 +99,7 @@
|
|
|
100
99
|
"yup": "^1.0.2"
|
|
101
100
|
},
|
|
102
101
|
"resolutions": {
|
|
103
|
-
"@types/react": "18.0
|
|
102
|
+
"@types/react": "18.2.0",
|
|
104
103
|
"react-native-reanimated": "2.10.0"
|
|
105
104
|
}
|
|
106
105
|
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Axelor Business Solutions
|
|
3
|
-
*
|
|
4
|
-
* Copyright (C) 2023 Axelor (<http://axelor.com>).
|
|
5
|
-
*
|
|
6
|
-
* This program is free software: you can redistribute it and/or modify
|
|
7
|
-
* it under the terms of the GNU Affero General Public License, version 3,
|
|
8
|
-
* as published by the Free Software Foundation.
|
|
9
|
-
*
|
|
10
|
-
* This program is distributed in the hope that it will be useful,
|
|
11
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
-
* GNU Affero General Public License for more details.
|
|
14
|
-
*
|
|
15
|
-
* You should have received a copy of the GNU Affero General Public License
|
|
16
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
17
|
-
*/
|
|
18
|
-
import React, { useMemo } from 'react';
|
|
19
|
-
import { StyleSheet, View } from 'react-native';
|
|
20
|
-
import { Button, useThemeColor } from '@axelor/aos-mobile-ui';
|
|
21
|
-
import { useTranslator } from '../../../i18n';
|
|
22
|
-
const DisabledButton = ({ title, onPress, onDisabledPress = () => { }, disabled, }) => {
|
|
23
|
-
const I18n = useTranslator();
|
|
24
|
-
const Colors = useThemeColor();
|
|
25
|
-
const styles = useMemo(() => getStyles(Colors), [Colors]);
|
|
26
|
-
return (<View style={styles.container}>
|
|
27
|
-
<Button style={styles.button} title={I18n.t(title)} onPress={disabled ? onDisabledPress : onPress} color={disabled ? Colors.secondaryColor : Colors.primaryColor}/>
|
|
28
|
-
</View>);
|
|
29
|
-
};
|
|
30
|
-
const getStyles = Colors => StyleSheet.create({
|
|
31
|
-
container: {
|
|
32
|
-
alignItems: 'center',
|
|
33
|
-
},
|
|
34
|
-
button: {
|
|
35
|
-
marginTop: 15,
|
|
36
|
-
width: 150,
|
|
37
|
-
height: 30,
|
|
38
|
-
elevation: 5,
|
|
39
|
-
shadowOpacity: 0.5,
|
|
40
|
-
shadowColor: Colors.secondaryColor.background,
|
|
41
|
-
shadowOffset: { width: 0, height: 0 },
|
|
42
|
-
},
|
|
43
|
-
});
|
|
44
|
-
export default DisabledButton;
|
|
45
|
-
//# sourceMappingURL=DisabledButton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DisabledButton.js","sourceRoot":"","sources":["../../../../src/sessions/components/buttons/DisabledButton.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,MAAM,EAAE,aAAa,EAAC,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAC,aAAa,EAAC,MAAM,eAAe,CAAC;AAE5C,MAAM,cAAc,GAAG,CAAC,EACtB,KAAK,EACL,OAAO,EACP,eAAe,GAAG,GAAG,EAAE,GAAE,CAAC,EAC1B,QAAQ,GACT,EAAE,EAAE;IACH,MAAM,IAAI,GAAG,aAAa,EAAE,CAAC;IAC7B,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;IAE/B,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;IAE1D,OAAO,CACL,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAC5B;MAAA,CAAC,MAAM,CACL,KAAK,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CACrB,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CACrB,OAAO,CAAC,CAA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 -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateButton.js","sourceRoot":"","sources":["../../../../src/sessions/components/buttons/UpdateButton.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAE9C,MAAM,YAAY,GAAG,CAAC,EAAC,OAAO,EAAE,eAAe,GAAG,GAAG,EAAE,GAAE,CAAC,EAAE,QAAQ,EAAC,EAAE,EAAE;IACvE,OAAO,CACL,CAAC,cAAc,CACb,KAAK,CAAC,wBAAwB,CAC9B,OAAO,CAAC,CAAC,OAAO,CAAC,CACjB,QAAQ,CAAC,CAAC,QAAQ,CAAC,CACnB,eAAe,CAAC,CAAC,eAAe,CAAC,EACjC,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/sessions/components/buttons/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,OAAO,IAAI,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAC3D,OAAO,EAAC,OAAO,IAAI,WAAW,EAAC,MAAM,eAAe,CAAC;AACrD,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,gBAAgB,CAAC"}
|