@axelor/aos-mobile-intervention 8.1.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/README.md +46 -0
- package/lib/api/client-and-prospect-api.d.ts +4 -0
- package/lib/api/client-and-prospect-api.js +57 -0
- package/lib/api/client-and-prospect-api.js.map +1 -0
- package/lib/api/contract-api.d.ts +5 -0
- package/lib/api/contract-api.js +45 -0
- package/lib/api/contract-api.js.map +1 -0
- package/lib/api/equipment-api.d.ts +43 -0
- package/lib/api/equipment-api.js +212 -0
- package/lib/api/equipment-api.js.map +1 -0
- package/lib/api/equipment-family-api.d.ts +4 -0
- package/lib/api/equipment-family-api.js +28 -0
- package/lib/api/equipment-family-api.js.map +1 -0
- package/lib/api/equipment-line-api.d.ts +4 -0
- package/lib/api/equipment-line-api.js +38 -0
- package/lib/api/equipment-line-api.js.map +1 -0
- package/lib/api/equipment-picture-api.d.ts +14 -0
- package/lib/api/equipment-picture-api.js +56 -0
- package/lib/api/equipment-picture-api.js.map +1 -0
- package/lib/api/index.d.ts +9 -0
- package/lib/api/index.js +27 -0
- package/lib/api/index.js.map +1 -0
- package/lib/api/intervention-api.d.ts +34 -0
- package/lib/api/intervention-api.js +149 -0
- package/lib/api/intervention-api.js.map +1 -0
- package/lib/api/intervention-note-api.d.ts +19 -0
- package/lib/api/intervention-note-api.js +79 -0
- package/lib/api/intervention-note-api.js.map +1 -0
- package/lib/api/question-api.d.ts +14 -0
- package/lib/api/question-api.js +78 -0
- package/lib/api/question-api.js.map +1 -0
- package/lib/components/atoms/EquipmentCard/EquipmentCard.d.ts +11 -0
- package/lib/components/atoms/EquipmentCard/EquipmentCard.js +65 -0
- package/lib/components/atoms/EquipmentCard/EquipmentCard.js.map +1 -0
- package/lib/components/atoms/EquipmentLineCard/EquipmentLineCard.d.ts +12 -0
- package/lib/components/atoms/EquipmentLineCard/EquipmentLineCard.js +42 -0
- package/lib/components/atoms/EquipmentLineCard/EquipmentLineCard.js.map +1 -0
- package/lib/components/atoms/InterventionCard/InterventionCard.d.ts +15 -0
- package/lib/components/atoms/InterventionCard/InterventionCard.js +97 -0
- package/lib/components/atoms/InterventionCard/InterventionCard.js.map +1 -0
- package/lib/components/atoms/NoteCard/NoteCard.d.ts +12 -0
- package/lib/components/atoms/NoteCard/NoteCard.js +65 -0
- package/lib/components/atoms/NoteCard/NoteCard.js.map +1 -0
- package/lib/components/atoms/PictureCard/PictureCard.d.ts +10 -0
- package/lib/components/atoms/PictureCard/PictureCard.js +71 -0
- package/lib/components/atoms/PictureCard/PictureCard.js.map +1 -0
- package/lib/components/atoms/QuestionCard/QuestionCard.d.ts +10 -0
- package/lib/components/atoms/QuestionCard/QuestionCard.js +67 -0
- package/lib/components/atoms/QuestionCard/QuestionCard.js.map +1 -0
- package/lib/components/atoms/index.d.ts +6 -0
- package/lib/components/atoms/index.js +24 -0
- package/lib/components/atoms/index.js.map +1 -0
- package/lib/components/index.d.ts +5 -0
- package/lib/components/index.js +23 -0
- package/lib/components/index.js.map +1 -0
- package/lib/components/molecules/DropdownGeneralView/DropdownGeneralView.d.ts +9 -0
- package/lib/components/molecules/DropdownGeneralView/DropdownGeneralView.js +32 -0
- package/lib/components/molecules/DropdownGeneralView/DropdownGeneralView.js.map +1 -0
- package/lib/components/molecules/EquipmentActionCard/EquipmentActionCard.d.ts +19 -0
- package/lib/components/molecules/EquipmentActionCard/EquipmentActionCard.js +77 -0
- package/lib/components/molecules/EquipmentActionCard/EquipmentActionCard.js.map +1 -0
- package/lib/components/molecules/EquipmentDetailsHeader/EquipmentDetailsHeader.d.ts +3 -0
- package/lib/components/molecules/EquipmentDetailsHeader/EquipmentDetailsHeader.js +48 -0
- package/lib/components/molecules/EquipmentDetailsHeader/EquipmentDetailsHeader.js.map +1 -0
- package/lib/components/molecules/GtCard/GtCard.d.ts +11 -0
- package/lib/components/molecules/GtCard/GtCard.js +76 -0
- package/lib/components/molecules/GtCard/GtCard.js.map +1 -0
- package/lib/components/molecules/InterventionDetailCard/InterventionDetailCard.d.ts +19 -0
- package/lib/components/molecules/InterventionDetailCard/InterventionDetailCard.js +52 -0
- package/lib/components/molecules/InterventionDetailCard/InterventionDetailCard.js.map +1 -0
- package/lib/components/molecules/InterventionHeader/InterventionHeader.d.ts +6 -0
- package/lib/components/molecules/InterventionHeader/InterventionHeader.js +52 -0
- package/lib/components/molecules/InterventionHeader/InterventionHeader.js.map +1 -0
- package/lib/components/molecules/NoteDetailCard/NoteDetailCard.d.ts +19 -0
- package/lib/components/molecules/NoteDetailCard/NoteDetailCard.js +68 -0
- package/lib/components/molecules/NoteDetailCard/NoteDetailCard.js.map +1 -0
- package/lib/components/molecules/PicturesRow/PicturesRow.d.ts +10 -0
- package/lib/components/molecules/PicturesRow/PicturesRow.js +36 -0
- package/lib/components/molecules/PicturesRow/PicturesRow.js.map +1 -0
- package/lib/components/molecules/QuestionAdvancedMonitoring/QuestionAdvancedMonitoring.d.ts +9 -0
- package/lib/components/molecules/QuestionAdvancedMonitoring/QuestionAdvancedMonitoring.js +31 -0
- package/lib/components/molecules/QuestionAdvancedMonitoring/QuestionAdvancedMonitoring.js.map +1 -0
- package/lib/components/molecules/QuestionCheckbox/QuestionCheckbox.d.ts +7 -0
- package/lib/components/molecules/QuestionCheckbox/QuestionCheckbox.js +36 -0
- package/lib/components/molecules/QuestionCheckbox/QuestionCheckbox.js.map +1 -0
- package/lib/components/molecules/QuestionList/QuestionList.d.ts +9 -0
- package/lib/components/molecules/QuestionList/QuestionList.js +29 -0
- package/lib/components/molecules/QuestionList/QuestionList.js.map +1 -0
- package/lib/components/molecules/QuestionMeasure/QuestionMeasure.d.ts +9 -0
- package/lib/components/molecules/QuestionMeasure/QuestionMeasure.js +39 -0
- package/lib/components/molecules/QuestionMeasure/QuestionMeasure.js.map +1 -0
- package/lib/components/molecules/index.d.ts +12 -0
- package/lib/components/molecules/index.js +30 -0
- package/lib/components/molecules/index.js.map +1 -0
- package/lib/components/organisms/ClientProspectSearchBar/ClientProspectSearchBar.d.ts +4 -0
- package/lib/components/organisms/ClientProspectSearchBar/ClientProspectSearchBar.js +32 -0
- package/lib/components/organisms/ClientProspectSearchBar/ClientProspectSearchBar.js.map +1 -0
- package/lib/components/organisms/ContractSearchBar/ContractSearchBar.d.ts +4 -0
- package/lib/components/organisms/ContractSearchBar/ContractSearchBar.js +35 -0
- package/lib/components/organisms/ContractSearchBar/ContractSearchBar.js.map +1 -0
- package/lib/components/organisms/DropdownCards/DropdownCards.d.ts +6 -0
- package/lib/components/organisms/DropdownCards/DropdownCards.js +45 -0
- package/lib/components/organisms/DropdownCards/DropdownCards.js.map +1 -0
- package/lib/components/organisms/EquipmentFamilySearchBar/EquipmentFamilySearchBar.d.ts +4 -0
- package/lib/components/organisms/EquipmentFamilySearchBar/EquipmentFamilySearchBar.js +35 -0
- package/lib/components/organisms/EquipmentFamilySearchBar/EquipmentFamilySearchBar.js.map +1 -0
- package/lib/components/organisms/EquipmentModeSwitch/EquipmentModeSwitch.d.ts +5 -0
- package/lib/components/organisms/EquipmentModeSwitch/EquipmentModeSwitch.js +50 -0
- package/lib/components/organisms/EquipmentModeSwitch/EquipmentModeSwitch.js.map +1 -0
- package/lib/components/organisms/InterventionNoteTypePicker/InterventionNoteTypePicker.d.ts +8 -0
- package/lib/components/organisms/InterventionNoteTypePicker/InterventionNoteTypePicker.js +32 -0
- package/lib/components/organisms/InterventionNoteTypePicker/InterventionNoteTypePicker.js.map +1 -0
- package/lib/components/organisms/PlaceEquipmentSearchBar/PlaceEquipmentSearchBar.d.ts +4 -0
- package/lib/components/organisms/PlaceEquipmentSearchBar/PlaceEquipmentSearchBar.js +36 -0
- package/lib/components/organisms/PlaceEquipmentSearchBar/PlaceEquipmentSearchBar.js.map +1 -0
- package/lib/components/organisms/TypePicker/TypePicker.d.ts +4 -0
- package/lib/components/organisms/TypePicker/TypePicker.js +29 -0
- package/lib/components/organisms/TypePicker/TypePicker.js.map +1 -0
- package/lib/components/organisms/index.d.ts +8 -0
- package/lib/components/organisms/index.js +26 -0
- package/lib/components/organisms/index.js.map +1 -0
- package/lib/components/pages/EquipmentView/EquipmentView.d.ts +3 -0
- package/lib/components/pages/EquipmentView/EquipmentView.js +161 -0
- package/lib/components/pages/EquipmentView/EquipmentView.js.map +1 -0
- package/lib/components/pages/GeneralInformationView/GeneralInformationView.d.ts +3 -0
- package/lib/components/pages/GeneralInformationView/GeneralInformationView.js +94 -0
- package/lib/components/pages/GeneralInformationView/GeneralInformationView.js.map +1 -0
- package/lib/components/pages/HistoryView/HistoryView.d.ts +3 -0
- package/lib/components/pages/HistoryView/HistoryView.js +33 -0
- package/lib/components/pages/HistoryView/HistoryView.js.map +1 -0
- package/lib/components/pages/NoteView/NoteView.d.ts +3 -0
- package/lib/components/pages/NoteView/NoteView.js +47 -0
- package/lib/components/pages/NoteView/NoteView.js.map +1 -0
- package/lib/components/pages/SurveyView/SurveyView.d.ts +7 -0
- package/lib/components/pages/SurveyView/SurveyView.js +60 -0
- package/lib/components/pages/SurveyView/SurveyView.js.map +1 -0
- package/lib/components/pages/index.d.ts +5 -0
- package/lib/components/pages/index.js +23 -0
- package/lib/components/pages/index.js.map +1 -0
- package/lib/components/templates/InterventionsListView/InterventionsListView.d.ts +7 -0
- package/lib/components/templates/InterventionsListView/InterventionsListView.js +73 -0
- package/lib/components/templates/InterventionsListView/InterventionsListView.js.map +1 -0
- package/lib/components/templates/LinkEquipmentPopup/LinkEquipmentPopup.d.ts +7 -0
- package/lib/components/templates/LinkEquipmentPopup/LinkEquipmentPopup.js +70 -0
- package/lib/components/templates/LinkEquipmentPopup/LinkEquipmentPopup.js.map +1 -0
- package/lib/components/templates/SurveyRangeNavigation/SurveyRangeNavigation.d.ts +7 -0
- package/lib/components/templates/SurveyRangeNavigation/SurveyRangeNavigation.js +76 -0
- package/lib/components/templates/SurveyRangeNavigation/SurveyRangeNavigation.js.map +1 -0
- package/lib/components/templates/index.d.ts +3 -0
- package/lib/components/templates/index.js +21 -0
- package/lib/components/templates/index.js.map +1 -0
- package/lib/features/asyncFunctions-index.d.ts +9 -0
- package/lib/features/asyncFunctions-index.js +27 -0
- package/lib/features/asyncFunctions-index.js.map +1 -0
- package/lib/features/clientAndProspectSlice.d.ts +7 -0
- package/lib/features/clientAndProspectSlice.js +49 -0
- package/lib/features/clientAndProspectSlice.js.map +1 -0
- package/lib/features/contractSlice.d.ts +7 -0
- package/lib/features/contractSlice.js +49 -0
- package/lib/features/contractSlice.js.map +1 -0
- package/lib/features/equipmentFamilySlice.d.ts +7 -0
- package/lib/features/equipmentFamilySlice.js +49 -0
- package/lib/features/equipmentFamilySlice.js.map +1 -0
- package/lib/features/equipmentLineSlice.d.ts +7 -0
- package/lib/features/equipmentLineSlice.js +49 -0
- package/lib/features/equipmentLineSlice.js.map +1 -0
- package/lib/features/equipmentPictureSlice.d.ts +37 -0
- package/lib/features/equipmentPictureSlice.js +67 -0
- package/lib/features/equipmentPictureSlice.js.map +1 -0
- package/lib/features/equipmentSlice.d.ts +34 -0
- package/lib/features/equipmentSlice.js +205 -0
- package/lib/features/equipmentSlice.js.map +1 -0
- package/lib/features/index.d.ts +9 -0
- package/lib/features/index.js +27 -0
- package/lib/features/index.js.map +1 -0
- package/lib/features/interventionNoteSlice.d.ts +16 -0
- package/lib/features/interventionNoteSlice.js +114 -0
- package/lib/features/interventionNoteSlice.js.map +1 -0
- package/lib/features/interventionSlice.d.ts +21 -0
- package/lib/features/interventionSlice.js +140 -0
- package/lib/features/interventionSlice.js.map +1 -0
- package/lib/features/questionSlice.d.ts +14 -0
- package/lib/features/questionSlice.js +104 -0
- package/lib/features/questionSlice.js.map +1 -0
- package/lib/hooks/use-intervention-header-actions.d.ts +1 -0
- package/lib/hooks/use-intervention-header-actions.js +141 -0
- package/lib/hooks/use-intervention-header-actions.js.map +1 -0
- package/lib/i18n/en.json +106 -0
- package/lib/i18n/fr.json +106 -0
- package/lib/index.d.ts +7 -0
- package/lib/index.js +94 -0
- package/lib/index.js.map +1 -0
- package/lib/models/forms.d.ts +2 -0
- package/lib/models/forms.js +333 -0
- package/lib/models/forms.js.map +1 -0
- package/lib/models/index.d.ts +5 -0
- package/lib/models/index.js +23 -0
- package/lib/models/index.js.map +1 -0
- package/lib/models/objectFields.d.ts +2 -0
- package/lib/models/objectFields.js +143 -0
- package/lib/models/objectFields.js.map +1 -0
- package/lib/models/searchFields.d.ts +2 -0
- package/lib/models/searchFields.js +33 -0
- package/lib/models/searchFields.js.map +1 -0
- package/lib/models/sortFields.d.ts +2 -0
- package/lib/models/sortFields.js +28 -0
- package/lib/models/sortFields.js.map +1 -0
- package/lib/models/typeObjects.d.ts +2 -0
- package/lib/models/typeObjects.js +205 -0
- package/lib/models/typeObjects.js.map +1 -0
- package/lib/screens/equipment/CustomerParkScreen.d.ts +3 -0
- package/lib/screens/equipment/CustomerParkScreen.js +56 -0
- package/lib/screens/equipment/CustomerParkScreen.js.map +1 -0
- package/lib/screens/equipment/EquipmentFormView.d.ts +6 -0
- package/lib/screens/equipment/EquipmentFormView.js +104 -0
- package/lib/screens/equipment/EquipmentFormView.js.map +1 -0
- package/lib/screens/equipment/EquipmentInterventionListScreen.d.ts +3 -0
- package/lib/screens/equipment/EquipmentInterventionListScreen.js +43 -0
- package/lib/screens/equipment/EquipmentInterventionListScreen.js.map +1 -0
- package/lib/screens/equipment/EquipmentLineListScreen.d.ts +3 -0
- package/lib/screens/equipment/EquipmentLineListScreen.js +37 -0
- package/lib/screens/equipment/EquipmentLineListScreen.js.map +1 -0
- package/lib/screens/equipment/EquipmentPictureScreen.d.ts +3 -0
- package/lib/screens/equipment/EquipmentPictureScreen.js +113 -0
- package/lib/screens/equipment/EquipmentPictureScreen.js.map +1 -0
- package/lib/screens/equipment/index.d.ts +45 -0
- package/lib/screens/equipment/index.js +61 -0
- package/lib/screens/equipment/index.js.map +1 -0
- package/lib/screens/intervention/ActiveInterventionScreen.d.ts +3 -0
- package/lib/screens/intervention/ActiveInterventionScreen.js +72 -0
- package/lib/screens/intervention/ActiveInterventionScreen.js.map +1 -0
- package/lib/screens/intervention/DayInterventionsScreen.d.ts +3 -0
- package/lib/screens/intervention/DayInterventionsScreen.js +33 -0
- package/lib/screens/intervention/DayInterventionsScreen.js.map +1 -0
- package/lib/screens/intervention/InterventionDetailsScreen.d.ts +7 -0
- package/lib/screens/intervention/InterventionDetailsScreen.js +83 -0
- package/lib/screens/intervention/InterventionDetailsScreen.js.map +1 -0
- package/lib/screens/intervention/InterventionNoteFormScreen.d.ts +6 -0
- package/lib/screens/intervention/InterventionNoteFormScreen.js +81 -0
- package/lib/screens/intervention/InterventionNoteFormScreen.js.map +1 -0
- package/lib/screens/intervention/InterventionQuestionFormScreen.d.ts +6 -0
- package/lib/screens/intervention/InterventionQuestionFormScreen.js +114 -0
- package/lib/screens/intervention/InterventionQuestionFormScreen.js.map +1 -0
- package/lib/screens/intervention/InterventionsHistoryScreen.d.ts +3 -0
- package/lib/screens/intervention/InterventionsHistoryScreen.js +29 -0
- package/lib/screens/intervention/InterventionsHistoryScreen.js.map +1 -0
- package/lib/screens/intervention/PlannedInterventionsScreen.d.ts +3 -0
- package/lib/screens/intervention/PlannedInterventionsScreen.js +29 -0
- package/lib/screens/intervention/PlannedInterventionsScreen.js.map +1 -0
- package/lib/screens/intervention/index.d.ts +79 -0
- package/lib/screens/intervention/index.js +89 -0
- package/lib/screens/intervention/index.js.map +1 -0
- package/lib/types/equipment.d.ts +7 -0
- package/lib/types/equipment.js +25 -0
- package/lib/types/equipment.js.map +1 -0
- package/lib/types/index.d.ts +3 -0
- package/lib/types/index.js +21 -0
- package/lib/types/index.js.map +1 -0
- package/lib/types/intervention.d.ts +4 -0
- package/lib/types/intervention.js +38 -0
- package/lib/types/intervention.js.map +1 -0
- package/lib/types/question.d.ts +4 -0
- package/lib/types/question.js +44 -0
- package/lib/types/question.js.map +1 -0
- package/lib/utils/form-types.d.ts +9 -0
- package/lib/utils/form-types.js +19 -0
- package/lib/utils/form-types.js.map +1 -0
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/index.js +19 -0
- package/lib/utils/index.js.map +1 -0
- package/package.json +47 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import ActiveInterventionScreen from './ActiveInterventionScreen';
|
|
3
|
+
import DayInterventionsScreen from './DayInterventionsScreen';
|
|
4
|
+
import PlannedInterventionsScreen from './PlannedInterventionsScreen';
|
|
5
|
+
import InterventionsHistoryScreen from './InterventionsHistoryScreen';
|
|
6
|
+
import InterventionDetailsScreen from './InterventionDetailsScreen';
|
|
7
|
+
import InterventionNoteFormScreen from './InterventionNoteFormScreen';
|
|
8
|
+
import InterventionQuestionFormScreen from './InterventionQuestionFormScreen';
|
|
9
|
+
declare const _default: {
|
|
10
|
+
ActiveInterventionScreen: {
|
|
11
|
+
title: string;
|
|
12
|
+
component: ({}: {}) => import("react").JSX.Element;
|
|
13
|
+
actionID: string;
|
|
14
|
+
options: {
|
|
15
|
+
shadedHeader: boolean;
|
|
16
|
+
};
|
|
17
|
+
isUsableOnShortcut: boolean;
|
|
18
|
+
};
|
|
19
|
+
DayInterventionsScreen: {
|
|
20
|
+
title: string;
|
|
21
|
+
component: ({}: {}) => import("react").JSX.Element;
|
|
22
|
+
options: {
|
|
23
|
+
shadedHeader: boolean;
|
|
24
|
+
};
|
|
25
|
+
isUsableOnShortcut: boolean;
|
|
26
|
+
};
|
|
27
|
+
PlannedInterventionsScreen: {
|
|
28
|
+
title: string;
|
|
29
|
+
component: ({}: {}) => import("react").JSX.Element;
|
|
30
|
+
options: {
|
|
31
|
+
shadedHeader: boolean;
|
|
32
|
+
};
|
|
33
|
+
isUsableOnShortcut: boolean;
|
|
34
|
+
};
|
|
35
|
+
InterventionsHistoryScreen: {
|
|
36
|
+
title: string;
|
|
37
|
+
component: ({}: {}) => import("react").JSX.Element;
|
|
38
|
+
options: {
|
|
39
|
+
shadedHeader: boolean;
|
|
40
|
+
};
|
|
41
|
+
isUsableOnShortcut: boolean;
|
|
42
|
+
};
|
|
43
|
+
InterventionDetailsScreen: {
|
|
44
|
+
title: string;
|
|
45
|
+
component: ({ route, interventionId, }: import("./InterventionDetailsScreen").InterventionDetailsScreenProps) => import("react").JSX.Element;
|
|
46
|
+
actionID: string;
|
|
47
|
+
options: {
|
|
48
|
+
shadedHeader: boolean;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
InterventionNoteFormScreen: {
|
|
52
|
+
title: string;
|
|
53
|
+
component: ({ route, navigation }: {
|
|
54
|
+
route: any;
|
|
55
|
+
navigation: any;
|
|
56
|
+
}) => import("react").JSX.Element;
|
|
57
|
+
options: {
|
|
58
|
+
shadedHeader: boolean;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
InterventionQuestionFormScreen: {
|
|
62
|
+
title: string;
|
|
63
|
+
component: ({ route, navigation }: {
|
|
64
|
+
route: any;
|
|
65
|
+
navigation: any;
|
|
66
|
+
}) => import("react").JSX.Element;
|
|
67
|
+
options: {
|
|
68
|
+
shadedHeader: boolean;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
export default _default;
|
|
73
|
+
export { ActiveInterventionScreen };
|
|
74
|
+
export { DayInterventionsScreen };
|
|
75
|
+
export { PlannedInterventionsScreen };
|
|
76
|
+
export { InterventionsHistoryScreen };
|
|
77
|
+
export { InterventionDetailsScreen };
|
|
78
|
+
export { InterventionNoteFormScreen };
|
|
79
|
+
export { InterventionQuestionFormScreen };
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Axelor Business Solutions
|
|
3
|
+
*
|
|
4
|
+
* Copyright (C) 2024 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 ActiveInterventionScreen from './ActiveInterventionScreen';
|
|
19
|
+
import DayInterventionsScreen from './DayInterventionsScreen';
|
|
20
|
+
import PlannedInterventionsScreen from './PlannedInterventionsScreen';
|
|
21
|
+
import InterventionsHistoryScreen from './InterventionsHistoryScreen';
|
|
22
|
+
import InterventionDetailsScreen from './InterventionDetailsScreen';
|
|
23
|
+
import InterventionNoteFormScreen from './InterventionNoteFormScreen';
|
|
24
|
+
import InterventionQuestionFormScreen from './InterventionQuestionFormScreen';
|
|
25
|
+
export default {
|
|
26
|
+
ActiveInterventionScreen: {
|
|
27
|
+
title: 'Intervention_Intervention',
|
|
28
|
+
component: ActiveInterventionScreen,
|
|
29
|
+
actionID: 'intervention_active_intervention',
|
|
30
|
+
options: {
|
|
31
|
+
shadedHeader: false,
|
|
32
|
+
},
|
|
33
|
+
isUsableOnShortcut: true,
|
|
34
|
+
},
|
|
35
|
+
DayInterventionsScreen: {
|
|
36
|
+
title: 'Intervention_Interventions',
|
|
37
|
+
component: DayInterventionsScreen,
|
|
38
|
+
options: {
|
|
39
|
+
shadedHeader: false,
|
|
40
|
+
},
|
|
41
|
+
isUsableOnShortcut: true,
|
|
42
|
+
},
|
|
43
|
+
PlannedInterventionsScreen: {
|
|
44
|
+
title: 'Intervention_Interventions',
|
|
45
|
+
component: PlannedInterventionsScreen,
|
|
46
|
+
options: {
|
|
47
|
+
shadedHeader: false,
|
|
48
|
+
},
|
|
49
|
+
isUsableOnShortcut: true,
|
|
50
|
+
},
|
|
51
|
+
InterventionsHistoryScreen: {
|
|
52
|
+
title: 'Intervention_Interventions',
|
|
53
|
+
component: InterventionsHistoryScreen,
|
|
54
|
+
options: {
|
|
55
|
+
shadedHeader: false,
|
|
56
|
+
},
|
|
57
|
+
isUsableOnShortcut: true,
|
|
58
|
+
},
|
|
59
|
+
InterventionDetailsScreen: {
|
|
60
|
+
title: 'Intervention_Intervention',
|
|
61
|
+
component: InterventionDetailsScreen,
|
|
62
|
+
actionID: 'intervention_intervention_details',
|
|
63
|
+
options: {
|
|
64
|
+
shadedHeader: false,
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
InterventionNoteFormScreen: {
|
|
68
|
+
title: 'Intervention_Note',
|
|
69
|
+
component: InterventionNoteFormScreen,
|
|
70
|
+
options: {
|
|
71
|
+
shadedHeader: false,
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
InterventionQuestionFormScreen: {
|
|
75
|
+
title: 'Intervention_Survey',
|
|
76
|
+
component: InterventionQuestionFormScreen,
|
|
77
|
+
options: {
|
|
78
|
+
shadedHeader: false,
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
};
|
|
82
|
+
export { ActiveInterventionScreen };
|
|
83
|
+
export { DayInterventionsScreen };
|
|
84
|
+
export { PlannedInterventionsScreen };
|
|
85
|
+
export { InterventionsHistoryScreen };
|
|
86
|
+
export { InterventionDetailsScreen };
|
|
87
|
+
export { InterventionNoteFormScreen };
|
|
88
|
+
export { InterventionQuestionFormScreen };
|
|
89
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/screens/intervention/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,wBAAwB,MAAM,4BAA4B,CAAC;AAClE,OAAO,sBAAsB,MAAM,0BAA0B,CAAC;AAC9D,OAAO,0BAA0B,MAAM,8BAA8B,CAAC;AACtE,OAAO,0BAA0B,MAAM,8BAA8B,CAAC;AACtE,OAAO,yBAAyB,MAAM,6BAA6B,CAAC;AACpE,OAAO,0BAA0B,MAAM,8BAA8B,CAAC;AACtE,OAAO,8BAA8B,MAAM,kCAAkC,CAAC;AAE9E,eAAe;IACb,wBAAwB,EAAE;QACxB,KAAK,EAAE,2BAA2B;QAClC,SAAS,EAAE,wBAAwB;QACnC,QAAQ,EAAE,kCAAkC;QAC5C,OAAO,EAAE;YACP,YAAY,EAAE,KAAK;SACpB;QACD,kBAAkB,EAAE,IAAI;KACzB;IACD,sBAAsB,EAAE;QACtB,KAAK,EAAE,4BAA4B;QACnC,SAAS,EAAE,sBAAsB;QACjC,OAAO,EAAE;YACP,YAAY,EAAE,KAAK;SACpB;QACD,kBAAkB,EAAE,IAAI;KACzB;IACD,0BAA0B,EAAE;QAC1B,KAAK,EAAE,4BAA4B;QACnC,SAAS,EAAE,0BAA0B;QACrC,OAAO,EAAE;YACP,YAAY,EAAE,KAAK;SACpB;QACD,kBAAkB,EAAE,IAAI;KACzB;IACD,0BAA0B,EAAE;QAC1B,KAAK,EAAE,4BAA4B;QACnC,SAAS,EAAE,0BAA0B;QACrC,OAAO,EAAE;YACP,YAAY,EAAE,KAAK;SACpB;QACD,kBAAkB,EAAE,IAAI;KACzB;IACD,yBAAyB,EAAE;QACzB,KAAK,EAAE,2BAA2B;QAClC,SAAS,EAAE,yBAAyB;QACpC,QAAQ,EAAE,mCAAmC;QAC7C,OAAO,EAAE;YACP,YAAY,EAAE,KAAK;SACpB;KACF;IACD,0BAA0B,EAAE;QAC1B,KAAK,EAAE,mBAAmB;QAC1B,SAAS,EAAE,0BAA0B;QACrC,OAAO,EAAE;YACP,YAAY,EAAE,KAAK;SACpB;KACF;IACD,8BAA8B,EAAE;QAC9B,KAAK,EAAE,qBAAqB;QAC5B,SAAS,EAAE,8BAA8B;QACzC,OAAO,EAAE;YACP,YAAY,EAAE,KAAK;SACpB;KACF;CACF,CAAC;AAEF,OAAO,EAAC,wBAAwB,EAAC,CAAC;AAClC,OAAO,EAAC,sBAAsB,EAAC,CAAC;AAChC,OAAO,EAAC,0BAA0B,EAAC,CAAC;AACpC,OAAO,EAAC,0BAA0B,EAAC,CAAC;AACpC,OAAO,EAAC,yBAAyB,EAAC,CAAC;AACnC,OAAO,EAAC,0BAA0B,EAAC,CAAC;AACpC,OAAO,EAAC,8BAA8B,EAAC,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Axelor Business Solutions
|
|
3
|
+
*
|
|
4
|
+
* Copyright (C) 2024 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 EquipmentType {
|
|
19
|
+
static mode = {
|
|
20
|
+
intervention: 'intervention',
|
|
21
|
+
client: 'client',
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export default EquipmentType;
|
|
25
|
+
//# sourceMappingURL=equipment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"equipment.js","sourceRoot":"","sources":["../../src/types/equipment.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,MAAM,aAAa;IACjB,MAAM,CAAC,IAAI,GAAG;QACZ,YAAY,EAAE,cAAc;QAC5B,MAAM,EAAE,QAAQ;KACjB,CAAC;;AAGJ,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Axelor Business Solutions
|
|
3
|
+
*
|
|
4
|
+
* Copyright (C) 2024 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
|
+
export { default as Intervention } from './intervention';
|
|
19
|
+
export { default as Equipment } from './equipment';
|
|
20
|
+
export { default as Question } from './question';
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAC,OAAO,IAAI,SAAS,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Axelor Business Solutions
|
|
3
|
+
*
|
|
4
|
+
* Copyright (C) 2024 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 { getTypes, StopwatchType } from '@axelor/aos-mobile-core';
|
|
19
|
+
class InterventionType {
|
|
20
|
+
static getStopwatchStatus = (status) => {
|
|
21
|
+
const Intervention = getTypes().Intervention;
|
|
22
|
+
switch (status) {
|
|
23
|
+
case Intervention?.statusSelect.Planned:
|
|
24
|
+
return StopwatchType.status.Ready;
|
|
25
|
+
case Intervention?.statusSelect.Started:
|
|
26
|
+
return StopwatchType.status.InProgress;
|
|
27
|
+
case Intervention?.statusSelect.Suspended:
|
|
28
|
+
return StopwatchType.status.Paused;
|
|
29
|
+
case Intervention?.statusSelect.Finished:
|
|
30
|
+
return StopwatchType.status.Finished;
|
|
31
|
+
default:
|
|
32
|
+
console.warn(`Status provided with value ${status} is not supported by Intervention.`);
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export default InterventionType;
|
|
38
|
+
//# sourceMappingURL=intervention.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"intervention.js","sourceRoot":"","sources":["../../src/types/intervention.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,QAAQ,EAAE,aAAa,EAAC,MAAM,yBAAyB,CAAC;AAEhE,MAAM,gBAAgB;IACpB,MAAM,CAAC,kBAAkB,GAAG,CAAC,MAAc,EAAU,EAAE;QACrD,MAAM,YAAY,GAAG,QAAQ,EAAE,CAAC,YAAY,CAAC;QAE7C,QAAQ,MAAM,EAAE;YACd,KAAK,YAAY,EAAE,YAAY,CAAC,OAAO;gBACrC,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC;YACpC,KAAK,YAAY,EAAE,YAAY,CAAC,OAAO;gBACrC,OAAO,aAAa,CAAC,MAAM,CAAC,UAAU,CAAC;YACzC,KAAK,YAAY,EAAE,YAAY,CAAC,SAAS;gBACvC,OAAO,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;YACrC,KAAK,YAAY,EAAE,YAAY,CAAC,QAAQ;gBACtC,OAAO,aAAa,CAAC,MAAM,CAAC,QAAQ,CAAC;YACvC;gBACE,OAAO,CAAC,IAAI,CACV,8BAA8B,MAAM,oCAAoC,CACzE,CAAC;gBACF,OAAO,IAAI,CAAC;SACf;IACH,CAAC,CAAC;;AAGJ,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Axelor Business Solutions
|
|
3
|
+
*
|
|
4
|
+
* Copyright (C) 2024 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 { getTypes } from '@axelor/aos-mobile-core';
|
|
19
|
+
class Question {
|
|
20
|
+
static getStatus = (question, conditionalQuestion) => {
|
|
21
|
+
const InterventionQuestion = getTypes().InterventionQuestion;
|
|
22
|
+
if (question?.isAnswered) {
|
|
23
|
+
return InterventionQuestion?.statusSelect.Answered;
|
|
24
|
+
}
|
|
25
|
+
else if (question?.isConditional &&
|
|
26
|
+
!question.conditionalAnswerValueSet.some(answer => answer.id === conditionalQuestion?.listAnswer?.id)) {
|
|
27
|
+
return InterventionQuestion?.statusSelect.Hidden;
|
|
28
|
+
}
|
|
29
|
+
else if (question?.isConditional && !question?.isRequired) {
|
|
30
|
+
return InterventionQuestion?.statusSelect.Conditional;
|
|
31
|
+
}
|
|
32
|
+
else if (question?.isRequired) {
|
|
33
|
+
return InterventionQuestion?.statusSelect.Required;
|
|
34
|
+
}
|
|
35
|
+
else if (question?.indicationText) {
|
|
36
|
+
return InterventionQuestion?.statusSelect.Info;
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
return InterventionQuestion?.statusSelect.Default;
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export default Question;
|
|
44
|
+
//# sourceMappingURL=question.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"question.js","sourceRoot":"","sources":["../../src/types/question.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,QAAQ,EAAC,MAAM,yBAAyB,CAAC;AAEjD,MAAM,QAAQ;IACZ,MAAM,CAAC,SAAS,GAAG,CAAC,QAAa,EAAE,mBAAyB,EAAU,EAAE;QACtE,MAAM,oBAAoB,GAAG,QAAQ,EAAE,CAAC,oBAAoB,CAAC;QAE7D,IAAI,QAAQ,EAAE,UAAU,EAAE;YACxB,OAAO,oBAAoB,EAAE,YAAY,CAAC,QAAQ,CAAC;SACpD;aAAM,IACL,QAAQ,EAAE,aAAa;YACvB,CAAC,QAAQ,CAAC,yBAAyB,CAAC,IAAI,CACtC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,KAAK,mBAAmB,EAAE,UAAU,EAAE,EAAE,CAC5D,EACD;YACA,OAAO,oBAAoB,EAAE,YAAY,CAAC,MAAM,CAAC;SAClD;aAAM,IAAI,QAAQ,EAAE,aAAa,IAAI,CAAC,QAAQ,EAAE,UAAU,EAAE;YAC3D,OAAO,oBAAoB,EAAE,YAAY,CAAC,WAAW,CAAC;SACvD;aAAM,IAAI,QAAQ,EAAE,UAAU,EAAE;YAC/B,OAAO,oBAAoB,EAAE,YAAY,CAAC,QAAQ,CAAC;SACpD;aAAM,IAAI,QAAQ,EAAE,cAAc,EAAE;YACnC,OAAO,oBAAoB,EAAE,YAAY,CAAC,IAAI,CAAC;SAChD;aAAM;YACL,OAAO,oBAAoB,EAAE,YAAY,CAAC,OAAO,CAAC;SACnD;IACH,CAAC,CAAC;;AAEJ,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Axelor Business Solutions
|
|
3
|
+
*
|
|
4
|
+
* Copyright (C) 2024 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
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=form-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-types.js","sourceRoot":"","sources":["../../src/utils/form-types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './form-types';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Axelor Business Solutions
|
|
3
|
+
*
|
|
4
|
+
* Copyright (C) 2024 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
|
+
export * from './form-types';
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,cAAc,cAAc,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@axelor/aos-mobile-intervention",
|
|
3
|
+
"version": "8.1.0",
|
|
4
|
+
"author": "Axelor",
|
|
5
|
+
"license": "AGPL-3.0-only",
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
9
|
+
"main": "lib/index.js",
|
|
10
|
+
"types": "lib/index.d.js",
|
|
11
|
+
"files": [
|
|
12
|
+
"lib"
|
|
13
|
+
],
|
|
14
|
+
"scripts": {
|
|
15
|
+
"clean": "rm -rf lib/",
|
|
16
|
+
"compile": "tsc -p tsconfig.build.json",
|
|
17
|
+
"dev": "npm run compile -- --watch",
|
|
18
|
+
"build": "npm run clean && npm run compile",
|
|
19
|
+
"npm-publish": "npm publish",
|
|
20
|
+
"lint": "eslint .",
|
|
21
|
+
"format": "prettier --write src/",
|
|
22
|
+
"format:check": "prettier --check src/",
|
|
23
|
+
"license:add": "npx add-copyright-header --generate --dir 'src'"
|
|
24
|
+
},
|
|
25
|
+
"peerDependencies": {
|
|
26
|
+
"react": "18.2.0",
|
|
27
|
+
"react-native": "0.71.19"
|
|
28
|
+
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@axelor/aos-mobile-core": "8.1.0",
|
|
31
|
+
"@axelor/aos-mobile-crm": "8.1.0",
|
|
32
|
+
"@axelor/aos-mobile-ui": "8.1.0",
|
|
33
|
+
"@reduxjs/toolkit": "^2.2.3"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@babel/runtime": "^7.20.0",
|
|
37
|
+
"@react-native-community/eslint-config": "^2.0.0",
|
|
38
|
+
"@types/react": "18.2.65",
|
|
39
|
+
"eslint": "^7.32.0",
|
|
40
|
+
"prettier": "^2.7.1",
|
|
41
|
+
"react": "18.2.0",
|
|
42
|
+
"react-native": "0.71.19"
|
|
43
|
+
},
|
|
44
|
+
"resolutions": {
|
|
45
|
+
"@types/react": "18.2.65"
|
|
46
|
+
}
|
|
47
|
+
}
|